[local_auth] Fatal Exception: java.lang.IllegalStateException: Reply already submitted

Steps to Reproduce
Sorry, we are having problems reproducing this issue. We only have our testers that tell us, that it crashes sometimes and we have the Crashlytics logs to back it up. As I understood it, the app crashes, after the user used their biometric authentification method. Here is the stack trace:
Fatal Exception: java.lang.IllegalStateException: Reply already submitted
       at io.flutter.embedding.engine.dart.DartMessenger$Reply.reply(DartMessenger.java:35)
       at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler$1.a(MethodChannel.java:14)
       at io.flutter.plugins.localauth.LocalAuthPlugin$1.a(LocalAuthPlugin.java:20)
       at io.flutter.plugins.localauth.AuthenticationHelper.a(AuthenticationHelper.java:30)
       at androidx.biometric.BiometricPrompt$1.lambda$onClick$0(BiometricPrompt.java:29)
       at androidx.biometric.-$$Lambda$BiometricPrompt$1$P30oSr_4In3G9QZQRdzDDZj8niU.run(-.java:2)
       at android.os.Handler.handleCallback(Handler.java:873)
       at android.os.Handler.dispatchMessage(Handler.java:99)
       at android.os.Looper.loop(Looper.java:214)
       at android.app.ActivityThread.main(ActivityThread.java:7050)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:965)

And another one (A tiny bit different):
Fatal Exception: java.lang.IllegalStateException: Reply already submitted
       at io.flutter.embedding.engine.dart.DartMessenger$Reply.reply(DartMessenger.java:35)
       at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler$1.a(MethodChannel.java:14)
       at io.flutter.plugins.localauth.LocalAuthPlugin$1.onSuccess(LocalAuthPlugin.java:20)
       at io.flutter.plugins.localauth.AuthenticationHelper.a(AuthenticationHelper.java:2)
       at androidx.biometric.BiometricFragment$1.a(BiometricFragment.java:17)
       at androidx.biometric.-$$Lambda$BiometricFragment$1$5yETAGvseQK65JiDb9XeeUnfaZA.run(-.java:4)
       at android.os.Handler.handleCallback(Handler.java:873)
       at android.os.Handler.dispatchMessage(Handler.java:99)
       at android.os.Looper.loop(Looper.java:214)
       at android.app.ActivityThread.main(ActivityThread.java:7050)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:965)

[✓] Flutter (Channel stable, 1.22.6, on macOS 11.2 20D64 darwin-x64, locale en-GB)
    • Flutter version 1.22.6 at /[...]/flutter
    • Framework revision 9b2d32b605 (4 weeks ago), 2021-01-22 14:36:39 -0800
    • Engine revision 2f0af37152
    • Dart version 2.10.5

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /[...]/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /[...]/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/201.7042882/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    • CocoaPods version 1.10.0

[!] Android Studio (version 4.1)
    • Android Studio at /[...]/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/201.7042882/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] Connected device (2 available)
    • iPhone (mobile)            • [...] • ios • iOS 14.4
    • iPhone 12 Pro Max (mobile) • 55CBAC7D-BEF8-44D7-9F18-0CBA985B8D3C     • ios • com.apple.CoreSimulator.SimRuntime.iOS-14-4 (simulator)

(Plugins are actually installed. No idea, why it says they aren't.)

Same issue as #59318

@GnafGnaf
Tried the official local_auth plugin example on latest stable (1.22.6) using iOS 14.3 device, played around the biometrics and authentication, but as expected, didn't see the said crash.
Is there a way to find a pattern for this crash ? Because, with only the crash logs, it'll be tough to investigate and identify the root-cause of the issue.
Does it occur locally in non-prod environment ?

I know, the bug report sucks... Sorry for that, but we can not reproduce it either. I had the issue myself, but it only happens once or twice a day without me being able to understand what I did different this time to trigger this behavior.
The crashes happen on debug builds, as well as on prod builds.

Same here. Our Crashlytics points that 91% of crashes happens in Android 8 devices.
`[✓] Flutter (Channel stable, 1.22.6, on macOS 11.2.1 20D74 darwin-x64, locale en-BR)
• Flutter version 1.22.6 at /Users/juliocoelho/Tools/flutter
• Framework revision 9b2d32b605 (4 weeks ago), 2021-01-22 14:36:39 -0800
• Engine revision 2f0af37152
• Dart version 2.10.5
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /Users/juliocoelho/Library/Android/sdk
• Platform android-30, build-tools 30.0.3
• ANDROID_SDK_ROOT = /Users/juliocoelho/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 12.4)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.4, Build version 12D4e
• CocoaPods version 1.10.0
[!] Android Studio (version 4.1)
• Android Studio at /Applications/Android Studio.app/Contents
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
[✓] VS Code (version 1.53.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.19.0
[!] Connected device
! No devices available
! Doctor found issues in 2 categories.`

Since there's no concrete reproducible use case, I am unable to verify this issue and pin-point root-cause for it. Also tried on Android 8 device on which didn't see any errors apart from I/flutter (  413): PlatformException(NotAvailable, Biometrics is not available on this device., null, null) which is expected.
Keeping this issue open for further investigation.
@GnafGnaf Please write in comments if you find a pattern to replicate.

If the original description in https://github.com/flutter/flutter/issues/29092 is true, it might be related.
We should also audit all the calls in local_auth is protected by authInProgress.

It is very well possible, that it is related. I realized that we call authenticateByBiometrics multiple times, if the user has multiple routes on the route stack. I added a check for ModalRoute.of(context).isCurrent before the call and could reduce the amount of crashes we see in crashlytics. We still get those crashes, but less often.

Change

https://github.com/flutter/plugins/pull/3272 describes a case where this happens, which means we now have at least one known path that leads to the crash.

If you want to reproduce this use the camera: ^0.9.2+2 example. I'm also seeing this fail on multiple packages on multiple real devices OnePlus for example. It's a very critical bug for us since customers cannot upload photos or take photos from the gallery.

where are we in this bug? it crashes the whole app and it would be nice if there's a way not to :(


@toreda/chk: Not found

I am trying to install but its giving me 404
I tried both with Yarn as well as NPM but it throwing me error of 404

Thank you for posting about this issue. We pushed a new version which fixes the problem.


no_intra_emphasis should also ignore patterns such as h_{t}

I am having difficulty with redcarpet when including mathjax equations.  The no_intra_emphasis usually does the trick to avoid underscores such as \\( h_t \\) becoming \( h<em>t \) when it should be left as something mathjax can parse.  Unfortunately, and underscore followed by a bracket instead of a letter, such as h_{t+1} does get converted.  It seems like the expected behavior for no_intra_emphasis should insist on a whitespace followed by an underscore to begin <em> and a underscore followed only by a whitespace to end </em>.  Is this possible?  Am I missing a more natural work-around to be able to include mathjax syntax in markdown files?  Thanks much!

i know this is a little old but, i came to the same conclusion that @lsegal on use de block-code tag, that work pretty well, but still bugs me can just use a $ $ block. After digging a little i found out that the span tags are applied before the paragraph function, so i check the pattern if starts and ends with $$ and do this ActionView::Base.full_sanitizer.sanitize(%(#{text}).gsub("<u>", "_")) the actionView helper will clean any tags that could be generated that i forgot and the gsub restores the underscore, i'm gonna do the same for the inline math, do you find any other cases that makes fail the LaTeX code? if this one the only case i'm gonna just use gsub, regards

@zerocool4u2 read this http://nosubstance.me/post/a-great-toolset-for-static-blogging/.
This is a problem solved already, by using other markdown parsers. If you still wish to stick with Jekyll, it currently adopts Kramdown by default now, which supports MathJax and related well out-of-the-box.


Make possible to use one-shot iterators as children nodes.

For now we cannot use iterators like itertools.chain as child nodes, because _validate_children exhaust such iterators just before the parent node construction. The result looks like original sequences were empty. Yes, user could apply list() such iterators but then the code would look pretty noisy.
I propose to "materialise" as lists such iterators, because we would reuse them anyway during the HTML rendering. We can use the itertools.tee and fork each Iterator before validation. Though, such forking would mean the same materialisation under the hood, but at the same time the code would look a way more complicated.

hi @astynax , thanks a lot for digging into this. Based on your findings I opened #72 . I took a slightly alternative approach of not materialising as lists in the validation. I am afraid that it will break streaming if the evaluation happens directly when the elements are constructed.

@pelme just saw your PR. Your decision to stay lazy during the validation is great! It always good to be able to decide when we want to be lazy and when we should be eager (and force lazy stuff with list() before wrapping it in HTML).

Fixed in #72.


Fixes #166 by adding more robust parameter checking.

Please see Issue #166 for details.

@joeygrover In the offline review I missed a couple of issues with this commit, sorry to have to bring this back up.  A copy paste error exists in RPCRequestFactory here:
https://github.com/smartdevicelink/sdl_android/blob/develop/sdl_android_lib/src/com/smartdevicelink/proxy/RPCRequestFactory.java#L321
The other issue is that the logic in the robust parameter checking assumes that we would never send an empty array across as a parameter as seen in multiple places, for example:
https://github.com/smartdevicelink/sdl_android/blob/develop/sdl_android_lib/src/com/smartdevicelink/proxy/rpc/AlertManeuver.java#L124
https://github.com/smartdevicelink/sdl_android/blob/develop/sdl_android_lib/src/com/smartdevicelink/proxy/rpc/AlertManeuver.java#L201
https://github.com/smartdevicelink/sdl_android/blob/develop/sdl_android_lib/src/com/smartdevicelink/proxy/rpc/AddCommand.java#L189
https://github.com/smartdevicelink/sdl_android/blob/develop/sdl_android_lib/src/com/smartdevicelink/proxy/rpc/Alert.java#L388
https://github.com/smartdevicelink/sdl_android/blob/develop/sdl_android_lib/src/com/smartdevicelink/proxy/rpc/Choice.java#L147
An empty array as a parameter is not necessarily invalid data, this is especially true for the case of softbuttons where an empty array of softbuttons indicates to core that the existing onscreen softbuttons for this particular rpc should be cleared (hence this commit prevents the clearing of softbuttons).
If possible, I suggest we revert this commit and submit a new revised pr.  If we cannot revert, we will need to submit a new pr with fixes as a higher priority.
thanks


Update pandas dependency to 2.0.3

Update pandas dependency to latest patch release 2.0.3 in 2.0 series: https://github.com/pandas-dev/pandas/releases/tag/v2.0.3

This is a patch release in the 2.0.x series and includes some regression and bug fixes. We recommend that all users upgrade to this version.

Note that most components had pandas 2.0.1.
Also note that we have respected the constrain <2.1, until we update duckdb as well. More details in:

#1914

We're currently processing your upload.  This comment will be updated when the results are available.


[Textfield] multiline: correct cursor positioning on click in padding-area

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯

When clicking the padding-area, the cursor jumps to the last known cursor position

Expected Behavior 🤔
When clicking the padding-area, the cursor jumps to the nearest position like it does for single-line textfields

Your Environment 🌎
can be reproduced on demo site with e.g. Firefox 81

We had a similar topic about caret position a #23096. But it seems different. Currently the padding structure yields the following scroll outcome:

We could potentially change it to (notice that the top & bottom is the same):

I think that if we decide to spend time on this, we might as well explore https://github.com/mui-org/material-ui/issues/22544#issuecomment-691041597.

This happens to me too, but just in Firefox. In others browsers (Chrome, Safari, Edge, etc.) works as expected.


Support for Hashicorp Nomad

What feature you'd like to add:
Added support for running on HashiCorp Nomad
Why is this feature needed:
Nomad supports the CSI specification and allows for a wider variety of workloads than kubernetes.
I have tried to run this driver on nomad, but the direct kubernetes dependencies are causing errors.

The docs from Monad [1] says the K8S CSI driver work out of box with Monad, what the error you saw?
This CSI driver relies on k8S POD, does Monad has similar feature to manage containers?
[1] https://www.nomadproject.io/docs/internals/plugins/csi

On the controller allocation:
F0206 20:08:51.194502       8 main.go:50] Pod name & namespace can't be null.

On the node allocations:
Failed to start container c7d3a3b472de596fcc2c7986588f73bb6f7154c99a30f65d33c1f0e8f1ae31c2: API error (500): path /opt/nomad-client/data/client/csi/node/juicefs is mounted on / but it is not a shared mount

Nomad supports the Container Storage Interface, but not the kubernetes API, and this driver is explicitly dependant on both

Nomad manages a variety of different workloads, I'm running the allocations in Docker containers

Any update on this?

``
F0221 14:34:46.483746       1 main.go:47] nodeID must be provided
goroutine 1 [running]:
k8s.io/klog.stacks(0xc0001c5100, 0xc00017a500, 0x42, 0x98)
/go/pkg/mod/k8s.io/klog@v0.1.0/klog.go:828 +0xb8
k8s.io/klog.(*loggingT).output(0xf92e20, 0xc000000003, 0xc0002644d0, 0xf2aecc, 0x7, 0x2f, 0x0)
/go/pkg/mod/k8s.io/klog@v0.1.0/klog.go:779 +0x351
k8s.io/klog.(*loggingT).println(0xf92e20, 0xc000000003, 0xc0001e3f48, 0x1, 0x1)
/go/pkg/mod/k8s.io/klog@v0.1.0/klog.go:656 +0xe7
k8s.io/klog.Fatalln(...)
/go/pkg/mod/k8s.io/klog@v0.1.0/klog.go:1200
main.main()
/juicefs-csi-driver/cmd/main.go:47 +0x316
they seem to also use the K8S API

Update: i managed to get it mostly working with 0.9.0, the error was due to not correctly putting in the flags for the driver. It now doesnt yet run on all of my clients because one of them is ARM64 and versions before 0.10.0 don't have arm builds available on dockerhub, but thats solved by manually building the image for arm

@OmegaRogue Cool, what's the patch for 0.9.0 looks like? We should figure out a way to support Monad for future releases.

0.9.0 is the latest release that doesn't have any dependencies on the k8s api, and only on the csi api, which is why it is working

When will the release with the nomad support be available?

@ntreq it's still working in progress, we will add the docs when it's ready.

Hi @OmegaRogue @ntreq ,
CSI nightly image is available for Nomad, you can refer to the doc and have a try.


nuttx/libm: Fix powl wrong if first parameter is negative

Summary
This PR applies the pattern of calculation used for pow and powf to powl
Impact
Has no impact on current implementation
Testing
Pass CI

[Experimental Bot, please feedback here]
This PR appears to not meet the NuttX requirements fully.
Here's why:

Insufficient Detail: The summary is too brief.  While it mentions the change applies a pattern from pow and powf to powl, it lacks critical context:

Why is this change necessary? Is there a bug in powl? Is it for performance optimization? Code clarity?
How does the pattern from pow and powf differ from the current powl implementation?
What functional part of the code is being changed? Be specific - mention the file(s) or modules involved.

Testing Lacks Specificity: "Pass CI" is not enough information.

Which CI environments are relevant? Specify the target architectures and configurations tested.
"Testing logs before/after" are missing. Provide concrete examples of how the output or behavior differs due to this change.
Consider edge cases: Were any specific inputs or scenarios tested where powl's behavior might be different?

To improve this PR:

Expand the Summary: Provide the missing context about the why and how of the change.
Detailed Testing:

List the specific CI environments (targets) where the tests passed.
Include relevant snippets of logs or output demonstrating the change's effect (or lack thereof, if that's the intended outcome).
If possible, highlight test cases that specifically exercise the powl function with various inputs.


