vagrant-libvirt conflict

On a clean install of Ubuntu 18.04 and Vagrant 2.0.2 installed from repository.
I get this error message when trying to install the plugin
$ vagrant plugin install vagrant-hostsupdater
Installing the 'vagrant-hostsupdater' plugin. This can take a few minutes...
Bundler, the underlying system Vagrant uses to install plugins,
reported an error. The error is shown below. These errors are usually
caused by misconfigured plugin installations or transient network
issues. The error from Bundler is:

conflicting dependencies fog-core (~> 1.43.0) and fog-core (= 1.45.0)
  Activated fog-core-1.45.0
  which does not match conflicting dependency (~> 1.43.0)

  Conflicting dependency chains:
    fog-core (= 1.45.0), 1.45.0 activated

  versus:
    vagrant-libvirt (> 0), 0.0.41 activated, depends on
    fog-core (~> 1.43.0)

Uninstalling vagrant-libvirt (which comes along when vagrant) and then installing vagrant-hostupdater works fine. It's also no problem installing the vagrant-libvirt package again afterwards.

How did you uninstall vagrant-libvirt?
$ vagrant plugin uninstall vagrant-libvirt
Uninstalling the 'vagrant-libvirt' plugin...
The plugin you're attempting to uninstall ('vagrant-libvirt') is a
system plugin. This means that the plugin is part of the installation
of Vagrant. These plugins cannot be removed.

You can however, install a plugin with the same name to replace
these plugins. User-installed plugins take priority over
system-installed plugins.

Updating Vagrant to a newer versions solved my problem.
Here's a related ticket for the vagrant-hostsmanager plugin:
https://github.com/devopsgroup-io/vagrant-hostmanager/issues/256#issuecomment-386260691

How did you uninstall vagrant-libvirt?
$ vagrant plugin uninstall vagrant-libvirt
Uninstalling the 'vagrant-libvirt' plugin...
The plugin you're attempting to uninstall ('vagrant-libvirt') is a
system plugin. This means that the plugin is part of the installation
of Vagrant. These plugins cannot be removed.

You can however, install a plugin with the same name to replace
these plugins. User-installed plugins take priority over
system-installed plugins.

I uninstalled it with apt (apt-get remove vagrant-libvirt)

Updating Vagrant to a newer versions solved my problem.
Here's a related ticket for the vagrant-hostsmanager plugin:
devopsgroup-io/vagrant-hostmanager#256 (comment)

Thanks for the information. I'm using the 2.0.2 available from the repository. I'm guessing this will be solved as soon as 2.0.3 is available through the repo.


Catch up to Ecto 2.1.0-rc.1, released 29 Sep 2016.

Coverage remained the same at 84.507% when pulling 1e5feb565bdc1d24862b3653df64603237da8d27 on ecto-2.1.0-rc.1 into c413125843091a08ccbf903ed33a24a52db38087 on master.


Update DeveloperGuide, UserGuide, and Portfolio

Pull Request Test Coverage Report for Build 369

0 of 0 (NaN%) changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 81.238%

Totals

Change from base Build 368:
0.0%

Covered Lines:
2637

Relevant Lines:
3246

💛  - Coveralls


Support separation of frontend and backend architecture

We usually use separation of frontend and backend architecture or abbreviated as separation.
The technologies we used are as below:
front-end:  Vue + Ant Design Vue
back-end: Java + Springboot
According to the corresponding architecture, generate the project.

Separation Architecture.zip
You can reference the architecture of this demo

frontend-backend-jar.zip

drop from plan


specify grid in amip config

Purpose

I think it might be helpful to add a bit redundancy and specify the grid in the amip config, so the amip simulation won't be affected while we modify the grid setup in the corresponding atmos yaml. What do others think?
The coupler yaml file seems alphabetic, so I kept the order. Is this required? I find it a bit annoying as e.g. the grid configs are not together, but I'm fine with it.
To-do

Content

[ ] I have read and checked the items on the review checklist.

Sounds good with me. We can restore it to non-grid version when all the changes are applied


JBPM-4937: Data Modeler loading time very long and increasing with more 'instances'

(cherry picked from commit 5fa52e3fbac13084eddda5332d625b3081905e71)

@csadilek Hi Christian, this PR is the peer for the already merged into 6.4.x https://github.com/droolsjbpm/optaplanner-wb/pull/52
depends on: https://github.com/droolsjbpm/kie-wb-common/pull/329

master: 31678799a6021de462df7b04984dc94f88ec55d1


ArviZ Dev Xarray Dev Get Together?

Hi Xarray folks
I work on ArviZ and am the guy behind this tweet. https://twitter.com/arviz_devs/status/1225998959161663488
We use xarray heavily in ArviZ, its our central data object. We have questions about the current api and plans for the future api, and a number of our core developers were wondering you guys wanted to get together sometime, perhaps at one of the popular conferences like scipy, or probprog, or something like that.
In the meanwhile we've been collecting examples for things we can create reproducible examples for, but are hoping to chat at a higher level as well.
https://github.com/arviz-devs/xarray_examples
Let us know if this sounds interesting. Thanks for all the hard work on xarray
cc @rpgoldman @aloctavodia @OriolAbril @ahartikainen

I'm keen! Given work schedules, it may be easiest to do at a conference. We could also do a remote meeting.
The repo is ideal prep. The current two examples are good general questions about using Xarray even beyond ArviZ.
And more generally, I'm happy that ArviZ has built on top on xarray, and we're keen to support that!

Thank you @max-sixty. I'm a huge proponent of in person meetings so will see if things fit there first, but if not falling back to remote will be easy!
In order of number of ArviZ devs closeby or present

Boston for Probprog (Colin, Oriol, Alex, Ravin, Eric)
PyDataNYC (Colin, probably, Robert Goldman, Ravin if were meeting)
Scipy (Colin probably, Ravin maybe)
NumFocus Summit (?)
PyDataLA (Ravin)
Pycon (Colin)

Are any of y'all from the xarray side planning to have a critical mass at any of these conferences?

The questions you've put up there so far are general, so would make good StackOverflow questions - it would be nice to put them there for ease of finding by users afterwards.

@TomNicholas we probably do need to be better on SO. I've tried to do more there now I'm not contributing as much. I've found the questions are sometimes difficult to engage with as they're dependent on an external dataset (i.e. much lower quality than those here).

Just to note another note our other questions span more than just code examples for the current API. We really do value xarray tremendously on the ArviZ side and we're looking to expand ArviZ functionality using things that may, or may not, end up in xarray. Since these questions more vague and messy roadmap type questions that don't fit neatly into a git repo with reproducible code, that's where the conference hallway tracks fit in! Hope this makes!

At least three of us will likely be at SciPy this year (me, @jhamman, @rabernat).
That said, it may be best to schedule a call soon-ish just to say hi and hear about the questions you have. And... we get to think about these questions for a while before SciPy.

I’ll probably be at SciPy this year too, at least if my talk(s) get accepted! Would be happy to do a brief call, too.
I know @ColCarroll just joined me at Google, so if he ever makes it out to Mountain View he should hit me up for lunch/coffee. Actually that holds anyone else who works on Python open source for scientific computing, too!

@shoyer Thanks for the offer, I live in Socal and come to the Bay Area often so I will definitely take you up on that offer. Let me know if there's some good way to contact you, I'm assuming Github issues might be inappropriate :)
@dcherian I'll circle back with all the folks in ArviZ and we'll get a proposed agenda. Will post again here within a week
And lastly it sounds like scipy is the front running candidate for a conference. Which now means I really need to submit a talk or tutorial today.......

You can reach me at my github username at gmail.com :).
On Fri, Feb 14, 2020 at 9:08 AM Ravin Kumar<EMAIL_ADDRESS>wrote:

@shoyer https://github.com/shoyer Thanks for the offer, I live in Socal
and come to the Bay Area often so I will definitely take you up on that
offer. Let me know if there's some good way to contact you, I'm assuming
Github issues might be inappropriate :)
@dcherian https://github.com/dcherian I'll circle back with all the
folks in ArviZ and we'll get a proposed agenda. Will post again here within
a week
And lastly it sounds like scipy is the front running candidate for a
conference. Which now means I really need to submit a talk or tutorial
today.......
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/pydata/xarray/issues/3765?email_source=notifications&email_token=AAJJFVQNMBE5A2IJKKVX6TTRC3FZ3A5CNFSM4KTS6W62YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELZXEWI#issuecomment-586379865,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJJFVS2JO6TKJGA6W4YVJTRC3FZ3ANCNFSM4KTS6W6Q
.

Hi all,
Quick follow up on this. We had our ArviZ dev meeting last week and we reproduced the consensus that we'd like to chat!
In regards to @dcherian's suggestion for a meeting. I'm thinking mid March (15th to 21st) is far enough out that people's schedules would be free. Can I use this github issue to work with you all to find a good time, (and virtual conference channel?)

Hey all,
Apologies on the delay things have been hectic to say the least.
Does the 25th or the 27th work for you all at 7am PST? The early time for the Americans is to accommodate the devs in Europe. If it does let me know and I can schedule a meeting on Google Hangouts.

27th works for me, 25th does not.  Thanks for setting this up.
I have a paid Doodle account, if you would like me to set up a poll instead of doing this here.

+1 to Doodle poll.

Doodle poll: https://doodle.com/poll/x6quxzmyu5qxqd98

@rpgoldman Doodle poll would be great if you can create one

To the extent we can do later in the day, that would be easier for those on US west coast time...

@max-sixty I can see about adding other times, if someone wants to propose them, but we might have to just re-poll.
We have always had our meetings early in the morning wrt PT because of people in Europe, I believe.

Europe + Asia (India)

It looks like Friday the 27th is the most popular day by a margin of 1. Any dissenters if we schedule the meeting for that day?
Given no response in 24 hours I'll post a google hangouts link

An agenda is available here as well. Feel free to edit, comment , whatever you like
https://docs.google.com/document/d/1inOj9SriMq1CHKCpX4j9hNkvZk_tQv9xsYnqCREdkdo/edit#heading=h.cst6w4xawnaf

Hi all,
Meet details are in the Google sheet. Looking forward to meeting you all tomorrow!
https://docs.google.com/document/d/1inOj9SriMq1CHKCpX4j9hNkvZk_tQv9xsYnqCREdkdo/edit#heading=h.cst6w4xawnaf

@max-sixty @shoyer @dcherian @jhamman  Thanks very much for your time
Capturing the high level takeaways for posterity

Sharing concrete examples were beneficial for xarray team
Conference call was useful for xarray team, primarily because they get to see each other
Long form self contained github issues are useful for xarray project
Adding issues to where docs are challenging, or being able to convert ArviZ use case examples into general purpose cookbook docs will be useful
Doing this every so often sounds like a good idea

More generally from our side it was very helpful to hear the background of why things are they way they are, and get a sense of where they are going. @shoyer I thought your live api building was informative as well.
Notes are in agenda doc
https://docs.google.com/document/d/1inOj9SriMq1CHKCpX4j9hNkvZk_tQv9xsYnqCREdkdo/edit#
Really looking forward to all the changes coming up and certainly, and with much bias, hope the funding comes through.
As far as I can tell this issue "closed" Thanks again

Thanks @canyon289 !
Great to meet you all and I thought really helpful to talk through the cases with everyone. Indeed: having some cases to go over made the time much more productive.
I look forward to keeping the thread going...


Add zh_TW Provider

Why the added Internet.php and Payment.php?

The romanization of the name is usually required and used for credit-card in Taiwan.
Chinese domain names do exist but they are rarely used. Most domain names are still in English in Taiwan. Therefore, I added the Payment.php and Internet.php to keep the English version of the Payment::creditCardInfo(), Internet::userName() and Internet::domainWord() methods.


Port tests from bats to tape

hi @dschep
I decided to split up and simplify PR #279 a little bit.
Started with porting some tests, which also helps towards resolutions of #269 ...

At least one test using the downloadCache option fails on Windows. However, this seems to be a runtime error during pip install ...:
Could not install packages due to an EnvironmentError: [Error 123] The filename, directory name, or volume label syntax is incorrect:
 'C\\:\\\\Users\\\\appveyor\\\\AppData\\\\Local\\\\UnitedIncome\\\\serverless-python-requirements\\\\Cache\\\\downloadCacheslspyc\\wheels\\76\\a0\\b4\\2a3ee1a32d0506931e558530258de1cc04b628eff1b2f008e0\\*.*'

Any ideas @AndrewFarley @dschep ?

Serverless: Installing requirements from C:\projects\serverless-python-requirements\tests\base\.serverless\requirements\requirements.txt ...
Serverless: Using download cache directory C:\Users\appveyor\AppData\Local\UnitedIncome\serverless-python-requirements\Cache\downloadCacheslspyc
Collecting bottle (from -r C:/projects/serverless-python-requirements/tests/base/.serverless/requirements/requirements.txt (line 1))

  Error --------------------------------------------------

  null

     For debugging logs, run again after setting the "SLS_DEBUG=*" environment variable.

  Stack Trace --------------------------------------------

Error: null
    at installRequirements (C:\projects\serverless-python-requirements\tests\base\node_modules\serverless-python-requirements\lib\pip.js:269:11)
    at installRequirementsIfNeeded (C:\projects\serverless-python-requirements\tests\base\node_modules\serverless-python-requirements\lib\pip.js:458:3)
    at ServerlessPythonRequirements.installAllRequirements (C:\projects\serverless-python-requirements\tests\base\node_modules\serverless-python-requirements\lib\pip.js:537:29)
From previous event:
    at PluginManager.invoke (C:\Users\appveyor\AppData\Roaming\npm\node_modules\serverless\lib\classes\PluginManager.js:391:22)
    at PluginManager.run (C:\Users\appveyor\AppData\Roaming\npm\node_modules\serverless\lib\classes\PluginManager.js:422:17)
    at variables.populateService.then.then (C:\Users\appveyor\AppData\Roaming\npm\node_modules\serverless\lib\Serverless.js:157:33)
    at runCallback (timers.js:810:20)
    at tryOnImmediate (timers.js:768:5)
    at processImmediate [as _immediateCallback] (timers.js:745:5)
From previous event:
    at Serverless.run (C:\Users\appveyor\AppData\Roaming\npm\node_modules\serverless\lib\Serverless.js:144:8)
    at serverless.init.then (C:\Users\appveyor\AppData\Roaming\npm\node_modules\serverless\bin\serverless:44:28)
    at <anonymous>

  Get Support --------------------------------------------
     Docs:          docs.serverless.com
     Bugs:          github.com/serverless/serverless/issues
     Issues:        forum.serverless.com

  Your Environment Information -----------------------------
     OS:                     win32
     Node Version:           8.12.0
     Serverless Version:     1.33.1

Could not install packages due to an EnvironmentError: [Error 123] The filename, directory name, or volume label syntax is incorrect: 'C\\:\\\\Users\\\\appveyor\\\\AppData\\\\Local\\\\UnitedIncome\\\\serverless-python-requirements\\\\Cache\\\\downloadCacheslspyc\\wheels\\76\\a0\\b4\\2a3ee1a32d0506931e558530258de1cc04b628eff1b2f008e0\\*.*'
C:\projects\serverless-python-requirements\test.js:38
    throw new Error(`${cmd} failed with status code ${status}`);
    ^
Error: sls failed with status code 1
    at C:\projects\serverless-python-requirements\test.js:38:11
    at t (C:\projects\serverless-python-requirements\test.js:672:3)
    at Test.tape.test.t (C:\projects\serverless-python-requirements\test.js:76:7)
    at Test.bound [as _cb] (C:\projects\serverless-python-requirements\node_modules\tape\lib\test.js:76:32)
    at Test.run (C:\projects\serverless-python-requirements\node_modules\tape\lib\test.js:95:10)
    at Test.bound [as run] (C:\projects\serverless-python-requirements\node_modules\tape\lib\test.js:76:32)
    at Immediate.next [as _onImmediate] (C:\projects\serverless-python-requirements\node_modules\tape\lib\results.js:71:15)
    at runCallback (timers.js:810:20)
    at tryOnImmediate (timers.js:768:5)
    at processImmediate [as _immediateCallback] (timers.js:745:5)

Dude. HUUGGE thanks for tackling this!! I assume your'e still working on this? And don't worry about one or two test failures on windows, given that the windows tests up till this effor were pretty meaningless, i'm fine with them not passing 100% on windows.

Yes. I am still kind of at it.

Well @dschep , I guess this is it. All tests ported to tape. On windows a few fail. Quite a few are also skipped, because of missing docker and/or checks for unix file permissions.
I don't know how those should behave under win32
Cheers!

Fantastic!!! Could you rebase on master to resolve the conflict?

I merged master again. Seems like all the failing windows tests pass now, thanks to your recent fixes.
However, weirdly two tests fail on circleci, which didn't previously and also don't fail locally on my computer.

i'll take a look at those failing tests tomorrow

I guess it must have been some kind of glitch with .egg-info-folders, which sometimes were packaged and sometimes not. This made the test kinda flaky. I just adjusted the tests to use the __main__.py for custom slim patterns. And this did the trick. Should be ready now :)


[Feature Request] Would it be possible to see which lists contain unchecked items?

As we create more and more shopping lists we came up with the idea that it would be neat to see in the list drop down which list still contains unchecked items.
When on a shopping tour, to not miss anything, currently you have to open each list to see if something is still missing or if you can finally ;-) drive home to put your loot into the stash.
It is not an important feature, but we thought it would be neat to have some sort of visual indicator in the list drop down to quickly see if you have missed something.

Included in release 1.0.6 - blue dot on right hand side of lists / list groups with unchecked items.

I´m speechless! Absolutely incredible. Thank you so much :-)


Forced to be focus to editor view

Hi! I'm a big fan of this extension!
But... seems to be related to https://github.com/patrys/vscode-code-outline/issues/12, when I'm viewing diffs, forced to be back to editor view due to jumping to symbols automatically.
Is it expected behavior?
Thanks

It's a bug, I'll try to solve this in the next couple of days. If you have time to find a proper solution I'd be glad to merge a pull request!

