After each sync the page "http://shanalikhan.github.io/2017/02/19/Option-to-ignore-settings-folders-code-settings-sync.html" is opened

🐛 Describe the bug
A clear and concise description of what the bug is. You are always welcome to check the Troubleshooting section before filing the ticket.
🌴 Visual Studio Code Version : [ 1.33 ]
🌴 Code Settings Sync Version : [ 3.2.8 ]
🌴 Standard or Insiders : [ standard ]
🌴 OSS or Portable : [ oss ]
🌴 Operating System : [ Ubuntu 18.10 ]
🌴 Occurs On: [Upload / Download]
🌴 Proxy Enabled: [ No ]
🌴 Gist Id: [ ID_HERE ]
📰 To Reproduce
Steps to reproduce the behavior:

Autoupload is triggered
It uploads the settings
http://shanalikhan.github.io/2017/02/19/Option-to-ignore-settings-folders-code-settings-sync.html page gets opened

💪 Expected behavior

Autoupload is triggered
It uploads the settings
And nothing else happen, current behavior is very annoying

📺 Console Error Log
No errors in the log

@arnohovhannisyan can you look into this ?
@cspwizard can you post the following things:

custom settings .json file inside User folder. You can remove the token in that file before posting.
Console Log ( Help Menu > Toogle Developer Tools )

Sure!
settings .json
{     "ignoreUploadFiles": [         "projects.json",         "projects_cache_vscode.json",         "projects_cache_git.json",         "projects_cache_svn.json",         "gpm_projects.json",         "gpm-recentItems.json",         "state.vscdb",         "state.vscdb.backup",         "syncLocalSettings.json",         ".DS_Store",         "sync.lock"     ],     "ignoreUploadFolders": [         "workspaceStorage"     ],     "ignoreExtensions": [],     "gistDescription": "Visual Studio Code Settings Sync Gist",     "version": 328,     "token": "#",     "downloadPublicGist": false,     "supportedFileExtensions": [         "json",         "code-snippets"     ],     "openTokenLink": true,     "disableUpdateMessage": false,     "lastUpload": "2019-04-10T11:15:21.222Z",     "lastDownload": "2019-04-09T19:39:03.266Z",     "githubEnterpriseUrl": null,     "askGistName": false,     "customFiles": {},     "hostName": null,     "replaceCodeSettings": {} }
Part of the console log (there are some errors):
  ERR EEXIST: file already exists, open '/home/ksp/.config/Code/User/sync.lock': Error: EEXIST: file already exists, open '/home/ksp/.config/Code/User/sync.lock' console.ts:134 [Extension Host] Sync: syncLocalSettings.json changed console.ts:134 [Extension Host] Sync: state.vscdb-journal changed console.ts:134 [Extension Host] Sync: state.vscdb changed console.ts:134 [Extension Host] rejected promise not handled within 1 second: Error: EEXIST: file already exists, open '/home/ksp/.config/Code/User/sync.lock' t.log @ console.ts:134 console.ts:134 [Extension Host] stack trace: Error: EEXIST: file already exists, open '/home/ksp/.config/Code/User/sync.lock' t.log @ console.ts:134 log.ts:173   ERR EEXIST: file already exists, open '/home/ksp/.config/Code/User/sync.lock': Error: EEXIST: file already exists, open '/home/ksp/.config/Code/User/sync.lock' console.ts:134 [Extension Host] Sync: syncLocalSettings.json changed console.ts:134 [Extension Host] Sync: state.vscdb-journal changed console.ts:134 [Extension Host] Sync: state.vscdb changed console.ts:134 [Extension Host] rejected promise not handled within 1 second: Error: EEXIST: file already exists, open '/home/ksp/.config/Code/User/sync.lock' t.log @ console.ts:134 console.ts:134 [Extension Host] stack trace: Error: EEXIST: file already exists, open '/home/ksp/.config/Code/User/sync.lock' t.log @ console.ts:134 log.ts:173   ERR EEXIST: file already exists, open '/home/ksp/.config/Code/User/sync.lock': Error: EEXIST: file already exists, open '/home/ksp/.config/Code/User/sync.lock' console.ts:134 [Extension Host] Sync: syncLocalSettings.json changed console.ts:134 [Extension Host] Sync: state.vscdb-journal changed console.ts:134 [Extension Host] Sync: state.vscdb changed console.ts:134 [Extension Host] rejected promise not handled within 1 second: Error: EEXIST: file already exists, open '/home/ksp/.config/Code/User/sync.lock' t.log @ console.ts:134 console.ts:134 [Extension Host] stack trace: Error: EEXIST: file already exists, open '/home/ksp/.config/Code/User/sync.lock' t.log @ console.ts:134 log.ts:173   ERR EEXIST: file already exists, open '/home/ksp/.config/Code/User/sync.lock': Error: EEXIST: file already exists, open '/home/ksp/.config/Code/User/sync.lock' console.ts:134 [Extension Host] Sync: syncLocalSettings.json changed console.ts:134 [Extension Host] Sync: state.vscdb changed console.ts:134 [Extension Host] rejected promise not handled within 1 second: Error: EEXIST: file already exists, open '/home/ksp/.config/Code/User/sync.lock' t.log @ console.ts:134 console.ts:134 [Extension Host] stack trace: Error: EEXIST: file already exists, open '/home/ksp/.config/Code/User/sync.lock' t.log @ console.ts:134 log.ts:173   ERR EEXIST: file already exists, open '/home/ksp/.config/Code/User/sync.lock': Error: EEXIST: file already exists, open '/home/ksp/.config/Code/User/sync.lock' console.ts:134 [Extension Host] Sync: syncLocalSettings.json changed console.ts:134 [Extension Host] Sync: state.vscdb changed console.ts:134 [Extension Host] rejected promise not handled within 1 second: Error: EEXIST: file already exists, open '/home/ksp/.config/Code/User/sync.lock' t.log @ console.ts:134 console.ts:134 [Extension Host] stack trace: Error: EEXIST: file already exists, open '/home/ksp/.config/Code/User/sync.lock' t.log @ console.ts:134 log.ts:173   ERR EEXIST: file already exists, open '/home/ksp/.config/Code/User/sync.lock': Error: EEXIST: file already exists, open '/home/ksp/.config/Code/User/sync.lock' console.ts:134 [Extension Host] Sync: syncLocalSettings.json changed console.ts:134 [Extension Host] SyntaxError: Unexpected end of JSON input 	at JSON.parse (<anonymous>) 	at p.<anonymous> (/home/ksp/.vscode/extensions/shan.code-settings-sync-3.2.8/out/extension.js:130:94316) 	at Generator.next (<anonymous>) 	at s (/home/ksp/.vscode/extensions/shan.code-settings-sync-3.2.8/out/extension.js:130:91920) t.log @ console.ts:134 notificationsAlerts.ts:40 Sync : Unable to read syncLocalSettings.json. Make sure its Valid JSON. onDidNotificationChange @ notificationsAlerts.ts:40 console.ts:134 [Extension Host] Sync: syncLocalSettings.json changed console.ts:134 [Extension Host] Sync: state.vscdb-journal changed console.ts:134 [Extension Host] Sync: state.vscdb changed console.ts:134 [Extension Host] rejected promise not handled within 1 second: Error: EEXIST: file already exists, open '/home/ksp/.config/Code/User/sync.lock' t.log @ console.ts:134 console.ts:134 [Extension Host] stack trace: Error: EEXIST: file already exists, open '/home/ksp/.config/Code/User/sync.lock' t.log @ console.ts:134 log.ts:173   ERR EEXIST: file already exists, open '/home/ksp/.config/Code/User/sync.lock': Error: EEXIST: file already exists, open '/home/ksp/.config/Code/User/sync.lock' console.ts:134 [Extension Host] Sync: syncLocalSettings.json changed

Also I've several instances of VSCode running, maybe this could cause issues as well.

Thanks.
Did it happens for the first time when you report?
Since then, have you tried restarting the code to see still having problem?

No. the issue is there for couple days. I've restarted all the instances, and even reboot, but it still happens.

Keeps happening to me too. I'll post some more info later

@cspwizard In your user folder, is there a sync.lock file when vscode is closed?

@arnohovhannisyan no, only globalStorage/,  keybindings.json,  settings.json,  snippets/, syncLocalSettings.json,  workspaceStorage/

@cspwizard Can you try this out?
https://cdn.discordapp.com/attachments/549007146868539408/566098906031849483/code-settings-sync-3.2.8.vsix

I'll check a bit later. Thanks!

@arnohovhannisyan with your vsix package it seems to work fine, thanks!

@gnomeria can you use the build created by @arnohovhannisyan and let us know if it worked for you too ?

Is anyone here able to test my new changes? I need some confirmation that it works as expected before it can be rolled out into the master branch.
VSIX: https://cdn.discordapp.com/attachments/549007146868539408/584860646177505303/code-settings-sync-3.2.9.vsix
Thanks!

I did, it worked for me.

Auto upload is improved.
I have released new version of Settings Sync v3.3.0 fixing this issue. Im closing this ticket let me know if u guys run into some problem

I still experience this in v3.4.3 of the plugin.

Same problem here (3.4.3)

Same problem here

Yeahp got this problem seems to be on MacOS my windows build doesn't do this.

Same issue.

Hi,
After installing v3.31 and resetting the extension settings, it worked again

same problem on ubuntu 20.4 latest version of VS code and latest version of the plugin.

same problem here in Windows 10, lateste version of VS Code and latest version of the plugin

Same problem here

Same problem here

I also got this same problem when installing this extension in a new PC.
Was able to fix this by comparing the syncLocalSettings.json file between my new PC and the old PC where code-settings-sync is working. Both were running version 3.4.3.
So the difference I found was of token field being null in the new PC. So I generated a new Personal access token on Github with Gist permissions only and added that to the token field as a string value.
This fixed the issue and I was able to sync settings.

Same problem here, uninstall and reinstall and relaunch vscode sometimes seems to solve this, but have no idea what is happening.

Я также получил эту же проблему при установке этого расширения на новый ПК.
Удалось исправить это, сравнив файл между моим новым ПК и старым ПК, где работает синхронизация параметров кода. Оба работали под управлением версии 3.4.3.syncLocalSettings.json
Таким образом, разница, которую я обнаружил, заключалась в том, что поле было нулевым в новом ПК. Поэтому я сгенерировал новый личный маркер доступа на Github только с разрешениями Gist и добавил его в поле в качестве строкового значения.token``token
Это исправило проблему, и я смог синхронизировать настройки.
Не знаю, почему расширение не автоматически сохраняло токен раньше, так как я помню, как добавил токен в редактор настроек графического интерфейса.

thanks you!!!!! your method helped me


