Cheatsheet: no Wire() declaration?

It was suggested I file issues about the cheatsheet here.
Chisel Wire Operators
val x = UInt() Allocate a as wire of type UInt()

First there is a typo, x and a don't match.
Second, don't you have to say
val x = Wire(UInt())

This is, quite frankly, the thing that screwed me up the most when first writing chisel. Is this no longer true?

You are correct, UInt() is only a type declaration, not a wire.

Similarly in the section about Bundles & vecs, it has examples like:
val my_bundle = new MyBundle()

Should that example also be
val my_bundle = Wire(new MyBundle())

I guess it depends on the context (is it inside a Bundle or not)?

Strongly second this - someone knowledgeable should take the time and make sure the cheat sheet is right here.
The mandated use of Wire() and friends was the most confusing thing about Chisel3 for me as well, and the bugs that result if you get it wrong can be extremely unintuitive.

Ok I just realized that this is also not really even shown on the Wiki, I couldn't find any examples of Wire() on the Wiki except this one:  https://github.com/ucb-bar/chisel3/wiki/Bundles and Vecs, and actually the first example seems to also be lacking the Wire() wrap around val x = new myFloat.
I think you need to add something to the "Basic Users Guide to Chisel-> DataTypes" when defining all the datatypes about how to actually assign them to something.
This came up because I realized I was (still) lacking a basic understanding of something. Let's say I have a boolean that I'm going to reassign later.
val foo = Wire(Bool())
foo := true.B
when (complicatedStuff) {
 foo : false.B
}

Pretty sure the above is good. But is the below legal/equivalent, or is the inside of the Wire(...) only for figuring out the type?
val foo = Wire(true.B)
when (complicatedStuff) {
 foo : false.B
}

Finally, pretty sure the below is NOT allowed (no Wire()), but again checking my assumptions because I don't see the examples of this:
val foo = true.B
when (complicatedStuff) {
 foo : false.B
}

Chisel has types (UInt), data values (1.U), and hardware (Reg(UInt)). The
only things that can be connected are hardware and data values. Raw types,
by themselves, don't have a concrete hardware implementation, and therefore
can't participate (directly) in hardware connections. Their sole purpose is
to define the interpretation of signals that do have a concrete hardware
implementation.
If I want to define a place-holder that will participate in hardware
connections, and all I know about it is the type of signals that will
eventually participate in the connections, I define a Wire() with that
specific raw type.
I don't need to wrap literals (0.U or false.B) in a Wire() since these are
data values, and have a concrete hardware implementation.
On Fri, Feb 24, 2017 at 1:59 PM, Megan Wachs<EMAIL_ADDRESS>wrote:

Ok I just realized that this is also not really even shown on the Wiki, I
couldn't find any examples of Wire() on the Wiki except this one:
https://github.com/ucb-bar/chisel3/wiki/Bundles and Vecs, and
actually the first example seems to also be lacking the Wire() wrap around val
x = new myFloat.
I think you need to add something to the "Basic Users Guide to Chisel->
DataTypes" when defining all the datatypes about how to actually assign
them to something.
This came up because I realized I was (still) lacking a basic
understanding of something. Let's say I have a boolean that I'm going to
reassign later.
val foo = Wire(Bool())
foo := true.B
when (complicatedStuff) {
foo : false.B
}
Pretty sure the above is good. But is the below legal/equivalent, or is
the inside of the Wire(...) only for figuring out the type?
val foo = Wire(true.B)
when (complicatedStuff) {
foo : false.B
}
Finally, pretty sure the below is NOT allowed (no Wire()), but again
checking my assumptions because I don't see the examples of this:
val foo = true.B
when (complicatedStuff) {
foo : false.B
}
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ucb-bar/chisel3/issues/488#issuecomment-282416972,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGh1wBIdb80nJRXUZG8w6Jmz8rOVKc5sks5rf1KwgaJpZM4L48c4
.

@mwachs5 The first arg to the Wire constructor is a type, not a value, so Wire(true.B) will not do what you hope.  It means, "declare a Wire that has the same type as true.B", i.e., it is equivalent to writing Wire(Bool()).  So the second example should use Wire(init=true.B) instead.
I believe some of this is will change prior to 3.0 release, so someone familiar with the new API (probably @jackkoenig or @ducky64) will have to audit these examples.

Ok, I was digging into the code and did realize there was an init= which somehow I had not realized until now. So the best for me would be to do:
val foo = Wire(init = true.B)
when (complicatedStuff) {
 foo := false.B
}

Is there a plan to move Wire (init = ...) to WireInit similar to #455?

@ucbjrl thanks for that explanation, this is something that I have figured out through confusing compile errors/behavior and have struggled to explain to new Chisel learners as well. It should really be in the Wiki with examples, as there is no such clear explanation , and there are many places as discussed on this issue where it is not correctly shown, which leads to confusion.

The working plan is to make writing Wire(true.B) illegal but still allow users to create values like Wires from the types of other values by some explicit cast.

Seems a bit inconsistent to forbid Wire(true.B) but still allow Wire(14.U)?

Wires of any bound ("synthesizable") types will be illegal, though you can "cast" a bound type to a data type (example, Wire(14.U.getType()) would be legal, but nonsensical)
The init constructor is a different story though.

Do you mean you plan WireInit(true.B)?

Yeah, probably something like that. We haven't gotten around to formally discussing Wire refactor semantics though.

Wire and Reg should be symmetric, and so our discussions Wednesday about Reg should apply to Wire.

https://github.com/ucb-bar/chisel3/wiki/Combinational-Circuits#wires

The example is nice, but I think you should show a more useful example.
The place I find myself using this a lot is something like:
val valReg = RegInit (new ValFieldsBundle().fromBits(0.U))
val valNext = Wire(init = valReg)
valReg := valNext

...
when (someCondition) {
  valNext.fieldA = true.B
}

what I mean is, the point of declaring a Wire is that you are going to use it on the RHS of some equation, then perhaps later assign it to a different value and you expect that RHS to get the 'later' value. This isn't really clear from the example.

https://chisel.eecs.berkeley.edu/doc/chisel-cheatsheet3.pdf

Resolved (at least for the moment) by ucb-bar/chisel-doc#12.


Tailored UI:  Sign In/ Log in.

[ ] The user will arrive at the Landing Page and press the CTA "Get Started"

The user will be redirected to the Log in flow.
https://www.figma.com/design/fO2IMDgKqgwO9kqlfmDN1s/Tailored?node-id=1128-1902&t=OeF3HUl7zxUoc4J5-4

From the Log in Flow the user can go to Sign in flow.
https://www.figma.com/design/fO2IMDgKqgwO9kqlfmDN1s/Tailored?node-id=1226-5064&t=OeF3HUl7zxUoc4J5-4

In both cases (Log in or Sign In) the user will confirm their Email with Magic Link.

@taariq Thank you, fixed.

Completed.


Fine-tune the number of rows needed for preview resources

Choose a good number of rows for previewing the data (based on our current core datasets).

@anuveyatsu Can you decide on this?

@zelima I think 1k is pretty enough. Do you ever scroll a table with 1k rows to the end? I think even 100 would be OK, but let's do 1k for now and it should improve loading speed of some large datasets.

Hm... this makes me think about how we are going to deal with sorting data that is time sensitive. Eg: for Finance Vix, that is updated daily, we need last 1000 rows (or maybe first for other datasets), to display the latest data

FIXED. As discussed in person we reduced it till 200. Followup showing first/last part of dataset here #39

This is back to 10,000 now, as suggested by @rufuspollock


Set build env identifier from one env variable instead of two.

Use one environment variable to identify build environment instead of two.

Hi,
Can we get this merged? I really need the builds to stop failing on CI.
Saad


Type filter in the EA Referral report screen

Question:
Where would I get this type names

duplicate of 405, card not needed


Add postTransaction and postTransTo5Addrs into latency benchmarks

Issue Number
somewhat related to ADP-500 (https://github.com/input-output-hk/cardano-wallet/pull/2370)
Overview

bdcc3f6350211feb4db636c20670e38ed1f40560
Add postTransaction and postTransTo5Addrs into latency benchmarks

Comments
I've triggered NB on this branch -> https://buildkite.com/input-output-hk/cardano-wallet-nightly/builds/776
Locally, seems to be ok. :point_down:
     Latencies for 2 fixture wallets scenario
        listWallets         - 0.7 ms
        getWallet           - 0.3 ms
        getUTxOsStatistics  - 0.3 ms
        listAddresses       - 0.9 ms
        listTransactions    - 1.9 ms
        postTransactionFee  - 3.3 ms
        postTransaction     - 138.4 ms
        postTransTo5Addrs   - 793.9 ms
        listStakePools      - 2.0 ms
        getNetworkInfo      - 0.1 ms
    Latencies for 10 fixture wallets scenario
        listWallets         - 3.2 ms
        getWallet           - 0.5 ms
        getUTxOsStatistics  - 0.3 ms
        listAddresses       - 1.0 ms
        listTransactions    - 2.0 ms
        postTransactionFee  - 3.4 ms
        postTransaction     - 140.8 ms
        postTransTo5Addrs   - 806.1 ms
        listStakePools      - 1.9 ms
        getNetworkInfo      - 0.1 ms

That seems utterly long.

That seems utterly long.

Unfortunately we don't have historical results to compare. But let's better track it from now on.

bors r+


Implement and evaluate Pico<->Pico performance over QSPI

Since the Pico isn't an FPGA, it will be hard to latch data on a rising/falling edge of a clock, so we probably can't run it at system clock on the receiving side.
Investigate the limitations around this and what bandwidth we can reach using 4 data pins and 1 clock.

Relates to #5

Could also try DDR, there's nothing really stopping us from that. But we're limited to at most sys_clk/2 anyway I suppose. We probably need to go down to sys_clk/4 in order to have some margin.

Might want to investigate if the SSI peripheral can be used for this.
If going the route where one flash chip is connected to two RP2040s, the both chips will already be connected without sacrificing any pins (might need one CS pin though).

Seems problematic. See branch https://github.com/kbeckmann/PicoCart64/tree/ssi-experiments
Implementing a SSI/QSPI slave device seems to not be possible due to missing pin muxing.
ss_in_n is hard-tied high, but it's needed for: slave select input to the DW_apb_ssi slave. My understanding is that this means that we cannot implement the slave mode with the IP block.
What we should be able to do is to bitbang a slave device. Initial tests show that the SCLK pin can't be properly sampled for some reason. Output bit banging in a tight loop caps out at around 36ns if we toggle the pin in a tight loop. Not ideal.
Conclusion so far: Might be better of with a custom SPI implementation with PIO.

Conclusion: Going for PIO+SPI for pico-pico communication. PIO in order to save one pin (combining mosi and miso).


Just Thank You

save my time.
Thank you very.....much

Thanks for using this library.
If you enjoy using this library, you can buy me a cup of coffee :)

