KAFKA-3452: Support session windows

Add support for SessionWindows based on design detailed in https://cwiki.apache.org/confluence/display/KAFKA/KIP-94+Session+Windows.
This includes refactoring of the RocksDBWindowStore such that functionality common with the RocksDBSessionStore isn't duplicated.

@enothereska @mjsax @guozhangwang.
This follows the design as proposed in the KIP.
Some key things:
I've extracted all of the Segment functionality out of RocksDBWindowStore and into Segments. I've introduced a new class SegmentedBytesStore that both the RocksDBWindowStore and RocksDBSessionStore delegate to. They are wrappers on top of the SegmentedBytesStore that know how to deal with the specifics to those stores, i.e., iterators, key layout etc.
The new class SessionWindows doesn't derive from Windows as it doesn't make sense to pass a SessionWindows instance to the non-sesssion-window aggregate methods on KGroupedStream
Thanks

@dguy I had a look over:

APIs
main algo for merging sessions
session store and IQ read only session store
kgroupedstreamimpl
basic skimming over new tests (they look great!).

Apart from the above comments I don't have anything else. Thanks.

I think it needs some more thought and this PR has been outstanding for nearly 2 months already.

I understand... Just afraid such tech debt will keep growing and eventually come back and bite us as unstable and hard-to-debug code. Well how about merging this PR as is and see if we can still push it as a separate PR before the release deadline?

@guozhangwang - that is fine with me. I agree with the tech-debt and i think we should really focus the next release on bug fixing, tech-debt, usability etc.
If we get this in i'm more than happy to tackle your suggestions above

Hello,
i'm having an issue trying to use SessionWindows
This exception is thrown:
Exception in thread "StreamThread-1" org.apache.kafka.streams.errors.StreamsException: stream-thread [StreamThread-1] Failed to rebalance 	at org.apache.kafka.streams.processor.internals.StreamThread.runLoop(StreamThread.java:612) 	at org.apache.kafka.streams.processor.internals.StreamThread.run(StreamThread.java:368) Caused by: java.lang.IndexOutOfBoundsException 	at java.nio.Buffer.checkIndex(Buffer.java:546) 	at java.nio.HeapByteBuffer.getLong(HeapByteBuffer.java:416) 	at org.apache.kafka.streams.kstream.internals.SessionKeySerde.extractEnd(SessionKeySerde.java:117) 	at org.apache.kafka.streams.state.internals.SessionKeySchema.segmentTimestamp(SessionKeySchema.java:45) 	at org.apache.kafka.streams.state.internals.RocksDBSegmentedBytesStore.put(RocksDBSegmentedBytesStore.java:71) 	at org.apache.kafka.streams.state.internals.RocksDBSegmentedBytesStore$1.restore(RocksDBSegmentedBytesStore.java:104) 	at org.apache.kafka.streams.processor.internals.ProcessorStateManager.restoreActiveState(ProcessorStateManager.java:230) 	at org.apache.kafka.streams.processor.internals.ProcessorStateManager.register(ProcessorStateManager.java:193) 	at org.apache.kafka.streams.processor.internals.AbstractProcessorContext.register(AbstractProcessorContext.java:99) 	at org.apache.kafka.streams.state.internals.RocksDBSegmentedBytesStore.init(RocksDBSegmentedBytesStore.java:101) 	at org.apache.kafka.streams.state.internals.ChangeLoggingSegmentedBytesStore.init(ChangeLoggingSegmentedBytesStore.java:68) 	at org.apache.kafka.streams.state.internals.MeteredSegmentedBytesStore.init(MeteredSegmentedBytesStore.java:66) 	at org.apache.kafka.streams.state.internals.RocksDBSessionStore.init(RocksDBSessionStore.java:78) 	at org.apache.kafka.streams.state.internals.CachingSessionStore.init(CachingSessionStore.java:97) 	at org.apache.kafka.streams.processor.internals.AbstractTask.initializeStateStores(AbstractTask.java:86) 	at org.apache.kafka.streams.processor.internals.StreamTask.<init>(StreamTask.java:141) 	at org.apache.kafka.streams.processor.internals.StreamThread.createStreamTask(StreamThread.java:834) 	at org.apache.kafka.streams.processor.internals.StreamThread$TaskCreator.createTask(StreamThread.java:1207) 	at org.apache.kafka.streams.processor.internals.StreamThread$AbstractTaskCreator.retryWithBackoff(StreamThread.java:1180) 	at org.apache.kafka.streams.processor.internals.StreamThread.addStreamTasks(StreamThread.java:937) 	at org.apache.kafka.streams.processor.internals.StreamThread.access$500(StreamThread.java:69) 	at org.apache.kafka.streams.processor.internals.StreamThread$1.onPartitionsAssigned(StreamThread.java:236) 	at org.apache.kafka.clients.consumer.internals.ConsumerCoordinator.onJoinComplete(ConsumerCoordinator.java:255) 	at org.apache.kafka.clients.consumer.internals.AbstractCoordinator.joinGroupIfNeeded(AbstractCoordinator.java:339) 	at org.apache.kafka.clients.consumer.internals.AbstractCoordinator.ensureActiveGroup(AbstractCoordinator.java:303) 	at org.apache.kafka.clients.consumer.internals.ConsumerCoordinator.poll(ConsumerCoordinator.java:286) 	at org.apache.kafka.clients.consumer.KafkaConsumer.pollOnce(KafkaConsumer.java:1030) 	at org.apache.kafka.clients.consumer.KafkaConsumer.poll(KafkaConsumer.java:995) 	at org.apache.kafka.streams.processor.internals.StreamThread.runLoop(StreamThread.java:582) 	... 1 more
Can you please help me with this?
Thanks.
Marco

@MarcoAbi Could you please report this at the Kafka mailing list: http://kafka.apache.org/contact
Thanks.


Allow configuring a destination path for build output

I'd like to use Nuxt to compile client-side assets, with Phoenix as the server. By default, Phoenix expects source files in web/static, and the results of building those assets in priv/web/static. I can set srcDir to tell Nuxt to find its directory structure in web/static, which is great, but I see no way to tell it to place all build outputs in priv/web/static. Am I missing it?
Thanks.

@ndarilek are you talking about the outputs of nuxt build?
Futhermore, with nuxt, the ouputs are stores in a memory filesystem so you need to use nuxt as a middleware. I don't know if it's possible with Phoenix.

Yeah, sorry, nuxt build. It will likely be more relevant when
client-only apps are supported.

How do you develop your app with nuxt? Do you have nuxt.js server + phoenix server?
I want to know exactly how you want to use nuxt.js so I can see if a solution is possible.

Phoenix's own server serves up static content from priv/web/static,
compiling it from web/static. Currently a Webpack watcher runs in the
background, recompiling but not serving the assets as they change.
So basically nuxt build in a permanent loop, maybe with a -w switch
to remain active and keep rebuilding files on change, and the Phoenix
web server serving up HTML with the  and linking to the
output bundle.
Here
is a recipe that builds up a Webpack configuration integrating React
with Phoenix. Hopefully it clarifies what I'm currently doing, except
I've swapped out Vue and would like to just replace it all with Nuxt.
Thanks.

Hi,
I've red this great article but it's not very clear in my mind on why do you use it with Nuxt?
Because it's almost the same to do npm run dev with nuxt as launch phoenix server in development, isn't?

Sure, but isn't that the entire point of Nuxt, that all of this
configuration plus router/store setup isn't needed, because it can be
inferred from the filesystem layout and a few simple configuration tweaks?
This isn't much above and beyond adding support for client-side-only
bundles, it's just ensuring that the destination bundle can be written
to a configurable directory just as the source can be. At least, it
seems simple enough, perhaps I'm wrong.
Thanks.

Hi @ndarilek
Can your priv/web/static can be a symbolic link to the .nuxt/dist/ folder of the nuxt build ?

Maybe, but can you please help me to understand why there's resistance
to being able to set the output directory? We already can set the source
directory in the configuration. This feature just adds symmetry to the
configuration.
To put it another way, I could symlink the directories Nuxt expects to
find sources in into the source location, but I don't have to because
there is a configuration option that lets me tell the build tool to
check a different directory. I don't know why there shouldn't be a
corresponding option to control where bundles are written.
If it's just a matter of having the time to do it, I can be patient, or
look into implementing it myself and submitting a PR.

:+1 Can be useful

It's planned for the 0.11 👍

it's now possible with buildDir property.

I think what I actually want is to set a distDir. I.e. build artifacts go into .nuxt/, distribution files into ../priv/static. Is that possible?

OK, never mind, I want generate and not build. The existence of both is a bit confusing.
Having established that, I suppose there isn't much use for buildDir after all. Apologies for the confusion.