feat(kit): added search function in international phone component

Added search input in dropdown menu of international phone component
https://github.com/user-attachments/assets/a418b016-1117-46a6-83fe-be6ca818ea11

https://github.com/user-attachments/assets/9a719167-7fca-41c0-8719-01902323b9d8

Thank you for this PR! I've added some comments, please take a look.


set the default value of "Percentage of Population Susceptible in the starting node in the beginning" to 90%


Load CSV data from local file (invalid datetime format)

Environment details

OS: Ubuntu 18.04
Node.js version: 14.16.1
npm version: 7.24.1
@google-cloud/bigquery version: 5.9.2

I tried to use load local file (csv) refer to https://github.com/googleapis/nodejs-bigquery/blob/main/samples/loadLocalFile.js
when the data type is STRING, everything is load normally
but when I try to load with datetime value in my file (I already create new column with DATETIME data type) the error with message  "Error while reading data, error message: Could not parse 'date' as DATETIME for field date (position 2) starting at location 0  with message 'Invalid datetime string \"date\"'" appear.
I have following the datetime data type format refer to https://cloud.google.com/bigquery/docs/loading-data-cloud-storage-csv, but the same error always appear.
Examples value I use to try:

2021-01-10 00:00:00
2021-01-10 00:00:00.000000
2021-01-10T00:00:00
2021-01-10T00:00:00.000000
2021-01-10T00:00:00.00Z
2021-01-10 00:00:00.00Z

Can you tell me how can I load csv with datetime value properly?
Thanks!

I think the issue you are encountering stems from having column names in first row of your CSV data. If it is the case that you have your column names in the file, please try adding the skipLeadingRows option.
Example:
    const [job] = await bigquery
      .dataset(datasetId)
      .table(tableId)
      .load(filename, {skipLeadingRows: 1});


add operator connect autorest generated client

Packages impacted by this PR
Issues associated with this PR
Describe the problem that is addressed by this PR
What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen?
Are there test cases added in this PR? (If not, why?)
Provide a list of related PRs (if any)
Command used to generate this PR:**(Applicable only to SDK release request PRs)
Checklists

[ ] Added impacted package name to the issue description
[ ] Does this PR needs any fixes in the SDK Generator?** (If so, create an Issue in the Autorest/typescript repository and link it here)
[ ] Added a changelog (if necessary)

As far as I understand, this will be a new package under communication folder, right? If so, the changes shouldn't live under communication-phone-numbers package, but communication-operator-connect.

Actually we had discussion on that and all PSTN related functionality should go into phone-numbers package, that includes operatorConnect SIP routing etc.

API change check for @azure/communication-phone-numbers
API changes have been detected in @azure/communication-phone-numbers. You can review API changes here


refactor: add sendmail -t flag to mailhog call for symfony/mailer native transport compat, fixes #4363

The Issue
This PR replaces

#5138 by @rodrigoaguilera

Will make sure you get commit credit for it. I couldn't push the image spec into your PR.

https://github.com/ddev/ddev/issues/4363

How This PR Solves The Issue
Add a harmless -t to the mailhog call
Manual Testing Instructions
Automated Testing Overview
Mailhog integration is not tested AFAIK and soon will be replaced by mailpit

This obviously isn't urgent so I'll wait for testing responses and it will wait until after v1.22.0 is out.

So @rodrigoaguilera as far as you're concerned this is ready?
May still need some "ordinary" testing.

I still have the fresh debian 12 machine around with the PR installed so I cloned two of my clients Drupal projects. One of them has nightwatch tests that send emails and they all came green. This project uses the symfony_mailer and the tests check that emails are received in mailhog.
For the other project I did the usual checks as when I deploy to production and more tests around mail sending: cron notifications and newsletter subscription confirmation. All good.
From my side this change is ready.

Rebased, pushed new image.

Thanks so much for chasing this and doing the PR and testing. I tested manually and seemed to be fine.


Idempotency and dsc executable default behavior

Summary of the new feature / enhancement
The documentation seems to indicate that it is necessary to wrap the dsc executable in some other scripting language to manage idempotency.
As an automation user I want to write a desired state configuration file and then be able to run the dsc command repeatedly and only have the values set command run if any resource in the config returns non-compliant.  (i.e the set action performs both a test and set as needed)
This allows me to include only the command/config action as a single step in a bootstrap script without having to manage the idempotency outside the resource.  The resource definition should include get/set/test/schema and any error handling.  This also eliminates the need for the developer to worry about how the resource provider does error handling, retry testing, and etc as the resource provider and the dsc executable should manage those elements.
Proposed technical implementation details (optional)
A sample config file will contain the resource type, version, and desired state details. (using the registry resource from the doc page)
`#example.dsc.config.yaml
$schema: https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/2023/08/config/document.json
resources:

name: test_key
type: Microsoft.Windows/Registry
properties:
keyPath:   HKLM\Software\testkey\testproduct\1.0
valueName: testvalue
valueData:
String: testvalue`

when run for the first time and the key doesn't exist, the key and value will be created :
#key doesn't exist
dsc set -config example.dsc.config.yaml
#Script created the key
When run again the test will evaluate as true and no changes will take place. (no external wrapper script testing or handling will be necessary)
#key does exist
dsc set -config example.dsc.config.yaml
#Script exits without performing any actions as the test call succeeded

@jchancellor-ms - The documentation you linked is for managing the registry with the dsc resource set command. The dsc resource set documentation states:

[!IMPORTANT]
The dsc resource set command always invokes the set operation for the resource. Resources may, but aren't required to, implement logic that pretests an instance for the set operation.
This is different from how dsc config set works, where DSC always tests an instance, either synthetically or by invoking the test operation for the resource, and only invokes set for an instance if it's not in the desired state.
Command-based resources indicate whether they implement pretest for the set operation by defining the set.implementsPretest property in their resource manifest. If that property is defined as true, it indicates that the resource implements pretest. If set.implementsPretest is set to false or is undefined, the manifest indicates that the resource doesn't implement pretest.
If a resource indicates that it implements pretest, users should expect that the resource only modifies an instance during a set operation if the pretest shows that the instance isn't in the desired state.
If a resource doesn't implement pretest, users should expect that the resource always modifies an instance during a set operation.
For resources that don't implement pretest for the set operation, Microsoft recommends always calling dsc resource test against an instance to see whether it's in the desired state before invoking dsc resource set. This can help avoid accidental errors caused by resources that don't implement a fully idempotent set command.

What you're asking for is implemented with the dsc config set command. You can see an example of managing the registry with the dsc config * commands in Configure keys and values with Microsoft.Windows/Registry


TBVaccine in pipe mode is broken

$ echo 1 | tbvaccine
Traceback (most recent call last):
  File "/mnt/storage/miniconda3/envs/CloudSML-Computational-Backend/bin/tbvaccine", line 11, in <module>
    sys.exit(main())
  File "/mnt/storage/miniconda3/envs/CloudSML-Computational-Backend/lib/python3.5/site-packages/tbvaccine/cli.py", line 29, in main
    output = tbv.process_line(line)
AttributeError: 'TBVaccine' object has no attribute 'process_line'

Thank you, I recently refactored it and must have left a function. I'll fix it today.

Released 0.1.3 with the fix.


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/94124

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/95197


The example of plot_em.py seems has a problem about the datasets.

I guess the problem is in kf.loglikelihood(data.observations)
# Learn good values for parameters named in `em_vars` using the EM algorithm
loglikelihoods = np.zeros(10)
for i in range(len(loglikelihoods)):
    kf = kf.em(X=data.observations, n_iter=1)
    loglikelihoods[i] = kf.loglikelihood(data.observations)

Traceback (most recent call last):
  File "/Users/gabrielfeng/anaconda3/lib/python3.6/site-packages/IPython/core/interactiveshell.py", line 2910, in run_code
    exec(code_obj, self.user_global_ns, self.user_ns)
  File "<ipython-input-3-786c67c6a0d9>", line 5, in <module>
    loglikelihoods[i] = kf.loglikelihood(data.observations)
  File "/Users/gabrielfeng/anaconda3/lib/python3.6/site-packages/pykalman/standard.py", line 1474, in loglikelihood
    predicted_state_means, predicted_state_covariances, Z
  File "/Users/gabrielfeng/anaconda3/lib/python3.6/site-packages/pykalman/standard.py", line 170, in _loglikelihoods
    predicted_observation_covariance[np.newaxis, :, :]
  File "/Users/gabrielfeng/anaconda3/lib/python3.6/site-packages/pykalman/utils.py", line 73, in log_multivariate_normal_density
    cv_sol = solve_triangular(cv_chol, (X - mu).T, lower=True).T
  File "/Users/gabrielfeng/anaconda3/lib/python3.6/site-packages/scipy/linalg/basic.py", line 284, in solve_triangular
    b1 = _asarray_validated(b, check_finite=check_finite)
  File "/Users/gabrielfeng/anaconda3/lib/python3.6/site-packages/scipy/_lib/_util.py", line 236, in _asarray_validated
    raise ValueError('masked arrays are not supported')
ValueError: masked arrays are not supported

Sorry, I just found the solution here.
https://github.com/pykalman/pykalman/issues/49

closed issue.


[Docs] Fix typo in README.md

This pr fix the typos in README.md
fixes #506
The first typo is withing and changed to within
The second typo is brokel and changed to broken
These changes improve the clarity of the documentation

@Anupkjha2601
@goodchai0
pls check, thank you!

@Anupkjha2601
@goodchai0
pls check, thank you!

@jfmartinz please resolve conflict .

@jfmartinz please resolve conflict .

Resolved. Can you check?


Initial state error

Hi
I had an issue when the scrollview scrolls under the navigation bar. I have debugged the code, and discovered this in the keyboardwillshow method:
state.keyboardVisible = YES;
if ( !state.keyboardVisible ) {
    state.priorInset = self.contentInset;
    state.priorScrollIndicatorInsets = self.scrollIndicatorInsets;
    state.priorPagingEnabled = self.pagingEnabled;
}

so it will never save the state. If you move the keyboardVisible setter under the if, it will work :)

That's weird - are you looking at the latest code? I can't find that in the latest keyboardWillShow


Refactor WB-Weather Module & Replace DarkSky as the default Weather Provider

Since Apple has acquired DarkSky and will be shutting down the service to 3rd parties next summer (good night sweet prince), it's time to choose a new weather provider for the WB-Weather module.
This would also be a great time to look into refactoring WB-Weather so that it's modular enough to handle choosing from multiple weather providers to supply weather data.

I'm also waiting on this as well

I'm waiting on this too. Shame that Apple acquired Dark Sky.

Curious, why not just use some of the code from default weather module (not current weather or forecast) as it already supports multiple providers?

Ive just changed mine over to use the Australian Bureau of Meterology. Only suitable for Australian weather data. Unfortunately the BOM doesn't present their data in a nice tidy format like Darksky etc so it too a lot of rework to get it to work so I have made it a stand alone module. Im just tyding up the config and documentation and will release it hopefully later this week. My initial hack of the WB-weather module is here https://github.com/saabman/WallberryTheme This is just my first experimental attempt at NodeJS

I wanna say I’ll have a chance to work on this soon but last time I thought that I caught covid and now the entire west coast of the US is burning down so… *crosses fingers 2020 will chill for a bit*
@stopspazzing I was hoping to use much of the code from the default weather module - the one issue that made integrating it less than straightforward was a quirk of how DarkSky structured their API and how the default weather module handled making requests. DarkSky required get requests to come from a proxy server which WB-Weather handled out-of-the-box by using the node_helper server to make the requests, whereas the default weather module requires a user to set up a separate proxy service for their module to contact which was a bit cumbersome, especially for novice MM users. I wanted to retain WB-Weather’s method at least for the duration of DarkSky support (though it's mostly a moot point now since it’s taken me so long to get around to this lol). I figured it might be worth checking to see if any other major weather providers had any similar requirements to make it worth modifying the default weather module’s code to be used by node_helper.
@saabman awesome nice work :)

The functionality has now been added in 3.0.0. Thanks to everyone who showed their interest on this issue, and also for waiting patently for it through a very weird year :)


[FEATURE] Experiment with prop measuring using a stereo camera

One of our tasks this year will be measuring a "shipwreck" within 5cm. One option we want to explore is using a stereo (dual) camera to perceive depth and get length from that.
Create an OpenCV/PyQt testing script that shows the frames coming from our dual cam (in the software box), allows the user to click on the ends of the shipwreck (i.e. PVC pipe) in each frame, and then outputs the predicted length of the shipwreck.
Something like this might be helpful.

https://github.com/CWRUbotix/rov-22/tree/main/vision/stereo

The first part of this presentation (calculating depth) will probably be necessary: http://www.cs.toronto.edu/~fidler/slides/2015/CSC420/lecture12_hres.pdf
We'll need to calibrate things first probably. With calibrated cams and depth we'll have all three 3D axes, so we should be able to calculate distance?


inference with fine-tuned DETR models

how to run inference with fine-tuned DETR models
how to set the args ,the default is to use the downloaded detr weights

Hi @Cherryjingyao,
The provided UPT weights already include the fine-tuned DETR weights. Even when the pre-trained DETR weights are specified in the arguments, they will be overridden once the UPT weights are loaded.
Fred.


import msal with es6 syntax

Hello,
Apparently (see https://stackoverflow.com/questions/44228493/how-to-properly-import-and-use-the-msal-microsoft-authentication-library-for-js) it is not possible to import msal in an es6 style i.e. like :
import {Msal} from 'msal';
var msal   = new Msal.UserAgentApplication ....

Is there a reason ? If not, would it possible to make it possible ? Thanks in advance.

@TulyOpt : if you clone the repo and change in es5 to es6 here: https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/master/tsconfig.base.json#L7, you would generate msal for es6. Would that work for you?

Hi,
thanks for your answer, i will try this.

This guy forked the repo and added all major module implementations, take a look at:
https://github.com/malekpour/microsoft-authentication-library-for-js

@rohitnarula7176

Any news on this?

I'm not sure why this isn't the default behavior.

I believe that es5 is needed so that msal.js can be used with IE: See https://github.com/AzureAD/microsoft-authentication-library-for-js/wiki/Using-msal.js-with-Internet-Explorer.
Do you have ways to run es6 JavaScript with IE?

To my understanding, most es6 features should be available in IE11 with one or more polyfills (such as Babel).
It's strange to me that the new version of the JavaScript auth library requires jumping through more hoops to be used with modern JavaScript frameworks than the ADAL v1 library does.

Modules don't have the same polyfill-ability as other ESNext features. That said, it should be possible with the right npm configuration to publish both the transpiled ESNext code and the built files. This is what we do with momentjs. All that being said, I'm not sure how that interacts with the typescript here - that's not a space I have a lot of expertise in. I think that @DanielRosenwasser, @bterlson, or @thelarkinn would be able to clarify on that if they're available.
Happy to contribute back the ESNext changes if you're comfortable with that.

TypeScript will compile standard ES6 modules into a format consumable by IE11. There are other tools that can do this as well. I am also willing to help update this if I am needed.

There is more than one way to deal with this problem:

Set the module compiler option to umd instead of amd. TypeScript will produce a universal module which should work both with Node and browsers.
Have another tsconfig which has module set to commonjs. Ship both amd and commonjs files to NPM. Configure package.json to point to the commonjs version: "main": "./out/msal.common.js",

I have option 2 nearly done on my local machine. PR coming soon.
On Oct 9, 2017 7:25 AM, "Atanas Korchev"<EMAIL_ADDRESS>wrote:

There is more than one way to deal with this problem:

Set the module compiler option to umd instead of amd. TypeScript
will produce a universal module which should work both with Node and
browsers.
Have another tsconfig which has module set to commonjs. Ship both
amd and commonjs files to NPM. Configure package.json to point to the
commonjs version: "main": "./out/msal.common.js",

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/AzureAD/microsoft-authentication-library-for-js/issues/96#issuecomment-335174101,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFxi0im3yVAd97qJUq4zqLQuZVg0zeZBks5sqizUgaJpZM4OXPVD
.

@TulyOpt @jmprieur @maggiepint @akorchev @bterlson @pdimitratos @cesarvarela @DibranMulder @VSDekar I have generated both commonjs and es-6 modules for msal in this branch as you can see in the "lib-commonjs" and "lib-es6" folder. In addition to that, we will ship a UMD bundle that will expose "Msal" as the global variable in the browser located in the 'dist" folder. Since it is not shipped to npm yet, you cannot just use npm install msal and get these yet. For testing though, you can generate a folder named msal in the node_modules folder of your app and clone the repo inside it. You will then be able to use statements like import {UserAgentApplication} from "msal". I have created a test app to test this using what I explained above: Please refer to https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/rohitnarula7176/modules/devApps/ModuleSample/src/components/index.tsx. Can you all please use it  and confirm if that solves your issue.

@TulyOpt @jmprieur @maggiepint @akorchev @bterlson @pdimitratos @cesarvarela @DibranMulder @VSDekar I have also published a beta version on npm which you can install using npm install<EMAIL_ADDRESS>You would then be able to use import statements in es6 style syntax. We will release an official version after testing.

Feature is now added to dev and will be part of our next release early next week. Closing this issue for now. Please reopen if you still face issues.

@jmprieur, just a comment about your previous sentence and IE support. It's possible to write es5 code that works fine in every situation: direct file download (using script element), module export and AMD definitions. This used to be a quite common technique for libraries. Something like:
;(function(factory) {
  if (typeof module !== "undefined" && module.exports) {
    // Node/CommonJS
    module.exports = factory(this);
  } else if (typeof define === "function" && define.amd) {
    // AMD
    var global=this;
    define("LIBRARY_NAME", function(){ return factory(global);});
  } else {
    // Browser globals
    this.LIBRARY_NAME = factory(this);
  }
}(function(global) {
  var LIBRARY_NAME = {};

  return LIBRARY_NAME;
}));

This would have saved some headaches. I hit this wall when trying to use msal.js in a Vue.js project, now trying with last update and using import statement.


Fix Issue #1388: allow path and response refs, too.

Assuming the discussion in #1388 doesn't result in there being a valid reason not to allow PATH and RESPONSE as internal refs, this is a solution which simply allows those.
This commit does those things:

move the internal prefixes into the RefType enum (→ RefConstants class is not needed anymore)
add prefixes for RESPONSE and PATH
get rid of the exception when trying to use an internal reference of type RESPONSE or PATH
add test cases in GenericRefTest for PATH and RESPONSE.

Any estimate on when this will be merged? :)

It would probably take a few more days.

@ChrisTitos @webron This needs a corresponding change in swagger-parser (at least in ResolverCache, I'll see if somewhere else too), it seems. I'm currently seeing if I can do this, too.

@ChrisTitos @webron Parsing response-$refs doesn't work currently, because there is no responses field in the swagger object – see #1436. I might do a new pull request for this next week, if noone arguments that this omission was intentional.


STAR-1424 Make UCS the default for all tables

This also sets the correct list of table options allowed

@jakubzytka I had a think about this over the weekend and have gone with just setting DEFAULT to UCS. The ds-trunk branch is only going to be used with CNDB and that mandates that UCS is used at the compaction strategy so having it configurable makes no sense. You had this as one of your original options and it is the one that makes most sense to me.

@jakubzytka I do understand your concerns about some of the test changes but most of these tests were written when STCS was the default and just don't work with UCS. I could spend a long time fixing each one that I'd prefer not to spend. UCS does have it's own set of tests that test it's specific features.


Add Go in Wallaroo in Vagrant Documentation

Go is installed in the Wallaroo in Vagrant box but documentation does not exist. This should be added when we plan to release support for Go Wallaroo applications in Docker.

closing as we no longer support the Go API


How to deploy wordpress with now-php ?

How to deploy wordpress with now-php ?

Resolved。https://github.com/fydy/now-wordpress

I am not sure if we can say that vercel-php (now-php) is fully support wordpress with all it's plugins and extensions.
It seems me better to host wordpress somewhere else.


Cognito UserPool drifts birthdate schema

Describe what happened
Provisioning an aws.cognito.UserPool now automatically injects a "birthdate" schema into outputs, and subsequent pulumi up shows a diff that wants to remove it.
This problem was detected by TestRegress2868 test (addressing https://github.com/pulumi/pulumi-aws/issues/2868) that started failing without any code changes in pulumi-aws. There possibly is a change to the underlying service behavior. The test passed on 6.42.1 release but is now failing as of Jul 2, 2024.
Sample program
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

export const AppUsersPool = new aws.cognito.UserPool("test-user-pool-4", {
    accountRecoverySetting: {
        recoveryMechanisms: [{
            name: "verified_email",
            priority: 1,
        }],
    },
    autoVerifiedAttributes: ["email"],
    mfaConfiguration: "OPTIONAL",
    name: "test-user-pool-4",
    passwordPolicy: {
        minimumLength: 8,
        requireLowercase: true,
        requireNumbers: true,
        requireSymbols: true,
        requireUppercase: true,
        temporaryPasswordValidityDays: 300,
    },
    schemas: [{
        attributeDataType: "String",
        mutable: true,
        name: "name",
        required: true,
        stringAttributeConstraints: {
            maxLength: "2048",
            minLength: "0",
        },
    }],
    softwareTokenMfaConfiguration: {
        enabled: true,
    },
    usernameAttributes: ["email"],
    usernameConfiguration: {
        caseSensitive: false,
    },
});

Log output
pulumi preview diff shows this:
Previewing update (repro-2868)

View Live: https://app.pulumi.com/anton-pulumi-corp/regress-2868/repro-2868/previews/df782276-b2d7-40eb-8262-dd1f9b2b2da4

  pulumi:pulumi:Stack: (same)
    [urn=urn:pulumi:repro-2868::regress-2868::pulumi:pulumi:Stack::regress-2868-repro-2868]
    ~ aws:cognito/userPool:UserPool: (update)
        [id=us-west-2_9WcQQRrMr]
        [urn=urn:pulumi:repro-2868::regress-2868::aws:cognito/userPool:UserPool::test-user-pool-4]
        [provider=urn:pulumi:repro-2868::regress-2868::pulumi:providers:aws::default_6_42_1::253529ba-3ef5-49fa-89d7-6a4efb3617b4]
      ~ schemas: [
          ~ [0]: {
                  + __defaults                : []
                  - attributeDataType         : "String"
                  - attributeDataType         : "String"
                  - developerOnlyAttribute    : false
                  - mutable                   : true
                  - mutable                   : true
                  - name                      : "birthdate"
                  - name                      : "birthdate"
                  ~ required                  : false => true
                  ~ stringAttributeConstraints: {
                      + __defaults: []
                      - maxLength : "10"
                      - maxLength : "10"
                      - minLength : "4"
                      - minLength : "4"
                    }
                }
          - [1]: {
                  - attributeDataType         : "String"
                  - developerOnlyAttribute    : false
                  - mutable                   : true
                  - name                      : "name"
                  - numberAttributeConstraints: <null>
                  - required                  : true
                  - stringAttributeConstraints: {
                      - maxLength: "2048"
                      - minLength: "0"
                    }
                }
        ]
    --outputs:--
  ~ AppUsersPool: {
        accountRecoverySetting       : {
            recoveryMechanisms: [
                [0]: {
                    name    : "verified_email"
                    priority: 1
                }
            ]
        }
        adminCreateUserConfig        : {
            allowAdminCreateUserOnly: false
            inviteMessageTemplate   : <null>
        }
      + aliasAttributes              : []
        arn                          : "arn:aws:cognito-idp:us-west-2:616138583583:userpo
ol/us-west-2_9WcQQRrMr"
        autoVerifiedAttributes       : [
            [0]: "email"
        ]
        creationDate                 : "2024-07-02T15:12:22Z"
        deletionProtection           : "INACTIVE"
        emailConfiguration           : {
            configurationSet   : ""
            emailSendingAccount: "COGNITO_DEFAULT"
            fromEmailAddress   : ""
            replyToEmailAddress: ""
            sourceArn          : ""
        }
        endpoint                     : "cognito-idp.us-west-2.amazonaws.com/us-west-2_9Wc
QQRrMr"
        estimatedNumberOfUsers       : 0
        id                           : "us-west-2_9WcQQRrMr"
        lastModifiedDate             : "2024-07-02T15:12:22Z"
        mfaConfiguration             : "OPTIONAL"
        name                         : "test-user-pool-4"
        passwordPolicy               : {
            minimumLength                : 8
            requireLowercase             : true
            requireNumbers               : true
            requireSymbols               : true
            requireUppercase             : true
            temporaryPasswordValidityDays: 300
        }
        softwareTokenMfaConfiguration: {
            enabled: true
        }
        urn                          : "urn:pulumi:repro-2868::regress-2868::aws:cognito/
userPool:UserPool::test-user-pool-4"
        usernameAttributes           : [
            [0]: "email"
        ]
        usernameConfiguration        : {
            caseSensitive: false
        }
        verificationMessageTemplate  : {
            defaultEmailOption: "CONFIRM_WITH_CODE"
            emailMessage      : ""
            emailMessageByLink: ""
            emailSubject      : ""
            emailSubjectByLink: ""
            smsMessage        : ""
        }
    }
Resources:
    ~ 1 to update
    1 unchanged

This is a confusing presentation (due to set diffs being confusing) but what is happening it's trying to remove the birthday schema. From `pulumi stack export, the outputs now contain this:
                   "schemas": [
                        {
                            "attributeDataType": "String",
                            "developerOnlyAttribute": false,
                            "mutable": true,
                            "name": "birthdate",
                            "numberAttributeConstraints": null,
                            "required": false,
                            "stringAttributeConstraints": {
                                "maxLength": "10",
                                "minLength": "4"
                            }
                        },
                        {
                            "attributeDataType": "String",
                            "developerOnlyAttribute": false,
                            "mutable": true,
                            "name": "name",
                            "numberAttributeConstraints": null,
                            "required": true,
                            "stringAttributeConstraints": {
                                "maxLength": "2048",
                                "minLength": "0"
                            }
                        }
                    ],

Affected Resource(s)
aws.cognito.UserPool
Output of pulumi about
CLI
Version      3.121.0
Go Version   go1.22.4
Go Compiler  gc

Plugins
KIND      NAME    VERSION
resource  aws     6.42.1
language  nodejs  unknown

Host
OS       darwin
Version  14.5
Arch     arm64

This project is written in nodejs: executable='/Users/anton/bin/node' version='v18.18.2'

Current Stack: anton-pulumi-corp/regress-2868/repro-2868

TYPE                           URN
pulumi:pulumi:Stack            urn:pulumi:repro-2868::regress-2868::pulumi:pulumi:Stack::regress-2868-repro-2868
pulumi:providers:aws           urn:pulumi:repro-2868::regress-2868::pulumi:providers:aws::default_6_42_1
aws:cognito/userPool:UserPool  urn:pulumi:repro-2868::regress-2868::aws:cognito/userPool:UserPool::test-user-pool-4

Found no pending operations associated with repro-2868

Backend
Name           pulumi.com
URL            https://app.pulumi.com/anton-pulumi-corp
User           anton-pulumi-corp
Organizations  anton-pulumi-corp, moolumi, demo, pulumi
Token type     personal

Dependencies:
NAME            VERSION
@pulumi/aws     6.42.1
@pulumi/pulumi  3.122.0
@types/aws-sdk  2.7.0
@types/node     8.10.66

Pulumi locates its logs in /var/folders/gd/3ncjb1lj5ljgk8xl5ssn_gvc0000gn/T/com.apple.shortcuts.mac-helper// by default

Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Hello, I was about to open a case on this. It seems to be an issue with AWS Cognito itself as they recently changed or broke something. I've been tracking it here: https://github.com/hashicorp/terraform-provider-aws/issues/38197

Thanks @jamie1911 this is super helpful to have the upstream linked here!
I could workaround in our test by adding "birhtdate" to the source program in https://github.com/pulumi/pulumi-aws/pull/4159 - can you similarly workaround for your use case?

The upstream issue https://github.com/hashicorp/terraform-provider-aws/issues/38197 has been resolved:

AWS confirmed that they have reverted min length 4 for birthday, because of global issue for terraform users.
Thank you for taking the time to raise this, and for the back and forth here. Given that the change has been reverted on the AWS end, it doesn't look like any additional changes are needed on the AWS Provider side. With that in mind, I'm going to close this issue.

so I'll close this issue too.


Update role-based-access-control-configure.md

Fix typos

Hi @johnbooze, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no contribution license agreement is required at this point. Real humans will now evaluate your PR.

TTYL, AZPRBOT;

@johnbooze - thanks much for your contribution!


Keep gauges in sync with GC.stat

Omit defunct stats and support new ones automatically.
Example on Ruby 3.4.0-preview2. Before:
>> GC.stat.keys - Yabeda.gc.methods(false)
=> [:heap_empty_pages, :heap_allocatable_slots]
>> Yabeda.gc.methods(false) - GC.stat.keys
=> [:heap_sorted_length, :heap_allocatable_pages, :heap_tomb_pages]

After:
>> GC.stat.keys - Yabeda.gc.methods(false)
=> []
>> Yabeda.gc.methods(false) - GC.stat.keys
=> []

@Envek sure, done

Released in 0.4.0, thanks!


Using a variable as a selector doesn't work

I don´t know if this is a bug, or if it is intended to work like this.
If I get a selector from an element attribute (the attribute contains the selector) and put it into a variable, using this variable as a selector does not work:
Example:
var ref= x$("#somepage").attr("href") ; // variable 'ref' contains "#idselector"
x$(ref).css("display", "block") ; // this does NOT work

But if I do:
x$(""+ref).css("display", "block") ; // enforcing a string conversion, THIS works

BTW: xui is awesome. I have been using jQuery for many years but it's a little heavy for mobile.
Tested xui and its so light and compact ! Keep the good work !

I think this is due to attr returning an array (since xui can potentially match multiple objects).
If you change your second xui call to:
x$(ref[0]).css("display","block);
That should work.
I'm open to discussion on this one but for now I will close the issue.


use vjp to differentiate apply insts by default

Makes VJP the default method for differentiating apply instructions.
Keeps the non-VJP code around, under a flag. Runs tests in both modes, for the tests that involve differentiating apply instructions. This should keep the non-VJP code mostly working, for when we want to start using it again. (The non-VJP emitted SIL is simpler in some ways and possibly faster, so we think we'll eventually make the compiler try to emit non-VJP SIL whenever it can.)
I predict that we are going to write some functions with custom VJPs and then accidentally try to differentiate calls to them in non-VJP mode. So I added a nice error message for this case.
test/AutoDiff/superset_adjoint.swift caught a bug in the VJP code for differentiating applies: It used VJPs wrt supersets of the desired wrt parameters as if they were VJPs wrt the desired parameters. I fixed this.

@swift-ci please test tensorflow

@swift-ci please test tensorflow

@swift-ci please test tensorflow

@swift-ci please test tensorflow


Updates?

Cheers, Idk if it's from you're side or Runelite but it doesn't seem to auto update or neither update at all, The latest update inside of runelite is 1.1.1 but it doesn't seem to be the latest one according to ur ghub.
Regards

Hi @og-seph , I need to make a pull request to the plugin hub (https://github.com/runelite/plugin-hub), so the core Runelite team can review it. I'm planning on making a PR tonight prior to the leagues starting tomorrow, so hopefully any changes up to now will be available soonish.

As an update, a PR is now up in https://github.com/runelite/plugin-hub/pull/713. Once that's merged in the changes should appear in the plugin hub.


fixed test.yaml file and values.yaml file

Signed-off-by: viveksahu26<EMAIL_ADDRESS>Related issue
#136

Milestone of this PR

What type of PR is this
bug
kyverno-cli was failing test case for validate policy. Fixed it by making small changes in the test.yaml file and values.yaml file.

Proposed Changes

Proof Manifests

Checklist

[✓] I have read the contributing guidelines.

[✓] I have added tests that prove my fix is effective or that my feature works.

[] My PR contains new or altered behavior to Kyverno and

[✓] I have read the PR documentation guide and followed the process including adding proof manifests to this PR.

Further Comments

Thank you Viveck.


controller: Descriptive error on duplicate app.

Fixes #322.
Signed-off-by: Blaž Hrastnik<EMAIL_ADDRESS>

LGTM

Comments addressed.

LGTM


How should I set the header in ‘createBottomTabNavigator’?

Current behaviour

Expected behaviour

Code sample

Screenshots (if applicable)

What have you tried

Your Environment

software
version

ios or android

react-native

react-navigation-tabs

node

npm or yarn

Current behaviour
Expected behaviour
Code sample
Screenshots (if applicable)
What have you tried
Your Environment
software	version
ios or android
react-native
react-navigation-tabs
node
npm or yarn


🌱 Default max-num-wrapped to 1 in core Helm chart

Summary
This PR defaults the transport controller's max-num-wrapped flag to 1 in the core Helm chart, as a work around of bug https://github.com/kubestellar/kubestellar/issues/2511.
Related issue(s)
Fixes #

Closing because #2531 replaces this one.


Use atomic.Bool from stdlib (and remove pkg/atomic)

The 1.19 release of Go introduced new atomic types - https://tip.golang.org/doc/go1.19#atomic_types, which includes atomic.Bool. This PR removes our wrapper in favor of the new type from stdlib.

/retest

/retest

/test pull-containerd-node-e2e

/test pull-containerd-node-e2e


Sprint 1 Pair Review

Skill
Mastered (Y/N)
Rank (1-4)
Ratio
Notes

Attendance
[Y]
4
1.0
Tanav hasn't missed a class for CSA so far

Work Habits
[Y]
4
1.0
Whenever I look at what Tanav is doing, he is always on task and figuring out what he should do next

Behavior
[Y]
4
1.0

Timeliness
[Y]
4
1.0
Finishes hacks and reviews on time

Tech Sense
[Y]
4
1.0
When I asked Tanav to explain his code to me, he was able to explain it to me in an understandable way

Tech Talk
[Y]
4
1.0
Tanav talks more about CSA related topics more than stuff outside

Tech Growth
[Y]
4
1.0

Advocacy
[Y]
4
1.0

Comm & Collab
[Y]
4
1.0

Integrity
[Y]
4
1.0

Organized
[Y]
4
1.0

Total
11

0.0

Average

0.0

Student Skills Checklist

[x] Laptop Verification or Cloud Workspace

Rank: 0
Notes: verification by Linux commands notebook

[x] VSCode

Rank: 0
Notes: live change code, commit, make, run localhost, test, debug

[x] Show VSCode GitLens

Rank: 0
Notes: verify commits, show change, comments, reset to commit, run on old commit

[x] GitHub Cloud Repo

Rank: 0
Notes: live push change, verify id, review profile

[x] GitHub Pages Actions

Rank: 0
Notes: review runs and verify runtime, receive demo

[x] Hacks Tools & Equipment Play

Rank: 0
Notes:

[x] Hacks GitHub Pages Playground

Rank: 0
Notes:

[x] Hacks SASS Basics

Rank: 0
Notes:

[x] Hacks Jupyter Notebook

Rank: 0
Notes:

[x] Pair Programming

Rank: 0
Notes: tangibles that show co-operative work

Imaad Muzaffer's Comment
One thing I really like about the website is the sheer amount of features sprinkled throughout the pages. My favorite is the world map with different clothing styles for each country. I am very impressed with the level of interactivity and effort that went into the feature. Another feature I liked is the fun fact generator on the About page because I think it's a creative way of showing the readers who you are. However I think the generator could have used some more facts since there were only 4 facts at the time of this issue. Another thing you could do is adding more captions to the maps so that someone who is reading through the website can understand it better.


openstack: Add error checks for GetUpdates methods

Codecov Report
Base: 33.94% // Head: 33.94% // No change to project coverage :thumbsup:

Coverage data is based on head (fe69f49) compared to base (49e5b29).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #79   +/-   ##
=======================================
  Coverage   33.94%   33.94%
=======================================
  Files          42       42
  Lines        8077     8077
=======================================
  Hits         2742     2742
  Misses       5118     5118
  Partials      217      217

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

the error checks are fine but the other resources seem like a WIP, no?

yeah it was not supposed to go in, I'll remove it


[DOC] Kubernetes 1.3.5 requires cni default plugins to be installed

See https://github.com/kubernetes/kubernetes/issues/30681
The following documentation should be updated:
https://github.com/projectcalico/calico-containers/blob/master/docs/cni/kubernetes/KubernetesIntegration.md
https://github.com/kubernetes/kubernetes/blob/master/docs/getting-started-guides/ubuntu-calico.md
The default plugins from https://github.com/containernetworking/cni/releases should be installed into /opt/cni/bin to fix the issue.

As a Calico CNI user, I don't understand the impact of this issue on me.  If I have installed the Calico CNI plugin before I start the k8s control plane, do I need to do more?

Bah, that's annoying.
@ae6rt the impact here is that in addition to the Calico / IPAM CNI plugins, you'll need to install the loopback plugin from upstream CNI.
I don't think the KubernetesIntegration.md needs to be updated for this - If I understand correctly, it's a new Kubernetes requirement not a Calico requirement.
However, our guides that actually install Kubernetes should be updated to include the new binaries.

The latest getting started guides install the upstream CNI plugins.


Update README.md

A few minor changes to the wording...

Coverage remained the same at 100.0% when pulling 7b45ffbb3a6cdc1068ad691cb09f8934a65e70e7 on ColinH:readme into 1adbef7352502ee7f0c3cc6af16b95b428a4ab97 on skypjack:master.

Thanks for this. I spotted some errors but I can correct them on my own.
I'll use this PR as a base point from which to start with a review of the README. :+1:

I'm out of home until Monday. I think I'll do it next week or so.


Parameter type support

With grape-swagger issue 49 and 120. some discussion started about responsibilities and parameter types.
Swagger UI supports

path
query
body
header
form

as paramter types. For grape all parameters are equal and add's no further information.
grape-swagger walks around this by adding custom options to swagger or use some logic to determine the parameter type.
I would suggest that grape make this kind of parameters too to first class citizens like
it already does for route params and marks the type into the documentation.
Maybe it can also be checked that a query param does not be set via a body param.

It would be really helpful. +1

:+1:

So it would also be nice to setup multiple Parameter types. Currently i had a parser defined which also allows to load the parameters from message body.


feat-#177: Added husky of the project

Summary
enhancement: #177 Added the husky of the project
Description
I have created the .husky folder in the root inside the .husky folder i have defined two files one is for pre commit and another one is for commit-msg
pre-commit: whenever the user trying to make the commit the pre commit will run first and format the staged file
commit-msg: it is to check whether the given commit message is satisfy the contributor guideline i have written the code the checking whether is the commit is correct or not.
if these two files did not make any kind of error then commit successfully added in the local git repo otherwise not.
Images
commit message is valid.

commit message is not valid.

Prerequisites

[ yes ] Have you followed all the CONTRIBUTING GUIDELINES?

@krishnaacharyaa  can you kindly review this one sir.


Remove some warnings

This'll clean up some of the warnings that CI is giving right now. There are still quite a few places that can be fixed up that aren't being reported on right now, but that can be done as part of a later clean-up.

@tonybaloney I think I've cleared out most (if not all) of the CI warnings, and tests are passing locally. When you get the chance, I'd like to get some feedback to see if I'm way off course.

This looks great for absint.cpp, I think next to look at ilgen and update the interfaces to standard 32-bit and 64-bit types. Especially the ld_i() and ld_i4() methods.
That should be done before tackling pycomp.h/cpp/ipycomp.h.
Once the IL generation API is on standard types, the pycomp functions can be changed and that'd fix the remaining warnings.
Also I bet #118 and #204 are related to this


mixed mode (encrypted + plain data bags) with secret file specified in knife.rb

When specified in a knife.rb:
e.g.
knife[:secret_file]   = File.expand_path('../../test/integration/encrypted_data_bag_secret', __FILE__)

knife-solo_data_bag will encrypt new data bags, if they contain an array. However I haven't found a way to disable this (I don't want to encrypt all my data bags).

What you're seeing is the standard behavior: all encrypted or none encrypted. I think it is unlikely that a change can be made to support mixed encrypted and clear text data bags,


Discuss the UI where loklak API would appear as an option in Appearance page

Closing since UI has been added


Allow fetch_multi to use a splay of hashes to enable cache setting beyond using key

Description
Allow fetch_multi to use a splay of hashes to enable cache setting beyond using key
Risks
This is NOT backwards comptabily with projects using hashes as keys
TO DO

[ ] Add comments and examples for use

I don't really see this as a general use case.  In this circumstance I'm unclear why you simply wouldn't project out the :key value of the Hash key before calling read_multi.  And as there still aren't any comments/examples of use, I'm going to close this PR.
If you come up with some compelling use cases, please feel free to share here and I'll consider reopening.  Thanks.


Initial pass at creating ART equivalent buildconfigs

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@22d74cf). Click here to learn what that means.
The diff coverage is 0.00%.

@@            Coverage Diff            @@
##             master     #280   +/-   ##
=========================================
  Coverage          ?   27.00%
=========================================
  Files             ?       31
  Lines             ?     6494
  Branches          ?     1305
=========================================
  Hits              ?     1754
  Misses            ?     4678
  Partials          ?       62

Impacted Files
Coverage Δ

doozerlib/cli/__main__.py
0.00% <0.00%> (ø)

doozerlib/cli/images_streams.py
0.00% <0.00%> (ø)

doozerlib/repos.py
42.48% <0.00%> (ø)

doozerlib/olm/bundle.py
0.00% <0.00%> (ø)

doozerlib/exceptions.py
100.00% <0.00%> (ø)

doozerlib/cli/release_gen_payload.py
0.00% <0.00%> (ø)

doozerlib/cli/cli_opts.py
81.25% <0.00%> (ø)

doozerlib/cli/detect_embargo.py
73.45% <0.00%> (ø)

doozerlib/gitdata.py
18.51% <0.00%> (ø)

... and 23 more

Continue to review full report at Codecov.

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


Sync prometheus metric flip/flops

Description
As a user, I want besu_synchronizer_in_sync to be a realiable metric for whether or not my client is in sync
Steps to Reproduce (Bug)

Utilize and monitor with prometheus besu_synchronizer_in_sync
Set an alert for anytime it's below 0.9
Notice that periodically it'll hit that alert.  It currently seems to be that the client is indeed in sync so I assume those are errorneous.

Expected behavior: Not to go below 1.0 if it's in sync with head.
Versions (Add all that apply)

Software version: 22.7.1

Closing for tracking this issue with #2253


Add support for direction finding (connected mode) in ULL and LLL

The PR is about direction finding connected mode.
It adds required changes to enable direction finding in:

controller's HCI implementation
upper link layer down to start of LL_CTE_REQ control procedure,
lower link layer: prepare for receive and sample LL_CTE_RSP PDU with CTE, process sampling of CTE and report it back to ULL, prepare transmission of LL_CTE_RSP PDU.

@Thalley @kruithofa @cvinayak could you take a look on the PR? There is not much complex code there. The most of changed lines are related with unit tests.
@kruithofa I hope to get this PR merge ASAP then you could rebase topic-ble-llcp branch onto master.

@Thalley @cvinayak all comments were answered or addressed in code. Please take a look.


Gdx.input.getY() is flipped

Issue details
Gdx.input.getY() is flipped  so that if the cursor is at 0,0 it registers it at 0,480 for example
Reproduction steps/code
package tk.craftxbox.gamestates;

import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.g2d.BitmapFont;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;

import tk.craftxbox.managers.GameStateManager;

public class MenuState extends GameState {
    private SpriteBatch batch;
    private BitmapFont opensans18;

	public MenuState(GameStateManager gsm) {
		super(gsm);
	}

	public void init(){
        batch = new SpriteBatch();
        opensans18 = new BitmapFont(Gdx.files.internal("OpenSans-Light-18.fnt"), false);
        opensans18.setColor(Color.RED);

 	}
	public void update(float deltaTime){

	}
	public void draw(){
        Gdx.gl.glClearColor(0, 0, 0, 1);
        Gdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT);

        batch.begin();
        opensans18.draw(batch, Gdx.input.getX() + ", " + Gdx.input.getY(), 0, 13);
        int fps = Gdx.graphics.getFramesPerSecond();
        opensans18.draw(batch, Integer.toString(fps), 0, 479);
        batch.end();
	}
	public void handleInput(){

	}
	public void dispose(){
		batch.dispose();
		opensans18.dispose();
	}

}

Version of LibGDX and/or relevant dependencies
1.9.3
Please select the affected platforms

[ ] Android
[ ] iOS
[ ] HTML/GWT
[x] Windows
[ ] Linux
[ ] MacOS

It returns the actual pixel you touched in your screen.
You can unproject the touch using your camera if you want the coordinates relative to it.

Im sorry what?

This is the expected behavior.
See: https://github.com/libgdx/libgdx/wiki/Mouse%2C-touch-%26-keyboard


Chore: Update OPERA-S1 static processing level concept-id list

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

Comparison is base (c2a22b8) 89.79% compared to head (d8793e7) 89.79%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #269   +/-   ##
=======================================
  Coverage   89.79%   89.79%
=======================================
  Files          69       69
  Lines        2382     2382
=======================================
  Hits         2139     2139
  Misses        243      243

Flag
Coverage Δ

unittests
89.79% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Add Support for Browan Tabs Temperature & Humidity sensor

This PR adds support for the Browan Tabs Temperature & Humidity sensor
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

thanks a lot for your contribution Arnd , really appreciated!


chore: update to the use of mlir 18

Codecov Report
Attention: Patch coverage is 83.33333% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 78.33%.

Files
Patch %
Lines

crates/native_blockifier/src/storage.rs
0.00%
0 Missing and 1 partial :warning:

Additional details and impacted files
@@               Coverage Diff               @@
##           native2.6.3      #86      +/-   ##
===============================================
+ Coverage        77.10%   78.33%   +1.23%
===============================================
  Files               78       77       -1
  Lines            10821    10652     -169
  Branches         10821    10652     -169
===============================================
+ Hits              8343     8344       +1
+ Misses            1945     1843     -102
+ Partials           533      465      -68

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Basic join branch array pruning

If the left and/or right branch of a qscript join is a LeftShift with a combine func that is an array, then in some cases we can rewrite the array produced by that LeftShift, namely when only some (but not all) elements of that array are used in the join condition and join combine.
Closes #1794

Quick status update on this: the CB build is failing for not-yet-understood reasons (have seen same behavior in another PR build too). Discussed with @drostron and we're going to collect some more data and see what other PR builds do.

Cleared PR build cache (so build used master cache) and build has fixed itself. Unclear what the problem was exactly, but it appears to have been using a corrupt cache.

@sellout could I get a review on this when you can?


audio: check the size in bytes by performing an HTTP head request

Much quicker than getting R2 to download the file from DDM to check for us.
Also less resource intensive.
We should pull the PR that added this behaviour to R2.

:+1:


Error on screenshot when running Chrome

Are you requesting a feature or reporting a bug?
Bug
What is the current behavior?
When code requests a screen shot, an error message is displayed, the folders are created, but no screen shots.
Robs-Mac-Pro:WebAutomation robweaver$ testcafe --skip-js-errors --debug-on-fail --screenshots screenshots chrome src/tests/screenShot.ts --env=www
Using locally installed version of TestCafe.
Environment www
 Running tests in:
 - Chrome 63.0.3239 / Mac OS X 10.13.2

 /Marketo Guided Template
 ✓ /take screen shot

 1 passed (10s)

 Warnings (1):
 --
  Was unable to take a screenshot due to an error.

  Command failed: /Users/Shared/Projects/WebAutomation/node_modules/testcafe-browser-tools/bin/mac/generate-thumbnail
  /Users/Shared/Projects/WebAutomation/screenshots/2018-01-23_12-57-25/test-1/Chrome_63.0.3239_Mac_OS_X_10.13.2/1.png
  /Users/Shared/Projects/WebAutomation/screenshots/2018-01-23_12-57-25/test-1/Chrome_63.0.3239_Mac_OS_X_10.13.2/thumbnails/1.png
  240 130

What is the expected behavior?
Screenshot is produced.
How would you reproduce the current behavior (if this is a bug)?
Run the script below
Provide the test code and the tested page URL (if applicable)
Tested page URL:
https://www.workfront.com
Test code
//test for validating guided templates (Marketo Forms) using ReachForce auto-complete and manual company entry.
//Written by: Axel Clifford
//Original Complete Date: 12DEC2017

import {Selector} from 'testcafe';
import {ClientFunction} from 'testcafe';

// Use minimist to get program args
const argv = require('minimist')(process.argv.slice(2));
// Get the one we call env for environment (first part of server name).
const environment = argv.env;

console.log('Environment', environment);

// Constanct to use for the base of all URLs in this test
const baseURL = 'https://' + environment + '.workfront.com';

const getWindowLocation = ClientFunction(() => window.location);

fixture('/Marketo Guided Template')
    .page('https://www.workfront.com/');

test('/take screen shot', async (t) => {
    //validate Marketo data
    await t

        .wait(10000) //10sec - to ensure the smart list has loaded
        //TODO: Pass the emailText sting into a method to search for that string on the page (i.e. validate that the form data was passed into Marketo)
        //Right now, this validation is a manual process of reviewing the screenshots...
        .takeScreenshot()
});

Specify your

operating system: OSX 10.13.2
testcafe version: 0.18.6
node.js version: v8.9.1

Hello @roboweaver !
We've found a problem with browser manipulation binaries, which prevented setting correct executable permissions during the post-installation phase, and fixed it the version 0.19.0-alpha1. So could you please try to install it and check if the problem still affects you?

This bug is there in the latest version as well

@asifamingov, could you please tell your OS version, Node.js version, code of your tests and command line arguments/runner code?


Update SearchState from

Bug: What is the current behavior?
When you pass an option to <Configure />, it is applied and works great! But onSearchStateChange isn't called. This means anyone sending someone else a url to a search will have different results if they used aroundLatLong or insideBoundingBox.
Bug: What is the expected behavior?
Pass any configure options to onSearchStateChange
What project are you opening an issue for?

react-instantsearch

What is the version you are using?
2.2.1

Yes we should do that, this is linked to #1863

I am closing this since I already had created the corresponding issue :).


Lotus release hand-off: FVM Talc (r1)

Request
Please reset the Wallaby testnet with the following Lotus release.
Git reference
https://github.com/filecoin-project/lotus/tree/experimental/fvm-m2
Commit: https://github.com/filecoin-project/lotus/commit/94895fbdf0f7a970e3c4a1a111172d7ddfc50e12
Features

Introduces the new EVM actor, capable of running EVM smart contracts. The functionality supported today is very basic. CALLs are not supported, precompiles are not supported, logs are not supported. Only simple self-contained contracts that interact with storage are supported. Attached is an example (Solidity source, and EVM compiled bytecode)

// SPDX-License-Identifier: MIT
pragma solidity >=0.4.25 <= 0.8.15;

contract SimpleCoin {
        mapping (address => uint) balances;

        event Transfer(address indexed _from, address indexed _to, uint256 _value);

        constructor() {
                balances[tx.origin] = 10000;
        }

        function sendCoin(address receiver, uint amount) public returns(bool sufficient) {
                if (balances[msg.sender] < amount) return false;
                balances[msg.sender] -= amount;
                balances[receiver] += amount;
                emit Transfer(msg.sender, receiver, amount);
                return true;
        }

        function getBalanceInEth(address addr) public view returns(uint){
                return getBalance(addr) * 2;
        }

        function getBalance(address addr) public view returns(uint) {
                return balances[addr];
        }
}

Introduces two new commands in Lotus to create and invoke EVM actors:

lotus chain create-evm-actor
lotus chain invoke-evm-actor

Verification tests

Uncompress the below bytecode.
Deploy the smart contract.

⟩ ./lotus chain create-evm-actor ~/simplecoin.bin
sending message...
waiting for message to execute...
ID Address: t01001
Robust Address: t2fzzgpskwwzddllhrf35scsuqkrszrrnhmlesuwa
Return: gkMA6QdVAi5yZ8lWtkY1rPEu+yFKkFRlmMWn

Invoke the smart contract with two different addresses (owner and non owner, you will find they have different balances).

⟩ ./lotus chain invoke-evm-actor t01001 f8b2cb4f<PHONE_NUMBER>000000000000000000000000000000000000000000000000000064
sending message...
waiting for message to execute...
0000000000000000000000000000000000000000000000000000000000002710

⟩ ./lotus chain invoke-evm-actor t01001 f8b2cb4f<PHONE_NUMBER>000000000000000000000000000000000000000000000000000065
sending message...
waiting for message to execute...
0000000000000000000000000000000000000000000000000000000000000000

Compiled EVM bytecode
simplecoin.bin.zip

FYI:
I synced a set of Docker images with the Talc release and implemented the "simplecoin" example in an ObservableHQ notebook which spins up a small localnet on demand:

https://observablehq.com/@jimpick/fvm-actor-code-playground-simplecoin-evm-contract?collection=@jimpick/filecoin-virtual-machine

Docker images are here:

https://github.com/jimpick/lotus-fvm-localnet
https://github.com/jimpick/lotus-fvm-localnet-web


Issues with updated open source version

Hello Silicon lab team,
I don’t understand no one has a working version?
I downloaded the again newest version and we still have the same issues as before.
The applications come with apk file. The existing apk file works but why compiled by myself is crashed all the time?
Can somebody help me with this version?
Thank you,
Alex

Hi @Alex10,
Please check the latest commit, the issue has been fixed.
The problem was that we temporarily removed the cloud streaming functionality but the app still required the firebase configuration file, otherwise it crashed as you were observing.
When we bring back the cloud functionality this configuration file will again be necessary but then we will provide instructions on the readme file.
Regards,
Tiago

Hello Tiago,
Thank you for the update.
At this moment, I don't need the cloud interface.
Best,
Alex
On Fri, Mar 20, 2020 at 3:57 AM Tiago Monte<EMAIL_ADDRESS>wrote:

Hi @Alex10 https://github.com/Alex10,
Please check the latest commit, the issue has been fixed.
The problem was that we temporarily removed the cloud streaming
functionality but the app still required the firebase configuration file,
otherwise it crashed as you were observing.
When we bring back the cloud functionality this configuration file will
again be necessary but then we will provide instructions on the readme file.
Regards,
Tiago
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/SiliconLabs/thunderboard-android/issues/13#issuecomment-601574908,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACEWDQIS3YBKYTUSFE4RMDRIMOYLANCNFSM4LOZDPQA
.


Creating a Speaker to control an amplifier

Hello,
I’d like to control an amplifier.
Main functionalities I want to control :

on / off
volume (int 1 to 30)
mute (boolean)
source (int 1 to 6)

I was able to run the switch example but I’m kind of confused about what I have to use in my case since Speaker is a Service and not an Accessory.
Do I have to create an Accessory and link a Speaker Service to it ? But what type of Accessory then ? Other?
I tried this :
acc := accessory.New(info, 0)

speakerSer := service.NewSpeaker()
acc.AddService(speakerSer.Service)

volumeChar := characteristic.NewVolume()
speakerSer.AddCharacteristic(volumeChar.Characteristic)

speakerSer.Mute.OnValueRemoteUpdate(func(on bool) {
    if on == true {
        log.Println("mute")
    } else {
    log.Println("unmute")
    }
})

t, err := hc.NewIPTransport(hc.Config{Pin: ""}, acc)

It builds but as soon as there is a service associated to the accessory, it’s not discoverable. I guess it does not make sense to have a Switch with a Service, I’m experimenting :D
I could not find how to subscribe to Volume and Active characteristics neither. I may get something wrong.
Please excuse me if the problem is that I don’t understand core concepts of HomeKit, I could not find any clear information anywhere in Apple's docs.
Thanks for any help or pointers.

Here is a new version. It compiles, it is discovered and I was able to add the Accessory in the Home app !
But it appears has "not currently supported by the Home app". I guess I have to meet some requirements to be compatible ? Some minimal characteristics ?
Thanks.
acc := accessory.New(info, 0)

speakerSer := service.NewSpeaker()
acc.AddService(speakerSer.Service)

volumeChar := characteristic.NewVolume()
speakerSer.AddCharacteristic(volumeChar.Characteristic)

activeChar := characteristic.NewActive()
speakerSer.AddCharacteristic(activeChar.Characteristic)

speakerSer.Mute.OnValueRemoteUpdate(func(on bool) {
	if on == true {
		log.Println("mute")
	} else {
		log.Println("unmute")
	}
})

volumeChar.OnValueRemoteUpdate(func(volume int) {
	log.Println("volume ", volume)
})

activeChar.OnValueRemoteUpdate(func(blop int) {
	log.Println("active ", blop)
})

t, err := hc.NewIPTransport(hc.Config{Pin: "12345677"}, acc)
if err != nil {
	log.Fatal(err)
}

hc.OnTermination(func() {
	<-t.Stop()
})

t.Start()

No that's not your fault that the app says "not currently supported by the Home app", the Home app didn't support all kinds of accessories. Maybe it will be changed with iOS 14.
A workaround can be to use an light bulb device and you the brightness as volume.

Whaat :p Thanks for that information.
Is there an official list of what from the specification is supported (or not) by the Home app ?

I don't know.
My way is to build my custom homekit devices in the "HomeKit Accessory Simulator" (can be downloaded from apple.com, simply google it) and then check it in the home app.

Yes I tried in the simulator, it also resulted in a "not supported" accessory (Speaker). I'll experiment with other types of accessories, I'll have to fiddle... Thanks.

Anyone finding this issue, it turns out that while the home app doesn't support this device, the device is controllable by apps that load in homekit devices. I tested with the Eve [1] app and I get all the events in the code @aurels posted!
[1] https://apps.apple.com/app/elgato-eve/id917695792


feat: enable public ip and authorized external networks

#81

@anaik91 and @imrannayer review, pls?

@bruno561 thanks for the PR. Can you plz follow this doc to fix lint issues.

@imrannayer You're welcome.
Done!

/gcbrun


Train ESRGAN from scratch

Hi, I train ESRGAN from scratch by using DIVA800. However it is really hard to get good trained model.
Is it convenient to share how many epoch you set and learning rate about G and D and D_update_rate you train your pertained model? And if any other detail I should notice? Thx!

A pretrain PSNR-oriented model is needed.
For the pretrained model, you can use the train_SRResNet config by modifying the network_G part while keeping the left unchanged.

Hi, thx!
Cuz I change discriminator from vgg128 to vgg128_SN, so I have to train from zero. But it’s hard to train the model.

1. A pretrain PSNR-oriented model is needed.

2. For the pretrained model, you can use the `train_SRResNet` config by modifying the `network_G` part while keeping the left unchanged.

Hi, xintao, I also find it is hard to train ESRGAN . I have tried to train a PSNR-oriented model, but I find the loss shock.
The log is:
19-08-11 17:38:53.279 - INFO: Model [SRModel] is created.
19-08-11 17:38:53.279 - INFO: Start training from epoch: 0, iter: 0
19-08-11 17:44:05.314 - INFO: <epoch:  1, iter:     100, lr:2.000e-04> l_pix: 6.0063e-02
19-08-11 17:49:00.121 - INFO: <epoch:  3, iter:     200, lr:2.000e-04> l_pix: 5.9322e-02
19-08-11 17:54:00.926 - INFO: <epoch:  5, iter:     300, lr:2.000e-04> l_pix: 4.8096e-02
19-08-11 17:58:55.067 - INFO: <epoch:  7, iter:     400, lr:2.000e-04> l_pix: 4.7359e-02
19-08-11 18:03:34.735 - INFO: <epoch:  9, iter:     500, lr:2.000e-04> l_pix: 5.2223e-02
19-08-11 18:08:33.610 - INFO: <epoch: 11, iter:     600, lr:2.000e-04> l_pix: 5.1359e-02
19-08-11 18:13:39.305 - INFO: <epoch: 13, iter:     700, lr:2.000e-04> l_pix: 5.6984e-02
19-08-11 18:18:35.381 - INFO: <epoch: 15, iter:     800, lr:2.000e-04> l_pix: 3.9553e-02
19-08-11 18:23:31.628 - INFO: <epoch: 17, iter:     900, lr:2.000e-04> l_pix: 4.5792e-02
19-08-11 18:27:51.033 - INFO: <epoch: 19, iter:   1,000, lr:2.000e-04> l_pix: 5.3166e-02
19-08-11 18:27:51.730 - INFO: # Validation # PSNR: 2.3120e+01
19-08-11 18:27:51.730 - INFO: <epoch: 19, iter:   1,000> psnr: 2.3120e+01
19-08-11 18:27:51.731 - INFO: Saving models and training states.
19-08-11 18:32:05.085 - INFO: <epoch: 21, iter:   1,100, lr:2.000e-04> l_pix: 4.3067e-02
19-08-11 18:36:07.572 - INFO: <epoch: 23, iter:   1,200, lr:2.000e-04> l_pix: 4.8505e-02
19-08-11 18:40:11.608 - INFO: <epoch: 25, iter:   1,300, lr:2.000e-04> l_pix: 4.6968e-02
19-08-11 18:44:24.015 - INFO: <epoch: 27, iter:   1,400, lr:2.000e-04> l_pix: 3.5826e-02
19-08-11 18:48:46.472 - INFO: <epoch: 29, iter:   1,500, lr:2.000e-04> l_pix: 5.6939e-02
19-08-11 18:52:59.439 - INFO: <epoch: 31, iter:   1,600, lr:2.000e-04> l_pix: 4.9018e-02
19-08-11 18:57:19.229 - INFO: <epoch: 33, iter:   1,700, lr:2.000e-04> l_pix: 5.3659e-02
19-08-11 19:01:56.948 - INFO: <epoch: 35, iter:   1,800, lr:2.000e-04> l_pix: 3.7018e-02
19-08-11 19:06:40.123 - INFO: <epoch: 37, iter:   1,900, lr:2.000e-04> l_pix: 4.7776e-02
The config:
#### general settings
name: 003_RRDB_ESRGANx4_DIV2K
use_tb_logger: true
model: sr
distortion: sr
scale: 4
gpu_ids: [0]

#### datasets
datasets:
  train:
    name: DIV2K
    mode: LQGT
    dataroot_GT: /data/DataSet/DIV2K_lmdb/DIV2K.lmdb
    dataroot_LQ: /data/DataSet/DIV2K_lmdb/DIV2K_h265_x4.lmdb

    use_shuffle: true
    n_workers: 6  # per GPU
    batch_size: 16
    GT_size: 128
    use_flip: true
    use_rot: true
    color: RGB
  val:
    name: val_set5
    mode: LQGT
    dataroot_GT: /data/DataSet/SR_testing_datasets/Set5_alignment
    dataroot_LQ: /data/DataSet/SR_testing_datasets/Set5x4_h265

#### network structures
network_G:
  which_model_G: RRDBNet
  in_nc: 3
  out_nc: 3
  nf: 64
  nb: 23

#### path
path:
  pretrain_model_G: ~ #../experiments/pretrained_models/RRDB_PSNR_x4.pth
  strict_load: true
  resume_state: ~

#### training settings: learning rate scheme, loss
train:
  lr_G: !!float 2e-4
  lr_scheme: CosineAnnealingLR_Restart
  beta1: 0.9
  beta2: 0.99
  niter: 1000000
  warmup_iter: -1  # no warm up
  T_period: [250000, 250000, 250000, 250000]
  restarts: [250000, 500000, 750000]
  restart_weights: [1, 1, 1]
  eta_min: !!float 1e-7

  pixel_criterion: l1
  pixel_weight: 1.0

  manual_seed: 10
  val_freq: !!float 1e3

#### logger
logger:
  print_freq: 100
  save_checkpoint_freq: !!float 1e3

You may need to train it for a long time. I train it for about a week.

Hi @XiaotianM, did you have success with those configuration settings? I would also like to train the PSNR model from scratch.


Automatically publish docs from main workflow

Fixes #33

Codecov Report

Merging #48 (0d0a310) into main (e3fcffa) will decrease coverage by 0.09%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #48      +/-   ##
==========================================
- Coverage   75.80%   75.70%   -0.10%
==========================================
  Files         165      165
  Lines        3025     3025
  Branches       57       57
==========================================
- Hits         2293     2290       -3
- Misses        732      735       +3

Impacted Files
Coverage Δ

...rnal/health/supervisor/HealthSupervisorActor.scala
71.64% <0.00%> (-2.24%)
:arrow_down:

...a/surge/kafka/KafkaPartitionShardRouterActor.scala
63.01% <0.00%> (-0.69%)
:arrow_down:

...n/scala/surge/internal/streams/StreamManager.scala
76.25% <0.00%> (+1.25%)
:arrow_up:

Continue to review full report at Codecov.

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


image upload help

i am trying to store image to database, i encounter problem using inertia useForm. other things are fine for me for sending form. only file can not be send.
any help would be good

Okay, let's get the basics out of the way:

This is the repo for inertia-laravel. That is the backend bridge of the Inertia project. This repo has nothing to do with the frontend elements like useForm
If you're having issues performing basic tasks in a project that has thousands of active users, 999,999 times out of a million, it's going to be a coding error on your part. GitHub issues are not the place to ask for coding assistance. They are for reporting issues with the code in the repo itself.

So, rather than be overly negative, here's some help:
form.product_images = productImages.value.push(file)
The JS push function returns the new length of the array you've just pushed to (see: MDN Array.prototype.push). So here, you're just saying an integer to form.product_images, not the files.
Push first, and then save productImages.value to form.product_images.
form.post only takes two params, (1) route (2) navigation options object. You need your onSuccess in the same object as preserveState.
Both Vue and Inertia have Discord channels which will be a more appropriate venue for coding help in the future.

Hi there,
Thanks for reporting but it looks like this is a question which can be asked on a support channel. Please only use this issue tracker for reporting bugs with the library itself. If you have a question on how to use functionality provided by this repo you can try one of the following channels:

Laracasts Forums
Laravel.io Forums
StackOverflow
Discord
Larachat
IRC

However, this issue will not be locked and everyone is still free to discuss solutions to your problem!
Thanks.


Provide SVG badges for chat links

It's popular to use badges to link to chat rooms, so it'd be nice to have one for matrix.to.
I'm not sure if could be an url serving a javascript generating an SVG on the client side (to keep the current privacy protecting mechanism).

Like this: http://strk.kbt.io/tmp/matrix_badge.svg (manually tweaked from the gitter one)

Partly solved by #21; a more powerful badge is covered by #3.


Autocomplete Sequence Search

So we are all aware of #873. Let's have the conversation on "ideas" there, "implementation" here

@pmkary I plan to close old PRs to keeps things clean. Is it OK with you if I close this one?


Fix Back Navigation on Help.Expensify.com and Improve LHN Highlight Accuracy

Details

Fix inaccurate scrolling position and back button destination for helpdoc.
Fixed Issues

$ https://github.com/Expensify/App/issues/42600
PROPOSAL: https://github.com/Expensify/App/issues/42600#issuecomment-2303657933
Tests

Open helpdoc site

Navigate from parent menu to specific article topic by clicking through submenus.
For instance:
New Expensify > Chat > Create a New Chat
-Start a private 1-on-1 chat
-Start a group chat
-Start a chat room

Verify that the scrolling accurately stopped at the top of the article title.

Navigate randomly to each article section

Click < back button

Verify that the page redirected to the parent menu (in this case: Chat), not the article section.

[x] Verify that no errors appear in the JS console

Offline tests

Same as test
QA Steps

Same as test

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: mWeb Chrome
https://github.com/user-attachments/assets/a89dae82-fa69-4230-b26a-ac8c652e3409

iOS: mWeb Safari
https://github.com/user-attachments/assets/2969bbcb-ce54-4fe6-9ff4-731d736dce88

MacOS: Chrome / Safari

https://github.com/user-attachments/assets/d3864b75-ab93-40ea-93c1-01265860b99e

This looks good from the recordings. The initial bug report complained about the browsers back button as well, could you upload a recording showing that the browser back button behavior?

@dubielzyk-expensify Thanks for your review, the 2nd video focusing on browser's back button has been uploaded. The PR updated.

🚀 Deployed to staging by https://github.com/Gonals in version: 9.0.28-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/roryabraham in version: 9.0.28-3 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Webpack client can't connect to server if --host <IP_ADDRESS> configuration is used

Bug Report or Feature Request (mark with an x)
- [x] bug report -> please search issues before submitting
- [ ] feature request

Versions.
@angular/cli: 1.4.9
node: 8.9.0
os: win32 x64
@angular/animations: 4.4.6
@angular/common: 4.4.6
@angular/compiler: 4.4.6
@angular/core: 4.4.6
@angular/forms: 4.4.6
@angular/http: 4.4.6
@angular/platform-browser: 4.4.6
@angular/platform-browser-dynamic: 4.4.6
@angular/router: 4.4.6
@angular/cli: 1.4.9
@angular/compiler-cli: 4.4.6
@angular/language-service: 4.4.6
typescript: 2.3.4
Repro steps.
ng new play
cd play

Open package.json and change start script like this (two parameters added)
"start": "ng serve --host <IP_ADDRESS> --disable-host-check",

Start the server
npm start

This creates an instance of webpack-dev-server.  Bring up a browser on another device and enter the url for it.  Press F12 to bring up the debugger, and in the network logging note that the webpack sockjs client is failing to connect back to the server because it is using a "localhost" url.
The log given by the failure.

Desired functionality.
I'd like the webpack client and server to be able to communicate with each other in this scenario, and be able to use the browser debugger without being distracted by these errors.
I'd like the convenience of a single configuration that works for both with an explicit host name and with 'localhost' when client and server are both on the same computer.  (it's not difficult configure one or the other as desired, but it would be nicer to be able to commit a single configuration to version control and forget about it)
Mention any other details that might be useful.
I believe this bug was introduced in 035c0941ea129e09459bebea7fb648c05f13a6a7 because it goes away when I manually change this bit of code, or when I downgrade to @angular/cli: 1.0.0 (that commit however did successfully fix a different bug)

