Binance "invalid WebSocket Extension handshake"

Hello,
I'm suddenly experiencing issues connecting to Binance streaming API, since 13:20 UTC today. I checked their changelog and there seem to have been some changes today to the API, see https://binance-docs.github.io/apidocs/spot/en/
It can be reproduced with this example
    StreamingExchange exchange = StreamingExchangeFactory.INSTANCE.createExchange(BinanceStreamingExchange.class);

    ProductSubscription streamSubscription = ProductSubscription.create()
    .addOrderbook(CurrencyPair.BTC_EUR)
    .build();

    exchange.connect(streamSubscription).blockingAwait();

    Disposable subscription1 = exchange.getStreamingMarketDataService()
        .getOrderBook(CurrencyPair.BTC_EUR)
        .subscribe(
            book -> System.out.println(book),
            throwable -> System.out.println(throwable));

The error I'm getting is
Exception in thread "main" io.netty.handler.codec.CodecException: invalid WebSocket Extension handshake for "permessage-deflate; server_no_context_takeover; client_max_window_bits=15"
        at io.netty.handler.codec.http.websocketx.extensions.WebSocketClientExtensionHandler.channelRead(WebSocketClientExtensionHandler.java:110)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
        at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
        at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
        at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:436)
        at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:324)
        at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:296)
        at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:251)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
        at io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1533)
        at io.netty.handler.ssl.SslHandler.decodeJdkCompatible(SslHandler.java:1282)
        at io.netty.handler.ssl.SslHandler.decode(SslHandler.java:1329)
        at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:508)
        at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:447)
        at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:276)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
        at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
        at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
        at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166)
        at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:719)
        at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:655)
        at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:581)
        at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
        at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
        at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
        at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
        at java.base/java.lang.Thread.run(Thread.java:832)

Could anyone help? Was there a Binance API change that introduced some incompatible changes?

Hi,
I am experiencing the exact same thing.
It is relevant to mention that Binance has been suffering from major availability issues since that massive BTC surge (around 13:00 UTC today).
Could this error be the result of a maneuver from Binance as an attempt to reduce the traffic?

I am getting the same thing too.
Στις Δευ, 8 Φεβ 2021 στις 5:17 μ.μ., ο/η ajutzeler<EMAIL_ADDRESS>έγραψε:

Hi,
I am experiencing the exact same thing.
It is relevant to mention that Binance has been suffering from major
availability issues since that massive BTC surge (around 13:00 UTC today).
Could this error be the result of a maneuver from Binance as an attempt to
reduce the traffic?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/knowm/XChange/issues/3907#issuecomment-775220759, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AHIWQ77WMUYMCNVREPAMRGTS576AZANCNFSM4XJEVLTA
.

Same here.

All the people I know of who are not currently being impacted by this gather the two following conditions:

They are using ccxt integration
They reached a certain VIP level

Could anyone here confirm that it is either

working fine with XChange on an account at VIP0 level
broken with XChange on an account at superior VIP level
to invalidate my hypothesis?

same for me. What is happening?

VIP0 - not working.
Without authorization not working.
This js example works - https://github.com/binance-exchange/binance-websocket-examples

That issue looks similar to:
https://github.com/netty/netty/issues/10191
https://github.com/knowm/XChange/pull/3803

That issue looks similar to:
netty/netty#10191
#3803

I thought so too, I tried to fix it as it was used here https://github.com/knowm/XChange/pull/3803 but did not seem to help. I'm not a Java guy so I'm not sure if maybe I accidentally messed something up, so maybe someone else can confirm

@feelus it is related to https://github.com/knowm/XChange/pull/3803, what probably happened is that Binance upgraded the websocket and changed this flag. We need to update the library to be able to properly hand-shake with the websocket, I can approve a PR if someone submits it.

Also in the future Discord is better for faster engagement about ongoing issues.

Also in the future Discord is better for faster engagement about ongoing issues.

I agree, but couldn't a mention of it anywhere

@feelus search for discord on this projects readme

my 10c$.
just made some experiments and now it works again. What I have done:
1 - get the code from coinbase
private WebSocketClientCompressionAllowClientNoContextHandler() {
super(
new PerMessageDeflateClientExtensionHandshaker(
6, ZlibCodecFactory.isSupportingWindowSizeAndMemLevel(), MAX_WINDOW_SIZE, true, true),
new DeflateFrameClientExtensionHandshaker(false),
new DeflateFrameClientExtensionHandshaker(true));
}
2 - override BinanceStreamingService:
@Override
protected WebSocketClientExtensionHandler getWebSocketClientExtensionHandler() {
return WebSocketClientCompressionAllowClientNoContextHandler.INSTANCE;
}
Look at the code at 1. I had to set both parameters to true to get it work. The second is "requestedServerNoContext" that I had to set to true.
Hope it helps, maybe this is only a workaround. I don't know what Binance changed.

@feelus search for discord on this projects readme

Oh damn, it's an image, can't find it with search. Ok!

my 10c$.
just made some experiments and now it works again. What I have done:
1 - get the code from coinbase
private WebSocketClientCompressionAllowClientNoContextHandler() {
super(
new PerMessageDeflateClientExtensionHandshaker(
6, ZlibCodecFactory.isSupportingWindowSizeAndMemLevel(), MAX_WINDOW_SIZE, true, true),
new DeflateFrameClientExtensionHandshaker(false),
new DeflateFrameClientExtensionHandshaker(true));
}
2 - override BinanceStreamingService:
@override
protected WebSocketClientExtensionHandler getWebSocketClientExtensionHandler() {
return WebSocketClientCompressionAllowClientNoContextHandler.INSTANCE;
}
Look at the code at 1. I had to set both parameters to true to get it work. The second is "requestedServerNoContext" that I had to set to true.
Hope it helps, maybe this is only a workaround. I don't know what Binance changed.

Where did you found that code? On CoinbaseProSteamingService?

my 10c$.
just made some experiments and now it works again. What I have done:
1 - get the code from coinbase
private WebSocketClientCompressionAllowClientNoContextHandler() {
super(
new PerMessageDeflateClientExtensionHandshaker(
6, ZlibCodecFactory.isSupportingWindowSizeAndMemLevel(), MAX_WINDOW_SIZE, true, true),
new DeflateFrameClientExtensionHandshaker(false),
new DeflateFrameClientExtensionHandshaker(true));
}
2 - override BinanceStreamingService:
@override
protected WebSocketClientExtensionHandler getWebSocketClientExtensionHandler() {
return WebSocketClientCompressionAllowClientNoContextHandler.INSTANCE;
}
Look at the code at 1. I had to set both parameters to true to get it work. The second is "requestedServerNoContext" that I had to set to true.
Hope it helps, maybe this is only a workaround. I don't know what Binance changed.

Where did you found that code? On CoinbaseProSteamingService?

exactly.
info.bitrich.xchangestream.coinbasepro.netty.WebSocketClientCompressionAllowClientNoContextHandler

You guys can probably create a new class for this

You guys can probably create a new class for this

yes, I created a new class. You can copy the Coinbase one and change the parameter to true. and then reference it in the BinanceServiceStreaming to use that.

Can someone make a PR, i am still trying to make it work.

Sure I can, but as I said, not clear why the "true" solves the problem. It is "magic". I don't see anything on it in Binance API changelog. Maybe also the problem will be solved by them without changing anything.

I have done the same thing as you did, but i still getting the same error. Maybe they have done something with Geographic location or i don't know

I did exactly what @paolo-rendano suggested as well, but it did not help.
@paolo-rendano Can you try again without your fix? Maybe it now works for you all the same?

@ajutzeler sure the old code does not work, since I have it in production in amazon AJP datacenter. Just restarted and still broken there. The same error here from Italy. Now I'm building the code with my change and I'll test it also in production. I'll update you.

my 10c$.
just made some experiments and now it works again. What I have done:
1 - get the code from coinbase
private WebSocketClientCompressionAllowClientNoContextHandler() {
super(
new PerMessageDeflateClientExtensionHandshaker(
6, ZlibCodecFactory.isSupportingWindowSizeAndMemLevel(), MAX_WINDOW_SIZE, true, true),
new DeflateFrameClientExtensionHandshaker(false),
new DeflateFrameClientExtensionHandshaker(true));
}
2 - override BinanceStreamingService:
@override
protected WebSocketClientExtensionHandler getWebSocketClientExtensionHandler() {
return WebSocketClientCompressionAllowClientNoContextHandler.INSTANCE;
}
Look at the code at 1. I had to set both parameters to true to get it work. The second is "requestedServerNoContext" that I had to set to true.
Hope it helps, maybe this is only a workaround. I don't know what Binance changed.

Tried it locally, thank you. that helped

Ok, I confirm. Back to working in production as well. I'll open the PR for that, but you should wait some hours for that. I'm on a different branch, so I have to take some time to do that.

I pushed the fix. who will merge that in develop?

Hi guys, this might be a bit offtopic but, is there a way cloning the project to make use of the fix in a different project avoiding to wait for the next release? thanks!

The best way is using the snapshot jars as dependencies

@paolo-rendano Yes, I completely removed my local maven repo before any attempt and used mvn clean install to build the project.
I checked and I am loading the correct binaries that have just been built.
Added a couple of debug lines just to be sure, and of course it does show.
Can we reasonably assume that Binance is using an heterogeneous pool of websocket servers? Which could explain why only certain user on certain market were impacted by this issue. And why I still am...
Can anyone try to reproduce it with MarketData trades on EGLD_USDT?

