Pacing Incorrect

Name of Defective Feature

Pacing

System Settings (Required)

ToolKit Version: 2.11.0
Operating System (Mac/Windows/Etc): Windows
Browser (Chrome/Firefox/Safari): Chrome
Browser Version: 73.0.3683.86
Other Extensions:

Export of Toolkit Settings (Bottom Left of Settings Page)

Settings Export
[{"key":"AccountsDisplayDensity","value":"0"},{"key":"AccountsEmphasizedOutflows","value":false},{"key":"AccountsStripedRows","value":false},{"key":"AutoDistributeSplits","value":false},{"key":"AutomaticallyMarkAsCleared","value":false},{"key":"BetterScrollbars","value":"0"},{"key":"BudgetCategoryFeatures","value":true},{"key":"BudgetProgressBars","value":"0"},{"key":"BudgetQuickSwitch","value":false},{"key":"CalendarFirstDay","value":"0"},{"key":"CategoryActivityCopy","value":false},{"key":"CategoryActivityPopupWidth","value":"0"},{"key":"ChangeEnterBehavior","value":false},{"key":"CheckCreditBalances","value":true},{"key":"CheckNumbers","value":false},{"key":"ClearSelection","value":false},{"key":"CollapseSideMenu","value":false},{"key":"ColourBlindMode","value":false},{"key":"CompactIncomeVsExpense","value":false},{"key":"CreditCardEmoji","value":true},{"key":"CurrentMonthIndicator","value":false},{"key":"CustomFlagNames","value":false},{"key":"DaysOfBuffering","value":true},{"key":"DaysOfBufferingHistoryLookup","value":"0"},{"key":"DisableToolkit","value":false},{"key":"DisplayTargetGoalAmount","value":"0"},{"key":"DisplayTotalMonthlyGoals","value":true},{"key":"DisplayUpcomingAmount","value":false},{"key":"EasyTransactionApproval","value":false},{"key":"EditAccountButton","value":"0"},{"key":"EnlargeCategoriesDropdown","value":true},{"key":"EnterToMove","value":false},{"key":"FilterCategories","value":true},{"key":"GoalIndicator","value":true},{"key":"GoalWarningColor","value":true},{"key":"GoogleFontsSelector","value":"0"},{"key":"HideAccountBalancesType","value":"0"},{"key":"HideAgeOfMoney","value":false},{"key":"HideHelp","value":false},{"key":"HideReferralBanner","value":false},{"key":"HideTotalAvailable","value":false},{"key":"HighlightNegatives","value":true},{"key":"ImportNotification","value":"0"},{"key":"IncomeFromLastMonth","value":"0"},{"key":"IncomeVsExpenseHoverHighlight","value":true},{"key":"LargerClickableIcons","value":false},{"key":"LinkToInflows","value":false},{"key":"MonthlyNotesPopupWidth","value":"0"},{"key":"NavDisplayDensity","value":"0"},{"key":"Pacing","value":"1"},{"key":"PrintingImprovements","value":true},{"key":"PrivacyMode","value":"0"},{"key":"QuickBudgetWarning","value":false},{"key":"ReconciledTextColor","value":"0"},{"key":"RemovePositiveHighlight","value":false},{"key":"RemoveZeroCategories","value":true},{"key":"ResizeInspector","value":false},{"key":"ResizeSidebar","value":false},{"key":"RightClickToEdit","value":true},{"key":"RowHeight","value":"0"},{"key":"RowsHeight","value":"0"},{"key":"RunningBalance","value":"1"},{"key":"SeamlessBudgetHeader","value":false},{"key":"SetMultipleFlags","value":false},{"key":"ShowCategoryBalance","value":false},{"key":"SpareChange","value":false},{"key":"SplitKeyboardShortcut","value":true},{"key":"SplitTransactionAutoAdjust","value":false},{"key":"SquareNegativeMode","value":false},{"key":"StealingFromFuture","value":false},{"key":"SwapClearedFlagged","value":false},{"key":"TargetBalanceWarning","value":false},{"key":"ToBeBudgetedWarning","value":false},{"key":"ToggleMasterCategories","value":false},{"key":"ToggleSplits","value":false},{"key":"ToggleTransactionFilters","value":"0"},{"key":"ToolkitReports","value":true},{"key":"TransactionGridFeatures","value":true},{"key":"ViewZeroAsEmpty","value":false},{"key":"l10n","value":"0"},{"key":"options.dark-mode","value":true}]

Steps to Reproduce the Behavior

Enable "Show Full Amount" under "Add Pacing to the Budget"
Click back to Budget Screen
Observe incorrect amount

Expected Behavior

I would expect the pacing amount is correctly calculated
Actual Behavior

+1
I'm experiencing the same issue. It had been working okay until quite recently but cannot pinpoint the date that it broke.

☝Here's an example of a budget category which is clearly incorrect. There are others that are incorrect but also some that seem to be functioning correctly.

One point to note is that the Eating Out category was overspent last month 😧 whereas the General Spending category had funds left over.

+2
I agree that it appears to have something to do with categories overspent in the previous month. I'm getting odd pacing calculations for categories this month for which I didn't have any money budgeted or spent:

closing due to inactivity.


size_t, ssize_t ... etc are not document

The problem
size_t is not documented in new native type page, and also the type ssize_t, ulong, ulonglong
Suggestions

They are not part of roast; they are declared in a NativeCall::Types module.


Convert to pure P2 ES6 class

Connects to #65

This change is

Review status: 0 of 7 files reviewed at latest revision, 4 unresolved discussions.

index.html, line 12 at r1 (raw file):

  </head>
  <body>
    <api-doc-viewer url="documentation.json" element-class-name="Vaadin.SplitLayoutElement"></api-doc-viewer>

Did you try if the 3.0.0-rc versions of <iron-component-page> work with ES6 elements?