Crash when creating doc on MacOS Sonoma

Trying to create a test doc and I the program crashes on my Mac. Any idea?

proteus_crash_report-2024-09-24_16-28-35.log
proteus_crash_report-2024-09-24_16-33-20.log
proteus_crash_report-2024-09-24_16-39-57.log

This issue is related to setTabsClosable method of the QTabWidget class. In both Linux and Windows, when tabs are marked as closable using the setTabsClosable a close button is added to each tab.
Looking at the logs we can confirm that either tab close button is placed in the left side or it is not being created at all.
Proteus/proteus/views/components/views_container.py", line 166, in create_component
    self.tabBar().tabButton(0, QTabBar.ButtonPosition.RightSide).hide()
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'hide'

This will be fix in a hotfix soon. PyQt6 library usually provides methods to access special widgets features regardless the OS but this is not the case. We will do some extended testing apart from the already automated tests in order to find more issue of this nature.


[DO NOT REVIEW] Introduce pnpm for package management

Introduce https://github.com/pnpm/pnpm as a package manager.
pnpm is a drop-in replacement for npm much faster and more efficient.
We import the packages list so we can generate a pnpm lock and ensure
compatibility between npm and pnpm.

cc @michelle192837

/lgtm


wrong checksum check

Flyway doesn't verify checksum properly if we change migration script and flyway version from 3 to 4 before application launch.

This works as designed. The checksums are recalculated on upgrade in order to accommodate the new lenient CRLF support that works better with git.


Browser support ?

Hello, hope your are having a great day, i am thinking to use this framework for my next project. I am just wondering about browser support. Which browsers this framework supports ?
Thank you

Is it possible to add Browser support in README i think it would help a lot )

Hi, thanks for your issue!
siimple-core supports the latest/stable releases of all major browsers and platforms. I have tested it on Windows, Mac and Linux (Ubuntu), and it works well (Internet Explorer 10/11 too).
Thanks for your suggestion. I will add a table with the browser support in the README and in the new documentation site (currently is on development).
I hope you use it in your next project! If you have any problems or questions I will be pleased to help you 😄


Register gh hooks for simple project data that is always synced.

Also update the cached information in the db on repo changes notified to us by the hook.

FYI: Gamification already does this, I'll just leave a pointer here in case it might be useful.


Changed text to consistent spelling of COVID-19

@vladpke if you could resolve conflicts much appreciated

Oh, there weren't any conflicts earlier. Must've happened because of a recent commit. I'll take a look

Looks like it's too complex. I'll revert, merge new commits from upstream and recommit.

ok sorry about thanks please tag me by name and I will try to merge quickly

@hamelsmu Done! :)


Broken workflow: return to the old incremental numbering behaviour when pasting files

I do a lot of rapid iteration on prototype code and like to frequently copy deprecated code files into archive subdirectories so they are still readily available for me to refer to immediately, without the friction of having to do so via Git branch/commit/diff operations. I also write a lot of markdown notes in sequentially-numbered files, each of which I create by copying and pasting its predecessor which I then use as a base template that is conveniently already named correctly as soon as it is created.
Until now, the incremental numbering behaviour has been nice as it let me copy a file into a folder and it would simply increment the number at the end of the file without polluting the rest of the filename. After the latest release, it's now polluting the filename with "copy", which forces me to manually rename the file. This is one of those cases where a change to help a few users has had the opposite effect for others. Usually a change in behaviour in a new release is accompanied by a setting in recognition that different people have different workflow preferences. There is no setting in this case, so I have no choice but to accept the added friction in my workflow.
Would it be possible to include a setting to retain the old behaviour?

I really need a digital incremental copy

This is a fair request. We will not do it in the current milestone but will consider it in the future.

@isidorn Thanks!

Yeah, I strongly prefer the previous number-based naming too, for all the same reason as @axefrog - and also because it ensured the new file would appear right next to the original file. With the new naming, the copy easily gets lost among the other files:
billing-method-status.ts
billing-method.ts
billing-plan copy.ts
billing-plan-interval.ts
billing-plan-status.ts
billing-plan.1.ts
billing-plan.ts
billing-service.ts

I'd encourage you to roll this change back asap, or alternatively introduce an option :-)

I also prefer the old method of copy. Perhaps an option could be add where the user can choose how the file is copied?

More details on the motivation why we did it https://github.com/microsoft/vscode/issues/55128
Assigning to next milestone so we introduce an option for controlling this behavior.

@isidorn Actually, I thought it would only increment the number postfix added at the end of the file name. I can certainly see how magically incrementing numbers in the middle of the file name could be surprising and confusing to users, and possibly even a source of bugs.
Personally, I'd prefer that if you copy a file, it simply adds the .1 postfix to the name of the copy, and if you then create a copy of the copy, it simply increments that postfix. This is a simple and predictable behavior, which ensures the original part of the file name remain unchanged.

@thomas-darling It wouldn't work for the workflow I described in https://github.com/microsoft/vscode/issues/55128#issuecomment-508219342 😕

We have introduced a new setting
explorer.incrementalNaming which can have the values simple or smart.
simple appends the word "copy" at the end of the duplicated name potentially followed by a number. The current vscode stable behavior.
smart adds a number at the end of the duplicated name. If some number is already part of the name, tries to increase that number. The previous behavior.
The default value is simple.
You can try it out in vscode insiders in a couple of days.
Feedback is very welcome, especially on the setting / description wording.
Thanks!

To verify: make sure this setting behaves as described in my last comment and provide potential feedback on the naming of the setting.


Update Line 18 (wrong link)

Line 18 resolves to a 404 destination:
https://sendgrid.com/docs/for-developers/sending-email/wordpress-subscription-widget/ (correct location and works)
https://sendgrid.com/docs/for-developers/managing-contacts/wordpress-subscription-widget/ (current and fails)
Description of the change: line 18 has the wrong link and results in 404 error
Reason for the change: correction of link
Link to original source:

Closes #

Hello @tparkersendgrid,Thanks again for the PR! We appreciate your contribution and look forward to                                              continued collaboration. Thanks!                                             Team SendGrid DX


Nested Routers

Hi, i have a some question with nested routes:
In my app/containers/App/index.js i have this routes:
<Switch>
  <Route exact path="/" component={MainPage} />
  <Route path="/login" component={LoginPage} />
  <Route component={NotFoundPage} />
</Switch>

Now in my MainPage container i have this routes:
<Switch>
  <Route path={`${match.path}`} exact component={DashboardPage} />
  <Route path={`${match.path}/audit`} exact component={AuditPage} />
  <Redirect to={`${match.path}`} />
</Switch>

But when I try to access the "audit" route it says that the route was not found.
My DashboardPage and AuditPage only render an simple h2.

The exact property prevents it from matching MainPage beyond the /. Remove that to use the match.


Tense changes

I changed some of the grammatical tense of events. Most were already in past tense, but some were not.

thanks, I'll take this as-is. if anything comes up please feel free to submit another pr


