Failed to create ros reader: Error reading version line

Required Info

Camera Model
SR300

Firmware Version
N/A

Operating System & Version
MacOS

Kernel Version (Linux Only)
N/A

Platform
PC

SDK Version
2.16.0

Language
C++ }

Segment
N/A

Issue Description
I've been getting an "Failed to create ros reader: Error reading version line" when trying to open an .rssdk file. My code is as so:
    #include <librealsense2/rs.hpp>
  4
  5 using namespace std;
  6 using namespace cv;
  7
  8 int main(){
  9
 10
 11 rs2::config cfg;
 12 cfg.enable_device_from_file("video2.rssdk");
 13 rs2::pipeline pipe;
 14 pipe.start(cfg); //File will be opened in read mode at this point
 15 for (int i = 0; i < 30; i++)
 16 {
 17     rs2::frameset frames;
 18     if (pipe.poll_for_frames(&frames))
 19     {
 20         //use frames here
 21     }
 22     //Note that we use poll_for_frames instead of wait_for_frames
 23     //This is because the file only contains a finite amount of frames
 24     // and if we use wait_for_frames then after reading the entire file
 25     // we will fail to wait for the next frame (and get an exception)
 26 }
 27 pipe.stop(); //File will be closed at this point
 28
 29 }

And my full error message is:
libc++abi.dylib: terminating with uncaught exception of type rs2::error: Failed to resolve request. Request to enable_device_from_file("video2.rssdk") was invalid, Reason: Failed to create ros reader: Error reading version line Abort trap: 6

Hi @philipjames44
Unfortunately, the rssdk files are only supported by now discontinued SDK for Windows.

Ah, unfortunate, thanks for the response however. Is there a more common format/procedure I should record my videos in that is still supported?

[Realsense Customer Engineering Team Comment]
Hi @philipjames44,
You can consider to record it as a ROS bag file.

So a follow up question. Is there any way of opening/changing the rssdk format so that it can be read by this sdk (RealSense2)?

[Realsense Customer Engineering Team Comment]
Hi philipjames44,
As dorodnic mentioned, rssdk is only supported by the discontinued SDK for Windows.
You can try either ROS and RealSense2 to record ROS bag file.
You may take a look at this example for recording and playing back: https://github.com/IntelRealSense/librealsense/tree/master/examples/record-playback
Thanks!


feat: subs in subscribe response & versioning information

Adds sbs which is the list of subscriptions to notifySubscribe response to simplify client-side implementation to avoid listening for an additional subscriptionsChanged. Context.
Adds mjv to all JWTs which enables each side to tell what version the other side is using and if there have been any major breaking changes to the API in-use.

Notify Server can use this to tell if a client supports the new sbs response field and thus will avoid sending a duplicate subscriptionsChanged request to supporting clients
Clients can use this to tell if Notify Server has broken support for an old API version, and for clients to fail more gracefully such as logging "please update your SDK version". For example this could happen if support for an insecure SIWE statement is dropped, or there are other major protocol improvements that need to be made and support dropped after a sufficient majority of clients migrate.

Adds sdk versioning information for analytics purposes

Added sbs to notifyUpdate and notifyDelete responses too

Technically there is a race condition with this spec where different changes happen in different orders, resulting in an incorrect state in the client. However a restart will quickly resolve this anyway. Also it's missing pagination for large lists of subscriptions. Things to improve for a later revision of the spec.

LGTM please ask for re-review once sdk is removed

Now blocked by client public API changes


Post variables, like author, title and image, are missing in the generated feed

Here is the Front Matter from a real example post:
---

layout: post
category: C7VJAGM2R

title: "U.S. officials are having a ‘Sputnik moment’ over AI innovation in China"
date: 2017-11-06 21:17:14
link: https://venturebeat.com/2017/11/06/u-s-officials-are-having-a-sputnik-moment-over-ai-innovation-in-china/
image: https://venturebeat.com/wp-content/uploads/2017/11/shutterstock_383756191-e1509948484427.jpg?fit=780%2C520&strip=all
domain: venturebeat.com
author: VentureBeat
icon: https://venturebeat.com/wp-content/themes/vb-news/img/favicon.ico
excerpt: "The phrase "Sputnik moment" refers to the October 4, 1957, launch of Sputnik 1, the first artificial Earth satellite, by Sergei Korolyov for the Soviet Union. It was this American fear of the technological gap between the United States and the U.S.S.R. that ignited the space race to put a man on the moon. Nowadays the phrase is commonly used to describe the United States' need to keep pace with the rapid development of other countries."

---

### U.S. officials are having a ‘Sputnik moment’ over AI innovation in China

The phrase "Sputnik moment" refers to the October 4, 1957, launch of Sputnik 1, the first artificial Earth satellite, by Sergei Korolyov for the Soviet Union. It was this American fear of the technological gap between the United States and the U.S.S.R. that ignited the space race to put a man on the moon. Nowadays the phrase is commonly used to describe the United States' need to keep pace with the rapid development of other countries.

And here is the generated XML:
<entry>
    <title type="html"/>
    <link href="https://vectorhack.com/2018/03/01/2017-11-06-venturebeat.com-Ev7VRRAM5G.html" rel="alternate" type="text/html" title=""/>
    <published>2018-03-01T12:32:14+00:00</published>
    <updated>2018-03-01T12:32:14+00:00</updated>
    <id>
        https://vectorhack.com/2018/03/01/2017-11-06-venturebeat.com-Ev7VRRAM5G
    </id>
    <content type="html" xml:base="https://vectorhack.com/2018/03/01/2017-11-06-venturebeat.com-Ev7VRRAM5G.html">

U.S. officials are having a ‘Sputnik moment’ over AI innovation in China

The phrase “Sputnik moment” refers to the October 4, 1957, launch of Sputnik 1, the first artificial Earth satellite, by Sergei Korolyov for the Soviet Union. It was this American fear of the technological gap between the United States and the U.S.S.R. that ignited the space race to put a man on the moon. Nowadays the phrase is commonly used to describe the United States’ need to keep pace with the rapid development of other countries.

    </content>
    <author>
        <name/>
    </author>
</entry>

I would have expected it to contain author, title, and image.
Is this expected?  Maybe there is an issue with quoting or escaping that causes a parse failure?

@bittlingmayer please try pasting the YAML into an online YAML validator. I believe the YAML front matter is not valid YAML.

I face the same issue — {{ page.excerpt }} shows something on the website but not in the feed.
More strangely, the  tag appears in the feed description.

@benbalter Correct, " is not escaped.
Implicitly this is evident from https://github.com/vrhk/vrhk.github.io/blob/master/_posts/2017-11-06-venturebeat.com-Ev7VRRAM5G.md because it does not display it as a table.
This should probably cause an error or warning.  It would be fine to just pass on the error from the YAML validator:
can not read a block mapping entry; a multiline key may not be an implicit key at line 13, column 1: ^

I agree that invalid YAML front matter should provide a more explicit warning. This, however, is a Jekyll issue rather than an issue with this plugin. I would encourage you to reopen this issue in the Jekyll repository.


Set up inputs for data download page

Needs to do the actual downloading part still.

ping @vlandham


Minor API changes & bug fixes

I've changed the API to be more rememberable (to me, anyway, comments welcome) by using VComponents (instead of VCompents, which I found myself typo-ing all the time), module.exports (instead of vm).  Since this is a lightweight version of vue-loader for webpack, I wanted the usage to be as similar as possible to it.

Thank you, you did a nice job.😁


Support android gradle plugin 1.1.0 up

Fix issue https://github.com/uPhyca/gradle-android-aspectj-plugin/issues/14
Change-Id: I44c901402756f4d9388f6d5149e0e23b9eebce77

merge it please!

Thanks for your contributions!

Glad that you merged that.

I've released the version 0.9.10 to maven central, please check it out about 2 hours later.


Add new genre for Action

What's wrong with the existing documentation
.
Add ScreenShots
No response
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@anuragverma108 please assign this to me


Avoid downloading bootp files

Fixes: #101
Signed-off-by: Pradipta Kumar<EMAIL_ADDRESS>

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: bpradipt
To complete the pull request process, please assign
You can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/approve

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: bpradipt, yussufsh
To complete the pull request process, please assign
You can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: bpradipt, yussufsh
To complete the pull request process, please assign
You can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: bpradipt, Prajyot-Parab, yussufsh
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [bpradipt,yussufsh]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Funding transaction is not viewed in mempool and bitcoin network

Hi,
Now i have v0.1-67 but i see problem in this and in previous version
And i have restored wallet from seed (may be this important, i don't know)
Description:

I don't have opened channels
I make open channel and choose "ACINQ node"
I choose Max amount and any comission (bug is in both variants)
After opening i try to see funding transaction (channes is OPENING status, 0/3) but if i make "View funding transaction" - the blockchain explorer doesn't find this transaction.

I wait, after make "Close channel", after i make rescan blockchain and after i can make new channel (old channels there are as SHUTDOWN). I tried to make many times but always i have same effect. I think transaction is not send to bitcoin network.

Can you provide a raw funding transaction please? It can be obtained by tapping a transaction in a list and then you'll see an option in a popup.

This funding transaction tries to spend a 2nd output from this transaction: https://www.smartbit.com.au/tx/6e0a1a32c981703b4df3210deabd1c9cc87ac8683fdfc904f6db7db443b3bb2b which happens to be already spent by another channel funding transaction a long time ago (Jun 11).
I think I understand what's going on here: inserting OP_RETURN in transactions solves exactly this problem and that spending transaction (https://www.smartbit.com.au/tx/3fe235e1d8fd39b5e06555d35dd8b53ec1c2f0c9b19bd7a2e24d9c3171a19a25) does not have an OP_RETURN. There was a short period of time just around then when BLW was not inserting OP_RETURNs and seems like you've got hit by it.
Looks like I'll have to try to fix this bug for good now. Meanwhile, if you want to get the money out of the wallet you can correctly restore a balance in Electrum or Samurai wallets by using a mnemonic code.

Can you please try the following for the testing purposes:

Erase your wallet data and restore it from mnemonic code, then wait until it is fully synchronized. You should see an incorrect balance at this point which includes an already spent output.

Rescan blockchain via "gear" -> "Rescan blockchain". Will you see a correct balance in the end (less than in step 1) or is it still the same?

I am restoring now from seed. I will let you know
But i want to notice that this BLW wallet (with bug) was restored in new device some days ago. But i restored from seed and used restoring from backup servers. And second noticing - when i restored channels (i got onchain transactions) a some time i used two devices (old & new). During restoring process the old device was in Flight Mode. After restoring when new device had onchain unconfirmed transactions i started in online old device (there were opened channels). May be there could be reasons for this bug? ;-)
Now the old device was shutdown (i did reset). So after restoring from seed now only one device will work.

