Tokenised IPv6 Identifiers not applied to interface

I wanted to use the Tokenised IPv6 Identifiers configuration added for https://github.com/NetworkConfiguration/dhcpcd/issues/101
So I updated my dhcpcd version to 10.0.6, and adjusted my configuration to use slaac token ::1 like so:
hostname
option domain_name_servers, domain_name, domain_search, host_name
option classless_static_routes, ntp_servers, interface_mtu
nohook lookup-hostname
denyinterfaces ve-* vb-* lo peth* vif* tap* tun* virbr* vnet* vboxnet* sit*
waitip

noipv6rs
duid
option rapid_commit
require dhcp_server_identifier
slaac token ::1

interface enp1s0
  slaac token ::1
  noipv4
  noipv6

interface enp2s0
  slaac token ::1
  ipv6rs
  ia_na 0
  ia_pd 0

However only the enp1s0 interface gets the correct address, enp2s0 remains with the generated interface ID. You can see that in the log:
Mar 12 20:58:27 router systemd[1]: Starting DHCP Client...
Mar 12 20:58:27 router dhcpcd[3354]: dhcpcd-10.0.6 starting
Mar 12 20:58:27 router dhcpcd[3357]: dev: loaded udev
Mar 12 20:58:27 router dhcpcd[3357]: DUID 00:01:00:01:2d:82:e1:50:78:24:af:84:be:c0
Mar 12 20:58:27 router dhcpcd[3357]: enp1s0: IAID af:84:be:c0
Mar 12 20:58:27 router dhcpcd[3357]: enp2s0: IAID af:84:be:c1
Mar 12 20:58:27 router dhcpcd[3357]: enp2s0: IA type 3 IAID 00:00:00:00
Mar 12 20:58:27 router dhcpcd[3357]: enp2s0: IA type 25 IAID 00:00:00:00
Mar 12 20:58:27 router dhcpcd[3357]: enp2s0: adding address fe80::7a24:afff:fe84:bec1
Mar 12 20:58:28 router dhcpcd[3357]: enp2s0: rebinding lease of <IP_ADDRESS>
Mar 12 20:58:28 router dhcpcd[3357]: enp2s0: probing address <IP_ADDRESS>/23
Mar 12 20:58:28 router dhcpcd[3357]: enp2s0: soliciting an IPv6 router
Mar 12 20:58:29 router dhcpcd[3357]: enp2s0: rebinding prior DHCPv6 lease
Mar 12 20:58:29 router dhcpcd[3357]: enp2s0: Router Advertisement from fe80::2a2:ff:feb2:c2
Mar 12 20:58:29 router dhcpcd[3357]: enp2s0: adding default route via fe80::2a2:ff:feb2:c2
Mar 12 20:58:30 router dhcpcd[3357]: enp2s0: REPLY6 received from fe80::2a2:ff:feb2:c2
Mar 12 20:58:30 router dhcpcd[3357]: enp2s0: adding address 2403:5816:ffff:ba01:cea6:85bb:a74a:ccdc/128
Mar 12 20:58:30 router dhcpcd[3357]: enp2s0: renew in 1800, rebind in 2880, expire in 7201 seconds
Mar 12 20:58:30 router dhcpcd[3357]: lo: adding reject route to 2403:5816:cd6c::/48
Mar 12 20:58:30 router dhcpcd[3357]: enp2s0: delegated prefix 2403:5816:cd6c::/48
Mar 12 20:58:30 router dhcpcd[3357]: enp1s0: adding address 2403:5816:cd6c:2::1/64
Mar 12 20:58:30 router dhcpcd[3357]: enp1s0: adding route to 2403:5816:cd6c:2::/64
Mar 12 20:58:31 router systemd[1]: Started DHCP Client.
Mar 12 20:58:32 router dhcpcd[3357]: enp2s0: leased <IP_ADDRESS> for 1800 seconds
Mar 12 20:58:32 router dhcpcd[3357]: enp2s0: adding route to <IP_ADDRESS>/23
Mar 12 20:58:32 router dhcpcd[3357]: enp2s0: adding default route via <IP_ADDRESS>

Mainly this line: enp2s0: adding address 2403:5816:ffff:ba01:cea6:85bb:a74a:ccdc/128
I was expecting it to use an address of 2403:5816:ffff:ba01::1.
Verified with ip command:
[root@router:~]# ip address
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet <IP_ADDRESS>/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host noprefixroute
       valid_lft forever preferred_lft forever
2: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 78:24:af:84:be:c0 brd ff:ff:ff:ff:ff:ff
    inet <IP_ADDRESS>/24 scope global enp1s0
       valid_lft forever preferred_lft forever
    inet6 2403:5816:cd6c:2::1/64 scope global dynamic noprefixroute
       valid_lft 6644sec preferred_lft 3043sec
    inet6 fd24:d46e:e1b0::1/64 scope global
       valid_lft forever preferred_lft forever
    inet6 fe80::7a24:afff:fe84:bec0/64 scope link proto kernel_ll
       valid_lft forever preferred_lft forever
3: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 78:24:af:84:be:c1 brd ff:ff:ff:ff:ff:ff
    inet <IP_ADDRESS>/23 brd <IP_ADDRESS> scope global dynamic noprefixroute enp2s0
       valid_lft 1245sec preferred_lft 1020sec
    inet6 2403:5816:ffff:ba01:cea6:85bb:a74a:ccdc/128 scope global dynamic noprefixroute
       valid_lft 6644sec preferred_lft 3043sec
    inet6 fe80::7a24:afff:fe84:bec1/64 scope link
       valid_lft forever preferred_lft forever

Mainly this line: enp2s0: adding address 2403:5816:ffff:ba01:cea6:85bb:a74a:ccdc/128
I was expecting it to use an address of 2403:5816:ffff:ba01::1.

slaac address generation rules do not apply to DHCPv6 addresses.
This address is from your ia_na configuration directive.
Note that some ISPs require a ia_na address to function even though they don't technically need it.

Thanks for clarifying. I will use the IA_PD derived address then for my use case as it is easier to use.


Many more demos.

We have the ability to add a lot of existing slick demos from BPA to the main demo program - we should do so because it's impressive and costs us little.

I'm unassigning myself here.  :-D
The existing "circle" demo doesn't work.  Indeed, I had likely never tried it because it was referring to a non-existent class in BPA and dies before it starts (see upcoming pull request to fix).
I fixed the gross error, but now it runs and does nothing.  Will defer to you @adammhaile on this one!

Yeah... I need to make a BPA3 or something. Too much is breaking there are
no longer compatible with both. Will fix.
On Mon, May 1, 2017 at 7:14 AM, Tom Swirly<EMAIL_ADDRESS>wrote:

I'm unassigning myself here. :-D
The existing "circle" demo doesn't work. Indeed, I had likely never tried
it because it was referring to a non-existent class in BPA and dies before
it starts (see upcoming pull request to fix).
I fixed the gross error, but now it runs and does nothing. Will defer to
you @adammhaile https://github.com/adammhaile on this one!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ManiacalLabs/BiblioPixel/issues/133#issuecomment-298320022,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA6a6vwooY-GWD-w8zTJUwFVd32lkCcmks5r1b6zgaJpZM4MWoZK
.

We can launch 3.0 with the demos we have.

Done with 3.0.2


Add possibility to show custom validation message

Currently to add custom validation message you have to create form request.
With this PR, you can add validation message directly from the controller.
$request->validate([
    'something' => [
        'required' => 'This is custom validation message.'
    ]
]);

If you think this will be good addition to the framework, I will create some tests, currently everything passes.

I am closing this pull request because it lacks sufficient explanation, tests, or both. It is difficult for us to merge pull requests without these things because the change may introduce breaking changes to the framework.
Feel free to re-submit your change with a thorough explanation of the feature and tests - integration tests are preferred over unit tests. Please include it's benefit to end users; the reasons it does not break any existing features; how it makes building web applications easier, etc.
Thanks!


Enhancement: IPFS Support

Would love the ability for IPFS support.
-- Pinata Cloud
-- NFT.Storage
Etc...

https://github.com/Solseum/solseum-nft-generator/blob/main/includes/nft_creator.py#L179
You can create a new line down there that is something like nftMetadata["image"] = "YOUR_NEW_IMAGE_PATH/"+str(nftsCounterThisRun+1)+".png"
If you have a link that isn't mutable, with a common prefix you can set it on the template.json and do something like this
nftMetadata["image"] += str(nftsCounterThisRun+1)+".png"


Crash on servers, materialis-1.16.5-2.4.1.jar

crash-2021-12-20_22.49.40-fml.txt

I've just released version 2.4.2 which should fix it


Order in which callbacks are executed

Hi,
In Flyway 4.0.0 we are using callback to do validation and other tasks that need to be executed after every migration.
We would expect those callbacks to be executed in the order we give them to Flyway. However they are executed in random order.
We looked at flyway code and found that the callbacks are being put in a HashSet. We think this causes the callbacks to be put in random order (Set flywayCallbacks = new HashSet(Arrays.asList(callbacks)); in Flyway.java at 1348)
For now we can work around this issue by creating a callback that contains callbacks and executes them in the correct order, but we doubt this is a good practice.

Good catch! Changed to LinkedHashSet instead.


Clean Flatpaks

Remove unnecessary files in both stable and master flatpaks.
Optimize CEF to take less space  - reticketed as tiliado/valacef#9
Remove icon & GTK+ themes - reticketed as: #403

I just removed Nuvola because of its disk space usage :frowning_face:. I am not using it that much but I am on a system with limited resources and I have to free some space for the Ubuntu 20.10 upgrade.
$ sudo flatpak uninstall nuvola
Found installed ref ‘app/eu.tiliado.Nuvola/x86_64/stable’ (system). Is this correct?

This freed up about 1.5GiB.

Sure, if you have limited disk space, there is no point using Flatpaks nor Snaps.


Issue 1079. fix order of data updating during pushPbftBlock_

also you committed older version of aleth

prnet cleaned-up successfully


[XABT] Use ZipArchive to build APKs.

It would appear we no longer require features not available in System.IO.Compression.ZipArchive in order to build .apk/.aab files.  Additionally, it appears that ZipArchive is noticeably faster than our current usage of LibZipSharp.  Switch the BuildArchive task to preferring ZipArchive over LibZipSharp when possible for building APKs.  The LibZipSharp implementation is maintained as a fallback and in case future new .apk/.aab requirements necessitate its use.
Archive sizes for .apk increase 1.3%-2.7% which seems acceptable. .aab sizes remain roughly the same, likely because bundletool repacks them.
Implementation Notes

