Update whitelist-harness-domains-and-ips.md

Merging and matching the first-gen and next-gen doc to say the same thing. the NG docs is at https://developer.harness.io/docs/first-gen/firstgen-platform/techref-category/account-ref/delegate-ref/whitelist-harness-domains-and-ips/
Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the maintainers.
What Type of PR is This?

[ ] Issue
[ ] Feature
[ ] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[ ] Tested Locally
[ ] Optional Screen Shoot.

@rashminandasahoo in addition to the changes that Ilan requested, please change the name of the .md file to replace "whitelist" with "allowlist". We should not use the term "whitelist" anywhere in our docs.
Be sure to update links and redirects when you change the file name.

Preview environment: https://hdh.pr.harness.io/pr-832

Preview environment: https://hdh.pr.harness.io/pr-832


Handle new "Already up to date" msg from Git

CI / Travis is failing currently.

Oh, no - I have not investigated too much.  IIRC it was not so easy to find from the git log, but should be possible, of course.

Merged, thanks. And sorry for the delay.


TW-786 Refactored transaction history for send, receive and delegate

Please, don't ignore comments from previous reviewes

We have already discussed about your comments about bakers. Or what are you talking about?


Could not use this buildpack on heroku-16 stack

I've tried following sequence.
$ mkdir spike-groonga-buildpack
$ cd spike-groonga-buildpack
$ git init .
$ touch README
$ git add README
$ git commit -m "Add README"
$ heroku create --buildpack https://codon-buildpacks.s3.amazonaws.com/buildpacks/groonga/groonga.tgz
$ git push heroku master
Counting objects: 3, done.
Writing objects: 100% (3/3), 207 bytes | 0 bytes/s, done.
Total 3 (delta 0), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Failed to detect app matching no buildpack
remote:        More info: https://devcenter.heroku.com/articles/buildpacks#detection-failure
remote:
remote:  !     Push failed
remote: Verifying deploy...
remote:
remote: !       Push rejected to salty-fjord-35239.
remote:
To https://git.heroku.com/salty-fjord-35239.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/salty-fjord-35239.git'

Same result on cedar-14 stack.
Counting objects: 3, done.
Writing objects: 100% (3/3), 207 bytes | 0 bytes/s, done.
Total 3 (delta 0), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Failed to detect app matching no buildpack
remote:        More info: https://devcenter.heroku.com/articles/buildpacks#detection-failure
remote:
remote:  !     Push failed
remote: Verifying deploy...
remote:
remote: !       Push rejected to calm-tundra-92818.
remote:
To https://git.heroku.com/calm-tundra-92818.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/calm-tundra-92818.git'

I forgot to add groonga directory.


Riddles Dataset

A dataset of riddles.
Each riddles should consist of two parts, the body of the riddle and the answer.
We want a minimum of 1,000 riddles in this dataset.

Include way of downloading data in repo.


Error Ctrl + alt + )

From @klickl on March 20, 2018 19:48
Issue Type: Bug
Hello,
I just installed your latest version, but on windows with AZERTY keyboard layout, I'm not able  to display this symbol  " ] ", which can be create by this shortcut Alt Gr + ).
To solve the problem I removed in the shortcut the default Ctrl + alt + ), defined to group code inside block.
I think it would be great on next versions to remove this default key binding.
VS Code version: Code 1.21.1 (79b44aa704ce542d8ca4a3cc44cfca566e7720f1, 2018-03-14T14:46:47.128Z)
OS version: Windows_NT x64 10.0.16299

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-3630QM CPU @ 2.40GHz (8 x 2395)

Memory (System)
7.89GB (3.22GB free)

Process Argv
C:\Program Files\Microsoft VS Code\Code.exe

Screen Reader
no

VM
50%

Extensions (8)

Extension
Author (truncated)
Version

solargraph
cas
0.13.0

rails-snippets
Hri
1.0.6

vscode-duplicate
mrm
1.2.0

vscode-scss
mrm
0.6.2

atom-keybindings
ms-
3.0.4

Ruby
reb
0.17.0

vscode-icons
rob
7.21.0

simple-ruby-erb
vor
0.2.1

(1 theme extensions excluded)

Reproduces only with extensions

Copied from original issue: Microsoft/vscode#46209

From @alexandrudima on March 28, 2018 15:30
@klickl One of the extensions you have installed is causing this, most likely atom-keybindings.
The default installation of VSCode does not bind this keybinding and typing ] is possible:

From @klickl on March 28, 2018 15:34
Ok, I thought I disabled all extensions like asked in the form.
Cordialement,
Brunet Thibault
2018-03-28 17:31 GMT+02:00 Alexandru Dima<EMAIL_ADDRESS>
@klickl https://github.com/klickl One of the extensions you have
installed is causing this, most likely atom-keybindings.
The default installation of VSCode does not bind this keybinding and
typing ] is possible:
[image: kapture 2018-03-28 at 17 28 55]
https://user-images.githubusercontent.com/5047891/38039433-8e64125e-32ad-11e8-8bd3-043d29b08f7f.gif
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/vscode/issues/46209#issuecomment-376929513,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH3M2pwwCUgCJVkPg2Jj3wolsGwCa1rjks5ti6zIgaJpZM4Syiow
.

I have the same issue, and I'm French too using an AZERTY keyboard.

Hi thibault,
This is simple, look at my previous comment, to fix this, I just removed the shortcut which allow to group code.


Add message option

It looks like it is two API calls. One to decline and the other to add a comment.

At the moment, posting comment is only available in v1 of the API.

See https://confluence.atlassian.com/bitbucket/pullrequests-resource-1-0-296095210.html#pullrequestsResource1.0-POSTanewcomment

Fixed in commits
decc938a8cdf97a2a073d9771b534e2c6c45fef5
1d8e89437ab6396a05fee7218d06f14fa0d7d030
9deaa5724251d1cb006d88bd4835307249e9bd2d
0a2dc4c5ffaca86811a5cbb20d259b540b8be442
f0eb548028e90eb69f9a965bb4911236f016992e


Template updates

Update deployment.yaml and deployment.yaml templates to support new kubernetes. Also add environment variable for postgres so that it will work.

thank you!


Workspace settings - Delete Key Fails to Remove Decimal Point After Entering 5-Digit Rate

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.46-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:
1: Setting
2: Workspace
3: Workspace Settings
4: Reimbursement
5: Write 5 digits for Rate Amount and save
6: Click on the rate on the preview, the dot appears. Try to clear the dot by clicking on the dot. Observe that the backspace (Windows) or Delete (Mac) doesn't remove the dot
Expected Result:
The "Delete" key does not remove the dot created after adding a 5-digit amount and saving it
Actual Result:
The "Delete" key should remove the dot created after adding a 5-digit amount and saving it
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

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

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/f39edb8d-b029-4b79-8d61-119a0d83a6ae
View all open jobs on GitHub

We think that this bug might be related to #wave8
CC @zanyrenney

@dylanexpensify  FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

Apologies, I've been OOO sick, but am reviewing today!

this seems very low priority - moving to close for now


refactor: move SimpleGraph.Iso.card_edgeFinset_eq to untangle imports

The single and currently unused theorem card_edgeFinset_eq in Combinatorics.SimpleGraph.Maps causes a dependency of that file on Combinatorics.SimpleGraph.Finite, which is problematic because the key concepts of Maps don't depend on graph finiteness at all. This commit moves the offending theorem to Operations in anticipation of #9317.

bors merge


Missalignment of icons and text in Fototoon activity "clean all" button

The "Cancel" and "Continue" text are not aligned to the icon. @llaske

Fixed in https://github.com/llaske/sugarizer/pull/1598

Hello is this issue still open

@er-reddyashok , no it's already fixed.


Fix typo in action definition

Fixes a variety of problems with the Github action that prevented it from running.

Clean up typos
Refactor so that the windows and linux images can be built on agents running those respective operating systems
Add a schedule to the trigger, so the image is intermittently rebuilt to pick up security patches

A successful test run of the changes to this action can be seen here: https://github.com/microsoft/iqsharp/runs/6714873708?check_suite_focus=true

@cgranade Thank you for the feedback! I'll add some comments before merging then.


Running mocha tests fails with 'Module parse failed' at typescript optional chaining operator

Version
4.5.15
Reproduction link
github.com
Environment info

Environment Info:

  System:
    OS: Linux 5.4 Linux Mint 20.2 (Uma)
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
  Binaries:
    Node: 14.16.0 - ~/.nvm/versions/node/v14.16.0/bin/node
    Yarn: 1.22.10 - /usr/local/bin/yarn
    npm: 6.14.11 - ~/.nvm/versions/node/v14.16.0/bin/npm
  Browsers:
    Chrome: 95.0.4638.69
    Firefox: 94.0
  npmPackages:
    @vue/babel-helper-vue-jsx-merge-props:  1.2.1
    @vue/babel-helper-vue-transform-on:  1.0.2
    @vue/babel-plugin-jsx:  1.1.1
    @vue/babel-plugin-transform-vue-jsx:  1.2.1
    @vue/babel-preset-app:  4.5.15
    @vue/babel-preset-jsx:  1.2.4
    @vue/babel-sugar-composition-api-inject-h:  1.2.1
    @vue/babel-sugar-composition-api-render-instance:  1.2.4
    @vue/babel-sugar-functional-vue:  1.2.2
    @vue/babel-sugar-inject-h:  1.2.2
    @vue/babel-sugar-v-model:  1.2.3
    @vue/babel-sugar-v-on:  1.2.3
    @vue/cli-overlay:  4.5.15
    @vue/cli-plugin-babel: ~4.5.0 => 4.5.15
    @vue/cli-plugin-eslint: ~4.5.0 => 4.5.15
    @vue/cli-plugin-pwa: ~4.5.0 => 4.5.15
    @vue/cli-plugin-router: ~4.5.0 => 4.5.15
    @vue/cli-plugin-typescript: ~4.5.0 => 4.5.15
    @vue/cli-plugin-unit-mocha: ~4.5.0 => 4.5.15
    @vue/cli-plugin-vuex: ~4.5.0 => 4.5.15
    @vue/cli-service: ~4.5.0 => 4.5.15
    @vue/cli-shared-utils:  4.5.15
    @vue/component-compiler-utils:  3.3.0
    @vue/eslint-config-prettier: ^6.0.0 => 6.0.0
    @vue/eslint-config-typescript: ^7.0.0 => 7.0.0
    @vue/preload-webpack-plugin:  1.1.2
    @vue/test-utils: ^1.0.3 => 1.2.2
    @vue/web-component-wrapper:  1.3.0
    eslint-plugin-vue: ^6.2.2 => 6.2.2
    typescript: ~4.1.5 => 4.1.6
    vue: ^2.6.11 => 2.6.14
    vue-class-component: ^7.2.3 => 7.2.6
    vue-eslint-parser:  7.11.0
    vue-hot-reload-api:  2.3.4
    vue-loader:  15.9.8 (16.8.3)
    vue-property-decorator: ^9.1.2 => 9.1.2
    vue-router: ^3.2.0 => 3.5.3
    vue-style-loader:  4.1.3
    vue-template-compiler: ^2.6.11 => 2.6.14
    vue-template-es2015-compiler:  1.9.1
    vuex: ^3.4.0 => 3.6.2
  npmGlobalPackages:
    @vue/cli: 4.5.15

Steps to reproduce
Checkout current main of reproducer repository (faf2ae989ad at the time of writing)
Run npm install && npm run test:unit
What is expected?
The one test is run and completes successfully. Just as it does if I remove the offending typescript code.
What is actually happening?
 ERROR  Failed to compile with 1 error

 error  in ./src/components/HelloWorld.vue?vue&type=script&lang=ts&

Module parse failed: Unexpected token (14:14)
File was processed with these loaders:
 * ./node_modules/cache-loader/dist/cjs.js
 * ./node_modules/babel-loader/lib/index.js
 * ./node_modules/ts-loader/index.js
 * ./node_modules/cache-loader/dist/cjs.js
 * ./node_modules/vue-loader/lib/index.js
You may need an additional loader to handle the result of these loaders.
| function fun() {
|   const s = "";
>   const l = s?.length;
| }
|

Serving and building work, i.e. both npm run build and npm run serve complete successfully
Please let me know if you need any more information.

I should add that this is basically fresh from the template vue-cli has created for me, that is it is a minimization of the issue I see in the real product. I'm still investigating what the crucial diff in package-lock between the running and failing versions is. But maybe someone has a hint (e.g. any known babel issues?)

I have the same issue any news.

I've got it back to running in our "real" project. But only by going back to a package-lock.json based on vue-cli 4.3.
I did not yet try creating a fresh project with this cli version, maybe that works, too, as a minimization.
The only thing I have definitely verified: Upgrading to vue-cli beyond ~4.3 re-introduces the error, i.e. breaks my package-lock.json ( break as in downgrading cli back to 4.3 does not fix the build. Only after reverting back to the old lock file.

There are 2 workaround options.

Set target: 2019 in tsconfig.json.
Add plugins in babel.config.js.

 plugins: [
    '@babel/plugin-proposal-nullish-coalescing-operator',
    '@babel/plugin-proposal-optional-chaining',
  ]

https://github.com/vuejs/vue-cli/issues/4738#issuecomment-565057952

Thank you very much. I can confirm that this solves the issue for me.
Can the defaults in Vue-CLI be adapted accordingly to help future users?

I complement the answer for || = and similar operators. Add to plugins '@babel/plugin-proposal-logical-assignment-operators'.


Add Strava Globalheat as a background data layer option

Strava Globalheat is an excellent global source of GPS data and is open for use in OSM for tracing. We should have this as a background layer option alongwith OSM GPS.

Strava Globalheat homepage http://labs.strava.com/heatmap/
TMS url: http://globalheat.strava.com/tiles/both/color2/{zoom}/{x}/{y}.png (upto z16 only)

cc @kepta

I think is a really good idea, @bhousel @jfirebaugh what do you guys think?

The last time we discussed Strava heatmap we got confirmation that the heatmap can not be used outside of Strava.   Unless something has changed license-wise, we can't use this layer.
Would be happy to accept a pull request to the editor-layer-index project from Strava, if their policy has changed.

Have mailed Strava maps for clarity on the policy which seems contradictory to what is documented in the OSM Wiki.

@planemad did you hear back from Strava? Or managed to get information about this?
The OSM Wiki and also current reports(1) still say that using the map is allowed.
Isn't there a OSM licence mailing list that could be asked?

(Italic part translated: the strava heatmap can be used for mapping.)

Stravas own iD editor seems to tell the same story. Unfortunatelly this version of iD seems old and the heatmap is not the same as the new one that was published recently.
Example: https://strava.github.io/iD/#background=Bing&map=17.41/14.04012/52.83764&overlays=,,,
vs. https://labs.strava.com/heatmap/#16.98/14.04080/52.83861/hot/all

Current progress on securing permission to use the heatmap for OSM tracing is happening here:
https://github.com/osmlab/editor-layer-index/pull/373
@tordans The OSM Wiki and Wochennotiz Blog are not correct.  We've received no license from Strava that allows tracing outside of their iD fork.


Repo has no documentation

Can you please add Haddock documentation to the code?

Never mind. Hackage incorrectly says there is no documentation

Hackage somehow fails to compile the thing and as a result produces no documentation. Anyway, the development moved to https://github.com/wayofthepie/nats-queue .


fix ignoring passed opts

hello, thank you for the plugin!
on nvim 0.6 ( did not checked 0.5 ) vim.tbl_extend is not mutating passed tables and just returning new table, so this PR fixes that case for passed config to setup(opts)

Ahh, nice catch. Thanks!


feat: adding highlighting support for Solidity

🧰 What's being changed?
This adds support for highlighting the Solidity language, as requested on https://github.com/Kong/httpsnippet/issues/236.
🧪 Testing

[ ] The snippet look ok? I pulled it from https://github.com/leachim6/hello-world/blob/master/s/Solidity.sol
[ ] Tests pass?

Hey,
Just curious to see if this change is safe to merge now and can be merged in now? Would be a huge win for our product to have solidity support for code samples

@michael-cohen-eth We've got a bit of a logjam with some big deploys and launches this week so I'm holding off for another day or two. This'll likely hit our release window for next week.

Is this something that will get integrated into the readme product directly soon, or is this a standalone tool for developers to use?

I am currently integrating it into our Markdown engine (https://github.com/readmeio/markdown/pull/391) and when that's done it'll be available to ReadMe customers. Currently aiming for this work to go out in our next deploy on Tuesday.

@michael-cohen-eth This is rolling out to production right now.

Thank you!
Just curious, will there be work done later on to give some more distinct coloring to names vs keywords in Solidity? Right now it looks like a very uniform coloring is applied. Also, there appears to be an issue with how the numbering is highlighted on Line #1

We're currently mapping the language to the clike mode in CodeMirror so any changes would have to happen there, and we currently don't have any plans to submit improvements upstream for that.
I'm not super familiar with the language but if there's a mode available in CodeMirror that would work better for Solidity let me know and we can move our interpreter over to use that instead of clike.

Regarding the highlighting on line 1 in that screeenshot, that's a known issue atm. The version of CM we have installed at the moment is a few months and that line highlighting has since been fixed. We've been running into issues getting CM updated to the latest and currently don't have a timeline for that but it's something we're aware of.


Error: Cannot do operations on a non-existent table

Yesterday my code worked well, but now I have this error :

Cannot do operations on a non-existent table

Here is my schema :
var modelSchema = new Schema({
	test: {
		type: String
	},
	again: {
		type: String
	},
	last: {
		type: String
	},
}, {
	timestamps: true,
});

And here the debug file :
dynamoose.txt

The error in the logs is just Dynamoose detecting that it should create a table.

Okay, I thought I had a bug because of that, but it was me! Thanks!


为什么不能输入问号呢？

VSCode Version: Code 1.17.2 (b813d12980308015bcd2b3a2f6efa5c810c33ba5, 2017-10-16T13:59:46.104Z)
OS Version: Windows_NT x64 6.1.7601
Extensions:

Extension
Author (truncated)
Version

vetur
oct
0.10.1

Steps to Reproduce:

Reproduces without extensions: Yes/No

Please use English to report issues and include reproducible steps.


Error in parsing "domain" property for .eu domains

For example:
Whois.whois('eurid.eu').parser.domain
=> "eurid.eu.eu"

But I get the same result for every .eu domain I tried
Thanks in advance!

Thank you.

I tried too to assign a .eu domain, unsuccesfully!


outdated link in 1-Introduction/4-techniques-of-ML/README.md

Describe the bug
There is a link to a slide deck here that points to a resource that has been move. This link is on this page under the "What question to ask" header
To Reproduce
Steps to reproduce the behavior:

Go to this page
Click on link to this slide deck

Expected behavior
Link opened to a pdf file
Screenshots
Link opened to a page saying the resource has been moved:

Desktop (please complete the following information):

OS: Windows 11
Browser: Edge
Version: 100.0.1185.29 (Official build) (64-bit)

thanks, I updated it! https://www2.cisl.ucar.edu/sites/default/files/2021-10/0900 June 24 Haupt_0.pdf


Added ES locale

Here you go <3

This is great. Thank you so much @zkat!
One more quick thing, I noticed recently we missed a couple strings in the original locale implementation. Would you mind adding the following to es.json in anticipation of an upcoming fix, please?
"Show help": "<Your translation here>",
"Show version number": "<Your translation here>"

Found another one:

"Path to JSON config file": "<Translation needed>"

Might want to wait until I finish reviewing all missing i18n lookups. :pensive:

Blimey! I think that's all. Sorry for the hiccup!
"Path to JSON config file": "<Translation needed>",
"Show help": "<Your translation here>",
"Show version number": "<Your translation here>"

@zkat If you wouldn't mind adding these to es.json, I'd really appreciate it!

ping me again when you're done or tell @bcoe to poke me. :) I'll gladly
update things!
On Mon, Aug 3, 2015, 12:05 Andrew Goode<EMAIL_ADDRESS>wrote:

Found another one:
"Path to JSON config file": ""
Might want to wait until I finish reviewing all missing i18n lookups. [image:
:pensive:]
—
Reply to this email directly or view it on GitHub
https://github.com/bcoe/yargs/pull/220#issuecomment-127372150.

--
kat

@zkat \o/ you're awesome. @nexdrew, perhaps you can sync up with @LoicMahieu too and get some additional French translation?

@bcoe Sure. I was thinking I would attempt to add the French translation myself (via Google Translate, ick I know), and then see if @LoicMahieu would review the PR for us.
Considering these additional strings, I have an interesting problem for the fix and would like your opinion. The problem is that we need to defer the y18n lookup until after the locale has been set, so that we get consistent behavior b/w these 2 scenarios:
// locale defined BEFORE help option
var argv = require('yargs').locale('fr').help('h').argv
// locale defined AFTER help option
var argv = require('yargs').help('h').locale('fr').argv

Here are the options for implementation that I see:

Defer the default description lookup until parsing (parseArgs() in index.js) to guarantee desired locale and description/custom strings have already been set
Keep default description lookup in option methods (e.g. addHelpOpt()) and then attempt to manage/reset state if locale() or updateLocale() methods are subsequently called

Since the 2nd seems kludgy, I am leaning towards the 1st.
Thoughts?

Actually, if we don't call describe() when the option is added, then we run into problems maintaining "order of insertion" for the usage/help content.
Instead of managing state to keep track of what needs a y18n default description and the order in which it was inserted, I'm thinking it might be better to embed the state into the description itself as a special prefix (something like '__yargsString__:Show help') and then check for the prefix and do the y18n lookup when building the usage content in usage.help().
I know that sounds hacky, but it might simplify some things. I'm gonna give it a shot.

Attempt to address missing y18n lookups with PR #221.
@zkat Feel free to add the 3 strings mentioned above to es.json at your convenience. Thanks!

@nexdrew @bcoe all done. Any others you'd like?

That's all for now, thanks @zkat!


X,Y position incorrect on iPhone 12 device

Describe the bug
When I try to set a fixed X,Y position particularily on iPhone 12 (IOS 16.0.2) is not going correctly. The camera just fixes ok on 0,0. On iPhone 8 (IOS 15.6.1) or other devices like android runs correctly for every position. I don't know if is the same for all notch devices or just iPhone 12 or IOS version.
The X,Y reference is on top left corner of the camera at least on the another devices I have mentioned before, so I'm using it to use an html box of reference
Screenshots

Smartphone (please complete the following information):

Device: iPhone 12
OS: IOS 16.0.2
Version 3.1.1

Additional context
Is not the last version of camera preview (3.1.1) but in the commits of the new ones there are no mention of this bug. Is not possible to simulate camera on Xcode so is very hard for me to replicate.
Here there are the configurations, for the final desired position.
const cameraPreviewOptions: CameraPreviewOptions = {
      position: 'front',
      parent: 'cameraPreview',
      className: 'cameraPreview',
      height: Number((height * 0.3).toFixed(0)),
      width: Number((height * 0.3).toFixed(0)),
      x: Number(((width / 2)).toFixed(0)), //absolute center
      y: Number((height / 2).toFixed(0)),
      toBack: true,
      disableAudio: true//evita permisos inecesarios
    };
    let top_offset = ((height / 2) - header_height) - 65 - (cameraPreviewOptions.height / 2);//65 buttion required space
    console.log('Top offset calculado: ', top_offset)

   //Here position the camera center and move a desired fixed quantity on Y (variable header space of some devices with   notch or something else at top)

    cameraPreviewOptions.x -= Number((cameraPreviewOptions.width / 2).toFixed(0))
    cameraPreviewOptions.y -= Number(((cameraPreviewOptions.height / 2) + top_offset).toFixed(0))

I'm experiencing the same issue on iPhone X.

I was struggling with this nightmare too, found out that if i multiply my desired position (x,y) by 1.5 in ios it centers perfectly the image just like in android. I dont know if this happens in all de iOS I only tried in iPhone7 and iPhone 12 and it worked perfect there.
Also i found this on internet, I don't know if it related to this, but it says 1.5 so.. i don't know

Hi....
I'm Japanese, so my English is't good. sry....
I was able to fix it.
Around line 60 of Plugin.swift
self.x = call.getInt("x") != nil ? CGFloat(call.getInt("x")!)/UIScreen.main.scale: 0
self.y = call.getInt("y") != nil ? CGFloat(call.getInt("y")!)/UIScreen.main.scale: 0

to
self.x = call.getInt("x") != nil ? CGFloat(call.getInt("x")!)/2: 0
self.y = call.getInt("y") != nil ? CGFloat(call.getInt("y")!)/2: 0

However, I don't understand why it is "2".
If anyone knows, please let me the reason.


Check if the properties is a collection

When is properties not a collection?
Could you add a test that proves this change is necessary?

When you create the model in regular way, without using the package helper.
Check the attached  print-screen.

Thanks!


Unable to Connect on Android AVD

I get the authorization error below using an AVD despite having done following:

Followed the directions in the error message and enabled USB debug mode
Ensured the adb shows it as a device: $ANDROID_HOME/platform-tools/adb devices
Removed Exponent and installed (metadata was still there, how do I do a clean install?)

This computer is not authorized to debug the device. Please follow the instructions here to enable USB debugging:
https://developer.android.com/studio/run/device.html#developer-device-options. If you are using Genymotion go to Settings -> ADB, select "Use custom Android SDK tools", and point it at your Android SDK directory.

XDE might now have been able to find your adb path. Can you make sure you can run adb from a terminal and then run npm i -g exp && exp path.

@jesseruder I installed Expo, then installed Genymotion and followed the Genymotion guide.

Set ADB Path (Genymotion says it is a good path)
Ran npm i -g exp && exp path
When I run which adb it shows /usr/local/bin which for sure appears when I echo $PATH.
I still get the error:
"Couldn't start project on Android: Error running adb: No Android device found. Please connect a device and follow the instructions here to enable USB debugging:
https://developer.android.com/studio/run/device.html#developer-device-options. If you are using Genymotion go to Settings -> ADB, select "Use custom Android SDK tools", and point it at your Android SDK directory."

Any tips on moving past this?

This guide should work for most people: https://docs.expo.io/versions/v18.0.0/guides/genymotion.html


How eBPF will solve Service Mesh - Goodbye Sidecars

本文的类型为？
翻译
原文链接
https://isovalent.com/blog/post/2021-12-08-ebpf-servicemesh
原文发布时间
2021-12-08
作者
Thomas Graf
标签
kind/translation
已提交文章线索？
yes
已有人认领翻译或为原创文章？
no
已提交 PR？
no
正在review？
no
review 完成等待发布？
no
已发布到 http://kubesphere.com.cn？
no
已发布到 「KubeSphere 云原生」 微信公众号？
no

I hereby give permission to translate the article. This will be awesome.

I hereby give permission to translate the article. This will be awesome.

Hi Thomas, long time no see. Your new article is awesome, I would like to translate it and post it on my own blog(https://davidlovezoe.club ). could u pls approve that? :)

I hereby give permission to translate the article. This will be awesome.

Sorry, This article has already been translated by Jimmy, so we had to stop translating it 😃  I found another article, I would appreciate it if you could give me permission to do so.

I hereby give permission to translate the article. This will be awesome.

Hello, could you please approve that? :)


Enhancement: add shortcut to open quiet outline in new panel

The current quiet outline can only appear in the sidebar and cannot be floated. I suggest adding a shortcut to open quiet outline in a new panel, so that it can be used with hover editor to display quiet outline floating.

I support this enhancement, i consider this plugin a great plugin, but i work with several windows and i would like to have the pane of quiet outliner in the other windows besides the main window.

For now, outline view is singleton, which means there can't be more than one panel in obsidian app. I'm not sure if hover editor can make it appear in several windows the same time.
Now this panel can be dragged out of main window and becomes a standalong windown. It works fine with multi-windows. Dont know if this suffice your need?

For me, infortunally it doesn't  resolve the issue, but if you can have this solution i will aprecciate, for now thank you a loot for your job


Filter Command invalid phone number

When using an invalid value for phone number such as a string literal "abcd". The error message states that it should be at least 3 digits long. This could be misinterpreted as filter accepts any number of integers. While the filter command still functions, it will never be able to display any persons.
We can consider better input validation to prevent this from happening.

what is the "filter accepts any number of integers" mean, because i think i had mention in the error message that the phone number should contains number only

To clarify, as per the screenshot, the filter currently will accept the value "123" as a phone number. However, it will not return any person. Henceforth, do we want to check and ensure that the user keys in a 8digit phone number?

ok, now i have updated the functionality for the filter phone number. It should support to filter phone number at least 3 digits.


Flask mail returning mail as exception

hello i am actually new to flask python, i am developing a small web app but i have been faced with this flask error for weeks.
her is the code.
from flask_mail import Mail, Message
app = Flask(name)
app.config['MAIL_SERVER'] = 'mailserver'
app.config['MAIL_PORT'] = 465
app.config['MAIL_USERNAME'] = email server username
app.config['MAIL_PASSWORD'] = email server password
app.config['MAIL_DEBUG'] = True
app.config['MAIL_USE_TLS'] = False
app.config['MAIL_USE_SSL'] = True
app.config['MAIL_SUPPRESS_SEND'] = False
app.config['TESTING'] = False
mail = Mail(app)
@routes.route('/', methods =['GET', 'POST'])
def index():
try:
	msg = Message('Welcome To RicoEasyPay'<EMAIL_ADDRESS><EMAIL_ADDRESS>	msg.body = ('Welcome to RicoEasyPay, We make life easy by making you financially stable')
	mail.send(msg)
	response = 'ok'
except Exception as e:
	pass
	response = e

now the thing is the python code returns mail as its exception. i am really confused now, please can some one help me?

I'm sorry, but this is an issue tracker for the Flask Web Development book. You may want to consider posting on Stack Overflow or in a Flask-Mail discussion forum.


Cast doesn't work at all

Trying to cast on Nest Hub 4 webrtc cameras using ha cast and dash cast, it doesn't work neither on the hub neither on android tv, it start but soon crashes

?

If you run a lot of cameras on Nest, it really crashes. Very bad hardware. Can't be fixed.
The same problem on my Nest.


Improved: Convert EntitySyncServices.xml mini-lang to groovy (OFBIZ-11660)

(OFBIZ-11660)
removed: EntitySyncServices.xml
added: EntitySyncServices.groovy
modified: services.xml to reflect the change from minilang to groovy for:

entitySyncPermissionCheck
resetEntitySyncStatus
modified: webtools/controller.xml to reflect changed request-map and event type regarding reset of EntitySyncStatus
modified: webtools/widget/EntitySyncForms.xml to reflect changed target regarding reset of EntitySyncStatus

Merged in PR #301


chore(core): switch to prettier-standard

WIP 💥
I think is a good place to have a discussion let me know what you guys think

Cool, thanks for getting this started!
From the README:

While standard is a linter, prettier-standard is a formatter

The way I understand it is that prettier-standard is only a formatter: it's prettier with a curated set of rules that match formatting expected by the standard linter.  So, I think we'd want to use both prettier-standard and standard (or eslint-prettier + estlint + eslint-config-standard?), since prettier-standard isn't a linter, and won't detect, for example, unused variables, and other mistakes.
Is that right?

Yes it seems you are correct it's not that obvious since to me if you are using prettier and standard I would expect both linting and formatting not only one that's a shame

Yeah, I think the name "prettier-standard" fooled me, too.  I also thought it meant "prettier and standard", but it seems to mean "prettier configured to use formatting rules that are compatible with standard".
It might not be bad to do something like prettier-standard && standard.  If they're both fast enough, that might be just fine.
The more manual approach of using prettier-eslint + eslint might also be a good way to go.

Separation of concerns, my dear friends.

I will try out a few things it would be nice to have a simple instal package that brings both without config hassles it shouldn't be this messy

Does original prettier with a pair of options look different?

closing in favor of #121


Package request: DeskPad

Project description
A virtual monitor for screen sharing
Certain workflows require sharing the entire screen (usually due to switching through multiple applications), but if the presenter has a much larger display than the audience it can be hard to see what is happening.
DeskPad creates a virtual display that is mirrored within its application window so that you can create a dedicated, easily shareable workspace.
Metadata

homepage URL: https://github.com/Stengo/DeskPad
source URL: https://github.com/Stengo/DeskPad
license: MIT
platforms: darwin

"lemme check it.. oh, swift. AH YES, nix exist on darwin too!"
TL;DR, ping me at PR pls, this package looks interesting, i need it on my macbook. 👀


Handle crai file support

Currently bai files are used to calculate various metrics. Ensure we can do the same for crai.

Turns out this is easier then we thought. A CRAI file is a gzipped tab delimited file containing the following columns:

Sequence id
Alignment start
Alignment span
Container start byte offset in the file
Slice start byte offset in the container data (‘blocks’)
Slice bytes

So here is a script that will take a crai file and generate output that is identical to bamReadDepther.
craiReadDepther.js.zip
There are two things left to do for bam.iobio to support cram/crai:

Turn craiReadDepther into a new deployed service. @yiq can help with this.
Update bam.iobio to identify cram/crai files and then use the new craiReadDepther services instead of the bamReadDepther service.

An alternative would be to wrap the bamReadDepther with a simple script that identifies crai and bai files and sends them to the correct parser. This is probably more robust. Yi, any thoughts?

Excellent!


upgrade facebook sdk, use multidex, i cant receive fcm token

our program used so many plugins, facebook, google play, twitter,firebase, etc.  it references more new arr files after i upgrade facebook sdk, and lead to he dex 65535 limit issue. so i have to enable multidex to build my program. whitch needs to change androidmanifest file as this:

<application
...
android:name="android.support.multidex.MultiDexApplication">
...

after this, i build my project succeed, but i cant receive fcm token anymore by this code:
Firebase.Messaging.FirebaseMessaging.TokenReceived += _onTokenReceived;
log shows it init succeed:
I/Unity   (25858): Firebase App initializing app com.windplay.globalwar (default 1).
I/Unity   (25858):
I/Unity   (25858): (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 48)
I/Unity   (25858):
I/Unity   (25858): Firebase Cloud Messaging API Initialized
and before using multidex, everything works fine. i need to send the token to my server so it can push message to me by firebase when events happen in my game, can you help me ? every thing go well just before enable multidex

i test this on il2cpp arm64 and it works! its a issue only on mono build.


WebSQL threw and error crypto.getRandomValues() not supported

Issue
An error saying crypto.getRandomValues() not supported shows up everything I call
const openDb = new PouchDB('sample.db', { adapter: 'react-native-sqlite'});
It was okay 2 days ago and this error suddenly came up.
Info

Platform: Android
Adapter: pouchdb-adapter-react-native-sqlite
Server: PouchDB

Screenshot

Reproduce
You can trigger it by just calling  new PouchDB('sample.db', { adapter: 'react-native-sqlite'});
Versions
"@craftzdog/pouchdb-binary-utils-react-native": "^7.2.4",
"@craftzdog/pouchdb-core-react-native": "^7.2.2",
"pouchdb-adapter-http": "^7.2.2",
"pouchdb-adapter-react-native-sqlite": "^3.0.1",
"pouchdb-mapreduce": "^7.2.2",
"pouchdb-replication": "^7.2.2",
"process": "^0.11.10",
"react": "17.0.2",
"react-native": "0.67.3",
"react-native-get-random-values": "^1.7.2",
"react-native-pouchdb-md5": "^7.3.0",
"react-native-quick-md5": "^3.0.3",
"react-native-sqlite-2": "^3.5.2",

It seems the issue was fixed after downgrading pouchdb-adapter-react-native-sqlite to 2.0.0

I am not sure if the issue has something to do with this:
https://pouchdb.com/2018/06/21/pouchdb-7.0.0.html
but anyways I am good for now

I was wrong, it shows up again

I was wrong, I pulled up a wrong app . . sorry . . it was okay


no-floating-promises rule always throws error

The no-floating-promises rule should only throw an error, when promises aren't handled correctly. It checks for a .then() or .catch() block, so we can make sure, they do not float around.
https://palantir.github.io/tslint/rules/no-floating-promises/
At the moment, I always get an error,  no matter what.

I think it's an issue for tslint, no?

I don't get the error in tslint, when running on command line

I had a version mismatch and was using a more updated version of tslint globally. Thanks for your hint, totally overlooked that. :)


Add release notes for R2

Please add your individual release notes sections to this branch.

Rendered doc can be read by visiting this link:
https://github.com/SovereignCloudStack/Docs/blob/feat/release-notes/Release-Notes/Release2.md


Fix Danger errors

Looks like there was a problem here: https://github.com/SwiftWeekly/swiftweekly.github.io/pull/380#issuecomment-378986813
🤔
Complaining about:
https://github.com/SwiftWeekly/swiftweekly.github.io/blob/master/Dangerfile#L36
Seems like a syntax error in Dangerfile

undefined method [] for nil:NilClass.

Weird. Even if something is unexpectedly nil, I have no clue what the method [] does. Will investigate.

Looks like Danger is working fine at #383
Going to close.


Add colors to tailwind

Hello i've tried to add colors to the tailwind config but it seems it doesn't work.
I've tried to add it like that:

or

but it doesn't work here

so how can we add colors?

Oh, hi @yovanoc, the colors for text is under textColor. If you look at : https://github.com/christianalfoni/stitches/blob/master/packages/tailwind/src/theme.ts
I can list the theme properties in the documentation :)

I've no textColor

and even look for the .bg one

there are tailwind colors in there but not mines

Oh yeah textColor is in configuration, so can't add tokens for colors to be taken everywhere we have to repeat them all over each theme things? :(

Ah, yes, I did a blunt implementation first where the config is just a plain object. Tailwind has a bit of logic which derives some theme values from others. It was just a lot of work getting it to this state so I had to down prioritize something or I would have gone crazy 😂
But yeah, we can give theme values functions to derive from other values.
Noted 😄

Ahah no worries you make a really good job here. I really love how this project has step up! Keep me posted when you have ideas about that :) Don't be crazy and take care of you :)
Thanks