Please try with the latest stable version (1.5).  It supports automatic live reload host discovery.

Yes, that works thanks :-)

Thanks @clydin!


Update flutter_secure_storage at next pub.dev update

This update will solve issue on deleteAll, getAll appeared with 9.1.0. A workaround using 9.0.0 is currently used.

Package ready for update, we are now able to remove hack from #2663
https://pub.dev/packages/flutter_secure_storage/versions

Is this still valid?

@hawkbee1


关于扩展应用的审核太慢了

[Enter feedback here]
关于扩展应用的审核太慢了，可以加快吗？
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: c6bdbaf0-1a39-c369-deca-d22e0d4e6ec0
Version Independent ID: 7ec272a7-8291-5d33-f320-ef7f1bcd9648
Content: Contact Microsoft Edge extensions support - Microsoft Edge Development
Content Source: microsoft-edge/extensions-chromium/publish/contact-extensions-team.md
Product: microsoft-edge
Technology: extensions
GitHub Login: @MSEdgeTeam
Microsoft Alias: msedgedevrel

Thank you for reaching out. Unfortunately this isn't the right place to enquire about extension reviews. I'm sorry you are experiencing slow reviews, but this repository is specific to the Edge platform documentation. I would suggest using the support resources on Partner Center instead.
Thanks for your understanding.