https://www.buymeacoffee.com/donaldcwl


Nested Views are being re-rendered for each level of sub-nesting

The problem we're experiencing is hard to describe, but I'll try. For each nested level of views, render is getting called.
views: {
  '#id1': new Views.View1({
    '#id11': new Views.View11({
      '#id111': new Views.View111
    })
  })
}

In this example, View111 would get called to render 3 times, perhaps this is because each parent render's everything underneath itself.
This is sort of the best way I can describe the behavior. Its easy to track actually because I can console.log the amount of models in the collection. In our app, I see in the logs 0, 0, 0, 1 which corresponds to each nested level of views and the final main view.render(); that renders the entire application.
Hit me up if you want to troubleshoot or ask questions.

Hey @tvpmb could you please review the unit test above and let me know if you can get it to fail? As it stands I'm unable to reproduce your situation.

Working on it.

Ok, I looked at the unit tests, I think the reason that the problem is not presenting itself is that each of the Levels defined in the test, are calling render(), but to iterate the count. The case I am running into involves all of the views not rendering, and letting the last call to main.render() do all the work.
Does that make sense?
I'm trying to think of a way to be able to count the renders without actually calling render.... I sent you a message with a quick screenshot, showing how the seqRender() function in LM was rendering everything for each level of recursion. That's why I put in the console.log(), that was the only way I could think to expose the problem.
The result of all of this, was because everything is async, on of my collections was returning back 2 models instead of 1, from the REST server. Pretty interesting. Let me know if you want to setup a skype to review and I can show you the code...

Tested this a little more in my app. Turns out that the bug presents itself when there are more than 1 view on a nested level....will see if I can alter the unit test.

Update: Looks like the unit tests aren't hitting the seqRender() function line 335. That's where the problem is I believe. However, I did uncover something else as a potential contributor. If you put a console.log('r') into the render function and then add a console.log('render X') next to each one of the count++ in the unit tests, you'll see the console log something like this:
r (this is for render 1)
render 1
r (this is for render 2)
render 2
r (this is the second one for render 2)
render 2
r (this is for render 3)
render 3
r (?)
r (?)
r (?)
r (?)
r (this is for render main)
render main

So it looks like by calling render on the main layoutmanager object, everything gets re-rendered again.

  This is correct behavior.
I'm looking into the seqRender stuff to see if that's problematic.

Ok, it may be limited specifically to the seqRender then. In our app, we're only calling render on the main render, FWIW.

Please re-open if you can create a test case that shows the actual problem.  I can't do much with a screenshot and from my testing, the rendering is working as expected.

Ok fair enough... I was hoping to not have to put together a full blown
working sample, but I'll work on that today/tomorrow.
Thanks!
Matt
On Wed, Feb 22, 2012 at 10:53 PM, Tim Branyen <
<EMAIL_ADDRESS>
wrote:

Please re-open if you can create a test case that shows the actual
problem.  I can't do much with a screenshot and from my testing, the
rendering is working as expected.

Reply to this email directly or view it on GitHub:
https://github.com/tbranyen/backbone.layoutmanager/issues/52#issuecomment-4131624


GoAccess 0.9.5 crashed by Signal 11

==27800== GoAccess 0.9.5 crashed by Signal 11
==27800==
==27800== VALUES AT CRASH POINT
==27800==
==27800== Line number: 236
==27800== Offset: 2
==27800== Invalid data: 160
==27800== Piping: 0
==27800== Response size: 0 bytes
==27800==
==27800== STACK TRACE:
==27800==
==27800== 0 goaccess(sigsegv_handler+0x168) [0x408408]
==27800== 1 /lib/x86_64-linux-gnu/libpthread.so.0(+0x10340) [0x7f07c4025340]
==27800== 2 /lib/x86_64-linux-gnu/libc.so.6(+0x140d54) [0x7f07c3d90d54]
==27800== 3 goaccess(str2enum+0x3c) [0x40761c]
==27800== 4 goaccess(ignore_panel+0x28) [0x414528]
==27800== 5 goaccess() [0x40c311]
==27800== 6 goaccess() [0x40c981]
==27800== 7 goaccess(main+0xbcf) [0x40602f]
==27800== 8 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f07c3c71ec5]
==27800== 9 goaccess() [0x406234]
==27800==

Thanks for reporting this. It seems to be the same as issue #323.
I have pushed a potential fix for this. Please build from master and let me know if that fixes the issue. Thanks.

Closing since it is a duplicate from #327.

This has been fixed. v0.9.6 has been released which includes this fix.


chore(deps): :arrow_up: update nx monorepo to v18 (major)

This PR contains the following updates:

Package
Change
Age
Adoption
Passing
Confidence

@angular-devkit/build-angular
17.3.7 -> 18.0.0

@angular-devkit/core
17.3.7 -> 18.0.0

@angular-devkit/schematics
17.3.7 -> 18.0.0

@angular/animations (source)
17.3.8 -> 18.0.0

@angular/cdk
17.3.8 -> 18.0.0

@angular/cli
17.3.7 -> 18.0.0

@angular/common (source)
^17.3.8 -> ^18.0.0

@angular/common (source)
17.3.8 -> 18.0.0

@angular/common (source)
^17.2.2 -> ^18.0.0

@angular/common (source)
^17.3.0 -> ^18.0.0

@angular/compiler (source)
17.3.8 -> 18.0.0

@angular/compiler-cli (source)
17.3.8 -> 18.0.0

@angular/core (source)
^17.3.8 -> ^18.0.0

@angular/core (source)
17.3.8 -> 18.0.0

@angular/core (source)
^17.2.2 -> ^18.0.0

@angular/core (source)
^17.3.0 -> ^18.0.0

@angular/elements (source)
17.3.8 -> 18.0.0

@angular/fire
^17.0.1 -> ^18.0.0

@angular/fire
17.0.1 -> 18.0.0

@angular/forms (source)
17.3.8 -> 18.0.0

@angular/language-service (source)
17.3.8 -> 18.0.0

@angular/material
17.3.8 -> 18.0.0

@angular/material
^17.2.1 -> ^18.0.0

@angular/platform-browser (source)
^17.3.8 -> ^18.0.0

@angular/platform-browser (source)
17.3.8 -> 18.0.0

@angular/platform-browser-dynamic (source)
^17.3.8 -> ^18.0.0

@angular/platform-browser-dynamic (source)
17.3.8 -> 18.0.0

@angular/platform-server (source)
17.3.8 -> 18.0.0

@angular/router (source)
^17.3.8 -> ^18.0.0

@angular/router (source)
17.3.8 -> 18.0.0

@angular/service-worker (source)
17.3.8 -> 18.0.0

@schematics/angular
17.3.7 -> 18.0.0

ng-packagr
17.3.0 -> 18.0.0

[!WARNING]
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.

Release Notes

angular/angular-cli (@angular-devkit/build-angular)
v18.0.0
Compare Source
Breaking Changes
@angular/cli

The ng doc command has been removed without a replacement. To perform searches, please visit www.angular.dev
Node.js support for versions <18.19.1 and <20.11.1 has been removed.

@angular-devkit/build-angular

By default, the index.html file is no longer emitted in the browser directory when using the application builder with SSR. Instead, an index.csr.html file is emitted. This change is implemented because in many cases server and cloud providers incorrectly treat the index.html file as a statically generated page. If you still require the old behavior, you can use the index option to specify the output file name.
"architect": {
  "build": {
    "builder": "@angular-devkit/build-angular:application",
    "options": {
      "outputPath": "dist/my-app",
      "index": {
        "input": "src/index.html",
        "output": "index.html"
      }
    }
  }
}

The support for the legacy Sass build pipeline, previously accessible via NG_BUILD_LEGACY_SASS when utilizing webpack-based builders, has been removed.

Deprecations
@angular-devkit/schematics

NodePackageLinkTask in @angular-devkit/schematics. A custom task should be created instead.

@angular/cli

Commit
Type
Description

ac3019570
feat
add ng dev alias to ng serve

4087728c3
feat
support for Node.js v22

41ab6c8c3
fix
add --version option

df4dde95d
fix
add @angular/build package to update group list

1039f6d79
fix
change update guide link to angular.dev

f4670fcb1
fix
eliminate prompts during ng version command

a99ec6a54
fix
keep cli package first in update package group metadata

dd786d495
fix
only add --version option on default command

03eee0545
refactor
remove ng doc command

c7b208555
refactor
remove support for Node.js versions <18.19.1 and <20.11.1

@schematics/angular

Commit
Type
Description

b2ac5fac7
feat
allow application migration to use new build package in projects where possible

6530aa11b
feat
replace assets with public directory

725883713
feat
use eventCoalescing option by default (standalone bootstrap)

508d97da7
feat
use ngZoneEventCoalescing option by default (module bootstrap)

f452589e2
feat
use TypeScript bundler module resolution for new projects

95a4d6ee5
fix
add less dependency in application migration if needed

c46aa084f
fix
add postcss dependency in application migration if needed

157329384
fix
add spaces around eventCoalescing option

23cc337aa
fix
keep deployUrl option when migrating to application builder

@angular-devkit/architect

Commit
Type
Description

ddd08efef
fix
resolve builder aliases from containing package

@angular-devkit/build-angular

Commit
Type
Description

53c319aaa
feat
add support for the poll option in the library builder

83d1d233a
feat
enhance Sass rebasing importer for resources URL defined in variables and handling of external paths

d51cb598a
feat
inject event-dispatch in SSR HTML page

0b03829bc
feat
move i18n extraction for application builder to new build system package

4ffe07aa2
feat
move Vite-based dev-server for application builder to new build system package

d1c632af9
feat
support native async/await when app is zoneless

37fc7f0cc
fix
disable Vite prebundling when script optimizations are enabled

2acf95a94
fix
do not generate an index.html file in the browser directory when using SSR.

8a54875cb
fix
handle wrapping of class expressions emitted by esbuild

97973059e
refactor
remove Sass legacy implementation

@angular-devkit/schematics

Commit
Type
Description

797584583
refactor
deprecate NodePackageLinkTask

@angular/build

Commit
Type
Description

810d213e1
feat
introduce new official build system package

b7a0792b3
fix
add a maximum rendering timeout for SSG

411115303
fix
add console note about development server raw file size

921fa7cf4
fix
add missing ansi-colors and picomatch dependencies

791cf75af
fix
check both potential build packages in Angular version check

4d7cd5e3e
fix
correctly wrap class expressions with static properties or blocks emitted by esbuild

57f448a0f
fix
decode URL pathname decoding during SSG fetch

940e382db
fix
disable Vite prebundling when script optimizations are enabled

70dbc7a6e
fix
emit error for invalid self-closing element in index HTML

44b401747
fix
ensure input index HTML file triggers rebuilds when changed