Now i did:

The screenshot before: https://www.dropbox.com/s/bcjg163ubrxmjv3/2018-09-17 19.48.08.jpg?dl=0
In Application settings of Android i found the BLW and did clean cache & data
I started BLW again and it showed to me create/restore page
I entered the seed (the old device already offline forever)
I waited of syncing of blockchain. After syncing the screenshot: https://www.dropbox.com/s/dcloe17b50wdjkf/2018-09-17 20.00.25.jpg?dl=0
I had same amount as i saw before cleaning
I tried to open channel and i have same problem - no funding transaction
The screenshot now is https://www.dropbox.com/s/gbqbhwseqpg6nri/2018-09-17 20.01.11.jpg?dl=0

Now the BLW shows to me link of funding transaction as https://www.smartbit.com.au/tx/e22c51d5dc5e3dc3076e16574fd23f45f8c660fbcbfd3cf10e97b549447e282d
The transaction raw is:
01000000000104ff52d4ae2a0ddd015b9a207c1789361a6c00641a01b304f92e471916043a8d720000000000ffffffff9d052bb6551f395333e13e48f12ddc75a1750c3fbc6b361c963cf8dbb963b5f40000000000fffffffffe2b0790a9146118792306ded721afe5d980f23fbdd5af8ec824b5a03c187c830000000000ffffffff2bbbb343b47ddbf604c9df3f68c87ac89c1cbdea0d21f34d3b7081c9321a0a6e0100000000ffffffff02d8e8250000000000220020c81c9ea5feb1b00d2b171ef22d2e55406352d576d715715a9b5e6c4ebdcb03ef0000000000000000166a14353ab96a8d8985b48502ccceb0cbed65aab24c4802483045022100ec6f91784805e3fcfb616be9a3c87a80f451fbc6255ec2ba9eeba852760d19a002200a92fbaabcfe8075827e236e4b90b4a03b166abcba44821ad5a461d5199bcb380121021964d7cdb15d9c5088935d33f52336aed0a7c3e0961a8c4c5c4e3e9ac72e304d0247304402203a38edf4751a9c58532a9ead67f101829ab971d3c0524c261ab57a35418c664002207b93bd243ed7b65e6eac6a6101787a94a69c79fef73eb60ee09f10e5043808a201210256ef3f91cb44ace8853fb0ff9d10c324f63dbbba3de4f178b3c1d705456d889002473044022071f6b1ece702df2359ee541209ed56c86b3d37ecfd7af304e6d80f30bb006a8d02203223c46ab27ffed1259f6dc82c56dca5f2fd39c7e2d6baf25e1298b8704ad23001210385cefd3eb9911bc62bfb7180880b0abfd7fbf873523e616bd427de1753dcb2070247304402205ec8edc4ff52d838a40ba05712e8b2c71312859bc2e079e8427d317fb217f83c0220089cafd234388beed5c065d7e42edff6f97c09b9ca72375a1e21c49d66de9602012103d16ca7751e2cd609b353a30a0d7118f727ffc9641cc06bb5608dd051f6d77a2500000000

If you need - i can send to private channel the seed. You can try to do it yourself ;)
I trust to you so if you will need the seed i do it. Later i will create new wallet, it's not problem

That will help of course. Guess the best way to hand it over would be via encrypted chat in Telegram, my nick there is @Sooqakrisa. Feel free to offer your options if this one won't do.

Fixed in https://github.com/btcontract/lnwallet/commit/0d3ba5cbed8b2f238364573ba4a5467ea84a2792 and https://github.com/btcontract/lnwallet/commit/386d5e614eb318948ba45ad9315148e6fd3aa121, will take effect since 0.1-74.


cppzmq: new formula

Sorry for the late response.
We’re deprecating this repository and won’t accept new formulae. Please ask upstream for a stable release and submit to the core repository or maintain the formula in a tap. Thanks!


Tips on how to debug cache

Hi!
We are currently struggling with implementing offline experience reading all queries with cacheOnly fetchPolicy and only using cacheAndNetwork policy if it is certain we have connection (and service is available).
Could someone give advice on

how to inspect the current runTime cache?
how to inspect the device's persistent offline storage cache?

Furthermore, we sometimes notice QueryResultSource Loading being used when we expect Cache as the result source. We suspect this is only during debug. What is the Loading QueryResultSource? We would expect QueryResultSource being Cache or Network (and result.loading being true or false when Network and false when cache).

how to inspect the current runTime cache?

My approach is to import whatever file my cache is defined in, and then set a breakpoint where I want to do comparisons or have cache keys handy. Unfortunately the LazyCacheMap is a bit hard to navigate due to lack of a good toString, but you can always look at it's raw .data

how to inspect the device's persistent offline storage cache?

Not sure, would be handy though

What is the Loading QueryResultSource?

QueryResultSource.Loading was created when cache hits still had a loading message sent beforehand. Maybe it makes less sense now, I'm not sure.
Debugging shouldn't matter for the loading state. You should only see the loading state in your situation when using cacheAndNetwork and there's a cache miss. A cache miss with cacheOnly should fail with an error.

Here are some helpers for printing out LazyCacheMaps:
import 'package:flutter/material.dart' show debugPrint;
import 'package:graphql/src/utilities/traverse.dart';
import 'dart:convert';

import 'package:graphql_flutter/graphql_flutter.dart' show LazyCacheMap;

final JsonEncoder encoder = const JsonEncoder.withIndent('  ');

class LazyCacheMapTraversal extends Traversal {
  LazyCacheMapTraversal() : super((Object n) => null);

  @override
  Object transform(Object node) {
    if (node is LazyCacheMap) {
      if (alreadySeen(node)) {
        return '...';
      }
      final map = Map<String, dynamic>.fromEntries(node.entries);

      return traverseValues(map);
    }
    return null;
  }
}

dynamic getJson(LazyCacheMap cacheMap) {
  return LazyCacheMapTraversal().traverse(cacheMap);
}

void pprint(dynamic json) {
  if (json is LazyCacheMap) {
    json = getJson(json);
  }
  debugPrint(encoder.convert(json));
}

I wrote some helpers for printing LazyCacheMaps, and in the process discovered some bugs. So, the following will only work safely with #399:
import 'package:flutter/material.dart' show debugPrint;
import 'package:graphql/src/utilities/traverse.dart';
import 'dart:convert';

import 'package:graphql_flutter/graphql_flutter.dart' show LazyCacheMap;

final JsonEncoder encoder = const JsonEncoder.withIndent('  ');

class LazyCacheMapTraversal extends Traversal {
  LazyCacheMapTraversal() : super((Object n) => null);

  Object traverse(Object node) {
    final seen = alreadySeen(node);
    if (node is LazyCacheMap) {
      if (seen) {
        return '...';
      }
      node = Map<String, dynamic>.fromEntries((node as LazyCacheMap).entries);
    }
    if (seen) {
      return node;
    }
    if (node is List<Object>) {
      return node.map<Object>((Object node) => traverse(node)).toList();
    }
    if (node is Map<String, Object>) {
      return traverseValues(node);
    }
    return node;
  }
}

dynamic getJson(LazyCacheMap cacheMap) {
  return LazyCacheMapTraversal().traverse(cacheMap);
}

void pprint(dynamic json) {
  if (json is LazyCacheMap) {
    json = getJson(json);
  }
  debugPrint(encoder.convert(json));
}

There was a loading bug that was recently fixed, which may have caused confusion (#351), and #398 might also be helpful for your use case.


Add go releases to client_matrix.py

@jtattermusch can you please approve?

@jtattermusch part of our release process is to run locally after building the images, so we should be good.  Thanks!


the dataset is not accessed

The dataset
July 4, 2018 Dataset Closed Access
Convergence maps dataset
Nathanaël Perraudin; Michaël Defferrard; Tomasz Kacprzak; Raphael Sgier
This dataset is composed of 60 spherical convergence maps (30 per class), separated into a training set of 40 maps and a testing set of 20 maps.
As a preprocessing, we recommend to remove the mean of each map and to smooth them with a Gaussian symmetric beam of 3 arcmins (sphtfunc.smoothing in Healpy).
This dataset is used in "HealpixNet: Efficient spherical Convolutional Neural Network with Healpix sampling for cosmological applications"
Files
Closed Access
Files are not publicly accessible.
So how to fix this?

The dataset is indeed not publicly available. As mentioned in the README, that is the private data you need to ask a copy for.


Needs a way to edit a field without dropping the row

@Euphorbium  Thanks a lot for contributing to Visual Alchemist. I'm working on the fix for this.

@Euphorbium Are you still using Visual Alchemist?

Closing due to lack of activity.


[Packager] Improve the error message when the packager can't find a module

Currently the packager emits errors like this:

Unable to resolve module XXX from /Users/jd/App/Module.js: Invalid directory /Users/node_modules/XXX

This is confusing and should instead read:

Unable to resolve module XXX from /Users/xx/App/Module.js: The packager was unable to find this module in its module map or any of the node_modules directories under /Users/xx/App and its parent directories

Can I work on this? :)


modify the dockerfile to make sure it was built successfully

I modified the Dockerfile to make sure it was built successfully in the docker image build system.  You may find the build information and result via https://registry.hub.docker.com/u/carmark/seaweedfs/.
Currently, I used my forked repository to as the automated build source, it could be modified on the main upstream.

Usage: uname [-amnrspv]
Print system information
-a	Print all
-m	The machine (hardware) type
-n	Hostname
-r	OS release
-s	OS name (default)
-p	Processor type
-v	OS version
/opt/weed #

Later, I will update the wiki page.

@carmark how did you manage to setup a publicIp and publicUrl with the docker image? For me it is localhost always. docker logs weedgives me flag provided but not defined: -publicIp. I start it with:
docker run --name weed -d -p 9333:9333 -p 8080:8080 -v /opt/weedfs/data:/data carmark/seaweedfs server -dir="/data" -publicIp="myip" -publicUrl="myurl"


Always print out listening message

This is helpful for waiting until snmpsim is ready to respond to requests
Previously, you would have to set the log level to at least info which is very noisy and can add latency to requests.
This will still print nothing when --quiet or --logging-method=null is set

Thanks. This is a nice change.


Feature request: support "no permissions or limits set" for "scoped users"

When you use a scoped user (with a signing key), the server rejects JWT if they have permissions or limits.
with this error:
User JWT is not valid: scoped users require no permissions or limits set