I’m receiving correctly EGLD_USDT (Just checked now). Anyway I tested with order book, not with trades.
Il giorno 8 feb 2021, alle ore 22:40, ajutzeler<EMAIL_ADDRESS><EMAIL_ADDRESS>> ha scritto:
@paolo-rendano Yes, I completely removed my local maven repo before any attempt and used mvn clean install to build the project.
I checked and I am loading the correct binaries that have just been built.
Added a couple of debug lines just to be sure, and of course it does show.
Can we reasonably assume that Binance is using an heterogeneous pool of websocket servers? Which could explain why only certain user on certain market were impacted by this issue. And why I still am...
Can anyone try to reproduce it with MarketData trades on EGLD_USDT?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Sorry, it is actually the UserTrade stream that crashes!
I can successfully receive market data (orderbook and trades) as well.
Please check it and tell me that you can reproduce it so I can clear my name ;)

Oh I understood the problem.
I think we have to reopen the issue since the same patch must be applied to BinanceUserDataStreamingService class.
Can you please confirm that adding these lines to that class your problem is solved?
@Override
protected WebSocketClientExtensionHandler getWebSocketClientExtensionHandler() {
return WebSocketClientCompressionAllowClientNoContextHandler.INSTANCE;
}
Thanks
Paolo
Il giorno 8 feb 2021, alle ore 22:40, ajutzeler<EMAIL_ADDRESS><EMAIL_ADDRESS>> ha scritto:
@paolo-rendano Yes, I completely removed my local maven repo before any attempt and used mvn clean install to build the project.
I checked and I am loading the correct binaries that have just been built.
Added a couple of debug lines just to be sure, and of course it does show.
Can we reasonably assume that Binance is using an heterogeneous pool of websocket servers? Which could explain why only certain user on certain market were impacted by this issue. And why I still am...
Can anyone try to reproduce it with MarketData trades on EGLD_USDT?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

If this fixes it submit another PR

Yes @ajutzeler pls do the test and give us feedback. The PR is ready to be sent.
Il giorno 8 feb 2021, alle ore 23:05, Erick Arce<EMAIL_ADDRESS><EMAIL_ADDRESS>> ha scritto:
If this fixes it submit another PR
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

It works i have test it
Στις Τρί, 9 Φεβ 2021 στις 12:22 π.μ., ο/η Paolo Rendano <
<EMAIL_ADDRESS>έγραψε:

Yes @ajutzeler pls do the test and give us feedback. The PR is ready to be
sent.
Il giorno 8 feb 2021, alle ore 23:05, Erick Arce<EMAIL_ADDRESS><EMAIL_ADDRESS>> ha scritto:
If this fixes it submit another PR
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/knowm/XChange/issues/3907#issuecomment-775503049, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AHIWQ7ZHGWKQ32TXJOTX7BTS6BP25ANCNFSM4XJEVLTA
.

sent.
Just to simplify communication.
I’ve discord. How to get in touch with this team? I’ve looked into the project but I cannot find reference to that.
Il giorno 8 feb 2021, alle ore 23:25, makarid<EMAIL_ADDRESS><EMAIL_ADDRESS>> ha scritto:
It works i have test it
Στις Τρί, 9 Φεβ 2021 στις 12:22 π.μ., ο/η Paolo Rendano <
<EMAIL_ADDRESS><EMAIL_ADDRESS>> έγραψε:

Yes @ajutzeler pls do the test and give us feedback. The PR is ready to be
sent.
Il giorno 8 feb 2021, alle ore 23:05, Erick Arce<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>> > ha scritto:
If this fixes it submit another PR
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/knowm/XChange/issues/3907#issuecomment-775503049, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AHIWQ7ZHGWKQ32TXJOTX7BTS6BP25ANCNFSM4XJEVLTA
.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

@paolo-rendano Yes, I confirm it works again thanks to your fix.
Thank you, Sir!

From the API document, https://binance-docs.github.io/apidocs/spot/en/#change-log
there is nothing change related to Websocket service.  Only a few new RESTful endpoints added.

@paolo-rendano there isn't a team, it's a bunch of individual maintainers/contributors for the library @timmolter is the creator and owner of the library, discord usually has some fairly active developers on it


UTF-8 Characters

We use this, but it have a problem and it isn't detect special character for spanish language for example, 'á', 'é' etc.
How can I solve it?

I have some files whose name contain Chinese, i find the the Chinese part is now displayed! It seems to be a problem of scandir() with php version 4 or older, is there any alternative solution?

Directory Lister does not officially support PHP versions older than 5.3.
If you decide to run it on an older version of PHP it may work, but there
will be no support or updates if there are issues.
On Thu, Dec 10, 2015 at 11:24 PM happyjohann<EMAIL_ADDRESS>wrote:

I have some files whose name contain Chinese, i find the the Chinese part
is now displayed! It seems to be a problem of scandir() with php version 4
or older, is there any alternative solution?
—
Reply to this email directly or view it on GitHub
https://github.com/DirectoryLister/DirectoryLister/issues/97#issuecomment-163855037
.

--
Chris Kankiewicz | Full Stack Web Developer
https://www.ChrisKankiewicz.com


luaPackages.lua-resty-core: 0.1.24 -> 0.1.28

Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

can they publish to luarocks ? is it https://luarocks.org/modules/avlubimov/lua-resty-core this way it can get updated with the generated set (after my next PR the updater is now robust, just slow, that's the next improvement).
See a guide to automate it from github https://github.com/nvim-neorocks/sample-luarocks-plugin
For this time ok as a manual package.

It seems they started publishing there but stopped: https://luarocks.org/modules/avlubimov/lua-resty-core


If keyboardControl is set to true, inputs aren't editable anymore.

I've created a fiddle with that issue, try to write something inside the input below the slider.
https://jsfiddle.net/m9h9b5ff/
Cheers

Fixed, thanks


Website URL here on GitHub

At the top of the main repo page there are Description + Topics + Website.
Please fill in the Website field: https://pizza-calculator.the-bread-code.io/

👍 I adjusted it.


External Disk Selection

Add some error handling for when someone presses a character key.  The old logic would continue on after an error to try to complete the FFU build to only fail when there was no Disk selected at the BUILD.iso phase.

Current Error:

New Logic


Move all issues in this repository

@ibauersachs, I think that you have not read ALL steps, please read a new time.
Please:

Create a new personal repository: "ibauersachs/example"
Unarchive ibauersachs/otr4j
Transfer all opened and closed issues from ibauersachs/otr4j into your new personal temp repository
After all opened and closed issue transfers, archive a new time ibauersachs/otr4j
Move your "ibauersachs/example" temp repository into jitsi organization
Transfer all opened and closed issues from the temp repository into jitsi/otr4j
After all opened and closed issue transfers, remove your "ibauersachs/example" temp repository

Thanks to @cobratbq about the job since several years!
Thanks in advance.
Neustradamus, the man who has done the official comeback of OTR4J, a dead project since Jun 2, 2016.
Linked to:

https://github.com/jitsi/otr4j/issues/6

Dear @jitsi team, @ibauersachs: I have transferred all issues (closed and opened) from "otr4j-temp/otr4j" into a new repository with success.
Steps that I have done:
1/ I have created a new repository "otr4j-issues" into "otr4j-temp" organization
2/ I have transferred all issues from "otr4j-temp/otr4j" into "otr4j-temp/otr4j-issues"
3/ I have transferred "otr4j-temp/otr4j-issues" repository to "otr4j/otr4j-issues"
You can see:

https://github.com/otr4j/otr4j-issues

Steps to do:

Transfer this repository in your personal account "ibauersachs"
Transfer all issues from "ibauersachs/otr4j" into "ibauersachs/otr4j-issues"
Transfer "ibauersachs/otr4j-issues" to "jitsi/otr4j-issues"
Transfer all issues from "jitsi/otr4j-issues" into "jitsi/otr4j"
Remove "jitsi/otr4j-issues"
Remove "ibauersachs/otr4j" (please look other branches before)

After it, the World will be perfect and better with jitsi/otr4j.
cc @cobratbq.
PS: I can do it freely, if I have all rights.

Duplicate of #6. Not worth the effort.


Support of PHP 7.1

I get a syntax error while testing on PHP 7.1 code:
Your project contains invalid code:
Syntax error, unexpected '?' in file /var/www/html/www/src/Acme/Bundle/MyClass.php

this file contains the optional return value operator public function getValue() ?int
a quick look into this composer.json reveals the support of php 7.0 - so I'd like to know are there any plans to upgrade to support php 7.1? I assume of course, pull requests are welcome ;)

Did you may miss the : in your example ?
public function getValue() >:< ?int
I tested it with a simple function
class Run {
    public function test(): ?int
    {
        return null;
    }
}

$x = (new Run())->test();

The PHP-Parser 3.x should support PHP until PHP 7.2.

There's definitely something going on here. I have a similar issue when grouping use declaration.
When using in a file:
use Symfony\Component\HttpFoundation\{
    Request,
    Response
};

I have an error displayed in the output:
Your project contains invalid code:
Syntax error, unexpected '{', expecting T_STRING in file /project/src/AppBundle/Controller/LayerController.php

When replacing the group use declaration by multiple use:
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;

The error is gone.
I'm running deprecation detector using the following docker image: https://github.com/jakzal/phpqa , which runs PHP 7.2.
I didn't looked deeper but there might be some weird issue lurking somewhere.

Have similar issue.

Syntax error, unexpected '?', expecting T_VARIABLE in file /srv/http/www/src/DTO/ProductFeed/Product.php

    public function __construct(         string $name,         ?string $category,         ?string $brand,         ?string $productUrl,         ?string $imageUrl,         ?string $localId,         ?string $gtin     ) {         $this->name = trim($name);         $this->category = trim($category) ?: null;         $this->brand = trim($brand) ?: null;         $this->productUrl = trim($productUrl) ?: null;         $this->imageUrl = trim($imageUrl) ?: null;         $this->localId = trim($localId) ?: null;         $this->gtin = trim($gtin) ?: null;     }


[BUG] Darkmode not dark

Describe the bug
Dark mode is enabled, But the onlything showing dark is the background. I've clear'd the history/cache, I've tried another browser, even another computer, I've restarted the device running wazuh yet this is all I'm currently getting when I go into darkmode.
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to 'darkmode, and only the background goes dark'

Expected behavior
to go into darkmode,
OpenSearch Version
everything is latest, Fresh install.
Dashboards Version
everything is the latest, I litterly installed about 15 minutes ago then ran a update.
Plugins
Freshinstall, nothing has been added, changed or setup. I installed, logged in, and attemted to change to darkmode
Screenshots

If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):

OS: [Ubuntu]
Browser and version [Chrome is up to date
Version 123.0.6312.86 (Official Build) (64-bit)]

Additional context
Add any other context about the problem here.

And yes, I did try to toggle the darkmode setting.

I narrowed it down to something with using Nginx proxy manager. When I go directly to the host IP:Port darkmode works.

I'm closing this issue as the problem has been reported to be related to the use of an external tool and not to the Wazuh Dashboard itself.


Add "checksums" to FileData class

Description
Scancode calculates checksums of all the files it find. These include MD5 and SHA1. The SHA1 checksum is useful for calculating the "Package Verification Code" that the SPDX spec requires. This isn't useful for container images in general. So we need a property in the FileData class that reflects this requirement.
To Do
Create a property called checksums in the FileData class. This is a list of tuples. Each tuple is of the form (checksum_type, checksum). For example: [(SHA1, 12345abcde)]
Super Issues
#583

@PrajwalM2212 is working on this


Add Alan Jumeaucourt to manifesto

Added in https://github.com/opentffoundation/manifesto/pull/266


fix(code-uri): Chrome iframe error with XSS Auditor

[x] remove solution from URI on read
[ ] disable code auto run
[ ] add code locking
[ ] disable code uri updating

Closes #13727

@systimotic I've updated the user stories for this PR
I don't believe this will have an effect on loading user solutions, since this still loads the code initially

Just to note:

I have ensured that existing URL code is parsed in, and added to the editor before being removed.
Code submission and save in DB is NOT affected.

Please let me know if I might have missed any corner cases.

Looks like this works great! I can confirm that this resolves the original issue.
What I was worried about was loading and especially saving the user solutions, but that still works wonderfully. I originally thought it may have been doing that based on the URL, but luckily that was not the case.
@BerkeleyTrue Can you confirm, and if everything is OK, merge and deploy?

I originally thought it may have been doing that based on the URL, but luckily that was not the case.

Yes, actually that's what took analyzing and testing so long, turns out that I wasn't aware of a ton of inner working of the code runner. Lol.

Code LGTM.
Since both of you have tested it out I'm going to go ahead and launch this


Prompt choice with reserve words

It looks like we can't have prompts with reserved words.
builder.Prompts.choice(session, "Your Action?", ['Cancel','Stop']);

I want to be able to treat them as legit options and have response in results. Currently response looks like this:
Actual
{ resumed: 2,
  promptType: 3,
  childId: 'BotBuilder.Dialogs.Prompts' }

Expected
{ resumed: 0,
  promptType: 3,
  response: { index: 1, entity: 'Stop', score: 1 },
  childId: 'BotBuilder.Dialogs.Prompts' }

Low priority, for now, I changed labels :)

I'll have to refactor things some to support that but good feedback.

Closing this issue. Please open a new issue for further discussion if necessary. @Stevenic - reopen if you would like to and/or provide a status on this bug/enhancement.  This could also be suggested on UserVoice. Thanks!


feat: initial repository setup

Create a couple of example utils and get the e2e release process working

:tada: This PR is included in version 0.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 0.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


New dashboard filters: month and document type

Fix #230 & #231

hey @cuducos any idea why code climate is showing two issues?

hey @cuducos any idea why code climate is showing two issues to be fixed?

Repetition in the admin.py file. Fixed in 0e6067e (also changed what you've mentioned about generator/tuple) ; )

also changed what you've mentioned about generator/tuple

I really liked what you did there ;)


robot & context links in Reference section shows 404 page

In the docs, the Reference section of sidebar contains 4 links. The first two i.e. robot and context on clicking show 404 page.
Check this screenshot

On clicking the robot link it takes me to https://probot.github.io/api/latest/Robot.html and it's showing 404

This ties to commit e047e9dc540fe9deffffe892a7bb6f6b4f7c1ab5. There were a bunch of .html files in the previous /api/ subfolders that seem to have been omitted in /api/7.0.0-typescript.4.

cc/ @bkeepers @tcbyrd for ts changes. I think this is relatively high priority to get these docs back up.


In the new DLP, clicking the contact icon does nothing

on https://gui.dandiarchive.org/#/dandiset/000212

Ah yes that should be a mailto link, I think.


Sankey Diagram and Protobufs

*Note: Sorry that this pull request is so long, I thought I was working on two separate branches and I only discovered that I hadn't when I checked my commits in Github.
I have integrated the chart api into my website. I chose to incorporate a Sankey Diagram and made changes in my script.js, index.html, and style.css files to reflect that. For the styling of the diagram I chose to make it into a modal button that is hidden until the button is clicked on, at which point it become enlarged.
I have finished the first version of my Protobuf implementation in my website. I added dependencies in my pom.xml file, and I altered my DataServlet.java file to create and handle Protobuf objects. I have also added a CommentProto.proto file to actually create Protobuf comment objects.
I have also added more styling to the images on my page, including padding so that the images are more centered and decreasing the size of their encapsulating boxes.

I also suggest running the formatter on JavaScript files, if there is one for JS.


Adds the custom Lohfink-Rossi-Leaveout adapter

We came up with this architecture and pre-trained adapter during our group project in CS7643 at Georgia Tech; Since it scores quite good on SQuAD2.0 we would be happy to contribute it to AdapterHub

Thanks for the feedback, could we please run the checks again?
The dependency-key was missing, neither is used - maybe the 'key' should be optional since dependency is optional, too? This is passing the local validation checks now!

Hey @till0r! First, thanks a lot for your contribution, great to have a new adapter config added that works well on QA.
Regarding the file format, it's easiest to just remove all the optional keys (e.g. the whole dependencies section) if you don't use them to pass the checks.


Add SSO with CAS and remove Login using Git

Hi, I want to adopt Laravel.io for a discussion portal, however.. it is not for developer, hence most of user are not have github  account. How to revert the authentication using Laratrust: https://laratrust.santigarcor.me and also using SSO Subfission/CAS: https://github.com/subfission/cas

Heya, this is something we probably won't be implementing ourselves, sorry. We require GitHub authentication specifically to combat spam accounts. It's been proven the only effective way to fight that so far. Most developers also probably have a GitHub account.
If you're adopting the portal for a different use case feel free to fork it and implement your own login system 👍

Heya, this is something we probably won't be implementing ourselves, sorry. We require GitHub authentication specifically to combat spam accounts. It's been proven the only effective way to fight that so far. Most developers also probably have a GitHub account.
If you're adopting the portal for a different use case feel free to fork it and implement your own login system 👍


Default report timing should take into account knowledge horizon function

When calling a report via CLI (flexmeasures add report), the default end time is now. This implicitly assumes an ex-post knowledge horizon, which does not yield a sensible end time for e.g. day-ahead markets. The default end time should pass server_now() through the sensor's knowledge time function. Possibly the inverse function is needed, which may involve a loop (bounded by the knowledge horizon bounds) or an implementation of an analytical solution of the reverse function for each knowledge time function.

It's an alternative worthy of consideration. The data fetching would indeed involve a second query, but only in case no end (offset) was explicitly passed. It also means we'd default to computing a report on the latest available complete set of input data, as opposed to on the latest set of input data that could have been known at that time (but without actually checking whether the input data is complete).
Two considerations that come up (in any case):

Would the report still run succesfully if just one of the input sensors is missing data?
Are we warned in case that happens?

I guess a workaround could be to set the -end-offset option to 2D,DB and making sure that the command is only called on D-1.

Actually, we would need to ensure that the command is run after 12pm to ensure that we have data.

Would the report still run succesfully if just one of the input sensors is missing data?

It might, a 'silly' case is when  we list the sensor in the beliefs_search_configs but we don't use it.

Are we warned in case that happens?

No
Regarding the use of knowledge functions, I don't think I would require to implement both the direct and the inverse functions just to have a default.
In some cases,
Using the bounds is an option. For instance, in the x_days_ago_at_y_oclock there are the following bounds:
 timedelta(days=x, hours=-y - 2), timedelta(days=x + 1, hours=-y + 2)

In case of the function at_date,  the bound is timedeta.max.
With that, an idea is to set the default end_date = server_now + min(bound[1], timdelta(days=2)), where we impose a minimum of 2 days of extra data, for example. This could be a FM parameter.

