possible issue with JDK 1.8 applications

I use IntelliJ with cmd-key-happy to better emulate emacs keybindings. It's been working fine, but due to some display issues with Apple's JDK, they're moving to a customized version of the 1.8 JDK.
When I try out their early release versions[1], cmd-key-happy ceases to work. I thought this might be because the name had changed, or they were booting up the app differently. But I got the version of IntelliJ that works with cmd-key-happy to do the exact same thing by forcing it to use a pkg installed version of the 1.8 JDK.
So it looks to me like the new JDK 1.8 is the culprit, and it doesn't work well with cmd-key-happy.
Do you have any ideas what's going on?
Thanks for working on this project, nothing else does what it does and I depend on it daily.
[1] https://confluence.jetbrains.com/display/IDEADEV/IDEA+14.1+EAP specifically https://download.jetbrains.com/idea/ideaIU-140.2110.5-custom-jdk-bundled.dmg

I will take a look but last time I used IntelliJ it had an internal option
of switching to Emacs key bindings. I used this and it was mostly
tolerable. It's better on Linux as most of their supplied key bindings work
as you would expect, but on OS X you have to fiddle a bit more as some
clash with the Mac's notion of what should happen. For example, I think
Cmd-backspace in IntelliJ does not do kill-backword-word.
I also note that applications like Xamarin don't work with cmd-key-happy
either. I'm guessing some apps incessantly choose to do their own thing
rather than use the platforms key handling, which can also be a general
accessibility nightmare - the very same mechanism that cmd-key-happy uses.
On 3 Feb 2015, at 20:51, Joshua McMichael<EMAIL_ADDRESS>wrote:
I use IntelliJ with cmd-key-happy to better emulate emacs keybindings. It's
been working fine, but due to some display issues with Apple's JDK, they're
moving to a customized version of the 1.8 JDK.
When I try out their early release versions[1], cmd-key-happy ceases to
work. I thought this might be because the name had changed, or they were
booting up the app differently. But I got the version of IntelliJ that
works with cmd-key-happy to do the exact same thing by forcing it to use a
pkg installed version of the 1.8 JDK.
So it looks to me like the new JDK 1.8 is the culprit, and it doesn't work
well with cmd-key-happy.
Do you have any ideas what's going on?
Thanks for working on this project, nothing else does what it does and I
depend on it daily.
[1] https://confluence.jetbrains.com/display/IDEADEV/IDEA+14.1+EAP
specifically
https://download.jetbrains.com/idea/ideaIU-140.2110.5-custom-jdk-bundled.dmg
—
Reply to this email directly or view it on GitHub
https://github.com/andymcd/cmd-key-happy/issues/19.

Yeah, I chose IntelliJ b/c its emacs keybindings seemed to be the best of the modern IDEs.
To clarify: cmd-key-happy has been working fine with IntelliJ all the way up to the current release. It's only when its running on the v1.8 VM (when I use their early-release EAP, or force the release version to use 1.8* instead of 1.6+ by modifying its config plist) that cmd-key-happy ceases to work with it.
So I don't think it's an issue with IntelliJ (as the exact same version of IntelliJ behaves differently with different VMs), but with the VM.

I understand that it used to work; what I'm wary of is if it is doing its own thing in terms of key handling -- which is why I mentioned Xamarin as it looks like a native app but it too seemed to override whatever path cmd-key-happy was able to intercept. I have an hour free and will try it out now...

Are you running 10.10.2?

Would you mind sharing your .cmd-key-happy.lua file?

@andymcd Sure, I've pasted it in below. You can see I tried every variation of IntelliJ's name I could find.
@frobware I believe I'm using the latest version, but I couldn't find where the version was specified in the code - I just got a new iMac and downloaded/compiled cmd-key-happy not more than two weeks ago.
Function Set(t)
   local s = {}
   for _,v in pairs(t) do s[v] = true end
   return s
end

function set_contains(t, e)
   return t[e]
end

-- The set of global shortcuts we don't want to swap cmd/alt.

global_excludes = Set{ "shift-cmd-tab",
                       "cmd-tab"}

-- The set of apps we want to consider swapping keys for, with some
-- notable exclusions. The exclusion means that a "cmd-w" will do the
-- normal OS Terminal behaviour. If you omit items then you would
-- have to use "alt-w" to close a terminal window.

apps = {
   Terminal = { exclude = Set{ "shift-cmd-[",
                               "shift-cmd-]",
                               "cmd-c",
                               "cmd-v",
                               "cmd-w",
                               "cmd-1",
                               "cmd-2",
                               "cmd-3",
                               "cmd-t",
                               "cmd-n",
                               "cmd-`",
                         } },
   Eclipse  = { exclude = {} },
   Xcode    = { exclude = {} },
   ["iTerm"] = { exclude = {} },
   ["LightTable"] = { exclude = {} },
   ["WebStorm"] = { exclude = {} },
   ["java"] = { exclude = {} },
   ["IntelliJ IDEA"] = { exclude = {} },
   ["IntelliJ IDEA 14"] = { exclude = {} },
   ["IntelliJIdea14"] = { exclude = {} },
   ["IntelliJ IDEA 14 EAP"] = { exclude = {} },
   ["Parallels Desktop"] = {},
}

-- Return true to swap cmd/alt, otherwise false.

-- This function is passed a table comprising the following keys:
--
--   key_str_seq        key sequence (e.g., "shift-cmd-e")
--   alt                true if the alt key was pressed
--   fn                 true if the fn key was pressed
--   control            true if the control key was pressed
--   shift              true if the shift key was pressed
--   cmd                true if the command key was pressed
--   keycode            numeric virtual keycode (e.g., 48)
--   appname            the frontmost application (e.g., Terminal)
--
-- The order of the modifier keys in key-str-eq is always:
--   shift control alt cmd fn, separated by a hyphen ("-").

function swap_keys(t)
   -- for i,v in pairs(t) do print(i,v) end
   -- print(t.appname)
   if set_contains(global_excludes, t.key_str_seq) then
      return false
   end
   if not apps[t.appname] then
      return false
   end
   local excludes = apps[t.appname]["exclude"]
   if (excludes ~= nil and set_contains(excludes, t.key_str_seq)) then
      -- print("exluding: ", t.key_str_seq)
      return false
   end
   return true
end

I have some time to look into this now.
The name is "IntelliJ IDEA". Can you give me an example that doesn't work for you?