I think #3 should work for you here, are you able to try it out?


Thread safety of FileHelperEngine when using it in TPL

Hi,
I have a question as to whether FileHelperEngine is thread safe when using with TPL or Parallel.ForEach
See below my sample code:
var engine = new FileHelperEngine<MyClass>();
Parallel.ForEach(allData, (data) =>
{
      engine.ReadString(data);
});

Can engine be shared across multiple threads?
Thanks

Hi pantonis
I kindly ask you to use Stackoverflow for questions.
https://stackoverflow.com/tags/filehelpers
Thank you for considering using FileHelpers.
Matthias


how to return the source files used to answer a query? Like Asking LighRag to find a legal document relating to a contract for purchase of shares for X company.?

how to return the name source files used to answer a query?
for example, only information from 1 pdf was retrieved and response was generated.
how to propogate to the source file ( eg a.pdf ).
I've checked the source code, there is no metadata getting stored for filename.
Only document id is there.

+1 on this question.


Improvements to contributing guide

Here is a draft of some improvements to the contributing guide for you to run with. Would you please update this to your liking and make sure it has clear instructions for local development and testing?
For https://github.com/pyOpenSci/software-submission/issues/138

Thank you very much for opening this PR! Highly appreciated! I'll report back once it's finished.

Hey @banesullivan
Both CONTRIBUTING.md and the associated Contribution Guide in the docs are now updated to include infos on tests etc.

I've decided to only provide a quick-overview in CONTRIBUTING.md and link to the docs for more extensive explanations.
I've switched the base to the dev branch so I can already use the MySt syntax

Please let me know if you are OK with the changes!
If yes, I'll merge this PR into dev so it will be included in the next release!

Thanks for your support and your prompt feedback!


Remove ODBC-only note from DirectQuery config param

Per https://github.com/microsoft/DataConnectors/issues/246#issuecomment-539735441:

Direct Query absolutely works for non-ODBC sources.

Updating this page to reflect.

Docs Build status updates of commit 17553c7:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

powerquery-docs/HandlingDataAccess.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Another reference indicating that DirectQuery is supported by custom connectors:
https://github.com/microsoft/DataConnectors/issues/180#issuecomment-454887848


TauLeap algorithm added to DSL

TauLeap algorithm added to DSL

This is already defined in the other PR.


add mssql-plugin in windows msi

https://github.com/mackerelio/mackerel-agent-plugins/tree/master/mackerel-plugin-mssql

LGTM


Missing documentation for MDE.Windows/MDE.Linux extensions

I provision these extensions via Terraform and would like documentation on the properties of the extensions. I am using MDE.Windows, so my question will be geared towards that.
What does vNextEnabled mean?
What does forceDeviceReonboarding do?
Thanks

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

ID: 9175074d-2cc9-7182-ed00-f487d28829ad
Version Independent ID: 9175074d-2cc9-7182-ed00-f487d28829ad
Content: Migrating servers from Microsoft Defender for Endpoint to Microsoft Defender for Cloud
Content Source: microsoft-365/security/defender-endpoint/migrating-mde-server-to-cloud.md
Service: microsoft-365-security
Sub-service: mde
GitHub Login: @alekyaj
Microsoft Alias: dansimp

@alekyaj Please help us in resolving this issue. Thanks

@yogkumgit why was this closed? I don't see the updates to the documentation.

@jed-exotic Apologies, did not realize, pushed the close button by mistake.

To make it easier for you to submit feedback on articles on learn.microsoft.com, we're transitioning our feedback system from GitHub Issues to a new experience.
As part of the transition, this GitHub Issue will be moved to a private repository. We're moving Issues to another repository so we can continue working on Issues that were open at the time of the transition. When this Issue is moved, you'll no longer be able to access it.
If you want to provide additional information before this Issue is moved, please update this Issue before December 15th, 2023.
With the new experience, you no longer need to sign in to GitHub to enter and submit your feedback. Instead, you can choose directly on each article's page whether the article was helpful. Then you can then choose one or more reasons for your feedback and optionally provide additional context before you select Submit.
Here's what the new experience looks like.
Note: The new experience is being rolled out across learn.microsoft.com in phases. If you don't see the new experience on an article, please check back later.
First, select whether the article was helpful:

Then, choose at least one reason for your feedback and optionally provide additional details about your feedback:

Article was helpful
Article was unhelpful

Finally, select Submit and you're done!


doc: update Pillow dependency information

MapProxy commit 2608c510356ce3484b9723d34029fc92af2494ee for PR#412
changes mapproxy/compat/image.py to import ImageFileDirectory_v2 from
PIL.TiffImagePlugin.
This class only appeared in Pillow release 3.0.0.
TiffTags is also imported from PIL.TiffImagePlugin which itself only
imported it from release 3.1.0.

Thanks!


Openchat.team is down again

Openchat.team was broken for months, last update it started working after I deleted cache and lost all dialogues, but now it is down yet again and been down for a few days. Deleteing of cache doesnt help, it still gives error 500 wrong OpenAI Api code

And now gives a This Deployment has been disabled


Feature request: support for build options

Jekyll has several build options which be handy when you want to deploy to a staging website: https://jekyllrb.com/docs/configuration/options/
These could be exposed by adding a new string option that would be handed as extra arguments to the build step.

Hi, sorry for the late reply. This seems like a good idea, will do this sometime soon!

Hi, I just added an input for Jekyll build options, you can try it by adding
  uses: limjh16/jekyll-action-ts@v2
  with:
+   custom_opts: '--drafts --lsi --blabla'


python311Packages.androidtvremote2: 0.0.11 -> 0.0.12

Diff: https://github.com/tronikos/androidtvremote2/compare/refs/tags/v0.0.11...v0.0.12
Changelog: https://github.com/tronikos/androidtvremote2/releases/tag/v0.0.12
Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 244990 run on x86_64-linux 1

5 packages built:

home-assistant-component-tests.androidtv_remote
python310Packages.androidtvremote2
python310Packages.androidtvremote2.dist
python311Packages.androidtvremote2
python311Packages.androidtvremote2.dist


The training scale of pv_rcnn_small_best

Hi, Recently I trained the pv_rcnn_small_best with distributed dataparallel. When I trained with 3nodes 24gpus, the perfomance will drop 8% over the 8gpus of 1nodes. So I want to known how many the maximum number of GPUs you are currently using to train？How can I tune when a lot of GPUs training performance drops？

You could simply try to train with more epochs if you use more GPUs.

could you please share your maximum training scale?

I have tried to train with 32 GPUs on the Waymo dataset.


[Algo Idea]: Interactive HTML based Decision tree

📥 Pull Request
Description
My algorithm is for the Decision tree machine learning model. The main objective is to create a Sankey or Tree node template based on user's choice. It will be create an interactive HTML file for the Decision Tree ML model structure.
Fixes #1135
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update

Checklist:

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my code
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have added tests that prove my fix is effective or that my feature works
[X] New and existing unit tests pass locally with my changes
[X] Any dependent changes have been merged and published in downstream modules

Here's the end result user will get of HTML files:-
algo-1135.webm

@ajay-dhangar I have raised a PR that fix the issue #1135, can you add proper labels on this PR

@ajay-dhangar any updates so far ?


Update GHA scripts to use bashbrew-buildkit-envs.sh

If our DOI checkout includes the new bashbrew-buildkit-envs.sh script, we should use it to set up our buildkit-related environment variables.
This is a follow-up to https://github.com/docker-library/official-images/pull/14212

LOL now that I have this whole PR written up, I'm realizing the generated scripts never invoke bashbrew build so these won't actually do anything :joy: :sob:

Codecov Report

Merging #70 (09c32e1) into master (296033e) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##           master      #70   +/-   ##
=======================================
  Coverage   73.10%   73.10%
=======================================
  Files           7        7
  Lines         714      714
=======================================
  Hits          522      522
  Misses        162      162
  Partials       30       30

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

Oh, that's not strictly true -- we do use BASHBREW_BUILDKIT_SYNTAX in our docker buildx build invocation, but setting BUILDX_BUILDER as well will cause breakage because then it will no longer imply --load so our docker run invocations afterwards during the tests will fail. :upside_down_face:
I will adjust this to avoid setting BASHBREW_ARCH which should fix this (because then the script will no longer set BUILDX_BUILDER).

I have tested this successfully on a very janky fork of docker-library/rabbitmq by applying the following:
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 70f7d0d..9cbc88e 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -19,11 +19,12 @@ jobs:
       strategy: ${{ steps.generate-jobs.outputs.strategy }}
     steps:
       - uses: actions/checkout@v3
-      - uses: docker-library/bashbrew@HEAD
+      - uses: infosiftr/bashbrew@f98a4a45c7c41911fed1cad0e25c646c7ad06f92 # hack hack hack
       - id: generate-jobs
         name: Generate Jobs
         run: |
           strategy="$("$BASHBREW_SCRIPTS/github-actions/generate.sh")"
+          strategy="$(sed <<<"$strategy" -e 's#docker-library/official-images#infosiftr/stackbrew#g' -e 's/master/bashbrew-buildkit-envs/g')" # hack hack hack
           strategy="$("$BASHBREW_SCRIPTS/github-actions/munge-i386.sh" -c <<<"$strategy")"
           strategy="$(jq -c '.matrix.include |= [ .[] | select(.name | (test("i386") | not) or test("alpine")) ]' <<<"$strategy")" # Ubuntu no longer supports i386 (so we can only build test Alpine there; qemu-user-static is too slow for other arches)
           echo "strategy=$strategy" >> "$GITHUB_OUTPUT"

Tested with a very hacky fork of rabbitmq again (same patch as above, new commit hash):
+ git clone --depth 1 https://github.com/infosiftr/stackbrew.git -b bashbrew-buildkit-envs /home/runner/oi
Cloning into '/home/runner/oi'...
+ '[' -x /home/runner/oi/.bin/bashbrew-buildkit-env-setup.sh ']'
++ /home/runner/oi/.bin/bashbrew-buildkit-env-setup.sh
+ buildkitEnvs='{"BASHBREW_BUILDKIT_SYNTAX":"docker/dockerfile:1@sha256:39b85bbfa7536a5feceb7372a0817649ecb[27](https://github.com/tianon/hack-hack-hack-rabbitmq/actions/runs/4441998729/jobs/7797766917#step:3:28)24562a38360f4d6a7782a409b14"}'
+ tee -a /home/runner/work/_temp/_runner_file_commands/set_env_6679fb4c-d8f4-418f-abda-4157baa29039
+ jq -r '
			to_entries | map(
				(.key | if test("[^a-zA-Z0-9_]+") then
					error("invalid env key: \(.)")
				else . end)
				+ "="
				+ (.value | if test("[\r\n]+") then
					error("invalid env value: \(.)")
				else . end)
			) | join("\n")
		'