It seems that if the code outline is not visible on the screen then the highlighting of the symbols should be disabled. This bug is not just with diffs, but also occurs while stepping during debugging or while clicking on a search result in the project search results.

After a bit of digging, this change to symbolOutline.js kind of works for me...
vscode_1.window.onDidChangeTextEditorSelection(event => {
    if (event.kind && event.kind != 3) {
        if (event.selections.length) {
            const node = treeDataProvider.getNodeByPosition(event.selections[0].active);
            if (node) {
                this.symbolViewer.reveal(node);
            }
        }
    }
});

I actually don't know how to work with the .ts file, but I imagine the same change there would have a similar impact. The number 3 is actually the enumerator TextEditorSelectionChangeKind.Command, though I'm also not clear on how to use that.
The basic idea is to only reveal the symbol if the editor selection was made by keyboard or mouse, not if it is by command or undefined.
This code produces an error when you click on a symbol with the search results sidebar visible (or anything other than the sidebar with the outline, really). But since I only see that error when looking at the developer console, the end result is still better than the bug for me.
I still think it would make more sense to only reveal the symbols when the sidebar with the code outline is visible, but I could not figure out how to find that.

The code above does make things quite a bit better. However, it still is a bit buggy even with this code. After using search or debug (or any other feature that uses commands to move the cursor) then Code Outline won’t take over when you manually move around a file. But the moment you have the Explorer visible and manually move around a file, then switch to another sidebar, but don’t yet use commands to move the cursor (ie in the Source Control sidebar), Code Outline will again take over. The ideal fix for this would make Code Outline stay completely out of the way unless the Explorer is visible, regardless of what is causing the cursor to move around in a file.

If I don't find a better solution in the next couple of days, I'll move the reveal code to a command.

@patrys Thanks! v0.1.1 works well as expected!

Thanks for the update, @patrys!


How to optimize ocelot startup time.

Hi I am using Ocelot 15.0.6 as a gateway. Since Ocelot supports multiple configuration files. Previously I include seven different configurations files with the routes of different projects API, The problem occurred when a new file is added with more than 80 routes in it. After adding that file The ocelot took too long at startup that the application got stuck and shut down later when deploying gateway.
The current behavior of ocelot is unacceptable, application should not take much time for a startup. How can I optimize that time or speed up the startup time of ocelot at production?
Steps to Reproduce the Problem
Add multiple configuration files with a large no of routes
Specifications

Version: 15.0.6

@raman-m Interesting, how we can test it? Is there any test cases for this thing?

@heizel184 are you still facing it on latest versions?

@heizel184  Dear Hina!
Thanks for reporting it!
Your issue is quite outdated because of legacy version 15.0.6.
Could you upgrade your solution to the latest version and check the issue once again please?

The problem occurred when a new file is added with more than 80 routes in it.

Are you sure that all files are valid? So, have all these files valid JSON formatting and syntax?
Can you attach all config to the issue plz?

After adding that file The ocelot took too long at startup that the application got stuck and shut down later when deploying gateway.

Deployment can fail because of critical error when starting up the app...
Can you attach Ocelot log please?


BotFrameworkClientImpl.PostActivityAsync() doesn't support null fromBotId and toBotId values

Version
4.13.1
Describe the bug
Anonymous Skills via null fromBotId and toBotId values was dropped in the BotFrameworkClientImpl.PostActivityAsync() method:
https://github.com/microsoft/botbuilder-dotnet/blob/57eeae891efe22c632d60907ca28533f1d86fbe5/libraries/Microsoft.Bot.Connector/Authentication/BotFrameworkClientImpl.cs#L39-L46
This is a regression based off of previous behavior in the BotFrameworkHttpClient.
Background
fromBotId and toBotId null values are supported in BotFrameworkHttpClient.PostActivityAsync() for anonymous bot scenarios.
https://github.com/microsoft/botbuilder-dotnet/blob/57eeae891efe22c632d60907ca28533f1d86fbe5/libraries/integration/Microsoft.Bot.Builder.Integration.AspNet.Core/BotFrameworkHttpClient.cs#L183-L186
https://github.com/microsoft/botbuilder-dotnet/blob/57eeae891efe22c632d60907ca28533f1d86fbe5/libraries/integration/Microsoft.Bot.Builder.Integration.AspNet.Core/BotFrameworkHttpClient.cs#L260-L265
Additional context
The BotFrameworkClientImpl class is used in the AdaptiveDialogBot, which is used in the Adaptive Runtime work and by extension, Composer 2.0.
However, this isn't a problem in Composer (tested w/ 2.0.0-nightly.241915.204a82) unless null values are provided for the Host's AppId or Skill's AppId in the config.

Relevant code in JS: https://github.com/microsoft/botbuilder-js/pull/3698/files#diff-612cd898ceba4f30c7d406690b0a5f370a4146194cf32f8b82d43aa93dbb4723R50-R51


json to jsonschema

would it make sense to have a json to jsonschema conversion?
from:
{
  "name": "Toto"
}

to:
{
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    }
  }
}

This is actually what we do to support JSON as a source. We use Jackson to convert the JSON into JSON Schema, and then proceed as normal with the generated JSON Schema.
You could easily make a different maven plugin to acheive this. I feel like it's outside of the scope of this project.

I see what you mean. I ended up using Jackson to build a small class to achieve this, it was not much trouble after all. Thanks.


Can't start the demo app

I follow the quickstart instructions:
npm install -g bs-platform
bsb -init my-first-app -theme basic-reason
cd my-first-app
npm run start

And I get the following output when running run start:
➜  my-first-app npm run start

><EMAIL_ADDRESS>start /Users/peter/projects/my-first-app
> bsb -make-world -w

>>>> Start compiling
Rebuilding since just got started
ninja: Entering directory `lib/bs'
[1/2] Building src/demo.mlast
FAILED: src/demo.mlast
/Users/peter/.nvm/versions/node/v6.11.1/lib/node_modules/bs-platform/lib/bsc.exe -pp "/Users/peter/.nvm/versions/node/v6.11.1/lib/node_modules/bs-platform/lib/refmt.exe --print binary"    -w -30-40+6+7+27+32..39+44+45+101 -nostdlib -I '/Users/peter/projects/my-first-app/node_modules/bs-platform/lib/ocaml' -bs-super-errors -no-alias-deps -color always -c -o src/demo.mlast -bs-syntax-only -bs-binary-ast -impl /Users/peter/projects/my-first-app/src/demo.re
File "/Users/peter/projects/my-first-app/src/demo.re", line 1, characters 8-41:
Error: 2294: syntax error, consider adding a `;' before

  We've found a bug for you!
  /Users/peter/projects/my-first-app/src/demo.re

  There's been an error running Reason's refmt parser on a file.
  This was the command:

  /Users/peter/.nvm/versions/node/v6.11.1/lib/node_modules/bs-platform/lib/refmt.exe --print binary '/Users/peter/projects/my-first-app/src/demo.re' > /var/folders/75/b3c93w8d3rx59q69zj195b480000gn/T/ocamlpp6770a8

  Please file an issue on github.com/facebook/reason. Thanks!

ninja: error: rebuilding 'build.ninja': subcommand failed
>>>> Finish compiling(exit: 1)

@evjan try not to use nvm with reason. Also, it's possible that your global bs-platform is stale. Can you upgrade it & try it outside of nvm?


Questions about configurations of 70b-ppo with ray

Hi! Suppose I want to train 70b-PPO with ray using the configuration in the script examples/scripts/train_ppo_llama_ray_70b.sh. Does it mean:

Suppose I'm using A100 80G (1 node with 8 gpus), then I need 4 nodes with totally 32 gpus?
As for these gpus:

8 for actor/ref (in one gpu, half actor, half ref)
8 for critic/reward
16 for vllm_engines (8 vllm_engine with each tp_size = 2)?

yes


doc suggestion for about test redux

Hey currently the 'official example' of redux testing is using mocha as the task runner. Is that possible to have the official version of tape or ava? Thanks

I'm afraid I'm not quite sure what you're asking.  You can test Redux with any test runner or other libraries you want.  Mocha is not required.  In fact, there's some work going on right now to switch the examples over to use Jest instead.


Seal tooltips

Minor thing, but the cta covers the tooltip in the homepage card

I've noticed this with the CTA buttons in other situations as well, maybe the button component has a hight z-index applied?


[Device Support Request] AQARA Smoke Detector

Is your feature request related to a problem? Please describe.
Support for lumi.sensor_smoke Sensor -
https://zigbee.blakadder.com/Aqara_JY-GZ-01AQ.html
https://www.zigbee2mqtt.io/devices/JY-GZ-01AQ.html
Support for lumi.sensor_smoke
Describe the solution you'd like
I am using the Skyconnect Home Assistant Zigbee Thread Stick. According to Z2M the device has several sensors / functions that should be accessbile after pairing with a Zigbee Broker. The device pairs without problems. I also tried removing it and keeping the device alive while pairing. I use HA with the latest update and the sensors only has 2 accessible entities: Identify and Iaszone (Iaszone always shows normal, even if the sensors is in alarm mode because of smoke).

