document.registerElement is deprecated

Chrome logs this in console:

[Deprecation] document.registerElement is deprecated and will be removed in M80, around February 2020. Please use window.customElements.define instead. See https://www.chromestatus.com/features/4642138092470272 and https://developers.google.com/web/updates/2019/07/web-components-time-to-upgrade for more details.
registerAsciinemaPlayerElement | @ | asciinema-player-2.6.1.js:308

Thanks for reporting.
As of now this is no longer an issue - the 2.x version of the player had a polyfill for that, while soon-to-be-released 3.0 doesn't use this API.


Handle BaseUri Correctly

baseUri is not equal to the basePath => handle correctly
deprecate constructors expecting baseUri

append stage to the baseUri for custom domain if the "stage" is not set in the API Mapping


Cannot open local device files on iPad

Preflight Checklist

[X] I agree to follow the Code of Conduct that this project adheres to.
[X] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Describe the bug
Cannot open a local draw.io file when running in Mobile Safari on an iPad
To Reproduce
Steps to reproduce the behavior:

Start app
Click on 'Open Existing Diagram' to load a file from the local device
Choose a file from file picker
Page reloads itself and nothing is loaded

Expected behavior
Dialog box opens that asks you if you want to open in existing window or in a new window
draw.io version (In the Help->About menu of the draw.io editor):

trunk branch on github as of today

Smartphone (please complete the following information):

Device: iPad
OS: iOS 13.5.1
Browser mobile safari

Additional context
In reference to #953
https://github.com/jgraph/drawio/blob/b601c75cc98220e187e83f0797b01efadf06c6fe/src/main/webapp/js/diagramly/App.js#L3376-L3379
Reusing the file input like that and overwriting the input.type and input.value seems to be causing the page to crash in Mobile Safari. I imagine it's a bug in Mobile Safari, possibly a security bug.
I understand that you need to reset the input.type and input.value so that you can open the same file multiple times in other browsers, but to work around this Mobile Safari bug, you can just create a new file input each time:
// Resets input to force change event for same file
document.body.removeChild(input);
this.openFileInputElt = null;

I can confirm that this change fixes opening files on my iPad while also allowing the same file to be opened multiple times while still triggering a change event on normal Safari and Chrome.

We're having this same issue with regular file uploads using the Arrange > Insert > Image > Open on iOS 13.5 (iPad) as well.

I’m able to open files in Safari using iOS 14, so I guess Apple must have fixed their bug and this workaround isn’t needed.


  However, spent the last 2 days trying to figure out why a join operation would always fail with a 'NoBufs' while connecting issue, across multiple platforms/boards.
It turns out there was a memory allocation error in CoapSecure:Connect. Tracking this down, I found that the MBED (internal/CONFIG_MBEDTLS_BUILTIN=y) does not use its own heap, but uses the HeapCMalloc from the OpenThread Library.  This means that the configuration option CONFIG_MBEDTLS_HEAP_SIZE=65536 is ignored, and the actual used heap size is buried within openthread-core-zephyr-config.h, hardcoded with no configuration option, other than editing that file within the zephyr codebase.
To Reproduce
Steps to reproduce the behavior:

mkdir build; cd build
cmake -DBOARD=board_xyz
make
See error

Expected behavior
There are many ways this might be resolved, but I am thinking that the above named .h file should include some ifdefs based on MBEDTLS_HEAP_SIZE if that is defined.
Another option would be to allow the .h file to be located outside of the tree and let the user/program define its internal settings.
Impact
Device is unable to join an existing thread network due to memory allocation errors as soon as the joiner device attempts to connect to the responding commissioner.
Screenshots or console output
None - unless someone needs them.
Environment (please complete the following information):

OS: cross compile from Ubuntu 18.4
Toolchain (e.g Zephyr SDK, ...)
Commit: master branch/updated 4/3/2020

Additional context
Additionally, after increasing the OPENTHREAD_CONFIG_HEAP_SIZE to (32768), I was able to reduce CONFIG_MBEDTLS_HEAP_SIZE to 8 (some very small value) and run/join device normally.
I would be happy to work on the patch here, but I would rather get this working across all boards/platforms I am working with. (frdm-k64f/mcr20a, NRF52840_pca10056, and frdm_kw41z.  I have made other changes (unrelated) to work around a few other issues, which I will document once code complete (minor issues).
If I am missing some configuration option that handles this, I plead ignorance and would appreciate guidance.

Hi @marketideas,
From your description it seems you're facing a bug that was introduced during recent OpenThread update. It is fixed already though: https://github.com/zephyrproject-rtos/zephyr/pull/23688, https://github.com/zephyrproject-rtos/openthread/pull/8. Perhaps you forgot to sync repos with west update?
Just as a clarification - OpenThread running with Zephyr is supposed to use heap provided by Zephyr, not by the OpenThread, it's explained here.
I've just tested commissioning, to be sure, with current master and it worked fine for me in default configuration (nrf52840_pca10056). Let me know if the problem persists for you, we'll dig further then. I'd also be happy to hear about the other issues you've faced.

Thanks for the response.  I just did a double check, and these are what I am working with:
=== updating mbedtls (modules/crypto/mbedtls):
HEAD is now at cf7020e mbedtls: Update mbedTLS 2.16.4
=== updating openthread (modules/lib/openthread):
M	CMakeLists.txt
HEAD is now at 46194ba9 openthread: Merge up to commit ab9c0a4
The change to CMakeLists.txt is due to changes for -pedantic-errors which is another bug.
I did a pull from the master, which then really broke everything, because of renaming nordic boards, and adding tx_csma modes to the nrf driver...openthread will now not link.
I will close this issue, and turn my attention to other parts of my project, and revisit when I am more serious about getting openthread implemented. This was just an investigation if I could get it to work so I don't do a bunch of development, only to find later that openthread can not be implemented. This project is rather large incorporating usb, ethernet, serial comm (custom 9 bit protocol).
Perhaps there are specific configuration options that are in conflict.
I will close this issue and revisit at later time.
Thanks.


Alt + arrow keys works even when hycov is not toggled

when pressed alt + left/right keys normally , it switches the window. They should just work when hycov is toggled by alt+tab. It is conflicting with browser since usually browser also assign alt + left as previous page key.

it is not a bug, you can bind the direction switch to other key

I also had this thought but it would be nice if those key only worked when hycov is toggled, it is kinda useless for other scenario.
Btw thankyou for making this project.

why it is useless,How do you switch window focus in normal mode? I also use it to switch window focus when in normal mode.


The warning message is not localized on Connect dialog

Storage Explorer Version: 1.11.0
Build: 20191127.2
Branch: master
Language: Chinese(zh-CN) / Chinese(zh-TW)
Platform/OS: Windows 10/ Linux Ubuntu 18.04/macOS High Sierra
Architecture: ia32/x64
Regression From: Not a regression
Steps to reproduce:

Launch Storage Explorer.
Open 'Settings' -> Application (Regional Settings) -> Select 'Chinese (simplified)' -> Restart Storage Explorer.
Open Connect dialog -> Select 'Use a connection string' -> Input an arbitrary string to  'Connections string' text box.
Check the warning message.

Expect Experience:
The warning message is localized.
Actual Experience:
The warning message is not localized.

More Info:
This issue also reproduces when selecting 'Use a shared access signature (SAS) URI.'

@craxal Looks like hard-coded strings.
https://github.com/ramramu3433/study_aws_azure_jenkins_docker/blob/e61373d7ce1dd1ad4729c28f4417931311bfcf3b/Files_tutor_azure_jmter/azurest/resources/app/out/app/renderer/Components/AzureStorage/ConnectionString/Validators/ConnectionStringValidator.js
https://github.com/ramramu3433/study_aws_azure_jenkins_docker/blob/e61373d7ce1dd1ad4729c28f4417931311bfcf3b/Files_tutor_azure_jmter/azurest/resources/app/out/app/renderer/Components/AzureStorage/Sas/Validators/SasTokenValidator.js

More Info:
The expired warning message also isn't localized.

More Info:
The invalid resource warning message also isn't localized.

@v-limu I think this was addressed alongside #2185. Wait for localization team to translate the error strings, then verify.

Verified on build 20200327.2. This issue has been fixed. So we close it.


The Wrap widget wrongly computes its max intrinsic width/height

The Wrap widget wrongly computes its max intrinsic width/height because it forgets to add the spacing between children:
  @override
  double computeMaxIntrinsicWidth(double height) {
    switch (direction) {
      case Axis.horizontal:
        double width = 0.0;
        RenderBox child = firstChild;
        while (child != null) {
          width += child.getMaxIntrinsicWidth(double.infinity);
          SPACING MISSING HERE
          child = childAfter(child);
        }
        return width;
      case Axis.vertical:
        return _computeIntrinsicWidthForHeight(height);
    }
    return null;
  }

This leads to problem when Wrap is used inside Flex widgets since it uses that information to compute its own intrinsic sizes.

Hi @derolf
could you please provide your updated  flutter doctor -v?
Also, to better address the issue, would be helpful
if you could post a minimal code sample to reproduce the problem
Thank you

I am experiencing a similar problem.
flutter doctor -v:
[✓] Flutter (Channel stable, v1.9.1+hotfix.6, on Mac OS X 10.15 19A602, locale en-GB)
    • Flutter version 1.9.1+hotfix.6 at /Users/gtrochimiuk/flutter
    • Framework revision 68587a0916 (2 months ago), 2019-09-13 19:46:58 -0700
    • Engine revision b863200c37
    • Dart version 2.5.0

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/gtrochimiuk/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.1, Build version 11A1027
    • CocoaPods version 1.7.2

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 41.1.2
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[!] IntelliJ IDEA Community Edition (version 2019.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • For information about installing plugins, see
      https://flutter.dev/intellij-setup/#installing-the-plugins

[✓] VS Code (version 1.38.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.4.1

[✓] Connected device (2 available)
    • SM G920F        • 06157df691565f01                         • android-arm64 • Android 7.0 (API 24)
    • iPhone (Maciej) • b2e9c97397cb4e9d0db77340f6fd9e0beba0332a • ios           • iOS 12.4

! Doctor found issues in 1 category.

Minimal code sample:
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Container(
        color: Colors.red,
        width: 100,
        child: IntrinsicHeight(
          child: Column(
            children: <Widget>[
              Wrap(
                spacing: 10,
                children: <Widget>[
                  Container(color: Colors.blue, width: 50, height: 50),
                  Container(color: Colors.green, width: 50, height: 50),
                ],
              ),
            ],
          ),
        ),
      ),
    );
  }
}

When using spacing of 10 in this example the wrapped containers are arranged in two lines, but the intrinsic height is calculated to be 50 and it results in an exception - A RenderFlex overflowed by 50 pixels on the bottom.

Thank you @gtrochimiuk

Removing the Crowd label because it's not clear how many peopel this is impacting.
Removing the render label, since that is for engine/skia side rendering issues.
Removing the images label since this doesn't involve rendering images.

Related: #29123

Hi @derolf
despite your issue being older
I'm closing this issue in favour of https://github.com/flutter/flutter/issues/61204
due to higher priority assigned.
Please follow up on that issue, I'm closing the current one as a duplicate.
If you disagree, please write in the comments and I will reopen it.
Thank you


Update docs on requirement that machine key be from a root account

Doc updates, inspired by a recent support issue.  Hopefully my understanding of the issue and terminology is correct.

@expede reword to your hearts content.
My thought is that long term we want this to not be an issue such that no doc is necessary.  In the meantime, attempt to gently guide people into the "pit of success" as well as help them know what to do if they have issues.
It seems like some slight tweaks should be made to the Fission Guide as well.

@justincjohnson we can add this for now, but it actually doesn't need to be from the root machine. There is a bug where the root can't be from a browser, due to library inconsistencies. This problem will go away as part of our work upgrading UCAN

Thanks for the clarification!  I corrected the wording and created https://github.com/fission-suite/publish-action/issues/19 to track the README updates.


Testing issue for Alex's request

this is a test

Thanks for reporting - this issue is under review.  This is a Microsoft Internal DevOps Bug ID AB#193846

Fixes AB#193846


Support request for the New XIAOMI MIJIA OMNI 2

Is your feature request related to a problem? Please describe.
The current dreame-vacuum version fails to add the New XIAOMI MIJIA OMNI 2, unknown model. Connects to the Xiaomi app CN cloud server ok,
Describe the solution you'd like
Support for the new the New XIAOMI MIJIA OMNI 2 smart robot.
Describe alternatives you've considered
None, being a new model it's model number (C102CN) is unknown so this integration does not add it.
reference to the new cleaner = "https://www.aliexpress.us/item/1005005890721767.html?spm=a2g0o.order_list.order_list_main.10.32901802AE5w3A&gatewayAdapt=glo2au"
Additional context
It's almost the same as the S1, if supportable and then can get it to work with Home Assistant then i'm more than happy to donate some funds.

model number (C102CN) is on that webpage, if that's not the model number you need would you mind advising how I can get the data you need? I did try adding it to your integration so perhaps the number is in a log somewhere.

Requested data from above token extractor

NAME:     Robot Vacuum Mop
ID:<PHONE_NUMBER>
MAC:      70:C9:32:28:1??:8??
IP:       192.168.??.??
TOKEN:    4c3356385468484e3571346764647535
MODEL:    xiaomi.vacuum.c102cn

how do i go about doing that ?

FYI, while scrolling through the MI Home app for this robot, although all in Chinese I found a reference to model R2307  could this be what your looking for ? as in dreame.vacuum.r2307  close to the S1 model.
Also on a side note this robot came with an attachment that connects to my house water supply and sewage, your remove the two container in the station and replace with this, then connect to the house water supply and sewage. I've not seen this option in any of the Dreame websites.

How do I go about doing that ? "share device to my Mi Home account"

Hi There,
Done I think, you show up as shared
Regards
Rob
From: Tasshack @.>
Sent: Monday, September 18, 2023 7:00 AM
To: Tasshack/dreame-vacuum @.>
Cc: RGoodworth @.>; Author @.>
Subject: Re: [Tasshack/dreame-vacuum] Support request for the New XIAOMI MIJIA OMNI 2 (Issue #216)
Mi Home App -> Press Profile -> Press Share -> Press Share the device -> Select your device -> Press + Share Device -> Press Xiaomi Account -> Enter<PHONE_NUMBER>
—
Reply to this email directly, view it on GitHub https://github.com/Tasshack/dreame-vacuum/issues/216#issuecomment-1722567588 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AHHUHEBETL252BTSAJEWJH3X25QE7ANCNFSM6AAAAAA4UM6JOE .
You are receiving this because you authored the thread.  https://github.com/notifications/beacon/AHHUHEFNCMVECPXR5FQXK7TX25QE7A5CNFSM6AAAAAA4UM6JOGWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTGVRF2I.gif Message ID: @.*** @.***> >

Done, you show up as shared now.

I've shared the home with you again.

Anything you need me to do regarding the map? you are shared as a user not administrator, do you need administrator access for the map issue?

Oh and THANKYOU, I really appreciate your effort on this integration.

THANKYOU so much, I will test it shortly, Do you still need access to my robot?  happy to allow ongoing access for development & testing purposes. Oh and what donation would you like for your efforts?

Hi Again, Sorry to advise but the HA integration failed to initialise my vacuum, Integration loaded, I added my Mi account, seems to of found my robot, listed a whole heap of configuration options, I just went with the defaults, but then i get "failed to setup, will retry", now it keeps trying to initialise. do you need logs? if so where do i find them?

UPDATE:  I tryed all different configuration option, and using the "Prefer cloud connection"  works.  Does that mean local does not work? what can I do to make local (as in not "Prefer cloud connection") to work? Or is this robot only Cloud Connection.


Pin Travis Ruby to minor versions

Ruby 2.4.10, 2.5.8, 2.6.6, and 2.7.1 were released recently.
Having patch versions pinned comes with a burden of sending such pull requests once in a while.
We can depend on Travis to pick the latest patch version as RVM updates.
On the other hand, problems with the patch versions would be discovered later, during the next pull request.
This, however, is unlikely to happen too often.

Creating alias 2.6 for ruby-2.6.3...

$ rvm alias create 2.5 ruby-2.5.5
Required ruby-2.5.5 is not installed.
Creating alias 2.5 for ruby-2.5.5...

$ rvm alias create 2.4 ruby-2.4.6
Required ruby-2.4.6 is not installed.
Creating alias 2.4 for ruby-2.4.6...

$ rvm alias create 2.3 ruby-2.3.8
Required ruby-2.3.8 is not installed.
Creating alias 2.3 for ruby-2.3.8...

Using /home/travis/.rvm/gems/ruby-2.2.7

Required ruby-2.1.10 is not installed - installing.

even though it has 2.7.1, 2.6.6, 2.5.8, 2.4.9 (not .10), 2.3.8, 2.2.10, 2.1.10.


Can version numbers be added to the table in the Section, "Visual Studio 2015, 2017, 2019, and 2022"?

Can version numbers be added to the table in the Section, "Visual Studio 2015, 2017, 2019, and 2022"?

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

ID: 75e6432b-c6ec-e208-5f1c-bbc4fde9929b
Version Independent ID: 9cbb940e-cddd-f82f-e8bb-ee62b17af794
Content: Latest supported Visual C++ Redistributable downloads
Content Source: docs/windows/latest-supported-vc-redist.md
Product: visual-cpp
Technology: cpp-windows
GitHub Login: @MahmoudGSaleh
Microsoft Alias: msaleh

@Uselessly7631 , I'm not sure what you mean.

Closing as no response. Reopen if you can provide a little more detail about your ask.

Apologies for the delay.
On the page, "Microsoft Visual C++ Redistributable latest supported downloads" https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170, there are different sections for different versions of Visual Studio. Each section has a table Architectures, Versions, and Links.
The only table on this page without a Versions column is the table under the "Visual Studio 2015, 2017, 2019, and 2022" section https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170#visual-studio-2015-2017-2019-and-2022. Can a Versions column be added to this table?

Hi @Uselessly7631 , I talked to the dev team about this and they left out the version numbers on purpose because, unlike the earlier versions of VS, the redist for VS 2015-2022 is updating frequently and they didn't want to put out a version number that would quickly become stale and be at risk of not getting updated. So, I added some instructions about how to find the version number for the latest redist that goes with VS 2015-2022.  That will be live tomorrow.  Take care.


Change Payload parent to MessageParams

I tried to add headers to payload using this code:
watsonMiddleware.before = async (message: BotkitMessage, payload: Payload) => {
        payload.headers = {
            'X-Watson-Learning-Opt-Out': 'true'
        };
        return payload;
    }

but compilation failed with:
src/bot.ts:104:17 - error TS2339: Property 'headers' does not exist on type 'Payload'.

104         payload.headers = {

Result of before hook is passed to postMessage which calls  conversation.message(payload);
https://github.com/watson-developer-cloud/botkit-middleware/blob/v2.1.1/src/index.ts#L162-L163
https://github.com/watson-developer-cloud/botkit-middleware/blob/v2.1.1/src/utils.ts#L79-L84
message method is defined at https://github.com/watson-developer-cloud/node-sdk/blob/v4.2.0/assistant/v1.ts#L98
and it takes MessageParams type as the first argument:
public message(params: AssistantV1.MessageParams, callback?: AssistantV1.Callback<AssistantV1.MessageResponse>): Promise<any> | void {

Codecov Report

Merging #185 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #185   +/-   ##
=======================================
  Coverage   77.27%   77.27%
=======================================
  Files           2        2
  Lines         110      110
  Branches       23       23
=======================================
  Hits           85       85
  Misses         21       21
  Partials        4        4

Continue to review full report at Codecov.

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

I realized that workspace_id is already defined in MessageParams, so there is no need to have Payload interface, but I kept it for backwards compatibility just in case someone is using it in their code.
I added MessageParams and MessageResponse to all places where they are appropriate - after, before and postMessage. Also MessageResponse is a type of watsonData field in BotkitWatsonMessage.


Add support for font-awesome

Please add support for font-awesome via markdown-it-fontawesome
Not sure if you want to include fontawesome directly, but this will at least allow one to notate it in markdown if they're including it in your project.

Done


Detach/re-attach to the video element on client-side ads for devices that don't support multiple media elements

Some device types don't support multiple video elements on the page and CS IMA has to reuse the same video element to show ads. (Tizen, WebOS)
For this scenario, we need to detach from the <video> and re-attach after the ads has finished playing.
IMA has an isCustomPlaybackUsed method that we can call to check if the media element is gonna be reused (true if the method returns true :)).
We can call it when we get a content pause is requested by the SDK, and detach from the element if need be.
We'll need to save video.currentTime to be able to resume playback once the ads are done playing.

Any updates on this?

While implementing this logic on our end while waiting for this to be provided within Shaka, we faced an issue where track IDs upon a detach/attach flow would change and get incremented, leading to our comparison to select a text track to be broken.
It would be nice to keep that in mind or allow a way to reset that state of IDs when re-attaching the player with the same manifest after an ad.

I plan to implement this as soon as the Preload API is working correctly for unload

With the following code implemented on the application side it is possible to support it:
Using ads.customPlayheadTracker = true and v.4.8 or above
this.eventManager_ = new shaka.util.EventManager();
const adManager = this.player_.getAdManager();
let loadTimeout;
let prevPreload;
this.eventManager_.listen(adManager, shaka.ads.AdManager.AD_STARTED, async (e) => {
  if (e?.originalEvent?.type !== google.ima.AdEvent.Type.CONTENT_PAUSE_REQUESTED) {
    return;
  }
  if (loadTimeout) {
    clearTimeout(loadTimeout);
  }

  if (!prevPreload) {
    prevPreload = await this.player_.unloadAndSavePreload(true, true);
    this.player_.detach(true);
  }
});
this.eventManager_.listen(adManager, shaka.ads.AdManager.AD_STOPPED, (e) => {
  if (e?.originalEvent?.type !== google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED) {
    return;
  }
  if (loadTimeout) {
    clearTimeout(loadTimeout);
  }
  loadTimeout = setTimeout(async () => {
    await this.player_.attach(this.video_, true);
    this.player_.load(prevPreload)
    prevPreload = undefined;
  }, 100);
});


fixed the font style of the website

Description
add a professional look to the website by changing the fonts

Related Issues
None

Hello @shubhamjh15, you just created an issue that is not a good thing to work on in open source. Kindly check our contributing guidelines. Please keep this in mind; don't take it as me instructing you; I am just giving you the correct way to work on open source. Thank you.

please mention issue and describe or you can also close your Pull request by yourself

@shubhamjh15  fonts you have changed to is not going with other website fonts


Mark email as unread, as opposed to the whole thread

When marking emails as unread, only the most recent email in the conversation should be marked as unread, rather than the whole thread. Maybe the whole thread could be an 'alt' click option?

+1

+1

We do the entire thread because that's what Gmail does when you click "mark as unread". I'm going to reopen Mark Unread From Here because that's a Gmail feature we haven't implemented.

Any updates on this feature request?

This is causing major issues for me.. is there any update to this?

+1


Discv5 Observable performance issue

Describe the bug

Since we introduce Discv5 in worker thread, it takes almost 10% of cpu time on a mainnet node subscribing to all subnets

mainnet_node_v1.4.0.cpuprofile.zip
cc @wemeetagain
Expected behavior

Discv5 should take less cpu to emit a discovered peer to main thread

Screenshots
This is from a contabo vpss node (v1.3.0 vs v1.4.0) Update: ignore the below metric, it's the common situation of all of lodestar nodes on goerli, v1.4.0 has only been deployed since Jan 30

Version: v1.4.0

can you try with https://github.com/ChainSafe/lodestar/pull/5073 applied?

can you try with #5073 applied?

I will deploy that PR to a node, I will also try using the native thread communication postMessage instead of Observable to see if it's better

Further investigation shows that this only happens when we have a lot of discovered ENRs from discv5, somehow this only happens on test mainnet nodes subscribing to all subnets, not on goerli nodes or prod mainnet nodes
we may not need it for v1.4.1


webrtc not working in different network's system

I used WebRTC video conference using two Chrome tab (which means I call myself). Everything worked well.
I used WebRTC video conference with two different laptop as well, if those laptop were on the same network. I used my office's network behind proxy.
However, WebRTC video conference didn't work if I used it with one laptop on Office Network, and the other on Personal Home network.

Hi Nagesh,
webrtc Video conference will only work when your connection channel should be same for every user u want to connect with any laptop.
Thanks


google_sign_in package: EXCEPTION CAUGHT BY IMAGE RESOURCE SERVICE

The exception occurs after a first successful login and weirdly seems not to have any noticeable consequences. However, since it's an exception, i thought i'd better open an issue for this.
Exception when running in debug mode:
Restarted application in 2.736ms.
E/flutter ( 8274): [ERROR:flutter/lib/ui/painting/codec.cc(97)] Failed decoding image. Data is either invalid, or it is encoded using an unsupported format.
I/flutter ( 8274): ══╡ EXCEPTION CAUGHT BY IMAGE RESOURCE SERVICE ╞════════════════════════════════════════════════════
I/flutter ( 8274): The following _Exception was thrown resolving an image codec:
I/flutter ( 8274): Exception: operation failed
I/flutter ( 8274): ════════════════════════════════════════════════════════════════════════════════════════════════════
E/flutter ( 8274): [ERROR:flutter/lib/ui/painting/codec.cc(97)] Failed decoding image. Data is either invalid, or it is encoded using an unsupported format.
I/flutter ( 8274): Another exception was thrown: Exception: operation failed

Seems you are loading a corrupted image file or a image format that is not supported.

Seems you are loading a corrupted image file or a image format that is not supported.

Well, the weird thing is that I haven't specified any assets. And the exception only occurs after then first successful login with the google_sign_in package.The profile image of the used google account is in a valid format.

The profile image from the google account is the only image you are showing?

The profile image from the google account is the only image you are showing?

Yes, I made a minimal build that uses the google_sign _in package. So the profile picture, which is implicitly loaded by the avatar class of the package, is literally the only image in the whole app.

@footurist could you provide a mini example app to reproduce the issue?


OCL: fix "off" mode

Main repo: https://github.com/Itseez/opencv/pull/5340

:+1:

@alalek this macro if/else is missing in this file starting from: https://github.com/Itseez/opencv_contrib/blob/master/modules/tracking/src/multiTracker.cpp#L218


Clang warnings

If you also enable relevant warnings in https://github.com/BlueBrain/nmodl/blob/4a67187535eb6d79d7ef74095dacd6434948a43d/.github/workflows/nmodl-ci.yml#L73 then regressions should be flagged in the diffs of PRs (see https://github.com/BlueBrain/nmodl/pull/751).

If you also enable relevant warnings in
https://github.com/BlueBrain/nmodl/blob/4a67187535eb6d79d7ef74095dacd6434948a43d/.github/workflows/nmodl-ci.yml#L73
then regressions should be flagged in the diffs of PRs (see #751).

Are you saying I should register the new flags in nmodl/.github/workflows/nmodl-ci.yml?
I have clang specific flags to add but the diff portion you sent is for both GCC and Clang, right?

I don't mind exactly how it's done, maybe you can just pass your new NMODL_PEDANTIC option there, as long as it doesn't add -Werror.
You're right that the CMake command that I linked to will be run for both Linux/GCC and macOS/Clang.

Codecov Report

Merging #781 (4ca1312) into master (d2e7295) will increase coverage by 0.00%.
The diff coverage is 76.58%.

:exclamation: Current head 4ca1312 differs from pull request most recent head 819cfc1. Consider uploading reports for the commit 819cfc1 to get more accurate results

@@           Coverage Diff           @@
##           master     #781   +/-   ##
=======================================
  Coverage   61.53%   61.53%
=======================================
  Files         208      209    +1
  Lines       29969    29970    +1
=======================================
+ Hits        18441    18443    +2
+ Misses      11528    11527    -1

Impacted Files
Coverage Δ

src/codegen/codegen_acc_visitor.cpp
0.54% <0.00%> (ø)

src/codegen/codegen_compatibility_visitor.cpp
46.05% <ø> (ø)

src/codegen/codegen_compatibility_visitor.hpp
16.66% <ø> (ø)

src/codegen/codegen_cuda_visitor.cpp
0.80% <0.00%> (ø)

src/codegen/codegen_info.hpp
96.29% <ø> (ø)

src/codegen/codegen_omp_visitor.cpp
2.38% <0.00%> (ø)

src/config/config.h
46.15% <ø> (-7.18%)
:arrow_down:

src/language/templates/ast/ast.cpp
43.05% <ø> (ø)

src/language/templates/ast/ast.hpp
60.00% <ø> (ø)

src/language/templates/ast/node.hpp
14.28% <ø> (ø)

... and 66 more

Continue to review full report at Codecov.

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

Too old.


Primary button comparison to another design system

### Tasks
- [x] Confirm design systems to compare to (e.g., material UI, FINASTRA, Goldman?)
- [x] Set up screeners and run test
- [x] Analyse & format results
- [ ] Share w/ team

24 Feb - work in progress; will share results with team on Mon, 27 Feb


kwalitee einbinden

vgl. insbesondere https://github.com/kba/ocrd-kwalitee/issues/2

ping @kba
(also, adding ocrd_eval.md to the spec page)

I've updated the spec in the website now, including ocrd_eval, should be visible in a few minutes.
kwalitee has been replaced by QUIVER, and it's available at https://ocr-d.de/quiver-frontend (independent of the ocrd-website repo, it's using the GH pages of https://github.com/OCR-D/quiver-frontend itself)


Is it posible to include "small icon" on android push notifications?

Acording Android documentation http://developer.android.com/guide/topics/ui/notifiers/notifications.html  it's posible to set the "small icon" using this plugin :) ... thanks :)

Yet another of the thousand of features missing on this pushplugin.
In fact, showing the original color icon in the notification bar is a practice abandoned ages ago. This notification plugin persists in showing the color icon instead of allowing a custom vector icon, or at least, having the icon converted to grayscale.


router!() triggers manual_strip clippy warning

Since MSRV was bumped to 1.48, .strip_prefix() method became available.
https://rust-lang.github.io/rust-clippy/master/index.html#manual_strip
Example instance:
https://github.com/tomaka/rouille/blob/b49b26c280a11e4e32884b300128e87865dff380/src/router.rs#L315

Fixed and released as v3.3.1, thanks for the report!


[WIP] Update dependencies after branching for v2.7

Updating the dependencies in rancher/rancher after branches for v2.7 are created.

What about this reference? Should this be set at all based on the comment?
https://github.com/rancher/rancher/blob/release/v2.7/Dockerfile.dapper#L15

@deniseschannon updated that reference to dev-v2.7 as well.
Was not sure if we need it anymore from the comment in the checklist about 2.4 and kdm vendoring; but will keep it updated to not break anything

Validated that the CI drone check has passed, merging in the PR.


Tweaks

Some of these may be a matter of taste...

As a side note, is there any reason why m is defined as a global rather than attached to the (potentially pseudo-) window object inside the IIFE?


Create a sequence diagram that shows how a certificate gets issued with let's encrypt

During the "cert-manager: 2020 retrospective" on 6th January 2021 (see retro dashboard), we discussed the need for a diagram about the "internals" of cert-manager.
I had drawn a quick diagram a long time ago:

I then started converting the drawing to a textik diagram, but I soon realized it wouldn't be as practical as I intended it to be:

As @coderanger suggested a month ago, there might be a better way with https://mermaid-js.github.io/mermaid/#/sequenceDiagram.
Irbe's high-level diagram: https://miro.com/app/board/o9J_lUdPqQI=/
Irbe's great diagram:

During the "cert-manager: 2020 retrospective" on 6th January 2021 (see retro dashboard), we discussed the need for a diagram about the "internals" of cert-manager.
I started drawing a diagram using the ASCII editor textik.com, but I soon realized it wouldn't be as practical as I intended it to be

Maybe this could be a cool talk (for example for cert-manager dev days) with a few diagrams, walk through the codebase etc.

Progress update: I abandonned the idea of using a sequence diagram, it just makes things even harder to understand. Here is what I have now:

Progress update: I abandoned the idea of using a sequence diagram, it makes things harder to understand. Here is what I have now:
I've not followed the sequence through, but really like the visual of this 😄

Related: #568

Today I made another attempt!

Still too much information/bloated,
Some mistakes e.g. the red arrow at the bottom-left, it should originate from the certificate request,
I did not show the webhooks interactions.

I'll try to split that into two whiteboards to see.

Source: letsencrypt-flow-cert-manager.drawio.zip

Thoughts after our discussion with @irbekrm this afternoon:

Mentioning "issuing controller", "keymanager controller", "requestmanager", "acmeissuer" is quite confusing for a newcomer. It would be good for cert-manager developers, but we agreed that this diagram would be more helpful without these controller details. I'll say "cert-manager" everywhere.
The Ingress, Pod and Service created by cert-manager for the HTTP01 challenge is not shown here, and these would really help understand the whole flow. I'll try to add them.
The details about revision: nil and cert-manager.io/certificate-revision: "1" are only helpful for people who are trying to understand the link between certificates and certificate requests. I proposed to move the diagram in gatherer.go to a real diagram that we show on the website.

I just realized that I have only shared a PNG file (using Google Drive) which embedded the source drawio XML. So I opened that PNG in Drawio and exported it to a .drawio file here:
letsencrypt-flow-cert-manager.drawio.zip
Let's add that directly to the website repository along side the PNG file.
I'll close this issue.


feat: support a limited use case of allOf keyword

The use case refers to adding constraints to the core schema.
I.e. {"allOf":["<core schema>",{"anyOf":["<constraints>"]}]}

Thanks @alexander-matsievsky for the changes. Unfortunately I'm against merging it to this repo and / or the upstream one at scrapy-plugins/scrapy-jsonschema.
My reasons:

The solution (of picking from schema['allOf'][0]['properties']) is too specific. It's probably designed for only the very example you provided.
And it's not right (although right for your very example). It merely avoids the crashes in some cases, and in some other cases it may make things even worse (e.g. no crash to have developers notified but the resulting schema would be incorrect).

Suggestions:

I suppose the best solution is to simply update the schema. There's at least one equivalent form of your example which is much better.
If you do need such ad-hoc code applied, you probably could do that inside your project. And it's strongly suggested to apply the "fix" to only the specific schema you find breaking, instead of all possible schemas (see also: my reason 2 above).
The whole existing changes here in starrify:add-merge-schema are just workarounds for some basic cases. You may consider implementing a better one to cover all possible schemas (e.g. the example you provided), but that probably would take some time.

@starrify Thanks for reviewing my PR!
Could you please elaborate on the first suggestion a bit? If I understand it correctly, scrapy-jsonschema assumes the schema instance to be an object type with properties defined. What would be the equivalent form which will allow to specify the DATE/YEAR constraints?

BTW I created this PR with a broken heart, as I totally agree with you that this is a very hacky work-around to support JSON Schema's allOf keyword.

@alexander-matsievsky  Sorry for not having provided an example earlier. I was hurrying for a meeting and was thinking of doing that right after it. :sweat_smile:
I've rewritten your sample schema:
{
  "$schema": "http://json-schema.org/draft-04/schema",
  "type": "object",
  "required": [
    "COUNTRY",
    "YEAR"
  ],
  "properties": {
    "COUNTRY": {
      "type": "string"
    },
    "DATE": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
    },
    "YEAR": {
      "type": "string",
      "pattern": "^\\d{4}$"
    },
    "RELEASE_TYPE": {
      "type": "string"
    }
  }
}

And I think those two are just equivalent. Can you please help reviewing it and let me know if you find any counter examples (e.g. one JSON object that is valid according to one schema but not to the other).
Also, regarding:

scrapy-jsonschema assumes the schema is an object type with properties defined, so allOf, anyOf, oneOf keywords are forbidden.

IIRC you must have a top-level properties attribute provided when using scrapy-jsonschema, but meanwhile it's fine to use those keywords in lower levels (e.g. inside definition of one property).

@starrify Incredible! That's what's called missing the forest for the trees+) Somehow I've convinced myself the solution necessitates advanced schema features, and kept running with this assumption...
Many thanks to you, Peng-Yu! Have a nice day!

@alexander-matsievsky My pleasure. :)
Besides, for the generic cases of {"allOf":["<core schema>",{"anyOf":["<constraints>"]}]} I think you may always make it as {"properties": <core schema>, "anyOf" (or "allOf"): [<constrains>]}. And example:
>>> import jsonschema
>>> schema = {
...   "type": "object",
...   "properties": {
...     "foo": {
...       "type": "string"
...     },
...     "bar": {
...       "type": "string",
...     },
...   },
...   "anyOf": [
...     {
...       "properties": {
...         "foo": {
...           "maxLength": 4,
...         },
...       },
...     },
...     {
...       "properties": {
...         "bar": {
...           "maxLength": 4,
...         },
...       },
...     },
...   ]
... }
>>> jsonschema.validate({'foo': 'looooong', 'bar': 'shrt'}, schema)
>>> jsonschema.validate({'foo': 'looooong', 'bar': 'loooooong'}, schema)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/pengyu/temp/env/lib/python3.7/site-packages/jsonschema/validators.py", line 541, in validate
    cls(schema, *args, **kwargs).validate(instance)
  File "/home/pengyu/temp/env/lib/python3.7/site-packages/jsonschema/validators.py", line 130, in validate
    raise error
