Question about confing  rewards

Hello, I'd like to ask you about a problem I'm having. First, there is a default lane change reward in the configuration, but when I assign a value to it, it doesn't work, what should I do with it? Second, I want to set the speed reward to a*(V-vmin)/(vmax-vmin) instead of rewarding a speed interval, what should I do? Thank you for your answer.

import gym
import highway_env
import pprint
env = gym.make("highway-fast-v0")
env.configure({"lane_change_reward": -0.1})
obs = env.reset()
pprint.pprint(env.config)   # check the env config for sure

you need to modify the _reward function.
you can use self.vehicle.action["acceleration"] as acceleration.

Yes, I found this setting in env.configure({"lane_change_reward": -0.1}), but when I tried to set all the other rewards to zero and just looked at it, I found that it didn't work.I want to ask you how to change it to make it work. As you can see, there is no reward in _reward function.

for example:
def _reward(self, action: Action) -> float:
    ...
    lane_change = (
        1 if action in {0, 2} and self.action_space == spaces.Discrete(5) else 0
    )  # DiscreteMetaAction with ACTIONS_ALL
    reward = (
        +self.config["collision_reward"] * self.ego_vehicle.crashed
        # + self.config["right_lane_reward"] * lane / max(len(neighbours) - 1, 1)
        + self.config["high_speed_reward"] * np.clip(scaled_speed, 0, 1)
        + self.config["lane_change_reward"] * lane_change
    )
    ...

Thank you very much for your help, which solved my problem.


Fatal error when injecting Apigility v1.4 into Zend Framework 3

I've juts included 4 new packages: zfcampus/zf-apigility, zfcampus/zf-apigility-admin, zfcampus/zf-development-mode and rwoverdijk/assetmanager (not sure why though but fair enough).
After that the website displays this stack trace:

Fatal error:  Uncaught exception 'Zend\ServiceManager\Exception\ServiceNotFoundException' with message 'Unable to resolve service "InputFilterManager" to a factory; are you certain you provided it during configuration?' in D:\RZECZY_ADAMA\_XAMPP\xampp-5.6\htdocs\zend3\vendor\zendframework\zend-servicemanager\src\ServiceManager.php:670
Stack trace:
#0 D:\RZECZY_ADAMA\_XAMPP\xampp-5.6\htdocs\zend3\vendor\zendframework\zend-servicemanager\src\ServiceManager.php(746): Zend\ServiceManager\ServiceManager->getFactory('InputFilterMana...')
#1 D:\RZECZY_ADAMA\_XAMPP\xampp-5.6\htdocs\zend3\vendor\zendframework\zend-servicemanager\src\ServiceManager.php(195): Zend\ServiceManager\ServiceManager->doCreate('InputFilterMana...')
#2 D:\RZECZY_ADAMA\_XAMPP\xampp-5.6\htdocs\zend3\vendor\zfcampus\zf-content-validation\src\ContentValidationListenerFactory.php(31): Zend\ServiceManager\ServiceManager->get('InputFilterMana...')
#3 D:\RZECZY_ADAMA\_XAMPP\xampp-5.6\htdocs\zend3\vendor\zendframework\zend-servicemanager\src\ServiceManager.php(747):  in D:\RZECZY_ADAMA\_XAMPP\xampp-5.6\htdocs\zend3\vendor\zendframework\zend-servicemanager\src\ServiceManager.php on line 670

EDIT: It turns up, that I needed another pacakge: Zend\InputFilter, after importing it via Composer and adding it into modules.config.php it started to show my previous website. I still can't see Administration Panel of Apigility after running: php public/index.php development enable.

So what error you can see now?
As I understand, previous error was caused because you didn't enable Zend\InputFilter module, correct?

@webimpress thanks for your reply.
That is correct, atm I don't know how to access Apigility Administration Panel when I am in development enable mode. I can access things like: apigility/api/module/StatusLib which returns me some json, but that's about it. How do I see Apigility GUI?

@divix1988 Please read the documentation:
https://apigility.org/documentation/intro/updating-to-1-4#asset-management
In Apigility 1.4 asset management was changed. As you noted before you've installed rwoverdijk/assetmanager (I guess version 1.7). Do you have enabled this module?
Do you have installed module zendframework/zend-component-installer ?
You can always try install this module, and than remove whole vendor directory and run composer update (or composer install) again. You can also try library zfcampus/zf-asset-manager instead of rwoverdijk/assetmanager, as described in the documentation. Both are fine and both should work with Apigility 1.4 :)
Definitely you don't need to run bower ;)

OMG finally!!... I've had to add AssetManager to development.config.php & dist (yeah I know this could easily be copied with development-enable script). and it started to work for anybody else who will struggle as me, here is a development.config.php modules list:
'modules' => [
    'ZF\Apigility\Admin',
    'ZF\Apigility\Admin\Ui',
    'ZF\Configuration',
    'AssetManager'
],

Thanks for your help @webimpress, big help! Dzięki! :)


.stp and .step as application/step

adding .stp and .step (CAD files) as application/step

Sorry I overlooked this. Merging now.


Integration with Hybrid Analysis Sandbox

Hybrid Analysis Sandbox has lately introduced a new feature : MITRE ATT&CK™ Techniques Detection.
There can be 2 options:

