m5burner.json out-dated?

There seems 1.4.0 available but in the m5burner.json file it's still 1.3.2.

Take a look at the tags: https://github.com/EeeeBin/UIFlow-Firmware/tags
For some reason the maintainer did not update master


[FIX] Issue #709: do not enqueue all responses

High Level Overview of Change
Do not enqueue messages that correspond to an existing request

Context of Change
Bug Fix: At the moment, we are enqueuing all the incoming messages.

Type of Change

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Refactor (non-breaking change that only restructures code)
[ ] Tests (You added tests for code that already exists, or your new feature included in this PR)
[ ] Documentation Updates
[ ] Release

Did you update CHANGELOG.md?

[ ] Yes
[ ] No, this change does not impact library users
This change impacts the memory usage of the system, hence is not directly perceivable by end users.

I'm not able to find requests which increase the queue size
class TestWebSocketClient(TestCase):
    """Performace test of the async web_socket_client."""

    def test_web_socket_client(self: TestWebSocketClient) -> None:
        URL = "wss://s.devnet.rippletest.net:51233"

        with WebsocketClient(URL) as client:
            pendings_msg_size = []

            for _ in range(100):
                client.request(ServerInfo())
                pendings_msg_size.append(len(client._open_requests))

            print(max(pendings_msg_size)) # returns 0

I'm not able to find requests which increase the queue size
class TestWebSocketClient(TestCase):
    """Performace test of the async web_socket_client."""

    def test_web_socket_client(self: TestWebSocketClient) -> None:
        URL = "wss://s.devnet.rippletest.net:51233"

        with WebsocketClient(URL) as client:
            pendings_msg_size = []

            for _ in range(100):
                client.request(ServerInfo())
                pendings_msg_size.append(len(client._open_requests))

            print(max(pendings_msg_size)) # returns 0

Try client._messages instead of client._open_requests.

_messages

client._messages has a qsize of 0

How did you test this change? If not by adding a test case, then what?

I don't have a good idea to test this change. But irrespective of the impact on this issue, I think this change is useful.
I don't know which inputs would reproduce the issue description.


iOS crashes when navigating back and forth with Shell animated presentation

Hi,
I get a crash the second time I try to navigate to a page that I have already navigated to once.
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '<Microsoft_Maui_Controls_Platform_Compatibility_ShellSectionRenderer: 0x111029c00> is pushing the same view controller instance (<Microsoft_Maui_Platform_PageViewController: 0x11c438f60>) more than once which is not supported and is most likely an error in the application

Scenario is :
Page A > go to Page B > back to A > go to B = crash
Page B is set up with
Shell.SetPresentationMode(this, PresentationMode.Animated);

Navigation is performed  in page A :
Shell.Current.GoToAsync("pageB");

And in page B
Shell.Current.GoToAsync("..");

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

ID: 97825438-0df2-dbc2-8f1e-fb1490697a2c
Version Independent ID: 97825438-0df2-dbc2-8f1e-fb1490697a2c
Content: .NET MAUI Shell navigation - .NET MAUI
Content Source: docs/fundamentals/shell/navigation.md
Product: dotnet-mobile
Technology: dotnet-maui
GitHub Login: @davidbritch
Microsoft Alias: dabritch

Hi @eli191
It's possible that this is a product bug, or it could also be as the error suggests - an unsupported scenario. It's impossible to know without a full repro case. Either way, this needs to go to the engineering repo. Thanks!


feat: support alternate storage clients when opening storages

This is an advanced option that most users will probably never use, however, it will allow you to do the following now:
import { Actor, Dataset, RequestQueue } from 'apify';
import { MemoryStorage } from '@crawlee/memory-storage';

const memoryStorage = new MemoryStorage({ persistStorage: false, writeMetadata: false });
await Actor.init();

// In the cloud
const dataset = await Dataset.open();
// In memory!!
const rq = await RequestQueue.open(null, { storageClient: memoryStorage });

Available on all storages, so if you may need a temporary kvs for instance, now you can have that too

Going forward, I think we should have some performance tuning guide, just like we have the "Avoid getting blocked" guide. It would mention the differences between crawler types when it comes to performance, including JSDOM etc, ale show some of those more advanced optimizations.

Let's do the example in a separate PR, I want to get this out as stable.


[Feature] Subscribed to kytos/topology.links.metadata.(added|removed) events

Fixes #4
Release notes
[2.4.0] - 2021-12-20
Added

Subscribed to to kytos/topology.links.metadata.(added|removed) events to update the graph when computing the CSPF accordingly.

Looks good to me! Pretty neat and important change to reflect changes on link metadata right away to CSPF. Thanks!

Thanks for your review, Italo, much appreciated.


[$1000] Web - The focus on timezone is highlighted in full in compared to year option on date of birth

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Go to staging dot on web chrome
Settings > Profile >Personal details
Select date of birth and select the year field and notice that when you hover over the date years, the focus is not fully covered
But now go back and select the timezone and hover over the different options and notice that the timezone options focus are fully covered
Thus, there's inconsistency between two areas in the same application

Expected Result:
The focus on timezone should not be highlighted in full in a similar way how the focus on the year option on date of birth does to maintain consistency OR vice versa
Actual Result:
The focus on timezone is highlighted in full in compared to year option on date of birth
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: 1.3.27-6
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/93399543/4dbd1bf2-f106-4f1f-9cbd-44414179d5fc
https://github.com/Expensify/App/assets/93399543/eeaa350e-661d-4184-b9fb-67741c4dd177
Expensify/Expensify Issue URL:
Issue reported by: @priya-zha
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1686757443117449
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~0192d5df321e7923f8
Upwork Job ID:<PHONE_NUMBER>150655488
Last Price Increase: 2023-06-21

Proposal

Please re-state the problem that we are trying to solve in this issue.
Inconsistent UX Behaviour between the dropdown selector i.e. focusing the timezone and year dropdown are different
What is the root cause of that problem?
The unncessary padding provided as the value of contentContainerStyles prop in the OptionsSelector used in the YearPickerPage.js component is causing this.
What changes do you think we should make in order to solve the problem?
To resolve the issue, we can simply remove the contentContainerStyles prop from the OptionsSelector as an easy fix.
However, upon further reviewing the OptionSelector component, I realized that its simply wrapping the BaseOptionsSelector by passing the same set of props and ref. I feel that there is lot more code written there making it little heavy at the moment. The component itself need some love in terms of the refactoring and can be trimmed down along with moving it from using a class based component to functional component along with moving the logic to its own hook (following the separation of concern philosophy).
What alternative solutions did you explore? (Optional)
None

@sobitneupane can you review these proposals?

Proposal
Please re-state the problem that we are trying to solve in this issue.
Inconsistent : The focus on timezone is highlighted in full in compared to year option on date of birth
What is the root cause of that problem?
It is because in OptionsSelector of TimezoneSelectPage component, we did
not put  custom style as  prop (contentContainerStyles)
What changes do you think we should make in order to solve the problem?
We have to add prop contentContainerStyles as a prop OptionsSelector in. TimezoneSelectPage component.
<OptionsSelector                             textInputLabel={this.props.translate('timezonePage.timezone')}                             value={this.state.timezoneInputText}                             onChangeText={this.filterShownTimezones}                             onSelectRow={this.saveSelectedTimezone}                             optionHoveredStyle={styles.hoveredComponentBG}                             sections={[{data: this.state.timezoneOptions, indexOffset: 0, isDisabled: this.timezone.automatic}]}                             shouldHaveOptionSeparator                             safeAreaPaddingBottomStyle={safeAreaPaddingBottomStyle}                             initiallyFocusedOptionKey={_.get(_.filter(this.state.timezoneOptions, (tz) => tz.text === this.timezone.selected)[0], 'keyForList')}                             contentContainerStyles={[styles.ph5]}                         />
It worked well.

@chiragxarora's proposal looks good to me.
🎀 👀 🎀 C+ reviewed

No padding in yearpicker

Yep, agreed we can use @chiragxarora's proposal in this case

I think so - basically all list views are getting refactored. Does that sound right @thiagobrez?

Honestly I think we can just close this one out because the refactor is coming. Let's wait for Thiago to confirm.

I think so - basically all list views are getting refactored. Does that sound right @thiagobrez?

@shawnborton That's correct. We currently have a variety of lists being rendered by different components with different styles. In this tracker issue we discussed about it, and we're creating whole new components (here, here and here) to make it easier to use from a developer perspective, and maintain consistency from a design perspective
Both the Timezone list and the Year Picker list were already addressed in the first PR. The separator lines were also removed: https://github.com/Expensify/App/pull/21048
I don't think it's worth fixing OptionsSelector, OptionsList or OptionRow components as they're getting completely replaced soon

Awesome thanks for confirming. So sounds like maybe we just close this one out then.

Agreed, let's close this out for now 👍


tomcat9: 9.0.97 -> 9.0.98, tomcat10: 10.1.33 -> 10.1.34

Fixes CVE-2024-50379.
Changelog:
https://tomcat.apache.org/tomcat-10.1-doc/changelog.html#Tomcat_10.1.34_(schultz)
https://tomcat.apache.org/tomcat-9.0-doc/changelog.html#Tomcat_9.0.98_(remm)
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

I'm not quite sure about the 24.05 backport. There are quite a few deprecations in the meantime that at least I can't judge the impact of. The fix for the CVE also seems not trivial to patch manually.


F#4.0 interactive: Method 'FSharpAsync.AwaitTask' not found

I'm getting this error message:
W 2015-09-01T13:10:52.7268710+00:00: tcp request processing failed [Suave.Tcp.tcpIpServer.job] cont...
System.MissingMethodException: Method 'FSharpAsync.AwaitTask' not found.
  at Microsoft.FSharp.Control.AsyncBuilderImpl+callA@805[Microsoft.FSharp.Core.FSharpChoice`2[Microsoft.FSharp.Core.Unit,Suave.Sockets.Error],Microsoft.FSharp.Core.Unit].Invoke (Microsoft.FSharp.Control.AsyncParams`1 args) [0x0002b] in /private/tmp/source-mono-mac-4.0.0-branch-c5sr3/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/fsharp-fsharp-1f79c04/src/fsharp/FSharp.Core/control.fs:809

According to the stack trace, this fsharp-repo commit is being used: https://github.com/fsharp/fsharp/commit/1f79c04
Repro is this code base: https://github.com/haf/suave-presentation.2015-09-03/commit/ee7b3d71fb04eb4466010dc9ba6142b0de2ad051

d/l code base
pushd public && npm install
popd
mono paket.bootstrapper.exe
mono paket.exe install
./site.fsx