@ndarilek Came across this issue and thought I'd let you know that you can change the dist folder (for the output of generated static files) by modifying the options.generate.dir programmatically or via the nuxt.config.js file:
generate: {
    dir: 'my-dir-other-than-dist'
  },


SHOW SHARDS, SHOW SHARD GROUPS should allow for filtered output

Feature Request
Proposal: [Description of the feature]
SHOW SHARDS should support the ON or FOR filter per database or retention policy, with regex.
Current behavior: [What currently happens]
SHOW SHARDS is monolithic, it always returns all data about all shards
Desired behavior: [What you would like to happen]
SHOW SHARDS ON mydb would show shards only for mydb.
SHOW SHARDS ON mydb.autogen would show shards only for the autogen RP on mydb.
Use case: [Why is this important (helps with prioritizing requests)]
Production systems with many databases can easily have SHOW SHARDS output in the 10s of thousands of lines, and it's impossible to investigate a specific problematic database or RP.

fixed by https://github.com/influxdata/influxdb/pull/7295

perhaps I was too hasty

@jwilder proposing for 1.1.

@beckettsean I'm not sure ON is the appropriate syntax for this. We don't currently have any commands that use ON with both a database and retention policy. They all only have the database. I'm also not sure FROM is appropriate either since that usually references a measurement. I'm not sure we have anything that does both database and retention policy at the moment. Any ideas?

There aren't any queries that take a DB or a DB/RP combo. http://docs.influxdata.com/influxdb/v1.0/query_language/spec/#clauses
If it makes it easier, the first implementation can ignore the RP and only accept a database with ON. Later we can revisit if we need more granularity.
Also, I forgot to mention SHOW SHARD GROUPS as another query that needs the ability to restrict to a database.

In the meantime, this snippet may help some users (where 'dbname_5m' is the name of your db):
`
$ influx -execute "show shards" -database="dbname_5m" | sed -n '/name: dbname_5m/,/^$/p'
name: all_client_5m
id   database      retention_policy shard_group start_time           end_time             expiry_time          owners

... rows with shard-info just for this db...
`

any update on this?


requireNonNull should take AnyRef

Make requireNonNull to take AnyRef instead of Any.

Decided not to do this anymore.


Add NomanBinBasheer's file No. 2

So far, I have created a branch, created a file and made a commit, and opened a pull request. Wow

Hi


My feature branch

Fixes #10784
Please check the following:

[ ] Do the tests still pass?[^1]
[ ] Does the code comply with the style guide?

[ ] Run make lint from the Wagtail root.

[ ] For Python changes: Have you added tests to cover the new/fixed behaviour?
[ ] For front-end changes: Did you test on all of Wagtail’s supported environments?[^2]

[ ] Please list the exact browser and operating system versions you tested:
[ ] Please list which assistive technologies [^3] you tested:

[ ] For new features: Has the documentation been updated accordingly?

Please describe additional details for testing this change.
[^1]: Development Testing
[^2]: Browser and device support
[^3]: Accessibility Target

@shindodkar I don't think this PR is set to the right source branch.
Additionally there is already a PR for that issue https://github.com/wagtail/wagtail/pull/10787
I'll close for now, let me know if you are intentionally trying to do a PR with your custom project folder for some reason.


💿 Storage : Store object

Implement the cw-storage StoreObject execute message.
📦 State design
For cost efficiency purpose the object's data are stored in a dedicated map using the object id as key.
To allow filtering and pagination features of the Objects and ObjectPins query, the object and pin information are stored in dedicated indexed map allowing multiple indexes simplifying its manipulation through non primary key index. The resulting objects map provide an index on the object owner and the pins map an index on the object id.
To avoid the computation of data when needed, the BUCKET item has been enhanced with:

size: Corresponds to the sum of all the objects sizes in the bucket, used to check the related limit;
object_count: Corresponds to the number of objects in the bucket, used to check the related limit;

🔍 Query
The simple Object and ObjectData queries have also been implemented.
🧐 Caveats
According to the specification storing an already stored object should be a no-op, but it seems weird to me in the case the storing address is different than the owner of the already stored object. maybe it would be more appropriate to return an error in that specific case, or even independently of the owner, what do you think?
EDIT: The specification has been changed according to @ccamel response, storing an object already stored is an error case.

size-limit report 📦

Path
Size

target/wasm32-unknown-unknown/release/cw_template.wasm
178.08 KB (0%)

target/wasm32-unknown-unknown/release/cw_logic_sample.wasm
203.98 KB (0%)

target/wasm32-unknown-unknown/release/cw_storage.wasm
251.2 KB (+100% 🔺)

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

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


Is this library still maintained?

Hi @mgregoro, I'm currently trying to tidy up the bindings linked on the libsodium website. If this library is still maintained, then please let me know; otherwise, the link to this library will likely be removed from the bindings page to help users find up to date and maintained bindings.

Hi @samuel-lucas6 -- I'd say it's fairly well maintained, yeah.  I still use it on several systems with newer versions of libsodium without issue.
That said, I don't mind letting some of the other Perl bindings have their time in the sun.  Please go ahead and remove my library from the libsodium docs, thank you!

Thanks for the reply. If you're sure, I'll go ahead and do that.

No problem!  Yes I'm sure, thank you.


Dose it support react native？

I want use react native develop a gis app, does it support rn?
If it support, How can I integrate it or where can i get the demo code?
Thaks!

Not supported because Cesium works only in web. Resium and Cesium that run in web view in React Native may work.


the last depthwise_conv_block(b18)

I noticed that the last depthwise_conv_block(b18) is annotated. You used a standard conv layer  to replace it. This standard conv layer cost about 20% computation.  So why not use depthwise_conv_block as above layers?

@akirasosa
emm, thanks for the response. there is something wrong in my calculations indeedly, the percentage is lower than 20%. But the considering the larger size of  feature maps on the edge, the cost may also high. Does the reason of  using standard conv for a better performance?

@stainless-steel-rat
Not so much reason. The original MobileNets uses conv block at 1st block. So, I made it symmetric.


⚠ Turnos 24x7 has degraded performance

In 40f329a, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 1033 ms

Resolved: Turnos 24x7 performance has improved in 489fe07.


Refactor storage class well-know values.

I will need the well-known values separated from the
BucketMetadata. Part of the changes for #537.

PTAL.

Tried commenting on the comment thread above, but GitHub collapsed and hid it.
Anyway, the method I proposed in my last comment was supposed to allow for a header-only definition of a string constant, rather than requiring both a .h and .cc file.  I don't think the .cc file you added is needed.

So, when I decided to convert the return value from char const* to std::string const& the code size changes a bit:
https://godbolt.org/g/d1K4Dv
From plain-old pointers that are initialized (basically) at compile-time I changed the code to classes that are initialized at run-time.  That means the constructor needs to be wrapped in a mutex, to make sure it is called only once.  And then the mutex needs to be initialized.
Putting them in the header file seemed like a lot of code to include over and over.  But, I can put it back if you are not convinced by the godbolt.org results.

PTAL.


meta: opt in to rubygems_mfa_required starting with the next release

Recently, the rubygems.org team added the ability to require MFA for a gem to be pushed or yanked (or the owners set changed): https://github.com/rubygems/rubygems.org/pull/2242
This is being documented at https://github.com/rubygems/guides/pull/297
In the next minor release of Nokogiri (presumably v1.13.0) we should turn this on.

Related to https://github.com/sparklemotion/nokogiri/discussions/2357


Menubar on Mobile📱 doesn't work correctly when Switching between Menus.

Describe the bug
https://github.com/user-attachments/assets/97439505-087c-4912-a576-6591137f5d6c
I think this'll show it clearly. When a menu is already open & I click on the next menu, both of them just close.
The recording is from the official shadcn-svelte website.
I tested the corresponding shadcn react component, and that works fine.
Reproduction
Open the URL on a mobile phone and then trigger File open, then click on any other trigger.
https://shadcn-svelte.com/docs/components/menubar
Logs
No response
System Info
MSEdge, Chrome.

Severity
blocking an upgrade

Fixed in shadcn-svelte@next / bits-ui@next


Build the Hero Section of the about page

Pls Assign me to the task

@DanielAgbeni you're assigned and you can proceed.


Added css for payment module

Choose the appropriate template for your PR:
Feature PR
Feature Request
JIRA ID

Module

Description

Related Issues

Bugfix PR
Bugfix Request
JIRA ID

Module

Description

Root Cause

Related Issues

Release PR

duplicate


Generic Artifactory Resolver environment update

...bles BUILD_PARENTNAME and BUILD_PARENTNUMBER

Hi @electrawn ,
We'd like to know if this PR is still relevant. If it is, can you please share some information about the issue? Thanks!

I have changed jobs 2 times since this patch. The point of the patch was special keywords to carry forward build information in chained jobs/pipeline.


TOML: Missing dependency on Antlr4 runtime

Hi! Really nice TOML parsing library -- thanks for sharing it under a business-friendly license. I especially like the detailed messages for syntax validation errors. I thought I should report an issue I ran into while getting started.
In a project that uses net.consensys.cava:cava-toml:0.2.0, parsing a TOML config file fails with the following exception unless the Antlr4 runtime is added as an explicit dependency:
Exception in thread "main" java.lang.NoClassDefFoundError: org/antlr/v4/runtime/CharStream
	at com.couchbase.connector.elasticsearch.Config.main(Config.java:147)
Caused by: java.lang.ClassNotFoundException: org.antlr.v4.runtime.CharStream
	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	... 1 more

The workaround is to manually add a dependency on the Antlr4 runtime. For gradle, this looks like
compile 'net.consensys.cava:cava-toml:0.2.0'
compile 'org.antlr:antlr4-runtime:4.7.1'

It would be nice if the Maven POM for the cava-toml library expressed a transitive dependency on the Antlr4 runtime. Better yet, embed the runtime in the cava-toml library as a shaded/shadowed dependency.

Hi @dnault,
This is something we need to think about for the cava project in general. Currently it takes a cautious line about requiring dependencies for the net.consensys.cava:cava library (which includes all the components), in order to avoid it pulling in dozens of libraries for projects that don't need them. That caution is reflected in the dependency definitions of individuals components and, in most cases, documented explicitly - e.g. https://github.com/ConsenSys/cava/blob/master/crypto/src/main/java/net/consensys/cava/crypto/sodium/package-info.java#L12-L14
This documentation is missing for the TOML component and should be added.
However, I acknowledge it would be preferable to have the dependency automatically added when including the component individually. I wonder if anyone has good ideas on how to do this with gradle/maven?

I suppose another approach could be to remove the uber-library entirely and require projects taking advantage of cava to include each desired component explicitly. That would allow transitive dependencies to be included at the trade-off of making cava harder to consume. WDYT, @atoulme?

Two interesting requirements:
Add antlr-runtime dependency to cava-toml
Make sure antlr-runtime doesn't get pulled into the uber-jar dependencies.
I think we could get away by listing the dependencies on the uber-jar, but mark them optional.
See https://maven.apache.org/guides/introduction/introduction-to-optional-and-excludes-dependencies.html

Right - so we already mark them as optional in each component. E.g. jrn-ffi is marked as compileOnly for the cava-crypto component: https://github.com/ConsenSys/cava/blob/master/crypto/build.gradle#L10
But this is probably a good approach. Let's change those to non-optional, and then substitute them for optional dependencies when we create the uber-jar: https://github.com/ConsenSys/cava/blob/master/build.gradle#L343-L354

Hi @dnault!
I believe this is resolved by #33. If you can verify using the snapshot distribution, that would be fantastic. The first snapshot including this change is net.consensys.cava:cava:0.3.0-CD4FEE-snapshot.
Cheers,
Chris

@cleishm Verified, thanks!

@cleishm I see you the new snapshot also removed the unnecessary dependency on org.antlr:antlr4 and now just depends on the runtime. Nice!

@dnault FYI, this was released in cava 0.3.0


enforce interaction constraints with monotone_constraints_method = intermediate/advanced

First attempt to address #4044 .

Thanks a lot for your contribution!
I have only few minor comments for tests code.

Thanks a lot for the comments. Added as suggested.

I think @CharlesAuguste is interested in this.

Gently ping @CharlesAuguste

I completely missed this, I am very sorry. I will have a look at this PR in the next few days and write back.

@StrikerRUS I just had a look at the code, and I agree with @ChristophAymannsQC that everything should be working well with this fix. I also think it was a good idea to parametrize the test to keep the old test, because the test with the interaction constraints may not be able to catch some issues relating to monotone constraints.

@CharlesAuguste Thanks a lot for your feedback!
@ChristophAymannsQC Thank you very much!


Vulkan does not properly synchronize with OpenGL in X-Plane 11.50

Issue
When running X-Plane in Vulkan mode with AMDVLK, any plugin drawing in OpenGL space exhibits rendering artifacts.
Example screenshot

Information:
AMD 3700X
Arch Linux with Kernel 5.8.2
Xserver 1.20.8-3
AMD 5700XT (Navi10)
AMDVLK 2020.Q3.3
Mesa 20.1.6 (for OpenGL)
X-Plane 11.50r1
X-Plane launch options: VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/amd_icd64.json ./X-Plane-x86_64 --vulkan
X-Plane log
Renderdoc capture

Reproduction:

Download and install the X-Plane demo from the official site (requires around 10 GB of free disk space)
Update the demo by running the installer again, checking the "Check for new betas..." box. This is crucial in switching to the 11.50 codepath that includes Vulkan mode!
X-Plane can be directly launched in Vulkan mode from the terminal with the "--vulkan" switch. Might be worth running it once to check if everything is in order. Make sure to quit XP before going on.
Obtain the latest DataRefTool release from GitHub
The archive needs to be unzipped twice. The resulting folder needs to be moved into "/X-Plane 11/Resources/plugins". The resulting path to the plugin file should be "/X-Plane 11/Resources/plugins/DataRefTool_2020_03_23/lin.xpl".
Start X-Plane in Vulkan mode, start a flight at Seattle (KSEA), one of the demo areas, and access DatarefTool from the menubar at the top ("Plugins" --> "DataRefTool" --> "View Datarefs")
The result should be what you see in the example picture above.

Notes:

This bug affects any plugin that tries to draw in 2D space via OpenGL and not just DataRefTool.
The "other" open source Vulkan driver for Linux is also affected.
As far as I remember, this issue does not occur in Windows (it's been a while since I've tested it).
Can't test the sync behavior of AMDGPU Pro since it breaks KDE 5 for me.
The developer of X-Plane is aware of this issue, but says it needs to be fixed/worked around on the driver side.
GPUs from a major competitor are neither affected by this on Windows or Linux.

Hope that's enough information for a start. Tell me if you need more.

The root cause is the imported image for plugin render, its creation option's default values have some difference with Mesa's.
We will fix it.

Thank you!
Let me know if you need more information.

@JT8D-17 issue fixed in v-2020.Q4.6

The situation is now better, but some plugins still do not synchronize properly.
See Avitab (freeware) with vFlyteAir's Navion (freeware, butr requires registration to download):

For comparison, this is in X-Plane's OpenGL mode (provided by Mesa):

This is with the ToLiSS Airbus A321 (payware):

Again, for comparison, OpenGL mode provided by Mesa)::

I think this is a texture coordinate space issue.
X-Plane log for the Navion with AMDVLK
Terminal output for the Navion with AMDVLK
X-Plane log for the A321 with AMDVLK
Terminal output for the A321 with AMDVLK
I sadly can not provide a Renderdoc capture, because as of release 11.51b3, X-Plane blocks AMDVLK and the "--force_run" argument does not work from Renderdoc (but it does when launched from a terminal). See my Renderdoc launch options:

X-Plane log from a failed launch
For comparison, a working launch:

VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/amd_icd64.json "$PWD/X-Plane-x86_64" --vulkan --force_run

I have informed Laminar Research, X-Plane's developer, about this and tried to argue in favor of the Mesa+AMDVLK combination, but despite an e-mail exchange, I did not receive feedback whether future X-Plane versions will fix this.
All I have in terms of Renderdoc captures is those I made for Mesa's Vulkan driver, which seems to suffer from the same issue.

I had reproduced this new issue on Navi10.
And it works well on Vega20.
I will try to find out the root cause and the difference between Vega20 and Navi10.

Hi JT8D-17,
The root cause is OGL not handle the image mipLevels info correctly while import external memory.
AMD pro driver also has this issue too.
The AMD pro driver stack will be fixed firstly.
About the Mesa OGL and Mesa RADV, the iPad seems be black. I guess there will be a lot of work to do for Mesa OGL + RADV, and for Mesa OGL + AMDVLK.

Hi all, I don't know if its been mentioned before, but there also seems to be an error with the terrain radar mod, that adds functioning terrain radars to some compatible aircraft, namely the default Boeing 737-800 from Laminar. It just doesn't show up, silently fails without any clue to the logs.
Also, I still keep getting some issues, with python graphical elements flashing (fse ui, xsquackbox, text boxes and such).

Thanks for looking into this @qiaojbao!
@Gfurst Could be the same bug.

Thanks for looking into this @qiaojbao!
@Gfurst Could be the same bug.

@jinjianrong I see this was closed (I've been watching it for a while because this affects my system), but I am still seeing this bug. If this has supposedly been fixed, then do I need to open a new issue? I'm currently on AMDVLK 2021.Q1.4-1 from Arch (says last updated 02/25/2021).

Just realized the issue needs a fix in opengl which has not been included in latest AMDGPU Pro release.  Reopen the issue

Was this fixed for the open-source driver though? I haven't noticed it so far

The fix is only for  Linux Pro OGL + AMDVLK.  Still needs a fix in MesaGL to get MesaGL + AMDVLK working.

Does the fix involve VK_PROVOKING_VERTEX_MODE_FIRST_VERTEX_EXT?

Hello. I was wondering if the AMD driver will be updated to stop the flashing with X-plane and amd 6900xt cards. This happens with certain plugins.

@ICSimulations, this issue was only fixed in AMD Linux Pro OGL + AMDVLK, if you run into some similar issues under the latest AMD pro driver stack, could you list the plugins and AMD Linux pro driver version here, please?

@ICSimulations, this issue was only fixed in AMD Linux Pro OGL + AMDVLK, if you run into some similar issues under the latest AMD pro driver stack, could you list the plugins and AMD Linux pro driver version here, please?

Ahh..sorry, this was under windows. Should I try the AMD Pro driver? Happy to try that against with the plugins causing the flickering.

@ICSimulations,  yes,  please help try AMD Linux Pro driver. thanks

I am on windows.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Wednesday, November 10th, 2021 at 3:25 AM, JianRong JIN @.***> wrote:

@.***(https://github.com/ICSimulations), yes, please help try AMD Linux Pro driver. thanks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

I am on windows.

Then neither this Linux-only driver nor this issue tracker is for you.

Verified xplane-11 with the latest 2024Q3.1 and Mesa 24.0.9-0ubuntu0.1, no corruption observed.
AviTab-0.3.21.zip
AviTab-0.6.3.zip
datareftool_2020_03_24.zip
DataRefTool_2021_07_14.zip


Allow empty string for field in field map

Description
Allow empty string for field in field map.
The basic idea is to mark field with empty string as null, so that empty value for such field won't be taken into account.
Related Issues
Resolves #774
What is the current experience
For current text_embedding processor, it does not allow empty field of fieldMap due to validation here
Given such fieldMap
{
  "description": "text embedding pipeline for hybrid",
  "processors": [
    {
      "text_embedding": {
        "model_id": "L34TCpQBkpdyEl29cLe8",
        "field_map": {
           "title": "embedding_tns_title",
	  "description": "embedding_tns_description",
	  "body": "embedding_tns_body"
        }
      }
    }
  ]
}

if below document is being ingested, ingestion will fail
POST http://localhost:9200/_ingest/pipeline/nlp-ingest-pipeline-nested-allow-empty/_simulate

{
	"docs": [
		{
			"_index": "neural-search-index-v2",
			"_id": "1",
			"_source": {
				"title": "this is title",
				"body": "this is body",
				"description": " "
			}
		}
	]
}

Result:
{
	"docs": [
		{
			"error": {
				"root_cause": [
					{
						"type": "illegal_argument_exception",
						"reason": "map type field [description] has empty string value, cannot process it"
					}
				],
				"type": "illegal_argument_exception",
				"reason": "map type field [description] has empty string value, cannot process it"
			}
		}
	]
}

After the PR how will the experience look like
Given same fieldMap and request as above, with this PR, the result looks like below
{
	"docs": [
		{
			"doc": {
				"_index": "neural-search-index-v2",
				"_id": "1",
				"_source": {
				    "title": "this is title",
                                      "embedding_tns_title": [~768~]
				    "body": "this is body",
                                      "embedding_tns_body": [~768~]
				    "description": " "
                                 },
				"_ingest": {
					"timestamp": "2024-12-27T21:15:37.530145Z"
				}
			}
		}
	]
}

What are the use cases of this fix
The use case we want to support is: we still allow document ingestion even if it has some fields in fieldMap with empty/null value
As mentioned in #774 , because not all document have valid values for field in fieldMap. Also,
One of the key concepts in OpenSearch/Lucene is that not all documents must follow the same 'data schema'. This is also valid for search, where only documents with matching fields will be returned.

So, in terms of consistency and robustness please allow fields inside "field_map" that don't have to appear in all documents.

Check List

[x] New functionality includes testing.
[ ] New functionality has been documented.
[ ] API changes companion pull request created.
[x] Commits are signed per the DCO using --signoff.
[ ] Public documentation issue/PR created.

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.

Do not merge until changelog comment is addressed.


The name tho

Why is it byte_S_tringSplitter? I think it's just bytestring.
Why not use something like bytesSplitter or byteSplitter. I like byteSplitter.
Let's get this up on pypi muy rapidamente!

Haha... right.  Right.
When it sounds like it splits bytes into bits.
Umm, yeah, I guess it's time.

@KPrasch also doesn't like the name.

bytestringMonster?
monster = BytestringMonster(...)
monster.om_nom_nom(splittable)

Nom Nom - Closable? I like the name after some time passed. Almost sounds like were chopping wood!


Installation dies due to function re-declaration.

On a new install with laravel 5 using the composer install string in the readme (composer require rtconner/laravel-kint "~1.0"), the installation fails with the following error:
Using version ^1.1 for rtconner/laravel-kint
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
  - Installing rtconner/laravel-kint (1.1.0)
    Loading from cache

Writing lock file
Generating autoload files
PHP Fatal error:  Cannot redeclare ddd() ...

This looks like it is caused by a simple typo in laravel-kint.php:
if(!defined('ddd')) {

where defined should probably be replaced with function_exists as defined only applies to constants:
if(!function_exists('ddd')) {

I have the same issue, changed to function_exists as above and now working

+1

Oh forgot to close this. It was fixed about 2 weeks ago.


composebox_typeahead: Allow easily linking to topics in the same channel.

This PR makes it easier to link to topics in the same channel. Typing #> in the compose box replaces it with #**channel_name>
Fixes #31420

Screenshots and screen captures:

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[ ] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[x] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

This is pretty cool! Can you add tests for it?


ForegroundServiceStartNotAllowedException on Android 13 devices

Media3 Version
1.0.0-beta03
Devices that reproduce the issue
Various devices running android 12 and android 13
Devices that do not reproduce the issue
No response
Reproducible in the demo app?
Not tested
Reproduction steps
Wasn't able to reproduce it myself but I'm still reporting this because it was mentioned in #111 that we should report it if it happens on Android 13. According to crashlytics this happens 100% in background. By the logs I see various scenarios how this happens but most common one is when player is auto transitioning to next item.
Some additional info that might help indicate the problem:

We are releasing MediaController when user goes to background
On media item transition we are saving current item to DB, if it was listened before we are seeking to it's last listened position and adjusting playWhenReady if user has turned off/on autoplay. (But doubt this is causing any issues since crashes happen not only when item is transitioning)
onTaskRemoved we are doing stopSelf if player.playWhenReady != true
We do not override onUpdateNotification, but we are setting a custom MediaNotification.Provider

I can provide any additional info or logs if needed
Expected result
Not getting ForegroundServiceStartNotAllowedException and successfully continuing playback in background.
Actual result
Fatal Exception: android.app.ForegroundServiceStartNotAllowedException: startForegroundService() not allowed due to mAllowStartForeground false: service com.podimo/.app.core.media.MediaService
       at android.app.ForegroundServiceStartNotAllowedException$1.createFromParcel(ForegroundServiceStartNotAllowedException.java:54)
       at android.app.ForegroundServiceStartNotAllowedException$1.createFromParcel(ForegroundServiceStartNotAllowedException.java:50)
       at android.os.Parcel.readParcelable(Parcel.java:3345)
       at android.os.Parcel.createExceptionOrNull(Parcel.java:2432)
       at android.os.Parcel.createException(Parcel.java:2421)
       at android.os.Parcel.readException(Parcel.java:2404)
       at android.os.Parcel.readException(Parcel.java:2346)
       at android.app.IActivityManager$Stub$Proxy.startService(IActivityManager.java:6968)
       at android.app.ContextImpl.startServiceCommon(ContextImpl.java:1927)
       at android.app.ContextImpl.startForegroundService(ContextImpl.java:1893)
       at android.content.ContextWrapper.startForegroundService(ContextWrapper.java:798)
       at com.podimo.app.core.media.MediaService.startForegroundService(MediaService.kt:153)
       at androidx.core.content.ContextCompat$Api26Impl.startForegroundService(ContextCompat.java:931)
       at androidx.core.content.ContextCompat.startForegroundService(ContextCompat.java:703)
       at androidx.media3.session.MediaNotificationManager.updateNotificationInternal(MediaNotificationManager.java:206)
       at androidx.media3.session.MediaNotificationManager.updateNotification(MediaNotificationManager.java:182)
       at androidx.media3.session.MediaSessionService.onUpdateNotification(MediaSessionService.java:411)
       at androidx.media3.session.MediaNotificationManager$MediaControllerListener.onEvents(MediaNotificationManager.java:299)
       at androidx.media3.session.MediaControllerImplBase.lambda$new$0(MediaControllerImplBase.java:151)
       at androidx.media3.session.MediaControllerImplBase$$InternalSyntheticLambda$3$10aed4c532fdc841d63f0af013a047ffd34a0b4b9b1d6da420408b3dbfb435a8$0.invoke(MediaControllerImplBase.java:1)
       at androidx.media3.common.util.ListenerSet$ListenerHolder.iterationFinished(ListenerSet.java:295)
       at androidx.media3.common.util.ListenerSet.handleMessage(ListenerSet.java:246)
       at androidx.media3.common.util.ListenerSet$$InternalSyntheticLambda$1$0a1dffe138e30e7ad8eb5a169bfb4852f73945d310b0f0a49ed6bc74e8c308ab$0.handleMessage$bridge(ListenerSet.java:57)
       at android.os.Handler.dispatchMessage(Handler.java:102)
       at android.os.Looper.loopOnce(Looper.java:226)
       at android.os.Looper.loop(Looper.java:313)
       at android.app.ActivityThread.main(ActivityThread.java:8669)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit
$MethodAndArgsCaller.run(RuntimeInit.java:571)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)

Media

Bug Report

[ ] You will email the zip file produced by adb bugreport to<EMAIL_ADDRESS>after filing this issue.

Thanks for the report.
The service is put to/removed from foreground when playWhenReady changes.
I can't think of why that should happen when the player transitions playback from one item to the next. Even when a seek is performed within or across media items,  playWhenReady is not changed by the player internally.

On media item transition we are saving current item to DB, if it was listened before we are seeking to it's last listened position and adjusting playWhenReady if user has turned off/on autoplay.

Accordingly, this seems to be a potential source of the problem, but I'm not sure I understand how. As far as I understand, we have the following scenarios:

playWhenReady is false: In this case we would not see an automatic transition because playback is paused.
playWhenReady is true and autoplay off : In this case the transition would happen and then playWhenReady is set to false. This would cause the service to be removed from the foreground. This does not result in the reported ForegroundServiceStartNotAllowedException.
playWhenReady is true and autoplay on : In this case playWhenReady is not changed and the service remains in the foreground. No change in the state of the service is requested.

The only thing I can think of is that 'adjusting playWhenReady' involves switching playWhenReady to false and then to true again, which would be like resuming playback but I actually wouldn't expect you doing that.
One way to verify what is happening would be that you add an EventLogger to the app. This would make visible what happens on the player side. However, this would only help in case we get a bug report from such a device just after the crash has occured. We would then be able to see the logs of EventLogger to see whether the crash was following a change in the player state.

Thank you for the response @marcbaechinger . I'll investigate more our autoplay logic, but it's pretty basic oneliner - player?.playWhenReady = player?.playWhenReady == true && autoplay. Also got some logs from latest release and noticed  few scenarios:

right before transitioning player went to STATE_IDLE and right back to STATE_READY
one of the users got ERROR_CODE_DECODER_INIT_FAILED which caused same state change as previously described. I will look into it more, but if PlaybackException is thrown we just call player.stop() and send some events to UI, we don't really retry restarting playback without user interaction.

I added EventLogger to new app version, so I should get more info when users crash on those versions. Will update this issue more then

Yeah, agreed the playWhenReady thing should be trivial.
But good call regarding the playback error! I haven't taken this case into account. We (the Media3 team) need to think about this case well. Auto re-starting in the background wouldn't work like you say. This would remove the service from and put it back to the foreground. Thanks for bringing this up!
Having the logs from EventLogger would give as some more insight in any case!

Okay, so I got some logs from latest release.

Auto transitioning. I was a bit confused on why I see some state changes, but nothing from EventLogger and then I realised it was happening on CastPlayer (confirmed that by looking into our events). Then tried reproducing it by myself and it was pretty easy - I just let one item transition to other item while casting and immediately got FgS exception. Then tried it with UAMP project on media3 branch, same happened there :(
googlequicksearchbox. This is already reported to you. User basically tried to control playback with google assistant
InternalError. Some users get java.net.SocketTimeoutException while in background, might be because of their poor internet connection. DataSource tries couple of times to retry the connection, then goes to buffering state and then isPlaying changes to false and immediately FgS exception.

I'll be looking into more cases, but if you need any full logs from these cases, I can send it via email.

Thanks for the analysis.
We definitely should look into CastPlayer and why the state is changing when transitioning. It defo sounds like a bug to me as this should not happen. I'll change the title of this issue accordingly if that's ok with you.
googlequicksearchbox - Yeah, as you mention. Known issue on Android 12.
InternalError - This is actually an obvious one when thinking about it. I haven't noticed this yet though, so thanks for reporting. There is not much we can do about it with the current best practice implementation that is to take the service out of the foreground when not playing. The exception, and the resumption of playback after the error causes interrupts the playback and a retry will cause the ForegroundServiceStartNotAllowedException. We are internally advocating for a different implementation approach that would possible help in this case as well. So thanks for giving us another argument! On the other hand, I don't think we can possibly do something right now for this case. The only thing an app can do is posting a Notification to ask the user to start the retry by user intervention. This would then give a way to resume from the foreground.
I have updated #111 accordingly and I rename this issue to focus on the CastPlayer transitions only. Please shout if you thing that doesn't make sense. :)

Thank you once again.
I just have to mention few things. After receiving an internal error we don't actually try restarting playback by ourselves. We have DefaultLoadErrorHandlingPolicy added to our DefaultMediaSourceFactory. In the logs I can't see that PlaybackException has been thrown yet because then we would have stopped player, so my guess is that crash happened during load error handling process. Could that be the case?
And googlequicksearchbox case happened on Android 13 actually (Galaxy XCover 5)

DefaultLoadErrorHandlingPolicy

Thanks for clarification. What is the playback state doing when this happens? Because I'd only expect a fatal error changing the playback state to IDLE as a consequence of stop being called. I think we need to investigate this a bit more in this case. I think when we retry (as in terms of LoadErrorHandlingPolicy) and in the end successfully start loading again we should somehow be able to not getting the service off the foreground, so this should actually work.
The case I mentioned regarding retry after a PlaybackException is harder to fix I think.

googlequicksearchbox on Android 13

That's odd. I'll test this. Thanks for mentioning.

What I can see from the logs:

User went to foreground - item was restored and loaded to the player
state changed to STATE_READY
user toggled playback. playWhenReady = true, isPlaying = true
user went to background. We released MediaController
After 8 seconds followed 4 internalErrors each with 8s interval
After last internalError 8s passed and state changed to STATE_BUFFERING and isPlaying changed to false
immediately after that startForegroundService was called and crash happened

With the scenario above, the service should not be taken off the foreground as far as I can tell. Being in state BUFFERING isn't enough to get off the foreground. The player either needs to be in STATE_IDLE or STATE_ENDED or playWhenReady==false to take the service off the foreground.
We need to investigate this. Many thanks for your detailed report. Much appreciated.

I can confirm that the CastPlayer transitions to STATE_IDLE when playback transitions automatically from one item in the playlist to the next.  Then it immediately goes to STATE_READY again.
This explains why the service is taken off the foreground and then produces the reported exception. We will look into CastPlayer and we will update this issue when we have submitted a change regarding this problem. Thanks for reporting again.

Closing this issue as it is fixed as per commits above.

Great news, thank you!


Scheduled requiring code deployed

I am getting the below error when I attempt to make a Scheduled rol-lup Active.

These are the errors when I attempt to deploy so I am stuck. I would love to be able to have these be active, can someone help me? Thanks.
Errors
classes/dlrs_AcctSeed_TransactionTest.cls (Line: null: Column:null) : Not available for deploy for this organization
classes/dlrs_AcctSeed_TransactionTest.cls-meta.xml (Line: null: Column:null) : Not available for deploy for this organization
triggers/dlrs_AcctSeed_TransactionTrigger.trigger-meta.xml (Line: null: Column:null) : Not available for deploy for this organization
triggers/dlrs_AcctSeed_TransactionTrigger.trigger (Line: null: Column:null) : Not available for deploy for this organization

My issue is resolved. Below was the culprit.

Thanks for sharing! 👍


New GUI or hacked ?

Since I updated freeOPT recently, the GUI and the icon changed dramatically.
See screenshot.
I wonder if I can still use the app safely.
Thanks

Hello @Hoperightnow - Yes, the UI and App Icon were updated in v2.0 - this was intended.


feat(jotai): add jsdoc to jotai component

Overview

PR Checklist

[x] I did below actions if need

I read the Contributing Guide
I added documents and tests.

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

Project coverage is 70.57%. Comparing base (eccf4b9) to head (a7b9650).
Report is 1 commits behind head on main.

Additional details and impacted files

@@           Coverage Diff           @@
##             main    #1241   +/-   ##
=======================================
  Coverage   70.57%   70.57%
=======================================
  Files          70       70
  Lines         656      656
  Branches      131      132    +1
=======================================
  Hits          463      463
  Misses        171      171
  Partials       22       22

Components
Coverage Δ

@suspensive/utils
47.16% <ø> (ø)

@suspensive/react
100.00% <ø> (ø)

@suspensive/react-dom
100.00% <ø> (ø)

@suspensive/react-native
100.00% <ø> (ø)

@suspensive/react-query
72.09% <ø> (ø)

@suspensive/react-query-4
0.00% <ø> (ø)

@suspensive/react-query-5
0.00% <ø> (ø)

@suspensive/react-query-next-experimental
∅ <ø> (∅)

@suspensive/react-query-next-experimental-4
6.15% <ø> (ø)

@suspensive/jotai
0.00% <ø> (ø)

@suspensive/cache
98.01% <ø> (ø)

@suspensive/react-image
80.39% <ø> (ø)


Change foreach to linq

Closes #22

@carloscds Can you check this out, pls?

@giggio I will.

@giggio I can't merge it. Can you check ?

@carloscds I had just accepted another PR and that created a confict. I just rebased it now.


Double click to select word that don't recognize Chinese punctuation

VSCode Version: 1.12.2
OS Version: Windows 10

Steps to Reproduce:

Ctrl + Comma keys to open settings.json. Note: with Chinese Simplified interface (or copy the following example goes to an empty file for testing).
Try double-clicking to quickly select an option name or word within punctuation.

Bad for 如果设置为“afterDelay”，
Well for 则可在 "files.autoSaveDelay" 中配置延迟。 or other punctuation in English.
It should recognize the punctuation of other languages as punctuation, and even does participle based on Unicode resources, just like in Chrome.

Note that double clicking uses the word separators defined in the settings.
"editor.wordSeparators": "~!@#$%^&*()-=+[{]}\|;:'",.<>/?".
You can tune it there.

Good, it works.
It will be better if the software understands the various symbols, and does participle (as optional).

This feature request will not be considered in the next 6-12 months roadmap and as such will be closed to keep the number of issues we have to maintain actionable. Thanks for understanding and happy coding!


3rd RandomForest test fails sometimes (esp. during CI)

I'm submitting a ...
[X] bug report
[ ] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project

Summary
From time to time the 3rd test of RandomForest implemented in test/ensemble/forest.test.ts fails. This ultimately results in a failed build when used in a CI context.

See Other information below for log output

Other information

FAIL  test/ensemble/forest.test.ts
ensemble:forest
RandomForest
✓ should return a result of X1 and y1 with random state 1 (9ms)
✓ should return a result of X1 and y1 with random state 2 (4ms)
✕ should train test split and predict correct test #1 (334ms)
● ensemble:forest › RandomForest › should train test split and predict correct test #1
expect(received).toBeGreaterThanOrEqual(expected)
Expected value to be greater than or equal:
  0.7
Received:
  0.631578947368421
  44 |       const shouldBeGreater = 0.7;
  45 |       const accuracy = accuracyScore({ y_true: yTest, y_pred: yPred });
> 46 |       expect(accuracy).toBeGreaterThanOrEqual(shouldBeGreater);
  47 |     });
  48 |   });
  49 | });

  at Object.<anonymous> (test/ensemble/forest.test.ts:46:24)
  at step (test/ensemble/forest.test.ts:32:23)
  at Object.next (test/ensemble/forest.test.ts:13:51)
  at fulfilled (test/ensemble/forest.test.ts:4:56)