Will the future plan be to still just work off the tailwind.config.js file for customizing? A big win for me with tailwind css is it's portability so hoping this won't be a new layer on TW config handling.
Also, sorry if this is starting to tangent too far from this issue, but are tailwind plugins able to work (or in the future plan)?
Really like the potential of this project. Congrats so far!

Yeah, this project will follow Tailwind, so we are not doing anything on top. The change mentioned here is basically getting closer to Tailwind. Allowing you to define a theme value with a function, deriving off the other theme values :-)
It is likely possible to support plugins, though it would need some research. Do you have an example of a popular plugin? Just to see what it would be used for 😄
The reason adding utils in this library is by just using the utils object is that now it is typed. It is not possible to type the plugin API of Tailwind CSS. So this would be like to support existing plugins, not necessarily to use that API to build new ones. At least my current thoughts 😄

This is quite popular https://github.com/tailwindcss/custom-forms

Hi there !
You can now fix yours colors like that:
Configure:

... And use:

Enjoy 👍

I think that you can close this issue now


Keep hashes for immutable in user home scope

These files never change, so there is no reason to throw
their resource hashes away after every build. This also
speeds up clean checkout builds as the persistent hashes
are now in the user home instead of the project dir.

@wolfs This is ready for your review


Fix incorrect (ThrottleRateActionBytesPerSecond) parameter to correct one (ThrottleRateActionBitsPerSecond) in New-NetQosPolicy