Make a request to http://localhost:8083 in a browser on OS X.
$ mono --version
Mono JIT compiler version 4.0.3 ((detached/d6946b4 Wed Jul 29 14:46:23 EDT 2015)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
	TLS:           normal
	SIGSEGV:       altstack
	Notification:  kqueue
	Architecture:  x86
	Disabled:      none
	Misc:          softdebug
	LLVM:          yes(3.6.0svn-mono-(detached/a173357)
	GC:            sgen

You'll get either this error or https://bugzilla.xamarin.com/show_bug.cgi?id=33534
Full stack trace:
./site.fsx
V 2015-09-01T14:05:50.8957870+00:00: initialising BufferManager with 827392 bytes [Suave.Socket.BufferManager]
I 2015-09-01T14:05:50.9939010+00:00: listener started in 93.933 ms with binding <IP_ADDRESS>:8083 [Suave.Tcp.tcpIpServer]
V 2015-09-01T14:05:52.0607490+00:00: <IP_ADDRESS> connected, total: 1 clients [Suave.Tcp.tcpIpServer.job]
V 2015-09-01T14:05:52.0643790+00:00: reserving buffer: 811008, free count: 99 [Suave.Tcp.tcpIpServer.job] [Suave.Socket.BufferManager]
V 2015-09-01T14:05:52.0679210+00:00: -> processor [Suave.Web.httpLoop.loop]
V 2015-09-01T14:05:52.0688480+00:00: reading first line of request [Suave.Web.processRequest]
V 2015-09-01T14:05:52.0782750+00:00: reserving buffer: 802816, free count: 98 [Suave.Web.readMoreData] [Suave.Socket.BufferManager]
V 2015-09-01T14:05:52.0911970+00:00: reading headers [Suave.Web.processRequest]
V 2015-09-01T14:05:52.0943960+00:00: freeing buffer: 802816, free count: 99 [Suave.Web.split] [Suave.Socket.BufferManager]
V 2015-09-01T14:05:52.1041330+00:00: parsing post data [Suave.Web.processRequest]
V 2015-09-01T14:05:52.1063110+00:00: <- processor [Suave.Web.httpLoop.loop]
V 2015-09-01T14:05:52.1117440+00:00: Files.browse trying file (local file url:'/' root:'/Users/h/dev/haf/suave-presentation.2015-09-03/build/public/') [Suave.Http.Files.browse]
V 2015-09-01T14:05:52.1142850+00:00: failed to find resource by key '/Users/h/dev/haf/suave-presentation.2015-09-03/build/public/' [Suave.Http.ServeResource.resource]
V 2015-09-01T14:05:52.1471990+00:00: 'Connection: keep-alive' recurse [Suave.Web.httpLoop.loop]
V 2015-09-01T14:05:52.1473530+00:00: -> processor [Suave.Web.httpLoop.loop]
V 2015-09-01T14:05:52.1473700+00:00: reading first line of request [Suave.Web.processRequest]
V 2015-09-01T14:05:52.1475070+00:00: reserving buffer: 802816, free count: 98 [Suave.Web.readMoreData] [Suave.Socket.BufferManager]
V 2015-09-01T14:05:52.1869250+00:00: reading headers [Suave.Web.processRequest]
V 2015-09-01T14:05:52.1870360+00:00: freeing buffer: 802816, free count: 99 [Suave.Web.split] [Suave.Socket.BufferManager]
V 2015-09-01T14:05:52.1881540+00:00: parsing post data [Suave.Web.processRequest]
V 2015-09-01T14:05:52.1882030+00:00: <- processor [Suave.Web.httpLoop.loop]
V 2015-09-01T14:05:52.1882920+00:00: Files.browse trying file (local file url:'/js/index.js' root:'/Users/h/dev/haf/suave-presentation.2015-09-03/build/public/') [Suave.Http.Files.browse]
W 2015-09-01T14:05:52.2005860+00:00: tcp request processing failed [Suave.Tcp.tcpIpServer.job] cont...
System.MissingMethodException: Method 'FSharpAsync.AwaitTask' not found.
  at Microsoft.FSharp.Control.AsyncBuilderImpl+callA@805[Microsoft.FSharp.Core.FSharpChoice`2[Microsoft.FSharp.Core.Unit,Suave.Sockets.Error],Microsoft.FSharp.Core.Unit].Invoke (Microsoft.FSharp.Control.AsyncParams`1 args) [0x00000] in <filename unknown>:0
V 2015-09-01T14:05:52.2012350+00:00: <IP_ADDRESS> disconnected, total: 0 clients [Suave.Tcp.tcpIpServer.job]

Does that version of mono have F#4?

I think the first F#4 in mono begins with #a89330f

As far as I know mono 4.4 release will have F#4 support, unless you build mono yourself.

This issue is that I can't run F# 4.0 on mono despite fsharpi telling me I should be able to. Is fsharpi wrong? Doesn't fsharpi load the assemblies by the side of what it's implemented in itself?

This issue is that I can't run F# 4.0 on mono despite fsharpi telling me I should be able to.

What's the output from fsharpi?  The above seems to say Mono 4.0, but that doesn't mean F# 4.0 (Mono 4.4 has F# 4.0, Mono 4.0 has F# 3.1)

I was thinking the flag --noframework – and then #r "FSharp.Core" – or is it by design that fsharpi should not be able to load other versions of FSharp.Core than what it's been compiled with?

Correct, it can't load other versions (though does binding redirects to the FSharp.Core being used where necessary)

So in this case, I'm loading a lib depending on F# 4.0 into fsharpi compiled with F# 3.1; should fsharpi add a binding redirect to 3.1 (then it shouldn't crash), or can binding redirects only be from lower versions to higher versions?

This is Mono 4.0.3 on OS X by the way.

It does seem that the bug mentioned here (missing AwaitTask) could happen if you are down-binding <IP_ADDRESS> to <IP_ADDRESS>.  In any case, that wouldn't be a valid scenario.  If you are using a library depending on FSharp.Core 4.4.00 you should consume it using fsharpi/fsi.exe for  4.0.  What library are you depending on, and is there any reason for it to have a dependency on FSharp.Core <IP_ADDRESS>?  The recommendation is that libraries depend on the lowest version of FSharp.Core possible (generally <IP_ADDRESS> or <IP_ADDRESS>)

(Closing as I don't think this is an F# bug, please reopen if necessary)

Thanks, that's a good exhaustive answer.


unsafe_raw with helper that returns nil gives LocalJumpError (no block given)

I'm using vite-rails in a new project together with Phlex. They supply a few helpers to set up the assets:
<%= vite_client_tag %>
<%= vite_javascript_tag "application" %>
<%= vite_stylesheet_tag "application" %>

I use them in my Phlex layout like so:
unsafe_raw helpers.vite_client_tag
unsafe_raw helpers.vite_javascript_tag "application"
unsafe_raw helpers.vite_stylesheet_tag "application"

The first helper, vite_client_tag can return nil when the vite dev server is not running (in production or when you dont' explicitly start it in development):
https://github.com/ElMassimo/vite_ruby/blob/41441af83f5cf3b3d02dcdd01fee4aaa1b564a07/vite_rails/lib/vite_rails/tag_helpers.rb#L7
This leads to a no block given, since unsafe_raw expects either some content or a block:
https://github.com/joeldrapper/phlex/blob/b3324fa7ffdc4b65586ac3fec1b8df6eaa9eef4a/lib/phlex/html.rb#L227
I've fixed it for now with unsafe_raw helpers.vite_client_tag if helpers.vite_client_tag, but I think it's fair to assume that helpers can return nil without a block.
I'm not sure what the correct fix is performance wise, would a simple if block_given? check be sufficient?

I think it should be reasonable to change unsafe_raw to just this. I can't remember exactly why it accepts a block, but I have a feeling it was to get around something that isn't an issue anymore.
def unsafe_raw(content)
  return nil unless content
  @_target << content
end


[Error] Locally iterating through a large for loop throws wasm trap

Issue
for (i in Iter.range(0,<PHONE_NUMBER>00000)) {};

Locally running a very long for loop through wasmtime (not in a dfx deployed local replica) results in the following error.
Error: failed to run main module `Test.wasm`

Caused by:
    0: failed to invoke command default
    1: wasm trap: wasm `unreachable` instruction executed
       wasm backtrace:
           0:  0x3b6 - <unknown>!rts_trap
           1: 0xcef0 - <unknown>!motoko_rts::trap_with_prefix::hbb665872bf969d20
           2: 0xb34d - <unknown>!motoko_rts::rts_trap_with::h91063078d15271f7
           3: 0xb5d3 - <unknown>!motoko_rts::memory::ic::grow_memory::hb99ecdf4fcf0660e
           4: 0xd226 - <unknown>!mp_calloc
           5:  0xf16 - <unknown>!mp_init
           6: 0xa09e - <unknown>!bigint_of_int64
           7:  0x5d2 - <unknown>!B_gt
           8:  0x6e2 - <unknown>!next
           9:  0x469 - <unknown>!init
          10:  0x73b - <unknown>!_start

Motivation
I was comparing the results of a Motoko integer encoding library with the algorithm the I adopted from JavaScript, and lazily tried to do this by generating encodings for all integers from 0 to 200 ~billion~ trillion.
To Reproduce
Clone and run -> https://github.com/ByronBecker/rts_trap_unreachable_error

It's expected that this will happen as some point, just wanted to document this somewhere.
It looks like the max iterations I can get up to is 1_000_000_000 (1 million).
As a quick comparison can go at least 100X this using the same code in node,
// JavaScript/TypeScript code, run from node
for (let i=0; i<100000000000; i++) {); // takes a minute or so, but runs without complaint.

and I can pass the --max-old-space-size parameter if I wish for a process to consume more memory (i.e. 4096 for 4GB).

1_000_000_000 is one billion, right?

1_000_000_000 is one billion, right?

🤦 You are right, I am way off. Probably time for some sleep 😆
Yes 1 billion, the numbers are more accurate than my own perception of them 😆

So the problem is that comparisons to such a high bound will always drop us into bignum-arithmetic land. Which implies heap allocations on all comparisons, unless we teach moc to cache the bignum. Alternatively we could compare against a MAX_SMALL_BIGNUM first, and if that fails check against the real (cached) bound.

Makes sense - this is a low priority issue from my side by the way - I've just been toying around with creating lexicographic encodings of large integers - it's also easy for me to put upper bound limits on my library.

It probably doesn't help that the wasmtime backend will never do gc currently, right @ggreif, @nomeata?

@crusso right, but bignum comparison (and other ops involving big constants) shouldn't unnecessarily cons like there's no tomorrow!


Add support for RTL languages

Expected Behavior
Currently ScratchJr is not designed for Right to Left languages like Hebrew or Arabic. It would be nice to be able to support them at some point, but it requires a lot more than just providing the strings in one of those langauges.
Design Questions:

should the horizontal blocks go left to right or right to left?
should the green flag be on the upper left?
does the paint editor UI need to be flipped horizontally?
review all the icons with an implied direction. e.g. Grow shows a person getting bigger LTR. If the direction of the blocks change, then many of the icons must change too.

Preliminary list of UI changes:

blocks categories should be on the right with the blocks palette on the left
blocks in the blocks palette should be right aligned, with undo/redo on the left and flipped in order (undo on the right)
put the list of characters to the right of the stage, and the list of pages to the left of the stage
lobby: have the add project button in the upper right, and projects orders RTL
lobby: reverse the order of all the navigation icons/logo
help and reference pages: make sure that text is formatted correctly in RTL (e.g. headers are on the right not left)
asset libraries: reverse the top menu bar and list the assets RTL

Already part of project accessibility guidelines, closing this out.


[Multiverse-Core]

How to solve this problem?

[21:24:25] [Server thread/WARN]: [Multiverse-Core] "Multiverse-Core v4.0.0-b766" has registered a listener for org.bukkit.event.entity.EntityCreatePortalEvent on method "public void com.onarandombox.MultiverseCore.listeners.MVPortalListener.entityPortalCreate(org.bukkit.event.entity.EntityCreatePortalEvent)", but the event is Deprecated. "Server performance will be affected"; please notify the authors [Rigby, fernferret, lithium3141, main--, dumptruckman].

It's not a problem besides this being a duplicate of #2000


Configured the makeBoxDecorationJson() to apply the border-radius and modified github.json

Added code for makeBoxDecorationJson() which allow the styling for box decoration

Thank you for your PR.
Due to the existing of a draft theme implementation under development already, I will use this PR as a reference to add the ability to get borderRadius from the Json theme file.
Imad. L

Ok, no problem,
thank you.
On Wed, Jul 3, 2024 at 6:57 PM Imad Laggoune @.***>
wrote:

Thank you for your PR.
Due to the existing of a draft theme implementation under development
already, I will use this PR as a reference to add the ability to get
borderRadius from the Json theme file.
Imad. L
—
Reply to this email directly, view it on GitHub
https://github.com/Native-Bits-Team/M-Flow/pull/6#issuecomment-2206077924,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZW24237XAPMCWGGNOAZMA3ZKP34TAVCNFSM6AAAAABKI2YRA2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBWGA3TOOJSGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


Kubernetes 1.29

We're currently on 1.28 but 1.29 is available for EKS now (since 23 Jan).
EKS Release notes
k8s release announcement

https://github.com/alphagov/govuk-helm-charts/pull/1894
https://github.com/alphagov/govuk-infrastructure/pull/1171
https://github.com/alphagov/govuk-infrastructure/pull/1170
https://github.com/alphagov/govuk-infrastructure/pull/1169


OpenVPN client - Gateway misconfigured or missing reply-to

Hi Opnsense team,
I'm not sure weather it's a bug or if I'm doing something wrong, but after a week of being unsuccessful on the forum and on IRC I'm guessing it must be a bug.
Here's my latest thread for full reference : https://forum.opnsense.org/index.php?topic=19676.0
My issue is that I have an OpenVPN client configured to get a public IP. Whatever I do, the Gateway created when that VPN comes up has "dynamic" in IP the field when editing, but that seems to resolve to the interface's IP when confirming (I'm blacking it out because it's a public IP) :

That IP itself is routed to the loopback interface, which I'm assuming is added automatically :

(the interface's IP is the red box in the above screenshot, you can see it's routed to lo0).
The problem here is that any incoming connections on that interface, or outgoing policy based routed connections are therefore going through lo0 and never leave the router. If I try to do an http query, I get my own local HAProxy answering since it's bound to port 80, it's never going through the ovpnc1 interface.
If I edit the gateway, remove dynamic and put another IP (I've been using the first IP of the bloc my IP is in, since that has an automatic route) then policy based routing starts to work fine. But I've looked at /tmp/rules.debug and in that case the reply-to bits are missing from the inbound rules, which means the default gateway is used to answer incoming connections (internet -> vpn port 80 -> haproxy -> wan interface -> dropped by my isp).
With an edited vpn gateway, if I edit the /tmp/rules.debug file to add the missing reply-to and re-apply that file then everything works as expected.
I think the bug here is that the gateway doesn't get generated correctly by default, I don't think I should have to edit that by hand to change it's IP, right ? Since the reply-to are there and valid as long as I don't edit the gateway, I think everything would work fine if "dynamic" were to resolve to the correct IP.
An alternative fix would be to be able to force a reply-to on a given rule, but it doesn't look like there's any way to do that short of editing the file after each rule change / reboot.
Sorry for the long text, I hope the issue is clear.
If I'm doing something wrong then sorry, but I have been stuck on this for a week now and it really looks like a bug to me.
I did all the latest updates and no difference.
Thanks !

Hello,
To second this I also have this long-standing issue with OpenVPN. When an OpenVPN client is set up for policy routing (Don't pull routes and Don't add/remove routes are checked on the VPN:OpenVPN:Clients page the gateway on System:Gateways:Single is set to the client IP instead of the server if IP address is set to dynamic on the gateway setup page.
Just a hunch but could the problem be in the ovpn-linkup script?
if [ -n "${route_vpn_gateway}" ]; then
	/bin/echo ${route_vpn_gateway} > /tmp/$1_router
elif [ -n "${ifconfig_remote}" ]; then
	/bin/echo ${ifconfig_remote} > /tmp/$1_router
elif [ -n "${ifconfig_local}" ]; then
	/bin/echo ${ifconfig_local} > /tmp/$1_router
As far as I understand this piece of code seems to put an IP address in /tmp/ovpnc?_router - ANY IP address for that matter gateway, remote or local - so might confuse later on what the IP address is for?

I'd add that I'm getting that weather or not I tick the Don't pull routes and Don't add/remove routes checkboxes, I don't think this is related, but that is indeed the goal for me too.
It's been like that for months and I've never really bothered looking into it since editing the Gateway solves the policy based routing issues, but unfortunately that still doesn't make inbound connections work and that's what I'm looking for now.
Thanks for the related issues, I hadn't seen these ! Good to know it's affecting more users, I was afraid it was some weirdness in my config.
Might be worth trying to fiddle with that script, see if your hunch is right, I'll try to take a look over the week end

I would have thought the pull/add-remove routes switches might set up the routes correctly with ip link commands.
Anyway I had a look at the script and indeed the gateway issue can be solved by modifying it (I sent a PR).
Speaking of strange routing issues I also have problems even on the outbound connections (or maybe the related inbound answers I am not entirely sure). It seems like lost packets or packets delivered to the wrong interface. For example if I route ICMP through OpenVPN I have roughly 50%-70% chance of getting an answer to pings through the tunnel - while if I ping the same non-local IP address (say Google) outside the tunnel I have an answer every time. The strange thing is that this goes in 'bursts' so if the connection is set up correctly it works, if not it will not start to work by itself (I have to actively reinitiate a connection for it to work). It feels like some kind of round-robin connection routing going on (incorrectly) behind the scene. (Maybe shared forwarding?)
It seems like a deeper OS-level issue and might be related to #4094.

I think I have found the reason for my strange round-robin-like error, and that might be the reason for your problem as well: NAT settings.
My setup has two OpenVPN connections policy routed with entirely different IP ranges so they don't clash. For testing I set up NAT for the OpenVPN interface, which was working at the time so (of course) I forgot about it. It was just recently that I noticed that sometime packets are not going through, checking the firewall logs I saw packets on the OpenVPN interfaces with the wrong IPs. (Of course the NAT acted in a random way because of this.)
Long story short double check your outbound NAT rules, they might be the culprit. (Defining separate rules for each OpenVPN connection solved the issue for me so far.)

Hi
You have to define oubout NAT rules by hand because of this bug indeed. By
default they won't be generated, I don't think it's the cause but rather a
symptom of the same issue.
On Wed 28 Oct 2020, 10:47 Hippi Viking<EMAIL_ADDRESS>wrote:

I think I have found the reason for my strange round-robin-like error, and
that might be the reason for your problem as well: NAT settings.
My setup has two OpenVPN connections policy routed with entirely different
IP ranges so they don't clash. For testing I set up NAT for the OpenVPN
interface, which was working at the time so (of course) I forgot about it.
It was just recently that I noticed that sometime packets are not going
through, checking the firewall logs I saw packets on the OpenVPN interfaces
with the wrong IPs. (Of course the NAT acted in a random way because of
this.)
Long story short double check your outbound NAT rules, they might be the
culprit. (Defining separate rules for each OpenVPN connection solved the
issue for me so far.)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/opnsense/core/issues/4419#issuecomment-717850713, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGVHTZ4ZHFNX5KCTJWVCLLSM7ZC3ANCNFSM4SWGQ6MQ
.

Hello!
I too am having issues routing with PIA and OPENVPN. The client connects to PIA without issue...but nothing leaves the router. I have setup the outbound NAT rules...and still can't get any traffic to leave the router....the traceroutes just timeout.
I just migrate from PFsense...and copied my pfsense setup (almost exactly)...and it just doesn't work on OPNSense. A developer needs to look into this. I am happy to help where I can... just let me know what you need from my setup.

Hello!
I too am having issues routing with PIA and OPENVPN. The client connects to PIA without issue...but nothing leaves the router. I have setup the outbound NAT rules...and still can't get any traffic to leave the router....the traceroutes just timeout.
I just migrate from PFsense...and copied my pfsense setup (almost exactly)...and it just doesn't work on OPNSense. A developer needs to look into this. I am happy to help where I can... just let me know what you need from my setup.

Please open a thread im Forums with all details and screenshots

So typically a openvpn server would have push options to clients to make sure they are getting the correct settings.
For my vpn provider Surfshark - I do some pull ignore filters so that i can enable the pull routes option in the vpn client config, otherwise the opnsense up script will correctly set the default gw of the vpn server.
Example:
pull-filter ignore "block-outside-dns";
pull-filter ignore "dhcp-option";
Logic in pfsense is different for some reason, and this confused me.
I dont have the 'add/remove routes ticked' because i dont want the vpn gw being set as the main route gw and tunneling all of my hosts on that gw.
So just double check these options, increase the debug level to 4 to see what is going on with or without these two options?

https://github.com/opnsense/core/commit/0ad3ec432ff0d1ee45d9969424b7e5b19eb903e2

I asked question in another bug, but maybe this thread is more relevant. Would anyone recommend any special setting to resolve incorrect gateway address?


System.TypeInitializationException: The type initializer for 'AspNetCore.SassCompiler.ChildProcessTracker' threw an exception.  ---> System.DllNotFoundException: Unable to load shared library 'kernel32.dll' or one of its dependencies.

When running dotent watch I got the following
[14:16:32 FTL] Host terminated unexpectedly due to an unhandled exception
System.TypeInitializationException: The type initializer for 'AspNetCore.SassCompiler.ChildProcessTracker' threw an exception.
 ---> System.DllNotFoundException: Unable to load shared library 'kernel32.dll' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable: dlopen(libkernel32.dll, 1): image not found
   at AspNetCore.SassCompiler.ChildProcessTracker.CreateJobObject(IntPtr lpJobAttributes, String name)
   at AspNetCore.SassCompiler.ChildProcessTracker..cctor()
   --- End of inner exception stack trace ---
   at AspNetCore.SassCompiler.ChildProcessTracker.AddProcess(Process process)
   at AspNetCore.SassCompiler.SassCompilerHostedService.StartProcess()
   at AspNetCore.SassCompiler.SassCompilerHostedService.StartAsync(CancellationToken cancellationToken)
   at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host)
   at Microsoft.AspNetCore.Builder.WebApplication.Run(String url)
   at Program.<Main>$(String[] args) in /Users/solrevdev/Projects/crm.promosys/src/Web/Program.cs:line 109
[14:16:32 INF] Shut down complete

My csproj
<PackageReference Include="AspNetCore.SassCompiler" Version="1.52.1" />

My appsettings.json
"SassCompiler": {
        "SourceFolder": "Styles",
        "TargetFolder": "wwwroot/css",
        "Arguments": "--style=compressed",
        "GenerateScopedCss": true,
        "ScopedCssFolders": ["Views", "Pages", "Shared", "Components"],
        // You can override specific options based on the build configuration
        "Configurations": {
            "Debug": {
                // These options apply only to Debug builds
                "Arguments": "--style=expanded"
            }
        }
    }

Program.cs
    var builder = WebApplication.CreateBuilder(args);

#if DEBUG
    // Setup sass compiler
    builder.Services.AddSassCompiler();
#endif

OS:
OS: macOS 11.6.6 20G624 x86_64
Host: Macmini7,1
.NET
dotnet --info
.NET SDK (reflecting any global.json):
 Version:   6.0.300
 Commit:    8473146e7d

Runtime Environment:
 OS Name:     Mac OS X
 OS Version:  11.6
 OS Platform: Darwin
 RID:         osx.11.0-x64
 Base Path:   /usr/local/share/dotnet/sdk/6.0.300/

Host (useful for support):
  Version: 6.0.5
  Commit:  70ae3df4a6

.NET SDKs installed:
  3.1.419 [/usr/local/share/dotnet/sdk]
  6.0.300 [/usr/local/share/dotnet/sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 3.1.25 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 6.0.5 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 3.1.25 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 6.0.5 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

To install additional .NET runtimes or SDKs:
  https://aka.ms/dotnet-download

Thanks for reporting this, I don't have a mac so didn't catch that before. I've created a fix that should be available shortly as version <IP_ADDRESS>, can you try that to see if it works?

Hi @sleeuwen
So, It seems I have the same as issue #46
This is the workaround what prevented the compiler from restarting over and over again:
I commented out "ScopedCssFolders": ["Views", "Pages", "Shared", "Components"]
"SassCompiler": {
        "SourceFolder": "Styles",
        "TargetFolder": "wwwroot/css",
        "Arguments": "--style=compressed",
        "GenerateScopedCss": true,
        //"ScopedCssFolders": ["Views", "Pages", "Shared", "Components"], // This causes the SassCompiler to keep restarting
        // You can override specific options based on the build configuration
        "Configurations": {
            "Debug": {
                // These options apply only to Debug builds
                "Arguments": "--style=expanded"
            }
        }
    }

Let me know if I can help in any way.
Thanks
John

Hi @solrevdev , thanks for figuring out what the issue was. I've implemented a fix in another PR that should fix it. The way it was currently implemented caused all the values from your appsettings to be appended to the default values, so it would contain duplicate values for those 4 folders.


Yaml Parsed Object with position information

I was thinking if it is possible to provide extra information with the parsed yaml ?
Like the (position/range) of the keys and its values, it can help many to create custom extension for business logic validation.
My use case :
I am using yaml for making a Domain Specific language which will contain various other custom logic depending on keys and values. I want to show position of error by creating a Language Server protocol
So, in my case I need the position of keys and values in the source.
@eemeli Any way to achieve this with the current yaml lib ?

Are you not finding that in the nodes' range values?

option = { lineCounter :  true } worked for me.
Thanks


Fixed env var in release action

First fix to allow package releases... probably more to come!

Thanks JF for keeping up :)
Now I'm in the crux of the conan login with artifactory... https://github.com/AcademySoftwareFoundation/aswf-docker/runs/4111422213?check_suite_focus=true not there yet!

Looks like the ARTIFACTORY_* env vars are missing... https://github.com/AcademySoftwareFoundation/aswf-docker/runs/4113335133?check_suite_focus=true#step:7:13832 how can we check which env vars are configured here @tykeal ?

@aloysbaillet the following secrets are defined at the Org level and are available to all public repositories:
ARTIFACTORY_BASE_URL
ARTIFACTORY_TOKEN
ARTIFACTORY_USER
All three tokens were last updated on June 24, 2021
You should be using all three of those tokens where needed.

Success! Got all cmake versions and clang uploaded on aswf-conan-dev! Thanks a lot @tykeal !
I had forgotten that secrets need to be explicitly converted to env vars if needed...


Create example package

Own package example
Creates according binary
Has to receive data from a stream, e.g. Twitter or crypto coins
Does according analysis, e.g. based on keywords, rates, changes in value
Logs alerts, special values, etc. on the screen

Creating a crypto coin analyzer
Source is https://coinmarketcap.com/api/
Maybe aggregating other sources like news feeds

MarketCap rating isn't useful
Calculate average PercentChange1h to observe current market
Filter all coins for better than average performing ordered by performance
tbc

Discovered bad queue implementation
Unable to handle high loads of events
Fixed it :smile:

Needs #35 for next step

Trade analysis is not my business, will move to a different area. E.g. GitHub provides lots of data.

Even better data source: https://github.com/datasets.
Here the data is in different CSV files. Multiple readers would read and emit them based on the date (one cell e.g. emits a tick each second which for each subscriber means one day).


CAMEL-10272: Provide an option to stop further processing when an exc…

…eption is thrown from an aggregation strategy while parallelProcessing is used.
The proposed option is backward compatible, could be experimented by camel users on this branch, and may be elected to become the default behavior on a next major release.
Check CAMEL-10272 out for more details.

Thanks for the PR it has been merged. Do you mind closing this?

Thanks for the PR it has been merged. Do you mind closing this?

Thanks for merging Claus. I am pleased to have participated in the first commit of the year ;)


Feature request: add defname properties for ROOM as region

http://wiki.spherecommunity.net/index.php?title=Rooms
http://wiki.spherecommunity.net/index.php?title=Regions

WORKING
both on win ad linux


chore: update taffy

Updates taffy to the latest crates.io version.
There is no breaking change summary so I had to look in taffy's internal code to figure out which feature went were.

Thanks for this! I can take a look after I get off work today

Took a look at it before pushing this PR (I originally wanted to update both in the same PR), it is going to be harder, there are more compiler errors right upfront. expect a PR maybe next week.

Worth noting that this updates to an older Taffy version rather than a newer one. Which is perfectly reasonable if you want to use the released version. But that's why there's no breaking change notes: the changes haven't been released yet!


Implement backreferences from CAPI to EKSA cluster

Issue #, if available: part of #1090
Description of changes:
Using labels in CAPI objects to reference the parent eksa Cluster by its
name and namespace.
Testing (if applicable):
Unit tests
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve


Rename RenderFragment to Template

Why not we use Template word to RenderFragment to make it self explanatory and less characters?

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

ID: be4c4d0c-149c-bde1-c7fa-f082916390ca
Version Independent ID: 9d945996-ad02-bd4b-58ea-c465cc5cc74c
Content: Create and use ASP.NET Core Razor components
Content Source: aspnetcore/blazor/components.md
Product: aspnet-core
Technology: aspnetcore-blazor
GitHub Login: @guardrex
Microsoft Alias: riande

Hello @SNathani ... I think it's because "template" implies some degree of pre-formatting. These "render fragments" don't need to be pre-formated in any particular way. Their content can be completely dynamically generated. They truly are what the naming implies: a fragment of rendered content. The engineers are super crazy busy 🏃😅, so I can't ping them to ask about this. We'll have to assume that they named the delegate well.


Update changelog.md

Missing asset, blog post and fix copy-paste typo (I've already patched the release changelog accordingly).

[x] :scroll:

Let's fix those.
Errors in crates/build/re_protos_builder/README.md

[404] https://docs.rs/re_protos_builder | Failed: Network error: Not Found

Errors in examples/python/nuscenes_dataset/README.md

[404] https://www.rerun.io/docs/reference/types/archetypes/geopoints | Failed: Network error: Not Found

Errors in examples/python/openstreetmap_data/README.md

[404] https://www.rerun.io/docs/reference/types/view/map_view | Failed: Network error: Not Found

Errors in rerun_py/rerun_sdk/rerun/sinks.py

[404] https://www.rerun.io/docs/reference/migration-0-20 | Failed: Network error: Not Found

Errors in crates/viewer/re_renderer/src/importer/gltf.rs

[521] https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html#_material_pbrmetallicroughness_basecolorfactor | Failed: Network error: Unknown status code

A rare sight indeed


[Question] Bookshelf with no ORM?

Is it possible to use Bookshelf with no underlying ORM? There are instances where passing data through a model for validations, transformations but not needing an ORM is desirable.
Rails made this easy by separating ActiveRecord and ActiveModel. From my understanding, Bookshelf seems to take the role of ActiveRecord but I haven't seen much in the way of ActionModel type functionality (validations, dirty attributes, etc.).
Are you expecting another project to take on the model layer or are you planning on incorporating this into Bookshelf?
Also, many apologies for drawing similarities with Rails. Didn't mean to offend anyone ; )

Yep, this is planned. You can read about it (a bit abstractly) in #552 but creating clean separations between the different layers of the library and decoupling the logic for syncing with the database is definitely a goal that's on the radar.


Button Group as a wrapper

Summary
A button-group like component that contains three containers, the three containers accepts slots for a, button, or any custom element
Basic example
I'm currently using the default button group from here, component code:

  <FileInput
    id={"file"}
    label={"Import File"}
    {sheets}
    bind:value
    style={"py-3 px-4 text-sm font-medium text-gray-900 bg-white rounded-l-lg border border-gray-200 hover:bg-gray-100 hover:text-blue-700 active:z-10 active:ring-2 active:ring-blue-700 active:text-blue-700 dark:bg-gray-700 dark:border-gray-600 dark:text-white dark:hover:text-white dark:hover:bg-gray-600 dark:active:ring-blue-500 dark:active:text-white"}
  />
  <button
    type="button"
    class="py-2 px-4 text-sm font-medium text-gray-900 bg-white border-t border-b border-gray-200 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-2 focus:ring-blue-700 focus:text-blue-700 dark:bg-gray-700 dark:border-gray-600 dark:text-white dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-blue-500 dark:focus:text-white"
  >
    Edit
  </button>
  <button
    type="button"
    class="py-2 px-4 text-sm font-medium text-gray-900 bg-white rounded-r-md border border-gray-200 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-2 focus:ring-blue-700 focus:text-blue-700 dark:bg-gray-700 dark:border-gray-600 dark:text-white dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-blue-500 dark:focus:text-white"
  >
    Cancel
  </button>

where FileInput is a custom component, that has its own style (which can be turned off by passing an empty string)
I also used the active pseudo class from tailwind since divs don't have a focus state
Motivation
Custom interactive controls grouping , in place of currently being limited to links

Thank you for your suggestion. I can see that it makes more flexible in that way.
Something like this?
<ButtonGroup>
  <MyCustomButton />
  <ButtonItem />
  <ButtonItem />
</ButtonGroup>

Thank you for your suggestion. I can see that it makes more flexible in that way.
Something like this?
<ButtonGroup>
  <MyCustomButton />
  <ButtonItem />
  <ButtonItem />
</ButtonGroup>

Yup, where MyCustomButton can be any Svelte component (a tag, button, div, etc.), only thing that limits the default button group now is the number, which is 3, unless its looping the in between components

I just updated to v0.16.0. Can you try it and let me know what you think.
Demo
npm i -D flowbite-svelte@latest

Closing the issue. Please let me know more when you have an issue.
Thank you for your suggestion!

How do I attach a click event on the button version? I've tried nesting a button inside my ButtonGroupItem and assigning a button click to that, but the event isn't triggering

Hi,
I just added on:click to ButtonGroupItem.
Please run npm i -D flowbite-svelte@latest and let me know.

all working now, thanks for the quick fix

Any chance to add a button type for the button wrapper? I'm nesting it inside a form tag, and need  one of the buttons to be of type "submit"

Can you me an example?

Can you me an example? I need a bit more info about it. Currently ButtonGroupItem.svelte has the following:

{#if href}
	<slot />
{:else}
	<button type="button" class="{btnClass} {$$props.class}" on:click>
		<slot />
	</button>
{/if}

Do you want to add submit like this?
<ButtonGroup>
	...
	<ButtonGroupItem type="submit">Submit</ButtonGroupItem>
</ButtonGroup>

Yes, preferably with these types, where the initial/default type is a button for ease of use

Ok, done. Please update it and let me know. v0.16.12.

Will do, thanks again

How to individually disable the ButtonGroupItem (both a and button versions if possible)?

Can you update it again and add disable.
Let me know.

I updated to 0.16.13 but disabled isn't working, I'll wait for the re-structuring before updating again

Thanks. The new version is 0.17.1.
You can update it and let me know.
Thanks.

Mini visual issue, having more than three buttons (I have 4 at the moment), the middle border doesn't display correctly (i.e. its missing), no line (border) between the 2nd and 4th buttons, but other than that, all functions work

Can you update to v0.17.3 and let me know.

All good, thanks as always

I tried attaching event modifiers, on the ButtonGroupItem like so:
<ButtonGroupItem
  disabled={!stop || !exists}
  on:click|preventDefault={handleStart}
  {btnClass}
  >Start</ButtonGroupItem
>

but I'm getting this error:
Event modifiers other than 'once' can only be used on DOM elementssvelte(invalid-event-modifier)

All 4 of my ButtonGroupItems are buttons, nested within a form tag

ButtonGroupItem has on:click but ButtonGroup doesn't have it.
Do you have a good reason to add on:click to the ButtonGroup?
Let me know.

Help the individual disable functionality vanished (I checked my node_modules)

Can you show me your code?
Can you update v0.18.6 and let me know.


Map doesn't load + CANVAS warning

Describe the bug
Map doesn't load, warning appears in log since updating to 3.4.1. Installing Canvas doesn't fix the Problem. After restarting iobroker, the problem appears again. I allready tried:
Please install canvas and the libs manually with: sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
switch into : cd /opt/iobroker/node_modules/iobroker.mihome-vacuum then sudo npm install canvas --unsafe-perm=true
But it doesn't work.
To Reproduce

Restart iobroker

Expected behavior
The map should update properly. No warning in log
Screenshots & Logfiles
CANVAS package not installed....please install Canvas package manually or disable Map in config see also https://github.com/iobroker-community-adapters/ioBroker.mihome-vacuum/blob/master/lib/canvaserror.md
Versions:

Adapter version: v3.4.1
JS-Controller version: v4.0.23
Node version: v14.19.3
vacuum cleaner: Roborock S5

if you have nodejs >= 14 and a 32 bit System it would not work, because it could not be compiled

Hi,
I have the same Problem after Update NPM and node.js
Plattform: docker
Betriebssystem: linux
Architektur: x64
Node.js: v16.15.1
NPM: 8.11.0

reinstalling the adapter has solved the problem for me.

sudo npm install canvas --unsafe-perm=true

Wrong command. Never ever sudo npm in connection with sudo.


fix problem with unresolved symbols when multiple shaders call certain

functions on the GPU (ie. osl_printf()).
Description

Tests

Checklist:

[x] I have read the contribution guidelines.
[x] I have previously submitted a Contributor License Agreement.
[x] I have updated the documentation, if applicable.
[x] I have ensured that the change is tested somewhere in the testsuite (adding new test cases if necessary).
[x] My code follows the prevailing code style of this project.

This fixes a problem I was seeingon the GPU:  if I had two shaders that contained a printf(), then the second shader group would report osl_printf as being an unresolved function (the first shader group was fine).  If I looked at the PTX for the second shader group, osl_printf was tagged as a "weak" function.  Removing the "weak" attribute resolves the problem.
I'm not sure why osl_printf and rend_get_userdata should be different from the other functions in rend_lib.cu.
This is easily reproduced in testsuite/testoptix by adding a printf() to checkerboard.osl and microfacet_test.osl.


Language Suggestion: The "Vocals"

Scope
This is a basic suggestion that will not change the functionality of the application. Only the language used in two relationships for clarity.
Summary
Admittedly, when I first saw "biunivocal" and "univocal" I had to pull out my dictionary. I roughly knew what they meant by context, but it is not common by any means. Even reading the documentation on it I got what it was trying to convey, but it was technical jargonist for sure. When I have a fresh set of eyes, I'll take a look at the doc and suggest some changes to that as well.
Suggested Changes for the Components

Biunivocal could be changed to Bidirectional.
Univocal could be changed to Unidirectional.

Both of these are more common adjectives and have use in other industries. They will be immediately recognizable.

@sigrunixia Thanks for the suggestion! I admit I had some issues coming up with good wording for those two names...
What about one way and two ways? Would you consider them understandable? I feel they are simpler, but failing that your suggestion makes more sense than univocal and biunivocal

available in v3.0.0-2

This issue is confirmed adjusted in v3.0.0-2 testing build.
A two-way relationship is now referred to as bidirectional.
A one-way relationship is now referred to as unidirectional.
The "parent" or "origin" of the directionality (who initiated, who owns) is something I plan to further clarify in documentation, and visually will suggest be further addressed in design updates down the road.


Unicode disappears if requested twice on the same place on Windows

Hello, I am faced with a display issue of Lazygit, which tracks to a similar problem here in #145 , where the unicode disappears after I want it to show on the same place twice. The problem appears just one day, and I think it is due to some wrong configuration of my Windows system. The pwsh and cmd, or the terminal type seems not to make a difference.
The function I use is this:
func main() {
	var screen tcell.Screen
	if s, e := tcell.NewConsoleScreen(); e != nil {
		screen = nil
	} else if e = s.Init(); e != nil {
		screen = nil
	} else {
		screen = s
	}

	screen.SetContent(2, 7, '啊', nil, tcell.StyleDefault)
	screen.Show()
	screen.SetContent(2, 7, '啊', nil, tcell.StyleDefault)
	screen.Show()
}

and the difference is shown below:

and

(the displayed case just deletes a random statement of the last four in the main function. Any one will do.)
I am pretty convinced that this problem is hard to reproduce, as my computer has also been good for a long time, so feel free to ask me about any configuration of my computer.

I also notice that the solution in #145 is finally merged with #251 . I deleted the change in it and the character showed indeed. That is, the fix may be incomplete and result in some side effects.
While not knowing the reason, I do notice a fix not exactly involving the for loop in draw. In https://github.com/gdamore/tcell/blob/main/cell.go#L53, I spot another for loop:
for i := 1; i < c.width; i++ {
	cb.SetDirty(x+i, y, true)
}

and after I change the 1 to 0, the display problem also disappeared.
As I am not quite familiar with the tcell project, the 'dirty' semantics as well as other stuff is not quite clear to me. Could anyone check this loop and tell me if there is any problem? Any other fix options are also welcome.
Reproduction Disclaimer again: the display problem appeared in my computer some day mysteriously, and it is probably difficult to reproduce for some computers.

I tried the text program but I couldn't reproduce the issue on Amazon Workspaces Windows.

I suspect that the problem is that marking the character next to the start of the full width character dirty causes some problems indeed.
Essentially tcell needs to know not to draw whatever text is in a cell next to a full width character, because that full width character is going to occupy two cells.  What may be happening is that by marking it dirty, we wind up drawing the following character (which might have some content) when we should not have.
There really is no good solution for coexistence of full width and half width here -- we probably need to have a special place holder that says "don't touch this cell", it's occupied by the previous one, but then what do we do if someone intentionally puts something in that cell?  What should happen to the full width character that was displayed before?  I think this is sort of undefined behavior and different terminals may behave differently here.
I'll probably take the approach of last writer wins.  I need to think through this some more.  It's a little hard for me as I don't read any languages where this is common, so I have to fabricate test cases...


Register the database context needs to be updated

[Enter feedback here]
WebApplication.CreateBuilder(args); is no longer recognized! The code given in the program.cs is not working

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

ID: 583ae3e7-5915-f22b-e54c-6c100cf2a7da
Version Independent ID: 95f2549e-29f9-e31a-b4d0-432b971643ff
Content: Tutorial: Create a web API with ASP.NET Core
Content Source: aspnetcore/tutorials/first-web-api.md
Product: aspnet-core
Technology: aspnetcore-tutorials
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

.NET 6.0!

Ok, thanks. Can you provide more information about the error you see? The tutorial is correct, so WebApplication.CreateBuilder(args) should work without issue.

Your .csproj is missing the following, as shown in the sample:
<ImplicitUsings>enable</ImplicitUsings>

If you'd prefer not to use implicit usings, you can add the following to the top of Program.cs instead:
using Microsoft.AspNetCore.Builder;

Thanks million...That worked! I am a newbie to this! :)

You're welcome. I'm glad I could help. There's a lot to learn... 😅


Browser hangs indefinitely.

Deploying multiple websites accidently hard coded server.urls using localhost:5001 inside both web.config. Second site hangs indefinitely. Is this intended behavior? rc1 update-1 1.2

How did you define server.urls in web.config?

Just standard vs template rc1 update1 web command
--server.urls http://localhost:5001

server.urls should never be defined in the web.config. HttpPlatformHandler/AspNetCoreModule specify the port to listen on via an environment variable.

Sorry slight confusion I specified inside the project.json file. It is just the behaviour as I wasn't immediately aware that is was issue inside the app.

Ah. This should not be a problem in RC2 because the urls in the command line and config will be superseded by the the ones in the AspNetCoreModule environment variables.

Thought as much. So conflicts are mitigated in RC2.

Right, the two sites should get unique ports.

Interesting behaviour nonetheless. ☺


Depenendency management

It would be great to have a documentation from which repository and which commit / tag code is copied into the project. E.g. it is not clear which commit is used for the dataspaceconnector.
As suggested by @sebplorenz using official pre-build images would be great. If they were used (like in some scripts) a version shall be used instead of pulling the latest version, which can result in unforeseeable errors, not being able to rely on the current testbed configuration.

Updated for all components except Metadata Broker (WIP)


swc code generation is slower than other implementations

Context
I am looking for ways to transform/beautify large minified scripts for some new functionality in the VS Code JavaScript debugger. Right now we use js-beautify, but it doesn't generate sourcemaps and we have a rather naive, somewhat buggy way to create them after the fact.
I wanted to look into swc as an alternative, ideally writing a super fast sourcemap-aware beautifier I could throw into .wasm. However I was surprised the codegen performance, especially with sourcemaps enabled, wasn't so great.
Describe the bug
Measuring beautification on this large JavaScript bundle, these are the timings I get:
                  | w/ sourcemaps | only generation |
      js-beautify |               |       1967      |
              swc |     25208     |       3509      |
            babel |      5128     |       5470      |
esprima+escodegen |     10256     |       1632      |

js-beautify is passed through its included CLI
swc is parsing and then emitting source into a vec, built with cargo build --release
esprima+escodegen is similarly parsing the source with esprima and then writing it to a string with escodegen (source in gist)
babel is the same thing with @babel/parser and @babel/generator

Input code
https://gist.github.com/connor4312/5860dbc0970ad44ba30d91b5aa2812f0
Expected behavior
I was hoping swc would be much faster than the JavaScript implementations!
Version
[dependencies]
sourcemap = "4.1"
swc_common = "0.5"
swc_ecma_ast = "0.17"
swc_ecma_parser = "0.19"
swc_ecma_codegen = "0.16"

Previous
emit_colors ... bench:      23,601 ns/iter (+/- 15,849) = 49 MB/s

After https://github.com/kdy1/swc/commit/0e30f3b499b87c147319ae870b148e72767d25c8
test emit_colors ... bench:      13,659 ns/iter (+/- 450) = 86 MB/s
test emit_large  ... bench:     112,836 ns/iter (+/- 16,139) = 45 MB/s

After https://github.com/kdy1/swc/commit/6c5cc5da4709d6f8d6aa2e8a2065a783a8340ad5
test emit_colors ... bench:      13,501 ns/iter (+/- 10,828) = 87 MB/s
test emit_large  ... bench:     109,805 ns/iter (+/- 2,409) = 46 MB/s

As swc's code generator is designed to

support rich error reporting
allow emitting merged modules (for the bundler I'll write)

it has some performance drop. However, I think I can make it faster than other js implementations.
I'll investigate further.

I was running the binary here normally--not in wasm.

Oh.. I got it.
Possible candidates for bottleneck would be

source code analysis for multibyte char and line information (cm.new_source_file)
parser (parser.parse_module())
codegen

My guess is the parser. There are some low-hanging fruits.

For my case I'm not sure the parser was the issue--passing Some(&mut src_map_builder) versus None to the JsWriter made the difference between a 3.5 second runtime and 25 second runtime.

@connor4312 This is fixed in<EMAIL_ADDRESS>and<EMAIL_ADDRESS> (and I verified on my linux device)

I've published<EMAIL_ADDRESS>which fixes this issue.

Wow, that made a huge difference! 25 seconds down to 2100ms on my machine. Fantastic work, responsiveness 👏


Video sound needs to be removed.

Video sound needs to be removed. The user cannot have the option to turn on sound. Possibly this means uploading new video files.

passed this project off


Suggestion: PWA installable App and Offline Frontend

Thinking in educational purpose of the App.
I suggest the PWA architecture implementation.
For make the application works offline(Don't playing song, but accessible).
This approach can explore concepts with Connection Detection, Service Worker, Local Storage, Cache.
I'm anxious to see that in a Live on Youtube!
Thanks!

That's great suggestion. I am not an expert of PWA but could try, and will also ask for my friend if they can join and teach us about it too.


fix: le multiselect affiche toutes les options sans filtre #38

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


custom middleware (device manager) not only in chrome OS

Hello, I`m interesting in possibility to add custom smart card device manger (middleware) ? I know that you provide a set of middleware for Chrome OS. But what if user wants to use custom device with support of PKCS11 ? The same issue for users of other platforms (Ubuntu, OS X).
Is it possible to provide pkcs11 functionality just like Mozilla https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/pkcs11 ?

If the device is compatible with PC/SC-Lite and CCID, then you can write a Chrome extension that uses the Smart Card Connector app and the chrome.certificateProvider API in order to expose the key to Chrome OS. That's what the existing extensions do, like CSSI (https://chrome.google.com/webstore/detail/cssi-smart-card-middlewar/haeblkpifdemlfnkogkipmghfcbonief) or CACKey (https://chrome.google.com/webstore/detail/cackey/lpimdiknnpijeigckalekdccibdmeojg).

If the device is incompatible with PC/SC-Lite+CCID, then currently your only option is to implement the full stack, starting from the USB driver, yourself - see the chrome.usb API. There's no support right now in the Smart Card Connector app for custom drivers for readers.

P.S. Chrome OS doesn't use PKCS #11 APIs - at least when talking to third-party modules. Only the much smaller chrome.certificateProvider is used in this area in Chrome OS.

Regarding non Chrome OS platforms - AFAIK, there's no plan right now to add support for running custom PKCS#11 modules in Chrome right now. Chrome uses the platform capabilities (e.g., the NSS library) for working with the certificates and keys on these platforms.

Is it possible to write chrome.certificateProvider implementation  for other platform  (not Chrome OS) ?

Nope, chrome.certificateProvider is Chrome OS only. As I said above, only the platform capabilities are used on other platforms, like NSS.

Do you plan to provide something like chrome.certificateProvide for other platforms to allow use custom midlleware in chrome for smartcard support ?

There are no such plans currently.

Unfortunately, there is a big issues that there is no possibility to use Chrome with custom smart card device manager in cause that a lot of governmental organisations should use smart cards with approved (non standard ) internal implementation ( just like US Department of Defense Common Access Card) on different platforms. Smart cards developers provides a platform dependent libraries with implementation of PKCS11 interface. So in result users in governmental organizations should use Mozilla Firefox. But it will be great to allow use them their loved browser Chrome for work without any restrictions.

Sorry, I'm not following what is the specific problem with the PKCS#11 modules in Chrome.
There's no official documentation that I could find right now, but see, for example, this third-party description: https://homepage.ruhr-uni-bochum.de/jan.holthuis/posts/smartcard-authentification-in-chrome

Thank you for your answers. I am already tested this third-party example and it works fine, but only for linux  systems. To make something like that for windows is another issue. And also it`s may be good solution for developer but not for end user. So it will be cool to add some another way to work with smart cards in Chrome on any platform. Thank you very much  !

The smallest thing that can help is something like chrome.certificateProvide for other platforms to allow developers write their implementations to communicate with ccid compatible smart card and custom providers.

I'm not super familiar with the process of smart card setup on Windows, but AFAIK Windows is already pre-bundled with some middleware; one can also install custom middleware into Windows when needed.
For example - see this third-party page for the process of Windows setup for using CAC cards: http://militarycac.com/activclient.htm (please beware that this is a third-party page, use it at your own risk).
The extension+certificateProvider based approach won't work on Windows, since two drivers cannot access the same USB device at the same time. We don't want to build a solution that only works when the user has to disable standard Windows drivers and to prevent other desktop applications from using the smart card


Create spire namespace before deploying csi

In the deploy example script, create the spire namespace before deploying the spiffe csi driver, which requires the spire namespace to exist.
Signed-off-by: Abe Sharp<EMAIL_ADDRESS>

\o/ thanks


Datagrid filter panel to open by default

What will this achieve?
Enhancement to Datagrid filter panel. Add a prop into Datagrid component to open the filter panel by default instead of waiting for user to click on it.

We've been investigating TanStack Table, a third-party, open-source offering, which provides extensive data table capabilities surpassing what our Carbon Datagrid offers. It provides much more flexibility and customization. TanStack Table is headless which means it can easily be added alongside Datagrid component in your product or application. The benefits of more flexibility for product teams and less maintenance for Carbon makes it a win win. Lastly, it is available in multiple frameworks including React and Web Component so it provides an option to non-React product teams.
For these reasons, we have decided to transition from building our own custom table component to using an example-based approach with TanStack Table. Datagrid will still exist in our library for existing teams but we are announcing the deprecation* of the Datagrid component in v2.54.0 release so teams can begin to work through the transition. Details about how to use both Datagrid and TanStack together can be found here.
*Deprecation means that no new features will be added however sev 1 and sev 2 bugs will be supported.


OAuthPrompt ending the current WaterfallDialog

Sample information

Sample type: 18.bot-authentication

Sample language: dotnetcore
Sample name: 18.bot-authentication

Describe the bug
The step DisplayTokenAsync, which ist the last step in the WaterfallDialog "authDialog", is not reached after returning from prompt "Would you like to view your token?" in LoginStepAsync.
To Reproduce
Steps to reproduce the behavior:

Clone repo
Configure oAuth Connection
Run sample
Say "hi"
Sign in
"Would you like to view your token?" ==> say "yes"
==> Loops LoginStepAsync Step

Expected behavior
Should reach DisplayTokenAsync and display the token

Solved with PR #1339 . It is confusing having this sample not working completely without state save, specially when you're working on OAuth flow which would let you think something is wrong with the flow while testing/learning.

This is fixed in the samples-work-in-progress branch.  We will be merging that branch into master within a week or so, but if you need the fix now, that's where you can get it

Thanks! Quickly checked the samples and they seem to follow a new design. Is there any information what exactly is now advised? Webapi/controllers or more the style of e.g. the enterprise bot template (which I like very much).
So, where can we follow the thoughts on refactoring the samples?

The samples-work-in-progress branch has the patterns introduced as part of the 4.3 release.  These are the patterns that we will be using in all our samples going forward and also these are the patterns we are recommending when using 4.3 or greater

Great. Is there a doc explaining what and why it was introduced with 4.3 and what the design considerations are? Or is this something the bot framework team came up with internally, promoting this through changing the samples?
What I found hard in learning v4 was the constant change and the various ways in doing things.
What will happen to the enterprise bot template? Is that still a recommended starting point for a good end to end architecture and concrete implementation? Will it be updated to match 4.3 patterns?
Thanks

docs to support 4.3 should be landing on or about March 25.  the design was driven by customer feedback around the desire to formalize the activity protocol more formally into the programming model.  these changes are additive, so if you look at them and you don't like them, you won't be forced to use them.  that said, it was our goal that they simply handling the core behavior of the activity protocol, surfacing the activity protocol patterns in an idiomatic way for C# and Node.js.  The enterprise bot template will evolve to pick up these patterns as they push out updated version.  if you've recently started a new project based on the enterprise template you are totally fine.  again, 4.3 was strictly additive and is not required.


some carry over from previous work

Thought this might be of some value for some patterns already figured out:
This is a Kotlin Micronaut setup with lots of plugins and extension points on the engine configuration.
Lots of your currently opened issues were explored, and sometimes partially implemented but then stopped as the value/benefit was not there for where MN was at the time.
https://github.com/StephenOTT/forms-manager/tree/master/src/main/kotlin/formsmanager/camunda/engine
Enjoy!

@Hi @StephenOTT ,
thanks for this issue and also the comments in the other issues. I'll have a look at them one by one. I tried to find you on Slack at Camunda Con and Camunda Community but unfortunately couldn't find you.

You can reach me on the zeebe slack or see my GitHub profile for email


WIP: Added localization (by Lisa)

Fixes #6
Before merging we should address the following things:

[ ] Decide how we handle camle case in english. Always writing the first letter as captial letter? @SethGreylyn @adaline, native speaker input would be nice :)
[ ] /src/localization.js file still needs some work. I would suggest to only keep the backend stuff in there and throw out everything else and move it into the components (most of this is already inside the components)
[ ] After 1): While the application runs locally have a look in the browser console. Every missing localization string throws a warning. We should try to fix them.

@Kavakuo not sure where camelCase is the issue in the code - all the blahBlah i can see seems good, follows JS style

@adaline I was not talking about code level, camelcase is probably not the right wording then. I was talking about the UI. E.g. you write something like "qualified volunteers" as heading. Do you write it like this, or do you use capital "Q" at the beginning, "Qualified volunteers"? Or maybe even "Qualified Volunteers"?


sort by name and delete duplicates and write back to history!

Hello,
it it possible to implement this  as a one key function?
Sorting they history means "killing what happend before" any way, so if one wants that there is no need to go back but to optimize, and by that mean you do not need duplicates and no duplicates means lesser space in history and faster searches.
Possible?
(36 years+ after invention of unixoids ..., really!?! .... that means "except this developer" unixer are also not smarter than MS-Gates not implemented that function in bash in these "100" years :P )
Still best thanks for this smart software! Be sure  MS don't  stealing the idea for PS (vomit) sry ....

Hi @OneOfLosers .
hstr does not manage history, but makes search through it interactive, works with what is. Your request is inappropriate.

@OneOfLosers in addition to ^ answer from @OneOfLosers:

HSTR can show dedup history - just use Ctrl-w to rate view and check view:history in status view - this is exactly what you are asking for
all history items are used by heuristics which suggests commands in HSTR - more entries (recently), higher position in the recent list
HSTR cannot  persist dedup history as it would break expected content of history file and potentially screw other commands and application of the system

Hope it helped!


Prevent secondary UFS journal from modifying journal files

Fixes #11415

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-PR-Builder/9498/
Test FAILed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-PR-Builder/9499/
Test FAILed.

jenkins, test this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-PR-Builder/9503/
Test PASSed.

alluxio-bot, merge this please

alluxio-bot, cherry-pick this to branch-2.2 please


Breadcrumb should show file name

Make the backend changes needed for this frontend feature
https://github.com/emblica/emblinator-front/issues/2

Actually after checking further no backend changes is needed. Endpoint /api/files/<id> already returns the bucket_path


Improve README

Add build status badge
[![Build Status](https://travis-ci.org/CODAIT/node-red-contrib-model-asset-exchange.svg?branch=master)](https://travis-ci.org/CODAIT/node-red-contrib-model-asset-exchange)
Add npm package badge
[![npm version](https://badge.fury.io/js/node-red-contrib-model-asset-exchange.svg)](https://badge.fury.io/js/node-red-contrib-model-asset-exchange)

...

closed by #9


📖 Update Support matrix in Contributing guide

Adds v1.6.x and updates v1.4.x support timeline. v1.4.x is now EOL but will be tested for one more release cycle as promised in the contributing guide.

/override test-ubuntu-integration-main
/override test-centos-e2e-integration-main

/cc @lentzi90


remove return void

remove @return void

Thanks for the PR, but the code is already correct.

That's exactly what @return void means.

but Constructors don't get return values and there is no need to @return void

but Constructors don't get return values

And so their return type is void.

and there is no need to @return void

The framework's code style is to always have return annotations, so we can distinguish between "does not return a value", and "does not have documentation".


MQTT Lights not hold state after some time

Home Assistant release (hass --version): 0.53.0
Python release (python3 --version): Python 3.5.2
Component/platform: Ubuntu 16.04
Description of problem:
When HASS has been running for a while, I press on the toggle, my physical light turns on but the state doesn't get registered. I cannot thus turn off the light off from HASS

Expected:
The bulb turns yellow allowing me to turn it off.
When I restart my HASS, everything seems to work fine
Problem-relevant configuration.yaml entries and steps to reproduce:
light kitchen:
  - platform: mqtt
    name: "Kitchen Light"
    command_topic: "cmnd/SONOFF_20AF2D/POWER"
    payload_off: "OFF"
    payload_on: "ON"
    state_topic: "stat/SONOFF_20AF2D/POWER"

Traceback (if applicable):

Additional info:

One thing to check before deciding it's a problem with Home Assistant: are you sure that your Sonoff is sending a state message back on state_topic when you send it a command on command_topic? When a state_topic is defined the switch waits for a state message before changing states. You can test this with an MQTT client like mosquitto_sub. Subscribe to the state_topic and then toggle the switch in HA - does a on/off message get published to the state_topic?
I'm interested because I'm trying to track down some problems in the MQTT implementation and I'm trying to figure out if this is related.

Been like 2 hours me restarting HASS. Seems working fine for now. I'll try to test tomorrow morning again.

And this morning it didn't work. The feedbacks came on MQTT but it didn't get registered in HASS

Same problem

I've been using hass for like 1 year. Didn't have this problem. When I reinstalled the last version on my new server, noticed this issue

Yep, I also only have this issue since a couple of versions, I think it wasn't present in 0.45 // 0.46.

Same problem with a MQTT Alarm. If I use mosquitto_sub/_pub I can see that mosquitto  works fine, however, HASS doesn't register the changes!

This could be a problem with the underlying paho-mqtt library HA uses for MQTT client functionality. At some point in the late 0.4’s, HA bumped paho to version 1.3.0 from 1.2.3. There is a bug report on the paho project detailing a problem with handling retained messages that I think was introduced in 1.3.0.

But everything works fine with other MQTT clients! And by the way, when this happens usually HASS doesn't respond to IFTTT Maker calls to the HASS api too!!! I changed HASS to another machine and another OS, with different versions of mosquitto and paho library, and I got the same behavior. It must be 'something' with HASS.

Agreed. I’ve been testing HASS the past few days with v 1.2.3 of paho-mqtt and the same behaviour is present as in v 1.3.0.

I've seen this in the past as well, and seems that it is causing by the hass loosing the mqtt subscription (e.g. on mqtt restart/disconnect etc.) Fortunatelly the recent upgrade to pahoo 1.3.1 by #9874 may actually fix this issue.


Allow collapsing active story and use separate expansion for filtered

Issue: #5594 and #5419
What I did
Refactored the expanded set to be more stateful.
Note that the keyboard events don't seem to actually ever get triggered, so I can't really test them properly: https://github.com/storybooks/storybook/issues/5623

Note that there is a noticeable hang when you type the first two characters into the search field. According to the profiler it is mostly in re-rendering the treeview.
We have this behaviour where basically every node in the tree is rendered as you enter two characters into the search field as it is expanding all the matches. Previously (4.x) this performed OK--was this because the previous version simply changed visible state on leaves of the tree rather than redrawing itself @ndelangen?

@tmeasday please update snapshots

@shilman rebased onto latest next. Again didn't need to update any snapshots


feature/csrf-token-injection

As per the tin - adds the CSRF token from the controller when calling render component: from a controller.

Merging on CL.


Upgrade http driver to latest ASP.NET Core version when running in .NET 6

The HTTP driver is currently using ASP.NET Core 2.2.  This reached its end of life in Dec 2019, almost 3 years ago.
This PR updates to the latest ASP.NET core version.
ASP.NET Core 3 and later do not support .NET framework, so this only applies to the build for .NET 6 (and later when supported)
Fixes #2259

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: mispencer sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Is there anything further I need to do to get this merged?


datastore API will not compile

After changing functions to make the API work on 0.1, many compile errors show up about not finding certain types such as Value (assuming google_datastore_api::Value) and others. May not have been generated correctly.

obsolete - too old to reproduce


Trouble with some videos on abc.go.com

Note that the season (series?) ending episodes are not downloading.
Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like that [x])
Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.05.14. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[x ] I've verified and I assure that I'm running youtube-dl 2017.05.14

Before submitting an issue make sure you have:

[ x] At least skimmed through README and most notably FAQ and BUGS sections
[ x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[ x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

keybounceMBP:OnceUponATime michael$ youtube-dl -v --get-filename -a dl-list -i
[debug] System config: []
[debug] User config: ['-k', '-o', '%(series)s/s%(season_number)02d-e%(episode_number)02d-%(title)s.%(ext)s', '-f', '\nbest[ext=mp4][height>431][height<=576]/\nbestvideo[ext=mp4][height=480]+bestaudio[ext=m4a]/\nbest[ext=mp4][height>340][height<=431]/\nbestvideo[ext=mp4][height>360][height<=576]+bestaudio/\nbest[height>340][height<=576]/\nbestvideo[height>360][height<=576]+bestaudio/\nbestvideo[height=360]+bestaudio/\nbest[ext=mp4][height>=280][height<=360]/\nbest[height<=576]/\nworst', '--ap-mso', 'Dish', '--ap-username', 'PRIVATE', '--ap-password', 'PRIVATE', '--write-sub', '--write-auto-sub', '--sub-lang', 'en,enUS,en-us', '--sub-format', 'ass/srt/best', '--convert-subs', 'ass', '--embed-subs', '--recode-video', 'mp4', '--mark-watched']
[debug] Custom config: []
[debug] Command-line args: ['-v', '--get-filename', '-a', 'dl-list', '-i']
[debug] Batch file urls: ['http://abc.go.com/shows/once-upon-a-time/episode-guide/season-06/18-where-bluebirds-fly', 'http://abc.go.com/shows/once-upon-a-time/episode-guide/season-06/19-the-black-fairy', 'http://abc.go.com/shows/once-upon-a-time/episode-guide/season-06/20-the-song-in-your-heart', 'http://abc.go.com/shows/once-upon-a-time/episode-guide/season-06/21-the-final-battle-part-1', 'http://abc.go.com/shows/once-upon-a-time/episode-guide/season-06/22-the-final-battle-part-2', 'http://abc.go.com/shows/once-upon-a-time/episode-guide/season-06/199-the-final-battle-begins']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.05.14
[debug] Python version 3.6.1 - Darwin-13.4.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 3.2.4, ffprobe 3.2.4, rtmpdump 2.4
[debug] Proxy map: {}
WARNING: en subtitles not available for VDKA3840073
WARNING: enUS subtitles not available for VDKA3840073
Once Upon A Time/s06-e199-The Final Battle Begins.mp4
[debug] Using fake IP <IP_ADDRESS> (US) as X-Forwarded-For.
WARNING: en subtitles not available for VDKA3813168
WARNING: enUS subtitles not available for VDKA3813168
Once Upon A Time/s06-e19-The Black Fairy.mp4
WARNING: en subtitles not available for VDKA3827987
WARNING: enUS subtitles not available for VDKA3827987
Once Upon A Time/s06-e20-The Song in Your Heart.mp4
ERROR: Unable to extract post url; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/Users/michael/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 760, in extract_info
    ie_result = ie.extract(url)
  File "/Users/michael/bin/youtube-dl/youtube_dl/extractor/common.py", line 433, in extract
    ie_result = self._real_extract(url)
  File "/Users/michael/bin/youtube-dl/youtube_dl/extractor/go.py", line 119, in _real_extract
    url, video_id, requestor_id, resource)
  File "/Users/michael/bin/youtube-dl/youtube_dl/extractor/adobepass.py", line 1477, in _extract_mvpd_auth
    post_url = self._html_search_regex(r'<form id="syn_login_form"[^>]+action=(["\'])(?P<url>.+?)\1', provider_login_page, 'post url', group='url')
  File "/Users/michael/bin/youtube-dl/youtube_dl/extractor/common.py", line 791, in _html_search_regex
    res = self._search_regex(pattern, string, name, default, fatal, flags, group)
  File "/Users/michael/bin/youtube-dl/youtube_dl/extractor/common.py", line 782, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract post url; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

ERROR: Unable to extract post url; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/Users/michael/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 760, in extract_info
    ie_result = ie.extract(url)
  File "/Users/michael/bin/youtube-dl/youtube_dl/extractor/common.py", line 433, in extract
    ie_result = self._real_extract(url)
  File "/Users/michael/bin/youtube-dl/youtube_dl/extractor/go.py", line 119, in _real_extract
    url, video_id, requestor_id, resource)
  File "/Users/michael/bin/youtube-dl/youtube_dl/extractor/adobepass.py", line 1477, in _extract_mvpd_auth
    post_url = self._html_search_regex(r'<form id="syn_login_form"[^>]+action=(["\'])(?P<url>.+?)\1', provider_login_page, 'post url', group='url')
  File "/Users/michael/bin/youtube-dl/youtube_dl/extractor/common.py", line 791, in _html_search_regex
    res = self._search_regex(pattern, string, name, default, fatal, flags, group)
  File "/Users/michael/bin/youtube-dl/youtube_dl/extractor/common.py", line 782, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract post url; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

ERROR: Unable to extract post url; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/Users/michael/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 760, in extract_info
    ie_result = ie.extract(url)
  File "/Users/michael/bin/youtube-dl/youtube_dl/extractor/common.py", line 433, in extract
    ie_result = self._real_extract(url)
  File "/Users/michael/bin/youtube-dl/youtube_dl/extractor/go.py", line 119, in _real_extract
    url, video_id, requestor_id, resource)
  File "/Users/michael/bin/youtube-dl/youtube_dl/extractor/adobepass.py", line 1477, in _extract_mvpd_auth
    post_url = self._html_search_regex(r'<form id="syn_login_form"[^>]+action=(["\'])(?P<url>.+?)\1', provider_login_page, 'post url', group='url')
  File "/Users/michael/bin/youtube-dl/youtube_dl/extractor/common.py", line 791, in _html_search_regex
    res = self._search_regex(pattern, string, name, default, fatal, flags, group)
  File "/Users/michael/bin/youtube-dl/youtube_dl/extractor/common.py", line 782, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract post url; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

keybounceMBP:OnceUponATime michael$

Note the following in that list:

ABC put up three episodes on 5/14, and episode 18 was expired early (apparently they only let you watch the last 5 episodes, not the last 5 weeks).
Attempting to fetch episode 18 gives the special (episode 199).
But fetching 199 directly, or either of the final 2 episodes, gives an error.

BUT:
If I only ask for the last two directly (not using a batch file):
keybounceMBP:OnceUponATime michael$ youtube-dl -v --get-filename http://abc.go.com/shows/once-upon-a-time/epis
ode-guide/season-06/21-the-final-battle-part-1
[debug] System config: []
[debug] User config: ['-k', '-o', '%(series)s/s%(season_number)02d-e%(episode_number)02d-%(title)s.%(ext)s', '-f', '\nbest[ext=mp4][height>431][height<=576]/\nbestvideo[ext=mp4][height=480]+bestaudio[ext=m4a]/\nbest[ext=mp4][height>340][height<=431]/\nbestvideo[ext=mp4][height>360][height<=576]+bestaudio/\nbest[height>340][height<=576]/\nbestvideo[height>360][height<=576]+bestaudio/\nbestvideo[height=360]+bestaudio/\nbest[ext=mp4][height>=280][height<=360]/\nbest[height<=576]/\nworst', '--ap-mso', 'Dish', '--ap-username', 'PRIVATE', '--ap-password', 'PRIVATE', '--write-sub', '--write-auto-sub', '--sub-lang', 'en,enUS,en-us', '--sub-format', 'ass/srt/best', '--convert-subs', 'ass', '--embed-subs', '--recode-video', 'mp4', '--mark-watched']
[debug] Custom config: []
[debug] Command-line args: ['-v', '--get-filename', 'http://abc.go.com/shows/once-upon-a-time/episode-guide/season-06/21-the-final-battle-part-1']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.05.14
[debug] Python version 3.6.1 - Darwin-13.4.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 3.2.4, ffprobe 3.2.4, rtmpdump 2.4
[debug] Proxy map: {}
WARNING: en subtitles not available for VDKA3840464
WARNING: enUS subtitles not available for VDKA3840464
Once Upon A Time/s06-e21-The Final Battle Part 1.mp4
keybounceMBP:OnceUponATime michael$

In other words, it is dying if I do a batch fetch, but working if I fetch one episode at a time.

Issue should be closed, those URL are all dead
http://abc.go.com/shows/once-upon-a-time/episode-guide/season-06/18-where-bluebirds-fly
http://abc.go.com/shows/once-upon-a-time/episode-guide/season-06/19-the-black-fairy
http://abc.go.com/shows/once-upon-a-time/episode-guide/season-06/20-the-song-in-your-heart
http://abc.go.com/shows/once-upon-a-time/episode-guide/season-06/21-the-final-battle-part-1
http://abc.go.com/shows/once-upon-a-time/episode-guide/season-06/22-the-final-battle-part-2
http://abc.go.com/shows/once-upon-a-time/episode-guide/season-06/199-the-final-battle-begins


fix: #190

This PR fixes #190.

Make sure to validate this PR against new changes you guys made in the CLI recently with respect to metadata fixes and container reloads.
Don't merge it before you merge your changes.
This fixes a very simply issue #190 anyway.

This will break https://github.com/nhost/cli/issues/150 again, ForeignKeyConstraintOn is not correct and misses more cases.


Show titles of GitHub issues on hover

It would be nice to show GitHub issue titles when hovering over a linkifier, the way GitHub does.
CZO thread

@zulipbot claim


static methods not found first time

In a brand new project, use of static methods of JDK classes, for example Collectors.toList() and Arrays.asList() tend to result in an error. Resetting the Ceylon model fixes it.

I can't reproduce this, is it still happening?

Oh I see, I just had that same error with spark:
import spark {
    Spark {
        get
    }
}

Hum no that's not enough :/

Thanks mate


Transactor.java line 488

in com.hazizz.droid.Transactor.fragmentMainTab

Number of crashes: 1
Impacted devices: 1

There's a lot more information about this crash on crashlytics.com:
https://fabric.io/hazizz/android/apps/com.hazizz.droid/issues/5c9ba8daf8b88c2963f3e56c?utm_medium=service_hooks-github&utm_source=issue_impact

This aotu-report is from a developer environment so please ignore this.