Vulnerability roundup 103: datasette-0.54.1: 1 advisory [6.1]

search, files

[ ] CVE-2021-32670 CVSSv3=6.1 (nixos-21.05)

Scanned versions: nixos-21.05: 0b8b127125e.
Cc @costrouc

Fixed in #126280


Render high-res partial page views when falling back to CSS zoom

Commit:

Render high-res partial page views when falling back to CSS zoom
When rendering big PDF pages at high zoom levels, we currently fall back to CSS zoom to avoid rendering canvases with too many pixels. This causes zoomed in PDF to look blurry, and the text to be potentially unreadable.
This commit adds support for rendering part of a page (called PDFPageDetailView in the code), so that we can render portion of a page in a smaller canvas without hiting the maximun canvas size limit.
Specifically, we render an area of that page that is slightly larger than the area that is visible on the screen (100% larger in each direction, unless we have to limit it due to the maximum canvas size). As the user scrolls around the page, we re-render a new area centered around what is currently visible.

To play around with this patch, you need to use a large PDF (the one I'm using is https://www.gtt.to.it/cms/risorse/urbana/mappa/mapparete.pdf) and zoom in: in the current release the text becomes blurry, while with this patch it remains sharp. Also, if you set maxCanvasPixels to a smaller value (for example, 8M) you'll more clearly see the effects also at lower zoom levels. Note however that if maxCanvasPixels is set to less than 9 time the number of pixels visible in your window you'll get more frequent re-renders as you scroll.
The PDFPageDetailView class still process every single operation of the PDF, even if many of them will actually be outside of the canvas and thus not be actually rendered. This is acceptable because we are only rendering one "detail view" per page at a time, and we are not splitting the page in multiple tiles that might appear at the same time on the screen. In the future however https://github.com/mozilla/pdf.js/pull/19043 could improve the performance of this patch, and it would enable (for example) tiling a page into multiple detail views when printing it.
There are some very minor TODOs that I left in the code, for some areas I need review feedback for. Also, I still need to find the best way to write tests.

Fixes #14147
Before:

After:

https://www.gtt.to.it/cms/risorse/urbana/mappa/mapparete.pdf at 400% zoom
Before:

After:

After discussing this patch with @calixteman, I updated it to prioritize rendering the full css-zoomed canvas rather than the high-resolution one. This means that, when zooming in, you'll first see the css-zoomed canvas, and then it will be replaced by the high-res one once it's ready. It's a slightly worse experience, however it guarantees that we do not regress in cases where the user starts moving around before that we are done rendering the background canvas (because if only the high-res canvas is there, they'll see just white until when the new high-res canvas is rendered).
I also changed the logic that decides when to re-render the high-res canvas to not only do it once the user scrolls past its edges, but when the user is close to scrolling past the edges.

Unfortunately this approach has a problem right now: since the various SVG paths for drawings are inserted inside the .canvasWrapper, they are now behind the detail layer and thus not visible. Marking as draft until this is fixed.

Fixing the drawing problem required changing the new canvas to be in the existing .canvasWrapper, rather than in a separate layer. This actually ended up simplifying the code a bit, and the canvasWrapper management logic is now fully contained in PDFPageView.

I'm working on adding some meaningful tests.

Btw, does this PR also fix issue #14193?


Use Github PAT when creating or committing to a PR in a workflow

Events triggered by the default GITHUB_TOKEN will not create new workflow runs,
which means that checks will not be run on the commit. The recommended
workaround is to use a Personal Access Token (PAT) with the right scope. We use
a PAT created for the antrea-bot account.
See
https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#triggering-new-workflows-using-a-personal-access-token
Signed-off-by: Antonin Bas<EMAIL_ADDRESS>

/skip-all


Update App to support GroupTag and Rename Device

Is it possible to update the app in order to support GroupTag editing and rename device functions within the app?
I also wanted to ask, if there are any plans to have this app being provided officially by Microsoft to IT Admins? We usually don't have time updating/compiling the apps, but highly rely on those to perform our daily business. A officially supported and provided App solution from the vendor would be a great improvement and would help speed up the adoption of AutoPilot technologies in enterprises.

Already added group tag functionality.  There are no active plans to publish it to the Apple/Google stores, but we will consider it.


GEODE-7330: Prevent RegionDestroyedException in FederatingManager

RegionDestroyedException may be thrown by FederatingManager.removeMemberArtifacts if another thread is invoking GemFireCacheImpl.close. Close synchronizes on GemFireCacheImpl.class but since FederatingManager doesn't (and should NOT) synchronize on GemFireCacheImpl, any thread in removeMemberArtifacts may encounter a destroyed region before Cache.isClosed() becomes true.
Here's the relevant code block in FederatingManager.removeMemberArtifacts:
    // If cache is closed all the regions would have been destroyed implicitly
    if (!cache.isClosed()) {
      proxyFactory.removeAllProxies(member, proxyRegion);
      proxyRegion.localDestroyRegion();
      notificationRegion.localDestroyRegion();
    }

Prevent RegionDestroyedException in FederatingManager

commit de3a59b14fbb79d3a271970f6511100b40c733c2
Author: Kirk Lund<EMAIL_ADDRESS>Date:   Mon Oct 21 14:01:04 2019 -0700

    GEODE-7330: Prevent RegionDestroyedException in FederatingManager

Cleanup FederatingManager classes

commit<PHONE_NUMBER>cb7312b49f8ce7e034cdb963d33b69
Author: Kirk Lund<EMAIL_ADDRESS>Date:   Mon Oct 21 14:30:24 2019 -0700

    GEODE-7330: Cleanup FederatingManager classes

    * Reduce method and field visibility as much as possible
    * Remove unnecessary uses of this
    * Reorder fields and methods based on visibility and other modifiers
    * Use @VisibleForTesting annotation
    * Fixup formatting and variable names

Please review @aaronlindsey

I think MBeanFederationErrorPathDUnitTest needs to be rewritten so we can make the fields of FederatingManager final.


Error: InvalidModel(InvalidModelError { msg: "unsupported character type: 4" })

I need Chinese model and found some in http://www.phontron.com/kytea/download/model/as-0.4.0-1.mod.gz , all the models found in this site can't be converted.
macOS 13.4.1 with M1 chip
cargo run --release -p convert_kytea_model -- --model-in as-0.4.0-1.mod --model
-out as-0.4.0-1.mod.zst
    Finished release [optimized] target(s) in 0.14s
     Running `target/release/convert_kytea_model --model-in as-0.4.0-1.mod --model-out as-0.4.0-1.mod.zst`
Loading model file...
Saving model file...
Error: InvalidModel(InvalidModelError { msg: "unsupported character type: 4" })

@lovelock Thank you for reporting this issue.
I have checked that model and it seems to be broken.
KyTea maps the Unicode characters in the training data to IDs, and the map contained in the model is read by the following function:
https://github.com/neubig/kytea/blob/73a94c4a3045087a7e90f27700f3b870a72625e7/src/lib/string-util.cpp#L223C1-L223C1
The character map contains both surface characters and character type identifiers (R, K, O, ...).
In as-0.4.0-1.mod, the 6203-th character of the list is \u{4} and some character type features refer it. However, such a character type is invalid according to the source code:
https://github.com/neubig/kytea/blob/73a94c4a3045087a7e90f27700f3b870a72625e7/src/lib/string-util.cpp#L58
KyTea does not check identifiers so features containing invalid character types are simply not used, but Vaporetto checks that, so the error occurs.

@lovelock I do not want to support buggy models at this time. However, you can still use that model by applying the following patch and ignoring the invalid character type identifier.
At here:
https://github.com/daac-tools/vaporetto/blob/dbbe79461614293c62956a1ccbd24603b05bd119/vaporetto/src/kytea_model.rs#L482-L508
Patches:

Line 482:-        for (type_ngram, v) in type_dict.dump_items() {
+        'a: for (type_ngram, v) in type_dict.dump_items() {

Line 498-500-                        return Err(VaporettoError::invalid_model(format!(
-                            "unsupported character type: {t}"
-                        )));
+                        continue 'a;


Config Mosquitto broker with SSL

Hi
I Create SSL Self sign:

openssl req -x509 -newkey rsa:1024 -keyout key.pem -out cert.pem -days 100

Anyone know how to configure Mosquitto broker to work with ESP8266 over SSL?
Thanks
Tom

Hi,
you need to create certificates and copy them to the correct directory. The other crucial thing is that when you create the certificate using OpenSSL it forces you to input a pass phrase. Mosquitto won't work with a pass phrase so you need to remove it from the certificate.
Also ESP doesn't support TLS 1.2 properly, it will attempt to connect then fail so you need to force tlsv1 in the mosquito config file.
The following is for Raspberry PI
Set up Mosquitto TLS
(Create a directory to work in then...)
openssl req -x509 -newkey rsa:1024 -keyout ca.crt -out cert.crt -days XXX
(12345 for pass phrase and enters or if you want add CA information)
openssl rsa -in ca.crt -out newca.pem
(12345 for pass phrase)
cp files to dest /etc/mosquitto/certs/
Modify Mosquitto config file /etc/mosquitto/mosquitto.conf
mosquitto.conf
cafile /etc/mosquitto/certs/cert.crt
certfile /etc/mosquitto/certs/cert.crt
keyfile /etc/mosquitto/certs/newca.pem
require_certificate false
tls_version tlsv1
Hope this helps!

Thanks for answer.
But I need have cacert.cer file to create esp_ca_cert.bin.
cert.crt is this file ?

Yes, the two are the same. If you follow exactly above then it should work for you. This is exactly what I have done and it works for me. I've set up 3 systems the same way and all are working.
You don't need to create an esp_ca_cert.bin file as the broker connects with SSL using unauthenticated encrypted support (the same as a web browser does to an SSL website).
When you call MQTT_InitConnection call it with security = 1 to enable SSL connections the client should then connect to your broker.

Thank you, @AcuarioCat, for the instructions.
I'm using Mosquitto Linux broker and 1.3.0 SDK in my esp. Without SSL, it works fine, but with SSL and following all your steps, I have no sucess. Is there any step not explicited? Can you tell me what is your SDK version?
In debugger mode, the application hangs in "TCP: connecting...", something like that:

System started ...
STATION_IDLE
STATION_IDLE
STATION_IDLE
STATION_IDLE
WIFI CONNECTED
STATION_IDLE
WIFI GOT IP
TCP: Connect to domain domain.com:portnumber
DNS: found ip XXX.XXX.XXX.XXX
TCP: connecting...

I cannot change my SDK, because I have other applications using it.
One more time, thank you very much.

You can install multiple SDK's and modify your Makefile to use the SDK you want/need.

SDK 2.0 with mbedtls work with SSL smooth

Hi @AcuarioCat! I am using esp8266 as client to connect with mosquitto through ssl. You said that we can disable authentication of ssl,  I tried it and it was done. But now I want to enable one-way certification, that is to say I want to make esp8266 verify the mosquitto broker. I want to know can i use .crt instead of .cer to make  esp_ca_cert.bin? thanks!


Switch to coredns with DNSendpoint plugin

put dnstype as label
Drop etcd, internal extdns instance, and coredns with etcd plugin
Use CoreDNS with DNSEndpoint plugin

Signed-off-by: Dinar Valeev<EMAIL_ADDRESS>

@ytsarev thoughts?

@ytsarev terratest brings coredns up, terratest runs dig against new CoreDNS and receives expected result from it.
Change isn't huge. We just cutted of ETCD as medium for CoreDNS and use DNSEndpoint object directly.

@k0da could you point me to the tests you are talking about?

@ytsarev https://github.com/AbsaOSS/k8gb/blob/master/terratest/test/k8gb_basic_failover_test.go#L56 for example

@k0da so pretty much existing regression test suite. Ok, it makes sense


Peer depenency Error

I can't install library
Below Error Code
npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/react
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!   peer react@"*" from<EMAIL_ADDRESS>npm ERR!   node_modules/@react-navigation/native
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!     peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!     node_modules/dd-sdk-reactnative
npm ERR!       dd-sdk-reactnative@"*" from the root project
npm ERR!   1 more (react-native)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/dd-sdk-reactnative
npm ERR!   dd-sdk-reactnative@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /Users/hongsa/.npm/eresolve-report.txt for a full report.

npm ERR!      /Users/hongsa/.npm/_logs/2021-07-22T02_38_52_419Z-debug.log

My react-native version is 0.64.1

Hello @hongsa. This is npm-specific behavior related to the peer dependencies handling. You can solve the issue by using --force or --legacy-peer-deps flags as suggested in the meantime.

Closed by #86


Request Failed (404) When Trying To Use The Plugin

Any functionality I try to use results in the following error:
Unable to run the task: java.lang.RuntimeException: java.io.IOException: Request failed with status code: 404 and response body: jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream@41cd297
java.lang.RuntimeException: java.io.IOException: Request failed with status code: 404 and response body: jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream@41cd297

Hi,
I think this may be an issue with your OpenAI account. See this link:
https://help.openai.com/en/articles/6891827-error-code-404-you-must-be-a-member-of-an-organization-to-use-the-api
Cheers!
niedz., 21 maj 2023, 16:42 użytkownik Jaroslav Brtis <
@.***> napisał:

Any functionality I try to use results in the following error:
Unable to run the task: java.lang.RuntimeException: java.io.IOException: Request failed with status code: 404 and response body: @.***
java.lang.RuntimeException: java.io.IOException: Request failed with status code: 404 and response body: @.***
—
Reply to this email directly, view it on GitHub
https://github.com/gradusnikov/eclipse-chatgpt-plugin/issues/3, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAECES7H2EODDGPQQXUZPSLXHISV5ANCNFSM6AAAAAAYJOFEFM
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Yes, that will be it. Thank you.


Envoy loose listener and cluster when connection to control plane is lost.

If you are reporting any crash or any potential security issue, do not
open an issue in this repo. Please report the issue via emailing
<EMAIL_ADDRESS>where the issue will be triaged appropriately.
Title: Envoy loose listener and cluster when connection to control plane is lost.
Description:
We have an incident in which some of the envoy agent lost the listener and cluster when the connection to control plane is lost. Control plane cert was expired and thats when the envoy agent were not able to connect to control plane. Once the connection to control plane is restored we saw that envoy listener and cluster config were restored and envoy got the correct no of listener and cluster. We are getting the listener and cluster from ADS from control plane.
We observed this in envoy version 1.25.9 version. We wanted to check if we have observed this behaviour or if this have been fixed in the higher version.
Repro steps:
We were not able to reproduce this after the incident.

cc @adisuissa in case you've seen this before


recode ages via command line

write function to check that age is a float, and age at different visits is different that will create a column 'age_encoded'

no longer relkevant with forced file format


[UNDER-DISCUSSION] Splitting Math Utils

Under Discussion Topic
Summary of the topic to be discussed with the development team
MathUtils has become bloated and very difficult to maintain due to minimal structure. There appear to be function duplicates in several places.
Describe the solution you'd like to be implemented
Split mathUtils into a python submodule of utils and divide the contents into sensible categories.
Discussion
There's some functions that need discussion, which can be added or removed from this list:
Consider for removal:

createInterp: we now require scipy version such that this function is always a passthrough directly to scipy.interp1d.
countBins: I think numpy has better tools to do this directly.
log2: I know numpy and math have tools to do this directly
distance: this is a straight passthrough to numpy.linalg.norm, probably not worth maintaining seperately
normal: simple passthrough to scipy.stats.norm.pdf
normalCdf: simple passthrough to scipy.stats.norm.cdf

For Change Control Board: Issue Review
This review should occur before any development is performed as a response to this issue.

[ ] 1. Is it tagged with the under_discussion type?
[ ] 2. If implemented, it will add a new requirement?
[ ] 3. Is a rationale provided? (Such as explaining why the improvement is needed )

For Change Control Board: Issue Closure
This review should occur when the issue is imminently going to be closed.

[ ] 1. The discussion determined the addition of a new task issue?

archived.


Using 12 or more Within blocks causes event emitter memory leak

I am using several Within blocks in my tests, however i have noticed that once i use 12 of them i get this warning:
(node) warning: possible EventEmitter memory leak detected. 11 step.after listeners added. Use emitter.setMaxListeners() to increase limit.
The warning does not seem to cause the scenario to fail.

Are you using them one by one, or a block within a block? Can you provide an example of such usage?
Probably within is not yet optimized to be used that frequently. Or it maybe a basic error when a listeners are not set.

I am using them one by one.
within('#IntroductionTitle', ()=>{
  I.see('Introduction')
})

within('#CompanyInformationTitle', ()=>{
  I.see('Company Information')
})

The warning occurs when this pattern continues for 12 or more uses of Within.

I see, this should be optimized. However, you can use
I.see('Introduction', '#IntroductionTitle')
I.see('Company Information', '#CompanyInformationTitle');

which looks a bit simpler to me )

This might be nice:
I.see('Introduction').within('#IntroductionTitle');
I.see('Company Information').within('#CompanyInformationTitle');

@adrianblynch yes, this is more readable but why to write more )

You answered your own question more readable :dancers:

Looks like listener for within was not removed after the block ended, so it caused #79  and probably this. I will close it for now, if issue appears in 0.3.0 - please reopen


Add member via API - no name parameter ? - fail to join

I'm trying to join a one node "cluster" using the api add member.
attempt 1
My "cluster" is setup like that :
name: bm0-coreos
listen-peer-urls: http://<IP_ADDRESS>:2380
listen-client-urls: http://<IP_ADDRESS>:2379, http://<IP_ADDRESS>:2379
initial-advertise-peer-urls: http://<IP_ADDRESS>:2380
initial-cluster: 'bm0-coreos=http://<IP_ADDRESS>:2380'
initial-cluster-state: 'new'

If I follow the API example :
curl \
  http:<IP_ADDRESS>:2379/v2/members \
  -XPOST \
  -H "Content-Type: application/json" \
  -d '{"peerURLs":["http:<IP_ADDRESS>:2380"]}'
{"id":"ccbb503f075b1719","name":"","peerURLs":["http://<IP_ADDRESS>:2380"],"clientURLs":[]}

configure my joining coreos :
name: tdeheurles-vm-coreos
initial-cluster: 'bm0-coreos=http://<IP_ADDRESS>:2380'
initial-cluster-state: 'existing'

But when I try etcd :
Error:  cannot sync with the cluster using endpoints http://<IP_ADDRESS>:4001, http://<IP_ADDRESS>:2379

Looking to the logs :
Aug 14 08:30:29 tdeheurles-vm-coreos etcd2[2081]: 2015/08/14 08:30:29 etcdmain: setting maximum number of CPUs to 1, total number of available CPUs is 1
Aug 14 08:30:29 tdeheurles-vm-coreos etcd2[2081]: 2015/08/14 08:30:29 etcdmain: listening for peers on http://localhost:2380
Aug 14 08:30:29 tdeheurles-vm-coreos etcd2[2081]: 2015/08/14 08:30:29 etcdmain: listening for peers on http://localhost:7001
Aug 14 08:30:29 tdeheurles-vm-coreos etcd2[2081]: 2015/08/14 08:30:29 etcdmain: listening for client requests on http://localhost:2379
Aug 14 08:30:29 tdeheurles-vm-coreos etcd2[2081]: 2015/08/14 08:30:29 etcdmain: listening for client requests on http://localhost:4001
Aug 14 08:30:29 tdeheurles-vm-coreos etcd2[2081]: 2015/08/14 08:30:29 etcdmain: stopping listening for client requests on http://localhost:4001
Aug 14 08:30:29 tdeheurles-vm-coreos etcd2[2081]: 2015/08/14 08:30:29 etcdmain: stopping listening for client requests on http://localhost:2379
Aug 14 08:30:29 tdeheurles-vm-coreos etcd2[2081]: 2015/08/14 08:30:29 etcdmain: stopping listening for peers on http://localhost:7001
Aug 14 08:30:29 tdeheurles-vm-coreos etcd2[2081]: 2015/08/14 08:30:29 etcdmain: stopping listening for peers on http://localhost:2380
Aug 14 08:30:29 tdeheurles-vm-coreos etcd2[2081]: 2015/08/14 08:30:29 etcdmain: couldn't find local name "tdeheurles-vm-coreos" in the initial cluster configuration
Aug 14 08:30:29 tdeheurles-vm-coreos systemd[1]: etcd2.service: Main process exited, code=exited, status=1/FAILURE
Aug 14 08:30:29 tdeheurles-vm-coreos systemd[1]: etcd2.service: Unit entered failed state.
Aug 14 08:30:29 tdeheurles-vm-coreos systemd[1]: etcd2.service: Failed with result 'exit-code'.

The relevant line seems to be : etcdmain: couldn't find local name "tdeheurles-vm-coreos" in the initial cluster configuration.
attempt 2
I tried to remove name from the joining node cloud-config :
initial-cluster: 'bm0-coreos=http://<IP_ADDRESS>:2380'
initial-cluster-state: 'existing'

and the error logs became :
2015/08/14 08:44:18 etcdmain: couldn't find local name "433fdd071c1d4d5095659d33624

attempt 3
Just made a try with joining coreos etcd-name as '433fdd071c1d4d5095659d33624' and it does not work too (not surprising but tested).
attempt 4
I suppose the problem coming from the curl request. It does not give a name.
So I tried to give it a name (jq is just for pipelining json result in a pretty look) :
➜  ~  curl --silent -XPOST -H "Content-Type: application/json" \
           <IP_ADDRESS>:2379/v2/members \
            -d '{"name": "tdeheurles-vm-coreos", "peerURLs":["http://<IP_ADDRESS>:2380"]}' \
           | jq '.'
{
  "id": "4e5d9c1b1ae2a01f",
  "name": "",
  "peerURLs": [
    "http://<IP_ADDRESS>:2380"
  ],
  "clientURLs": []
}
➜  ~  etcdctl member list
4e5d9c1b1ae2a01f[unstarted]: peerURLs=http://<IP_ADDRESS>:2380
fae963b62c48c7f5: name=bm0-coreos peerURLs=http://<IP_ADDRESS>:2380 clientURLs=http://<IP_ADDRESS>:2379

It does not take name in parameter.
I must be missing something but what ... :-s

You could check add member section for details using etcdctl to make it: https://github.com/coreos/etcd/blob/master/Documentation/runtime-configuration.md#add-a-new-member
Several points that may confuse you:

you need to list tdeheurles-vm-coreos in the -initial-cluster as error line says 'couldn't find local name "tdeheurles-vm-coreos" in the initial cluster configuration'.
you need to set -xxx-urls flags for tdeheurles-vm-coreos when bootstrap it. Registering to cluster is one thing, and bootstrapping is another thing, so you should provide details at both sides.
coreos makes the default name to be the machineID, so it changes to another name.

Thanks.

I don't want to go with etcdctl :

I'm trying to create an auto-scaling cluster (start a vm somewhere, then another, etc ...). The idea is to have the non clustered coreos adding himself (so not without etcdctl but with the api).
I had a cluster created with etcdctl, but in this way, I need to have the clustered coreos to listen an etcd folder for members wanted to be added, then add the member via etcdctl, notify that the add member is done ...
It's not a very hard way and I will try but if the api can ... why not ? these three actions could be transformed by one http POST

I forgot to write to github the test with tdeheurles-vm-coreos in the -initial-cluster. I did, but when I add the member via the api, it seems there is no option to add that name. And when I start the cluster, etcd2 complain about not finding tdeheurles-vm-coreos ...

I'll make some other test, thanks

@tdeheurles etcd2 is only complain about that it cannot find the name in --initial-cluster flag. The API doesn't take the name parameter, which is fine. You could just use name through etcd flag. Could you test it to see whether it could work? i could help it if it doesn't work as long as you could provide command line.
Based on the info so far, we may need to improve etcd error line and add member API.

Cloud-configs :
clustered_node :
coreos:
  etcd2:
    name: bm0-coreos
    listen-peer-urls: http://<IP_ADDRESS>:2380
    listen-client-urls: http://<IP_ADDRESS>:2379, http://<IP_ADDRESS>:2379
    initial-advertise-peer-urls: http://<IP_ADDRESS>:2380
    initial-cluster: 'bm0-coreos=http://<IP_ADDRESS>:2380'
    initial-cluster-state: 'new'
    advertise-client-urls: http://<IP_ADDRESS>:2379

joining_node :
coreos:
  etcd2:
    name: tdeheurles-vm-coreos
    initial-cluster:       'bm0-coreos=http://<IP_ADDRESS>:2380, tdeheurles-vm-coreos=http://<IP_ADDRESS>:2380'
    initial-cluster-state: 'existing'

clustered_coreos :
etcdctl member list
108d28f155454496: name=bm0-coreos peerURLs=http://<IP_ADDRESS>:2380 clientURLs=http://<IP_ADDRESS>:2379

request for adding member :
curl                                  \
  --silent                            \
  http:/<IP_ADDRESS>:2379/v2/members  \
  -XPOST                              \
  -H "Content-Type: application/json" \
  -d '{"peerURLs":["http://<IP_ADDRESS>:2380"]}'

http response :
{"id":"a0a4ea948b93e264","name":"","peerURLs":["http://<IP_ADDRESS>:2380"],"clientURLs":[]}

joining node logs :
Aug 14 19:11:25 tdeheurles-vm-coreos etcd2[1107]: 2015/08/14 19:11:25 etcdmain: setting maximum number of CPUs to 1, total number of available CPUs is 1
Aug 14 19:11:25 tdeheurles-vm-coreos etcd2[1107]: 2015/08/14 19:11:25 etcdmain: listening for peers on http://localhost:2380
Aug 14 19:11:25 tdeheurles-vm-coreos etcd2[1107]: 2015/08/14 19:11:25 etcdmain: listening for peers on http://localhost:7001
Aug 14 19:11:25 tdeheurles-vm-coreos etcd2[1107]: 2015/08/14 19:11:25 etcdmain: listening for client requests on http://localhost:2379
Aug 14 19:11:25 tdeheurles-vm-coreos etcd2[1107]: 2015/08/14 19:11:25 etcdmain: listening for client requests on http://localhost:4001
Aug 14 19:11:25 tdeheurles-vm-coreos etcd2[1107]: 2015/08/14 19:11:25 etcdmain: stopping listening for client requests on http://localhost:4001
Aug 14 19:11:25 tdeheurles-vm-coreos etcd2[1107]: 2015/08/14 19:11:25 etcdmain: stopping listening for client requests on http://localhost:2379
Aug 14 19:11:25 tdeheurles-vm-coreos etcd2[1107]: 2015/08/14 19:11:25 etcdmain: stopping listening for peers on http://localhost:7001
Aug 14 19:11:25 tdeheurles-vm-coreos etcd2[1107]: 2015/08/14 19:11:25 etcdmain: stopping listening for peers on http://localhost:2380
Aug 14 19:11:25 tdeheurles-vm-coreos etcd2[1107]: 2015/08/14 19:11:25 etcdmain: couldn't find local name "tdeheurles-vm-coreos" in the initial cluster configuration
Aug 14 19:11:25 tdeheurles-vm-coreos systemd[1]: etcd2.service: Main process exited, code=exited, status=1/FAILURE
Aug 14 19:11:25 tdeheurles-vm-coreos systemd[1]: etcd2.service: Unit entered failed state.
Aug 14 19:11:25 tdeheurles-vm-coreos systemd[1]: etcd2.service: Failed with result 'exit-code'.

clustered_node after request :
➜  ~  etcdctl member list
108d28f155454496: name=bm0-coreos peerURLs=http://<IP_ADDRESS>:2380 clientURLs=http://<IP_ADDRESS>:2379
a0a4ea948b93e264[unstarted]: peerURLs=http://<IP_ADDRESS>:2380

trying with urls now

Adding urls flags didn't solve this issue for now. Error changed.
Clustered node :
cloud-config
coreos:
  etcd2:
    name: bm0-coreos
    listen-peer-urls: http://<IP_ADDRESS>:2380
    listen-client-urls: http://<IP_ADDRESS>:2379, http://<IP_ADDRESS>:2379
    initial-advertise-peer-urls: http://<IP_ADDRESS>:2380
    initial-cluster: 'bm0-coreos=http://<IP_ADDRESS>:2380'
    initial-cluster-state: 'new'
    advertise-client-urls: http://<IP_ADDRESS>:2379