"IntelliJ IDEA" works fine for the release of IntelliJ that uses Apple's built-in JRE. However, if you download any of the pre-release versions that bundle Oracle's latest JRE (e.g. ideaIU-140.2493.5-custom-jdk-bundled.dmg, or force the release version to use Oracle's JRE, cmd-key-happy ceases to work with any of the name variations I've tried that you can see in the config file above.

Let me try based on your link. Once I have it installed should I change the preferences to use Emacs keybindings -- or, what's the symptom I should be looking for?

Pretty sure the app name is "IntelliJ IDEA":
aim@imac:~/cmd-key-happy/cpp
: ./cmd-key-happy -l | grep Intelli
IntelliJ IDEA
This -l option is on the dev branch - some of which is not currently pushed.

Can we hone in on what doesn't work for you?  I have installed the pre-release based on your link. I have used your .lua file and, with Emacs keybindings set in IntelliJ, I can 'cmd-f', 'cmd-b' in a source file within IntelliJ. Which bit am I missing?

@frobware, @andymcd yeah verifying cmd-f, cmd-b with emacs keybindings in IntelliJ is a good test case. That doesn't work for me, or at least didn't when I tried it a couple weeks ago.
I'll reinstall the EAP build of IntelliJ tonight and restart everything to see if I am still experiencing the same behavior. Thank you for looking into this!
I do recall a couple years ago, after doing a major upgrade, that cmd-key happy didn't appear to work but then magically started working a couple days later, could be a startup issue maybe?

@jmcmichael - any joy?
I have "cmd-f" and "cmd-b" doing the right thing in IntelliJ.

Hey guys, sorry I've been swamped and haven't wanted to meddle with my development setup for the past week but should be able to take some time in the next few days to get back to troubleshooting on this. I want to remove/reinstall the latest versions of everything just to make sure I'm starting from a clean slate.

OK, I've had a chance to update cmd-key-happy to the latest and do some more exploring with the IntelliJ IDEA EAP release.
It's still not working properly, but I've discovered that cmd-key-happy is halfway there. It's managed to swap the command key with the option key, but the command key doesn't appear be switched out, or indeed to do anything at all. I have no idea why it seems to be working for @andymcd but not me.
To reproduce:

Download and install the latest IDEA EAP (currently it's the Feb 20th release)

Ensure that cmd-key-happy is looking for IntelliJ by adding it to your cmd-key-happy rcfile. I've got the following, and I'm not sure which one is working:

   ["IntelliJ IDEA"] = { exclude = {} },
   ["IntelliJ IDEA-EAP"] = { exclude = {} },
   ["IntelliJ IDEA EAP"] = { exclude = {} },

Fire up Intellij, open up Preferences and find the Keymap section.

There's a 'Find Actions by Shortcut' helper to the right next to the command search box, it's handy to use for testing b/c you get immediate feedback on the keys and modifiers being pressed. Click that.

Press option-f, note that ⌘F is shown in the 'First Stroke' box. Press cmd-f, note that the First Stroke box remains unchanged, as if IntelliJ hasn't detected either the option or the f key being pressed.

I cannot reproduce this.
I just tried the following:

pkill cmd-key-happy
make uninstall
remove both cmd-key-happy and terminal from authorised apps in system prefs -> security...
make && make install && make install-plist

cmd-key-happy should now be running, popping up the security access, which I granted.

cmd-key-happy-restart

I have the following setting in my .lua file:
["IntelliJ IDEA"] = { exclude = Set { "cmd-`"} },

And then I tried your "Find Actions by Shortcut". For me, if strike "cmd-f" I get "alt-f", and vice-versa.

I cannot reproduce this.
I just tried the following:

pkill cmd-key-happy
make uninstall
remove both cmd-key-happy and terminal from authorised apps in system prefs -> security...
make && make install && make install-plist

cmd-key-happy should now be running, popping up the security access, which I granted.

cmd-key-happy-restart

I have the following setting in my .lua file:
["IntelliJ IDEA"] = { exclude = Set { "cmd-`"} },

And then I tried your "Find Actions by Shortcut". For me, if strike "cmd-f" I get "alt-f", and vice-versa.

I cannot reproduce this.
I just tried the following:

pkill cmd-key-happy
make uninstall
remove both cmd-key-happy and terminal from authorised apps in system prefs -> security...
make && make install && make install-plist

cmd-key-happy should now be running, popping up the security access, which I granted.

cmd-key-happy-restart

I have the following setting in my .lua file:
["IntelliJ IDEA"] = { exclude = Set { "cmd-`"} },

And then I tried your "Find Actions by Shortcut". For me, if strike "cmd-f" I get "alt-f", and vice-versa.

If you do all the steps I just highlighted, you could also try:

pkill cmd-key-happy
/usr/local/bin/cmd-key-happy

Grant access to "Terminal" -- the dialog that pops up should be "Terminal", not "cmd-key-happy" would like to use u...
Then try your IntelliJ scenario. This way would allow cmd-key-happy to run in the foreground.

You could also try all of this in a new (temporary) user account to ensure nothing is being cached, etc. Perhaps even using the 'Guest' account.

OK, I will work on pinpointing the problem and post a new issue when I do. Thanks very much for your time on this.


Unable to test with GRU or RNN cells

I am on tensorflow 1.0, however it failed on 0.12 too.
Traceback (most recent call last):
  File "train.py", line 114, in <module>
    main()
  File "train.py", line 48, in main
    train(args)
  File "train.py", line 98, in train
    for i, (c, h) in enumerate(model.initial_state):
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 516, in __iter__
    raise TypeError("'Tensor' object is not iterable.")
TypeError: 'Tensor' object is not iterable.

Regards.

I can get various cells working. Using Tensorflow 1.0.0 GPU build. I did have to do a tweak for the most recent version as configuring multiple layers seems to have changed a bit.  Check out PR #89 .  I also added the latest NASCell.  Hope you get it working!

I have the same problem with tf 1.0.0 CPU, the problem is that GRUCell's state is not a tuple like in LSTMCell. Thus, when trying to enumerate(model.initial_state), it's not working.

Thanks for the report @tgy I'll gave it another look and confirmed it is broken for both rnn and gru models.
Filing as a bug.
Feel free to submit a PR if you have a fix that works across all 4 cell types including lstm and nas.
Traceback (most recent call last):
  File "train.py", line 140, in <module>
    main()
  File "train.py", line 55, in main
    train(args)
  File "train.py", line 115, in train
    for i, (c, h) in enumerate(model.initial_state):
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 502, in __iter__
    raise TypeError("'Tensor' object is not iterable.")
TypeError: 'Tensor' object is not iterable.

@ubergarm, a workaround is to avoid state_is_tuple=True. However tf will complain. I have also some code that supports some of the rnn cells and I did that but I think I will end up writing code for the two cases. Also NASCell has been updated recently, I think it is using the tuple state now (on github master branch). so it should work if you rebuild tf.

There's a Google seq2seq implementation that has been open sourced a few days ago. The code is very generic and might be a good source of inspiration for making char-rnn model's cell type generic.

Thanks @pisiiki I'll give it a try, I did remove that state_is_tuple=True which probably broke two of the cells.  If nas supports it now then I can put it back and hopefully all will be well again.
Thanks @tgy I wanna check that out, its hard to come into an existing repo with many features and figure out the basics: this reference should help.


8.3.1 emma2

merging Varun's edits to publication as couldn't push to publication branch

accidentally merging to main


The ports with the original names have been re-preserved. Nothing has changed.

Originally posted by @NikolayUlianov in https://github.com/ausHaus/ioBroker.megadd/issues/5#issuecomment-425904217

the solution you proposed doesn't work.


Updated all dependencies

Do you mind removing the version bump and changelog from this patch?  I prefer to put the version bump on a separate commit, and the changelog is out of date (I'll generate one when I do the release).

Done

Thanks for the contribution!  I'll most likely be putting a release out tonight.

Version 3.0.3 has been released with this change included.


Add NWM v3.0 retrospective to loading

https://noaa-nwm-retrospective-3-0-pds.s3.amazonaws.com/index.html
I think this will be pretty easy, basically just updating a few pydantic models at least for CONUS.  We have the crosswalk in TEEHR-HUB.
FYI @samlamont

@samlamont this is compete right?

Addressed in PR #109


TST: Travis failure

I investigate recent Travis failure on python 3.8.1
Relevant infos: https://github.com/mne-tools/mne-python/pull/8202#issuecomment-686089259

Travis has returned green now. I will restart the job a few times to confirm

ok merge when you feel like it


implemented exporters from pull request #93

This pull request applies the development about exporting data from the h5 ecosystem to various file format written by N Tappy on v3 version of pymodaq. Because of tremendous change between v3 and v4 I reimplemented the code here using new layouts and data management.
Could you please test them and eventually discuss changes?

Hi Reviewer Nico or others!,
I cleaned a bt the source code and made sure it is working for some exporters (didn't do hyperspy...). I'm however thinking that just one simple file extension may be restrictive for the export. For instance the ascii exporter is in fact a txt where the data are put accordingly to specifications from the flimj library. But we could find other programs needing txt file in another layout. Do you think we could identify the exporters with a bit more details? For instance the full file filter!
Cheers

Hi Seb!
Looks good, I will try to review it this week :)


[bug]: cgroup config overwritten by raspi-config

Prerequisites

[X] I have searched for existing issues that already report this problem, without success.

EmbassyOS Version
0.3.1
Device
Laptop/Desktop
Device OS
Linux
Device OS Version
Kubuntu 20.04.4 LTS
Browser
Firefox
Browser Version
101.0.1
Current Behavior
/boot/cmdline.txt does not contain cgroup configs after build
Expected Behavior
/boot/cmdline.txt should contain cgroup configs after build
Steps to Reproduce

Build image
check /boot/cmdline.txt - see cgroup configs
flash image
initialize image
check /boot/cmdline.txt - see cgroup configs gone

Anything else?
No response

closed by #1630


Need the ability to filter all the shop carts with a specific product

As a  administrator
I need to find all shopcarts with a specific product
So that I can get a list of carts if I need to take an action for carts with a product
Details and Assumptions

The API should be RESTful

Acceptance Criteria
Given many shopcarts each with some items
When administrator finds shopcart with a specific product in query string
Then a list of shopcarts that contain the product is returned.

Hello, guys, when I was working on this issue, I had a problem with the model design. In current design, the id of product is the primary key. And each product will have a shopcart_id. But in fact, one kind of product can be added to many shopcarts. The problem is how we can filter shopcarts with a given product. We should filter by the product id or the name? if we filter by product id, in current design, the same product in real world has many ids in our database if this product is added to different shopcarts. Need help here.


How to Configure Proxy

I am trying to follow the steps in https://tibcosoftware.github.io/flogo/faas/how-to/ to build a Flogo app from CLI.
I am getting proxy related errors.
I tried setting Env properties using below commands in the same session.
  set https_proxy=http:proxy.inbcu.com:80/
  set http_proxy=http://proxy.inbcu.com:80/

After setting the above proxy, getting different error.
Please help.
Error without proxy:
Creating Flogo App: myapp
Installing: github.com/project-flogo/core@latest
Error creating project: go get github.com/project-flogo/core@latest: module github.com/project-flogo/core: Get https://proxy.golang.org/github.com/project-flogo/core/@v/list: dial tcp: lookup proxy.golang.org: no such host

Error with Proxy:
Creating Flogo App: myapp
Installing: github.com/project-flogo/core@latest
Error creating project: go get github.com/project-flogo/core@latest: module github.com/project-flogo/core: Get https://proxy.golang.org/github.com/project-flogo/core/@v/list: proxyconnect tcp: dial tcp :80: connectex: No connection could be made because the target machine actively refused it.

Hi @akpuvvada it looks like the DNS server you're using is unable to resolve proxy.golang.org. TIBCOSoftware/flogo#514

Can you try disabling the golang proxy? Set the following environment variable GOPROXY to direct:
export GOPROXY=direct

Hi Matt, that did not help either. Got same error.

I see that you have http_proxy , I think that's what which may be causing error . May be  set https_proxy=http://proxy.inbcu.com:80/ . Though not completely sure.

I see that you have http_proxy , I think that's which may be causing error . May be
set https_proxy=http://proxy.inbcu.com:80/ . Though not completely sure.

Hi Samip, thanks that worked.
May I know how to make build work from Flogo UI?
Thanks
Anil

Do you mean, how would you build flogo app from UI ?

No, I am getting an error while trying to build App from UI. When I check in Flogo container logs, it is giving similar error as when I don't use set proxy_http in CLI. I have Proxy set-up on Docker settings. Not sure where else to set-up.

BTW, I am able to build the Flogo app if I am connected to my home network. I need to be able to do that from office / corp network.

@fcastill

It looks like this question is answered and the one about the Web UI was already answered in TIBCOSoftware/flogo#514. Can we close this issue?


Add Logging to sidenav

Temporary hardcoded fix until dynamic sidenav is created.
[closes #514]

:+1:


OpenSumi Pre-Release

OpenSumi Pre-Release Summary

/pre-release

/pre-relase

/pre-release

/pre-release

/pre-release

/pre-release

/pre-release

/pre-release

/pre-release

/pre-release


Update directory-administrative-units.md

Fixed branding issues (can't use M365) and updated Office 365 portal to be Microsoft 365 admin center

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

Hi @ScottSchnoll - Could you make future content updates in the private repo? Thanks!

#sign-off


Vectors indexed by a literal are incorrectly flagged as a Literal in generating ReferenceTargets

Type of issue: Bug Report
Please provide the steps to reproduce the problem:
    class Bar extends RawModule {
      val vec = IO(Input(Vec(3,Bool())))
      val lit = 1.U
      val notLit = vec(lit)
    }
    class Foo extends RawModule {
        val bar = Module(new Bar)
        bar.notLit.toTarget
    }
    ChiselStage.elaborate(new Foo)
  }

What is the current behavior?
Vectors which are indexed by literal values should successfully be converted to Reference Target *** FAILED ***
[info]   chisel3.internal.ChiselException: Illegal component name: vec[UInt<1>("h01")] (note: literals are illegal)
[info]

What is the expected behavior?
I would get a Reference Target attached to the not-literal vector element
Please tell us about your environment:
3.5.x
Other Information

What is the use case for changing the behavior?
wanting to put reference targets on specific vector elements

Notably, if you instead iterate over the vector and mark things as targets, or scala-y grab the index, it works fine
    class Bar extends RawModule {
      val vecIn = IO(Input(Vec(3,Bool())))
      val vecOut = IO(Output(Vec(3, Bool())))
      vecOut := vecIn
    }
    class Foo extends RawModule {
        val bar = Module(new Bar)
        val targets = bar.vecIn.map(_.toTarget)
        println(targets)
    }
    ChiselStage.elaborate(new Foo)
  }

I think the fix here is not making this work, but just giving a better error message in all cases when someone tries to do:
val foo = vec(anyChiselUInt)
foo.toTarget

Depending whether anyChiselUInt is a literal or not, it is expected to always fail, but the error messages are inconsistent and not great.


Mark wrong inputs in Subscriptions

Description
As a user, I want to know where I made a mistake in creating or editing form for Subscription.

Reasons
Fields with wrong data aren't marked. The user has to be informed where he made a mistake.

Acceptance Criteria

[ ] Validation for all fields
[ ] Fields with wrong input is marked on red

We should validate the inputs in the way they're validated on the backend. The following links might be very helpful:

https://github.com/kyma-project/kyma/blob/95e0208f3536003cec82877049b16416bcc92671/components/eventing-controller/pkg/handlers/nats.go#L279
https://github.com/kyma-project/kyma/blob/95e0208f3536003cec82877049b16416bcc92671/components/eventing-controller/pkg/handlers/eventtype/clean.go#L46
https://github.com/kyma-project/kyma/blob/95e0208f3536003cec82877049b16416bcc92671/components/eventing-controller/pkg/handlers/eventtype/parse.go#L13
https://github.com/kyma-project/kyma/blob/95e0208f3536003cec82877049b16416bcc92671/components/eventing-controller/pkg/handlers/eventtype/clean.go#L15


[Feature Request] Synchronous version of popup_menu() as alternative to inputlist()

Is your feature request about something that is currently impossible or hard to do? Please describe the problem.
popup_menu is a nice UI for selecting from a list of things, but it's tricky to use due to the response only being delivered asynchronously via a callback. I'd like to be able to interchange inputlist with a popup menu version of that without significant code restructuring.
The precise use case is as follows:
currently in vimspector, when you start debugging, you get asked which debug configuration you wish to use. This uses inputlist():

But from a UI perspective, it's attractive to look into something like this:

The challenge being that Vimspector needs to ask for input and get the result synchronously (as you get with inputlist). The async callback progrming model for the menu requires quite significant restructuring of the code flows.
Describe the solution you'd like
I'd like to be able to do something like this:
if exists( '*popup_menu' )
  let selection = popup_inputlist( ... )
else
  let selection = inputlist( ... )
endif
let item_selected = list_of_options[ selection - 1 ] " or whatever
" etc.

On the face of it, this would seem plausible in the sense that the input is already being filtered by the filter function and so execution is logically synchronous, and that popup_menu and inputlist seem to share similar properties in terms of use case.
Describe alternatives you've considered*
I could restructure the vimspector code to always work as if asking for user input is async, rather than the way it is today expecting to get synchronous response.
Additional context
It looks like there is a precedent in some code for synchronously waiting for a menu result when mousemodel is popup and we get a right-click, or :popup... pum_show_popupmenu and friends.
If it is very hard to do, or very bad for other reasons, then i'm sure i can manage the flow in vimspector with some refactoring (or just stick to inputlist), but wonder if this is possible.

@puremourning a workaround, somewhat ugly, but should work:
vim9script

var winid = popup_create(['red', 'green', 'blue'], {})
while 1
    redraw
    var ch = nr2char(getchar(0))
    if ch == 'q' || ch == "\<ESC>"
        popup_close(winid)
        break
    endif
    sleep 15m
endwhile
echo "I should be visible after popup is closed!"

Instead of using getchar(), it's better to have the callback store the result in a variable, and check that variable in the wait loop.
Then using the cursor to select an entry will work.

both solutions use busy-waiting. wouldn't sleeping in  select()/poll()/etc. waiting for input be better?

Just stumbled upon my function that I wrote last year that I can't finish in a nice way because Vim doesn't have a synchronous popup_menu() or "wait" option for it. I'm just commenting again, hoping that it will be implemented.

This can be useful.  I wonder what implementation would work best.  Simplest is to only do this for popup_menu().  But what if someone implements this in another way?  We could add a "wait for any popup to be closed" function.  That avoids the busy-waiting.  It does require checking that the right popup was closed and it's callback was invoked.  An even more generic way would be to wait for any callback to be invoked.  Then you can also break out when a timer expires, for example.

For me, as I put in the original I actually don't want a callback, just an API similar to inputlist(). The awkwardness with a callback in this case comes from managing global state to get the result.
Alternatively, we could take your second idea (eg a popup_wait(winid) that waits for that popup to close and returns the result of the close callback for winid. That would also work easily and obviously.

For me, as I put in the original I actually don't want a callback,
just an API similar to inputlist(). The awkwardness with a callback in
this case comes from managing global state to get the result.
Alternatively, we could take your second idea (eg a
popup_wait(winid) that waits for that popup to close and returns
the result of the close callback for winid. That would also work
easily and obviously.

It still requires a close callback to handle the result.
If we only want to do this for popup_menu() it might be possible, but
that is a very specific solution.  I am sure plugin writers will son
come up with reasons for a more generic solution.
Since Vim will be doing a blocking wait, using a global variable should
not be much of a problem.  It should be possible to use a script-local
variable in most cases.
--
hundred-and-one symptoms of being an internet addict:
174.
/// Bram Moolenaar -- @.*** -- http://www.Moolenaar.net   \
///                                                                      \
\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

is a "wait" flag/parameter possible for popup_menu() and Co?

It may be asking too much, or going too far. But this has the hallmarks of something that promises/futures were trying to solve. My proposed 'popup_wait(winid)' is not much different from a future_get(). And returning from the callback a value could be achieved with a 'promise_put()'.
Just a thought.


Frontend Python or JS

Hello. Not an issue but a question. Love this. What does anyone recommend a front end for this and is it better to run this in js or python. I have a local python install for now but want to create some sort of gui front end. Am a very low coder so do you need an API or is there another way. Thanks

My experience (and I say that as a Flask Base contributor) is that Python in the browser is ways behind JS.
I put my embedchain behind Flask with Gunicorn in the backend, and NextJS in the frontend. The chat window is based on https://github.com/zahidkhawaja/langchain-chat-nextjs but highly modified to include welcome messages and history.
We have our own template that you can try, I haven't tried it myself.: https://github.com/embedchain/qna-bot-template-js

Thanks for taking the time to reply. I will see if I can get the js template running. Do you have discord/other place to ask questions/community shares etc. thanks

Hey @mynumu : please find our discord here: https://discord.com/invite/6PzXDgEjG5


Add documentation about CONTINUATION_TOKEN_FORMAT env var

In #164 we added the CONTINUATION_TOKEN_FORMAT env var because Juno and Infura uses different continuation token formats for paginated requests.
Infura uses the index of the last element as continuation token, while Juno uses a mix of the block number and the index of the last element.

This env var was remove in #235 .


Simpler Hello World style example?

I've gone through all the samples and I'm finding both the camera2Basic and cameraXBasic apps to be anything but basic. The camera2Basic CameraFragment.kt file is 480 lines long. The cameraXBasic CameraFragment.kt is 602 lines long. I appreciate all the work and thought that has gone into exemplifying all the APIs have to offer, but at the same time, I thought the whole point of cameraX was to abstract things and make it easier to set up?
Is there no simpler Hello World style examples out there to help us get started? I mean something with no GUI components, other than a single PreviewView, no buttons, no imageCapture, just the bare bones to get a working app. I'm happy to read the docs and API reference to add on everything later, but as it stands, I'm just hacking away at this example code until something breaks. Especially for those of us developing in Java, having to read through all this Kotlin to figure out what is necessary to make a simple Java app work, is quite time consuming. CodeLabs has some example much closer to what I'm hoping for, but these are also all in Kotlin. Am I alone in this?
The docs all seem to acknowledge they are out of date by stating things like:

Note: The following guide is for the older, deprecated Camera API. For new or advanced camera applications, the newer android.hardware.camera2 API is recommended.

But there doesn't seem to be any walk-through on how to start a camera2 app. Am I missing this somewhere in the docs?
Also, there are a few links at the bottom of the docs for Java based camera2Basic apps, but these links all appear to be 404 dead.

Thanks for the feedback, for a simpler step-by-step guide to help you learn about CameraX I would recommend looking at our codelab or the training guide (see the sections under "Documentation").


Fix infinite recursion

Code review checklist

[x] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR)
[x] Title summarizes what is changing
[x] Commit messages are meaningful (see this for details)
[ ] Tests have been included and/or updated
[ ] Docstrings have been included and/or updated, as appropriate
[ ] Standalone docs have been updated accordingly
[ ] Changelog(s) has/have been updated, as needed (see CHANGELOG.md, no need
to update for typo fixes and such).

(Inception PR)
This fixes the infinite recursion we are getting when trying to call super suing type(obj). By defining the replacement methods inside a method each replacement is bound to the original class without needing to look it up.

Most of this PR addresses a problem with python2 which led all tests on my end fail. I added a small test which tests the correct behavior in the case of attrs classes which inherit from each other, which is also fixed in this PR.

I fixed this error:
E               ValueError:

Non keyword-only attributes are not allowed after a keyword-only attribute

Newer versions of attrs (including the one I use) no longer have this restriction. https://github.com/python-attrs/attrs/pull/559

Thanks @markusschmaus, great work! This looks good to me.
With this change we can publish this in the next minor release and drop Python 2 in the next major release.
I noticed a leftover docstring so you can remove it. BTW, do you want to clean this branch yourself or should I squash merge?

Squash merge sounds great to me


Disagreement w/ FFT in limit of uniform grid

In your implementation walkthrough, you show that your nfft implementation agrees with your ndft implementation. However, you never show that either agree with the FFT in the limit of a uniform grid, and, having never considered the NFFT before, I figured this would be a natural place for me to start before I began using non-uniform grids. I am particularly interested in transforming measurements made on a non-uniform grid into Fourier space, so my discussion below will be focused on the adjoint transform.
Using the below MWE, I find that, in the limit of a uniform grid, the ndft_adjoint implementation disagrees with the FFT:
import numpy as np
import matplotlib.pyplot as plt

# Construct *uniform* timebase to benchmark `ndft_adjoint` against `fft`.
# (Note: `nfft` docs state that algorithms expect -0.5 <= t < 0.5.)
Npts = 128
dt = 1. / Npts
t = np.arange(-0.5, 0.5, dt)

# Construct signal. (As we will see, the problem is in the phase
# of the adjoint NDFT computation. To ensure that the phase
# is not computed from numerical noise, we should select a
# signal frequency such that
#
#   (signal frequency) * (observation window) != integer
#
# This ensures that there is significant spectral leakage
# to compute a sensible phase outside of the spectral peaks.
f0 = 5.1
x = np.sin(2 * np.pi * f0 * t)

# Compute FFT, shifting zero-frequency component of spectrum to center.
f_fft = np.fft.fftshift(np.fft.fftfreq(len(x), d=dt))
xhat_fft = np.fft.fftshift(np.fft.fft(x))

# Compute adjoint NDFT on *uniform* grid -- should be equal to FFT
xhat_ndft_adj = ndft_adjoint(t, x, len(f_fft))

# ... but `fft` basis is exp(-2j * pi * f * t), whereas the
# `ndft_adjoint` basis is exp(+2j * pi * f * t). Thus, benchmarking
# against the FFT requires the reverse indexing of `xhat_ndft_adj.
xhat_ndft_adj = xhat_ndft_adj[::-1]

# The frequencies corresponding to `ndft_adjoint` must also be
# appropriately reversed (and negated) for comparison to the FFT.
f_ndft_adj = -f_fft[::-1]

# Finally, plot magnitude and phase.
fig, axes = plt.subplots(2, 1, sharex=True)

# Magnitudes are in agreement...
axes[0].semilogy(f_fft, np.abs(xhat_fft), '-o', label='fft')
axes[0].semilogy(f_ndft_adj, np.abs(xhat_ndft_adj), label='ndft_adjoint')
axes[0].set_ylabel('magnitude [arbitrary]')
axes[0].legend()

# ... but phase is way off for default `nfft` NDFT adjoint algorithm
axes[1].plot(f_fft, np.unwrap(np.angle(xhat_fft)), '-o')
axes[1].plot(f_ndft_adj, np.unwrap(np.angle(xhat_ndft_adj)))
axes[1].set_xlabel('frequency')
axes[1].set_ylabel('phase [radians]')

plt.show()

Making a simple modification to your ndft_adjoint code, as detailed below, and re-running the above MWE produces agreement with the FFT.
def ndft_adjoint(x, f, N):
    """Compute the adjoint non-equispaced direct Fourier transform

    \hat{f}_k = \sum_{0 \le j < N} f_j \exp(2 \pi i k x_j)

    where k = range(-N/2, N/2)

    Parameters
    ----------
    x : array_like, shape=(M,)
        The locations of the data points.
    f : array_like, shape=(M,)
        The amplitudes at each location x
    N : int
        The number of frequencies at which to evaluate the result

    Returns
    -------
    f_hat : ndarray, shape=(N,)
        The amplitudes corresponding to each wave number k = range(-N/2, N/2)

    See Also
    --------
    nfft_adjoint : adjoint non-equispaced fast Fourier transform
    ndft : non-equispaced direct Fourier transform
    nfft : non-equispaced fast Fourier transform
    """
    x, f = np.broadcast_arrays(x, f)
    assert x.ndim == 1

    N = int(N)
    assert N % 2 == 0

    k = -(N // 2) + np.arange(N)

    # Compute phase of the exponential for each value of `k` and `x`.
    # In a similar vein to the FFT, the phase corresponding to `k[0]`
    # and `x[0]` should vanish, the phase corresponding to `k[-1]` and
    # `x[-1]` should be maximal, and so on and so forth.
    ph = 2j * np.pi * (k - k[0]) * ((x - x[0])[:, None])

    # Compute transform. With the above FFT-like ordering in the phase `ph`,
    # we must also remember to shift the zero-frequency component of the
    # spectrum to the center, just as we normally need to do with the FFT.
    fhat = np.dot(f, np.exp(ph))
    fhat = np.fft.fftshift(fhat)

    return fhat

I hope the commentary around my modifications is clear, but please let me know if more details would be helpful or if you have further questions.
Just as you test the equivalence of your ndft and nfft implementations in your walkthrough, I've also verified the equivalence of your ndft_adjoint and nfft_adjoint implementations. Thus, the above phase-computation error also plagues nfft_adjoint. I've glanced through the Keiner, Kunis, & Potts paper, but I can't even pretend that I understand it, so I'm not sure if the fix for nfft_adjoint is as simple as what I've suggested above for ndft_adjoint...
Thanks for starting this package, and I look forward to seeing where it goes!

Thanks!
The FFT uses a different frequency convention than the standard form of the DFT, which manifests either as a frequency shift, or a phase shift, or both.
Because this is a fast approximation of the DFT, I think sticking with the current form makes the most sense. It might be useful to add some documentation about this difference, though.


How to insert md-radio-group in md-menu with vertical alignment

I need to insert radio button in menu list with vertical alignment
This is my code:
<button md-button [mdMenuTriggerFor]="menu">Menu
<md-menu #menu="mdMenu">

Option 1
Option 2

Please kindly assist me, whether is is possible as the above code shows horizontal alignment.
Also if I add attribute "md-menu-item" it give the error "More than one component matched on this element"

Hi Olivier,
I'm facing some problem in my project requirement
I need to insert radio button as menu item in menu list with the help of
angular.io material
for the same i have raised issue #8193
https://github.com/callemall/material-ui/issues/8193 .
I would like to request you please provide me solution or reopen the same
issue.
Kindly do the needful
Thanks
Ajay
.
On Thu, Sep 14, 2017 at 12:34 PM, Olivier Tassinari <
<EMAIL_ADDRESS>wrote:

Closed #8193 https://github.com/callemall/material-ui/issues/8193.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/callemall/material-ui/issues/8193#event-1248613140,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AeeAj4YzlgaFplV_tZocDu84rOIAvi7Lks5siM_2gaJpZM4PXGq5
.

Please post your issue on the correct repository.


TooltipReference always sets tabIndex to 0

In the Tooltip component, the TooltipReference always sets tabIndex to 0. There might be a reason for that but let's say I'm builing a Dialog with a close button (x) at the top right. The button also has a tooltip wrapping it. Now the problem is that even though I set my close button to have tabindex -1 (to focus something else instead) the button will have tabindex reset to 0 which will give it focus and the notification shows up when the dialog opens.
I've managed to hack around it...but maybe there could be an alternative or more supported escape hatch or something.

Using Reakit at work? Please, consider asking your company to sponsor us. ❤
https://opencollective.com/reakit

Hey @jole78
If I understand correctly, you want to disable tabbing on the close button because you want the initial focus to be on a different component within the dialog. Is this accurate?
If that's the case, I think you're trying to approach the problem with the wrong solution.
First of all, disabling the tab behavior on that element is a an accessibility issue. Since you chose to use Reakit, I guess you don't want that, right? That's why the tabIndex prop is enforced on that component.
The solution is to use the unstable_initialFocusRef prop on Dialog:
import React from "react";
import { useDialogState, Dialog } from "reakit";

function MyDialog() {
  const initialFocusRef = React.useRef();
  const dialog = useDialogState();

  return (
    <Dialog unstable_initialFocusRef={initialFocusRef} {...dialog}>
      <MyCloseButton onClick={dialog.hide} />
      <AnotherComponent ref={initialFocusRef} />
    </Dialog>
  );
}

Since it's unstable, I recommend you to abstract it into a new component that you control:
import { Dialog as ReakitDialog } from "reakit";

function Dialog({ initialFocusRef, ...props }) {
  return <ReakitDialog unstable_initialFocusRef={initialFocusRef} {...props} />;
}

If it changes in the future (unlikely, but it's better to be safe), you only need to update this component.

I'm probably thinking about this from the wrong angle here but maybe some "pseudo" code can bring insights:
Dialog here is a custom "wrapped" version of RK Dialog.
<Dialog>
<SomeFormInADialog />
....

// inside custom dialog comp
          <Tooltip text="Close the dialog (or press ESC)">
            <Button>
              <Icon as={CloseDialogIcon} />
            </Button>
          </Tooltip>

        // render children from user of dialog here
      {children}

I don't want to force the user of my custom dialog comp to set an initial focus thing. What happens now is that since the Button with the Tooltip is rendered first it gets the initial focus and the Tooltip shows up when the Dialog opens up.
I can of course move the Button to the end of the dialog and absolute position it on top of the children...that works...but...??

I see. In this case, I think I would keep the initial focus going onto the close button by default, but I'd not use a tooltip. A button with a visually hidden element inside would be enough to me:
<Button>
  <VisuallyHidden>Close the dialog</VisuallyHidden>
  <Icon as={CloseDialogIcon} />
</Button>

The close icon should be direct enough for visually abled users. They don't need a tooltip for this.
But, yes, if you want to stick with the tooltip, I think putting the element below the content is the easiest workaround (not sure if it's the best one as it would mess up with the tab order).
Regarding your original question, I actually checked it and Reakit doesn't override the html props you pass in. So, passing tabIndex={-1} to the tooltip reference element, despite being a terrible idea, should render with tabindex="-1". You can test it in isolation on the playground. So I guess your implementation aren't passing the props properly.

Thanks for the input Diego. Guess it turned out being more of question. At least now I know which options I have. Gonna close the issue. Again tnx 👍


fix: k8s otel document path error

[ ] If this pull request closes/resolves/fixes an existing issue, replace the issue number. Closes #.
[ ] Update the CHANGES log.

otel-rules/mysql.yaml
otel-rules/postgresql.yaml
I also found that these files were missing

otel-rules/mysql.yaml
otel-rules/postgresql.yaml
I also found that these files were missing

Missing or path wrong?

otel-rules/mysql.yaml
otel-rules/postgresql.yaml
I also found that these files were missing

Missing or path wrong?

Maybe the file name was changed.

otel-rules/mysql.yaml
otel-rules/postgresql.yaml
I also found that these files were missing

Missing or path wrong?

Maybe the file name was changed.

@yswdqz Could you recheck and fix the docs?


"estimate_range" and "estimate_full_charge_range" entity values

Version 1.5.4
The entity "estimate_range" and the entity "estimate_full_charge_range" seems to always have the same value.
Looks to me as if the "estimate_full_charge_range" has the "estimate_range" value.
I don't know if this is a 1.5.4 issue. It used to be correct before.

one is the actual estimate range, the other one is if you have fully charge your car.
so if you can drive 200km on 100%, this is your full charge range, but if you still have 20%,  you can only drive  40km on your current battery level

OK - must be a failure on my Polestar end :-)

i'll take a look, maybe there is some wrong code or something

Same issue here.

The full range value is based on the normal range and calculated with the battery percentage
I can't reproduce this issue, but maybe try this beta maybe that should be the issue:
https://github.com/leeyuentuen/polestar_api/releases/tag/1.5.5

Works for me now in 1.5.5:

I can confirm this to be fixed with the 1.5.5. release.

https://github.com/leeyuentuen/polestar_api/releases/tag/1.6.0


Release Google.Cloud.Config.V1 version 1.2.0

Changes in this release:
No API surface changes; just dependency updates.

Created release for Google.Cloud.Config.V1-1.2.0


netty连接断开导致branch rollback fail 请问怎么解决？

[ ] I have searched the issues of this repository and believe that this is not a duplicate.

Ⅰ. Issue Description
Ⅱ. Describe what happened
If there is an exception, please attach the exception trace:
Just paste your stack trace here!

Ⅲ. Describe what you expected to happen
Ⅳ. How to reproduce it (as minimally and precisely as possible)

xxx
xxx
xxx

Ⅴ. Anything else we need to know?
Ⅵ. Environment:

JDK version :
OS :
Others:

Please paste your exception trace.


feature(docs): creating landing page for python docs and add build python docs

Purpose

Add a tile for the python documentation at the lading page of the StreamPipes docs.
This tile contains a link to the static python doc assets, which are initially provided with this PR as well.

@dominikriemer do you have an idea why the build crashes?


[JOSS Review] Paper Report on state of the field

JOSS wants the software papers to contain a comparison to the state of the field, i.e.
State of the field: Do the authors describe how this software compares to other commonly-used packages?
Hence, could you add a section in your paper where you shortly compare cuallee to other data testing frameworks, like soda, great_expectations, or others?
This issue is part of a JOSS Review

Thank you @FlorianK13 we will include an additional section that address this request. Would you advise that we can then dismiss the word count limit of the paper?

I don't know, maybe you can ask the editor in the Review Issue from JOSS?

Fixed by #235


ArangoDB 3.1.11 cluster crashing under load

Currently I have a Spark Streaming application leveraging  java arangodb driver V4.10 to do ingestions to an Arango cluster V3.1.11.  I noticed that under load, my arango cluster crashes.  Below is the details.  I have tried insertDocuments and importDocuments which yielded the same issue.  Do you guys know what could be causing the error and how to address it?
2017-02-25T10:54:42Z [23648] ERROR synchronizeOneShard: long call to syncCollection for shard s5100370 {"barrierId":"10395295","lastLogTick":"10393864","collections":[{"id":"1100092","name":"s5100370"}]} start time:  Sat Feb 25 2017 05:54:34 GMT-0500 (EST) end time:  Sat Feb 25 2017 05:54:41 GMT-0500 (EST)
2017-02-25T10:54:42Z [23648] INFO {replication} connected to master at tcp://osdi-01:8529, id<PHONE_NUMBER>59636, version 3.1, last log tick 10399704
2017-02-25T10:54:43Z [23648] INFO {replication} connected to master at tcp://osdi-01:8529, id<PHONE_NUMBER>59636, version 3.1, last log tick 10401001
2017-02-25T10:54:44Z [23648] INFO {replication} connected to master at tcp://osdi-01:8529, id<PHONE_NUMBER>59636, version 3.1, last log tick 10402043
2017-02-25T10:55:53Z [23648] INFO {replication} connected to master at tcp://osdi-02:8529, id<PHONE_NUMBER>84382, version 3.1, last log tick 9889347
2017-02-25T10:55:54Z [23648] INFO {replication} connected to master at tcp://osdi-02:8529, id<PHONE_NUMBER>84382, version 3.1, last log tick 9890210
2017-02-25T10:59:31Z [23648] INFO {replication} connected to master at tcp://osdi-01:8529, id<PHONE_NUMBER>59636, version 3.1, last log tick 10660915
2017-02-25T10:59:36Z [23648] INFO {replication} connected to master at tcp://osdi-01:8529, id<PHONE_NUMBER>59636, version 3.1, last log tick 10663374
2017-02-25T10:59:36Z [23648] INFO {replication} connected to master at tcp://osdi-01:8529, id<PHONE_NUMBER>59636, version 3.1, last log tick 10663374
2017-02-25T10:59:39Z [23648] INFO {replication} connected to master at tcp://osdi-01:8529, id<PHONE_NUMBER>59636, version 3.1, last log tick 10669851
2017-02-25T10:59:39Z [13522] ERROR {cluster} ClusterComm::performRequests: got no answer from shard:s5100273:/_db/OSDI/_api/document?collection=s5100273&waitForSync=false&returnNew=false&returnOld=false with error 4
2017-02-25T10:59:39Z [24784] INFO ArangoDB 3.1.11 [linux] 64bit, using VPack 0.1.30, ICU 54.1, V8 <IP_ADDRESS>, OpenSSL 1.0.1e-fips 11 Feb 2013
2017-02-25T10:59:39Z [24784] INFO using SSL options: SSL_OP_CIPHER_SERVER_PREFERENCE, SSL_OP_TLS_ROLLBACK_BUG
2017-02-25T10:59:39Z [24784] INFO Starting up with role PRIMARY
2017-02-25T10:59:39Z [24784] INFO file-descriptors (nofiles) hard limit is 96000, soft limit is 96000
2017-02-25T10:59:39Z [24784] INFO running WAL recovery (1 logfiles)
2017-02-25T10:59:39Z [24784] INFO replaying WAL logfile '/data/data/arango/db/journals/logfile-13670779.db' (1 of 1)
2017-02-25T10:59:45Z [24784] INFO WAL recovery finished successfully
2017-02-25T10:59:46Z [13522] ERROR {cluster} cannot create connection to server 'PRMR-4ca5c6f0-48a9-459a-95b8-2cfa2a7ea89e' at endpoint 'tcp://osdi-m:8529'
2017-02-25T10:59:46Z [13522] ERROR {cluster} cannot create connection to server 'PRMR-4ca5c6f0-48a9-459a-95b8-2cfa2a7ea89e' at endpoint 'tcp://osdi-m:8529'
2017-02-25T10:59:46Z [13522] ERROR {cluster} ClusterComm::performRequests: got BACKEND_UNAVAILABLE or TIMEOUT from shard:s5100310:/_db/OSDI/_api/collection/s5100310/count
2017-02-25T10:59:46Z [13522] ERROR {cluster} ClusterComm::performRequests: got BACKEND_UNAVAILABLE or TIMEOUT from shard:s5100307:/_db/OSDI/_api/collection/s5100307/count
2017-02-25T10:59:46Z [13522] ERROR {cluster} cannot create connection to server 'PRMR-4ca5c6f0-48a9-459a-95b8-2cfa2a7ea89e' at endpoint 'tcp://osdi-m:8529'
2017-02-25T10:59:46Z [13522] ERROR {cluster} cannot create connection to server 'PRMR-4ca5c6f0-48a9-459a-95b8-2cfa2a7ea89e' at endpoint 'tcp://osdi-m:8529'
2017-02-25T10:59:46Z [13522] ERROR {cluster} ClusterComm::performRequests: got BACKEND_UNAVAILABLE or TIMEOUT from shard:s5100310:/_db/OSDI/_api/collection/s5100310/count
2017-02-25T10:59:46Z [13522] ERROR {cluster} ClusterComm::performRequests: got BACKEND_UNAVAILABLE or TIMEOUT from shard:s5100307:/_db/OSDI/_api/collection/s5100307/count
2017-02-25T10:59:46Z [13522] ERROR {cluster} cannot create connection to server 'PRMR-4ca5c6f0-48a9-459a-95b8-2cfa2a7ea89e' at endpoint 'tcp://osdi-m:8529'
2017-02-25T10:59:46Z [13522] ERROR {cluster} cannot create connection to server 'PRMR-4ca5c6f0-48a9-459a-95b8-2cfa2a7ea89e' at endpoint 'tcp://osdi-m:8529'
2017-02-25T10:59:46Z [13522] ERROR {cluster} ClusterComm::performRequests: got BACKEND_UNAVAILABLE or TIMEOUT from shard:s5100310:/_db/OSDI/_api/collection/s5100310/count
2017-02-25T10:59:46Z [13522] ERROR {cluster} ClusterComm::performRequests: got BACKEND_UNAVAILABLE or TIMEOUT from shard:s5100307:/_db/OSDI/_api/collection/s5100307/count
2017-02-25T10:59:46Z [13522] ERROR {cluster} cannot create connection to server 'PRMR-4ca5c6f0-48a9-459a-95b8-2cfa2a7ea89e' at endpoint 'tcp://osdi-m:8529'
2017-02-25T10:59:46Z [13522] ERROR {cluster} cannot create connection to server 'PRMR-4ca5c6f0-48a9-459a-95b8-2cfa2a7ea89e' at endpoint 'tcp://osdi-m:8529'
2017-02-25T10:59:46Z [13522] ERROR {cluster} ClusterComm::performRequests: got BACKEND_UNAVAILABLE or TIMEOUT from shard:s5100310:/_db/OSDI/_api/collection/s5100310/count
2017-02-25T10:59:46Z [13522] ERROR {cluster} ClusterComm::performRequests: got BACKEND_UNAVAILABLE or TIMEOUT from shard:s5100307:/_db/OSDI/_api/collection/s5100307/count
2017-02-25T10:59:47Z [13522] ERROR {cluster} cannot create connection to server 'PRMR-4ca5c6f0-48a9-459a-95b8-2cfa2a7ea89e' at endpoint 'tcp://osdi-m:8529'
2017-02-25T10:59:47Z [13522] ERROR {cluster} cannot create connection to server 'PRMR-4ca5c6f0-48a9-459a-95b8-2cfa2a7ea89e' at endpoint 'tcp://osdi-m:8529'
2017-02-25T10:59:47Z [13522] ERROR {cluster} ClusterComm::performRequests: got BACKEND_UNAVAILABLE or TIMEOUT from shard:s5100310:/_db/OSDI/_api/collection/s5100310/count
2017-02-25T10:59:47Z [13522] ERROR {cluster} ClusterComm::performRequests: got BACKEND_UNAVAILABLE or TIMEOUT from shard:s5100307:/_db/OSDI/_api/collection/s5100307/count
2017-02-25T10:59:47Z [24784] INFO JavaScript using startup '//usr/share/arangodb3/js', application '/var/lib/arangodb3-apps'
2017-02-25T10:59:49Z [13522] ERROR {cluster} cannot create connection to server 'PRMR-4ca5c6f0-48a9-459a-95b8-2cfa2a7ea89e' at endpoint 'tcp://osdi-m:8529'
2017-02-25T10:59:49Z [13522] ERROR {cluster} cannot create connection to server 'PRMR-4ca5c6f0-48a9-459a-95b8-2cfa2a7ea89e' at endpoint 'tcp://osdi-m:8529'
2017-02-25T10:59:49Z [13522] ERROR {cluster} ClusterComm::performRequests: got BACKEND_UNAVAILABLE or TIMEOUT from shard:s5100310:/_db/OSDI/_api/collection/s5100310/count
2017-02-25T10:59:49Z [13522] ERROR {cluster} ClusterComm::performRequests: got BACKEND_UNAVAILABLE or TIMEOUT from shard:s5100307:/_db/OSDI/_api/collection/s5100307/count
2017-02-25T10:59:52Z [13522] ERROR {cluster} cannot create connection to server 'PRMR-4ca5c6f0-48a9-459a-95b8-2cfa2a7ea89e' at endpoint 'tcp://osdi-m:8529'
2017-02-25T10:59:52Z [13522] ERROR {cluster} cannot create connection to server 'PRMR-4ca5c6f0-48a9-459a-95b8-2cfa2a7ea89e' at endpoint 'tcp://osdi-m:8529'
2017-02-25T10:59:52Z [13522] ERROR {cluster} ClusterComm::performRequests: got BACKEND_UNAVAILABLE or TIMEOUT from shard:s5100310:/_db/OSDI/_api/collection/s5100310/count
2017-02-25T10:59:52Z [13522] ERROR {cluster} ClusterComm::performRequests: got BACKEND_UNAVAILABLE or TIMEOUT from shard:s5100307:/_db/OSDI/_api/collection/s5100307/count
2017-02-25T10:59:54Z [24784] INFO Cluster feature is turned on. Agency version: {"server":"arango","version":"3.1.11","license":"community"}, Agency endpoints: http+tcp://osdi-02:25001, http+tcp://osdi-m:25001, http+tcp://osdi-01:25001, server id: 'PRMR-4ca5c6f0-48a9-459a-95b8-2cfa2a7ea89e', internal address: tcp://osdi-m:8529, role: PRIMARY
2017-02-25T10:59:54Z [24784] INFO using heartbeat interval value '1000 ms' from agency
2017-02-25T10:59:54Z [24784] INFO using endpoint 'http+tcp://osdi-m:8529' for non-encrypted requests
2017-02-25T10:59:54Z [24784] INFO bootstrapped DB server PRMR-4ca5c6f0-48a9-459a-95b8-2cfa2a7ea89e
2017-02-25T11:00:01Z [24784] INFO ArangoDB (version 3.1.11 [linux]) is ready for business. Have fun!

Do you have the logs from all machines for us please? Plus please give us a rough idea of the hardware, the setup (#agents, #coordinators, #db servers), RAM, #CPU, OS, container? That's really where we have a chance of trying to make sense of the problem. Many thanks in advance.

I made the same experience today with 3.1.11, but in a single server setup. It's reproducable by starting an arangodb server instance with docker run -d -e ARANGO_NO_AUTH=1 --name arangodb -p 8529:8529 arangodb:3.1.11 and inserting many documents in parallel using the arangodb-java-driver-async driver in java (I used 10 threads). The docker container stops without leaving a log message. Can you tell me how I can help you debugging this error?

Just investigated more closely when it happens. I found out that flooding the database with insertDocument requests (not waiting the callback function) makes arangodb crash. It's definitely not a proper use of the java driver, but maybe it might be of interest to catch this error.
while(true) {
    BaseDocument doc = new BaseDocument();
    doc.addAttribute("name", getRandomString());
    this.arangodb.db("test").collection("testCollection").insertDocument(doc);
}

I am currently running 3 coordinators, 3 db servers, and 3 agencies on bare metal.  Each machines specs:

256GB RAM
32 cores
CENTOS 6.8

I run my service using supervisor.  Below is the command i use for each of the 3 nodes.  Also i have attached the logs for each of the machines after running for about 20 mins under load.
arangod-01.txt
arangod-02.txt
arangod-m.txt
Server 1
# start agency
/usr/sbin/arangod --server.endpoint tcp://<IP_ADDRESS>:25001 --agency.my-address tcp://%(host_node_name)s:25001 --server.authentication false --agency.size 3 --agency.supervision true --agency.activate true  --database.directory /data/data/arango/agency

# start db server
/usr/sbin/arangod --server.authentication=false --server.endpoint tcp://%(host_node_name)s:8529 --cluster.my-address tcp://%(host_node_name)s:8529 --cluster.my-local-info %(host_node_name)s-db --cluster.my-role PRIMARY --cluster.agency-endpoint tcp://osdi-m:25001 --cluster.agency-endpoint tcp://osdi-01:25001 --cluster.agency-endpoint tcp://osdi-02:25001 /data/data/arango/db

# start coordinator
/usr/sbin/arangod --server.authentication=false --server.endpoint tcp://%(host_node_name)s:8530 --cluster.my-address tcp://%(host_node_name)s:8530 --cluster.my-local-info %(host_node_name)s-coordinator --cluster.my-role COORDINATOR --cluster.agency-endpoint tcp://osdi-m:25001 --cluster.agency-endpoint tcp://osdi-01:25001 --cluster.agency-endpoint tcp://osdi-02:25001 /data/data/arango/coordinator

Server 2
# start agency
/usr/sbin/arangod --server.endpoint tcp://<IP_ADDRESS>:25001 --agency.my-address tcp://%(host_node_name)s:25001 --server.authentication false --agency.size 3 --agency.supervision true --agency.activate true  --database.directory /data/data/arango/agency

# start db server
/usr/sbin/arangod --server.authentication=false --server.endpoint tcp://%(host_node_name)s:8529 --cluster.my-address tcp://%(host_node_name)s:8529 --cluster.my-local-info %(host_node_name)s-db --cluster.my-role PRIMARY --cluster.agency-endpoint tcp://osdi-m:25001 --cluster.agency-endpoint tcp://osdi-01:25001 --cluster.agency-endpoint tcp://osdi-02:25001 /data/data/arango/db

# start coordinator
/usr/sbin/arangod --server.authentication=false --server.endpoint tcp://%(host_node_name)s:8530 --cluster.my-address tcp://%(host_node_name)s:8530 --cluster.my-local-info %(host_node_name)s-coordinator --cluster.my-role COORDINATOR --cluster.agency-endpoint tcp://osdi-m:25001 --cluster.agency-endpoint tcp://osdi-01:25001 --cluster.agency-endpoint tcp://osdi-02:25001 /data/data/arango/coordinator

Server 3
# start agency
/usr/sbin/arangod --server.endpoint tcp://<IP_ADDRESS>:25001 --agency.my-address tcp://%(host_node_name)s:25001 --server.authentication false --agency.size 3 --agency.supervision true --agency.activate true --agency.endpoint tcp://osdi-m:25001 --agency.endpoint tcp://osdi-01:25001 --agency.endpoint tcp://osdi-02:25001 --database.directory /data/data/arango/agency

# start db server
/usr/sbin/arangod --server.authentication=false --server.endpoint tcp://%(host_node_name)s:8529 --cluster.my-address tcp://%(host_node_name)s:8529 --cluster.my-local-info %(host_node_name)s-db --cluster.my-role PRIMARY --cluster.agency-endpoint tcp://osdi-m:25001 --cluster.agency-endpoint tcp://osdi-01:25001 --cluster.agency-endpoint tcp://osdi-02:25001 /data/data/arango/db

# start coordinator
/usr/sbin/arangod --server.authentication=false --server.endpoint tcp://%(host_node_name)s:8530 --cluster.my-address tcp://%(host_node_name)s:8530 --cluster.my-local-info %(host_node_name)s-coordinator --cluster.my-role COORDINATOR --cluster.agency-endpoint tcp://osdi-m:25001 --cluster.agency-endpoint tcp://osdi-01:25001 --cluster.agency-endpoint tcp://osdi-02:25001 /data/data/arango/coordinator

Here's the java code I am using to do ingestion.  This is using the java driver 4.10 (latest) in a SPARK 1.6 environment
	@SuppressWarnings("serial")
	@Override
	public void call(JavaPairRDD<String, Iterable<List<BaseDocument>>> pArg0) throws Exception {

		pArg0.foreachPartition(new VoidFunction<Iterator<Tuple2<String, Iterable<List<BaseDocument>>>>>() {

			@Override
			public void call(Iterator<Tuple2<String, Iterable<List<BaseDocument>>>> pArg0) throws Exception {

				final Map<String, List<BaseDocument>> documentMapping = new HashMap<String, List<BaseDocument>>();

				// some work to populate map

				final ArangoDB.Builder builder = new ArangoDB.Builder();
				for (int i = 0; i < fArangoDBServers.length; i++) {
					builder.host(fArangoDBServers[i], fArangoDBPort[i]);
				}

				final ArangoDB arangoDB = builder.build();
				final ArangoDatabase database = arangoDB.db(fArangoDBDatabaseName);

				try {
					for (final String types : documentMapping.keySet()) {
						int countNodes = 0;
						final long t1 = System.currentTimeMillis();
						final ArangoCollection collection = getCollection(types, database);
						final List<BaseDocument> documents = documentMapping.get(types);
						collection.importDocuments(documents);

						final long t2 = System.currentTimeMillis();
						LOGGER.info("Ingestion time:\t" + (t2 - t1) + " SIZE:\t" + countNodes);
					}
				} finally {
					arangoDB.shutdown();
				}
			}
		});
	}

@idlefella I tried to reproduce these problems, first with the single server running in a Docker container exactly as you describe. So far, I have not been able to crash it, even with considerably more than 10 threads. What would be useful is more details on your setup:

host operating system
Docker daemon version
underlying filesystem for Docker (depends on Linux distribution, for example Debian uses aufs which has known problems)
underlying filesystem of the OS (we know that bttrfs has issues!)
size of the machine (number of cores and memory)
the exact Java client problem leading to a crash
the output of docker inspect of the crashed container (might indicate an error code)
the output of docker logs of the crashed container
Once we can reproduce this crash, we can fix it. Once single server is working, cluster can follow.

Hi @neunhoef
Here are the infos:

OS: Ubuntu 16.04.2 LTS xenial
Kernel: 4.4.0-62-generic #83-Ubuntu SMP
The docker storage driver is aufs
The underlying filesystem is ext4
Tested with

Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz
32GB of RAM

Java: openjdk version "1.8.0_121"

I created a small project with which I'm able to crash it: https://github.com/trivo-ch/arangodb-crasher
Docker inspect output
[
    {
        "Id": "b9b1e8feeade667a662e76c552bbd2566f6bdcde411c3b540fb71a588c710b7a",
        "Created": "2017-03-01T15:33:17.229800849Z",
        "Path": "/entrypoint.sh",
        "Args": [
            "arangod"
        ],
        "State": {
            "Status": "exited",
            "Running": false,
            "Paused": false,
            "Restarting": false,
            "OOMKilled": false,
            "Dead": false,
            "Pid": 0,
            "ExitCode": 139,
            "Error": "",
            "StartedAt": "2017-03-01T15:33:17.595612887Z",
            "FinishedAt": "2017-03-01T15:35:42.429559504Z"
        },
        "Image": "sha256:5aacf198141660cdf398d51e668dc4a18e1d70a346c94094abdda1d72f919a03",
        "ResolvConfPath": "/var/lib/docker/containers/b9b1e8feeade667a662e76c552bbd2566f6bdcde411c3b540fb71a588c710b7a/resolv.conf",
        "HostnamePath": "/var/lib/docker/containers/b9b1e8feeade667a662e76c552bbd2566f6bdcde411c3b540fb71a588c710b7a/hostname",
        "HostsPath": "/var/lib/docker/containers/b9b1e8feeade667a662e76c552bbd2566f6bdcde411c3b540fb71a588c710b7a/hosts",
        "LogPath": "/var/lib/docker/containers/b9b1e8feeade667a662e76c552bbd2566f6bdcde411c3b540fb71a588c710b7a/b9b1e8feeade667a662e76c552bbd2566f6bdcde411c3b540fb71a588c710b7a-json.log",
        "Name": "/arangodb",
        "RestartCount": 0,
        "Driver": "aufs",
        "MountLabel": "",
        "ProcessLabel": "",
        "AppArmorProfile": "",
        "ExecIDs": null,
        "HostConfig": {
            "Binds": null,
            "ContainerIDFile": "",
            "LogConfig": {
                "Type": "json-file",
                "Config": {}
            },
            "NetworkMode": "default",
            "PortBindings": {
                "8529/tcp": [
                    {
                        "HostIp": "",
                        "HostPort": "8529"
                    }
                ]
            },
            "RestartPolicy": {
                "Name": "no",
                "MaximumRetryCount": 0
            },
            "AutoRemove": false,
            "VolumeDriver": "",
            "VolumesFrom": null,
            "CapAdd": null,
            "CapDrop": null,
            "Dns": [],
            "DnsOptions": [],
            "DnsSearch": [],
            "ExtraHosts": null,
            "GroupAdd": null,
            "IpcMode": "",
            "Cgroup": "",
            "Links": null,
            "OomScoreAdj": 0,
            "PidMode": "",
            "Privileged": false,
            "PublishAllPorts": false,
            "ReadonlyRootfs": false,
            "SecurityOpt": null,
            "UTSMode": "",
            "UsernsMode": "",
            "ShmSize": 67108864,
            "Runtime": "runc",
            "ConsoleSize": [
                0,
                0
            ],
            "Isolation": "",
            "CpuShares": 0,
            "Memory": 0,
            "NanoCpus": 0,
            "CgroupParent": "",
            "BlkioWeight": 0,
            "BlkioWeightDevice": null,
            "BlkioDeviceReadBps": null,
            "BlkioDeviceWriteBps": null,
            "BlkioDeviceReadIOps": null,
            "BlkioDeviceWriteIOps": null,
            "CpuPeriod": 0,
            "CpuQuota": 0,
            "CpuRealtimePeriod": 0,
            "CpuRealtimeRuntime": 0,
            "CpusetCpus": "",
            "CpusetMems": "",
            "Devices": [],
            "DiskQuota": 0,
            "KernelMemory": 0,
            "MemoryReservation": 0,
            "MemorySwap": 0,
            "MemorySwappiness": -1,
            "OomKillDisable": false,
            "PidsLimit": 0,
            "Ulimits": null,
            "CpuCount": 0,
            "CpuPercent": 0,
            "IOMaximumIOps": 0,
            "IOMaximumBandwidth": 0
        },
        "GraphDriver": {
            "Name": "aufs",
            "Data": null
        },
        "Mounts": [
            {
                "Type": "volume",
                "Name": "11e45ce621ca8e476a48ca9399e01764d39f73b8676edc37a49281c99e551838",
                "Source": "/var/lib/docker/volumes/11e45ce621ca8e476a48ca9399e01764d39f73b8676edc37a49281c99e551838/_data",
                "Destination": "/var/lib/arangodb3",
                "Driver": "local",
                "Mode": "",
                "RW": true,
                "Propagation": ""
            },
            {
                "Type": "volume",
                "Name": "146cde47821c630c2ebe05d779238437732acf33a0778738be7cd792c6fb5e1c",
                "Source": "/var/lib/docker/volumes/146cde47821c630c2ebe05d779238437732acf33a0778738be7cd792c6fb5e1c/_data",
                "Destination": "/var/lib/arangodb3-apps",
                "Driver": "local",
                "Mode": "",
                "RW": true,
                "Propagation": ""
            }
        ],
        "Config": {
            "Hostname": "b9b1e8feeade",
            "Domainname": "",
            "User": "",
            "AttachStdin": false,
            "AttachStdout": false,
            "AttachStderr": false,
            "ExposedPorts": {
                "8529/tcp": {}
            },
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": [
                "ARANGO_NO_AUTH=1",
                "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "ARCHITECTURE=amd64",
                "DEB_PACKAGE_VERSION=1",
                "ARANGO_VERSION=3.1.11",
                "ARANGO_URL=https://www.arangodb.com/repositories/arangodb31/Debian_8.0",
                "ARANGO_PACKAGE=arangodb3-3.1.11-1_amd64.deb",
                "ARANGO_PACKAGE_URL=https://www.arangodb.com/repositories/arangodb31/Debian_8.0/amd64/arangodb3-3.1.11-1_amd64.deb",
                "ARANGO_SIGNATURE_URL=https://www.arangodb.com/repositories/arangodb31/Debian_8.0/amd64/arangodb3-3.1.11-1_amd64.deb.asc"
            ],
            "Cmd": [
                "arangod"
            ],
            "ArgsEscaped": true,
            "Image": "arangodb:3.1.11",
            "Volumes": {
                "/var/lib/arangodb3": {},
                "/var/lib/arangodb3-apps": {}
            },
            "WorkingDir": "",
            "Entrypoint": [
                "/entrypoint.sh"
            ],
            "OnBuild": null,
            "Labels": {}
        },
        "NetworkSettings": {
            "Bridge": "",
            "SandboxID": "66a418971c9716be6ad031cdfa4983c8fc8095e4754fcf49e929210a99f0abe5",
            "HairpinMode": false,
            "LinkLocalIPv6Address": "",
            "LinkLocalIPv6PrefixLen": 0,
            "Ports": null,
            "SandboxKey": "/var/run/docker/netns/66a418971c97",
            "SecondaryIPAddresses": null,
            "SecondaryIPv6Addresses": null,
            "EndpointID": "",
            "Gateway": "",
            "GlobalIPv6Address": "",
            "GlobalIPv6PrefixLen": 0,
            "IPAddress": "",
            "IPPrefixLen": 0,
            "IPv6Gateway": "",
            "MacAddress": "",
            "Networks": {
                "bridge": {
                    "IPAMConfig": null,
                    "Links": null,
                    "Aliases": null,
                    "NetworkID": "3c074b40ec1cf69393d6e9008d084169ba94cebf49bf4ef847651b1c1ba77c21",
                    "EndpointID": "",
                    "Gateway": "",
                    "IPAddress": "",
                    "IPPrefixLen": 0,
                    "IPv6Gateway": "",
                    "GlobalIPv6Address": "",
                    "GlobalIPv6PrefixLen": 0,
                    "MacAddress": ""
                }
            }
        }
    }
]

Output of docker logs
Initializing database...Hang on...
Database initialized...Starting System...
2017-03-01T15:33:22Z [1] INFO ArangoDB 3.1.11 [linux] 64bit, using VPack 0.1.30, ICU 54.1, V8 <IP_ADDRESS>, OpenSSL 1.0.1t  3 May 2016
2017-03-01T15:33:22Z [1] INFO using SSL options: SSL_OP_CIPHER_SERVER_PREFERENCE, SSL_OP_TLS_ROLLBACK_BUG
2017-03-01T15:33:22Z [1] INFO Starting up with role SINGLE
2017-03-01T15:33:22Z [1] INFO file-descriptors (nofiles) hard limit is 1048576, soft limit is 1048576
2017-03-01T15:33:22Z [1] INFO JavaScript using startup '/usr/share/arangodb3/js', application '/var/lib/arangodb3-apps'
2017-03-01T15:33:22Z [1] INFO using endpoint 'http+tcp://<IP_ADDRESS>:8529' for non-encrypted requests
2017-03-01T15:33:22Z [1] INFO Please note that a new bugfix version '3.1.12' is available
2017-03-01T15:33:22Z [1] INFO ArangoDB (version 3.1.11 [linux]) is ready for business. Have fun!
2017-03-01T15:33:43Z [1] INFO created application directory '/var/lib/arangodb3-apps/_db/test' for database 'test'

It crashes silently. It takes about 1 minute of inserting documents.
Client error log
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building arangodb-crasher 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- exec-maven-plugin:1.4.0:java (default-cli) @ arangodb-crasher ---
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.
[WARNING]
java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:293)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: java.net.SocketException: Connection reset
	at com.arangodb.internal.velocystream.Connection.writeIntern(Connection.java:212)
	at com.arangodb.internal.velocystream.ConnectionAsync.write(ConnectionAsync.java:89)
	at com.arangodb.internal.velocystream.CommunicationAsync.send(CommunicationAsync.java:159)
	at com.arangodb.internal.velocystream.CommunicationAsync.execute(CommunicationAsync.java:117)
	at com.arangodb.internal.velocystream.CommunicationAsync.execute(CommunicationAsync.java:46)
	at com.arangodb.internal.ArangoExecutorAsync.execute(ArangoExecutorAsync.java:53)
	at com.arangodb.ArangoCollectionAsync.insertDocument(ArangoCollectionAsync.java:83)
	at ch.trivo.ArangoDBCrasher.main(ArangoDBCrasher.java:33)
	... 6 more
Caused by: java.net.SocketException: Connection reset
	at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:115)
	at java.net.SocketOutputStream.write(SocketOutputStream.java:155)
	at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
	at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
	at com.arangodb.internal.velocystream.Connection.writeIntern(Connection.java:210)
	... 13 more
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:50 min
[INFO] Finished at: 2017-03-01T16:35:43+01:00
[INFO] Final Memory: 27M/3833M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.4.0:java (default-cli) on project arangodb-crasher: An exception occured while executing the Java class. null: InvocationTargetException: java.net.SocketException: Connection reset -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

I hope this helps. Let me know if I can provide more infos/logs.

Thanks for this. The exit code 139 = 128+11 means that the arangod process crashed with a segmentation violation. We need to get to the bottom of this. We will investigate today, also thanks for the code.

Sorry, I have tried to run this on different machines for more than an hour each and no crash occurred. I am running the exact same Docker image, your code and the very same configuration. I have tried <IP_ADDRESS> and the Docker IP address. I am slowly running out of ideas how to replicate the crash.
Is it at all possible that your machine has a faulty memory bank? Have you ever run a memory test like memtester on it?

Hi, any news on this? or can we close this issue?

Hi @dothebart, @neunhoef
I was quite busy with other stuff. Since we want to evaluate the graph performance of arangodb I will run the performance test on another machine and see if it's a problem with my machine (broken memory?) or the same problem still arises. I'll give you an update asap.

I had finally time to rerun this test on another machine (VM). There arangodb didn't crash. It's quite weird. I also ran memtest on my local machine but didn't find a memory error. So I can't tell you why it crashes on locally. Maybe you can close this issue as long as it doesn't affect somebody else?

Ok, feel free to keep us informed if you're able to reproduce again.


Fixed SqlServerCe typemap

SqlServerCe: Specifies NVARCHAR(16) as typemap for time #617

@nakataaaa Thanks for the fix


[nationalarchivesuk] Add nationalarchives.gov.uk

Added the nationalarchives.gov.uk extractor

The implementation looks to generic to not be included in the generic extractor.

Thank you for the pull request; I've simply amended the generic extractor to catch this video as well.

That's a great solution and adds support for more sites that initialize JWPlayer this way.


Error => Call to undefined function Bitfumes\Multiauth\Exception\array_get()

I've installed a the latest bitfumes/laravel-multiauth  in to Laravel/framework version ^6.0.
Once I'm logged in everything works okay but when logged out and  visit lets say "/admin/show" it gives an error instead of redirecting to /admin.

I've used previous bitfumes/laravel-multiauth  versions on previous Laravel?framework versions and and works with no errors.
Not sure if is a bug somewhere or if is it me. I would appreciate your help.
PS: Your package is amazing, it takes a lot of headache.
Thanks

Thanks let me check this

this issue is solved with new version, thanks for your support


Depreciation Warning and Error

I noticed today one of my S30 zones was set incorrectly and after poking around  I found these error/warning messages in the log, the warning I understand, but the error I cannot figure it out. Please let me know if you need any other info/log.
 Error for device at pos 5: Entity climate.icomfort_z2_mastersuite does not support this service.
Logger: homeassistant.helpers.entity
Source: helpers/entity.py:1637
First occurred: 14:30:02 (2 occurrences)
Last logged: 14:30:02
Entity climate.icomfort_z2_mastersuite (<class 'custom_components.lennoxs30.climate.S30Climate'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <ClimateEntityFeature: 0>, please create a bug report at https://github.com/PeteRager/lennoxs30/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
Entity climate.icomfort_z3_front (<class 'custom_components.lennoxs30.climate.S30Climate'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <ClimateEntityFeature: 0>, please create a bug report at https://github.com/PeteRager/lennoxs30/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation

Version | core-2024.8.2
-- | --
Installation type | Home Assistant OS
Development | false
Supervisor | true
Docker | true
User | root
Virtual environment | false
Python version | 3.12.4
Operating system family | Linux
Operating system version | 6.6.31-haos-raspi
CPU architecture | aarch64
Timezone | America/Los_Angeles
Configuration directory | /config

It looks like you are on a very old version of the integration.  What version are you running?

2024.8.0
On Sat, Aug 17, 2024 at 5:38 PM Pete Sage @.***> wrote:

It looks like you are on a very old version of the integration. What
version are you running?
—
Reply to this email directly, view it on GitHub
https://github.com/PeteRager/lennoxs30/issues/338#issuecomment-2295043957,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BFE6BG4J4JLQDBMWFBWC24DZR7UH7AVCNFSM6AAAAABMVZ3TAOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJVGA2DGOJVG4
.
You are receiving this because you authored the thread.Message ID:
@.***>

Please attach the diagnostics file for the integration.

Pete I have attached the log file, I think I have solved the problem, I had:
device_id: 788e9a8df376b12ec1459495142f2e5f
domain: climate
entity_id: 19bdfa3fa4eb5510fb73872f9bcf35a3
type: set_preset_mode
preset_mode: cancel hold
enabled: true
a cancel hold at the end of my script/action from when I first made my
automation, but it appears that it is no longer required. I have only been
using HA for 6 months, so I'm by no means a power user, and have only
recently spent some time looking at warnings and errors and trying to
eliminate/fix them. I have looked at the attached log and nothing looks
wrong to me, also the system log is not showing the error message now I
have disabled the "cancel hold".
On Sun, Aug 18, 2024 at 5:22 AM Pete Sage @.***> wrote:

Please attach the diagnostics file for the integration.
—
Reply to this email directly, view it on GitHub
https://github.com/PeteRager/lennoxs30/issues/338#issuecomment-2295242699,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BFE6BG65SIAIFJPK4YHI473ZSCGXFAVCNFSM6AAAAABMVZ3TAOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJVGI2DENRZHE
.
You are receiving this because you authored the thread.Message ID:
@.***>


Add safe navigation to matrix_box_presenter

Stops MatrixBoxPresenter from throwing an error if when.nil?
Delivers https://www.pivotaltracker.com/story/show/177655987

Coverage remained the same at 93.001% when pulling d75c1eba6169a20088b8bcc9a5a198cf41d9f81b on 177655987-nil-when into dfaed01aa26bc679c6572ae2bd73c179b5980030 on master.


Fix typo in 3 files: consecutive occurrences of 'the'

Summary
Remove consecutive occurrences of 'the'

Ticket Link
None

Checklist

[ ] Added or updated unit tests (required for all new features)
[ ] Has UI changes
[ ] Includes text changes and localization file updates

Device Information
This PR was tested on:
Screenshots

Hello @altmas5,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.


[HOLD for payment 2024-10-14] Invoicing payments frontend clean-up

Part of the Invoicing payments project
Main issue: https://github.com/Expensify/Expensify/issues/382977
Project: https://github.com/orgs/Expensify/projects/114/views/3
Feature Description
The clean-up issue for the workspace invoicing flow. We need to complete all TODOs and uncomment temporary disabled lines.
Manual Test Steps
Automated Tests

@rezkiy37 assigning you to this issue

Hi, I’m Michael (Mykhailo) from Callstack and I would like to work on this issue.

This issue is on hold until the backend is ready.

Not overdue. https://github.com/Expensify/App/issues/47302#issuecomment-2294470259

I don't think I need to be on this since there's no contributor payouts necessary. Lmk if I am misunderstanding @rezkiy37

Yes, you are right, @kevinksullivan 🙂

https://github.com/Expensify/App/issues/47302#issuecomment-2294470259

https://github.com/Expensify/App/issues/47302#issuecomment-2294470259

Hey!
I will be OOO from 04.09 (afternoon) till 09.09. I will continue to work on this one once I am back.

https://github.com/Expensify/App/issues/47302#issuecomment-2294470259

The Draft PR is opened for this one. Waiting for API fixes to open it for the review. More details can be found here.

Updates: still waiting for some additional API fixes.

Still waiting for API fixes.
Added a fix for the failure data issue to the Draft PR as well.

The PR has been opened for the review.
Note: I'm going to be OOO next week (Sept 16-20) 🌴

I will work on this issue this week 🙂

Hello!
I am OOO from 19.09 - 23.09. I will continue to work on this one when I am back.

I've prepared a draft PR (https://github.com/Expensify/App/pull/49782), however, we need to finish with this issue (https://github.com/Expensify/App/issues/45181) to open and merge the PR.

[@rezkiy37] Determine if we should create a regression test for this bug.

No, it was not a bug.

One thing left is to hide the invoice page behind the beta. Slack.


dot-and-boxes-added

Closes #52

How can one play this game?

How can one play this game?

If its your turn then you have to just join 2 dots by clicking between them.
And if the 4th side of box is closes by your line then your score will be increment. Although Other  side closes by Computer.
Hope you'll get it.

How can one play this game?

If its your turn then you have to just join 2 dots by clicking between them.
And if the 4th side of box is closes by your line then your score will be increment. Although Other side closes by Computer.
Hope you'll get it.

Can you please demonstrate the gameplay since I couldn't find a way to connect the dots?

How can one play this game?

If its your turn then you have to just join 2 dots by clicking between them.
And if the 4th side of box is closes by your line then your score will be increment. Although Other side closes by Computer.
Hope you'll get it.

Can you please demonstrate the gameplay since I couldn't find a way to connect the dots?

I deployed it on github here it is https://sumitvajarinkar.github.io/dotAndBoxes_Game/
Can I attach video?

How can one play this game?

If its your turn then you have to just join 2 dots by clicking between them.
And if the 4th side of box is closes by your line then your score will be increment. Although Other side closes by Computer.
Hope you'll get it.

Can you please demonstrate the gameplay since I couldn't find a way to connect the dots?

I deployed it on Github here it is https://sumitvajarinkar.github.io/dotAndBoxes_Game/
I will try to fix it.


[Tool] Upgrade ftm from 7.0.3 to 8.1.1.

Upgrade fmt from 7.0.3 to 8.1.1.
In my fork, I need to use a library that requires fmt-8.1.1.
I have fixed a potential compatibility issue in https://github.com/StarRocks/starrocks/pull/25806.
What type of PR is this:

[ ] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[X] Tool

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[ ] I have checked the version labels which the pr will be auto-backported to the target branch

[ ] 3.1
[ ] 3.0
[ ] 2.5
[ ] 2.4

@trueeyu Thanks for the review. In CI pipeline, BE UT failed due to compile warnings caused by deprecated apis in the new version. Should I add the fix of the warnings in this PR?

@jkim650 better to fix the BE UT. Otherwise, all PRs based on this change will fail in the CI pipeline.

Thirdparty update failed  due to a temporary github issue not related to the PR.

#10 59.58 2023-06-28 02:02:09 ERROR 500: Internal Server Error.
#10 59.58
#10 59.58 Failed to download datasketches-cpp-4.0.0.tar.gz. attemp: 1
#10 59.58 /root/starrocks/thirdparty/src/datasketches-cpp-4.0.0.tar.gz md5sum check failed!

It passed BE UT but failed on linking libstarcache.a.
libstarcache.a from docker.io/starrocks/starlet-artifacts-centos7:v3.1-rc5 was compiled using fmt-7.
@kevincai It looks like you are the expert on starlet. How to compile starlet-artifacts with the fmt-8.1.1 and what would be the next step for this PR?
Thanks,
Jinho

/var/local/thirdparty/installed/starlet/starlet_install/lib/libstarcache.a(disk_space_manager.cpp.o):
In function std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > fmt::v7::format<char [9], std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long, char>(char const (&) [9], std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long&&)': /var/local/thirdparty/installed/starlet/third_party/include/fmt/core.h:1836: undefined reference to fmt::v7::detail::vformat[abi:cxx11](fmt::v7::basic_string_view, fmt::v7::format_args)'

It passed BE UT but failed on linking libstarcache.a.
libstarcache.a from docker.io/starrocks/starlet-artifacts-centos7:v3.1-rc5 was compiled using fmt-7. @kevincai It looks like you are the expert on starlet. How to compile starlet-artifacts with the fmt-8.1.1 and what would be the next step for this PR?
Thanks, Jinho

/var/local/thirdparty/installed/starlet/starlet_install/lib/libstarcache.a(disk_space_manager.cpp.o):
In function std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > fmt::v7::format<char [9], std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long, char>(char const (&) [9], std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long&&)': /var/local/thirdparty/installed/starlet/third_party/include/fmt/core.h:1836: undefined reference to fmt::v7::detail::vformat[abi:cxx11](fmt::v7::basic_string_view, fmt::v7::format_args)'

please get this PR review passed, I will update the starlet thirdparty with the new version of fmt, then this PR can be merged together.

It passed BE UT but failed on linking libstarcache.a.
libstarcache.a from docker.io/starrocks/starlet-artifacts-centos7:v3.1-rc5 was compiled using fmt-7. @kevincai It looks like you are the expert on starlet. How to compile starlet-artifacts with the fmt-8.1.1 and what would be the next step for this PR?

please get this PR review passed, I will update the starlet thirdparty with the new version of fmt, then this PR can be merged
together.

Thanks, Kevin.
@trueeyu @imay Please review the PR and see what Kevin said.

will this need to be in branch-3.1?

@jkim650 please add following changes into this PR so that it is compiling with fmt8
diff --git a/docker/dockerfiles/dev-env/dev-env.Dockerfile b/docker/dockerfiles/dev-env/dev-env.Dockerfile
index 561492d177..4093a8dac8 100644
--- a/docker/dockerfiles/dev-env/dev-env.Dockerfile
+++ b/docker/dockerfiles/dev-env/dev-env.Dockerfile
@@ -22,7 +22,7 @@ ARG predownload_thirdparty=false
 ARG thirdparty_url=https://cdn-thirdparty.starrocks.com/starrocks-thirdparty-main-20230317.tar
 ARG commit_id
 # check thirdparty/starlet-artifacts-version.sh, to get the right tag
-ARG starlet_tag=v3.1-rc5
+ARG starlet_tag=v3.1-rc6
 # build for which linux distro: centos7|ubuntu
 ARG distro=ubuntu

diff --git a/thirdparty/starlet-artifacts-version.sh b/thirdparty/starlet-artifacts-version.sh
index<PHONE_NUMBER>..1f12aa44e0 100644
--- a/thirdparty/starlet-artifacts-version.sh
+++ b/thirdparty/starlet-artifacts-version.sh
@@ -9,4 +9,4 @@
 #   https://hub.docker.com/r/starrocks/starlet-artifacts-centos7/tags
 #
 # Update the following tag when STARLET releases a new version.
-export STARLET_ARTIFACTS_TAG=v3.1-rc5
+export STARLET_ARTIFACTS_TAG=v3.1-rc6

@jkim650 please add following changes into this PR so that it is compiling with fmt8

Thanks, Kevin. All checks have passed.
@chaoyli @trueeyu Would you please review and re-approve the PR?
Thanks,
Jinho

@mergifyio backport branch-3.1


UI changes to the Azure portal in "10 - Blue/Green deployment"

Hello Team,

In exercise 10 - Blue/Green deployment, the instruction below does not reflect the current UI of the portal.

Navigate to the Azure Spring Cloud instance in the Azure portal and click on "Deployments" (under Settings). You should now see the "green" deployment in the "Staging Deployment" column:

The "deployments" blade is no longer visible under "setting" from the Azure Spring cloud instance page.

Instead, we have to navigate to the app instances under Azure spring cloud to view the deployments.

Similarly,  the following instructions need to be updated -

Another solution is to use the Azure portal:

Find your Azure Spring Cloud instance
Click on the "deployment" menu
Select the weather-service application and click on Set deployment

Can we please update these instructions and screenshots to match the current UI?
Thanks, and regards.

Thank you, indeed the UI has changed and this needs to be updated

Hi, when can we expect these changes to be made? We have workshops scheduled for the coming week. Thanks.

I have updated it in #145

And thanks for notifying us @junnhssn ! Images are a pain to maintain.


Constructor binds Voice, but is already set upon reload.

Hey, I was curious if there is a way to free the bindings set in the constructor. The RN Voice module is very handy, but when I remove the bindings from the constructor, my app does not crash upon reload. Is there a way to bind, or not bind in the constructor, but still have the native voice capabilities?
Thank you!
KJ Garrett

the current body of code looks like this and the RN Voice module works phenomenally. I guess what I'm saying is, is there a way to "deconstruct" these instantiations?
Thanks!

*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Error when sending event: onSpeechError with body: {     error =     {         message = "209/The operation couldn\U2019t be completed. (kAFAssistantErrorDomain error 209.)";     }; }. Bridge is not set. This is probably because you've explicitly synthesized the bridge in Voice, even though it's inherited from RCTEventEmitter.'

This command has not changed anything: Voice.destroy().then(Voice.removeAllListeners);

@KijanaG Did you solved your problem??


Add uki 0.1.1

Checklist for Pull Requests

[ ] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.6 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

@microsoft-github-policy-service agree [company="smokingplaya"]

@microsoft-github-policy-service agree