vaadin-split-layout.html, line 269 at r1 (raw file):

        ready() {
          super.ready();
          new Polymer.FlattenedNodesObserver(this, this._processChildren);

We probably want to store this observer into this._observer so that it can be flushed if needed. (in tests or while debugging)

vaadin-split-layout.html, line 345 at r1 (raw file):

         *
         * @event iron-resize
         */

extra whitespaces

test/vaadin-split-layout_test.html, line 154 at r1 (raw file):

        it('has overflow visible', done => {
          splitLayout.async(() => {

Rather use Polymer.Async.microTask.run(..) since this will break once we remove the mixinBehaviors

Comments from Reviewable

Review status: 0 of 7 files reviewed at latest revision, 4 unresolved discussions.

vaadin-split-layout.html, line 345 at r1 (raw file):
Previously, Saulis (Sauli Tähkäpää) wrote…
extra whitespaces

vscode does not help, in atom it was automatic to remove those. I need to take a look to the config.
Done.

test/vaadin-split-layout_test.html, line 154 at r1 (raw file):
Previously, Saulis (Sauli Tähkäpää) wrote…
Rather use Polymer.Async.microTask.run(..) since this will break once we remove the mixinBehaviors

Good catch, I forgot this case.
Done

Comments from Reviewable

Review status: 0 of 7 files reviewed at latest revision, 4 unresolved discussions.

vaadin-split-layout.html, line 269 at r1 (raw file):
Previously, Saulis (Sauli Tähkäpää) wrote…
We probably want to store this observer into this._observer so that it can be flushed if needed. (in tests or while debugging)

Since it would be an unused variable in code, I do prefer that it is added when needed.

Comments from Reviewable

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

index.html, line 12 at r1 (raw file):
Previously, Saulis (Sauli Tähkäpää) wrote…
Did you try if the 3.0.0-rc versions of <iron-component-page> work with ES6 elements?

Tested and it works. Since this is something that should be done from the skeleton to all components, I leave this for a separate PR. Opened this working branch for now: https://github.com/vaadin/vaadin-split-layout/commits/es6_apidoc

Comments from Reviewable

Reviewed 5 of 7 files at r1, 2 of 2 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Collapse together duplicate text nodes in body

To simplify parsing logic, we create multiple text nodes when parsing body, let's collapse these together into one Node:
Refs #11

we're going in the opposite direction where we've split out newlines, whitespace, etc., into their own nodes, such that our parse tree can easily be put back together into the original text, see #25.


Fix named parameters that doesn't work

Named parameters doesn't work for attributes nor annotations:
What is working:
#[ParamDecrypt(['id'])] or @ParamDecrypt({"id"})
What is not working:
#[ParamDecrypt(params: ['id'])] or @ParamDecrypt(params={"id"})

Hello,
What version of the bundle are you using ?

Hello 🙂
I'm on the latest version (6.3.2)

@l-vo in the latest version the bundle do not support params:  anymore, now it only support #[ParamDecrypt(['id'])] or @ParamDecrypt({"id"})
See the README page for reference.

Yes, I saw that, but it's a breaking change that could be avoided with this PR.


Add ./vendor/bin to the path in Dockerfile

I added this line to  Dockerfile ENV PATH "$PATH:.:./vendor/bin:./node_modules/.bin"
With the expanded PATH variable, developers can run sail shell then execute key commands, such as pest and phpstan or running artisan without prefixing it with the php keyword.

Thanks for your pull request to Laravel!
Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.
If possible, please consider releasing your code as a package so that the community can still take advantage of your contributions!
If you feel absolutely certain that this code corrects a bug in the framework, please "@" mention me in a follow-up comment with further explanation so that GitHub will send me a notification of your response.

 Big thanks!
Talking about the pull request, I totally get your point. Even though it's just one line, it improves the developer experience. I've been adding this line manually in my sail files, and having it by default would be super cool.


[Bug] bounty spawner not restarted

Describe the bug
A bounty spawner was not restarted.
/can-make-bounty shows false. This makes me suspect that the "can make bounty" logic is flawed - not div.isfull or not div.hasmintlbounty or whatever it is. Here: https://github.com/GOF2BountyBot/GOF2BountyBot/blob/refactor/based-update-testing/bot/cogs/DevBountiesCog.py#L355

(optional) Your discord tag
Azloxion

Before this is brought in, try out the logic on its own to make sure this is really the issue


Fix rst

Hi
@miferco97, please verify that there are no errors in the rst files in your PRs. CI is not testing this.
You had these errors:
CoreSenseEU.github.io/testbeds/docs/inspection_testbed.rst:4: WARNING: Title underline too short.

TB2: Inspection Testbed
**************
CoreSenseEU.github.io/testbeds/docs/inspection_testbed.rst:35: WARNING: Title underline too short.

AS2 project requirements
=======================
CoreSenseEU.github.io/testbeds/docs/inspection_testbed.rst:35: WARNING: Title underline too short.

AS2 project requirements
=======================

This PR fixes it.

Sorry, I just checked that it generated the HTLM correctly. I will be more careful next time


Empty list Linear Layout is not in center

Description
The empty list LinearLayout is not in center of the screen
Expected Behaviour
The empty list LinearLayout should be at the center of the screen to improve the UX
Screenshots

can i do it??

Hi @rahul975337  I have sent a PR for this one :)

Is that okay???
On Fri, 8 May, 2020, 10:54 PM Chinmay Kulkarni<EMAIL_ADDRESS>wrote:

Hi @rahul975337 https://github.com/rahul975337 I have sent a PR for
this one :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/avjinder/Minimal-Todo/issues/142#issuecomment-625926319,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANICGG5WN7ETL4RYRARFH43RQQ55ZANCNFSM4LST3NXA
.

I have sent a pr please check

Can u please check


Could this be usable with TypeScript?

Hi, thanks for writing this. It looks very exciting.
I tried using it in a TypeScript project and WebStorm told me to run:
 yarn add @types/mustache-validator --dev

This gives me:
yarn add v1.22.19
[1/4] 🔍  Resolving packages...
error An unexpected error occurred: "https://registry.yarnpkg.com/@types%2fmustache-validator: Not found".
info If you think this is a bug, please open a bug report with the information provided in ".../yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

I've no idea if you're still maintaining this - and I don't know enough about TypeScript to know how to fix this - but on the off-chance that you are, I thought I would ask...

Hey, I've fixed the types for the published package as part of this commit https://github.com/eliasm307/mustache-validator/commit/e266e7fe606482a7cc87e21b194ddb6bf00dd269
Try using v0.2

Brilliant - very many thanks indeed!

It works great. Thank you very much again! ❤


[DEV-1707] remove split repos

Daskdev-sat and proxy-server split into their own repos:
https://github.com/saturncloud/proxy-server
https://github.com/saturncloud/daskdev-sat

Task linked: DEV-1707 Move daskdev-sat into its own repo


Chromecast adapter in restart loop (UNCAUGHT_EXCEPTION)

Hi,
I updated my iobroker and also Linux and now I have a restart loop in chromecast. Do you have an idea how to fix this?
`

host.iobroker
2021-05-15 12:46:44.767
warn
Do not restart adapter system.adapter.chromecast.0 because restart loop detected

host.iobroker
2021-05-15 12:46:44.767
info
Restart adapter system.adapter.chromecast.0 because enabled

host.iobroker
2021-05-15 12:46:44.765
error
instance system.adapter.chromecast.0 terminated with code 6 (UNCAUGHT_EXCEPTION)

chromecast.0
2021-05-15 12:46:44.141
warn
(20452) Terminated (UNCAUGHT_EXCEPTION): Without reason

chromecast.0
2021-05-15 12:46:44.140
info
(20452) terminating

chromecast.0
2021-05-15 12:46:44.139
info
(20452) Unload completed sucesfully

chromecast.0
2021-05-15 12:46:44.139
info
(20452) Google Home Wohnzimmer - client disconnected

chromecast.0
2021-05-15 12:46:44.138
info
(20452) Küche - client disconnected

chromecast.0
2021-05-15 12:46:44.137
info
(20452) Küche - Detached player

chromecast.0
2021-05-15 12:46:44.137
info
(20452) Küche - Detached player

chromecast.0
2021-05-15 12:46:44.135
info
(20452) Iobrokergruppe - client disconnected

chromecast.0
2021-05-15 12:46:44.135
info
(20452) Badezimmer - client disconnected

chromecast.0
2021-05-15 12:46:44.134
info
(20452) Chromecast Ultra - client disconnected

chromecast.0
2021-05-15 12:46:44.133
info
(20452) Chromecast Ultra - Detached player

chromecast.0
2021-05-15 12:46:44.132
info
(20452) Chromecast Ultra - Detached player

chromecast.0
2021-05-15 12:46:44.131
info
(20452) Kueche - client disconnected

chromecast.0
2021-05-15 12:46:44.130
info
(20452) Kueche - Detached player

chromecast.0
2021-05-15 12:46:44.129
info
(20452) Kueche - Detached player

chromecast.0
2021-05-15 12:46:44.125
info
(20452) Destroying chromecast scanner

chromecast.0
2021-05-15 12:46:44.125
info
(20452) Unload triggered

chromecast.0
2021-05-15 12:46:42.787
info
(20452) Kueche - Player joint

chromecast.0
2021-05-15 12:46:42.786
info
(20452) Kueche - Connected player

chromecast.0
2021-05-15 12:46:42.784
info
(20452) Kueche - Try to join player

chromecast.0
2021-05-15 12:46:42.781
info
(20452) Chromecast Ultra - Player joint

chromecast.0
2021-05-15 12:46:42.779
info
(20452) Chromecast Ultra - Connected player

chromecast.0
2021-05-15 12:46:42.777
info
(20452) Chromecast Ultra - Try to join player

chromecast.0
2021-05-15 12:46:42.773
info
(20452) Küche - Player joint

chromecast.0
2021-05-15 12:46:42.771
info
(20452) Küche - Connected player

chromecast.0
2021-05-15 12:46:42.765
info
(20452) Küche - Try to join player

chromecast.0
2021-05-15 12:46:42.731
info
(20452) Küche - Connected client

chromecast.0
2021-05-15 12:46:42.724
info
(20452) Google Home Wohnzimmer - Connected client

chromecast.0
2021-05-15 12:46:42.718
info
(20452) Iobrokergruppe - Connected client

chromecast.0
2021-05-15 12:46:42.698
info
(20452) Badezimmer - Connected client

chromecast.0
2021-05-15 12:46:42.692
info
(20452) Kueche - Connected client

chromecast.0
2021-05-15 12:46:42.685
info
(20452) Chromecast Ultra - Connected client

chromecast.0
2021-05-15 12:46:42.607
error
(20452) extension not loaded yet

chromecast.0
2021-05-15 12:46:42.607
error
at Object.onceWrapper (events.js:420:28)

chromecast.0
2021-05-15 12:46:42.607
error
at TLSSocket. (/opt/iobroker/node_modules/castv2/lib/client.js:40:10)

chromecast.0
2021-05-15 12:46:42.607
error
at Client.emit (events.js:314:20)

chromecast.0
2021-05-15 12:46:42.607
error
at Object.onceWrapper (events.js:420:28)

chromecast.0
2021-05-15 12:46:42.607
error
at Client. (/opt/iobroker/node_modules/castv2-client/lib/senders/platform.js:59:21)

chromecast.0
2021-05-15 12:46:42.607
error
at fn.ConnectionController.connect (/opt/iobroker/node_modules/castv2-client/lib/controllers/connection.js:28:8)

chromecast.0
2021-05-15 12:46:42.607
error
at fn.Controller.send (/opt/iobroker/node_modules/castv2-client/lib/controllers/controller.js:28:16)

chromecast.0
2021-05-15 12:46:42.607
error
at Channel.send (/opt/iobroker/node_modules/castv2/lib/channel.js:34:12)

chromecast.0
2021-05-15 12:46:42.607
error
at Client.send (/opt/iobroker/node_modules/castv2/lib/client.js:127:25)

chromecast.0
2021-05-15 12:46:42.607
error
at Object.serialize (/opt/iobroker/node_modules/castv2/lib/proto.js:29:15)

chromecast.0
2021-05-15 12:46:42.607
error
(20452) Error: extension not loaded yet

chromecast.0
2021-05-15 12:46:42.605
error
(20452) uncaught exception: extension not loaded yet

chromecast.0
2021-05-15 12:46:42.598
error
(20452) extension not loaded yet

chromecast.0
2021-05-15 12:46:42.597
error
at Object.onceWrapper (events.js:420:28)

chromecast.0
2021-05-15 12:46:42.597
error
at TLSSocket. (/opt/iobroker/node_modules/castv2/lib/client.js:40:10)

chromecast.0
2021-05-15 12:46:42.597
error
at Client.emit (events.js:314:20)

chromecast.0
2021-05-15 12:46:42.597
error
at Object.onceWrapper (events.js:420:28)

chromecast.0
2021-05-15 12:46:42.597
error
at Client. (/opt/iobroker/node_modules/castv2-client/lib/senders/platform.js:59:21)

chromecast.0
2021-05-15 12:46:42.597
error
at fn.ConnectionController.connect (/opt/iobroker/node_modules/castv2-client/lib/controllers/connection.js:28:8)

chromecast.0
2021-05-15 12:46:42.597
error
at fn.Controller.send (/opt/iobroker/node_modules/castv2-client/lib/controllers/controller.js:28:16)

chromecast.0
2021-05-15 12:46:42.597
error
at Channel.send (/opt/iobroker/node_modules/castv2/lib/channel.js:34:12)

chromecast.0
2021-05-15 12:46:42.597
error
at Client.send (/opt/iobroker/node_modules/castv2/lib/client.js:127:25)

chromecast.0
2021-05-15 12:46:42.597
error
at Object.serialize (/opt/iobroker/node_modules/castv2/lib/proto.js:29:15)

chromecast.0
2021-05-15 12:46:42.597
error
(20452) Error: extension not loaded yet

chromecast.0
2021-05-15 12:46:42.595
error
(20452) uncaught exception: extension not loaded yet

chromecast.0
2021-05-15 12:46:41.946
info
(20452) starting. Version 2.3.1 in /opt/iobroker/node_modules/iobroker.chromecast, node: v12.22.1, js-controller: 3.2.16

host.iobroker
2021-05-15 12:46:39.879
info
instance system.adapter.chromecast.0 started with pid 20452

host.iobroker
2021-05-15 12:46:09.847
info
Restart adapter system.adapter.chromecast.0 because enabled

`

Same Problem

Same Problem here!

Hi, I got this problem too. A restart loop should be a problem, and I have to check the protocol, but there are no problems with restarts, only while restarting the adapter, to fill in new devices!?


Can't use ES6 default variables with create-react-app? SOLVED

I have a working piece of code that I want to port to a create-react-app project, and stumbled over the compile error below for my server-side. Am I missing something?
...
> server-api@ server /Users/richb/github/cloudmu-react-redux-starter-kit/server
> node server.js

/Users/richb/github/cloudmu-react-redux-starter-kit/server/utils/protocol.js:683
  function bump(stat, amount=1) {
                            ^
SyntaxError: Unexpected token =
    at exports.runInThisContext (vm.js:53:16)
...

[I also had to add "use strict"; to the head of the file to get farther....]

Answered my own question. Of course, create-react-app doesn't handle ES6->ES5 conversion for server code - it's client-side only.
To fix it, I ran the following in my server folder:
npm install --save babel-core babel-cli babel-preset-es2015 babel-preset-stage-0
and also added the following to the server package.json scripts section:
"server": "API_PORT=3001 ./node_modules/.bin/babel-node server.js"
[I could get rid of the "use strict"; as well.]  Here's the total server/package.json file:
{
  "description": "This is for the api server",
  "name": "server-api",
  "babel": {
    "presets": [
      "es2015",
      "stage-0"
    ]
  },
  "dependencies": {
    "babel-cli": "^6.14.0",
    "babel-core": "^6.14.0",
    "babel-preset-es2015": "^6.14.0",
    "babel-preset-stage-0": "^6.5.0",
    "body-parser": "^1.15.2",
    "events": "^1.1.1",
    "express": "^4.14.0",
    "jsonwebtoken": "^7.1.9"
  },
  "scripts": {
    "server": "API_PORT=3001 ./node_modules/.bin/babel-node server.js"
  }
}

Yeah, we don’t really support any server solution out of the box, that is up to you.
There are some non-trivial pieces there. For example using babel-node is bad in production.


Not seen fully message after subcription for campaign on mobile phone

Which area(s) of Podkrepi.bg are affected?
Mobile layout, Campaigns
Describe the Bug
https://github.com/podkrepi-bg/frontend/assets/16596102/bbdf899a-64e0-4709-adf2-ff7a5940815c
Not seen message on mobile phone.
To Reproduce
Watch video first.

Subsribe for campaign https://podkrepi.bg/en/campaigns/tatianas-space-journey-continues
Click on button "На профилния"
Open email on mobile phone
Open website and message is not fully visible.

Expected Behavior
To see full message.
Which browser are you using? (if relevant)
Vivaldi mobile.

Interesting currently not possible to reproduce the bug on same device.

I think your screen was zoomed and that is what caused this effect.
I will close the ticket. If the issue appear again, please feel free to reopen.


Streaming ErrorBoundaries where Boundary is flushed before error cause Hydration Mismatch Error

Describe the bug
I don't know what causes it. I could reproduce it in stackblitz. This is a very strange hydration error. While this happens everytime in stackblitz, we get this error only like 40% of the time in our project. We have to constantly refresh in order to get this error. Makes it very hard to understand what is the root cause.
Your Example Website or App
https://stackblitz.com/edit/github-fk8exj-gi8mmw?file=src%2Froot.tsx,src%2Froutes%2Findex.tsx
Steps to Reproduce the Bug or Issue

Go to stackblitz
Open console
See the error

Expected behavior
I expect not to have hydration error in this simple example
Screenshots or Videos
No response
Platform

OS: Linux
Browser: Chrome
Version: 1.8.1

Additional context
No response

I too ran into this with my app when updating to the latest 1.8.1 release, with no changes made to source code. I see that downgrading the StackBlitz demo to the previous version of solid-js, i.e below in package.json:
"solid-js": "1.7.12"

The stack trace is also pretty similar, nearly identical in fact, though in your repro the key seems to exist in the DOM whereas mine does not ( locally, different app ):
dev.js:735 Uncaught Error: Hydration Mismatch. Unable to find DOM nodes for hydration key: 1-0-0
    at getNextElement (dev.js:735:13)
    at ErrorBoundary.tsx:32:3
    at ErrorMessage (ErrorBoundary.tsx:59:79)
    at dev.js:616:16
    at untrack (dev.js:499:12)
    at Object.fn (dev.js:612:7)
    at runComputation (dev.js:777:22)
    at updateComputation (dev.js:756:3)
    at devComponent (dev.js:627:3)
    at createComponent (dev.js:1374:17)

I am sure the cause is pretty simple, but I have been programming for hours before I updated and do not have any energy to investigate, just thought I would provide you some validation so you don't spend hours on this.

Ah I see this is a streaming only issue. It's because we client render error boundaries on failure across the suspense boundary. And now that fails hydration ironically as well. Ok.. Let me see what we can do.

Ah I see this is a streaming only issue. It's because we client render error boundaries on failure across the suspense boundary. And now that fails hydration ironically as well. Ok.. Let me see what we can do.

Yes, so in my own attempts to keep my app running and development moving forward while waiting to hear on this issue, I did do some investigating and noticed both that renderStream() and SSR ( i.e solid({ ssr: true }) ) were obviously necessary precursors to triggering this error, and I looked into the commits between 1.7.12 and 1.8.1 and found there were changes to the Suspense and ErrorBoundary handling, and I was running under the assumption that it's more likely those changes revealed a bug or strange edge case in my code rather than introduced one in Solid.
But nonetheless I went through my stack trace ( which would frustratingly change every time I saw the error ) and given the transient nature of it, i.e sometimes app runs fine sometimes there's a mismatch, it was particularly annoying to debug.
However, I managed to find a few cases where I maybe wasn't being super safe about hydration where I had dynamic or conditionally rendered components and other control flow fun with an ErrorBoundary or Suspense was involved, and I managed to get it running for now, by just doing this:
<Suspense fallback={<AnotherComponent />}>
  <Show when={isHydrated()}>
    <SomeComponent />
  </Show>
</Suspense>

with a few components, but again because it doesn't always show up I am not sure if I have just tricked myself into making random changes until it started behaving, especially since those changes were not needed as of 1.7.12.

Yeah it is actually a lot simpler than I thought. I was telling the Suspense boundary it had succeeded on server resolve and then it would try to hydrate and fail. https://github.com/ryansolid/dom-expressions/commit/ffeeca46ef5ea737b7c16baf673832550797890f
I will get this in for the next release.

Seems to be still here. Will look into it more. i had it working in browser probably missed something I modified inline.


Question: How to disable foreign key creation on single field

I want to disable only 1 FK, but not for all of my migration as per #751 , how can I do that?

Hey @maxifom and thanks for opening this issue. You can disable the foreign-key creation of one edge using a Migration Hook by deleting it from the table before executing the migration. For example:
if err = client.Schema.Create(
	ctx,
	schema.WithHooks(func(next schema.Creator) schema.Creator {
		return schema.CreateFunc(func(ctx context.Context, tables ...*schema.Table) error {
			petFKs := tables[0].ForeignKeys
			// Delete the first foreign-key of the pets table.
			tables[0].ForeignKeys = petFKs[1:]
			if err := next.Create(ctx, tables...); err != nil {
				return err
			}
			// Restore back the pets table foreign-keys.
			tables[0].ForeignKeys = petFKs
			return nil
		})
	}),
); err != nil {
	log.Fatalf("failed creating schema resources: %v", err)
}

We can consider adding this functionality in the future using a custom entsql annotation if we'll see more need for this.
Closing, but please feel free to reopen if you still need help. You're also welcome to join our Slack channel. Thanks 🙏


在推理的时候，能将这个人的音色记录下来，并且不断推理吗？

Checks

[X] This template is only for feature request.
[X] I have thoroughly reviewed the project documentation but couldn't find any relevant information that meets my needs.
[X] I have searched for existing issues, including closed ones, and found not discussion yet.
[X] I confirm that I am using English to submit this report in order to facilitate communication.

1. Is this request related to a challenge you're experiencing? Tell us your story.
能将这个人的音色记录下来，并且不断推理吗？
2. What is your suggested solution?
直接克隆下来
3. Additional context or comments
1
4. Can you help us with this feature?

[X] I am interested in contributing to this feature.

请看一下这个模板里Checks的内容以及4里面的内容
传的参考音频是什么样，就克隆什么样

您好，您的邮件已收到，谢谢！  余清


Swedish translation

Added the Swedish language to Telescope and translated all the standard strings.

looking forward to having a Swedish translation for this! :+1:

Thanks :+1:

We're switching to LingoHub to help manage translations. If you'd like to be added as a translator to the project, could you join the #i18n channel on Telescope's Slack?


Test cartographie

I did the notebook about the cartography project. I just have  implemented the model of simulator and I run then for certains towns of Benin. It rest only how to generate map of Benin with the point that show what town is adequate for rice culture.
See and give me your view

@Ethel2003 good job! I'm very happy of the work done. I'll look as soon as possible and let you know.

please

remove notebook/02-refactor-leaf-area-index copy.ipynb
remove images notebook/courbe_avant_irrigation.png, notebook/courbe_after_irrigation.png

I did it before the push but I don't know why it's here. I deleted the files and I stashed them. What solution you can give me??

you should not have stashed your changes. But rather commit them.

I amended your notebook to plot the growth metric on the map of Benin.
I think the simplest way to push my changes is to open another MR.


Ability to answer medical interview

So the meds (medical history) json should be sth like:
{   "id": str,   "id_doctor": str,   "id_patient": str,   "questions": [     {"question": str, "answer": str (gathered by UI)}   ] }

So the meds (medical history) json should be sth like:
{ "id": str, "id_doctor": str, "id_patient": str, "questions": [ {"question": str, "answer": str (gathered by UI)} ] }

For the record sake. Now, we have:
Question(ID, question),
Answer(ID, answer),
Interview(ID, doctorID, patientID, creationTimestamp, lastActionTimestamp),
IQALink(ID, interviewID, questionID, answerID).
And all these can be easily transformed to represent mentioned structure.


Rewrote SystemComponentSpec from groovy to scala

SystemComponentTest convert from groovy to scala.
This PR is related to Issue https://github.com/ie3-institute/simona/issues/646

Is the simulation start and end time correctly implemented? I'm not sure. The test is now integrated into grid/systemcomponentspec.scala.


A "more accurate" method

Hello, this problem has been nagging at me since I watched your video a while back. I wasn't sure where to write this, but this feels like a fine place. I am proposing a new method that should exactly sort the pixels in each row/column. I think it should be faster since you wouldn't need as many threads, and you could still do the bitonic sort. only half of them, and they should be reusable. Let me explain.
Here's an image explaining the flow:

It's kinda scuffed, so sorry if it's hard to understand. The main takeaway is that we use the contrast mask in a different way. We first get our array of sort values, and we make sure the sort values are all in some range [0, N). Then we iterate once over the values array, and if the mask jumps from a 0 to a 1 or a 1 to a 0, we add N to our offset which starts at 0. We add this offset to each pixel in the sort value array. Then we perform our sort on this new offset array. After it's sorted, each of the segments should remain contiguous and in the same place as they were before. Finally we do the reverse offset, subtracting as we go along to normalize back to our initial array where each element was in the range [0, N). Below is some psuedo-code.
offset = 0
// add our offset and mask out the things that need to be sorted
for p in [0, P)
  if mask[p] != mask[p-1]
    offset += N
  // this is not technically necessary, actually, but if we want the non-sorted values to appear as 0 we can.
  sortedvals[p] *= mask
  sortedvals[p] += offset

// do the bitonic sort with as many threads as we want (max = image height / 2, obviously)
sort(sortedvals)

// go backwards now, undoing the offset
for p in (P, 0]
  if mask[p] != mask[p+1]
    offset -= N
  sortedvals[p] -= offset

This lets us do a simple monotonic sort on each array, and so we don't have to spawn threads every frame, we can just constantly reuse the same exact threads for each frame and the upper bound should be reasonable small.
I would try implementing it, but I have limited time and I'm not sure how hard it would be to untangle the stuff already written.

I also have limited time, but it'd be cool if you tried it out.


security principal for Bastion key vault integration?

To integrate with Key Vault - it's missing information on which principle should have access to key vault. Bastion managed identity? The server? The user? Needs more clarification.
And if true that one can't save a key via GUI the option should not be active and one should get a warning in the gui too

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

ID: 8eadfa12-262e-489d-b6ae-2fb71cbc5bbb
Version Independent ID: f22c4240-3bc0-d185-6937-31d06f3632d7
Content: Connect to a Linux VM using SSH - Azure Bastion
Content Source: articles/bastion/bastion-connect-vm-ssh-linux.md
Service: bastion
GitHub Login: @cherylmc
Microsoft Alias: cherylmc

Thank you for your feedback! We have assigned this issue to the author to review further and take the next course of action.

Thanks. Doing testing it shows that it's the logged in user in the Portal that needs the correct rights

Thank you for you dedication to our documentation.
Unfortunately, we have been unable to review this issue in a timely manner. We sincerely apologize for the delayed response. We are closing this issue. If you feel that the problem persists, please respond to this issue with additional information.
Please continue to provide feedback about the documentation. We appreciate your contributions to our community.
#please-close


add docker support

Is your feature request related to a problem? Please describe.
This feature will make things convenient both on the end user's side and testing's side.
Describe the solution you'd like
Rightful dockerfile should be added so as to be able to build an image of this project which can be useful for multiple things and isolation. Users won't need to install nodejs or npm. They would just need to have docker and that's it.
Describe alternatives you've considered
NA
Additional context

I would like to take a look at this issue, if possible.

@r-ush, thanks for your PR but I already merged a different PR of yours dealing with gitattributes. Also, seems like @popey456963 made the PR and asked for assignment prior to your PR, so, it would be more apt to go with their PR.
Still thanks for your work and please feel absolutely free to raise new issue or pick up any other existing issue😄


feat: Add Aerospike icon for Java plugin (#10992)

Related issue https://github.com/apache/skywalking/issues/10992

I think it is. Found this on their website, Aerospike, Inc. This logo belongs to a vendor. We are not granted to use.

I think it is. Found this on their website, Aerospike, Inc. This logo belongs to a vendor. We are not granted to use.

I'll go confirm.

No logo is fine, it would block your PR. The runtime codes has GPL license, which is good enough.

ok!


support callback in client

hi,   a response depend on request content, so need use the callback, but i cant understand  the whole Mock Server API,  how can i implement the  "httpObjectCallback", thanks

+1


build problems

I installed coyaml separately but the build fails of zerogw
raise Errors.WafError('No wscript file in directory %s'%d)

waflib.Errors.WafError: No wscript file in directory /mnt/data/home/mdupont/experiments/zerogw/coyaml
this dir is empty :
zerogw/coyaml

The solution which is not in the readme is to link or checkout the coyaml and libwebsite into the zerogw dir.

see https://github.com/tailhook/zerogw/pull/33


Add tqdm progress bars to SCT scripts

Note: This issue has been created to document an old WIP pull request that had become stale. No issue had been opened for that PR, so this issue is to discuss whether it's worth starting fresh and continuing that work.

Before it was closed, PR #2553 aimed to add tqdm progress bars to SCT scripts. #2724 seems to have similar motivations. (SCT's progress bars being noisy in logs.)
(There is also one other commit in that PR related to setting log levels, but logging is now handled by init_sct, so I believe that work is outdated.)
Would tqdm still be useful for SCT?

Thank you for the additional context! I see it is used throughout SCT, too. I suppose this issue is no longer needed, then?

Indeed, we can probably close.


⚠ Jenkins Plugins Artifactory has degraded performance

In 192d73e, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1342 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 6804bb2 after 1 hour, 46 minutes.


Error noise

I just need confirmation that it is my error and no one else have experienced it.
I notice that quite often I see noise errors in the results of my Protractor tests.
I run the same tests again and 60% of the errors were no longer there.
This is not the first time.
If it is a feature to have shaky test results, then I will just deal with it and move forward.

Many people have flakey tests.  This is generally a problem with the tests though, not protractor.  Often people write race conditions into their tests without noticing.  If you've found a specific protractor feature with unreliable behavior, or can think of a use case that common trips up test writers, let us know!


No new contracts despite FormContract calls

I'm running a host and I was getting new contracts for the first few days (while still on 0.6.0), but then it seems to have stopped. I upgraded to 1.0.0 and it doesn't seem to have made any difference. I haven't had any increase in host storage in days, but my FormContract calls keep increasing, which I assume to mean people are trying to form contracts with my host.
$ siac host -v
General Info:
        Estimated Competitive Price: 1.547 KS

Host Internal Settings:
        acceptingcontracts:   Yes
        maxduration:          25 Weeks
        maxdownloadbatchsize: 17.83 MB
        maxrevisebatchsize:   17.83 MB
        netaddress:           [redacted]
        windowsize:           0 Weeks

        collateral:       25 KS / TB / Month
        collateralbudget: 5 MS
        maxcollateral:    250 KS Per Contract

        mincontractprice:         1 SC
        mindownloadbandwithprice: 5 KS / TB
        minstorageprice:          1.4 KS / TB / Month
        minuploadbandwidthprice:  100 SC / TB

Host Financials:
        Contract Count:               0
        Transaction Fee Compensation: 0 H
        Transaction Fee Expenses:     0 H

        Storage Revenue:           0 H
        Potential Storage Revenue: 5.245 SC

        Locked Collateral: 19.61 KS
        Risked Collateral: 131.1 SC
        Lost Collateral:   0 H

        Download Revenue:           0 H
        Potential Download Revenue: 0 H
        Upload Revenue :            0 H
        Potential Upload Revenue:   404.8 mS

RPC Stats:
        Error Calls:        7780
        Unrecognized Calls: 95
        Download Calls:     1
        Renew Calls:        14
        Revise Calls:       6895
        Settings Calls:     52359
        FormContract Calls: 932

Storage Folders:
    Used        Capacity     % Used    Path
    4.064 GB    1.0000 TB    0.41      /mnt/sia/host-storage

Then a few hours later
$ siac host -v
General Info:
        Estimated Competitive Price: 1.198 KS

Host Internal Settings:
        acceptingcontracts:   Yes
        maxduration:          25 Weeks
        maxdownloadbatchsize: 17.83 MB
        maxrevisebatchsize:   17.83 MB
        netaddress:           [redacted]
        windowsize:           0 Weeks

        collateral:       25 KS / TB / Month
        collateralbudget: 5 MS
        maxcollateral:    250 KS Per Contract

        mincontractprice:         1 SC
        mindownloadbandwithprice: 5 KS / TB
        minstorageprice:          1.4 KS / TB / Month
        minuploadbandwidthprice:  100 SC / TB

Host Financials:
        Contract Count:               0
        Transaction Fee Compensation: 0 H
        Transaction Fee Expenses:     0 H

        Storage Revenue:           0 H
        Potential Storage Revenue: 5.245 SC

        Locked Collateral: 19.61 KS
        Risked Collateral: 131.1 SC
        Lost Collateral:   0 H

        Download Revenue:           0 H
        Potential Download Revenue: 0 H
        Upload Revenue :            0 H
        Potential Upload Revenue:   404.8 mS

RPC Stats:
        Error Calls:        7907
        Unrecognized Calls: 95
        Download Calls:     1
        Renew Calls:        14
        Revise Calls:       6898
        Settings Calls:     53947
        FormContract Calls: 1056

Storage Folders:
    Used        Capacity     % Used    Path
    4.064 GB    1.0000 TB    0.41      /mnt/sia/host-storage

I also notice that the host price keeps dropping so is it just that I'm priced too high?

Same problem for me.
700 MB with cli 0.6.0 and not,a single byte since cli 1.0.0 despite many settings calls.
My collateral is set to ~1.2kS

Make sure your wallet is unlocked, and make sure that you have collateral posted.

It looks like I have enough collateral. Any other ideas?
$ siac wallet && siac host -v
Wallet status:
Encrypted, Unlocked
Confirmed Balance:   508.2 KS
Unconfirmed Delta:  +0 H
Exact:<PHONE_NUMBER>74835634184544321536 H
Siafunds:            0 SF
Siafund Claims:      0 H
General Info:
        Estimated Competitive Price: 3.983 KS

Host Internal Settings:
        acceptingcontracts:   Yes
        maxduration:          25 Weeks
        maxdownloadbatchsize: 17.83 MB
        maxrevisebatchsize:   17.83 MB
        netaddress:           [redacted]
        windowsize:           0 Weeks

        collateral:       25 KS / TB / Month
        collateralbudget: 5 MS
        maxcollateral:    250 KS Per Contract

        mincontractprice:         1 SC
        mindownloadbandwithprice: 5 KS / TB
        minstorageprice:          500 SC / TB / Month
        minuploadbandwidthprice:  100 SC / TB

Host Financials:
        Contract Count:               1
        Transaction Fee Compensation: 0 H
        Transaction Fee Expenses:     0 H

        Storage Revenue:           0 H
        Potential Storage Revenue: 5.245 SC

        Locked Collateral: 20.61 KS
        Risked Collateral: 131.1 SC
        Lost Collateral:   0 H

        Download Revenue:           0 H
        Potential Download Revenue: 0 H
        Upload Revenue :            0 H
        Potential Upload Revenue:   404.8 mS

RPC Stats:
        Error Calls:        9429
        Unrecognized Calls: 103
        Download Calls:     1
        Renew Calls:        14
        Revise Calls:       7039
        Settings Calls:     76306
        FormContract Calls: 2438

Storage Folders:
    Used        Capacity     % Used    Path
    4.064 GB    1.0000 TB    0.41      /mnt/sia/host-storage

I'm still seeing this on siad 1.01

Acknowledged. Do you still only have one contract? The download price will make you unattractive on the new host, but your collateral is quite high and should ~approx make up for it in the current scoring system.
I've recently added a ton of logging to the host so I can follow all the errors in the form contract calls and the revise contract calls.

I've updated my settings:
General Info:
        Estimated Competitive Price: 849.4 SC

Host Internal Settings:
        acceptingcontracts:   Yes
        maxduration:          25 Weeks
        maxdownloadbatchsize: 17.83 MB
        maxrevisebatchsize:   17.83 MB
        netaddress:           [redacted]
        windowsize:           0 Weeks

        collateral:       25 KS / TB / Month
        collateralbudget: 5 MS
        maxcollateral:    250 KS Per Contract

        mincontractprice:         1 SC
        mindownloadbandwithprice: 1 KS / TB
        minstorageprice:          400 SC / TB / Month
        minuploadbandwidthprice:  90 SC / TB

Host Financials:
        Contract Count:               5
        Transaction Fee Compensation: 0 H
        Transaction Fee Expenses:     0 H

        Storage Revenue:           0 H
        Potential Storage Revenue: 5.245 SC

        Locked Collateral: 22.77 KS
        Risked Collateral: 131.1 SC
        Lost Collateral:   0 H

        Download Revenue:           0 H
        Potential Download Revenue: 0 H
        Upload Revenue :            0 H
        Potential Upload Revenue:   404.8 mS

RPC Stats:
        Error Calls:        19554
        Unrecognized Calls: 155
        Download Calls:     1
        Renew Calls:        30
        Revise Calls:       14688
        Settings Calls:     160045
        FormContract Calls: 4903

Storage Folders:
    Used        Capacity     % Used    Path
    4.064 GB    1.0000 TB    0.41      /mnt/sia/host-storage

Is there any way for me to see on my side why I'm not getting contracts? I just left most of the price settings at their defaults. I don't know how to evaluate other hosts to determine what's a competitive price for anything except storage.

In terms of competitiveness, if you run siac host-v you'll be able to see where you fall on the chart. It's assembled randomly, but weighted according to host score. If you dig into modules/renter/hostdb/hostweight.go you can see what the equation is for scoring hosts, so you know what variables to focus on to improve your score.
Don't get too comfortable with it though, definitely still improving it. For example, there's no uptime/reliability consideration, and no Sybil attack mitigation yet. We'll need to drop both of those things in before the scoring starts getting really efficient. Not having them yet is one of the main reasons there aren't more tools for optimizing host score - they will be obsolete pretty quickly until all the base components are in place.
If you run the code in #1378, you'll get much better logging information. All FormContract calls that fail should have logged errors which pinpoint the exact part of the protocol where the failure occured. The fact that you have 4900 FormContract calls tells me that your host has a high score and is being selected often. Would be good to see what errors are preventing those calls from succeeding, though my guess is that it's something along the lines of ConsensusConflict: siacoin output does not exist, which I think is a problem on the renter's side.

Cool I'll keep an eye out for when #1378 gets merged

I installed the code that includes #1378 yesterday and I'm not seeing much in the logs:

2016/07/29 13:56:02.175760 announce.go:63: INFO: Successfully announced as [redacted]:9982
2016/08/01 10:38:27.722373 upnp.go:70: WARN: failed to discover external IP
2016/08/02 15:43:09.198886 upnp.go:70: WARN: failed to discover external IP
2016/08/03 12:16:25.955834 upnp.go:70: WARN: failed to discover external IP
2016/08/03 14:46:58.769884 upnp.go:70: WARN: failed to discover external IP
2016/08/03 23:02:39.262225 dependencies.go:115: STARTUP: Logging has started.
2016/08/03 23:02:39.477680 persist.go:181: WARN: NetAddress '' loaded from persist is invalid: missing port in address
2016/08/03 23:02:43.709998 network.go:74: ERROR: failed to forward port: no UPnP-enabled gateway found
2016/08/04 12:42:06.459114 storageobligations.go:558: Missed storage proof. Revenue would have been<PHONE_NUMBER>05677978470055936.

It seems to be having trouble with my network, but my port 9982 is open through all my firewalls.

if you don't have upnp, the upnp code is going to fail, I don't think that's the issue.
If there are formcontract calls failing, they don't seem to be in the logs you've posted above.

Ah, whoops, I didn't realize that when you rebuild a Docker image with go get ..., it caches the response on subsequent builds, so I wasn't actually running the latest code. I've rebuilt the image with --no-cache and will update when I have logs.

Okay, there we go. I'm seeing logs now. The errors look like the following:
2016/08/07 23:10:30.543188 storageobligations.go:383: Failed to add storage obligation, transaction set was not accepted: consensus conflict: transaction spends a nonexisting siacoin output
2016/08/07 23:10:30.593817 storageobligations.go:396: Error with transaction set, redacting obligation, id 3d7ab5343b8b67483a26bd954e165e5e2c0fee5f62bb69352b75c0a63c7b06fc

(repeats every 15s for ~30m)
2016/08/08 13:54:11.831661 errors.go:156: communication error: error with <IP_ADDRESS>:49528: revision iteration failed: rejected proposed modifications: unable to verify revision: rejected for high paying renter valid output

(repeats every few minutes)
Any idea what might be going wrong?

A lot of the things that have been causing this have been addressed. You will still get large numbers of FormContract calls that fail, even with the new version. But largely, this is because people using the old version are talking to your host.
There were at least 3 underlying bugs that we fixed related to the problems reported here. If problems persist, they definitely deserve their own issue.


Angular Schema Form for angular 2

Hi Admin,
When are you going to release angular schema for angular 2 version ?

Duplicate of #774


Clean cache

Hi,
Thanks for the great library. It is very useful in projects with laravel 4.2
This is more a request, not a bug.
Is it possible for you to create a public function in the Router.php to clean the cache?
Sometimes we don't change the Routes.php but if we add a method in a controller that is defined by Route::Controller it will give 404. This happens when routes are cached and it didn't had that method before.
If I had that method (could be called though the Facade like Route::cleanCache() ) I could make a command that calls it.
Thanks,
Pedro
PS. sorry about the bad english

Hi Pedro,
Thanks for the praise!
Great idea. I published version 1.0.3 that implements this. And your English is fine, don't worry about it!

Hi Maarten,
Thanks so much for this.
Cheers,
Pedro


kernel size

Dear authors,
Hello! thank you for providing the awesome codes.
I tested your demo code on the videos provided by the other work (SfV: Reinforcement Learning of Physical Skills from Videos [Peng et al. 2018]). Each video contains the human motion like jump, cartwheel, dance, and etc.
I ran your code on them but it failed to reconstruct the motion, instead got the Runtime error below..
Building the network
x: tensor([[[-5.2118e-03, -1.9778e-03,  3.7148e-02,  ...,  4.0354e-01,
7.9354e-01,  1.3558e+00],
[ 5.9371e-01,  2.1293e+00,  3.0198e+00,  ...,  1.3015e+00,
-3.0760e-03,  5.9612e-02],
[ 2.6908e+00,  2.8417e+00,  3.1971e+00,  ...,  2.9587e+00,
-8.6406e-03, -2.6097e-02],
...,
[ 2.9316e+00,  4.8310e+00,  5.9596e+00,  ...,  3.5114e+00,
6.2439e-01,  2.0394e+00],
[-1.5403e-02, -6.0191e-02, -8.2277e-02,  ..., -4.6780e-02,
-2.5275e-02, -4.6015e-02],
[-8.5922e-03, -2.5728e-03,  5.3182e-02,  ..., -2.7516e-03,
-9.3090e-03, -4.1515e-03]]], device='cuda:0') <class 'torch.Tensor'> torch.Size([1, 1024, 10])
x: tensor([[[-0.0239, -0.0236, -0.0197,  ..., -0.0534, -0.0357, -0.0212],
[-0.0038, -0.0016, -0.0057,  ..., -0.0095, -0.0091, -0.0155],
[-0.0023, -0.0016, -0.0032,  ...,  0.6250,  0.5801, -0.0042],
...,
[-0.0215, -0.0185, -0.0183,  ..., -0.0356, -0.0176, -0.0103],
[-0.0991, -0.1097, -0.0967,  ..., -0.1064, -0.0717, -0.0246],
[-0.0532, -0.0627, -0.0558,  ..., -0.0655, -0.0536, -0.0239]]],
device='cuda:0') <class 'torch.Tensor'> torch.Size([1, 1024, 8])
x: tensor([[[ 0.7402,  1.0614,  0.9979,  ..., -0.0066,  0.5572,  1.4654],
[-0.0823, -0.1001, -0.0753,  ..., -0.0456, -0.0340, -0.0150],
[-0.0556, -0.0696, -0.0560,  ..., -0.0411, -0.0323, -0.0139],
...,
[ 1.7153,  2.3598,  1.4705,  ..., -0.0079,  0.0161,  0.3899],
[-0.0161, -0.0133, -0.0115,  ..., -0.0120, -0.0171, -0.0142],
[-0.0651, -0.0784, -0.0599,  ..., -0.0418, -0.0331, -0.0132]]],
device='cuda:0') <class 'torch.Tensor'> torch.Size([1, 1024, 8])
x: tensor([[[-0.0262, -0.0155],
[ 1.2542,  0.8397],
[ 0.4866,  0.3434],
...,
[ 0.3525, -0.0054],
[-0.0251, -0.0131],
[-0.0137, -0.0037]]], device='cuda:0') <class 'torch.Tensor'> torch.Size([1, 1024, 2])
Traceback (most recent call last):
File "evaluate.py", line 144, in
main(config, args, output_folder)
File "evaluate.py", line 121, in main
export(args.input)
File "evaluate.py", line 101, in export
pre_bones, pre_rotations, pre_rotations_full, pre_pose_3d, pre_c, pre_proj = model.forward_fk(poses_2d_root, parameters)
File "/ssd_data/MotioNet/model/model.py", line 57, in forward_fk
fake_bones = self.forward_S(_input)
File "/ssd_data/MotioNet/model/model.py", line 40, in forward_S
return self.branch_S(_input)
File "/home/trif/anaconda3/envs/motionet-env/lib/python3.7/site-packages/torch/nn/modules/module.py", line 889, in _call_impl
result = self.forward(*input, **kwargs)
File "/ssd_data/MotioNet/model/model_zoo.py", line 302, in forward
x = self.drop(self.relu(layer(x)))
File "/home/trif/anaconda3/envs/motionet-env/lib/python3.7/site-packages/torch/nn/modules/module.py", line 889, in _call_impl
result = self.forward(*input, **kwargs)
File "/home/trif/anaconda3/envs/motionet-env/lib/python3.7/site-packages/torch/nn/modules/container.py", line 119, in forward
input = module(input)
File "/home/trif/anaconda3/envs/motionet-env/lib/python3.7/site-packages/torch/nn/modules/module.py", line 889, in _call_impl
result = self.forward(*input, **kwargs)
File "/home/trif/anaconda3/envs/motionet-env/lib/python3.7/site-packages/torch/nn/modules/conv.py", line 263, in forward
return self._conv_forward(input, self.weight, self.bias)
File "/home/trif/anaconda3/envs/motionet-env/lib/python3.7/site-packages/torch/nn/modules/conv.py", line 260, in _conv_forward
self.padding, self.dilation, self.groups)
RuntimeError: Calculated padded input size per channel: (2). Kernel size: (3). Kernel size can't be greater than actual input size
Do you know what is causing this error?
Thanks!

Hi @yul85 ,
What's the frame number of these video? I am considering if it's too short, so we need to use a setting with flag stage=1.
Best,
Mingyi

Hi Mingyi,
"Short" video is the problem!
Thank you for your help.


feat: add isScrollingResetDelay option to Virtualizer

Thanks for this!

Hey @piecyk
This code doesn't seem to work because isScrollingResetDelay does not get updated with the new value after the effect runs (the virtualizer still thinks it's undefined)
  // State to detect if the current browser is Safari
  const [safari, setSafari] = useState(false)

  // Effect to check if the browser is Safari upon component mount
  useEffect(() => {
    setSafari(
      typeof window !== "undefined" &&
        Boolean((window as unknown as { safari: object }).safari),
    )
  }, [])

  const virtualizer = useVirtualizer({
    count: COUNT,
    getScrollElement,
    estimateSize: useCallback((index) => sizes[index], [sizes]),
    horizontal: true,
    initialOffset: 0,
    initialRect: { width: 2500, height: 2500 },
    overscan: 3,
    isScrollingResetDelay: safari ? 1100 : undefined,
  })

This code does work but it causes the whole virtualizer to re-initialize which causes a flicker on and off.

  const virtualizer = useVirtualizer({
    count: COUNT,
    getScrollElement,
    estimateSize: useCallback((index) => sizes[index], [sizes]),
    horizontal: true,
    initialOffset: 0,
    initialRect: { width: 2500, height: 2500 },
    overscan: 3,
  })

  // Effect to check if the browser is Safari upon component mount
  useEffect(() => {
    const isSafari =
      typeof window !== "undefined" &&
      Boolean((window as unknown as { safari: object }).safari)
    if (isSafari) {
      virtualizer.setOptions({
        ...virtualizer.options,
        isScrollingResetDelay: 1000,
      })
    }
  }, [])

Do you know how I can get the virtualizer to get the correct value without re-initializing? Thanks!

Hey @piecyk
The code below doesn't seem to work because isScrollingResetDelay does not get updated with the new value after the effect runs (the virtualizer still thinks it's undefined)
  // State to detect if the current browser is Safari
  const [safari, setSafari] = useState(false)

  // Effect to check if the browser is Safari upon component mount
  useEffect(() => {
    setSafari(
      typeof window !== "undefined" &&
        Boolean((window as unknown as { safari: object }).safari),
    )
  }, [])

  const virtualizer = useVirtualizer({
    count: COUNT,
    getScrollElement,
    estimateSize: useCallback((index) => sizes[index], [sizes]),
    horizontal: true,
    initialOffset: 0,
    initialRect: { width: 2500, height: 2500 },
    overscan: 3,
    isScrollingResetDelay: safari ? 1100 : undefined,
  })

This code does work but it causes the whole virtualizer to re-initialize which causes a flicker on and off.

  const virtualizer = useVirtualizer({
    count: COUNT,
    getScrollElement,
    estimateSize: useCallback((index) => sizes[index], [sizes]),
    horizontal: true,
    initialOffset: 0,
    initialRect: { width: 2500, height: 2500 },
    overscan: 3,
  })

  // Effect to check if the browser is Safari upon component mount
  useEffect(() => {
    const isSafari =
      typeof window !== "undefined" &&
      Boolean((window as unknown as { safari: object }).safari)
    if (isSafari) {
      virtualizer.setOptions({
        ...virtualizer.options,
        isScrollingResetDelay: 1000,
      })
    }
  }, [])

Do you know how I can get the virtualizer to get the correct value without re-initializing? Thanks!

I see the issue, i think you can lift the safari up to global context as a method, then you don't really need an effect and ssr hydration should also work correctly
const isSafari = () =>
  typeof window !== 'undefined' &&
  Boolean((window as unknown as { safari: object }).safari)

const Foo () => {
  const virtualizer = useVirtualizer({
    count: COUNT,
    getScrollElement,
    estimateSize: useCallback((index) => sizes[index], [sizes]),
    horizontal: true,
    initialOffset: 0,
    initialRect: { width: 2500, height: 2500 },
    overscan: 3,
    isScrollingResetDelay: isSafari() ? 1100 : undefined,
  })
}


runtime, liblink, cmd/ld: externally linked binaries without cgo crash immediately on amd64

If you externally link a binary and runtime/cgo.a cannot be found (maybe by saying CGO_ENABLED=0 ./make.bash) you get a warning, and a binary that crashes during startup:
mwhudson@narsil:src$ ../bin/go run -ldflags -linkmode=external /opt/opensource/go-test-cases/trivial.go
# command-line-arguments
warning: unable to find runtime/cgo.a
signal: segmentation fault (core dumped)

The reason turns out to be a disagreement over the TLS offset for g.  Presumably because both g and m used to be stored in TLS, the runtime and internal linking assumes it to be 16 but as g is now the only pointer stored in TLS, binutils ld sets it to 8, causing the tls consistency check on startup to fail.
I see two ways to fix this: one would be to just change the runtime and internal linker to assume the offset is 8 bytes and the other would be use a special relocation to get the linker (either internal or external) to tell us what the symbol is.  In the latter case I don't think there would really be any need to do the magic import of runtime/cgo in an externally linked program (the comment justifying it is already a bit wrong, unless I am very confused).

The reason external linked programs require runtime/cgo is that on certain
OSes
(notably Darwin), once the system libc runs, we can no longer create
threads using
syscalls due to conflicts (bsdthread_register).

Ah, so my evil plan to delete that code completely can't work.  Shame.  Maybe we can update the comment though?

Sure.


Neural Network isn't how children learns

"We can construct a so-called artificial neural network inside a computer, and then try to teach it to solve problems by giving it examples. This process is similar to how a newborn child learns about his or her surroundings by making observations."
Uh, no. Neural networks are inspired by how neurons in our brain works internally, with A LOT of connections between different neurons, the same as layers in a neural network. But it's not how children learns. How this works with neural networks is that you give it A LOT OF DATA with specified connections and it builds an internal representation getting closer and closer to the result you expect. Also known as a model.
Children doesn't learn like that. A child learns more with smaller steps (it's called "baby steps" for a reason), by filtering out a lot of noise and focusing on single things and build up understanding of the world that way. Just like any other human learns things really. You don't learn a language by spamming data, you learn it step by step. Good luck feeding whole internet to a child and see how that goes regarding learning about things.

Okay

thank you

@Chillance can you specify which file you found the issue from?

Oh, I don't recall. I searched for it and I couldn't find it anymore. So, seems it's removed.
I also used AI to give this little summation (it's an interesting read):

Learning Style:
Neural Networks (NNs) use supervised learning where they are trained on large amounts of labeled data. They adjust internal parameters based on errors using algorithms like backpropagation to minimize those errors. Learning is often narrow and task-specific.
Children, on the other hand, learn in a more unsupervised and interactive manner. They pick up information from diverse experiences and social interactions, often with minimal guidance. They explore, imitate, and learn from feedback in a more holistic, dynamic, and self-directed way, integrating multiple sources like sight, sound, touch, and social interaction.

Generalization and Transfer Learning:
Neural Networks are typically narrow AI, meaning they are designed for specific tasks and struggle to generalize across unrelated domains without retraining or reconfiguration.
Children, however, demonstrate strong transfer learning. They can apply knowledge from one context to another without explicitly being taught how to do so, due to their cognitive flexibility. For example, a child learning language can generalize grammatical rules to new sentences they have never heard before.

Memory and Forgetting:
Neural Networks retain everything they are trained on unless specific techniques like weight pruning or memory replay are employed. They do not naturally forget or reorganize knowledge in the way humans do.
Children’s brains reorganize information, emphasizing important experiences while forgetting irrelevant ones. Their learning is more about building understanding and models of the world, rather than just memorizing data.

Embodiment and Sensory Input:
Neural Networks process data (such as images, text, or sound) in a disembodied manner, without direct interaction with the physical world.
Children’s learning is deeply embodied, meaning they learn through physical interaction with the world. They touch, manipulate, and observe objects and actions. They also engage with the world socially, which plays a huge role in cognitive development

Since I didn't find it, I close this now. :)

yeah ... it seems interesting.. thanks for sharing


Fix README.md#Dynamic Compilation

According to src/coffeeCoverage.coffee#L336 and src/helpers.coffee#L7, the item in exclude list must not begin with a slash.

... But https://github.com/benbria/coffee-coverage/blob/master/src/coffeeCoverage.coffee#L125 does it the other way.  Ugh.

Should be fixed in https://github.com/benbria/coffee-coverage/commit/b23435d149414382e5c4e3b9ea0fb0de22eebcbe.  You should now be able to use slashes or not use slashes.  Thanks for bringing this to my attention.


Ind Digital In

Can we add a request on startup to send the values of each input, as at the moment is not picking up if the panel is in fault or fire after restart / re-deployment.

probably, I'll have a look

ok, done, I'll add it to the next push

Have installed the latest update, however when starting node-red quits with the following exception:
18 Nov 16:21:00 - [red] Uncaught Exception:                                      18 Nov 16:21:00 - TypeError: Cannot call method 'getValue' of undefined              at Object.0 (/home/tf/.node-red/node_modules/node-red-contrib-tinkerforge/br icklets/IndDigital4In.js:84:23)                                                      at IPConnection.handleConnect (/home/tf/.node-red/node_modules/node-red-cont rib-tinkerforge/node_modules/tinkerforge/lib/IPConnection.js:302:70)                 at Socket.emit (events.js:117:20)                                                at Object.afterConnect [as oncomplete] (net.js:886:10)
tf@fcu-6:~/.node-red$ npm list node-red-contrib-tinkerforge                      /home/tf/.node-red                                                               └──<EMAIL_ADDRESS>

ok, I know the problem is, a small typo
Look on line 84 of /home/tf/.node-red/node_modules/node-red-contrib-tinkerforge/br
icklets/IndDigital4In.js
change node.ida4 to node.idi4
I'll do a fix, but if you can test it your end to be sure

Ok that worked on my end, however only the "true" states are working at the moment, if the input is false it does not give anything.  I think it is necessary to add it if possible.

At start up or for all changes?

Only at startup, once the state changes it works fine.

On 21 Nov 2016, at 21:59, Ben Hardill<EMAIL_ADDRESS>wrote:
At start up or for all changes?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/tyrrellsystems/node-red-contrib-tinkerforge/issues/21#issuecomment-262080876, or mute the thread https://github.com/notifications/unsubscribe-auth/AV2Y8Ea5EnmHukn48JVYnXWfVzh3zgsYks5rAhQ_gaJpZM4K2WzM.

0.0.22 published which should push false state for low pins on startup


[MUI v5] Suggestion to remove PaletteOptions & ThemeOptions override

This is a suggestion - not super sure I'm on point with this thought

What
Remove override of PaletteOptions & ThemeOptions types in @backstage/theme.
Why
The ...Options type indicate the optionality of all nested parameters. The TypeScript Guide to Customisation also highlights that for adding new variables to the palette (https://mui.com/material-ui/customization/palette/#typescript)
MUI uses those types to allow overriding certain values in the theme/palette through deep-merging the Options with the Palette/Theme (https://github.com/mui/material-ui/blob/master/packages/mui-material/src/styles/createPalette.js#L272-L313). With overwriting those types we will prevent this usage of e.g. createTheme(...) with ThemeOptions without the BackstageThemeAdditions.
On the other hand - the only usage of those PaletteOptions/ThemeOptions & createTheme/createPalette should be to create nested palettes/themes as their will always be a top level ThemeProvider. Inner ThemeProvider will then override outer ThemeProvider if they don't use a functions (https://mui.com/system/styles/advanced/#theme-nesting). So this actually could be an opportunity to avoid overrides of themes with static defaults & encourage the consumption on outer themes when creating inner themes.
Action
Removing those types now would allow a usage of the current Material UI behaviour - but without the capability of overriding Backstage Variables without passing a full theme in.
Alternatives:

Keep it as it is, making it a bit harder to create inner themes & maybe have a higher consciousness around what is overwritten
Add BackstageThemeAdditionOptions types and making all Backstage additions to the theme optional for createTheme/createPalette

:heavy_check_mark: Checklist

[ ] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[ ] All your commits have a Signed-off-by line in the message. (more info)

Is this ready for review?

back & ready for review. dropping this discussion for context as this might affect custom themes https://discord.com/channels/687207715902193673/1110599124954394694/1112474736560189540

@Rugvip @benjdlambert just some additional background, right now I'm a bit stuck getting the Demo site's aperture theme working with the various 1.15.0-next releases. We, well @tudi2d who has a better handle on this, think this might be the solution though. I'm really hoping to be able to use the demo site as an example for people to look at that are trying to upgrade to MUI v5 so getting it working would be really great!


fails when solution contains .sqlproj

Hi,
Thanks for the great package!
I recently tried to automate nuget updates to a solution that contains a database project. This fails with the standard
Analyzing project(s)...Unable to process the project `D:\a\1\s\Project.sln. Are you sure this is a valid .NET Core or .NET Standard project type?

Here is the full error message returned from the Microsoft Build Engine:

Microsoft (R) Build Engine version 17.2.0+41abc5629 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

D:\a\1\s\src\Infrastructure\SeSuDB\SeSuDB.sqlproj(58,3): error MSB4019: The imported project "C:\Program Files\dotnet\sdk\6.0.302\Microsoft\VisualStudio\v11.0\SSDT\Microsoft.Data.Tools.Schema.SqlTasks.targets" was not found. Confirm that the expression in the Import declaration "C:\Program Files\dotnet\sdk\6.0.302\\Microsoft\VisualStudio\v11.0\SSDT\Microsoft.Data.Tools.Schema.SqlTasks.targets" is correct, and that the file exists on disk.
 -  - exit code: 1

More information on the issue:
https://github.com/dotnet/sdk/issues/10441
https://github.com/dotnet/sdk/issues/16587
Possible solution:
Allow us to give -configuration "Release" as parameter for the restore/build commands. Then we could ignore the project from Release config builds which I think would be enough

A workaround:
https://github.com/dotnet/sdk/issues/10441#issuecomment-584684450

@nyiroe funny enough - I just got this working (by accident) using that. Seems I didn't test it thoroughly enough before creating the issue. Closing 👌


Fixed extra question mark from being added to initial load of a network link

This usually worked except for certain servers with it configured to return a 404 if a ? was added to the url. Not exactly sure how to test this without depending on outside servers.

You can spy on loadXhr and make sure it is called with the correct url.  You can also use a fake to have it return whatever data you need to trigger network links to begin with.

@mramato I added a bunch of query string related tests. This should be good to go.

Update CHANGES

Just those 2 comments then this is good to go.  Thanks @tfili

@mramato Updated.


Information is repeated two times in the last part of the document.

[Enter feedback here]

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

ID: ed89413a-e385-a12a-a32b-43d8cbd990d4
Version Independent ID: a0c4c5c0-9a12-c20a-68c0-3a694e5d2521
Content: Form processing overview
Content Source: microsoft-365/contentunderstanding/form-processing-overview.md
Product: microsoft-365-enterprise
GitHub Login: @efrene
Microsoft Alias: efrene

@emmanhaider Thank you for your feedback. The repeated information has been removed from the document.
@yogkumgit The issue can be closed as this was merged via Commit #https://github.com/MicrosoftDocs/microsoft-365-docs/commit/66d4647c408867db85f905a59aab1ed43909059d
Thanks
Sri

@msbemba Thank you very much for the contribution and sharing this explanation. @emmanhaider Hope this comment is helpful for you. If you see a documentation update is required, please feel free to open an issue for the same. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Synchronize all permissions from latest OpenSearch

Description
We've noticed there are some permissions in OpenSearch that are not included in the UX dropdown of the security-dashboards-plugin
Issues Resolved

Related https://github.com/opensearch-project/security/issues/1461
Related https://github.com/opensearch-project/security-dashboards-plugin/pull/1323

Check List

[ ] New functionality includes testing
[ ] New functionality has been documented
[X] Commits are signed per the DCO using --signoff

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.

Codecov Report

Merging #1333 (a060a37) into main (a039441) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##             main    #1333   +/-   ##
=======================================
  Coverage   71.78%   71.78%
=======================================
  Files          88       88
  Lines        2027     2027
  Branches      274      274
=======================================
  Hits         1455     1455
  Misses        509      509
  Partials       63       63

Impacted Files
Coverage Δ

public/apps/configuration/constants.tsx
85.71% <ø> (ø)

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

The documentation site for permissions should also be updated for this change so that all of these actions are reflected on the documentation website: https://opensearch.org/docs/latest/security/access-control/permissions/
I will follow-up with a PR to the documentation website.


Fix/storage init test

Description of the Change
Fixes the storage init test, which fails when environment variables for pg options are not set
Benefits
No tests are falling anymore
Possible Drawbacks
NOne

Also, pls, fix DCO and pass CI.


go build -mod=vendor ./cmd/wire doesn't work after update to 0.6.0

You can use go bug to have a cool, automatically filled out bug template, or
fill out the template below.
Describe the bug
go build -mod=vendor ./cmd/wire doesn't work after update to 0.6.0
To Reproduce
go mod vendor
go build -mod=vendor ./cmd/wire

# golang.org/x/tools/internal/event/keys
vendor/golang.org/x/tools/internal/event/keys/util.go:14:11: type parameter requires go1.18 or later (-lang was set to go1.16; check go.mod)
vendor/golang.org/x/tools/internal/event/keys/util.go:14:13: embedding interface element ~[]T requires go1.18 or later (-lang was set to go1.16; check go.mod)
vendor/golang.org/x/tools/internal/event/keys/util.go:14:21: embedding interface element ~string requires go1.18 or later (-lang was set to go1.16; check go.mod)
vendor/golang.org/x/tools/internal/event/keys/util.go:15:32: invalid argument: s (variable of type S constrained by ~[]T) for len
vendor/golang.org/x/tools/internal/event/keys/util.go:16:20: cannot range over s (variable of type S constrained by ~[]T): no core type
# golang.org/x/tools/internal/versions
vendor/golang.org/x/tools/internal/versions/types.go:15:16: predeclared any requires go1.18 or later (-lang was set to go1.16; check go.mod)

Expected behavior
I'm expecting successful build.
Version
0.6.0
Additional context
The fix would be bump go version in go.mod from 1.12 to 1.18.

@vangent @zombiezen @shantuo wanted to make sure this is visible. We have this problem as well


Add Chrome location detection on FreeBSD

The commit contains a change that allows running prerender on FreeBSD without providing Chrome location. The chromium port and package install the binary in the specified path.

I know bumping is usually frowned upon but this is a very trivial change that's been on hold for a good two and a half years already.


Fix typos

While getting acquainted with the CLI application, I found a typo in the description of one of the switches.  To avoid creating a single-character pull request, I thought I'd follow up with a quick repository-wide review.  I'm pretty sure I haven't caught everything, but hopefully it's good enough for a 15-minute aspell session.
While we're at it, I found a minor mistake in the docs while skimming through the Meet your sigchain page:

Your other devices will resume checking the their identity proofs and presenting them to you whenever you interact with them.

This looks great, thanks!

Thank you!


Json schema support

Linked issue
Resolves: #2284
What kind of change does this PR introduce?

[ ] Bug fix
[ X] New feature
[ ] Refactor
[ ] Docs update
[ ] CI update

What is the current behavior?
Describe the state of the application before this PR. Illustrations appreciated (videos, gifs, screenshots).
Currently it is not possible to upload json schemas in Klaw
What is the new behavior?
Describe the state of the application after this PR. Illustrations appreciated (videos, gifs, screenshots).
With this feature, JSON schemas are supported. However, for PROTOBUF support, we need another minor change in future.
Other information
Additional changes, explanations of the approach taken, unresolved issues, necessary follow ups, etc.
Requirements (all must be checked before review)

[ ] The pull request title follows our guidelines
[ ] Tests for the changes have been added (if relevant)
[ ] The latest changes from the main branch have been pulled
[ ] pnpm lint has been run successfully

There is an issue getting the schema returned in the topic overview in both angular and coral.
java.lang.ClassCastException: class io.aiven.klaw.model.enums.SchemaType cannot be cast to class java.lang.String (io.aiven.klaw.model.enums.SchemaType is in unnamed module of loader org.springframework.boot.loader.launch.LaunchedClassLoader @28a418fc; java.lang.String is in module java.base of loader 'bootstrap')
at io.aiven.klaw.service.SchemaOverviewService.updateAvroSchema(SchemaOverviewService.java:155) ~[!/:2.8.0]
at io.aiven.klaw.service.SchemaOverviewService.getSchemaOfTopic(SchemaOverviewService.java:50) ~[!/:2.8.0]

There is an issue getting the schema returned in the topic overview in both angular and coral.
java.lang.ClassCastException: class io.aiven.klaw.model.enums.SchemaType cannot be cast to class java.lang.String (io.aiven.klaw.model.enums.SchemaType is in unnamed module of loader org.springframework.boot.loader.launch.LaunchedClassLoader @28a418fc; java.lang.String is in module java.base of loader 'bootstrap') at io.aiven.klaw.service.SchemaOverviewService.updateAvroSchema(SchemaOverviewService.java:155) ~[!/:2.8.0] at io.aiven.klaw.service.SchemaOverviewService.getSchemaOfTopic(SchemaOverviewService.java:50) ~[!/:2.8.0]

This should be fixed in the last commit


fix(renderer): fix Neotree focus/show toggle behaviour

Fixes bug introduced by https://github.com/nvim-neo-tree/neo-tree.nvim/pull/1280.

testes green 🟢  😅


Drain the Rust client when its last copy in Python is dropped.

If the Python application wants to exit (or the client just gets garbage collected), we want to finish sending any batched requests before proceeding with the GC or app shutdown.
Normally, Python will make sure to shut down any Python-side threads before allowing the program to exit. But it's completely unaware of Rust's own threads, so it can't shut them down or wait for them. This is why we need to explicitly make sure they complete their work and shut down on their own. The Drop trait in Rust runs when the value is dropped, and we ensure we shut down the background threads only when we're certain the only Arc copy of the Rust client is the one we're holding (and which is about to go out of scope).

In an ideal world, we'd rework the langsmith-tracing-client::client::blocking::TracingClient to take care of its own draining when it's getting dropped.
But that felt like a much bigger piece of work that will have to touch a lot more code. This PR will fix the immediate problem to get Rust-in-Python unblocked, while we work on a cleaner long-term fix.


PSA (and PNA): what types are valid for the hash extern object type params

Maybe this is just me being pedantic here but the two arch spec does not go into any details about this extern at all.
(PNA spec not even have a section about it either).
For an example is it valid to have:
struct hashreturn
{
  int<32> t;
  int<54> tt;
}

Hash<hashreturn>(TARGET_DEFAULT) h;

Or we leaving this to the target to define what is allowed or not? It seems like we should have at least a note about leaving it up to each target of what is allowed or not here. Even worse is allowing a header stack of a header union here even valid?
(as an aside, I didn't see any backend in p4c testing if that type is valid or not for that target).

Pedantic folk are in very good company among implementers of P4 tools :-)
The P4 implementations I am most familiar with allow at least all the 'bit-vector-ish' types, i.e. bit<W>, int<W>, bit, serializable enums with one of those types as the underlying type (which I think are the only underlying types allowed by the language spec, IIRC), or list expressions where all of the elements of the list are one of those types.
I would not be surprised if some implementations support passing an expression with a header or struct type, too, but I have not checked whether BMv2 or DPDK support those any time recently, and do not recall off hand.

I should add that IF an implementation supports an expression with a header type as an input to a hash function, I would GUESS that they probably behave as follows, but this would require confirmation with any particular P4 implementation that allows it, and documenting additional details like this in the PSA specification seems reasonable to me.

If the header is valid, then the hash function hashes the values of all fields of the header, but ignores the "valid bit"
If the header is invalid, then the hash function does exactly the same thing, although according the language spec reading any field of an invalid header results in an unspecified value, thus the hash function output would be unpredictable without knowing more about the particular P4 implementation's behavior.

Good guidance exists in https://github.com/p4lang/p4c/blob/main/p4include/v1model.p4#L429


rhvoice: init at 2017-09-24

Motivation for this change
RHVoice is one of the best speech synthesis engines I 've heard, including commercial ones.
It can be tested with echo "Talk to me" | RHVoice-test.
Things done

[x] Win the battle against scons to gain power over the environment.

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)

Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"

[x] Tested execution of all binary files (usually in ./result/bin/)

[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg eval
(sorry for the noise, master was broken by a merge)

@GrahamcOfBorg eval

I remain unconvinced that rhvoice should be part of the speechd expression.

I remain unconvinced that rhvoice should be part of the speechd expression.

We can separate the PR to 2: adding rhvoice (no objection here?) and integration with speechd (awaiting for more feedback; I do not need the integration too although have nothing against it)

Failure on x86_64-linux (full log)
Attempted: rhvoice
Partial log (click to expand)
src/include/core/xml.hpp: In instantiation of 'void RHVoice::xml::parser<ch>::parse(const input_iterator&, const input_iterator&, RHVoice::document&) [with input_iterator = const wchar_t*; ch = wchar_t]':
src/include/core/document.hpp:575:5:   required from 'static std::auto_ptr<RHVoice::document> RHVoice::document::create_from_ssml(const RHVoice::smart_ptr<RHVoice::engine>&, const input_iterator&, const input_iterator&, const RHVoice::voice_profile&) [with input_iterator = const wchar_t*]'
src/lib/lib.cpp:221:41:   required from 'RHVoice_message_struct::RHVoice_message_struct(const RHVoice::smart_ptr<RHVoice::engine>&, const RHVoice_callbacks&, const ch*, unsigned int, RHVoice_message_type, const RHVoice_synth_params*, void*) [with ch = wchar_t]'
src/lib/lib.cpp:117:13:   required from 'RHVoice_message_struct* RHVoice_tts_engine_struct::new_message(const ch*, unsigned int, RHVoice_message_type, const RHVoice_synth_params*, void*) const [with ch = wchar_t; RHVoice_message = RHVoice_message_struct*]'
src/lib/lib.cpp:332:98:   required from here
src/include/core/xml.hpp:361:20: error: invalid operands of types '<unresolved overloaded function type>' and 'const int' to binary 'operator<'
scons: *** [build/linux/lib/lib.os] Error 1
scons: building terminated because of errors.
builder for '/nix/store/wnhdrym0srydif48khszhxllja1ri5p5-rhvoice-0.5.drv' failed with exit code 2
error: build of '/nix/store/wnhdrym0srydif48khszhxllja1ri5p5-rhvoice-0.5.drv' failed

Failure on aarch64-linux (full log)
Attempted: rhvoice
Partial log (click to expand)
src/include/core/xml.hpp: In instantiation of 'void RHVoice::xml::parser<ch>::parse(const input_iterator&, const input_iterator&, RHVoice::document&) [with input_iterator = const wchar_t*; ch = wchar_t]':
src/include/core/document.hpp:575:5:   required from 'static std::auto_ptr<RHVoice::document> RHVoice::document::create_from_ssml(const RHVoice::smart_ptr<RHVoice::engine>&, const input_iterator&, const input_iterator&, const RHVoice::voice_profile&) [with input_iterator = const wchar_t*]'
src/lib/lib.cpp:221:41:   required from 'RHVoice_message_struct::RHVoice_message_struct(const RHVoice::smart_ptr<RHVoice::engine>&, const RHVoice_callbacks&, const ch*, unsigned int, RHVoice_message_type, const RHVoice_synth_params*, void*) [with ch = wchar_t]'
src/lib/lib.cpp:117:13:   required from 'RHVoice_message_struct* RHVoice_tts_engine_struct::new_message(const ch*, unsigned int, RHVoice_message_type, const RHVoice_synth_params*, void*) const [with ch = wchar_t; RHVoice_message = RHVoice_message_struct*]'
src/lib/lib.cpp:332:98:   required from here
src/include/core/xml.hpp:361:20: error: invalid operands of types '<unresolved overloaded function type>' and 'const int' to binary 'operator<'
scons: *** [build/linux/lib/lib.os] Error 1
scons: building terminated because of errors.
builder for '/nix/store/7fwigv7w55708vq8hszz7znfgvjhiidn-rhvoice-0.5.drv' failed with exit code 2
error: build of '/nix/store/7fwigv7w55708vq8hszz7znfgvjhiidn-rhvoice-0.5.drv' failed

Right, I am fine with rhvoice as is, but third-party speech modules should be enabled through NixOS module.

I updated 0.5 to current git (0.5 is from 2014) and remove speechd integration:
https://github.com/berce/nixpkgs/pull/1
https://github.com/NixOS/nixpkgs/compare/master...volth:upstream-rhvoice2

Merged the updated rhvoice as https://github.com/NixOS/nixpkgs/commit/f97c4668abb630875318f057d452f8ebfe52f8e2

@jtojnar should we close this since #37370 is merged?
A speechd module for rhvoice will probably go through a new PR anyway


Fix security checker for Travis and update simplesamlphp

This PR addresses the following issues:

(Temporarily) fix security checker for Travis
The SensioLabs security checker has switched to Lets Encrypt, which has broken some things.
Most issues have been fixed, but Travis still needs to offer ssl capabilities to PHP.
See: sensiolabs/security-checker#73, travis-ci/travis-ci#6339, sensiolabs/security-checker#77

Update simplesamlphp
his regards SSPSA 201703-01 and SSPSA 201703-02, see https://github.com/simplesamlphp/simplesamlphp/releases/tag/v1.14.12.

@nicwortel Is it OK now? I like the color green more than the color red.


fix(jest-haste-map): Add computeDependencies to cache path

Summary
#6667 added the computeDependencies option, which affects the contents of the Haste map, but doesn't change the cache path. If two jest-haste-map instances are created with identical options except for computeDependencies, the one with computeDependencies: true could end up attempting to reuse cached data where the dependencies are missing.
Here we add the value of computeDependencies to the cache path.
Test plan
Added a unit test.

Codecov Report

Merging #11916 (ec6c7db) into main (ba55fe7) will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main   #11916      +/-   ##
==========================================
+ Coverage   68.74%   68.76%   +0.01%
==========================================
  Files         322      322
  Lines       16591    16591
  Branches     4787     4787
==========================================
+ Hits        11406    11408       +2
+ Misses       5152     5151       -1
+ Partials       33       32       -1

Impacted Files
Coverage Δ

packages/jest-haste-map/src/index.ts
88.42% <ø> (+0.49%)
:arrow_up:

Continue to review full report at Codecov.

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

@motiz88 is this something you need a release of now, or is it fine to wait until whenever I make another release?

@SimenB No rush - this has no significant effect on Metro in open source, and internally we're currently using a fork that adds hooks for some other FB-internal systems. I'll keep sending PRs for stuff we can upstream. Thanks for the speedy review!

Cool, thanks!


Command Not Found (Extension Unusable)

Describe the bug
Trying to run any command (display/watch), either from command pallet or shortcuts, results in an error: command 'extension.x' not found. Where x can either be displayCoverage, watchCoverageAndVisibleEditors, etc...
To Reproduce
Steps to reproduce the behaviour:

Fresh install of Coverage Gutters
Run py.test foobar --cov-report xml:cov.xml --cov foobar (to generate the report)
Try enabling coverage via shortcuts or command pallet

Expected behaviour
I expect it to work.
Desktop (please complete the following information):

OS: Linux (Arch), Kernel 5.5
Extension Version: 2.4.2
VSCode Version: 1.41.1

Other Info

Downgrading to 2.4.1 stopped Code from complaining about command xxx not found - However the coverage was still not showing.
Downgrading even further to 2.4.0, everything seemingly works (I have not had too much hands on time with it yet).

@buckeyez Thanks for submitting an issue!
I am having trouble reproducing this locally... I also use arch linux and have vscode 1.42.1 installed locally and cannot get the same error to occur. Can you link an output of the gutters extension log so we can see if the extension is starting? I have attached a gif showing what some of the output should look like.

You could also try uninstalling the extension and installing manually via the vsix in the github releases
https://code.visualstudio.com/docs/editor/extension-gallery#_install-from-a-vsix

@buckeyez going to close this issue but more then willing to open again if the above didn't help


Convert issue templates to Issue Forms (beta)

This is to convert our current issue templates from markdown to issue forms that is currently in beta.
These exists on a public repository so you can can visually see and interact with them: wsmelton/testing-issue-templates
A sampling has been created as well: wsmelton/testing-issue-templates/issues.
A few bugs in it as beta
I have found that even though adding a "header" in the form will display it, it does not persist to the issue once the user submits it. I have filled feedback on that along with checkboxes even on the forms still end up showing the "tasks done" visualization under the title of the issue (😞).
Feedback on the PR
Recommend or suggest adjustments and I will add them on the public repo so you can see the change prior to updating the PR.
Details
The main features in forms is the ability to use drop-downs and checkboxes. Drop-down allows to provide a list of selections:

We can have "comments" on the template more clearly added and that content not misunderstood by users:

Content requested can be required, where the submitter has to be some text in the text area or select an option from a drop-down:

You can also pre-populate a text area with content example as well:

I think this is beautiful 😍

@jpomfret - if you're around, whatcha think? I'm ready when someone else is.

lez do this


SUN-5K-SG03LP1-EU support

Hi Hope you can help, I'm getting some data from the current version, but I'm looking to also pull the Battery Charge, Discharge and current capacity. I'm open to trying to read the Modbus address but can't figure out where to start.
Hardware (please complete the following information):

Inverter model: SUN-5K-SG03LP1-EU

Software (please complete the following information):

Logger firmware version:LSW3_15_FFFF_1.0.92R
deye-inverter-mqtt version:2023.5.2
config.env (remove passwords before pasting):

DEYE_LOGGER_IP_ADDRESS=<IP_ADDRESS>
DEYE_LOGGER_PORT=8899
DEYE_LOGGER_SERIAL_NUMBER=2730158931
MQTT_HOST=<IP_ADDRESS>
MQTT_PORT=1883
MQTT_USERNAME=
MQTT_PASSWORD=
MQTT_TOPIC_PREFIX=deye
LOG_LEVEL=DEBUG
DEYE_DATA_READ_INTERVAL=60
DEYE_METRIC_GROUPS=string

You need to change DEYE_METRIC_GROUPS=string to DEYE_METRIC_GROUPS=deye_sg04lp3,deye_sg04lp3_battery to read the correct values including the battery

@Jim5975 Please follow the suggestion from @edvandreas
Please let me know if it works this way, so I can update the documentation

@Jim5975 Meanwhile I've added a new deye_hybrid metrics group. It might work with your inverter.


Fix tabs not working on the same page if using same key

Fixes that tabs are not switching correctly if multiple same keys on the same page.
Fixed by adding a titles option, where you can enter the displayed name of the tabs. Keys should still be unique for each Tab-Layout.

Then we don't need the second argument and the title method?

Hi @GuavaCZ, what do you think if we just do independent tabs.
Then we don't need the second argument and the title method?

Seems like a good idea, too. Do you mean something like multiple Layout::tab elements inside one parent Layout::tabs?


The command should not be displayed and completed without authorization and time limit

What feature would you like to request?
The command should not be displayed and completed without authorization and time limit
Are you able to help implement the feature?
unable
Is your feature request related to an existing bug or issue?
It seems that there is no
Please enter any additional comments below.

I don't want TPA functionality. Confirm that permissions have been disabled in Luckperms, but they will still be displayed here and support completion

Hi @x1aoren, just to confirm are users able to enter the command and have it run without permissions? Thank you.
As a temporary workaround, you can disable the command in config.yml [wiki] I've provided an example below. This will prevent the command from being processed but it will still display as being available. I'll get the bug fixed ASAP.
Displaying of commands in the autocomplete list as you've shown in the screenshot is a more difficult one, as that's a server software thing. I'll see if I can sort that out too though!
disabled-commands:
  - tpa
  - tpahere
  - tpaccept
  - tpdeny
  - tpcancel

Do you users have the essence.teleport.* permission? That will enable the request commands as well.

I understand now, looking forward to updates

Glad to hear it! Did this fix your issue?

This doesn't seem to be very useful.

Okay, I'll investigate further. Can you send me a list of all the permissions the players have? Thanks

Thanks!

Hi, I'm unable to recreate the issue on 1.6.0 on my end, please check the following:

User is not "op", this will allow them to run the command as "op" players can run everything.
Please send a list of plugins or datapacks you're running.
Please send your Essence versions
Please send your Minecraft server software version.

Confirm that the user is not an "OP"

"[S][禁用不安全服务器]AntiPopup-8.1": https://modrinth.com/plugin/antipopup
3.The version is 1.6.0
4.Luminol 1.20.6.
Official website: https://luminolmc.com/downloads/luminol
Download address: https://github.com/LuminolMC . Luminol is a branch of Folia, which fixed the damage of paper to the original features of MC. But currently 1.20.6 is a beta version, I don't know if this is the reason
5.If you want to reload all the configurations on the server, using/reload on this server will result in an error. So I usually use PlugmanX to hot load or uninstall plugins, or simply restart the server. At present, I have used all the above solutions and have not used them.

Thanks! I won't have time to look at this fully and get back to you today, but I'll start looking now and get back to you tomorrow. Thanks!

So sorry for the delay, having a look now!

Hi @x1aoren, I've not been able to reproduce the issue on my end, but I've also been unable to get LuckPerms to load as my Luminol is telling me it doesn't support Folia, are you using a fork of LuckPerms that enables folia support?

I downloaded it from a certain link here. The version is a bit old, but it can be used.https://github.com/LuckPerms/LuckPerms/pull/3615

[L][权限组]LuckPerms-Bukkit-5.4.117.zip

Thanks for that, I'm still unable to reproduce the bug on my end, so I'm not entirely sure what is going on with it. Are you still being affected by the issue?

Does the issue produce anything in the logs that may be useful? Thank you :)

Yes, this problem still exists. No logs

Please can you try this snapshot version https://github.com/LewMC/Essence/actions/runs/9852301534 and let me know if the issue is still there. A very small number of commands will still have the problem as I'm still working on the update.

I'm glad it's resolved!

Glad that's sorted it! Upcoming snapshot builds should fix the problem further, and the next update will fully resolve the problem.