Tap Target View on MDFloatingActionButtonSpeedDial

This is less of a feature request and more of a suggestion to add to documentation
I tried adding a Tap Target View to an MDFloatingActionButtonSpeedDial only to have the tap target view appear in a strange location. After many hours debugging, I realized the root of my issue was that the speed dial class itself was technically not the button I wanted to highlight with a Tap Target View. When adding the Tap Target View, I inserted the following to make the widget display as intended:
def add_tap_target(self, *args):
    speed_dial = None
    for child in self.ids.speed_dial.children:
        if isinstance(child, MDFloatingRootButton):
            speed_dial = child
    self.tap_target_view = MDTapTargetView(
        widget=speed_dial,
        title_text="Title",
        description_text="This is a description",
        widget_position="right_bottom"
    )

Versions

OS: Ubuntu 22.04.3 LTS
Python: 3.10
Kivy: 2.20
KivyMD: 1.2.0

SpeedDial and TapTargetView are removed in KivyMD version 2.0.0


Inconsistent use of "Diagnostic key(s)" and "Diagnosis key(s)" in the English FAQ

Where to find the issue
In the English FAQ: https://www.coronawarn.app/en/faq/
Describe the issue
The FAQ uses both, "diagnostic key(s)" and "diagnosis key(s)". Only one term should be used.
Suggested change
In the Solution Architecture Document only the term "Diagnosis key(s)" is used. The website should be aligned to the documentation.
Additional information
I will provide a PR for this change.

@Ein-Tim
According to the Google documentation diagnosis key is the term used, which also agrees with the Solution Architecture document.
For example: "The ExposureWindow class stores a duration of up to 30 minutes, during which beacons from a diagnosis key were observed."
As you say, diagnostic key is inconsistent and should be changed.

Good morning!
@Ein-Tim @MikeMcC399 Thanks....


Include SwapTransfer when checking whether TransactionInfo['type'] is a transfer

Summary
When mapping swap transfers, the type is no longer Transfer but SwapTransfer. This means that any comparisons happening according to what was previously Transfer no longer happen: trust filtering and imitation flagging early returns.
This adds the relative checks for SwapTransfer-typed transfers, as well as adding relative test coverage.
Changes
Note: the following can be assumed as we check the address of the settlement contract:

Add early return for imitation flagging
Assume trust when filtering transfers
Add test coverage accordingly

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

3 of 8 (37.5%)  changed or added relevant lines in 3 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.06%) to 48.523%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/routes/transactions/swap-transfer-transaction-info.entity.ts
1
2
50.0%

src/routes/transactions/mappers/transfers/transfer.mapper.ts
1
5
20.0%

Files with Coverage Reduction
New Missed Lines
%

src/routes/transactions/mappers/transfers/transfer.mapper.ts
2
27.03%

Totals

Change from base Build<PHONE_NUMBER>:
-0.06%

Covered Lines:
4217

Relevant Lines:
6996

💛  - Coveralls


Update basket stock records when strategy changes

References issue:
https://github.com/django-oscar/django-oscar/issues/4164

Actually - this is quite broken because it causes attempted modifications of frozen baskets, I'll have to rethink...

Ok, looking forward to your solution, thnx!

In the end, I went with updating stock records at time of merge baskets, when users log in.
Take a look....


Build CentOS packages for a recent release

A user on stack overflow is looking for CentOS packages for a release > 0.17. Who builds these packages and can we get them built for 0.20.2?
@moix @coolsvap

Latest packages I can find are generated for 0.20.0 in the centos' community build server, http://cbs.centos.org/kojifiles/packages/kubernetes/. Not sure how to request to trigger a more recent build

That makes it look like they are pretty up to date, which I think is sufficient. It would still be nice to know who builds them so that we can request new builds for new release cuts.

@roberthbailey How to install it with yum?

Well, I'm not sure if there's a yum repo containing them.
You can install them directly with rpm -i package.rpm but if what you want is yum to resolve dependencies you can use yum localinstall or even create a local repo with createrepo command


Add Ruby 3.2 to CI

It appears that I need to rerun the CLA workflow, but it doesn't appear that I have any way to do so...

@dipth done. Looks like there's a legit failure on 3.2 due to the usage of refinements.

I would personally lean towards bumping the graphql dependency, but it's your call 🙂

Yeah I'm good with that. Would be interested in doing that?

Closed in favor of:
https://github.com/Shopify/graphql-batch/pull/156


Update new invite/login screen for Quiver

Update new invite/login screen for Quiver.
After clicking the add friends button, users will see this login screen (note for the dist build we probably won't have Cloud or WeChat for a while):

When the user clicks on uProxy they will see this login screen:

Then they will see this invite screen:

nits, very exciting!

Reviewed 9 of 9 files at r1.
Review status: all files reviewed at latest revision, 3 unresolved discussions.

src/generic_ui/polymer/invite-user.html, line 173 [r1] (raw file):
i18n for the label attribute

src/generic_ui/polymer/invite-user.html, line 176 [r1] (raw file):
i18n for "Submit"

src/generic_ui/polymer/invite-user.html, line 202 [r1] (raw file):
Extra new line

Comments from the review on Reviewable.io

Just made those changes, PTAL

Review status: 7 of 9 files reviewed at latest revision, all discussions resolved.

Comments from the review on Reviewable.io

:+1: !


footer added

Description
Closes #75
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] My changes generate no new warnings
[x] Any dependent changes have been merged and published in downstream modules

Screenshots

@codewithvk please review


[Feature Request] Add support for restoring backups from other forks.

Describe your suggested feature
When restoring, allow the use of backups created by other tachiyomi forks
Currently doing so results in an error
"Invalid backup file
Expected wire type 0, but found 2"
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
[X] I have written a short but informative title.
[X] If this is an issue with an extension, I should be opening an issue in the extensions repository.
[X] I have updated the app to version <IP_ADDRESS>.
[X] I will fill out all of the requested information in this form.

Couldn't restore with a TachiyomiSY backup but converted it to a J2K backup and it worked.


Can't figure out how to change template engine to PUG (formerly Jade)

Sails version: 1.0.2
Node version: 10.9.0
NPM version: 6.2.0
DB adapter name: N/A
DB adapter version: N/A
Operating system: Windows 10

I went through the open and closed issue and while there are some similar issues referenced from the past, there is nothing in relation to the current version of Sails (1.0.2)
The documentation states that we can swap out the view engine and if supported by consolidate we can easily get access to the rendering function.  https://sailsjs.com/documentation/concepts/views/view-engines
The example shows a reference using the .swig extension and using this as a baseline and switching to my desired view engine one would think it would work.  However, when using pug the text is displayed as is... the .pug files are not being compiled.

I have installed consolidate and pug

npm install pug
npm install consolidate

Uninstalled EJS via npm uninstall ejs
Created new .pug files for layout and welcome using PUG syntax
Changed the config/views.js config engine from ejs to pug and set a 'getRenderFn`

...
'extension': 'pug',
  'genRenderFn': function() {
    let cons = require('consolidate');
    return cons.pug;
  },
...

I have also tried an alternative syntax

...
'extension': 'pug',
  'genRenderFn': function() {
    let cons = require('consolidate');
    let pug = require('pug')
    cons.requires.pug = pug;
    return cons.pug;
  },
...

Set layout:false in config/views.js
I have also posted in gitter as well as a post on Stack Overflow with no luck.

While it is obviously loading the correct file, it is not compiled to html.
extends layout.pug block body h1= My Site With Pug

Hey - it sounds like you're so close, have you managed to figure out what's wrong yet?
I've been working with sails/pug/scss the last few days - torn a lot apart and put it back together.
Just set up a new app with sails new pugfoo to test this out, selected 2. Empty this time around, but the same process should work with 1. Web App.
So,
Installing dependencies
sails new pugfoo
npm install --save consolidate
npm install --save pug

Configuration
config/views.js
module.exports.views = {
  extension: 'pug',
  getRenderFn: function() {
    // Import `consolidate`.
    var cons = require('consolidate');
    // Return the rendering function for Swig.
    return cons.pug;
  },

  layout: false,
};

Then as for views
views/layouts/layout.pug
doctype html
html
  head

  body
    // Header
    block content
    // Footer

views/pages/homepage.pug
extends ../layouts/layout
block content
  h1 Hello World

This ought to leave you with a pretty bare, but functional, pug-friendly sails app 🐶

I have a very similar setup.. not sure why it's not rendering if it works for you...
views/layouts/layout.pug
doctype html
html
  head
    title New Sails App Pug
    meta(name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1")
    link(href='/styles/importer.css', rel='stylesheet')
  body
    block content
    script(src="/dependencies/sails.io.js")

views/pages/homepage.pug
extends ../layouts/layout
block content
  h1 My Site With Pug

The output after doing sails lift and viewing is
extends ../layouts/layout block content h1 My Site With Pug

Oops!
getRenderFn not gen

@texh FFS!  That was it!  Thanks for the sharp eye. 🥇


"Unsafe member access" inside await blocks

Before You File a Bug Report Please Confirm You Have Done The Following...

[X] I have tried restarting my IDE and the issue persists.
[X] I have updated to the latest version of the packages.

What version of ESLint are you using?
^8.44.0
What version of eslint-plugin-svelte are you using?
^2.32.2
What did you do?

Configuration
module.exports = {
	root: true,
	extends: [
		'eslint:recommended',
		'plugin:@typescript-eslint/recommended',
		'plugin:@typescript-eslint/recommended-requiring-type-checking',
		'plugin:@typescript-eslint/strict',
		'plugin:svelte/recommended',
		'plugin:svelte/prettier',
		'prettier',
	],
	parser: '@typescript-eslint/parser',
	plugins: ['@typescript-eslint'],
	parserOptions: {
		sourceType: 'module',
		ecmaVersion: 2020,
		project: './tsconfig.eslint.json',
		extraFileExtensions: ['.svelte'],
	},
	env: {
		browser: true,
		es2017: true,
		node: true,
	},
	overrides: [
		{
			files: ['*.svelte'],
			parser: 'svelte-eslint-parser',
			parserOptions: {
				parser: '@typescript-eslint/parser',
			},
		},
	],
	rules: {
		'@typescript-eslint/consistent-type-exports': 'error',
		'@typescript-eslint/consistent-type-imports': 'error',
		'@typescript-eslint/default-param-last': 'error',
		'@typescript-eslint/method-signature-style': 'error',
		'@typescript-eslint/no-import-type-side-effects': 'error',
		'@typescript-eslint/prefer-readonly': 'error',
		'@typescript-eslint/promise-function-async': ['error', { checkArrowFunctions: false }],
		'@typescript-eslint/require-array-sort-compare': 'error',
		'@typescript-eslint/return-await': 'error',
		'@typescript-eslint/sort-type-constituents': 'error',
		'@typescript-eslint/switch-exhaustiveness-check': 'error',

		// SvelteKit uses that for returning errors in routes
		'@typescript-eslint/no-throw-literal': 'off',

		// Receiving markdown from the API
		'svelte/no-at-html-tags': 'off',
	},
}

<script lang="ts">
	import type { CommunityView } from 'lemmy-js-client'

	export let community: Promise<CommunityView>
	export let followCommunity: (follow: boolean) => Promise<void>
</script>

{#await community}
	<button class="rounded-full bg-surface px-4 py-2 text-on-surface">Loading...</button>
{:then community}
	{#if community.subscribed === 'NotSubscribed'}
		<button
			class="rounded-full border-surface-container bg-surface-container px-4 py-2 text-on-surface-container hover:bg-surface hover:text-on-surface"
			on:click={() => followCommunity(true)}
		>
			Join
		</button>
	{/if}
{/await}

What did you expect to happen?
Linting should pass
What actually happened?
/home/nato/Code/github.com/NatoBoram/Leanish/src/lib/SubscribeButton.svelte
  11:7  error  Unsafe member access .subscribed on an `any` value  @typescript-eslint/no-unsafe-member-access

✖ 1 problem (1 error, 0 warnings)

Link to GitHub Repo with Minimal Reproducible Example
~~https://github.com/NatoBoram/bug-report-terrtc/commit/8c5c4c89aa1bb4e0a86cc8ef05c90b14dd7a53f5~~ (Deleted)
Additional comments
This happens when plugin:@typescript-eslint/recommended-requiring-type-checking is enabled
I think this can be worked around by changing the name of the variable after :then

Thank you for posting this issue.
Using the same name for #await and :then does not seem to work. To fix the problem we need to fix the parser.

@ota-meshi The same issue still occurs with $$props.class and $page.data.XXX; if you hover over either of these in an LSP editor you'd find that there is once more 'Unsafe member access' as these values are read in as any. Is there any workaround / fix for this as well?

Instead it is necessary to do e.g. ($page.data as PageData).XXX which is not ideal.


Added Tests for Bug Found with Error Deleting a time.Time Quad

Added two simple tests.  One tests reading values back against originals and the other attempts to remove quads.

Fixed in a98837a1258938a75e71e569d8b008f23203735f


Added functionality for signed and encrypted cookies

Good day. I found that Authenticate doesn't support signed and encrypted cookies yet, so I decided to implement it.
I will be glad if you'll accept PR and maybe even bump gem version. Thanks.

Hello @yumitsu, thanks for the contribution, this is a great start!
I'm still reading through the PR and considering the change. I do see one potential issue that probably needs some refinement. Authenticate Configuration options are provided for both encrypted and signed cookies, but Session#get_cookies_class defers to @cookies.signed_or_encrypted if either Configuration#signed_cookie or Configuration#encrypted_cookie is true. But signed_or_encrypted will always call encrypted if the secret key base is present.
I believe this means that both Authenticate configuration options, Authenticate.configuration.signed and Authenticate.configuration.encrypted, will result in an encrypted cookie being generated if the app's secret key base is preset, or a signed cookie being generated if the secret key base is not present.
I think the solution is for Session (or it's delegate) to avoid calling the cookie_jar.signed_or_encrypted, and instead have Session call either cookie_jar.encrypted or cookie_jar.signed depending on the configuration and presence of the secret key base in the request.

@tomichj Thanks for your review. Yes, I agree with you, this PR need some changes.

@tomichj Please look at new changes. Thanks!


[Bug]: Check the log and the interface reports a null pointer，Log page is refreshing execution details request

ODC version
ODC430
OB version
independent
What happened?
Check the log and the interface reports a null pointer

What did you expect to happen?
。
How can we reproduce it (as minimally and precisely as possible)?
chat priavtely
Anything else we need to know?
No response

Fixed In Commit 062b0f234e2debe9408d924e796e477a722a9d16
------
畅晚
Thu Jun 6 16:18:36 2024 +0800


YJDH-356 | KS-Backend: Translate activation email to fi/sv/en

Description :sparkles:
Add langdetect to requirements-dev.(in|txt). Used for detecting the used
language in the activation email's subject and body in the tests.
Revamp the activation email related functions a little bit. Switched to
using gettext here instead of gettext_lazy because without it the email
subject didn't correctly get translated in the tests. Translate the
activation email subject and body according to the youth application's
language.
Add placeholder translations for the activation email's subject and
body for Swedish and English.
Add tests for Finnish, Swedish and English:

test_youth_application_post_valid_language

Tests that posting a new youth application is successful with
different languages

test_youth_application_activation_email_language

Tests that the activation email's subject and body both use the
youth application's language

Issues :bug:
YJDH-356
Testing :alembic:
Screenshots :camera_flash:
Additional notes :spiral_notepad:

Codecov Report

Merging #587 (2042198) into develop (9b8c736) will decrease coverage by 1.01%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop     #587      +/-   ##
===========================================
- Coverage    95.68%   94.66%   -1.02%
===========================================
  Files          230      165      -65
  Lines         9055     6715    -2340
===========================================
- Hits          8664     6357    -2307
+ Misses         391      358      -33

Impacted Files
Coverage Δ

backend/shared/shared/audit_log/viewsets.py
46.96% <0.00%> (-43.94%)
:arrow_down:

backend/shared/shared/azure_adfs/views.py
41.17% <0.00%> (-41.18%)
:arrow_down:

backend/shared/shared/audit_log/audit_logging.py
76.59% <0.00%> (-21.28%)
:arrow_down:

backend/shared/shared/common/tests/conftest.py
87.87% <0.00%> (-12.13%)
:arrow_down:

backend/shared/shared/oidc/auth.py
81.48% <0.00%> (-1.86%)
:arrow_down:

backend/kesaseteli/applications/api/v1/views.py

backend/kesaseteli/applications/models.py

backend/kesaseteli/applications/tests/conftest.py

.../applications/tests/test_youth_applications_api.py

...ions/migrations/0004_application_default_status.py

... and 60 more

Continue to review full report at Codecov.

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


Implement JWT Authentication for Login, Logout, and Signup

Currently, the login, logout, and signup processes lack secure authentication. This issue aims to implement JWT (JSON Web Token) authentication for these actions to enhance security and ensure user data integrity. JWT will be used for generating tokens during login and signup, and for verifying tokens during logout to ensure secure user sessions.
@SwanandD121

duplicate issue


Incorrect Warning on Nuxt 3.10

📚 What are you trying to do?
I'm just trying to use Ionic router. It's working correctly but I got an error.

🔍 What have you tried?
I tried to disable pages by putting in nuxt.config.js :
pages: false

everything stop to work correctly, so the advice they give in the warning is incorrect also.
ℹ Additional context
No response

📚 What are you trying to do?
I'm just trying to use Ionic router. It's working correctly but I got an error.

🔍 What have you tried?
I tried to disable pages by putting in nuxt.config.js :
pages: false

everything stop to work correctly, so the advice they give in the warning is incorrect also.
ℹ Additional context
No response

I tried it too, but I guess the problem is that maybe the Ionic Vue router wasn't made to work without page integration.
Worry not, I will look into it, and see if I can get something out of it, but for now try and work with pages: true

@evanlegamer  I also noticed in the Vue Devtools that Nuxt wraps the base element with NuxtRoot to properly inject helper props which would help in a normal Nuxt 3 application. But when you use the NuxtLayout or NuxtPage in an Ionic app, then problem could start along the way. When you use NuxtLayout with IonRouterView, the browser console should show a warning that a provide() couldn't be found for an inject() in the IonRouterView component. Also, the other way around, if you don't provide the IonApp, then various Ionic default animation and features won't work well

I got the same issue. See: https://github.com/nuxt/nuxt/issues/24912#issuecomment-2095436218

This is resolved in https://github.com/nuxt-modules/ionic/pull/560 and will be in the next release.


Appending answer_ids to prompt in eval_needle.py

Hi,
In eval_needle.py, I see that the answer_ids are being appended to the input prompt.
https://github.com/jzhang38/EasyContext/blob/d6a7f2d74b08fc8049ec4a8146ef245051a669e3/eval_needle.py#L40
Could you please help me understand why this was implemented this way?
Wouldn't that make the model generate output in teacher-forcing mode instead of doing autoregressive decoding?

See https://github.com/jzhang38/EasyContext/issues/8

I see. Thanks a lot for the explanation.


Model download enhancing

What does this PR do?
This PR enables a more general download schema based on the model files present in the model repository. Specifically, it looks for safetensors and pytorch_model within the root directory of the model. This enables models such as intfloat/e5-mistral-7b-instruct and other models natively supported by the Python backend.

@regisss , this PR should work with PR 10 to support intfloat/e5-mistral-7b-instruct model. Pls help review.

Performance benchmark baselines are shown below.
Setup:

5000 sequential requests of batch size 1 sentence
Sentence length randomized between 10 and 1000

End to end performance on Habana 1.15:

Total time: 223.03219 s
Average time per batch: 0.0446064 s / batch


Xamarin.Forms Not able to send Notification for android app From App Center Client

Hi have created two apps one for iOS and other for android. I am successfully able to send push notifications using App Center Client to iOS but I am not receiving it on android, but I am  able to send Android  through UI ofApp Center.
Even I tried to change name of app , in that case its says error not found. I have tired it with various payloads

@SonamSIngh1 The comments feature of our documentation is intended to enable customers to suggest changes to the docs or ask clarifying questions about the docs.
App Center support is provided directly from within the App Center portal. Any time you need help, just click the blue chat button in the lower-right corner of any page and our dedicated support team will respond. For additional information, see the [App Center Help Center] (https://intercom.help/appcenter/getting-started/welcome-to-app-center-support).


feat: ci for publishing

setup manual CI for publishing
add conventional commits
husky to check commits naming

LGTM! Very happy this is happening :)


make org-level inherit default in order to have proper font

Org-level's font looks different for other languages. This one looks more apparent.

And applying the default inheritance fix the issue.

Yes. Thanks. It turns out it's due to the ultra-bold attribute in doom-one-light. I replace them with just bold.

As of 4c2ee8d and ff7f595 this should be fixed. Sorry for the wait!

Gotcha. Thank you!


Telegram unit tests not passing

Describe the bug
Hey folks, I created a telegram bot and got my chat ID but when I try to run the unit tests I get the following output:
TELEGRAM_BOT_TOKEN=MYTOKENHERE TELEGRAM_CHAT_ID=MYIDHERE python3 -m unittest tests.notifier.test_telegram_notifier
WARNING:root:Problem sending event to user, code: 400
FWARNING:root:Problem sending event to user, code: 400
WARNING:root:Problem sending event to user, code: 400
FWARNING:root:Problem sending event to user, code: 400
F
======================================================================
FAIL: testTelegramHighPriorityNotifications (tests.notifier.test_telegram_notifier.TestTelegramNotifier)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/myuser/chiadog/tests/notifier/test_telegram_notifier.py", line 38, in testTelegramHighPriorityNotifications
    self.assertTrue(success)
AssertionError: False is not true

======================================================================
FAIL: testTelegramLowPriorityNotifications (tests.notifier.test_telegram_notifier.TestTelegramNotifier)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/myuser/chiadog/tests/notifier/test_telegram_notifier.py", line 28, in testTelegramLowPriorityNotifications
    self.assertTrue(success)
AssertionError: False is not true

======================================================================
FAIL: testTelegramNormalPriorityNotifications (tests.notifier.test_telegram_notifier.TestTelegramNotifier)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/myuser/chiadog/tests/notifier/test_telegram_notifier.py", line 33, in testTelegramNormalPriorityNotifications
    self.assertTrue(success)
AssertionError: False is not true

----------------------------------------------------------------------
Ran 3 tests in 0.370s

FAILED (failures=3)

Do you have any idea what went wrong? The bot token and chat ID was copy pasted so it can't be a typo.
And the regular tests (python3 -m unittest) are passing.
Environment:

OS: Ubuntu 21.04
Python version: 3.9.4
PIP version: 21.1.1
Chia version: 1.1.5

My setup matches yours. For me everything is working like a charm. What I did to make it work.

set the environment variables TELEGRAM_BOT_TOKEN and TELEGRAM_CHAT_ID.

Please keep in mind that you might need single ticks ' instead of double ticks " for the export.
export TELEGRAM_BOT_TOKEN='MySuperSecretToken:asdasdsad'
export TELEGRAM_CHAT_ID='MyChatId'

simply run python3 -m unittest tests.notifier.test_telegram_notifier

If you debug and get and HTTP 400 response you need to double check your env varibales, espacially your TELEGRAM_CHAT_ID.
You can also send a message with the following command to try it out
curl -X POST \
     -H 'Content-Type: application/json' \
     -d '{"chat_id": "${TELEGRAM_CHAT_ID}", "text": "This is a test from curl", "disable_notification": true}' \
     https://api.telegram.org/bot${TELEGRAM_BOT_TOKEN}/sendMessage

Also keep in mind that you need to start the bot. You will find out all opened chats of your bot by calling https://api.telegram.org/$TELEGRAM_BOT_TOKEN/getUpdates. Simply result->INDEX->...CHAT->ID
Hopefully this will be helpful

Also keep in mind that you need to start the bot.

@St3ffn That was the missing piece, I feel so dumb now! Thx a lot!
So for anyone running into the same problem: After creating the bot with BotFather you have to click on it (t.me/your_bot link in the BotFather message) and then start it :sweat_smile:


Lucene is reporting "Directory is closed" during search

Unknown impact.
More details to follow.

Not seen for a while


Compute should expose serviceAccountEmail

Currently, in class Compute: https://github.com/googleapis/google-auth-library-nodejs/blob/main/src/auth/computeclient.ts
The field serviceAccountEmail is private and there is no getter.
This prevents finding the service account for the default credentials when executing on CE:
const googleCredentials = await auth.getApplicationDefault()
if (googleCredentials.credential instanceof Compute) {
	// Doesn't compile
	return googleCredentials.credential.serviceAccountEmail
}

This is needed to authenticate to PostgreSQL using the service account.

Actually, this field returns simply "default" (!)
This is inconsistent with [google-auth-library-java](https://github.com/googleapis/google-auth-library-java), which returns the actual email. How can we get the email?

Great question - if you're looking to retrieve the email I would recommend calling via gcp-metadata:
const email = await gcpMetadata.instance('service-accounts/default/email');

Additionally, 'default' is sufficient for calling the metadata server rather than first requesting it from the metadata server:
https://github.com/googleapis/google-auth-library-nodejs/blob/7030314c55c369acbda1873f649579b395ad07c8/samples/compute.js#L24-L28
However:

I think we should expose the serviceAccountEmail to align with the Java library:

#1656

We should expose the gcp-metadata library to allow to allow folks to conveniently make calls to the metadata service (which goes hand-in-hand with this library):

https://github.com/googleapis/google-auth-library-nodejs/pull/1655


Package upload page should show which user the package is uploaded for

Repro:

Login as an admin/collaborator of an org
Upload a package where the namespace is reserved to an org

Current behavior: the organization the package is uploaded for is automatically recognized and the "choose owner for upload" drop down is not shown.
Suggestion: show the owner the package will be uploaded for. It can be a disabled drop down or simply text.
@anangaur

@skofman1 I am trying to reproduce this problem, I found out current behavior is it shows owner of package when I upload a package with reserved namespace as you suggested.
Please see attachment below:

Let me know if there is any problem, otherwise I will go ahead close this issue.

@lyndaidaii , are you a collaborator on an organization?

@lyndaidaii , are you a collaborator on an organization?

Yes, I am Administrator of an organization

great! closing!


gherkin-dart: initial commit

Summary
Implemented Gherkin in Dart language.
Details
The Gherkin project was ported to the Dart language.
Motivation and Context
I really like the Cucumber tool and I'm in love with Dart. Then I decided to combine the useful with the pleasant by implementing the tool in the language.
How was this tested?
I ported all tests in Java to the Dart project.
I used Windows 10 Pro during implementation, and Dart 2.13.3 (stable) version.
The change does not affect other areas of the code.
Screenshots (if appropriate):
Types of changes

[] Bug fix (uninterrupted change that fixes a problem).
[X] New feature (uninterrupted change that adds functionality).
[] Decisive change (fix or feature that would cause existing functionality not to work as expected).

Checklist:

[] Change has been ported to Java.
[] Change has been ported to Ruby.
[] Change has been ported to JavaScript.
[] Change has been moved to Go.
[] Change has been ported to .NET.
[X] I added tests to my code.
[X] My change requires a change to the documentation.
[X] I updated the documentation accordingly.
[] I updated CHANGELOG accordingly.

Hi @lamkr this is awesome! 🎉 thankyou so much! 🦄 🌈 ❤ 💐
In terms of the build failures, I think it's down to us not yet having Dart on our build container.
Can you give me a bit of guidance as to what we need to add to that docker image so the new dart stuff will build?

If you want to chat 🍵  about this, you're welcome to join us in our community Slack in the #committers channel 😄
I'm also trying to make myself available for live pairing ⚡ you can book a slot with me here.

Hello, @mattwynne ! Thank you by your help!
I tested the commands below here on my machine and they worked. For us to be sure, could you test it there too?
# Install Dart
ENV DART_SDK /usr/lib/dart
RUN apt-get install apt-transport-https
RUN sh -c 'curl -s -L https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -'
RUN sh -c 'curl -s -L https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_stable.list \
	-o /etc/apt/sources.list.d/dart_stable.list'
RUN apt-get update
RUN apt-get install dart
ENV PATH $DART_SDK/bin:$PATH

Thanks @lamkr. I tried it out locally on my M1 Mac and I had some problems. See https://github.com/cucumber/build/pull/36
I think it might be due to me having an arm64 architecture machine. Let's discuss it over there.

OK! Dart is now in v6.0.0 of the build image.
The robots have already created https://github.com/cucumber/common/pull/1678 which upgrades the main branch to use the new build image. If that passes, we can merge it, rebase this branch and it should then be running with Dart in the build image.

@lamkr could you rebase this so we can get it merged in?

Hi @lamkr,
Thanks for your making your first contribution to Cucumber, and welcome to the Cucumber committers team! You can now push directly to this repo and all other repos under the cucumber organization! 🍾
In return for this generous offer we hope you will:

✅ Continue to use branches and pull requests. When someone on the core team approves a pull request (yours or someone else's), you're welcome to merge it yourself.
💚 Commit to setting a good example by following and upholding our code of conduct in your interactions with other collaborators and users.
💬 Join the community Slack channel to meet the rest of the team and make yourself at home.
ℹ Don't feel obliged to help, just do what you can if you have the time and the energy.
🙋 Ask if you need anything. We're looking for feedback about how to make the project more welcoming, so please tell us!

On behalf of the Cucumber core team,
Aslak Hellesøy
Creator of Cucumber


would u release demo.py to test one img or video?

it is amazing lightweight work, would u consider add a script to test a img with model?
as demo.py like https://github.com/HRNet/HigherHRNet-Human-Pose-Estimation/pull/28/commits/57c1f30a5d5e3d789dc220971cef6e1d451fe77e

地址有问题啊

地址有问题啊

has been update

问个问题，能否提供转ONNX的实例代码呢

usecfg to test with rtx titan ,fps is about 9.6;
result as flow

it is good,but not so good,how to improve ap and recall? any advices?

after trained my dataset, it seems ok although results are not so good as HRNETw32,but speed is more faster than  HRNETw32 which can reach to 17fps on titan rtx GPU

问个问题，能否提供转ONNX的实例代码呢

use mmpose pytorch2onnx.py,error happens
Use load_from_local loader
/home/cody/anaconda3/envs/LiteHRNET/lib/python3.7/site-packages/mmpose/models/backbones/utils/channel_shuffle.py:20: TracerWarning: Converting a tensor to a Python boolean might cause the trace to be incorrect. We can't record the data flow of Python values, so this value will be treated as a constant in the future. This means that the trace might not generalize to other inputs!
assert (num_channels % groups == 0), ('num_channels should be '
Traceback (most recent call last):
File "/home/cody/PycharmProjects/Lite-HRNet/tools/pytorch2onnx.py", line 156, in
verify=args.verify)
File "/home/cody/PycharmProjects/Lite-HRNet/tools/pytorch2onnx.py", line 73, in pytorch2onnx
opset_version=opset_version)
File "/home/cody/anaconda3/envs/LiteHRNET/lib/python3.7/site-packages/torch/onnx/init.py", line 230, in export
custom_opsets, enable_onnx_checker, use_external_data_format)
File "/home/cody/anaconda3/envs/LiteHRNET/lib/python3.7/site-packages/torch/onnx/utils.py", line 91, in export
use_external_data_format=use_external_data_format)
File "/home/cody/anaconda3/envs/LiteHRNET/lib/python3.7/site-packages/torch/onnx/utils.py", line 639, in _export
dynamic_axes=dynamic_axes)
File "/home/cody/anaconda3/envs/LiteHRNET/lib/python3.7/site-packages/torch/onnx/utils.py", line 421, in _model_to_graph
dynamic_axes=dynamic_axes, input_names=input_names)
File "/home/cody/anaconda3/envs/LiteHRNET/lib/python3.7/site-packages/torch/onnx/utils.py", line 203, in _optimize_graph
graph = torch._C._jit_pass_onnx(graph, operator_export_type)
File "/home/cody/anaconda3/envs/LiteHRNET/lib/python3.7/site-packages/torch/onnx/init.py", line 263, in _run_symbolic_function
return utils._run_symbolic_function(*args, **kwargs)
File "/home/cody/anaconda3/envs/LiteHRNET/lib/python3.7/site-packages/torch/onnx/utils.py", line 934, in _run_symbolic_function
return symbolic_fn(g, *inputs, **attrs)
File "/home/cody/anaconda3/envs/LiteHRNET/lib/python3.7/site-packages/torch/onnx/symbolic_helper.py", line 128, in wrapper
args = [_parse_arg(arg, arg_desc) for arg, arg_desc in zip(args, arg_descriptors)]
File "/home/cody/anaconda3/envs/LiteHRNET/lib/python3.7/site-packages/torch/onnx/symbolic_helper.py", line 128, in
args = [_parse_arg(arg, arg_desc) for arg, arg_desc in zip(args, arg_descriptors)]
File "/home/cody/anaconda3/envs/LiteHRNET/lib/python3.7/site-packages/torch/onnx/symbolic_helper.py", line 81, in _parse_arg
"', since it's not constant, please try to make "
RuntimeError: Failed to export an ONNX attribute 'onnx::Gather', since it's not constant, please try to make things (e.g., kernel size) static if possible
Process finished with exit code 1

https://github.com/FanHuang1008/Demo-Function-for-Lite-HRNet/


Clean up dependency management work

Originally, work related to dependency management was done with only Heroku in mind. That work is different on other platforms, and it's much clearer now how to approach this efficiently. See #197, #198, #200.

[x] Identify the dependency management approach in simple_deploy.py, but let all other work related to this be handled by platform-specific scripts.

[x] This probably means changing the using_pipenv etc to a single attribute such as pkg_manager, with values such as "req_txt", "poetry", and "pipenv".

[ ] Unit test all dependency management approaches.

[ ] This should be a parametrized test approach, with a flag passed to the script that resets the sample project.

[ ] Update poetry support to use poetry explicitly where possible.

[ ] Fly.io
[ ] Platform.sh

[ ] Other poetry tasks

[ ] Update integration tests; currently the value of poetry_cmd is a hard-coded path on my system.

[ ] Update docs as needed.
[ ] Merge, test, release.
[ ] Make a matrix about 1.0 support progress.

[ ] dependency management systems
[ ] operating systems
[ ] stable, non-preliminary status for each platform
[ ] friendly summary

[ ] Announce.

Use self.pkg_manager in simple_deploy.py

[ ] Only set self.pkg_manager in simple_deploy.
[ ] Update Heroku to respond appropriately.
[ ] Update Fly.io.
[ ] Update Platform.sh.

Support poetry on Heroku
Heroku support for poetry is pretty straightforward. Before adding any requirements, set pkg_manager to req_txt. May have to look at how requirements are identified; previously a requirements.txt file was generated before examining current requirements.

[ ] Figure out when to override pkg manager and generate requirements.txt.

Pipenv notes

[ ] Parsing requirements is done manually. There may be a better way for this as well, ie exporting to requirements.txt.

Get requirements when using poetry

[ ] Update poetry. (Now using 1.3.1)
Work in a sample project that uses poetry.
poetry add --editable ~/projects/django-simple-deploy
[ ] Parse output of poetry show to define self.requirements.

More heroku poetry support

Current integration test is failing, showing "nothing here yet".
[ ] Run integration test for req_txt.
[ ] Run integration test for poetry, against pypi dsd.
[ ] Run integration test for poetry, with local dsd.

Review pipenv on Heroku

[ ] Run integration test, expect to pass.
[ ] Do any general pipenv refactoring that seems appropriate.
[ ] Rerun heroku integration test.

Review Pipenv on Fly.io

[ ] Run integration test.
[ ] Update/ refactor.
[ ] Pass integration test.

Helpful sources

Basic usage of Pipenv
Poetry

Introduction
CLI reference
pyproject.toml documentation
Optional dependency groups
Poetry in docker
Dockerizing poetry apps
Poetry in docker without venv

Running individual tests ie pytest platforms/heroku -k "test_pipfile"
Dockerfile

Python dockerfile

Other

toml library


Github catchup

This is just a reminder issue that we need to move previous releases from direct plugin store upload to releases here, get the code caught up, and institute the new fork/pr/merge process for this repo.
Will have to wait until after we get 2022.1 out.

Jay,
I know i should be able to do this, but i tried for an hour to get the guithub replication working .. i hate to read manuals.  but i will try again.
Karl

On Mar 16, 2022, at 21:13, Jay Martin @.***> wrote:
This is just a reminder issue that we need to move previous releases from direct plugin store upload to releases here, get the code caught up, and institute the new fork/pr/merge process for this repo.
Will have to wait until after we get 2022.1 out.
—
Reply to this email directly, view it on GitHub https://github.com/IndigoDomotics/Hue-Lights-Indigo-plugin/issues/8, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEH2SNEZKDYMWNICK373KXDVAI6HNANCNFSM5Q45E2RA.
You are receiving this because you are subscribed to this thread.

Please don't worry about it right now - until I can get to it lets just keep going with the current process. In all honesty, I'd highly recommend just leaving this plugin alone until after we release 2022.1. You have all of your other plugins to worry about. Up to you of course.

Jay
I had to fix bugs.
There is one more change I need to make.
Nathan included the request library in the plugin. I need to change that.
And yes I will be starting with my other plugins.
Karl Wachs

On 17.03.2022, at 00:43, Jay Martin @.***> wrote:

Please don't worry about it right now - until I can get to it lets just keep going with the current process. In all honesty, I'd highly recommend just leaving this plugin alone until after we release 2022.1. You have all of your other plugins to worry about. Up to you of course.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.

I'm closing this bug as I got the repo cleaned up and transferred to Karl for continued development.


All topics

I've multiplied 20x the number of pages. i know not all of pages have the 20 so, i subtract the rest. This is not 100% accurate because i don't count the hidden topics

Issue with this is theres probably a lot of hidden topics in submissions, lets play applications etc. Don't think this will be added unless we get the number from higher staff themselves which can access all subforums.


Copy function update

News PR to correct my previous one

endian.h replaced by portable_endian.h
spaces replaced by tabs
src and dst inverted

Thank you. Merging.


Support defaultdict's union operator

Summary

Support defaultdict's union operator

Lib/collections/_defaultdict.py
Unit tests: https://github.com/RustPython/RustPython/pull/3910/files#diff-1479e559ea879375f1d75518e71605ca5af40868c2573dee04f362202d325288R153-R154

Could I take on this issue?


do you have library without load module?

i want testing over old browser and this don´t work type=module.

Hey @anakein, you can import the dist file directly on a script tag: https://github.com/gamestdio/three-text2d/tree/master/dist

and then console show this: ReferenceError: MeshText2D is not defined

i try import { MeshText2D, textAlign } from 'three-text2d' on my first line script but i have other error.
"Import declarations may only appear at top level of a module"


Host terminated unexpectedly!

Hi, I am trying to run your package and got this error:
Volo.Abp.AbpInitializationException: An error occurred during ConfigureServicesAsync phase of the module Passingwind.Abp.ElsaModule.ElsaModuleDomainModule, Passingwind.Abp.ElsaModule.Domain, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null. See the inner exception for details.  ---> System.TypeLoadException: Method 'FindManyAsync' in type 'Passingwind.Abp.ElsaModule.Stores.WorkflowInstanceStore' from assembly 'Passingwind.Abp.ElsaModule.Domain, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' does not have an implementation.

which version you install ?  abp and elsa .

I keep the same version you have in your project.

The issue happened by elsa version 2.9 , and the master branch has been updated , but have not publish the new nuget package .
I will publish new nuget package by later .
regards.


'scalable_allocation_command' not found

Adding:
scalable_allocation_command(TBBMALLOC_CLEAN_ALL_BUFFERS, 0);
for cleaning thread caches causes the following error:
undefined reference to `scalable_allocation_command'
Is it related to FindTBB.cmake or other issues?
Thanks,
Alena

Hi Alena,
Sorry for the late replay. I have not encountered this error before. It could well be related to FindTBB and the imported CMake build targets it adds. If this is still an issue, could you give some more context?  E.g., is this a compiler error or linker error?
Thanks,
Andreas

Hi Andreas,
Thank you for your reply.
As far as I remember it was a linker error and I managed to fix it - but 'scalable_allocation_command' does not work in general (I tested it separately).
The main issue is that TBB threads do not release memory after termination until the end of the main program. And it causes issues with RAM for SVR reconstruction of large ROIs (we use it for deformable SVR of fetal body).
It would be great if you know how to fix it.
DSVR code will be published online soon as a part of SVRTK (MIRTK-based package): https://github.com/SVRTK/SVRTK .
Thanks,
Alena

Thanks for providing more information. I found some TBB issue reports on this that might be useful:

https://software.intel.com/en-us/forums/intel-threading-building-blocks/topic/498725
https://software.intel.com/en-us/forums/intel-threading-building-blocks/topic/777497

In MIRTK itself, I am not sure scalable_allocator is actually used. It's introduced into the mirtk namespace here when MIRTK_COMMON_WITH_TBB_MALLOC is enabled. However, the default setting in the mirtk/Parallel.h source file is MIRTK_COMMON_WITH_TBB_MALLOC=0, i.e., to not make use of it.
In MIRTK code, I only used the cache_aligned_allocator in one source of the Deformable package (cf. commit 3fc1668c66b91397005f8d69fdae84cd55e13ba8). In the Packages/Deformable/BasisProject.cmake file, this package looks for TBB{tbb,malloc}, i.e., including the tbbmalloc library, whereas Modules/Common/BasisProject.cmake only requries TBB{tbb}. The source file Packages/Deformable/src/ImageEdgeDistance.cc starts with the line #define MIRTK_COMMON_WITH_TBB_MALLOC 1.
To be sure that the tbbmalloc dependency is not inherited from this package, you could either disable it (MODULE_Deformable=OFF) when you build MIRTK, or remove malloc from TBB{tbb,malloc} in the BasisProject.cmake file of all packages and change any MIRTK_COMMON_WITH_TBB_MALLOC definition to 0.
I can see that in your SVRTK package you declare TBB{tbb,malloc} as dependency. You could try to remove the malloc library from the dependencies, i.e., change this line to TBB{tbb}.
Otherwise, if you want TBB's memory functionality, have you tried using memory_pool instead of scalable_allocator as suggested by Alex' answer in [1]?

Yes, using tbb::memory_pool would be the optimal solution (I tested it separately on a simple code and it resolves the issue).
But in reality I am simply not sure how it should be incorporated into MIRTK code / variables and functions (the main question is where to begin). I do understand that it is not a trivial task.
Or would it make sense to use additional c11 multithreading options?
Thanks,
Alena

Have you tried in SVRTK where you need this memory pool to use the tbb::memory_pool_allocator in the declaration of, e.g., the Array (std::vector) you use? Once you found a solution in your SVRTK package, we can think about how to merge it into the core modules. Where is the code of the TBB body that causes the memory issues?

As far as I remember I tried using memory_pool_allocator for 'RealImage' but eventually gave up. Will try it again.
It seems that the issue originates in the logic of implementation of this TBB function: void custom_scheduler::local_wait_for_all( task& parent, task child )* in [ttb_folder]/srs/tbb/custom_scheduler.h - Ln 356 (but I am not sure).
I will ask a question at tbb github forum - whether there is a way to fix it.

Let me know if you find an answer. Otherwise, after looking at SVRTK, I think there are a few possibilities to restructure the code in a way that doesn't require memory allocation/deallocation each time a new thread is spawned.
I think this issue is not caused and cannot really be addressed within the MIRTK source code, because the MIRTK libraries don't actually depend on / make use of the TBB malloc library (except for libMIRTKDeformable). It seems to be the case that this is a dependency introduced with SVRTK. If there is an easy way for me to reproduce the error with data you can provide, I could try and have a look.
Do you observe a substantial runtime penalty for using the STL memory allocations instead of TBB's? Otherwise, it is best not to have memory allocations to take place within each thread, but instead pre-allocate your memory (and pre-instantiate your objects) before the parallel_for or parallel_reduce operations. That way you avoid any runtime penalty caused by concurrent memory allocation/deallocations and also the need for TBB malloc in the first place.
For example, if you need ImageTransformation objects in multiple threads, you can either specify the number of threads and provide as many pre-instantiated ImageTransformation objects to use by these with a thread-safe container such as tbb:: concurrent_unordered_set (or using mutex try_lock semantics) to recycle registration objects between threads.

Thanks for the suggestion it really makes sense to pre-instantiate your objects.
I've sent you the code and a dataset example to @imperial email.
p.s we have the same memory issue with IRTK-based reconstruction (if we use it for very large ROIs - instead of brain only)

Thanks, Alena, for sharing your code. I'll try and have a look this week.
Follow up and remind me if I don't :-).


Add: BAZIK TV [FR/CD/CG]

Channel Name
BAZIK TV
Alternative Names (optional)
No response
Network (optional)
No response
Owners (optional)
No response
Country
FR
Subdivision (optional)
No response
City (optional)
Orly
Broadcast Area
c/FR;c/CD;c/CG
Languages
fra
Categories (optional)
music
NSFW
FALSE
Launched (optional)
No response
Closed (optional)
No response
Replaced By (optional)
No response
Website (optional)
https://bazik.tv/
Logo
https://i.imgur.com/BmHiap5.png
Notes
No response

Keeping an eye on this, as website is 403 and according to some person on FB the channel doesn't seem to air since 3 weeks ago.


chore(deps): upgrade configuration

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-configuration-2.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 1929

Questions ?
Please refer to the Backport tool documentation


Added password validator with clean code

hey @apoorvaron,
I have edited two files
/user/register.php
/user/change-password.php
with proper clean code and added password validator in it.
kindly do have a look on it.
pls provide me with any updation regarding.
i would be happy to help you. Thank you

@rohanmittal1163
/user/change-password.php not working
/user/register.php -> Nice Work
Please cross check change-password.php

Ok ill look after it


Set versions of all Symfony packages

Fixes #57

Windows alert!!
I should rewrite this to a single line of jq.

@PabloKowalczyk Now it is tiny and working.

symfony/filesystem[v6.3.0-BETA1, ..., v6.3.1] require php >=8.1 -> your php version (8.0.30) does not satisfy that requirement.

What to do now??

Thank You @szepeviktor.

Glad to contribute.


Feedback: Add additional installation switches to PowerBI Desktop Installation

Hey Team!
It looks like we recently added some additional switches we have in the most recently PowerBI Desktop Setup.exe (May 2023).

Also the REG_SHOWLEADGENDIALOG does not work anymore.  That does not show up in the list of options.
Hope this helps!
Thanks,

Brandon

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

ID: e2102c86-5037-0609-9dd3-a1487732df3f
Version Independent ID: 73cfef71-a511-5ba2-b7b1-fa02a58a9e15
Content: Get Power BI Desktop - Power BI
Content Source: powerbi-docs/fundamentals/desktop-get-the-desktop.md
Service: powerbi
Sub-service: pbi-fundamentals
GitHub Login: @davidiseminger
Microsoft Alias: davidi

Thanks for your comment, @brmcmill. This issue has been assigned to the doc author for review.

Hello there -- after consulting with the engineering team, those switches are not going to be exposed in the UI, and are being removed. Sorry for the confusion, thanks for your feedback.


Reload metadata from root in delete document command

After remove document we try to reload metadata, but user doesn't have permissions

Just thought about security per property... I think that we need to implement it a little bit differently even before implementation in OrientDB. Lets talk when you will be available.

Changes were merged semi-manually. Closing


Opt opt the performance of date parquet and orc convert to date

Proposed changes
before：
mysql>  select count(l_commitdate) from lineitem;
+---------------------+
| count(l_commitdate) |
+---------------------+
|           600037902 |
+---------------------+
1 row in set (1.61 sec)

after:
mysql>  select count(l_commitdate) from lineitem;
+---------------------+
| count(l_commitdate) |
+---------------------+
|           600037902 |
+---------------------+
1 row in set (0.86 sec)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 46.41 seconds
stream load tsv:          511 seconds loaded<PHONE_NUMBER>9 Bytes, about 139 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          29.5 seconds inserted 10000000 Rows, about 338K ops/s
storage size:<PHONE_NUMBER>3 Bytes

run buildall

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 47.18 seconds
stream load tsv:          507 seconds loaded<PHONE_NUMBER>9 Bytes, about 140 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          30 seconds loaded 861443392 Bytes, about 27 MB/s
insert into select:          29.4 seconds inserted 10000000 Rows, about 340K ops/s
storage size:<PHONE_NUMBER>1 Bytes

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 47.2 seconds
stream load tsv:          507 seconds loaded<PHONE_NUMBER>9 Bytes, about 140 MB/s
stream load json:         19 seconds loaded<PHONE_NUMBER> Bytes, about 118 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          29.2 seconds inserted 10000000 Rows, about 342K ops/s
storage size:<PHONE_NUMBER>6 Bytes


FILIPINO TRANSLATION

Requesting for Filipino translation contribution

https://github.com/YOURLS/YOURLS/wiki/YOURLS-in-your-language
It's useless to request that here. But you can do it if you want :)


EGP v3 lag fixing options broken

trying to open reload menu for lag fixing options in the EGP v3 tool doesn't work and it doesn't do anything either

I'll take look at this when I get the time

Turns out it was just a malfunction and it didn't appear broken after rejoining


Issue

Afternoon,
Ive got the issue.
Can you please have a look
Thanks
kostya@E470:~/ethminer/build$ sudo cmake --build .
[sudo] password for kostya:
[  0%] Built target BuildInfo.h
[ 23%] Built target devcore
[ 33%] Built target ethash
[ 46%] Built target hwmon
[ 50%] Building CXX object libethcore/CMakeFiles/ethcore.dir/Miner.cpp.o
In file included from /home/kostya/ethminer/libethcore/Miner.cpp:1:0:
/home/kostya/ethminer/libethcore/Miner.h: In constructor ‘dev::eth::Miner::Miner(const string&, dev::eth::FarmFace&, size_t)’:
/home/kostya/ethminer/libethcore/Miner.h:169:18: error: ‘to_string’ is not a member of ‘std’
Worker(_name + std::to_string(_index)),
^
/home/kostya/ethminer/libethcore/Miner.h:169:18: note: suggested alternatives:
In file included from /home/kostya/.hunter/_Base/aafb99b/a5f7296/a63b4ed/Install/include/boost/exception_ptr.hpp:9:0,
from /home/kostya/.hunter/_Base/aafb99b/a5f7296/a63b4ed/Install/include/boost/exception/all.hpp:25,
from /home/kostya/ethminer/libethcore/../libdevcore/Exceptions.h:26,
from /home/kostya/ethminer/libethcore/../libdevcore/RLP.h:33,
from /home/kostya/ethminer/libethcore/BlockHeader.h:25,
from /home/kostya/ethminer/libethcore/EthashAux.h:28,
from /home/kostya/ethminer/libethcore/Miner.h:32,
from /home/kostya/ethminer/libethcore/Miner.cpp:1:
/home/kostya/.hunter/_Base/aafb99b/a5f7296/a63b4ed/Install/include/boost/exception/detail/exception_ptr.hpp:493:5: note:   ‘boost::to_string’
to_string( exception_ptr const & p )
^
In file included from /home/kostya/.hunter/_Base/aafb99b/a5f7296/a63b4ed/Install/include/boost/exception/to_string_stub.hpp:9:0,
from /home/kostya/.hunter/_Base/aafb99b/a5f7296/a63b4ed/Install/include/boost/exception/info.hpp:11,
from /home/kostya/.hunter/_Base/aafb99b/a5f7296/a63b4ed/Install/include/boost/exception/diagnostic_information.hpp:11,
from /home/kostya/.hunter/_Base/aafb99b/a5f7296/a63b4ed/Install/include/boost/exception/all.hpp:10,
from /home/kostya/ethminer/libethcore/../libdevcore/Exceptions.h:26,
from /home/kostya/ethminer/libethcore/../libdevcore/RLP.h:33,
from /home/kostya/ethminer/libethcore/BlockHeader.h:25,
from /home/kostya/ethminer/libethcore/EthashAux.h:28,
from /home/kostya/ethminer/libethcore/Miner.h:32,
from /home/kostya/ethminer/libethcore/Miner.cpp:1:
/home/kostya/.hunter/_Base/aafb99b/a5f7296/a63b4ed/Install/include/boost/exception/to_string.hpp:73:5: note:   ‘boost::to_string’
to_string( std::pair<T,U> const & x )
^
libethcore/CMakeFiles/ethcore.dir/build.make:110: recipe for target 'libethcore/CMakeFiles/ethcore.dir/Miner.cpp.o' failed
make[2]: *** [libethcore/CMakeFiles/ethcore.dir/Miner.cpp.o] Error 1
CMakeFiles/Makefile2:486: recipe for target 'libethcore/CMakeFiles/ethcore.dir/all' failed
make[1]: *** [libethcore/CMakeFiles/ethcore.dir/all] Error 2
Makefile:151: recipe for target 'all' failed
make: *** [all] Error 2

/home/kostya/ethminer/libethcore/Miner.h:169:18: error: ‘to_string’ is not a member of ‘std’

What exactly makes you think it's a Hunter issue?

не увидел, my bad(((
sorry)
thanks

Probably don't run cmake --build as sudo.
Use a toolchain that sets c++11.
Can we close this?

Probably don't run cmake --build as sudo.

Probably it's not a very good idea to run build with sudo but it's really up to user.

Use a toolchain that sets c++11.

It may not help if std::to_string is not implemented in version of standard library.

Can we close this?

I'm pretty sure Hunter can't do anything here, so yes, closing.


Custom filter list background color variable

Created filterBackgroundColor constant for user ease of access
Broke long line in two

Well, if/when I add configuration for script, this can be used to set color in a convenient way, so let it be.


Circular references throw stack overflows

If you call Immutable(obj) on an obj that contains a circular reference, you get a stack overflow as it tries to clone it.
I don't think supporting objects containing circular references is a good idea, but you should at least get a nice error message.
A heuristic could be useful here for performance, e.g. start by just  keep count of how big the stack is getting; if it gets over (let's say) 1,000 frames, start over with circular reference detection.

Now that there is a dev/prod mode maybe it would make sense to check this only in development mode? That way most cases can be found without sacrificing any performance.
A really simple way would be to do a test before making it immutable, like:
JSON.stringify(object);
If it contains a circular reference it will throw a TypeError with the message "Converting circular structure to JSON".

Great point! It could also then console.error(object) so you could actually see the problematic object in question.

FYI I was creating an immutable copy of a Backbone object that was using the backbone-associations add-on and ran into this. immutablejs handles them fine but I liked the sound of this library for all the reasons mentioned in your blog: http://noredinktech.tumblr.com/post/107617838018/switching-from-immutable-js-to-seamless-immutable

Resolved by https://github.com/rtfeldman/seamless-immutable/pull/119


Add Snippets guide

hallo @pbakaus

Continuation of #2043
New commits address last round of feedback from #2043, see that PR for inline discussions
Animations don't work, see #1890
Question: I really don't know where to house this. Snippets resides in the Sources panel. It doesn't make sense to store it with the Command Line docs. I've stored it top-level in Debug, but I don't know how or where we would display it. It's currently buried / hidden on the Debug index page.

Nice!
Instead of putting it directly in the debug/ folder, create a sub directory called "snippets", put the markdown file there and rename it to "index.markdown". Then change the title from "Set Up Snippets" to "Using Snippets" (or something even better). This will make it appear in the left nav.
Unfortunately WF currently isn't setup to skip the forth indentation, so on the snippets page you'll see an empty "topics" block at the bottom. My guess is that this will be fixed eventually and is fine for now.
Regarding the video descriptions: I still don't like em. @Meggin feel free to chime in here. I don't think they have a lot of value. I propose the following: Let's always make sure that the text on the page works standalone without videos, and use the videos as "bonus visualization". This gets us to the same place without awkwardly describing the contents of a video.

"Using JavaScript Snippets"  and i'd position it alongside any Using the Console stuf.

@pbakaus - when this is ready to go, please add the 'lgtm: approved' label

OK @pbakaus and @paulirish all items addressed, and then some. See last batch of commits.

LGTM, nice work!

Merged, will most likely push a new build tomorrow.


Issue #14

Newsletter is Done in the Main Page

@vivekvardhan2810 kindly check the PR

@Sapta-Dev27 pls mention the issue number, as it will be helpful for me to merge


[SPARK-47685][SQL] Restore the support for Stream type in Dataset#groupBy

What changes were proposed in this pull request?
When I reviewed the changes in SPARK-45685, I found an old user case that is no longer supported:
Seq(1).toDF("id").groupBy(Stream($"id" + 1, $"id" + 2): _*).sum("id")

[info] - SPARK-38221: group by `Stream` of complex expressions should not fail *** FAILED *** (51 milliseconds)
[info]   org.apache.spark.SparkException: Task not serializable
[info]   at org.apache.spark.util.SparkClosureCleaner$.clean(SparkClosureCleaner.scala:45)
[info]   at org.apache.spark.SparkContext.clean(SparkContext.scala:2718)
[info]   at org.apache.spark.rdd.RDD.$anonfun$mapPartitionsWithIndex$1(RDD.scala:908)
[info]   at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:151)
[info]   at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:112)
[info]   at org.apache.spark.rdd.RDD.withScope(RDD.scala:411)
[info]   at org.apache.spark.rdd.RDD.mapPartitionsWithIndex(RDD.scala:907)
[info]   at org.apache.spark.sql.execution.WholeStageCodegenExec.doExecute(WholeStageCodegenExec.scala:762)
...

Since this is a historical user usage, and although the Stream type has been deprecated after Scala 2.13.0, it has not been removed, so this PR restores the support for Stream type in Dataset#groupBy.
Why are the changes needed?
Restore the support for Stream type in Dataset#groupBy
Does this PR introduce any user-facing change?
No
How was this patch tested?

Pass GitHub Actions
Restored the test case for dataset group by Stream.

Was this patch authored or co-authored using generative AI tooling?
No

cc @dongjoon-hyun

Merged into master for Spark 4.0. Thanks @dongjoon-hyun @HyukjinKwon @zhengruifeng


[website] Update showcase to include Toolpad Core

Update the Products switcher copy for Toolpad

"Toolpad Studio" -> "Toolpad"
"Self-hosted, low-code builder.." -> "Components and tools for building dashboards and internal apps"
"Start using Toolpad" -> "Start using Toolpad Core/Studio"
"Learn more about why to use Toolpad" -> "Learn more about Toolpad Core/Studio"

Update the demo tabs

Add the <DashboardLayout /> as the demo for "Core"

Merge the earlier demo tabs into one for "Studio"

"Use a drag-and-drop interface to build your app's configuration. Changes made in Studio are automatically synced to .yml files, and vice-versa. Bring your own components and data."

as a single description

The Beta chip seems off. Everything else looks good to me!

That isn't from a change in this PR, that one is already merged in https://github.com/mui/material-ui/pull/42952

I think we can make the code preview more to the point. It doesn't have to be the exact same as what we render. e.g. look at the the MUI X code preview. I think we can also leave out the explanation text that we add for Studio. The code can speak for itself.
We can inline and reduce the amount of navigation and leave out the other props and children, what do you think of just the following as a preview?
<AppProvider navigation={[
  {
    kind: 'header',
    title: 'Main items',
  },
  {
    segment: 'dashboard',
    title: 'Dashboard',
    icon: <DashboardIcon />,
  }
  // ...
]}>
  <DashboardLayout>
    <PageContainer>
      {/* ... */}
    </PageContainer>
  </DashboardLayout>
</AppProvider>

I think we can make the code preview more to the point. It doesn't have to be the exact same as what we render. e.g. look at the the MUI X code preview. I think we can also leave out the explanation text that we add for Studio. The code can speak for itself.
We can inline and reduce the amount of navigation and leave out the other props and children, what do you think of just the following as a preview?
<AppProvider navigation={[
  {
    kind: 'header',
    title: 'Main items',
  },
  {
    segment: 'dashboard',
    title: 'Dashboard',
    icon: <DashboardIcon />,
  }
  // ...
]}>
  <DashboardLayout>
    <PageContainer>
      {/* ... */}
    </PageContainer>
  </DashboardLayout>
</AppProvider>

Agree with shortening the preview code. About the Studio description, I would keep at least one sentence talking about Studio being a drag and drop builder given there isn't any context around it anywhere else on the landing page.

About the Studio description, I would keep at least one sentence talking about Studio being a drag and drop builder given there isn't any context around it anywhere else on the landing page.

Yes, we can keep the studio one, I meant we can remove it for the core tab

@bharatkashyap Can you look into this scroll issue?
https://github.com/user-attachments/assets/5a916c56-22b1-408e-89f6-e203a1e140de

@prakhargupta1 @Janpot Updated the reported scroll issue, is this good to merge now?


Default discipline for organizations

Motivation
Organizations should only have only one discipline that gets created by automatically when a user group is created. Within the group admin interface it should be possible to upload an icon that will be used as discipline icon in the front end.
Proposed Solution
Modify save function to automatically create discipline when user group is created. Eventually overwrite django templates to enable users to upload group icons.

Subdisciplines should still be dynamic

This issue turned out to be very cumbersome. It was replaced by #232


Encoder Version

The paper report an encoder version(adapted from the cramming one) of the simplified transformer block. Any plans to disponibilize this code? If not, what changes one has to do to adapt from this decoder version?

I haven't had much time and it's not high on my

I haven't had the time and it's not high on my list. The only change from the decoder version is to change the centering matrix in shaped attention, which is always defined as the post-softmax matrix with zero Q-K dot product. For encoder only with no causal masking (and assuming no other masking, i.e the masking is in the embeddings), then the centering matrix is just the uniform stochastic matrix (i.e. 1/T uniform entries, for sequence length T).


Create a concept for useful the CLI commands

Goal: In production we want to be able to do all necessary task only with the help of commands (with initial configuration of paths).
Task: Create a rough concept on which commands are necessary to achive the described goal.

A possible solution would be to create something like the build lifecycle of maven. The complete cycle could look like:
Clone > Build > Diff > Parse
Anytime you only call for example Diff the application would automatically try to also call any commands that come before Diff (Clone & Build in this case).


[release] Changelog for 2.0.0.Beta2

@jpechane
Hi.
Hasn't the PR below been released?
https://github.com/debezium/debezium/pull/3818

@pkgonan It was, thanks for pointing this out. It looks like a glitch with release notes generator script


Fix #582

This PR will fix #582.
This issue always happens if the command contains non-related to filename such as arguments.
https://github.com/treasure-data/digdag/blob/master/digdag-ui/console.jsx#L922
In the above, command includes args the cause why can't display file(s).
So I will add some fix to check the command contains the specific file in archives exists or not.
If the changes are merged, we can show the files as follows:

LGTM
Thanks!


include signal choices

Add signal choice #defines. Adds a bunch of lines to header file of the format #define <DBC_NAME>_<FRAME_NAME>_<SIGNAL_NAME>_<CHOICE_NAME>_CHOICE <int value>:
#define A200_AIS_VESSEL_HEADING_HEADING_REFERENCE_TRUE_CHOICE (0u)
#define A200_AIS_VESSEL_HEADING_HEADING_REFERENCE_MAGNETIC_CHOICE (1u)
#define A200_AIS_VESSEL_HEADING_HEADING_REFERENCE_ERROR_CHOICE (2u)
#define A200_AIS_VESSEL_HEADING_HEADING_REFERENCE_NULL_CHOICE (3u)

Not exactly what I was originally thinking, but it's already built so /shrug

Copy/paste from Slack convo for PR history:

Also for enums: I liked your previous suggestion of:

class VesselHeading_heading_reference : public Signal<uint8_t, double> {
public:
    static constexpr int kTrue = 0;
    static constexpr int kMagnetic = 1;
    static constexpr int kError = 2;
    static constexpr int kNull = 3;
    VesselHeading_heading_reference(const uint8_t* buffer);
    virtual uint8_t Raw() override;
    virtual bool RawInRange(const uint8_t& value) const override;
};

I had not included the signal choices in their style because it was find for the c source code generation but for ours it wasn't really the same style (really just the whole #define concept). But open for conversation if you think this is better!

Now generates signal classes that look like:
/**
 * Signal equipment_status.
 * Message Heartbeat
 *
 * Range: 0..4 (0..4 Enum)
 * Scale: 1
 * Offset: 0
 */
class Heartbeat_equipment_status : public Signal<uint8_t, double> {
public:
    // Static enum values
	static constexpr uint kOperational = 0;
	static constexpr uint kFault = 1;
	static constexpr uint kReserved = 2;
	static constexpr uint kNotAvailable = 3;

    Heartbeat_equipment_status(const uint8_t* buffer);

    virtual uint8_t Raw() const override;
    virtual bool RawInRange(const uint8_t& value) const override;
};


replace last returns an empty string when the searched string is not present

if you try <FTName | replace('non-existing-string', '')> when FTName value doesn't contain non-existing-string the result will be an empty string

will be fixed with the next release which is coming shortly. Thanks for the PR


[BUG] STRTCPSVR doesn't show sc output in 5250

See #115/#116 for some context, but the reason the STRTCPSVR handler sometimes runs in non-batch mode is because during bringup, I was able to see sc progress messages, warnings, etc.
Even outside the scope of STRTCPSVR, I can't get this desired behavior. For instance, if I run:
CALL PGM(QP2SHELL ) PARM('/QOpenSys/pkgs/bin/bash' '-l' '-c'
        'echo hi && exec /QOpenSys/pkgs/bin/sc start zookeeper 2>&1 |cat
;echo done  ;sleep 5'                  )
``
... the "hi" and "done" show on the screen but the `sc` output does not!! 😠
cc @chrjorgensen for awareness/input

If you remove the "|cat" part it works...!

CALL PGM(QP2SHELL)
     PARM('/QOpenSys/pkgs/bin/bash' '-l' '-c' 'echo hi && echo hi again 2>&1; echo done; sleep 5')

gives the following output:
hi
hi again
done
Press ENTER to end terminal session.

@chrjorgensen ,  the |cat made this mysteriously work during bringup (should have documented that!).
Your sample QP2SHELL invocation works for me also, but if I put the /QOpenSys/pkgs/bin/sc command in there, the sc output still goes to SPLF (at least on my current system).
I'm very confused. Is it something different with how bash is handling subshells? Something to do with blended stderr/stdout? Something particular on my system?

This is the only real change I ever made to the sc script..
https://github.com/ThePrez/ServiceCommander-IBMi/commit/08e5ccc0dfc1c41cc11b8519589dc4ab744eea8e

I seem to recall that QP2SHELL won't set up the descriptors, but bash would. Maybe it's a matter of reliably setting up descriptors
Did you need to set QIBM_MULTI_THREADED for it to work? Or can you do that right on the QSH invocation? If memory serves me right, I shied away from QSH on the first impl because:

Assumed QIBM_MULTI_THREADED would cause issues (but I didn't try it)
I'm not sure if QSH would honor the #! line and do the right thing in the sc script (but I didn't try it)
I've always used QP2SHELL2 as my first stop
I think all of those are horrible reasons, so it's worth a revisit

I see two options:

Switch to QSH and add QIBM_MULTI_THREADED - this is what I have always used, but I'm no PASE expert and also do much CL programming.
Continue using QP2SHELL but add programming for

stdin, stdout, and stderr must be forkable file descriptors

(mentioned in the link).
I have always been confused about QP2SHELL - probably for the same reasons that is causing these problems with stdout back to the job.

You can open file descriptors in Bourne shells if you want: https://bash.cyberciti.biz/guide/Opening_the_file_descriptors_for_reading_and_writing
That works for standard files, but won't get you the "fake" stdin/stdout/stderr provided by QSH/QP2TERM.

I don't believe that bash will set up file descriptors. Those are supposed to be set up by the caller.


Fix and improve human pose estimation example

This PR improves human pose estimation example

@szabi-luxonis I renamed them - I used 2021.1 to compile - can I leave them as is?

@szabi-luxonis I renamed them - I used 2021.1 to compile - should they be changed to 2021.2 or can be left?

We should use the latest version in examples IMO.

Yes and if we use latest version, this has advantage the if folks are combining examples they all have the same OpenVINO version.
For OpenVINO versions we should try to like jump together across all examples if possible when we choose a new version.  That way the examples can be plug/played together without having differing versions of OpenVINO compilation which would cause them not to work and user confusion.
Thoughts?

I updated the models to use 2021.2 OpenVINO version. To accomplish it, I released an update for BlobConverter to support 2021.2 conversion online - http://<IP_ADDRESS>:8084/

Thanks!


Unable to connect to WIS RTC demo Locally

Hello,
Managed to spin up an instance of WIS, and everything appears to be starting up correctly. However when I try to access the RTC page, it seems to try to make a connection but does not get any further. Here is the log data I can see:
iceConnectionLog disconnected signalingLog complete iceConnectionLog checking localDescription offer {   "type": "offer",   "sdp": "v=0\r\no=-<PHONE_NUMBER>406714890 2 IN IP4 <IP_ADDRESS>\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0 1\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS\r\nm=audio 64444 UDP/TLS/RTP/SAVPF 111 63 9 0 8 13 110 126\r\nc=IN IP4 <IP_ADDRESS>\r\na=rtcp:9 IN IP4 <IP_ADDRESS>\r\na=candidate:2850786284 1 udp<PHONE_NUMBER> <IP_ADDRESS> 64442 typ host generation 0 network-id 1\r\na=candidate:775075476 1 udp<PHONE_NUMBER> <IP_ADDRESS> 64443 typ host generation 0 network-id 3\r\na=candidate:3114883702 1 udp<PHONE_NUMBER> <IP_ADDRESS> 64444 typ host generation 0 network-id 2 network-cost 10\r\na=candidate:1655339575 1 udp<PHONE_NUMBER> <IP_ADDRESS> 64444 typ srflx raddr <IP_ADDRESS> rport 64444 generation 0 network-id 2 network-cost 10\r\na=candidate:3609487732 1 tcp<PHONE_NUMBER> <IP_ADDRESS> 9 typ host tcptype active generation 0 network-id 1\r\na=candidate:1358779404 1 tcp<PHONE_NUMBER> <IP_ADDRESS> 9 typ host tcptype active generation 0 network-id 3\r\na=candidate:3345397998 1 tcp<PHONE_NUMBER> <IP_ADDRESS> 9 typ host tcptype active generation 0 network-id 2 network-cost 10\r\na=ice-ufrag:3Tc7\r\na=ice-pwd:wcTlKOSBA2XDTkqkNxd/7hJv\r\na=ice-options:trickle\r\na=fingerprint:sha-256 45:DB:A6:1A:5D:72:A9:76:1A:F4:66:84:67:F2:39:A8:F4:D8:0A:C9:98:E1:A2:6F:C5:6B:FC:D2:B2:F8:16:1D\r\na=setup:actpass\r\na=mid:0\r\na=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid\r\na=sendrecv\r\na=msid:- 568268e5-89b2-4660-a7b5-2b7de2060848\r\na=rtcp-mux\r\na=rtpmap:111 opus/48000/2\r\na=rtcp-fb:111 transport-cc\r\na=fmtp:111 minptime=10;useinbandfec=1\r\na=rtpmap:63 red/48000/2\r\na=fmtp:63 111/111\r\na=rtpmap:9 G722/8000\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:13 CN/8000\r\na=rtpmap:110 telephone-event/48000\r\na=rtpmap:126 telephone-event/8000\r\na=ssrc:3526239653 cname:Kwlyo7DLJDeRJm5R\r\na=ssrc:3526239653 msid:- 568268e5-89b2-4660-a7b5-2b7de2060848\r\nm=application 64447 UDP/DTLS/SCTP webrtc-datachannel\r\nc=IN IP4 <IP_ADDRESS>\r\na=candidate:2850786284 1 udp<PHONE_NUMBER> <IP_ADDRESS> 64445 typ host generation 0 network-id 1\r\na=candidate:775075476 1 udp<PHONE_NUMBER> <IP_ADDRESS> 64446 typ host generation 0 network-id 3\r\na=candidate:3114883702 1 udp<PHONE_NUMBER> <IP_ADDRESS> 64447 typ host generation 0 network-id 2 network-cost 10\r\na=candidate:1655339575 1 udp<PHONE_NUMBER> <IP_ADDRESS> 64447 typ srflx raddr <IP_ADDRESS> rport 64447 generation 0 network-id 2 network-cost 10\r\na=candidate:3609487732 1 tcp<PHONE_NUMBER> <IP_ADDRESS> 9 typ host tcptype active generation 0 network-id 1\r\na=candidate:1358779404 1 tcp<PHONE_NUMBER> <IP_ADDRESS> 9 typ host tcptype active generation 0 network-id 3\r\na=candidate:3345397998 1 tcp<PHONE_NUMBER> <IP_ADDRESS> 9 typ host tcptype active generation 0 network-id 2 network-cost 10\r\na=ice-ufrag:3Tc7\r\na=ice-pwd:wcTlKOSBA2XDTkqkNxd/7hJv\r\na=ice-options:trickle\r\na=fingerprint:sha-256 45:DB:A6:1A:5D:72:A9:76:1A:F4:66:84:67:F2:39:A8:F4:D8:0A:C9:98:E1:A2:6F:C5:6B:FC:D2:B2:F8:16:1D\r\na=setup:actpass\r\na=mid:1\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n" } iceGatheringLog complete iceGatheringLog gathering signalingLog new added track to peer connection
When I open the debug console, I see this response from asr:
{     "sdp": "v=0\r\no=-<PHONE_NUMBER><PHONE_NUMBER> IN IP4 <IP_ADDRESS>\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0 1\r\na=msid-semantic:WMS *\r\nm=audio 10035 UDP/TLS/RTP/SAVPF 111\r\nc=IN IP4 <IP_ADDRESS>\r\na=recvonly\r\na=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level\r\na=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid\r\na=mid:0\r\na=msid:36c53f4f-8f1f-458c-a189-9c1747570917 33ffaf28-0aeb-4bec-9886-fdb0d7e452c3\r\na=rtcp:9 IN IP4 <IP_ADDRESS>\r\na=rtcp-mux\r\na=ssrc:2402540680 cname:5246c902-d951-4bbd-b3ab-2f4ade706e73\r\na=rtpmap:111 opus/48000/2\r\na=candidate:9333c84bcc1b0bf56713df9036e6b4d9 1 udp<PHONE_NUMBER> <IP_ADDRESS> 10035 typ host\r\na=candidate:c58f5770074e5a6227e87732712d9300 1 udp<PHONE_NUMBER> <IP_ADDRESS> 10035 typ srflx raddr <IP_ADDRESS> rport 10035\r\na=end-of-candidates\r\na=ice-ufrag:qcEp\r\na=ice-pwd:IQ2ymsMj77ZqsnuWS6As6h\r\na=fingerprint:sha-256 6F:B3:6F:97:62:8A:7B:01:8D:A9:4E:0D:D5:B4:D9:E0:B4:99:97:DF:85:53:BA:B5:AE:07:54:5C:1F:BB:4C:32\r\na=setup:active\r\nm=application 10035 UDP/DTLS/SCTP webrtc-datachannel\r\nc=IN IP4 <IP_ADDRESS>\r\na=mid:1\r\na=sctp-port:5000\r\na=max-message-size:65536\r\na=candidate:9333c84bcc1b0bf56713df9036e6b4d9 1 udp<PHONE_NUMBER> <IP_ADDRESS> 10035 typ host\r\na=candidate:c58f5770074e5a6227e87732712d9300 1 udp<PHONE_NUMBER> <IP_ADDRESS> 10035 typ srflx raddr <IP_ADDRESS> rport 10035\r\na=end-of-candidates\r\na=ice-ufrag:qcEp\r\na=ice-pwd:IQ2ymsMj77ZqsnuWS6As6h\r\na=fingerprint:sha-256 6F:B3:6F:97:62:8A:7B:01:8D:A9:4E:0D:D5:B4:D9:E0:B4:99:97:DF:85:53:BA:B5:AE:07:54:5C:1F:BB:4C:32\r\na=setup:active\r\n",     "type": "answer" }
Let me know if any other info would be helpful here, thanks! :)

WebRTC can be challenging (I've been dealing with it since pre-standard)...
Are you using Chrome? We have a known issue negotiation issue with Safari in IPv4+IPv6 scenarios and Firefox is somewhat known (unfortunately) to kind of be all over the place with WebRTC.
To exclude any fundamental network connectivity issues I'd try Chrome. If it doesn't work there you likely have some network stuff going on we can explore.

I am indeed using Chrome. Also tried incognito mode just in case that'd make a difference, but no good unfortunately. If it helps/matters, I am running this in a Proxmox VM (Ubuntu OS), with the GPU shared directly with the VM. I confirmed via nvidia-smi that the GPU is present and models are loaded, and am not getting any errors on that front. I was thinking maybe it has something to do with the virtual network docker makes, in conjunction with the virtual network adapters of the VM?

Not having an IPv4 address looks pretty suspect and is likely to confuse our client, the browser, or WIS as we haven't tested with that specific configuration. I have no idea what it would do.
Also, based on the SDP from WIS it seems WIS is offering UDP 10035. Double and triple check that is what is actually getting passed to the docker run command as a forwarded/exposed port. WIS should maintain consistent port management but clearly something is up here so another thing to check.
Does our hosted example work for you?

I haven't modified any of the run files so I imagine that should be what docker is using. I'll look into the ipv6 piece and see if I can find any leads there. I also have no firewall on this device so shouldn't be blocked in that regard.
And yes, hosted example works fine. :)

You can uncomment this line:
https://github.com/toverainc/willow-inference-server/blob/98b31b62420bfa24a60d752e76de6dcec57aa0d3/main.py#L117
That should display much more WebRTC specific debugging information.

Gave that a shot but now get this on bootup:

Figured that out, was a typo in the line. Needs to be level=logging.DEBUG :)

Thanks for catching that, we updated our logging config a while back and haven't had to use aiortc debugging in a long time. I just pushed a fix and made it a bool from settings.py.
Using WebRTC over completely local networks/IPs is possible but is kind of a strange use case (even though it makes sense give WIS). What's likely happening here is our TypeScript client is configured to use STUN by default to discover your public IP address and add it as an ICE candidate as that's been the typical usage scenario:
https://github.com/toverainc/willow-ts-client/blob/78edd1651809a522f4217a8b4606cf5da0ef5c63/src/index.ts#LL50C9-L50C9
I didn't write our TS client so I'd have to get up to speed on it to properly toggle/configure STUN support. You can clone, hack it up, and build but other than that I'll have to check with @richardklafter to see how we should be go about handling this.

So I dug into this and managed to get it working! After doing some reading up on webrtc and ICE and how Stun comes into play, I went into my router and created a NAT Hairpin rule to remap any requests to the UDP ports at the WAN interface back to the local IP of the willow inference server instance. Now it works perfectly. :)

Excellent, great workaround! I'm going to leave this issue open until I have time to document this.

Just an update, one caveat I missed when I did the above is that I actually exposed my instance to the internet (NAT hairpin is just noticing that I am making a request to my public IP, and does the port forwarding locally instead of trying to resolve the actual external IP and route that way). As such I have since removed the rule as I was starting to see some port scan activity against that server 🤣


Clean up plot_functions.py

Closes #199
(This should be merged after #198)
Changes

separate create_figures into smaller functions
remove sample_table arg and cc manual counter
remove unused function setup_text_plots

Of Note
Bands with fluxes in electrons/sec ('Kepler', 'K2', 'TESS') are now scaled based on all bands with fluxes in mJy. Previously they were being scaled based only on the bands that had actually been plotted before the electrons/sec bands; and if no bands had already been plotted, the electrons/sec band was omitted. I can provide figures for comparison if anyone wants to see them.
I have removed the line that dropped data points with "time" > 65000 MJD (= 2036-11-03). I checked the Yang sample and the first 100 objects in the SDSS sample and did not find any such data points. If there was a specific need for that line, please let me know. It seems to me that, if there are any such data points, they should be dropped from the dataframe altogether, not just for plotting.

I like the idea of dropping NaN's from the data frame before plotting.  Can that go in the new _clean_lightcurves before the zscore gets calculated?  for issue #203

Now that the plotting function is more organized, is it possible to make the plotting colors band specific (ie., so in every plot W1 is always gray, W2 is always black, etc.)? It would be a nice enhancement, not required at all.

Sure, done. Here is what the colors are now. (And if folks don't like certain assignments, they can be changed.)

I like the idea of dropping NaN's from the data frame before plotting. Can that go in the new _clean_lightcurves before the zscore gets calculated? for issue https://github.com/fornax-navo/fornax-demo-notebooks/issues/203

Done


[WIP] Adding support of Video to remaining Transforms and Kernels

Builds upon #6667
This PR ensures that the following have support for Video:

Updated Transforms: Grayscale, RandomGrayscale, FiveCrop, TenCrop, ConvertImageDtype
Updated Dispatchers: rgb_to_grayscale, get_image_size, five_crop, ten_crop
New Kernels: five_crop_video, ten_crop_video

From https://github.com/pytorch/vision/pull/6667#discussion_r989428697 only MixUp and CutMix are missing. Since there has been no discussion on the first PR, maybe we can do it here? Do we want those transforms for videos as well?
Plus, why are we only supporting images and videos in {five, ten}_crop? If we support more than images, i.e. making them more regular, shouldn't we also support bounding boxes and masks?

@pmeier Yes we should add Mixup/Cutmix. The PR is still in progress, I'll update it with more commits soon.
Concerning Five/Ten crop, this is usually an inference transform used in Classification. As discussed previously, supporting Detection/Segmentation will require updating the labels/bboxes not just the images. Thus we would need a BC break to support them. Extending support to them would require additional discussions. This PR aims to ensure we support all existing Video compatible kernels in V2 as we do in V1.

@pmeier As discussed offline, to unblock other pending PRs and reduce conflicts, we'll add MixUp/CutMix on a follow up.


Support styles (borderX) for  on IOS

🐛 Bug Report
IOS don't support next styles for <Text/> component!
borderTopWidth\borderTopColor
borderBottomWidth\borderBottomColor
borderLeftWidth\borderLeftColor
borderRightWidth\borderRightColor

To Reproduce
        <Text style={{borderWidth: 1}}>borderWidth</Text>
        <Text style={{borderLeftWidth: 1}}>borderLeftWidth</Text>
        <Text style={{borderRightWidth: 1}}>borderRightWidth</Text>
        <Text style={{borderTopWidth: 1}}>borderTopWidth</Text>
        <Text style={{borderBottomWidth: 1}}>borderBottomWidth</Text>
        <Text style={{borderWidth: 1, borderBottomWidth: 0,}}>borderWidth\borderBottomWidth</Text>

Expected Behavior
Full style props (borderLeftX,borderTopX, ...) support like Android!
Code Example
Example: https://snack.expo.io/@retyui/test-borders
IOS example:

Android

Environment
  React Native Environment Info:
    System:
      OS: Linux 4.15 Linux Mint 18.3 (Sylvia)
      CPU: (8) x64 Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
      Memory: 9.63 GB / 15.55 GB
      Shell: 2.7.1 - /usr/bin/fish
    Binaries:
      Node: 10.15.1 - /usr/bin/node
      Yarn: 1.13.0 - ~/.yarn/bin/yarn
      npm: 6.7.0 - /usr/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    SDKs:
      Android SDK:
        API Levels: 23, 25, 26, 27, 28
        Build Tools: 23.0.1, 26.0.2, 26.0.3, 27.0.3, 28.0.2, 28.0.3
        System Images: android-23 | Intel x86 Atom_64, android-23 | Google APIs Intel x86 Atom_64, android-26 | Google APIs Intel x86 Atom, android-28 | Google APIs Intel x86 Atom, android-28 | Google APIs Intel x86 Atom_64
    npmPackages:
      react: 16.8.1 => 16.8.1
      react-native: 0.59.0-rc.2 => 0.59.0-rc.2
    npmGlobalPackages:
      react-native-cli: 2.0.1
      react-native-create-library: 3.1.2

Thanks for the repro steps, we were able to reproduce the issue 👍
While the docs state that the style prop supports all of the View Style Props, the Flow interface (which is considered the source of truth) does not actually include the View Style Props. As such, this is considered a bug in the docs, which we’ll follow up with.
For completeness sake, the proper solution would be to add these props to a wrapper view, which does work as expected:

Actually, we were looking at the wrong code–we should have been looking at these styles.
So theoretically the docs are correct, in that they are presumed to all work, but in practice it seems like somebody needs to make a decision on wether or not these styles will truly have to be supported on Text or if they should be excluded and documented as such.
If you [or others] feel strongly about this then a PR would be much appreciated, otherwise we’ll leave it sit for now.

Up

Thank you Sir You are GENIUS and I am fine to learn more here it’s Powerful
tool I support The team Always
Le jeu. 1 août 2019 à 20:53, David undefined<EMAIL_ADDRESS>a
écrit :

Up
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/facebook/react-native/issues/23537?email_source=notifications&email_token=AI2ZKSF3LO7354MS2DVONALQCOARTA5CNFSM4GYPLJOKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3MIPCA#issuecomment-517506952,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AI2ZKSAEWUE3ZIY2NSBILYLQCOARTANCNFSM4GYPLJOA
.

Фу бот пошёл вон, не трогай

Как же ты какалебал

Кыш

Ha ha

хватит

any progress ?

Ran into this issue today. Adding a textDecorationLine: 'underline' to the  styles sort of works to replace a borderBottomWidth, but visually is not as great. Hope that helps anyone else out there struggling with this issue.

More than three years and this hasn't been fixed yet...

bump, still not working

As a workaround you can render a <View> instead, add a <Text> node in there with the desired text and set the border style on the <View>. This works nicely both on Android and ios.


Add toggle for custom_from_subdomain DNS record creation

what
This module currently has no way to disable the custom_from_domain Route53 records from being created. Add a new variable create_custom_from_subdomain_record and default it to true to preserve the current behavior. Allows users that need this feature to toggle the option to false and get the desired results.
why
This is a problem for organizations that will need to manage DNS records outside of Route53 or in a different AWS account. Currently, other records in the module have a toggle, but the one for custom_from_subdomain seems to have been missed.
references
closes #98

I'm checking with the team

/terratest

/terratest

/terratest


Mass job status change API

original issue: https://github.com/kubernetes/test-infra/issues/30108
What would you like to be added:
A simple API to mass update statuses of jobs based on filtering criteria:

cluster
state
started_after
started_before
job type

There would be a single endpoint that would accept the above criteria, and find and update all matching ProwJobs to the provided state.
Why is this needed:
OpenShift recently experienced an outage in one of the build clusters in our Prow instance. Due to this, we had a large number of jobs stuck in the triggered state. We could have made good use of something that allowed us to abort all of these jobs. I think a general purpose API to update the status of jobs would be useful for other purposes as well, but the most salient use case would be mass-abort by criteria.

Original comment: https://github.com/kubernetes/test-infra/issues/30108#issuecomment-1954984056
Endpoint
We should achieve this functionality by adding a new endpoint to the Gangway API. The endpoint, BulkJobStatusChange, will accept a BulkJobStatusChangeRequest containing:

currentState
desiredState
cluster (optional)
startedAfter (optional)
startedBefore (optional)
jobType (optional)
org (optional)
repo (optional)

It will use the provided parameters to search for any ProwJob CRs that match. All matching CRs will have their status.state field updated to match the desiredState provided. Note that we should validate each of these parameters to make sure the values make sense; especially the desiredState.
Updating the State
Each listed ProwJob will have its status.state field updated to the desiredState provided by utilizing prowjob client's UpdateStatus function.


messing about

I was experimenting...  Not for merging.
I thought an interface ISubclass would be better than an abstract class.  For example MasterManipulator.
However I then wondered why these classes aren't static like everything else since presumably we only want one instance.  See SpellMaster.
Is there a way to invite conversations on code without creating a PR?

I was experimenting... Not for merging.
I thought an interface ISubclass would be better than an abstract class. For example MasterManipulator.
However I then wondered why these classes aren't static like everything else since presumably we only want one instance. See SpellMaster.
Is there a way to invite conversations on code without creating a PR?

When I was first adding the subclasses I had the show/hide logic in the abstract subclass class. Since that was all moved out, it can be an interface.
As for static vs not, I don't have a strong preference. Since I was extending the abstract class initially they couldn't be static.


Pre-populate the database with default config when a project is first created

Since MapeoProject.importConfig is async we can't call it from the constructor so I think we can expose importConfig and call it from mapeoManager.createProject.


mage with specific working dir

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 10 (0.0%)  changed or added relevant lines in 1 file are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.03%) to 10.566%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

mage/mage.go
0
10
0.0%

Files with Coverage Reduction
New Missed Lines
%

mage/mage.go
2
0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.03%

Covered Lines:
222

Relevant Lines:
2101

💛  - Coveralls


Support different backends

As a GitLab user, I'd like to use GitLab as my repo source.
I'd say this could work by some environment-based configuration which specifies which Git host to use, defaulting to GitHub.
This would replace the write-github with write-to-git which then calls the relevant SDK for the write event

That shouldn't be a problem. I don't think I've changed the interface much so it's reasonably safe to have a GitLab alternative. I'll take a look at refactoring it.

Closed by #12


Updates API when user uses template, edits resource, and searches. Re…

…trieves user data from API. Updates historical templates from user data.
refs #2516
Why was this change made?
This is initial work on personalization.
How was this change tested?
Unit, feature, integration
Which documentation and/or configurations were updated?
NA

Now persists across sessions:

@jermnelson Sorry for the cruft -- removed and ready for re-review.
Yes, the saved templates, searches and resources be restricted to just that environment. The history is being stored in the environment specific API.


[FEATURE] move menu toggle into it's own component

Description
For cleaner code, move this to its own component and call it in Anonymous.jsx component
https://github.com/Dun-sin/Whisper/blob/dbec99c68f63c606647ea2cef1d458a72ae83b1b/client/src/components/Anonymous.jsx#L153-L163
Additional Information
Provide a screen recording of the menu toggle working

I can do this

Hey @Dun-sin  I want to work on this issue kindly assign it to me.

sorry @Priyanshu-2005 @Bridgetamana asked first, but @Priyanshu-2005 you can go through other good first issues and indicate there instead

I can do this

Sure, thanks for wanting to contribute. Make sure to read the issue description carefully and ask if you have questions. Follow the rules here, or your PR won't be accepted and will be closed. Good luck!

@Priyanshu-2005 are you still up for this?

@Dun-sin  Yes i am willing to contribute Kindly assign this issue to me.

@Dun-sin Yes i am willing to contribute Kindly assign this issue to me.

alright then, Make sure to read the issue description carefully and ask if you have questions. Follow the rules here, or your PR won't be accepted and will be closed. Good luck!