dff4deaeb
fix
ensure recreated files are watched

17931166d
fix
format sizes using decimal byte units consistently

2085365e0
fix
only generate shallow preload links for initial files

33cd47c85
fix
properly configure headers for media resources and HTML page

d10fece2c
fix
properly rebase Sass url() values with leading interpolations

3f2963835
perf
add persistent caching of JavaScript transformations

a15eb7d1c
perf
improve rebuild time for file loader usage with prebundling

v17.3.8
Compare Source
@angular/cli

Commit
Type
Description

3ada6eb52
fix
clarify optional migration instructions during ng update

@angular-devkit/schematics

Commit
Type
Description

4b6ba8df1
fix
SchematicTestRunner.runExternalSchematic fails with "The encoded data was not valid for encoding utf-8"

angular/angular (@angular/animations)
v18.0.0
Compare Source
Breaking Changes
animations

Deprecated matchesElement method has been removed from AnimationDriver as it is unused.

common

The deprecated isPlatformWorkerUi and isPlatformWorkerApp have been removed without replacement, as they serve no purpose since the removal of the WebWorker platform.

compiler

Angular only supports writable expressions inside of two-way bindings.

compiler-cli

Angular no longer supports TypeScript versions older than 5.4.

core

OnPush views at the root of the application need to
be marked dirty for their host bindings to refresh. Previously, the host
bindings were refreshed for all root views without respecting the
OnPush change detection strategy.

OnPush views at the root of the application need to
be marked dirty for their host bindings to refresh. Previously, the host
bindings were refreshed for all root views without respecting the
OnPush change detection strategy.

The ComponentFixture autoDetect feature will no
longer refresh the component's host view when the component is OnPush
and not marked dirty. This exposes existing issues in components which
claim to be OnPush but do not correctly call markForCheck when they
need to be refreshed. If this change causes test failures, the easiest
fix is to change the component to ChangeDetectionStrategy.Default.

ComponentFixture.whenStable now matches the
ApplicationRef.isStable observable. Prior to this change, stability
of the fixture did not include everything that was considered in
ApplicationRef. whenStable of the fixture will now include unfinished
router navigations and unfinished HttpClient requests. This will cause
tests that await the whenStable promise to time out when there are
incomplete requests. To fix this, remove the whenStable,
instead wait for another condition, or ensure HttpTestingController
mocks responses for all requests. Try adding HttpTestingController.verify()
before your await fixture.whenStable to identify the open requests.
Also, make sure your tests wait for the stability promise. We found many
examples of tests that did not, meaning the expectations did not execute
within the test body.
In addition, ComponentFixture.isStable would synchronously switch to
true in some scenarios but will now always be asynchronous.

Angular will ensure change detection runs, even when the state update originates from
outside the zone, tests may observe additional rounds of change
detection compared to the previous behavior.
This change will be more likely to impact existing unit tests.
This should usually be seen as more correct and the test should be updated,
but in cases where it is too much effort to debug, the test can revert to the old behavior by adding
provideZoneChangeDetection({schedulingMode: NgZoneSchedulingMode.NgZoneOnly})
to the TestBed providers.
Similarly, applications which may want to update state outside the zone
and not trigger change detection can add
provideZoneChangeDetection({schedulingMode: NgZoneSchedulingMode.NgZoneOnly})
to the providers in bootstrapApplication or add
schedulingMode: NgZoneSchedulingMode.NgZoneOnly to the
BootstrapOptions of bootstrapModule.

When Angular runs change detection, it will continue to
refresh any views attached to ApplicationRef that are still marked for
check after one round completes. In rare cases, this can result in infinite
loops when certain patterns continue to mark views for check using
ChangeDetectorRef.detectChanges. This will be surfaced as a runtime
error with the NG0103 code.

async has been removed, use waitForAsync instead.

The ComponentFixture.autoDetect feature now executes
change detection for the fixture within ApplicationRef.tick. This more
closely matches the behavior of how a component would refresh in
production. The order of component refresh in tests may be slightly
affected as a result, especially when dealing with additional components
attached to the application, such as dialogs. Tests sensitive to this
type of change (such as screenshot tests) may need to be updated.
Concretely, this change means that the component will refresh before
additional views attached to ApplicationRef (i.e. dialog components).
Prior to this change, the fixture component would refresh after other
views attached to the application.

The exact timing of change detection execution when
using event or run coalescing with NgZone is now the first of either
setTimeout or requestAnimationFrame. Code which relies on this
timing (usually by accident) will need to be adjusted. If a callback
needs to execute after change detection, we recommend afterNextRender
instead of something like setTimeout.

Newly created and views marked for check and reattached
during change detection are now guaranteed to be refreshed in that same
change detection cycle. Previously, if they were attached at a location
in the view tree that was already checked, they would either throw
ExpressionChangedAfterItHasBeenCheckedError or not be refreshed until
some future round of change detection. In rare circumstances, this
correction can cause issues. We identified one instance that relied on
the previous behavior by reading a value on initialization which was
queued to be updated in a microtask instead of being available in the
current change detection round. The component only read this value during
initialization and did not read it again after the microtask updated it.

Testability methods increasePendingRequestCount,
decreasePendingRequestCount and getPendingRequestCount have been
removed. This information is tracked with zones.

http

By default we now prevent caching of HTTP requests that require authorization . To opt-out from this behaviour use the includeRequestsWithAuthHeaders option in withHttpTransferCache.
Example:
withHttpTransferCache({
  includeRequestsWithAuthHeaders: true,
})

platform-browser

Deprecated StateKey, TransferState and makeStateKey have been removed from @angular/platform-browser, use the same APIs from @angular/core.

platform-browser-dynamic

No longer used RESOURCE_CACHE_PROVIDER APIs have been removed.

platform-server

deprecated platformDynamicServer has been removed. Add an import @angular/compiler and replace the usage with platformServer

deprecated ServerTransferStateModule has been removed. TransferState can be use without providing this module.

deprecated useAbsoluteUrl and baseUrl been removed from PlatformConfig. Provide and absolute url instead.

Legacy handling or Node.js URL parsing has been removed from ServerPlatformLocation.
The main differences are;

pathname is always suffixed with a /.
port is empty when http: protocol and port in url is 80
port is empty when https: protocol and port in url is 443

router

Guards can now return RedirectCommand for redirects
in addition to UrlTree. Code which expects only boolean or UrlTree
values in Route types will need to be adjusted.
This change allows Route.redirectTo to be a function
in addition to the previous string. Code which expects redirectTo to
only be a string on Route objects will need to be adjusted.
When a a guard returns a UrlTree as a redirect, the
redirecting navigation will now use replaceUrl if the initial
navigation was also using the replaceUrl option. If this is not
desirable, the redirect can configure new NavigationBehaviorOptions by
returning a RedirectCommand with the desired options instead of UrlTree.
Providers available to the routed components always
come from the injector heirarchy of the routes and never inherit from
the RouterOutlet. This means that providers available only to the
component that defines the RouterOutlet will no longer be available to
route components in any circumstances. This was already the case
whenever routes defined providers, either through lazy loading an
NgModule or through explicit providers on the route config.
Providers available to the routed components always
come from the injector heirarchy of the routes and never inherit from
the RouterOutlet. This means that providers available only to the
component that defines the RouterOutlet will no longer be available to
route components in any circumstances. This was already the case
whenever routes defined providers, either through lazy loading an
NgModule or through explicit providers on the route config.

Deprecations
common

getCurrencySymbol, getLocaleCurrencyCode, getLocaleCurrencyName, getLocaleCurrencySymbol, getLocaleDateFormat, getLocaleDateTimeFormat, getLocaleDayNames, getLocaleDayPeriods, getLocaleDirection, getLocaleEraNames, getLocaleExtraDayPeriodRules, getLocaleExtraDayPeriods, getLocaleFirstDayOfWeek, getLocaleId, getLocaleMonthNames, getLocaleNumberFormat, getLocaleNumberSymbol, getLocalePluralCase, getLocaleTimeFormat, getLocaleWeekEndRange, getNumberOfCurrencyDigits

core

@Component.interpolation is deprecated. Use Angular's
delimiters instead.

http

HttpClientModule, HttpClientXsrfModule and HttpClientJsonpModule
As mentionned, those modules can be replaced by provider function only.

animations

Commit
Type
Description