netstandard2.0 does not expose API for examining a CRC or CompressionMethod of an existing entry in a Zip file, though both net472 and net9.0 have private fields.  As such, we use reflection to access these private fields.  If the runtime we are using does not have these fields, we will fall back to using LibZipSharp as we do now.
Abstract our required Zip API to IZipArchive so that we can switch between System.IO.Compression.ZipFile and LibZipSharp as needed.
Can force fallback to LibZipSharp with $(_AndroidUseLibZipSharp)=true.

Performance
Measurements of the BuildArchive task when using the android template for initial and incremental build scenarios.
Debug - FastDev

Scenario
main
This PR

Full
2.428 s
339 ms

NoChanges
not run
not run

ChangeResource
34 ms
19 ms

AddResource
23 ms
17 ms

ChangeCSharp
not run
not run

ChangeCSharpJLO
not run
not run

Archive Size
5,390,140 bytes
5,537,596 bytes

Debug - EmbedAssembliesInApk

Scenario
main
This PR

Full
34.856 s
4.313 s

NoChanges
not run
not run

ChangeResource
33.385 s
4.165 s

AddResource
32.206 s
3.963 s

ChangeCSharp
32.060 s
3.979 s

ChangeCSharpJLO
33.161 s
3.997 s

Archive Size
76,653,152 bytes
77,710,097 bytes

Release

Scenario
main
This PR

Full
2.195 s
387 ms

NoChanges
not run
not run

ChangeResource
134 ms
73 ms

AddResource
685 ms
182 ms

ChangeCSharp
705 ms
142 ms

ChangeCSharpJLO
703 ms
149 ms

Archive Size
6,917,153 bytes
6,917,319 bytes

CI build that falls back to LibZipSharp to ensure it still passes our tests: https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=10720142

One of the reasons we didn't use System.IO.Compression was because it IGNORED per file compression settings it also failed to actually STORE things when NoCompression was defined (it would always compress files), this would break out native library support in all sorts of weird ways.
If the plan is to use this when we are going to need to make sure the test coverage is making sure we can add files which have no compression and that they are actually stored as such.
//cc @grendello

@dellis1972 I think he figured out how to set the compression method now:
netstandard2.0 does not expose API for examining a CRC or CompressionMethod of an existing entry in a Zip file, though both net472 and net9.0 have private fields. As such, we use reflection to access these private fields. If the runtime we are using does not have these fields, we will fall back to using LibZipSharp as we do now.

One of the reasons we didn't use System.IO.Compression was because it IGNORED per file compression settings it also failed to actually STORE things when NoCompression was defined (it would always compress files), this would break out native library support in all sorts of weird ways.

Thanks for the context.  I'll do some testing around NoCompression to verify what .NET actually does.

@jpobst it might be enough to verify in some of our build tests that the compression method is correct.
We have a couple like this:
https://github.com/dotnet/android/blob/de043164416222ebf703f04205279fdcac56a9af/tests/MSBuildDeviceIntegration/Tests/BundleToolTests.cs#L299-L307

I believe I see the issue that @dellis1972 is referring to.
Building with NoCompression on .NET 9 looks correct:

Size matches Packed Size
Method is Store

However, using NoCompression on .NET Framework 4.7.2:

The contents are "uncompressed" but the sizes are slightly off
Method is Deflate

It's like it's running it through the compression algorithm with a compression level of 0 instead of placing it unmodified inside the archive.
I think we have 2 options here:

Use LibZipSharp when running inside VS Win (.NET Framework).
Move the compression out of process so we can always run on .NET "Core".

Could we include the source from the “good” System.IO.Compression in src-ThirdParty? Then we could also avoid System.Reflection by making some new public member.

Could we include the source from the “good” System.IO.Compression in src-ThirdParty? Then we could also avoid System.Reflection by making some new public member.

I think the biggest issue is we need it to run on netstandard2.0 in order to be usable by VS MSBuild.  It is an unknown, but this could be non-trivial to port from net9.0.  Also, the modern .NET version uses zlib, which .NET redistributes on Windows because it isn't provided by the OS, so we would be on the hook for that too.
I think we would likely be venturing into undesirable territory trying to ship our own.

If we moved it out-of-process, we could eliminate the CRC reflection because a new property exists.  There still isn't a property for the compression method, but we could possibly apply some pressure on this issue for .NET 10.
(We use the CRC and CompressionMethod to check if we need to update existing entries in an archive during incremental builds.)

modern .NET version uses zlib,

Yeah, so I wouldn't try to bring their code in.
Maybe out-of-process is a good option? They are doing this for components inside Visual Studio as well. A new console app could do the work of the new target, and could always run under .NET 10+ and not .NET framework at all.


Making multiple pods

Hi,
I'm running a complex example. I didn't understand how to make multiple pods in this example.
Redis server

Just start multiple processes (note that each process needs to use a different port)

Like this?
GuildApp
  val config: ZLayer[Any, SecurityException, Config] =
    ZLayer(
      System
        .env("port")
        .map(_.flatMap(_.toIntOption).fold(Config.default)(port => Config.default.copy(shardingPort = 5000)))
    )

GuildApp2
object MyConfig {
  val default: Config = Config(
    numberOfShards = 300,
    selfHost = "localhost",
    shardingPort = 64321,
    shardManagerUri = uri"http://localhost:8080/api/graphql",
    serverVersion = "1.0.0",
    entityMaxIdleTime = 1 minute,
    entityTerminationTimeout = 3 seconds,
    sendTimeout = 10 seconds,
    refreshAssignmentsRetryInterval = 5 seconds,
    unhealthyPodReportInterval = 5 seconds,
    simulateRemotePods = false
  )
}

  val config: ZLayer[Any, SecurityException, Config] =
    ZLayer(
      System
        .env("port")
        .map(_.flatMap(_.toIntOption).fold(MyConfig.default)(port => MyConfig.default.copy(shardingPort = 5001)))
    )

The code in GuildApp will read from environment variable if there is one named "port", so if you set the environment variable to a different value, you can run GuildApp multiple times (5000 is just the default when the environment variable is not set).

Config.default.copy(shardingPort = 5000

This part doesn't affect just I added it there some port for run app

GuildApp2
Or I used it like this but Error Same as below
ZLayer.succeed(MyConfig.default),

Task :app:GuildAppTwo.main()
timestamp=2022-12-11T08:32:10.296443494Z level=INFO thread=#zio-fiber-41 message="Registered entity guild1" location=com.devsisters.shardcake.Sharding.live file=Sharding.scala line=422
<FAIL> Fail(java.lang.RuntimeException: java.lang.reflect.InaccessibleObjectException: Unable to make field protected transient int java.util.AbstractList.modCount accessible: module java.base does not "opens java.util" to unnamed module @1572270e,Stack trace for thread "zio-fiber-47":
	at com.twitter.chill.ResourcePool.borrow(ResourcePool.java:44)
	at com.twitter.chill.KryoPool.toBytesWithClass(KryoPool.java:114)
	at com.devsisters.shardcake.KryoSerialization.live.$anon.encode(KryoSerialization.scala:20)
	at com.devsisters.shardcake.Sharding.sendToPod(Sharding.scala:235)
	at com.devsisters.shardcake.Sharding.messenger.$anon.sendMessage.trySend(Sharding.scala:267)
	at com.devsisters.shardcake.Sharding.messenger.$anon.sendMessage.trySend(Sharding.scala:272)
	at com.devsisters.shardcake.Sharding.messenger.$anon.send(Sharding.scala:251)
	at com.devsisters.shardcake.Sharding.messenger.$anon.send(Sharding.scala:252))
timestamp=2022-12-11T08:32:10.608219314Z level=INFO thread=#zio-fiber-4 message="Releasing PubSub connection: redis://localhost" location=shardcake.gradle.simple.RedisConfig.redis.logger.$anon.info file=RedisConfig.scala line=19
timestamp=2022-12-11T08:32:10.609762683Z level=INFO thread=#zio-fiber-4 message="Releasing PubSub connection: redis://localhost" location=shardcake.gradle.simple.RedisConfig.redis.logger.$anon.info file=RedisConfig.scala line=19
timestamp=2022-12-11T08:32:10.610279628Z level=INFO thread=#zio-fiber-4 message="Releasing Commands connection: redis://localhost" location=shardcake.gradle.simple.RedisConfig.redis.logger.$anon.info file=RedisConfig.scala line=19
timestamp=2022-12-11T08:32:10.611635447Z level=INFO thread=#zio-fiber-4 message="Releasing Redis connection: RedisURI(redis://localhost)" location=shardcake.gradle.simple.RedisConfig.redis.logger.$anon.info file=RedisConfig.scala line=19
timestamp=2022-12-11T08:32:10.626327882Z level=ERROR thread=#zio-fiber-0 message="" cause="Exception in thread "zio-fiber-47" java.lang.RuntimeException: java.lang.RuntimeException: java.lang.reflect.InaccessibleObjectException: Unable to make field protected transient int java.util.AbstractList.modCount accessible: module java.base does not "opens java.util" to unnamed module @1572270e
	at com.twitter.chill.ResourcePool.borrow(ResourcePool.java:44)
	at com.twitter.chill.KryoPool.toBytesWithClass(KryoPool.java:114)
	at com.devsisters.shardcake.KryoSerialization.live.$anon.encode(KryoSerialization.scala:20)
	at com.devsisters.shardcake.Sharding.sendToPod(Sharding.scala:235)
	at com.devsisters.shardcake.Sharding.messenger.$anon.sendMessage.trySend(Sharding.scala:267)
	at com.devsisters.shardcake.Sharding.messenger.$anon.sendMessage.trySend(Sharding.scala:272)
	at com.devsisters.shardcake.Sharding.messenger.$anon.send(Sharding.scala:251)
	at com.devsisters.shardcake.Sharding.messenger.$anon.send(Sharding.scala:252)"

> Task :app:GuildAppTwo.main() FAILED

When I was want to run a second GuildApp I got that error.

Hmm, weird. I just tried it, on 2.x branch and without modifying any code:

have Redis up and running
run complex/ShardManagerApp
run complex/GuildApp with port=2552 env variable
run complex/GuildApp with port=2553 env variable
And it worked as expected.

Steps.

git clone -b series/2.x https://github.com/devsisters/shardcake.git
sbt builds the project and I got the below error; I pass that error with closing grpcProtocol codes in sbt.build and added "shardcake-protocol-grpc" package

shardcake/protocol-grpc/src/main/scala/com/devsisters/shardcake/GrpcPods.scala:6:33
object protobuf is not a member of package com.devsisters.shardcake
import com.devsisters.shardcake.protobuf.sharding._

changed redis client config with for me ""redis://localhost""
Added two run configurations for GuildApp port=2552 and port=2553
Start ShardManagerApp
Start GuildApp port=2552 -> OK
Start GuildApp port=2553 -> I got below error again

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
timestamp=2022-12-15T07:03:45.799446446Z level=INFO thread=#zio-fiber-43 message="Registered entity guild" location=com.devsisters.shardcake.Sharding.live file=Sharding.scala line=422
<FAIL> Fail(java.lang.RuntimeException: java.lang.reflect.InaccessibleObjectException: Unable to make field protected transient int java.util.AbstractList.modCount accessible: module java.base does not "opens java.util" to unnamed module @3e9d855d,Stack trace for thread "zio-fiber-49":
	at com.twitter.chill.ResourcePool.borrow(ResourcePool.java:44)
	at com.twitter.chill.KryoPool.toBytesWithClass(KryoPool.java:114)
	at com.devsisters.shardcake.KryoSerialization.live.$anon.encode(KryoSerialization.scala:20)
	at com.devsisters.shardcake.Sharding.sendToPod(Sharding.scala:213)
	at com.devsisters.shardcake.Sharding.messenger.$anon.sendMessage.trySend(Sharding.scala:265)
	at com.devsisters.shardcake.Sharding.messenger.$anon.sendMessage.trySend(Sharding.scala:262)
	at com.devsisters.shardcake.Sharding.messenger.$anon.send(Sharding.scala:248)
	at com.devsisters.shardcake.Sharding.messenger.$anon.send(Sharding.scala:252))
timestamp=2022-12-15T07:03:46.119676694Z level=INFO thread=#zio-fiber-6 message="Releasing PubSub connection: redis://localhost" location=example.complex.package.redis.logger.$anon.info file=package.scala line=19
timestamp=2022-12-15T07:03:46.120940077Z level=INFO thread=#zio-fiber-6 message="Releasing PubSub connection: redis://localhost" location=example.complex.package.redis.logger.$anon.info file=package.scala line=19
timestamp=2022-12-15T07:03:46.121340384Z level=INFO thread=#zio-fiber-6 message="Releasing Commands connection: redis://localhost" location=example.complex.package.redis.logger.$anon.info file=package.scala line=19
timestamp=2022-12-15T07:03:46.122813094Z level=INFO thread=#zio-fiber-6 message="Releasing Redis connection: RedisURI(redis://localhost)" location=example.complex.package.redis.logger.$anon.info file=package.scala line=19
timestamp=2022-12-15T07:03:46.135017843Z level=ERROR thread=#zio-fiber-0 message="" cause="Exception in thread "zio-fiber-49" java.lang.RuntimeException: java.lang.RuntimeException: java.lang.reflect.InaccessibleObjectException: Unable to make field protected transient int java.util.AbstractList.modCount accessible: module java.base does not "opens java.util" to unnamed module @3e9d855d
	at com.twitter.chill.ResourcePool.borrow(ResourcePool.java:44)
	at com.twitter.chill.KryoPool.toBytesWithClass(KryoPool.java:114)
	at com.devsisters.shardcake.KryoSerialization.live.$anon.encode(KryoSerialization.scala:20)
	at com.devsisters.shardcake.Sharding.sendToPod(Sharding.scala:213)
	at com.devsisters.shardcake.Sharding.messenger.$anon.sendMessage.trySend(Sharding.scala:265)
	at com.devsisters.shardcake.Sharding.messenger.$anon.sendMessage.trySend(Sharding.scala:262)
	at com.devsisters.shardcake.Sharding.messenger.$anon.send(Sharding.scala:248)
	at com.devsisters.shardcake.Sharding.messenger.$anon.send(Sharding.scala:252)"

Process finished with exit code 1

Maybe JDK version? I was with Java 11.

Yeah, It works but with few warnings. I was using Java 19
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
timestamp=2022-12-15T07:29:00.835670Z level=INFO thread=#zio-fiber-43 message="Registered entity guild" location=com.devsisters.shardcake.Sharding.live file=Sharding.scala line=422
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.esotericsoftware.kryo.util.UnsafeUtil (file:/home/burak/.cache/coursier/v1/https/repo1.maven.org/maven2/com/esotericsoftware/kryo-shaded/4.0.2/kryo-shaded-4.0.2.jar) to constructor java.nio.DirectByteBuffer(long,int,java.lang.Object)
WARNING: Please consider reporting this to the maintainers of com.esotericsoftware.kryo.util.UnsafeUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
timestamp=2022-12-15T07:29:01.270086Z level=INFO thread=#zio-fiber-50 message="Creating listener for channel: RedisChannel(shard_assignments)" location=example.complex.package.redis.logger.$anon.info file=package.scala line=19
Success(Set(03d9238e-456d-4189-9abc-d914c45e0a5e, 1cb4e981-ac3c-4b99-8395-076383614b33, f2c0793b-5a85-4294-9226-487fb38d872d, 40eeeb83-4a2a-48e9-8614-dd4b098f1909))
Success(HashSet(03d9238e-456d-4189-9abc-d914c45e0a5e, f2c0793b-5a85-4294-9226-487fb38d872d, 40eeeb83-4a2a-48e9-8614-dd4b098f1909, 1cb4e981-ac3c-4b99-8395-076383614b33, c273f1fb-fe34-44cc-917d-d0e6daa0a2f5))
Failure(java.lang.Exception: Guild is already full!)

Yeah the warnings are okay, I got them too. Probably Kryo is not fully compatible with Java 19 yet.

Quick questions

I run two same applications and there are two pods. Where is my GuildMessage entity now?
Should I need to run a pod server to access the entities

I run two same applications and there are two pods. Where is my GuildMessage entity now?

The entity will be on 1 of the 2 pods (which one is decided by the shard manager). Shardcake ensures that the same entity is never in more than 1 pod at any given time.

Should I need to run a pod server to access the entities

You can communicate with entities from any pod Sharding.register: the same pods that are hosting entities but also any other pods.


Changed namespace reloading

This depends on your project including tools.namespace (a pretty common dependency) Again, there's some old code from the legacy branch that can be used to learn from.
https://github.com/Olical/conjure/blob/ff0f4a18e5b37a5cd44d6d0bae28653e3c90e3ea/autoload/conjure.vim#L108-L131

Currently on develop, releasing in the next version!


Can't import sui packages into another project

Since around the time narwhal got migrated into this repo (Sep 7), I cannot import anything from sui repo into my own project. This is an example of the error message.
error: no matching package named 'sui-json-rpc' found
location searched: https://github.com/MystenLabs/sui?rev=42909845758c6d5f5dcdc1e376f14f4386999f48
This seems dumb/basic but I've tried all I can think of to make this work. There must be something I don't get about how Cargo works.
cc @mwtian I've been searching for ways to DM you but you're not on discord

Hi @maks-ivanov, sorry for the late reply. I have a demo rust project where importing sui-json-rpc seems to work: https://github.com/mwtian/hello-world.rs/blob/052a151732f5e388ff3eb848c8bf49515221d08f/Cargo.toml#L9
Can you post more details about the current configuration, ideally with a minimal Cargo.toml that can reproduce the error? Maybe cargo clean will help but you probably have already tried that.

This works, somehow!  Perhaps this was a blip in github indexing, though seems unlikely. Anyway, thanks

Great to hear it works now!


Added support for a navbar-toggler and a collapsible navbar

Sorted components/index and components/compiled exports.
Currently this only works for a horizontal navbar. (95% of cases)

hey @taylorzane
Thanks for the pull request :)
I don't know if you have seen this http://kzima.github.io/vuestrap-base-components/#/collapse component, but it does exactly what you want. You can wrap a hamburger in a <vs-collapse-toggle> tag and trigger collapse on <vs-collapse> element. I like the way you used target prop, and it probably makes sense to use same naming convention on the <vs-collapse-toggle>. I am curently using events to achieve same result without using getElementById. It's an interesting approach though.
Please have a play with this and let me know what you think.
In terms of sorting, I tried to keep the related stuff together, but I guess it doesn't really matter if its sorted or not. So I am happy to merge that change pending your comment on the navbar-toggler.

Hmm, I'm surprised I didn't notice that. It's a little disconcerting that you're using the same element id for vs-collapse and vs-collapse-toggle. I suppose I could always use a single group to prevent duplicate DOM ids. Let me try this out real quick and if it works for me I'll close the PR. I'll also undo the sorting, it was more of a habitual thing instead. I didn't realize you had grouped them.

@kzima Thanks for showing me that component. It works well for me. I'll go ahead and close this PR. I may help improve that component though so that people don't have to worry about pesky element ids.

@taylorzane cool, I was thinking about <vs-collapse-toggle target="someId" target-group="some-groupId">, what do you think?

That looks a lot better. Also follows bootstrap's syntax.
Something (unrelated) that I noticed was in your example for the Carousel, you had this syntax: <vs-carousel :interval="5000" controls="false" indicators="false">
Which is fine, but you'd either need to handle for controls or indicators being a string, and coerce-ing them, or just to update the example to <vs-carousel :interval="5000" :controls="false" :indicators="false">. Certainly an easy fix for anyone experienced with Vue, but it may cause headaches for newbies.
I figured bringing it up here was quicker than opening a frivolous PR.

yeah, some of the examples might be wrong, I need to go trough them at some point and review everything...

I went today through sample codes and fixed them all. Also updated vs-collapse to use target and target-group params.

Awesome! Hopefully next time I submit a PR it won't be for another already-implemented component :wink:

no problem, any PRs are welcome


⚠ SceneTime has degraded performance

In 1204e36, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1041 ms

Resolved: SceneTime performance has improved in 4c63a77 after 6 minutes.


Issue compiling the project on centos 7

I've been trying to build the cpp project on centos 7.
I installed all necessary dependencies however when I run make I get JAVA_BIN-NOTFOUND.
I have java jdk 8 installed and JAVA_HOME and PATH environment variables set.
I'd appreciate any help on this.
Here's the complete error log:
make
[  2%] Built target generate_geocoding_data
[  7%] Built target geocoding
[ 12%] Built target geocoding-shared
[ 13%] Generating ../src/phonenumbers/alternate_format.cc, ../src/phonenumbers/alternate_format.h
make[2]: JAVA_BIN-NOTFOUND: Command not found
make[2]: *** [../src/phonenumbers/alternate_format.cc] Error 127
make[1]: *** [CMakeFiles/generate-alt-format-metadata.dir/all] Error 2
make: *** [all] Error 2

Obvious question: is your JAVA_BIN set? (What is the output of "echo $JAVA_BIN"?)
If not, does setting "JAVA_BIN=$JAVA_HOME/bin" help?

I believe JAVA_BIN does not point to an environment variable since I looked into the code and it seems like an internal one.
However I already gave it a try and still the same result.
JAVA_BIN points to the bin folder inside jre.

This isn't an issue with the library, but with your particular setup.
Please consider joining the discussion group if you'd like to discuss this further. Someone on there might be able to help you.


Memory leak - issue while downloading large files