jsonschema.exceptions.ValidationError: {'foo': 'looooong', 'bar': 'loooooong'} is not valid under any of the given schemas

Failed validating 'anyOf' in schema:
    {'anyOf': [{'properties': {'foo': {'maxLength': 4}}},
               {'properties': {'bar': {'maxLength': 4}}}],
     'properties': {'bar': {'type': 'string'}, 'foo': {'type': 'string'}},
     'type': 'object'}

On instance:
    {'bar': 'loooooong', 'foo': 'looooong'}

Furthermore, if a constrain is related to only one property (e.g. a date string may be either YYYYMMDD or YYYY-MM-DD) you may put it inside a property, instead of at top-level.

@starrify Thanks one more time! I really appreciate your answers!


unable to set href of  tag within pagination module

for SEO purposes, I am trying to crawl my angular application to create html snapshots. I am unable to crawl the pages because I cannot easily set the "href" attribute of the <a> tags.
I am currently changing the URL after navigation via ng-change as thus:
$scope.updateURL = function () { $location.url($scope.filters.buy_or_sell + "/" + $scope.filters.category + "/" + $stateParams.page); }

but would much prefer to have the regular href attribute used.
I can submit a PR for this. A simple implementation would just take a base url as a parameter and append the page number:
"http://www.nucraigslist.com/#!/sell/furniture/" + page

Or simply include a :page parameter within the provided string:
"http://www.nucraigslist.com/#!/sell/furniture/:page"

Please let me know!

Please ask implementation questions on StackOverflow. We'll be happy to answer your questions there.
https://github.com/angular-ui/bootstrap#need-help


[RFE] Add variants for some kola tests that start from an empty rootfs

Current situation
Kola tests run from the release image as it is published, which includes a pre-populated rootfs. These rootfs contents change from release to release, while users stick with the initial copy when they installed their machines, or even start from an empty rootfs when the Ignition directive is used to setup a new rootfs. There are systemd-tmpfile rules in place that should ensure that users get up-to-date rootfs entries where needed, but we only have few kola tests that reformat the rootfs.
Impact
When doing changes, in particular where software needs to get downstream patches to store config files in /usr or to enforce file creation with systemd-tmpfiles rules, we can easily miss this, causing problems for users that update from an older version or users that have to reformat the rootfs.
Ideal future situation
A meaningful set of kola tests gets a second variant which adds the Ignition directive to reformat the rootfs.
**Implementation options
The injection of the directive can be done in RenderUserData() and does not need to be duplicated per test. A copy of the test definition is enough with a test flag set to reformat the rootfs.
Additional information
We have docs for the Ignition directive and even docs with a command to reset the rootfs on a provisioned instance (not needed for kola)