Auth::guard('admin')->user() return null after login

Im trying to build multi auth but got an issue.
After login and redirect, I can't get logged user information. Also tried to get in middleware but can't.
I find out something: if I remove mapAdminRoutes function in RouteServiceProvider.php then write the route normally in the route file, it's working properly.
What's wrong there?

Did you solve it sir

@HoangDang2589 yes i solved it. Go to RouteServiceProvider.php and remove the function which call route file. Then you write route file under routes folder normally.

Didn't solved my problem having same problem getting null values when using Auth::guard('admin')->user() after login

@nguyencnttk8c can u paste ur code here?, i got some issue
thanks

@pandikapinata
During working on module, i found something. If we use web middleware in route then it's work.
Below is my code to solve issue.
Route::group(     ['module'=>'ProfileUser', 'namespace' => $namespace.'\Customer\Controllers', 'middleware' => ['web']],     function() {         Route::get('customer-profile', 'ProfileCustomerControllers@profile');     } );
I also noticed that in RouteServiceProvider.php dont have web middle in map function.
protected function mapCustomerRoutes()     {         Route::prefix('customer')              ->middleware('customer')              ->namespace($this->namespace)              ->group(base_path('routes/customer.php'));     }
Hope it useful!

any solution ? i have the same error , and nothing helps me


Post action cleanup when removing uncompressed packages?

cc @jonashaag @pavelzw thanks for adding the setup-micomamba action to pandas
Noticing this error when this action is being cleaned up:
https://github.com/pandas-dev/pandas/actions/runs/4961741352/jobs/8879042319
Post job cleanup.
Removing uncompressed packages to trim down cache folder...

node:internal/process/promises:279
            triggerUncaughtException(err, true /* fromPromise */);
            ^

[Error: ENOENT: no such file or directory, scandir 'C:\Users\runneradmin\micromamba\pkgs'] {
  errno: -4058,
  code: 'ENOENT',
  syscall: 'scandir',
  path: 'C:\\Users\\runneradmin\\micromamba\\pkgs'
}

Thanks for letting me know! This happened because there was a cache hit for the environment and a miss for the downloads resulting in the action wanting to cleanup a nonexistent folder. I'll implement a fix tomorrow!

@mroeschke this is fixed in<EMAIL_ADDRESS>Since you used @v1, you don't need to update anything. Thanks again for the bug report :)

Thanks for the quick fix!