"node_descriptor": "NodeDescriptor(logical_type=<LogicalType.EndDevice: 2>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress|MainsPowered: 132>, manufacturer_code=4447, maximum_buffer_size=127, maximum_incoming_transfer_size=100, server_mask=11264, maximum_outgoing_transfer_size=100, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=True, *is_full_function_device=False, *is_mains_powered=True, *is_receiver_on_when_idle=False, *is_router=False, *is_security_capable=False)",
"endpoints": {
"1": {
"profile_id": 260,
"device_type": "0x0402",
"in_clusters": [
"0x0000",
"0x0001",
"0x0003",
"0x0500"
],
"out_clusters": [
"0x0019"
]
}
}
},
"active_coordinator": false,
"entities": [
{
"entity_id": "binary_sensor.lumi_lumi_sensor_smoke_acn03_iaszone",
"name": "LUMI lumi.sensor_smoke.acn03"
},
{
"entity_id": "button.lumi_lumi_sensor_smoke_acn03_identify",
"name": "LUMI lumi.sensor_smoke.acn03"
}
],
"neighbors": [],
"routes": [],
"endpoint_names": [
{
"name": "IAS_ZONE"
}
],
"user_given_name": null,
"device_reg_id": "4ccf4196d927f425f2eec398befb58da",
"area_id": "flur",
"cluster_details": {
"1": {
"device_type": {
"name": "IAS_ZONE",
"id": 1026
},
"profile_id": 260,
"in_clusters": {
"0x0000": {
"endpoint_attribute": "basic",
"attributes": {
"0x0004": {
"attribute_name": "manufacturer",
"value": "LUMI"
},
"0x0005": {
"attribute_name": "model",
"value": "lumi.sensor_smoke.acn03"
}
},
"unsupported_attributes": {}
},
"0x0500": {
"endpoint_attribute": "ias_zone",
"attributes": {
"0x0000": {
"attribute_name": "zone_state",
"value": 0
},
"0x0001": {
"attribute_name": "zone_type",
"value": 40
},
"0x0002": {
"attribute_name": "zone_status",
"value": 32
},
"0x0010": {
"attribute_name": "cie_addr",
"value": [
252,
67,
108,
37,
0,
75,
18,
0
]
}
},
"unsupported_attributes": {}
},
"0x0003": {
"endpoint_attribute": "identify",
"attributes": {},
"unsupported_attributes": {}
},
"0x0001": {
"endpoint_attribute": "power",
"attributes": {},
"unsupported_attributes": {}
}
},
"out_clusters": {
"0x0019": {
"endpoint_attribute": "ota",
"attributes": {},
"unsupported_attributes": {}
}
}
}
}
}
}

Please tell me how i can send u the needed information for the device from HomeAssistant - i will be more than happy to supply them.
Thanks in advance!

There was some effort here, but it seems it did not work, ive tried it myself, no luck.
https://github.com/zigpy/zha-device-handlers/issues/1828


Allow untyped parameters in queries

such as SELECT (? = ...)
Are there any downsides here?
Required for DBItest. What's a good way to test this?
Includes #1239.

In general prepared statement parameters should have a known type. Right now we indeed throw an error message if we can't determine the type from the query, but we could default that type to VARCHAR instead (e.g. SELECT ?). Not sure how @hannesmuehleisen feels about that.

DBItest works much better with this patch. I think in this location we only need to reserve space large enough, type assignment happens elsewhere. It passes all tests.
What's the best was to move forward?

DBItest works much better with this patch. I think in this location we only need to reserve space large enough, type assignment happens elsewhere. It passes all tests.
What's the best was to move forward?

Could the Linux failure be related to this patch?

Could the Linux failure be related to this patch?

I think this patch is not the way forward. its possible we should derive types for prepared statements in more places, if you could give specific cases where the type is not inferred i'm happy to do so.


[Error] Cannot read property 'send' of undefined

Always getting this error when trying to play music

What is your Discord.js version, or commit

i dont need it anymore but here the version 11.5.1

This library is only for Discord.js v12.0.0 aka Master. This lib is not compatible with older d.js versions


Storage: Dependency issue: Could not find androidx.annotation:annotation:1.1.0

Environment details

API: Storage
OS: macOS 10.15.2
Java version: 1.8.0_152
storage version(s): 1.104.0

Steps to reproduce
Create a gradle-based project with these (gradle 6.2):
repositories {
    mavenCentral()
    jcenter()
}

dependencies {
    implementation("com.google.cloud:google-cloud-storage:1.104.0")
}

Build it.
The build fails with
Could not find androidx.annotation:annotation:1.1.0.
     Required by:
         project :backend > com.google.cloud:google-cloud-storage:1.104.0 > com.google.api-client:google-api-client:1.30.8

Not sure if this dependency should exist in the first place. But if it should exist, then it should also be published to the repositories where google-cloud-storage is published. Or at the very least, the README should indicate if/when the dependency can be excluded and/or which repository to add to be able to use google-cloud-storage

@jnizet please try below config
repositories {
    google()
    jcenter()
}

dependencies {
    implementation("com.google.cloud:google-cloud-storage:1.104.0")
}

@suraj-qlogic  thanks, that works fine.
But still, I shouldn't have to do that, IMHO. This is why I submitted this issue (which IMHO, is an issue, and not just a question).
Why is a generic Java library dependant on what seems to be, according android-specific annotations?
If those annotations are supposed to be in the dependencies published on Maven central, why aren't they also published on Maven central?
If the google repo is necessary, why isn't it documented in the README?

I am experiencing the exact same issue, basically +1 everything @jnizet said.
I'm also astonished that this issue occurs when bumping from 1.103 (no error) to 1.104 (error as described above). The minor version bump does not imply to me that repositories {} block should be updated.

@chingor13 it looks like a dependency was added into api-client that's only available in Google maven repository.

cc @elharo

I'm still not convinced this was a bug, though there is a lot of failure in tools here because it exercised some parts of the Maven pom.xml that weren't well designed and/or correctly implemented.
Regardless, changes have been committed that will avoid this for now. I don't think @chingor13 has released those yet.

@elharo what are the changes users should be waiting for?

https://github.com/googleapis/google-api-java-client/pull/1491


E2E PoC

A feasibility E2E PoC to ensure we can do what we want to do.

Example XCQ Program

A XCQ program to query balances of some accounts and return the sum
Use query host call to invoke fungibles extension to fetch balance
Return primitive types

XCQ VM

Uses PolkaVM
Input:

A XCQ program
A fungibles extension data provider

Demo runtime

Implements XCQ runtime API

Demo SDK

Allow submission of XCQ program and invoke it
Includes the example XCQ program

This only covers the offchain part. The onchain XCQ execution via XCM is out of scope for this PoC.

I still get confused about how to connect the executor to pallet balances.  Please give me some suggestions.

We impl our Runtime via 2 ways: first, we configure some useful pallets with derive_impl using DefaultConfigs, then we configure additional apis via impl_runtime_apis. Is my understanding right?
So far as I know, pallet_balance' s AccountStore is specified as System which is frame_system. The question is what I supposed to get the total balance of an account is accessing system::AccountInfo via frame_system's account(who) dispatchable or invoke pallet_balance's dispatchables free_balance(who)+reserved_balance(who)?
Specifically, accounts to be queried will be given via XcqApi_execute_query's input, and polkavm program is supposed to do nothing but several host_calls via pallet_balance or frame_system apis (for future multiple tokens usage will use pallet_assets and fungibles trait?) to get balances of given accounts and then sum the results, then return to executor, then executor return to execute_query api. Is this process right? And primitive types means u64 instead of bytes?
In the previous implementation (which is just simple arithmetic), I use Polkadot Portal to invoke state call with api name (XcqApi_execute_query) and polkavm program as data, which works well. However, if the arguments become query and input, I can't simply call it via Portal's UI, since I need combine two arguments into one bytes array. And it's part of functionals should be implemented by our SDK. So if I want to test the api, is there any recommend ways?


Be consistent with how we document the PlatformStateContext objects for platformUrlState and platformState

Summary
Inconsistent examples and lack of documentation. For instance, in lab2 of the nr1-workshops
platformUrlState is used to implement the time picker, but in the how-to guides, the platfomState object I used instead.
It appears that they’re interchangeable, but none of them are documented under the PlatformStateContext section in the developer guide.
Steps to Reproduce

Go to the nr1-workshops look at page

Go to  how-to guides look at guide

compare how we communicate the use of platformURLState and platformState objects are used interchangeably.

Review the PlatformStateContextAPI and see we don't document this at all.

Expected

Be consistent in How to guides and Workshops with how we document the use of these to objects.
Update the PlatformStateContextAPI documentation
which may require a PR to the Nr1 Core to ensure the SDK Bundler contains this change permanently.

@alexronquillo would you have an interesting in taking this issue?

@alexronquillo would you have an interesting in taking this issue?

this looks to be fixed with our recent docs bundle update.


DSPermissionPassword

I'm getting the following error (though things were working as recently as a few days ago). Do you know why this might be happening?
suds.WebFault: b"Server raised fault: 'User 'DS:XXXXXX' logon failed: Delegate Source 'DSPermissionsPassword' reports: No response from source DSPermissionsPassword'"