@pothos thanks for the issue - do you have some example of failures ? (Maybe this one: https://github.com/flatcar-linux/Flatcar/issues/544#issuecomment-967199161)

A meaningful set of kola tests gets a second variant which adds the Ignition directive to reformat the rootfs.

What about enforcing this behavior to all tests ? Except for the update one.

What about enforcing this behavior to all tests ? Except for the update one.

We want to test both scenarios, the pre-populated rootfs we ship on the release image, and the empty rootfs.
Examples are when an unmodified Gentoo package would install something to /etc/ and expect it to exist which will fail if there are no tmpfile directives symlinking to something under /usr/ (the other alternative is a downstream patch to not use /etc/ in the first place).

@tormath1 Or I have another idea: We can ship the image with an empty rootfs by default, the few directories and symlinks we need get created on first boot anyway. This way we can't accidentally introduce a file on rootfs that older machines don't have because both old machines and new ones need to have the file defined through the content of the /usr partition (e.g., either a /usr path is used instead of /etc or a systemd-tmpfile rule exists to set it up on /etc),

Done as part of the /etc overlay feature.


Fix cache key in CI

This changes the cache key to depend on spago.yaml files instead of  *.dhall files from old Spago

Weird, something else is broken other than this

Got it! I created #137


TextMate integration?

It appears Mocha's repo sports an unadvertised TextMate integration that can be installed using make tm.
Why is TextMate the only editor or IDE with an integration directly maintained as part of Mocha itself?
Can we move this out into its own repo? (Would that be semver-major? The install is with make instead of npm run and it's only available in the first place if you clone the repo, not if you npm i mocha.)
It doesn't seem like it's needed maintenance since I've been here, but it would be one fewer folders for new contributors to wonder about.

@ScottFreeCode IMO Its not semver-major since its not bundled upon installation through npm. after all the the versioning is set on npm's package.json file. it's like removing an unused file. Those who need it need to npm install another mocha module.


5385 usb timeout

Type 9243 to continue and confirm that you are not a bot: 9243
__init__(21381, <class 'protocol.USBProtocol'>, 5)
Found Goodix device: "Goodix Fingerprint Device " from "HTMicroelectronics" on bus 1 address 6.
Found interface data: 1
Found endpoint in: 0x81
Found endpoint out: 0x3
empty_buffer()
nop()
firmware_version()
Traceback (most recent call last):
  File "/home/roy/source/goodix-fp-dump/./run_5385_nonsafe.py", line 3, in <module>
    main(0x5385)
  File "/home/roy/source/goodix-fp-dump/driver_538.py", line 285, in main
    firmware = device.firmware_version()
  File "/home/roy/source/goodix-fp-dump/goodix.py", line 552, in firmware_version
    check_message_protocol(check_message_pack(self.protocol.read()),
  File "/home/roy/source/goodix-fp-dump/protocol.py", line 126, in read
    return self.device.read(self.endpoint_in, size, timeout).tobytes()
  File "/usr/local/lib/python3.9/site-packages/usb/core.py", line 1029, in read
    ret = fn(
  File "/usr/local/lib/python3.9/site-packages/usb/backend/libusb1.py", line 846, in bulk_read
    return self.__read(self.lib.libusb_bulk_transfer,
  File "/usr/local/lib/python3.9/site-packages/usb/backend/libusb1.py", line 954, in __read
    _check(retval)
  File "/usr/local/lib/python3.9/site-packages/usb/backend/libusb1.py", line 602, in _check
    raise USBTimeoutError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBTimeoutError: [Errno 110] Operation timed out

Well, this means that 538 driver doesn't work on this device.
Sorry.

Removed device: 3ff82d99301b0de0af9391afda2c190f15c15736


Core repo missing

Repository not loading.
20-11-24 19:11:11 ERROR (MainThread) [supervisor.utils.json] Can't read json from /data/addons/git/06a1a366/repository.json: [Errno 2] No such file or directory: '/data/addons/git/06a1a366/repository.json'
20-11-24 19:11:11 ERROR (MainThread) [supervisor.store] https://github.com/hellqvio86/home_assistant_casambi is not a valid add-on repository.
Repository for HA supervisor

Hi,
Its a HACS addon, you can see the way to install it in the readme.
Best Regards Olof Hellqvist


Template Hiding/Unhiding Errors

After following the steps outlined in the article to hide all templates using the command "Set-SPOBuiltInSiteTemplateSettings -Identity '00000000-0000-0000-0000-000000000000' -IsHidden $true," I attempted to make only the Team site template (6b96e7b1-035f-430b-92ca-31511c51ca72) visible again. However, I received an error message stating that this is not a valid site template ID and to obtain the correct ID from https://go.microsoft.com/fwlink/?linkid=2169454 and try again.
Additionally, when trying to hide individual templates by listing their IDs one by one, I encountered issues. I found that the following template IDs could not be hidden:
665da395-e0f9-4c92-b35c-773d8c292f2d
9f21161-0892-497a-91cb-5783eeb1f5f2
665da395-e0f9-4c92-b35c-773d8c292f2d
For these template IDs, I received an error message stating that the site template could not be disabled.
Are there some dependencies and temaplted needs to be hidden in certain order? Why aftre hiding all templates, template ID 6b96e7b1-035f-430b-92ca-31511c51ca72/Team collaboration cannot be set from hidden to visible?

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

ID: 10e0be42-e202-0561-6166-6ad30af78676
Version Independent ID: 09b8332a-3360-cf98-6fa5-d7a7d15bb097
Content: Set-SPOBuiltInSiteTemplateSettings (Microsoft.Online.SharePoint.PowerShell)
Content Source: sharepoint/sharepoint-ps/sharepoint-online/Set-SPOBuiltInSiteTemplateSettings.md
Product: sharepoint-server-itpro
GitHub Login: @Holland-ODSP
Microsoft Alias: hokavian

Hi @yogkumgit  can teh article be updates? My customer managed to solve the problem with Support assistance, the correct ID for Teams collaboration is listed here: https://social.technet.microsoft.com/wiki/contents/articles/54455.power-automate-fetch-site-template-ids.aspx

@get-itips

Thanks for your feedback

@MattEEvans


what is the accuracy of your model for about 500 students

I have not checked. The only bottleneck was data.


[error] Number exceeds 2^53-1

when i start the node i get this error if is start it up with mining args only
5)
    at Object.read64 (C:\Users\Dougal\bronzeage-node\lib\utils\encoding.js:175:1
9)
    at BufferReader.read64 (C:\Users\Dougal\bronzeage-node\lib\utils\reader.js:3
32:18)
    at Output.fromReader (C:\Users\Dougal\bronzeage-node\lib\primitives\output.j
s:259:15)
    at Function.fromReader (C:\Users\Dougal\bronzeage-node\lib\primitives\output
.js:282:23)
    at TX.fromReader (C:\Users\Dougal\bronzeage-node\lib\primitives\tx.js:2158:3
0)
    at Function.fromReader (C:\Users\Dougal\bronzeage-node\lib\primitives\tx.js:
2121:19)
    at Block.fromReader (C:\Users\Dougal\bronzeage-node\lib\primitives\block.js:
753:13)
    at Block.fromRaw (C:\Users\Dougal\bronzeage-node\lib\primitives\block.js:774
:15)
    at Function.fromRaw (C:\Users\Dougal\bronzeage-node\lib\primitives\block.js:
798:22)
[error] Number exceeds 2^53-1

anyone know what is wrong.
is it do do with this?
[debug] Error: electron-eval error: Electron process exited with cod
Stderr:
'"C:\Users\Dougal\bronzeage-node\node_modules\electron\dist\electron
cognized as an internal or external command,
operable program or batch file.

    at ChildProcess.<anonymous> (C:\Users\Dougal\bronzeage-node\node
ctron-eval\lib\index.js:174:22)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at ChildProcess.cp.emit (C:\Users\Dougal\bronzeage-node\node_mod
pawn\lib\enoent.js:40:29)
    at maybeClose (internal/child_process.js:886:16)
    at Socket.<anonymous> (internal/child_process.js:342:11)
    at emitOne (events.js:96:13)
    at Socket.emit (events.js:188:7)
    at Pipe._handle.close [as _onclose] (net.js:501:12)
[error] electron-eval error: Electron process exited with code 1.

What happens if you try running the bin/start script instead of directly running the bin/node one?


impossible de faire des git push

Type: Bug
Hello, a few days ago I factory reset my computer and since then I can't do git push anymore. Vscode tells me<EMAIL_ADDRESS>Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
I think there is a problem with my SSH key but I have no idea what to do. Can you help me please?
VS Code version: Code 1.74.2 (e8a3071ea4344d9d48ef8a4df2c097372b0c5161, 2022-12-20T10:29:14.590Z)
OS version: Windows_NT x64 10.0.22621
Modes:
Sandboxed: No
Connection to 'SSH' could not be established

System Info

Item
Value

CPUs
Intel(R) Pentium(R) CPU 5405U @ 2.30GHz (4 x 2304)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
undefined

Memory (System)
7.86GB (0.40GB free)

Process Argv
--crash-reporter-id 3e449214-a613-4d6f-ad1c-144fa1d6d0a4

Screen Reader
no

VM
0%

Connection to 'SSH' could not be established
Extensions (20)

Extension
Author (truncated)
Version

vscode-tailwindcss
bra
0.9.4

simple-react-snippets
bur
1.2.7

gltf-vscode
ces
2.3.16

vscode-eslint
dba
2.2.6

gitlens
eam
13.2.0

prettier-vscode
esb
9.10.3

mithril-emmet
Fal
0.7.7

live-sass
gle
5.5.1

webpack
jer
3.0.0

vscode-language-babel
mgm
0.0.36

vscode-language-pack-fr
MS-
1.74.12140928

remote-ssh
ms-
0.94.0

remote-ssh-edit
ms-
0.84.0

remote-explorer
ms-
0.0.3

remote-server
ms-
1.0.0

vsliveshare
ms-
1.0.5797

live-sass
rit
3.0.0

LiveServer
rit
5.7.9

sass-indented
syl
1.8.23

ReactSnippets
xab
2.4.0

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vsdfh931:30280409
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdf:30486550
c4g48928:30535728
dsvsc012:30540252
azure-dev_surveyone:30548225
pyindex848cf:30577861
nodejswelcome1cf:30587006
282f8724:30602487
3d0df643:30613357
f6dab269:30613381
fim-prod:30623723
vscup:30628656

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Bundle all tooling using docker

This isn't very scalable
https://github.com/INCATools/ontology-starter-kit/blob/master/.travis.yml#L8-L13
Used all over, with variations:
https://github.com/geneontology/go-ontology/blob/master/.travis.yml#L14-L22
Would it make sense to have a Dockerfile that provided an environment that included

owltools
robot cc @jamesaoverton
dosdp-tools cc @balhoff
dosdp python checkers cc @dosumis
anything else we add to the chain, e.g. blazegraph loader

This would primarily be for running validating checks on an ontology repo (including reasoner checks, sparql checks, pattern checks) in travis, but may be useful in other contexts
cc @kltm

For the GO, our ideal is to have a runtime environment with most of the tools as part of a release as a Dockerfile, made available for (*nix-y) people who want to use the environment without all the setup. If done correctly, this can simplify things. It can also become yet another distribution to be maintained as the typical root-oriented environment of Docker may work slightly differently than user environments of some of the user base.

Some progress on this
There is a Dockerfile for ROBOT: https://github.com/ontodev/robot/pull/148
In this repo we have a branch with Docker experiments
https://github.com/INCATools/ontology-starter-kit/blob/docker/docker/Dockerfile
Need to test this with OSK

A Dockerfile that will fire up an OLS instance for your local ontology:
https://github.com/HumanCellAtlas/ontology
"We’ve found this useful for evaluating ontologies we are developing with users, especially for quickly getting them hosted on an EC2 instance.  Also useful for viewing partonomies. I thought this might be something to add to the ontology starter kit, there is zero config required, you just need the name of the ontology and some optional metadata fields in the /ols directory, which is basically the OBO yaml format anyway. You can see an example in the human cell atlas ontology we are developing"
From @simonjupp
v cool, thanks!

Python script to check patterns against schema is here:
https://github.com/dosumis/dead_simple_owl_design_patterns/blob/master/src/simple_pattern_tester.py
Is it worth putting something so small into a container?

not into its own container, but it can go into the https://hub.docker.com/r/obolibrary/osk/ container, so it's a one stop shop

simple_pattern_tester.py is now included in oskfull

Doing some tests on triffid ontology
Using the old-school .travis.yml (where each component was wgetted):
https://travis-ci.org/cmungall/triffid-behavior-ontology/builds/274895935
takes 6-7 mins to grab everything:

Using docker:
https://travis-ci.org/cmungall/triffid-behavior-ontology/builds/406928013
takes 1m, nice!

Hey, closing this issue due to long inactivity. Please re-open if necessary.


Patch for destructive getLocalBounds in PIXI.DisplayObjectContainer

PIXI has an open upstream bug regarding getLocalBounds. See https://github.com/pixijs/pixi.js/issues/1698.
getLocalBounds destroys the worldTransforms on children until the next stage.updateTransform() call in Phaser.Game. This can make a number of things break including mouse input if width,height, or getLocalBounds methods are called inside of an update or preUpdate method.
Because Phaser uses a modified version of PIXI, I'm proposing to directly patch the issue here.

Agreed, makes a lot of sense. Merged.


Make attachments work

example page: https://notes.billmill.org/visualization/color_schemes.html

closed by 276003d88617d471f095d10192810509866edf27


The new images are really small ~300px I think we had issues in the past with small images. Did you resize them or those are then ones you got from Alyssa ?

I resized them.     They're not too much smaller than the images were originally (mostly).  What size do you think they should all be?  they're at 320x320 in this PR.
-jbs


Support for modern form of Bulgarian Cyrillic by .loclBGR

I would like to collaborate by adding .loclBGR and enchancing Roboto font family with the modern form of Bulgarian Cyrillic Script. According to Botio Nikoltchev (lettersoup) issue: http://www.lettersoup.de/what-shall-be-done-for-bulgarian-cyrillic-loclbgr/ the following characters list is all which have to be included for loclBGR:

The red characters in the pictures are in Russian style and the green ones in Bulgarian.
Д (uni0414) is optional
Ѝ (uni040D)
Л (uni041B)
Ф (uni0424) is optional
в (uni0432)
г (uni0433)
д (uni0434)
ж (uni0436)
з (uni0437)
и (uni0438) usually there is no need to redesign in Italic
й (uni0439) usually there is no need to redesign in Italic
ѝ (uni045D) usually there is no need to redesign in Italic
к (uni043A)
л (uni043B)
п (uni043F) usually there is no need to redesign in Italic
т (uni0442) usually there is no need to redesign in Italic
ц (uni0446)
ш (uni0448) usually there is no need to redesign in Italic
щ (uni0449) usually there is no need to redesign in Italic
ю (uni044E)
Here is attachment of RobotoCondensed-Bold as UFO with my offer for loclBGR glyphs. Please check them. UFO format is exported with TruFont.
RobotoCondensed-Bold.ufo.zip

@roozbehp @m4rc1e
The Bulgarian Minister of e-Government Bozhidar Bojanov has launched an initiative for Bulgarian institutions to use fonts that support Bulgarian Cyrillic. Source: https://www.facebook.com/bozhidar.bozhanov/posts/pfbid036YFX1SuEjFv4Mzg4WGfdnmCSG6yKT5f4wBokqjZigxCER6tkFdmrxzsD6xeedLBzl
The Roboto font is widely used in the Bulgarian web and I suggest you add support for the Bulgarian Cyrillic Script so that everyone can take advantage of it. You can read more about the loclBGR glyphs with examples and info on this article - https://www.lettersoup.de/what-shall-be-done-for-bulgarian-cyrillic-loclbgr/
I will be more than grateful if you consider my proposal!


Secure storage crashes with: "A required entitlement isn't present" on MacOS

secure storage crashes with the message on MacOS:
PlatformException(Unexpected security result code, Code: -34018, Message: A required entitlement isn't present., -34018, null)

It works fine in debug mode so it's likely an issue with the release entitlements. I followed the guide and added the keychain-access-groups in the macos/Runner/Release.entitlements and DebugProfile.entitlements:
	<key>keychain-access-groups</key>
	<array>
		<string>$(AppIdentifierPrefix)com.company.myapp.basis-keychain</string>
	</array>

I'm then initialising secureStorage with:
const secureStorage = FlutterSecureStorage(
  mOptions: MacOsOptions(groupId: 'basis-keychain'),
);

When I then call the following I get the PlatformException.
secureStorage.write(key: 'some_key', value: 'some_value');

What could be the issue?
Thanks!
Environment:
MacOS 15.0.1
Flutter doctor:
[!] Flutter (Channel stable, 3.24.3, on macOS 15.0.1 24A348 darwin-arm64, locale en-GB)
    • Flutter version 3.24.3 on channel stable at /opt/flutter
    ! Warning: `dart` on your path resolves to /opt/homebrew/Cellar/dart/3.5.3/libexec/bin/dart, which is not inside your current Flutter SDK checkout at /opt/flutter. Consider adding /opt/flutter/bin to the front of your
      path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 2663184aa7 (4 weeks ago), 2024-09-11 16:27:48 -0500
    • Engine revision 36335019a8
    • Dart version 3.5.3
    • DevTools version 2.37.3
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/konstantinrr/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/konstantinrr/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 16.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 16A242d
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)

[✓] VS Code (version 1.83.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.98.0

[✓] Connected device (4 available)
    • iPhone (mobile)                 • 00008101-001E4D201145001E • ios            • iOS 18.0.1 22A3370
    • macOS (desktop)                 • macos                     • darwin-arm64   • macOS 15.0.1 24A348 darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad     • darwin         • macOS 15.0.1 24A348 darwin-arm64
    • Chrome (web)                    • chrome                    • web-javascript • Google Chrome 129.0.6668.91

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

I also tried leaving groupId empty and not defining any keychain-access-groups as defined in the documentation here. But that also doesn't work.

I have the exact same issue, and I've also tried to follow the documentation to a point without success. This is only an issue in release mode where the app simply crashes when trying to open it.

I'm seeing this too and so far haven't been able to find a fix. It does seem to be an exception you can catch and log though so the app can keep running.

set "NO" in CODE_SIGN_INJECT_BASE_ENTITLEMENTS in Project Runner Build Setting.
set "--timestamp" in OTHER_CODE_SIGN_FLAGS  in Project Runner Build Setting.
codesign --force --options runtime  --timestamp -s 'Developer ID Application: HiMyTeam (DJ333BY)' --deep --strict --preserve-metadata=entitlements  "desire path of build that you want to sign "   -vvv
you can check the error log when notarization your App.
`xcrun notarytool log 7d4d4c0a-65dc-4112-b2c2-686c5e0d9296 --key macos/key.p8 --key-id "keyid" --issuer  "issuer_id"
Or just use Developer ID Application  provision profile for release build, so that you don't need to redo the codesigning.
Follow this documentation for notarization.

It looks like the --preserve-metadata=entitlements flag to codesign was the thing I was missing. Without that codesign seems to strip the entitlements from the build.

Ok actually --preserve-metadata=entitlements kept the entitlements but then the app wouldn't run.
What seems to have worked is this flag: --entitlements macos/Runner/Release.entitlements.

Quote reply

Oh i see, when i use to build with 'flutter build macos --release' the entitlement is already included.  So --preserve-metadata=entitlements flag is used for my third party framework.
if we are resigning the whole .app contents, then yes --entitlements macos/Runner/Release.entitlements, this is the correct one.

However after making this change I had some issues with getting the Sparkle update to work correctly so I'm still trying to figure out what I need to do to make that work.

Init your storage, something like this without options:
FlutterSecureStorage storage = const FlutterSecureStorage();
In XCode add yourself as a developer in Runner -> Signing & Capabilities -> Team
Inside your project add fields to files macos/Runner/DebugProfile.entitlements and macos/Runner/Release.entitlements like this:

	<key>keychain-access-groups</key>
	<array>
		<string>$(AppIdentifierPrefix)here-is-keychain-group</string>
	</array>

That's works for me.


[Bug]Sell from stack

when someone have a itemstack of e.g 5 and put only 1/5 from it in ah. it reduces 1.
but the one who buy it receive all 5
https://gyazo.com/d2e2459c025f90a7fd5855536dce2344
may the issue is in that part ?
https://gyazo.com/42d8d47ede0216d426e7c834ae1d821a
it reduce the right amount from inventory, but when item will add to bidding list it dont check for set amount, it just take the wohle stack

@insthync since we on topic, this is not a bug, but having a Bid Cancel option would be nice, for example if i sell a Weapon. and i accidently put it up wrong price, there is no way to fix the price or remove it from the auction, basically u have to w8 till the time is over.
Dont need edit, but Cancel would be very good. just an FYI.


ConnectGetAllDomainStats not works

xdr:decodeInterface: can't decode to nil interface

This is caused by libvirt's TypedParam types. Specifically, the xdr decoding library we're using to unpack the replies from libvirt doesn't understand them (rightly so - they're not part of the xdr spec). The code generator works around this by inserting some special case code for these types. That code looks at the discriminant for the TypedParam to identify what type it is, and then pushes an instance of that type to the xdr decoder so it's unpacking into a known type.
But that doesn't work when the TypedParam is contained in another struct, as in this case.
To fix this without making a mess, we'll need to pull in and modify the xdr library, and add code to its type engine that understands the libvirt TypedParam types. With that done, the code generator won't need to special-case these types anymore, and they'll work no matter how deeply nested they are in the message.

do you have some plans to fix this? Now i'm use my own generated libvirt binding that works with dbus, but also i'm need plain libvirt package to connect to remote libvirt instance

I'll see what I can do. It's not a difficult fix.

sorry, any news?

I'm also experiencing the issue, are there any workarounds?

...gentle ping...

This issue is still on my todo list, but I haven't gotten to it yet.
It is possible to build a workaround for this. You'd need to modify the generated code for the ConnectGetAllDomainStats function and manually call decodeTypedParams on the embedded TypedParams.

What do you think about patching it directly in master until the issue is fixed the proper way?

@trapgate Could you please provide a snippet for the parsing workaround? I've tried to implement it, but I'm still getting only domain info, params are not parsed properly at times or just  altogether.
Thank you.

@vtolstov Any progress from your side, maybe?

Ok, I've been able to hack the decoder a little, but only by replacing a byte slice with a hardcoded length instead of []TypedParam slice in DomainStatsRecord and calling xdr.unmarshal instead of decode. Otherwise (when I replaced []TypedParam with []byte), unmarshal was crashing on EOF, seemingly unable to determine when to stop parsing the byte slice that represents the params.
After manually finding out the length of that chunk, I was able to call decodeTypedParams and receive meaningful values out of it.
@trapgate, since you have experience with xdr, do you know how can I complete the workaround? Specifically, which structure instead of []TypedParam will allow for safe unmarshaling and can be used to then decode typed params from itself?
Thank you.

The actual problem with the TypedParams is that the size an individual TypedParam varies depending on the type, so you have to look at the so-called discriminant (which is just an integer that identifies the actual type contained in the TypedParam) at the beginning of a TypedParam value in order to tell how long the value is. The workaround in the generated code does this and then hands the xdr library typed params of a particular type, like TypedParamInt, to unmarshal the value into. The logic that does this is in a routine called decodeTypedParams. Your workaround will need to call this routine on the array of TypedParams embedded in the struct.
I will be looking at this problem this week, finally. I will push a fix as soon as I can.

Yep, I've seen decodeTypedParams. The issue appears prior to that though. The payload is expected to be parsed to a slice of structs {Domain, []TypedParam}, so there's not only typed params there. I was wondering how to do the initial parsing, e.g. where to put the bytes representing params initially, before I can call decodeTypedParams on those parts...
It's awesome that you have some time to resolve the issue, I'd like to see how the solution looks like :)

This should be fixed now.  But TypedParamValue is where things get interesting:
{noformat}
// TypedParamValue is a discriminated union.
type TypedParamValue struct {
D uint32
I interface{}
}
{noformat}
D is the "discriminant", which just tells you the type stored in the I member. From an xdr standpoint, in order to decode a TypedParamValue off the wire, the decoder needs to look at the value of D, create the appropriate type variable to store the value in, and then decode into that variable.
Prior to this change, there was code in every handler to check whether a TypedParam was part of the return values from a call to libvirt; if it was, some special code got called to do the above. That didn't work when the TypedParam was part of another struct, though, because the result handlers don't recurse down through the contents of the returned types - the xdr library itself did that.
To fix this without introducing a circular dependency, I altered the xdr decoding library to let the caller pass in a list of special types, each with a decode handler. When the xdr library detects one of those types (by type name, not by type introspection - otherwise there would be a circular dependency) it calls the provided decode handler. The only special type we need for the libvirt interface is the TypedParam; all other types were complete and needed no special handling.
Hopefully this clarifies things a bit.

thanks!

you're welcome. :)


post step

tip: You can run a post-step to cleanup selfhosted runners back to original state: https://github.community/t/about-post-in-an-action/17260

@davidkarlsen Thanks for the tip.  Currently, composite actions do not support post-step. So it may be required to change the action type.
And there are other issues, that I now see in my script:

User in self-hosted action, may not be able to run sudo. So, there is an option to check with "sudo -v" and skip the entire script.  Or, use docker, mount /usr/bin, and then execute the script.  Not a beautiful solution...

If use post-step action to restore self-hosted runner,  it may change things for other runners, that are working on the same server. Because of that, it requires some sort of counting or other preventive methods.
So it may be better, to not execute steps in action, if it is self-hosted runner. And let admins configure wrapper like how I wrote in README.md.


HString/HStringReference missing GetRawBuffer methods

The pages https://docs.microsoft.com/en-us/cpp/windows/hstring-class and https://docs.microsoft.com/en-us/cpp/windows/hstringreference-class are missing the GetRawBuffer() methods:
const wchar_t* GetRawBuffer(_Out_opt_ unsigned int* length) const
{
    return ::WindowsGetStringRawBuffer(hstr_, length);
}

There may be others missing, but I didn't check.

@nkronlage fixed now (as of July 15). thanks!


RNTester Error: No Script URL Provided

[ x] Review the documentation: https://facebook.github.io/react-native
[ x] Search for existing issues: https://github.com/facebook/react-native/issues
[ x] Use the latest React Native release: https://github.com/facebook/react-native/releases

Environment
React Native Environment Info:
System:
OS: macOS High Sierra 10.13.6
CPU: x64 Intel(R) Core(TM) i5-2557M CPU @ 1.70GHz
Memory: 56.45 MB / 4.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 10.6.0 - /usr/local/bin/node
npm: 6.1.0 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 11.4, macOS 10.13, tvOS 11.4, watchOS 4.3
Android SDK:
Build Tools: 26.0.3, 28.0.1
API Levels: 23, 26, 28
IDEs:
Android Studio: 3.1 AI-173.4819257
Xcode: 9.4.1/9F2000 - /usr/bin/xcodebuild
npmPackages:
react: 16.4.1 => 16.4.1
react-native: 0.56.0 => 0.56.0
npmGlobalPackages:
react-native-cli: 2.0.1
Description
-I am simply trying to run the RNTester for the first time in Xcode. The build succeeds, but then I get an error in Xcode and a red screen on the simulator which both read:
"No script URL provided. Make sure the packager is running or you have embedded a JS bundle in your application bundle.
unsanitizedScriptURLString = (null)"
-In the Metro Bundler terminal window, I am getting this warning: "Warning! Your metro configuration contains a deprecated function "projectRoots". Please, consider changing it to "getProjectRoot" with "watchFolders" (if needed)"
-Also, running "react-native info" in the react-native directory or the RNTester directory yields "Command info unrecognized. Make sure that you have run npm install and that you are inside a react-native project." The "react-native info" output I posted above is within a different react native directory which I initialized. I don't know if this is related to my problem.
Reproducible Demo
To reproduce the problem, git clone https://github.com/facebook/react-native.git, cd react-native, npm install, and then open RNTester/RNTester.xcodeproj (these are the instructions on the facebook/react-native github page.). When Xcode opens, click the run button. Use the latest versions of react-native, node, and Xcode.

I met the same mistake.

I have the same issue, tried both with and without CocoaPods.

@Jonnyapples I just updated my fork and I don't face this issue anymore


Organizational Structures

Now that this library has been transferred to the ChainAgnostic Github organization, I propose we make the following changes:

[ ] add @shrugs as one of the main authors (inc NPM publishing rights)
[ ] change license to be owned by ChainAgnostic
[ ] rename the repository to js-caip

Also if @ukstv would like to become a maintainer, let me know

I volunteer @pedrouid.


feat: add fn body to process_slashings

Oops, didn't see the other comments....will update those too.


Avoid copy file when building libsass

Simplifies build

Build passing https://ci.appveyor.com/project/am11/libsass-net/build/1.0.162
@darrenkopp, should we configure AppVeryor CI with GitHub pull request so the build status is visible?


chore: remove WindowUpdateMode::OnReceive

I suggest we remove WindowUpdateMode::OnReceive in favor of always using (not just defaulting to) WindowUpdateMode::OnRead.
I can not think of a use-case where one would want OnReceive over OnRead. Anyone?
Removing OnReceive will simplify our codebase.
https://github.com/libp2p/rust-yamux/blob/93b70626f7f3d83f97951d9cd5c2951500088f0d/yamux/src/lib.rs#L66-L76

Sounds good to me!
Perhaps make a point-release deprecating it first :)


Typo in "00_pytorch_fundamentals.ipynb"

Correct the typo
Updated the heading from "Where can can you get help?" to "Where can you get help?"

Thank you legend!


Feature makefile fix

I propose to add a default target which list available targets so that first call of make is safe.
I also add a warning in release target to remind to push the tags back to github.

Great, thank you!


Is it possible to have a "catch-all" resolver?

A resolver must have one method or field for each field of the GraphQL type it resolves

I am building a proxy service where I want to handle a subset of GrapQL queries and I do not want to implement a method for each field.  Is there a way to define a catch all or default resolver to handle fields or methods that are not implemented in the resolver.  Thanks.

No, I'm sorry but the library doesn't offer that.


Query Connector image configurations

PULL REQUEST
Summary

Modify the image path and tag
Removed code that was left during debugging

Related Issue
This PR is dependent on Query Connector's PR (See this comment for details about how the git sha in this workflow will be used)
Additional Information
Anything else the review team should know?

We're moving away from using EKS so this code is not obsolete


Game version is too new for metadata patching.

Before launching, it tells me to disable metadata patching, but also, it says I need a UA Patch to play the game. What is that "UA Patch" and how do I do that?

I also ran into this issue and didn't know how to fix it, and although I registered discord and tried to find a workaround inside, I still got nothing. : - (  how can I do to deal this problem?

At the time that I write this, grasscutter only works up to version 3.3, so keep that in mind before following
UA is an old patch for the game, now obsolete.
What you need to do now is download RSAPatch.dll ( linked here: https://github.com/34736384/RSAPatch )
Then you need to go to the location your anime game was installed (not the launcher install, the place the launcher downloads files to)
Then the folder with a name ending with the word 'game'
You should see a file named 'mhypbase.dll'
Copy the name of this file and rename it to 'mhypbase.dll.backup'
Then paste RSAPatch.dll into this directory, and rename it to mhypbase.dll
Disable the Metadata patch option in the settings
Now you can consider it patched, do not attempt to connect to official servers with the patch
To undo it, delete mhypbase.dll and rename 'mhypbase.dll.backup' to 'mhypbase.dll'

Thank you very much for your help, I am now able to successfully enter the game, but when I opened the door and started the game , there is a white screen , and I created the PublicKey in the same folder as the instructions in the link you gave.txt But the problem is still not solved, Server's outputs are as following, please ask me what to do next

在我写这篇文章的时候，grasscutter 只能工作到 3.3 版，所以在继续之前请记住这一点
UA 是游戏的旧补丁，现已过时。 你现在需要做的是下载 RSAPatch.dll（链接在这里：https://github.com/34736384/RSAPatch） 然后你需要去你的动漫游戏的安装位置（不是启动器安装，启动器的地方下载文件到） 然后文件夹名称以“游戏”结尾 你应该看到一个名为“mhypbase.dll”的文件 复制此文件的名称并将其重命名为“mhypbase.dll.backup” 然后粘贴 RSAPatch.dll进入此目录，并将其重命名为 mhypbase.dll 在设置中禁用元数据补丁选项
现在你可以认为它打了补丁，不要试图用补丁连接到官方服务器 要撤消它，删除 mhypbase.dll 并将 'mhypbase.dll.backup' 重命名为 'mhypbase.dll'

Thank you very much for your help, I am now able to successfully enter the game, but when I opened the door and started the game , there is a white screen , and I created the PublicKey in the same folder as the instructions in the link you gave.txt But the problem is still not solved, Server's outputs are as following, please ask me what to do next

That happens because your game version and Grasscutter version don't match. I'd suggest you head over to the Grasscutter discord support channel though, since this is really an issue for GC and not with Cultivation.


[Feature]: Mean recruitment adjustment

Describe the solution you would like.
see discussion in #593
When using recdev option 1, the dev_vector with tuned bias adjustment forces the arithmetic mean recruitment of the time series to be consistent with the mean from the spawner-recruitment relationship.
This is because the spawner-recruitment relationship is used to produce MSY; MSY is not based on the time series of estimated recruitments.
With the transition to recommending that recdevs be based on recdev option = 2, which is not zero-centered, there is a concern that the MSY calculations will not be consistent with the mean of the recruitments.
It seems that MSY should remain based on the SRR, as adjusted by the mean deviation of the recdevs.
Solution 1:  add a penalty to mean recdev to improve degree to which it is 0.0
Solution 2:  base the benchmark quantities on log(R0) - mean(dev)
Describe alternatives you have considered
Rely on the sigma penalty to keep mean recruitment close enough to zero.  However, it is clear that his does not always happen.  A change to log(R0) can be perfectly offset by a drift in mean recruitment.
Statistical validity, if applicable
No response
Describe if this is needed for a management application
definitely important to not allow a know bias in this calculation
Additional context
No response

Isn't option 1 just recreating the dev_vector, but more explicitly? Perhaps a better alternative for this option is to get the dev_vector working better in ADMB in general? Seems unlikely given the ADMB dev status.
I've always thought option (2) made the most sense. It should mimic the dev_vector approach in both the estimates and derived quantities, with no apparent downsides that I can anticipate. @jimianelli and I were discussing this recently. Any thoughts Jim?

In principle yes, but some situations cause the mean of the devs to drift away from zero.

Maybe I don't understand (likely) but I don't see why it matters whether there is a drift or not. Can we not consider the two approaches (dev_vector vs. post-hoc centering) just a different way of implementing the same feature? Or as you put it "A change to log(R0) can be perfectly offset by a drift in mean recruitment."
How can I help with this issue? Do some analyses need to be done?

I'm very glad to see this issue being discussed. I understand that a dev
vector is an issue in MCMC when using ADMB, but when the recruitment
deviates do not sum to zero, the benchmark calculations do not make sense
(as Rick explained earlier). The CASAL manual
https://niwa.co.nz/sites/default/files/sites/default/files/casalv230-2012-03-21.pdf
(page 32) describes this and some solutions that were proposed many years
ago. The current Pacific hake model uses option 2 and the sum of the
deviates is close to zero, but not exactly zero. My concern is that other
assessments with potential changes in average recruitment and lack of data
or short "main" periods of recruitment may result in a large difference in
average recruitment compared to R0.  One test would be to simulate a model
many years into the future to determine the benchmark quantities (B0, MSY,
etc.). I believe that without a sum to zero recruitment vector, you cannot
be guaranteed to achieve those benchmarks. I think that when the AFSC
assessments assume steepness of 1 and use external projection software,
this is not a concern.  Nevertheless, I think some testing would be useful.
I have not experimented with other recruitment types in SS, but would
options 3 or 4 be worth considering? I'll try to cook up some examples to
show where this is a concern, but if I can be of any help, please let me
know.
On Mon, Apr 29, 2024 at 4:57 PM Cole Monnahan @.***>
wrote:

Maybe I don't understand (likely) but I don't see why it matters whether
there is a drift or not. Can we not consider the two approaches (dev_vector
vs. post-hoc centering) just a different way of implementing the same
feature? Or as you put it "A change to log(R0) can be perfectly offset by a
drift in mean recruitment."
How can I help with this issue? Do some analyses need to be done?
—
Reply to this email directly, view it on GitHub
https://github.com/nmfs-ost/ss3-source-code/issues/594#issuecomment-2083894177,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABPA4ZNMJMTE67RVEFOKBJDY73M6XAVCNFSM6AAAAABG3RSILSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBTHA4TIMJXG4
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thanks Allan,
My proposal is to modify the -logL for recdevs to include this term:
square((mean_dev - 0.0) / se))
where se is sigmaR / N.
current code (w/o rho) is:
recr_like = sd_offset_rec * log(sigmaR);  // where sd_offset_rec is N adjusted for bias adjustment = sum(biasadj)
recr_like += norm2(recdev(recdev_first, recdev_end)) / two_sigmaRsq;
Ah-Ha:  sd_offset_rec should change to equal N years when going to MCMC!

That sounds reasonable. I imagine that N is the number of years in the main
period. Should the se = sigmaR/sqrt(N)?  It will be interesting to see what
the behavior is and if there are still cases where this penalty will not be
strong enough to keep the mean near zero. Dividing sigma by N means that
the se is larger at smaller sample sizes (as expected), but does that mean
that with a shorter main period this penalty is less influential and could
more easily depart from zero? I may be heading towards some recommendation
of the minimum length of the main period of recruits (which may already be
specified). This seems like a good compromise between simple random
deviates and a deviate vector forced to sum to zero.
On Tue, Apr 30, 2024 at 8:23 AM Richard Methot @.***>
wrote:

Thanks Allan,
My proposal is to modify the -logL for recdevs to include this term:
square((mean_dev - 0.0) / se))
where se is sigmaR / N.
current code (w/o rho) is:
recr_like = sd_offset_rec * log(sigmaR); // where sd_offset_rec is N
adjusted for bias adjustment = sum(biasadj)
recr_like += norm2(recdev(recdev_first, recdev_end)) / two_sigmaRsq;
Ah-Ha: sd_offset_rec should change to equal N years when going to MCMC!
—
Reply to this email directly, view it on GitHub
https://github.com/nmfs-ost/ss3-source-code/issues/594#issuecomment-2085654429,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABPA4ZJ6XDGL3WFO5WEHXX3Y76ZN5AVCNFSM6AAAAABG3RSILSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBVGY2TINBSHE
.
You are receiving this because you commented.Message ID:
@.***>

We're getting close...
Either:
(a)  implement a penalty on mean(recdev) such that it is close enough to zero and we treat the remaining delta as noise;
or
(b) accept that with recdev option 2 there could be drift in mean(recdev), so create an adjusted log(R0)' = log(R0) + mean(recdev) to use in benchmark and forecast
We'll need to worry about how this plays with bias_adjustment when transitioning from MLE to MCMC

I would implement this as a new, not revised, option so we could test.
Logically, it should be the same as dev_vector.
Where it gets squirrely is in calculation of initial population size and then annual depletion, e.g. SSB(y)/SSB0.  So I think that the offset needs to be applied there also to achieve the current total internal consistency of the SS3 time series.
Of course, this is just cementing further the SS3 dependence on the R0,h formulation of spawner-recruitment.  There is another branch in which I explore the a,b formulation per Miller and Brooks.  Which is totally feasible, except for reworking all of the depletion dependencies.  I think I can make that work.  Basically, the a,b approach lets you calculate the R0,h conditioned on start year biology then I need to work out what happens when biology changes during time series.  If you have comments, please put them at #191


2011/socket_client_thread_sample /socketclientthread.py Why receive command supplies data?

https://github.com/eliben/code-for-blog/blob/main/2011/socket_client_thread_sample/socketclientthread.py#L141
if __name__ == "__main__":
    sct = SocketClientThread()
    sct.start()
    sct.cmd_q.put(ClientCommand(ClientCommand.CONNECT, ('localhost', 50007)))
    reply = sct.reply_q.get(True)
    print(reply.type, reply.data)
    sct.cmd_q.put(ClientCommand(ClientCommand.SEND, "hellothere"))
    reply = sct.reply_q.get(True)
    print(reply.type, reply.data)
    sct.cmd_q.put(ClientCommand(ClientCommand.RECEIVE, "hellothere"))
    reply = sct.reply_q.get(True)
    print(reply.type, reply.data)
    sct.cmd_q.put(ClientCommand(ClientCommand.CLOSE))
    reply = sct.reply_q.get(True)
    print(reply.type, reply.data)
    pass

sct.cmd_q.put(ClientCommand(ClientCommand.RECEIVE, "hellothere"))
I was expecting it to be sct.cmd_q.put(ClientCommand(ClientCommand.RECEIVE)) which gives ClientCommand a default None for its self.data.
_handle_RECEIVE and _handle_CLOSE never used cmd.data, only _handle_CONNECT and _handle_SEND used it, another piece of evidence receive needs no data in the ClientCommand object.
https://github.com/eliben/code-for-blog/blob/main/2011/socket_client_thread_sample/sampleguiclient.py#L97-L101
This section uses functions from above from socketclientthread import SocketClientThread, ClientCommand, ClientReply  and follows the expected usage pattern defined by the 4 handlers
    def on_doit(self):
        self.client.cmd_q.put(ClientCommand(ClientCommand.CONNECT, SERVER_ADDR))
        self.client.cmd_q.put(ClientCommand(ClientCommand.SEND, 'hello'))
        self.client.cmd_q.put(ClientCommand(ClientCommand.RECEIVE))
        self.client.cmd_q.put(ClientCommand(ClientCommand.CLOSE))

There's no special reason for this; the code in the if __name__ == "__main__" block is generally just for local testing while developing.


Failed file access should raise IOError not ValueError

See https://github.com/RaRe-Technologies/smart_open/issues/303#issuecomment-485426630 for details.
I recognise this to be a breaking change (Unless you make a subclass extending both Exception classes) so proper semantic verion should be assigned.

Maybe while working on this, the original error could made available as parameter, so it isn't swallowed.

To keep code compatible maybe we can make a exception subclass of both?
class SmartOpenOpenError(ValueError, IOError): pass
raise SmartOpenOpenError(...)

    try:
        with open(s3_url, "r", transport_params=transport_params):
            pass  # just check if exists.
        # end with
        return redirect(http_url)
    except IOError:
        logger.info(f'File {file} does not exist yet.')  # we just continue above
    # end def

and old code expecting ValueError.

@mpenkov did #325 really fix this? It seems unrelated to me.

Yes, here is the relevant part.


Receptive field calculation to get patch

Hi @songdejia ,
First of all great repo 👍  I am a little confused in this part of code.
         p_tl = (8*col, 8*row)             p_br = (col*8+92, row*8+92)
I believe this comes from the paper  "the output of the 10th convolutional layer conv4_3 represents patches as small as 92 × 92 with stride 8paper ". I didn't get how the author arrive here?
Maybe a novice question but your help is appreciated.
Thanks

It is receptive field for VGG-16 at conv4_3. The size in conv4_3 is 5656. and each px in 5656 in represent the 9292 px on origin input(448448).
you can take a look on this as a source: https://www.researchgate.net/figure/The-detailed-receptive-field-and-stride-size-in-original-VGG16-net_tbl1_333638990


Open in sidebar on shift click

If an entry in the calendar is clicked with shift pressed down,
open that day's journal in the sidebar.
Because the openInRightSidebar only accepts UUIDs,
we have to retrieve or create the day's page to get its UUID.
Resolves #4

Demo:

@xyhp915, I would appreciate a review of this when you get a chance.

Thanks!


Change detection not fired when using fs

Hi,
I am using Electron 1.6.2, Angular 4.0.0, and zone.js 0.8.5. My application loads some projects from a file within a service using fs, as seen here:
private projects = new ReplaySubject<ETProject[]>(1);

...

/**
 * Loads the projects from the disk. Additionally, creates the projects file if it does not exist.
 */
public loadProjects(): void {
    fs.exists(ProjectService.PROJECTS_FILE_PATH, exists => {
        if (exists) {
            fs.readFile(ProjectService.PROJECTS_FILE_PATH, 'utf8', (err, data) => {
                if (err) {
                    console.log(err);
                    this.projects.next([]);
                } else {
                    this.projects.next(JSON.parse(data));
                }
            });
        } else {
            this.projects.next([]);
        }
    });
}

/**
 * @returns A ReplaySubject that emits an array of saved projects.
 */
public getProjects(): ReplaySubject<ETProject[]> {
    return this.projects;
}

In my component where I list the projects, I subscribe to projects like so:
projects: ETProject[] = [];

...

ngOnInit() {
    // Get the array of projects
    this.projectService.getProjects().subscribe(projects => {
        this.projects = projects;
    });
}

The problem I'm running into is that when the application starts, the subscription does receive the array of projects and it updates the variable in the component, but the UI does not redraw the list of projects until I click on a button somewhere else on the page.
To solve this I injected the ChangeDetectorRef and force detection of changes inside the subscription:
ngOnInit() {
    // Get the array of projects
    this.projectService.getProjects().subscribe(projects => {
        this.projects = projects;
        this.changeDetectorRef.detectChanges();
    });
}

This works, but I find it annoying that I must remember to detect changes every time I use one of my ProjectService's methods that involves fs. I found this file https://github.com/angular/zone.js/blob/master/lib/node/fs.ts which I assume is supposed to solve this problem, but evidently it does not. Am I doing something wrong?

@MitchTalmadge , if you are using Electron, you should load zone-mix.js to patch both browser and node,  I don't know what the current Electron project structure, but maybe you can replace zone.js with zone-mix.js in electron polyfill.ts, it should resolve your issue.

@JiaLiPassion That fixed it immediately. Thanks so much!! Is there documentation on this? Maybe I missed it.
For reference, in polyfills.ts I changed this:
require('zone.js/dist/zone');
to this:
require('zone.js/dist/zone-mix');

Glad to help, the document is a little difficult to find, here it is, https://github.com/angular/zone.js/blob/master/STANDARD-APIS.md


Cranelift: Compile failed with arm-unknown-linux-gnueabihf

error[E0425]: cannot find function `expand` in this scope
   --> /cargo/registry/src/github.com-f1e60147b9cdaa30/cranelift-codegen-0.63.0/src/legalizer/mod.rs:233:42
    |
233 |                 | ir::Opcode::IcmpImm => expand(inst, &mut pos.func, cfg, isa),

@AurevoirXavier Thanks for opening an issue. Can't reproduce on the main branch, can you check again and let us know if this is still an issue, please? Thanks.