Oh, actually one could also just use the --timezone Europe/Amsterdam option to solve that problem. Nevertheless, extending the time window on both ends is probably useful, even after 0.14.1 lands (which prevents the reporter from saving NaN values), for filling gaps.

With that, an idea is to set the default end_date = server_now + min(bound[1], timdelta(days=2)), where we impose a minimum of 2 days of extra data, for example. This could be a FM parameter.

I agree, this is a good solution. Instead of a new setting, I wouldn't mind to just also use the FLEXMEASURES_MAX_PLANNING_HORIZON setting for this purpose, so that it is effectively used in a broader sense, to set a limit on how far FlexMeasures does calculations into the future.


ADC + DMA API

@homunkulus r+

:pushpin: Commit 23d83ba has been approved by japaric

:hourglass: Testing commit 23d83ba with merge 23d83ba...

:sunny: Test successful - status-travis
Approved by: japaric
Pushing 23d83bac3e26b5301bc54227a4bc2249150e43a8 to master...


must specify an absolute path but is ${env.JAVA_HOME}/lib/jconsole.jar

Errors occurred while build effective model from C:\Users\Adam.gradle\caches\modules-2\files-2.1\com.alibaba\druid\1.1.6\55ff28bd66de65a644a922ad8bca123d5e1826c3\druid-1.1.6.pom:
'dependencies.dependency.systemPath' for com.alibaba:jconsole:jar must specify an absolute path but is ${env.JAVA_HOME}/lib/jconsole.jar in com.alibaba:druid:1.1.6
'dependencies.dependency.systemPath' for com.alibaba:tools:jar must specify an absolute path but is ${env.JAVA_HOME}/lib/tools.jar in com.alibaba:druid:1.1.6
build in gradle ,JAVA 1.9 Errors occurred

seems like you are building some alibaba specific druid fork.
Please raise an issue on alibaba repo.

@nishantmonu51 it's an entirely different project.
@yaodwwy this issue belongs to https://github.com/alibaba/druid


Streaming with LangGraph always outputs 3 duplicate tokens

When streaming a graph, it always outputs the same tokens in the for-loop exactly 3 times for some reason?
There is no way to differentiate the output chunks other than making a check to only save every third token, but that seems like a quirky fix...
Here is a CodeSandbox link to see an example:
https://codesandbox.io/p/devbox/confident-cookies-54xwlr?file=index.ts

Hey @NERLOE I just copied & pasted this into a .ts file (I didn't run in the code sandbox you linked) but didn't modify any code and my result logged this:
result Hello! I'm just a computer program, so I don't have feelings, but I'm here to help you. How can I assist you today?

Are you running the latest version of everything?

Weird... I should be running the latest versions... This is the package.json dependencies on the CodeSandbox... I also have a local dev environment where it does the same...?

Could you push up a repo which I can clone to reproduce? Kinda hard to debug in code sandbox.
Thanks

Here you go, I have reproduced the bug in this repo:
https://github.com/NERLOE/langchain-bug

Hey @NERLOE I just cloned and was able to reproduce. Then I bumped the langchain deps:
"dependencies": {
  "@langchain/core": "0.1.41",
  "@langchain/langgraph": "0.0.10",
  "@langchain/openai": "0.0.16"
}

and the error stopped occurring. Can you confirm on your end?

Hey @bracesproul I just tried updating to the following dependencies, and I still get the error:
  "dependencies": {
    "@langchain/core": "0.1.42",
    "@langchain/langgraph": "0.0.10",
    "@langchain/openai": "0.0.16",
   }

I have updated the GitHub repo as well, with the updated dependencies.... But this is still the output I get:

I just re-cloned and it worked for me. I would try deleting your node modules folder?

Just tried this:

Deleted node_modules and yarn.lock and reinstalled with yarn, then it suddenly worked.
Then I deleted the node_modules and yarn.lock again to try installing with pnpm, and then it didn't work.
Then I tried installing with yarn again, and now I can't get it to work...

I've tried deleting and re-installing many times now, and can't get it to work anymore.

I had the same problem, but downgrading @langchain/core to 0.1.14 helped. At the moment I have such dependencies:
"dependencies": {         "@langchain/community": "^0.0.38",         "@langchain/core": "^0.1.41",         "@langchain/langgraph": "^0.0.10",         "@langchain/openai": "^0.0.20" }

@jacoblee93 @bracesproul this issue can prob be closed. i think it was the same thing i ran into earlier
https://github.com/langchain-ai/langchainjs/pull/4834/files


fix(input): listen on "change" for radio and checkbox

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
bug fix
What is the current behavior? (You can also link to an open issue here)
radio and checkbox listen on "click" which can cause unforeseen behavior
What is the new behavior (if this is a feature change)?
radio and checkbox listen on "change"
Does this PR introduce a breaking change?
Yes, for certain unit-test behaviors
Please check if the PR fulfills these requirements

[x] The commit message follows our guidelines: https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#commit-message-format
[x] Tests for the changes have been added (for bug fixes / features)
~[ ] Docs have been added / updated (for bug fixes / features)~

Other information:
input[radio] and inout[checkbox] now listen on the change event instead
of the click event. This fixes issue with 3rd party libraries that trigger
a change event on inputs, e.g. Bootstrap 3 custom checkbox / radio button
toggles.
It also makes it easier to prevent specific events that can cause a checkbox / radio
to change, e.g. click events. Previously, this was difficult because the custom click
handler had to be registered before the input directive's click handler.
It is possible that radio and checkbox listened to click because IE8 has
broken support for listening on change, see http://www.quirksmode.org/dom/events/change.html
Closes #4516
Closes #14667
BREAKING CHANGE:
input[radio] and input[checkbox] now need to be attached to the document to propagate events
correctly. This should only be of concern in unit-tests that compile input elements and
trigger click events on them. This is because we now listen to the change event which
gets automatically triggered by browsers when a checkbox or radio is clicked. However,
this may fail in some browsers when the elements are not attached to the document.
Before:
    it('should update the model', inject(function($compile, $rootScope) {
      var inputElm = $compile('<input type="checkbox" ng-model="checkbox" />')($rootScope);

      browserTrigger(inputElm[0], 'click');
      expect($rootScope.checkbox).toBe(true);
    });

With this patch, $rootScope.checkbox might not be true, because the click event
hasn't triggered the change event. To make the test, work append the inputElm to the app's
$rootElement, and the $rootElement to the $document:
After:
    it('should update the model', inject(function($compile, $rootScope, $rootElement, $document) {
      var inputElm = $compile('<input type="checkbox" ng-model="checkbox" />')($rootScope);

      $rootElement.append(inputElm);
      $document.append($rootElement);

      browserTrigger(inputElm[0], 'click');
      expect($rootScope.checkbox).toBe(true);
    });

Generally, LGTM.
I am a little worried of what might unforseeably break as a result of this change. For example, usecases depending on the relative order of event callbacks (e.g. click listeners registered after our listener and expecting the model to have been updated).
We should mention it in the commit message imo.
There might be other cases that I missed.
--
Talking about BC messages, mentioning browserTrigger would be confusing (since it Angular internal stuff). I would just replace it with a comment, e.g.: // Somehow trigger a click event on the element.

You are right, this could break some other cases.
And I always thought browserTrigger was external ... comes from working on core so much!

I've fixed the test and updated the commit message / BC note

Something is still failing on mobile Safari :disappointed:

@gkalpak Yeah I noticed that.

@Narretz This just hit me in a production-running app that also used FastClick. FastClick morphs click handlers into touchstart ones with some hacks around it and in 50% of cases this broke the radios on the site in iOS 10.

Intereesting. Maybe this will pass in ios? Because so far ios8 is blocking this ...

Angular 2 supports iOS 7-10 so I'd rather not drop iOS 8 support in ng1; we
should try to cover the same browsers IMO...
On Wed, 23 Nov 2016 at 13:42, Martin Staffa<EMAIL_ADDRESS>wrote:

Intereesting. Maybe this will pass in ios? Because so far ios8 is blocking
this ...
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/angular/angular.js/pull/14685#issuecomment-262502936,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABrUnpE3732pd9SIA17qFVudd4SmGI5Rks5rBDSggaJpZM4IoVMX
.

@petebacondarwin @gkalpak I've updated this (BC) PR for 1.7.0. Can you give it another look? Or probably a new look since it's from last year. ;)
Specifically I updated the commit message to include more info about possible Breaking Changes and info about which browsers are affected by the event propagation issue.

I Opened an issue on Chromium for future reference: https://bugs.chromium.org/p/chromium/issues/detail?id=773680


Not work on Magento version 2.1.13 and 2.1.14

I have error

2 exception(s):
Exception #0 (Zend_Db_Statement_Exception): SQLSTATE[42S22]: Column not found: 1054 Unknown column 'category_ids_index.category_id' in 'where clause', query was: INSERT INTO search_tmp_5b75a7eeb16236_50140388 SELECT main_select.entity_id, MAX(score) AS relevance FROM (SELECT search_index.entity_id, (((0) + (0)) * 1) AS score FROM catalogsearch_fulltext_scope1 AS search_index
LEFT JOIN catalog_eav_attribute AS cea ON search_index.attribute_id = cea.attribute_id
INNER JOIN catalog_category_product_index AS category_products_index ON search_index.entity_id = category_products_index.product_id
LEFT JOIN cataloginventory_stock_status AS stock_index ON search_index.entity_id = stock_index.product_id AND stock_index.website_id = 0 WHERE (stock_index.stock_status = 1) AND (category_ids_index.category_id = 4) AND (category_products_index.visibility IN ('2', '4'))) AS main_select GROUP BY entity_id ORDER BY relevance DESC
LIMIT 10000
Exception #1 (PDOException): SQLSTATE[42S22]: Column not found: 1054 Unknown column 'category_ids_index.category_id' in 'where clause'

I tried to install your extension on the latest versions 2.1.13 and 2.1.14. Category pages show errors.

this are not supported versions


Integrate gocraft/work

This is a proposal to introduce a new jobs_worker mode, essentially serving as a wrapper for gocraft/work, a frequently used background task processing library in Go.
The PeriodicallyEnqueue feature proves to be exceptionally valuable. Hence, it would be beneficial to expose it in a developer-friendly manner through the options.
Additionally, we require an optional enqueuer as a component in Service to facilitate task enqueuing from different parts of the applications.

At the same time, I propose renaming the current worker mode to spin_worker for the sake of clarity.


Arabic diacritcs misbehave when separated into spans

This might be partially related to #73092

I'm facing a problem working with Arabic diacritics as I'm trying to color the diacritics with different color than the letter itself so, I thought of rich text but I ended up with the results below
As seen in the image in the actual results there are two problems:
1- Diacritics don't stack
2- They clip with the letter
As opposed to when I use a normal non-rich Text
Expected results:
I'm expecting something like this

Actual results:
But instead I end up with this

Non-rich text:

It works fine when diacritics and letters are in a single Text string but of course I lose the ability to color the diacritics separately which is the main problem here
Steps to Reproduce

Create a flutter project
Run the following code snippet:

Snippet
    Scaffold(
     body: Center(
      child: RichText(
       softWrap: true,
       textWidthBasis: TextWidthBasis.longestLine,
       text: TextSpan(children: [
        TextSpan(
          text: "ك",
          style: TextStyle(
            color: Colors.blue,
            fontSize: 48,
            // fontFamily: "simplified-arabic"و
          ),
        ),
        TextSpan(
          text: "ِّ", //Diacritic
          style: TextStyle(
            color: Colors.red,
            fontSize: 48,
            // fontFamily: "simplified-arabic",
          ),
        ),
        TextSpan(
          text: "ـ",
          style: TextStyle(
            color: Colors.blue,
            fontSize: 48,
            // fontFamily: "simplified-arabic",
          ),
        ),
      ]),
     ),
   ),
 );

Flutter doctor

Logs

[√] Flutter (Channel stable, v1.17.5, on Microsoft Windows [Version 10.0.19041.508], locale en-US)
    • Flutter version 1.17.5 at F:\Proging Stuff\Mobile-Flutter\sdk\flutter
    • Framework revision 8af6b2f038 (6 months ago), 2020-06-30 12:53:55 -0700
    • Engine revision ee76268252
    • Dart version 2.8.4

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at F:\Proging Stuff\Mobile-Flutter\sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = F:\Proging Stuff\Mobile-Flutter\sdk
    • ANDROID_SDK_ROOT = F:\Proging Stuff\Mobile-Flutter\sdk
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[!] Android Studio (version 4.0)
    • Android Studio at C:\Program Files\Android\Android Studio
    X Flutter plugin not installed; this adds Flutter specific functionality.
    X Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] VS Code (version 1.52.1)
    • VS Code at C:\Users\mrgne\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.17.0