@LSBOSS Thanks for this, I think I can have a look at it soon. We need to set a random state to the RF classifier before running the tests.


Create mansour abdelsalam

void main()
{
print('hello Dr. Youssef');
int age =33;
int h = 170;
int w =65;
print('منصور عبد السلام');
print('age'); print(age);
print(' height and weight');
print(h);
print(w);
double x =10.5;
print('average');
print (x);
print('accounts');
int a =5;
int b =10;
print(a+b);
int m = a+b;
print(m);
print(b-a);
int n =b-a;
print(n);
print(ab);
int o= ab;
print(o);
print(b/a);
double t =b/a;
print (t);
bool aaa    = true;
bool bbb    = false;
print ('print values bool');
print(aaa);
print(bbb);
  String c ="hello";

  print('c');
  print(c);

}

Hi @mans120m,
I'm curious what you are attempting to do with this Pull Request? I'm guessing you are attempting to notify of us of a bug? Please see https://github.com/dart-lang/dart-pad/issues for the open issues for DartPad, and the way to create a new issue.
brett


Remove Commit Strategies

Discussed on last call :
Remove commit strategies:
https://identity.foundation/decentralized-web-node/spec/#commit-strategies

finished and removed 2 week ago.


CA integration stopped working - SSL error

Running HA 2023.4.1
Kia integration 2.6.1
Was working fine until last week. Suddenly everything shows up as unavailable. Tried reloading the integration few times but kept getting same error, something about SSL max attempts exceeded, wrong type.(sorry forgot to take screenshot)
Deleted integration, downloaded from HACS again and now unable to add integration. Shows unexpected error while submitting credentials.
Native app and functionality tested and works fine
KIA SORENTO SX 2022