Issue :
next_chunk method stores downloaded content to 'fd' file object. This downloaded content is stored in ram. As the file size increases, it consumes more RAM to store downloaded data.
Reference - https://github.com/googleapis/google-api-python-client/blob/5399bd3bf34ef31302a77ff484ef0067a18709a6/googleapiclient/http.py#L755
Related issues:
#512
#198

Hi @parthea,
Please check the pull request. I have added "MediaGenBaseDownload" class which will yield fetched chunks in order to keep RAM consumption linear(equal to chunksize), with the backward compatibility.

Hello, I'm interested in working on this issue. Kindly guide me with the further process.

One of my commit did not had verified tag, causing it to fail CLA check. I will have to create new PR. Sorry for that.


Data binding within v-for loop in html data property

Vue.js version
2.0.0-rc2 (dist build)
Reproduction Link
https://jsfiddle.net/6hnkz0rh/
Steps to reproduce
As shown in the jsfiddle: The data-id HTML attrbute within the inner v-for loop is not being parsed.
What is Expected?
Show the id of the item in the data-id HTML attribute
Notes
If you change Vue version to 1.x it works fine. I couldn't find any breaking change here that would break this.

Use the non-minified build and you should see a warning that attribute interpolation has been deprecated. Use v-bind.

Thanks!


Don't call ossl_provider_free() without first setting refcnt

The function ossl_provider_free() decrements the refcnt of the
provider and frees it if it has reached 0. This only works if the
refcnt has already been initialised. We must only call
ossl_provider_free() after this initialisation - otherwise it will fail
to free the provider correctly.
Addresses the issue mentioned here:
https://github.com/openssl/openssl/pull/18355#issuecomment-1138741857

This pull request is ready to merge


KAFKA-9144; Track timestamp from txn markers to prevent early producer expiration

Existing producer state expiration uses timestamps from data records only and not from transaction markers. This can cause premature producer expiration when the coordinator times out a transaction because we drop the state from existing batches. This in turn can allow the coordinator epoch to revert to a previous value, which can lead to validation failures during log recovery. This patch fixes the problem by also leveraging the timestamp from transaction markers.
We also change the validation logic so that coordinator epoch is verified only for new marker appends. When replicating from the leader and when recovering the log, we only log a warning if we notice that the coordinator epoch has gone backwards. This allows recovery from previous occurrences of this bug.
Finally, this patch fixes one minor issue when loading producer state from the snapshot file. When the only record for a given producer is a control record, the "last offset" field will be set to -1 in the snapshot. We should check for this case when loading to be sure we recover the state consistently.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@guozhangwang do you have time to review this?

Yes it's on my plate, will do asap.

retest this please

retest this please


IOS crashes: invocation function for block in SetStreamHandlerMessageHandlerOnChannel

Hi! Unfortunately IOS version of my app crashes a lot (about 15% of sessions). Android version seems to be free from this issue. I can't reproduce this crash so far on my device, but here is Xcode log:
OS Version:          iPhone OS 15.2 (19C56)
Release Type:        User
Baseband Version:    2.23.02
Report Version:      104

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x4645445b2d327978 -> 0x0000005b2d327978 (possible pointer authentication failure)
Exception Codes: 0x0000000000000001, 0x4645445b2d327978
VM Region Info: 0x5b2d327978 is in 0x1000000000-0x7000000000;  bytes after start:<PHONE_NUMBER>16  bytes before end:<PHONE_NUMBER>9
      REGION TYPE                 START - END      [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      commpage (reserved)      fc0000000-1000000000 [  1.0G] ---/--- SM=NUL  ...(unallocated)
--->  GPU Carveout (reserved)<PHONE_NUMBER>-7000000000 [384.0G] ---/--- SM=NUL  ...(unallocated)
      UNUSED SPACE AT END
Exception Note:  EXC_CORPSE_NOTIFY
Termination Reason: SIGNAL 11 Segmentation fault: 11
Terminating Process: exc handler [24561]

Triggered by Thread:  0

Kernel Triage:
VM - pmap_enter failed with resource shortage
VM - pmap_enter failed with resource shortage
VM - pmap_enter failed with resource shortage
VM - pmap_enter failed with resource shortage
VM - Compressor failed a blocking pager_get

Thread 0 name:
Thread 0 Crashed:
0   libobjc.A.dylib               	0x0000000199634528 objc_msgSend + 8
1   Flutter                       	0x0000000105b282b0 invocation function for block in SetStreamHandlerMessageHandlerOnChannel(NSObject<FlutterStreamHandler>*, NSString*, NSObject<FlutterBinaryMessenger>*, NSObject<FlutterMethodCodec>*) + 628
2   Flutter                       	0x0000000105674664 flutter::PlatformViewIOS::HandlePlatformMessage(std::__1::unique_ptr<flutter::PlatformMessage, std::__1::default_delete<flutter::PlatformMessage> >) + 516
3   Flutter                       	0x00000001059f4204 std::__1::__function::__func<fml::internal::CopyableLambda<flutter::Shell::OnEngineHandlePlatformMessage(std::__1::unique_ptr<flutter::PlatformMessage, std::__1::default_delete<flutter::PlatformMes... + 92
4   Flutter                       	0x00000001059230d8 fml::MessageLoopImpl::FlushTasks(fml::FlushType) + 1668
5   Flutter                       	0x00000001059266a4 fml::MessageLoopDarwin::OnTimerFire(__CFRunLoopTimer*, fml::MessageLoopDarwin*) + 32
6   CoreFoundation                	0x0000000180e22318 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 32 (CFRunLoop.c:1812)
7   CoreFoundation                	0x0000000180da6cf0 __CFRunLoopDoTimer + 1076 (CFRunLoop.c:2420)
8   CoreFoundation                	0x0000000180da14ec __CFRunLoopDoTimers + 328 (CFRunLoop.c:2580)
9   CoreFoundation                	0x0000000180d7fd08 __CFRunLoopRun + 1944 (CFRunLoop.c:3116)
10  CoreFoundation                	0x0000000180d93468 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3268)
11  GraphicsServices              	0x000000019c91f38c GSEventRunModal + 164 (GSEvent.c:2200)
12  UIKitCore                     	0x0000000183735088 -[UIApplication _run] + 1100 (UIApplication.m:3493)
13  UIKitCore                     	0x00000001834b3958 UIApplicationMain + 2092 (UIApplication.m:5046)
14  Runner                        	0x0000000102c1ea44 main + 64 (AppDelegate.swift:5)
15  dyld                          	0x0000000103551aa4 start + 520 (dyldMain.cpp:879)

Thread 1 name:
Thread 1:
0   libsystem_kernel.dylib        	0x00000001b84a3504 mach_msg_trap + 8
1   libsystem_kernel.dylib        	0x00000001b84a3b9c mach_msg + 76 (mach_msg.c:119)
2   CoreFoundation                	0x0000000180d7b738 __CFRunLoopServiceMachPort + 372 (CFRunLoop.c:2646)
3   CoreFoundation                	0x0000000180d7fa2c __CFRunLoopRun + 1212 (CFRunLoop.c:3000)
4   CoreFoundation                	0x0000000180d93468 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3268)
5   Foundation                    	0x00000001825afc94 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 236 (NSRunLoop.m:373)
6   Foundation                    	0x00000001825f0dc8 -[NSRunLoop(NSRunLoop) runUntilDate:] + 92 (NSRunLoop.m:420)
7   UIKitCore                     	0x00000001836ae230 -[UIEventFetcher threadMain] + 524 (UIEventFetcher.m:1167)
8   Foundation                    	0x00000001825ff40c __NSThread__start__ + 808 (NSThread.m:972)
9   libsystem_pthread.dylib       	0x00000001f20db9a4 _pthread_start + 148 (pthread.c:891)
10  libsystem_pthread.dylib       	0x00000001f20daea0 thread_start + 8

Flutter doctor:
[✓] Flutter (Channel stable, 2.8.1, on macOS 11.5.2 20G95 darwin-x64, locale en-GB)
• Flutter version 2.8.1 at /Users/kuba/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 77d935af4d (7 weeks ago), 2021-12-16 08:37:33 -0800
• Engine revision 890a5fca2e
• Dart version 2.15.1
Thank you!

Steps to Reproduce

Execute flutter run on the code sample
...
...

Expected results:
Actual results:

Code sample

Logs

@flutter-symbolizer-bot https://github.com/flutter/flutter/issues/97714#issue-1123278484 flutter#v2.8.1 force ios release arm64

@flutter-symbolizer-bot https://github.com/flutter/flutter/issues/97714#issue-1123278484 engine#890a5fca2e

@flutter-symbolizer-bot https://github.com/flutter/flutter/issues/97714#issue-1123278484 force ios arm64 release flutter#v2.8.1

Looking at the symbolicated stack trace, it seems to be similar to https://github.com/flutter/flutter/issues/95568, https://github.com/flutter/flutter/issues/95568#issuecomment-999299634.
@KubaStachecki Check this comment and see if upgrading to latest master or stable fixes this issue or not.
Closing this as a duplicate. If you disagree, write in comments and I'll reopen it.


Randomized Menu bgs

What is your question?
so i wanna know if your able to have randomized menu bgs on psych, if so how?

You'd need the source code...
Are you trying to made a Dave and Bambi port?

i have the source code and i have multiple menu bgs so im just trying to get them in

i have the source code and i have multiple menu bgs so im just trying to get them in


How to highlight multiple string ?

If I want to highlight Counter and setCount both

will be available in next release, done by https://github.com/shuding/nextra/issues/934


Governance action submission Tests

[x] 7A. Should open wallet connection popup, when propose a governance action in disconnected state.
[x] 7B. Should access proposal submission page
[x] 7C. Should list governance action types
[x] 7D. Verify Proposal form
[x] 7E. Should accept valid data in Proposal form
[x] 7F. Should reject invalid data in Proposal form
[x] 7G. Should create proper proposal submission request, when registered with data
[x] 7H. Should submit new proposal

This has been completed. PR


TV app won't play/download any videos

Describe the bug
Running the TV app, it opens fine. But trying to stream/download any video doesn't work. Clicking play on a video causes the video player to open up and then instantly close. Clicking download on a video starts the download, but the download errors out at some random point during the download with error code 10024.
Looking at Console, it looks like there are several errors from accountsd when the play button is pressed and the video player crashes, along the lines of Cannot check access to a private account type: com.apple.account.CardDAV and Client <private> is not allowed to access accounts of type com.apple.account.CardDAV. The TV process also fails with Task ... HTTP load failed. I doubt this issue has to do with network connections though, since I can stream YouTube videos and browse the internet while downloading and the download still fails while nothing else is interrupted.
Not sure if this will help but I thought I would put it in.
Expected behavior
Video should download/stream with no issues.
Configuration