[√] Connected device (1 available)
    • Nokia 7 plus • B2NGAEA841411747 • android-arm64 • Android 10 (API 29)

CC @GaryQian

code sample
import 'package:flutter/material.dart';

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

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Material App',
      theme: ThemeData.dark(),
      home: Home(),
    );
  }
}

class Home extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: RichText(
          softWrap: true,
          textWidthBasis: TextWidthBasis.longestLine,
          text: TextSpan(children: [
            TextSpan(
              text: "ك",
              style: TextStyle(
                color: Colors.blue,
                fontSize: 48,
                // fontFamily: "simplified-arabic"و
              ),
            ),
            TextSpan(
              text: "ِّ", //Diacritic
              style: TextStyle(
                color: Colors.red,
                fontSize: 48,
                // fontFamily: "simplified-arabic",
              ),
            ),
            TextSpan(
              text: "ـ",
              style: TextStyle(
                color: Colors.blue,
                fontSize: 48,
                // fontFamily: "simplified-arabic",
              ),
            ),
          ]),
        ),
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel stable, 1.22.5, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.22.5 at /Users/tahatesser/Code/flutter_stable
    • Framework revision<PHONE_NUMBER> (3 weeks ago), 2020-12-10 11:54:40 -0800
    • Engine revision ae90085a84
    • Dart version 2.10.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/sdk
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.0

[!] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.18.0

[✓] Connected device (1 available)
    • iPhone 12 (mobile) • 12D8FF8E-2815-436E-9951-B8A6A42E4ACF • ios • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 1.26.0-2.0.pre.157, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.26.0-2.0.pre.157 at /Users/tahatesser/Code/flutter_master
    • Framework revision 4b83be6c23 (8 hours ago), 2020-12-30 02:09:03 -0500
    • Engine revision 0e5a25d779
    • Dart version 2.12.0 (build 2.12.0-179.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/sdk
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.18.0

[✓] Connected device (3 available)
    • iPhone 12 (mobile) • 12D8FF8E-2815-436E-9951-B8A6A42E4ACF • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)    • macos                                • darwin-x64     • macOS 11.1 20C69 darwin-x64
    • Chrome (web)       • chrome                               • web-javascript • Google Chrome 87.0.4280.88

• No issues found!

Any updates on this?

Is there any news regarding this issue?
Here is a little repo (Flutter app) showing the issue with different contexts if it can help
https://github.com/Ayman-Kortobaa/flutter_arabic_diacritics

Walkthrough
The app has a Column with three children to show different usage of diacritics with TextSpan.
note:  the app uses Uthmanic font but this behavior is apparent with almost every font.