I just got off the phone with some of their support folk. They said that they are phasing out access to Datastream via DataWorks Enterprise, and that we should use Datastream Web Services (DSWS) now.

Hello @handrew , thanks for letting me know!
A couple of questions:

Did they tell if they're going to shut down the old API completely or only not supporting it any more? The discontinuation would be quite a burden to rewrite and retest all interfaces...
Have you perhaps looked at DSWS, if it is very different from DWE? I wonder if the library could be easily fixed to use soap DSWS instead...

Hey,

Regarding the old API: you might wanna check out this link. Looks like they fixed it, but it's still going to be "retired", whatever that means.

Also, they said to me in a support ticket: "Upon further checking, DWE is already being decommissioned and a new API is in place. The new API for Datastream needs additional entitlement."

With respect to DSWS vs. DWE: I don't know, unfortunately. I'm trying to migrate over to to DSWS but I think that my Eikon w/ DFO subscription doesn't cover it. I'm working this out right now. Looks like it's going to be quite different.  However, it seems like someone else (who cited you, actually) has put together a Python library for DSWS.

Hope this helps, let me know if anything relevant comes your way.

Further information relating to Eikon w/ DFO access to PyDSWS. Looks promising!

Thank you for the information @handrew ! I will read into this.
The guy from the PyDSWS looks to be working at Thomson Reuters which is good! :-) I hope that at some point they will make official libraries for Python/R - it's hard to imagine that this would take a lot of efforts for a company like TR...


Translations update from Hosted Weblate

Translations update from Hosted Weblate for Mihon/Mihon.
It also includes following components:

Mihon/Mihon Plurals

Current translation status:

A fellow Malayali @akhi07rx . We can finish the translation all by ourselves. I believe in us. xD

A fellow Malayali @akhi07rx . We can finish the translation all by ourselves. I believe in us. xD

Yes we will. xD


Exporter/OcAgent: Integration tests with OC-Agent.

Test the Java OC-Agent Tracing/Metrics exporters against the real Agent.

Done with https://github.com/census-instrumentation/opencensus-java/pull/1786, https://github.com/census-instrumentation/opencensus-java/pull/1776 and a few manual tests in https://github.com/census-instrumentation/opencensus-java/pull/1761#issuecomment-470330781.


Install with FetchContent?

Hello there I've been trying to install directly with FetchContent rather than cloning and building separately. This doesn't seem to work. I think it has something to do with rosidl_generators not updating to the fact there is a new generator. If you have any ideas let me know please.

Or If possible to create a rosdep release.


Retry not wait when connecting to the instance on submiting solution

Sometimes the worker cannot connect to the instance because there are not enough instances are available. This can happen for multiple of reasons one of them being that the instance which was set to terminate do not yet is available for the use.
For that reason we previously added a possibility to wait and try again few times before giving an error.
This was not very efficient because it forced the whole dispatcher to wait this time and not allowing it to collect the results from other workers and possibly free an instance -> which would solve the problem of not having enough instances if the cause was different from the above.
This PR shortens the waiting time and if the instances are still not available it puts the worker back into the queue to try later.

good to go from your end?

I think so. but it's always better if someone reviews it...

Only giving it quick look - sorry i couldn't find the part where it is added to the queue? Can you point me in the right direction? Thanks!

When the worker status is set to 'retry' dispatcher sets the submission back to new, ie puts it back to the queue
https://github.com/paris-saclay-cds/ramp-board/blob/75e265549a4205fe3ef144cd0cb5477e890cbfb8/ramp-engine/ramp_engine/dispatcher.py#L219

@agramfort
We can test locally, but if you want to have a staging server we can have a continuously running EC2 instance that we can configure ramp on. We could even provision the database with a dump from the ramp.studio.

Only giving it quick look - sorry i couldn't find the part where it is added to the queue? Can you point me in the right direction? Thanks!

When the worker status is set to 'retry' dispatcher sets the submission back as new
https://github.com/paris-saclay-cds/ramp-board/blob/75e265549a4205fe3ef144cd0cb5477e890cbfb8

@agramfort @lucyleeow if you are happy could you pls merge (then it could already be present in the next release)

Ah I was looking for an explicit adding to the queue but I had forgotten I added the 'retry' function! LGTM

thx @maikia !

for the staging it's up to you if it helps you or not


TS-3535: Experimental Support of HTTP/2 Stream Priority feature

This is an experimental support of HTTP/2 Stream Priority feature.

Add a option to enable this feature ( disabled in default ).
proxy.config.http2.stream_priority_enabled
Parse priority parameters of HEADERS and PRIORITY frame correctly.
Add Http2DependencyTree and tests using lib/ts/PriorityQueue.h.
Create a dependency tree when clients send HEADERS frame with priority parameters or PRIORITY frame.
Separate Http2ConnectionState::send_data_frame() into Http2ConnectionState::send_a_data_frame()
and Http2ConnectionState::send_data_frames().
Schedule DATA frames using the WFQ algorithm.

Linux (CentOS7) build finished successfully. Details on https://ci.trafficserver.apache.org/job/Github-Linux/30/

FreeBSD v10 build finished successfully. Details on https://ci.trafficserver.apache.org/job/Github-FreeBSD/13/

This is second patch after the #525 and TS-4295.

This is running on docs.trafficserver right now.

The new commit passed the build tests on the CI

https://ci.trafficserver.apache.org/view/github/job/Github-Linux/80/
https://ci.trafficserver.apache.org/view/github/job/Github-FreeBSD/175/


Add problem solution

add solution to problem 67. create your own promise

Thanks! Mind if you resolve the conflicts?

Thanks! Mind if you resolve the conflicts?

I think I have resolved the conflicts.

Thank you!

I've noticed that BFE.dev doesn't render the youtube video widget, even though I have put the link in a separate line. Is it due to wrong format?

https://bigfrontend.dev/problem/create-your-own-Promise/solution
fixed. we don't support the shortened url though.

Thanks!


[web] RichText Height not working

works fine on mobile, not for web thought
MIN repro code
RichText(
                        textAlign: TextAlign.center,
                        text: TextSpan(children: [
                          TextSpan(
                            text: 'Awesome! \n\n\n\nWe will be sending updates on Ambee 2.0\'s \n\n\n\n\nprogress to ',
                            style: TextStyle(
        color: Colors.white,
        decoration: TextDecoration.none,
        fontSize: 24,
        fontWeight: FontWeight.w500,
        height: 1000,
      ),
                          ),
                          TextSpan(
                            text<EMAIL_ADDRESS>                            style: TextStyle(
        color: Colors.white,
        decoration: TextDecoration.underline,
        fontSize: 24,
        fontWeight: FontWeight.w500,
        height: 1000,
      ),
                          ),
                        ]),
                      ),

Expected results:

Actual results:

Logs

[✓] Flutter (Channel beta, 1.24.0-10.2.pre, on macOS 11.0.1 20B29 darwin-x64, locale es-ES)
    • Flutter version 1.24.0-10.2.pre at /Users/tomas/code/flutter
    • Framework revision 022b333a08 (7 days ago), 2020-11-18 11:35:09 -0800
    • Engine revision 07c1eed46b
    • Dart version 2.12.0 (build 2.12.0-29.10.beta)

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