HaC Mini version [e.g: 2.0]: 2.7
OSX version [e.g: 10.14.6]: 10.15.4
NUC model [e.g: NUC8i7HNK]: NUC8i7HVK
Boot SSD model and protocol [e.g: Samsung EVO 860 1TB, SATA]: WD 500GB NVMe SSD
Second SSD model and protocol (if installed) [e.g: HP EX920 1TB, NVMe]: N/A
First DIMM model [e.g: Patriot DDR4-2666 16GB]: 16GB
Second DIMM model (if installed): N/A
Display port(s) used [e.g: USB-C, mini DP]: USB-C
Display resolution(s) [e.g: 4K, 5K]: 2560x1440 144Hz
Any TB3 devices: N/A
Any USB devices: Mouse

Modifications
N/A
Panic log

Duplicate of #131


Sync up to the latest checkpoint when full node starts

This sync allows to reduce load on the validators caused by initial full node sync.
This diff does not yet spawn a task to constantly catch up to checkpoint, will need to look into this separately(TBD if this is needed).
This changes slightly how transactions_to_checkpoint index is generated. Previously this index is populated when advancing to a new checkpoint, now node can advance to new checkpoint without filling transactions_to_checkpoint, but then batch service will populate index when transaction goes through that. Since we might eventually want to turn off batch service on full node, we will likely need to change how checkpoint service receive tx index(currently through the batch service), but this is topic for a different PR.

The PR looks good, but since it changes how fullnode starts, a few questions:

We may need to add a few tests just to make sure not depending on extra_transactions is ok (e.g. what happens if we include a tx to a checkpoint and then latter it's picked up by batch and added to extra_transactions.
I am curious how this interacts with the node sync: after we catch up to the latest checkpoint, the node sync process will still try to ask each validator to send batch/tx since genesis. It's still cheaper as we at least no longer need to download effects from each validator, but can be further optimized.


Reogranize the repository to be cleaner and update dependencies to drop 2.7

This PR is a catch-all for organizing the planned modules in the pyaestro packages but also to ditch support (if there is any) for Python 2.7 and below. Other things that this PR aims to do the follow (but not limited to):

Set up poetry for managing development
Port to a pyproject.toml file
Set up scaffolding for basic unit testing

I'm going to handle testing in a different PR. I think it's better to do that separately instead as part of the reorganization.


2018-06-10 System Themes

2018-06-10 System Themes

Start work on getting the system themes to display the extras. Issue #37 & #38

Not perfect but at least the "Chrome" displays the intended buttons and text(s).

Removal of "not needed" casts.

I don't know if you have noticed, but there are now 50+ new themes uploaded to the Extended Toolkit repo. I'm now working on a new kryptonised file dialog, so I don't know how it'll end up.


Unable to add new OpenVPN client when using "exit_notify" field

Hello,
I would like to add a new OpenVPN client via URL api/v1/services/openvpn/client, each field (optional fields as well) were added to POST request but after sending request I have got the response below:
{
    "status": "bad request",
    "code": 400,
    "return": 2129,
    "message": "Unknown OpenVPN Server/Client Exit Notify",
    "data": []
}

The exit_notify field has been set (I tried it with all the available values - "none", "once", "twice"), the API response remains the same. However, when I remove exit_notify field, the POST request will be successful.
I don't know if it is a bug or did I just use the field in wrong way?
Thank you.

Hey!
This looks like a documentation discrepancy. Those are the correct options for the /api/v1/services/openvpn/server exit_notify field, but looking at the code the options for exit_notify on /api/v1/services/openvpn/client are actually: x1, x2, x3, x4, x5, disable. I'll get the documentation corrected for this field.
Thanks!

Thank you, it is correct now.


Your contact details

Hi Andre
Sorry to post this as an issue, but you don't have discussions enabled.
I'm wondering if I might be able to talk to you about a VS extension idea I am thinking of developing?
Could you email me, please?
<EMAIL_ADDRESS>Thanks :)

Already sent my contact dedails... Wait for you.

I can't find it. What did you write in the subject, so I can search for it?

12.12.2022
Subject: your mail

I can't find it. Could you resend with the subject YouML, please?


DISABLE_BLOCK_INGESTOR does not disable block ingestion

Do you want to request a feature or report a bug?
Report a bug
What is the current behavior?
If the DISABLE_BLOCK_INGESTOR is set to true, 'true', or "true" the subgraph writer / block ingestion is still started when running graph-node
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
Reproduction steps:
Using the v.0.27.0 build or image from docker hubgraphprotocol:graph-node:v0.27.0

Set DISABLE_BLOCK_INGESTOR=true and start the graph node
Check the logs and see that the block ingestion and indexing still occurs.

What is the expected behavior?
The expected behavior is that the graph node starts in 'query' only mode with block ingestion and indexing disabled.
Further Digging
I've found that the correct way to disable block ingestion is to set the env var node_id to something other than 'default'. If node_id is not provided, the node name is set to default and the graph-node assumes it needs to ingest and index. This can be verified by setting node_id=default.
Setting node_id to anything else start the graph-node with block ingestion and indexing disabled. Looking at the docker start script, you can also pass node_role=query-node which is sugar for setting DISABLE_BLOCK_INGESTOR=true. This has no effect either and leaving node_role unset has no effect on whether the node starts in query or indexing mode.
Proposed Fixes
Either update the env var readme and remove DISABLE_BLOCK_INGESTOR and describe the node_id behavior.
Respect DISABLE_BLOCK_INGESTOR flag.
I'm happy to open a PR to update the README if this should be the fix.

@lutter @leoyvens making sure you see this, this looks like unexpected behaviour?