PR Summary
This change fixes the problem that the New-NetQosPolicy documentation contains an explanation and an example using an incorrect parameter.
PR Checklist

[x] Descriptive Title: This PR's title is a synopsis of the changes it proposes.
[x] Summary: This PR's summary describes the scope and intent of the change.
[x] Contributor's Guide: I have read the contributors guide.
[x] Style: This PR adheres to the style guide.

Hi @get-itips @msbemba @scanum, thank you for taking the time to review and work on this PR. It looks like all reviews and checks have passed. Are there any additional actions required before this request can be merged?


ReferenceError: document is not defined, when used with Next.JS

Bug description
The problem comes from the package react-phone-hooks
exactly is this file node_modules/react-phone-hooks/styles.js
Reproduction URL
No response
Reproduction steps

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

Screenshots

Logs

error node_modules/react-phone-hooks/styles.js (12:0) @ injectStyles
error ReferenceError: document is not defined
No response

Browsers
No response
OS
No response

Hi @MuhammadSabah, can you please confirm that you're using the latest versions of both packages and provide me a repository link where I can reproduce the issue and fix it for you?

I use this version:
"antd-phone-input": "^0.3.9"
But I don't use
react-phone-hooks package, and it seems to be outdated, since your package is dependent on it.
Here is the repo to test it, you can npm run build and see the issue:


sticky mobile top-bar issues

I encounter some issues with the mobile sticky top-bar.
It jumps to the top of the viewport before it really reach that position.
When i click to open the menu, the top-bar completely disappears untill i scroll the page.

@RioBrewster can't see the comment?


Add Batchnorm2d ops

This PR adds the ops function batchNormalization2D in relation to issue #223.
Todo

[x] Port more tests from batchnorm_test.ts

This change is

Awesome PR!

Review status: 0 of 4 files reviewed at latest revision, 5 unresolved discussions, some commit checks failed.

src/math/batchnorm2d_test.ts, line 23 at r1 (raw file):

import {Array1D, Array2D} from './ndarray';

// math.batchNormalization3D

2D

src/math/batchnorm2d_test.ts, line 25 at r1 (raw file):

// math.batchNormalization3D
{
  // TODO(nsthorat): Fix the precision for byte-packed batchnorm.

can you add a few more tests here, with scale / offset defined?
One thing i was doing is pulling up TensorFlow and choosing random inputs and asserting they match tensorflow

src/math/batchnorm2d_test.ts, line 55 at r1 (raw file):

    });
  };
  test_util.describeMathCPU('batchNormalization3D', [tests]);

2D