One could potentially download the csv (e.g. https://www.hybrid-analysis.com/sample/8ad1f89e32712a84beda9b26650867365e3a62c5abbebe35baca004ee4fa0d22?environmentId=100) and upload it to navigator.

Paste the URL of Hybrid Analysis and automatically extract the relevant information and load it to Navigator.

Cheers,
Andreas

Hi @sfakiana! This kind of functionality makes a lot of sense...lots of external tools including Hybrid Analysis but also many others could leverage the navigator to visualize their ATT&CK analysis results.
That said, the best way to do that is for those other tools to generate navigator layer files (see: https://github.com/mitre/attack-navigator/blob/master/layers/LAYERFORMATv2.md). Layer files are the "standard" format for representing ATT&CK heatmaps to be visualized in the navigator. If Hybrid Analysis were to generate those layer files with its results then it would be possible to point the navigator at the URL or file and have it work automatically without any changes to the navigator.
Given that preferred approach, at this point we don't plan to build any specific integrations into other products into the navigator.


[Feature Request] Cron triggers for Local Development

💡 Feature request
Describe the feature
Currently, there is no way to test scheduled jobs, since we can't fire a scheduled during development. I suggest adding support of "cron triggers testing" for wrangler dev or wrangler preview, which speeds up the development and testing.
Possible methods of triggering a cron job during development:

For wrangler dev, wrangler creates a special route (path) during development, and developers can trigger a job by sending a request to the route, eg: GET http://<IP_ADDRESS>:8787/__crons/:cronExpression
For wrangler preview, a Test Triggers tab is available for developers to trigger a cron job.

Describe the alternatives
The current work around for this issue is to simply deploy the worker to production.
Or add the code I want to test to the fetch event handler, which is really inconvenient:
addEventListener('scheduled', (event) => {
  event.waitUntil(scheduledJob(event))
});
addEventListener('fetch', (event) => {
  event.respondWith(scheduledJob(event))
})
const scheduledJob = (event) => {
  // Job
}

Thanks.

Thanks for making this issue! This is definitely something we need to support.
In the interim, a simple workaround would be to call a mock scheduled event from a fetch handler. Not nice, but it can get the job done for you if you need it today.


Fix #266/Update NEWS.txt and NOTICE.txt

I see that readthedocs is targeting develop branch to generate Tellurium docs. Can we change it to master?

I also updated NEWS.txt and NOTICE.txt. Instead of deleting NEWS.txt, I simply added link to the NEWS section in tellurium website.


[Bug]: Is it not possible to use Lucia in Next.js middleware?

Package
lucia
Describe the bug

My bad I think this is caused by another package but not lucia


Upgraded node-fetch to v2.6.1

Closes #17
Upgraded node-fetch to 2.6.1

Worked like a charm, thanks!


paperview + compositor

Hi glouw, looking through the discussion on the non-SDL2 gist you link in the readme. I may be wrong but I'm pretty sure that if you did go down the route of using the XRender extension instead of SDL2 that this compositor issue might go away. Perhaps you could make a non-sdl2 multi monitor version of paperview using XRender instead of SDL2 and see if this works?

This program will not work with any compositor because of how compositor and tools works.  X server first draws the root window (wallpaper) and then the rest of windows that you have opened. This program renders its animated graphics directly to the root window, so without any compositor you get an animated wallpaper. When you run compositor though, X11 no longer draws the windows on the screen. Instead it sends the image of each window to the compositor. The compositor can do whatever it wants with the window (make them transparent, round corners etc.) and the final frame of your whole desktop is renderer to the root window (wallpaper) as that's the only window that X server still draws.
The only way to make this tool work with a compositor is to change it's implementation. Instead of drawing to to the root window you should tell X server to use another piece of graphics as the new wallpaper. Or you can modify your compositor, make it use your own graphics (animated or not) instead of the X server wallpaper.

Instead of drawing to to the root window you should tell X server to use another piece of graphics as the new wallpaper. <- This sounds promising!

Well, I looked into this over the past few days. Unfortunately there's no way to make it work fast without doing it directly in the compositor.
I can make a new pixmap, copy graphics to it every few milliseconds and submit that pixmap as the new wallpaper and it does work with or without compositor, but it is quite slow. Making the pixmap use shared memory (which should speed up things a lot) does not work.  In fact, all the compositors start complaining about there being an invalid window, so clearly that does not work with wallpapers. In general it seems that the wallpaper mechanism is stuck in the past and no modern extensions like shared memory work with it.
I hacked on xcompmgr (as it's the simplest compositor around) and made it to fetch the graphics for wallpaper from my bmp files instead of asking X for the real wallpaper and it works very well. Maybe it would be worth submitting to picom, but I'm thinking of some more generic solution. Displaying bmp files in sequence is cool, but I'd like a full 3D context as a wallpaper so I can display some procedural 60fps graphics. At the same time picom seems very messy, they have some experimental backends, several options for the same feature, some slow, some fast... I don't want to criticize outright, I have learned how hard and weird X11 can be, so I suspect there are valid reason for at least half of it, but I'm not sure about all of it.
I'm quite determined to create my own compositor now... wish me luck
btw I'm not the author of this program. I just found it accidently and got inspired

That sounds pretty awesome man! Good luck with that! I'd be keen to use, test and contribute if you put the code up.

pseregiet hows it going?


fix: paginate messages for maildir storage

Fixes https://github.com/mailhog/MailHog/issues/178

Hey, is someone here to review this feature?

:up:

🆙

Please merge this commit - this feature breaks usage

/cc @ian-kent


drafts.js: Create initialize() function.

@timabbott This is good to merge post-1.6.  (It has a small change to non-test code that's low risk, but also low reward, so we may as well wait.)

Merged, thanks @lonerz!


⚠ Bofrost.fr has degraded performance

In a2fb821, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 846 ms

Resolved: Bofrost.fr performance has improved in b14b096 after 8 minutes.


Remove version: Google.Chrome.Canary version 131.0.6750.0

installers return following HTTP status code: 404
Microsoft Reviewers: Open in CodeFlow

URL: https://dl.google.com/release2/chrome/pb23vdn6m5gvp6qeeeevzws3wu_131.0.6750.0/131.0.6750.0_chrome_installer.exe
Response status code does not indicate success: 404 (Not Found).
(Automated message - build 897)


AUI-2000 Add borders as separators on the grid.

Just started reviewing :) :octocat: Sent from GH.

I think it would be best to make this change only for the form builder instead of on layout, so we can keep layout accessible by keyboard and mobile instead of removing this for both modules. It's best if this is just the way the form builder uses layout, instead of its default behavior, so people can use the simpler version or choose to customize it themselves as well.

I am moving these changes to the form builder after failing to figure out a better way to do it on this component without compromising the usability and without a lot of code changes.
PS: Jadson also told me that the user shouldn't be able to resize on mobile or using the keyboard.


add hover background color change

Alaska Airlines Pull Request
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes: #102
Summary:
Please summarize the scope of the changes you have submitted, what the intent of the work is and anything that describes the before/after state of the project.
Set background color auro-color-ui-bkg-hover-on-light.
Type of change:
Please delete options that are not relevant.

[ ] New capability
[x] Revision of an existing capability
[ ] Infrastructure change (automation, etc.)
[ ] Other (please elaborate)

Checklist:

[x] My update follows the CONTRIBUTING guidelines of this project
[x] I have performed a self-review of my own update

By submitting this Pull Request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Pull Requests will be evaluated by their quality of update and whether it is consistent with the goals and values of this project. Any submission is to be considered a conversation between the submitter and the maintainers of this project and may require changes to your submission.
Thank you for your submission!
-- Auro Design System Team

:shipit:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


SA1137/SA1316 false positive when using primary constructors

Problem
The following code block causes false warnings. (LangVersion set to preview)
class A(int b)
{
    public int B => b;
}

How this is a problem
It is suggesting to format the code like so:
class A(int B)
{
public int B => b;
}

When using primary constructors in non-record types, they're considered parameters/fields, and therefore use camelCase.
The lack of indentation is clearly unintended since the same thing isn't raised for record types, and it goes against the rule of contents in blocks having indentation in the first place.

I tried with Visual Studio 17.6.2 and StyleCop Analyzers 1.2.0-beta.435, but can not reproduce this.
Can you provide some info about your setup?

Operating System: Linux (popOS)
IDE: Rider 2023.2 EAP 2
.NET SDK: 8.0.100-preview.4.23260.5
<ItemGroup>
    <PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.435" PrivateAssets="all"/>
</ItemGroup>

I also reference Emik.Morsels, which is essentially a toolchain/build tool. I don't see why it would conflict with the analyzer, but it is part of my environment.

Detailed information about my IDE setup
JetBrains Rider 2023.2 EAP 2
Build #RD-232.6095.13, built on May 18, 2023
Licensed to JetBrains Rider EAP user: Emik Emik
Expiration date: June 17, 2023
Runtime version: 17.0.7+7-b953.1 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 6.2.6-76060206-generic
.NET Core v7.0.4 x64
GC: G1 Young Generation, G1 Old Generation
Memory: 8000M
Cores: 12
Registry:
    actionSystem.playback.typecommand.delay=4
    ide.intellij.laf.enable.animation=true
    actionSystem.playback.delay=4
    documentation.show.toolbar=true
    ide.experimental.ui=true
    ide.balloon.shadow.size=0
    ide.new.project.model.index.case.sensitivity=true
    vcs.empty.toolwindow.show=false
    database.show.search.tab=false
Non-Bundled Plugins:
manjaro.epb (1.7)
com.4lex4.intellij.solarized (2.4.0)
com.berzanmikaili.intellij.monokai_pro (2.0.2c)
com.pandocker (0.7.3)
com.thvardhan.gradianto (5.1)
org.rust.lang (<IP_ADDRESS>82-231)
org.toml.lang (232.6095.10)
com.mallowigi.idea (21.0.0)
com.jetbrains.darkPurpleTheme (1.3)
monokai-pro (1.10)
com.vermouthx.idea (1.14.3)
com.jetbrains.rider.android (232.6095.13)
com.intellij.ideolog (<IP_ADDRESS>)
com.godwin.json.parser (1.4.1)
com.tylerthrailkill.intellij.solarized (3.0.0)
String Manipulation (9.7.1)
CMD Support (1.0.5)
com.arcticicestudio.nord.jetbrains (0.13.0)
com.samdark.intellij-visual-studio-code-dark-plus (2.7)
org.vlang (0.0.1-beta.4)
com.github.holgerbrandl.pasteimages/ (1.2.4)
mobi.hsz.idea.gitignore (4.5.0)
Current Desktop: pop:GNOME

I actually got very similar StyleCop warnings before upgrading to VS 17.6, i.e. when using an older compiler version, but then I of couse got proper compiler errors as well, not recognizing the new syntax. Based on how this analyzer is implemented, getting this warning in your case looks impossible, so I am suspecting some kind of compiler version mismatch. Does this happen when building from the command line as well, or only inside Rider?

Interesting, this only happens inside Rider.

This is weird, because in theory it shouldn't have a problem since I use the newest toolchain, but I suppose it is because Rider runs on .NET Core v7.0.4 (see detailed information above)

Just wanted to chime in one last time to mention that this indeed has been fixed as of version 2023.2 EAP 5 with the latest toolchain preview.


Mini Player Swipe Dismiss Style

The red swipe to dismiss message is missing from the MiniPlayer when swiping to dismiss it.

Fixed by #765


driver: peci: mchp: Ping command is failing due to improper tx wait timeout.

Describe the bug
When ping command is sent driver which has zero data lenth, as the tx timeout is calculated in multiples of Tx data length, driver is not waiting for tx to complete.
Need to fix this.
To Reproduce
Steps to reproduce the behavior:

send peci_ping() command to driver.

Expected behavior
ping command should tx success.
Impact
peci app will fail for ping.

@VenkatKotakonda  check with PR created


Update JS style link directly to AirBNB style.

Dropping your forked Airbnb's style guide for mainline? No more maintenance or disagreements about specific rules? I like it!

Ready to merge? I updated the javascript.md file over in the update-editor-configration PR.


Fix Voucher server for squid authenticate

Voucher server creates user names with capital letters. Squid converts users names to lower case. because of this authenticate fails. Then squid does not have enough rights to write to voucher data base.

Fixed comments

How to do the migration I don't know yet

Probably better to use pam_auth (https://linux.die.net/man/8/pam_auth) and create pam templates for the service.  Will also need some work in core (https://github.com/opnsense/core/blob/master/src/sbin/opnsense-auth), but will likely be more portable.


I can't find testlite.py

@lshug Hi, has the name of this file been changed? Can I still use it to check if the tflite model works correctly?

Hello. As I remember I replaced testlite.py with TFLite signature runner-based functionality in run.py as soon as TFLite signature runner became available in tensorflow. TFLite models can be tested after build by running run.py with a not-so-awesomely-named --target tflite argument. When this argument is provided, run.py uses load_models_tflite from utils.py to load the models, which returns callables with the same signature as SavedModels and which are then used in animate.py the same way.


rl_wmd_ratio not found

Hi, I tried to run the exact code in the readme, but encountered this error.
Read the paper, and it's a great work by the way. Thanks for sharing the code.
Traceback (most recent call last):
  File "main.py", line 57, in <module>
    main(config)
  File "main.py", line 22, in main
    model = ModelHandler(config)
  File "C:\Users\User\Desktop\G2S_NQG\RL-based-Graph2Seq-for-NQG\src\core\model_handler.py", line 73, in __init__
    self.model = Model(config, train_set)
  File "C:\Users\User\Desktop\G2S_NQG\RL-based-Graph2Seq-for-NQG\src\core\model.py", line 69, in __init__
    if config['rl_wmd_ratio'] > 0:
KeyError: 'rl_wmd_ratio'

Hi, thank you for your interest to our work! I just fixed the error. Please feel free to check out the latest code.

Hi, I tried to run the exact code in the readme, but encountered this error.
Read the paper, and it's a great work by the way. Thanks for sharing the code.
Traceback (most recent call last):
  File "main.py", line 57, in <module>
    main(config)
  File "main.py", line 22, in main
    model = ModelHandler(config)
  File "C:\Users\User\Desktop\G2S_NQG\RL-based-Graph2Seq-for-NQG\src\core\model_handler.py", line 73, in __init__
    self.model = Model(config, train_set)
  File "C:\Users\User\Desktop\G2S_NQG\RL-based-Graph2Seq-for-NQG\src\core\model.py", line 69, in __init__
    if config['rl_wmd_ratio'] > 0:
KeyError: 'rl_wmd_ratio'

Hi, thank you for your interest to our work! I just fixed the error. Please feel free to check out the latest code.

Thanks, it's running now.


"one pic error!..."  after Changing Batch Size

I have a my own dataset of I changed the batch size to 32 , but it is unable to generate samples . do I have to change the samples image size. Or can u suggest me a solution. Thanks.

@TigistAbebaw  hi TigistAbebaw I have the problem too. it has nothing in the samples folder after i have finished one epoch.

@TigistAbebaw @Usernamezhx
Hi, this error is because of the fact that the batch size is not a square number. When it is trying to save the images it looks for a shape under which to store the images (as you can see in the demo it is an 8x8 square). The line which fails, if you trace it back, is the assertion from the image_manifold_size function, in the utils.py file. If manifold_h * manifold_w is different from num_images then you get that error.
One way to overcome this is to hardcode one of these values to something that you know it won't break. E.g. for batches which are a power of 2 and larger than 16:
manifold_w = int(16)
manifold_h = int(num_images/16)

Bare in mind that both values must be integers. Simply running manifold_h = num_images/16, without a cast, will result in an error.


How to set up Setting.cs in embedded_speech_samples?

I'm surprised there isn't any documentation on how to set the value of 'Setting.cs‘. For those unfamiliar with this kind of project, it's unclear how to proceed. The sample code is in here

@begood0513 Hi, are you a registered customer of the embedded speech public preview? (Otherwise the sample is not applicable.)
Instructions can be found in the sample README.
You can either modify the settings file directly and replace placeholder strings ("Your...") according to your setup as noted in how to build the sample, or use environment variables for the same effect as described in how to run the sample.
Are there some specific settings that you would like to get more information about?

Thank you for your reply. I didn't register it, it seems that I have to use Microsoft.CognitiveServices.Speech.

Closed as resolved, please create a new issue if more support is needed.


[bug] fix ensemble algorithm public Nightly sklearn test fails

Description
Add n_samples and n_outputs attributes, which are used in sklearn 1.4. Unfortunatley, the new tests compare the base estimator (decision tree or extra tree classifier/regressor) against the output of a single tree from the decision forest. As the sklearnex doesn't patch these tree algorithms, this will compare a oneDAL tree to a sklearn tree, which will fit differently. These will have to be deactivated until oneDAL uses its own patched tree algorithms to generate its own decision forest.  As of now the estimator values are recovered and converted into a sklearn format, which handles most scenarios but cannot handle this one. The recovery of the bootstrapped samples is an added feature in sklearn 1.4 that we can't support, so I am not sure what to do there....
Changes proposed in this pull request:

Add new attributes associated with sklearn1.4
deselect tests

This will solve the following scikit-learn 1.4 test failures:
ensemble/tests/test_forest.py::test_estimators_samples[ExtraTreesClassifier-True-None]
ensemble/tests/test_forest.py::test_estimators_samples[ExtraTreesClassifier-True-1]
ensemble/tests/test_forest.py::test_estimators_samples[ExtraTreesClassifier-False-None]
ensemble/tests/test_forest.py::test_estimators_samples[ExtraTreesClassifier-False-1]
ensemble/tests/test_forest.py::test_estimators_samples[RandomForestClassifier-True-None]
ensemble/tests/test_forest.py::test_estimators_samples[RandomForestClassifier-True-1]
ensemble/tests/test_forest.py::test_estimators_samples[RandomForestClassifier-False-None]
ensemble/tests/test_forest.py::test_estimators_samples[RandomForestClassifier-False-1]
ensemble/tests/test_forest.py::test_estimators_samples[ExtraTreesRegressor-True-None]
ensemble/tests/test_forest.py::test_estimators_samples[ExtraTreesRegressor-True-1]
ensemble/tests/test_forest.py::test_estimators_samples[ExtraTreesRegressor-False-None]
ensemble/tests/test_forest.py::test_estimators_samples[ExtraTreesRegressor-False-1]
ensemble/tests/test_forest.py::test_estimators_samples[RandomForestRegressor-True-None]
ensemble/tests/test_forest.py::test_estimators_samples[RandomForestRegressor-True-1]
ensemble/tests/test_forest.py::test_estimators_samples[RandomForestRegressor-False-None]
ensemble/tests/test_forest.py::test_estimators_samples[RandomForestRegressor-False-1]

/azp run Nightly

/intelci: run

/azp run Nightly

This will fail the tests I am trying to solve, but I want to make sure that I get them as solved as possible before I deactivate them

/intelci: run

/azp run Nightly

/azp run Nightly

/azp run Nightly

/azp run Nightly

/intelci: run


Problem after deploy

hi, tnx for your wonderfull work.
My app use autoform, I deployed it.
In local test I not have any problems
After deploy, I received in console this message:
"Error: AutoForm: form with id "newTerritoryForm" needs either "schema" or "collection" attribute"

My Schemas definition is in common.js:
Schemas={};

Schemas.newTerritories= new SimpleSchema({
    name:{
        type: String,
        label: 'Nome'
    },
    number:{
    	type: Number,
    	label: 'Numero'
    }
});

And my client side is:
Template.territories.helpers({
    Schemas: function(){
        return Schemas;
    },
...
});

And my html is:
<div class="ui bottom attached segment">
{{#autoForm schema=Schemas.newTerritories id="newTerritoryForm" class="ui form fluid" type="method" meteormethod="newTerritory"}}
...
{{/autoForm}}
</div>

I repeat, if  in local machine it work, after deploy it not work
Why? :'(

Not sure. How and where did you deploy?


Issue setting defaultValue for multiple mui-rte on a single component

Checklist

[ ] This is not covered in the repository examples.
[ ] I am using the package latest version.
[ ] This is a bug report or an enhancement proposal.

Description
Hi Everyone,
I am not sure if I missed something in the docs but I have an issue setting different defaultValues on the mui-rte when there is more than one in a component. If I set all the mui-rte to the same value then there is no issue. If I set them to different values then the page goes into an infinite loop. Please see my code below and please assist on how to get around this issue.
<MuiThemeProvider theme={defaultTheme}>
<MUIRichTextEditor label="Macroscopic"
    onChange={(data) =>  handleChange(data, 'marcroscopic') }
    defaultValue={macroscopic}
   />
</MuiThemeProvider>
<MuiThemeProvider theme={defaultTheme}>
    <MUIRichTextEditor label="Diagnosis"
    onChange={(data) => handleChange(data, 'microscopic') }
    defaultValue={diagnosis}    />
</MuiThemeProvider>
Any help is much appreciated.

The loop should not be happening on this release. Can you verify?

Hi Erik,
I have tested it and the issue only occurs if there is an onChange event. Without an onChange event, there is no infinite loop. Is there any other way I can implement the onChange event?
Regards,Zweli
On Thursday, October 8, 2020, 6:52:20 AM GMT+2, Erik Lopez<EMAIL_ADDRESS>wrote:

The loop should not be happening on this release. Can you verify?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

This should be fixed on version 1.26.0 after removing the auto focus of the editor.


As a user who loans money regularly, I can see all loans attached to a particular client

This user story requires the implementation of two major steps.

[x] Implementation of a "view" command that lists the loans of a contact
[x] A GUI component that correctly displays the loans attached to the corresponding contact

Resolved by #42 and #53.


Update README.md

Prior to an issue assigned to me to consistently apply capital letters to headers, I have maintained a capitalization in the section of this particular section of the docs.

Closes #
Introduced changes

Breaking changes

Checklist

[ ] Linked relevant issue
[ ] Updated relevant documentation
[ ] Added relevant tests
[ ] Performed self-review of the code
[ ] Added changes to CHANGELOG.md

Hi, thanks for contributing 🔥 It would be nice if you merge all PRs in one since they fix similar things. Thanks!

Alright. I'll do that soon. @war-in

Alright. I'll do that soon. @war-in

Hey @Etimfon007, what's the status on combining #979 #980 #981 and #983? We'd prefer for these to be resolved as a single PR.

That's not all though. I'll need to re-check for other inconsistencies so I can merge all at once.
I got this(•‿•)

Hello @cptartur , I tried merging all issues which I created into one but unfortunately, I can't merge this PR to be one with the rest without the Pull request being accepted.

Hello @cptartur , I tried merging all issues which I created into one but unfortunately, I can't merge this PR to be one with the rest without the Pull request being accepted.

You'll have to manually combine these commits into a single PR (preferably this one) either from the git cli or some other app. Unfortunately, we cannot accept a contribution in this form.

Hello @cptartur , I tried merging all issues which I created into one but unfortunately, I can't merge this PR to be one with the rest without the Pull request being accepted.

You'll have to manually combine these commits into a single PR (preferably this one) either from the git cli or some other app. Unfortunately, we cannot accept a contribution in this form.

Alright. I'll manually combine them. Thanks for the feedback (•‿•)


[V3] Clever ViewHolder

provide a new FastAdapter.ViewHolder which allows the viewHolder to do the heavy work (the item can be even more dumb)
if FastAdapter.ViewHolder is used, the callbacks on the item are not used

@sosite it would be great to get your opinion on this one too

It looks promising but I need some free time to check it, probably in next week ok? ;)

What's the purpose of the List<Object> payloads?

I know that you implement click listeners by fastAdapter.withOnClickListener() and fastAdapter.withEventHook() earlier but I think that's against OOP because we have click implementations in different place that we hold our view holders. I think it'll be better to handle it as close to views as possible.

if FastAdapter.ViewHolder is used, the callbacks on the item are not used

So, if we really can use our OnClickListeners directly on ViewHolder views:
public MyViewHolder(View view) {
    super(view);
    view.setOnClickListener(this);
}

@Override
public void onClick(View view) {
    // do your stuff here
}

it will simplify much things :)

I also propose to add more functions to ViewHolder:

private Item item;

// also used by OnBindViewHolderListenerImpl in addition to bindView(item);
public final void bindItem(Item item) {
    this.item = item;
}

protected final Item getItem() {
    return this.item;
}

protected final View getView() {
    return itemView;
}

protected final Context getContext() {
    return itemView.getContext();
}

As extras we can have

public static abstract class ClickableViewHolder<Item extends IItem, Handler> extends ViewHolder<Item extends> {
private Handler handler;

// also used by OnBindViewHolderListenerImpl in addition to bindItem(item) and bindView(item);
public final void bindHandler(Handler handler) {
    this.handler = handler;
}

protected final Handler getHandler() {
    return this.handler;
}

and in implementation:
interface MyHandler {
    void doStuff(MyItem item);
}

public static class MyClickableHolder extends ClickableViewHolder<MyItem, MyHandler> {
    ...

    @Override
    public void onClick(View view) {
        getHandler().doStuff(getItem());
    }
}

OR in place of calling bindItem(); bindHandler(); bindView(); we can simply use:
// also used by OnBindViewHolderListenerImpl in addition to bindView(item);
public final void bindItem(Item item) {
this.item = item;
}

@sosite 1. https://developer.android.com/reference/android/support/v7/widget/RecyclerView.Adapter.html#notifyItemChanged(int, java.lang.Object)
2. The own click listener implementation is there to simplify the adding of an simple listener. The event hook system is an more dynamic system that can adds any kind of listeners to any view(s).
3. The goal is to keep the core package small and i don´t think this methods are actually needed.
4. This would add complexity that is actually not needed. You can add an click listener to the viewholder in one line.


Matthew

This code is working to a suitable standard and can be merged.

No conflicts were found, merging too main.


Does Data lake service support Azure important / Export service

[Docs only mentioned about blog and share ]

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

ID: 6599b05b-ec20-047f-e49b-ab332704bbb2
Version Independent ID: c03c5c14-a147-8a9f-0d72-b29aac1fe7d6
Content: Using Azure Import/Export to transfer data to and from Azure Storage
Content Source: articles/import-export/storage-import-export-service.md
Service: azure-import-export
GitHub Login: @alkohli
Microsoft Alias: alkohli

@Aditya-Narayan-Nayak
Thanks for your feedback! We will investigate and update as appropriate.


Notifications Not Working

Running Version .16 (818).  The notifications are not notifying of a player's turn start, game start, or opponent concede.
Thanks For all the hard work!

The alt text says the notifications will only show if your app is in the background. Is Hearthstone in the background and do you have notifications set in System Prefs?


[sqlite3] update to <3.37.1>

Fix #22353
[sqlite3] update to 3.37.1
All features have been tested successfullly in the following triplet:

x64-windows
x64-windows-static
x86-windows

IMO the ogre changes should be a separate PR.

@dg0yt #22058  I have submitted the pr of ogre-next update, and it is waiting for review. And I'll just merge it by then  :)

@dg0yt #22058 I have submitted the pr of ogre-next update, and it is waiting for review. And I'll just merge it by then :)

I still miss the link why there are ogre-next changes in this sqlite3 PR.

@dg0yt yes it is my problem, it really should be modified in ogre-next instead of sqlite3.  Thanks. :)

Fix by #22795


RunnerSet Reliability Improvements

Based on my experience fixing RunnerDeployment reliability (as a part of https://github.com/actions-runner-controller/actions-runner-controller/pull/1127), I'm going to add several enhancements to the RunnerSet and RunnerPod controllers to make RunnerSets even more reliable.

RunnerSet now creates one StatefulSet per Runner Pod, so that we have more control on when and how to scale down runner pods safely, as similar as we've done for RunnerDeployment in #1127
RunnerSet spec got a new EffectiveTime field that is the same as RunnerDeployment's, which is used to prevent unnecessarily recreating completed runner pods when it's being scaled down quickly by webhook workflow_job completion events.
A runner pod will never be marked for deletion before unregistration. This makes it possible for a runner pod that is running a long and time-consuming workflow job to not get terminated prematurely due to pod's terminationGracePeriodSeconds.

Ref #920

Merging anyway. But I'll keep testing both RunnerDeployment and RunnerSet and perhaps submit a PR or two to tweak details and fix anything that can be considered as a regression!

Hi @mumoshu,
I'd be happy to test these improvements on our live cluster (which has been suffering from the issues you're trying to solve here)
Do you provide nightly builds docker images of the controller by any chance ?

@msessa Hey! Thanks for your help. I thought we'd been building controller images tagged with canary on each master build, which should be used for testing.
Would you mind checking it?

Hi @mumoshu,
I've tried to run the canary images on my cluster ( arm64 architecture ) but unfortunately I stumbled on this issue when launching the webhook server.

@mumoshu
Just checking in on this one, after running the canary build for a few days in our live environment I can confirm this change has has a tremendous positive impact on the reliability of our runners especially with long-running jobs.
Even when running ARC with fairly aggressive scaling settings (scaleDownDelaySecondsAfterScaleOut set to 15 minutes) I have not encountered any premature pod termination or client disconnection so far.
The only thing I've encountered that is a bit off is that, when a runner pod is executing a long job and it ends up reaching the scale-down delay, the controller spams the log with several of these messages:
{"level":"error","ts":1646927418.3731344,"logger":"actions-runner-controller.runnerpod","msg":"Failed to unregister runner before deleting the pod.","runnerpod":"runners/runner-amd64-nf79g-0","error":"failed to remove runner: DELETE https://api.github.com/orgs/service-victoria/actions/runners/2728: 422 Bad request - Runner \"runner-amd64-nf79g-0\" is still running a job\" []","stacktrace":"<omitted>"}
I understand that is completely normal behavior at this point, so perhaps the error level should be lowered to info

@msessa Hey! Thanks for the positive report. That really encourages me as I was still afraid if it can be just "works on my(@mumoshu's) environment" 😄
Re log spam, that's really great feedback!
Let me try fixing it. Probably it doesn't need to retry that often in the first place, so I might make it only retry on, say, each 30 seconds.

Looking forward to this new code making the next release :) meanwhile I will continue running the canary and monitor for issues.
Thanks for your amazing work mate!

@msessa Thanks for your support! FYI #1204 is my attempt to fix it.

@msessa #1204 has been merged. I'd appreciate it if you could report back if it fixes it and the log will never get spammed 😄 (The intended behavior is that the 422 error is emitted at most once per a runner pod's whole lifecycle


@ #198 | getting started with nodejs docs

connects #198

$ docker run --rm -p 8888:80 hoatle/teracy-dev-docs:tasks-198-nodejs-docs

to review the generated docs site

timeout for reviewing, merged.


[Feature] Event handler for triggering a function upon processing completion of 423 requests

Feature Request
Is your feature request related to a problem? Please describe.
Some on-the-fly transformations require additional processing and return a 423 upon first request such as background removal. When this happens, the component polls the image until it returns a 2XX.
When that 2XX is received, we can trigger an event handler to allow custom logic upon that completion.
Describe the solution you'd like
Perhaps:
onProcessingComplete

No longer needed


Raise warning if default secret in local.js

Too tiny feature and requires us to store the default somewhere. Close.


remove model update within soc constraint for loop

I'm working on a model with > 10k SOC constraints. The model updates are adding 60s and there's a warning from Gurobi that says
Warning: excessive time spent in model updates.

In the for loop while adding SOC constraints, there's a Gurobi model.update() that's causing this.
Since you're not using the model to get anything between adding these constraints and then optimizing, there's no real reason to have it there at all.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks @KarenOP for figuring this out! I want to setup better gurobi testing before we merge this in. @phschiele it should be very easy, just install gurobipy as part of the build. I can take a look this weekend.

@SteveDiamond I can add a PR to include gurobipy (and perhaps some of the other solvers on the roadmap) tomorrow.

Thanks @KarenOP ! LGTM.


Grafana

This addon deploys grafana with hawkular and prometheus as in http://www.hawkular.org/blog/2016/10/24/hawkular-metrics-openshift-and-grafana.html and a sample dashboard.

@gordillo-ramon-redhat, awesome. We usually track each pull request by an issue as well. Hence I created issue #30. Could you rebase and squash your commits and add the commit message reference this issue, eg "Issue #30 Adding Grafana add-on".
If you need help with the rebase or prefer us to do it, let us know.


EA Downloader - Path not found

Hi
I cant install it: "Path bot found" Box which i can only ok

With a separate knstallation it seems to run through but no ea entry in steam

Bonlaunchers show up on steam

@thesnable can you send your log?

I think if gound the issue:
reverting to stable / stable
made all work again
i think valve changed something in the main branches / steam beta

@thesnable ah dang no worries yeah sometimes the new updates mess stuff up, I hope it's all working now for you!

@thesnable this has also been fixed in the latest


[Revalidation] Add Admin Panel

This change adds two features:

A revalidation stateservice - This service allows parallel updates to the state. This is used by the Gallery, and later, the revalidation job for things like the killswitch and the desired revalidation rate.
An admin UI to stop/start the revalidation job.

Screenshots
Default view

View if Revalidation job is killswitched

Addresses https://github.com/NuGet/Engineering/issues/1437

@joelverhagen @dtivel I've addressed all of y'all's feedback, please take another look 😄


I tried to identify the .Net PE file, but there was an error.

this is https://github.com/pandasec888/taowu-cobalt-strike/blob/master/script/SharpBypassUAC.exe

I just want to get his moduleName..
Used to label the file name.
package main

import (
    "fmt"
    peparser "github.com/saferwall/pe"
)

func main() {
    filename:=`C:\Users\a3ro\Desktop\6FAD3A96FE407982818CE27F73C78B8AC3B0902BD85F104DC85EEF092F4186DE.exe`
    pe, err := peparser.New(filename, nil)
    if err != nil {
        fmt.Printf("Error while opening file: %s, reason: %s", filename, err)
    }

    err = pe.Parse()
    if err != nil {
        fmt.Printf("Error while opening file: %s, reason: %s", filename, err)
    }
}

That's right ! Thanks @Aixic-Love for reporting this. I just fixed it.
By moduleName, you mean this:

@Aixic-Love if the last commit by @LordNoteworthy fixed your issue please ACK.
Thank you for helping this package become better !

Marked as closed.

You can try this code:
if modTable, ok := pe.CLR.MetadataTables[peparser.Module]; ok {
	if modTable.Content != nil {
		modTableRow := modTable.Content.(peparser.ModuleTableRow)
		modName := pe.GetStringFromData(modTableRow.Name, pe.CLR.MetadataStreams["#Strings"])
		moduleName := string(modName)
		log.Println(moduleName)
	}
}

It prints:
2021/03/08 11:50:01 SharpBypassUAC.exe

If you need something else, feel free to re-open the issue.

I want to pass in byte[] file for memory scanning..


How do I suppress the console window when building/running a GTK+ application?

With MinGW, I know that using -mwindows I could suppress the console window when running a GUI app. However, with vcpkg/Visual Studio, Linker > System > SubSystem must remain Not Set to build. I couldn't find a way to remove the console window upon running.
What am I missing here?

The original code is just the official gtkmm Basic example
#include <gtkmm.h>

int main(int argc, char *argv[])
{
  auto app =
    Gtk::Application::create(argc, argv,
      "org.gtkmm.examples.base");

  Gtk::Window window;
  window.set_default_size(200, 200);

  return app->run(window);
}

I've also tried to convert it to using WinMain and swtich the linker subsystem to Windows
#include <gtkmm.h>

#include <windows.h>

//int main(int argc, char *argv[])
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
	LPSTR lpCmdLine, int nCmdShow)
{
	auto app = Gtk::Application::create(__argc, __argv, "org.gtkmm.examples.base");

	Gtk::Window window;
	window.set_default_size(200, 200);

	return 1;
}

This way the windows does not show up.


Normalize Sequences Controller

This PR changes SequenceController, and associated files, routes, actions, and views to the Rails defaults, including

pluralizes "Sequence";
drops "sequence" prefix from file and method names;
index (rather than list) as the only index action,
combining legacy indexing actions into "flavors" of normalized index;
passes Observation id to new and create as a query param, rather than a route param,
i.e. /sequence/create_sequence/123 => sequences/new?obs_id=123,
changing routes accordingly;
uses form_with (not form_for), extracting form builder calls to the form file;
changes controller test to exclusively "request" tests, i.e., one request per method;
destroy UI is a button, rather than a link;
a variety of other improvements and fixes.

Suggested Manual Test
Manual test

Goto any Observation
Try to create a Sequence with a Locus (any text will do) but without other attributes.
Expected result: Flash error, returned to new Sequence form
Add the bases (any combination of ACGT, spaces, returns).
Expected result: Sequence created, returned to Observation
Edit the Sequence (whatever you like).
Expected result: Update successful, returned to Sequence
Destroy Sequence (in Dev Mode this must be confirmed 2x).
Expected result: Sequence destroyed, returned to Observation
http://localhost:3000/sequences
Expected result: complete Sequence index

Coverage increased (+0.01%) to 92.221% when pulling 21ea21f8502eb372400759c8e4e09d59d08cd009 on jdc-crudify-sequence-controller-174310124 into d04d16cc94140b8a4523d459122a7dff1e43585b on master.

@pellaea: Should the sitemap include Sequences?

Joe -
Capybara has its own click helpers - maybe check docs for those. Or - how about just giving the form an ID? Speaking from the ignorance of a phone of course.

On Aug 17, 2022, at 4:06 AM, Jason Hollinger @.***> wrote:
@pellaea commented on this pull request.
In test/integration/sequencer_test.rb:

+# Uses Capybara; MO SessionFormExtensions don't work on form_with forms
+# Use an integration test because click_mo_link needs an id, and
+# there's no  id (at least by default) for a form_with resource-oriented
+# form field.
Shouldn't we be migrating away from our custom-rolled integration helpers to Capybara and (now) normal integration tests anyway? I think I updated click_mo_link a few weeks/months ago because it was the quickest way to get some big PR of Nimmo's working. Not because I want to be maintaining out-dated test helpers!

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

@nimmolo: Thanks for the suggestions. To clarify,
I am using -- as you suggest -- the Capybara click and fill_in methods which work with id's, names, labels, etc.
I did think about adding id's. It's a good idea, but I eventually decided to keep the form as standardized and simple as possible.

I think this is now ready to merge.
I'll let it sit for a day or so in case there are more comments.

@JoeCohen — I wanted to circle back to this.
As i'm dealing more with integration tests on the Name/NameDescription PR, trying to select links and forms with these CRUD routes, i'm belatedly noticing, thanks to @pellaea pointing out the obvious, that a link URL pattern is often not enough to select the right link.
# names/:name_id/descriptions/:description_id = show
# names/:name_id/descriptions/:description_id = also, destroy!
# names/:name_id/descriptions/new = create
# names/:name_id/descriptions/:description_id/edit = edit

I forgot which form we were talking about in your sequences integration test here, but going through the form templates, i'm realizing that a rule of thumb I follow elsewhere in my life as a developer is probably applicable here: it's best if test-able elements are identifiable by HTML attribute. HTML attributes are cheap, and you never want to be without a handle for a door. (Or is it a key for a lock? or a handle for a window-sash? Or a long blade of grass for an ant-hill?)
For example, a form element should probably always get an ID, for the sake of identifying submit events.
Likewise, on the NamesController PR, I think I'm going to start giving links for "create", "edit", "destroy" etc each an identifying class, like "destroy-name-description-link". On some pages, there's more than one "create" "destroy" or "edit" link, so identifying a link by label is not enough, and the class needs to be specific enough to grab the right link.

FWIW, I agree with Nimmo on this.  I think it's a good idea to give easy id
"handles" for elements we might want to test, including, definitely,
forms.  Why not links and buttons, too?  It costs nothing.
On Wed, Aug 31, 2022 at 4:18 PM andrew nimmo @.***>
wrote:

@JoeCohen https://github.com/JoeCohen — I wanted to circle back to this.
As i'm dealing more with integration tests on the Name/NameDescription PR,
trying to select links and forms with these CRUD routes, i'm belatedly
noticing, thanks to @pellaea https://github.com/pellaea pointing out
the obvious, that a link URL pattern is often not enough to select the
right link.
names/:name_id/descriptions/:description_id = show
names/:name_id/descriptions/:description_id = also, destroy!
names/:name_id/descriptions/new = create
names/:name_id/descriptions/:description_id/edit = edit
I forgot which form we were talking about in your sequences integration
test here, but going through the form templates, i'm realizing that a rule
of thumb I follow elsewhere in my life as a developer is probably
applicable here: it's best if test-able elements are identifiable by HTML
attribute. HTML attributes are cheap, and you never want to be without a
handle for a door. (Or is it a key for a lock? or a handle for a
window-sash? Or a long blade of grass for an ant-hill?)
For example, a form element should probably always get an ID, for the sake
of identifying submit events.
Likewise, on the NamesController PR, I think I'm going to start giving
links for "create", "edit", "destroy" etc each an identifying class, like
"destroy-name-description-link". On some pages, there's more than one
"create" "destroy" or "edit" link, so identifying a link by label is not
enough, and the class needs to be specific enough to grab the right link.
—
Reply to this email directly, view it on GitHub
https://github.com/MushroomObserver/mushroom-observer/pull/1124#issuecomment-1233380295,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAYTNNMR2NXHGVIYX3KPUWTV3642RANCNFSM56WMFLDQ
.
You are receiving this because you were mentioned.Message ID:
@.***>


soc: rt595: Update to use PM_DEVICE_SYSTEM_MANAGED Kconfig

This is based on the changes made to the PM susbsystem as part of PR #70623

This PR is not needed as the default setting enables this flag.


Upload Photo connect to Photo Library and Camera

When using an actual mobile phone, we want to let people choose a photo from their phone's image library, or take a photo with their camera. This may work already with the component we are using, and needs to be tested. This is the starting page:
http://localhost:3000/start-a-campaign-add-photo

...and this are the options to offer:

start ngrok
http:
stevepodell@Steves-MacBook-Pro-32GB-Oct-2109 ngrok % ./ngrok http 3000
https:
stevepodell@Steves-MacBook-Pro-32GB-Oct-2109 ngrok % ./ngrok http https://localhost:3000
I used https:
ngrok by @inconshreveable                                                                                (Ctrl+C to quit)
Session Status                online
Account                        (Plan: Free)
Version                       2.3.35
Region                        United States (us)
Web Interface                 http://<IP_ADDRESS>:4040
Forwarding                    http://316caa1ce659.ngrok.io -> https://localhost:3000
Forwarding                    https://316caa1ce659.ngrok.io -> https://localhost:3000

Airdrop the url  https://316caa1ce659.ngrok.io to your phone.
The app should start right up.

If you get a "headers" error, then...

You need that disableHostCheck on line 97 of webpack.config.js (I'll check it in on my next PR)

@DaleMcGrew  These are in reverse order, but you can take pictures, and load photos from your "photo library" in both Safari and Chrome on iOS.  The existing code works perfectly.

That is so excellent @SailingSteve! I love the react packages community! Thank you for investigating.


[jasper] Add compilation option

Fixes https://github.com/microsoft/vcpkg/issues/36103

[X] Changes comply with the maintainer guide
[ ] SHA512s are updated for each updated download
[ ] The "supports" clause reflects platforms that may be fixed by this new version
[ ] Any fixed CI baseline entries are removed from that file.
[ ] Any patches that are no longer applied are deleted from the port's directory.
[X] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[X] Only one version is added to each modified port's versions file.

Usage test pass with following triplets:
x86-windows
x64-windows
x64-windows-static

Duplicate of  https://github.com/microsoft/vcpkg/pull/36143.


Wrong memory usage info for WSL2 Vmmem process

Windows TaskMgr Display: (157.3MB is the mem usage)

PH Displaying: (1.2GB)

Evidently there are some differences on the way to calculate mem usage between the two. But I think PH just calls previous APIs to do that. So why MS didn't update the old API? Or PH has something wrong?
Anyway, I think it's better to be consistent with taskmgr.

Windows Task Manager shows size of private working set as memory usage.
Not sure what column you have enabled in Process Hacker (can't see full name), but I assume it is Private bytes.
That's something different.
You can enable Private WS column and then it should show the same value as Task Manager.

You need to enable the Private WS column.


Always fit content to viewport

Don't allow scrolling-- fit all content to the viewport.

https://user-images.githubusercontent.com/5167186/226724185-d06a4612-a85f-4ee1-a27f-6f50846998c4.MOV

Closing after Assessment UI makeover-- no longer relevant.


After installing the 0.2 preview SDK only, Option to select other packages in the menu is missing

XRTK - Mixed Reality Toolkit Bug Report
Describe the bug
Installed the 0.2 preview, which includes the new dialog for quickly installing the other XRTK packages, however, after install the menu option to select packages is missing
To Reproduce

Create new project
Install XRTK
Observer package selection window and unselect everything except SDK
Finish install
Open Editor menu

Expected behavior
Menu option to view and install other packages
Actual behavior
Nope, nothing, nada
Screenshots
Current

Should include

Your Setup

Operation system: Windows
Unity Version: 2019.1.14f0
XRTK Version: 0.2.0-preview (UPM)

Additional context

I'm surprised it's still there in the menu. After the initial installation the menu item should have been removed, and devs use the native package manager to grab any additional packages they require.

This is by design. Installing additional packages via the upm window is the only way to get additional packages after the initial installation. The menu was added I case the upm server was somehow unreachable or if there was a compilation error on seed package import.


Fix/dynamically changing autocomplete

fixes #13812
This PR is a reopened copy of #13814 because of an accidental merge to master despite breaking some internal google apps.
@mmalerba can you provide the error or some information why this PR did break these apps?

@thomaspink I think they had some custom logic to show loading spinners and things. It's probably their app that needs to be updated, not this PR.

@mmalerba Good to know. thanks for the investigation.

@crisbeto What do i have to do solve the "commit message fixup"? Squash the commits?

Change commit message to fix(autocomplete): not updating if panel is changed after init.

@thomaspink this PR has fallen out of date, could you please rebase this PR?

This PR is being closed due to inactivity and needing rebase for a very long time. Please feel free to re-open the change after rebasing and we can take another look at getting it merged.


coc-kotlin no longer works

Result from CocInfo
## versions

vim version: NVIM v0.9.0
node version: v16.15.1
coc.nvim version: 0.0.82-b7375d5f 2023-01-30 05:09:03 +0800
coc.nvim directory: /Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim
term: tmux
platform: darwin

## Log of coc.nvim

2023-04-25T17:57:53.284 WARN (pid:81749) [workspace] - workspace.createOutputChannel is deprecated, please use window.createOutputChannel instead.
    at Object.<anonymous> (/Users/jeremykahn/.config/coc/extensions/node_modules/coc-tailwindcss/out/index.js:14:7870)
    at Generator.next (<anonymous>)
2023-04-25T17:57:53.312 INFO (pid:81749) [extension:coc-git] - Looking for git in: git
2023-04-25T17:57:53.319 INFO (pid:81749) [plugin] - coc.nvim initialized with node: v16.15.1 after 227
2023-04-25T17:57:58.248 INFO (pid:81749) [attach] - receive notification: doAutocmd [ 2, 1 ]
2023-04-25T17:57:58.456 INFO (pid:81749) [core-watchman] - watchman watching project: /Users/jeremykahn/deep6/central-api
2023-04-25T17:57:58.517 INFO (pid:81749) [attach] - receive notification: doAutocmd [ 6 ]
2023-04-25T17:57:58.870 INFO (pid:81749) [language-client-index] - Language server "kotlin" started with 81924
2023-04-25T17:57:59.144 ERROR (pid:81749) [language-client-client] - Server kotlin initialization failed. jh [Error]: Pending response rejected since connection got disposed
    at Object.dispose (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:51:4592)
    at Object.dispose (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:241:6209)
    at Nd.handleConnectionClosed (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:244:15575)
    at Nd.handleConnectionClosed (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:248:3561)
    at t (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:244:15224)
    at yT.invoke (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:24:14460)
    at lc.fire (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:24:15230)
    at Qe (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:25:6504)
    at yT.invoke (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:24:14460)
    at lc.fire (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:24:15230) {
  code: -32097,
  data: undefined
}
2023-04-25T17:57:59.148 INFO (pid:81749) [language-client-index] - Language server "kotlin" started with 81934
2023-04-25T17:57:59.426 ERROR (pid:81749) [language-client-client] - Server kotlin initialization failed. jh [Error]: Pending response rejected since connection got disposed
    at Object.dispose (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:51:4592)
    at Object.dispose (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:241:6209)
    at Nd.handleConnectionClosed (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:244:15575)
    at Nd.handleConnectionClosed (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:248:3561)
    at t (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:244:15224)
    at yT.invoke (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:24:14460)
    at lc.fire (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:24:15230)
    at Qe (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:25:6504)
    at yT.invoke (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:24:14460)
    at lc.fire (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:24:15230) {
  code: -32097,
  data: undefined
}
2023-04-25T17:57:59.427 ERROR (pid:81749) [server] - unhandledRejection  Promise {
  <rejected> jh [Error]: Pending response rejected since connection got disposed
      at Object.dispose (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:51:4592)
      at Object.dispose (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:241:6209)
      at Nd.handleConnectionClosed (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:244:15575)
      at Nd.handleConnectionClosed (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:248:3561)
      at t (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:244:15224)
      at yT.invoke (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:24:14460)
      at lc.fire (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:24:15230)
      at Qe (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:25:6504)
      at yT.invoke (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:24:14460)
      at lc.fire (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:24:15230) {
    code: -32097,
    data: undefined
  },
  dispose: [Function (anonymous)]
} jh [Error]: Pending response rejected since connection got disposed
    at Object.dispose (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:51:4592)
    at Object.dispose (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:241:6209)
    at Nd.handleConnectionClosed (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:244:15575)
    at Nd.handleConnectionClosed (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:248:3561)
    at t (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:244:15224)
    at yT.invoke (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:24:14460)
    at lc.fire (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:24:15230)
    at Qe (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:25:6504)
    at yT.invoke (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:24:14460)
    at lc.fire (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:24:15230) {
  code: -32097,
  data: undefined
}
2023-04-25T17:57:59.430 INFO (pid:81749) [language-client-index] - Language server "kotlin" started with 81948
2023-04-25T17:57:59.703 ERROR (pid:81749) [language-client-client] - Server kotlin initialization failed. jh [Error]: Pending response rejected since connection got disposed
    at Object.dispose (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:51:4592)
    at Object.dispose (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:241:6209)
    at Nd.handleConnectionClosed (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:244:15575)
    at Nd.handleConnectionClosed (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:248:3561)
    at t (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:244:15224)
    at yT.invoke (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:24:14460)
    at lc.fire (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:24:15230)
    at Qe (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:25:6504)
    at yT.invoke (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:24:14460)
    at lc.fire (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:24:15230) {
  code: -32097,
  data: undefined
}
2023-04-25T17:57:59.706 INFO (pid:81749) [language-client-index] - Language server "kotlin" started with 81957
2023-04-25T17:57:59.978 ERROR (pid:81749) [language-client-client] - Server kotlin initialization failed. jh [Error]: Pending response rejected since connection got disposed
    at Object.dispose (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:51:4592)
    at Object.dispose (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:241:6209)
    at Nd.handleConnectionClosed (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:244:15575)
    at Nd.handleConnectionClosed (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:248:3561)
    at t (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:244:15224)
    at yT.invoke (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:24:14460)
    at lc.fire (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:24:15230)
    at Qe (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:25:6504)
    at yT.invoke (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:24:14460)
    at lc.fire (/Users/jeremykahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:24:15230) {
  code: -32097,
  data: undefined
}
2023-04-25T17:58:02.673 INFO (pid:81749) [attach] - receive notification: showInfo []

Description
Loading any .kt file yields this error:
[coc.nvim] Kotlin Language Client client: couldn't create connection to server.

Extension version
0.0.9
Additional context
This happens on both MacOS and Linux. This was working before (in the same projects) a few weeks ago, so something seems to have changed.

I just tried some Kotlin projects on Linux and couldn't reproduce your problem. I tested both Java 11 and 15.
kotlin-language-server was updated two weeks ago, maybe it caused some bugs, but I use the latest 1.3.3 and it works.
Does this problem only appear in some specific projects or Java versions?

Thanks for following up, @weirongxu! I first experienced this issue in my day job projects, where coc-kotlin worked as of a few weeks ago. I also tried it on https://github.com/halilozel1903/KotlinTutorials and got the same results. Here is my CocInfo for that project, under Linux:
## versions

vim version: NVIM v0.8.3
node version: v19.7.0
coc.nvim version: 0.0.82-79e9e04 2023-02-15 20:36:03 -0800
coc.nvim directory: /home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim
term: xterm-256color
platform: linux

## Log of coc.nvim

2023-04-27T07:04:13.162 WARN (pid:997607) [workspace] - workspace.createOutputChannel is deprecated, please use window.createOutputChannel instead.
    at Object.<anonymous> (/home/jeremyckahn/.config/coc/extensions/node_modules/coc-tailwindcss/out/index.js:14:7870)
    at Generator.next (<anonymous>)
2023-04-27T07:04:13.254 INFO (pid:997607) [extension:coc-git] - Looking for git in: git
2023-04-27T07:04:13.264 INFO (pid:997607) [plugin] - coc.nvim initialized with node: v19.7.0 after 402
2023-04-27T07:04:14.604 INFO (pid:997607) [attach] - receive notification: doAutocmd [ 2, 1 ]
2023-04-27T07:04:14.721 INFO (pid:997607) [language-client-index] - Language server "kotlin" started with 997672
2023-04-27T07:04:14.730 ERROR (pid:997607) [language-client] - Sending request failed.
2023-04-27T07:04:14.732 ERROR (pid:997607) [language-client-client] - Server kotlin initialization failed. ResponseError2: Pending response rejected since connection got disposed
    at Object.dispose (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:15673:25)
    at Object.dispose (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:66855:31)
    at LanguageClient.handleConnectionClosed (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:67788:30)
    at LanguageClient.handleConnectionClosed (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:68298:15)
    at closeHandler (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:67775:16)
    at CallbackList.invoke (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:14102:35)
    at Emitter2.fire (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:14153:34)
    at closeHandler (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:14895:24)
    at CallbackList.invoke (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:14102:35)
    at Emitter2.fire (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:14153:34) {
  code: -32097,
  data: undefined
}
2023-04-27T07:04:14.755 INFO (pid:997607) [language-client-index] - Language server "kotlin" started with 997680
2023-04-27T07:04:14.759 INFO (pid:997607) [core-watchman] - watchman watching project: /home/jeremyckahn/oss/KotlinTutorials
2023-04-27T07:04:14.761 ERROR (pid:997607) [language-client-client] - Server kotlin initialization failed. ResponseError2: Pending response rejected since connection got disposed
    at Object.dispose (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:15673:25)
    at Object.dispose (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:66855:31)
    at LanguageClient.handleConnectionClosed (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:67788:30)
    at LanguageClient.handleConnectionClosed (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:68298:15)
    at closeHandler (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:67775:16)
    at CallbackList.invoke (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:14102:35)
    at Emitter2.fire (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:14153:34)
    at closeHandler (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:14895:24)
    at CallbackList.invoke (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:14102:35)
    at Emitter2.fire (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:14153:34) {
  code: -32097,
  data: undefined
}
2023-04-27T07:04:14.761 ERROR (pid:997607) [server] - unhandledRejection  Promise {
  <rejected> ResponseError2: Pending response rejected since connection got disposed
      at Object.dispose (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:15673:25)
      at Object.dispose (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:66855:31)
      at LanguageClient.handleConnectionClosed (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:67788:30)
      at LanguageClient.handleConnectionClosed (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:68298:15)
      at closeHandler (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:67775:16)
      at CallbackList.invoke (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:14102:35)
      at Emitter2.fire (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:14153:34)
      at closeHandler (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:14895:24)
      at CallbackList.invoke (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:14102:35)
      at Emitter2.fire (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:14153:34) {
    code: -32097,
    data: undefined
  },
  dispose: [Function (anonymous)]
} ResponseError2: Pending response rejected since connection got disposed
    at Object.dispose (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:15673:25)
    at Object.dispose (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:66855:31)
    at LanguageClient.handleConnectionClosed (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:67788:30)
    at LanguageClient.handleConnectionClosed (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:68298:15)
    at closeHandler (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:67775:16)
    at CallbackList.invoke (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:14102:35)
    at Emitter2.fire (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:14153:34)
    at closeHandler (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:14895:24)
    at CallbackList.invoke (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:14102:35)
    at Emitter2.fire (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:14153:34) {
  code: -32097,
  data: undefined
}
2023-04-27T07:04:14.773 INFO (pid:997607) [language-client-index] - Language server "kotlin" started with 997685
2023-04-27T07:04:14.774 INFO (pid:997607) [attach] - receive notification: doAutocmd [ 6 ]
2023-04-27T07:04:14.781 ERROR (pid:997607) [language-client-client] - Server kotlin initialization failed. ResponseError2: Pending response rejected since connection got disposed
    at Object.dispose (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:15673:25)
    at Object.dispose (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:66855:31)
    at LanguageClient.handleConnectionClosed (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:67788:30)
    at LanguageClient.handleConnectionClosed (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:68298:15)
    at closeHandler (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:67775:16)
    at CallbackList.invoke (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:14102:35)
    at Emitter2.fire (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:14153:34)
    at closeHandler (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:14895:24)
    at CallbackList.invoke (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:14102:35)
    at Emitter2.fire (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:14153:34) {
  code: -32097,
  data: undefined
}
2023-04-27T07:04:14.785 INFO (pid:997607) [language-client-index] - Language server "kotlin" started with 997690
2023-04-27T07:04:14.790 ERROR (pid:997607) [language-client-client] - Server kotlin initialization failed. ResponseError2: Pending response rejected since connection got disposed
    at Object.dispose (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:15673:25)
    at Object.dispose (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:66855:31)
    at LanguageClient.handleConnectionClosed (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:67788:30)
    at LanguageClient.handleConnectionClosed (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:68298:15)
    at closeHandler (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:67775:16)
    at CallbackList.invoke (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:14102:35)
    at Emitter2.fire (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:14153:34)
    at closeHandler (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:14895:24)
    at CallbackList.invoke (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:14102:35)
    at Emitter2.fire (/home/jeremyckahn/dotfiles/vim/.vim/plugged/coc.nvim/build/index.js:14153:34) {
  code: -32097,
  data: undefined
}
2023-04-27T07:04:19.039 INFO (pid:997607) [attach] - receive notification: showInfo []

The versions are a different here (I'm on a different machine), but coc-kotlin crashes similarly.
Do I need to have Java installed separately for coc-kotlin to work? I rarely work with Java/Kotlin but sometimes I need to explore Kotlin codebases for my job (which coc-kotlin is tremendously helpful for). So, I may be overlooking something basic or fundamental for getting this to work.

Hi @jeremyckahn.
I just tested it on https://github.com/halilozel1903/KotlinTutorials but it still works fine.
Can you use :CocCommand workspace.showOutput and check if coc-kotlin and kotlin-language-server have useful output?
Also, you can try deleting ~/.config/coc/extensions/coc-kotlin-data to let coc attempt to re-download the kotlin-language-server to resolve any possible network issues.

Also, you can try deleting ~/.config/coc/extensions/coc-kotlin-data to let coc attempt to re-download the kotlin-language-server to resolve any possible network issues.

This fixed the issue!! Thank you so much @weirongxu. It might be worth mentioning this in the README as a troubleshooting solution so you don't have to deal with issues like this in the future. 🙂
Just for posterity, I ran :CocCommand workspace.showOutput before deleting ~/.config/coc/extensions/coc-kotlin-data, and here's what it showed:

Output
Exception in thread "main" java.lang.NoSuchMethodError: 'void org.jetbrains.kotlin.cli.jvm.config.JvmContentRootsKt.configureJdkClasspathRoots(org.jetbrains.kotlin.config.CompilerConfiguration)'
	at org.javacs.kt.compiler.CompilationEnvironment.<init>(Compiler.kt:120)
	at org.javacs.kt.compiler.Compiler.<init>(Compiler.kt:452)
	at org.javacs.kt.CompilerClassPath.<init>(CompilerClassPath.kt:26)
	at org.javacs.kt.KotlinLanguageServer.<init>(KotlinLanguageServer.kt:25)
	at org.javacs.kt.MainKt.main(Main.kt:42)
[Error - 21:39:40.438] /Users/jeremykahn/.config/coc/extensions/coc-kotlin-data/langServerInstall/server/bin/kotlin-language-server exited with code: 1
[Info  - 21:39:40.438] Connection to server got closed. Server will restart.
[Error - 21:39:40.439] Server initialization failed.
  Message: Pending response rejected since connection got disposed
  Code: -32097
[Error - 21:39:40.440] Kotlin Language Client client: couldn't create connection to server.
  Message: Pending response rejected since connection got disposed
  Code: -32097
Exception in thread "main" java.lang.NoSuchMethodError: 'void org.jetbrains.kotlin.cli.jvm.config.JvmContentRootsKt.configureJdkClasspathRoots(org.jetbrains.kotlin.config.CompilerConfiguration)'
	at org.javacs.kt.compiler.CompilationEnvironment.<init>(Compiler.kt:120)
	at org.javacs.kt.compiler.Compiler.<init>(Compiler.kt:452)
	at org.javacs.kt.CompilerClassPath.<init>(CompilerClassPath.kt:26)
	at org.javacs.kt.KotlinLanguageServer.<init>(KotlinLanguageServer.kt:25)
	at org.javacs.kt.MainKt.main(Main.kt:42)
[Info  - 21:39:40.722] Connection to server got closed. Server will restart.
[Error - 21:39:40.722] Server initialization failed.
  Message: Pending response rejected since connection got disposed
  Code: -32097
[Error - 21:39:40.722] Kotlin Language Client client: couldn't create connection to server.
  Message: Pending response rejected since connection got disposed
  Code: -32097
[Error - 21:39:40.727] /Users/jeremykahn/.config/coc/extensions/coc-kotlin-data/langServerInstall/server/bin/kotlin-language-server exited with code: 1
Exception in thread "main" java.lang.NoSuchMethodError: 'void org.jetbrains.kotlin.cli.jvm.config.JvmContentRootsKt.configureJdkClasspathRoots(org.jetbrains.kotlin.config.CompilerConfiguration)'
	at org.javacs.kt.compiler.CompilationEnvironment.<init>(Compiler.kt:120)
	at org.javacs.kt.compiler.Compiler.<init>(Compiler.kt:452)
	at org.javacs.kt.CompilerClassPath.<init>(CompilerClassPath.kt:26)
	at org.javacs.kt.KotlinLanguageServer.<init>(KotlinLanguageServer.kt:25)
	at org.javacs.kt.MainKt.main(Main.kt:42)
[Info  - 21:39:41.003] Connection to server got closed. Server will restart.
[Error - 21:39:41.004] Server initialization failed.
  Message: Pending response rejected since connection got disposed
  Code: -32097
[Error - 21:39:41.004] Kotlin Language Client client: couldn't create connection to server.
  Message: Pending response rejected since connection got disposed
  Code: -32097
[Error - 21:39:41.004] Restarting server failed
  Message: Pending response rejected since connection got disposed
  Code: -32097
[Error - 21:39:41.008] /Users/jeremykahn/.config/coc/extensions/coc-kotlin-data/langServerInstall/server/bin/kotlin-language-server exited with code: 1
Exception in thread "main" java.lang.NoSuchMethodError: 'void org.jetbrains.kotlin.cli.jvm.config.JvmContentRootsKt.configureJdkClasspathRoots(org.jetbrains.kotlin.config.CompilerConfiguration)'
	at org.javacs.kt.compiler.CompilationEnvironment.<init>(Compiler.kt:120)
	at org.javacs.kt.compiler.Compiler.<init>(Compiler.kt:452)
	at org.javacs.kt.CompilerClassPath.<init>(CompilerClassPath.kt:26)
	at org.javacs.kt.KotlinLanguageServer.<init>(KotlinLanguageServer.kt:25)
	at org.javacs.kt.MainKt.main(Main.kt:42)
[Error - 21:39:41.284] Connection to server got closed. Server will not be restarted.
[Error - 21:39:41.285] Server initialization failed.
  Message: Pending response rejected since connection got disposed
  Code: -32097
[Error - 21:39:41.285] Kotlin Language Client client: couldn't create connection to server.
  Message: Pending response rejected since connection got disposed
  Code: -32097
[Error - 21:39:41.285] Restarting server failed
  Message: Pending response rejected since connection got disposed
  Code: -32097
[Error - 21:39:41.285] /Users/jeremykahn/.config/coc/extensions/coc-kotlin-data/langServerInstall/server/bin/kotlin-language-server exited with code: 1


messaging_type in postback.reply and referral.reply

I wonder if we have to add the messaging_type to messages sent with postback.reply or referral.reply ? As for now, we can't do it with the gem.
As Facebook said, "Beginning May 7, 2018, this property will be required for all message sends.", so I guess those messages are included.
Any thoughts?

Hi @jgorset,
I just saw that it is implemented in the common.rb file:
def reply(message)
          payload = {
            recipient: sender,
            message: message,
            message_type: Facebook::Messenger::Bot::MessageType::RESPONSE
          }


"Upload base images" GitHub action is running (and failing) on forks

As the "Upload base images" GitHub action (.github/workflows/build-base-images.yml) is a scheduled cron, it also runs every day (and fails) on forks.
Could you limit the execution to the main repository (here is some discussion about it: https://github.com/orgs/community/discussions/26684)?
Regards

@marob, do you have time to send a pull request?

According to the documentation, I suppose this MR should fix the issue


There is no way to disable multitouch

Godot version:
3.2
OS/device including version:
Android/iOS
Issue description:
In many situations, it is necessary to limit the operation of the screen on mobile devices with just one touch. Godot does not allow you to disable multitouch.
We need a mechanism similar to Input.multiTouchEnabled = false; in Unity.

Please open a proposal on https://github.com/godotengine/godot-proposals with some more details about the use cases for which you'd need multitouch disabled.


Gradle VCS cache for source dependencies fills up

Expected Behavior
Gradle VCS cache for source dependencies does not fill up
Current Behavior
Gradle VCS cache for source dependencies fills up
Context
I needed that latest commit for a Gradle plugin as it adds imporant new functionality.
I decided to try the new source dependencies for this and depended on branch master of the plugin.
It works great so far, but within the last two days I already have 3 complete clones now in the VCS cache.
For this plugin it is not that bad as it is small, but if you have source dependencies on larger projects this can become a serious problem very fast.
Every time a new commit is seen when I build, a complete new clone is made.
I'd like to suggest to

just update the existing clone if depending on a branch
if multiple worktrees are needed due to dependency on different versions from different projects for example, use git-worktree to at least only duplicate the worktree and not the full repository
have some cleanup when the dependency is not needed anymore, at least if it is bigger than some threshold

Your Environment
Gradle 4.10.2

Have you seen a problem with clean-up or did you just notice the directory growing?

just update the existing clone if depending on a branch
We need to keep separate working directories for each resolved version, but we could do something different here. Originally, we were going to keep a central clone in a global cache and use dedicated work trees.

if multiple worktrees are needed due to dependency on different versions from different projects for example, use git-worktree to at least only duplicate the worktree and not the full repository
This is a good idea too, but JGit doesn't support this yet AFAIK.

have some cleanup when the dependency is not needed anymore, at least if it is bigger than some threshold
There is a clean-up for this cache.  It's time-based at 7 days.

Have you seen a problem with clean-up or did you just notice the directory growing?

I didn't see any clean-up happening and the source dependencies not mentioned in the cleanup part of the release notes.

just update the existing clone if depending on a branch

We need to keep separate working directories for each resolved version, but we could do something different here.

May I ask why?
I understand that for different resolved versions you need different worktrees, as one part of the build could need one version and another one a different version.
But if the dependency is on "branch XXX", all could use the same worktree, couldn't they?

if multiple worktrees are needed due to dependency on different versions from different projects for example, use git-worktree to at least only duplicate the worktree and not the full repository

This is a good idea too, but JGit doesn't support this yet AFAIK.

Yeah, to my knowledge they unfortunately still don't support worktrees, I wasn't aware you use JGit for this.
So one option could be to use a natively available Git if there is one present with detecting it and also being able to configure the path to it via some property.
Another option could be to make a bare clone that is not cleaned as long as there are non-bare clones and then make non-bare clones specifying the bare clone with --reference, so that the object files are reused at least if JGit supports that at least.
Another option could maybebe to reuse the same Git-dir, specifying different worktrees for each command if JGit supports that, like using the --git-dir or --work-tree parameters to command-line Git.

have some cleanup when the dependency is not needed anymore, at least if it is bigger than some threshold

There is a clean-up for this cache. It's time-based at 7 days.

Ah, ok, nice, then I just didn't notice it yet. :-)
But still, if you often recompile and the projet you are using is also pretty active, you could still end up with maaaany clones in there if not reusing the cache dir for branch-dependencies.
An old branch dependency cache dir is never needed again, is it?
Once the branch advanced always the new cache dir is used, thus my idea to update the existing clone instead of making new clones for each change when depending on a branch.

Everything related to source dependencies should stay open, it's an unfinished and unpolished but important feature.

Source dependencies is not an area of focus for now.


fix(WebSocketSubject): Closes socket when closing socket observer

Description:
When the output observer is closed because of de-serialization errors, ensure the WebSocketSubject is reset and the WebSocket is closed.
Related issue (if exists): (#5312)

I don't believe there's any marble testing to be done since this work is making native features observable. In my experience, there is no equivalent framework like msw for mocking and testing websockets.

I need to research further, but I think the multiplexer can also create the same state where the websocket subject has errored but the underlying socket remains open.

There is a MockWebSocket in webSocket-spec.ts to write tests with. There seems to be only one test for deserializer errors, and it does not check for ws.close. There are certainly more tests to add in this area.


nwbuilder looking for ffmpegsumo.dll

ffmpegsumo.dll was removed from newer chrome. nwbuild seems to expects that all versions of NW.js, including the latest beta has this file in the same spot. Please update!

This problem too. Ubuntu 15.04
{ [Error: ENOENT: no such file or directory, lstat '/home/old/Desktop/tork/cache/0.13.0-beta7/win64/ffmpegsumo.dll']
  errno: -2,
  code: 'ENOENT',
  syscall: 'lstat',
  path: '/home/old/Desktop/tork/cache/0.13.0-beta7/win64/ffmpegsumo.dll' }

PR #281 fixes this and has been around for 2 months 😫.

@CxRes beta builds are currently not supported properly, see #275.

@adam-lynch But nwjs is now RC??? I don't mind waiting just that would like to be on the same page as to what to expect...

@CxRes yeah, currently you can't use an RC version. Any help on #275 is welcome.


Libcyrpto.so.1.0.0

I noticed that the creation of the token to acces firebase depends on the module Libcyrpto.so.1.0.0 . However on raspberry pi, that module isn't available. Is there another way to produce the token without using that module?

Libcrypto is a part of openssl, so if you make sure you have a resonably fresh version of opensl istalled, it should contain it. I'm not veyr good at FFI, so I'm not sure if there is anything else one needs to do, but start there and see what happens, would be my recommendation

H, I just wanted to see if you got it working, and if I can close this ticket

@psvensson I was able to compile the ssl libraries on the pi. After adding them to lib folder, everything worked fine.

OK, great!


GraphQL mutations for transfer-agreement flow

This PR implements four mutations for managing transfer agreements.
Again I did not validate operations on the specified agreement, e.g.

only UnderReview agreements can be accepted
only UnderReview agreements can be rejected
only UnderReview/Accepted agreements can be canceled
only a member of the target organisation can accept/reject

Should I add these validations to avoid inconsistencies or possible bugs? What kind of error would a failed validation be, a bad user input, or ...?
@aerinsol Note that I extended the test plan (integration test sheet), and linked the test case IDs in a new column in the box-transfer user action sheet.

 Implement GraphQL mutations for transfer-agreement flow

I honestly think in terms of errors you can do exactly that. The users would not always be the end user here, but would be front end devs too.

Any way we can pass in what the requested action is?

Sorry, I force-pushed, and overwrote the commit that you might have referred to. Can you have another look?

@aerinsol The error description now holds the actual state of the involved agreement, and a list of expected states: e.g. The state of the transfer agreement (Expired) does not allow the requested action. Expecting state: Accepted


Add performance marks

This is a method of performance logging that I have made with a proc macro.
The macro adds basic logging using std::time::Instant to log how long methods take to execute.

In terms of usefulness, it will perhaps help me identify methods running slow. It's not something that I have huge concerns about, but I have noticed some slow downs occasionally so I'm putting this infrastructure here.
In terms of consequences, there will be a minimal increase in compile times, and at runtime around 0.2-2 micro-seconds of added time per method from my testing - nothing.

It is behind an LSP config option that is disabled by default, so no effect on regular users.
Opening this as a PR since it is a medium-sized change, if anyone wants to review feel free - otherwise I will merge it in a couple days.

For context this has been on my to-do list for a while.
I'd looked at tracing instruments a while back and there's two main things I remember:

to log, we need to be async and have a PestLanguageServerImpl or Client due to LSP annoyingness, I'm not sure that could be done
it's too much in terms of functionality. We don't need to log arguments really, and a lot of LSP params are quite large memory wise as well I would imagine. We'd have to have a skip all arguments every time we used it


djones6 David Jone's you cannot do anything by banning me from Slack

Context and Description
If you are banning me, then it tells your IBM company is going in wrong path! Let's see how long it holds!
You guys don't know how to respect others humanly then how going to succeed!
Environment Details
Information about your OS, Swift version and Xcode version if on macOS.
Steps to Reproduce

...
...
etc

Expected vs. Actual Behaviour

[ ] Expected to happen...
[ ] Actually happened...

You guys don't know how to respect others humanly then how going to succeed!  Ban me here also nothing you can do! You guys think it is easy to solve things by banning or killing! Not like That buddy!

IBM I know the history event hough you work with Apple now!

I know to save IBM from knowing its weakness you will of course will remove this issue and its comments!

Initially I felt surprised how IBM can do open source, without any bad motives! It is now found that they have bad motives and they are not helping humanity.

IBM is known for giving cheaper products and less mind peace in customers!

Open source is for free don't pollute this thing with your money motives! Similarly some other companies operate like that!

Open source is for serving the whole humanity with unconditional love!

IBM is just giving a me too product, and stab customers at back!

Love can do anything, but hate cannot achieve anything for long! It is temporary you win, lets see!


Text element display: add missing unit for padding

Context

Summary
Adds missing px for padding.

Relevant Technical Choices

To-do

User-facing changes
Padding is displaying correctly now:

Testing Instructions

[ ] This is a non-user-facing change and requires no QA

This PR can be tested by following these steps:

Add a text element
Set Fill as the background mode and set padding (e.g. 15)
Verify that padding is added correctly to each side.
Test with Highlight mode as well, verify there is padding between the text and the highlighted background

Reviews
Does this PR have a security-related impact?
No

Does this PR change what data or activity we track or use?
No

Does this PR have a legal-related impact?
No

Checklist

[x] This PR addresses an existing issue and I have linked this PR to it in ZenHub
[ ] I have tested this code to the best of my abilities
[ ] I have verified accessibility to the best of my abilities (docs)
[ ] I have verified i18n and l10n (translation, right-to-left layout) to the best of my abilities
[ ] This code is covered by automated tests (unit, integration, and/or e2e) to verify it works as intended (docs)
[ ] I have added documentation where necessary
[x] I have added a matching Type: XYZ label to the PR

Fixes #9872

Why didn't existing tests, like the generateParagraphTextStyle ones for example, not catch this? 🤔
We should add a new one to prevent regressions in the future.

Why didn't existing tests, like the generateParagraphTextStyle ones for example, not catch this?

Because in the tests, a different dataToPadding is used compared to what the display uses -- it returns % as the unit by default whereas in case of display dataToEditor is used which does not have units appended by default.
Hm, now the current tests are failing actually because both % and px are appended -- % from the custom dataTo* in the tests and px added by default.
It's a bit confusing, the system currently... It should either never add units or always add units. That's why the padding was probably overridden for the output as well -- not to use the default px as it previously was.
Anyway -- let me check if I can change it generally so that it would never add the units by default and only take it from the specific usage.

Unrelated Karma failures:

CUJ: Page Templates: Creator can Apply a Default Page Template Keyboard Navigation should navigate templates via keyboard Example run

Unrelated Karma failures:

CUJ: Page Templates: Creator can Apply a Default Page Template Keyboard Navigation should navigate templates via keyboard Example run


How did you filter the pileup positions

Hi,
I am tring to reproduce the results of your paper and I noticed a step of filtering before downstream analysis:
" Before generating the cell-counts matrices, DNA bam files were further filtered by removing high-pileup positions
(cutoff=10) regardless of cellular barcode, PCR index and UMI"
I can't find how you do it in the paper nor in this github repository. Can you give me some hints on what tools you used for this?
Thanks
Charlie

Hi @CharlieChang1996,
I have uploaded the scripts I used for this purpose from my collaborator @shawnzhangyx.


Tests for analysis modules

Description
write tests for analysis modules

I suspect that this is indirectly addressed by #513?

@b-mueller Yes and no, #513 addresses system tests (testing all the components of mythril), while this is more about component tests of the analysis modules


chore(master): release git-jira-branch 1.4.3

:robot: I have created a release beep boop
1.4.3 (2024-04-29)
Bug Fixes

deps: bump the production-dependencies group with 7 updates (#306) (71ab2f9)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/ccntrq/git-jira-branch/releases/tag/git-jira-branch-v1.4.3 :sunflower: