Mouse click node: a class

Hello guys,
I am currently working on managing lightbox popup:

Three-Bedroom Chalet nr 1

There is a name of room which shows popup and expands hidden html source with information. Currently I am using mouse_click_node action but it probably clicks href link which moves to another page and still lightbox is hidden. How can I click on whole element?
Now  I am getting dom error because probably I want to access fields which are hidden.

There is not enough information. Please provide a self-contained example.

I am trying to scrape room information form this site booking
The element which triggers lightbox to show is located under Availability section and Accommodation Type. When you click on room name "Three-Bedroom Chalet nr 1" it shows pop up with information. I want to trigger that to show and get source of it.
I was also trying to do
var res bool
	err := chromedp.Run(ctx, chromedp.Evaluate(
		`document.querySelector("#RD132228703 > a").dispatchEvent(new Event('mouseover'))`, &res,
		))

but got
"error":"dom fetch failure: dom room_info: nodes: lightbox_open: exception \"Uncaught\" (0:42): TypeError: Cannot read properties of null (reading 'dispatchEvent')

Currently I am using
func (m mouseClickNodeAction) Perform(ctx context.Context, _ *[]string, info InputInfo) (OutputInfo, error) {
	return OutputInfo{}, chromedp.Run(ctx, chromedp.MouseClickNode(info.Node))
}

which gives me
error: code = Internal desc = dom fetch failure: dom room_info: nodes: mouse_click_node: Cannot find context with specified id (-32000)

The following example looks fine. Please provide an example like this one (self-contained, minimal).
package main

import (
	"context"
	"log"
	"time"

	"github.com/chromedp/chromedp"
)

func main() {
	// disable headless mode to make it easy to see what happen
	opts := append(chromedp.DefaultExecAllocatorOptions[:], chromedp.Flag("headless", false))
	ctx, cancel := chromedp.NewExecAllocator(context.Background(), opts...)
	defer cancel()

	ctx, cancel = chromedp.NewContext(ctx)
	defer cancel()

	if err := chromedp.Run(ctx,
		chromedp.Navigate(`https://www.booking.com/hotel/pl/domek-pod-strzecha.en-gb.html?aid=304142;label=gen173nr-1FCAEoggI46AdIM1gEaLYBiAEBmAEJuAEZyAEM2AEB6AEB-AELiAIBqAIDuAKu5ceNBsACAdICJGIyNzkyMWU3LTZjNzMtNDFjZi1hMzg3LTM2ZTdmZjdlM2IxOdgCBuACAQ;sid=4a738a467c6b34b2fbe572fb93ae686c;dest_id=-538221;dest_type=city;dist=0;group_adults=2;group_children=0;hapos=0;hpos=0;no_rooms=1;req_adults=2;req_children=0;room1=A%2CA;sb_price_type=total;sr_order=popularity;srepoch=1639051954;srpvid=ebdb55d892db0044;type=total;ucfs=1&`),
		chromedp.Click("#RD132228703>a", chromedp.ByQuery),
	); err != nil {
		log.Fatal(err)
	}

	// to see what happen
	time.Sleep(10 * time.Second)
}

Closing due to lack of activity.


Reduce RBAC permissions for the build controller

The manifests for the build controller include several permissions that are either redundant or are beyond what is needed to run a build.
For instance, the rbac for the build controller includes the following:

Full permissions over common apps workloads (Deployment, DameonSet, etc.)
Full control over Pods, Secrets, ConfigMaps, and Services.
Full control over Tekton tasks.

These permissions should be reduced to only what is necessary to reconcile Shipwright APIs.
Reducing permissions on the build controller will allow permissions to be narrowed for the operator that deploys the build controller - see https://github.com/shipwright-io/operator/pull/4.

@adambkaplan I think this should be going to our next milestone, I will put it there. Please let me know if you think different, so we can move it somewhere else. But this should be a must-have asap.

From grooming, @imjasonh to provide more information on alternatives for the above.


Add package_scanner.nim

...this time it is implemented in Nim. It requires no GitHub API token as it simply check the reachability of the source code repository.
Every error except unexpected license names is counted and returned as exit value.

I'd have to run this every single time manually though... I'd prefer an automatic solution.

TravisCI does the trick - see an example at https://travis-ci.org/FedericoCeratto/packages/jobs/53537960

See #139


Improved the CSS of Sign-In/Sign-Up Form.

Pull Request template
Please, go through these steps before you submit a PR.
Make sure you have done your changes in a separate branch. Branches MUST have descriptive names that start with either the fix/ or feature/ prefixes. Good examples are: fix/sign-in issues or feature/added-home button`.
Describe your changes

I have changed the CSS of the input field, button, and font family.
I have designed a fully responsive login form.

Issue  number and link
Fixes issue #243

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[x] Please ensure that there aren't other open Pull Requests for the same update/change/feature/bugs?
[x] The title pull request is a short description of the proposed changes.

Screenshots

@aytida0606 Kindly review and merge it. Thank you.

@KiranAminPanjwani

https://dribbble.com/shots/10761532-Login-Web-Animation?utm_source=Clipboard_Shot&utm_campaign=OlenaKychun&utm_content=Login Web Animation&utm_medium=Social_Share&utm_source=Clipboard_Shot&utm_campaign=OlenaKychun&utm_content=Login Web Animation&utm_medium=Social_Share
https://user-images.githubusercontent.com/73810643/170811248-d145d8a7-796b-4546-8e8a-6f1944647b0e.mp4
use this as reference

@KiranAminPanjwani are you working on this issue ?
31 may is last day of contribution .

Yes, I'm trying. Will it be count as a separate contribution?

Yes, I'm trying. Will it be count as a separate contribution?

the sign in page should have square / box design  instead of rectangular one. ( Level 2)
The pr changes has been reverted , so it doesn't count. Add the changes and make a new pr

Okie I am trying my best sir.

Okie I am trying my best sir.

Just make the sign in page square / box . No need to make additional changes.

@aytida0606 I have done it! Shall I create a new pull request?

@aytida0606 I have done it! Shall I create a new pull request?

Yes , add screenshot .


Script startup timed out. [code: 10021] on wrangler publish

I am using @alpha (0.0.0-7d4ea43, which seems to be the only config-version working with remix/miniflare, in my local testing.)
Everything builds and runs locally, and was working up until recently, which is confusing because I locked the npm version (to prevent auto-updates which were breaking things in other ways.)
package.json
{
"private": true,
  "sideEffects": false,
  "scripts": {
    "prebuild": "node node_modules/remix-esbuild-override/dist/bin/index.js",
    "build": "remix build",
    "start:frontend": "remix watch",
    "start:backend": "NODE_OPTIONS='--experimental-vm-modules --no-warnings' node tools/dev.mjs",
    "start": "npm run build && run-p start:*",
    "postinstall": "remix setup cloudflare-workers",
    "predeploy": "rm -rf build public/build && npm run build",
    "deploy": "wrangler publish build/index.js"
  }
}

tools/dev.mjs
This is a local miniflare thing, and is working and I think unrelated to deploy:
// this is the dev-server, which uses local KV and remote DO

import { Miniflare } from "miniflare"
import { CrossKV, CrossDO } from 'cross-cf'
import fetch from 'cross-fetch'

global.fetch = fetch

const globals = {
  // ... DO and KV setup work on local
}

const mf = new Miniflare({
  envPath: true,
  packagePath: true,
  wranglerConfigPath: false,
  scriptPath: 'build/index.js',
  buildCommand: "npm run build",
  globals,
  sitePath: "./public",
  name: 'XXX',
  port: 3000,
  watch: true,
  liveReload: true,
  sourceMap: true
})

await mf.startServer()
console.log("Listening on http://localhost:3000")

wrangler.toml
name = ""

compatibility_date = "2022-01-31"
account_id = "XXX"

[build]
command = "npm run build"

[site]
bucket = "./public"

[[kv_namespaces]]
# ...

[[durable_objects.bindings]]
# ...

It builds & uploads site ok, but at end it says this:
✘ [ERROR] Received a bad response from the API

  Script startup timed out.
   [code: 10021]

  If you think this is a bug, please open an issue at:
  https://github.com/cloudflare/wrangler2/issues/new

It returns really fast (doesn't hit 5 minute limit)

Oh hmm, that's weird. I think that usually means there's an infinite loop when starting up, but I can't say. Lemme ask internally.

I'm seeing the same thing on my end with a similar remix+cloudflare-workers application. It works when running under miniflare 2.4.0 but fails to publish to Cloudflare where the script times out after ~5s.
Error: Something went wrong with the request to Cloudflare...
Script startup timed out.
 [API code: 10021]

Any updates @threepointone 👀

Could y'all share your account ids and the workers' names? I'll pass it on to the backend folks

Since the worker is never successfully uploaded it isn't present in my cloudflare dashboard. My account id is : 3c922ba2f38f303dbab57cfac4211cec if that's still of any help 😁

Bumping remix to 1.4.0 and setting serverBuildTarget: "cloudflare-workers" inside remix.config.js seems to have fixed this for me 👍

@threepointone cd9c418c2f482d1d4b6616d040bd48e5 is ID, but I also can't publish, so it's not in dash.
I am troubleshooting other issues (with not being able to override esbuid config in remix) so I can't currently build at all, which is a whole other thing. Once I get this building, I will try out your suggestion, @MatousKundrik thanks!

The solution here is as @MatousKundrik describes, looks like there was a bug. I'll close this for now.


Simplify verify_kzg_proof() return convention

Right now verify_kzg_proof() (and verify_blob_kzg_proof() and verify_kzg_proof_batch()) will return C_KZG_RET to indicate if the computation was finished properly, and then it will store the result of the verification in the argument ok.
This means that their callers should check both the retval and ok to handle verification correctly. Given the crucial importance of getting verification correctly, it might be a good idea to simplify this two-layer checking. The worst case scenario is that a user of the library thinks that C_KZG_OK means that verification went well.
My suggestion atm would be to merge ok into retval and make it such that verify_kzg_proof() returning C_KZG_OK denotes both a correct computation and also a correct verification. Then we could add another element to the enum called C_KZG_BAD_VERIFICATION if the caller wants to handle that case in a special way. This way the verifier just needs to check retval and I assume that for most clients it's gonna look like:
if retval == C_KZG_OK:
   accept_tx
else:
  reject_tx

but perhaps for others it could look like:
if retval == C_KZG_OK:
  accept_tx
else if retval == C_KZG_MALLOC:
  die()
else:
  reject_tx

It still seems simpler than the status quo.

Adding another element to the enum and clarifying that C_KZG_OK means both no errors and successful verification where relevant sounds good to me.

Closing due to https://github.com/ethereum/c-kzg-4844/pull/158#issuecomment-1453191092


fix: set null to unread marker when there are no new messages

Details
Fixed Issues
$ https://github.com/Expensify/App/issues/30359
PROPOSAL: https://github.com/Expensify/App/issues/30359#issuecomment-1779632727
Tests

Open ND and log in with any account
Navigate to any chat. Ensure that have enough messages on the chat so you're able to scroll
Send message A
Mark message A as unread
Scroll up and verify that the "New messages" notification appears
Delete the last message
Scroll up and verify that the "New messages" notification doesn't appear

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

Offline tests

Open ND and log in with any account
Navigate to any chat. Ensure that have enough messages on the chat so you're able to scroll
Send message A
Mark message A as unread
Scroll up and verify that the "New messages" notification appears
Delete the last message
Scroll up and verify that the "New messages" notification doesn't appear

QA Steps

Open ND and log in with any account
Navigate to any chat. Ensure that have enough messages on the chat so you're able to scroll
Send message A
Mark message A as unread
Scroll up and verify that the "New messages" notification appears
Delete the last message
Scroll up and verify that the "New messages" notification doesn't appear

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

PR Author Checklist

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

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

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

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

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

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

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

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

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

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] If we are not using the full Onyx data that we loaded, I've added the proper selector in order to ensure the component only re-renders when the data it is using changes
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

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

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

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

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Android: Native
https://github.com/Expensify/App/assets/126839717/8a8565e0-66b3-4cfd-b4c5-2319c93e60e6

Android: mWeb Chrome
https://github.com/Expensify/App/assets/126839717/7072dd3a-c2d1-447c-9e9b-1ee6a603cfff

iOS: Native
https://github.com/Expensify/App/assets/126839717/78f4936f-7b6d-4e08-bf16-449fc2c99558

iOS: mWeb Safari
https://github.com/Expensify/App/assets/126839717/d59d4dd6-2606-4a2f-9500-3d157ca82f0c

MacOS: Chrome / Safari
https://github.com/Expensify/App/assets/126839717/0d3185b0-28a7-43fb-b1bd-bcb21912c635

MacOS: Desktop
https://github.com/Expensify/App/assets/126839717/3dafc33d-f5f5-494b-ac71-496f8638d5f0

@s-alves10 There is a small glitch. When removing the last unread message, the divider with a new mark is between the composer and the last message. It appears for a second after syncing with the backend. Could you take a look into that and fix it?

https://github.com/Expensify/App/assets/24796318/4da71960-d7de-4c07-8165-82a3c10e5786

@ArekChr
This seems to be another issue, not related to the current issue

@s-alves10, this appears to be connected to the issue we're currently addressing. Could you take a look and implement a solution? It should be a straightforward fix. Thanks!

There is a small glitch. When removing the last unread message, the divider with a new mark is between the composer and the last message. It appears for a second after syncing with the backend.

@ArekChr
The root cause of this issue is in the below code
https://github.com/Expensify/App/blob/345a3a1dc6456e3c8059bb6f8b59b87157262537/src/libs/ReportActionsUtils.ts#L320-L322
As you can see, we treat all pending actions as visible action. So the deleted message would be displayed until the API call returns. We need not to show the deleted actions, I think. The following updates would fix the issue
    const isPending = !!reportAction.pendingAction && !(!isNetworkOffline && reportAction.pendingAction === CONST.RED_BRICK_ROAD_PENDING_ACTION.DELETE);

Of course, we can add a condition when calculating currentUnreadMarker, but I think this is a workaround
As you can see above, the new issue looks like beyond the scope of this issue, also that is reproducible in staging/production as well. Do you still want to fix the glitching issue in this PR?

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/madmax330 in version: 1.3.94-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅

🚀 Deployed to staging by https://github.com/madmax330 in version: 1.3.94-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/Beamanator in version: 1.3.94-2 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to staging by https://github.com/madmax330 in version: 1.3.95-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/puneetlath in version: 1.3.95-9 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


List count on article cards in evaluated articles list

Bulldozing the listMembershipCount on this page brought up page generation time from ~500-600ms to 1500ms. To be addressed in cleanup.


Change the value only when needed and raise the "change" event

Adding this plugin to existing input text forms was breaking some
javascript depending on the change event being called.
When I add evol-colorpicker to existing forms having "javascript/change" logic bound to input values, the logic stops responding. Is there an use-case for not calling the change event when you change the value using the popup?

I found a way to instrument the colorpicker without the need for this change: so, if you think it is better to not call change ignore this PR as I can workaround this in my own code.


Add support for ReactCSSModules

On our previous projects in Webpack, we used react-css-modules. More specifically we used the babel-plugin-react-css-modules. Unfortunately this does not work as expected in Fuse for some reason or another.
The proposed solution is to build a Fuse-specific plugin to achieve optimal performance. Here's the initial requirements from the plugin:

Transform styleName='hello' into hello_myScopedNamesace_optionalHash. This may be a multi-part process, converting styleName='hello' into className={styles.hello} first.
Read an anonymous stylesheet import for use in styleName. So, if there's only one stylesheet import, like this import './test.scss', it will use this automatically.
Support multiple named import stylesheets in styleName. So, if you have two imports, we would want them both useable in a scoped fashion:

import one from './one.css'
import two from './two.css'

Usage:
styleName='one.my-style'
styleName='two.example'

Support custom scoped name, as per babel-plugin-react-css-modules's generateScopedName
Support .scss extension

For further reading, this is the plugin we are referring to: https://github.com/gajus/babel-plugin-react-css-modules
Feel free to comment with additional feature requests
Cheers,
Owen

FuseBox v4 Major Upgrade
As of today, the latest major version of FuseBox v4 is available in fuse-box@next. FuseBox has undergone a full re-write from scratch, learning from its mistakes in the previous versions.
There are a lot of improvements, speed and config wise.
Get started here
We are still working on the documentation and polishing before the major release. We are getting very close. And we need help testing.
npm install fuse-box@next

Most of the issues that I am closing have been resolved, however, if you find that your issue is still relevant in v4 don't hesitate to re-open or (better) create a new one with v4 configuration.


L moments

Codecov Report

Merging #80 (be00602) into main (61d52f9) will decrease coverage by 0.31%.
The diff coverage is 73.73%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories.


Error message stack traces have wrong line numbers

Bug report

[ ] I have checked other issues to make sure this is not a duplicate.

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:

(Delete the filler code and replace it with your own)

This is my GraphQL Schema.

type Query {
  book: Book!
}

type Book {
  id: ID!
  name: String!
  content: String!
}

This is the invoked query

book {
  id
  name
  content
}

I use these permissions

const permissions = shield({
  Query: {
    book: allow,
  },
  Book: {
    content: deny,
  },
})

This is the error I see

<insert error here>

Expected behavior
A clear and concise description of what you expected to happen.
Actual behaviour
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

Sorry, Github deleted everything I typed when I declined the related issues feature. Closing issue.


YoloV2 on Maix-II v831 board

Hi,
Thanks for uploading the files and the firmware. I was wondering how to get an example YoloV2 application running on the Maix-II V831 chip and I see you have the yolov2 param and bin files. Can you please help me?
Thanks!

Hi,
I updated to the latest firmware and transferred over the example application script at https://github.com/sipeed/MaixPy3_scripts for nn_face and I was able to test it.
Thanks for your post!


Api 1 4 0

Adding Local to visual host - pass the localization string into the custom visual

Hi @adlerav, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Avishai Adler). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;


Controllers shaking, getting disoriented

Hello fellow vr maniacs!
I made a 3 camera + 3 controller setup with riftcat. Calibrations are done and everything looks good in the "white blank room". Even in the lab for a while but after that the controllers getting lost (shaking, going out of screen) even after pressing select start just getting worst and not synced to the headset. Im using the 3rd controller as a headtrack (freepie stuff)
My question is:
Is it a common bug or Im just stupid or missing something? I do all the callibrations (all 3 controllers) in the same way (callib. mat) also tried different camera positions. Is it matter if 1 of 3 cameras cant detect a controller or all of them should see the same thing?
This is my camera setup:
http://imgur.com/E6a9vdB
SteamVR config:
http://pastebin.com/cihh60ui
Also any recommended camera position?
Using the latest PS move service, latest riftcat

Can you confirm this happens in the config tool too, or is it just in SteamVR? Or just in games? If it doesn't happen in the configtool then I'd like you to close this issue and instead post on the google group/forum. There are more people there to help with this kind of steamvr/game troubleshooting.
https://groups.google.com/forum/#!forum/psmoveservice

Okay some correction. I just rearanged the cameras and looks better now but the controllers still going out of sync with the headtrack.
EVEN if I use riftcan phone gyro only , after turning my head the controllers getting further from me.
In the configtool looks goob but I only can see 1 controller in the time.
I think there is something with the sync cuz if I move my head a bit its good (freepie) but the controllers in hand stays and getting far from them.
Is it a ps service related? A video wwould be more useful?

I'm going through and closing all troubleshooting related e-mail for tracking purposes, but feel free discussion here.
Also yet a video would be really helpful for understanding what is going on here.


Update sha sum for Cura

Thank you for the contribution. It was merged directly as 06a7f623c13863a893eb9e78d43cef3ecc0aa9c1 to keep commit history cleaner. Your contribution is still credited to you.


Old configuration directory detected

Perkeep launched for the first time. Both configuration directories are created automatically.
c:\Users\s\AppData\Local\perkeep>perkeepd.exe
2018/05/06 12:31:05 Starting perkeepd version 0.10, 2018-05-02-0cbe4d5e05; Go go1.10.2 (windows/amd64)
2018/05/06 12:31:05 Generating template config file C:\Users\s\AppData\Roaming\Perkeep\server-config.json
Error: old configuration directory detected. Not running until it's moved.
Rename C:\Users\s\AppData\Roaming\Camlistore to C:\Users\s\AppData\Roaming\Perkeep

The last line in the message tells you what to do:

Rename C:\Users\s\AppData\Roaming\Camlistore to C:\Users\s\AppData\Roaming\Perkeep

You will likely also need to modify identitySecretRing in server-config.json to reflect the new directory name.

As @willnorris said, see the last line of the error message for how to fix it.
But to clarify: is this your first time ever running Camlistore/Perkeep, or just your first time since running Perkeep since it was renamed from Camlistore? If the latter, this is expected. If the former, that's a bug and suggests we're still creating Camlistore files somewhere.

(sorry, I deleted my message realizing that I misread the original report.  It sounded like this is happening on first launch, in which case it definitely would be a bug.  I've yet to try to reproduce yet)

I didn't run Camlistore or Perkeep before. Even if I delete both empty directories manually this error occures.

Interesting! Definitely a bug then. Will try to fix tonight.

Ah, I see the bug. And it's in a Windows-only path. We ran all the tests on Windows before release, but apparently there's not a test for this? I'm surprised, since we do have an integration test that should've caught it.
I'll make sure there's test coverage for this too when I fix.

Reproduced it on my Windows machine. Fix mostly done, but will wait for new tests until I send it out.

Thanks Brad. Waiting for a new release.

Sent https://camlistore-review.googlesource.com/#/c/camlistore/+/16146 and tested on Windows, both that it cleans up a messed config, and that it starts up correctly when neither directory exists.
No automated tests yet. Coming.

Tests added.

Reopening for cherry-pick to 0.10 branch + new 0.10.1 release.

https://camlistore-review.googlesource.com/c/camlistore/+/16289


enhancement: throw error when user close login window

Coverage decreased (-5.0e-05%) to 90.308% when pulling f36b2cdbc2ee63611a894d490763be780634211c on embbnux:enhance/login-window into cf52ee2603a7758169f318766ca234f14f0266b5 on ringcentral:master.


Rename the about library

So it doesn't clash with Box's meta-info library

How about naming it the VersionInfo Library? Since it contains information related to the current version of toy?

I was considering calling it the "toy" library.
Though "ToyVersionInfo" or "toy_version_info" could work.


Improve Quickstart README for netobs lab deploy

The instructions need clarification on:

Where to run the quickstart commands.
The netobs lab deploy command will fail if cannot find the containerlab images, a streamlined process on where to collect the images and set them up need to be on the README as well.
A validation script to specify if one of the requirements is missing?

This is done


dependabot alerts

Run npm audit fix in root
Run ./node_modules/.bin/lerna exec npm install -- --package-lock-only

I'm getting changes in packages/jsapi-shim/package-lock.json and packages/log/package-lock.json when I run npm run clean; npm i. Is this something with my local config?

@vbabich No, it wasn't just your local config... it looks like running the package-lock-only command changes the package locks, but then doing a clean install changes it back. I think it's more correct doing the clean/install, as that's what devs are going to do.


SNES SAMBA config for Analogue Pocket incorrect

After setting everything up (fantastic, love the project) while waiting for my Pocket to arrive later today, I discovered the SNES ROMs aren't exposed via samba.
Following some investigation, <datadir>/retronas/analoguepocket/Assets/snes symlinks to ../../../roms/nintendo/superfamicom/msu1 as opposed to (what I assume to be correct) ../../../roms/nintendo/superfamicom
After correcting it manually, everything looks similar to other devices' layouts. (My Pocket hasn't arrived yet so I don't know if the rest is set up correctly, this is the only fault I've recognized during setup.)

thanks this should be corrected now

I assume you know how to use Linux, if not ping me again and I'll go into more detail.
Actually it's good you asked, I just reinstalled retronas via LXC instead of a full bloated VM and I had to re-apply this. Can confirm, NOT FIXED.
Short version -- This uses /data/retronas -- this is the default, make sure it matches your configuration

From a console session (remote-viewer, ssh, etc)

su - retronas
cd /data/retronas/analoguepocket/Assets/snes
rm ./common
ln -sf ../../../roms/nintendo/superfamicom ./common

something did get deleted earlier by the poster,  any fix should be unnecessary so long as you are on the testing branch until i roll it up into main


policy: fix typo

Signed-off-by: ArthurChiao<EMAIL_ADDRESS>

@aanm FYI, thanks!

Coverage decreased (-0.02%) to 36.932% when pulling 6138c1a31010932496a4f16ba755961398a75112 on ctripcloud:policy_fix_typo into e62508239f562a210d0e0ffb852dd66287c51fbc on cilium:master.


feat(@vtmn/svelte, @vtmn/react, @vtmn/vue): enhancement on the width in VtmnSkeleton

Hello,
I open this issue to discuss about the evolution of the width parameter.
Today the VtmnSkeleton can only set the width as %. This value by default are 100.
What to you think about set this parameter as % or rem or px or whatever ?
To do that, we can put this rules to avoid side effects :

An integer set on the width are always a %
User can set the unit on the width of the skeleton.

What do you think ?

Hi @Tlahey,
On my side, I am afraid that it makes the use of this component more complex.
In this case, it would be necessary to manage another property "unit" with values like "percent", "rem", "em", or "px" and why not "vw" etc.?
IMHO, I think that you need to have a container which has a specific size in the unit you want, then draw your skeleton with percent only.
@thibault-mahe what's your opinion please?
Thanks again @Tlahey for this idea.

@Tlahey seen with you in videoconference.
We will have two props: unit (default: "%") and width (default: 100).
Please, don't forget to add an enum for unit in order to tell what units we support.

Hi @Tlahey & @lauthieb, indeed as seen together the unit and width are the more effective answer for now. It will be reworked for v1 though (in particular with string values defaulting to px)


docker_additional_options is not passed to container when building with poetry

Description
We are trying to pass the following environment variable to the docker container via docker_additional_options:
docker_additional_options = ["-e", "PIP_PLATFORM=manylinux2014_aarch64"]

but as can be seen in the following output, said options is not being passed to the docker run command:
module.le_auto_stack.module.lambda_issue_layer.null_resource.archive[0] (local-exec): > docker run --rm -w /var/task -v /tmp/terraform-aws-lambda-fyvlzv2k:/var/task:z -v /home/runner/.ssh/known_hosts:/root/.ssh/known_hosts:z --entrypoint '' 1d556381b475 /bin/sh -c 'poetry config --no-interaction virtualenvs.create true && poetry config --no-interaction virtualenvs.in-project true && poetry export --format requirements.txt --output requirements.txt --with-credentials && python3.9 -m pip install --no-compile --no-deps --prefix= --target=. --requirement=requirements.txt && chown -R 1001:123 .'

[x] ✋ I have searched the open/closed issues and my issue is not listed.

Versions

Module version: 4.10.1
Terraform version:v1.3.7
Provider version(s):

+ provider registry.terraform.io/hashicorp/aws v4.56.0
+ provider registry.terraform.io/hashicorp/external v2.2.3
+ provider registry.terraform.io/hashicorp/local v2.3.0
+ provider registry.terraform.io/hashicorp/null v3.2.1

Reproduction Code
Modify the build-package example's package_dir_poetry module below
https://github.com/terraform-aws-modules/terraform-aws-lambda/blob/1171025ea1e6d40bd7f37a63d130069b68ef8d5f/examples/build-package/main.tf#L49
by adding
docker_additional_options = ["-e", "PIP_PLATFORM=manylinux2014_aarch64"]

Steps to reproduce the behavior:

run the build-package example by following the readme
https://github.com/terraform-aws-modules/terraform-aws-lambda/tree/master/examples/build-package
check the docker run command output.

Expected behavior
docker_additional_options should be passed to the docker run command.
Actual behavior
docker_additional_options is not passed to the docker run command.
Terminal Output Screenshot(s)

Additional context
The culprit is likely this line
https://github.com/terraform-aws-modules/terraform-aws-lambda/blob/1171025ea1e6d40bd7f37a63d130069b68ef8d5f/package.py#L1168
docker object is not passed to docker_run_command.

Hi @FurqanHabibi,
you mention it is not working with poetry, does that mean it works with pip?

This issue has been resolved in version 4.13.0 :tada:


Documentation... Like, actual documentation.

Digging into modding NMS, AMUMSS seems to be pretty amazing save for one thing: the amazing jumble of what we might call documentation.
Seeing as how this is the primary repository, one would think the wiki or core readme would have the initial speck of a breadcrumb trail for getting started with developing mods using LUA. However, take a quick peek at the wiki here, or the README... It's a lot to take in, of course.
Thankfully there is a link to Discord- that actually links to a Nexus page, that then links to a Discord, that is a pretty awesome hangout for NMS community denizens... but lacks any to-the-point developer reference. Grumpy 40 year olds wearing an arrogant script kiddie costume, that make annoyed noises at anyone asking about modding don't count as a developer reference.
This repo is years old, so it's baffling that there isn't a hello world and roadmap for developers to follow. Here we have some scripts:
https://github.com/MetaIdea/nms-amumss-lua-mod-script-collection
That's pretty much the gold pile I've been able to find so far. Where are the best practices? How everything works? Is there any sort of template (that doesn't have a caveat of "don't use this!") kicking around?
When this sort of developer energy is the hidden knowledge cliche, it stunts the growth of quality and creativity. Thankfully we can be stubborn and fumble around in the dark until we make something work, but that doesn't need to be so.

Quick how to get started/hello world
Best practices
Common pitfalls
Under the hood
Contribution needs/clear roadmap

I hope I just haven't found it yet, but if it's taken this long to come up empty handed, something is lacking. Other links related to AMUMSS for reference of what developers are working with:
https://www.nexusmods.com/nomanssky/mods/2626
https://stepmodifications.org/wiki/NoMansSky:AMUMSS_How-tos
https://stepmodifications.org/wiki/NoMansSky:AMUMSS_Guide/ReadMe
https://stepmodifications.org/wiki/NoMansSky:AMUMSS_Guide

I am sorry that you find all this confusing.
I hope you come to the Discord and ask questions.
https://discord.gg/HFjnmnwe67
This here is just a place to house releases and updates to AMUMSS (because Nexus was always blocking for AV scanning and auto-updating was not possible) AND send you where people with knowledge about NMS and AMUMSS are, nothing else.
I corrected the links, I hope.

Quick how to get started/hello world

Once installed, you get a link to _README-AMUMSS_Script_Rules which is the bible for all AMUMSS commands

Best practices

There are a lot of examples scripts and many ways to do the same thing, so explore and read

Common pitfalls

After the installation hurdle :)
The most common pitfalls is that people do not read instructions

Under the hood

Not sure what you mean by that, everything is open source

Contribution needs/clear roadmap

Contributions are welcome.  I clearly welcome suggestions.  Discord room is the place to do that.
Roadmap: While maintaining backward compatibility as must as possible, add new features from suggestions and perceived needs

Awesome. That Discord is a different spot than what was linked to in other places, and is certainly more developer-focused.
"Under the hood" or "behind the curtain" is a phrase that means... well, talking about how the technicals work. Commonly a "this happens here, this thing does that, this happens there, etcetera etcetera". Under the hood of a vehicle. Explaining how the engine runs. It's a phrase that's been around for longer than I've been alive, and that's a hot minute.
That _README-AMUMSS_Script_Rules file is excellent reference, but I wouldn't call it a bible. It's more akin to an alchemists reference, expecting that the reader is already a master alchemist. What is missing, is the apprentice, journeyman, or hobbyist documentation that leads up to that level of reference.
I have the C++ primer sitting on a bookshelf next to me - it's about 1,000 pages. C++ is an advanced compiled language, and this 1000 page book is just the primer... Even that has a beginner hand-holding section to get readers on their way to the more advanced inner dark magick.
My point is, I think we (meaning the poor naïve beginners) modders wouldn't complain if there was a starting point that made a logical progression into the current level of documentation and resources.  Essentially there is a disconnect.
Totally get it if you don't have time, seeing as how you're focused on AMUMSS, and documentation and reference is a heck of a task in it's own right. Piecing together a pathway of getting started to more advanced modding should be possible between the information on the Discord and the script rules (and other sparse) documentation. Painful and clumsy, but that's what we developers should be equipped to handle!
To make it clear, I don't personally find this all confusing, and I didn't fail to RTFM. This level of documentation on a tool TJW (that just works) isn't a foreign experience. Having a basic, short and to-the-point tutorial on getting a basic mod up and running would be awesome. This is not beginner friendly.
Keep up the great work! Don't take anything I'm firing off here as harsh criticism. It's more of a dialogue than anything, and meant in a friendly and nerdy/technical tone.

Derjyn
With AMUMSS we have to take into mind that when it was made quite a few years ago , im going to assume it was made in such a way that someone with no exp in lua or possibly any form of programming exp - would be able to use it as it gave simple references of what it used - wasnt really any lua code in the scripts. Come forward to the present - quite a lot of things have been improved upon and slight changes made to the non lua code we can use , AMUMSS as it states will also accept lua code in the script as well and this is where things can seem to go from short and easy to omg i have to learn lua now to use it.
Theres a lot of nms modders who have learnt programming and know lua and thus use lua code etc . I tend to look at their scripts and their lua code and work out what its doing etc - plus i can refer to lua manual and script rules etc . Im no programmer and im slowly learning python which helps as i can recognise similarites between the 2 languages.
yes i will agree that even tho theres examples etc , some stuff becomes not beginner friendly as the example doesnt give enough details .
I may suggest on discord - if theres any authors who use lua code could they provide some reference scripts to explain whats doing what etc


Issue157 bug in box.setdefault

when using box.setdefault with dict, it returned a 'detached' object that did not reflect changes on the original box
i.e. if using b = a.setdefault('x', {}), updated to 'b' did not reflect to 'a'
simple fix.
added test.
this is my 1st contribution, so if something is missing, please let me know

Hi @NoamGraetz2 thanks for filing the bug and pull request!
I confirmed the tests are just not working because of code in dev and your additions are good, merging to develop and will have a release hopefully later today.
Thanks!


Custom map names convert

Have CK3 counties with player overridden names transfer to their associated EU4 provinces in a sensible manner.
Also patch some typos and such in tradition_ideas.txt.

If it actually works, then it could and should be implemented to the rest of the converters.


segfault when allocating arrays in multithreaded program

I wrote a very complex project based on dask. The dask operations are numba kernels interleaved with basic dask functions. My numba kernels all look more or less like this:
@jit(nopython=True, nogil=True, cache=True)
def kernel(input):
    output = numpy.empty_like(input)
    # skip: fill output
    return output

The dask arrays are chunked in a way that the same numba kernel will typically be applied 8 times in parallel (once per thread) to different chunks of the same dask array.
All kernels pass all unit tests, and even the end-to-end dask tree resolves fine as long as you have tiny data involved (e.g. 1 chunk). However, as soon as I move to production-scale data (8+ chunks per dask array and 8 threads), the Python interpreter starts randomly crashing with segmentation faults. Once it also crashed with a double free() error.
Things that make the issue disappear:

Commenting out the @jit decorators
Limiting the number of threads to 1
Rewriting all kernels as follows:

def kernel(input):
    output = numpy.empty_like(input)
    kernel2(input, output)
    return output

@jit(nopython=True, nogil=True, cache=True)
def kernel2(input, output):
    # skip: fill output

Alas I cannot consistently reproduce the bug, and I am not 100% sure yet of fix n.3 above.

Running numba-0.29 and numpy-1.11.2 on Anaconda3 64 bit (latest) on Ubuntu.

Speculating based on similar sounding bugs in the past: This might be a race condition in LLVM compilation in multiple threads when unpickling? @sklam: Ideas how we could check that?

Or it is a threading bug in the memory management in the Numba runtime.

Can you run your workload with the PYTHONFAULTHANDLER environment variable set? This will dump the tracebacks of Python thread on a crash.
Also, please enable core dumps with ulimit -c unlimited. Then you'll be able to use gdb on the core dump file produced by the crash.
The core dump file will probably be saved in /tmp. You can check this by looking at /proc/sys/kernel/core_pattern.

Could this be related to caching?  Also, which dask scheduler is being used?

Hello, sorry for the long silence.
I'm afraid I rewrote all numba functions in cython now - a decision mostly driven by project deadlines.
I still have the old numba logic at hand, so eventually I'll spend some time trying to reproduce the issue again - just I'm afraid I don't have time right now.
@sklam I'm using dask.threaded.get.

I tried to reproduce using a heavily multi-threaded allocation workload, but failed. It may be that the original code is slightly incorrect and writes past array bounds, which could overwrite allocation-related structures in certain cases. Without a reproducer, it is difficult to investigate further.

Antoine,
My code being wrong was of course the first thing I checked. However if I
removed @jit, everything else being identical (including data) , I was not
getting any exceptions such as IndexError.
On 15 Feb 2017 10:55, "Antoine Pitrou"<EMAIL_ADDRESS>wrote:

I tried to reproduce using a heavily multi-threaded allocation workload,
but failed. It may be that the original code is slightly incorrect and
writes past array bounds, which could overwrite allocation-related
structures in certain cases. Without a reproducer, it is difficult to
investigate further.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/numba/numba/issues/2213#issuecomment-279980099, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AF7OMDiNmwdj160ufOH2uOY1psH5vkr_ks5rctm8gaJpZM4K_l2I
.

@crusaderky, thanks for the answer. It would be really nice if you could devise some reproducer for us.

We received a similar report for this problem.  We are able to trace it to a problem with race condition during concurrent compilation with caching enabled.   The array allocation is likely just a red herring that increases the compilation time, making it more likely to cause a race condition.


Add release-drafter API configuration to enable testing in #987

Fixes

Necessary for completing the testing in https://github.com/WordPress/openverse/pull/987
Description

Adds the provisional api release-drafter configuration to main so that the release-drafter action can use it in the linked PR.
Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

I've gone ahead and merged this and bypassed the checks and required reviews. I hope that's okay. It's a benign file and the other PR is critical. I'd like to have it ready for review by the time other folks are around for their Friday.


Won't open slack workspace (forces to launch in web browser)

When I open slack and type in my email and password it shows all my work spaces but then it shows a button to "Launch" that work space which opens it in a web browser which then I can reject opening it in the app.
How can I have slack load inside of ferdi?

I don't think this would be considered a bug. Just have to find a way around slack pushing you to open in a web browser. I guess it doesn't see ferdi as a web browser?...

Just found the same problem. Oddly enough one Slack worked fine (used Google login) and another slack pushed me to the desktop app, then to Chrome (using a username / password). I don't know if its related to the authentication method or what, but I can't get that Slack to stay in Ferdi.

Still facing this issue. Anyone else? Is there a workaround that I am not aware of?

I woke up the next morning and it randomly fixed itself. Not sure how or why.

nope, i confirm it still happens to me. Strangely enough, this persistently
happens only to some of my slack workspaces.
On Mon, Dec 14, 2020 at 3:40 AM azaidrahman<EMAIL_ADDRESS>wrote:

I woke up the next morning and it randomly fixed itself. Not sure how or
why.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/getferdi/ferdi/issues/1091#issuecomment-744130367,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACAMOF3DETFHLSS5BIDSNZDSUV3I5ANCNFSM4UIR2DNQ
.

--
Best regards / Mit freundlichen Grüßen,
Vladislav (Vlad) Ponomarev

Same problem here, one slack channel works but a second slack channel is not working.

Hey,
I've fixed It by replacing
"serviceURL": "https://{teamId}.slack.com",
with
"serviceURL": "https://app.slack.com/client/{teamId}",
in ~/.config/Ferdi/recipes/slack/package.json.
And changing team name

with team id taken form slack in web browser

It looks like an issue with redirecting to me.

Public slack instance that seems to have this issue: https://slack.vyos.io/
(i tried the workaround, it makes the workspace successfully load, but still have to re-auth everytime i restart ferdi)

Public slack instance that seems to have this issue: https://slack.vyos.io/
(i tried the workaround, it makes the workspace successfully load, but still have to re-auth everytime i restart ferdi)

same here, the fix doesn't work for me

same here, the fix doesn't work for me

Hey,
I've fixed It by replacing
"serviceURL": "https://{teamId}.slack.com",
with
"serviceURL": "https://app.slack.com/client/{teamId}",
in ~/.config/Ferdi/recipes/slack/package.json.
And changing team name

with team id taken form slack in web browser

It looks like an issue with redirecting to me.

This workaround works for me, but we should insist that the teamId is not the first part of the workspace link <workspaceName>.slack.com.
What you need to do:

Go to <workspaceName>.slack.com in your browser.
After login, the url resolves to https://app.slack.com/client/<teamId>/<clientId>
You take teamId in this link, which is different than workspaceName
Set it in the Team field of the settings (not the Name field, which is just to give a name to the service)

Hey,
I've fixed It by replacing
"serviceURL": "https://{teamId}.slack.com",
with
"serviceURL": "https://app.slack.com/client/{teamId}",
in ~/.config/Ferdi/recipes/slack/package.json.
And changing team name

with team id taken form slack in web browser

It looks like an issue with redirecting to me.

This workaround works for me, but we should insist that the teamId is not the first part of the workspace link <workspaceName>.slack.com.
What you need to do:

Go to <workspaceName>.slack.com in your browser.
After login, the url resolves to https://app.slack.com/client/<teamId>/<clientId>
You take teamId in this link, which is different than workspaceName
Set it in the Team field of the settings (not the Name field, which is just to give a name to the service)

Using the teamID got me further than before, but because I have two workspaces for the same email, after I log in it asks me which workspace I'd like to go to, and clicking that link will open in the browser instead of in Ferdi still.

Applying the fixes mentioned in this thread I just get "There's been a glitch"

Following up to say you can right click the link and say "open in Ferdi" which stops it from launching in the web browser. I did use the teamID item mentioned above so can't verify that it will work from the start, but that solved it for me!

I could solve it by forcing ferdi to reload all views.  Tuesday, 23 February 2021, 00:05AM +01:00 from sizarah<EMAIL_ADDRESS>:

Following up to say you can right click the link and say "open in Ferdi" which stops it from launching in the web browser. I did use the teamID item mentioned above so can't verify that it will work from the start, but that solved it for me!
—
You are receiving this because you commented.
Reply to this email directly,  view it on GitHub , or  unsubscribe .

Hey,
I've fixed It by replacing
"serviceURL": "https://{teamId}.slack.com",
with
"serviceURL": "https://app.slack.com/client/{teamId}",
in ~/.config/Ferdi/recipes/slack/package.json.
And changing team name

with team id taken form slack in web browser

It looks like an issue with redirecting to me.

Quick note for MacOS users: the path to the package.json is at
~/Library/Application Support/Ferdi/recipes/slack/package.json

It was working for the first 60 seconds, now I am seeing this.
Even after the change on serviceURL.

With the latest version of Ferdi and the latest recipes, this should no longer be the case.
Can you please try to upgrade to the nightlies available here AND then upgrading the recipes by following the steps outlined here?
If you are on macos or linux, I have shared some newer builds of the latest source code here

From my side this issue can be closed.

Closing since the new recipes seem to work.

I still have this issue with Ferdi 5.6.3 (Flatpak on Ubuntu) with an Slack Enterprise Channel invitation.
Interestingly, this seems to have worked with Ferdi 5.6.3-nightly.3, which I'm still running in parallel (which I'm transitioning from .deb to Flatpak). So, is this maybe a regression?

nothing was touched afaik in either the service-specific code or in the main code. imo, its not a regression on our side.

 I managed to make it working for me. I will share my settings so you can try to use the same so see it if ti works for you, later when I reach my computer. Cool?

 I managed to make it working for me. I will share my settings so you can try to use the same so see it if ti works for you, later when I reach my computer. Cool?

Sure! Please share it so that I can try it.

SAME issue here.
Windows 11
Ferdi v5.5.0 x64

I also hacked the inspect element function to force Ferdi to link directly to the app, and this is what I got:

This would definitely explain why it refuses to use the previous "open link in Ferdi" workarpound.

Oh, my bad. Got busy and forgot this. This is my package.json that is working
{
  "id": "slack",
  "name": "Slack",
  "version": "1.3.2",
  "license": "MIT",
  "config": {
    "serviceURL": "https://app.slack.com/client/",
    "urlInputPrefix": "xxxxxxxxx",
    "urlInputSuffix": "https://app.slack.com/client/",
    "hasTeamId": true,
    "hasNotificationSound": true,
    "hasIndirectMessages": true,
    "hasCustomUrl": true
  }
}

Oh, my bad. Got busy and forgot this. This is my package.json that is working
{
  "id": "slack",
  "name": "Slack",
  "version": "1.3.2",
  "license": "MIT",
  "config": {
    "serviceURL": "https://app.slack.com/client/",
    "urlInputPrefix": "xxxxxxxxx",
    "urlInputSuffix": "https://app.slack.com/client/",
    "hasTeamId": true,
    "hasNotificationSound": true,
    "hasIndirectMessages": true,
    "hasCustomUrl": true
  }
}

Tried this and I still receive the same "Please update your browser or use the Slack app" error message as posted above.  BUT at least it doesn't endlessly attempt to open the APP!
I will try the nightlies and see if that helps.

Oh. Don't do this, it works. I was struggling as you. Try a bit more.
Remove your configs folder. Start from scratch one more time. Ferdi is way
better than the alternatives.
On Tue, Nov 23, 2021, 18:34 vincenzo cerbone @.***>
wrote:

I tried @leoheck https://github.com/leoheck conf proposal (replacing
"xxxxxxxxx" with teamId) as well as other combinations but I had not luck.
Obviously before every test I made, I ensured my settings were effectively
reloaded.
I'm giving up with Ferdi and keep using rambox, I think.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/getferdi/ferdi/issues/1091#issuecomment-977187666,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJX7YFILXIXVBSSNMOBCVLUNQCFJANCNFSM4UIR2DNQ
.

I'm having the same problem as @PwrSrg.
By applying the serviceURL to
"serviceURL": "https://app.slack.com/client/{teamId}",

I stopped seeing the cyclic "click here to launch in browser" and instead saw "There's been a glitch".
By using an alphanumeric client id from the web URL as team id, I resolved the "There's been a glitch" and I now see the "Please update your browser or use the Slack app" message:

How do I resolve that?

Please, read my comment for Nov 23. It works it is just that your ferdi may have wrong/old configs. It works. I am running it with a private url, it took time to make it work. I just don't have an algorithm for you to follow, unfortunately.

@leoheck please define "it took time to make it work". maybe it's because of slack service version? I have 1.3.4 while it seems you are using 1.3.2. How can I perform a downgrade only for that?

this version triggers the change. use my settings, update it with your custom details (team, url). increase the version number to 1.3.5. close everything and open it again. it will read the config only if version number changes (and maybe it has to increase).

ok, seems "downgrading" to 1.3.2 on package.json did the trick. Unfortunately "reloading" the service overwrites the changes and sets them to new version 1.3.4 with default values! However, replacing the configuration again with the working one and setting 1.3.4 now seems to keep working even if reloading the service. Finger crossing...
It surely has to be enhanced because this behavior in setting up the configuration really drives people crazy.
Anyway, thanks really really very much for your suggestions and support!
I'll start using Ferdi everyday and evaluating (and sponsor it) for a complete Rambox replacement.
Thanks again.

Hey, I am just an end-user as you. But the world would be a nicer place if we can support each other. Supporting Ferdi would make it good for me too. Thank you dude. Hope it continue working tomorrow. Fingers crossed.

Hey, @vraravam what's up?
It looks like this versioning thing about recipes is an important thing when people are messing around with the config files.
Recipe files could have a comment like this: "Ferdi upgrade settings only when a Recipe version changes. In this case, change it to apply new settings." Actually, it would be better if Ferdi could upgrade recipes using the last time the file was modified instead of the version number.


Add cards component

What
The Find & View team created a local cards component for the homepage in frontend.
The component renders cards, each with a link and a description, as an unordered list element and visually presents it as a grid. It doesn't use the GOV.UK Design System grid but sets its own so that it can separately target desktop, tablet and mobile columns.
This PR:

Ports the code over from  frontend
Updates markup to follow BEM conventions
Adds print styles
Adds automated template tests
Allow the grid to be overridden to use two columns on desktop (this variant is currently used in the government activity sections of the homepage)
Allows heading and subheading levels can be overridden
Throws an error if any of the links are missing a href
Adds tracking attributes to the component card links

Why
The component is currently used in the list of topics and government activity sections on the homepage.
We want to reuse it for Mainstream Browse pages so it needs to be made available to other apps via the gem.
Things to note

.component-guide-preview adds some padding which could make the cards component spacing seem slightly misaligned when comparing with the component on the homepage. I ended up temporarily removing the preview padding when I was checking the component spacing to get around this.
At the moment the get_heading_level helper is used to set the main heading level for the component. The ability to adjust the subheading level is manually configured in the template. It might be good to look at whether the helper should in fact have the ability to set more than one heading level for the same template, in which case the different heading levels could be linked to help ensure the correct heading level hierarchy.

Tested with:
Windows

[x] Internet Explorer 11	compliant
[x]  	Edge   97	compliant
[x]  	Google Chrome (latest versions)	compliant
[x]  	Mozilla Firefox (latest versions)	compliant

The chevron icon doesn't render correctly on IE8 but we've decided to leave it as is as it's still usable there.
macOS

[x] Safari 12 & 14	compliant
[x]  	Google Chrome (latest versions)	compliant
[x]  	Mozilla Firefox (latest versions)	compliant, including when changing colours

iOS

[x] Safari for iOS 15 	compliant
[x]  	Google Chrome iOS 15 (latest versions)	compliant

Android

[x] Google Chrome (latest versions)	compliant
[x]  	Samsung Internet (latest versions)	compliant

Assistive tech to test with

[x] JAWS (desktop screen reader)	18 or later	Chrome (latest version)
[x] NVDA (desktop screen reader)	Latest	Firefox (latest version)
[ ] VoiceOver on iOS (mobile screen reader)	Latest	Safari (version 12 or later) - Awaiting tests to pass so that I can use the preview to test
[ ] TalkBack (mobile screen reader)	Latest	Chrome (latest version) - Awaiting tests to pass so that I can use the preview to test
[x] Windows Magnifier or Apple Zoom (screen magnifiers)
[ ] Dragon (speech recognition)	15 or later	Internet Explorer 11

Other approaches that we could use:

drop the IE compatible grid and provide an alternative layout, as it's the IE variant of CSS Grid that's inflexible; this would mean that the grid is now flexible and reusable - but would mean a different layout for IE.
calculate the position of each element in the grid (in a similar manner to the grid mixin) in the template and then add that as inline CSS in a style element. If the stylesheet fails to load, the inline CSS will be ignored as the parent element won't be set to display: grid. This avoids sending every permutation of the grid layout to every user, regardless of whether it's needed
put the IE specific grid layout styles in an IE specific stylesheet, so only the browsers that need it will download the extra CSS.

I've made the grid more flexible by setting the grid properties in the component (instead of using the columns mixin which polyfills the grid for IE11) and using grid-template-rows: auto; which calculates the number of rows required. The component now renders a single column on desktop for browsers that don't support css grid (primarily IE11) but constraints to 50% width, as recommended by our designer, to improve usability (especially for users of screen magnifiers).


Upgrade to latest Flutter

Upgrade from fresh to get latest version of Flutter + libs upgrade
added logo in iOs too (needs to be checked...)
Linked to #1
Tested with
[✓] Flutter (Channel master, v1.13.6-pre.38, on Mac OS X 10.15.2 19C57, locale fr)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 11.3)
[✓] Android Studio (version 3.5)
[✓] VS Code (version 1.41.1)

Thank you! I will review it and merge as soon as possible.

LGTM, merging it now.
There is a few minor things to fix (like application name and version) but will do that in different PR.


[SR-6978] Implement support for simultaneous vX.X.X and X.X.X style tags

@swift-ci please smoke test

I'm not sure how I should test for the warning that's given when duplicate tags point to different revisions. Should I read the standard output for the warning?

Ok, I think I've addressed all of the problems

I believe I've made the appropriate changes

Looks good to me, except for the one comment.

Ok, I've fixed the closure style and created a new test. I'm not very familiar with the test functions though so I borrowed a lot from the existing testVprefixVersions() test.

@swift-ci please smoke test

Thanks!

Please go ahead and mark the JIRA as resolved.

Thank you so much! Will do.


Every second battery status is "low"

Context
SensorBasic on TTGO LaRo OLED
Describe the bug
It seems that the battery status is being decoded incorrectly for some stations:
BRESSER 5-in-1 7002510/7002511/7002512/7002513
Id: [19C01B29] Typ: [1] Ch: [0] St: [0] Bat: [OK ] RSSI: [-106.0dBm] Temp: [ 19.2C] Hum: [ 85%] Wmax: [ 0.2m/s] Wavg: [ 0.2m/s] Wdir: [158.0deg] Rain: [-----.-mm] UVidx: [0.0] Light: [0.0klx]
Id: [19C01B29] Typ: [1] Ch: [0] St: [0] Bat: [Low] RSSI: [-109.0dBm] Temp: [---.-C] Hum: [---%] Wmax: [ 0.4m/s] Wavg: [ 0.4m/s] Wdir: [158.0deg] Rain: [   28.0mm] UVidx: [--.-] Light: [--.-klx]
Id: [19C01B29] Typ: [1] Ch: [0] St: [0] Bat: [OK ] RSSI: [-110.5dBm] Temp: [ 19.2C] Hum: [ 85%] Wmax: [ 0.4m/s] Wavg: [ 0.4m/s] Wdir: [158.0deg] Rain: [-----.-mm] UVidx: [0.0] Light: [--.-klx]
Id: [19C01B29] Typ: [1] Ch: [0] St: [0] Bat: [Low] RSSI: [-107.0dBm] Temp: [---.-C] Hum: [---%] Wmax: [ 0.7m/s] Wavg: [ 0.7m/s] Wdir: [158.0deg] Rain: [   28.0mm] UVidx: [--.-] Light: [--.-klx]
It works for others:
Bresser 7002520
Id: [ 2868402] Typ: [1] Ch: [0] St: [0] Bat: [OK ] RSSI: [-107.0dBm] Temp: [---.-C] Hum: [---%] Wmax: [ 0.0m/s] Wavg: [ 0.0m/s] Wdir: [292.0deg] Rain: [  100.4mm] UVidx: [--.-] Light: [--.-klx]
Id: [ 2868402] Typ: [1] Ch: [0] St: [0] Bat: [OK ] RSSI: [-110.0dBm] Temp: [ 23.5C] Hum: [ 61%] Wmax: [ 0.0m/s] Wavg: [ 0.0m/s] Wdir: [292.0deg] Rain: [-----.-mm] UVidx: [44.4] Light: [--.-klx]
Id: [ 2868402] Typ: [1] Ch: [0] St: [0] Bat: [OK ] RSSI: [-108.0dBm] Temp: [---.-C] Hum: [---%] Wmax: [ 0.0m/s] Wavg: [ 0.0m/s] Wdir: [292.0deg] Rain: [  100.4mm] UVidx: [--.-] Light: [--.-klx]
Id: [ 2868402] Typ: [1] Ch: [0] St: [0] Bat: [OK ] RSSI: [-107.0dBm] Temp: [ 23.5C] Hum: [ 61%] Wmax: [ 0.0m/s] Wavg: [ 0.0m/s] Wdir: [292.0deg] Rain: [-----.-mm] UVidx: [44.4] Light: [--.-klx]
Id: [ 2868402] Typ: [1] Ch: [0] St: [0] Bat: [OK ] RSSI: [-107.0dBm] Temp: [---.-C] Hum: [---%] Wmax: [ 0.0m/s] Wavg: [ 0.0m/s] Wdir: [292.0deg] Rain: [  100.4mm] UVidx: [--.-] Light: [--.-klx]
Expected behavior
The output of the battery status should work for all stations

BresserWeatherSensorBasic just shows each message as it is received from a sensor by using the function https://github.com/matthias-bs/BresserWeatherSensorReceiver/blob/80b5c59f86fb8e14af1defdc9001bd6e145d6311/src/WeatherSensor.cpp#L319
Sensors which using the 6-in-1 protocol are actually transmitting two kind of messages alternately:

Temperature, Humidity, Wind and Battery status
Wind and Rain

All other protocols use a single type of message which contains a complete set of data.
Other examples are using the function
https://github.com/matthias-bs/BresserWeatherSensorReceiver/blob/80b5c59f86fb8e14af1defdc9001bd6e145d6311/src/WeatherSensor.cpp#L245
which buffers and combines messages from the 6-in-1 protocol until a complete set of data (with some configuration options regarding completeness, see BresserWeatherSensorOptions) is available.
So you actually see the peculiarity 6-in-1 protocol with the first sensor and the straightforward decoding with the second one.
It's not a bug in the decoder, but this behaviour could probably described in more details in the documentation.

See #185

Added note to README.md


Library not loaded/image not found

After recently upgrading ffmpeg, I just started to receive this error when trying to run RAWcooked.
Track 1:                      les/s
eyes2018JacksonR2_%08d.dpx
(00086400 --> 00118031)
DPX/Raw/RGB/10bit/FilledA/BE
dyld: Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
Referenced from: /usr/local/bin/ffmpeg
Reason: image not found
I'm trying to figure out what I've done wrong.
Thanks!

dyld: Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib

Looks like something independent from RAWcooked.
Please test FFmpeg alone, e.g. ffmpeg  -f lavfi -i testsrc -t 1 -f null - (it creates a fake stream and send it to nowhere).
If you get the same error, that demonstrates that the issue is not in RAWcooked, and in that case the issue should be reported to the person who provided to you this FFmpeg package (which is weird: installed in /usr/local/bin, with a link to /usr/local/opt, it seems a very custom version; I would advise to remove it completely and reinstall the version provided by your distro).

Jerome,
I ran the test, and you were correct.  It was a bad installation of FFmpeg.
I removed it, then reinstalled it with Reto Kromer's instructions. RAWcooked is now running without any problems.
Thanks!

@jimhone Probably you updated libssl (possibly via another piece of software). Then ffmpeg needs to be reinstalled. Glad the instructions were helpful.

Can this one be closed?

Yes. Thanks for your help!
From: Reto Kromer<EMAIL_ADDRESS>Reply-To: MediaArea/RAWcooked<EMAIL_ADDRESS>Date: Thursday, April 9, 2020 at 4:41 AM
To: MediaArea/RAWcooked<EMAIL_ADDRESS>Cc: "Hone, James"<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MediaArea/RAWcooked] Library not loaded/image not found (#275)
Can this one be closed?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MediaArea/RAWcooked/issues/275#issuecomment-611434711, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACGFZHFUBCFCAL6FIDKEH6DRLWJ2ZANCNFSM4J2TX6SQ.


Consume web services in R in xml + invoking an specific component of the WS

Hi!
0
I would like to consume a webservice in R Studio, made in XML. The created web service has three components: 1. XXX, 2. YYY and 3. ZZZ
Within each component is the data that is needed.
Currently I am using the httr library, and I can do, let's say, the connection with the data well since I get the status 200.
However, I am not getting the correct data since I am not sure how to correctly specify the correct component (for example, XXX).
The code:
suppressWarnings(library(httr))
suppressWarnings(library(XML))
url <-"https://thelink.com"
username <- "FFF"
password <- "EEE"
MH_1 <- GET(url, authenticate(username,password, type = "basic"))
MH_1
content(MH_1)
rawToChar(MH_1$content)
I don't know how to specify the component (for example XXX) of the WS with the GET() function... could someone please help me. Also, is there another way to consume a WS in R that I could use in this case? ... under the above specifications ...
Thanks!

Thanks for contacting Microsoft. Unfortunately, this area is primarily for reporting documentation bugs and issues, so I'm afraid we won't be able to help with this. To get help with what you're trying to do I suggest you go to Microsoft Q&A and see if you can find an answer there.

#please-close


Bump python version in linter configs

I've got multiple mypy errors after applying this, not sure if these errors are related:
~ mypy --version
mypy 0.782
~ python -m mypy .
edb/repl/table.py:22:1: error: Incompatible import of "Literal" (imported name has type "typing_extensions._SpecialForm", local name has type "typing._SpecialForm")
edb/common/struct.py:22:1: error: Incompatible import of "Final" (imported name has type "typing_extensions._SpecialForm", local name has type "typing._SpecialForm")
edb/schema/objects.py:22:1: error: Incompatible import of "Final" (imported name has type "typing_extensions._SpecialForm", local name has type "typing._SpecialForm")
edb/schema/objects.py:53: error: unused 'type: ignore' comment
edb/schema/schema.py:73:15: error: Variable "edb.schema.schema.Refs_T" is not valid as a type
edb/schema/schema.py:73:15: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases
edb/schema/schema.py:100:27: error: Variable "edb.schema.schema.Refs_T" is not valid as a type
edb/schema/schema.py:100:27: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases
edb/schema/schema.py:348:10: error: Variable "edb.schema.schema.Refs_T" is not valid as a type
edb/schema/schema.py:348:10: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases
edb/schema/schema.py:354:14: error: Refs_T? has no attribute "mutate"
edb/schema/schema.py:436:13: error: Returning Any from function declared to return Refs_T?
edb/schema/schema.py:470: error: unused 'type: ignore' comment
edb/schema/schema.py:496: error: unused 'type: ignore' comment
edb/schema/schema.py:647:20: error: Value of type Refs_T? is not indexable
edb/schema/schema.py:683:20: error: Value of type Refs_T? is not indexable
edb/schema/schema.py:774:9: error: Returning Any from function declared to return "Optional[Object]"
edb/schema/schema.py:1007: error: unused 'type: ignore' comment
edb/schema/schema.py:1031:9: error: Return value expected
edb/schema/reflection/reader.py:196:10: error: Refs_T? has no attribute "mutate"
Found 17 errors in 5 files (checked 378 source files)

Type errors are from the newer version of mypy. EdgeDB is currently built with 0.770.

0.770 seem to return same errors:
~ python -m mypy --version
mypy 0.770
~ rm -rf .mypy_cache
~ python -m mypy .
edb/repl/table.py:22:1: error: Incompatible import of "Literal" (imported name has type "typing_extensions._SpecialForm", local name has type "typing._SpecialForm")
edb/common/struct.py:22:1: error: Incompatible import of "Final" (imported name has type "typing_extensions._SpecialForm", local name has type "typing._SpecialForm")
edb/schema/objects.py:22:1: error: Incompatible import of "Final" (imported name has type "typing_extensions._SpecialForm", local name has type "typing._SpecialForm")
edb/schema/objects.py:53: error: unused 'type: ignore' comment
edb/schema/schema.py:73:15: error: Variable "edb.schema.schema.Refs_T" is not valid as a type
edb/schema/schema.py:73:15: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases
edb/schema/schema.py:100:27: error: Variable "edb.schema.schema.Refs_T" is not valid as a type
edb/schema/schema.py:100:27: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases
edb/schema/schema.py:348:10: error: Variable "edb.schema.schema.Refs_T" is not valid as a type
edb/schema/schema.py:348:10: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases
edb/schema/schema.py:354:14: error: Refs_T? has no attribute "mutate"
edb/schema/schema.py:436:13: error: Returning Any from function declared to return Refs_T?
edb/schema/schema.py:470: error: unused 'type: ignore' comment
edb/schema/schema.py:496: error: unused 'type: ignore' comment
edb/schema/schema.py:647:20: error: Value of type Refs_T? is not indexable
edb/schema/schema.py:683:20: error: Value of type Refs_T? is not indexable
edb/schema/schema.py:774:9: error: Returning Any from function declared to return "Optional[Object]"
edb/schema/schema.py:1007: error: unused 'type: ignore' comment
edb/schema/schema.py:1031:9: error: Return value expected
edb/schema/reflection/reader.py:196:10: error: Refs_T? has no attribute "mutate"
Found 17 errors in 5 files (checked 378 source files)

Thanks @Fogapod!


Would like to get SSLSession from WebSocket on server to examine client certificates

I am using "TLS Client Certificates" when connecting to my WSS server.  Everything works great with my own TrustManager supplied via a SSLContext set to require client authentication.
However i can find no formal mechanism to access the SSLSession from the WebSocket/WebSocketImpl. The WebSocketImpl has a channel which is implemented by the SSLSocketChannel that has an SSLEngine which has a getSession() method.  Could you please add methods to expose the SSLSession from which I can get the peer certificates.
Obviously this is valid only for TLS connections.
Thanks for consideration!
Doyle

Hello @doyledavidson,
could you do me the favor and provide an repository with these client certificates working so I can figure out a good way on how to implement your request?
Thank you very much!
Best regards,
Marcel

Attached (I hope this works) is a zip with:
Working client and server source code with TLS support classes.  Cert and trust key stores (.pkcf12 files) and a Windows batch file to recreate it it needed.
The client and server use the same key store for simplicity of demo.
I will be on vacation for the next week starting tomorrow, so please understand if I don't reply for a while.
Doyle
nate_client_cert.zip.zip

To be clear, if you put a break point in the onOpen() method in SimpleServer.java, I want to get to:
(WebSocket)conn->(SSLSocketChannel) channel->(SSLEngine)sslEngine->sess (SSLSession).
So something like a method on WebSocket interface:
SSLSession getSSLSession(); // may return null if not using TLS
Thanks again for consideration!
Doyle

Hello @doyledavidson,
thank you very much for your example.
Please check out #893 with my proposed solution!
Best regards,
Marcel

That looks good! I would just change the IllegalArgumentException to IllegalStateException in the getSSLSession() impl.
Thanks for looking into this!

@doyledavidson thank you for taking a look at my proposal. Changed it to IllegalStateException

That looks good! I would just change the IllegalArgumentException to IllegalStateException in the getSSLSession() impl.
Thanks for looking into this!

dfdf


Apostrophes in VB example comments affecting syntax highlighting

The apostrophes in the VB example code comments on this page appear to be throwing off the syntax highlighting colors (since VB uses apostrophe for comment)

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

ID: e33df7ee-9a59-acb5-e036-fa634d98d261
Version Independent ID: b70e8969-67b3-76bf-225c-4a2435a988bf
Content: Structure Statement - Visual Basic
Content Source: docs/visual-basic/language-reference/statements/structure-statement.md
Product: dotnet-visualbasic
GitHub Login: @KathleenDollard
Microsoft Alias: kdollard

I think this was fixed in highlight.js (which docs site depends on): https://github.com/highlightjs/highlight.js/issues/2875. The fork used in the site (which I believe is developed in https://github.com/DuncanmaMSFT/highlight.js) doesn't include the fix.

Tagging @DuncanmaMSFT per previous comment.

@BillWagner @gewarren This can be closed now. The highlighting was fixed.


Removed usage of deprecated meta permission methods.

https://docs.djangoproject.com/en/dev/releases/1.6/#get-add-change-delete-permission-model-meta-methods

Sorry, huge merge back from support branch, rebase needed

Awesome, thanks!


Fix compilation with gccgo

#3168 #3171
Update the @OceanS2000 's PR and use gccgo-11 for CI.
https://golang.org/doc/install/gccgo

Also, if you want this PR to be merged, please sign the CLA.

Also, if you want this PR to be merged, please sign the CLA.

I already signed the CLA, but @OceanS2000 didn't.

@OceanS2000 Could you sign the CLA please? Would love to get this fix in.

@lucas-clemente Could you please double-check the CLA status? I'd like to merge this PR, but it looks like @Red54 and @OceanS2000 disappeared from the internet. If the CLA is still red, unfortunately we'll have to close this PR.

CLA is still missing. This is sad, but we can't merge like that.


Server Profiles - Terraform doesn't wait for deletion to complete

Scenario/Intent
When doing a terraform destroy of all ressources (from the server profiles to the networks), Terraform tries to delete the logical enclosure before the end of the server profiles deletion.
However, the output of the destroy says that the destruction of the server profiles is complete after ~10s.
In the OneView GUI, the server profiles are still in the process of being deleted but as they have multiple connections and are assigned to a server hardware, it takes more time for them to be deleted in the OneView.
Expected Result
The server profiles are all deleted and Terraform waits for the destruction to be complete before moving to delete other objects (in our case the logical enclosure).
Actual result
Error: Unable to deleted this logical enclosure because it is hosting active server profiles

Hi @ClaireHayard Thank you for raising this issue, we will look into this.

Hi @ClaireHayard
As of now this fix is merged in GitHub. This fix would be available provider version 6.3.
Ill proceed with closing this issue, and if you have any concerns please feel free to open a new issue.


⚠ App has degraded performance

In 4b5aa56, App (https://mesirve.app) experienced degraded performance:

HTTP code: 200
Response time: 320 ms

Resolved: App performance has improved in 2dc2dc3.


Drop out gettext, or fix it.

While gettext throws out numerous errors, it seems somehow unsupported with PHP 7.
While checking my PHP logs, I saw so many of these: Methods with the same name as their class will not be constructors in a future version of PHP; gettext_reader has a deprecated constructor /bb-library/php-gettext/gettext.php
Also while running the installation on a typical cPanel setup, I saw that gettext extension is not bundled with cPanel and not included in most of the installations with default settings anymore. So the installation says a red "FAIL" for the gettext part.
We can directly stop using gettext and replace it with a custom array-based translation solution (maybe?). An example might be this.
While it's pretty annoying to see so many errors related to gettext in my logs, there are alternatives to the old and deprecated gettext. A similar workaround can be fixing gettext with a process similar to this, or this.

lets drop it completely

lets drop it completely

That would require a huge change in the way we use translations, and would require some workforce.
Instead, I got the library compatible with newer versions of PHP by the pull request I made. If Travis succeeds to build it, I'll merge it. (#720)


Unicorn Integration with Courier

Can you throw some light on the integration of Unicorn Integration with Courier for incremental package creation.
I did some research found this could be possible, but not found any practical sample, can you provide some reference.

I didn't implement the Rainbow integration for Courier, and I do not personally use Courier as part of my build process. You might try the folks who have implemented it:
https://github.com/adoprog/Sitecore-Courier/pull/14
https://github.com/adoprog/Sitecore-Courier/pull/17


add missing sentence to documentation

Scope & Purpose
Adds a missing sentence to the documentation about the auto-increment key generator not being support in the cluster.
Affects only the documentation.
The documentation change has been made in devel already.

[x] :hankey: Bugfix (requires CHANGELOG entry)
[ ] :pizza: New feature (requires CHANGELOG entry, feature documentation and release notes)
[ ] :fire: Performance improvement
[ ] :hammer: Refactoring/simplification
[ ] :book: CHANGELOG entry made

Backports:

[x] No backports required

Testing & Verification

[x] This change is a trivial rework / code cleanup without any test coverage.

Link to Jenkins PR run:
http://<IP_ADDRESS>:8080/view/PR/job/arangodb-matrix-pr/13628/

Tests blue

Tests blue


Move ascii function to datafusion_functions

Which issue does this PR close?

Closes #9533.
Rationale for this change

As part of https://github.com/apache/arrow-datafusion/issues/9285 the string functions should be migrated to the new datafusion-functions crate in the new structure
What changes are included in this PR?

Move ascii function to datafusion_functions
Are these changes tested?
Yes.

Are there any user-facing changes?
No.

I merged up from main to resolve conflicts on this branch

Thanks again


Phone Goes to Sleep and Audio/Video stops even with preventsDisplaySleepDuringVideoPlayback={true}

I'm using version 5.1.0-alpha8.
And have set preventsDisplaySleepDuringVideoPlayback={true}
On Android, it works file, i.e., while the audio is playing, the phone doesn't sleep.
However, on iOS it's not working that way. The phone still goes to sleep and the audio stops after a few seconds of playing. How can I correct this?
Thanks!

not a solution to this specific library issue, but if you need a workaround I'd suggest using react-native-keep-awake


[WIP] Do data validation when undo.

Ⅰ. Describe what this PR did

Add logic:

compare current data in the database with destination image, if they are not equal, it means have dirty data,
then compare current data in the database and the original image, if they are equal, also no need to execute undo
else  will throw an exception

Add some test case

Ⅱ. Does this pull request fix one issue?
Part of #1049

I will add more test case which uses h2 database later.

Codecov Report

Merging #1060 into develop will increase coverage by 0.5%.
The diff coverage is 83.92%.

@@             Coverage Diff              @@
##             develop    #1060     +/-   ##
============================================
+ Coverage      39.08%   39.59%   +0.5%
- Complexity      1119     1134     +15
============================================
  Files            221      221
  Lines           8833     8886     +53
  Branches        1130     1143     +13
============================================
+ Hits            3452     3518     +66
+ Misses          4940     4922     -18
- Partials         441      446      +5

Impacted Files
Coverage Δ
Complexity Δ

...seata/rm/datasource/undo/AbstractUndoExecutor.java
84.26% <83.92%> (+0.93%)
20 <16> (+11)
:arrow_up:

...very/registry/zk/ZookeeperRegisterServiceImpl.java
64.56% <0%> (+0.78%)
24% <0%> (ø)
:arrow_down:

...o/seata/rm/datasource/sql/struct/TableRecords.java
73.68% <0%> (+35.08%)
13% <0%> (+4%)
:arrow_up:

Continue to review full report at Codecov.

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


Issues discovered during troubleshooting "http error status: 403; reason: sender id does not match regisration token; code: mismatched-credential; details: The caller does not have permission" with Firebase support

[READ] Step 1: Are you in the right place?

For issues or feature requests related to the code in this repository
file a GitHub issue.

If this is a feature request make sure the issue title starts with "FR:".

For general technical questions, post a question on StackOverflow
with the firebase tag.
For general Firebase discussion, use the firebase-talk
google group.
For help troubleshooting your application that does not fall under one
of the above categories, reach out to the personalized
Firebase support channel.
Was told by FireBase support to file a ticket here.

[REQUIRED] Step 2: Describe your environment

Operating System version: 1.11.10-gke.6
Firebase SDK version: Version 3.9.0
Library version: cloud.google.com/go v0.40.0
Firebase Product: cloud messaging

[REQUIRED] Step 3: Describe the problem
Problems noticed during on going support interactions:

FCM Push Notification work on one node and not the next (the troubleshooting issue), using same service and call
Support Tech discovered error messages due FCM Push Notification started to show up on July 26th, 2020 in another environment, with the "same" configuration but we have received  FCM Push Notification from

Steps to reproduce:
Currently cannot reproduce, but error causes us to pause before issue is resolved.
What happened? How can we make the problem occur?
Not sure what is different with the GKE pods, since they should be setup exactly the same.  Troubleshooting is a bit hard since it is hard to test all dynamically generated pod and identify which pod the error is from.
This could be a description, log/console output, etc.
error returned to us and we display:
http error status: 403; reason: sender id does not match regisration token; code: mismatched-credential; details: The caller does not have permission
Relevant Code:
response, err := svc.firebaseClient.SendAll(ctx, batch)
...
for _, r := range response.Responses {
if !r.Success {
svc.logger.Error("error sending push message", zap.Error(r.Error),
zap.String("message_id", r.MessageID))
}
}
// TODO(you): code here to reproduce the problem

n/a

This error generally means the target registration token doesn't belong to the same Firebase project as the one the sender (i.e. the Go SDK) is authorized as: https://firebase.google.com/docs/reference/admin/error-handling#firebase-cloud-messaging
In other words, your sender code is authorized for project A, but it's attempting to send notifications to a device token from project B.


chinese translation add tutorial/sql-databases.md

chinese translation add tutorial/sql-databases.md

docs/zh query_params.md rm superfluous content #2384
The last chapter "Optional 类型声明" not exists any more in English tutorial, and tutorial007.py not exists too. so this chapter should be removed.

You should create a single pull request per page translated. It's too hard to review all 3 pages in one PR.

You should create a single pull request per page translated. It's too hard to review all 3 pages in one PR.

OK, I will close this PR, and Create separate PR for each chapter.

Chinese translation add tutorial/sql-databases #2408
Chinese translation add tutorial/body-nested-models #2409
Chinese translation add tutorial/extra-data-types #2410
Chinese translation add tutorial/schema-extra-example #2411
Chinese translation add tutorial/header-params #2412


WASM- Int64 testing api

Added an method on the WebAssembly object to test int64 by passing value as string and converting result as string.

This change is

:shipit:


Support for cosmos-sdk v0.50, TM 0.38

Overview
Pre-release out for cosmos-sdk version v0.50, it would be really helpful if we can start adding support for TM 0.38 which will be used.

In https://github.com/cosmos/cosmjs/pull/1466 I tried using the Tendermint 0.37 client for Comet BFT 0.38. But this does not seem to work. We need a separate 0.38 client. Once we have that, we can easily adapt the auto-detection.

Would it be similar to #1376?

What needs to be done is this:

Copy and commit the tendermint37 folder and Tendermint37Client into tendermint38 and Tendermint38Client. The diff should only be renamings here.
Test the new client against the 0.38 backend (set up in #1466)
Make all changes required to make tests pass
Adapt the auto-selection in the higher level clients


Cannot connect and proxies not running

I just installed with:
helm install --name pg-ha-test .

this and see the following:
default       po/pg-ha-test-stolon-proxy-fc8c59589-2ksdf       0/1       Running   0          4m
default       po/pg-ha-test-stolon-proxy-fc8c59589-5htht       0/1       Running   0          4m
default       po/pg-ha-test-stolon-proxy-fc8c59589-dqnzt       0/1       Running   0          4m

It appears they are not ready?
Also I cannot connect to the keeper. How do I set up my connection string?
$ psql -h pg-ha-test-stolon-keeper.deis.minikube
psql: could not connect to server: Connection refused
	Is the server running on host "pg-ha-test-stolon-keeper.deis.minikube" (<IP_ADDRESS>) and accepting
	TCP/IP connections on port 5432?

From the kubernetes dashboard I see this for the proxy pods:
Readiness probe failed: dial tcp <IP_ADDRESS>:5432: getsockopt: connection refused

I'm using dsnmasq on Mac:
cat /etc/resolver/minikube
nameserver <IP_ADDRESS>

Any help would be great. Thanks!

How should I install etcd? Just as simple as brew install etcd?
I get the same result:
$psql --host $(minikube ip) --port 30543 postgres -U postgres -W
psql: could not connect to server: Connection refused
        Is the server running on host "<IP_ADDRESS>" and accepting
        TCP/IP connections on port 30543?

While I create the NodePort with the following yml file:
apiVersion: v1
kind: Service
metadata:
  name: stolon-proxy-service
spec:
  type: NodePort
  ports:
    - port: 5432
      nodePort: 30543
  selector:
    component: release-name-stolon-proxy


Training stopped with memory leak(?) in the training step.

Hi. I'm simply trying to train a model on the sample file("small.bin") given here.
However, after a few seconds from running "run.sh", the training step seems stuck with memory explosion up to 100 % usage.
The step must be in the run_train_step() because it's showing "INFO:tensorflow:running training step..", but I cannot find the reason.
I use tensorflow v.1.5.0 and python 3.6 as recommended.
How could I solve this problem? Thank you.

What batch size are you using and what is your GPU? Have you tried decreasing batch size?

What batch size are you using and what is your GPU? Have you tried decreasing batch size?

I ran the code with the given settings like batch size of 4.
I also modified to reduce the batch size to 2, but it doesn't work as well.
I use GTX 1080 on ubuntu 16.04, but GPU would not be the reason because the memory is not of GPU, but of CPU. GPU usage/total is about 600MB/8000MB, and its voltage is 0 showed by nvidia-smi (means it is not being used).
I think that some part of the model graphs is infinitely generated.
The debug mode doesn't also work with some exception error..

Could you set coverage=False in the run.sh script?

Could you set coverage=False in the run.sh script and try again?

It works. :)
Are you going to provide a version of modifying that part?
Thank you for the fast response.

You should not start the program with coverage enabled. This is what I experienced in the original pointer-gen model as well. After some training steps, you can enable coverage.
Closing.