src/math/math_cpu.ts, line 1097 at r1 (raw file):

  protected batchNormalization2DInternal(
      x: Array2D, mean: Array2D|Array1D, variance: Array2D|Array1D,
      varianceEpsilon = .001, scale?: Array2D|Array1D,

make this varianceEpislon not have a default value and make it not optional and passed from base class. If you feel up for it, do that for batchNorm3D too (if not nbd I'll do it in a follow up)

src/math/math_gpu.ts, line 208 at r1 (raw file):

    if (varianceEpsilon == null) {
      varianceEpsilon = 0.000001;

whoa, just realized I had this in batchNorm3D.
Can you make varianceEpsilon not optional since we always pass it from the base class?

Comments from Reviewable

When you say pulling up TensorFlow, what do you mean exactly? I modified your example from batchnorm3D, but making a new example is probably better and useful for me to know how to do.
Also, would you like me to rename batchnorm_test.ts to batchnorm3d_test.ts for clarity?

What I mean is just run some random examples through TensorFlow's batchnorm and make sure they match yours (as a unit test, that's what's going on in the 3d versions).
No, keep it batchnorm_test.ts and put all the batchnorm tests (no matter dimensionality).
Hope this helps.

Hey very helpful! Makes a lot of sense. Just got the tensorflow example done and will update the PR tomorrow.

Reviewed 2 of 4 files at r2, 2 of 2 files at r3.
Review status: 1 of 4 files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


IRS Request depth configurable - default 2

As an Admin in Trace-X,
I want to be able to configure the depth of the IRS request and if I do not change it the default value should be 2
so that I can optimize the size of data that is requested as well as later on decide on the levels I want to fetch.
Hints / Details
Acceptance Criteria
Conceptional work

[ ] Create Mock for Administration/Configuration UI to configure depth parameter

Implementation

[ ] Admin is able to change depth parameter in UI (Global Configuration for the application)
[ ] Standard value for the parameter is "2"
[ ] Value has to be between 1 and 100
[ ] Admin page is able to show different pages
[ ] Only users with the "Admin" role should see this page

Relates to: #492
Out of Scope

...

@jzbmw Recommendation is to close this topic. There is only one up one down at the moment.


Support custom elements with Shadow DOM

related issue: https://github.com/GoogleChrome/puppeteer/issues/4171
When I record interaction with this plugin, it doesn't seem to see anything in shadow dom of custom elements and just records events on parent in the top level dom.

I have the same issue. Things are working fine with a native input, but when I type in a web component it creates a page.type call but the text is undefined.
Definitely shadow DOM related: things work as expected if I turn shadow DOM off in the same component.
...
await page.type('body > div > input', 'Hello')
await page.type('body #my-component', 'undefined')
...

@elf-pavlik @mrtnmgs thanks for reporting. It would really help if I have a reproducable tests case. Either a small project or live web page to test this out on.

for example https://demo.vaadin.com/invoice-editor-app/ has each input inside different shadow dom

If we have a JavaScript context here https://github.com/checkly/puppeteer-recorder/blob/920f786695a844ff07e04cadf2f017b79215faca/src/content-scripts/EventRecorder.js#L96 then we could get the composedPath() of the event. At that point, we can recurse over the path, and anywhere we find a shadow root, we can interpolate some magic string like /PUPPETEER_RECORDER_DEEP/ into the selector.
Later, in the puppeteer script, when we find a selectors that include that string, we can split it and drill down into the shadow root

@bennypowers this sounds like an interesting direction. The most important thing would be it doesn't break current behaviour, as shadow DOM is probably not as widely used as "plain old DOM"

The most important thing would be it doesn't break current behaviour

Seems legit to rely on our own magic string in the selector. For extra security, you could recursively walk up the DOM through the composedPath() and check for the existence of shadowRoots first
while (host = host.getRootNode().host) this.#shadowHosts.push(host);
if (!this.#shadowHosts.length) normalSelector()
else shadowSelector()

Maybe it recording could provide jsPath as suggested in https://github.com/GoogleChrome/puppeteer/issues/858#issuecomment-438540596

Any update on this?

@sghsri no yet.
We recently released a new version of HR (new design, bug fixes and UX improvements).
I will start researching on this and find possible workarounds

Hello, in a project that I am part of, we write our UI apps in stencil JS web components. We seek for quiet a while for a solution that records user interactions for automation purposes. It will be great if you solve this.

https://github.com/checkly/headless-recorder/issues/232


Passing work item into dependabot.yml config

Hi, I wanted to pass in workItemID azure pipelines variable to the milestone params in .github/dependabot.yml but it doesn't seem to work, any help?
pool:
  vmImage: ubuntu-latest

variables:
  workItemID: '123456'

steps:
- task: dependabot@1
  displayName: Dependabot
  inputs:
    useConfigFile: true
    abandonUnwantedPullRequests: false
    dockerImageRepository: 'tingle/dependabot-azure-devops'

Here is the .github/dependabot.yml file:
version: 2

updates:
  - package-ecosystem: "nuget"
    directory: "/"
    schedule:
      interval: "weekly"
    milestone: ${{workItemID}}

I also tried $(workItemID) but doesn't seem to work as well
I couldn't find how to do it. Thank you in advance

The work item identifier is passed in the milestone option of each update the configuration file. Unfortunately, the value must be fixed and cannot be replaced in the pipeline.

version: 2

updates:
  - package-ecosystem: "nuget"
    directory: "/"
    schedule:
      interval: "weekly"
    milestone: 1201 # must be fixed;

This can be done by supplying the work item id as an environment variable to the docker container like this:
- task: dependabot@1
  displayName: 'Run Dependabot'
  inputs:
    extraEnvironmentVariables: DEPENDABOT_MILESTONE=$(workItemId)

Here's an abbreviated example of a pipeline which creates a work item and then uses that for all created pull requests for that pipeline run.
jobs:
  - job: 'Dependabot'
    pool:
      # requires macos or ubuntu (windows is not supported)
      vmImage: 'ubuntu-latest'

    steps:
      - task: CreateWorkItem@1
        displayName: 'Create Issue for Dependabot'
        inputs:
          workItemType: 'Issue'
          title: 'Update Dependencies'
          createOutputs: true
          outputVariables: workItemId=ID

      - task: dependabot@1
        displayName: 'Run Dependabot'
        inputs:
          extraEnvironmentVariables: DEPENDABOT_MILESTONE=$(workItemId)

Perhaps is something new introduced recently or a setting from my end, but DEPENDABOT_MILESTONE is not being assigned/linked to the PR.

Perhaps is something new introduced recently or a setting from my end, but DEPENDABOT_MILESTONE is not being assigned/linked to the PR.

When did it stop working for you?

To be sincere, I've been "fighting" since yesterday https://github.com/tinglesoftware/dependabot-azure-devops/issues/810 to setup the dependabot on azure and among it the creation of work item, but using the code from https://github.com/tinglesoftware/dependabot-azure-devops/issues/810#issuecomment-1726464540 at bottom (without the USER part) nothing is linked. PRs are created, work items are as well, but no link between them.
I do use CreateWorkItem@2 because 1 doesn't exists. This is the extension used: https://marketplace.visualstudio.com/items?itemName=mspremier.CreateWorkItem

The work item ID should be fixed in the dependabot.yml file when using the extension. Otherwise, you have to set the DEPENDABOT_MILESTONE environment variable manually.

@mburumaxwell and this is what I am doing currently:
- task: dependabot@1
   displayName: "Run Dependabot"
   inputs:
     azureDevOpsAccessToken: $(PAT)
     extraEnvironmentVariables: AZURE_REPOSITORY=REPOSITORY; AZURE_ORGANIZATION=ORGANIZATION; AZURE_PROJECT=PROJECT; DEPENDABOT_MILESTONE=$(WORK_ITEM_ID);

The WORK_ITEM_ID is assigned from the previous task:

If you're just getting started with this, use simple setups to be sure it works first. Reduce/remove your environment variables, use the pipeline token, set milestone in the dependabot.yml file. Once that works, you can make changes until you know where the issue is.
Sorry, I can't help beyond this point.

Tried that already, and even adding hardcoded value to the env. variable no link is created.
And just a side comment/thought which could be defined as a feature, but wouldn't it be better to have outputVariables from where we could get a list of PRs created after the dependabot run, and only if there is ANY created people can use that further to create necessary work items and/or other "things".

Someone else asked for output variables. Did you search the issues?
Could you contribute the feature?
We have no need for it so we haven't built it. Also, we use the server and not the extension which has no use for output variables.

For milestone issue, please create a new issue with sufficient reproduction information in a public project/organization. Only the repo and the work item are necessary.


Disable minification publish .min.js

We actually use your AsseticScript, with Yii 1.1.x
The problem is I am publishing a folder containing some .js and some .min.js. And i have an error from JSMin.php because it try to minify a .min.js.
I want to know if it's possible to skip .min.js ?
Thanks,

@CelegaS, there is no the ability to skip some files. If you need this, feel free to contribute ;)


Miner's Fevor impractical at high levels or when mixed with Efficiency.

It like, just breaks mining. Actually makes it harder to mine because you end up creating 4x1 holes in a few milliseconds. I lost diamonds to lava because of it at level 4, at higher levels it becomes virtually impossible to mine a single block at depths 20 and below. Level 11 just seems impractical 99% of the time, it acts more like a curse.
I have lowered the max level in the config, but would it be possible to also lower the default for the mod, or perhaps add an option to make it incompatible with items that also have efficiency?
By the way excellent mod, thank you for you work.

Yeah, fervor (and quite a few enchantments) need a retune.  They're next on the list after the Affix rework which is in-progress.

The formula for how Miner's Fervor is calculated has been reworked, it should hopefully be less annoying now.


Dank deletes itself when placing AE2 cable in a certain way #187

Place an AE2 bus, for example an export bus with no cable
With construction mode and an AE2 ME cable, shift right click as you would normally place it
Entire dank deletes itself. Just disappears.

The relevant mods' versions are: dank storage 1.19.2-4.3, ae2 12.9.2
EDIT: I'm pretty sure this only happens when there's exactly one AE2 cable in the selected dank slot
https://user-images.githubusercontent.com/77896685/212410641-9d14dd1e-caa1-4b29-96f7-251760c98192.mp4

Blacklist the item from being used then, I'm not special casing modded items.


Curated template API to power website

APIs that provide us with a list of apps that are officially marked as templates.

These APIs should be able to provide just the metadata if reauired

List all the templates
Get a list of all possible tags (for filtering)
Get a list of widgets used (for filtering)

Closing this as correct place for this is CS repo.


Create/Deploy a go action using this go-client

Hello,
I'm trying to deploy an action with go runtime by using this go client. I found the Insert method, so I'm trying something like:
newAction := whisk.Action{
	Namespace: "_",
	Name:      foo,
	Version:   "v1",
}
newAction.Exec = &whisk.Exec{
	Kind: "Go:1.15",
	Code: <???>,
	Image: <???>,
}
_, resp, err := client.Actions.Insert(&newAction, true)

The problem is that I can't figure out how to specify the source code for this function. Is it possible to assing a certain path to a field of one of these two types like newAction.Exec.sth = "/path/to/foo.go" ??
Also, when i try for example setting newAction.Exec.Image = "/path/to/exec.zip" (where zip created following this guide) and ignoring Code field, i'm getting a 400 Bad Request with the following error:
The request content was malformed:
'code' must be a string or attachment object defined in 'exec' for 'go:1.15' actions (code oMTYeg66S3pUoWR4TGUSXusml8cmV2jF)

So, i'm pretty sure that I'm not using it right 😝. Does anyone have any thoughts on this?
Best regards

Solution found by studying openwhisk-cli action create command implementation itself. Code field requires to point to a string containing the action-code. So something like:
file, err := ioutil.ReadFile("/path/to/sourceCode.go")
if err != nil {
    log.Fatal(err)
}
code := string(file)
newAction.Exec.Code = &code

, should do the trick.


Optimize Viewer

Add GraphicField

Would like to learn the many usage of :
zplCommand.Substring(this.PrinterCommandPrefix.Length)[0];
Instead of just use string indexer?

Linq Skip and Take?

From my understanding, you just want to extract a char from a particular location. How about something like:
zplCommand[this.PrinterCommandPrefix.Length]

@YipingRuan Now okay?


fix(publish): assetsPrefix breaks images

Fixes an issue that was reported on the Discord about a recent update breaking images in publishing. The issue turns out to be assetsPrefix introducing an extra leading slash for images, which breaks publishing for some servers that are strict about URLs.
Modified an existing test so it would fail without this fix.
Dendron Extended PR Checklist
Code
Basics

[ ] code should follow Code Conventions
[ ] circular dependency check: make sure your code is not introducing new circular dependencies in plugin-core.  See Avoiding Circular Dependencies.
[ ] sticking to existing conventions instead of creating new ones

eg: if configuration for utilities are already in one module or package, add future utilities there as well

Extended

General

[ ] check whether code be simplified
[ ] check if similar function already exist in the codebase. if so, can it be re-used?
[ ] check if this change adversely impact performance

Operations

[ ] when shipping this change, will it just work or will it introduce additional operational overhead due to complicated interface or known bugs?

Architecture

[ ] check if code is introducing changes on a foundational class or interface. if so, call for design review if needed

eg: making changes to DNode

Instrumentation
Basics

[ ] if you are adding analytics related changes, make sure you Document changes in airtable

Extended

[ ] can we track the performance of this change to know if it is successful?

eg: see usage for export pod

Tests
Basics

[x] Write Tests
[x] Confirm existing tests pass
[ ] Confirm manual testing
[ ] Common cases tested
[ ] 1-2 Edge cases tested
[ ] If your tests changes an existing snapshot, snapshots have been updated

Extended

[ ] If you are adding a new language feature (graphically visible in VS Code/preview/publishing), an example is included in the test workspace

CSS

[ ] display is correct for following dimensions

[ ] sm: screen ≥ 576px, eg. iphonex, (375x812)
[ ] lg: screen ≥ 992px
[ ] xxl: screen ≥ 1600px eg. mac (1600x900)

[ ] display is correct for following browsers (across the various dimensions)

[ ] safari
[ ] firefox
[ ] chrome

Docs
Basics

[ ] if your change reflects documentation changes, also submit a PR to dendron-site and mention the doc PR link in your current PR

Basics

[ ] does this change introduce a new or better way of doing things that others need to be aware of? if so, an async should be created and a process added in Development or Packages

Close the Loop
Basics
Extended

[ ]  is this a developer BREAKING change? if another person cloning from this branch will need to adjust their dependencies or mental model of the architecture, then it is. if this is the case, make sure this is communicated according to Close Loop

eg. breaking dev change due to new dependency

Dumb question @SeriousBug, when will I see this fix in a "live" version, is it wait for 0.97 of the cli next week? I'm still seeing the issue today after running yarn upgrade @dendronhq/dendron-cli@latest but not sure if that's expected?

Yes, this will be in the 97 version next week (May 31st).
Changes that are merged after Thursday afternoon go into the next release, so this was too late for the last release. It will be in the next one, sorry for the wait!


Layout everything

I have seen multiple requests for layout renders which have non-layoutable properties (eg string,  int) .
I would be nice if every property would be layoutable.
This is breaking change and needs some performance tests / tweaks. We don't expect a big performance change, see https://github.com/NLog/NLog/issues/1228
ps: There is a SimpleLayout .Escape(string) method. Maybe we can use that for backwards-compatibly. (e.g. when setting reading the XML)

Proposal: create a generic Layout and default layouts for all primitive types (only if used)
e.g.

IntLayout
LongLayout
ShortLayout
BoolLayout

also probably needed

DateTimeLayout (LimitingTargetWrapper)
EnumLayout

etc.
Would be nice if we could easier escape the values, e.g. single quotes don't get expanded ('${myvar}' vs "${myvar}" in the XML config

@snakefoot any opinion on https://github.com/NLog/NLog/pull/3119? I like to continue on this one.
PS: there is also a really another approach possible, revert all the properties to just string, int etc and add a proxy object between the layout renderers - before write, it will update all properties. But not sure if we could get that nice in terms of performance.

@snakefoot It this a no opinion? 👼

@304NotModified It this a no opinion?

The issue is that I cannot see any perfect solutions. Already now the NLog-Layout logic is causing a lot confusion for new developers. Have now dived through many NLog-targets and pretty much all them was doing it wrong. Some have been fixed, but all new NLog-targets will probably also do it wrong.
My biggest worry was the performance and memory-allocation-overhead. But after having implemented IStringValueRenderer then the overhead has been reduced for static strings. And with some extra effort then it can also be applied to When and WhenEmpty. Just need to make sure one doesn't call LogEventInfo.CreateNullEvent() constantly.
I'm fine with trying to convert all string-properties to Layout. But more care has to be applied to int/enum-properties.
Also the Layout-type makes it less obvious what values can be assigned. This will affect the chance of creating an intuitive fluent-config-api as one have to pay attention to make property-assignment natural.

But more care has to be applied to int/enum-properties.

Isn't this  #3119?

Also the Layout-type makes it less obvious what values can be assigned.

Would it be better if we change the name to LayoutableString or TemplatableString? (and LayoutableInt / TemplatableInt etc)

Would it be better if we change the name to LayoutableString or TemplatableString? (and LayoutableInt / TemplatableInt etc)

I'm guessing it is the user-experience in VisualStudio that counts, whether the intellisense is working good.

Layout<T> has now been introduced to the audience, and some targets has also been updated to make use of it.
Some properties are harder than others to convert to new Layout<T> ex. FileTarget.Encoding.  So one should probably hand-pick those that requires minimum effort and minimum surprises.  New pull-requests can be created when finding low-hanging fruits.

One funny thought about layout everything is that one could have ${gdc:item=${event-property:item=boo}} and if the user was able to inject user-input, so LogEventInfo contained the property boo then it could suddenly control the output of the Layout. Ex. dump output to filename of own choosing.
Right now because most properties are simple- and immutable-types (read not Layout), then this attack vector is pretty much non-existing.


Buttons in Find Panel partially hidden for "Find in Files"

Sublime Text Build: 3114
Mac OS X 10.9.5

Found the very easy fix with this help (see "Known issues"):
https://packagecontrol.io/packages/Materialize

https://github.com/oivva/boxy/wiki#known-issues :wink:


FR-Add trending or discovery option

Sometimes people want some trending or discover some shows/movies that are not currently on the media server and people would want it. This would pull back some options for the user to then request.

Hey,
Thanks for reaching out, good idea, I think this has come up before, but I will add it to the list


[Feature]: Create new page for Blockchain

Is your feature request related to a problem? Please describe.
from the resources page, on clicking on the blockchain card, the user must be directed to a new page for blockchain.
Take example from https://www.nsccbpit.tech/webd
the resources home page is at: https://www.nsccbpit.tech/resources
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response

hello @pradeeptosarkar, can this issue be assigned to me.. would surely like to work on these

@Neel-07 sure go ahead

would love to work

resolved


feat: load bridge network manually

fixes https://github.com/zerodha/nomad-cluster-setup/issues/20


Added check for Json array request payload and parse accordingly.

Should a json array be present as the root payload, it will be parsed as a List and added to a Map under the key 'root'.

Due to personal matters I have been quite absent from git and have completely overlooked any notifications from github.
Thanks a lot for your submission (I have actually done something similar for another project).

👍 No problem - happy to help


First test fails

To get going with my JOSS review, I just installed GiNaCDE. While the installation itself went smoothly, running ctest led to a segfault for the first test (the second one passed):
➜  crstnbr@cbserver build-dir  ctest
Test project /home/crstnbr/sciebo/projects/build-dir
    Start 1: test1Run
1/2 Test #1: test1Run .........................***Exception: SegFault  0.45 sec
    Start 2: test2Run
2/2 Test #2: test2Run .........................   Passed   28.43 sec

50% tests passed, 1 tests failed out of 2

Total Test time (real) =  28.89 sec

The following tests FAILED:
          1 - test1Run (SEGFAULT)
Errors while running CTest

Is this expected? @peanutfun (hope you don't mind the ping here), did the tests pass for you?

Thanks @carstenbauer for pointing this error.
All the tests passed for me. But, like you, a few times I got same error (segfault error) running ctest. I observed that it happened during the solving of last differential equation listed in test1.cpp file.
The reasons for such error are:
As the GiNaC library might not return the exact same output of an expression due to some unpredictable internal ordering of symbols, the symbols in the same algebraic expressions may be ordered differently during each running session of the GiNaCDE program, and one can get different exact solutions of the differential equation. Therefore, during some running  session of ctest, when GiNaCDE solves last differential equation listed in test1.cpp file, it generates huge algebraic expressions which GiNaCDE cannot handle. For this reason the error reported by you is sometimes obtained. However, one can pass all the tests by running ctest repeatedly.
For such ctest error, now I think it is better to remove the last differential equation listed in test1.cpp, as it tests GiNaCDE.

@carstenbauer, no worries! I did not experience this issue.
@mithun218, I assume from your explanation that this problem can occur for any equation one tries to solve. As far as I know, a segmentation fault causes the program to terminate instantly, without cleaning up the associated memory. Is there any way of catching these errors and throwing an exception instead? This would tell users what went wrong and would give the opportunity to "gracefully" shut the program down.


Add reason for daemon exception to accumulated causes

ref https://github.com/gradle/gradle/issues/30208
Reviewing cheatsheet
Before merging the PR, comments starting with

❌ ❓must be fixed
🤔 💅 should be fixed
💭 may be fixed
🎉 celebrate happy things

@bot-gradle test

I've triggered the following builds for you. Click here to see all build failures.

Pull Request Feedback (Trigger) (Check)

@bot-gradle merge


AI only takes white peace to end a war

Reported here: https://forum.paradoxplaza.com/forum/index.php?threads/vic2-to-hoi4-converter-release-thread.948992/page-27#post-23332922
and here: https://forum.paradoxplaza.com/forum/index.php?threads/vic2-to-hoi4-converter-release-thread.948992/page-27#post-23337821

You modded the AI to have no wish to annex, liberate, puppet, take states or force governments. I think you should restore the vanilla values (or better ones), so the AI will finally say "hey, I won this war. I now want this, man!"

I thought I removed only the country-specific bits from those files. Any particular suggestions for fixes? I'm way too busy to be able to dig through the AI files and understand them, let alone fix them, for the near future.

We need to mod up a serious AI for all the ideologies, as HoI4 one is
mainly country-specific. It'll take a lot of time to mod things up.

Hasn't been reported since the last couple of releases, so I think it's fine now.


Graphic for Rexroth ctrlX offering

Related Issue
No response
Description
We are announcing our partnership with Rexroth and our offering in their ctrX World marketplace. We will need a graphic for this annoucnement.
Here is the draft post.  https://docs.google.com/document/d/1xXLSQmthxAoL2RUKPdEccptaE7C1RQlwDLr57YCsWIA/edit?usp=sharing

Hi @iskerrett
How about this one?

Here is the PR #1101


Download larger chunks from webseeds.

This is the last part of the changes required to download larger chunks from webseeds.
1st: https://github.com/feross/bittorrent-swarm/pull/29
2nd: https://github.com/feross/torrent-piece/pull/1
Basically the changes done to torrent.js mean:

If the peer from which we are going to make a request is a webseed, then reserve all remaining pieces; if the request fails, cancel all those pieces.
set the chunks and check for piece completion

This should fix issue #534 :)

I'm taking a look at this now. Super sorry for the huge delay :blush:

Excellent news! This is released as 0.81.0 :+1: :sunglasses:


How to translate the dynamic parameter passed using translate-values?

I am providing validations in my application using ng-messages.The application requires internationalization.So for that purpose validations are also translated.
But there is one specific requirement where i will give validation below the input field,providing in formation about that particular field.So i tried to used translate-values to have dynamic validations.
For e,g.
https://embed.plnkr.co/2JIXby6qFXXNSfjLHXza/
Now the problem is {name : "Sorting"} is hard-coded . So the ,word "Sorting" won't be translated when the language is switched.
What i would rather prefer to do is :

      sorting_name
      <input type="text" name="sortingInput" ng-model="sorting"/>

required_validation

Here , i am trying to provide label name as a dynamic parameter value,so that it can be automatically translated .But i am not sure if any functionality like that is available.
Can you please Help on this?
Environment
angular-translate 2.7.0
angular v 1.3.15
Google Chrome : v 50.0

If the built-in directive or filter do not match your need (and this could be a special case), you will have to to at least one level of service usage on your own.
So either you use something like this here

watch for changing of sorting
use $translate() (promise, async) or $translate.instant() (direct value, sync)
store the result into another scope var, i.e. sortingDisplay
use this as a value

Or you build the complete string on your own.

You should be able to do this using directives!

Since version 2.0, translate directive comes with another neat feature to pass values into your translations. We just learned how to use the translate-values attribute, which is nice, but what if we could in some cases be a bit more declarative in our code. What if we only want to pass in one or two values but declare these explicitly in our HTML?
Well, in angular-translate >=2.0 you can do exactly that. You are able to define your own translate-value-* attributes.

Source: Guide

    sorting_name
    <input type="text" name="sortingInput" ng-model="sorting"/>

            required_validation

And like Pascal said:

If that isn't a cool feature, I'm sold.

Thanks for that awesome module that surprises me everyday!


[VS Code] Sharing workspace: Could not connect to the server. Check that you are connected to the internet.

Error:
Sharing workspace: Could not connect to the server. Check that you are connected to the internet.
Steps to Reproduce:

Version Data

extensionName
VSLS

extensionVersion
0.3.954

protocolVersion
2.2

applicationName
VSCode

applicationVersion
1.29.1

platformName
Linux

platformVersion
4.18.0-2-amd64

@Jhonatan-Holanda are you a distro using OpenSSL 1.1.1? Please see #1246 for a potential workaround.

ok by commenting the suggested line in openssl conf problem fixed .. thanks


Fails in FF 58

Current build does not workin in FF 58.
The bug has been committed as version 1.1.0 which is not correct, since code changed.
Have a look here and be more careful with releases please!
https://semver.org/

What error are you receiving?

Nevermind. fixed my project with an earlier commit of jquery.initialize

@rakeden This problem was probably related to issue #25, which has been fixed in version 1.2.0.
An npm update to the latest version should fix the issue.


Upgrading to 3,0,0 and having issues!  (IDFGH-12138)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
I am trying to make my code acceptable to 3.0.0 and am hitting issues I do not understand:
Specifically: I am now down to some apparently related  issues where I do not seem to be "seeing" some functions at compile .

error: 'gpio_matrix_out' was not declared in this scope; did you mean 'gpio_iomux_out'? 1891 |   gpio_matrix_out(TX_PIN_0, 0x100, false, false);
error: 'gpio_matrix_in' was not declared in this scope   132 |         gpio_matrix_in(RxPin,CAN_RX_IDX,0);
error: 'gpio_pad_select_gpio' was not declared in this scope; did you mean 'esp_rom_gpio_pad_select_gpio'?
133 |         gpio_pad_select_gpio(RxPin);

I have searched the new IDF and gpio_matrix_out appears to be defined in gpio.h  so why does my code not find it when the previous IDF worked fine? - I have board with ESP32-WROOM-32, and am compiling for "ESP32 DEV board"
There will probably be more issues.. but this is enough to stop the compile and thoroughly confuse me!!!
Many thanks
Dagnall

@sudeep-mohanty  Hi, if I understand the question, NO, I am using the Expressive IDF V3.0.0alpha3 . Not the Arduino ESp32 boards Which only goes "up" to 2,0.13..
What is confusing me is that the IFD seems to "not know" about these functions, but I have checked and I think they exist!
Its possible IDF V3.0.0alpha3 does not somehow call or include the source - but the previous versions did!

@sudeep-mohanty Thanks..
Is it possible that in previous versions rom/gpio.h was "automagically" included in "something".. but that has been "corrected"?
for the simple.. (ie ME!) do I need to #include <rom/gpio.h>  I have not had to use the path before!
Currently I have
#include <ESPmDNS.h>
#include <WiFi.h>
#include <WiFiUdp.h>
#include <EEPROM.h>
#include <esp_WiFi.h>
#include <WebServer.h>
#include <Update.h>
#include <esp_now.h>

@dagnall53 While I haven't evaluated how rom/gpio.h was indirectly included from one of these header files prior to IDF 3.0, it is quite possible that you encounter such breaking changes when you upgrade to a major release. We actively try to reduce such dependencies between IDF components by removing unnecessary header file inclusions. Usually, we document such breaking changes in the release notes but there are times when some of them slip through our internal reviews and show up in user applications. Such is the case here and you would have to include rom/gpio.h in your application to compile with the functions you need.

@sudeep-mohanty
Thanks. I get that these things can get broken / missed!
.. But I could you confirm that I was correct in the formulation of the #include   <rom/gpio.h>
or should it be #include < gpio >   or ... ?
I suspect you were overestimating my competence! :-)

That's correct. You need to have '#include "rom/gpio.h"'in your application source file.

@sudeep-mohanty Ahh.. some more digging and I find (2.0.14) (C:\Users\admin\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.14\tools\sdk\esp32\include\esp32\include\rom\gpio.h)
#warning rom/gpio.h is deprecated, please use esp32/rom/gpio.h instead
#include "esp32/rom/gpio.h"

Perhaps that has been forgotten in V3 when updating and some elements reference the wrong (old reference)  now?

Hello @dagnall53, Looking at your latest comment, it strikes me that you are probably upgrading your Arduino core from 2.0.14 to 3.0.0. This, in-turn, would mean that you are moving your IDF versions from 4.4 to 5.1. v5.1 of IDF supports both #include "rom/gpio.h" or #include "esp32/rom/gpio.h"` (essentially the same file) to have access to these GPIO matrix APIs. You could also use the API functions in esp_rom_gpio.h which provide target-agnostic APIs for the APIs you are working with. Apologies for earlier as I botched up version changes in my head!

Thanks. I will have to investigate that more.. !
Its all a bit opaque to me right now.
It started with "just" a "simple"  gpio_matrix_out(TX_PIN_0, 0x100, false,
false);
that had been used to overcome another issue that started this all off!
And then I discovered that the NMEA2000 library also seems to suffer!
O well, I will proceed one hack at a time.
I really appreciate your help and guidance!
Dagnall
On Mon, 19 Feb 2024 at 10:35, Sudeep Mohanty @.***>
wrote:

Hello @dagnall53 https://github.com/dagnall53, Looking at your latest
comment, it strikes me that you are probably upgrading your Arduino core
from 2.0.14 to 3.0.0. This, in-turn, would mean that you are moving your
IDF versions from 4.4 to 5.1. v5.1 of IDF supports both #include
"rom/gpio.h" or #include "esp32/rom/gpio.h"` (essentially the same file)
to have access to these GPIO matrix APIs. You could also use the API
functions in esp_rom_gpio.h
https://github.com/espressif/esp-idf/blob/cbce221e88d52665523093b2b6dd0ebe3f1243f1/components/esp_rom/include/esp_rom_gpio.h#L83
which provide target-agnostic APIs for the APIs you are working with.
Apologies for earlier as I botched up version changes in my head!
—
Reply to this email directly, view it on GitHub
https://github.com/espressif/esp-idf/issues/13194#issuecomment-1952159597,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABVA5IB3YRHE5KG3I6IPA43YUMTGBAVCNFSM6AAAAABDL5HNAKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJSGE2TSNJZG4
.
You are receiving this because you were mentioned.Message ID:
@.***>

Since there is no bug to be fixed, closing this issue. Please feel free to reopen a new one in case of further support. Thanks!


Feature Request: Shortcode to Retrieve Code from Remote Git Repository

Feature Description

Fetching code from a remote repository like GitHub, GitLab, Codeberg, etc. is a very useful shortcode.
Embedding pieces of code in markdown makes it tougher to document a webpage. Having this feature in Hextra natively will ensure better documentation.
An existing implementation can be found here:
https://github.com/imfing/hextra/discussions/26

Problem/Solution

People can fetch code maintained in a Git repository like (GitHub, GitLab, Codeberg, etc.) to complement their documentation.
Maintaining code and documentation together is a tedious task, and will exacerbate as the number of pages in the website increase.

Alternatives Considered

Yes, I'm currently using a custom shortcut, which I modified based on this suggestion:
https://github.com/imfing/hextra/discussions/26
But it doesn't have a copy icon on the top right.

Additional Context
Received a suggestion in the Hextra's discussion a few weeks back:
https://github.com/imfing/hextra/discussions/26

When it comes to code snippets, I'd typically recommend using Gist, especially since Hugo provides this shortcode as a built-in feature.
I appreciate the idea of fetching code directly from GitHub, and I understand the motivation behind your request – maintaining code and documentation together can be a challenging task. However, I have some reservations about how much a shortcode like this would fundamentally enhance our documentation.
There are a couple of considerations when it comes to dynamically pulling code from remote Git repositories:

Rate limit: GitHub has a rate limit (60 requests per hour) for anonymous access to its APIs, and this limit can be easily reached
Authentication: It can be tricky to pass in token under various environments
API complexity: Different code hosting providers have varying API interfaces, and incorporating these into a shortcode might introduce additional complexity

People can fetch code maintained in a Git repository like (GitHub, GitLab, Codeberg, etc.) to complement their documentation.

I think a better approach is to maintain a submodule from the documentation repository, and create symbolic links or use similar shortcode to read the code content similar to https://github.com/imfing/hextra/discussions/26.
I believe it's worth discussing this further in a dedicated thread where we can gather opinions and ideas from the community.


Argument of type 'number[]' is not assignable to parameter of type 'CombinedOptions'.

const text = tolgee.t('a {0}  b {1}',[99,100])
console.log(text); // a 99 b 100

Hello, this is not intended to work, nor it's documented anywhere. It works by accident.


increase parallelization of PPC64 buildbot

Closes #177
Increase  parallelization of PPC64 builds

Yes, looks like this may be a better way. I'll change the PR.

on edelsohn - as that will always be on POWER8, or better - and currently has 64 (logical) cpus. "aixtools" when on POWER6 only has 4 logical cpus - so leaving asis (for now).

We are a week further, and "sadly", imho - the keyword parallel_tests is not just test. As @isidentical mentioned - this also affects the parallelization of the build (make -jXX) and not just changing the argument for the test phase (make buildbottest).
If there is not a way to change only the argument to the test phase - reverting this change may be the better choice.

PRs are welcome, but I don't have the bandwidth to investigate this issue.


I want to Change the Background of FAQ Section

Description
Hey @akshathar-navada, I want to change the Background of FAQ section, so please assign me this issue under the SSOC'23.
Current Behavior

Desired Behavior

Let the existing one be. If there is anything else u would like to work on,pls go ahead


Added Data and Segment struct to User Struct

@jamesadinmo this and other PRs look great (at first glance), but I'm not really planning to do any development on this near time, if you're interested in taking over the maintenance of this package – ping me, happy to pass it along


Inconsistent Folder Creation Behavior in "Change Path" Modal of Prompt/Conversation Publishing

EPAM AI DIAL chat version
Version 0.22.0-rc
What happened?
Description:
There are several issues related to creating and deleting folders within the "Change path" modal of the prompt publishing feature.
Prerequisites:

Create a new prompt.
Press the "Publish" button in the prompt's dropdown menu.
In the "Publish Prompt" modal, press the "Change" button to open the "Change path" modal.

Case 1: Incorrect Rename Mode after Folder Deletion
Steps to Reproduce:

Press the "Create new folder" button.
Rename the folder to "testfolder 1".
Create a nested folder named "testfolder 2" inside "testfolder 1".
Delete the nested folder "testfolder 2".
Press the "Create new folder" button.

Expected Result:
A new folder is created in rename mode, allowing the user to change its default name ("New folder 1").
Actual Result:
A new folder named "New folder 1" is created, but not in rename mode.
Case 2: Folder Structure Corruption after Nested Folder Deletion
Steps to Reproduce:

Press the "Create new folder" button.
Rename it to "testfolder 1".
Create a nested folder "testfolder 2" inside "testfolder 1".
Create a nested folder "testfolder 3" inside "testfolder 2".
Create a nested folder "testfolder 4" inside "testfolder 3".
Delete the nested folder "testfolder 4".
Press the "Create new folder" button.

Expected Result:
A new folder is created in rename mode.
Actual Result:
"New folder 1" is created with "testfolder 2" nested inside. The original "testfolder 1" disappears completely.
Edge Case: Unresponsive "Create New Folder" Button
Steps to Reproduce:

Follow the steps for either Case 1 or Case 2.
Sometimes, the first click on the "Create new folder" button produces no visible effect.
A second click then creates "New folder 2" instead of "New folder 1".  "New folder 1" is not present in the DOM, but the application behaves as if it exists.

https://github.com/user-attachments/assets/e9cf56dd-1ec0-4070-b36a-6de714884518
Reproducibility:  Cases 1 and 2: Almost always.  Edge case: Intermittent (approximately 10% of the time).
Environment:  Chrome Version 131.0.6778.109 (Official Build) (64-bit), Windows 11.
Confidential information

[X] I confirm that do not share any confidential information

verified on staging successfully


Don't include binaries

It seems like a bad idea to include binaries in this repo; they're copied from the AWS template but trusting that would still be an issue.
The thing that makes it awkward is some of those libs (namely libcrypto.so.1.0.0) are specific to the platform, so require additional build steps depending on what platform you're deploying from.

@JCapriotti can you tell me how did you obtained the binaries?


slidev-vclick-current with multiple elements

Describe the bug
slidev-vclick-current doesn't work with multiple v-click and multiple elements on the page.
To Reproduce

line
line

line
line

At the beginning, all elements are slidev-vclick-hidden. After the first click, the first line is slidev-vclick-prior and the second line is slidev-vclick-current but both should be slidev-vclick-current. When clicking again all 4 lines become slidev-vclick-prior, but the last 2 lines should be slidev-vclick-current.
slidev-vclick-current should always be the latest clicked elements whether it's in  or .
https://github.com/slidevjs/slidev/issues/997

We temporarily close this due to the lack of enough information.
Please provide a minimal reproduction to reopen the issue.
Thanks.

Why reproduction is required


Approve translation from crowdin is not reflected on the contentpack translation percentage

Summary
Issue
In Crowdin it say's 100% translated for pt-PT but when we build the pt-PT we will have 88% translated.
Findings
The issue is we are comparing the filtered data from the Catalog to the .po files directly. There is discrepancy since the Catalog data is refine/filtered, then the .po files data is raw.
To test the data discrepancy I convert each data to json files and compare it.
You will find the line of code that calculate the translation percentage here:
https://github.com/learningequality/ka-lite-content-packs/blob/master/contentpacks/utils.py#L79
So if we get the percentage we will have:
trans_count:(944) all_strings_count:(1074) compute_translated:(87.89571694599627)

/cc @benjaoming @cpauya @radinamatic @aronasorman

Will write a validator for themsgid so it will ensure that there is a equivalent msgid to the po files before calculating the translation percentage.

@mrpau-eduard great, thanks for finding the explanation!
Can you use the CrowdIn API instead of doing our own calculations?
https://support.crowdin.com/api/status/


rsync never skips existing files.

Sponsors SeaweedFS via Patreon https://www.patreon.com/seaweedfs
Report issues here. Ask questions here https://stackoverflow.com/questions/tagged/seaweedfs
Please ask questions in https://github.com/chrislusf/seaweedfs/discussions
example of a good issue report:
https://github.com/chrislusf/seaweedfs/issues/1005
example of a bad issue report:
https://github.com/chrislusf/seaweedfs/issues/1008
Describe the bug
A clear and concise description of what the bug is.
rsync transfers already existing files. I'm using weed mount on 2.96.
System Setup
rsync -avlHAXWE --progress --relative
Expected behavior
A clear and concise description of what you expected to happen.
Skips the files. the metadata is bad or similar.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

what is the source and destination?
Is weed mount the source? Please show some actual full examples.

weed mount is the destination, it just keeps creating new files.
rsync -avlHAXWE --progress --relative /tmp/Directory /weed/replace

thanks for reporting! fixed now.


Single course endpoint

Add an endpoint for single courses

Meh I'm not sure this is even possible because of the whole weirdness with department course IDs. Going to defer for now I guess.


feat: collection of other counters for fcvi perf object

Neither ZapiPerf object fcvi nor RestPerf api api/cluster/counter/tables/fcvi would be having the detail of port, which customer has asked for.
So, To add those port details, one extra call has been made in plugin. Calling metrocluster-interconnect-adapter-get-iter in Zapiperf plugin and calling api/private/cli/metrocluster/interconnect/adapter in RestPerf plugin with desired attrs.
Tested against Bigtop MCC cluster.

Iwarp counters are available in openlab cluster and fcvi counters are in mcc cluster in bigtop.
Creating setup for both to test and update soon.

3 duplicate panels of fcvi are removed from Highlight and added remaining in FCVI drilldown only.

Iwarp counters are available in openlab cluster and fcvi counters are in mcc cluster in bigtop. Creating setup for both to test and update soon.

Openlab and Bigtop setups are created for testing of Iwarp and Fcvi counters.


Refactor/clean up SEP-24 fields and add field comments

PR Checklist
PR Structure

[ ] This PR has reasonably narrow scope (if not, break it down into smaller PRs).
[ ] This PR avoids mixing refactoring changes with feature changes (split into two PRs
otherwise).
[ ] This PR's title starts with name of package that is most changed in the PR, ex.
paymentservice.stellar, or all or doc if the changes are broad or impact many
packages.

Thoroughness

[ ] This PR adds tests for the most critical parts of the new functionality or fixes.

What
[TODO: Short statement about what is changing.]
Why
[TODO: Why this change is being made. Include any context required to understand the why.]
Known limitations
[TODO or N/A]

Reference Server Preview is available here:https://anchor-ref-pr320.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr320.previews.kube001.services.stellar-ops.com/

Reference Server Preview is available here:https://anchor-ref-pr320.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr320.previews.kube001.services.stellar-ops.com/


Failing to locate libssl.so.1.1 on Gentoo

Bug description
The following output occurs upon invoking prisma version -v, it shows that it is finding libssl.so.1.1 via ldconfig yet seemingly loses it right after:

$ [project]/node_modules/.bin/prisma version -v
prisma:warn Prisma doesn't know which engines to download for the Linux distro "gentoo". Falling back to Prisma engines built "debian".
Please report your experience by creating an issue at https://github.com/prisma/prisma/issues so we can add your distro to the list of known supported distros.
prisma:warn Prisma doesn't know which engines to download for the Linux distro "gentoo". Falling back to Prisma engines built "debian".
Please report your experience by creating an issue at https://github.com/prisma/prisma/issues so we can add your distro to the list of known supported distros.
Error: Unable to require([project]/node_modules/@prisma/engines/libquery_engine-debian-openssl-1.1.x.so.node).
Prisma cannot find the required libssl system library in your system. Please install openssl-1.1.x and try again.
Details: libssl.so.1.1: cannot open shared object file: No such file or directory
at loadLibrary ([project]/node_modules/prisma/build/index.js:107672:11)
at getEngineVersion2 ([project]/node_modules/prisma/build/index.js:107685:16)
prisma                  : 5.2.0
@prisma/client          : Not found
Current platform        : debian-openssl-1.1.x
Query Engine (Node-API) : E_CANNOT_RESOLVE_VERSION (at<EMAIL_ADDRESS>Schema Engine           : schema-engine-cli 2804dc98259d2ea960602aca6b8e7fdc03c1758f (at<EMAIL_ADDRESS>Schema Wasm             : @prisma/prisma-schema-wasm 5.2.0-25.2804dc98259d2ea960602aca6b8e7fdc03c1758f
Default Engines Hash    : 2804dc98259d2ea960602aca6b8e7fdc03c1758f
Studio                  : 0.494.0

the library indeed exists:

prisma version:
latest, 5.2.0
openssl version:
dev-libs/openssl-1.1.1t-r1
How to reproduce

Install dev-libs/openssl-1.1.1t-r1
Make a project and add prisma (yarn add prisma)
Run yarn prisma version -v (or yarn prisma generate)
See error trying to use /usr/lib64/libssl.so.1.1 library

Expected behavior
For it to be able to use libssl.so.1.1
Prisma information
problem doesn't seem to be related to a particular project
Environment & setup

OS: Gentoo
Database: PostgreSQL
Node.js version: 19.5.0
Node package manager: Yarn 3.4.1

Prisma Version
5.2.0

Also having this issue

Issue was resolved by emerging openssl 3.0, although I'm not sure if i should close it as the error message is quite deceiving (1.1.x doesn't work)

Hey @Sommmmy, could you please run DEBUG="prisma:get-platform" npx prisma -v and report back the whole output you get? Thanks.

@Sommmmy thanks for the logs, could you please also post the output of ldconfig -p | grep libssl on your system? Thank you!

@aqrln On openssl 3 system:
libssl3.so (libc6,x86-64) => /usr/lib64/libssl3.so
libssl.so.3 (libc6,x86-64) => /usr/lib64/libssl.so.3
libssl.so (libc6,x86-64) => /usr/lib64/libssl.so
I don't have the old environment anymore, but it was libssl.so.1.1 instead of libssl.so.3, essentially something like this:
libssl3.so => /usr/lib64/libssl3.so
libssl.so => /usr/lib64/libssl.so
libssl.so.1.1 => /usr/lib64/libssl.so.1.1
which is also proven by the logs sent previously.
Also for anyone who might face this problem in future, just installing openssl 3 was not enough, I also needed to make sure there is no more so.1.1 in my system and nothing depends on it (or it will get auto-preserved by gentoo), as it was detected as the openssl version even with v3 being the installed version.

@Sommmmy looks similar to issue #20686. But here is more advanced fixes that helped me

Add binary targets to schema.prisma file:
generator client { provider = "prisma-client-js" binaryTargets = ["native", "debian-openssl-3.0.x"] }
install openssl on image. I used debian (find how install this package to Gentoo), so the command was next:
apt update && apt install openssl
Regenerate prisma stuff:
npx prisma generate

I applied these changes my docker file and it helped:
 ... RUN apt update RUN apt install openssl -y ... RUN npx prisma generate ...

I had similar issue when using node:20-slim as base image in Dockerfile. Previously i was using node:20-alpine and there was no issue. I think the slim version does not include openssl by default.

also having this issue


Wrong file sizes

Check out what's wrong with file sizes and report it if the RSS feeds lies a lot.

They are totally unreliable, so I just skip file size checks and only check for existence.


Makefile output appears slowly at first

When running a Make command in the terminal, the first output lines appear very slowly then the final lines appear in a rush. In a Windows command prompt the Make output appears at an even speed.
Edit: The program can be running on an attached device several seconds before the command appears to complete in the terminal.

Please retest again with platformio-atom-ide-terminal 2.9.0 is using node-pty-prebuilt instead unmaintained and outdated pty.js