BASHBREW_BUILDKIT_SYNTAX=docker/dockerfile:1@sha256:39b85bbfa7536a5feceb7372a0817649ecb2724562a38360f4d6a7782a409b14
+ echo FROM busybox:latest
+ docker build --no-cache --tag image-list-marker -
+ echo RUN :
Sending build context to Docker daemon  2.048kB

Step 1/2 : FROM busybox:latest
latest: Pulling from library/busybox
1487bff95222: Pulling fs layer
1487bff95222: Verifying Checksum
1487bff95222: Download complete
1487bff95222: Pull complete
Digest: sha256:c118f538365369207c12e5794c3cbfb7b042d950af590ae6c[28](https://github.com/tianon/hack-hack-hack-rabbitmq/actions/runs/4441998729/jobs/7797766917#step:3:29)7ede74f[29](https://github.com/tianon/hack-hack-hack-rabbitmq/actions/runs/4441998729/jobs/7797766917#step:3:30)b7d4
Status: Downloaded newer image for busybox:latest
 ---> bab98d58e29e
Step 2/2 : RUN :
 ---> Running in b1e3dcea67f7
Removing intermediate container b1e3dcea67f7
 ---> 8[33](https://github.com/tianon/hack-hack-hack-rabbitmq/actions/runs/4441998729/jobs/7797766917#step:3:34)ca898b66e
Successfully built 833ca898b66e
Successfully tagged image-list-marker:latest


How to generater proof?

What is the function called here?
I was doing
      await sdk.iden3comm.authenticate(
        message: iden3MessageEntity,
        genesisDid: did,
        privateKey: privateKey,
      );

When calling authenticate
flutter: Status: 0
flutter: status is not OK: 0. Error: Get "https://raw.githubusercontent.com/iden3/claim-schema-vocab/main/schemas/json-ld/kyc-v3.json-ld": context deadline exceeded

App is also crashing
* thread #47, name = 'DartWorker', stop reason = EXC_BAD_ACCESS (code=1, address=0x58)
    frame #0: 0x0000000104fe7e0c Runner`github.com/0xPolygonID/c-polygonid.queryFromObjMerklized + 716
Runner`github.com/0xPolygonID/c-polygonid.queryFromObjMerklized:
->  0x104fe7e0c <+716>: ldr    x1, [x1, #0x58]
    0x104fe7e10 <+720>: mov    x0, x2
    0x104fe7e14 <+724>: blr    x1
    0x104fe7e18 <+728>: ldr    x3, [sp, #0x260]
Target 0: (Runner) stopped.
Lost connection to device.

same here, i can't find the prove usage & loadCircuitFiles. Then i got NullAtomicQueryInputsException when scanning verifier, maybe i could get more detailed error rather than returning the instance of error?

for checking how to download the circuit files, please check the example app example/lib/src/presentation/ui/splash/splash_bloc.dart
prove method in proof.dart is used internally when iden3comm.dart getProofs method passing an iden3 message. This method is used in case of wanting to generate a proof without a request from an external verifier.

could you give an example? there are two parameters without example

required ClaimEntity claim,
required CircuitDataEntity circuitData


instruction unclear

[Enter feedback here]
The instructions is not clear, in the final steps, I am confused about what scope is and endpoint API is, please polish the instructions again

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

ID: b752cf45-0564-8145-d260-2cb5a9847878
Version Independent ID: c8845ffb-2d1b-ce46-5543-d2d9c9ad510f
Content: Configure authentication in a sample WPF desktop application by using Azure Active Directory B2C
Content Source: articles/active-directory-b2c/configure-authentication-sample-wpf-desktop-app.md
Service: active-directory
Sub-service: b2c
GitHub Login: @kengaderdus
Microsoft Alias: kengaderdus

@yingruiz-github
Thanks for your feedback! We will investigate and update as appropriate.

@yingruiz-github
Thank you for bringing this to our attention.
In the final steps of the document, you are asked to configure the sample iOS Swift application to use Azure Active Directory B2C for authentication. Specifically, you need to grant the mobile app permissions to access a web API
A scope is a permission that is granted to an application to access a specific resource. In this case, you need to create a scope that allows the mobile app to access the web API. You can create a scope in the Azure portal by following the instructions in the document.
An endpoint API is the URL that the mobile app will use to access the web API. You need to configure the sample code to call the web API using the endpoint URL  You can find the endpoint URL in the Azure portal after you have created the web API.

@yingruiz-github
We are going to close this thread if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.


ECDSA for Polkadot JS

Grant Application Checklist

[ ] The application-template.md has been copied, renamed ( "project_name.md") and updated.
[ ] A BTC address for the payment of the milestones is provided inside the application.
[ ] The software of the project will be released under the Apache license version 2.0 as specified in the terms and conditions.
[ ] The total funding amount of the project is below 30k at the time of submission.

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

Hi akru. Thanks for the application. Could you add a little bit more details and things like (delivery) documentation as well as tests to the application? Also, we just signed a grant with nodefactory for a metamask plugin yesterday. Therefore, maybe it makes sense that you initially only focus on the first milestone. Let me know if you need any help with signing our terms via the cla assistant.

Hey David @Noc2,
oh, really! But I happy that it will be implemented soon.
So, I've remove milestone 2 and extend milestone 1 detailed derivations like tests and documentation with demo video. Please let me known if you have any questions.

Thanks for integrating the changes. The table in the document currently doesn't render correctly (you probably need to remove one "|"). Apart from that, the application looks rather expensive to me and I'm not sure you actually need two weeks for this. Could you reduce the price a little bit more?

Got it!
@Noc2  I've fix table rendering and decrease payment rate a bit to make more comfortable price for W3F.

Oh, yes, fixed!
Thank you so much! @Noc2 @gavofyork


Bearer token type casing?

First of. This is my first time implementing OIDC, have that in mind when reading the following, my terminology might be wrong.
So, I'm using the oidc-client library to connect to an auth server from an Angular app. When I try to authenticate to an API, I append the authorization headers like so:
  getAuthorizationHeaderValue(): string {
    return `${this.user.token_type} ${this.user.id_token}`;
  }

The request looks like this:

The server does not accept bearer to be in lowercase. If I change to Bearer it works:
  getAuthorizationHeaderValue(): string {
    return `${this.capitalizeFirstLetter(this.user.token_type)} ${this.user.id_token}`;
  }
  capitalizeFirstLetter(string: string) {
    return string.charAt(0).toUpperCase() + string.slice(1);
  }

But this doesn't feel right?
If I look at the IETF spec it says:

https://tools.ietf.org/id/draft-ietf-oauth-v2-bearer-13.xml#rfc.section.5.1.1
Am I doing something wrong here? Can I change it to be Bearer instead of bearer?

I have to say I actually never used the token_type property and instead always wrote Bearer ${user.access_token}. The access_token prop is from the oidc-client usermanager


Missing info with more than 2 players

When playing a game with 3 players, the bot's DMs with the results of your guess and the eliminated letters do not appear, meaning you have to switch back and forth between the DM and the bot's channel.

Oops, that is strange behavior! I'll have a look into it in the next few days. To be honest, I tested WordleEdit with 2 players almost all the time, so I'm not surprised there's bugs when 3+ players are introduced. Anyway, thanks for letting me know!

Absolutely! As soon as I saw the video, I wanted to play around with it. I don't have much coding experience, but I'm happy to report what I see.


pdb++ failing on import readline Win10/Anaconda3 for pytest dropin

Not sure what changed as this was working fine, but now when I call py.test --pdb tests, I get:
 File "C:\Users\olive\Anaconda3\lib\site-packages\fancycompleter.py", line 220, in __init__
    self.config.setup()
  File "C:\Users\olive\Anaconda3\lib\site-packages\fancycompleter.py", line 173, in setup
    self.readline, supports_color = self.find_best_readline()
  File "C:\Users\olive\Anaconda3\lib\site-packages\fancycompleter.py", line 169, in find_best_readline
    import readline
ModuleNotFoundError: No module named 'readline'

How can this get resolved?

Does import readline work for you?
I've seen cases where this fails due to a broken Python installation already.
Otherwise it might also be related to https://github.com/antocuni/pdb/pull/85, but think it is rather not.

pdb++ depends on fancycompleter, and the latter requires pyreadline on windows:
https://bitbucket.org/antocuni/fancycompleter/src/22e3669eeeb48134ea6df1114ec7d70415d4cafc/setup.py?at=default&fileviewer=file-view-default#setup.py-10
So, it looks like a broken installation to me


Can't execute command, please switch to another SU

Can't execute command, please switch to another SU.
Root method: Magisk SU, latest v13.6
ROM: stock ROM, Galaxy Note 4, N910F
samsung/trltexx/trlte:6.0.1/MMB29M/N910FXXS1DQFA:user/release-keys
SELinux: true
WARNING: run as root is experimental!!!
checking for server.fail
[command] pm path me.piebridge.brevent
please report bug to https://github.com/brevent/Brevent/issues with log below
--- crash start ---
[command] logcat -b crash -t '08-24 20:40:31.000' -d
--- crash end ---
--- brevent start ---
[command] logcat -b main -t '08-24 20:40:31.000' -d -s BreventLoader BreventServer
--- brevent end ---

please report bug to https://github.com/brevent/Brevent/issues with log above

system 时不返回数据...所以，没办法。


Improve device list

[x] Fixes #60: Devices pane is not vertically scrollable
[x] Fixes #58: "Report an Issue" background shouldn't be transparent
[x] Resolves #59: Show which device has failing tests

Nice! This is what the new layout looks like for me:

I think it would be more consistent to vertically align all of the text, so I added the "success" icon as well, and I think it looks pretty good:

I'd also suggest removing the xchtmlreport binary from source control and uploading it as a build artifact to tagged releases so the repo size doesn't get out of control (each update of the binary adds another ~ 11MB to the repo).

@TitouanVanBelle Any other changes you'd like me to make?


Time scale improvements

Complete work started in https://github.com/chartjs/Chart.js/tree/time-scale-improvements (#3673) to convert scale.time to internally use unix timestamps instead of moments. Improves performance and reduces complexity.
Also fix last tick labels overlapping: #3673, #2249, #2774, #2513, and probably #2599 (although no example code is given). Fixes label overlap complaint in #3297.

Thanks @tredston I will look at reviewing this. In the meantime, could you rebase against master and squash into some smaller commits?

Tried these out and they work well. It seems really fast now 😄 I did notice that the add buttons on https://github.com/chartjs/Chart.js/blob/master/samples/scales/time/line-time-point-data.html don't work. This was likely broken when I started on this not by your changes afterwards. Do you mind fixing it while you're at it?

Squashed to fewer commits and rebased onto master.
Updated the code following discussions thus far.
Updated the sample as requested.

Thanks for the review @simonbrunel.
I've implemented the requested changes around caching local variables and logic simplification.
However I'm not keen to implement:

gather local variables in function header (one per line, except for uninitialized variables)

beacuse:

there are linting rules for this (one-var and vars-on-top) which are explicitly disabled.
splitting up declaration and assignment makes the code more difficult to follow, as well as more difficult to migrate to using const when/if ever you adopt ES6.
it makes diffing harder, eg from

var i, j;

to
var i = 0;
var j;

it only saves 63 bytes when minified, or 0.04% of Chart.min.js, which I don't think outweighs the above.

Thanks @tredston for the changes,

one-var and vars-on-top are not enforced because we changed linting rules after years of development and it would have required to much change (that's why it's not applied everywhere).

that's a point, we still use var not const and IMO it's safer to have var declared at the top of the scope it's introduced.

not sure I follow that point.

and from a global perspective? I agree that there is room for refactor all around the code, so it may sound useless but actually it makes a small appreciable difference when minified.

kind related: IIRC in QML JavaScript engine, declaring a var inside a loop is (was?) a perf killer, so still better to have it declared outside.

Anyway, that's minor, we can still rework that later, too bad that you removed your last commit implementing these changes ;)

I pulled this branch to use on my own site because I was having the overlapping tick issue with some of my time scales. It seems that instead of picking better start and end values to allow for evenly placed ticks, it simply drops what would have been the second to last tick. The makes for a much larger gap between the last two ticks on the axis when displayed.
It is definitely better than the current situation, but there is still an underlying issue that needs to be resolved.

@hmcfletch is it possible to drop a test case here that uses this branch?

Working on a deploy today, but i'll see what i can do.

@hmcfletch were you able to make any progress on a test case for the issue you were seeing?

Here is the data I am working with:
Screenshot of Chart
https://www.evernote.com/shard/s63/sh/f8cf9342-d934-43e8-820d-6bc4d49cf862/9edfdb6a5428fbcb
Chart Data
{
   "labels":[
      "2017-02-03T00:00:00.000Z",
      "2017-02-04T00:00:00.000Z",
      "2017-02-06T00:00:00.000Z",
      "2017-02-07T00:00:00.000Z",
      "2017-02-08T00:00:00.000Z",
      "2017-02-09T00:00:00.000Z",
      "2017-02-10T00:00:00.000Z",
      "2017-02-11T00:00:00.000Z",
      "2017-02-13T00:00:00.000Z",
      "2017-02-14T00:00:00.000Z",
      "2017-02-15T00:00:00.000Z",
      "2017-02-16T00:00:00.000Z",
      "2017-02-17T00:00:00.000Z",
      "2017-02-19T00:00:00.000Z",
      "2017-02-20T00:00:00.000Z",
      "2017-02-21T00:00:00.000Z",
      "2017-02-22T00:00:00.000Z",
      "2017-02-23T00:00:00.000Z",
      "2017-02-24T00:00:00.000Z",
      "2017-02-26T00:00:00.000Z",
      "2017-02-27T00:00:00.000Z",
      "2017-02-28T00:00:00.000Z",
      "2017-03-01T00:00:00.000Z"
   ],
   "datasets":[
      {
         "fill":false,
         "borderWidth":2,
         "borderColor":"rgba(145, 226, 254, 1)",
         "pointBackgroundColor":"rgba(37, 198, 254, 1)",
         "pointHoverBackgroundColor":"rgba(0, 237, 164, 1)",
         "data":[
            {
               "x":"2017-02-02",
               "y":168244
            },
            {
               "x":"2017-02-03",
               "y":168306
            },
            {
               "x":"2017-02-05",
               "y":168353
            },
            {
               "x":"2017-02-06",
               "y":168432
            },
            {
               "x":"2017-02-07",
               "y":168476
            },
            {
               "x":"2017-02-08",
               "y":168518
            },
            {
               "x":"2017-02-09",
               "y":168596
            },
            {
               "x":"2017-02-10",
               "y":168650
            },
            {
               "x":"2017-02-12",
               "y":168727
            },
            {
               "x":"2017-02-13",
               "y":168780
            },
            {
               "x":"2017-02-14",
               "y":168820
            },
            {
               "x":"2017-02-15",
               "y":168860
            },
            {
               "x":"2017-02-16",
               "y":168926
            },
            {
               "x":"2017-02-18",
               "y":168951
            },
            {
               "x":"2017-02-19",
               "y":169032
            },
            {
               "x":"2017-02-20",
               "y":169078
            },
            {
               "x":"2017-02-21",
               "y":169125
            },
            {
               "x":"2017-02-22",
               "y":169155
            },
            {
               "x":"2017-02-23",
               "y":169193
            },
            {
               "x":"2017-02-25",
               "y":169277
            },
            {
               "x":"2017-02-26",
               "y":169300
            },
            {
               "x":"2017-02-27",
               "y":169330
            },
            {
               "x":"2017-02-28",
               "y":169344
            }
         ]
      }
   ]
}

Chart Options
{
  "responsive": true,
  "legend": {
    "display": false
  },
  "tooltips": {
    "callbacks": {},
    "displayColors": false
  },
  "scales": {
    "yAxes": [
      {
        "type": "linear",
        "ticks": {
          "beginAtZero": false,
          "fontColor": "#7b8994"
        }
      }
    ],
    "xAxes": [
      {
        "ticks": {
          "minRotation": 45,
          "fontColor": "#7b8994"
        },
        "type": "time",
        "time": {
          "format": "YYYY-MM-DD",
          "tooltipFormat": "ll HH:mm"
        }
      }
    ]
  }
}

@tredston @hmcfletch the behaviour you're seeing is happening due to https://github.com/tredston/Chart.js/blob/time-scale-improvements/src/scales/scale.time.js#L185-L189
I can't recall what that was originally designed to achieve. I think it was something to always ensure the last tick is present if the size of the axis is not a multiple of the step size.
Options I see:

leave it as is (regression from current behaviour)
Always push realMax if it is not the last value in the array (don't want any duplicate tick marks).

I personally prefer option 2. @simonbrunel thoughts? @tredston could you make those changes?

I tried changing that if to:
if (ticks[ticks.length - 1] !== realMax) {
    ticks.push(realMax);
}

and it matched v2.5

That code was meant to avoid adding the penultimate tick if it was in danger of overlapping with the last tick. Seemingly label rotation was not accounted for.
Requested change applied and rebased onto master.

Thanks @tredston
@simonbrunel shall we merge this?

Sure!


I don't see where the address is displayed

I don't see where the address is displayed, only have seed phrase, can you help me find my address by subspace-desktop

Address will be displayed when you farm a block. But I see your point (another user already mentioned this). We are thinking of displaying the address in a static way so that you will always be able to see/check it :)
Thank you very much for this report!


PR9 - Audio - Slice Audio HOST Tensor

Adds slice audio tensor implementation

@HazarathKumarM Please close this PR since slice kernel has been generic and handle in voxel PR
https://github.com/r-abishek/rpp/pull/243


How to use ethernet interface make static ip

i did it this way
https://github.com/espressif/esp-idf/pull/657
but still return
ESP_ERROR_CHECK failed: esp_err_t 0x5007 (ESP_ERR_TCPIP_ADAPTER_DHCP_NOT_STOPPED
) at 0x400ee077
on ESP_ERROR_CHECK(tcpip_adapter_set_ip_info(TCPIP_ADAPTER_IF_ETH, &eth_ip));
and it is my partial code,i'm building on  system_event_eth_start_handle_default
esp_err_t system_event_eth_start_handle_default(system_event_t *event)
{
tcpip_adapter_ip_info_t eth_ip;
uint8_t eth_mac[6];
printf("ethe_start\r\n");
esp_eth_get_mac(eth_mac);

ESP_ERROR_CHECK(tcpip_adapter_dhcps_stop(TCPIP_ADAPTER_IF_ETH));
memset(&eth_ip, 0, sizeof(eth_ip));
IP4_ADDR(&eth_ip.ip, 192, 168, 18, 1);
IP4_ADDR(&eth_ip.gw, 192, 168, 254, 1);
IP4_ADDR(&eth_ip.netmask, 255, 255, 255, 0);

ESP_ERROR_CHECK(tcpip_adapter_set_ip_info(TCPIP_ADAPTER_IF_ETH, &eth_ip));

ESP_ERROR_CHECK(tcpip_adapter_dhcps_start(TCPIP_ADAPTER_IF_ETH));

//tcpip_adapter_get_ip_info(TCPIP_ADAPTER_IF_ETH, &eth_ip);
tcpip_adapter_eth_start(eth_mac, &eth_ip);

return ESP_OK;

}
Thanks!!

This fix, for some reason is not listed as applied to the dhcp server (dhcpS), just for dhcp client (dhcpC), so I applied it manually for the same functions as the DHCP server, and it worked.
It is suggested that such a correction be applied only to dhcpS.


feat: optimize to_radix

When converting ToRadix, the items are outputted with field type. Knowing that, brillig_gen codegens a loop of casts of the items to the desired type. Noir expects ToRadix to output bytes, and ToBits to output bits. So it sometimes codegens casts of u8, and other times of u1. The problem is that for a u1 cast the transpiler transpiles it to another ToRadix call, so in the case of ToBits, we are doing N extra decompositions (due to the u1 casting), where N is the number of bits. For example, for a decomposition of a Field, we'd have 255 toradix calls executed
This PR follows the following approach:

We can change the ToRadix gadget/blackbox to emit u8 limbs instead of fields
We add a modify toradix blackbox in brillig, to emits u1 limbs
No casting is needed in either case
The AVM transpiler, then ignores the output_bits flag, since it'll output u8s which is what the AVM expects for bits

Benchmark results
Metrics with a significant change:

proof_construction_time_sha256_100_ms (16): 5,485 (-18%)
avm_simulation_time_ms (Token:mint_public): 69.3 (+56%)
avm_simulation_time_ms (Token:assert_minter_and_mint): 39.6 (-41%)

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Proof generation
Each column represents the number of threads used in proof generation.

Metric
1 threads
4 threads
16 threads
32 threads
64 threads

proof_construction_time_sha256_ms
5,790 (+1%)
1,561 (+1%)
706 (+1%)
753 (-1%)
771 (+1%)

proof_construction_time_sha256_30_ms
11,900
3,195
1,410 (-15%)
1,449 (-9%)
1,475 (-4%)

proof_construction_time_sha256_100_ms
45,697 (+1%)
12,191
:warning: 5,485 (-18%)
5,466 (-8%)
5,384 (-5%)

proof_construction_time_poseidon_hash_ms
79.0 (+1%)
34.0
34.0
58.0
89.0 (+2%)

proof_construction_time_poseidon_hash_30_ms
1,539 (+1%)
423
203 (+1%)
227
269 (+1%)

proof_construction_time_poseidon_hash_100_ms
5,668 (+1%)
1,518 (+1%)
678
740
754

L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
4 txs
8 txs
16 txs

l1_rollup_calldata_size_in_bytes
4,324
7,844
14,852

l1_rollup_calldata_gas
49,684
92,462
177,524

l1_rollup_execution_gas
1,383,178
2,130,924
3,958,025

l2_block_processing_time_in_ms
254 (-2%)
444 (-2%)
814 (-4%)

l2_block_building_time_in_ms
8,974
17,875 (+2%)
34,790 (-1%)

l2_block_rollup_simulation_time_in_ms
8,974
17,874 (+2%)
34,789 (-1%)

l2_block_public_tx_process_time_in_ms
7,566
16,351 (+3%)
33,270 (-1%)

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 8 txs.

Metric
3 blocks
5 blocks

node_history_sync_time_in_ms
2,999 (+3%)
3,873 (-3%)

node_database_size_in_bytes
12,636,240
16,715,856

pxe_database_size_in_bytes
16,254
26,813

Circuits stats
Stats on running time and I/O sizes collected for every kernel circuit run across all benchmarks.

Function
time_ms
bytecode_size_in_bytes

FeeJuice:_increase_public_balance
53.8 (-2%)
7,739

FeeJuice:set_portal
9.85 (-11%)
2,354

Token:constructor
78.4 (-3%)
26,525

FPC:constructor
51.2 (-1%)
18,383

FeeJuice:mint_public
38.4 (+1%)
5,877

Token:mint_public
:warning: 69.3 (+56%)
10,917

Token:assert_minter_and_mint
:warning: 39.6 (-41%)
7,512

AuthRegistry:set_authorized
36.6 (-21%)
4,391

FPC:prepare_fee
232 (-10%)
7,712

Token:transfer_public
23.7 (-23%)
39,822

FPC:pay_refund
54.3 (-8%)
10,563 (-2%)

Benchmarking:increment_balance
961 (+3%)
6,929

Token:_increase_public_balance
39.8 (-13%)
8,433

FPC:pay_refund_with_shielded_rebate
65.5 (-2%)
11,112 (-2%)

Public DB Access
Time to access various public DBs.

Function
time_ms

get-nullifier-index
0.156 (-1%)

Tree insertion stats
The duration to insert a fixed batch of leaves into each tree type.

Metric
1 leaves
16 leaves
64 leaves
128 leaves
256 leaves
512 leaves
1024 leaves

batch_insert_into_append_only_tree_16_depth_ms
2.21 (-1%)
3.90 (-1%)
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_count
16.8
31.7
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_ms
0.115 (-1%)
0.111 (-1%)
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_32_depth_ms
N/A
N/A
11.7 (-1%)
17.6 (-2%)
30.7 (-2%)
59.1 (-3%)
112 (-2%)

batch_insert_into_append_only_tree_32_depth_hash_count
N/A
N/A
95.9
159
287
543
1,055

batch_insert_into_append_only_tree_32_depth_hash_ms
N/A
N/A
0.112 (-1%)
0.102 (-2%)
0.0999 (-2%)
0.102 (-2%)
0.100 (-2%)

batch_insert_into_indexed_tree_20_depth_ms
N/A
N/A
14.8 (+3%)
25.6 (-2%)
42.9 (-2%)
82.7 (-2%)
160 (-1%)

batch_insert_into_indexed_tree_20_depth_hash_count
N/A
N/A
109
207
355
691
1,363

batch_insert_into_indexed_tree_20_depth_hash_ms
N/A
N/A
0.113 (+4%)
0.103 (-2%)
0.103 (-3%)
0.102 (-2%)
0.100 (-2%)

batch_insert_into_indexed_tree_40_depth_ms
N/A
N/A
16.6
N/A
N/A
N/A
N/A

batch_insert_into_indexed_tree_40_depth_hash_count
N/A
N/A
132
N/A
N/A
N/A
N/A

batch_insert_into_indexed_tree_40_depth_hash_ms
N/A
N/A
0.107
N/A
N/A
N/A
N/A

Miscellaneous
Transaction sizes based on how many contract classes are registered in the tx.

Metric
0 registered classes
1 registered classes

tx_size_in_bytes
64,779
668,997

Transaction size based on fee payment method
| Metric |  |
| - |  |


scrollable-code-and-blockquote padding-bottom on no-highlight pre elements

Please ensure:

[X] The bug is caused by Refined GitHub. It doesn't happen if I disable the extension.
[X] The bug happens after clearing extension cache. The "Clear cache" button below can also be found at the bottom of the options page.

Example URLs
https://github.com/sveltejs/language-tools/issues/1418
(just find some issue with no-highlight pre elements)
Extension version
22.3.18
Browser(s) used
Chrome 99.0.4844.74 (x86_64) on MacOS 12.3
Description
Just look at the code block in that issue, the padding-bottom was shorten

because scrollable-code-and-blockquote defined…
:root .comment-body :is(blockquote, pre) { padding-bottom: 0.2em }

…which is more specific than GitHub's
.markdown-body pre { padding: 16px }

Include in this issue:

[X] Screenshots/video/gif demonstrating the bug, if it’s visual
[ ] Console errors, if any

🥲 we are back to https://github.com/refined-github/refined-github/issues/3012#issuecomment-626050293 (fortunately, only partly)


Uploads to local Minio server is slow

Hi!
I have a local MinIO set up in my computer. When I use the MinIO browser, I can upload any file with 50 - 100 MB per second as its local.
However when I try to upload with task.upload_artifact it uploads with 500 KB/second. Why is that?

Hi @csseaky ,
Could you attache some information on your setup ?

minio server version
boto3 / botocore / s3transfer package version
trains package version
minio server <-> client machine network connection (LAN?! / speed)
minio server machine OS
trains client OS

I just tested on the latest minio server with trains==0.16 boto3==1.14.43 botocore==1.17.43 s3transfer==0.3.3 on two ubuntu machines (LAN), all looks okay and upload speed match max network speed.
You can also quickly test with this code:
from trains import StorageManager
from time import time
tic = time()
StorageManager.upload_file(
    '/home/user/my_large_file_here.bin',
    's3://minio_ip:9000/bucket_name/my_large_file_here.bin'
)
print(time() - tic)

Hi!
With the code you've posted, it took 0.57 seconds to upload 33 MB. It works.
However, when I use task.upload_artifact it is slow. Why could it be?
I assume there is nothing wrong with libraries and MinIO server etc. because your code works.

Hi @csseaky ,
:rocket: Trains 0.16.1 was released with a fix to the minio slow upload
pip install trains==0.16.1


chore: backport (#284)

Backport
This will backport the following commits from 2.x to 1.x:

chore: backport (#284)

Questions ?
Please refer to the Backport tool documentation

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 285

Questions ?
Please refer to the Backport tool documentation


fix: renamed (#456)

1. Description

1.1. Checklist

[ ] The title of my PR starts with a Conventional Commit prefix (fix:, feat:, docs: etc).
[ ] I have read the Contributor Guide and followed the process outlined for submitting PRs.
[ ] I have updated/added tests for ALL new/updated/fixed functionality.
[ ] I have updated/added relevant documentation in docs and added dartdoc comments with ///.
[ ] I have updated/added relevant examples in examples.

1.2. Breaking Change

[ ] Yes, this is a breaking change.
[ ] No, this is not a breaking change.

1.3. Related Issues

Codecov Report

Merging #460 (3d94084) into main (6762b0f) will increase coverage by 12.64%.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@             Coverage Diff             @@
##             main     #460       +/-   ##
===========================================
+ Coverage   72.49%   85.13%   +12.64%
===========================================
  Files         172        3      -169
  Lines        1585       74     -1511
===========================================
- Hits         1149       63     -1086
+ Misses        436       11      -425

see 169 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


 But we have enough confidence to believe that if the memory is not out of bounds, then the frame must not be out of bounds, so I think the frame out of bounds check can be deleted.

cc @XuJiandong @xxuejie

How much performance gain will this update achieve?

I actually realized this when we first introduced CHECK_READ_BOUND_VERSION1, there will indeed be less instructions to execute if we remove the redundant check but I'm not sure if there will be any noticable performance change.

No noticeable performance change

No gain no change.

No gain no change.

No noticeable performance improve doesn't mean no gain


[FEATURE]: Export or Event to check when first restart notification pops up

Scope
Developer API
Feature Description
I was wondering if it is possible for an event to check on certain restart time.
Use Case
for instance if the 30 minute restart pops up theres an event that can trigger certain script stops. I was wanting to stop certain robbery scripts when the first restart time pops up.
Proposed Solution
no
Additional Info
No response

this is already thing:

For documentation on txAdmin broadcasted server events, please check our docs page:
https://github.com/tabarra/txAdmin/blob/master/docs/events.md

In future, use our discord for support :)
https://discord.gg/txadmin

As Mycroft said, you can already do that.
Just listen to the events, then stop the resource yourself.
If you need some time that does not have fired events (like 25 mins), when the 30m fires you can just count down 5 mins and then do whatever you need to.


fix example offset file data

Fix #105
This PR should fix the issues in the live demo related to offset and file data.

PTAL @RushikeshPatange @QuirkyCort


Unable to access to admin website for production

Hi,
My user reported that they are unable to login to admin website it shows that admin address wallet not found.
We are still able to use it on last monday. Please help to check ASAP. Thanks.

Hi, there is a bug in chrome 91 so we had to make a fix yesterday. It works on Chrome but now it doesn't work on firefox.
Use chrome for the moment

Hi, my user try on chrome and edge is not working.

what version of chrome ?

In the meantime, users can use ledger through metamask => https://docs.opencerts.io/docs/admin-website

Version 91.0.4472.77

Hum, I don't see ny reason it doesn't work as we fixed yesterday for this version. Ask the user to refresh or to use the alternate flow above

I will get my user to try and update you if there are any issue face

My users are not comfortable to use metamask due to the recently cases of ether beings stolen hence please help to fix it asap as we will need to re issue some opencerts. thanks.

Hi, I have the same issue too, that admin address wallet not found despite connected. Both Firefox and Google Chrome doesn't work.
Google Chrome version: 91.0.4472.77
Firefox version: 89.0
Metakmask also doesn't work for me when I was trying to issue out one of the batches.
FYI, i'm doing testing and is using Ropsten network. Few weeks ago, my user was using the Production network and it is working fine.

Send an har from the page load to the failure

exact issue stems from https://github.com/LedgerHQ/ledgerjs/issues/607
https://admin.opencerts.io -> latest chrome should work
https://firefox.admin.opencerts.io -> firefox should work
note that these are interim solutions, the ideal usage is to connect hardware ledger via metamask -> https://docs.opencerts.io/docs/admin-website

@simboonlong thank you. I tried https://firefox.admin.opencerts.io and it is working.

hi,
I am trying to access the admin opencerts link below via metamask and unable to access. As we need to go through UAT, we use the metamask to publish certificate for UAT purpose. Please advise urgently. thank you.
https://github.com/OpenCerts/admin-website/issues/344

to add on, I did try using firefox but issue not resolved.

the url u tried on is a netlify preview url. using firefox browser, can try on https://firefox.admin.opencerts.io instead?

We use for UAT purpose. The link given is production url. I suppose we can't use it for UAT purpose. Furthermore, same issue occur using the url given.
https://firefox.admin.opencerts.io/deploy

tried issuing on chrome with metamask, works fine

You can use both url in uat / prod.
The kind of metamask account (ropsten / mainnet) determine whether it's prod or not

I tried access using chrome using the https://admin.opencerts.io url but unable to access. My Chrome version as below.

I could do it, but that also required you to give me your private key, otherwise i won't be able to publish to your certificate store
Did you try the CLI?

if no, please advise how do we go about publishing the certificate.
what CLI do you mean?

https://github.com/Open-Attestation/open-attestation-cli
I'm trying to find internally someone for who metamask fails, unsuccessfully for the moment

tried again and still works, documentating it:
https://user-images.githubusercontent.com/4774314/136317699-3016f759-731f-4855-8657-7ddc17812e40.mp4
in this example, for a start maybe can check if the document store address is in the txt records of the domain name where your renderer is sitting at. can use https://toolkit.openattestation.com/dns to check. make sure this document store address was deployed previously with the same wallet metamask account, otherwise you cannot issue.
then use merkleRoot value to issue
reading and understanding the docs takes about a day, the most 2. if short of time, as mentioned can read only the document store cli portion and figure what you need to do. once understood, deploying and issue takes less than half a day

I tried by downgrade the chrome in my personal pc to 91.0.04472.77, also unable to access the https://admin.opencerts.io/ url

in the example above was Chrome Version 94.0.4606.71.  https://admin.opencerts.io is a publicly accessible website. do you happen to have some other browser extensions installed? if so, try disabling them to see if any caused the url to be inaccessible first?

yes

Hi @jacelee2000 did you manage to fix the problem?


Virtual casing

This PR provides an interface to the virtual_casing package. This will be used to do coil optimization for finite-beta plasmas, replacing the BNORM code in stellopt. The new functions in simsopt adds lots of functionality to virtual_casing: providing an interface to Vmec, more tests, ability to save and load results, resample the results to the resolution desired for the stage-2 optimization, plot results, and suggest resolution parameters that minimize grid anisotropy on the surface. The virtual_casing module has also been added to the simsopt containers.
Typical usage:
    from simsopt.mhd.virtual_casing import VirtualCasing
    VirtualCasing.from_vmec('wout_li383.nc', nphi=300)

Discussion in Princeton:

interpolation should take angle shift into account
vmec object should return sum of currents
only optimize for ncoil-1 currents, set the last one to I_total - \sum_remaining I_i

Here is a list of what I think should be implemented in simsopt concerning the virtual casing principle:

Component of the internal currents on the boundary (work in progress)
Volumetric internal currents on a mesh surrounding the plasma boundary

Use-cases for the later (approximating finite beta equilibrium):

Poincare plot of coils plus internal currents
Derivation of a current distribution on a current carrying surface
Derivation of properties of the approximated finite beta magnetic field
Coil optimization with these properties

I think the functionality is all here now. Remaining todo is to fix the docstrings in the virtual_casing class and in the w7x example

Docs updated. @landreman @mbkumar I think this is ready for review.

Thanks for all your work on this, @florianwechsung . I'm happy for it to be merged now.


Update compatibility rules

I was very unsure how to formulate this so that it is understandable what we want to say.

I would prefer having it separately in the two sections. Nevertheless, it doesn't disturb me that it was already mentioned before that formatVersion is increased in case of an incompatible change.


Allow the /add command to accept an absolute path, for better drag&drop support in vscode

From marcelltech in the discord:

Could the /add command work with absolute file paths? Then Drag&Drop could work - in vscode at least, as it copies the absolute path of the files whenever you drop them to the cli

https://discord.com/channels/1131200896827654144/1133060645282140260/1133384834190954507

Aider now accepts absolute file names, as well as properly parsing and stripping quoted filenames (using shlex).


migrate from readthedocs to github-pages

This is just a general idea:
We are currently hosting our documentation on readthedocs, but maybe it makes sense to keep everything on github and use github-pages instead?

some more resources on this:
https://tech.michaelaltfield.net/2020/07/18/sphinx-rtd-github-pages-1/
https://tech.michaelaltfield.net/2020/07/23/sphinx-rtd-github-pages-2/


Registry Access in Azure

Hi, great post by the way.  I just was wondering if you have a fix for an issue that I have seen running 8.1 in Azure web app.  In the log I see
"ManagedPoolThread #14 04:49:30 WARN  Failed to create counter 'Sitecore.Jobs\Jobs | Jobs Executed / sec'. Sitecore has no necessary permissions for reading/creating counters.
Message: Access to the registry key 'Global' is denied.
ManagedPoolThread #15 04:49:30 WARN  Failed to create counter 'Sitecore.Jobs\Pipelines | Pipelines Aborted / sec'. Sitecore has no necessary permissions for reading/creating counters.
Message: Access to the registry key 'Global' is denied."
In the old cloud service deployment method we can run a startup.cmd task to set permissions, but do you know if there is an equivalent in Azure web apps/app services?

Azure Web Apps do not support Windows Performance counter. Please see the Access performance counter programmatically in Microsoft Azure web app post at StackOverflow for more details.
As a workaround, you can disable performance counter in the \Website\App_Config\Sitecore.config file:

Swith the Counters.Enabled setting to the false value:
<setting name="Counters.Enabled" value="false"/>

Comment out or remove the HealthMonitor processor:
<processor type="Sitecore.Pipelines.HealthMonitor.HealthMonitor, Sitecore.Kernel" method="LogCounterStatus">
  <counters hint="raw:AddCounter">
   ...
  </counters>
</processor>

Comment out or remove the CounterDumpAgent agent:
<agent type="Sitecore.Tasks.CounterDumpAgent" method="Run" interval="01:00:00">
  <DumpFile>
    $(dataFolder)/diagnostics/counters.{date}.{time}.{processid}.txt
  </DumpFile>
</agent>

Please let me know if that helps you to get rid of these warning or not.


Test Issue created at Fri, 12 Nov 2021 12:12:00 GMT

Test issue body  Fri, 12 Nov 2021 12:12:00 GMT

Comment on issue at Fri, 12 Nov 2021 12:12:03 GMT


SHIELD deployment with mariadb as db

Hi there,
the current bosh release does not include a manifest for testing SHIELD with mariadb.
Testing fast with mariadb in a bosh-lite would great help to find fast potential issues.
Thanks

As an fyi, @jhunt said that v8 will have an internal sqlite3 database rather than use pg/mariadb etc

Merged #91, but as @drnic alluded to, the v8 release of SHIELD will move away from standalone relational database stores as part of an effort to streamline backups of SHIELD itself (and its forthcoming encryption capabilities).  The BOSH release will be updated to handle the migration of data transparently.


Rename T() to tensor()

After landing this, check that the example notebooks still work.

TODOs after landing this:

update the example notebooks
re-run gendoc
release new npm package

Note that the tests are failing ("Params is not a constructor"), which is unrelated to this PR.
This should be fixed by re-running gendoc.
I'm not sure why the CI didn't catch this when testing #270.


How to get open order status?

I was trying to detect if open order status has been filled, but I can't seem to find a function that can do that.
I'm using Java.

There are 2 ways you can do it,

Restful endpoint (https://github.com/binance/binance-connector-java/blob/master/src/test/java/examples/trade/GetOrder.java). You can query the get order endpoint using the orderID and the server will return the status of this order.

Establishing a user data stream via websocket. (https://github.com/binance/binance-connector-java/blob/master/src/test/java/examples/websocket/UserStream.java). You can listen to the ORDER_UPDATE event (https://binance-docs.github.io/apidocs/spot/en/#payload-order-update), this will be pushed to you once there is a change in your order status.

Thanks for your fast respond, I'll check it out and update on this topic

Hey, I manage to do the query as you said, I tried to do with web-socket, but it"s getting slow when I tried to gather the information. It always return null whenever the client haven't connect successfully.

This is a connectivity issue problem on your end. Ensure you have stable connection to the server.

Thanks


Testing

We use this vocabulary, when talking about testing:

Acceptance testing: Verifying whether the whole system works as intended.
Integration testing: Ensuring that software components or functions operate together.
Unit testing: Validating that each software unit performs as expected. A unit is the smallest testable component of an application.
Functional testing: Checking functions by emulating business scenarios, based on functional requirements.
Black-box testing is a common way to verify functions.
Performance testing: Testing how the software performs under different workloads.
Load testing, for example, is used to evaluate performance under real-life load conditions.
Regression testing: Checking whether new features break or degrade functionality.
Sanity testing can be used to verify menus, functions and commands at the surface level, when there is no time for a full regression test.
Stress testing: Testing how much strain the system can take before it fails. Considered to be a type of non-functional testing.
Usability testing: Validating how well a customer can use a system or web application to complete a task.

We want to do the following testing (Not in prioritized sequence)

Unit testing
Functional testing
Black-box testing (Be inspired by the 'minitwit_client_tests.py')
Current Test status:

[ ]     Unit testing @Lucki2g
[ ]     Functional testing
[ ]     Black-box testing (Be inspired by the 'minitwit_client_tests.py')

Current Test status:

[ ]     Unit testing
[ ]     Functional testing
[ ]     Black-box testing (Be inspired by the 'minitwit_client_tests.py')

I will start on the Unit testing

@Turboen, @Zavir and @Lucki2g.
@Thomsen96 and I have worked on issue #37 the whole day today, and have created a pull request #89.
Please review it seriously, since it is quite a big rewrite and the code quality of the project is depending on you guys understanding the pattern and usage of Gorm.
We suggest that one of you merge it into dev and then create a new feature branch for this issue.
We expect that you do extensive testing of all the logic layer code, which should have as much code coverage as possible.
Please use and read about the built-in code coverage feature of go.

Goland also has a great coverage tool, which can help you identify what code has been run, and what is missing.

I have made an example of an integration test on the testing branch


Proposal: Add option to write final config to a file

We're currently using a config templater we built in-house as a small extension to Dropwizard's EnvironmentVariableSubsitutor, but this project looks like a significantly better-thought-out approach, so I'm going to try to advocate for us to switch.
One feature we built into our solution was the ability to write out the final config that gets passed back to Dropwizard. That's been helpful in debugging since we can reference the exact YAML that dropwizard is seeing. Would you be open to a PR to add that feature here?
I'm imagining adding an outputPath member to TemplateConfigBundleConfiguration. Then there would be a conditional right before this line in TemplateConfigurationSourceProvider to check for a configured output path and write the byte array to that path before returning the stream.

Hi @jklukas,
thanks for your interest in my bundle. This sounds like a nice feature and i'd be very happy to get a PR for this feature from you. Your implementation approach sounds good to me, so go for it! :)

Closed by #15.


fuse indexing (LazyOp creation)

With this diff the scheduler creates a fused LazyOp that passes verify_lazyop.
arange reshapes from (16384, 1) to (16384,) pre expand, pushing through this reshape is more tricky...

Tomorrow:

Why do I need this https://github.com/tinygrad/tinygrad/pull/5506/files#diff-120c8f826d67db123ecd7a1de1d0af40b894be9c3c3a27655819b4cd2689c581R118-R119
Why do I need this https://github.com/tinygrad/tinygrad/pull/5506/files#diff-120c8f826d67db123ecd7a1de1d0af40b894be9c3c3a27655819b4cd2689c581R91-R92


forceFullWidth() like https://github.com/Krato/NovaTextCard

For fix https://github.com/InteractionDesignFoundation/nova-html-card/issues/5
https://github.com/Krato/NovaTextCard/blob/5f5ea5a1ea87881b623dd199c146aa6aaa66d516/resources/js/components/Card.vue#L54

@4n70w4 thanks for the idea! I just committed a fix, will release it soon


Python 3

Nobody really wants to use Python 2.7 anymore. It's very close to becoming obsolete. Please update the code to use Python 3.7, and confirm the same in the readme. The 2.7 code can't really be integrated into a modern 3.x project.

The main issue that I faced with Python 3.x came from a weird problem that I had during training using Tensorflow and Numpy. The syntax of the code is compatible with Python 3.x but when you use Python 3.x, this weird problem arises during training.

Hello! Thank you for uploading the code. Is the problem with tensorflow and numpy one that shows itself during training? As in, the training won't be able to complete in Python 3? or does the decoding mess up as a result of bad training? Thank you!


NPE when running ballerina project

Description:
I have a project source (project.zip) and a module called gateway(src.zip). The project creates an executable jar file and the project imports(ballerina import)
project.zip
src.zip
But it give the following NPE when running the jar.
[2019-09-02 10:31:46,712] ERROR {org.ballerinalang.jvm.util.RuntimeUtils} - null java.lang.NullPointerException         at org.ballerinalang.jvm.types.BServiceType.setAttachedFuncsAndProcessAnnots(BServiceType.java:38)         at wso2.gateway.gateway.wso2_gateway_3_1_0__init_(gateway:59)         at rajithroshan.rajitest.___init.$moduleInit(rajitest:65535)         at rajithroshan.rajitest.___init.$lambda$$moduleInit$(rajitest)         at org.ballerinalang.jvm.scheduling.SchedulerItem.execute(Scheduler.java:456)         at org.ballerinalang.jvm.scheduling.Scheduler.run(Scheduler.java:231)
the gateway module
Steps to reproduce:
Affected Versions:
1.0.0-alpha3
OS, DB, other environment details and versions:
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

I could not face this issue in 1.0.0-beta version

Reopening since the PR is not merged

There can be 2 situations this can occur,

When there are only 50 Variable assignment instructions in the init method.
No global variables, there is only one service. Not sure if this is possible.

A workaround is adding an extra global var or reducing one.
The reason here is we run the split function logic but the function does not get split. Then the actual init function is duplicated. At the runtime this new init function is getting executed, but it does not contain the type init logics we add in jvm codegen.


Enable VMWare Guest Support for aarch64

Resolves https://github.com/NixOS/nixpkgs/issues/147650
Description of changes
Enables vmware guest support for aarch64
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

I don't know that this patch is sound yet due to https://github.com/NixOS/nixpkgs/issues/195325

Closing in favor of https://github.com/NixOS/nixpkgs/pull/188619


Date parsing failing from command line

When run as a script:
File "/home/david/Source/IATI/iatisplit/iatisplit/__main__.py", line 17, in parse_date
    if re.match('^\d{4}-\d{2}-\d{2}$', s):
NameError: name 're' is not defined

Is this the error you saw in #2, @stevieflow ?

Added the missing import in iatisplit.__main__


Watch benchmark

Hi @gyuho , are you actively working on this?

@pmoust Didn't have bandwidth to work on this. Maybe not for awhile :)

@pmoust are you interested in helping on this one?

We are pretty much packed. But I think we'll need it for benchmarking etcd against ZK.
I'll pass this to my team and if the reply is positive will get back to you in this GH ticket.
Ghosting would mean no :)


Update GitHub Action Versions

GitHub Actions Version Updates

actions/setup-python published a new release v5.2.0 on 2024-08-29T13:57:38Z
actions/checkout published a new release v4.2.0 on 2024-09-25T17:52:55Z

Will close for testing and trying again


Sudo?

Having a privileged helper tool would enable a few more possibilities, such as

flood ping (see #13)
mtr instead of traceroute (traceroute seems to be setuid; otherwise, it, too, would require sudo)

But that's a lot of work. One path would be an installer package. Another is to have an API prompt for authorization on first use, then install a helper tool, which in turn is restricted to only do the necessary privileged things. The way to do that these days seems to be SMJobBless.

[x] Have a separate project for the helper tool
[x] Code-sign both the main project and the helper project
[x] Have SMPrivilegedExecutables on the main project reference the helper
[x] Have SMAuthorizedClients on the helper project reference the main app
[x] The helper must be single-file, not a bundle
[ ] Embed the Info.plist in the helper
[ ] Also embed a launchd plist
[ ] Implement a basic communication interface
[ ] Talk via XPC
[ ] Fortify against third-party code trying to talk to the helper directly (mainly: check the connecting client's bundle identifier and signature)

Currently blocked on https://github.com/xamarin/xamarin-macios/issues/13575


index route in sitemap

vite-ssg-sitemap: v0.1.4
The sitemap generated contains the index routes with /index as part of the url. Usually one would just omit /index.
<url>
    <loc>http://localhost/index</loc>
    <lastmod>2022-03-07T05:57:57.333Z</lastmod>
    <changefreq>daily</changefreq>
    <priority>1.0</priority>
</url>

I couldn't find an option to adjust this, am I missing something?

Can you share me your ssgOptions?

I tested this in vitesse.
Just cloned it after your PR was merged.

Thanks for this catch, i have just fixed it on 742d4f5, you can update vite-ssg-sitemap to v0.1.5 :)

This has fixed the issue. Thanks :)


Remove Placeholders Items.kt

Remove placeholder item ids from Items.kt constants

Addressed in https://github.com/Tomm0017/rsmod/commit/2699b0d154bf79a9eafc2e3782746196f0d2b8a1 and https://github.com/Tomm0017/rsmod/commit/c701b2ad5b97a06cc4d05c9a2821fd41d4ed02d2


Form Playground Tracking

Closes #3247
This one

exposes triggeredByShortcut to menu click events. This is needed to distinguish whether menu actions are triggered by keyboard shortcuts or not.
adds the following three Mixpanel events

Every time a playground panel got collapsed or expanded.

{
  "event": "desktopModeler:formEditor:layoutChanged",
  "properties": {
    "executionPlatform": "Camunda Platform|Camunda Cloud",
    "executionPlatformVersion": "x.y",
    "layout": {
      "form-input": {
        "open": true
      },
      "form-output": {
        "open": true
      },
      "form-preview": {
        "open": true
      }
    },
    "triggeredBy": "keyboardShortcut|previewPanel|statusBar|windowMenu",
  }
}

Interactions with the Form Input Data panel (not every edit, but focusin + focusout + changed)

{
  "event": "desktopModeler:formEditor:inputDataChanged",
  "properties": {
    "executionPlatform": "Camunda Platform|Camunda Cloud",
    "executionPlatformVersion": "x.y"
  }
}

Interactions with the Form Preview panel (not every edit, but focusin + focusout + changed).

{
  "event": "desktopModeler:formEditor:previewChanged",
  "properties": {
    "executionPlatform": "Camunda Platform|Camunda Cloud",
    "executionPlatformVersion": "x.y"
  }
}

Todo

Update docs (follow-up: https://github.com/camunda/camunda-platform-docs/compare/update-desktop-modeler-telemetry?expand=1)

@christian-konrad I added you as a reviewer as well to verify the events fired are correct.
/cc @RomanKostka I don't think we need a dedicated design review, but FYI.

I added some team members from the bpmn-io core team as well, as this includes some general Desktop Modeler changes.

Any chance to get a review for this? @barmac @smbea @Skaiir
@christian-konrad please also have a look at the events structure to validate whether we have something to change 👍

Sorry, I was busy but will look into this today.

I had a look at the code and it seems there is a problem with subscriptions. We should test whether listeners are turned on/off correctly when tab is switched.

I had a look at the code and it seems there is a problem with subscriptions.

Thanks for mentioning! I fixed that via a215dc7dce041a848419889fbd2ba0773b69f9c4.

We should test whether listeners are turned on/off correctly when tab is switched.

It's difficult to test a tab switch inside an editor unit test, therefore I simply verified whether the listeners got removed once we unlisten in general (what happens on any unmount).