Ensure template given to ShadyCSS is the one rendered by lit-html

This ensures ShadyCSS can update the style in the template that will be rendered by lit-html. ShadyCSS needs to do this, for example, when the set of properties needed in any @apply changes.
Fixes https://github.com/Polymer/lit-element/issues/117

@justinfagnani PTAL


✨ Small improvements to Sink throughput graph

#766  👈 (View in Graphite)
main

This stack of pull requests is managed by Graphite. Learn more about stacking.


[Storage Internal Avro] Fix ESLint errors

Fix lint errors found in storage-internal-avro package by ESLint. Following are the steps to run ESLint for this package and reproduce this issue.

Set up your dev environment if not already done so as mentioned here
Go to <repo root>/sdk/storage/storage-internal-avro
run rushx lint
Command in step 2 generates an html report in directory <repo root>/sdk/storage/storage-internal-avro with name storage-internal-avro-lintReport.html
All lint errors found in this package is listed on html report.

Once all known issues are resolved, below change is required in package.json file in package root <repo root>/sdk/storage/storage-internal-avro to treat any new lint regression as hard failure in CI.

Remove following snippet from lint command in package.json
-f html -o storage-internal-avro-lintReport.html || exit 0

Closing as per #21297


feat: udpate types.ts for fun 2.0

types.ts: remove Predicate, Refinement, NonEmptyArray, Fn, UnknownFn, ConstPrimitive, and Ordering.
types.ts: updated all type references to new files or typed in place.
predicate.ts: move Predicate out of types.ts and implemented various tooling
refinement.ts: move Refinement out of types.ts and implemented various tooling
fns.ts: remove isNil and isNotNil and updated all refs

Fixes #130

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

22 of 24 (91.67%)  changed or added relevant lines in 8 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.04%) to 92.654%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

boolean.ts
0
2
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.04%

Covered Lines:
5134

Relevant Lines:
5547

💛  - Coveralls


Proposal for await syntax

With ES6, promises are now an official part of JS. New APIs like fetch are returning them, and basically they're here to stay at this point. The existing JS solutions are extremely clunky. Unfortunately, they would be just as clunky ported to Squiggle. await lets us flatten the 99% case where we assume everything just works and the whole thing is just some kind of Promise failure. Compare:
// ES5
function profilePicture(profileId) {
    return fetch(API_PREFIX + profileId).then(function(p) {
        return fetch(p.profileImageUrl).then(function(img) {
            return img.data;
        })
    })
}

// ES6 (arrow function sugar)
function profilePicture(profileId) {
    return fetch(API_PREFIX + profileId).then(p =>
        fetch(p.profileImageUrl).then(img =>
            img.data));
}

// ES6 (generators and github.com/tj/co)
function profilePicture(profileId) {
    return co(function* () {
        const p = yield fetch(API_PREFIX + profileId);
        const img = yield fetch(p.profileImageUrl);
        return img.data;
    });
}

// Squiggle
def profilePicture(profileId) =
    fetch(API_PREFIX ++ profileId).then(fn(p)
        fetch(p.profileImageUrl).then(fn(img)
            img.data))

// Squiggle (w/ await keyword)
def profilePicture(profileId) =
    await p = fetch(API_PREFIX ++ profileId)
    await img = fetch(p.profileImageUrl)
    in img.data

Also note that if you needed default values in the chain, it'd be pretty easy to add them via something like:
await profile = fetch(API_PREFIX ++ id).catch(fn(_) {name: "anonymous"})
in profile.name

Async functions are a proposal for ES7, but I dislike the idea of having to declare a function different upfront in order to use the feature, considering it absolutely isn't necessary for await to work correctly here. Really, this is just a macro of sorts that rewrites into .then calls to avoid nesting.

Thought
What would this mean?
await response = fetch(url)
let name = response.name
in name.toUpperCase()

I'm guessing it's like:
await response = fetch(url)
in (let name = response.name
in name.toUpperCase())

(parentheses added for emphasis)

Thought 2
let url = "https://example.com/foo"
let myPromise = fetch(url)
await response = myPromise
let name = response.name
in name.toUpperCase()

This would work like:
let url = "https://example.com/foo"
let myPromise = fetch(url)
in (await response = myPromise
in (let name = response.name
in name.toUpperCase()))

(parentheses added for emphasis)

In summary, everything after/below await in a let-binding group is nested inside the .then call. The parser should stay easy, with just an extra binding type besides let and def, while the compiler will have to get a little trickier by nesting things as it finds await interspersed.

@tcmitche has suggested requiring an explicit await FOO = PROMISE in EXPR syntax so as to make the nesting clearer. Here is a rewrite of the simple example from my opening comment:
This:
def profilePicture(profileId) =
    await p = fetch(API_PREFIX ++ profileId)
    await img = fetch(p.profileImageUrl)
    in img.data

Becomes:
def profilePicture(profileId) =
    await p = fetch(API_PREFIX ++ profileId)
    in await img = fetch(p.profileImageUrl)
    in img.data

Idea: It might make sense to implement the await FOO = BAR in QUUX form to start with just because it'd be much easier to implement, since there would be no AST post-processing to perform.


What is jsonata.functions in ui/editor ??

Can't figure out jsonata.functions in this context. jsonata library doesn't seem to export such a constant. What am I missing?
I'm trying to work on my own extension to node-red, but stuck here.
import { jsonata } from 'jsonata'
Please advise. Thanks :)
I raised the question here https://github.com/jsonata-js/jsonata/issues/104 as well
editor.js
Object.keys(jsonata.functions).forEach(function(f) {
     funcSelect.append($("<option></option>").val(f).text(f));
})

However, it seems to be an extension configured in vendor/jsonata/formatter.js
What is the deal with these vendor libs? Is it using an old version 1.2 of jsonata with these configs built in?

Hi,
as per our contribution guidelines we prefer general how-to questions via either the mailing list, slack channel, or stack-overflow (tagged node-red), as that way they get seen by a much wider audience. Especially in this case as many more jsonata experts are in the wider community.

We bundle jsonata in the editor, although we're slightly back-level as we've not done a maintenance releases of node-red for a while.
The code under vendor/jsonata includes some Node-RED specific extensions that help provide the jsonata expression editor component of node-red; syntax highlighting and autocomplete for example.
As Dave says (as did the issue template you deleted when opening this), please use the mailing list or slack for questions.


Stop adding newline to end of file

I came from the wongjn extension recently, and I can't seem to get this extension to stop adding a new line at the end of my files.
I have turned "Files: Insert Final Newline" in VSCode off. I also have this in my ruleset:
<?xml version="1.0"?>
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="FL" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/squizlabs/PHP_CodeSniffer/master/phpcs.xsd">

	<rule ref="WordPress">
		<exclude name="WordPress.PHP.YodaConditions.NotYoda"/>
		<exclude name="WordPress.Files.FileName.InvalidClassFileName"/>
		<exclude name="WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase"/>
		<exclude name="Universal.Operators.DisallowShortTernary.Found"/>
		<exclude name="PSR2.Files.EndFileNewline.NoneFound"/>
		<exclude name="Generic.Files.EndFileNewline"/>
		<exclude name="WordPress.DB.PreparedSQLPlaceholders.UnsupportedIdentifierPlaceholder"/>
	</rule>

</ruleset>

When running phpcbf manually, no newlines are added and no fixes are available on the file. When I save the file and the formatter runs, a newline is added. If I disable phpcbf from this extension, no newline is added. If I run the exact phpcbf command this extension runs, no fixes are available and no newlines are added.
The only time a newline is added is if I save the file or run formatting on it, or run F1 -> PHPCBF: Fix this file.
How can I make it stop?

Can I ask what your output looks like when you run phpcs in the terminal against your file?
phpcs plugin-file.php

Yeah, it is weird, because I don't see anything adding a newline in the extension code either.
I've never noticed this because I don't exclude the PSR2.Files.EndFileNewline.NoneFound rule, but I am able to replicate the issue using your phpcs.xml file, so I will keep digging.

@Dekadinious I found the problem, and opened a PR to fix it in #142
Are you able to test the PR to confirm it resolves the issue?

@jonathanbossenger That's great, and I would love that. But how do I test a specific PR? 😅

@Dekadinious, essentially you use the same steps to run the development version listed here

Clone this repo git clone https://github.com/valeryan/vscode-phpsab.git
Switch to the specific branch with the changes cd vscode-phpsab git checkout 138-fix-newline-error
Open the extension in VS Code and run the Debug/Development version as detailed in the steps above

This will open a new VS code instance running the code from that branch, which you can use to test.

@jonathanbossenger Thank you for the guidance!
I can confirm that it works, and I also tested https://github.com/valeryan/vscode-phpsab/pull/139 and can confirm that both spaces and special characters no longer trigger the error :)

Seems this was not included in 0.0.20 or regressed?


[bug] Task hasher looks at VCS root rather than workspace root

Describe the bug

Steps to reproduce

Create a workspace within a subdirectory of the VCS root, e.g. frontend.
Setup packages, apps, etc.
Define a basic task, e.g.

$schema: 'https://moonrepo.dev/schemas/tasks.json'

tasks:
  test-prettier:
    command: 'prettier --check .'

Within frontend, run moon run :test-prettier

Expected behavior

I expect the task to run, without warnings about trying to find files from the VCS root, rather than from the workspace root.
Screenshots

[ WARN 16:49:31.099] moon_task_hasher::task_hasher  Attempted to hash input frontend/packages/design-system/catalog-info.yaml but it does not exist, skipping
[ WARN 16:49:31.099] moon_task_hasher::task_hasher  Attempted to hash input frontend/packages/design-system/primitives/Button.tsx but it does not exist, skipping
[ WARN 16:49:31.099] moon_task_hasher::task_hasher  Attempted to hash input frontend/packages/design-system/primitives/index.ts but it does not exist, skipping
[ WARN 16:49:31.099] moon_task_hasher::task_hasher  Attempted to hash input frontend/packages/design-system/styles/unistyles.ts but it does not exist, skipping
[ WARN 16:49:31.099] moon_task_hasher::task_hasher  Attempted to hash input frontend/packages/design-system/primitives/Button.stories.tsx but it does not exist, skipping
[ WARN 16:49:31.099] moon_task_hasher::task_hasher  Attempted to hash input frontend/packages/design-system/package.json but it does not exist, skipping
[ WARN 16:49:31.099] moon_task_hasher::task_hasher  Attempted to hash input frontend/packages/design-system/primitives/types.ts but it does not exist, skipping
[ WARN 16:49:31.099] moon_task_hasher::task_hasher  Attempted to hash input frontend/packages/design-system/styles/breakpoints.ts but it does not exist, skipping
[ WARN 16:49:31.099] moon_task_hasher::task_hasher  Attempted to hash input frontend/packages/design-system/styles/index.ts but it does not exist, skipping
[ WARN 16:49:31.099] moon_task_hasher::task_hasher  Attempted to hash input frontend/packages/design-system/index.ts but it does not exist, skipping

This repeats on for all the files within each application or library defined.
The directory structure looks something like this (slightly redacted, but structured the same):
. (VCS root)
├── CODEOWNERS
├── README.md
├── backend (Rails app)
└── frontend (moon workspace root)
    ├── apps
    │   ├── design-system-storybook
    │   │   ├── moon.yml
    │   │   ├── package.json
    │   └── resident
    │       ├── moon.yml
    │       └── package.json
    ├── package.json
    ├── packages
    │   └── design-system
    │       ├── moon.yml
    │       └── package.json
    └── yarn.lock

Environment

  System:
    OS: macOS 13.6.4
    CPU: (10) arm64 Apple M1 Max
    Memory: 49.66 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.19.1 - ~/.asdf/installs/nodejs/18.19.1/bin/node
    Yarn: 4.1.1 - ~/.asdf/installs/yarn/1.22.10/bin/yarn
    npm: 10.2.4 - ~/.asdf/installs/nodejs/18.19.1/bin/npm
  Managers:
    Cargo: 1.67.0 - /opt/homebrew/bin/cargo
    CocoaPods: 1.14.3 - /opt/homebrew/bin/pod
    Homebrew: 4.2.12 - /opt/homebrew/bin/brew
    pip3: 22.0.4 - ~/.asdf/installs/python/3.10.4/bin/pip3
    RubyGems: 3.5.3 - ~/.asdf/installs/ruby/3.3.0/bin/gem
  Utilities:
    Make: 3.81 - /usr/bin/make
    GCC: 15.0.0 - /usr/bin/gcc
    Git: 2.39.2 - /opt/homebrew/bin/git
    Clang: 15.0.0 - /usr/bin/clang
    Curl: 8.4.0 - /usr/bin/curl
  Servers:
    Apache: 2.4.56 - /usr/sbin/apachectl
  Virtualization:
    Docker: 24.0.1 - /opt/homebrew/bin/docker
  SDKs:
    iOS SDK:
      Platforms: DriverKit 23.2, iOS 17.2, macOS 14.2, tvOS 17.2, watchOS 10.2
  IDEs:
    Android Studio: 2023.1 AI-231.9392.1.2311.11330709
    Atom: 1.58.0
    Vim: 9.0 - /usr/bin/vim
    Xcode: 15.1/15C65 - /usr/bin/xcodebuild
  Languages:
    Bash: 3.2.57 - /bin/bash
    Go: 1.18.2 - /opt/homebrew/bin/go
    Java: 19.0.2 - /usr/bin/javac
    Perl: 5.30.3 - /usr/bin/perl
    Python: 3.10.4 - ~/.asdf/installs/python/3.10.4/bin/python
    Python3: 3.10.4 - ~/.asdf/installs/python/3.10.4/bin/python3
    Ruby: 3.3.0 - ~/.asdf/installs/ruby/3.3.0/bin/ruby
    Rust: 1.67.0 - /opt/homebrew/bin/rustc
  Databases:
    SQLite: 3.39.5 - /usr/bin/sqlite3
  Browsers:
    Chrome: 122.0.6261.129
    Chrome Canary: 124.0.6366.2
    Safari: 17.3
    Safari Technology Preview: 17.4
  Monorepos:
    Yarn Workspaces: 4.1.1

Additional context

I did some sleuthing and did see previous fixes for VCS root vs workspace root, so it seems this may be a regression, or at least one for task hasher. This is my first experience with moonrepo, so it's possible I'm missing something.

@dvicory What version of moon are you on? Having trouble reproducing this on the latest.

Ok fixed in 1.22.8

Thanks @milesj, 1.22.8 fixed our use case!


Missing the entity in ontology that connects individuals of the same row in datasheet with time-series

TBA

Will be discussed in the data2rdf meeting


[BUG] Skiasharp Lock crash on Unity Editor

On Discord, we fixed this bug by adding this code to my script:
class ReadWriteLock : IPlatformLock
        {
            public void EnterReadLock () => _lock.EnterReadLock ();
            public void ExitReadLock () => _lock.ExitReadLock ();
            public void EnterWriteLock () => _lock.EnterWriteLock ();
            public void ExitWriteLock () => _lock.ExitWriteLock ();
            public void EnterUpgradeableReadLock () => _lock.EnterUpgradeableReadLock ();
            public void ExitUpgradeableReadLock () => _lock.ExitUpgradeableReadLock ();

            ReaderWriterLockSlim _lock = new ReaderWriterLockSlim ();
        }

Here is my stacktrace: https://gist.github.com/craftercis/fe2f72c59d3bbe742b2f94d7cc7ce74f

@craftercis do you still have that stack trace?


Prefixes should come after unprefixed styles

I noticed the vendor-prefixed CSS comes after the unprefixed CSS; it would be better to have the unprefixed CSS last.
From:
display:flex; display:-webkit-flex
align-items: center; -webkit-align-items: center
To:
display:-webkit-flex; display:flex
-webkit-align-items:center; align-items: center

Are you sure this one happens because of the prefixer? I can't reproduce that one :/ Because e.g. https://github.com/rofrischmann/inline-style-prefix-all/blob/master/test/prefixAll-test.js#L133 shows exactly what you expect and all tests pass.

Might be my fault. I'll look a bit harder.


My technic laucher wont let me play any mods

my technic laucher wont let me play mods

This is for Solder, not the launcher.  For the launcher go to http://www.technicpack.net/help


Funds don't appear in my wallet

Issue description
I've made a purchase transaction SEPA via Omoku on 24/05.
In y Omoku acount it shows correctly. Money are discounted from my acount.
On 25/05 funds don't appera on my wallet.
Is it normal?
Wallet version
Which version of wallet are you using?
v 1.1.0
System specification
What is your operating system?
Windows 10
Is it a repeatable issue?
N
Steps To reproduce the issue
Explain how the maintainer can reproduce the issue.

Expected behaviour
Describe what you expect to happen.
Actual behaviour
Describe what actually happens.
Errors
Paste any errors that you see from the Error Log in the Firefly menu or share screenshots of the issue.

Hi, please contact Omoku for support


Unable to turn on/off daikin AC (generic AC) via Niko integration

Hi,
This integration is working pretty well for my use case, appreciate all the work that's gone into it!
I have some Daikin AC units integrated into my Niko installation, and was hoping to control them via HA (especially as I cannot do this with the newer Daikin control methods now). They appear in the Home Control programming software as generic units, which I guess most closely correspond to "NHC HVAC Thermostat" mentioned in the README, which I realise is untested!
I can correctly read state information from the devices, and set the temperate, but the other functionality - particuarly turning the units on and off, does not work.
I realise this is untested, I'm happy to try to test things out in the Python code, but am a newcomer to HA in general so unsure of where to start.
I'm not sure if this related but I get a lot of errors along the lines of:
Source: custom_components/nhc2/nhccoco/coco.py:158
Integration: Niko Home Control II ([documentation](https://github.com/joleys/niko-home-control-II/blob/master/README.md), [issues](https://github.com/joleys/niko-home-control-II/issues))
First occurred: 8 January 2024 at 21:44:06 (8560 occurrences)
Last logged: 21:30:36

'NoneType' object has no attribute 'loop'

in my logs; when I enabled debug logging and do a service call along the lines of:
service: climate.turn_on
data: {}
target:
  entity_id: climate.daikinap61769

I see a log item like:
2024-01-09 21:33:18.390 DEBUG (Thread-2 (_publish_device_control_commands)) [custom_components.nhc2.nhccoco.coco] → Publishing device control command: {"Method": "devices.control", "Params": [{"Devices": [{"Uuid": "7b03c01f-2947-42cd-a063-12677ff630c5", "Properties": [{"OperationMode": "Auto"}]}]}]}
2024-01-09 21:33:19.299 DEBUG (Thread-3 (_thread_main)) [custom_components.nhc2.nhccoco.devices.controller] Controller changed (hobby/control/devices/evt == /control/devices/rsp).
2024-01-09 21:33:19.305 DEBUG (Thread-3 (_thread_main)) [custom_components.nhc2.nhccoco.devices.generic_hvac] DaikinAP61769 changed. Topic: hobby/control/devices/evt | Data: {'Uuid': '7b03c01f-2947-42cd-a063-12677ff630c5', 'Properties': [{'OperationMode': 'Auto'}]}

If I change the mode to something else in the Niko app (e.g. 'Heat'), running this call does change the mode back to 'Auto' as you might expect from the log, but doesn't turn it on. Simiarly, calling climate.set_hvac_mode appears to work, but wont' power the unit on.
In the Niko app, the controls are:
Setpoint temperature
Program (e.g. Manual/Schedule/Holiday)
Fan speed
Operation mode
Power
It seems only the last one is missing from the integration here. Happy to test/provide more info as needed!

I have some Daikin AC units integrated into my Niko installation, and was hoping to control them via HA (especially as I cannot do this with the newer Daikin control methods now). They appear in the Home Control programming software as generic units, which I guess most closely correspond to "NHC HVAC Thermostat" mentioned in the README, which I realise is untested!

I don't think they will be seen as a NHC HVAC Thermostat. But probably as Generic Heating/Cooling Implementation. To be sure you can check Settings → Devices & Services → Niko Home Control II → XX devices. Search for the device, and check the model.

I can correctly read state information from the devices, and set the temperate, but the other functionality - particuarly turning the units on and off, does not work.

Probably Daikin exposes some properties that are not documented. If you can provide me with a device list I can try to add better support. See https://github.com/joleys/niko-home-control-II#i-need-to-see-the-device-list

I'm not sure if this related but I get a lot of errors along the lines of:
Source: custom_components/nhc2/nhccoco/coco.py:158
Integration: Niko Home Control II (documentation, issues)
First occurred: 8 January 2024 at 21:44:06 (8560 occurrences)
Last logged: 21:30:36
'NoneType' object has no attribute 'loop'
in my logs; when I enabled debug logging and do a service call along the lines of:

To my knowledge this is related to the Niko Controller restarting.

In the Niko app, the controls are:

Setpoint temperature
Program (e.g. Manual/Schedule/Holiday)
Fan speed
Operation mode
Power

It seems only the last one is missing from the integration here. Happy to test/provide more info as needed!

With the device list I will be able to see this.

@ostracon I just took a quick look:

There is no property Power exposed. So that is not the issue.
Alle exposed properties are implemented.

I think https://github.com/joleys/niko-home-control-II/pull/108 should resolve the issue. Can you try to apply the changes on your local installation. After applying the changes you will need to restart Home Assistant.
Can you also test this. As I don't have a Daikin AC ;-)

Thanks - I'll try this now.
I had already hacked the same file a little to add the following:
    async def async_turn_on(self) -> None:
        self._device.set_status(self._gateway, PROPERTY_STATUS_VALUE_ON)
        self.on_change()

    async def async_turn_off(self) -> None:
        self._device.set_status(self._gateway, PROPERTY_STATUS_VALUE_OFF)
        self.on_change()

With that, I could turn on the device by calling the service climate.turn_on from developer tools, but turn_off was not working.
With this, and your fix, I can see similar behaviour - the AC will turn on when it is off and I set the mode to 'Auto', etc., but will not sure off either if I call turn_off or through the UI.
FWIW, if I try to change the fan speed from the UI, I also see "Fan mode is not valid. Valid fan modes are: off, low, medium, high, auto."

Thanks for the hints on this - the linked PR fixes this, and I get the full functionality available now.  :)

@ostracon big thank for your effort!
I have released https://github.com/joleys/niko-home-control-II/releases/tag/v3.3.3 which includes your changes


Why are the PRs not being updated for the last few days?

Just need a quick update. Close this issue, immediately after replying.
@pawelborkar

Hi @hippyaki ;)

Why are the PRs not being updated for the last few days?

Many PRs are reviewed and merged practically every day. Just see our commit history.
Some recent PRs can be revised first as the maintainer deems necessary. The reason for this may vary.
For example: I review some PRs whose contribution is an update, removal or correction of some API already listed. Also, I sometimes revise when there is a duplicate PR.
Knowing this now, I ask you to wait until your PR is reviewed, please. Note that there are many open PRs and all will be reviewed as well. 😅


Prepare v2.1.1

Description
Prepare v2.1.1 release
CHANGELOG

[CHANGED] Change call of activity.runOnUiThread to invoke methodChannel

Related to: https://github.com/pusher/pusher-channels-flutter/pull/95


Error 'PoolConfig' object has no attribute 'pools'

Hi ghan1t,
thanks for working on the issues I reported. I have installed your updated script (fresh install) using your new config.yaml template but the scripts terminates with an error reporting 'PoolConfig' object has no attribute 'pools'.
Do you know why?
Logfile attached.
log.txt

@wolmeh sorry, I had introduced a bug with the latest change. It should be fixed now, but I couldn't fully test it as I'm not near my NAS to plugin a disk.


Next gen IDs for functions

The current system with AstIds has two primaraly drawbacks:

It is possible to manufacture IDs out of thin air.
For example, it's possible to create IDs for items which are not
considered in CrateDefMap due to cfg. Or it is possible to mixup
structs and unions, because they share ID space.

Getting the ID of a parent requires a secondary index.

Instead, the plan is to pursue the more traditional approach, where
each items stores the id of the parent declaration. This makes
FromSource more awkward, but also more correct: now, to get from an
AST to HIR, we first do this recursively for the parent item, and the
just search the children of the parent for the matching def

bors r+


Training on datasets other than MNIST

I have 26 classes contained in a dataset with the same pixel dimensions as MNIST and I have 1,000 samples for each class. I've successfully trained a CapsNet that can classify around 12-14 of my 26 classes with 99% accuracy, but any more classes than this and the loss will converge on a single high value and never improve. There seems to be a specific cut-off point where the network architecture fails above a certain number of classes.
I've experimented with increasing the values for the number of dimensions in the PrimaryCaps layer, setting different values for the learning rate, and changing the batch size, but I haven't been able to solve the issue.
Do you have any tips for other things I should be trying Xifeng? (I'm training on AWS p2.xlarge Tesla K80 GPU)
Thanks!

@drewgillson I haven't encountered this problem. What’s the highest acc before it stops improving?

I ended up taking a different approach and cannot remember the details, will close the issue.


[Feature request] DBeaver should not close table tabs without active connection

There is not expected behaviour with closing table tabs when there are no connection within these tabs.
Lets make simple scenario:

Create connection without saved password.
Connect and give password.
Open some tables.
Close DBeaver.
Reopen DBeaver and DO NOT give password when asked.
Tabs will be closed, which is not expected.

I propose to mark these tabs as non-active and only ask for password when user select tab.
If user second time do not give password, tab should be empty and read-only.
Above behaviour is the same on network outage, then even giving password often close tabs, because program detect connection closed before reconnection.

This is still not very clear. If you click on some "saved" table and you don't provide password so there is no connection - table will be closed because DBeaver can't fetch any information about that table. for me this looks like more or less expected behavior.
Any how, we need some other opinions on that.

Already implemented

I'm afraid, it is not fully fixed. When there are no connection on dBeaver start and i have opened table (properties/data/er diagram) tab, error window is shown, but if i choose Ignore, then:
a) tab is lost, always displays error - i do not found a way to refresh this tab
b) and closes if i change tab to another (also these broken tabs are not saved at close).
It looks like only script tabs are properly supported by new mechanism now.

Thanks, i appreciate all work You do on this great software :-).

Thanks, i'll try it.


[Windows]  Installer does not work

Launching Bark UI Enhanced v0.7.4 Server
Traceback (most recent call last):
File "C:\bark_win\bark-gui\webui.py", line 366, in
swap_audio_filename = gr.Audio(label="Input audio.wav to swap voice", source="upload", type="filepath")
File "C:\bark_win\installer_files\env\lib\site-packages\gradio\component_meta.py", line 159, in wrapper
return fn(self, **kwargs)
TypeError: Audio.init() got an unexpected keyword argument 'source'
Any know fix? Is this project abandoned? Alternatives?
Thanks in advance.

Same error. Forcing gradio 3.50.2 didn't solved it


Sarah/pulumi up post conference

Updates for https://github.com/pulumi/marketing/issues/1114

Change the video to the keynote:

Send them here: https://conference.pulumi.com/talks/keynote/


add libzip cache artifact

Description
When building ideviceinstaller, we dynamically link to libzip. However, it was never distributed with the flutter tool. However, flutter install requires libzip, so this PR adds the libzip cache artifact.
Related Issues
Fixes https://github.com/flutter/flutter/issues/42877
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] I signed the [CLA].
[x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require Flutter developers to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (Please read [Handling breaking changes]). Replace this with a link to the e-mail where you asked for input on this proposed change.
[x] No, this is not a breaking change.

Does DYLD_LIBARY_PATH need to be set to the libzip location when ideviceinstaller is run? Or is there some magic that already does this?

So much magic. Each ArtifactSet has a Map<String, String> environment that describes any environment variables that must be set to use said artifact. Then calling the cache.dyLdLibEntry getter will concatenate the DYLD_LIBRARY_PATH's for all the artifacts in the cache. https://github.com/flutter/flutter/blob/master/packages/flutter_tools/lib/src/cache.dart#L267

This PR appears to cause a regression in worst frame time on the flutter_gallery_ios32__transition_perf benchmark. Is there any reason that including libzip rather than dynamically linking it might cause our frame times to be affected?

@flar This has me really stumped...

What do we use libzip for? Is it really the same libzip?

ideviceinstaller uses it for managing app packages https://github.com/libimobiledevice/ideviceinstaller/blob/master/src/ideviceinstaller.c

If I understand our process, that is only used on the host side for app packaging and it only plays a role in getting the app to the phone. Once the app is on the phone, then zip has no role and so shouldn't affect frame times.
And thus the mystery?

@flar that is also my understanding.

@liyuqian are you able to dig into the cause of the performance issues that this triggered?

Sure, I can dig into it. But I don't have the device with me. @flar : can you please post two traces before and after this PR with --trace-skia? I'll try to analyze them to see if I can discover something useful.

If you are looking for --trace-skia then I guess you are looking for Observatory runs, but the benchmark takes a few minutes to run which is much longer than the Observatory history shows. Also, the problem was mostly in just a few frames here and there and I'm not sure exactly when those are to be able to time a capture, especially with skia tracing which reduces the time window of Observatory traces a bit.
What specifically should I be trying to capture? Or is there a way to get a full Observatory capture from a benchmark run?

@flar : you can

Use --trace-startup to let the app use an endless buffer for tracing. It will capture all trace events until crash (out-of-memory).
Find what animation is triggering slow frames using your plot in https://github.com/flutter/flutter/pull/43677#issuecomment-576997032. Manually trigger those animations and only capture the short traces around those animations.

@flar : I recorded a video of the driver test https://photos.app.goo.gl/mS1gneTCT9Zge6hcA, and printed out the timestamp of each frame using https://github.com/flutter/flutter/pull/50272
Together with your analysis, I think the following transitions might need some tracing
3-92 frames: 0-2s first frame to studies transition

162-164 frames: 2-4s studies to shrine transition

240-256 frames: 4-5s studies to contact profile transition

366-381 frames: 7-9s material to bottom navigation transition

499-868 frames: 10-22s, button, card, chips, date and time pickers transition

90 frame => 1.7s

160 frame => 3.1s

240 frame => 4.8s

360 frame => 7.5s

500 frame => 10.1s

868 frame => 22s

I tried tracing myself using my Android phone but somehow Observatory isn't working properly and won't record or load any traces (my Flutter version is 49be146953b7a115af5e765ea9f792f110fcb007). @flar : can you try to trace the transitions above, and see any difference?


How to pop-up username/password window like Windows

For safety, I don‘t want to conncect to xrdp server directly.
Instead, I want it to pop-up a window when I connecting the xrdp server like Windows。
I tried the option in xrdp.ini:
require_credentials=true
but it just stop to connect to the xrdp server.

It's more a client side concern.

The feature you're looking for is called Network Level Authentication (NLA).
According to https://github.com/neutrinolabs/xrdp/issues/702#issuecomment-288988599, xrdp doesn't provide NLA yet.

NLA forces username/password dialog at client side but you can use username/password dialog even though the server doen't support NLA.
See this screenshot. The server is xrdp which doesn't support NLA.  require_credentials=true requires pre input credentials at client side.

Hmm require_credentials=true not work for me.
Connection just closed.

That's the logical result because require_credentials=true is not designed to do such thing. See https://github.com/neutrinolabs/xrdp/issues/971#issuecomment-351285269.


add RELEASE_NOTES optional parameter to the create-a-release job

Tested successfuly here: https://github.com/hmrc/agent-epaye-registration/releases/tag/v0.13.0

example of handling double-quotes escaping https://github.com/hmrc/agent-epaye-registration/releases/tag/v0.15.0


Baby AGI ValueError: Invalid Literal

After a certain amount of time running I end up with this at the end, not sure if it's normal.

@IntelligenzaArtificiale sounds good! Thank you!


[MediaSDK/tools] metrics_monitor build failed on Ubuntu 16.04.06

It looks like following commits may cause MSDK build failed on Ubuntu 16.04.6
https://github.com/Intel-Media-SDK/MediaSDK/commit/11a171e6b4efd9675a845691e0756e13eee6496f
https://github.com/Intel-Media-SDK/MediaSDK/commit/846c00ab3490d88b5421b8ed82fd614d22999afb
The libdrm version is 2.4.0 on Ubuntu 16.04.6 with 'apt install', but from the comments
Use PMU definitions from libdrm
libdrm >= 2.4.92 is required
DMFX_BUILD_INFO=""Linux-4.15.0-47-generic 4.15.0-47-generic | GNU 5.4.0 | glibc 2.23""
Following is build log -
18:45:46,081 INFO  - cd /opt/media/build/msdk/__cmake_build/samples/metrics_monitor && /usr/bin/c++ -DLINUX -DLINUX32 -DLINUX64 -DMFX_API_VERSION="1.30" -DMFX_BUILD_INFO=""Linux-4.15.0-47-generic 4.15.0-47-generic | GNU 5.4.0 | glibc 2.23"" -DMFX_GIT_COMMIT="" -DMSDK_BUILD="" -DUNIX -D_FILE_OFFSET_BITS=64 -D__USE_LARGEFILE64 -Dcttmetrics_EXPORTS -I/opt/media/build/msdk/api/mediasdk_structures -I/opt/media/build/msdk/api/include -I/opt/media/build/msdk/__cmake_build -I/opt/media/build/msdk/samples/metrics_monitor/include -msse4.2 -std=c++11 -m64 -g -g3 -pipe -fPIC -Wall -Wformat -Wformat-security -Wnon-virtual-dtor -Wno-deprecated-declarations -Wno-unknown-pragmas -Wno-unused -O3 -DNDEBUG -fPIC -I/opt/media/install/include -I/usr/include/libdrm -o CMakeFiles/cttmetrics.dir/src/cttmetrics_i915_pmu.cpp.o -c /opt/media/build/msdk/samples/metrics_monitor/src/cttmetrics_i915_pmu.cpp
18:45:46,225 INFO  - /opt/media/build/msdk/samples/metrics_monitor/src/cttmetrics_i915_pmu.cpp: In function 'bool is_engine_config(uint64_t)':
18:45:46,226 INFO  - /opt/media/build/msdk/samples/metrics_monitor/src/cttmetrics_i915_pmu.cpp:64:39: error: '__I915_PMU_OTHER' was not declared in this scope
18:45:46,227 INFO  - return config < __I915_PMU_OTHER(0);
18:45:46,227 INFO  - ^
18:45:46,228 INFO  - /opt/media/build/msdk/samples/metrics_monitor/src/cttmetrics_i915_pmu.cpp: In function 'uint8_t get_engine_sample(uint64_t)':
18:45:46,228 INFO  - /opt/media/build/msdk/samples/metrics_monitor/src/cttmetrics_i915_pmu.cpp:69:21: error: 'I915_PMU_SAMPLE_MASK' was not declared in this scope
18:45:46,228 INFO  - return config & I915_PMU_SAMPLE_MASK;
18:45:46,229 INFO  - ^
18:45:46,229 INFO  - /opt/media/build/msdk/samples/metrics_monitor/src/cttmetrics_i915_pmu.cpp: At global scope:
18:45:46,231 INFO  - /opt/media/build/msdk/samples/metrics_monitor/src/cttmetrics_i915_pmu.cpp:152:35: error: 'I915_SAMPLE_SEMA' was not declared in this scope
18:45:46,232 INFO  - #define I915_ENGINE_SAMPLE_COUNT (I915_SAMPLE_SEMA + 1)
18:45:46,232 INFO  - ^
18:45:46,233 INFO  - /opt/media/build/msdk/samples/metrics_monitor/src/cttmetrics_i915_pmu.cpp:155:21: note: in expansion of macro 'I915_ENGINE_SAMPLE_COUNT'
18:45:46,235 INFO  - metric metrics[I915_ENGINE_SAMPLE_COUNT]; /* 0 - I915_SAMPLE_BUSY/Global PMU, 1 - I915_SAMPLE_WAIT, 2 - I915_SAMPLE_SEMA /
18:45:46,235 INFO  - ^
18:45:46,236 INFO  - /opt/media/build/msdk/samples/metrics_monitor/src/cttmetrics_i915_pmu.cpp: In function 'int perf_init(i915_pmu_collector_ctx_t, int, int*)':
18:45:46,237 INFO  - /opt/media/build/msdk/samples/metrics_monitor/src/cttmetrics_i915_pmu.cpp:211:72: error: 'I915_SAMPLE_BUSY' was not declared in this scope
18:45:46,237 INFO  - bool is_sema_or_wait_config = is_engine_config(configs[i]) && (I915_SAMPLE_BUSY != get_engine_sample(configs[i]));
18:45:46,237 INFO  - ^
18:45:46,237 INFO  - /opt/media/build/msdk/samples/metrics_monitor/src/cttmetrics_i915_pmu.cpp:228:35: error: 'I915_PMU_SAMPLE_MASK' was not declared in this scope
18:45:46,237 INFO  - int sample_type = I915_PMU_SAMPLE_MASK & configs[i];
18:45:46,238 INFO  - ^
18:45:46,238 INFO  - /opt/media/build/msdk/samples/metrics_monitor/src/cttmetrics_i915_pmu.cpp:230:52: error: 'struct metrics_group' has no member named 'metrics'
18:45:46,238 INFO  - ctx->pm.groups[ctx->pm.num_groups].metrics[sample_type].config = configs[i];
18:45:46,238 INFO  - ^
18:45:46,238 INFO  - /opt/media/build/msdk/samples/metrics_monitor/src/cttmetrics_i915_pmu.cpp:234:52: error: 'struct metrics_group' has no member named 'metrics'
18:45:46,239 INFO  - ctx->pm.groups[ctx->pm.num_groups].metrics[0].config = configs[i]; // For global, let's use metrics[0] field
18:45:46,239 INFO  - ^
18:45:46,239 INFO  - /opt/media/build/msdk/samples/metrics_monitor/src/cttmetrics_i915_pmu.cpp: In function 'int perf_read(pmu_metrics*)':
18:45:46,239 INFO  - /opt/media/build/msdk/samples/metrics_monitor/src/cttmetrics_i915_pmu.cpp:286:27: error: 'struct metrics_group' has no member named 'metrics'
18:45:46,239 INFO  - pm->groups[i].metrics[j].start.value = pm->groups[i].metrics[j].end.value;
18:45:46,239 INFO  - ^
18:45:46,240 INFO  - /opt/media/build/msdk/samples/metrics_monitor/src/cttmetrics_i915_pmu.cpp:286:66: error: 'struct metrics_group' has no member named 'metrics'
18:45:46,240 INFO  - pm->groups[i].metrics[j].start.value = pm->groups[i].metrics[j].end.value;
18:45:46,240 INFO  - ^
18:45:46,240 INFO  - /opt/media/build/msdk/samples/metrics_monitor/src/cttmetrics_i915_pmu.cpp:287:27: error: 'struct metrics_group' has no member named 'metrics'
18:45:46,240 INFO  - pm->groups[i].metrics[j].start.time = pm->groups[i].metrics[j].end.time;
18:45:46,241 INFO  - ^
18:45:46,241 INFO  - /opt/media/build/msdk/samples/metrics_monitor/src/cttmetrics_i915_pmu.cpp:287:65: error: 'struct metrics_group' has no member named 'metrics'
18:45:46,241 INFO  - pm->groups[i].metrics[j].start.time = pm->groups[i].metrics[j].end.time;
18:45:46,241 INFO  - ^
18:45:46,241 INFO  - /opt/media/build/msdk/samples/metrics_monitor/src/cttmetrics_i915_pmu.cpp:288:27: error: 'struct metrics_group' has no member named 'metrics'
18:45:46,242 INFO  - pm->groups[i].metrics[j].end.value = data.values[k++].value;
18:45:46,242 INFO  - ^
18:45:46,242 INFO  - /opt/media/build/msdk/samples/metrics_monitor/src/cttmetrics_i915_pmu.cpp:289:27: error: 'struct metrics_group' has no member named 'metrics'
18:45:46,242 INFO  - pm->groups[i].metrics[j].end.time = data.time_enabled;
18:45:46,242 INFO  - ^
18:45:46,242 INFO  - /opt/media/build/msdk/samples/metrics_monitor/src/cttmetrics_i915_pmu.cpp: In function 'cttStatus CTTMetrics_PMU_Init()':
18:45:46,243 INFO  - /opt/media/build/msdk/samples/metrics_monitor/src/cttmetrics_i915_pmu.cpp:316:30: error: 'I915_ENGINE_CLASS_RENDER' was not declared in this scope
18:45:46,243 INFO  - I915_PMU_ENGINE_BUSY(I915_ENGINE_CLASS_RENDER, 0),
18:45:46,243 INFO  - ^
18:45:46,243 INFO  - /opt/media/build/msdk/samples/metrics_monitor/src/cttmetrics_i915_pmu.cpp:316:57: error: 'I915_PMU_ENGINE_BUSY' was not declared in this scope
18:45:46,243 INFO  - I915_PMU_ENGINE_BUSY(I915_ENGINE_CLASS_RENDER, 0),
18:45:46,243 INFO  - ^
18:45:46,244 INFO  - /opt/media/build/msdk/samples/metrics_monitor/src/cttmetrics_i915_pmu.cpp:317:57: error: 'I915_PMU_ENGINE_WAIT' was not declared in this scope
18:45:46,244 INFO  - I915_PMU_ENGINE_WAIT(I915_ENGINE_CLASS_RENDER, 0),
18:45:46,244 INFO  - ^
18:45:46,245 INFO  - /opt/media/build/msdk/samples/metrics_monitor/src/cttmetrics_i915_pmu.cpp:318:57: error: 'I915_PMU_ENGINE_SEMA' was not declared in this scope
18:45:46,245 INFO  - I915_PMU_ENGINE_SEMA(I915_ENGINE_CLASS_RENDER, 0),
18:45:46,245 INFO  - ^
18:45:46,245 INFO  - /opt/media/build/msdk/samples/metrics_monitor/src/cttmetrics_i915_pmu.cpp:320:30: error: 'I915_ENGINE_CLASS_VIDEO' was not declared in this scope
18:45:46,245 INFO  - I915_PMU_ENGINE_BUSY(I915_ENGINE_CLASS_VIDEO, 0),
18:45:46,245 INFO  - ^
18:45:46,246 INFO  - /opt/media/build/msdk/samples/metrics_monitor/src/cttmetrics_i915_pmu.cpp:328:30: error: 'I915_ENGINE_CLASS_COPY' was not declared in this scope
18:45:46,246 INFO  - I915_PMU_ENGINE_BUSY(I915_ENGINE_CLASS_COPY, 0),
18:45:46,246 INFO  - ^
18:45:46,246 INFO  - /opt/media/build/msdk/samples/metrics_monitor/src/cttmetrics_i915_pmu.cpp:332:30: error: 'I915_ENGINE_CLASS_VIDEO_ENHANCE' was not declared in this scope
18:45:46,246 INFO  - I915_PMU_ENGINE_BUSY(I915_ENGINE_CLASS_VIDEO_ENHANCE, 0),
18:45:46,246 INFO  - ^
18:45:46,247 INFO  - /opt/media/build/msdk/samples/metrics_monitor/src/cttmetrics_i915_pmu.cpp:336:9: error: 'I915_PMU_ACTUAL_FREQUENCY' was not declared in this scope
18:45:46,247 INFO  - I915_PMU_ACTUAL_FREQUENCY,
18:45:46,247 INFO  - ^
18:45:46,247 INFO  - /opt/media/build/msdk/samples/metrics_monitor/src/cttmetrics_i915_pmu.cpp:353:56: error: 'I915_SCHEDULER_CAP_PREEMPTION' was not declared in this scope
18:45:46,247 INFO  - g_ctx.has_preemption = has_param(g_ctx.gem_fd, I915_SCHEDULER_CAP_PREEMPTION);
18:45:46,247 INFO  - ^
18:45:46,248 INFO  - /opt/media/build/msdk/samples/metrics_monitor/src/cttmetrics_i915_pmu.cpp:360:40: error: 'struct metrics_group' has no member named 'metrics'
18:45:46,248 INFO  - switch (g_ctx.pm.groups[i].metrics[0].config) {
18:45:46,248 INFO  - ^
18:45:46,248 INFO  - /opt/media/build/msdk/samples/metrics_monitor/src/cttmetrics_i915_pmu.cpp:376:22: error: the value of 'I915_PMU_ACTUAL_FREQUENCY' is not usable in a constant expression
18:45:46,248 INFO  - case I915_PMU_ACTUAL_FREQUENCY:
18:45:46,248 INFO  - ^
18:45:46,249 INFO  - /opt/media/build/msdk/samples/metrics_monitor/src/cttmetrics_i915_pmu.cpp:336:9: note: 'I915_PMU_ACTUAL_FREQUENCY' was not declared 'constexpr'
18:45:46,249 INFO  - I915_PMU_ACTUAL_FREQUENCY,
18:45:46,249 INFO  - ^
18:45:46,249 INFO  - /opt/media/build/msdk/samples/metrics_monitor/src/cttmetrics_i915_pmu.cpp: In function 'cttStatus CTTMetrics_PMU_GetValue(unsigned int, float*)':
18:45:46,250 INFO  - /opt/media/build/msdk/samples/metrics_monitor/src/cttmetrics_i915_pmu.cpp:533:42: error: 'struct metrics_group' has no member named 'metrics'
18:45:46,250 INFO  - value = perf_elapsed(&group->metrics[I915_SAMPLE_BUSY]);
18:45:46,250 INFO  - ^
18:45:46,250 INFO  - /opt/media/build/msdk/samples/metrics_monitor/src/cttmetrics_i915_pmu.cpp:533:50: error: 'I915_SAMPLE_BUSY' was not declared in this scope
18:45:46,250 INFO  - value = perf_elapsed(&group->metrics[I915_SAMPLE_BUSY]);
18:45:46,250 INFO  - ^
18:45:46,251 INFO  - /opt/media/build/msdk/samples/metrics_monitor/src/cttmetrics_i915_pmu.cpp:534:54: error: 'struct metrics_group' has no member named 'metrics'
18:45:46,251 INFO  - time = (double)perf_elapsed_time(&group->metrics[I915_SAMPLE_BUSY]);
18:45:46,251 INFO  - ^
18:45:46,251 INFO  - /opt/media/build/msdk/samples/metrics_monitor/src/cttmetrics_i915_pmu.cpp:538:71: error: 'struct metrics_group' has no member named 'metrics'
18:45:46,252 INFO  - bool is_sema_and_wait_available = is_engine_config(group->metrics[I915_SAMPLE_BUSY].config) && (3 == group->num_metrics);
18:45:46,252 INFO  - ^
18:45:46,252 INFO  - /opt/media/build/msdk/samples/metrics_monitor/src/cttmetrics_i915_pmu.cpp:541:51: error: 'struct metrics_group' has no member named 'metrics'
18:45:46,252 INFO  - value_sema = perf_elapsed(&group->metrics[I915_SAMPLE_SEMA]);
18:45:46,252 INFO  - ^
18:45:46,252 INFO  - /opt/media/build/msdk/samples/metrics_monitor/src/cttmetrics_i915_pmu.cpp:541:59: error: 'I915_SAMPLE_SEMA' was not declared in this scope
18:45:46,253 INFO  - value_sema = perf_elapsed(&group->metrics[I915_SAMPLE_SEMA]);
18:45:46,253 INFO  - ^
18:45:46,253 INFO  - /opt/media/build/msdk/samples/metrics_monitor/src/cttmetrics_i915_pmu.cpp:542:63: error: 'struct metrics_group' has no member named 'metrics'
18:45:46,253 INFO  - time_sema = (double)perf_elapsed_time(&group->metrics[I915_SAMPLE_SEMA]);
18:45:46,253 INFO  - ^
18:45:46,254 INFO  - /opt/media/build/msdk/samples/metrics_monitor/src/cttmetrics_i915_pmu.cpp:544:51: error: 'struct metrics_group' has no member named 'metrics'
18:45:46,254 INFO  - value_wait = perf_elapsed(&group->metrics[I915_SAMPLE_WAIT]);
18:45:46,254 INFO  - ^
18:45:46,254 INFO  - /opt/media/build/msdk/samples/metrics_monitor/src/cttmetrics_i915_pmu.cpp:544:59: error: 'I915_SAMPLE_WAIT' was not declared in this scope
18:45:46,254 INFO  - value_wait = perf_elapsed(&group->metrics[I915_SAMPLE_WAIT]);
18:45:46,254 INFO  - ^
18:45:46,255 INFO  - /opt/media/build/msdk/samples/metrics_monitor/src/cttmetrics_i915_pmu.cpp:545:63: error: 'struct metrics_group' has no member named 'metrics'
18:45:46,255 INFO  - time_wait = (double)perf_elapsed_time(&group->metrics[I915_SAMPLE_WAIT]);
18:45:46,255 INFO  - ^
18:45:46,255 INFO  - samples/metrics_monitor/CMakeFiles/cttmetrics.dir/build.make:110: recipe for target 'samples/metrics_monitor/CMakeFiles/cttmetrics.dir/src/cttmetrics_i915_pmu.cpp.o' failed
18:45:46,255 INFO  - make[2]: *** [samples/metrics_monitor/CMakeFiles/cttmetrics.dir/src/cttmetrics_i915_pmu.cpp.o] Error 1
18:45:46,256 INFO  - make[2]: Leaving directory '/opt/media/build/msdk/__cmake_build'
18:45:46,256 INFO  - CMakeFiles/Makefile2:906: recipe for target 'samples/metrics_monitor/CMakeFiles/cttmetrics.dir/all' failed
18:45:46,256 INFO  - make[1]: *** [samples/metrics_monitor/CMakeFiles/cttmetrics.dir/all] Error 2

@zhoujd : did you somehow manually bypass libdrm version check or you see these errors with unmodified code?
i915 pmu requires Linux kernel version >=4.16. Looks like Ubuntu 16.04 uses 4.15, so i915 pmu won't be functional in any case. However, build of the whole mediasdk should not fail but rather metrics monitor should be excluded from the build..

@zhoujd : did you somehow manually bypass libdrm version check or you see these errors with unmodified code?

I have the same question.

Thank you for quick reply, I didn't do any change on source code of MSDK.
I use following comand line to build MSDK.
cmake -DCMAKE_INSTALL_PREFIX="/opt/media/install" -DCMAKE_INSTALL_LIBDIR="/opt/media/install/lib" --no-warn-unused-cli -Wno-dev -DENABLE_OPENCL=NO -DCMAKE_BUILD_TYPE=release -G "Unix Makefiles" /opt/media/build/msdk
I can share more details info via email.

@zhoujd , please try https://github.com/Intel-Media-SDK/MediaSDK/pull/1450

@dmitryermilov , The patch #1450 does fix the issue.


How to add button click + event on a toater?

i'm trying to do the following:
toastr.warning("message message. <input class='undo-button' type='text' value='Undo' data-ng-click='callback()' />",
                {
                    callback: function()
                    {
                        console.log("here");

                    }
                });

It's not working, any suggestion how to add a callback function from a toaster?

Check the README. You can add the onHidden callback so when it gets closed, it gets called. You can also check in there if it was closed by itself or via click.
You can't add directives into the message, that is pretty dangerous so I don't allow that.

This is not the case since onHidden will call a function once the message will be close and,
i want to add my own callback when somone click on button inside the toastr
i added a button inside the template
<input class='undo-button' type='text' value='Undo' data-ng-click='callback()'

You can't do that with this library. Supporting directives inside the toasts is highly insecure and can open a door for injections.
I had to decide to not allow that. Sorry.

@Foxandxss I am wondering are you allowing anchorScroll in toastr?


mv contrib/seccomp/kernelversion pkg/kernelversion

The package isn't really relevant to seccomp

I wonder if we should change the signature of GreaterEqualThan() to accept kernel and minor  as two arguments. I think we're still  considering moving the seccomp profile to a separate module (possibly the moby variant), so that the profile can be shared.
Having a type in the signature could potentially save some head-aches (with Go being strong-typed, and v2.KernelVersion != v1.KernelVersion). The KernelVersion` type originated from the moby variant of the seccomp profile, which has that type embedded in the template / default profile definition, but I don't think we need that (at least not currently) in the containerd codebase, so having plain integers for the version would make it  easier to use.
https://github.com/containerd/containerd/blob/f2765617c5afe25566894a1bf7632d323fc13d40/contrib/seccomp/seccomp_default.go#L485-L486


Support time functions like time.time()

Feature request

Supporting a wall clock time function like time.time() enables more accurate benchmarking since the time call can be inside the njit function, which avoids measure boxing/unboxing. This is very useful for benchmarking strings since boxing/unboxing large string containers is expensive.

This is a good idea.  I think the logical way to do this would be to @overload the time.time() function and call the required C function to get the time.  Unfortunately, I suspect that there is not a portable way to do this, so we will need to (again) peek at the CPython implementation to see what needs to happen.
A C function (get_time_double()?) should be added to helperlib.c (encapsulating all the #ifdef mess required to make it cross-platform) so the Python side of the implementation is straightforward.

This is the function in CPython.  We can do something simpler, I think:
https://github.com/python/cpython/blob/master/Python/pytime.c#L653-L745

Sounds like a good plan. Looking at the CPython code, it doesn't seem to be too bad.

I think it would be very useful to have the acces to the time inside a njit function! For example, a minmax ai would terminate after a certain time which requires time access.

@mha-py FWIW: for timing long running processes and quitting after a certain wall clock time, you can also use the following to escape to object-mode and check the time from there:
https://numba.pydata.org/numba-doc/latest/user/withobjmode.html?highlight=objmode

xref: https://numba.discourse.group/t/profiling-with-a-decorator-and-njit for ideas and things that provide workarounds.

After some investigations, I found the following code may be a feasible solution:
from numba import njit
import ctypes
import time

# Access the _PyTime_AsSecondsDouble and _PyTime_GetSystemClock functions from pythonapi
get_system_clock = ctypes.pythonapi._PyTime_GetSystemClock
as_seconds_double = ctypes.pythonapi._PyTime_AsSecondsDouble

# Set the argument types and return types of the functions
get_system_clock.argtypes = []
get_system_clock.restype = ctypes.c_int64

as_seconds_double.argtypes = [ctypes.c_int64]
as_seconds_double.restype = ctypes.c_double

@njit
def f():
    system_clock = get_system_clock()
    current_time = as_seconds_double(system_clock)
    return current_time

assert time.time() < f() < time.time()

We can also overload time.time() using the above codes.

FWIW, here's another simple ctypes-based solution that works within njitted code, tested on Linux, Windows and macOS (https://github.com/open-atmos/PyMPDATA/blob/main/PyMPDATA/impl/clock.py):
""" CPU-time returning clock() function which works from within njit-ted code """
import ctypes
import platform

if platform.system() == "Windows":
    from ctypes.util import find_msvcrt

    __LIB = find_msvcrt()
    if __LIB is None:
        __LIB = "msvcrt.dll"
else:
    from ctypes.util import find_library

    __LIB = find_library("c")

clock = ctypes.CDLL(__LIB).clock
clock.argtypes = []

usage:
import numba
from .clock import clock

@numba.njit()
def step():
  time = clock()

it's

FWIW, here's another simple ctypes-based solution that works within njitted code, tested on Linux, Windows and macOS (https://github.com/open-atmos/PyMPDATA/blob/main/PyMPDATA/impl/clock.py):
""" CPU-time returning clock() function which works from within njit-ted code """
import ctypes
import platform

if platform.system() == "Windows":
    from ctypes.util import find_msvcrt

    __LIB = find_msvcrt()
    if __LIB is None:
        __LIB = "msvcrt.dll"
else:
    from ctypes.util import find_library

    __LIB = find_library("c")

clock = ctypes.CDLL(__LIB).clock
clock.argtypes = []

usage:
import numba
from .clock import clock

@numba.njit()
def step():
  time = clock()

it looks promising but it's not clear how to use this.
I'm getting an import error on the .clock import clock

it compiles when the top portion is placed in a clock.py local module file, but what are the units on this clock() function? they are bizarre. Not milliseconds, or seconds. It's unclear

FWIW, here's another simple ctypes-based solution that works within njitted code, tested on Linux, Windows and macOS (https://github.com/open-atmos/PyMPDATA/blob/main/PyMPDATA/impl/clock.py):
""" CPU-time returning clock() function which works from within njit-ted code """
import ctypes
import platform

if platform.system() == "Windows":
    from ctypes.util import find_msvcrt

    __LIB = find_msvcrt()
    if __LIB is None:
        __LIB = "msvcrt.dll"
else:
    from ctypes.util import find_library

    __LIB = find_library("c")

clock = ctypes.CDLL(__LIB).clock
clock.argtypes = []

usage:
import numba
from .clock import clock

@numba.njit()
def step():
  time = clock()

hello, this compiles and runs when the top portion is placed in a clock.py local module file and  the from .clock import clock is changed to from clock import clock.
So it works, but what are the units on this clock() function? they are bizarre. Not milliseconds, or seconds. It's unclear

After some investigations, I found the following code may be a feasible solution:
from numba import njit
import ctypes
import time

# Access the _PyTime_AsSecondsDouble and _PyTime_GetSystemClock functions from pythonapi
get_system_clock = ctypes.pythonapi._PyTime_GetSystemClock
as_seconds_double = ctypes.pythonapi._PyTime_AsSecondsDouble

# Set the argument types and return types of the functions
get_system_clock.argtypes = []
get_system_clock.restype = ctypes.c_int64

as_seconds_double.argtypes = [ctypes.c_int64]
as_seconds_double.restype = ctypes.c_double

@njit
def f():
    system_clock = get_system_clock()
    current_time = as_seconds_double(system_clock)
    return current_time

assert time.time() < f() < time.time()

We can also overload time.time() using the above codes.
Xref: https://github.com/python/cpython/blob/main/Include/internal/pycore_time.h

this works really well and appears to be a drop-in replacement for time.time() because it returns the giant number of seconds since the epoch, 01 Jan 1970, just like time.time().

So it works, but what are the units on this clock() function? they are bizarre. Not milliseconds, or seconds. It's unclear

Quoting https://man7.org/linux/man-pages/man3/clock.3.html:
"The value returned is the CPU time used so far as a clock_t; to get the number of seconds used, divide by CLOCKS_PER_SEC."


Select device during runtime

I want (to some extent) make this a little more user friendly -- Currently, if you have more than one ADB device connected, scrcpy gives you a list, some launch commands, and then quits.
It would be alot nicer and easier to to assign each device a number, (probably an array/table) and allow the user to input the number corresponding to that device. Alternatively, we could use the name or ID instead. It would likely be simpler this way, but i think it would be easier on user for just a number. (Technically, we could take all three at once, but that might get a bit bulky and problematic if for some reason two names, IDs, or numbers matched in any way.)
(I will probably try to implement this myself, but i tend to be rather lazy... It may not get done by me)

Note that scrcpy can be used from script or without terminal, so it should not wait for input from stdin.

After 5 more minutes of research, i now see why this is the way it is -- scrcpy makes extensive use of launch cmds (--word -l) for the sake of a faster launch, making this issue mostly pointless (other than... if someone that doesn't understand how it works, they can either learn or use something else, and the first other programs i found either cant interact with the screen, or require payment in some way. Technically, the "'best'" solution here is likely to have a *mostly seperate fork that adds a UI. Problem: creation and upkeep would be pain)

scrcpy makes extensive use of launch cmds

Yes, this is a command line application. It has benefits and drawbacks.
In theory (for a better user experience), it would be great to get something more interactive between the client and the server, then extract a lib, then write a GUI (which framework? which trade-offs?) to interact with devices (for simplicity and feature discoverability), while keeping it lightweight and with the same features, but interactive (record/stop at any time, etc.)… and continue to maintain it. But this is too much work and investment that could reasonably be done in my free time. So I keep a monolithic command line app, with regular updates to adapt Android changes and add features, that's more realistic.


Cannot install dependencies with Yarn where test-fixtures is used

The package test-fixtures seems to be removed and causes this using Yarn in e.g. packages/styletron-client:
warning<EMAIL_ADDRESS>Please don't use this, it will be removed soon.
error<EMAIL_ADDRESS>The engine "node" is incompatible with this module. Expected version "~0.10.20".

Is this when when actually installing styletron-client as a dependency or just when installing the monorepo?
It's interesting it's complaining about<EMAIL_ADDRESS>since the package version in the monorepo is 0.0.1., so I'm assuming it's not bootstrapping correctly. I suspect dropping the asterisk in favor of an explicit version should fix this.


Offset a Player relative to Tone.Transport.position

Offset a Player relative to Tone.Transport.position
I have a song as a mp3 that I sync to the Transport using a Player.
This song begins with silence for some ms before it starts.
What I would like to do, and haven't found how to, is to offset the players start time relative to the Tone.Transport.position with a negative number. I tried to set the player.start(-0.2) but that didn't work.

You can use the second argument of player.start to do this and start the player at a 0.2 second offset like this:
player.start(0, 0.2)


Add canadian e-transfer payment integration

I would assume it would use much of the same circuits, would just have to change the regex and add an additional dkim key (or several for each bank) ?

Background
E-transfers are the most common form of money transfers in Canada. They are integrated with most Canadian banks are sent through email or text. Usually you are required to provide a receiver email/phone number, a password, a hint, and a message. Most people also have auto-deposit enabled which bypasses the need for a password.
Considerations

All deposit emails are received from<EMAIL_ADDRESS>regardless of which banks were involved so we will only need to add a single DKIM key

There are a few emails we can use for proof generation:

auto-deposit confirmation sent to sender - The sender receives this email when their sent transaction was deposited to an account that supports auto-deposit
deposit confirmation (with password) sent to sender - The sender receives this email when the sent transaction was deposited by the receiver using a password
auto-deposit confirmation to receiver - The receiver receives this email when the sender's transfer was automatically deposited into their account

The easiest implementation would be to require that all users support auto-deposit to use the platform and create a circuit to verify email type (1). In the future we could add a feature where receivers who do not have auto-deposit enabled can communicate a password with senders but this would require a bit more work. Most users already have auto-deposit enabled as well.

There is a reference number for each e-transfer. This may be useful for accessing more information from the interac api however it is a closed api and requires developers to submit an application to get access.

Benefits

A nice part about e-transfers it that it seems like they are a lot less reversible than venmo transfers. (https://www.reddit.com/r/PersonalFinanceCanada/s/0xJutG94jF)

on a regular day once a transfer is completed, money deposited in the account it's final. But if the transfer is in progress, under review or haven't been accepted by the recipient, it can be reversed.
The only other situation where reversal occurs is if it was fraud and the bank is convinced that it is so. For eg, if 1000CAD is send from your RBC to a person who banks with RBC as fraud, the bank can make that money come back from the fraudsters account. Actually the bank pays you and then takes the money from the other persons account. If it's inter bank, ie RBC to TD, theoretically it's possible but a tedious process.

Issues
A big issue with e-transfer eml contents is that the receiver's "id" is not the same as their email or phone number, instead it is an identifier that can be arbitrarily chosen. This is problematic since a buyer could simply send an e-transfer to an account where the id matches the id of the seller. This could also create issues with verifying a deposit since there are 2 strings to verify that are decoupled: 1. The receiver email address which is not contained in the deposit email, 2. The receiver ID which can be decoupled from the email address and is not guaranteed unique.
This might be able to be solved with the Interac API + TLSNotary but will need to gain access in order to find out more.

doesn't seem possible without FI verification to interac API... thanks @omurovec for the work/research. gonna have to close till someone has a new idea for this.


install potplayer failed and get a error

I find the scoop config has a shovel but wiki and doc aren't have anything about shovel. And searching scoop config shovel at bing was getted all spam about the real shovel...

@Ash258 maybe scoop config shovel is mean your scoop impliment named shovel.

@Ash258 maybe scoop config shovel is mean your scoop impliment named shovel.

Have you switched the scoop_repo to shovel?
check it:
scoop config scoop_repo

Have you switched the scoop_repo to shovel?
check it:
scoop config scoop_repo

Thanks for your reply! This question is solved now. I tried to download again when I changed the scoop_repo config brefore 1 minute, and it's successfully :+1:~

Thanks for your reply! This question is solved now. I tried to download again when I changed the scoop_repo config brefore 1 minute, and it's successfully :+1:~


Loggering

Logging for LOCKSSOMatic.
Does not require composer update, but does require a database schema update.

Be sure to update app/config_test.yml and run php app/console doctrine:schema:update --force to update the database schema. In order to have the PHPUnit tests pass successfully, be sure to run php app/console --env=test lom:purge if there is exiting data in the test database.


Fix saving of ref tests

Since ref tests were only stored whenever winit requested the window
close, they would not get stored properly when the terminal was closed
through Alacritty using exit, Ctrl+D or similar.
This moves the ref test code to the and of the main entry point, which
will always be executed regardless of how the terminal was shutdown.

Created from incorrect branch, see https://github.com/jwilm/alacritty/pull/2624.


[WIP] Add a test to help prevent extracted code from being added

Depends on https://github.com/ManageIQ/manageiq/pull/16057

Marking as WIP while I try to debug why it isn't failing on Travis


NavigationItem.Link.ContentFileName is returning incorrectly

Description
The library is returning the wrong text for ContentFileName. In the case for this epub, it should return "Text/chapter01.xhtml" while it is returning "Text/../Text/chapter01.xhml". I'm not sure where the extra relative path is coming from, given it's not in the XML.
Epub structure:

Code:
var navItems = await book.GetNavigationAsync();
foreach (var navigationItem in navItems)
            {
                if (navigationItem.NestedItems.Count > 0)
                {
                   var nestedChapters = new List<BookChapterItem>();

                    foreach (var nestedChapter in navigationItem.NestedItems)
                    {
                        if (nestedChapter.Link == null) continue;

                        // BUG: nestedChapter.Link.ContentFileName -> Is returning "/Text/../Text/chapter01.xhtml" when it should be "Text/chapter01.xhtml"
                        var key = BookService.CleanContentKeys(nestedChapter.Link.ContentFileName);
                        if (mappings.ContainsKey(key))
                        {
                            nestedChapters.Add(new BookChapterItem()
                            {
                                Title = nestedChapter.Title,
                                Page = mappings[key],
                                Part = nestedChapter.Link.Anchor ?? string.Empty,
                                Children = new List<BookChapterItem>()
                            });
                        }
                    }

                    CreateToCChapter(navigationItem, nestedChapters, chaptersList, mappings);
                }

Toc.ncx:
<navPoint id="navPoint5">
      <navLabel>
        <text>Day 0: Backstory and the Bridal Wars</text>
      </navLabel>
      <content src="Text/chapter1.xhtml"/>
    </navPoint>
    <navPoint id="navPoint6">
      <navLabel>
        <text>Day 1, Morning: The Start of a Slow Life</text>
      </navLabel>
      <content src="Text/chapter2.xhtml"/>
    </navPoint>

Manifest:
<manifest>
    <item id="cover" href="Text/cover.xhtml" media-type="application/xhtml+xml"/>
    <item id="frontmatter1.xhtml" href="Text/frontmatter1.xhtml" media-type="application/xhtml+xml"/>
    <item id="frontmatter2.xhtml" href="Text/frontmatter2.xhtml" media-type="application/xhtml+xml"/>
    <item id="toc.xhtml" href="Text/toc.xhtml" media-type="application/xhtml+xml" properties="nav"/>
    <item id="prologue.xhtml" href="Text/prologue.xhtml" media-type="application/xhtml+xml"/>
    <item id="prologue2.xhtml" href="Text/prologue2.xhtml" media-type="application/xhtml+xml"/>
    <item id="insert1.xhtml" href="Text/insert1.xhtml" media-type="application/xhtml+xml"/>
    <item id="prologue2_1.xhtml" href="Text/prologue2_1.xhtml" media-type="application/xhtml+xml"/>
    <item id="chapter1.xhtml" href="Text/chapter1.xhtml" media-type="application/xhtml+xml"/>
    ...

Sample EPUB file
The file is under copyright
Additional context
This is a EPUB 2 document and I have tested on v3.1.1, v3.1.0 and it is not working.

@vers-one Any ideas? I can send you the file if you need it as well.

@majora2007, thank you for reporting this. Could you check whether this is EPUB 2 or EPUB 3 file? You can see the EPUB version by looking at the version attribute of the package XML node in the OPF file. If it's EPUB 3.x, then the Toc.ncx file will be ignored (some books include it for compatibility with the old readers that don't support EPUB 3) and the EPUB 3 navigation file will be used instead. EPUB 3 navigation file is the first item in the manifest with the properties="nav" which is toc.xhtml in your case.
If your file is EPUB 3, could you post a couple of
 tags from that file?

EPUB 3 specification requires that href attribute values in the navigation XHTML file must "resolve" to the content documents from the manifest. I guess it means that they don't have to be exactly equal to the href values of the manifest's item nodes. Instead they just have to point to the same file after relative to absolute path conversion.
I'm planning to do the following:

Revert this change (I didn't notice that it was changing values in the schema entities which should remain exactly as they are in the schema files.)
Add the ContentFilePathInEpubArchive property to the EpubNavigationItemLink class, similar to how it's done for EpubContentFile: https://github.com/vers-one/EpubReader/blob/009976c3fa05a7d24d50e65a33958034cd832172/Source/VersOne.Epub/Entities/EpubContentFile.cs#L6
Perform the relative to absolute path conversion (so something like OEBPS/Text + ../Text/chapter01.xhtml will be turned into OEBPS/Text/chapter01.xhtml) and assign the result to the ContentFilePathInEpubArchive property.

Once that's done, you'll be able to compare nestedChapter.Link.ContentFilePathInEpubArchive to contentFile.FilePathInEpubArchive to find the matching chapter in the navigation tree.

Ooo, that would be great and very simple for me to implement on my end.

@majora2007, I've made the change. Could you try it out and see if it works for you before I publish it to Nuget?

I can, but I honestly don't know how to. I tried to build your project then paste the dll into my bin/, but it doesn't seem to have taken.

No worries, let me publish it to Nuget then.

Published as v3.1.2.

I have validated it is working. Thanks again.


Hub.on is not getting called after establishing connection

I am using SwiftR V2_2_0 with XCode 9.4.1. The problem is Hub.invoke method is getting called but in other device Hub.on method is not getting called. I have checked for the connection and Connection State is showing as Connected, And also I can able to log Connection ID for both the devices.
I tried to log the error, but it was not showing in console.
I am using CocoaPods to install this using -> pod 'SwiftR'
Please advise me.

@adamhartford  Please help. I am also facing the same issue.


Added Functionality to send email with Contact Form Details

Please read .env and add appropriate variables
Description
In this pull request, I have added a new feature that allows the website's contact form details to be sent to the website's email address using Nodemailer and Gmail.
Fixes # (#510 )
Changes Made:

Created a new Node.js route for handling the contact form submission.
Utilized the Nodemailer library to send emails.
Configured the Gmail account as the email service provider.
Secured sensitive information (Gmail credentials) using environment variables with the dotenv package.
Implemented email validation and error handling for a smooth user experience.
Styled the email content to make it visually appealing.

GMAIL_USER='enter your dummy gmail to send '
GMAIL_PASS='enter your password (you may need to genrate app specific password if normal password doesnt work)'
GMAIL_RECEIVER='enter email to recive contact form updates for<EMAIL_ADDRESS>

Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[ ] Test A
[ ] Test B

Test Configuration:

Firmware version:
Hardware:
Toolchain:
SDK:

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

Screenshots
Before

After

Important points :
1.You can use any email for sender
2.If normal password doesnt work ,generate app specific password    (read this article for reference:article
3.When you  merge my commit then in contactform.jsx, replace "https://localhost:5000/test/send-email" with "https://stichhub-backend.vercel.app/test/send-email"

@Naresh-chandanbatve,Please review and merge my pull request

@Naresh-chandanbatve,Please review and merge my pull request

@Naresh-chandanbatve,Please review and merge my pull request

@Naresh-chandanbatve ,made sendEmail.js as it was,please review and merge my pull request

@Naresh-chandanbatve ,please review and merge my pull request

@Naresh-chandanbatve ,please review and merge my pull request

@Naresh-chandanbatve ,please review and merge my pull request


Latest build conventions and workflows

Reviewer checklist

[ ] Read the contributing guide
[ ] PR should be motivated, i.e. what does it fix, why, and if relevant, how
[ ] Ensure relevant issues are linked (description should include text like "Fixes #")
[ ] Ensure any appropriate documentation has been added or amended

Coverage: 94.007%. Remained the same when pulling b44d3f870ff857cdd77ca22b52d5716cafff32eb on conventions into a54e3d75319f8589f0f3c79a27066aafdd18cf6f on main.


Wrong title for adding layers into cluster modal

Screenshots

Additional context
Need design

I don't know if anyone has fix this or the issue description needs update. I've test on local and test env the layer title works fine on this modal. BUT the layers coming from a dataset not. If this issue refers to the dataset ones then i think maybe the question is how to determin the title from the dataset. The titles are alreay empty when imported into layers from dataset (at least in my test).


KYLIN-3581 Obey the contract of 'x.equals(y) should be consistent with x.compareTo(y)'

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Pull Request Test Coverage Report for Build 3645

0 of 10 (0.0%)  changed or added relevant lines in 2 files are covered.
3 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.008%) to 23.116%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

core-cube/src/main/java/org/apache/kylin/cube/inmemcubing/DoggedCubeBuilder.java
0
5
0.0%

core-cube/src/main/java/org/apache/kylin/cube/inmemcubing/InMemCubeBuilder.java
0
5
0.0%

Files with Coverage Reduction
New Missed Lines
%

core-metadata/src/main/java/org/apache/kylin/metadata/cachesync/Broadcaster.java
1
57.71%

core-cube/src/main/java/org/apache/kylin/cube/cuboid/TreeCuboidScheduler.java
2
68.46%

Totals

Change from base Build 3641:
-0.008%

Covered Lines:
16155

Relevant Lines:
69888

💛  - Coveralls


three's GroundProjectedEnv has changed to GroundProjectedSkybox

Everything is in the title, it's just a little change so extras package can be correctly imported, in extras/dist/components/Environment/GroundProjectedEnv.svelte, all the GroundProjectedEnv should be changed to GroundProjectedSkybox.

this has already been done in the @next release

To fix it without using @next version, create a file like src/threlte_fix.js.
import {GroundProjectedSkybox} from 'three/examples/jsm/objects/GroundProjectedSkybox';

export {GroundProjectedSkybox as GroundProjectedEnv};

Then, add this to svelte.config.js.
{
    kit: {
        alias: {
            ['three/examples/jsm/objects/GroundProjectedEnv']: 'src/threlte_fix'
        }
    }
}

I think this should be reopened. It's only fixed on @next version, and if you create new project with stable version, it continues to make same error.

Hey @seo-rii,
I consider Threlte 6 to be more stable than Threlte 5 ever was. The release is very close, we should take steps to emphasize using Threlte 6 rather than Threlte 5.

I understand the intention to induce the use of threlte 6. But I think legacy support is also important. In particular, this is not a feature request or bug on edge cases, but a bug that prevents entire project creation in all cases. The only solution to this is to downgrade the three.js version or apply the proxy component above, but these solutions exist only in this issue and are nowhere in the official document. Existing users will type npm up into the console and explain what happened for a long time.

Legacy support is important but not always above all other considerations. Thank you for pointing out the current solutions to the issue. They'll solve it for those who have the issue.


Flutter was unable to create enough overlay surfaces. This is usually caused by too many platform views being displayed at once. You may experience incorrect rendering

more than 7 video，console print above info，seems like https://github.com/flutter/flutter/issues/113699

more than 7 video，console print �above info，seems like flutter/flutter#113699

check this https://github.com/flutter/flutter/issues/113699#issuecomment-1292433862 i think its a possible workaround and sadly its a problem with flutter itself as explained in your linked issue.


Rewards for a block are lost if the next block is not mined on the same node

Start node A and node B - then mine 1 block on node A, then one block on node B and keep repeating - you will see that only the node rewards are written into the coinbase transaction of the block and no miner rewards at all.
This is because miner rewards are allocated in the next block due to the way the @mining_block works right now. So if the next block is minted by a different node - then the rewards are lost.
This can be fixed as part of the COBRA implementation.
Great spot @jferas !!!

fixed now that we have distributed mining rewards


Suppport for Media queries (@media)

It would be great to support media queries :)

I concur, this would be one of the most useful cases for this plugin for me.


Add daily weather outlook

A notification every morning that uses longer-term changes in pressure (24 or 48 hours) to determine what the weather will likely be compared to yesterday (ex. worse than yesterday, better than yesterday, about the same as yesterday). Corresponds to the daily weather trend on the weather page (which only appears when a change is expected)

There was an idea on this line in #179 constructing a tangent at a given point to get a clear tendency reading.
Allowing this "tangent" to be constructed between two points that are t (say t=3h 6h 12h 24h 48h) apart might be an interesting idea. Probably, giving a better "feeling" on what's going on than a number.

There was an idea on this line in #179 constructing a tangent at a given point to get a clear tendency reading.
Allowing this "tangent" to be constructed between two points that are t (say t=3h 6h 12h 24h 48h) apart might be an interesting idea. Probably, giving a better "feeling" on what's going on than a number.

So the daily outlook that's currently on the weather tab uses the linear regression (slope) of the 48 hours to generate its prediction, I plan to use something similar here - it is very similar to the tangent idea

So the daily outlook that's currently on the weather tab uses the linear regression (slope) of the 48 hours to generate its prediction, I plan to use something similar here - it is very similar to the tangent idea


Analyze this tab - UX issue

I am on Brave, I have 20+ tabs open
Chrome version and test PSAT Version <IP_ADDRESS> (arm64)
OS - System architecture: MacOS (arm64)
Situation of use
When I click the PSAT tool it says:
"This tool works best with a single tab for cookie analysis."
and offers a blue button-like text
'Analyze this tab'
which is more likely to be a button if you hoover over it
Remark 1:
I.m.o. there are too many assumption in this very first step. I.m.o. it's not intuitive for a first user.
Firstly "This tool works best with a single tab for cookie analysis."  Secondly I am not interested in where it works best, why should I care?
Remark 2:
This intermediate pop-up recurs every new tab I go to and click on the PSAT tool in the bar. But I know already that "This tool works best with a single tab for cookie analysis." and don't want to hit this button again.
Remark 3:
After research I discovered there's a strong relationship with the left tab in the options display of PSAT. How would a user know?
Don't make me think?!
Is this extra click on the blue button called 'Analyze this tab' really necessary and can't the performance issue (with too many tabs open) be addressed differently?

Thanks for the thoughtful feedback @henkvancann. Your assessment is spot on and we are addressing this by changing the way the extension handles the issue of analyzing multiple tabs. For the user this should be seamless and the extension should behave correctly and efficiently without user intervention.
This is being tracked here: https://github.com/GoogleChromeLabs/ps-analysis-tool/issues/397


 This may be avoided by explicitly removing the attachment in advance. Or perhaps specifying dependencies.
Using this suggestion from the issue thread works:
Taint
Destroy
will fail with the following message:

aws_ebs_volume.db_data_journal: Error deleting EC2 volume vol-69632ec1: VolumeInUse: Volume vol-69632ec1 is currently attached to i-4d39ecca
Destroy a second time
will actually delete the volume
terraform taint -module=single_tier_aws.ebs_volumes aws_volume_attachment.db_data_journal
terraform destroy
terraform destroy

Using this suggestion from the issue thread works:
Taint
Destroy
will fail with the following message:

aws_ebs_volume.db_data_journal: Error deleting EC2 volume vol-69632ec1: VolumeInUse: Volume vol-69632ec1 is currently attached to i-4d39ecca
Destroy a second time
will actually delete the volume
terraform taint -module=single_tier_aws.ebs_volumes aws_volume_attachment.db_data_journal
terraform destroy
terraform destroy


add aliyun finance environment

这个 PR 实现什么功能/修复什么问题:

增加阿里云金融区支持(未兼容杭州区Redis服务)

是否需要 backport 到之前的 release 分支:

release/3.4

/area region
/cc @swordqiu @zexi @ioito

Codecov Report

Merging #8338 into master will increase coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master   #8338      +/-   ##
=========================================
+ Coverage    6.13%   6.16%   +0.03%
=========================================
  Files         762     150     -612
  Lines      118333   21087   -97246
=========================================
- Hits         7256    1301    -5955
+ Misses     110422   19637   -90785
+ Partials      655     149     -506

Flag
Coverage Δ

#aFlag
6.16% <ø> (+0.03%)
:arrow_up:

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

Impacted Files
Coverage Δ

pkg/cloudprovider/cloudprovider.go
0.72% <ø> (ø)

pkg/util/fernetool/fernet.go

pkg/multicloud/ucloud/storagecache.go

pkg/compute/models/schedtags.go

pkg/keystone/models/id_mappings.go

pkg/compute/models/hostschedtags.go

pkg/compute/models/quotas_doc.go

.../monitor/alerting/conditions/commonalertreducer.go

pkg/compute/models/loadbalancerqcloudcachedlbbg.go

pkg/cloudcommon/db/quotas/context.go

... and 603 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 b43c378...2032e5f. Read the comment docs.


Custom Website Icons are blank - 5.6.3-beta1

Creating a custom website (in this case I'm using Auth0) and the service icon is always blank.
Go to:

Add Service
Select "Custom Website"
Put in the name / website in the proper field.
Select square JPG to use as icon.
Save service
Go back to the main page for Ferdi and the service is missing the icon (it is selectable).
Edit the service again and see the trash can icon is there but no image.

Screenshot

Suddenly icons are missing for me too - 11 of them! 😢

Which OS are you using ? Are you using the snap version of Ferdi on linux?

I'm on macOS 11.6 with Ferdi 5.6.3-nightly.39 @vraravam.


[Master Stack] Additional commands for master layout

I was wondering if you could implement two commands that would drastically improve managing the master layout:

Swap with Master Command
Could we get a command to swap the current window with the master window?

Cycling Command (Related to #401)
The default behavior of the mod-J and mod-K keys in DWM and XMonad is to cycle through windows down the master pane, then down the stack, and the back to the master pane. Could we get a command that implements this feature?

both done in<PHONE_NUMBER>f9e76ee67896e39641c82efbb9ed01
https://github.com/hyprwm/Hyprland/wiki/Master-Layout#dispatchers


FEATURE - User Flow Diagram

Describe the feature you want the app to have that it currently doesn't
A feature list and user flow diagram to understand the app working.
Describe alternatives you've considered
It can be a simple flow diagram,, which describes what's the app all about for newcomers.

this would be great to add to the DocC Documentation!

can I work on it??

I would love to take this up.

@clydehenry3 can you first do  #40 ? before I assign another issue to you

Is this task still available ?

@Artal44  Overall yes, but this may be hard to do at the moment because of the changes I'm making before I ship the app. Once #260 is complete, then you could do this one

Do you know how much time it is going to take ? Otherwise i can maybe already start with a first version ?

The goal is the end of the month, you can start on this task, but it's going to change, whenever I finish #260, and I would prefer you'd wait, so I don't have to go back and point out all the changes

Okay i will for it no problem

Hey I had something come up, and am going to move my deadline to end of the year! I appreciate you wanting to help, but this issue can't be completed at this time

@horaciomuller
What ideas do you have to complete this task?
Also all tasks will start on Oct 1 for Hacktoberfest

Going to close this for now, cause I'm not really sure where the direction of it is


4578: Better wording on request sent page

Resolves #4578
Description
Text changes on the page that is shown after the partner submits a request.
[ Organization name] should have received the request.
to
We've sent [Organization name] your request.
Change
You should also be receiving a email confirmation in a few minutes.
to
We will send you an email confirmation in a few minutes.
Type of change

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

How Has This Been Tested?
The change is tested manually.
To see this page, sign in as<EMAIL_ADDRESS>then click on Quantity, fill a couple of items and quantities, click submit (and if a confirmation page appears, click "It's correct'. A page like the following will appear.
Screenshots

@cielf  Thanks! I will keep that in mind next time


unable to install

im having an issue on installing node-opus

This isn't enough to go by; Given you were active in the other problem that is due windows-build-tools failing to ensure Visual Studio is installed with all the required components, I'll close this.


python38Packages.pubnub: 5.2.1 -> 5.3.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python38Packages.pubnub is: "Python-based APIs for PubNub"
meta.homepage for python38Packages.pubnub is: "https://github.com/pubnub/python"
meta.changelog for python38Packages.pubnub is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

Warning: a test defined in passthru.tests did not pass

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 5.3.1 with grep in /nix/store/77m8whhhsrsw59954bzy3zdjvmljbxya-python3.8-pubnub-5.3.1

found 5.3.1 in filename of file in /nix/store/77m8whhhsrsw59954bzy3zdjvmljbxya-python3.8-pubnub-5.3.1

directory tree listing: https://gist.github.com/45c2b405c6ad8fdb11bfa00e59d9e432

du listing: https://gist.github.com/1825b1b709bcb65de308761a31cce3e8

Rebuild report (if merged into master) (click to expand)

27 total rebuild path(s)

7 package rebuild(s)

7 x86_64-linux rebuild(s)
7 i686-linux rebuild(s)
6 x86_64-darwin rebuild(s)
7 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
home-assistant
python38Packages.pubnub
python38Packages.pubnubsub-handler
python38Packages.yalexs
python39Packages.pubnub
python39Packages.pubnubsub-handler
python39Packages.yalexs

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/77m8whhhsrsw59954bzy3zdjvmljbxya-python3.8-pubnub-5.3.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python38Packages.pubnub https://github.com/r-ryantm/nixpkgs/archive/3bbef8974bff030bade45e7c6bdc428f78b40bc2.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/77m8whhhsrsw59954bzy3zdjvmljbxya-python3.8-pubnub-5.3.1
ls -la /nix/store/77m8whhhsrsw59954bzy3zdjvmljbxya-python3.8-pubnub-5.3.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review took longer than 45m and timed out

Maintainer pings
cc @fabaff for testing.

Result of nixpkgs-review pr 137203 at 3bbef897 run on aarch64-linux 1

1 package failed to build:

home-assistant

6 packages built successfully:

python38Packages.pubnub
python38Packages.pubnubsub-handler
python38Packages.yalexs
python39Packages.pubnub
python39Packages.pubnubsub-handler
python39Packages.yalexs

Note that build failures may predate this PR, and could be nondeterministic or hardware dependent.
Please exercise your independent judgement. Does something look off? Please file an issue or reach out on IRC.

Result of nixpkgs-review pr 137203 run on x86_64-linux 1

7 packages built:

home-assistant
python38Packages.pubnub
python38Packages.pubnubsub-handler
python38Packages.yalexs
python39Packages.pubnub
python39Packages.pubnubsub-handler
python39Packages.yalexs


switch for smart session; bnc_no_value prevention

@aaustin

Looks great - have you tested calling getShortUrl or something before init was called? If you've played around with it, :+1:


message.import.success l10n label missing (regression)

Culprit:
https://github.com/readium/readium-desktop/pull/516/files#diff-ed23275f4a0125af368ee693a2256771L116-L130
Correcting this now.

Found the source of the problem:
this.dispatchToastRequest(ToastType.DownloadComplete, "message.download.success", publication.title);
I need to add this pattern to the static code analyzer!


Investigate usage of category tag on Atom feed

I used the standard <category> element for Atom <item>s, but also got fancy and gave them each a custom scheme attribute. Is it potentially limiting the usefulness of incorporating that information, and is there any "pro" to using a standardized value for the attribute or "con" to just omitting it entirely?

I was in the template for the Atom feed cleaning up some validation errors and decided to ditch the scheme attribute entirely. Closing this as a result.


Fixed double-writes.

Description

File is open multiple times and overwritten when generating API modules. Mini-optimization to avoid it.

Issues Resolved
None, self-research
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@AlexLoyko not sure why, but CI on main failed (and passed here)
Can you please check https://github.com/opensearch-project/opensearch-py/actions/runs/12437036439/job/34726093595? PR fixes.

@dblock Not sure why it's failed suddenly on main (likely something about a version not being pinned), but here's a PR that fixes it: https://github.com/opensearch-project/opensearch-py/pull/875. Also, that error was reproduceable on main pre my commit by running nox -rs generate or nox -rs lint (also hadn't appeared before).