bcce85af72
refactor
remove deprecated matchesElement from AnimationDriver (#55479)

common

Commit
Type
Description

d34c033902
refactor
Deprecate Local Data API functions (#54483)

3b0de30b37
refactor
remove deprecated isPlatformWorkerApp and isPlatformWorkerUi API (#55302)

compiler

Commit
Type
Description

91b007e58f
fix
add math elements to schema (#55631)

33d0102304
fix
allow comments between connected blocks (#55966)

7fc7f3f05f
fix
capture all control flow branches for content projection in if blocks (#54921)

a369f43fbd
fix
capture switch block cases for content projection (#54921)

eb625d3783
fix
declare for loop aliases in addition to new name (#54942)

f824911510
fix
For FatalDiagnosticError, hide the message field without affecting the emit (#55160)

a040fb720a
fix
maintain multiline CSS selectors during CSS scoping (#55509)

39624c6b12
fix
output input flags as a literal (#55215)

eba92cfa55
fix
prevent usage of reserved control flow symbol in custom interpolation context. (#55809)

7d5bc1c628
fix
remove container index from conditional instruction (#55190)

4eb0165750
fix
remove support for unassignable expressions in two-way bindings (#55342)

e1650e3b13
fix
throw error if item name and context variables conflict (#55045)

compiler-cli

Commit
Type
Description

5bd188a394
feat
add partial compilation support for deferred blocks (#54908)

b02b31a915
feat
drop support for TypeScript older than 5.4 (#54961)

78188e877a
fix
add diagnostic if initializer API is used outside of an initializer (#54993)

69a83993b3
fix
do not throw when retrieving TCB symbol for signal input with restricted access (#55774)

4f4f41016e
fix
dom property binding check in signal extended diagnostic (#54324)

7a16d7e969
fix
don't type check the bodies of control flow nodes in basic mode (#55360)

[8d93597a82](https://togithub.com/angular/angular/commit/8d93597a82860112a5398828745653a7e2

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

⚠ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

any of the package files in this branch needs updating, or
the branch becomes conflicted, or
you click the rebase/retry checkbox if found above, or
you rename this PR's title to start with "rebase!"  Only "@angular-devkit/build-angular:browser-esbuild" and "@angular-devkit/build-angular:browser" can be automatically migrated.
    Cannot update project "bacteria-game-remote" to use the application builder. Only "@angular-devkit/build-angular:browser-esbuild" and "@angular-devkit/build-angular:browser" can be automatically migrated.
    Cannot update project "fourier-analysis-remote" to use the application builder. Only "@angular-devkit/build-angular:browser-esbuild" and "@angular-devkit/build-angular:browser" can be automatically migrated.
    The output location of the browser build has been updated from "dist/apps/rollapolla" to "dist/apps/rollapolla/browser". You might need to adjust your deployment pipeline or, as an alternative, set outputPath.browser to "" in order to maintain the previous functionality.
    Cannot update project "rollapolla-analog" to use the application builder. Only "@angular-devkit/build-angular:browser-esbuild" and "@angular-devkit/build-angular:browser" can be automatically migrated.
    Cannot update project "shader-examples-remote" to use the application builder. Only "@angular-devkit/build-angular:browser-esbuild" and "@angular-devkit/build-angular:browser" can be automatically migrated.
Command failed: npx nx _migrate --run-migrations --if-exists
Command failed: /tmp/tmp-1729-PeMj6VI38R5j/node_modules/.bin/nx _migrate --run-migrations --if-exists

Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠ Warning: custom changes will be lost.


[release/1.5] ci: remove GOPROXY environment variable due to https://github.com/go-…

Cherry-pick https://github.com/containerd/containerd/pull/7293

/retest

/test pull-containerd-node-e2e


Adding the Korean link in _translations.md

I will make contribution with Korean translation.

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #XXXXX

The Korean translation is at 0% translated. If you want to contribute to translating the documentation consult contribute.freeCodeCamp.org

Okay. Thank you.


HMR is loading new code but not rerendering

Is this a bug report?
Yes
Have you read the Contributing Guidelines?
Yes
Environment
Environment:
OS:  macOS High Sierra 10.13
Node:  8.6.0
Yarn:  1.2.0
npm:  5.3.0
Watchman:  4.7.0
Xcode:  Xcode 9.0.1 Build version 9A1004
Android Studio:  2.3 AI-162.4069837
Packages: (wanted => installed)
react: 16.0.0 => 16.0.0
react-native: 0.50.0-rc.1 => 0.50.0-rc.1
Target Platforms: iOS 10/11, Android 6, 7, 8
Steps to Reproduce

Launch application
Turn on Hot Reloading
Change code and wait

Expected Behavior
The "Hot Reloading..." prompt appears on both iOS and Android, followed by rerendering and the updating of the application to reflect code changes.
Actual Behavior
The "Hot Reloading..." prompt appears on both iOS and Android. However, the application does not update to reflect code changes. However, manually triggering rerenders within the application, such as via pull-to-refresh/RefreshControl, will show that the bundle code has been updated.
The functionality was fine on 0.48.3, but has broken with the upgrade with 0.49/0.50.
Thank you!

The same problem with react-native 0.49.3

same thing here, any updates?

same issiue here

The same problem with react-native 0.49.5.

Same with react-native 0.50.1

same here 0.49.0

The same problem with react-native 0.50.3

Was using version 0.50.3 and as fixed after upgrading the version of react-deep-force-update

@arcanjoqt this looks hacky....

@arcajoqt that project is a dependency of react-proxy which is a dependency of react-transform-hmr
There's the interesting commit #e0c75b9 which has "Support Fiber"

I can confirm that "The functionality was fine on 0.48.3, but has broken with the upgrade with 0.49/0.50.". Issue is real and workaround proposed by @arcanjoqt didn't work at my case. I upgraded react-deep-force-update to v2.1.1 - and HMR still doesn't work. With React Native 0.48.3 HMR was working really well...

I have the same problem on Win10, RN 0.50.4.
In 0.47.1 hot reloading worked perfectly. After update to 0.49.5 it still worked but kind of erratically - usually there were two "Hot reloading" toasts shown before the application was actually updated. Since 0.50.3 it has stopped working altogether.

Same issue for me (RN 0.49.5).

Having the same issue (RN 0.51.0).
Strange thing is that when I set up a brand new RN project (react-native init) the HMR works.
When I just create a simply
<View><Text>Welcome</Text></View>

in a class in my project and ignore everything else the HMR still doesn't work.

same issue with react native ( 0.51.0 )

It seems like the problem with the HMR occurs when upgrading an existing project.

yes. can't it be on existing project ?

Temporarily fixed by downgrading my project from 0.52 to 0.47.1. No hiccups in downgrading thankfully.

So for us it turns out to be related to an old version of react-deep-force-update being used.
To fix the issue you need to force upgrade react-deep-force-update to version 1.1.1. I found it a bit tricky without changing directly yarn.lock so here is how I did this. If you know of better solution please comment below:

add the following section to your package.json (read more about resolutions here)

  "resolutions": {
    "react-deep-force-update": "1.1.1"
  }

run yarn
remove previously added section to package.json
You are all set! 🎉  After all these steps the only thing that changed should be yarn.lock the change should look sth like this:

TL;DR
What happened? Why is the version incorrect?
So we used to have<EMAIL_ADDRESS>installed which is incompatible with new version of react.js (react 16 specifically) and needs to be upgraded to<EMAIL_ADDRESS>Apparently since the parent dependency of that library hasn't changed in between RN versions (the package is called react-proxy and installed at version 1.1.8 that require react-deep-force-update that matches "^1.0.0") package manager figured it is not important to update force-update lib.
This also explains why HMR works on projects created after 1.1.1 got released (that is after 2017-08-23). It is simply because at the first run package manager would install the newest version that matches "^1.0.0" required by react-proxy.

Even with adding
"resolutions": {
    "react-deep-force-update": "1.1.1"
  }

it still does not work. Actually, the project already had version 1.1.1

@tbergq Are you using create-react-class maybe?

No, we do not use create-react-class

I have same problem... I tried @kmagiera solution but still not working

Although someone suggested upgrading the version of react-deep-force-update before, the post of @kmagiera appeared to be much more profound. So I tried it and it works! Thank you very much.

I'm not sure why, but like @IvanCoronado and @tbergq the fix isn't working for me. The version of react-deep-force-update was already 1.1.1. We don't use react-create-class. Project was created on Mar 20, 2017.
If anyone has any additional theories or what information is relevant for debugging, I can investigate in our code. I'm at a bit of a loss how to continue otherwise.

Look forward to your investigation. I also have this problem.
I've gone as far as making all of my react native dependencies match the example that a new project is created with.
After doing this react-deep-force-update is already installed as 1.1.1 automatically, but HMR doesn't work. You can see it downloading the new version but not rerendering until I do something that causes a rerender.

@coffenbacher I fixed it at some point but I don't know how. I started again all the steps many times, cloned the project again, restarted the router because I was debugging via network...

As suggested by @warrenronsiek running npm install<EMAIL_ADDRESS>works for me :)

@chenshuiluke can you shared which react version and react-native are you using ?

Even uploading to 1.1.1 doesn't work.

Even in React Native 0.55.4, hot-reloading is not working for me.

@luco Can you explain how mobx has breaking hot reload? I'm using mobx too.

"resolutions": {
"react-deep-force-update": "1.1.1",
"babel-plugin-react-transform": "github:kmagiera/babel-plugin-react-transform#v3.0.0-patched"
}
works in window10


Hello World - module initialization error: Attempted relative import in non-package

Context
First of all let me start by saying I'm really excited about using Zappa and can't wait to get it working!
For some reason however when deploying my Flask application I keep getting the following error when trying to access:
module initialization error: Attempted relative import in non-package

It's possible I'm doing something wrong or there's issues with the structure of my code, the current directory layout is:

myapp > app.py + other classes
setup.py
venv
zappa_settings.json

I activate my virtualenv and pip install awscli, zappa and run python setup.py install which installs my application, not sure if it matters or not but app.py imports other classes using the full package path e.g from myapp.modules.user import User.
My zappa_settings.json is really simple just specifying the s3 bucket and the detected app function of myapp.app.app.
I've even swapped out my app.py for a Flask hello world example and get the same error, what am I doing wrong?
Expected Behavior
Flask application should respond successfully.
Actual Behavior
Get the above error.
Your Environment

Zappa version used: 0.40.0
Operating System and Python version: Ubuntu 16.04, Python 2.7.12
Your zappa_settings.py: Noted above

Hi @AlexLast,
I have also had trouble getting zappa to import app objects from other than top-level packages. Would it make sense for your project if you tried moving myapp/app.py to myapp/__init__.py? That would allow you to specify your app object in zappa_settings.json as myapp.app, which may help.

Sorry for not getting to this sooner, must have missed it.
You don't want to p setup.py install into your own virtualenvironment if you're already working in that environment. This is probably the problem.

Related: https://github.com/Miserlou/Zappa/pull/542

@Miserlou Thanks, seems to have fixed things 👍


i18n(zh-cn): Translate recipes/i18n.mdx and update core-concepts/routing.mdx

What kind of changes does this PR include?

Translated content
Update existed content

Description

Translate recipes/i18n.mdx content to zh-CN
Update core-concepts/routing.mdx with redirects

cc @liruifengv

routing.mdx 页面需要完整更新


Update old examples to use new Run Service.vi

[x] This contribution adheres to CONTRIBUTING.md.

What does this Pull Request accomplish?
@jasonmreding changed how Run Service.vi works in #267. However, we didn't update the examples to use the new recommended way. This PR updates the two remaining examples that still use the old Run Service.vi. It also adds (and hides) the MeasurementLink Server User Settings control to the DCPower example so that we can run it in our ATS.
What testing has been done?
Ran examples locally to make sure they work.

The front panel and block diagram now look like this:


Update HttpRequest to match @google-cloud/logging

Currently, emitting a log containing an httpRequest that is strongly typed using types.HttpRequest can result in a couple of errors:

"Empty string" when sending a field for which we don't have information.
google.logging.type.HttpRequest.latency: object expected

This PR changes the definition to match that defined in https://github.com/googleapis/nodejs-logging/blob/master/src/http-request.ts. In particular, it makes all fields optional, changes latency to the format that matches the proto, and changes a couple of string fields to numbers.
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

[ ] Make sure to open an issue as a bug/issue before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
[ ] Ensure the tests and linter pass
[ ] Code coverage does not decrease (if any source code was changed)
[ ] Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> 🦕

@googlebot I signed it!

@majelbstoat just wanted to put this back on your radar, what do you think of my comment.

Oh, hi! I assumed you were waiting on an answer from @soldair, sorry. But I guess, whatever the reasons it was supported, this would be a breaking change, yes, if people were relying on it, and your suggestion to make the type string | {seconds: number; nanos: number}  would be a reasonable stop-gap.

@majelbstoat thank you for the contribution, this will be released soon.


fix: daily configuration for 27 and master

merge to prod in https://github.com/nextcloud-releases/updater_server/pull/889


Outlined Autocomplete with size="small" has different paddings than TextField

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Steps to reproduce 🕹
Link to live example: https://codesandbox.io/s/angry-yalow-fn6337?file=/demo.tsx

Current behavior 😯
The input content/value of the Atuocomplete with size="small" is not aligned compared to TextField.
Expected behavior 🤔
The values should all be on the red line.
Context 🔦
We want all values to be aligned while having different field types in a form.
Your environment 🌎

@jannnik Thanks for reporting this, I'm working on a fix ~


new folder

Signed-off-by: Boris Glimcher<EMAIL_ADDRESS>

as requested by @jlwhite creating new folder


copyWith sets roomId to null

General
What bug do you experience? 🐞
When copyWith is used on a Message Object, the roomId gets set to null.
How can it be reproduced? 🤔

Create a TextMessage or ImageMessage Object with a roomId set
use copyWith on this TextMessage
roomId is set to null

This seems to occur because of the way copyWith is implemented:
 @override
  Message copyWith({
    User? author,
    dynamic createdAt = _Unset,
    String? id,
    dynamic metadata = _Unset,
    dynamic previewData = _Unset,
    dynamic remoteId = _Unset,
    dynamic repliedMessage = _Unset,
    dynamic roomId,
    dynamic showStatus = _Unset,
    dynamic status = _Unset,
    String? text,
    dynamic updatedAt = _Unset,
  }) => _TextMessage(
        author: author ?? this.author,
        createdAt: createdAt == _Unset ? this.createdAt : createdAt as int?,
        id: id ?? this.id,
        metadata: metadata == _Unset
            ? this.metadata
            : metadata as Map<String, dynamic>?,
        previewData: previewData == _Unset
            ? this.previewData
            : previewData as PreviewData?,
        remoteId: remoteId == _Unset ? this.remoteId : remoteId as String?,
        repliedMessage: repliedMessage == _Unset
            ? this.repliedMessage
            : repliedMessage as Message?,
        roomId: roomId == _Unset ? this.roomId : roomId as String?,
        showStatus:
            showStatus == _Unset ? this.showStatus : showStatus as bool?,
        status: status == _Unset ? this.status : status as Status?,
        text: text ?? this.text,
        updatedAt: updatedAt == _Unset ? this.updatedAt : updatedAt as int?,
      );

When used, roomId is null and not _Unset. In that case it gets set to null.
What behavior is expected? 💡
roomId should not be set to null when copyWith is used.
Environment info
Please specify the flutter, flutter-chat-ui versions.
flutter: 3.19.4
flutter-chat-ui: 1.6.12

Platform
All Platforms

<!-- Thank you for making us better 🤝--!>

code merged, thanks!


Explain that backup crontab needs to run as root

Obvious in hindsight, but I spent quite a bit of time figuring out why my backups were not running. A small change to the readme telling the user to 'sudo crontab -e' will hopefully save other user a bit of time. Thanks!

Nice catch.
Ideally you would want to add the backup to cron with the minecraft user.
sudo crontab -e -u minecraft

Yes, that's even better! I have changed it, thanks! I also realized later that it's about all cron jobs, not just the backups :-)

Here's the thing though... I have add the backup line to the crontab of the minecraft user, but it is not executing. As root it does, but not as the minecraft user. I have looked at how the user is created, but everything appears normal. Any ideas?
I'm using Ubuntu server 16.06.1.

Hi,
Try running the commands:
chmod -R u+w /opt/mscs
chown -R minecraft:minecraft /opt/mscs

Everything in /opt/mscs already has the correct permissions and was owned by the minecraft:minecraft user.
mscs and msctl in /usr/bin/local/ are both owned by root. I'll chown those to the minecraft user and see what happens.

mscs and msctl are ok as root
Just amke sure that your backup folder is readable, writable, and owned by the minecraft user

Well, I can't get crontab to work for the minecraft user.
I have followed @Roflicide's instructions to chmod and chown. I even chowned mscs and msctl to the minecraft user. I've tested cron for the minecraft user by writing to a log file and it's running.
It's just not running the backup line that is identical with the line for root but one hour earlier.
It's not a big issue for me. I can run backups as root and it works. I'm just stumped... it should work as the minecraft user.
Any ideas? Something I can try?

My backup only works when I add the absolute path.:
*/60 * *   *   *   /usr/local/bin/mscs backup
and I changed the path to msctl in the mscs script also to the absolute location.
# Run the msctl script. if [ "$USER_NAME" = "$(whoami)" ]; then     /usr/local/bin/msctl $MSCS_ARGS else   sudo -u $USER_NAME /usr/local/bin/msctl $MSCS_ARGS
Although the minecraft user was able to find these scripts in his PATH, the crontab had some problems, maybe it's worth a try for you.

This is a good catch. Thanks!

I updated the README to match the method put forth by @zanix.  I tested to make sure the method works -- I have backups happening every 10 minutes right now.  Closing this issue as done.  Thanks for finding the fix.

Thanks @conrad784 and @zanix for the fix. It works as expected here was well. #happycamper


Omnibar: Url alignment not focused mode

Task/Issue URL:
Description
Steps to test this PR
Feature 1

[ ]
[ ]

UI changes

Before
After

!(Upload before screenshot)
(Upload after screenshot)

#5149  👈
develop

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

Join @malmstein and the rest of your teammates on  Graphite


Can not set alarm timer on oven

First off, many thanks for a great component. Much improvement over the stock version.
I am not able to set an alarm timer on my Bosch oven. When trying to do so, I get an error thus;
 '<' not supported between instances of 'float' and 'NoneType'

I think you can see where this is going...
Version of the custom_component
Latest master as of last night.
Describe the bug
This is because the AlarmClock information returned from the Home Connect contains null values for the min and max allowable values. As a result, the number component is created with null min/max values. Thus when attempting to check that the entered value for the alarm is in range, the check fails with this error.
The result of this failure is that the alarm is not set.
Debug log
Here's full details of the error occuring
2022-06-24 17:25:19 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140465629030384] '<' not supported between instances of 'float' and 'NoneType'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 193, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1704, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1741, in _execute_service
await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 204, in handle_service
await service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 680, in entity_service_call
future.result() # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 964, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 717, in _handle_entity_call
await result
File "/usr/src/homeassistant/homeassistant/components/number/__init__.py", line 71, in async_set_value
if value < entity.min_value or value > entity.max_value:
TypeError: '<' not supported between instances of 'float' and 'NoneType'

Here's the start of the log showing the my oven device if that's important/useful
"BOSCH-HBG5585S6B-68A40E681870-001": {
"name": "Oven",
"brand": "Bosch",
"vib": "HBG5585S6B",
"connected": true,
"type": "Oven",
"enumber": "HBG5585S6B/60",
"haId": "BOSCH-HBG5585S6B-68A40E681870-001",
"uri": "/api/homeappliances/BOSCH-HBG5585S6B-68A40E681870-001",
"available_programs":

Here's an extract from the debug log showing the relevant entry for the AlarmClock
"BSH.Common.Setting.AlarmClock": {
"key": "BSH.Common.Setting.AlarmClock",
"value": 0,
"type": "Int",
"name": null,
"unit": "seconds",
"displayvalue": null,
"min": null,
"max": null,
"stepsize": null,
"allowedvalues": null,
"execution": null,
"liveupdate": null,
"access": "readWrite"
}

Just some follow-up information.
I did think this could be a bug in the core (checking against a null value), but the documentation for input_number states that min and max are required values.
Clearly, the min value could be defaulted to 0. The documentation for my particular oven states that the maximum timer value is 23 hours 59 mins, but I obviously couldn't state if that is true for all ovens. Might not be a bad default for max though.

I fixed the exception by setting the minimum value to 0 and maximum to maximum int value, but this is a bug with the HC API, it should return the constraints.

There are very many null values in the response from HC (see below). Do you think this a feature of my appliance or do they all look like this?
For example, remaining program time has a null type so it is not rendered at all!
In other words, is everyone suffering from issues like this? If it's just me, I'll make my own template sensors to set the min/max appropriately.  That said, "type" should not be null and for numeric types the min/max/stepsize values should appear.
To be certain it is a problem with the data received from the API and not with the integration please add the following line to the home_connect_alt section of configuration.yaml:
log_mode: 7

Here's the log with debugging turned on and log_mode:7 set as you suggested. It appears that the AlarmTimer (amongst others) doesn't return min and max. Possibly as a side-effect of all this, I have no inputs for program duration or temperature to set. Perhaps because the data types as also null?
2022-06-26 19:54:03 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration sonoff which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-06-26 19:54:03 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration home_connect_alt which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-06-26 19:54:03 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration hive which has not been tested by Home Assistant.
You don't have a temperature control because there is no selected program and in order to save on API calls the integration doesn't fetch the available options until a program is selected. Once you select a program the integration should fetch the options for the selected program and the controls should become enabled.

OK, that makes sense. Thanks for the explanation. When I selected a program, the newly created entities ended up on the "unused entities" screen so I didn't see them. Now I know they exist, I can move them in the UI.
Regardless, it looks like the min/max values are coming back as null from HC. I guess that's out of your control. Your fix sounds like a good on.
FYI, my bodge was along these lines;
return self._conf['opt'].min or 0

Many thanks again for a well engineered integration. Much appreciated.


Daniel out of Office: 8 May - 5 Jun 2023

I'm finally getting around to taking my trip back to the UK that I was originally scheduled to take in 2020. During this time, I won't be actively working on Deneb development or support, as I haven't taken a proper break for quite some time (and I haven't seen my family in over 12 years). I may check in from time to time but will look at any new issues properly when I return.
I will however be speaking at two Power BI user groups while I'm away, if you're keen to come along and find out more (or to say hi):

Thurs 18th May: Birmingham User Group
Thurs 25th May: Manchester User Group

Enjoy your trip! Well deserved! Thanks for all that you do.- MadisonSent from my iPhoneOn May 1, 2023, at 6:55 PM, Daniel Marsh-Patrick @.***> wrote:
I'm finally getting around to taking my trip back to the UK that I was originally scheduled to take in 2020. During this time, I won't be actively working on Deneb development or support, as I haven't taken a proper break for quite some time (and I haven't seen my family in over 12 years). I may check in from time to time but will look at any new issues properly when I return.
I will however be speaking at two Power BI user groups while I'm away, if you're keen to come along and find out more (or to say hi):
Thurs 18th May: Birmingham User Group
Thurs 25th May: Manchester User Group
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>


Solarish __posix_readdir_r symbol is only for 32-bit libc

As discovered building the latest 'fd', the __posix_readdir_r symbol is only available in the Solaris & illumos 32-bit libc.  For 32-bit libraries, there is some confusing symbol shuffling that occurs to provide compatibility between traditional Solaris, draft POSIX, and official POSIX behavior for readdir_r (which is where __posix_readdir_r originates).
By the time 64-bit was introduced in Solaris, that was resolved and there is only readdir_r for 64-bit binaries.  Since rust (currently) only supports 64-bit targets on Solarish (Solaris & illumos) targets, the symbol renaming in mod.rs is unnecessary.

How do we fix this ?

No, just checking. Thanks!


How to get transaction details in more human readable form

Hello am trying to get transaction details using a transaction hash from the proxy.py module but the response I get in return is not readable at all. How do I decode the response to a human readable form.
Here is how am doing it
# file.py
from etherscan import Etherscan
from pprint import pprint
eth = Etherscan(api_key=settings.API_KEY)

txn_hash = '0x1e2910a262b1008d0616a0beb24c1a491d78771baa54a33e66065e03b1f46bc1'
txn_details = eth.get_proxy_transaction_receipt(txn_hash)
pprint(txn_details)

Response
{'blockHash': '0xf64a12502afc36db3d29931a2148e5d6ddaa883a2a3c968ca2fb293fa9258c68',
 'blockNumber': '0x70839',
 'contractAddress': None,
 'cumulativeGasUsed': '0x75d5',
 'from': '0xc80fb22930b303b55df9b89901889126400add38',
 'gasUsed': '0x75d5',
 'logs': [{'address': '0x03fca6077d38dd99d0ce14ba32078bd2cda72d74',
           'blockHash': '0xf64a12502afc36db3d29931a2148e5d6ddaa883a2a3c968ca2fb293fa9258c68',
           'blockNumber': '0x70839',
           'data': '0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000a4861636b65726e65777300000000000000000000000000000000000000000000',
           'logIndex': '0x0',
           'removed': False,
           'topics': ['0x24bcf19562365f6510754002f8d7b818d275886315d29c7aa04785570b97a363'],
           'transactionHash': '0x1e2910a262b1008d0616a0beb24c1a491d78771baa54a33e66065e03b1f46bc1',
           'transactionIndex': '0x0'}],
 'logsBloom': '0x00000000000000000000000000000400000000020000000000000000400000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000',
 'root': '0xc659845f1ac4e899ff1b0666dbac5deeda33a4a5d85da71f617f352824146e40',
 'to': '0x03fca6077d38dd99d0ce14ba32078bd2cda72d74',
 'transactionHash': '0x1e2910a262b1008d0616a0beb24c1a491d78771baa54a33e66065e03b1f46bc1',
 'transactionIndex': '0x0'}

Any way to get cumulativeGasUsed, status etc in readable form say int, boolean respectively? Something like this...
var receipt = web3.eth.getTransactionReceipt('0x9fc76417374aa880d4449a1f7f31ec597f00b1f6f3dd2d66f4c9c6c445836d8b')
.then(console.log);

> {
  "status": true,
  "transactionHash": "0x9fc76417374aa880d4449a1f7f31ec597f00b1f6f3dd2d66f4c9c6c445836d8b",
  "transactionIndex": 0,
  "blockHash": "0xef95f2f1ed3ca60b048b4bf67cde2195961e0bba6f70bcbea9a2c4e133e34b46",
  "blockNumber": 3,
  "contractAddress": "0x11f4d0A3c12e86B4b5F39B213F7E19D048276DAe",
  "cumulativeGasUsed": 314159,
  "gasUsed": 30234,
  "logs": [{
         // logs as returned by getPastLogs, etc.
     }, ...]
}

Adopted here https://web3js.readthedocs.io/en/v1.3.4/web3-eth.html#eth-gettransaction-return ?
Image of a transaction details page

Any way to get cumulativeGasUsed, status etc in readable form say int, boolean respectively? Something like this...

As an example, just convert cumulativeGasUsed from hex string to int:
int("0x75d5", 16)
> 30165

which is the same as the value shown on Etherscan.

The transaction status is not returned by get_proxy_transaction_receipt but rather by get_tx_receipt_status.


Support Kafka <IP_ADDRESS>

Currently Kafka JDBC connector supports Kafka version <IP_ADDRESS>. Add support for Kafka <IP_ADDRESS>.

Kafka is now at 1.1.0, any plans for supporting the latest version. I am getting some errors while bringing this connector up with latest version.


Fix list endpoints

Description
Don't be fooled by the line count, it's mostly my editor fixing spacing issues.
data gets passed into a request which is then used to form the request body. In the case of a GET though there isn't a body, but there can be URL parameters. Data was being passed into list endpoints for UM, but because there is no body with a GET it was being ignored.
This fixes that by parsing data as a map and using it as URL parameters for list requests.
Documentation
Does this require changes to the WorkOS Docs? E.g. the API Reference or code snippets need updates.
[ ] Yes

If yes, link a related docs PR and add a docs maintainer as a reviewer. Their approval is required.

To be honest, I have no idea why those annotations are in there. I'd rather not remove them though till we understand why there were put there in the first place.


Raincatch 535 refactor workflow functionality

Motivation
This change moves all of the UI functionality from the portal app to the fh-wfm-workflow and fh-wfm-workflow-angular modules.
See https://github.com/feedhenry-raincatcher/raincatcher-workflow/pull/17 and https://github.com/feedhenry-raincatcher/raincatcher-workflow-angular/pull/1

LGTM


Is it possible to use USB camera?

I want to use USB camera connected to RPi with HomeKit.
Is it possible or I can just use IP camera?
Can someone provide example of camera_accessory.js for this case?

It may need it
https://youtu.be/yJt3TZp0rXk

@Maxmudjon thank you.


Support Visual Studio compiler?

I want to try this as a static library on Windows.My project is a VS project with libipt static library.I want to try libxdc to get better performance.How can i do?Thks.

Neither of us uses Windows. You will have to take a look at the Makefile (https://github.com/nyx-fuzz/libxdc/blob/master/Makefile) and adapt it to visual studio. However the build process for the library is pretty straightforward:
compile cfg.o disassembler.o tnt_cache.o decoder.o libxdc.o mmh3.o trace_cache.o and link all of them together with libcapstone4 to create the shared object. It should be noted that the default driver for intel-pt does enable return compression, which we do not support. So you will need to change that too, if you plan to use libxdc under windows.


Version 2.0 Audio sounds over text

This is my first time making a pull request so excuse me if I did something wrong
what is available:

a new display node that can make sounds the text gets revealed
it can choose one sound from a random number of sounds you supply
you can add a random variance to the pitch and volume of the sounds
you can choose what number of characters to show before making the sounds (making sounds every character, every other character ,etc.)
You can choose what characters not to trigger the sounds (for example the "space" or the '"ull stop  point" so someting like this won't make any sound except for the first three characters "hmm . . . . . . . . ")
all of it is customizable from the godot editor

things that can be improved:

the namings sucks, I have no sense in naming anything
a better way to get the dialog richtext node
I don't know how events work so I didn't do an event, but if someone can, you can make an event changing the current audio sound node (don't know what to call it) so that it produces different sounds

First of all, thank you very much for your work!
However here are a few thoughts of mine:
The connection between the DialogicDisplay_TypeSounds and DialogicDisplay_DialogText is not good currently, as it doesn't allow for multiple Text nodes which are crucial for multiple scenes. I would suggest that you have to add the TypeSound as the child of the DialogText node (then we can use get_parent()).
Also one important thing that is missing is how to overwrite that audio for certain characters. This brings other issues though, so I would merge this and add those other things later.
Also I will have to move the TypeSound class into the Dialogic/Events/Text folder as it is very specific to that event.
Going to test now!

Alright, going to merge this now! Thanks very much.

Also if you are on discord feel invited to come over into #dialogic_dev or #Dialogic 2.0 on emilios server!

Also one important thing that is missing is how to overwrite that audio for certain characters. This brings other issues though, so I would merge this and add those other things later.

My idea wasn't for only one TypeSound to be present. It was to add multiple of them with different names like John_sad, Mark_angry or things like this and then add the event to change which one to use according to names.
or better yet, integrate it into the character file so you can assign a character multiple voice tones and then choose which one to use in the text event


The link of files while streaming is misbehaving when server is restarted

Here is the explanation of the issue I ma facing:

I am using the {{HelperFunction.link}} method to stream files on Client side. The problem is when the server is restarted this function returns a link but the link is not pointing to the desired file. The app is not deployed and the MongoDB and Meteor app are both running on localhost. Moreover when I use different device on the same network to access the app, I face the same issue. Is there another way to show or access the file, maybe by using the data="" property of html tags.
I am unable to retrieve ostrio:files package version
Meteor v2.1
Windows(Microsoft Edge v89.0.774.68)
I think this is an issue with the link. I had like to know if we can retrieve the file in form of Data

Shared
const ImageSchema = Object.assign({}, FilesCollection.schema, {
    timestamp: {
        type: Number,
        optional:true,
    },
    username: {
        type: String,
        optional:true,
    },
    chatRoomsID: {
        type: String,
        optional: true
    }
  });
Images = new FilesCollection({
    collectionName: 'Images',
    schema: ImageSchema
  });
Images.collection.attachSchema(new SimpleSchema(ImageSchema));

Client Side
HTML
<img src="{{imageFile.link}}" alt="{{name}}" style="width: 100%; height: 300px;">

Client JS
Template.chatroomid.onRendered(function(){
imageFile() {
         Meteor.subscribe('Images');
      }
});
Template.chatroomid.helpers({
imageFile() {
        return Images.findOne({_id:`${this._id}`});
      }
});

Server Side
Meteor.publish('Images', function tasksPublication() {
    return Images.find().cursor;
  });

@GSYamaji that saounds like subscription isn't ready upon server reload. But still not sure why are you experiencing this. Using fileURL template helper might help you to solve this, please, let me know after you try.

@GSYamaji that sounds like subscription isn't ready upon server reload. But still not sure why are you experiencing this. Using fileURL template helper might help you to solve this, please, let me know after you try.

@dr-dimitru thank you for the advice. I have tried the template helper and the problem still stands. then it must be the subscription. I am subscribing to published document in .onRendered() event. If that is causing the problem where should i subscribe.
To help you understand the case, here is the link generated when I upload the file
http://localhost:3000/cdn/storage/Images/Gdvu96DhcjHb3B9Fo/original/Gdvu96DhcjHb3B9Fo.jpg
and it works fine
after sometime this link does not return any file.

after sometime this link does not return any file

Okay I believe you ran into this condition described in our FAQ:

Note: All files will be removed as soon as your application rebuilds or you run meteor reset. To keep your storage persistent during development use an absolute path outside of your project folder, e.g. /data directory.

Thanks It does work and that was exactly what I was missing.
Though I have a Question. What if I store files in the Public/Files/
I want to make clear that Public is a folder in the root directory of my project.

@GSYamaji Feel free to close it in case if the issue is solved on your end.

Thank you very much @dr-dimitru. You were very helpful and the issue was resolved


Ability to have nested file structure

We need the ability to retain our repository's nested markdown file structure. Users may either read documentation in our repository or on the doc site. Links and images will not work properly in this case with slate at the moment. Even if I am able to get slate to automatically render nested markdown files the links are still not going to work.
Do you have any tips/suggestions for this problem or would you be willing to support this in slate? Please let me know if you need further explanation of the issue.

Not quite sure what you mean — what is a nested markdown file?

Hi @lord Instead of having everything compiled into a single documentation page can Slate be altered to support multiple pages? s

You can currently have multiple pages if you create multiple .md files, but there's no way to link between them in the nav sidebar, which is why I was curious what you mean by "nested".

Maybe he didn't know 'includes:' directive. I did came he because of the 'nested' keyword :)  I would like to have structured(nested) format, as I find it more maintainable and also gives me better visual experience when adding/changing methods (think about lot of json examples) .
I am thinking about structure like this:
index.md
includes:
-foo
and then in the in the includes file structure like this
/includes
/includes/foo.md
includes/foo/about.md
includes/foo/list.md
includes/foo/update.md
includes/foo/get.md
....
foo.md would have another 'includes:' directive
includes:
-about
-list
-update
-get
What do you think? Would it be possible somehow? Thanks a lot for any comment

Ah, like nested includes inside another include. You should be able to manually include things with middleman's partial syntax, which is how includes work under-the-hood.

I want to be able to nest includes too. I tried the partial syntax referenced above and it rendered as is within the file. It looks like that's primarily for folks writing directly in HTML or inside Ruby code. Is there a solution that works from within Markdown files?

The partial files I'm referencing using that syntax are using .md.erb extensions. I did not alter the file name of the top-level include file listed from the index.html.md file where the references to the partials live.
I've tried using a separate directory with relative paths and using the include directory with and without a leading _ for the file names.
This is the reference to the partials inside an _foo.md file in my includes:
<%= partial "../partials/partial1" %>
<%= partial "../partials/partial2" %>
<%= partial "partial3" %>
<%= partial "partial4" %>
Inside the source/partials directory I have the following files:
partial1.md.erb
_partial2.md.erb
Inside the source/includes directory I have the following files:
_foo.md
partial3.md.erb
_partial4.md.erb
See the attached screenshot to see it rendered in my local Middleman instance:

Hmmm, it looks like in the rendered output the quotes around the file names are curly quotes but I have straight quotes in my source file.

Is your index file called index.md.erb?

No. I didn't rename the file from the sample/getting started project so it's index.html.md

Ah, try that! Renaming the index.

It didn't help :(

I don't have time to look now since I'm preparing for a new term of school to start, but I'm reopening this so I can take a look later.

Hi Everyone,
Just wondering if there was ever a working solution to partials within Slate found?
Thanks,
Tim

@aarif4 You have a typo in your post, which just led me on a 30min debugging adventure.
In your 2nd step (beginning of the post) you wrote <% partial where it should in fact be <%= partial as you have correctly written in the rest of the post. Please correct, so that others don't experience the same as I did :)


Last LED always flickering with RaspBerry PI2 and APA102

Hi there!
My hardware is Rpi 2 with a 3.3V->5V line buffer between the SPI port and my 98 APA102 leds. I use a 48W 5V power supply (common ground with Rpi2 power supply). I tested hyperion on Raspbian/OpenElec and RasPlex.
The problem is that all leds are working fine but the last one, always flickering, no matter the rate i set.
I tried changing the leds number configured on hyperion, or swapping the led strips, but the problem always happens on LAST LED configured on hyperion (may not be the last led of a strip).
I looked at hyperion code, and i didnt found the code where start and end frame are created for the APA102 SPI data (i use as reference this page: https://cpldcpu.wordpress.com/2014/11/30/understanding-the-apa102-superled/). I discovered a strange 500.000 ns latch delay that i dont understand, too.
I wrote a sample C program to test my configuration, that continuously sets and change all my leds. The issue i reported only happens if i dont tranfer the end frame or if i dont delay after the SPI transfer before beginning a new transfer again.
So my question is: is there anyone experiencing the same problem? what rate are you using? what does such delay means? where are APA102 start and end frame coded in hyperion?
I'm a hacker/programmer, so i could help fixing that.

If your source is right you may want to try the following:
Replace the line https://github.com/tvdzwan/hyperion/blob/master/libsrc/leddevice/LedDeviceAPA102.cpp#L23
with
const unsigned int startFrameSize = 4;
const unsigned int endFrameSize = (ledValues.size() + 63) / 64 * 4;
const unsigned int mLedCount = (ledValues.size() * 4) + startFrameSize + endFrameSize;

Your source states that you need at least n/2 bits for the endFrame, hyperion seems to use fixed 32 Bits for the start-frame and fixed 32 Bits for the end-frame, meaning you it's not compatible with more than 64 Leds as is.

Thank you!
I could fix that in APA102 sources but i think the start and end frame
parameters should be related to the led device and not global (fixed) SPI
parameters.
Maybe we should move all the allocation/transfer code from main hyperion
code to the led device implementation.
What about the fixed value latch delay? What does it mean?
Ciao,
Paolo Scaffardi
skype: pscaffardi
http://www.arsenio.net
http://www.sognilucidi.it
2015-07-27 0:34 GMT+02:00 mrgreywater<EMAIL_ADDRESS>
If your source is right you may want to try the following:
Replace the line
https://github.com/tvdzwan/hyperion/blob/master/libsrc/leddevice/LedDeviceAPA102.cpp#L23
with
const unsigned int startFrameSize = 4;const unsigned int endFrameSize = (ledValues.size() + 63) / 64 * 4;const unsigned int mLedCount = (ledValues.size() * 4) + startFrameSize + endFrameSize;
Your source states that you need at least n/2 bits for the endFrame,
hyperion seems to use fixed 32 Bits for the start-frame and fixed 32 Bits
for the end-frame, meaning you it's not compatible with more than 64 Leds
as is.
—
Reply to this email directly or view it on GitHub
https://github.com/tvdzwan/hyperion/issues/361#issuecomment-125045126.

Reference #364

i'm sorry because i didnt see previous post but worked on my patch (see below), that worked fine with any pixed length. i looked at the code of previous patch, that was different by mine in end frame length computation (and documented in the linked page about APA102). My code below has been tested with any leds count up to 98.
#define MIN(a,b)	((a)<(b)?(a):(b))
#define MAX(a,b)	((a)>(b)?(a):(b))
#define APA102_START_FRAME_BYTES	4
#define APA102_LED_BYTES		4
#define APA102_END_FRAME_BITS_MIN	32
#define APA102_END_FRAME_BITS(leds)	MAX((((leds-1)/2)+1),APA102_END_FRAME_BITS_MIN)
#define APA102_END_FRAME_BYTES(leds)	(((APA102_END_FRAME_BITS(leds)-1)/8)+1)
#define APA102_LED_HEADER		0xe0
#define APA102_LED_MAX_INTENSITY	0x1f
int LedDeviceAPA102::write(const std::vector &ledValues)
{
const unsigned int startFrameSize = APA102_START_FRAME_BYTES;
const unsigned int ledsCount = ledValues.size() ;
const unsigned int ledsSize = ledsCount * APA102_LED_BYTES ;
const unsigned int endFrameBits = APA102_END_FRAME_BITS(ledsCount) ;
const unsigned int endFrameSize = APA102_END_FRAME_BYTES(ledsCount) ;
const unsigned int transferSize = startFrameSize + ledsSize + endFrameSize ;
if(_ledBuffer.size() != transferSize){
	_ledBuffer.resize(transferSize, 0x00);
}

unsigned idx = 0, i;
for (i=0; i<APA102_START_FRAME_BYTES; i++) {
	_ledBuffer[idx++] = 0x00 ;
}

for (i=0; i<ledsCount; i++) {
	const ColorRgb& rgb = ledValues[i];

	_ledBuffer[idx++]   = APA102_LED_HEADER + APA102_LED_MAX_INTENSITY;
	_ledBuffer[idx++] = rgb.red;
	_ledBuffer[idx++] = rgb.green;
	_ledBuffer[idx++] = rgb.blue;
}
for(i=0; i<endFrameSize; i++)
    _ledBuffer[idx++] = 0x00 ;

return writeBytes(_ledBuffer.size(), _ledBuffer.data());

}

Hi! I tried answering and creating a pull request but they both
disappeared. Anyway, i tested test patch attached and it worked fine up to
98 APA102 leds, and it is what i use on my raspian/openelec hyperion
configuration.
But i have to suggest to delegate the LEDS driver to apply the brightness
parameter of HUV, because, for example, APA102 has a 5 bits brightness
parameters into the LED frame. if you scale the RGB value using the
brightness, low brightness colors are wrong. You could add a constructor
header to super LED driver, to let the driver instruct hyperion about the
brightness is used by him, and let the brightness parameter available to it
in same way.
Ciao,
Paolo Scaffardi
skype: pscaffardi
http://www.arsenio.net
http://www.sognilucidi.it
2015-08-10 13:41 GMT+02:00 mrgreywater<EMAIL_ADDRESS>
Reference #364 https://github.com/tvdzwan/hyperion/pull/364
—
Reply to this email directly or view it on GitHub
https://github.com/tvdzwan/hyperion/issues/361#issuecomment-129416705.

Your previous source said you should only use the full brightness (0xFF) so I don't quite understand why you changed that.

A start frame of 32 zero bits (<0x00> <0x00> <0x00> <0x00>)
A 32 bit LED frame for each LED in the string (<0xE0+brightness>   )
An end frame consisting of at least (n/2) bits of 1, where n is the number of LEDs in the string.
Unlike the WS2812 protocol, no waiting period is required before the next update. As discussed before, I strongly suggest to only use the full brightness setting (31) to reduce flicker.

These two loops are completly irrelevant, since the data is initialized with zeros.
´´´
for (i=0; i<APA102_START_FRAME_BYTES; i++) {
_ledBuffer[idx++] = 0x00 ;
}
´´´
´´´
for(i=0; i<endFrameSize; i++)
_ledBuffer[idx++] = 0x00 ;
´´´
instead of defining MIN and MAX, you should probably use std::min and std::max.
All in all, this seems to make it overly complicated, I don't see the reason for all of this.

hi! Sorry for too much code and macros, but i'm new to C++. I am an
assembly, C and java programmer, and i wrote the patch on the fly with nano
editor, without knowing so much on hyperion architecture.
About the end frame computation, my algorithm is using the minimum exact
number of bytes needed, all set to 0. With the first suggested patch i
always had last led flickering. With mine it does not happens, no matter
the number of leds count i configure in hyperion.
I know i'm using full brightness, but lower values can be used, too. when i
use hyperion in night-time, i always have to change the HUV value to reduce
the brightness. Since APA102 supports that parameter, it could be used
instead of transforming RGB values. but no problem if not: this is not an
issue, only a suggestion to let the driver handle the value.
Ciao,
Paolo Scaffardi
skype: pscaffardi
http://www.arsenio.net
http://www.sognilucidi.it
2015-08-10 16:29 GMT+02:00 mrgreywater<EMAIL_ADDRESS>
Your previous source said you should only use the full brightness (0xFF)
so I don't quite understand why you changed that.
A start frame of 32 zero bits (<0x00> <0x00> <0x00> <0x00>)
A 32 bit LED frame for each LED in the string (<0xE0+brightness> )
An end frame consisting of at least (n/2) bits of 1, where n is the number
of LEDs in the string.
Unlike the WS2812 protocol, no waiting period is required before the next
update. As discussed before, I strongly suggest to only use the full
brightness setting (31) to reduce flicker.
These two loops are completly irrelevant, since the data is initialized
with zeros.
´´´
for (i=0; i<APA102_START_FRAME_BYTES; i++) {
_ledBuffer[idx++] = 0x00 ;
}
´´´
´´´
for(i=0; i<endFrameSize; i++)
_ledBuffer[idx++] = 0x00 ;
´´´
instead of defining MIN and MAX, you should probably use std::min and
std::max.
All in all, this seems to make it overly complicated, I don't see the
reason for all of this.
—
Reply to this email directly or view it on GitHub
https://github.com/tvdzwan/hyperion/issues/361#issuecomment-129474434.

I tested last hyperion and same issue again: last led is wrong. This is my patch (source included: please merge it): http://www.arsenio.net/download/hyperion_apa102_patch.zip

I can confirm I'm having the same problem with the latest hyperion. I thought it might be related to the lack of a 3.3->5V line buffer (it worked without one, so I didn't bother adding it).
Are you planning on merging the fix?

I can confirm the issue. And I have also added the line buffer, so that is not causing the problem. The patch by @pcaffardi worked, however.

is this issue fixed with the new changes?

yes, end frame was fixed
Closed Thank you


无法创建通道

Description
当我进入cli 用生成的通道文件创建通道时会报以下错误

Steps to reproduce
No response

please provide more specific log in English.
it's better for you to provide orderer side log with your peer command, as the error response is from orderer server.

Are you trying tutorial's  test-network?
I think you need to try this steps according to the tutorial seriously
Here is what you need to follow

Did not hear back from originator, closing.


Updated expected cosmos response

In https://github.com/dcos/cosmos/commit/6f7c25404c05ca0567fb4ccbb26f38d3df06a421 cosmos API was extended with 2 new keys lastUpdated and hasKonownIssues. Our package describe tests were failing due to changes in cosmos response.
To get clear JSON please use echo "<base64>" | base64 -d|jq ‘.data’ -r | base64 -d | gzip -d

@mesosphere-ci run linux integration tests

@mesosphere-ci run linux integration tests


[BUG] Theme does not work

Environment
Self-Hosted (Docker)
System
Chrome 122.0.6261.95, Docker in Proxmox, Safari on iPhone
Version
0.9.2
Describe the problem
Hello,
First of all, Thank you for creating this beaty. I was building my won homepage with such look myself but using old html :)
I've create my config. All is working great apart from themes. No matter which theme I select it always uses System. On Chrome I have light but on my iPhone dark it running as it is night. Most probably in the morning it will change to light. On Opera I default to dark as well due to browser settings
Additional info
title: UberDude's Homepage
lang: en
theme: deep
checkUpdates: true
behaviour:
target: _blank
services:
Home:
- title: Home Assistant
description: Home automation
link: https://xyz/
icon:
name: simple-icons:homeassistant
status:
enabled: true
Media:
- title: Plex
description: Plex Media Server
link: http://xyz/
icon:
name: mdi:plex
- title: qBittorrent
description: qBittorren Panel
link: http://xyz/
icon:
name: simple-icons:qbittorrent
Admin:
- title: Pi Hole
description: qBittorren Panel
link: http://xyz/
icon:
name: mdi:pi-hole

👋 @UberDudePL
Thanks for opening your first issue here!
To help make it easier for us to investigate your issue, please follow the contributing guidelines.
If you like this project, please ⭐ star our repo.

@UberDudePL hey, yeah, there was a problem. Fixed it in v0.9.4.
Thank you so much for your contribution!


Live reload ignoring custom .datignores?

Operation System: Windows
Beaker version: 0.8.8
I've been playing around with the local live reload dev workflows here... have a simple TypeScript build running from src to lib, where the src folder is included in .datignore.
Even though the contents of the src folder are not included in the archive, when using the live reload feature, I'm still seeing two refreshes - one for the src change and one for the lib change, when I just want one reload for the final JS file.
Note that ideally I wouldn't even have the src folder in .datignore, since I don't mind publishing it (view source and all), I just don't want it triggering live reloading. Perhaps reloadIgnores or similar in dat.json might even make sense?
I'm probably missing something obvious but couldn't see any mention of this issue or any watch ignore features in past issues or the docs, so any pointers would help, thanks!

Ah, it seems node_modules etc are ignored too, so simply supporting .datignore for live reload seems like the fix.
I'd be glad to contribute if you could point me to the part of the code.

Hey @guybedford, so .datignore and foldersync are getting deprecated from Beaker in the next release. We decided that because we're adding a FUSE interface, it might be smart to drop the folder-sync tool to reduce redundant concepts.
The downside of this is that, as far as I know, FUSE can't filter out files using a mechanism like .datignore which is a problem for projects using git or node_modules or etc. I've been thinking the solution will be to write a CLI tool which speaks to the hyperdrive-daemon (added in the new release) which basically does Beaker's previous syncing logic. I know it's a little frustrating that we're removing a feature, but I figure doing the same behavior via the CLI will be a better fit for the kind of users who need this solution.
The CLI is on my TODOs unless somebody else hits it first. I figure this would be a straight-forward feature to include in that tool.


Send email to applicants

Each admission at Samfundet has the last years gotten larger and larger, and during the evaluation meeting for admission V20 it was talked a lot about sending email directly from the admission system. Would make life a lot easier for many groups.

This is duplicated by #481. I don't think we actually want to send email from Rails, but we can export the list of emails of the applicants so it's easy to paste the emails into an email application.


How does azkaban judge status (successed, failed, killed)

How does azkaban judge status (successed, failed, killed)
azkaban是怎么判断任务成功或失败或被killed

Perhaps you can look at flowrunner.java


Remove restriction for Hotkeys

Description of the new feature / enhancement
Hi,
I think it would be nice not to be forced to use WINDOWS, CTRL, SHIFT etc. in addition to the Hotkey or disable that force via checkbox.
Scenario when this would be used?
Using a Buttonbox, Streamingdeck or extended Keyboard (e.g. F13-F20) would be more useful and faster without the system keys.
Supporting information
No response

Love the scenario
I would have a forced override of “I know what I’m doing”. :)

I’m assuming for everything. Correct?
min theory you could be unblocked now using KBM since it can do key to shortcut remapping

Basically I was just thinking about that override function for the "Video Conference Mute" hotkeys because I only use hotkeys there. But I think a global setting is more useful in case someone would like to use those button for other features.
you are right, this could be done with KBM but requires a additional step.

Great idea, like I said, we hadn’t really thought of this scenario!

I would also love this feature to be added

and if so,  do please add the media buttons as possibility.
Background: all the new headphones have a play/pause button which works with windows but none of them has a mute button. looking at you sony xm3,4,5, momentum 3,4, ultrasone isar and basically all headphones with bluetooth/mobile focus.
currently i use the keyboard-manager to map the play->pause button to win+shift+a but this sometimes triggers unwanted behaviour.
this could also help to resolve following issues:
https://github.com/microsoft/PowerToys/issues/19628
https://github.com/microsoft/PowerToys/issues/14220
https://github.com/microsoft/PowerToys/issues/19402


samples: migrate samples from GoogleCloudPlatform/java-docs-samples /spanner/cloud-client

@skuruppu I've updated the samples and pom files so these can be added to the client library repository. The TracingSample requires a number of additional dependencies, which means that the pom files also include a number of non-Spanner dependencies. Is this something that we want to keep that way?

Really sorry for the late reply. It looks like the pom files that were modified were specific to the samples. Since the samples won't be packaged up with the client library, I don't think it's a problem that they include non-Spanner dependencies. But let me know if I  misunderstood something.

It looks like the pom files that were modified were specific to the samples. Since the samples won't be packaged up with the client library, I don't think it's a problem that they include non-Spanner dependencies. But let me know if I misunderstood something.

That is correct, and these dependencies are also imported in the java-docs-samples repo for the samples there, so this shouldn't really be a problem. The only issue that we have had with it in the past, is that as these dependencies are not managed by the bom, they do cause some dependency conflict issues sometimes. That is not really related to moving these samples to this repo, but it might be something we should look into later to prevent sudden build failures when upgrading the client library.

@googlebot I fixed it.

@chingor13 do we need a "googlebot I fixed it" from everyone who has a commit in this PR?

For the CLA, we can manually flip it because the CLA was signed for the original commits that are being migrated.
Ideally, let's squash Knut's test fix commits, and use a rebase/merge so we preserve each commit in history for the samples

@chingor13 it seems the only thing missing is the CLA for the commit authors (can not merge without it). Do you know what could we do to fix this?

We are ok to flip the CLA bot as these were already committed to the java-doc-samples repo

@chingor13 sorry, I don't know what you mean by "flip the CLA bot". What should I do to fix this one? (btw, I can not merge, it is disabled because of the CLA errors).


Single Sign Out issue in Identity Server 3

I'm using JavaScript application in the Client Side and I'm using Identity Server 3 as an Auth Service. In Client Side I used the OIDC-Client to achieve the Single Sign On and Single Sign Out. I'm having issue in Single Sign Out. I opened a same application in two tabs, If I logged out in one application, the next tab is still alive in the session.
I think the IFRAME is not updating from the check session endpoint, After that, I downloaded a sample JavaScript application from github and I tried the same, there also I faced the same issue. Kindly assist me.
Finally I concluded the issue is in Identity Server Token Service not in Client application. What are all the preliminary checks I need to check in an Identity Server Auth Service regarding Single Sign Out (Check Session Endpoint) ?

If I commented the following Custom View Service in Startup Factory configuration, Single Sign Out is working fine.
 factory.ViewService = new IdentityServer3.Core.Configuration.Registration<IViewService,CustomViewService>();
Kindly assist me whats the actual issue and what need to do to fix this issue. If I use the above said Custom View Service, its failing to logout (automatic logout is not happening) in other tabs (Check Session Endpoint is not updating the log out state) and I press the F5 or refresh then its redirecting to login.

This repository is no longer in active development or maintenance, other than reported security vulnerabilities.
If you have questions and are seeking free support, see here for more details.
If you require commercial support, see here for more details.


Update to support 2.12 and 2.13

Update code to support both 2.12 and 2.13. Drop support
for 2.11.
Fix deprecation warnings from 2.13.
Update scala, sbt, plugin and dependency versions.
Update travis build matrix to build against Java 8 and 11.

I realise you've already reviewed this @dave-handy