Same with Kia Niro EV

Same here but for USA region

We need logs for both Canada and USA. I want to confirm this is the same issue.

USA - Kia
This error originated from a custom integration.
Logger: custom_components.kia_uvo.config_flow
Source: custom_components/kia_uvo/config_flow.py:63
Integration: Hyundai / Kia Connect (documentation, issues)
First occurred: 6:47:54 AM (3 occurrences)
Last logged: 6:50:24 AM
Unexpected exception
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 449, in _make_request
six.raise_from(e, None)
File "", line 3, in raise_from
File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 444, in _make_request
httplib_response = conn.getresponse()
File "/usr/local/lib/python3.10/http/client.py", line 1374, in getresponse
response.begin()
File "/usr/local/lib/python3.10/http/client.py", line 318, in begin
version, status, reason = self._read_status()
File "/usr/local/lib/python3.10/http/client.py", line 287, in _read_status
raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/requests/adapters.py", line 489, in send
resp = conn.urlopen(
File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen
retries = retries.increment(
File "/usr/local/lib/python3.10/site-packages/urllib3/util/retry.py", line 550, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/usr/local/lib/python3.10/site-packages/urllib3/packages/six.py", line 769, in reraise
raise value.with_traceback(tb)
File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 449, in _make_request
six.raise_from(e, None)
File "", line 3, in raise_from
File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 444, in _make_request
httplib_response = conn.getresponse()
File "/usr/local/lib/python3.10/http/client.py", line 1374, in getresponse
response.begin()
File "/usr/local/lib/python3.10/http/client.py", line 318, in begin
version, status, reason = self._read_status()
File "/usr/local/lib/python3.10/http/client.py", line 287, in _read_status
raise RemoteDisconnected("Remote end closed connection without"
urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/config/custom_components/kia_uvo/config_flow.py", line 159, in async_step_user
await validate_input(self.hass, user_input)
File "/config/custom_components/kia_uvo/config_flow.py", line 63, in validate_input
token: Token = await hass.async_add_executor_job(
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.10/site-packages/hyundai_kia_connect_api/KiaUvoAPIUSA.py", line 164, in login
response = requests.post(url, json=data, headers=headers)
File "/usr/local/lib/python3.10/site-packages/requests/api.py", line 115, in post
return request("post", url, data=data, json=json, **kwargs)
File "/usr/local/lib/python3.10/site-packages/requests/api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 587, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 701, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.10/site-packages/requests/adapters.py", line 547, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

No mention of ssl.  Please open a new issue. We will keep this thread focused on Canada ssl.   Each api is separate.

No mention of ssl. Please open a new issue. We will keep this thread focused on Canada ssl. Each api is separate.

Deleted USA SSL issue report

We need logs for both Canada and USA. I want to confirm this is the same issue.

Hope this helps:
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 451, in _async_step
    await getattr(self, handler)()
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 684, in _async_call_service_step
    await service_task
  File "/usr/src/homeassistant/homeassistant/core.py", line 1808, in async_call
    task.result()
  File "/usr/src/homeassistant/homeassistant/core.py", line 1845, in _execute_service
    await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
  File "/config/custom_components/kia_uvo/services.py", line 49, in async_handle_force_update
    await coordinator.async_force_update_all()
  File "/config/custom_components/kia_uvo/coordinator.py", line 158, in async_force_update_all
    await self.async_check_and_refresh_token()
  File "/config/custom_components/kia_uvo/coordinator.py", line 166, in async_check_and_refresh_token
    await self.hass.async_add_executor_job(
  File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.10/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 121, in check_and_refresh_token
    self.token: Token = self.api.login(self.username, self.password)
  File "/usr/local/lib/python3.10/site-packages/hyundai_kia_connect_api/KiaUvoApiCA.py", line 124, in login
    response = self.sessions.post(url, json=data, headers=headers)
  File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 635, in post
    return self.request("POST", url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 587, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 723, in send
    history = [resp for resp in gen]
  File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 723, in <listcomp>
    history = [resp for resp in gen]
  File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 266, in resolve_redirects
    resp = self.send(
  File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 701, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/requests/adapters.py", line 563, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='kiaconnect.ca', port=443): Max retries exceeded with url: /tods/api/lgn (Caused by SSLError(SSLError(1, '[SSL: WRONG_SIGNATURE_TYPE] wrong signature type (_ssl.c:997)')))

Same issue. Started april 7 at 2:12 am for me.

I am seeing same thing now.   I will spend some time on this soon.

same here:

Same issue with Hyundai EU.
I had all sensors unavailable, and tried removing and re-adding the integration. I now just get "Unexpected Error" at this point

Still not working for me.
`This error originated from a custom integration.
Logger: custom_components.kia_uvo.config_flow
Source: custom_components/kia_uvo/config_flow.py:63
Integration: Hyundai / Kia Connect (documentation, issues)
First occurred: 12:05:27 PM (1 occurrences)
Last logged: 12:05:27 PM
Unexpected exception
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 386, in _make_request
self._validate_conn(conn)
File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 1042, in validate_conn
conn.connect()
File "/usr/local/lib/python3.10/site-packages/urllib3/connection.py", line 419, in connect
self.sock = ssl_wrap_socket(
File "/usr/local/lib/python3.10/site-packages/urllib3/util/ssl.py", line 449, in ssl_wrap_socket
ssl_sock = ssl_wrap_socket_impl(
File "/usr/local/lib/python3.10/site-packages/urllib3/util/ssl.py", line 493, in _ssl_wrap_socket_impl
return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
File "/usr/local/lib/python3.10/ssl.py", line 513, in wrap_socket
return self.sslsocket_class._create(
File "/usr/local/lib/python3.10/ssl.py", line 1071, in _create
self.do_handshake()
File "/usr/local/lib/python3.10/ssl.py", line 1342, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: WRONG_SIGNATURE_TYPE] wrong signature type (_ssl.c:997)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/requests/adapters.py", line 489, in send
resp = conn.urlopen(
File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen
retries = retries.increment(
File "/usr/local/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='kiaconnect.ca', port=443): Max retries exceeded with url: /tods/api/lgn (Caused by SSLError(SSLError(1, '[SSL: WRONG_SIGNATURE_TYPE] wrong signature type (_ssl.c:997)')))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/config/custom_components/kia_uvo/config_flow.py", line 159, in async_step_user
await validate_input(self.hass, user_input)
File "/config/custom_components/kia_uvo/config_flow.py", line 63, in validate_input
token: Token = await hass.async_add_executor_job(
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.10/site-packages/hyundai_kia_connect_api/KiaUvoApiCA.py", line 124, in login
response = self.sessions.post(url, json=data, headers=headers)
File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 635, in post
return self.request("POST", url, data=data, json=json, **kwargs)
File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 587, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 723, in send
history = [resp for resp in gen]
File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 723, in
history = [resp for resp in gen]
File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 266, in resolve_redirects
resp = self.send(
File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 701, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.10/site-packages/requests/adapters.py", line 563, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='kiaconnect.ca', port=443): Max retries exceeded with url: /tods/api/lgn (Caused by SSLError(SSLError(1, '[SSL: WRONG_SIGNATURE_TYPE] wrong signature type (_ssl.c:997)')))
`

Give the latest a try.

The integration loaded after updating.  I don't see anything to do with EV battery, or range

Nevermind! I deleted and re added it and it worked great and now I have the option to change charge limits. Thank you for the hard work on this

Same error, not working for me, even after removing and re-adding the integration and restarting home assistant.

I had to delete and update the repository itself in HACS, not just the
integration
On Sun, Apr 9, 2023, 7:47 p.m. keithajmani @.***> wrote:

Same error, not working for me, even after removing and re-adding the
integration and restarting home assistant.
—
Reply to this email directly, view it on GitHub
https://github.com/Hyundai-Kia-Connect/kia_uvo/issues/623#issuecomment-1501240006,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZTFDGMQQ4UHXSRKRP2ZUKDXANC7XANCNFSM6AAAAAAWXMTD5U
.
You are receiving this because you commented.Message ID:
@.***>

OK — I applied the fix committed after the last release, and it works! All I did was edit the configuration file myself, under HA/config/custom_components/kia_uvo/manifest.json
https://github.com/Hyundai-Kia-Connect/kia_uvo/compare/v2.8.0...master
Change
"requirements": ["hyundai_kia_connect_api==3.1.7"],
TO
"requirements": ["hyundai_kia_connect_api==3.1.9"],

I can confirm the new update v2.8.1 has resolved the issue.
Thank you!


Header: Test services

Add jest unit tests for services:

[ ] coveo.service
[ ] parcel.service
[ ] search-utilities
[X] search.service

Closing as no longer relevant


Close the code coverage gaps.

Note that the test for "subAspArr.length ===2" is not needed because of the sample schema validation performed on line 70--it is already checking the format of the sample name, that it contains one pipe character.

waiting for the sinon change from the other pr to be merged


[INTEL oneDNN] Added BF16 support for Inv and InvGrad

This PR will add BF16 support for Inv Op and InvGrad Op

Unfortunately I am not the one who can accept this change.
@rohan100jain, can you please decide whether this change is ok? Or find someone else to approve?

@rohan100jain Any update on this PR?

Any update @rohan100jain ?


NSIS target is not creating Registry Key on Windows 10

Installing the application through the generated installer by nsis target, is not creating the windows registry key on Windows 10 (I haven't tested it in others windows versions)
The side effect is that is not possible to uninstall the application on windows control panel.
Following these instrucctions I solved this issue locally:
https://nsis.sourceforge.io/Add_uninstall_information_to_Add/Remove_Programs
The problem is the missing WriteRegStr path (Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\${_APPNAME}\) on makeInstallSection and makeUninstallSection.
This is the code that fixed in my case:
WriteRegStr HKCU \"Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\${_APPNAME}\" \"DisplayName\" \"My Application Name\"\n\nWriteRegStr HKCU \"Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\${_APPNAME}\" \"UninstallString\" \"$\\\"$INSTDIR\\Uninstall.exe$\\\"\"\n\n
What is the correct approach to solve this issue?

I need this information as well


V0.9.0

Ongoing notes:

Better CUDA support (IN PROGRESS)

ColMajor used by default if engine is CUDA.
Transposition will be automatically done when performing transports back to CPU.

cudnn operations supported (IN PROGRESS)
New Ops:

BatchNorm (IN PROGRESS)
InvSqrt

Optimizations:

Optimizations of basic ops to use engine functions if available, otherwise, fall back to using Apply, which adds a penalty from repeatedly calling functions

some exported API is now auto generated

Coverage decreased (-0.004%) to 61.363% when pulling 64ce9c6ebd54a8002638bed6a089400f5c0fd00c on v0.9.0-working into d7b00e031937abd2b6072dbd2256c776186bc620 on master.

Coverage decreased (-0.004%) to 61.363% when pulling 64ce9c6ebd54a8002638bed6a089400f5c0fd00c on v0.9.0-working into d7b00e031937abd2b6072dbd2256c776186bc620 on master.

Awesome.  Excited about the col-major, stuff for more speed.


Application is failing whenever Redis is down

Is your feature request related to a problem? Please describe.
Bean initialization fails when Redis is down, preventing pods from being created. We did not have this problem with Lettuce. We tried using LazyInitialization, which did not fail during bean initialization. However, it will connect to Redis later whenever we receive the first request, which will increase latency. We would like to connect to Redis, if it is working. Otherwise, it should not fail.
Describe the solution you'd like
We are suggesting a new check called skipInitInterrupt to avoid interrupting bean initialization if Redis is down, but to connect the bean to Redis if it is working.
@@ -220,10 +224,14 @@ public class ConfigSupport {
             try {
                 cm.connect();
             } catch (InterruptedException e) {
-                Thread.currentThread().interrupt();
+                if (!configCopy.isSkipInitInterrupt()) {
+                    Thread.currentThread().interrupt();
+                } else {
+                    log.error("Connection to Redis could not be created, but it will not be interrupted.");
+                }
             }
         }
         return cm;
     }

The change you've described in your code appears to address the issue of bean initialization failing when Redis is down. By introducing the isSkipInitInterrupt() check and preventing thread interruption during bean initialization when Redis is down, you allow the application to continue running without interruptions, which can be beneficial in cases where you don't want the entire initialization process to fail due to Redis being unavailable.

@KalpeshPatil02 Yes, I am looking exactly the same thing.

We did not have this problem with Lettuce

In Lettuce lazy initialization is turned on by default.

We would like to connect to Redis, if it is working.

Without throwing exception the invocation will hang forever.

We don't want to stop invocation, it can try after some time to connect. We don't to make Redis as tier 1 service, it can go down, and it can fail, but the application needs to work without it.
If Redis is unavailable when the application starts up, and continue to operate without Redis. Meanwhile, the application in the background will try to connect to Redis periodically. Once the application is connected to Redis.
It will be the same behavior, whenever the application is running and Redis is down after some time, it will try to connect to Redis in the background but it won't interrupt the application because Redis is down.

@mrniko are you planning to add this feature in the next release?

@mrniko I also believe its a genuine problem Application should not fail if Redis is unavailable.


Fixes ⌘ + Enter shortcut in Mail.app not working in El Capitan

@mathiasbynens the last commit fixes the overwrite problem, and also the actual escaping problem that caused the shortcut to not work.

Thanks!


Update kafka config

Signed-off-by: Kevin Su<EMAIL_ADDRESS>TL;DR
Json decoder failed to decode the version in yaml file because the version in sarama.KafkaVersion isn't exported.
Json decoder can only assign the value to the exported field. https://pkg.go.dev/encoding/json#Unmarshal

Struct values encode as JSON objects. Each exported struct field becomes a member of the object, using the field name as the object key, unless the field is omitted for one of the reasons given below.

Add KafkaVersion in the Kafka config, and use sarama.ParseKafkaVersion to parse it.
Remove sender.Close when creating Kafka Client, which is unnecessary. It will be used when sending the event to Kafka.

Type

[x] Bug Fix
[ ] Feature
[ ] Plugin

Are all requirements met?

[x] Code completed
[x] Smoke tested
[ ] Unit tests added
[ ] Code documentation added
[ ] Any pending items have an associated Issue

Complete description
^^^
Tracking Issue

https://github.com/flyteorg/flyte/issues/3117
https://flyte-org.slack.com/archives/CP2HDHKE1/p1669385925148139

Follow-up issue
NA

Make sense, Updated it, thanks.


how to adjust the style of the main button

Thank you for the great component.
I inserted it into my blog page, but the position of the background of the main button is innormal, as shown in the figure, and I can not find a way to adjust it, any hint? Thanks.

Looks like it's related to the device resolution.
Could you help me test something - in devtools, change the svg element's width and height to 1rem and see if the display becomes correct.

Yes, it works by changing the height and width to 1rem, thanks!


Build fails for iOS7.1 SDK on MAC OS X 10.9.3/Xcode 5.1.1

I have succesfully installed all the prerequisites.
According to README.ios, I have tried:
admins-mac-mini:FreeRDP admin$ cmake  -DCMAKE_TOOLCHAIN_FILE=cmake/iOSToolchain.cmake -GXcode
-- Toolchain using default iOS SDK: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk
CMake Error at CMakeLists.txt:23 (project):
  The CMAKE_C_COMPILER:

gcc

  is not a full path and was not found in the PATH.

-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - no
CMake Error at CMakeLists.txt:23 (project):
  The CMAKE_CXX_COMPILER:

g++

  is not a full path and was not found in the PATH.

-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - no
-- Configuring incomplete, errors occurred!

Then I have tried:
admins-mac-mini:FreeRDP admin$ cmake -DCMAKE_TOOLCHAIN_FILE=cmake/iOSToolchain.cmake -GXcode -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DIOS_PLATFORM=SIMULATOR
-- Toolchain using default iOS SDK: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk
-- The C compiler identification is AppleClang <IP_ADDRESS>30040
-- The CXX compiler identification is AppleClang <IP_ADDRESS>30040
-- Check for working C compiler using: Xcode
-- Check for working C compiler using: Xcode -- broken
CMake Error at /Applications/CMake.app/Contents/share/cmake-3.0/Modules/CMakeTestCCompiler.cmake:61 (message):
  The C compiler
  "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang"
  is not able to compile a simple test program.

  It fails with the following output:

   Change Dir: /Users/admin/FreeRDP/CMakeFiles/CMakeTmp

  Run Build Command:"/Applications/CMake.app/Contents/bin/cmakexbuild"  "-project" "CMAKE_TRY_COMPILE.xcodeproj" "build" "-target"  "cmTryCompileExec366925955" "-configuration" "Debug"

  === BUILD TARGET cmTryCompileExec366925955 OF PROJECT CMAKE_TRY_COMPILE
  WITH CONFIGURATION Debug ===

  Check dependencies

  target specifies product type 'com.apple.product-type.tool', but there's no
  such product type for the 'iphonesimulator' platform

  No architectures to compile for (ARCHS=armv7 armv7s, VALID_ARCHS=i386 x86_64).

  ** BUILD FAILED **

  The following build commands failed:

  	Check dependencies

  (1 failure)

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:23 (project)

-- Configuring incomplete, errors occurred!
See also "/Users/admin/FreeRDP/CMakeFiles/CMakeOutput.log".
See also "/Users/admin/FreeRDP/CMakeFiles/CMakeError.log".

Any ideas? It must be something very basic.

Should be fixed on master and no feedback received for a while.


When an error is an object, we get [object Object] as a message.

We probably should JSON-serialize the error...

Better

Fixed in #592


Create 0000-01-02-logicmonk.md

create a branch, create a file and made a commit, and opened a pull request

created a branch, created a file and made a commit, and opened a pull request


MPIrun error

Hello,
Your pipeline seems quite interesting and I am trying to run it. However, I have an issue when trying to run the first doPairwiseBlasts.pl script.
I have the following message:
doPairwiseBlasts.pl proteins blast 1.0 4 0.MACHINE Aliivibrio-salmonicida-LFI1238 Photobacterium-profundum-SS9 Vibrio-cholerae-2740-80 Vibrio-cholerae-M66-2
Preparing sequences for new genomes...
  Aliivibrio-salmonicida-LFI1238.
  Photobacterium-profundum-SS9.
  Vibrio-cholerae-2740-80.
  Vibrio-cholerae-M66-2.
  Done.
Identifying and validating previously processed genomes...
  Done.
BLAST Aliivibrio-salmonicida-LFI1238 against itself...
  Executing the BLASTs using MPI...

Building a new DB, current time: 11/13/2017 16:24:08
New DB name:   Aliivibrio-salmonicida-LFI1238.prepared
New DB title:  Aliivibrio-salmonicida-LFI1238.prepared
Sequence type: Protein
Keep Linkouts: T
Keep MBits: T
Maximum file size:<PHONE_NUMBER>B
Adding sequences from FASTA; added 3911 sequences in 0.106707 seconds.

[xxx:xxx] *** An error occurred in MPI_Send
[xxx:xxx] *** on communicator MPI_COMM_WORLD
[xxx:xxx] *** MPI_ERR_RANK: invalid rank

So after some research it appears this issue is related to MPICH.
I already have openmpi installed on my machine but I have switch the configuration ton mpich using:
update-alternatives --config mpirun
My knowledge of the MPI processes kind of stop here, do you have any idea of what I am doing wrong or how to fix this ?
Thank you for your time,
Adrien

I do not have experience with openmpi, so I am not sure if the doPairwiseBlasts.pl script is compatible with it. It uses the mpiexec command. I recommend testing mpiexec on its own and see if it will work with your installation of openmipi. The error message is indicating the MPI virtual machine does not have enough nodes to run my mpiBlast program. I would also check to be sure that you are using a correct MPI machine file.

Thank you for the answer, I will try to sort this out!