[✓] Xcode - develop for iOS and macOS (Xcode 12.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.2, Build version 12B45b
    • CocoaPods version 1.10.0

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

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

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

[✓] Connected device (3 available)
    • iPhone 12 Pro Max (mobile) • CF12B78D-3231-44DD-B217-A38E4A68588B • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-2 (simulator)
    • Web Server (web)           • web-server                           • web-javascript • Flutter Tools
    • Chrome (web)               • chrome                               • web-javascript • Google Chrome 87.0.4280.67

• No issues found!

@tomasbaran
For some reason, I don't see the overflow exception on iphone and android using your code sample. I see white screen as below:

I don't know you're not seeing the overflow. I haven't tried Android only iPhone. The screenshot of the overflow is from iPhone 12 (iOS 14), maybe try to set lower height e.g. 10.
The important thing of the issue however is did you see the height change in web? Cause that's the issue.

@tomasbaran
I did try on iPhone earlier which saw same result (blank screen). I see below after running your code sample:

So you are experiencing the bug too. You have 5 extra lines because of this part in the text \n\n\n\n\ which I put by mistakes that's why you see the space btw lines it's definitely not height: 1000
Here is maybe a better min repro code:
Scaffold(
      body: SafeArea(
        child: Padding(
          padding: const EdgeInsets.all(24.0),
          child: RichText(
            textAlign: TextAlign.center,
            text: TextSpan(
              children: [
                TextSpan(
                  text: 'Awesome! \n\n\n\nWe will be sending updates on Ambee 2.0\'s progress to ',
                  style: TextStyle(
        color: Colors.white,
        decoration: TextDecoration.none,
        fontSize: 24,
        fontWeight: FontWeight.w500,
        height: 10,
      ),
                ),
                TextSpan(
                  text<EMAIL_ADDRESS>                  style: TextStyle(
        color: Colors.white,
        decoration: TextDecoration.underline,
        fontSize: 24,
        fontWeight: FontWeight.w500,
        height: 10,
      ),
                ),
              ],
            ),
          ),
        ),
      ),
    );

###web

###iOS (iPhone X iOS 14)

With flutter run -d chrome

With flutter run -d chrome --debug --dart-define=FLUTTER_WEB_USE_SKIA=true

Mobile (Android)

flutter doctor -v

[✓] Flutter (Channel beta, 1.24.0-10.2.pre, on Mac OS X 10.15.4 19E2269
    darwin-x64, locale en-IN)
    • Flutter version 1.24.0-10.2.pre at /Users/dhs/documents/Fluttersdk/flutter
    • Framework revision 022b333a08 (8 days ago), 2020-11-18 11:35:09 -0800
    • Engine revision 07c1eed46b
    • Dart version 2.12.0 (build 2.12.0-29.10.beta)

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

[✓] Xcode - develop for iOS and macOS (Xcode 12.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.0.1, Build version 12A7300
    • CocoaPods version 1.9.3

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

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 46.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

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

[✓] Connected device (3 available)
    • iPhone SE (2nd generation) (mobile) • 6C85835D-FBFD-4AB3-8DE8-B4FAD35E5367
      • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-0 (simulator)
    • Web Server (web)                    • web-server
      • web-javascript • Flutter Tools
    • Chrome (web)                        • chrome
      • web-javascript • Google Chrome 87.0.4280.67

• No issues found!

I just tried this on master and it looks like it might have been fixed. @tomasbaran could you please verify and let me know?

I just tried this on master and it looks like it might have been fixed. @tomasbaran could you please verify and let me know?

You're right @mdebbar

You're right @mdebbar


login from android client

I created a website using meteor.js, and I am using accounts-google, accounts-twitter, and accounts-facebook packages for login purposes. I want to create a native android application for the website. I could not figure out how I can login from android by using these 3 packages in meteor app. Can you give me some ideas? thank you.

sorry for the late reply...did you look at the Android Parties sample?
The packages you mention are server-side...not on your Android client...


Update mdoc, sbt-mdoc to 2.2.21

Updates

org.scalameta:mdoc
org.scalameta:sbt-mdoc

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

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta" } ]

labels: library-update, semver-patch

Superseded by #524.


CUDA Forward Compatibility mode

Hello,
I am running the jax container on a GH200 cluster. The cluster maintainer would like to keep CUDA kernel driver at v12.2.
When running the jax-toolbox nightly container, fused_attention in transformer engine raise exception of unsupported PTX.
I am trying to resolve the problem and wonder if it is possible to enable CUDA Forward Compatibility mode on the container?
Thanks in advance!

In principle the forward compatibility packages are installed in the ghcr.io/nvidia/jax:XXX containers.
If you run nvidia-smi inside/outside the container, what CUDA versions does it show?
If it shows the older 12.2 version in both places, it might be that you are not using the NVIDIA container toolkit (https://docs.nvidia.com/deploy/cuda-compatibility/index.html#frequently-asked-questions), or that some manual LD_LIBRARY_PATH changes or directories mounted in from the host system are interfering. You can check which libcuda.so* libraries/symlinks are appearing inside your container with something like find / -name 'libcuda.so*'. In this configuration (current nightlies use CUDA 12.5 containers, your 12.2 driver is older) then libcuda.so.555.42.02 (from the compat package) should be being used.
If it still doesn't work, please provide more details of the cluster environment.


Thumbnails take too long to load... Maybe time to use own thumbnailing system?

What feature or improvement do you think would benefit Files?
Well it takes 3 to 5 minutes for thumbnails to load...
probaly some corrupted thumbnail, or too much files causing this isusue, and you cant phisicaly find which one it is.
So its better to make own thumbnailing system for files for more reliability. Well thanks guys if u do it...
Requirements

Separate thumbnails loader per folder
Own generation of thumbnails
Long loading thumbnails could have "taking too long to load" badge in from of thumbnail, so you could find corrupted ones easily.

Files Version
<IP_ADDRESS>
Windows Version
22621.2506
Comments
Take into note system time -.-

Seems like windows also having same isusues:

Thanks for the feedback, Is this consistent in the same and/or different folders?

Is this an issue in other layouts or just grid?

Other layouts too

and it seems it completely freezes at times whole app, including windows explorer.

Files uses the same thumbnail system as File Explorer, can you try clearing the thumbnail cache? Can you also confirm if it's specific to this location?

can you try clearing the thumbnail cache? = iam strugling for 6 years with this bug apearing on every day, i endup deleting random stuff until it gets fixed, worst of all: i need restart of computer for things to take effect, and i dont even know what to delete most of times. its usualy 2 months of strugle trying to find item causing thumbnail corruption, then deleting it and after week or so geting another items which causing corruption from internet.

the only reason i dowloaded files was hope that it uses diferent thumbnailing system than file explorer to be honest, since on linux i never fell into these bugs...

Thumbnail systems are complicated and if we worked on our own, we wouldn't have time to work on the rest of the app. Is this also an issue in File Explorer?

Yes this is also isusue on file explorer.

@jokbon can you see if there is any different in the latest preview build (v3.1.6) https://files.community/download?


[Apple Notes] Feature Request: Store dates as obsidian properties

The ability to preserve Apple Notes created and modified dates as obsidian properties.

The dates should be preserved as the created and modified metadata on the markdown files.

You are 100% correct. My apologies, that was a hasty post.


Neither turrets nor bombs do not kill anyone

Neither turrets nor bombs do not kill anyone, it used to work, now it stopped, also maybe there is a conflict with everyone dies, but even both mods separately can not make anyone die, yes activate bombs and explode, turrets shoot, but do not kill, I have already rebropoval all, also both mods are almost identical, it would not be worth it to combine them to avoid all conflicts and this has grown into something global, I have a unique server and this mod used to work I have my own development like brutal company and specifically need to mine to die from mobs(((
I hope to fix it soon, I do not understand why it broke, I can send both video and screens, but I have already tried all the values and so on, also the second joint your mod on all die can not kill with a poke jester and spring, it's a pity

I can also share the build, it is quite large, also I would like to do it personally, because we have a unique customized hodgepodge that no one has seen, but everything worked, added a little mods, maybe they after updates somehow conflicted became, also there is such a thing when the mob died he in the animation of the living freezes and can even kill any player, the spider bites, the lollipop shoots while lying down

Well here is further check, the mod simply stopped working even if only he and the sea company installed, or rather not completely explode no one can not, but to activate the turret or mine yes

Well here is further check, the mod simply stopped working even if only he and the sea company installed, or rather not completely explode no one can not, but to activate the turret or mine yes

Please send me a video and screenshots. Also would love to see the log file which can be found in your profile. You go to the bepinex folder in the profile and then the log file.

More about EverythingCanDie, version 2.5 works, the mobs explode, but it has broken khp mobs, always with 2 hits die, but FairAi fully working early or fresh could not find, another mod above 2.5 also works already incorrectly, but I personally need both mods, change khp, set the explosion or aiming turrets, very much waiting for when you make it a single mod
LogOutput.log
https://github.com/GoldenKittenPlays/FairAI/assets/44456040/ffd4e262-5283-4470-a178-2c6ce3cce800

On the video works activation and turrets and mines, but no one dies again, mods I have a minimum is minimal, especially for the test turned off, but as practice has shown the matter is not in it

So in your log there is something called CheatBossAntiCheat. Try disabling that and see if it works.
The log I mentioned:
CheatBossAntiCheat.Patches.EnemyHitAction (EnemyAI __instance, System.Int32 force, System.Int32 playerWhoHit, System.Boolean playHitSFX) (at <8aed24d1ebe147cf9766ad31468ca8bd>:0)
(wrapper dynamic-method) EnemyAI.DMDEnemyAI::HitEnemyServerRpc(EnemyAI,int,int,bool)
EnemyAI.HitEnemyOnLocalClient (System.Int32 force, UnityEngine.Vector3 hitDirection, GameNetcodeStuff.PlayerControllerB playerWhoHit, System.Boolean playHitSFX) (at :0)
FairAI.Plugin+<>c__DisplayClass29_0.b__0 (UnityEngine.GameObject t) (at :0)
System.Collections.Generic.List1[T].ForEach (System.Action1[T] action) (at <787acc3c9a4c471ba7d971300105af24>:0)
FairAI.Plugin.HitTargets (System.Collections.Generic.List`1[T] targets, UnityEngine.Vector3 forward) (at :0)
FairAI.Plugin.AttackTargets (UnityEngine.Vector3 aimPoint, UnityEngine.Vector3 forward, System.Single range) (at :0)
FairAI.Patches.TurretAIPatch.PatchUpdate (Turret& __instance) (at :0)
(wrapper dynamic-method) Turret.DMDTurret::Update(Turret)

Indeed, the conflict was there, but I will still check the compatibility of the mods with each other, since when it started I was using only 1 mod and it partially worked, thanks!

Indeed, the conflict was there, but I will still check the compatibility of the mods with each other, since when it started I was using only 1 mod and it partially worked, thanks!

No problem feel free to tell me anything else that may go wrong here

In general this is what came out in my full build + 2 mods and customized, their configs are also attached and a video where the mobs die before I ran out of installed xp and some die as I assigned, but can hold on and here is an example with slime, jester and licker they are dead and not, may well kill, but the loot from them has already fallen, this happens with others, often spiders hang dead but their hitbox is biting
https://drive.google.com/file/d/1yHf7cgR2kX1_B35PuHJ_gRrrS3EOQ2Mw/view?usp=sharing
https://drive.google.com/uc?id=1O5ZmaNQp51AaDhrRlDC6CE36IF4CzGRX&export=download

@GoldenKittenPlays

@GoldenKittenPlays
I mean would have been easier just sending the log file. Shows me what I need to see but I can not do anything with those files for now. I will see what I can do soon

Okay, I'm waiting, but I attached the log and configs to make it clearer where I was wrong, or what the problem is even if I'm not wrong

@GoldenKittenPlays
What's the news there?

@GoldenKittenPlays What's the news there?

I mean sorry I am working on 4 mods right now so I am trying my best to keep up on it. I will let you know if I figure out anything but so far I havent even got a playtest setup yet.

@GoldenKittenPlays What's the news there?

Oh I see that you forgot to enable the explosion effect for all mobs. That is the temporary solution to get rid of the enemy bodies. Because the enemies do not have a death animation some of them just stay alive if they are not forcefully removed by the explosion effect from everything can die mod

Ooh, I thought it is not important, well, I was afraid that it may cause some errors because it is only for me, others do not see this effect, I will try to enable, thank you

Ooh, I thought it is not important, well, I was afraid that it may cause some errors because it is only for me, others do not see this effect, I will try to enable, thank you

Of course no problem and that was the original intention but sadly I use it as a temp solution.

Something is still wrong, the bodies even after the explosion do not disappear, and the other player they are alive and hang in place, or braken dead I constantly break the neck of my immortal friend, the value is worth, the explosion was, the body remained....
LogOutput.log

And I forgot to mention again, their hp is not equal to what I set, it's less, the mask needs not 6 but 3 hits which is strange


Fix clone line undo history and extra new line, issue 21811

Fixes the additional new line when cloning and the undo history for the last line.
Also fixed a typo in the function name.
closes #21811

Thanks!


Create directory where file is saved by user

[ ] Prompt user for file name when data is saved     input(filename)

Data will be saved by day/time instead.


Remove duplicated PB message definitions and refine gRPC API

In what area(s)?
/area runtime
Describe the feature
This is to remove the duplicated Protobuf message definition and rename gRPC service name properly

Move State, StateOptions, RetryPolicy, and StateRequest to dapr/proto/common/v1/ and share them in Dapr and DaprClient grpc service.

JS grpc generator complains about the duplicated definitions in Dapr and DaprClient cc/ @pruthvidhodda

Rename DaprClient gRPC Service name to AppChannel

DaprClient naming makes user confused. We can think that DaprClient is used for Dapr gRPC API client. But, this gRPC is designed for AppChannel communication in user application.

Use the consistent request and response message naming convention

We use xxxxEnvelope message name in some proto files while using xxxRequest, xxxResponse message name in the other proto files. I am proposing to use xxxRequest, xxxResponse for request and response msg naming conventions respectively.

@yaron2 @amanbha @artursouza @LMWF
I wanted to refactor gRPC service definition and PB message naming in this milestone, but it will result in lots of java-sdk/dotnet-sdk changes.  Before 1.0, we need to make grpc service and protobuf message consistent and clear.

Overall, LGTM.
Can you clarify what will be the naming convention for request/response?

Overall, LGTM.
Can you clarify what will be the naming convention for request/response?

I prefer using xxxxRequest and xxxxResponse naming convention which are more specific.

I support the usage of Request/Response.

LGTM, specially renaming DaprClient as its confusing. Can the new name somehow convey that its for Dapr calling into user app. I am not sure if AppChannel clarifies it.
Could you clarify the names for Request/Response types?

LGTM, specially renaming DaprClient as its confusing. Can the new name somehow convey that its for Dapr calling into user app. I am not sure if AppChannel clarifies it.

@amanbha I suggested AppChannel because Dapr sidecar use this internally :) If you have better name, please let me know.
@artursouza @yaron2 do you have the good name for DaprClient?

Could you clarify the names for Request/Response types?

here is the examples:
the proposal is to add Request and Response suffix to PB message name. I think this naming convention is widely used.
https://github.com/dapr/dapr/blob/f4dd93e1bbd577d44971f7fffc473a201dd155b2/dapr/proto/dapr/v1/dapr.proto#L32
https://github.com/dapr/dapr/blob/f4dd93e1bbd577d44971f7fffc473a201dd155b2/dapr/proto/operator/v1/operator.proto#L28-L39

AppClient.

AppClient.

Client suffix makes me confused :) I am not sure this is good name...

A problem with using works like client, server, and proxy as I've seen in some runtime <--> app technologies is it becomes a question "from which side's view"?  And sometimes it's the opposite of what most people would think.  Something more descriptive like "DaprToAppChannel" might work if it's not too long.

Just App then.

Something more descriptive like "DaprToAppChannel" might work if it's not too long.
seems too complicated..

Just App then.
seems too generic.

What about DaprApp ?
(cc/ @orizohar @mchmarny @msfussell. Do you have an idea for DaprClient service name? )

Dapr in DaprApp is redundant, since it's used for Dapr and comes from a Dapr package.

How does ToAppChannel sound?

Dapr in DaprApp is redundant, since it's used for Dapr and comes from a Dapr package.

Yeah :( Dapr is redundant...

How does ToAppChannel sound? On second thought AppChannel is fine, Dapr.proto is for server running in dapr and app calls into it. AppChannel is for server running in app and dapr calls into it.

This is the gRPC service name... so ToAppChannel doesn't look good for gRPC service name.
I personally prefer AppChannel..

We need to pick a name that makes sense for the user, as the user will be implementing it.
The Dapr runtime doesn't care how it's named as much compared to the user experience.

Sure, AppChannel is fine with me.

Shouldn't it be called DaprAppChannel then, since it's from the user's view?  On the runtime side that might look like an odd name but on the user side it'll be a more descriptive name.

Maybe something like Callback. It makes it explicit for the user this is a callback interface they're implementing for Dapr to call into.

yup, DaprCallback would make sense.

Along those lines then, AppCallback would be more suitable.
You know how the Go linter claims you stutter if the type first word contains the package name?
So dapr.DaprCallback is weird, because the package name is already there. I think dapr.AppCallback is cleaner in this case.
WDYT?

Yes, AppCallback is good as well.

dapr.DaprCallback stutters , so AppCallback makes sense but given the more specific connotation of an app, I wonder if something more generic like dapr.ServiceCallback would make more sense. Thoughts?

dapr.DaprCallback stutters , so AppCallback makes sense but given the specific connotation of an app, I wonder if something more generic like dapr.ServiceCallback would make more sense. Thoughts?

ServiceCallback sounds too broad. AppCallback refers to App's callback. it is intuitive for me.

Here is the decision:

Switch Any to bytes type for state/bindings/pubsub related protobuf messages, except for service invocation
Define enumeration for retrypattern/concurrency/consistency options
Move duplicated proto messages to common.proto
Rename DaprClient to AppCallback
Rename PlacementService to Placement
Use Request and Response suffix for gRPC request and response


Remove White Flash

Is your feature request related to a problem? Please describe.
I'm currently using dark mode. When I switch to another service, I get a white flash before the page loads. Is there a way to stop this?
Describe the solution you'd like
When I switch from one service to another, I get a white flash.
Describe alternatives you've considered
I can't think of an alternative to this.
Additional context
I'm currently using dark mode.

@monkeylove - please specify other details like Ferdi version, OS version, etc.
Also, I am using the latest nightly on a mac, with dark mode, and I dont see this issue at all.

Sorry, I just checked now, and it only happens while the page is being loaded for the first time, either after starting the program or when waking from hibernation.
I'm currently using ver. 5.60 on Win 10 Home x64, latest build. I'll try beta or nightly.

Yes - when the service is loading the page, there is bound to be some time where the contents are downloaded over the internet. Not sure if this can be fixed or not.

Similar took place for Firefox (a white flash whenever pages are opened), and was dealt with a one-line command in a CSS file or configuration to change the background color.
https://www.reddit.com/r/firefox/comments/8clww9/changing_background_color_while_loading_webpages/?depth=4
I wonder if something similar can be done for Ferdi.

@monkeylove - thanks for the link. But, this cannot be done at the global level. Each service that you observe this behavior, you can create the css and paste the content in - for that specific service in Ferdi.

Don't see a viable solution for this except changing the color of the flash which doesn't solve the fact that ferdi simply has to download content.


wallet

Version of EOSJS
which version of eosjs exhibits the issue
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

wallet... well then, I'm not sure what happened here but closing this out until issue is updated.


import in a Swift file ?

I want to use UITextView-Placeholder, I've installed it with Cocoapods but now I'm wondering how I should import it in order to use it in my Swift file. Thanks!

@raphh11, You can do:
import UITextView_Placeholder

Ok thanks! You can close the issue, sorry for this it was pretty simple actually!


invalid versions in spark_install() produce unhelpful error

> spark_install("2.0")
Error in spark_install_find(version, hadoop_version, installedOnly = FALSE,  :
  Spark version not installed. To install, use  spark_install(version = "2.0")

It's not obvious to look in spark_available_versions() for the right incantation.

Improved.


Ensure that TransformedDistribution is reparameterized

This fixes a bug in Pyro's TransformedDistribution that uses PyTorch TransformedDistribution in a clever way that happens to work. It fixes plumbing to correctly translate between PyTorch properties and Pyro properties (e.g. .reparameterized vs .has_rsample).
This is needed especially after https://github.com/pytorch/pytorch/pull/5086 which ensures that PyTorch TransformedDistrubution.sample() is not accidentally reparameterized.
This also fixes a bug in @copy_docs_from() and fixes docstring formatting in SparseMultivariateNormal.

@jpchen would you mind merging this?


Fix openssl elliptic compile issue

May be we also need to provide a test for openssl-elliptic and mixed-elliptic build.

Can you provide a little more description on what this fixes? The expectation is that this file will not be used in our compilation due to secp256k1 library usage.

Yes, but the fc library also provide the option(aka. ECC_IMPL option) to be built with OpenSSL.
This fixes the compile issue when building fc library with OpenSSL-ECC implementation.

It only fixes the compile issue, it doesn't actually make it canonical.  We should make sure the implementations are the same.

Hi @bytemaster, I've implemented canonical semantic, thx.


Fixing getTXOut

Prior to this PR, the BITBOX.Blockchain.getTxOut() call didn't work at all. This PR fixes this endpoint, adds unit tests, and also adds integration tests. It resolves the outstanding Issue #147.
The getTxOut() function is important for validating that a UTXO is valid. The typical workflow is to get UTXOs from an indexer. This call to the full node should be exercised to validate these UTXO before attempting to spend them.

:tada: This PR is included in version 8.8.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Why not part of the linux kernel? Just out of interest

Would it be possible to implement a ring-0 wasm VM as a linux kernel module? I can see this being easier to integrate with existing systems, and thus have faster uptake than a completely new kernel.

https://github.com/cervus-v/cervus

As @levex noted above, this has already been tried. The project seems to be dead at the moment, however.

Thanks!


Correct typo in NIH redirect URL

I just noticed a typo in the NIH redirect URL. I'm not sure how this was introduced but the word submission has a 'd' in it instead of a 'b'.
The current URL is:
https://bdc-data-sudmission-tracker-dev.nhlbi.nih.gov/
and the URL should be:
https://bdc-data-submission-tracker-dev.nhlbi.nih.gov/
This means I can't yet implement or test NIH SSO.
While I'm at it I should also get the short URL, as well as the test and production URL's in process.

I have sent an e-mail to Sreeni to request a change to the URL.

We have requested the URL certificate update. I believe we are now all good-to-go.


Do not notify consensus about historical blocks

What it says on the tin. This should also stop consensus from emitting the log message about missing eras.
Closes #4378

bors r+


creating rows/columns for missing data

Hi,
How can i add rows/column headers/labels for which there is no values in de dataset?

Unfortunately this is not possible at the moment.
On Sun, Mar 18, 2018 at 06:38 giko45<EMAIL_ADDRESS>wrote:

Hi,
How can i add rows/column headers/labels for which there is no values in
de dataset?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/nicolaskruchten/pivottable/issues/885, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AAMbAy8ZNm-33dZMlAdVwMi6Rjvz6Cc9ks5tfjk_gaJpZM4SvJWt
.

You could do some preprocessing on the data you feed to Pvt. Worst case scenario: traverse every row and extract all keys (if rows were objects) then do it again ensuring every row has a defined value for such key.
I'm doing this preprocessing by default to infer how many distinct values are there for a given key (0 or 1 will omit the key), infer what properties have scritly numeric values (will remove them from draggable attributes and whitelist them to aggregator properties).
The same could be done in your case. If you're meaning to use user picked datasets, or datasets you just don't know beforehand , you will need to perform some diagnosis


fix ExecJS::Runtimes.from_environment

The current implementation of ExecJS::Runtimes.from_environment has two bad things:

The elsif branch can never reached, while the if const_get will raise a exception. So we should fix it by using a rescue.

There is a doubled if

This repository has been deprecated and has moved to https://github.com/rails/execjs.


bug: [postcss] (0 , _parse.default) is not a function

What version of daisyUI are you using?
v4.0.5
Which browsers are you seeing the problem on?
Other
Reproduction URL
nothing
Describe your issue
First of all thank you for this plugin. when I try to upgrade new version of daisy ui 4.0.5 I get error. I tried to update all npm packages but nothing is changed.
this is what I get error in terminal.

and these are what I use packages in my project.

Thanks for letting us know about the issue!
Can you share a simple reproduction repo of the problem? It'll help us fix things faster. Without a reproduction repo, it's not easy to guess the problem.
Thanks for helping make daisyUI better!

Hi, this is reproduction repo I just install my packages and show up the error. This setup works with daisyui 3.9.4 version but it's not working on 4^ versions. I hope you can see the repo. Thank you again.
https://stackblitz.com/edit/nuxt-starter-nngef8?

It works if you separate the tailwind config file:
https://stackblitz.com/edit/nuxt-starter-7nfzf8?file=tailwind.config.js
I don't know what's happening under the hood but for some reason the config inside nuxt.config.ts is not working as expected.
Having a dedicated tailwind.config.js file is also the recommended way from Nuxt website: https://tailwindcss.nuxtjs.org/examples/daisyui
Let me know if you have a question.

I'm sorry but i already separate config files in my own project. It didnt work with v4. I updated my example stackblitz. I use same code same configuration for daisyui 3.9.4 its work but v4 didnt.

Does the separated tailwind.config.js work for you?
https://stackblitz.com/edit/nuxt-starter-7nfzf8?file=tailwind.config.js


kgo.FetchMaxPartitionBytes: increasing this option causes high memory usage

We noticed that when increasing the value for kgo.FetchMaxPartitionBytes even to 10MB, causes our apps to use much more memory than normal. Also the throughput is affected.
You can see the difference from these metrics:

Running without any options:

Running with FetchMaxPartitionBytes to 10MB:

From the metrics you can see that when running with no options the app gets to a mean of 231MB and when running with FetchMaxPartitionBytes set to 10MB it gets to 1.91GB
I created also a benchmark for this that proves the same thing and the code used is similar to what we have in our apps. Should be also useful in fixing: https://github.com/twmb/franz-go/compare/master...sbuliarca:benchmark-fetch-max-partition-bytes?body=&expand=1&title=Added+benchmark+for+using+kgo.FetchMaxPartitionBytes

By default, producing messages uses snappy compression. The consuming side configuration is based on batch size -- whatever is in the batches (compressed data) is not inspected by the broker. Is the memory on the consumer side because you're fetching, say, 10M that then gets decompressed to a large payload?
I do see your benchmark uses rand.Read, which likely is not compressible. However, the benchmark isn't demonstrating memory usage per op, it's demonstrating how fast your network connection is such that it can consume so much data so quickly (i.e., if this client was implemented very poorly such that polling weren't fast, then fewer polls could happen per iteration and it would show lower memory usage).

Is the memory on the consumer side because you're fetching, say, 10M that then gets decompressed to a large payload?

Indeed, but isn't it the same also when not using the kgo. FetchMaxPartitionBytes ?

However, the benchmark isn't demonstrating memory usage per op, it's demonstrating how fast your network connection is such that it can consume so much data so quickly

The benchmark was meant to show the difference between running the code with and without the option, on the same machine. I added more stats to the benchmark in this commit https://github.com/sbuliarca/franz-go/commit/1cb32cc2387ffd4fc764a6aef56879a4a614f0fb
and comparing the code runs (taking one row from the each 15 runs that mostly look the same ) :

without FetchMaxPartitionBytes:
BenchmarkPollRecords 	       1<PHONE_NUMBER> ns/op	     59720 compressedbytes/op	        97.00 recs/op	    994865 uncompressedbytes/op	132888208 B/op	   13815 allocs/op
with FetchMaxPartitionBytes:
BenchmarkPollRecords 	       1<PHONE_NUMBER> ns/op	     59720 compressedbytes/op	        97.00 recs/op	    994865 uncompressedbytes/op	655721024 B/op	   61965 allocs/op

As you can see in both cases it reads mostly the same amount of compressed bytes (seems rand.Read is compressed to 6% after all), the number of records/op is the same, the only thing that is different is the no of bytes & allocs /op:

132888208 B/op vs 655721024 B/op
13815 allocs/op vs 61965 allocs/op

Following the code I don't know if there's much you can do in the lib, as I see it gets straight to the fetch request to kafka: https://github.com/twmb/franz-go/blob/master/pkg/kgo/source.go#L551

I agree, I don't think there's much I can do in the library itself. Due to potential message compression -- and like 4 different knobs to control how much you consume at once -- getting memory usage better  may require some tuning / playing with settings. There's some docs about adjusting the number of concurrent fetches, each fetch size, and each fetch partition size -- let me know if those don't suffice. I'm going to close this for now though since I'm on the side of nothing to be done here.


See list of all open issues

Users can click on a repository name, which will route them to a new page.

The second HTML page will display a list of all open issues for that repository.

completed