Same on v0.31.0. I see we have a logic conflict now when using node_role as query_node  and setting query pattern via general rule. The first approach is trying to disable block ingestion (but it doesn't work); the second is disabling chains network connecting. But when I checked the source code, we should add logic for stopping creating an IndexerServer if we add node_role is query_node. cc @leoyvens @lutter


Mentorship: Update Times and Hours

TEST=manual
Change-Id: I4bb1e1fa9a3d02e6420af97eacbd2b3741a7bbbd

Code Review comments can be found at https://gerrithub.io/q/I4bb1e1fa9a3d02e6420af97eacbd2b3741a7bbbd


npm install error. truffle-hdwallet-provider peer dependency

🎉 Description
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.
I believe this is causing an issue with the zeppelinOS zos create command as it returns a "ProviderError" and doesn't recognize any of my accounts with test eth in them.

[X ] 🐛 This is a bug report.

💻 Environment
Next, we need to know what your environment looks like.

Which version of OpenZeppelin are you using? "zos": "2.0.1", "openzeppelin-eth": "^2.0.2", "truffle-hdwallet-provider": "0.0.6"
What network are you deploying to? Ganache? Ropsten? Rinkeby
How are you deploying your OpenZeppelin-backed contracts? truffle? Remix? Let us know! zeppelinOS

🔢 Code To Reproduce Issue [ Good To Have ]
npm install openzeppelin-eth

Installing truffle locally removes the dependency error. Did not fix the problem with zos create


Incremental improvements for non-released ModelsRepository client.

Changes simplest ctor to use dependency resolution option of
TryFromExpanded. We can guarantee the global endpoint has expanded
form for any model.
Hides the existing ModelsRepositoryClient.IsValidDtmi(). We will
revisit exposing after more real-world usage.
Add some polish/naming updates and docstring improvements.
Adds samples content including integration with Parser.
Have more TODOs in the samples arena including the README.
Have more TODOs in Client surface area with respect to API review feedback. Like rename of Resolve().

/azp run net - modelsrepository


[5.6] Ensure expected behavior for numbers in snake case helper

Same as #21598, however aimed at 5.6.
Right now mutators in eloquent don't work as expected, e.g. when having a field foo_bar_2 in the database.
The snake case helper makes the model look for an attribute foo_bar2 which it cannot find. Thus, the transformation to array does not work as expected, although directly accessing the attribute does work.
Consider this example:
<?php

use Illuminate\Database\Eloquent\Model;

class FooBarModel extends Model {
    protected $fillable = ['foo_bar_2'];

    public function getFooBar2Attribute ($value) {
        return $value . ' # FOOBAR'; // Just some random mutation
    }
}

$fb = new FooBarModel([ 'foo_bar_2' => 'VALUE' ]);
$fb->foo_bar_2; // "VALUE # FOOBAR" -- as expected
$fb->toArray(); // [ "foo_bar_2" => "VALUE" ] -- not as expected

It's not specifically by design. Mutators are to be picked up by the toArray method, as can be seen here: https://github.com/laravel/framework/blob/5.5/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php#L94-L96

Breaks

So why do you close it then? Don't you agree that it is a bug?

@sebwas I think what @taylorotwell means is that your code still breaks (read as: has a bug) when numbers are followed by more text.
'LaravelPhpFrameworkV2More' resolves to laravel_php_framework_v_2more, but should be laravel_php_framework_v_2_more

I did get that, but why not let me fix the issue then?

Probably to keep open pull requests to a minimum. Just ask @taylorotwell or @themsaid to reopen and apply fix I guess.

Pull requests go stale very fast. It's best to close it and submit fresh when you have a working PR that doesn't break anything else.

Is that like a convention that I missed? 😮
Anyway, as GH referenced, I opened a new, fixed one.

Not necessarily. All repos deal with PRs in their own way. Here, I've noticed this is how they like to do it. IMO laravel does a great job with their PRs. There are usually less than 10 open at any given time which makes it much easier to handle. Plus, with a lot of PRs coming through, it's easy for one to go stale, then you're having merge conflicts, etc. Once Taylor checks it out, if tests are failing, if there's a bc break, or something else wrong, he may close it. Just make the necessary corrections and resubmit, unless he says "no plans to add".


Adding Lithium HTTP C++ library

Project description
Easy to use C++17 HTTP Server with no compromise on performances.
The design of the libraries is focused on simplicity
Metadata

homepage URL: https://matt-42.github.io/lithium/
source URL: https://github.com/matt-42/lithium
license: mit
platforms: unix, linux, macos

Looks like MIT to me
https://gitlab.freedesktop.org/xorg/app/xedit/-/blob/master/COPYING

I have tried a simple expression but it is not finding MySQL.


Declarative pipeline support

Hey! First off, huge thanks for making this plugin compatible with (scripted) pipelines!
This commit should make it possible to also use it in declarative pipelines, also needed to make some small tweaks to avoid some NullPointerExceptions in a few cases.
Let me know if I should correct anything else!
//Dieter

Hi Dieter
meanwhile the issue fixed by the fork you've based this PR on has been fixed in a different way (see PR #7). But there's still no support for declarative pipeline syntax in the plugin. Could you try to rebase your PR on the root fork (jenkinsci/persistent-parameter-plugin )? Hopefully we can finally add this nice feature to the next plugin release!
//Robert

I've copied this PR and rebased it on top of the currrent root master branch (see jenkinsci#12).

The functionality is now merged into the master branch (see jenkinsci#12) and released with plugin version 1.3.
@siliconsheep: This PR is now obsolete, you can close it. Thanks for your initial work!


How to set custom row name

So I wonder is it possible to add custom names for the rows, eg I have row called 'food_size' and I would like to change it to "Food size"

        <PivotTable
          data={data}
          aggregatorName="Sum"
          vals={['count']}
          cols={cols}
          rows={['food_size']}
          renderers={Object.assign({}, TableRenderers)}
        />

solution:
          derivedAttributes={{
            'Food size': mp => {
              return mp.food_size;
            },
          }}


Enabling term version check on local state for all ClusterManager Read actions - backport 2.16

Backport (#14273)](https://github.com/opensearch-project/OpenSearch/pull/14869)

enabling term version check on local state for all admin read actions

Description
[Describe what this change achieves]
Related Issues
Resolves #[Issue number to be closed when this PR is merged]

Check List

[ ] Functionality includes testing.
[ ] API changes companion pull request created, if applicable.
[ ] Public documentation issue/PR created, if applicable.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

❌ Gradle check result for dc76032: FAILURE
Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

Flaky Test 14325


Limitations in rendering

Hi, I played a little with babel-plugin-incremental-dom and faced some problems in rendering. I'm just curious if I did something wrong or some things just not supported.

I get correct rendering only when all functions are defined in the scope of the main rendering function. For example, this code renders well:
function renderMain() {   const renderInput = () => (
          <input type="text" id="testInput"/>
  );  return (
          {renderInput()}
  ); }
At the same time, if we define renderInput outside of  the scope of renderMain we'll get some additional metadata rendered as plain text.
It seems that conditional statements for main render method are not supported. So, this will not work:
function renderMain(flag) {   if(flag){       return (

  );   }  return (
          {renderInput()}
  ); }

Seems like I got the same issue +1

I'll take a look into this tonight. Thanks for bringing up more cases!

Fixed the first issue, we were recursively calling _renderArbitrary on the DOM node, which is was wrong.

Hi @jridgewell, could you publish that fix on npm? I tried to install from master branch but it seems that npm doesn't build it and raises errors when trying to transpile with webpack :crying_cat_face: If you need any help to test or something else I'm right here.

Both fixes should be out in v3.0.2.

Thanks!
On Sat, Mar 12, 2016, 2:07 PM Justin Ridgewell<EMAIL_ADDRESS>wrote:

Both fixes should be out in v3.0.2.
—
Reply to this email directly or view it on GitHub
https://github.com/jridgewell/babel-plugin-incremental-dom/issues/37#issuecomment-195775570
.

Thank you, Justin!


consume latest thebe improvements

There is a major thebe upgrade in progress that includes:

transition to jlab 4 codebase
fix jupyterlite issues
change default event subs for server and session errors to be exclusive to those errors, and not respond to execution time errors
respond to kernel disconnects & shutdowns

We should upgrade theme to use the latest thebe and make changes to enable to match the latest behaviour:

[ ] update deps and ensure sources maps are available in debug
[ ] test jupyterlite
[ ] make connection status tray should only handle connection errors
[ ] hook up to kernel disconnects callbacks
[ ] the default ErroyTray should use an event subscription with appropriate filtering
[ ] ...

this was done!!


Set IsTextScaleFactorEnabled to true for HEX, DEC, OCT, BIN buttons

Fixes #801
Description of the changes:

Set IsTextScaleFactorEnabled to true for HEX, DEC, OCT, BIN buttons

How changes were validated:

Manual tests

The screenshot in the bug shows the HEX, DEC, OCT, BIN buttons and the upper text in the calculation result. Only the HEX, DEC, OCT, BIN buttons are fixed.

The screenshot in the bug shows the HEX, DEC, OCT, BIN buttons and the upper text in the calculation result. Only the HEX, DEC, OCT, BIN buttons are fixed.

fixed


Build Inserts to Core

Audio mixing consoles provide "inserts" for effects processing:  https://en.wikipedia.org/wiki/Insert_(effects_processing)
A similar functionality would be nice in voctocore:
17000… VSource** (Stream-Blanker) -----------------\
18000  ASource** (Stream-Blanker) ------------------\
                                                     \
16000 VSource (Background)-------- \
                                    \                  \
                                     --> VideoMix       \
                                    /             \      -> StreamBlanker** -> StreamOutputPort** 15000
                                   /               \    /
                                  /                 ------> OutputPort 11000
                                 /                 /    \-> Encoder* -> PreviewPort* 12000
                                /                 /
                               /----- -> AudioMix
                              /
10000… AVSource \----> Passthrough*** ----/--\--> MirrorPort 13000…
                 \                        /    \-> Encoder* -> PreviewPort* 14000…
                  \----> Insert**** ---> /

9999 Control-Server
9998 GstNetTimeProvider Network-Clock

*)  only when [previews] enabled=true is configured
**) only when [stream-blanker] enabled=true is configured
***) if inserts are disabled, or there is no insert connected, the stream passes through
****) Only when [inserts] enabled=true is configured.  If no insert is connected on port 19000

Possible insert loops I would like to build (but not as part of core):

chroma key
video zoom / pan

Inserts are part of voctomix2. They currently depend on pre-rendered insert pngs and a schedule.xml. See example configs for details.


[Feature] Add Alibaba Druid plugin

Search before asking

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

Description
Druid is a database connection pool from Alibaba inc.
Provide Druid database connection pool plugin with skywalking java-agent.
Use case
When the application service uses Druid connection pool, it tracks the acquisition and closing of connections.
Related issues
nothing.
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

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

When is the latest date of this project? I haven't heard it for a while.

When is the latest date of this project? I haven't heard it for a while.

druid the latest version 1.2.6 release on Apr, 2021.

OK, then it is fine to have plugin for it.


Admin API Bug creating rate limit on top of an API by API Name

Summary
When you invoke the Kong REST API for creating a Rate limit by consumer id on top of an existing API using the API name as opposed to the API id, the response comes back as http 500 but internally seemed to execute and create the plugin.
Steps To Reproduce

Create an API