logs :
Aug 14 19:29:15 bm0-coreos etcd2[826]: 2015/08/14 19:29:15 etcdserver: failed to reach the peerURL(http://<IP_ADDRESS>:2380) of member f79845d766851864 (Get http://<IP_ADDRESS>:2380/version: dial tcp <IP_ADDRESS>:2380: connection refused)
Aug 14 19:29:15 bm0-coreos etcd2[826]: 2015/08/14 19:29:15 etcdserver: cannot get the version of member f79845d766851864 (Get http://<IP_ADDRESS>:2380/version: dial tcp <IP_ADDRESS>:2380: connection refused)
Aug 14 19:29:20 bm0-coreos etcd2[826]: 2015/08/14 19:29:20 etcdserver: failed to reach the peerURL(http://<IP_ADDRESS>:2380) of member f79845d766851864 (Get http://<IP_ADDRESS>:2380/version: dial tcp <IP_ADDRESS>:2380: connection refused)
Aug 14 19:29:20 bm0-coreos etcd2[826]: 2015/08/14 19:29:20 etcdserver: cannot get the version of member f79845d766851864 (Get http://<IP_ADDRESS>:2380/version: dial tcp <IP_ADDRESS>:2380: connection refused)

➜  ~  etcdctl member list
108d28f155454496: name=bm0-coreos peerURLs=http://<IP_ADDRESS>:2380 clientURLs=http://<IP_ADDRESS>:2379
f79845d766851864[unstarted]: peerURLs=http://<IP_ADDRESS>:2380

Joining node
cloud-config
coreos:
  etcd2:
    name: tdeheurles-vm-coreos
    listen-peer-urls: http://<IP_ADDRESS>:2380
    listen-client-urls: http://<IP_ADDRESS>:2379, http://<IP_ADDRESS>:2379
    initial-cluster:       'bm0-coreos=http://<IP_ADDRESS>:2380, tdeheurles-vm-coreos=http://<IP_ADDRESS>:2380'
    initial-cluster-state: 'existing'

logs
Aug 14 19:31:07 tdeheurles-vm-coreos etcd2[2298]: 2015/08/14 19:31:07 etcdmain: error verifying flags, -advertise-client-urls is required when -listen-client-urls is set explicitly. See 'etcd --help'.
Aug 14 19:31:07 tdeheurles-vm-coreos etcd2[2298]: 2015/08/14 19:31:07 etcdmain: When listening on specific address(es), this etcd process must advertise accessible url(s) to each connected client.

I now will add this -advertise-client-urls

@tdeheurles A better way to make it work is to read the doc carefully. I can see configuration errors through your first reporting to the last one.
https://github.com/coreos/etcd/blob/master/Documentation/runtime-configuration.md#add-a-new-member
This shows what configuration you should give to the newly add member to bootstrap it.

Comparison
Example from your link (just removed infra1 & 2):
-name: "infra3"
-initial-cluster: "infra2=http://<IP_ADDRESS>:2380,infra3=http://<IP_ADDRESS>:2380"
-initial-cluster-state: "existing"
-listen-client-urls: http://<IP_ADDRESS>:2379
-advertise-client-urls: http://<IP_ADDRESS>:2379
-listen-peer-urls: http://<IP_ADDRESS>:2380
-initial-advertise-peer-urls: http://<IP_ADDRESS>:2380

The joining node :
name: tdeheurles-vm-coreos
initial-cluster: 'bm0-coreos=http://<IP_ADDRESS>:2380, tdeheurles-vm-coreos=http://<IP_ADDRESS>:2380'
initial-cluster-state: 'existing'
listen-client-urls: http://<IP_ADDRESS>:2379
advertise-client-urls: http://<IP_ADDRESS>:2379
listen-peer-urls: http://<IP_ADDRESS>:2380
initial-advertise-peer-urls: http://<IP_ADDRESS>:2380

log from joining node :
Aug 14 19:53:35 tdeheurles-vm-coreos etcd2[2087]: 2015/08/14 19:53:35 etcdmain: listening for client requests on http://<IP_ADDRESS>:2379
Aug 14 19:53:35 tdeheurles-vm-coreos etcd2[2087]: 2015/08/14 19:53:35 etcdmain: stopping listening for client requests on http://<IP_ADDRESS>:2379
Aug 14 19:53:35 tdeheurles-vm-coreos etcd2[2087]: 2015/08/14 19:53:35 etcdmain: stopping listening for peers on http://<IP_ADDRESS>:2380
Aug 14 19:53:35 tdeheurles-vm-coreos etcd2[2087]: 2015/08/14 19:53:35 etcdmain: couldn't find local name "tdeheurles-vm-coreos" in the initial cluster configuration
Aug 14 19:53:45 tdeheurles-vm-coreos etcd2[2126]: 2015/08/14 19:53:45 etcdmain: setting maximum number of CPUs to 1, total number of available CPUs is 1
Aug 14 19:53:45 tdeheurles-vm-coreos etcd2[2126]: 2015/08/14 19:53:45 etcdmain: listening for peers on http://<IP_ADDRESS>:2380
Aug 14 19:53:45 tdeheurles-vm-coreos etcd2[2126]: 2015/08/14 19:53:45 etcdmain: listening for client requests on http://<IP_ADDRESS>:2379
Aug 14 19:53:45 tdeheurles-vm-coreos etcd2[2126]: 2015/08/14 19:53:45 etcdmain: stopping listening for client requests on http://<IP_ADDRESS>:2379
Aug 14 19:53:45 tdeheurles-vm-coreos etcd2[2126]: 2015/08/14 19:53:45 etcdmain: stopping listening for peers on http://<IP_ADDRESS>:2380
Aug 14 19:53:45 tdeheurles-vm-coreos etcd2[2126]: 2015/08/14 19:53:45 etcdmain: couldn't find local name "tdeheurles-vm-coreos" in the initial cluster configuration

Clustered node :
Aug 14 19:55:52 bm0-coreos etcd2[834]: 2015/08/14 19:55:52 etcdserver: failed to reach the peerURL(http://<IP_ADDRESS>:2380) of member 6c6c60f20c602ea0 (Get http://<IP_ADDRESS>:2380/version: dial tcp <IP_ADDRESS>:2380: connection refused)
Aug 14 19:55:52 bm0-coreos etcd2[834]: 2015/08/14 19:55:52 etcdserver: cannot get the version of member 6c6c60f20c602ea0 (Get http://<IP_ADDRESS>:2380/version: dial tcp <IP_ADDRESS>:2380: connection refused)

@tdeheurles I do not think you strictly follow the doc. You put an extra space right after the comma in initial cluster flag. Please move the extra space and give it a try. We might trim the space. If you think we should do so, please open another issue for that. Thanks for your reporting.

Worked.
all these no sense try for a space ...
the log was complaining about "tdeheurles-vm-coreos" so I did suppose that name was good and started to invent config ... won't go that way anymore.
I won't take We might trim the space. If you think we should do so, please open another issue for that. for a taunt and will respond if it's not a space it will be something else ... ... but I think a taunt had totally been justified here ^^
I just needed to add http://<IP_ADDRESS>:2379 to listen-client-urls for etcdctl to work on the joining node. Maybe I create a PR for that part of the doc ?
Thanks so much and sorry for wasting your time @xiang90 :-s

@tdeheurles I was just suggesting I am going to close this one since your issue is resolved. Trimming the space might be a good idea but it is a separate issue that worth another issue to track. This one is long enough. It is not good for other people to search or track.

I just needed to add

etcdctl can take a -peers list to find out your cluster. You do not have to listen on <IP_ADDRESS> to make the ctl work.


ADI SHARC Architecture support

This PR adds a few architecture-specific constants for the ADI SHARC+ architecture. It uses ELF as the base format for its intermediate and executable objects.

Is there any documentation for the SHARC ELF PSABI?
How have you tested this?

Is there any documentation for the SHARC ELF PSABI?

Not as such. There is some public documentation for the official toolchain and processor, which contains some of the information:

CCES 2.9.0 C/C++ Compiler Manual for SHARC Processors
CCES 2.9.0 Linker and Utilities Manual
CCES 2.9.0 Loader and Utilities Manual
CCES 2.9.0 Assembler and Preprocessor Manual
SHARC+ Core Programming Reference

There is also some documentation which is only available within the toolchain package itself, in header files, example code, and embedded HTML documentation. I can't share this, but anybody can go see it by obtaining a trial license.
There are some parts, such as the relocation specifics, which are undocumented. I obtained these values through reverse engineering the toolchain output.

How have you tested this?

I'm using this branch from a private crate which serves as the SHARC backend to our in-house compiler. I'm focusing on writing DOJ (the intermediate object format) right now, so that is the well exercised part.


state of svelte-add

svelte-add has some major issues, most of them are properly outlined in #328 for those interested. Theses issues cannot be handled correctly, without rewriting most of the codebase.
With the help of #328 that's exactly what I decided to do, and it's time to share the progress with everyone. https://svelte-compose.com/
svelte-add is therefore no longer my priority and I will focus on svelte-compose starting now. If there are any usage breaking bugs to fix I will try to find time to implement a fix for svelte-add, if the relevant adder has not been ported to svelte-compose yet. svelte-add will not see any new features implemented at this point.

Cool to see work happening on the rewrite! I hate git sub-modules, so happy about that part particularly 😆  Having a website is a nice addition as well.
The only thing that gives me pause is losing the svelte-add name, which is well-known in the community and nice and concise. svelte-compose is a bit longer and doesn't have the same ring to it. Could we just publish new versions keeping the svelte-add name or using the @svelte-add scope?

Sometimes things are just too obvious to see them by yourself. Up until your comment I was under the impression that this would not be possible, because I don't have access to the NPM Org, but it didn't came to my mind to just request access. That's what I have just done.
If everything works as I expect, this is the new plan!

Hey @babichjacob, hope you don't mind the ping. Would you mind adding me (manuel3108) to the NPM org?
Thanks for your help!

No problem, I've sent you an invite!
Sorry for my absence 😰

@J Wow, that was a fast one. No problem at all. Thank you

@babichjacob Totally forgot about https://www.npmjs.com/package/svelte-add, could you do the same there?

I added svelte-add to the organization, I think, did that work?

Yes, that worked, thanks!

Hi @manuel3108, Svelte maintainer here 👋 We have interest in making svelte-add a bit more official/formal. Are you available for a chat on the Svelte Discord to discuss details? If so, just put a message in the #contributing channel and we can take it from there.


chore(multiple-constructs): add integration tests at test level

Create integration tests at the test level to use when launching all constructs for appsec testing.

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v2
Commit ID: 028e81a50d07030767432a73f7a239bff2ecf85d
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


Add more functionality to off-screen cameras

Add more functionality to off-screen cameras (see #15):

Add possibility to attach camera to a body
Add possibility for camera to follow a skeleton or body
Visual improvements

Additional functionalities:

Add a black and white mode (to generate single channel images, useful in some instances)
Adjust projection matrix to unsure correct display ratio (a square should display as a square regardless of the selected resolution...)

This should be fixed by #27 (only for the Mangum integration though)..


Log messages send out from Bot Connector to Channels

If I understand correctly, bot connector modifies the Message to adopt to the particular channel's specification. Is it possible to have a feature in the portal to see last 'N' JSON messages sent from the connector to specific channels in its final form?
The problem I faced was that I was trying to get the images in button in Facebook channel but it was not working. This created a confusion that whether the feature is yet not supported or if I was doing something wrong. The logs from connector would help us in discerning the actual problem quickly.
Is something like this possible?

Closing this issue due to age. @ankitbko - please open a new issue if this issue is not fixed and needs further discussion. Thanks!


Issue installing 0.3.9

Having an issue installing latest version using Sudo. Anyone else experience this?
npm ERR! code 1
npm ERR! Command failed: /usr/local/bin/git clone --depth=1 -q -b master git://github.com/nicoduj/harmony-websocket.git /Users/john312/.npm/_cacache/tmp/git-clone-538af77b
npm ERR! /Users/john312/.npm/_cacache/tmp/git-clone-538af77b/.git: Permission denied

Disregard. Just needed to update npm


Correctly order PBFT requests on resubmission

Description
This changeset causes the resubmission of requests to occur in order by timestamp, rather than randomly in map order.
This changeset also includes a couple minor lint fixes and some enhanced debugging.
Motivation and Context
Once PBFT runs out of sequence numbers, it simply starts queueing requests into a map.  After more sequence numbers become available as the watermarks move, the requests are resubmitted for ordering.  The previous implementation naively resubmitted them in the order in which they emerged from iterating over the map.  This caused an interaction with the custody deduplication mechanism in batch which expects for requests to arrive for execution in the same order that the batch primary submits them to PBFT for ordering (by timestamp).
This would result in later requests being executed before earlier, and consequently, when earlier requests would be scheduled for execution, they would be pruned as 'stale', producing empty blocks.
Fixes the empty block problem from #1091 (which is only half of #1091)
How Has This Been Tested?
A new test has been added and verified to fail under the old behavior, but to pass under this PR.
Checklist:

[X] I have added a Signed-off-by
[X] Either no new documentation is required by this change, OR I added new documentation
[X] Either no new tests are required by this change, OR I added new tests
[X] I have run goimports, go vet, and golint. I have cleaned up all valid errors and warnings in code I have added or modified. These tools may generate false positives.  The goal is clean, consistent, and readable code.

Signed-off-by: Jason Yellick<EMAIL_ADDRESS>

@rameshthoomu Looks like CI simply timed out above.  When I attempt to click the 'restart' button, Travis gives me the message "This build can't be restarted" in a red drop down banner across the top of the page.

@jyellick: Travis CI has specific time limits for each job. Limitation for public repositories is 50mins. I could see 24 behave tests are executed and passed out of 25. Please ignore this error message for now. Soon, we are coming up with PR's to reduce overall build time. Thanks


Polish translation

Hi, would you be interested in PR from last 2 commits from https://github.com/propertygroup/django-embed-video/commits/master? That would be the first translation, so I don't know what convention would be appropriate and how would you like to treat the metadata: remove or fill. And if fill, then in what way?
Of course I can adjust anything before creating PR.

Hi @pawel-ch! I think translations and setting them up are always cool, Django itself does it. This would make it easier for future contributors to add any necessary translations as well. Please feel free to open a PR 👍

Hi @aleksihakli, I just created the PR. I'm sorry it took so long.
Making more translations is as simple as:
django-admin makemessages -l pl
# edit django.po
django-admin compilemessages

Thanks for the PR @pawel-ch! 👍


Enhancement: Placeholder text for ion-select component

The current version beta.8 of ionic 2 doesnt allow to set placeholder text for ion-select . This would be a useful feature to have considering the real estate that we have in mobiles screens. Without this we have to add additional element either label or div to specify the placeholder text.

Thanks for the issue! This will be in the beta 9 release. :smile:

Well done @brandyscarney. Thank you.

@brandyscarney it would be nice to have an option to have the default select behavior inside of <ion-select>, because the user needs to tap one more time in the "Ok" button to select the option.

@juarezpaf I'm not sure I understand. Is there an issue open for this?

@brandyscarney not yet! I'll open one this weekend. Thanks a lot.


Ensure that attempting to print with disableAutoFetch set will fail gracefully (issue 11339)

This patch simply restores the behaviour that existed prior to PR #7697, see this code in particular, since I cannot imagine that that was changed other than by pure accident.
As mentioned by a comment in BaseViewer.setDocument: "Printing is semi-broken with auto fetch disabled.", and note that since triggering of printing is a synchronous operation there's generally no easy way to load the missing data.
Fixes #11339

/botio-linux preview

Thank you!


Support custom inline styles when importing from HTML?

The docs mention that you can define map CSS styles to arbitrary styles. I need to serialize my editorState to HTML and from during and between editing sessions.
I know from looking at other Issues that serializing to and rehydrating from HTML should be avoided, but I think there are lots of use cases where you want to frequently initialize the Draft editor from some external state and have the editorState truthfully represent what's given to the editor.
Looking at the source code, only a handful of inline elements are supported:

b: 'BOLD'
code: 'CODE'
del: 'STRIKETHROUGH'
em: 'ITALIC'
i: 'ITALIC'
s: 'STRIKETHROUGH'
strike: 'STRIKETHROUGH'
strong: 'BOLD'
u: 'UNDERLINE'

I'd like to convert from more inline styles to the style strings that I use with RichUtils.toggleInlineStyle; notably superscript <sup/> and subscript <sub>.
The only way to support them today that I can see (without forking the draft-js source) is to choose other styles that I don't use (say, strikethrough and underline) to represent the styles that I want. Is there a different way?
How would one go about implementing support for custom inline tags for the HTML conversion? As far as I can tell, it doesn't have access to props passed to <Editor/>.
Thanks!

I am working on a PR to make that configurable will be similar to https://github.com/facebook/draft-js/pull/205, it was going to be part of that PR but it got way to large so got split over. Just waiting it to be merged into master. At the moment it has already being imported

@mitermayer that's cool. In the meantime, I might just add the inline tags that I need to a fork of draft-js.

@coopy @mitermayer Hello, guys. Do you have any news?

@mitermayer I did not find your PR here

I'm also in need of this feature.  Any word on this?

Hi guys, I am back working at draft-js will post the PR soon.

Looking forward to this!

Got something ready for this, I believe however that maybe the converter to html could be split from draft itself into a separate module, we could then create an API to allow user specific converters. Example would be allowing user to paste markdown content, this however can be discussed on another issue. Will write some tests do a bit of refactoring and open a PR for this

Hi - need to support superscript and subscript style on HTML import. Where do we stand from support perspective for these extra styles ?

Is this implemented?

I am also wondering if superscript and subscripts are supported yet.

Still no news ?

@coopy I too was looking into adding more custom buttons support,
In https://github.com/draft-js-plugins/draft-js-plugins/tree/master/draft-js-buttons, they have injected the  and  tags in. I am studying their code to see how they did it.

@coopy I too was looking into adding more custom buttons support,
In https://github.com/draft-js-plugins/draft-js-plugins/tree/master/draft-js-buttons, they have injected the <sub> and <sup> tags in. I am studying their code to see how they did it.

Seems like they did it via a pull request XD
https://github.com/facebook/draft-js/pull/1779/commits/93d6bc28c4a66d0b61ff88d09879d1f354b7857a#diff-00602a634c30f4f0ceb4993fad5d3136

Any news on this?

Hi guys, I am back working at draft-js will post the PR soon.

Any news on this?

Any update on this? :)

aa

+1

Any update?????????? I need this feature

Any update?????????? I need this feature

any update ?

Hello, please give me a sign if this is implemented 👍🏾  ;)

any update?

if anyone is still looking for a solution, i eventually settled on the plugin draft-convert. it is able to convert the draft state to html and back to draft state, and you can declare all of the inline styles you want such as colors and links.


Looking directly/angled up and swinging causes the shovel to play the hit sound

Ignore the different swing sound, its a mod I'm working on with my girlfriend
https://github.com/Rocksnotch/shovelFix/assets/68942129/12481eae-70a6-46d4-9547-cbfb6650460e

Please let me know if this is a conflict with another mod; though I am 90% sure it isn't.

Unfortunately, I believe this is a base game issue. The shovel is hitting the camera directly above you, and that camera is the camera that watches you on the monitor. Without messing up the screen color heavily, this is an unfortunate side effect of the camera being on the same raycast layer as other physical objects in the game.

thanks for the info! players typically won't be swinging up that high anyways so

Unfortunately, I believe this is a base game issue. The shovel is hitting the camera directly above you, and that camera is the camera that watches you on the monitor. Without messing up the screen color heavily, this is an unfortunate side effect of the camera being on the same raycast layer as other physical objects in the game.

thanks for the info! players typically won't be swinging up that high anyways so

of course, not a problem. You should still be able to hit things when you are looking up, its just that if there is nothing else it will hit the camera. Been trying to work on a fix for this but otherwise it seems like a vanilla issue.


Revert pester portion of Added Meta, Charset, and Transitional parame…

…ters to ConvertTo-HTML (#4184)
(reverted from commit bbc180a918f9a2bece2f8a42748337555d539db6)

@TravisEz13 Can you please add a PR description to explain why we are reverting it?

a previous merge https://github.com/PowerShell/PowerShell/commit/bbc180a918f9a2bece2f8a42748337555d539db6 incorrectly included pester changes. Most likely because that individual did not update his submodules.


LuminaOS-Debian

use synaptic package manager
use qt5-configuration-tool (see: http://qt-apps.org/content/show.php/Qt5+Configuration+Tool?content=168066, QT_QPA_PLATTFORMTHEME=qt5ct needs to exported by user)
use df instead of mount (this ensures only physical devices are shown in lumina-fm and not bind-mounts like schroot (cross-compiling environment) mounts)
set SysPrefix to /
add recommends to lxpolkit (lumina does not have one yet, required for .desktop files that use pkexecfor gaining root access, /usr/lib/$(gcc -print-multiarch)/lxpolkit needs to be added to autostart by user)
add recommends to qt5-configuration-tool
apply patch that uses LuminaOS-Debian instead of LuminaOS-Linux upon 'dpkg-buildpackage'

TODO: automate lxpolkit, qt5ct stuff, proper shutdown stuff (not working in default Debian configuration) setup
Q: I wonder if we should add a new device type "LVM2" for logical volume manager volumes that are mounted and use a different icon?
You can keep this un-merged, until everything is done, in case you prefer it that way.

I don't see anything groundbreaking in those commits, so I went ahead and committed them. Feel free to enable other Debian features when you have time.


unexpected behaviour with routerWillLeave and child routes

From what I posted in Discord in case anyone else is struggling with this...
so I have something like:
<Route path="/" component="Parent">
    <Route path="betterroute" component="BetterRoute" />
    <Route path="leaveme" component="LeaveMe">
        <Route path="1"  component="1" />
        <Route path="2"  component="2" />
        <Route path="3"  component="3" />
    </Route>
</Route>

on LeaveMe I am using:
  mixins: [ Lifecycle ],

  routerWillLeave(nextLocation) {
    return ';...;'
  }

Expected behaviour is that it should throw the alert if I navigate to / or  /betterroute from /leaveme, or any route that is a child of /leaveme.
What actually happens is I enter on any of the following routes:
/leaveme/
/leaveme/1
/leaveme/2
/leaveme/3

And it will register LeaveMe's lifecycle hook (because the component is technically mounted)...
Then, if I navigate to literally any route (including child routes) it will run and de-register the mixin.
My current solution is to not use the mixin at all and instead use History directly on LeaveMe like so:
  componentWillMount() {
    this.unsubscribeToHistory = this.props.history.listenBefore(this.routerWillLeave)
  },

  componentWillUnmount() {
    this.unsubscribeToHistory()
  },

  routerWillLeave(nextLocation) {
    if(nextLocation.action === 'PUSH') {
        if(nextLocation.pathname.split('/')[1] !== 'leaveme') {
          return ';...;'
        }
    }
  },

Which does the trick.

This is the correct behavior. When router moves between routes, it does not do a diff between the two states, but instead builds a fresh route tree for the next state. So, in this way, it acts a little unlike React itself, where it will do a minimal set of operations on the DOM. This helps router maintain consistent behavior.
For example, you may want to perform some animation at the LeaveMe component's level when moving between those child routes. If we had inconsistent behavior and conditionally fired off that hook, it would actually be harder (maybe even impossible) for you to implement that kind of animation.
It's understanding confusing since this doesn't jive with normal React-isms, but it does make sense for the API to behave like this. I can see about some better documentation to clear this up a bit.

@timdorr
Are you sure? I didn't have a chance to look at this in depth, but it looks like transitionHook is at least attempting to calculate the leaveRoutes and only invoke the leave hooks for those: https://github.com/rackt/react-router/blob/v1.0.0/modules/useRoutes.js#L119

NEVERMIND! :smile:

Sorry - I'd wanted to leave a comment but I was going to wait until I found some time to dig through the confirming navigation stuff in a bit more depth and maybe add some tests and confirm the original report.

This doesn't reproduce against our transitions example for me. I'm not sure what specifically is happening in your case, but this appears to work correctly for me.

why confirming navigation  appears two times


download libspdm code and its submodules twice

When use "git submodule update --init --recursive" command to get the full repo,  the libspdm code and its submodules will download twice.
The files in SPDM-Responder-Validator/libspdm directory are not necessary to build the spdm-emu  executable files.

The solution is to move https://github.com/DMTF/spdm-emu/tree/main/spdm_emu/spdm_device_validator_sample to https://github.com/DMTF/SPDM-Responder-Validator

9/19/2022 - The solution is to move https://github.com/DMTF/spdm-emu/tree/main/spdm_emu/spdm_device_validator_sample to https://github.com/DMTF/SPDM-Responder-Validator

Hi. When move spdm_emu/spdm_device_validator_sample to DMTF/SPDM-Responder-Validator, there are many code depend on spdm-emu.
https://github.com/DMTF/spdm-emu/blob/32bdd5ec5f7673e38abf3a8d26ca1e662cd95d79/spdm_emu/spdm_device_attester_sample/CMakeLists.txt#L18-L23
https://github.com/DMTF/spdm-emu/blob/32bdd5ec5f7673e38abf3a8d26ca1e662cd95d79/spdm_emu/spdm_device_attester_sample/spdm_device_attester_sample.h#L12-L17
The independent DMTF/SPDM-Responder-Validator will not build successful without these code/lib support.

Look at https://github.com/DMTF/SPDM-Responder-Validator/pull/36.
It seems too many changes.
@steven-bellock , should we consider move below to libspdm ?
 #include "library/spdm_transport_mctp_lib.h"
 #include "library/spdm_transport_pcidoe_lib.h"
 #include "library/mctp_requester_lib.h"
 #include "library/pci_doe_requester_lib.h"

Still thinking what is the best way to organize those libraries. Let's discuss in the meeting.


Explore adding a searching technique to allow synonym searching

Summary
Explore whether it's possible to allow searching for synonyms on the ICDS website, and if so, implement it.
This ticket is has come out of the search investigation: #1025.
💬 Description
Currently, the website only allows exact search term matches. The issue with this is that users may sometimes have different names for components, e.g. "modal" instead of "dialog", so searching for that would not return any results.
This ticket is to investigate whether it's possible to improve the search functionality to make it return results which contain synonyms of the search term.
While researching for #1025, there was no evidence of FlexSearch having this option built-in so this ticket would involve exploring whether there are perhaps any separate libraries we could add which would work.
💰 Use value
This would help users find the information they are looking for more easily. It would particularly help those who are new to the ICDS and aren't familiar with certain component names.
But it isn't just component names - there are probably a lot of words used throughout the ICDS website which have synonyms some people might be more used to.
📝 Acceptance Criteria
Given that I am using the search bar / functionality on the website
When  I search for a particular term
Then I see results which contain synonyms for that term (if there are any).
Additional info
I am not completely sure if the correct term is "synonym searching" or "semantic searching"; the main thing is that the search should return results containing synonyms.

If there are no libraries or anything which would allow this, another solution would be to enhance the fields in the markdown files to perhaps include a "tags" field (or similar) and then include that field when searching (as Gatsby allows you to pass in the fields you want to search).
E.g. in the markdown files containing guidance about the dialog component, (alongside title, status, etc.) you could have:
tags: "dialog"

Spike and implementation in one


[Resolve Errors] [Review Warnings] - Pagination - Responsive handling

Mind if I transfer this ticket to the DSR repo @shindigira?


ShogiGUI-style Custom Image Importing Functionality

Referred PRs and Issues: #430 #492
説明 / Description
This PR has imported sharp and ts-md5 package for image processing and hashing the directory,
and implemented the shogiGUIStyleCrop() in image_cropper.ts.
Two settings string are also added to the setting file, and the pieces relies on the directory to load instead of hard-coded URL piece by piece.
チェックリスト / Checklist

MUST

[x] npm test passed
[x] npm run lint was applied without warnings
[x] changes of /docs/webapp not included (except release branch)

RECOMMENDED (it depends on what you change)

[ ] unit test added/updated

The remaining problem is that the background scripts cannot generate the proper directory automatically to get the generated piece directory.

@Quisette
Thank you for your PR!

The remaining problem is that the background scripts cannot generate the proper directory automatically to get the generated piece directory.

OK.
I will review and add comments for currently implementation.

This version is still buggy. It needs importing the source image twice to make the board showing.

This version is still buggy. It needs importing the source image twice to make the board showing.

The functionality is good to go in Ubuntu 23.04, and should be tested in different environments.

The implementation for now has a bug of new pieces not reloaded, or partially reloaded, like this:

After reloading the webview, the images is OK to render.

@Quisette

The implementation for now has a bug of new pieces not reloaded, or partially reloaded, like this:

We can resolve the bug using toBuffer() and writeFileSync as following code.
        const buffer = await sharp(srcURL)
          .extract({
            left: j * width,
            top: i * height,
            width: width,
            height: height,
          })
          .resize(width, height)
          .toBuffer();
        fs.writeFileSync(path.join(destDir, `${side}_${piecesSet[j]}.png`), buffer);

Tested compiling with electron:build and execute successfully in both Ubuntu 23.04 and Windows 11.

@Quisette

Tested compiling with electron:build and execute successfully in both Ubuntu 23.04 and Windows 11.

Thank you!!
Could you remove change of webpack.config.js and check remaining comments?

CI output has an error about license file check, but please ignore it.
I will update .github/workflows/test.yaml later.
Please apply only npm run lint.

@Quisette
Sorry, could you see the discussion again?
https://github.com/sunfish-shogi/electron-shogi/pull/497/files#r1186078441

@Quisette Sorry, could you see the discussion again? https://github.com/sunfish-shogi/electron-shogi/pull/497/files#r1186078441

I can see it.

Codecov Report
Patch coverage: 69.02% and project coverage change: -0.26 :warning:

Comparison is base (0eb9bc8) 70.59% compared to head (6e3d490) 70.34%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #497      +/-   ##
==========================================
- Coverage   70.59%   70.34%   -0.26%
==========================================
  Files          75       75
  Lines       15367    15338      -29
  Branches     1926     1953      +27
==========================================
- Hits        10849    10790      -59
- Misses       2619     2622       +3
- Partials     1899     1926      +27

Impacted Files
Coverage Δ

src/background/settings.ts
38.98% <25.00%> (-0.25%)
:arrow_down:

src/renderer/store/setting.ts
53.99% <33.33%> (-0.60%)
:arrow_down:

src/common/settings/app.ts
75.36% <54.54%> (-0.58%)
:arrow_down:

src/renderer/ipc/web.ts
55.67% <66.66%> (+0.24%)
:arrow_up:

src/renderer/view/primitive/BoardLayout.ts
85.69% <71.64%> (-2.98%)
:arrow_down:

src/renderer/ipc/api.ts
82.72% <80.00%> (-0.09%)
:arrow_down:

src/common/i18n/locales/en.ts
99.03% <100.00%> (ø)

src/common/i18n/locales/ja.ts
98.56% <100.00%> (ø)

src/common/i18n/locales/zh_tw.ts
98.99% <100.00%> (ø)

src/renderer/view/primitive/BoardView.vue
77.41% <100.00%> (+0.26%)
:arrow_up:

... and 6 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Thank you for your large implementation!!
This is one of the largest new feature recently.
And sorry for requesting additional changes many times.
I will merge this PR.
Please let me check details of behavior and coding policy later, and fix or refactor if required.

Thanks for the merge of my contribution!
It is happy to see that a open-sourced Shogi analyzer is growing up, especially that we're building our own features.
It is OK for the additional changes since I don't have too much experience of contribution of open-sourced project or large projects, and I think it is important to keep the coding style same.
BTW, in case that some devs want to join as well, maybe we should write some documentations files about the structures of whole project, and the coding style, etc.


Fix color corruption in Windows

Git seems to corrupt the terminal colors when the terminal's stdin
is given to it

Before and after. Thank you @slippycheeze for fixing this issue in Topgrade.

Before and after. Thank you @slippycheeze for fixing this issue in Topgrade.

Thanks!

Thanks!


kafka: client has run out of available brokers to talk to (Is your cluster reachable?)

This error has been made, kafka is deployed at a single point, local can link to kafka

After Google, the kafka configuration is wrong, but the modification is useless.

I can't locate the reason now.
jaeger-ingester:  1.14
kafka version ：2.11-2.3.0

This issue has been resolved because KAFKA_BROKERS is outdated
But there are other problems
If there's no news in kafka for a long time
It will stop on its own
[图片]

This issue has been resolved because KAFKA_BROKERS is outdated
But there are other problems
If there's no news in kafka for a long time
It will stop on its own

Have you looked at the ingester.deadlockInterval option:

Interval to check for deadlocks. If no messages gets processed in given time, ingester app will exit. Value of 0 disables deadlock check.

from https://www.jaegertracing.io/docs/1.14/cli/#jaeger-ingester

你看过这个ingester.deadlockInterval选项了吗：

检查死锁的时间间隔。如果在给定时间内没有处理任何消息，则ingester app将退出。值0禁用死锁检查。

来自https://www.jaegertracing.io/docs/1.14/cli/#jaeger-ingester

Wow, that's true. I'm sorry I checked the help but didn't see it. Thank you for the problem

你看过这个ingester.deadlockInterval选项了吗：

检查死锁的时间间隔。如果在给定时间内没有处理任何消息，则ingester app将退出。值0禁用死锁检查。

来自https://www.jaegertracing.io/docs/1.14/cli/#jaeger-ingester

Wow, that's true. I'm sorry I checked the help but didn't see it. Thank you for the problem

Have you looked at the ingester.deadlockInterval option:

Interval to check for deadlocks. If no messages gets processed in given time, ingester app will exit. Value of 0 disables deadlock check.

from https://www.jaegertracing.io/docs/1.14/cli/#jaeger-ingester

Wow, that's true. I'm sorry I checked the help but didn't see it. Thank you for the problem


Azure function is invoked but the code is never executed

From @dixitsuneel on November 20, 2017 18:40
I can see in the monitoring log that the azure function is getting invoked.
But the code never receives the control for execution.
But if I hit the same http request to the function multiple times, then it starts working correctly after couple of tries.
I know that the control is never received by my code as the first line I have in my function app is context.log.info and that doesn't get executed.
What do we have to do to fix the issue?
Here's the screen shot where you can see multiple requests not completing and the logs section is empty for the selected request(2nd from the top)

Here's the screen shot of the first request which completed and you can see the log

I have also added global exception handling, just in case there is an exception then that method will terminate the context with an error.
Here's the code for the same
process.on('uncaughtException', function (err) {
context.log.error(err);
context.done(err);
});
There is no logging at all. Please help
Copied from original issue: Azure/Azure-Functions#601

From @dixitsuneel on November 21, 2017 22:17
Is there any update? We need an answer on this to make sure that we are able to use azure functions in production correctly. We are blocked because of this issue.

From @dbronk on November 22, 2017 12:9
It doesn't look like this issue has been looked at yet or assigned.  This is a production blocker for us.  How can we escalate this issue?

Can you clarify which version of the runtime? There is an issue in v2 runtime for language extensions where cold-start may cause first invoke to fail - I can't find the issue to reference - but not sure if that applies here

We are using Node js version 6.5

Also, all of these are not cold starts. If you look at the timelines, they are executed within a couple of minutes duration. We have the function app on app service plan with always on and no timeout in the host.json file.

Thanks that helps - looking into this

@christopheranderson can you please investigate this

Runtime version: 1.0.11388.0 (~1)

I have the exact same problem currently for one of our customers.
About 12 days ago half of our functions apps in our deployment slots stopped executing code but the functions are invoked based on the Monitor.
We are using Function App version 1.0 and  the function is written with C# using Microsoft.NET.Sdk.Functions version 1.0.14 we have no configuration in the host.json file.
I have the following information one of our affected Time Triggered Functions that runs daily executed manually:
Invocation ID: ecc1c6d7-2ef9-49d2-b196-3bd8e34716ab
Timestamp: 2018-08-09T12:57:09.110
Region: North Europe
I have multiple functions that a triggered once a day. One example shows that the functions did work 12 days ago:

But all Time Triggered calls afterward succeeds but the code is not executed as there are not logging:

Additionally, as the initial post mention, manually triggering the function barely works. When triggering the function, the function returns 202 but nothing is triggered or is logged in the monitor. After multiple attempt the function is finally executed and everything works as it should:

However the time tiggere function the following day still failed to execute the code and log anything.
We have a couple of other functions with the same issue. But other time triggered functions stil works without any issues within the same time frame where the other fails:

The affected functions are the same across the slots but the issue is not present in the main Function App.
I have tried to deploy to the function along with restart and stopping/starting the functions as well. Neither thing works.

@TomMalow I looked at the logs for your app and I am fairly sure that you are hitting https://github.com/Azure/azure-functions-host/issues/2015 - basically your prod slot and your staging slot are competing to run the timer because they are ending up with the same host ID. Our logic calculates the host ID by using the app name and slot name but it truncates the name to 32 characters and your app name has exactly 32 characters without the slot name included.
My best recommendation at this point would be for you to recreate your app with a shorter name, such that the combination of app name + slot name is less than 32 characters.
One other possibility would be for you to explicitly set the host ID in host.json (see the id line here), and to make sure your production host.json has a different value to your staging host.json. You would need to be careful to maintain this every time you do a deployment or a swap. I see this as a relatively fragile solution which is why it was not my first recommendation.
 I agree with you :/ Its a tricky issue for us to fix as it can be breaking in nature and there are multiple system components that have the same logic for calculating host ID.

Yep. That seems to have been the problem. Recreated one of the slots with a shorter name and the functions in the new slots are now able to run without any issue.
That is quite some limitation. Hopefully it will be better in 2.0. I will probably go and recreate the app with a better name to avoid the issue in the future. The current name does not leave much left for the slot name.
Thank you @paulbatum, for the quick respond. Sadly my solution does not seem to relate or solve this issue.


Added driver.ErrBadConn for disconnect

Most Oracle database errors can be handled farther up in the problem but disconnected connections can not be handled. If you have a pool of connections and any one of the connections gets terminated or disconnected, the only way to reconnect is to close down all the connections and then reconnect. The GoLang sql package provides automatic reconnect but only if you pass up the driver.ErrBadConn error. So this change will let the GoLang sql package handle the reconnects on database disconnected or user not logged in, which is errors ORA-03114 and ORA-01012.