The first line is when the diacritics are in a separate TextSpan it gets displayed like it is on its own (like how TextSpan should be treated but it doesn't work like that in an Arabic context, the previous letter should be taken into account).
If the diacritics are in a TextSpan with a letter that they should be displayed on they get displayed correctly.
Using a Text widget with diacritics on a letter (first part) gets displayed correctly, and diacritics on their own (second part) get displayed on baseline (which is correct in this case) like the diacritics in the first line with a single difference is in the first line there is a letter actually before the diacritics so they shouldn't be displayed like that.

Conclusion
Diacritics get treated correctly by Flutter but in Arabic context is important as even if they are on their own in the TextSpan they should care about their position in the sentence.
The same is also applicable for some letters as they can be drawn differently depending on their place in a sentence or word but TextSpan doesn't always respect that, the underlined letter in the next picture is drawn longer than it should be when preceded with a TextSpan with a different style.

The way layout currently functions can explain this behavior. When we currently do layout, we pass each span independently down to lay out the glyphs and ligatures. When split into multiple spans, the layout process cannot take the preceding and following spans into account.
@jason-simmons @Rusino Is this something SkParagraph can resolve more easily than LibTxt can?

Hello, any updates on this issue? this is very important to us as Arab Developers and we appreciate any help
we provided here full details about the issue
and repo for testing here
@behdad @RedBrogdon @eseidelGoogle @slightfoot

My 10 cents: You can work around this by painting two strings on top of each other and strip the diacritics from the one on top. Not ideal but would give immediate results.
The actual fix for this issue involves Skia and requires a non-trivial engine fix. And lots of testing.

Thank you @slightfoot  for your suggestion will try it , and compare the performance , it will be great if we can get help from other teams to fix this issue as it affects all Arabic language applications

This is Working as Expected as far as I'm concerned, in that every time someone decides they need to write a text layout engine from scratch, it takes them five to ten years or more to learn what mistakes not to make. Is sad but is reality.

I read from the source code, it seems flutter mechanism to draw text, is to draw one InlineSpan text each, without dependency to other InlineSpan text.
Which is failed in here caused, the draw mechanism in arabic diacritic, made dependency to the previous one.
For example if the previous character is Kaf like in the example above, then the diacritic need to render above it if it is Fathah diacritic. But it failed, since it doesn't consider the previous InlineSpan which is Kaf, so it just rendering itself which is in baseline (bottom) for the Uthmanic font in the example above.
I hope there is another solution for these. We all want to make Qur'an using Flutter, with a beautiful diacritic, for non arab guy, like myself to make it easier to read it.
Imagine if you are muslim flutter engine developer and could solve this, you will get a good deeds point for billion muslim out there which will use the application 🥺. Hopefully it will become your chance to go to heaven in hereafter 😃.

just use google font plugin

Hey all,
I'm currently facing the same problem when i parse the "tajweed" rules on arabic writing with "Richtext7Textspan" and found this.
Are there any updates on this ?
Has anyone found another solution to this problem ? I would be very grateful if someone has a good tip for me.
Since there are applications that offer "tajweed" function, there must be a solution for this.
i tried it with many different fonts but no one is working correct.

Hey all,
I'm currently facing the same problem when i parse the "tajweed" rules on arabic writing with "Richtext/Textspan" and found this.
Are there any updates on this ?
Has anyone found another solution to this problem ? I would be very grateful if someone has a good tip for me.
Since there are applications that offer "tajweed" function, there must be a solution for this.
i tried it with many different fonts but no one is working correct.

I'm using plugin Google fonts and solved the problem.

What specific font did you use?
This is how it looks for me:
(In vers 6 the Lam Alif is double printed for example )

Today I had same problem as in above screenshot (same word repeated twice).
Changing font to Kitab solved the issue.

With Kitab Font it is not solved. Than there are other leters which are double printed. For example check in surah 1 Vers 7 the last word. The "alif" after "dad" is double printed. And this is just one example.

This is how it looks for me:

This is how it looks for me with Kitab (kitab-regular.ttf) font:

With AmiriQuran Font this is problem is solved:

BUT than i get in Surah Aal-I-Imran Aya 5 again double printed Alifs in the last word :

I extracted Tajweed rules highlighting part from my project and added to this repository. Could you please, check whether it works for you? Please, make sure that you are using latest version of Flutter.

Your implementation is great and works for me. I am trying to find the error in my implementation using your code. If I don't get it solved, would you allow me to use your code and adapt it for me?

Yes, of course, that is the reason I shared it. You can use it freely.
Also you can send PR's when you implement rules that I did not implement, as I am also still working on this project and doing modifications.

Great, thank you very much.

You are welcome brother.

Verified this using latest stable and master versions and observed that the originally reported / described behavior persists upon running the code sample.

 stable, master flutter doctor -v
[!] Flutter (Channel stable, 3.7.0, on macOS 12.2.1 21D62 darwin-x64, locale
    en-GB)
    • Flutter version 3.7.0 on channel stable at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b06b8b2710 (28 hours ago), 2023-01-23 16:55:55 -0800
    • Engine revision b24591ed32
    • Dart version 2.19.0
    • DevTools version 2.20.1
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

[!] Flutter (Channel master, 3.8.0-7.0.pre.23, on macOS 12.2.1 21D62 darwin-x64,
    locale en-GB)
    • Flutter version 3.8.0-7.0.pre.23 on channel master at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 6e7f580370 (14 minutes ago), 2023-02-08 12:37:24 +0800
    • Engine revision f310ffd146
    • Dart version 3.0.0 (build 3.0.0-204.0.dev)
    • DevTools version 2.21.1
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

https://user-images.githubusercontent.com/67046386/217521849-e66300ec-29b1-4fb6-86f8-81d7bd876117.png
This seems to be the correct rendering of the glyph. @Rusino has fixed this in skparagraph. Closing.


US/Eastern not found in timezone database

This is on Alpine Linux using both the apk package and when compiling from source.
I've changed the locale to "C" like in the FAQ. I also just recently regenerated my timezone info using setup-timezone -z US/Eastern.
[2020-06-10 20:27:43.087] [info] Resources files: /home/komodo/.config/waybar/config, /home/komodo/.config/waybar/style.css
[2020-06-10 20:27:43.227] [error] clock: /etc/zoneinfo/US/Eastern not found in timezone database
[2020-06-10 20:27:43.247] [warning] Requested width: 0 exceeds the minimum width: 2560 required by the modules```

Fixed on latest release


Keep gradient background while scrolling

Tweeted with @craigspaeth and Katarina about this. So - I LOVE the new blog design but feel like removing the gradient background on scroll is pretty jarring. Tried out a fix locally which adds a gradient image behind both the header and body. On scroll, you move the one behind the header inline with the background and magic!
Cavaet: There is a tremendous amount of javascript running on this blog (for some reason?) so it doesn't work that well. Not sure what the JS is doing. May want to consolidate things that happen onscroll. Also definitely recommend removing modernizer (it is a dev blog) since it is throwing errors and the octopress.js which does seem to require it for some reason but is (maybe?) never being run.
For a very similar implementation see: http://www.zamiang.com/posts/post/2015/07/05/learning-from-artsy-how-to-hire-awesome-engineers/ :)

I really love this PR, I definitely prefer the behaviour of your site. Is it possible you can give it a negative top margin so that when you scroll bounce at the top there isn't a flash of white?

@orta To my knowledge, there is no way to control the content that appears above the page during a scroll bounce on the web in Chrome. There is in Safari however so I submitted a change to fix that.
In general editing code in this repo is CRAZY. Took me forever to find this little guy: https://github.com/artsy/artsy.github.com/blob/source/source/_includes/custom/after_footer.html

yay hi @zamiang

( Who cares about Chrome users? )

:sparkles: open source :sparkles:
Thank you Brennan!
We definitely need to lighten up the JS on this blog. Ironically our engineering blog is probably the worst reflection of the code quality of the Artsy engineering team.
:+1: this is great!


Shrink Mechanic

Implement a way to shrink or enlarge objects when they are being picked up

Good Stuff!


Please release version with support for .node-version

Following install instructions does not include Support .node-version too  - potentially missing yarn build / or result of building not pushed to  main branch

Indeed, the updated bundle was not published. It should be fixed now.


Add: logging in list.py

Checks

[ ] Your YAML file has required fields as listed in Specs
[ ] All checks have passed yaml-lint passed
[ ] You agree to contribute your work under MIT license

Reviewed and achieved.


Magnifying glass overlaps a long prompt

on this image you can clearlyl see how the magnifying glass on the right overlaps the letter 'm'.

Hey :wave:
As far as I know, Catppuccin just provides the colours to theme the launcher. I really don't think bugs relating to how the elements overlap would be our concern.
Can you replicate this bug using the default colourscheme by uninstalling Catppuccin? That will help us determine if it's a bug related to Catppuccin or if it's a bug related to Flow Launcher itself.
Thanks!

I can't reproduce it on the default themes, something with our width or overflow settings is messing it up.

I think I've found the issue. We don't provide any padding at:
https://github.com/catppuccin/flow-launcher/blob/120d96cf9c5838d315905456fbdda7dca0c48155/flow-launcher.tera#L31
On the default Windows 11 Light theme though, they have <Setter Property="Padding" Value="0,4,66,0" />, and I'm seeing similar values on other themes.


Forward to mqtt server

Hi -
MQTT Newbie here.  I have a rails server setup that I want to subscribe to my emq MQTT server to listen for certain topics.  Unfortunately I cant seem to connect to UDP to listen to the MQTT-SN server.  Im wondering if it's possible to forward any incoming messages that the MQTT-SN server receives to the EMQ MQTT server so that it can then publish them for my rails app to subscribe to?
We have an IoT device that is publishing to the MQTT-SN server via UDP, which is why we are using MQTT-SN, but need the server to be able to subscribe to the messages.
Thanks,
Josh

Your rails server could subscribe to the MQTT topic (the TCP port 1883). Then all messages received from MQTT-SN can will be forwarded to your rails server via MQTT.


Huge and missing buttons

In pcmanfm, some of the tabs are also missing, like edit.

I attempted to recreate this theme with oomox, and appearently when you export
the theme with the "Generate 2x scaled (HiDPI) assets for GTK+2" option the icons
will become larger, and sometimes won't render properly on lower DPI displays
(my display is 1080p with a dpi of 96) like in @pryme-svg's pictures.
I think it would be a good idea to make a seperate theme that doesn't have the HiDPI
option enabled.

It doesn't seem like the maintainer of this repo is responding. You said you recreated it. Would you be willing to share?

It's probably not exact, but Here's the oomox color file.
Gruvbox-Materia-Test
Just open up Oomox's gui and click "Import -> Oomox Colors File".

@pryme-svg

It doesn't seem like the maintainer of this repo is responding.

Coz I'm preparing for the postgraduate exam, so I don't have much time recently.
@TheGreatMcPain Would you like to maintain this project? I can add you as a collaborator or directly transfer this repo to you.

Sure I can help maintain it, just add me as a collaborator.
Also, could you send me a copy of your Oomox color file? It should be in ~/.config/oomox/colors.

@TheGreatMcPain Done, check your github notification.

Also, could you send me a copy of your Oomox color file?

I created a new branch named config, you can checkout this branch.

I just finished up making a commit where I've added a seperate high-DPI version of the theme.
Also, the original Oomox color file wasn't in the config branch, but I
was able to recreate the same look, so it's close enough.


feat: add language.nodejs extra

I'm new to nix but managed to throw together
what I needed to have consistent nodejs version for:
node --version
yarn node --version
pnpm node --version

Usage:
imports = ["language/nodejs"]

[language.nodejs]
package = "nodejs-16_x"

I think in the end it might be better or more DRY to use something like:
https://github.com/cprussin/nixjs
But it's a bit outdated and I did not figure out how to define overlays in an extra file. :cry:
(I still would love to know)

I figured out now that most of the custom patches are not necessary if you just overlay the default nodejs package:
overlays = [ (self: prevPkgs: {
    nodejs = prevPkgs.nodejs-16_x;
}) ]

So if we can add an overlay in an extra file that would be the the simplest solution :thinking:
see also in the discourse


Use Calibration function without opening the Device

Hi,
I was wondering if we can use use calibration function without opening the device in case we don't have access to the hardware.
Can we probably hard-code the serial number and hardware specifications along with other parameters which the Device instance usually get to initiate a device?
Basically I want to use transform = k4a.Transformation(calibration) without opening the device. Is there a possibility?

@UnaNancyOwen

I assume this is in reference to handling images in recordings. The recording includes the calibration of the Azure Kinect DK that was used for the recording. You can use k4a_playback_get_calibration() to get the calibration from the recording.

Not really related to playback, I am segregating a pipeline and I need to use the Transform function on incoming frames from the client end to the server-side, I suppose we cannot use Transform function() without opening the device? If there is a way, please suggest

@qm13 any leads?

@UnaNancyOwen If someone could help, I can't find anything on the web regarding it.

@UnaNancyOwen  If someone could help, I can't find anything on the web regarding it.

I have never used it, so I don't know the details. You may be able to use these APIs for your purpose.
These APIs can be used to store and reload the calibration information.

k4a_device_get_raw_calibration()
k4a_calibration_get_from_raw()

There is little information on web about what you want to do, so you need to implement them by oneself.
I don't know that if there is any API that can help you or if you need to implement conversion table.
That's all the advice I can give you. I hope it will go well.

@UnaNancyOwen Thank you for your response. However what exactly do you mean by conversion table?

It mean is the information of the corresponding color pixels  and depth pixels.  however, I don't know about that whether is it possible to implement that, and how to implement that.

The C++ wrapper interface for read/write

k4a::device::get_raw_calibration()
k4a::calibration::get_from_raw()


Database Conversion fails

I tried again to upgrade ... multiple times with different 15-0. databases. Every time when I run:
Invoke-NAVApplicationDatabaseConversion -DatabaseServer <database server name><database server instance> -DatabaseName "<database name>"
I get error:
A technical upgrade of database 'Demo15-0' on server 'MINION\BCDEMO' cannot be run, because the database’s application version '130580' is greater than or equal to the platform version '130580'.
So there must be some step missing in this instruction.
Steps to repeat this issue:
Install BC 15.0 (RTM) W1.  Then download BC15.1 and follow this update instruction.
I'm using NavAdminTool.ps1 from BC CU1 installer folder:
Import-Module "$BCinstallerPath\ServiceTier\program files\Microsoft Dynamics NAV\150\Service\NavAdminTool.ps1"

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: e71477e4-f2ea-1481-7597-29b324bd4f57
Version Independent ID: a2bb3a05-e5c1-d9f7-f47f-d2f34c4a91ea
Content: Install an update - Business Central
Content Source: dev-itpro/upgrade/upgrading-cumulative-update-v15.md
Service: dynamics365-business-central
GitHub Login: @jswymer
Microsoft Alias: jswymer

Hello, Thanks for the feedback. Sorry, but I cannot reproduce this error but perhaps, I am doing something slightly different than you. I have only seen this error when the database was already on the target platform, for example, I'd run the cmdlet twice or I inadvertently targeted a 15.1 database.

My PS sctipt for updating (I run variables as combination and other commands row by row):
`# VARIABLES
$DataBaseServerName = "MINION"
$DataBaseServerInstance = "BCDEMO"
$DataBaseName = "Demo15-0"
$servInst = "BC150"
$BCinstallerPath = "C:\Install\BC.15.1.38071.W1.DVD"
Commands
Import-Module "$BCinstallerPath\ServiceTier\program files\Microsoft Dynamics NAV\150\Service\NavAdminTool.ps1"
Get-NAVAppInfo -ServerInstance $servInst -Tenant Default| % { Uninstall-NAVApp -ServerInstance $servInst -Name $_.Name -Version $_.Version -Force}

Stop-NAVServerInstance -ServerInstance $servInst

& cmd.exe /c "$BCinstallerPath\setup.exe" /uninstall

& cmd.exe /c "$BCinstallerPath\setup.exe"

Invoke-NAVApplicationDatabaseConversion -DatabaseServer $DataBaseServerName\$DataBaseServerInstance -DatabaseName $DataBaseName`

And then I get the error:
A technical upgrade of database 'Demo15-0' on server 'MINION\BCDEMO' cannot be run, because the database’s application version '130580' is greater than or equal to the platform version '130580'.
I did manage to upgrade on 2 different times. But failed with about 5 databases I tested on.

Hello, I tried this using a similar script and did not have any problems. In your steps, what happens if, before you convert the Demo15-0 datbase, you try to connect it to the BC15.1 server instance and start the instance? You should get an error.

Yes, I get:
BC150 is not starting because “The database on the server must be converted..”

Cool.  Do you get the error?

You are having this error because you have to update the dll's after install Nav. I mean, you have to restart powershell, after install Nav, and then, launch the Invoke. I don't know if you can "re-import" module to have new dll's

you have to restart powershell, after install Nav, and then, launch the Invoke.

Thanks, That worked.


Fix Spans ID creation for OTEL Traces receiver

The previous implementation had some bugs of creation of ids and setting
relation between parent span ids (as we could see in the integration tests here).
This PR fixes the issues.

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

Project coverage is 69.26%. Comparing base (7025ca2) to head (3a6b489).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #703      +/-   ##
==========================================
- Coverage   69.78%   69.26%   -0.53%
==========================================
  Files         124      124
  Lines        9304     9301       -3
==========================================
- Hits         6493     6442      -51
- Misses       2452     2498      +46
- Partials      359      361       +2

Flag
Coverage Δ

integration-test
61.73% <16.12%> (-0.67%)
:arrow_down:

unittests
33.44% <100.00%> (-0.10%)
:arrow_down:

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

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


Hi. Is the code available for python based libraries? Such as Keras, and PyTorch

I started a PyTorch rewrite a few weeks ago. At the moment it doesn't do any training and it only supports Grid GRU models, but it can load checkpoints trained in torch-rnn and it has an efficient HTTP-based sampling server that already works pretty well.

I started a PyTorch rewrite a few weeks ago. At the moment it doesn't do any training and it only supports Grid GRU models, but it can load checkpoints trained in torch-rnn and it has an efficient HTTP-based sampling server that already works pretty well.

I hope that you finish it soon

Basic training functionality is ready now. There are some issues that need to be fixed, but it's ready to be experimented with. https://github.com/antihutka/pytorch-rnn


⚠ Bofrost.at has degraded performance

In a144111, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1994 ms

Resolved: Bofrost.at performance has improved in a0226b2 after 10 minutes.


error: 'class WiFiClass' has no member named 'setSortMethod'

Platformio fails, when I try to build latest version.
I got two errors:

Any ideas?

Probably some framework breaking change. I'll have a look.

Thanks. BTW, where did you enable ESP wifi signal strength? I can't find it.

Hello, i have the same issue.
Did you found a solution?
Thanks

That's weird, I get a successful build with the latest framework (6.7.0).
Can you try to force it:
platform = espressif32 @ 6.7.0
or try to revert to an older one:
platform = espressif32 @ 6.4.0
Note: you can also remove the two lines, it should work just fine.
RE: Wifi signal, the wifi signal threshold was removed for, normally, getting always the best ssid.
At one point, we should move to WiFiMulti.h.

Thnx @raomin I commented out these lines yesterday and I was able to compile it and upload. Scratch that wifi rssi. I was using your first version of ESPAltherma which has worked great. I see that many things have changed meanwhile.
I uploaded it via USB. I was not able to get it to upload via espota. What I am missing here?


Vertical Tabs in Edge browser

Hi, am new with using the Edge Browser [latest version].  Normally used Mozilla FF, v. 75.0 and am finally switching away from Firefox. Every time they update, something else is thrown off, taking hours of my time to fix.
I never thought I'd say that but that newest Edge browser grows on me by now. The only thing I need now are the perfect vertical tabs. Your extension fits my wish 100%.
But for the life of me, I cannot figure how I get it in a sidebar? I have the icon on the top tool bar, can toggle it - but it never shows in a sidebar.
I did install various different 'sidebars' - but none opens your tabs in it. Just their own stuff. So, I uninstalled them.
Is there a trick to open your tabs vertically in a sidebar or does it require a specific sidebar?
I truly appreciate your help. I work on a PC and the ctrl+E does not work, is just opens a webpage: Bing Search.
Regards,
Michele Krammer

I just found an article where it explains that Edge has its own sidebar [that is NOT sizable] and stays under the Vertical Tabs sidebar. I did get it open but I still don't know the trick how to "keep it open". The selection "NO" is not obeying my order - LOL

Hi Michele,
First off, thanks so much for your interest in Vertical Tabs!
Regarding your sidebar situation, I'm guessing you're referring to the sidebar in FF where you can access bookmarks, history, and ofc, the Tree Style Tabs extension. This is one of the reasons that I love FF so much.
Unfortunately, the sidebar is not a native UI in either MS Edge or Chrome at the moment. Therefore, the extension that I created is only mimicking it by injecting some code that constructs the vertical tabs panel into all the webpages that you're viewing using javascript. The vertical tabs panel is, therefore, a part of the webpage that you're viewing and not a native browser UI.
However, there's some good news in the coming months: Microsoft's new Edge browser will get vertical tabs soon I think their implementation will promote the vertical tabs as a native browser UI.
Regarding how to bind another set of shortcut/hotkeys to activate the extension:

Open a new tab and go to edge://extensions/
Click Keyboard Shortcuts on the left
Find Vertical Tabs and change the key binding there

Hope this helps and does not confuse you more :-)
And thanks again for trying Vertical Tabs out! It's your enthusiasm that motivates me to keep pushing forward this open-source project!

Hi. Thanks for this extension. It is a great concept, however there are some issues in my Edge browser. It works for a few minutes and then it just disappears. Clicking on the symbol brings the "eyes" but not the tabs on the left or anywhere else on the screen. At some stage, it appears again. I wish it was more reliable.


AZ CLI: Update Auth flow in az bot

Tool
Name: az bot
Version: 2.0.52
Describe the problem
When an MSA AppID and AppPW aren't passed in for the az bot create flow, the user has to use a magic code to login and have az bot create the AppID and AppPW. (Or they can generate the AppID and AppPW themselves and add them as arguments)
Describe the solution you'd like
No copy-pasting of a magic code for auth flow.
[enhancement]

Cross linking #841, #813, #393


[#5832] Minor: metalake error message

Why are these changes necessary?
The original error message was unclear, which could confuse users when they encountered an issue with the 'name' field. Improving the error message helps to provide clearer guidance to users.
Related Issues
This PR addresses issue #5832 , which reported an unclear error message when the 'name' field is empty.
https://github.com/apache/gravitino/issues/5832

hi @muhammed-mamun Thank you for your contributions.
BTW, Please flow Gravitino community PR rule.
So, Please change your PR title from improved-metalake-erro-message to [#5832] Minor: metalake error message

The build failed because the code is not correctly formatted. We use Spotless to ensure the code is formatted consistently. To fix this, you'll need to run ./gradlew :common:spotlessApply. But as I said, the fix will need to be in the CLI code, not here.

@muhammed-mamun are you still working on this?

@muhammed-mamun are you still working on this?

@justinmclean If he doesn't continue, can you give me the task

Given they have not answered in a week, you can take over it.


[bug] Two Filters result in 400 error

Notice: this issue has been closed because it has been inactive for 549 days. Feel free to comment and request for this issue to be reopened.


WIP Add end 2 end tests using kubeadm-dind-cluster

What this PR does / why we need it:
This PR adds e2e tests using containers to deploy a multinode k8s cluster and 2 external BGP routers.
The current code executes the following steps:

Deploys a k8s cluster with 1 master and 2 workers
Deploys 2 external BGP routers in the same network that the k8s cluster
Installs metalLB
Configures BGP sessions between metalLB and the external BGP routers
Deploys a nginx service in the k8s cluster and exposes it using a LoadBalancer
Checks that the IP assigned to the LoadBalancer has been learned by the external BGP routers

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when the PR gets merged):
Fixes #192
Special notes for your reviewer:
I guess we should define first:

[ ] Test matrix against k8s, i.e. what k8s versions do we want to include
[ ] testing framework: gingko, bash, bats, ...
[ ] test plan, scenarios, periodic jobs, ...

This is cool, but I'm afraid I'm not going to merge it. I've just added VM-based tests that allow for very rapid iteration, which I care about more than supporting environments where VMs cannot run :(

Fair enough :+1:


Error while reading mail using ews java api: Illegal character entity: expansion character (code 0x1)

microsoft.exchange.webservices.data.core.exception.service.remote.ServiceRequestException: The request failed. Illegal character entity: expansion character (code 0x1
at [row,col {unknown-source}]: [1,2690]
at microsoft.exchange.webservices.data.core.request.SimpleServiceRequestBase.internalExecute(SimpleServiceRequestBase.java:74)
at microsoft.exchange.webservices.data.core.request.MultiResponseServiceRequest.execute(MultiResponseServiceRequest.java:158)
at microsoft.exchange.webservices.data.core.ExchangeService.internalBindToItems(ExchangeService.java:1343)
at microsoft.exchange.webservices.data.core.ExchangeService.bindToItem(ExchangeService.java:1378)
at microsoft.exchange.webservices.data.core.ExchangeService.bindToItem(ExchangeService.java:1395)
at microsoft.exchange.webservices.data.core.service.item.Item.bind(Item.java:121)

Hi All, Please help how I can resolve this issue..

@amolthorat19 did you manage to solve this issue? I have the same problem


Add error handling for GHCB operations

Add error types for GHCB and MSR protocol operations.
These errors are mostly only to be handled from two sites, namely the firmware setup in svsm_main() and the PerCpu handlers. At the first one, we just panic as before, printing a more verbose message. At the second group, we ignore the error types for now to simplify the patches, but handling will be added in a separate PR.

Thanks, this is a nice improvement!


ci, reporter, Add step before reporter dump starts

What this PR does / why we need it:
Currently when a test fails a dump is collected from the cluster for
later debugging. This dump includes various ssh expecter sessions to the vmi,
which are also printed to the screen. This makes it hard understanding when
the test ended and when the repoting started.
A simple solution is to add a step before the dump is collected.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:
NONE

To emphasize the issue addressed in the PR, please consider this test failing on Jenkins:
do you know where the Alpine login failed and when the dump started?

Can you please check if those are good enough and not mixed with reporter + non reporter data ?
Begin Captured GinkgoWriter Output >>
  On failure, artifacts will be collected in /logs/artifacts/k8s-reporter/1_*

<< End Captured GinkgoWriter Output

Anyhow we can have also the line you added as well if it helps more

Can you please check if those are good enough and not mixed with reporter + non reporter data ? (on U/S latest we have it)
Begin Captured GinkgoWriter Output >>
  On failure, artifacts will be collected in /logs/artifacts/k8s-reporter/1_*

<< End Captured GinkgoWriter Output

Anyhow we can have also the line you added as well if it helps more

not sure what you mean here. This line is part of the JustBeforeEach, why would we want to add a step there?
in order to distinguish the reporter dump and the test prints, you need to print in JustAfterEach

@oshoval I understand that you are working on a PR to remove the reporter prints from the console all together, if so, this PR might not be needed. what do you say?

@oshoval I understand that you are working on a PR to remove the reporter prints from the console all together, if so, this PR might not be needed. what do you say?

It will take time, and not sure if i work on it atm, please dont depend on it yet

/approve

/cherry-pick release-0.53


Update github4s to 0.30.0

Updates com.47deg:github4s from 0.29.1 to 0.30.0.
GitHub Release Notes - Changelog - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.47deg", artifactId = "github4s" } ]

labels: test-library-update, semver-minor

Superseded by #266.


Issue when using with neovim

My neovim used to display airline well, but after I updated vim-airline and install vim-airline-themes, the arrows are not rendered right:

Everything seems ok if I use vim:

Here're some of my airline-related config (I'm using same config for both vim and neovim)
autocmd vimenter * AirlineTheme bubblegum
let g:airline#extensions#tabline#enabled = 1
let g:airline_powerline_fonts = 1

is this perhaps: https://github.com/neovim/neovim/wiki/Following-HEAD#20160204

Yes thank you so much :) I remove NVIM_TUI_ENABLE_TRUE_COLOR setting and the line looks good again. But because of this the colorscheme looks a bit off. Now I have to wait for colorschemes' authors to fix their schemes or fix them myself right?

Please try updating airline. I just merge a pull request, that I think should also fix your issue.

@chrisbra Awesome. Now everything's working right. Thank you so much for your help :+1:


new stripped_headers option & retire preserve_encoding option

This was the cause of #44... 🤦♂
I think this is

a much more rational default
a much more useful and flexible option

The stripped Accept-Encoding header was a result of #27. But I think that the problems the author was experiencing in #27 was caused by the middleware not being in the ideal place. This is addressed with a new recommendation in #49.
I used rspec context to structure the tests a bit more DRYly, but the strange behavior with the variable access in the app method resulted. I'm not familiar with this def app convention and couldn't find anything else in the code to figure out when/how it was being used. It also doesn't make an appearance in the webmock readme, so I think I must be missing something.
let me know what you think of the new behavior and of the test style.

@waterlink i just rebased on master, then got an email notification, i think you did as well?
i'll not touch it now and let you figure out the changelog in master. then ping me and i'll rebase this, if that sounds good.

@jjb It's ok. I have done exactly the same conflict resolution as you did :)

a much more rational default
a much more useful and flexible option

Agree

I used rspec context to structure the tests a bit more DRYly, but the strange behavior with the variable access in the app method resulted. I'm not familiar with this def app convention and couldn't find anything else in the code to figure out when/how it was being used. It also doesn't make an appearance in the webmock readme, so I think I must be missing something.

This is not something standard, or recommended by any library. It is just that test suite evolved this way, while going through different maintainers and collaborators.
An idea just stroke me: wouldn't it be great if we had these tests in multiple files split by a feature that they are testing?

This is not something standard, or recommended by any library. It is just that test suite evolved this way, while going through different maintainers and collaborators.

I suspected something like that but I couldn't even find where app is invoked

An idea just stroke me: wouldn't it be great if we had these tests in multiple files split by a feature that they are testing?

maybe, but then we'd have to decided how to split them up, and we might find that with that taxonomy it's slightly more difficult to share code. and i don't think the scope of this library is going to grow very much. so i don't think it's worth the work.

a much more rational default
a much more useful and flexible option

Agree

I used rspec context to structure the tests a bit more DRYly, but the strange behavior with the variable access in the app method resulted. I'm not familiar with this def app convention and couldn't find anything else in the code to figure out when/how it was being used. It also doesn't make an appearance in the webmock readme, so I think I must be missing something.

This is not something standard, or recommended by any library. It is just that test suite evolved this way, while going through different maintainers and collaborators.
An idea just stroke me: wouldn't it be great if we had these tests in multiple files split by a feature that they are testing?

Anyways, the PR looks amazing. Merging

I suspected something like that but I couldn't even find where app is invoked

Actually, we are using this: https://github.com/brynary/rack-test (there is an include Rack::Test::Methods at the beginning of the test suite).

maybe, but then we'd have to decided how to split them up, and we might find that with that taxonomy it's slightly more difficult to share code. and i don't think the scope of this library is going to grow very much. so i don't think it's worth the work.

Good call

Actually, we are using this: https://github.com/brynary/rack-test (there is an include Rack::Test::Methods at the beginning of the test suite).

gotcha