Run
Request{method=POST, url=https://ourDomain.com/admin-api/apis/{ApiName}/plugins}
endpoint

Watch it create the plugin but respond with HTTP 500, and Kong error logs do occur:

Response{protocol=http/1.1, code=500, message=Internal Server Error, url=https://ourDomain.com/admin-api/apis/{ApiName}/plugins}
But I do see it:

Cry a little inside because you want to do proper error handling but cant due to 500 response yet works.

BUT WAIT, so I decided to run it again, and it worked and responded with 201 the second time with absolutely no extra modified request payload... logs for the successful one right here:

Now I am even more confused, why the inconsistency?
Additional Details & Logs
Kong Error Logs(Upon first request):

Kong version 12.1

@jeremyjpj0916 I could not reproduce this (0.12.1 on Postgres). Are you able to reproduce it consistently?

Hey @hishamhm , Right I was running 3.11 Cassandra, 5 node cluster running round robin with . I can consistently reproduce it -
KONG_CASSANDRA_CONSISTENCY | ONE
KONG_CASSANDRA_LB_POLICY | RoundRobin
KONG_DB_UPDATE_FREQUENCY | 5
KONG_DB_UPDATE_PROPAGATION | 5
KONG_DB_CACHE_TTL | 10800

I am guessing its some sort of race condition with some kong<-->cassandra honestly. Going to be quiet hard to pinpoint and I have not driven into the core to figure out based on logs what is really occurring, definitely objects being nil at the time that shouldn't hah.

Closing this since API is deprecated pattern and we have moved on to services and routes. No reason to clutter github with unattended issues anyways.


Updated to vn0.6.16 and updated the sha256 sum

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Australian phone numbers completely wrong

"hey, so i just got it working on my phone, but one issue im having is that the 2/3 contacts i tested this out with dont have their names on the message list, just 4 random numbers before their number begins. so for example, in australia, our numbers are 0401 111 111, but on the app it shows +1<PHONE_NUMBER>, any idea whats going on?"

I'll do this

My branch. Basically, I had to replace the formatPhoneNumber() function. I replaced the code in it with the FlutterLibphonenumber code so that we can parse the phone number based on the user's current region. It will then display the phone number according to that region. My beta branch


retrieval of class combination for nclasses >> 10

If we have more than 10 classes we require a way to select a "interesting" subsets of classes, where "interesting" could be for example abnormal error curves.
Error Curves
For the normal error curves this could be achieved by simple histograms (see #86, #149), which would return a set of classes that have curves that show this behaviour.
While "stacked histograms" (see #86) would work I think it would be even more interesting to create a horizon chart (rotated by 90 degrees) which provides a space filling layout of the histograms.

By brushing the individual horizon histograms for each epoch we could easily retrieve interesting classes.

Trajectory Plot
For the planned trajectory plots we could also utilize a histogram filtering approach. By projecting each "epoch error pair" onto the diagonal we would also end up with a histogram.

related #111


Log shows message is published but dapr side cannot receive it

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Run OPC Publisher and dapr side car
Change the subscribed OPC UA node value
Check the dapr log and pub/sub component database used in dapr
Container OPC Publisher cannot send data to dapr

Expected behavior
Dapr log shows the publisher called the pub/sub service
Screenshots
Run code directly.

OPC Publisher container log.
This dapr log is for OPC Publisher running from code directly. And OPC Publisher log doesn't show Advancing steamxxxxx

Desktop (please complete the following information):

OS: Win 11
Version 23H2

Additional context
How can I check the response when calling dapr pub/sub service? And if I can add it by myself, how can I build the project to a docker image? I cannot find the doc.
Thanks!

The log shows sent successfully. But no receive log on dapr side and db.

@marcschier Hi, I think this is a bug. Because this log shows Messages successfully sent, but on dapr side log, it seems no API has been called.
Thanks.

Whether you see the "Advance..." log is shown if you have command line option --da|deferredack on. I recommend to keep it off, no matter, it does not have any bearing on the transport.
Could it be an issue with the host name that publisher to call the GRPC endpoint on? See issue #2235.
Ultimately if the GRPC publish call to DAPR endpoint comes back green, publisher decides the publish was successful. But it is possible that there is a Dapr issue at play too.

There is not much that can be logged on the Dapr API side, the PublishEvent SDK API returns just a Task.  But I will add an option to the Dapr connection string validate the health of the sidecar before accessing and throw exception on publish if side care is unhealthy.  I doubt this is helping, I would expect grpc call to also throw in that case, as there is no endpoint.

The dapr connection string can now take an extra boolean value which will cause the dapr publish call to first check on the health of the side car. If the side car is not healthy, and exception is thrown which can be observed in the OPC Publisher logs.  See https://github.com/Azure/Industrial-IoT/blob/35312eb58984dc1187581cd5e712f48c7d4573cd/docs/opc-publisher/commandline.md?plain=1#L352.


CI: Enable ccache for Linux and MacOS builds

Summary
Enables ccache using infrastructure from https://github.com/apache/incubator-nuttx-testing/pull/61
Also update the GitHub Actions Cache action to v2 for improved performance.
Impact
Faster builds for both MacOS and Linux
Testing
Validated by CI system

LGTM.


Pico examples project build fails on windows

i just did the pico SDK set up on windows 10 and the build all option for the pico examples repository throws a configuration error that i am not able to solve. any help wud be gr8. pasting the error/problem below from the Pico visual studio window .
Cmake seems to encounter the error in the CMakeLists.txt file line 12 in the pico-extras folder

i just did the pico SDK set up on windows 10 and the build all option for the pico examples repository throws a configuration error that i am not able to solve. any help wud be gr8. pasting the error/problem below from the Pico visual studio window .
Cmake seems to encounter the error in the CMakeLists.txt file line 12 in the pico-extras folder.

You would need to provide a lot more info than that.

pasting the error/problem below from the Pico visual studio window

Seems you forgot to do that. Please add more info and reopen the issue if needed.

You would need to provide a lot more info than that.

Cmake encounters an error as below with the CMakeLists.txt file line no 12 in the pico extras folder :
line 12 begins with "    project(pico_extras C CXX)"
The actual Cmake error below when it encounters line 12 above :
CMake Error at C:/Users/bvu3kor/Documents/Pico-v1.5.1/pico-extras/CMakeLists.txt:12 (project):Running
'nmake' '-?'
failed with:
The system cannot find the file specified
-- Configuring incomplete, errors occurred!
See also "C:/Users/bvu3kor/Documents/Pico-v1.5.1/pico-examples/build/CMakeFiles/CMakeOutput.log".
See also "C:/Users/bvu3kor/Documents/Pico-v1.5.1/pico-examples/build/CMakeFiles/CMakeError.log".


fix: use matrix for operating system

I didn't know this was supported!

Pull Request Test Coverage Report for Build 401693446

0 of 0   changed or added relevant lines in 0 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.01%) to 84.376%

Files with Coverage Reduction
New Missed Lines
%

libraries/adaptive-expressions/src/triggerTrees/trigger.ts
2
61.92%

Totals

Change from base Build 401676565:
-0.01%

Covered Lines:
17554

Relevant Lines:
19877

💛  - Coveralls


Use symlink instead of copy on whitelisted OSes

As discussed in #27 and asked by @webimpress.
Unfortunately vfsStream does not support symlink, so we cannot cover that part with unit tests. But I did test it manually and it works as expected. If you have a suggestion on how to cover that by unit tests, please let me know.

Thanks, @PowerKiKi.


Error while loading shared libraries: libjsoncpp.so

When I start my flutter application on a fresh Ubuntu install (ubuntu-22.04.1-desktop-amd64) I get the error:

error while loading shared libraries: libjsoncpp.so.1: cannot open shared object file: No such file or directory

Steps to Reproduce

Create a Flutter-App
Build your app with flutter build linux
Install Ubuntu e.g. in a VM
Execute your Flutter App

Expected results:
I want to see my Flutter App as on Windows and MacOS
Actual results:

The app crashes

error while loading shared libraries: libjsoncpp.so.1: cannot open shared object file: No such file or directory

I tried to add the same dependecy as on the CI with:
$ sudo apt-get install libjsoncpp-dev

However that does not work. I would guess that I need to add another dependency, but I don't know which one. I found from @stuartmorgan an old reference, but that link does not work anymore.

I found from @stuartmorgan an old reference, but that link does not work anymore.

That issue, and those instructions, were for a very, very early desktop support library that has almost nothing in common with the version that's actually part of the Flutter project.
The current Linux embedding doesn't use libjsoncpp, so most likely you are using a plugin that requires it. You'd need to contact the developers of that plugin to ask for distribution suggestions.

Thank you, I missed that this comes from a dependency, in my case flutter_secure_storage.


The  state_machine_echo_server example does not compile

When I was trying to wrap my head around state machine testing, I noticed that the echo server example does not compile.
$ cargo r --example state_machine_echo_server
warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
   Compiling message-io v0.18.1
error[E0277]: the trait bound `url::Url: IntoClientRequest` is not satisfied
   --> /home/teddy/.cargo/registry/src/index.crates.io-6f17d22bba15001f/message-io-0.18.1/src/adapters/ws.rs:199:38
    |
199 |                     match ws_connect(url, stream) {
    |                           ---------- ^^^ the trait `IntoClientRequest` is not implemented for `url::Url`
    |                           |
    |                           required by a bound introduced by this call
    |
    = help: the following other types implement trait `IntoClientRequest`:
              &'a Uri
              &'a std::string::String
              &'a str
              ClientRequestBuilder
              Uri
              httparse::Request<'h, 'b>
              std::string::String
              tungstenite::http::Request<()>
note: required by a bound in `client`
   --> /home/teddy/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tungstenite-0.23.0/src/client.rs:176:10
    |
170 | pub fn client<Stream, Req>(
    |        ------ required by a bound in this function
...
176 |     Req: IntoClientRequest,
    |          ^^^^^^^^^^^^^^^^^ required by this bound in `client`

For more information about this error, try `rustc --explain E0277`.
error: could not compile `message-io` (lib) due to 1 previous error

Thanks for the report -- we'll get this cleaned up.

This was an issue fixed in message-io 0.18.2. You can do e.g. cargo update --package message-io and it should compile


Eclipse JDT warning: Classpath is incomplete

I'm getting this message when atom is just kicked off:

Installed packages:

Current configuration:

Any ideas?

I stumbled on this problem as well as of time writing this. The wiki page didn't really help all that much since I have my build.gradle on the root directory of my project; I was also utilizing a single project, so this shouldn't be a problem for me, but unfortunately it has.
I did a hack into the main.js in the ide-java package located in my .atom directory, and updated the link of the JDT Language Server archive ide-java is using (as of version 0.8.3) to link to the latest version available (ide-java has JDT Language Server version 0.14.0; the latest version for JDT Language Server is 0.32.0), and it worked for me.

@time1015 could you make a PR for that update? It sounds like there’s been room for a lot of bug fixes and enhancements upstream.

same problem

Looks like this has been fixed, now that we're on 0.39.0.


[Fix][Core] Config variable substitution inconsistent

Purpose of this pull request

https://github.com/apache/seatunnel/issues/6840
Does this PR introduce any user-facing change?

How was this patch tested?

Check list

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

Update change log that in connector document. For more details you can refer to connector-v2
Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist

[ ] Update the release-note.

cool, can you also update the existing e2e test. change the sink from console to assert to verify the result are expected.
https://github.com/apache/seatunnel/blob/dev/seatunnel-e2e/seatunnel-engine-e2e/connector-seatunnel-e2e-base/src/test/java/org/apache/seatunnel/engine/e2e/UserVariableIT.java
https://github.com/apache/seatunnel/blob/dev/seatunnel-e2e/seatunnel-engine-e2e/connector-seatunnel-e2e-base/src/test/resources/fakesource_to_console.conf

@liunaijie i have updated test variable

@liunaijie i have updated test variable

Please also update the config. add Assert sink to check the value are expected.

Assert config example: https://github.com/apache/seatunnel/blob/dev/seatunnel-e2e/seatunnel-connector-v2-e2e/connector-assert-e2e/src/test/resources/assertion/fake_full_types_to_assert.conf#L119

@liunaijie is that so?

@xuqi1633  the test failed, please check.

Hi @xuqi1633 , could you try to fix ci? Thanks

Hi @xuqi1633 , could you try to fix ci? Thanks

i also try this, now the issue is on start script, eg seatunnel.sh.
in this shell command, it can receive right variable, but when it start the java command it will lose the qouta.


feat(frontend): created a pipeline to generate pdfs

Created a pipeline to convert all .md files to .pdf

Hello sir @stephane-segning
When i don't do a yarn add typedoc , the pipeline is failing saying the command is not found

Done sir @stephane-segning


Added support for Protonet

This pull request adds support for Protonet.

Integration works with "Protonet Live" (Hosted Service: https://protonet.com/de/testen/) and with your personal local Protonet Server. Custom Domains can be added via the Toggl button settings.

Hi, Christian! Thank you for the PR. We will review it as soon as we can. 👍
I already took a quick look at the code and found two lines with a console.log. Do you really need those?

@dooart Oops! Of course not! Removing commit coming in a moment…

Updated the PR with a feature request from our team: The task in Protonet is now automatically set to "in progress" when the toggl button is clicked.

Hey @christianseel, we decided to clear up old PRs to make way for some big refactoring that is upcoming. If you wish to continue work on this PR please feel free to reopen or add an issue for adding Protonet support!


Make SCSS output style from sass-convert configurable like CSS output

I'd like to have an expanded and nested SCSS output like:
#main {
    #header {
        font: {
            size: 12px;
        };
    }
}

I hardcoded this behaviour in lib/sass/tree/node.rb of haml 3.0.13 for myself with:
--- node_3.0.13.rb	2010-07-01 15:31:02.321652147 +0200
+++ node.rb	2010-07-01 15:22:56.670401567 +0200
@@ -395,7 +395,7 @@ module Sass

         (fmt == :sass ? "\n" : " {\n") +
           children.map {|c| c.send("to_#{fmt}", tabs + 1, opts)}.join.rstrip +
-           (fmt == :sass ? "\n" : " }\n")
+           (fmt == :sass ? "\n" : "\n#{'  '  * tabs}}\n")
       end

      # Converts a selector to a Sass or SCSS string.

Originally filed by @topaxi and commented on by @nex3 and @graywh

I have made a pull request to add --indent option https://github.com/nex3/sass/pull/220

Thanks! Your code saved me quite some work right now. :-)
Just a small proposal for an extension: Can there be an option to add two newlines between each css rule? Currently the nested ones are written one after another with just a single newline if you migrate from css to scss.
Right now:

main {
  foo {
  }
  bar {
  }
}

Should be:

main {
  foo {
  }

  bar {
  }
}


Usage of "amplify pull" in MS AppCenter CI/CD

Note: If your question is regarding the AWS Amplify Console service, please log it in the
AWS Amplify Console repository

Which Category is your question related to?
CI/CD: Running "amplify pull" in MS AppCenter pipeline
Amplify CLI Version
10.0.0
You can use amplify -v to check the amplify cli version on your system
What AWS Services are you utilizing?
Lambda functions, Authentication, DynamoDB, Amplify. Cognito
Provide additional details e.g. code snippets. Be sure to remove any sensitive data.
I have an AWS amplify React Native App. For setting up, I am required to run
amplify pull
It asks certain question. As my backend and frontend repository are separated, particularly for option "Do you plan on modifying this backend?", I select "n" while working on React Native app. Now, I am setting up CI/CD with MS Visual Studio App Center. For each development, I need to set up an automated way to give these values. I have tried setting up custom "appcenter-pre-build.sh"
#!/usr/bin/env bash

npm install -g @aws-amplify/cli
#Git Link: https://github.com/aws-amplify/amplify-cli/issues/2140

AMPLIFY="{\
\"appId\":\"<app id>\"\
\"envName\":\"<env name>\"\
\"defaultEditor\":\"vscode\"\
\"noUpdateBackend\":\"true\"\
\"configLevel\":\"general\",\
\"useProfile\":true,\
\"profileName\":\"default\"\
}"

amplify pull  --amplify ${AMPLIFY} --yes

For simplification, I tried the command from terminal as well
amplify pull --appId <appid> --envName <env name> --yes --noUpdateBackend true
My specific questions are

I do not want to update backend. How can I set up this option for AppCenter CI/CD? I found this code, but it will not work as it is not mapped to any CLI arguments.
How can I bypass the browser authentication for getting the client id?

The closest resource I found is this. It will be great if someone can help me out here. I am checking out this as well.

I think this might help me. Resolving the issue for now. I will reopen if it persists.

I tried the script mentioned in Headless Amplify Pull. Authentication bypassing is resolved. But entire backend code is still getting copied. From the code, it seems, script should be sending 'No' to the question "Do you plan on modifying this backend?". But entire backend code is still getting pulled.
Is there anyway to customise it?

Closing it in the favour of https://github.com/aws-amplify/amplify-cli/issues/5275. There is a PR going on. Hope to see the feature in live soon.


Add matrix functions for generating infinite reversed-z perspective projection matrix

Hello, I think it would be really great if DirectXMath added support for generating perspective projection matrices with infinite reversed-z clip planes. This style of projection matrix has become increasing popular in recent years since they result in excellent distribution of depth precision when used with floating-point depth buffers, and they effectively remove the need for having a maximum view distance. This blog post gives a good overview of why it's good and how it works, and this article has some great visualizations of why reversed-z is beneficial.

Thanks for the feedback. It turns out you can trivially use the existing functions for reverse-z: flip flip the far/near values:
m_proj = XMMatrixPerspectiveFovLH(XM_PIDIV4, aspect, c_farZ, c_nearZ);

Be sure to clear the depth-buffer with 0.0 instead of 1.1, and use the reverse depth comparison operator for the Depth/Stencil state (i.e. D3Dxx_COMPARISON_GREATER_EQUAL instead of D3Dxx_COMPARISON_LESS_EQUAL).

I have support for reverse-z in the DirectX Tool Kit CommonStates.

Hey @walbourn, thank you for replying! To be clear I was specifically referring to the "infinite" variant of a reversed-z projection, which cannot be done with the existing perspective matrix functions (finite reversed projections can be done as you suggested). The infinite reversed matrix has this form for the LH variant:
xScale     0          0             0
0        yScale       0             0
0          0          0             1
0          0          znear         0

Thanks for the clarification.

Thank you for the suggestion. I definitely see the value in this, but I'll need a bit more time to do the full validation/verification this warrants.  In the meantime, you can of course easily create your own projection matrix with existing constructors and functions.


How to use https://huggingface.co/Test-Time-Training/ttt-mlp-1.3b-pile-8k

Hello and thanks for the code. However, I guess this initializes an untrained model, i.e. with random initialization. Right?
How can I use https://huggingface.co/Test-Time-Training/ttt-mlp-1.3b-pile-8k? There is now code description (as is usual on Huggingface model sites) on how to use that model.

It seems the project doesn't have the 'natural' community


Footer Added

I want to change Home.css also but showing conflicts

The preview only shows the footer, update the forked repo and then try again

Please do not mix issues, make separate PRs for separate issues. I am closing this PR and would like you to make separate PRs for different issues.


Optional QUERY_DURATION metric in failed queries

Hey man, I'm working in an application with many instances (about 200) and I'm using your plugin (is very very good btw). I'm trying to decrease the amount and cardinality of metrics (today is about 2.5M) to gain more performance.
I found these piece of code:
didEncounterErrors(context) {
  const requestEndDate = Date.now();

  actionMetric(MetricsNames.QUERY_FAILED, getLabelsFromContext(context));

  actionMetric(
    MetricsNames.QUERY_DURATION,
    {
      ...getLabelsFromContext(context),
      success: 'false'
    },
    requestEndDate - requestStartDate
  );
},

Here, we are metering MetricsNames.QUERY_DURATION in failed queries. Can we make this a custom parameter? Because queries duration metric has no use for me in failed queries (it's useful only in success queries).

Hey!
Thanks for the feedback! Yup, the new version that I'm preparing will allow this (it will be released by the end of the week I hope). I have something like this in mind:
createPrometheusPlugin({
  skipMetrics: {
    [MetricsNames.QUERY_DURATION]: (context, labels) => labels.success === 'false'
  }
});

Would something like this fit your needs? I don't know if this is the exact mechanism that I'm going to implement, but something extremely similar.

Hey. Nice! Man, this kind of solution will work very well for me. Thanks.


Add kwargs to _populate_fields() to allow for flexibility in response…

closes #53

Codecov Report

Merging #54 into master will increase coverage by 0.19%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #54      +/-   ##
==========================================
+ Coverage   96.01%   96.21%   +0.19%
==========================================
  Files           2        2
  Lines         777      818      +41
==========================================
+ Hits          746      787      +41
  Misses         31       31

Impacted Files
Coverage Δ

taxii2client/test/test_client.py
100% <100%> (ø)
:arrow_up:

taxii2client/__init__.py
92.53% <100%> (+0.35%)
:arrow_up:

Continue to review full report at Codecov.

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


how to return from the script (not function)

How do you exit the script?
result = _fields["Addr"]
if result == undefined {
  return
}

I get the following error
Compile Error: return not allowed outside function

You can use os.exit function from the standard library https://github.com/d5/tengo/blob/master/docs/stdlib-os.md#functions

unfortunately, the scripts are user defined and we dont want to include the os library (security, etc).
I would be nice if it would allow it.

Hi @siff-duke
I had same requirement before, as a workaround I used runtime errors.
Example:
var ErrUserExit = errors.New("user exit")

func Example() {
  script := `
  result = _fields["Addr"]
  if result == undefined {
    exit()
  }
  `
  s := tengo.NewScript([]byte(script))
  err := s.Add("exit", &tengo.UserFunction{
    Name: "exit",
    Value: func(args ...tengo.Object) (tengo.Object, error) {
      return nil, ErrUserExit
    },
  })
  if err != nil {
    log.Fatal(err)
  }
  c, err := s.Compile()
  if err != nil {
    log.Fatal(err)
  }
  err = c.Run()
  if err != nil {
    if errors.Is(err, ErrUserExit) {
      // normal exit
    }
  }
}

Maybe we should just add a new intrinsic function (e.g. exit).

my preference would be return but exit works.


Illegal instruction (core dumped) ERROR

Hello, whenever I try to use vsflow I have the following error:
Start: 02/09/2024, 12:58:15
Running in parallel mode on 2 threads
Downloading database pdb ...
Instrucción ilegal (`core' generado)
"Illegal instruction (core dumped)" in english
It is independent of the instruction given or how many cores I use.
Could anyone help me, please?
Thanks!
G

Hello,
Thank you for reaching out. The message Illegal instruction (core dumped) has nothing to do with the --cores parameter, it indicates an incompatibility between your (Linux) system and the VSFlow program or libraries. It could be that your CPU is too old or there are incompatibilities between the CPU architecture and the libraries. Unfortunately, there is nothing we can do about this on our end. I would suggest to try it on another system if possible.
May I ask which installation method you used? The "classic way" or using Docker?
Best,
Marcel

Thanks for the quick reply Marcel. I used the classic way for installation. I have to install the dependencies one by one because using the environment file didn't work.
I'm gonna try in another system and hopefully that solve it.
Thanks again,
G


Fix Retry issues

Dependencies

[x] https://github.com/ManageIQ/floe/pull/199
[ ] https://github.com/ManageIQ/floe/pull/200 (I can remove if needed)

Overview
Running the steps was causing setting workflow#end? = true, so in some cases it was not retrying. In other cases it was losing the RetryCount. I think state_history was not properly stored. The most obvious issue here is you can notice the number of times we stub run_async! has changed. Think this should shine a light on the issues.
A few cases I increased the retry_count because that caused the errors to be exposed.
Changes

Workspace#step_next carries across RetryCount when there is an error and it ends up on the same state. I felt like there are a few potential edge cases - hence so many checks around propagating those fields.
next_state ||= fixed issues where we deleted a next_state and skipped the retry.
moving self after the retry logic helped us avoid setting end? = true which would have state.run_nonblock! working but workspace.run_nonblock failing.

update:

rebase

Ran the tests without the changes to verify this.
rspec ./spec/workflow/states/task_spec.rb:238

The WAS comment shows the values that get this to pass.
The fact that 1.times works here tells you that this is only run 1 time (and we never retry). This is a result of end? = true after the first call.
Once that was fixed, we get 3 history records, and a retry count of 3.
    describe "Retry" do
      let(:workflow) do
        make_workflow(
          ctx, {
            "State"        => {
              "Type"     => "Task",
              "Resource" => resource,
              "Retry"    => [{"ErrorEquals" => ["States.Timeout"], "MaxAttempts" => 2}],
              "Next"     => "SuccessState"
            }.compact,
            "SuccessState" => {"Type" => "Succeed"},
          }
        )
      end

      context "with specific errors" do
        let(:retriers) { [{"ErrorEquals" => ["States.Timeout"], "MaxAttempts" => 2}] }

        it "retries if that error is raised" do
          # WAS: 1.times
          # 1 regular run + 2 retries = 3 times
          3.times { expect_run_async(input, :error => "States.Timeout") }

          workflow.run_nonblock # WAS: workflow.current_state.run_nonblock

          expect(ctx.next_state).to          be_nil # WAS: "State"
          expect(ctx.state["Retrier"]).to    eq(["States.Timeout"])
          expect(ctx.state["RetryCount"]).to eq(3) # WAS: 1
          expect(ctx.state_history.count).to eq(3) # WAS: 1
          expect(ctx.input).to               eq(input)
          expect(ctx.output).to              eq({"Error" => "States.Timeout"}) # WAS nil
          expect(ctx.status).to              eq("failure")
          expect(ctx.ended?).to              eq(true)
        end

Great find @kbrock