General Samples

@vhvb1989 and I chatted about this problem.
This is cross-cutting, like smoke testing because it requires multiple packages to be compiled together into the same project across services. It's also like min-max testing in the sense that we're picking up various versions of packages and testing them compiling together in the same project.
At this point, compiling the various versions together is more important than running the code.
We also want to test various delivery methods of the code (like vcpkg, CMake's FetchContent, etc.) that may not fall under the name "package"

@vhvb1989 and I chatted about this problem.
This is cross-cutting, like smoke testing because it requires multiple packages to be compiled together into the same project across services. It's also like min-max testing in the sense that we're picking up various versions of packages and testing them compiling together in the same project.
At this point, compiling the various versions together is more important than running the code.
We also want to test various delivery methods of the code (like vcpkg, CMake's FetchContent, etc.) that may not fall under the name "package"

So, how do you suggest we make sure we stay green in the mean time, between now and GA (and beyond)? Is there a short-term stop gap that may not be a complete solution but possible given the timeline?

So, how do you suggest we make sure we stay green in the mean time, between now and GA (and beyond)? Is there a short-term stop gap that may not be a complete solution but possible given the timeline?

General samples for today:

Consume FetchContent
Consume vcpkg
App that consumes a library that consumes the SDK

Proposed project layout:
common/smoke-test/
  package-consumption/     < -- Consume vcpkg and FetchContent set in CMake
  3rd-party-lib/                    <-- 3rd party library that consumes the SDK
  3rd-party-client/               <-- Client application that consumes 3rd party library
  smoke-test/                      <-- App that consumes samples from package-level samples in the repo

We'll think more about min/max testing once we have something in place.
@vhvb1989 - Create sample applications, get started on smoke-test.yml, work w/ Daniel if you need help.
@danieljurek - Review smoke-test.yml and set up pipelines.

General samples for today:

Consume FetchContent
Consume vcpkg
App that consumes a library that consumes the SDK

Proposed project layout:
common/smoke-test/
  package-consumption/     < -- Consume vcpkg and FetchContent set in CMake
  3rd-party-lib/                    <-- 3rd party library that consumes the SDK
  3rd-party-client/               <-- Client application that consumes 3rd party library
  smoke-test/                      <-- App that consumes samples from package-level samples in the repo

We'll think more about min/max testing once we have something in place.
@vhvb1989 - Create sample applications, get started on smoke-test.yml, work w/ Daniel if you need help.
@danieljurek - Review smoke-test.yml and set up pipelines.


Report 190 "Issue Reminders" - Add "Protected var" on PostingDateReq variable

NewDateTime: DateTime;
  OldDateTime: DateTime;
  Protected var
  PostingDateReq: Date;
  ReplacePostingDate: Boolean;
  PrintDoc: Option " ",Print,Email;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Bug fix for issue 128, plus useful extensions

This replaces pull request at issue 143. It includes a bug fix for issue 128 and some changes to add a few capabilities I've found helpful:

Adds a banner method for a Thor class (not just a banner for an individual task)
Allows default tasks to take arguments (so, if the class foo has default task bar and the user specifies thor foo plugh where plugh is not a recognized task, it is interpreted as thor foo bar plugh
Improve error-handling if the default task is not found (e.g. if default_task :chewbacca is specified, but there is no "chewbacca" task)
Fixes the bug in Issue 128 related to listing subcommands (and replaces the patch I submitted as Issue 137). The fix is in commit 0726f56723b36df148ace0de7fcf47c04d981a78
Allows for repeating options, e.g. thor class task -r file1 -r file2
Fixes a small bug in print_wrapped (occasionally did not handle \005 and \177 correctly)

This fixes the bugs in the original submission of this patch It passes all tests ONCE YOU FIX THE BUG identified in issue 144. See my patch submitted separately as issue 146.
Thanks again to everyone else whose work made Thor so terrific.

Additionally, can you rebase. I pulled a different fix for 128 before I saw this.


Is there a building block for "radio button list with icons"?

I want to create a payment page where a user can choose a single payment option. Each payment option should have an icon of a payment system. Is there such a building block in Zurb or anything similar?
examples:
1

2

That can be, thx


Wrong typescript type for dynamic modals

For dynamic modals the return type is a Promise
The returned typescript type is void https://github.com/vue-final/vue-final-modal/blob/fc0b938838710cac475f1de6587175c74c41722c/types/index.d.ts#L72

@manuelmazzuola
Sorry I'm not an Typescript user actually, and I'm still learning it. I would be very grateful if you can send a PR to fix this.

fixed in v2.4.3
fixed in v3.4.7


feat(v2): feature/docs slug frontmatter (v2)

Motivation
Solve https://github.com/facebook/docusaurus/issues/2697
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
Jest tests

Hi @JoelMarcey @yangshun
This is a POC for customizing the pathname of a doc.
I think it's more "clean" than the workaround of having id: nodejs.html, as it does not require the user to have sidebar.js reference documents with html extension as id.
What I wonder is, how much freedom should we give to the user regarding this customization.
If a doc is in /versioned_docs/version-2.0.0-alpha.50/subfolder/someDoc.md
The url would be by default: docs/2.0.0-alpha.50/subfolders/someDoc
Using pathname: subpath/someDoc.html frontmatter could produce those different possible routes:

docs/2.0.0-alpha.50/subfolders/subpath/someDoc.html
would constrait the user to a subpath of the folder's name

docs/2.0.0-alpha.50/subpath/someDoc.html
would allow to escape the FS hierarchy and customize the math

subpath/someDoc.html
would be confusing regarding versioning, but allow the most flexibility

What I think we should do for now is probably keep it simple for the Watchman usecase:

pathname should not contain /
pathname, use the folder's name as path prefix (like with id)

If there's more need, we can still build a generic hook to be able to rewrite pathnames before generating the final routes. In such case the user would have full control, somehow like:
const customizeRoutePathname = (route) => {
  if ( route.pathname === "/docs/2.0.0-alpha.50/subfolders/someDoc" ) {
    return pathname + ".html
  }
  return pathname;
}

As I don't really know how common is this need, wonder if it's worth investing too much

As I don't really know how common is this need, wonder if it's worth investing too much

I agree. We have not seen a huge ask for this fix for v1 sites. I say we start simple with the Watchman fix - which probably fixes some other affected sites too - and see if we have to do any further work.

Hi,
I've decided to rename the frontmatter "slug", and only affect the last section of the pathname (as an user would expect from a slug).
I think it's the most simple, intuitive, minimal api surface to solve the watchman problem.
Ready to review.

@lex111 what do you think about this PR? Since you're more familiar with the docs plugin now.

Hi @lex111
Thanks for telling me about clean urls.
As far as I understand, in v1, we could access doc at /doc and /doc.html, and there was no canonical url.
For the migration guide, I'd recommend the user to choose between /doc or /doc.html is the canonical url, and create a client side redirect from the non-caninocal url with the client side redirect plugin of #2793.
If this is really needed, we could write the same page twice to the FS and add the same canonical url to both pages, that would reproduce the behavior of v1, but it's not something I've worked on yet and I think the client-side redirect should be enough.
I'd rather document the migration in the client side redirect plugin PR, what do you think?

change applied to the doc, thanks

Was wondering if we should also support this feature for the blog posts (front matter) and pages (comp static value) too?
If v1 users have cleanUrl: false they would all have /path.html extension in the url bar (/path still works, and there's no canonical url metadata).
For example, if D1 site had cleanUrl: false, it's possible that this link ends up being copied somewhere and indexed by google: https://docusaurus.io/en/users.html
For D1 users migrating to D2, should we allow them to keep /users.html as the canonical url? Currently it's not really possible.
That's likely a niche usecase.
I don't know how much D1 sites have cleanUrl: false and care much about SEO.
I think we should merge this PR anyway, and improve if some user complains during a migration.
Note: Watchman is not coming from D1 and not affected.

Was wondering if we should also support this feature for the blog posts (front matter) and pages (comp static value) too?
Currently it's not really possible.

I think we should not do this, especially when there is a official redirect plugin, the end user can easily add needed redirects, right?

Agree
We could merge this PR, and see later if one of the 4 sites with cleanUrl: false ask for blogs/pages having html extensions for their canonical urls. It's not worth to add a feature if nobody use it in the end.

@slorber thank you!


Eval fixes for cross-compilation

Description of changes
Fix evaluation of nix-env -f . -qaP --attr pkgsCross.aarch64-multiplatform --out-path --show-trace for a bunch of packages. It still doesn't fully evaluate, unfortunately.
Improves progress for https://github.com/NixOS/nixpkgs/issues/116207.
Things done

Tried evaluating nixpkgs with the above function

Opening as draft for now since I'm still working at it, but I like sharing it already :)

Let's leave it at this for now, it appears there's quite some things to go through, so let's not make this enormous. (Besides, it takes a lot of time and RAM to do an eval already).

Will need to drop a commit (the one for build-dotnet-module) due to this being merged: https://github.com/NixOS/nixpkgs/pull/173889

steam eval fix in https://github.com/NixOS/nixpkgs/pull/186512

Thanks for rebasing :)

more https://github.com/NixOS/nixpkgs/pull/186564


added example link to README.md

added unit test example link to README

Linking PR with Issue #5


SafeReach Adapter

Bidder configuration documentation for Safe Reach Adapter

@naegelin - I don't see a PR for safereach -- or rather there was one but it was closed without merging. https://github.com/prebid/Prebid.js/pull/3430

@bretg safereach is an alias in the same way many other bidders here  in the docs are aliases :)

To implement an alias, you need to make a PR for PBJS adapter as well:
$ grep alias aardvarkBidAdapter.js
$ grep alias appnexusBidAdapter.js
  aliases: ['appnexusAst', 'brealtime', 'emxdigital', 'pagescience', 'defymedia', 'gourmetads', 'matomy', 'featureforward', 'oftmedia', 'districtm'],

please link to the PBJS PR when you add the alias over there

@bretg https://github.com/prebid/Prebid.js/pull/3848

confirmed


TodoList : Implement command to label a task as completed

Fixes #178
This PR added the implementation of the command to label or mark a Task as completed.
1. New files added:

CompleteTaskCommand class
CompleteTaskParser class

2. Important notes:

This command is seperated from edit command because I think it would be more convenient for the user to have a specific command just for marking the tasks as done as opposed to having the need to enter edit command all the time e.g. edit 1 s/COMPLETED would be more complicated.

Codecov Report

Merging #339 into master will decrease coverage by 0.75%.
The diff coverage is 0.00%.

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


sometimes css style height is directly set on the div of the grid (gridheight < rowheight)

in ui-grid controller this code is there:
// If the grid isn't tall enough to fit a single row, it's kind of useless. Resize it to fit a minimum number of rows
if (grid.gridHeight < grid.options.rowHeight) {
// Figure out the new height
var newHeight = grid.options.minRowsToShow * grid.options.rowHeight;
            $elm.css('height', newHeight + 'px');

            grid.gridHeight = $scope.gridHeight = gridUtil.elementHeight($elm);
          }

so if that if is hit then height is directly set on the div element of the grid itself
But what ever i do then afterwards to make sure that the grid does have the right size like:
$timeout(function(){
$scope.gridApi.grid.gridWidth = gridUtil.elementWidth($element);
$scope.gridApi.grid.gridHeight = gridUtil.elementHeight($element);
$scope.gridApi.grid.refreshCanvas(true);
that doesn't help because that elements height is never reset or set..
i really need to do:
$element.children(".svyPortalGridStyle").height('');
where that child is the div where ui-grid is binded on.
Maybe the problem is a bit that in a specific situation the parent is not layout yet completely in the dom. it doesn't really have a height or width yet.
So ui-grids post controller code does get run a bit to soon and it works with the wrong sizes
In my timeout that i run when i get the callback from:
$scope.gridOptions.onRegisterApi = function( gridApi ) {
$timeout(xxxxxxx
then i just have to set the sizes correctly.
(and also really remove that height property)

Closing, no comments since last year.


🐛 [Scrutiny] FAILED: SMART

Description
Using a Intel NUC with M.2 SSD and Scrunity-FA with protection mode disabled. Can see the device /dev/sda but only get "SMART: FAILED". Even if I put device type from auto to sat.

Reproduction steps
written above

Addon Logs
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums
-----------------------------------------------------------
 Provided by: https://github.com/alexbelgium/hassio-addons
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-configuration.sh: executing...
Updating folders structure
[19:36:20] INFO: Hourly updates
[cont-init.d] 01-configuration.sh: exited 0.
[cont-init.d] 01-custom_script.sh: executing...
[19:36:20] INFO: Execute /config/addons_autoscripts/scrutiny-fa.sh if existing
[19:36:20] INFO: ... no script found
[cont-init.d] 01-custom_script.sh: exited 0.
[cont-init.d] 01-timezone: executing...
[cont-init.d] 01-timezone: exited 0.
[cont-init.d] 32-nginx_ingress.sh: executing...
[cont-init.d] 32-nginx_ingress.sh: exited 0.
[cont-init.d] 50-cron-config: executing...
[cont-init.d] 50-cron-config: exited 0.
[cont-init.d] 90-run.sh: executing...
[cont-init.d] 90-run.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
waiting for influxdb
starting cron
waiting for scrutiny service to start
influxdb config file already exists. skipping.
starting influxdb
influxdb not ready
[services.d] done.
scrutiny api not ready
ts=2023-06-26T17:36:21.626359Z lvl=info msg="Welcome to InfluxDB" log_id=0ifCICUW000 version=v2.2.0 commit=a2f8538837 build_date=2022-04-06T17:36:40Z
ts=2023-06-26T17:36:21.628406Z lvl=info msg="Resources opened" log_id=0ifCICUW000 service=bolt path=/opt/scrutiny/influxdb/influxd.bolt
ts=2023-06-26T17:36:21.628499Z lvl=info msg="Resources opened" log_id=0ifCICUW000 service=sqlite path=/opt/scrutiny/influxdb/influxd.sqlite
ts=2023-06-26T17:36:21.634606Z lvl=info msg="Checking InfluxDB metadata for prior version." log_id=0ifCICUW000 bolt_path=/opt/scrutiny/influxdb/influxd.bolt
ts=2023-06-26T17:36:21.634820Z lvl=info msg="Using data dir" log_id=0ifCICUW000 service=storage-engine service=store path=/opt/scrutiny/influxdb/engine/data
ts=2023-06-26T17:36:21.634856Z lvl=info msg="Compaction settings" log_id=0ifCICUW000 service=storage-engine service=store max_concurrent_compactions=2 throughput_bytes_per_second=50331648 throughput_bytes_per_second_burst=50331648
ts=2023-06-26T17:36:21.634997Z lvl=info msg="Open store (start)" log_id=0ifCICUW000 service=storage-engine service=store op_name=tsdb_open op_event=start
ts=2023-06-26T17:36:21.645411Z lvl=info msg="index opened with 8 partitions" log_id=0ifCICUW000 service=storage-engine index=tsi
ts=2023-06-26T17:36:21.646533Z lvl=info msg="Reading file" log_id=0ifCICUW000 service=storage-engine engine=tsm1 service=cacheloader path=/opt/scrutiny/influxdb/engine/wal/419d63b44b7ea380/autogen/1/_00001.wal size=196
ts=2023-06-26T17:36:21.646678Z lvl=info msg="Opened shard" log_id=0ifCICUW000 service=storage-engine service=store op_name=tsdb_open index_version=tsi1 path=/opt/scrutiny/influxdb/engine/data/419d63b44b7ea380/autogen/1 duration=9.181ms
ts=2023-06-26T17:36:21.646744Z lvl=info msg="Open store (end)" log_id=0ifCICUW000 service=storage-engine service=store op_name=tsdb_open op_event=end op_elapsed=11.749ms
ts=2023-06-26T17:36:21.646776Z lvl=info msg="Starting retention policy enforcement service" log_id=0ifCICUW000 service=retention check_interval=30m
ts=2023-06-26T17:36:21.646800Z lvl=info msg="Starting precreation service" log_id=0ifCICUW000 service=shard-precreation check_interval=10m advance_period=30m
ts=2023-06-26T17:36:21.647883Z lvl=info msg="Starting query controller" log_id=0ifCICUW000 service=storage-reads concurrency_quota=1024 initial_memory_bytes_quota_per_query=9223372036854775807 memory_bytes_quota_per_query=9223372036854775807 max_memory_bytes=0 queue_size=1024
ts=2023-06-26T17:36:21.657866Z lvl=info msg="Configuring InfluxQL statement executor (zeros indicate unlimited)." log_id=0ifCICUW000 max_select_point=0 max_select_series=0 max_select_buckets=0
ts=2023-06-26T17:36:21.668440Z lvl=info msg=Listening log_id=0ifCICUW000 service=tcp-listener transport=http addr=:8086 port=8086
starting scrutiny
scrutiny api not ready
2023/06/26 19:36:26 No configuration file found at /opt/scrutiny/config/scrutiny.yaml. Using Defaults.
 ___   ___  ____  __  __  ____  ____  _  _  _  _
/ __) / __)(  _ \(  )(  )(_  _)(_  _)( \( )( \/ )
\__ \( (__  )   / )(__)(   )(   _)(_  )  (  \  /
(___/ \___)(_)\_)(______) (__) (____)(_)\_) (__)
github.com/AnalogJ/scrutiny                             dev-0.7.1
Start the scrutiny server
time="2023-06-26T19:36:26+02:00" level=info msg="Trying to connect to scrutiny sqlite db: /opt/scrutiny/config/scrutiny.db\n" type=web
time="2023-06-26T19:36:26+02:00" level=info msg="Successfully connected to scrutiny sqlite db: /opt/scrutiny/config/scrutiny.db\n" type=web
time="2023-06-26T19:36:26+02:00" level=info msg="InfluxDB certificate verification: true\n" type=web
time="2023-06-26T19:36:26+02:00" level=info msg="Database migration starting. Please wait, this process may take a long time...." type=web
time="2023-06-26T19:36:26+02:00" level=info msg="Database migration completed successfully" type=web
time="2023-06-26T19:36:26+02:00" level=info msg="SQLite global configuration migrations starting. Please wait...." type=web
time="2023-06-26T19:36:26+02:00" level=info msg="SQLite global configuration migrations completed successfully" type=web
[19:36:26] INFO: Starting NGinx...
time="2023-06-26T19:36:29+02:00" level=info msg="Checking Influxdb & Sqlite health" type=web
time="2023-06-26T19:36:29+02:00" level=info msg="<IP_ADDRESS> - db21ed7f-scrutiny-fa [26/Jun/2023:19:36:29 +0200] \"GET /api/health\" 200 16 \"\" \"curl/7.74.0\" (1ms)" clientIP=<IP_ADDRESS> hostname=db21ed7f-scrutiny-fa latency=1 method=GET path=/api/health referer= respLength=16 statusCode=200 type=web userAgent=curl/7.74.0
time="2023-06-26T19:36:31+02:00" level=info msg="<IP_ADDRESS> - db21ed7f-scrutiny-fa [26/Jun/2023:19:36:31 +0200] \"HEAD /api/health\" 200 0 \"\" \"curl/7.74.0\" (10ms)" clientIP=<IP_ADDRESS> hostname=db21ed7f-scrutiny-fa latency=10 method=HEAD path=/api/health referer= respLength=0 statusCode=200 type=web userAgent=curl/7.74.0
starting scrutiny collector (run-once mode. subsequent calls will be triggered via cron service)
2023/06/26 19:36:31 No configuration file found at /opt/scrutiny/config/collector.yaml. Using Defaults.
 ___   ___  ____  __  __  ____  ____  _  _  _  _
/ __) / __)(  _ \(  )(  )(_  _)(_  _)( \( )( \/ )
\__ \( (__  )   / )(__)(   )(   _)(_  )  (  \  /
(___/ \___)(_)\_)(______) (__) (____)(_)\_) (__)
AnalogJ/scrutiny/metrics                                dev-0.7.1
time="2023-06-26T19:36:31+02:00" level=info msg="Verifying required tools" type=metrics
time="2023-06-26T19:36:31+02:00" level=info msg="Executing command: smartctl --scan --json" type=metrics
time="2023-06-26T19:36:31+02:00" level=info msg="Executing command: smartctl --info --json /dev/sda" type=metrics
time="2023-06-26T19:36:31+02:00" level=info msg="Using WWN Fallback" type=metrics
time="2023-06-26T19:36:31+02:00" level=info msg="Sending detected devices to API, for filtering & validation" type=metrics
time="2023-06-26T19:36:31+02:00" level=info msg="<IP_ADDRESS> - db21ed7f-scrutiny-fa [26/Jun/2023:19:36:31 +0200] \"POST /api/devices/register\" 200 543 \"\" \"Go-http-client/1.1\" (2ms)" clientIP=<IP_ADDRESS> hostname=db21ed7f-scrutiny-fa latency=2 method=POST path=/api/devices/register referer= respLength=543 statusCode=200 type=web userAgent=Go-http-client/1.1
time="2023-06-26T19:36:31+02:00" level=info msg="Collecting smartctl results for sda\n" type=metrics
time="2023-06-26T19:36:31+02:00" level=info msg="Executing command: smartctl --xall --json /dev/sda" type=metrics
time="2023-06-26T19:36:31+02:00" level=info msg="Publishing smartctl results for 0x57c35481f82a7a9c\n" type=metrics
time="2023-06-26T19:36:31+02:00" level=error msg="An error occurred while saving smartctl metrics unprocessable entity: failure writing points to database: partial write: points beyond retention policy dropped=1" type=web
time="2023-06-26T19:36:31+02:00" level=error msg="<IP_ADDRESS> - db21ed7f-scrutiny-fa [26/Jun/2023:19:36:31 +0200] \"POST /api/device/0x57c35481f82a7a9c/smart\" 500 17 \"\" \"Go-http-client/1.1\" (11ms)" clientIP=<IP_ADDRESS> hostname=db21ed7f-scrutiny-fa latency=11 method=POST path=/api/device/0x57c35481f82a7a9c/smart referer= respLength=17 statusCode=500 type=web userAgent=Go-http-client/1.1
time="2023-06-26T19:36:31+02:00" level=info msg="Main: Completed" type=metrics
time="2023-06-26T19:36:34+02:00" level=info msg="Checking Influxdb & Sqlite health" type=web
time="2023-06-26T19:36:34+02:00" level=info msg="<IP_ADDRESS> - db21ed7f-scrutiny-fa [26/Jun/2023:19:36:34 +0200] \"GET /api/health\" 200 16 \"\" \"curl/7.74.0\" (1ms)" clientIP=<IP_ADDRESS> hostname=db21ed7f-scrutiny-fa latency=1 method=GET path=/api/health referer= respLength=16 statusCode=200 type=web userAgent=curl/7.74.0
time="2023-06-26T19:36:39+02:00" level=info msg="Checking Influxdb & Sqlite health" type=web
time="2023-06-26T19:36:39+02:00" level=info msg="<IP_ADDRESS> - db21ed7f-scrutiny-fa [26/Jun/2023:19:36:39 +0200] \"GET /api/health\" 200 16 \"\" \"curl/7.74.0\" (1ms)" clientIP=<IP_ADDRESS> hostname=db21ed7f-scrutiny-fa latency=1 method=GET path=/api/health referer= respLength=16 statusCode=200 type=web userAgent=curl/7.74.0
time="2023-06-26T19:36:44+02:00" level=info msg="Checking Influxdb & Sqlite health" type=web
time="2023-06-26T19:36:44+02:00" level=info msg="<IP_ADDRESS> - db21ed7f-scrutiny-fa [26/Jun/2023:19:36:44 +0200] \"GET /api/health\" 200 16 \"\" \"curl/7.74.0\" (1ms)" clientIP=<IP_ADDRESS> hostname=db21ed7f-scrutiny-fa latency=1 method=GET path=/api/health referer= respLength=16 statusCode=200 type=web userAgent=curl/7.74.0
time="2023-06-26T19:36:49+02:00" level=info msg="Checking Influxdb & Sqlite health" type=web
time="2023-06-26T19:36:49+02:00" level=info msg="<IP_ADDRESS> - db21ed7f-scrutiny-fa [26/Jun/2023:19:36:49 +0200] \"GET /api/health\" 200 16 \"\" \"curl/7.74.0\" (1ms)" clientIP=<IP_ADDRESS> hostname=db21ed7f-scrutiny-fa latency=1 method=GET path=/api/health referer= respLength=16 statusCode=200 type=web userAgent=curl/7.74.0

Architecture
aarch64
OS
HAos

I guess the error is here: An error occurred while saving smartctl metrics unprocessable entity
Found a reference here: https://github.com/AnalogJ/scrutiny/issues/305

Hi, you're using scrutiny full access the SYS_RAWIO is not needed as all permissions should be already granted... Have you tried the normal scrutiny (not fa)? Also, are you sure your ssd supports smart? Most ssd don't actually

Yes I tested without FA but then it shows no device. The ssd I am using is providing SMART.

@alexbelgium any ideas? Should I raise the issue at Scrutiny directly cause it is more related there?

Hi, perhaps it's better... Honestly I tried to look a bit but no idea. I was wondering if accessing the influxdb through the admin interface could help but no idea what to look for

I tried the same, but no idea of user/password. Is it a standard or the HA user/pw?

@alexbelgium how can I put Scrutiny into debug mode. I just want to assure what the smartctl commands are returning. It seems that I need to run Scrutiny in debug mode but have no idea how.

root@db21ed7f-scrutiny-fa:/opt/scrutiny# lsblk -f
NAME   FSTYPE   FSVER LABEL          UUID                                 FSAVAIL FSUSE% MOUNTPOINT
sda
|-sda1 vfat     FAT16 hassos-boot    91F7-85ED
|-sda2 squashfs 4.0
|-sda3 squashfs 4.0
|-sda4
|-sda5
|-sda6
|-sda7 ext4     1.0   hassos-overlay 4e60f2da-1b5f-41ad-a4f7-1f4e943fb154
`-sda8 ext4     1.0   hassos-data    bcaf2507-38ab-4426-9160-82e691be1ca3    193G     8% /etc/hosts
zram1
zram2

And SMART is enabled in BIOS. If I install proxmox on that device, smartctl is working. But on HAOS with your addon it isnt.

I can finally say that the problem is definiteley not the hardware. The add-on https://github.com/Draggon/hassio-hdd-tools is working on the same machine, I am getting all the SMART data with it. But weather Scrutiny nor Scrutiny-FA will give me any data for the hdd.

That's super helpful, thanks for your investigations! I'll compare both addons

I needed to disable protection mode but afterwards it just worked out. Initially testet directly within the container, compared to the tests I made with your Scrutiny add-ons - but as said with both I have no luck to get the SMART data.

the hdd-tools is using both
  "privileged": ["SYS_ADMIN", "SYS_RAWIO"],
  "full_access": true,

you are only this for scrutiny-fa
"full_access": true,
and this for scrutiny
  "privileged": [
    "SYS_ADMIN",
    "SYS_RAWIO",
    "DAC_READ_SEARCH"
  ],

not sure if it is really related - but if you want to test, just release an update and I will do so ...

well having both puts an alert message in the logs that made people remove the repo... About not being justified to have both full_access and privileges written. This can however be mimicked with Portainer if you are using the tool by switching on manually permissions

but it works ...

Really? By adding permissions in addition to full access? crazy... I'll check the logs to see if there is an error showing

Yes really. Just put that:
  "full_access": true,
  "privileged": [
    "SYS_ADMIN",
    "SYS_RAWIO",
    "DAC_READ_SEARCH"
  ],

and now it works ...

Thanks! Then I'll push a new official version (not just test), It will take 5 min to build

Thanks for this great troubleshooting

works now, thanks for great co-work and fast change + release!


How to use underlying Sequelize classes

Hi
I would like to use many of the underlying classes from Sequeseliz e.g. Transaction etc as a param of our functions and I could not do it unless I install @types/sequelize project or I will have to reference the sequelize installed as part of this package using relative path which I think is not a good idea.
So far we install both @types/sequelize and @types/sequelize-typescript and then import Transaction from sequelize but as soon as I upgrade the version to 0.6.6, I get this error in VSCode and I am not even sure if it is a bug in vs code.

Type 'import("c:/proj/server/node_modules/@types/sequelize/index").Transaction' is not assignable to type 'import("c:/proj/server/node_modules/sequelize-typescript/node_modules/@types/sequelize/index").Transaction'.

Please advise.

@saachinsiva Just use the Sequelize reference from sequelize-typescript
import {Sequelize} from 'sequelize-typescript';

Sequelize.Transaction

Hi
Thanks for looking in to this issue. I tried that before and was getting an error as below

[ts] Cannot access 'Sequelize.Transaction' because 'Sequelize' is a type, but not a namespace. Did you mean to retrieve the type of the property 'Transaction' in 'Sequelize' with 'Sequelize["Transaction"]'?

Hey @saachinsiva, I have no issues using Transaction like I did in my example. So I'm getting no errors. Can you provide an example repo which reproduces the issue?

Thanks for your time. I am not sure if I can share the code due to company copyright policy. I will try to mimic something and share it once available.

Hey @saachinsiva are you still on this issue? Will you have time to provide an example repo in the near future?


useProgress

⚡ useProgress()
A convenience hook that wraps THREE.DefaultLoadingManager's progress status.
function Loader() {
  const { active, progress, errors, item, loaded, total } = useProgress()
  return <Html center>{progress} % loaded</Html>
}

<Suspense fallback={<Loader />}>
  <GLTFModel />
  <CubeMapEnv />
  <TexturedPlane />
</Suspense>

If you don't want your progress component to re-render on all changes you can be specific as to what you need, for instance if the component is supposed to collect errors only:
const errors = useProgress(state => state.errors)

👉 Note that your loading component does not have to be a suspense fallback. You can use it anywhere, even in your dom tree, for instance for overlays.

I think mentioning that it's zustand under the hood and adding a link would be beneficial (ie. you can do anything you could with a zustand store)

I think you forgot to add a story for the new hook in the storybook


Can't write to a callback stream [PaErrorCode -9976]

I'm trying to get the current audio level of the wav file thats playing using a callback function. When ran it results in, sounddevice.PortAudioError: Can't write to a callback stream [PaErrorCode -9976]
The audio plays correctly when the callback parameter is removed.
Here's the code...
import soundfile as sf
import sounddevice as sd
import numpy as np

path_to_audio = "add audio path here"

def print_audio_level(outdata, frames, time, status):
    # Calculate the audio level as the RMS of the audio data
    audio_level = 20 * np.log10(np.sqrt(np.mean(np.square(outdata))))

    # Print the current audio level
    print("Current audio level:", audio_level, "dB")

# Read the audio file using soundfile
audio, sample_rate = sf.read(path_to_audio)

audio = audio.astype(np.float32)

# Set up the audio playback stream
playback_stream = sd.OutputStream(samplerate=sample_rate, channels=1, callback=print_audio_level)

# Start the audio playback stream
playback_stream.start()

# Play the audio file
playback_stream.write(audio)

# Stop the audio stream (wait for playback to finish)
playback_stream.stop()

# Close the audio stream
playback_stream.close()

The error message says it all.
But maybe it's not clear what a "callback stream" is?
A callback stream is a stream with a callback function.
Your stream has a callback function, and you are trying to write to it.
But you can't.

The audio plays correctly when the callback parameter is removed.

Exactly, because then it ceases to be a callback stream and you can write to it.


Carthage binary contains Firebase.framework instead of xcframework

Step 0: Are you in the right place?

For issues or feature requests related to the code in this repository
file a Github issue.

If this is a feature request please use the Feature Request template.

For general technical questions, post a question on StackOverflow
with the firebase tag.
For general (non-iOS) Firebase discussion, use the firebase-talk
google group.
For backend issues, console issues, and other non-SDK help that does not fall under one
of the above categories, reach out to
Firebase Support.
Once you've read this section and determined that your issue is appropriate for
this repository, please delete this section.

[REQUIRED] Step 1: Describe your environment

Xcode version: 12.3
Firebase SDK version: 8.7.0
Installation method: Carthage (select one)
Firebase Component: FirebaseAnalyticsBinary

[REQUIRED] Step 2: Describe the problem
Steps to reproduce:
What happened? How can we make the problem occur?
Download the binary from https://dl.google.com/dl/firebase/ios/carthage/8.6.0/FirebaseAnalytics-17512c102cfe19b6.zip
If you take a look the Firebase is not wrapped in xcframework as the others, hence doesn't contain the correct architecture slice (arm64 simulator).

I have the same issue. How to fix it?

Firebase.framework should not be embedded. See the Delete Firebase.framework from the Link Binary With Libraries Build Phase step at https://github.com/firebase/firebase-ios-sdk/blob/master/Carthage.md


FDW ::begin() takes a name now

(Also snuck a quick correction to #22 in, whoops!)

My thinking was that this object is cloned, so passing ownership to the callback makes sense. Ownership for a &str is tricky, especially if the module author want to store it in their state


channel_jobs_updater gets called once bot runs

Fixed
Fixed the bug by importing partial from functools and passing the bot object to the channel_jobs_updater before passing it to the set_schedule method in the schedule function.


Implement new SMTP SSL env variable and upgrade base image

Hi,
I've made some changes to implement the latest SMTP options to the helm chart + bump the image to the latest version, as I've explained here:
https://github.com/gissilabs/charts/issues/35
@sgissi - please, review the changes!
Thanks!

@sgissi can you please, check and merge this if it is ok?
It will help using the implementations for the newest version of Vaultwarden image.

Hi @lord-kyron, thanks a lot for the PR! That would break backwards compatibility, I would prefer to deprecate the settings: add a warning at NOTES.txt, a notice at README and prefer smtp.security over smtp.ssl/explicittls. But I wouldn't like to break existing installations of the chart, particularly when while upstream still supports the old env variables.
Do you know the first version of Vaultwarden that supports SSL_SECURITY?

Hi @sgissi,
Yes here is the official statement:
From v1.25.0, environment variable for SMTP SSL/TLS configuration has been updated to SMTP_SECURITY (which was mislabelled, see bug #851).

Thank you for the update. It looks like the option was deprecated fully upstream (https://github.com/dani-garcia/vaultwarden/commit/42136a70973f60086749c62439c6a965d4589c02) so upgrading will be a breaking change in any case. My recommendation for this PR is:

Do not bump the chart version yet, I'll do it separately with some other changes. It will become 1.0.0 as it breaks backward compatibility
Use the latest application patch (1.25.1)
In deployment.yaml, detect usage of ssl/explicittls on image tag is >= 1.25.0 (semverCompare might be handy here) and throw an error out that these variables aren't supported in that version. That will catch people upgrading without changing the setting.
Remove smtp.ssl and smtp.explicitTLS
Add a deprecation node to the top of README, probably a good time to stop updates to bitwardenrs helm chart too.

@sgissi - can you please, take a look what I've done to the pull request, according to your recommendations (please, check the deployments.yaml template as I am not sure about the 'if semVer' statements and syntax/indent are right).
Thanks!

Any news? I'm using this chart, and not having this PR prevents me from updating Vaultwarden

@sgissi please

Thanks for the updates, life got really busy lately :) I'll review them this weekend. In the meantime, you can use the "extraEnv" to supply the right values to Vaultwarden until the chart catches up.

Any chance you can look at it?

@sgissi it will be great if you can check what I improved and merge it!

@sgissi, new year, new luck? :)

@sgissi Happy New year :) Can you please check my latest changes to this pull request? We really need the changes for this alraedy.

Hi @lord-kyron, @benedikt-bartscher and @jonkerj. Thanks again for the PR updates and sorry for the delayed review. I'll merge these to a branch and work out some more updates to Vaultwarden 1.27 before merging to master and releasing new charts.

Thank you @sgissi !


⚠ Jenkins Plugins Artifactory has degraded performance

In 95aa33a, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 2566 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 429f85a after 26 minutes.


youtube .strm files not playable in jellyfin

I used the docker image and it seems to work fine. After the youtube channels are generated and .strm files are there. I copy them to jellyfin lib folder and did a lib scan.
Jellyfin appears to show these media files, but none are playable. When I play it, it complained about it's not a playable format or recognized format.
What did I miss ?

What port are you working with in Docker? Is the DOCKER_PORT variable set to the same value as the Docker host port???
Open with notepad any strm to check if the url has the same DOCKER_PORT and try to play your strm files with vlc

I am using port 5000 inside docker, as well as outside.
URL looks like the following (for example):
http://<IP_ADDRESS>:5000/youtube/bridge/b73xG1HlFhY
URL does not work in Jellyfin, Firefox, Vivaldi or VLC.
VLC and Vivaldi does not give any error.
Firefox and Jellyfin complain about not being compatible.
This client isn't compatible with the media and the server isn't sending a compatible media format.

Can confirm it works!
Thank you!


feat: Add history refreshing (fixes 3162)

Description
Added history refreshing via API call. Refactored screen a bit to split up the logic and ui and make the screen more easy to read. The PR is quite big, but I don't see possibility to break it in small parts, sorry for that.
Related issues
Fix #3162
Related PRs
none
Screenshots
https://drive.google.com/file/d/1G8M0R7RAYfsF1MNATzuwC0GFgm29B4vr/view?usp=sharing

@VaiTon @teolemon ptal

I'm really sorry @naivekook but we need to break this down as you're adding tree dependencies and possibly breaking a lot of code. Could we start from refactoring the old code and then adding the new deps and only then adding the new feature. I know it's a lot of work but this pr doesn't only add the feature.

Yeah it's ok, it was to be expected that my PR will be declined
I thought how I can split my PR in a few small PRs, but the problem is that my refactor requires to include these new libraries (by the way these libraries are very small and very stable and tested in production many times). To remove the new functionality form refactoring you just need to remove lines 43-71 from ScanHistoryViewModel.kt.
The reason why I made this PR is I just want to show and discuss how we can refactor our screen with view model approach (looking through the code looks like this approach is more easy to implement here). I believe that we have to improve the codebase and write some tests if the project wants to move forward, because, to be honest, my eyes bleeding sometimes looking to it and our latest news about "Bad behaviour" say the same thing.
I have an idea, what if we can hop on call in OFF weekly meeting on Thursday and I will follow you (or someone else) through my code to describe how it works and what I've done?
P.S. sorry if I sounds too linear or offensive, english is not my native, I appreciate the work you've been done guys, just want to make the project better :)

Yeah it's ok, it was to be expected that my PR will be declined
I thought how I can split my PR in a few small PRs, but the problem is that my refactor requires to include these new libraries (by the way these libraries are very small and very stable and tested in production many times). To remove the new functionality from refactoring you just need to remove lines 43-71 from ScanHistoryViewModel.kt.
The reason why I made this PR is I just want to show and discuss how we can refactor our screen with view model approach (looking through the code looks like this approach is more easy to implement here). I believe that we have to improve the codebase and write some tests if the project wants to move forward, because, to be honest, my eyes bleeding sometimes looking to it and our latest news about "Bad behaviour" say the same thing.
I have an idea @VaiTon, what if we can hop on call in OFF weekly meeting on Thursday and I will follow you (or someone else) through my code to describe how it works and what I've done?
P.S. sorry if I sounds too linear or offensive, english is not my native, I appreciate the work you've been done guys, just want to make the project better :)

You don't sound offensive at all don't worry! Let's coordinate on slack then

@naivekook rebase?

Yes just rebased

any update about this PR?

small conflict resolution necessary

@naivekook let's cook this in develop

Sorry I didn't test it well after last rebasing


Add toggleable grids to help visualize motion.

Related to #3,  it's often difficult to visualize movement in 3D, without a reference point to compare against. In 2D, this can be the window borders, but this doesn't always work in 3D. The solution would be to add 3D grids that can be toggled with a user input.
It's likely that we may also need a config setting to control which planes have grids.

Implemented in b221f91
Grid plane is determined dynamically.


Relative navigation always expects a search param?

Describe the bug
When using navigation (e.g. navigate / redirect) with a from and relative to, it seems TypeScript always complains about the search param being required, even if none of the routes define a validateSearch.
This example works at runtime, but TypeScript complains:
export const Route = createFileRoute('/posts/$postId')({
  beforeLoad: () => {
      // works, but TypeScript error about required "search" param
      throw redirect({
        from: Route.fullPath,
        to: '../',
      });
  }
});

Your Example Website or App
https://stackblitz.com/edit/tanstack-router-ycpp7o?file=src%2Froutes%2Fposts.%24postId.tsx
Steps to Reproduce the Bug or Issue

Open the posts.$postId.tsx file and go to the render function
Observe there's a TypeScript error, even though the actual code works

Expected behavior
I expect that if the to route doesn't provide a validateSearch, it's not a required prop and TypeScript doesn't complain.
Screenshots or Videos

Platform

OS: macOS / Arc

Additional context
No response

Getting the same issue, upgrading from 1.29 to 1.40.

The error you see is caused by the trailingSlash router property:
https://tanstack.com/router/latest/docs/framework/react/api/router/RouterOptionsType#trailingslash-property
It defaults to never, so in that case you should use
        to: '..',

see https://stackblitz.com/edit/tanstack-router-xpxvgs?file=src%2Froutes%2Fposts.%24postId.tsx,src%2Fmain.tsx
If you changetrailingSlash to either preserve or always,  you can use to: '../'.
see https://stackblitz.com/edit/tanstack-router-wxombr?file=src%2Froutes%2Fposts.%24postId.tsx

@schiller-manuel Do you think the type should be more permissive, seeing as the slash will simply be stripped just like with normal navigation? If not, feel free to close this <3

Let's ask @chorobin about his opinion on this

Looks like in the latest version search param is required if route has validateSearch set.
I have zod schema with all properties set to optional but link and navigate still require search to be provided

Let's ask @chorobin about his opinion on this

Yeah, we should at least not suggest '../' and suggest '..' instead

Looks like in the latest version search param is required if route has validateSearch set.
I have zod schema with all properties set to optional but link and navigate still require search to be provided

Do you have an example where this is not working?
Generally the type logic for required/search params works off the basis that, if {} is assignable to you search params then it is optional


Look into iamcco/markdown-preview.nvim

Look into iamcco/markdown-preview.nvim as this might be a beneficial plugin for markdown editing.

Installed, configured and tested the plugin and it fullfills all my current needs and more. Sync scrolling is very nice. Implement it in the lvim config.


What's the difference between this and the built-in FormData?

This is server-side implementation of the browser built-in FormData.


Move to another org

I was wondering if it would make sense to move this to another organization? Maybe the QuantStack one for now?

Since we decided to not move this repo to https://github.com/jupyter-widgets quite yet, let's move it to https://github.com/QuantStack.


sbt 1.7.3 warns about no-op slf4j implementation on startup

steps
Launch sbt 1.7.3 with a plugin enabled that uses slf4j 1.x.
problem
sbt prints this on startup:
SLF4J: No SLF4J providers were found.
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See https://www.slf4j.org/codes.html#noProviders for further details.
SLF4J: Class path contains SLF4J bindings targeting slf4j-api versions 1.7.x or earlier.

expectation
I expected the log4j implementation included with sbt to be used, instead of the no-op implementation.
notes
I think this is because of the coursier update, which (according to its release notes) pulls in slf4j 2.0.3—but log4j 2.17.1, which sbt depends on directly, depends on slf4j 1.7.25.

"Launch sbt 1.7.3" isn't sufficient to reproduce the problem.
https://github.com/scalacenter/scalafix/issues/1700 seems to imply that it's necessary certain plugins to be involved (sbt-scalafix is one, perhaps there are others?).

https://github.com/scalacenter/scalafix/issues/1700 seems to imply that it's necessary certain plugins to be involved (sbt-scalafix is one such plugin, perhaps there are others?).

I assume (but haven't verified) that sbt itself does not use SLF4J, but any sbt plugin that does trigger will the warning (and won't have Java logs).

Clarification: "Launch sbt 1.7.3" isn't sufficient to reproduce the problem.

Yep, you're right—we have a default set of plugins enabled, and it seems that "com.github.sbt" % "sbt-git" % "2.0.0" triggers the warnings as well.

Same here - I get this warning on >= 1.7.3. No warning on 1.7.2.

I think this is because of the coursier update, which (according to its release notes) pulls in slf4j 2.0.3—but log4j 2.17.1, which sbt depends on directly, depends on slf4j 1.7.25.

So sbt's forced into bumping up slf4j-api and log4j binding?

Is there any workaround? I think because of this, sbt-dependency-check doesn't show CVE info even with Dlog4j2.level=debug.

This shows in the same way with sbt 1.8.0 when plugins pull in slf4j.
(To make it even more fun: slf4j 2.x is not compatible with slf4j 1.7, but that's just another chamber in dependency hell.)

I have a PR for this - https://github.com/coursier/sbt-coursier/pull/441

Thanks @eed3si9n!


Remove obsoleted code for macOS Toggl

📒 Description
We've recently implemented new feature, but we let too much obsoleted code, which we never use again.
It's fruitful, and it's time to get rid of it.
🕶 Types of changes
Improvements (non-breaking change which adds functionality)
⚠ Warning
Please review https://github.com/toggl/toggldesktop-branding/pull/37, since this PR affect how the codesign works
🤯 List of changes

[x] Remove [TableViewDiff] (https://github.com/toggl/toggldesktop/tree/master/src/ui/osx/TogglDesktop/Diff) and DeepDiff library, since we don't use NSTableView in TimeEntry List anymore
[x] Remove TimeEntryEditViewController, since we have EditorViewController.swift
[x] Remove MKPopoverColorWell, MKColorWellCustom, which belongs in old TimeEntryEditViewController
[x] Remove bunch of old images assets in images folders
[x] Move all Swift file in ui folder to different location: It's hard to keep track when the ui folder have objc files and swift in the long list.
[x] Remove NSUnstripedTableView, NSViewEscapable since we don't use it anywhere
[x] Remove test target: kopsikTests
[x] Convert all pdf icon to Image.assets
[x] Remove TFDatePicker library
[x] Re-organize the Poco's library and update Search Header to third_party/openssl/include, Library Search Path = third_party/openssl

👫 Relationships
Close #3110
🔎 Review hints

This PR shouldn't change any logic of the app. All logic should be remained, and able to build from the scratch.

Updated warning note for https://github.com/toggl/toggldesktop-branding/pull/37

Cloned the repo and built everything from scratch.

Works well 👍

I think these changes are not connected as I tried validating a bit earlier build that was before these changes and the outcome was the same. I think the issue is that thes libcrypto and libssl dylib libraries were built with older Xcode and do not have some needed parameter coded into the libraries.


[BUG] wrong day of holiday in TDE Prefab

In the prefab for The Dark Eye (TDE) is the note for a holiday at the 20. of Hesinde, but compared to the latest almanach and the wiki the date for this holiday is at the 30. of Hesinde:

This has been fixed in version 2.1.4


Why HEVC HW encoder performance varied much in different motherboard?

I test the i3/i5 hw encoder performance and found that the performance varied very much in different main motherboard. Both testing computers have the same SSD and memory. Why? Thank you.

The real problem is memory, close now.

@jiangjianping , just wondering, was it about dual channel memory ?

@dmitryermilov
That's right. memory located some sockets did not provide real dual channel performance.


Extract JVM platform integration tests from integ-test

This takes all the JVM/Software related integration tests out of integ-test and moves them to more appropriate subprojects to match the System Under Test.
Cross version tests to be handled separately.

@bot-gradle test this

@bot-gradle test and merge

@bot-gradle test and merge

The merge queue build has started. Click here to see all failures if any.


help understanding temp_grads in learner of vtrace

https://github.com/google-research/seed_rl/blob/eff7aaa7ab5843547fbf383fcc747b7a8ca67632/agents/vtrace/learner.py#L250
why use temp_grads? what does synchronization=tf.VariableSynchronization.ON_READ mean in the context? thank you very much?

This is specific to running multiple devices. The ON_READ synchronization actually causes the variables to be considered entirely independent when in a replica context of the distribution strategy. https://www.tensorflow.org/tutorials/distribute/custom_training
We introduced the temp grads to make sure variables were being kept on the accelerator which wasn't the case at least a while ago when you return the gradients from the experimental_run_v2 function. Quite possible that this could now be simplified. (It does look ugly.)


Method to know if the radio has stopped transmitting (IDFGH-8105)

Is your feature request related to a problem?
We have an application that does an extensive use of the esp_wifi_80211_tx() function. And we have to accurately synchronize the end of the WiFi transmission with other actions. We have observed that when the esp_wifi_80211_tx() returns, transmission usually has not yet finished (we suppose when you call this function, data to transmit is enqueued for transmission, but not necessarily sent when the function returns), and we would like to know exactly when the transmission ends, to synchronize the end of transmission with other actions the application has to take.
Describe the solution you'd like.
It would be enough having a function like bool esp_wifi_80211_tx_is_active() that will tell you if the radio is active or has pending data queued for transmission (return true) or is idle and no data for transmission is queued (return false). By polling this function the application could know if all the data has been sent.
Describe alternatives you've considered.
An alternative mechanism could be setting a callback that will be run when the esp_wifi_80211_tx() function has finished sending the data and the radio is idle.
Another alternative could be having an option for the esp_wifi_80211_tx() not to return until all data has been transmitted.
Additional context.
No response

Hi @doragasu
Thanks for the feature request.
Could you provide some more details about the usage scenario ? And did you enable station or softap or sniffer mode ? etc.
It's helpful for us to optimize our esp_wifi_80211_tx api.
Thanks.

Hi @MaxwellAlan,
Thanks a lot for support.
We are developing an application in which we use Espressif devices to talk to some in-house developed smart tags. We configure an ESP32 in AP mode, but we do not associate any station to it, and use the esp_wifi_80211_tx() function to send some specific frames of our own proprietary protocol, that is interpreted by the smart tag.
In some scenarios, the protocol data we send using the esp_wifi_80211_tx() must be synchronized with some specific charge pulses we send in other RF band (e.g. 800/900 MHz like RFID equipment typically does). Due to some limitations in the smart tag HW, we cannot send simultaneously the WiFi data and the charge signal, they have to take turns. So, in order to optimize the switching between WiFi data and charge signal (to optimize throughput and minimize latency), we need to accurately detect when the ESP32 has finished sending data, to quickly switch to the charge signal.
Again, thanks for support. Hope this helps understanding the use case for this feature.

https://github.com/espressif/esp-idf/issues/7904

Oh, there's already a esp_wifi_set_tx_done_cb(), this might be what I need, I'll give it a try and come back, thanks!

Hi @doragasu
Yes, you can try this callback, this callback will trigger when your pkts tx success.

Thanks, I was going to test now but I have a question. If my program registers a tx_done_cb and then in a loop calls 5 times the esp_wifi_80211_tx() function, one call just after another, will the tx_done_cb be called 5 times, or just once when the data transmission ends?

Did some tests assuming the tx_done_cb() is invoked once for each esp_wifi_80211_tx() call, and that internal WiFi functions (like sending beacons) do not trigger the callback, and it is working as expected.
Thanks!


Removed .prevent method onSubmit

Fixes #616

Developer Certificate of Origin Version 1.1
Copyright (C) 2004, 2006 The Linux Foundation and its contributors. 1 Letterman Drive Suite D4700 San Francisco, CA, 94129
Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
Developer's Certificate of Origin 1.1
By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I have the right to submit it under the open source license indicated in the file; or
(b) The contribution is based upon previous work that, to the best of my knowledge, is covered under an appropriate open source license and I have the right under that license to submit that work with modifications, whether created in whole or in part by me, under the same open source license (unless I am permitted to submit under a different license), as indicated in the file; or
(c) The contribution was provided directly to me by some other person who certified (a), (b) or (c) and I have not modified it.
(d) I understand and agree that this project and the contribution are public and that a record of the contribution (including all personal information I submit with it, including my sign-off) is maintained indefinitely and may be redistributed consistent with this project or the open source license(s) involved.

I'm unsure if this PR is still a WIP or not, but these changes did not fix the issue for me.
OS: Win 10 Pro 1809
Browser: Firefox Developer Edition 74.0
npm version: 6.13.6
Node version: 12.14.1

Sorry for posting a WIP , I've tested it now it's working

No worries, FYI, Github has a feature specifically for draft PRs that aren't ready yet! Here's a link: https://github.blog/2019-02-14-introducing-draft-pull-requests/
I'll review later today.

I made some slight changes which I think solve better the problem.
Thanks for your contribution 👍


Trying to implement the same qt example as openvr ( qt app in the dashboard )

Hello,
I'm trying to figure out how to implement an example comparable to the one provided by cpp openvr (hellooverlaycontroller) that display a qt window to the steamvr dashboard.
I know we can use a opengl binded texture with "setOverlayTexture", and bind a framebufferobject (FBO) to a qt opengl context (see here for cpp example).
I'm trying my best to understand how to implement this using only pyqt5 and pyopenvr, and I'm confident that I'm not the only who would this kind of example.
So my question is : Do you already did something like that ? Or do you know anythong I might missed, or something that make this impossible ? Any kind of informations would be great.
Bye :)

My deconstruct CPP algorythm from the original example:
Create the opengl context :
m_pOpenGLContext = new QOpenGLContext();
m_pOpenGLContext->setFormat( format );
bSuccess = m_pOpenGLContext->create();

Create an offscreen surface to attach the context and FBO to
m_pOffscreenSurface = new QOffscreenSurface();
m_pOffscreenSurface->create();

Create FBO
m_pFbo = new QOpenGLFramebufferObject( pWidget->width(), pWidget->height(), GL_TEXTURE_2D );

Attach GLContext to offscreensurface and bind FBO:
m_pOpenGLContext->makeCurrent( m_pOffscreenSurface );
m_pFbo->bind();

Create a QGraphicScene that allow to render widgets with a painter of a QOpenGLPaintDevice (for example to take a screenshoot):
m_pScene = new QGraphicsScene();
QOpenGLPaintDevice device( m_pFbo->size() );
QPainter painter( &device );
m_pScene->render( &painter );

Set the texture to openvr overlay
GLuint unTexture = m_pFbo->texture();

if( unTexture != 0 )
{
      vr::Texture_t texture = {(void*)(uintptr_t)unTexture, vr::TextureType_OpenGL, vr::ColorSpace_Auto };
      vr::VROverlay()->SetOverlayTexture( m_ulOverlayHandle, &texture );
}


Strapi4 No Graphql Implementation ?

Thank you @benjamincanac for your amazing & hard work i was waiting this upgrade for a while
i just wanna ask if there is any plan to implement Graphql as we use Strapi Graphql Plugin
Thanks again

Hey @Celibioux,
Indeed, this method went missing while migrating the module to Nuxt 3. I just released v1.1.0 with a new useStrapiGraphQL composable.
Let me know if you have any issue with it.

@benjamincanac Thank you for the amazing work


does ffprobe have a on("end")?

I am using the "ffmpeg.ffprobe(input, function(err, metadata) {" to get the duration of a video input and within this I am doing the ffmpeg(input).on stuff. My question is does ffprobe also have a .on("end") funnctionality. I think I am running into an issue where ffmpeg terminates but not ffprobe. any help?

The callback function is called when ffprobe ends. There is no event facility on ffprobe calls.


Organize queries into a tree-like sturcture for easier navigation

In the project where we are using Django SQL explorer the number of queries has grown so large that it is hard to navigate.
I would propose to add a field path to the query which would function like a regular filesystem path. Based on that path queries could be displayed in the list view as a tree-like structure. For example queries with names A, B, C, D and paths /research/europe/, /research/europe/, /research/usa, and sales, respectively, could be shown as

research

europe

A
B

usa

C

sales

D

This change would be backwards compatible as the path variable would not be required and the path could default to the root directory or some special "uncategorized" category.
Also, this would open up the possibility to use that path for access management in the future such as giving a user read or write access to all queries under a specific path. However, that is just a though and not directly linked to the current proposal.
If that idea sounds interesting, I would be happy to prepare a PR.

Have you seen that it can group queries with the same prefix?

Have you seen that it can group queries with the same prefix?

Where is this documented? I could not find that.

@eeriksp it might not be. I think I discovered it by chance


I was able to cheat a logarithmic scale doing the following:

I was able to cheat a logarithmic scale doing the following:
So on the data, before I gave it to the chart, I used
Math.log(data) / Math.log(2)
Then in the chart options (edited for brevity), I did….
options: {
scale: {
ticks: {
userCallback: function (value, index, values) {
Math.round(Math.pow(2,value));  //SO this will make the scale a logrithmic
},
}
},
tooltips: {
callbacks: {
label: function(tooltipItems, data) {
return fullLabelArray[tooltipItems.index] +': ' + Math.pow(2,tooltipItems.yLabel).toFixed(2);  //This will make the tooltip data back to the original value
}
}
}
Just posting this in case it will help someone in the future.
Originally posted by @JoeKuhns in https://github.com/chartjs/Chart.js/issues/2390#issuecomment-280672074

do you have an example applying this?


Incompatibility with react-icons (maybe other packages?)

Component or Package Name: react-icons
Component or Package Version: 4.12.0
@jsxp-email/cli Version?: 1.7.2
Operating System (or Browser): CLI
Node Version: v21.4.0
Reproduction:

Install react-icons
Generate generic email template
Add import { BiCalendar } from "react-icons/bi"; (or probably any icon from any set).
In the email body, add <BiCalendar /> (or whatever icon is being imported).

Expected Behavior
Expected to build and preview, including the SVG icon, without errors.
Actual Behavior
On build, this will return the following fatal error:
file:///…/node_modules/.pnpm/jsx-email@1.7.2_@types+node@20.8.2_@types+react-dom@18.2.7_@types+react@18.2.21_react@18.2.0_ts-node@10.9.2/node_modules/jsx-email/src/render/jsx-to-string.ts:246
    throw new Error(`Unsupported JSX element type: ${String(type)}`);
          ^
Error: Unsupported JSX element type: [object Object]
    at jsxToString (file:///…/node_modules/.pnpm/jsx-email@1.7.2_@types+node@20.8.2_@types+react-dom@18.2.7_@types+react@18.2.21_react@18.2.0_ts-node@10.9.2/node_modules/jsx-email/src/render/jsx-to-string.ts:246:11)

That last line repeats with different line numbers.
This error also shows in the browser console (but not the CLI console) when attempting to load the email preview app.
Additional Information
As discussed in Discord on January 9, 2024.

This might be a moot point because, as I was reminded on Discord, most email clients still don't support SVG images, so it's actually not a good idea to use React Icons.
Thus, I've updated my code so that it doesn't include any SVG icons anymore, and the email templates build and render properly now.

OK that's good to know. I'd still like to triage this so we have guidance. And, if someone should want to target only an email client that supports SVG, we'd be in good shape for that.

We've had a lot of improvements in the next release (https://github.com/shellscape/jsx-email/issues/203) and will close this one. SVG still isn't supported by most email clients. If anyone runs into another Unsupported JSX element type error, please feel free to ping on this issue or open a new one.


Is this package listed in the APM?

sorry for posting a question here instead of an issue - but if I wanted to move to atom-language-julia from language-julia, how would I do it?
(Perhaps something in README.md?)

Great question.
It is not in APM yet because I am still waiting to hear from @tpoisot (author of tpoisot/language-julia) to see if he is on board supporting this package instead. Hopefully this happens soon.
If you want to use it right now, you can set it up how I did:
apm uninstall language-julia  # removing existing package
cd SOMEWHERE_TO_STORE_REPO
git clone git@github.com:JuliaLang/atom-language-julia.git
apm link atom-language-julia

This will create a symlink from the directory to where you cloned the repo to ~/.atom/packages.

Perfect. Would you mind if I made a PR to README.md with that info?

Nope, not at all.
Again, hopefully this is a temporary procedure that is a stop-gap for early adopters.

PR #4 submitted. Thanks.

I am.  been travelling. Will reply to email later this week end.
Sent from a mobile device - pardon the brevity/typos.
-------- Message d'origine --------
De : Spencer Lyon<EMAIL_ADDRESS>Date : 06/13/2015  12:21 PM  (GMT-05:00)
À : JuliaLang/atom-language-julia<EMAIL_ADDRESS>Cc : Timothée Poisot<EMAIL_ADDRESS>Objet : Re: [atom-language-julia] Is this package listed in the APM? (#2)
Great question.
It is not in APM yet because I am still waiting to hear from @tpoisot (author of tpoisot/language-julia) to see if he is on board supporting this package instead. Hopefully this happens soon.
If you want to use it right now, you can set it up how I did:
apm uninstall language-julia  # removing existing package
cd SOMEWHERE_TO_STORE_REPO
git clone git@github.com:JuliaLang/atom-language-julia.git
apm link atom-language-julia
This will create a symlink from the directory to where you cloned the repo to ~/.atom/packages.
—
Reply to this email directly or view it on GitHub.

@tpoisot that's great, thanks!
No rush. Send a message when you get back and we can collaborate - perhaps on a different platform (gitter, email, ect.)

I'll try to get this sorted out quickly. I think all is needed is to unpublish the package
Sent from a mobile device - pardon the brevity/typos.
-------- Message d'origine --------
De : Spencer Lyon<EMAIL_ADDRESS>Date : 06/13/2015  2:41 PM  (GMT-05:00)
À : JuliaLang/atom-language-julia<EMAIL_ADDRESS>Cc : Timothée Poisot<EMAIL_ADDRESS>Objet : Re: [atom-language-julia] Is this package listed in the APM? (#2)
@tpoisot that's great, thanks!
No rush. Send a message when you get back and we can collaborate - perhaps on a different platform (gitter, email, ect.)
—
Reply to this email directly or view it on GitHub.

If you want to take a look at this and compare it to the package you have, feel free to take a bit more time. I want to make sure you are happy with any differences, seeing as you are the current maintainer of the registered language-julia package.

Package now registered and installable via apm install language-julia

:cake:


storage: make state table iterator return Cow<Row>

My fault. The mem_table_iter is actually a borrowed iterator, so there's no way to avoid this clone if we want an owned Row here.
However, from another point of view, do the callers always want the owned row from the iterator? Maybe returning a Cow<Row> will be better?
Originally posted by @BugenZhao in https://github.com/singularity-data/risingwave/pull/2699#discussion_r879053796

Return data with lifetime in loop will not pass compile 🥵🤪

Return data with lifetime in loop will not pass compile 🥵🤪

Really? The lifetime of borrowed data is the same as the btree_map::Iter. I've tried to implement based on #2885 and it seems compile. 🤣

That's cool! Maybe we can have a try later 🤣


Port Unmark to EditCommand

Make the unmark command use the same paradigm as the mark command, namely the use of EditCommand and EditCommandParser.

Oops, I overlooked this. I should take this issue as well.


SMA and METER problem solved!!!!!

Now I know what the magic cure is!! Found it on a german website and they had the tip from a german solar-forum.
With all the software deinstalling and generally mucking around, I completely forgot one very important thing.
It was suggested to put all SMA on ONE switch, with NOTHING else.  This "SMA-Switch" is then plugged into the switch of your choice, and that is it. Worked like a charm and got all the SMA gremlins sorted. As soon as I put everything back on a single switch, my inverter can't find the HM2 anymore.
Best part, I had a cheapo switch lying around and it worked out just perfect. Was exactly the one recommended to fix this!!! Go figure...
 Worked perfectly for me, "Gerätestatus" is still green. Changes back to red, if everything goes on one switch!!!

Great news!! Some of the comms (especially the EM) requires that the switch supports IGMPv2.
So either your switch supports it, or simply forward these over all ports, bit glad you got it working!!

I would assume that a new, much more expensive switch would be "better" that a cheapo plastic one.
No matter it is working and now I get all data with the SMA-integration and don't need the sma-em integration to figure usages! Perfect.
For me WIN WIN, thank you for your time and effort.


fix link down on readme.md : 404 - page not found

I fixed link to CONTRIBUTING.md on readme which was KO
https://github.com/citrix/citrix-adc-ansible-modules#citrix-adc-and-standard-ansible-modules-in-a-single-playbook

Thank you for your PR @quentinlegay. Due to our policy, we cannot accept the PRs for now.
I have take care of the changes you have mentioned in this PR for the benefit of many others.
Thanks again for the contributions.
Also, we have release a new netscaler.adc ansible collection in place of citrix.adc ansible collection.
If you are a user of citrix.adc ansible collection, I am very sure you will be benefitted by netscaler.adc ansible collection.


Bluzi patch 6

Travis tests has failed
✓ should contain a lowercase name, same as the filename
✓ should not have duplicate names
1) should have ISO-639-3 language codes
2) should have correct structure
Translations
✓ should be lowercase
4 passing (70ms)
2 failing

name files
should have ISO-639-3 language codes:
Error: a is not a valid ISO-639-3 language code in adam.json
at Context.it (test/test.js:52:27)

name files
should have correct structure:
Error: Error in name file "adam.json":
instance.translations additionalProperty "a" exists in instance when not allowed
at Context.it (test/test.js:101:23)

Powered by: Travis Buddy


Operation: Multiple Steganography Operations

This PR adds the ability to browse an image's bit planes, and extract LSB data.
These are widely seen as two of the most common forms of image steganography, and pop up in the good majority of CTFs today.

Will add tests in the next couple days :)

Fantastic. Once you've got the tests in place I'll look at getting these merged. Great stuff.

Tests added, plus a simple RGBA extraction operation with custom delims.

Added one final steg tool - an operation for randomizing image colour palettes, which helps find text hidden in soft colours / in the background. A test has also been added for this :+1:


Not Responsivess in mobile view

Certain parts of the website are not responsive. This issue comes on the iPhone.

The total number of cases on top bar is not completely visible.

The pie charts are also not responsive.

There is a lot of gap between the pie chart and the dos and don'ts.

The table displaying the statewide report does not fit on the screen.

@ishika1727 Thanks for reporting this.
Seems like the responsiveness is breaking for iPhones.
Will fix this pretty soon.

@vinitshahdeo can you assign me this ?


:bomb: Bug(artifactory):  The NodePort Configuration Injection is Failed

What Happened?
Apply artifactory plugin, Customized NodePort cannot be found.

The config file I was used:
        values_yaml: |
          artifactory:
            service:
              type: NodePort
              nodePort: 30002
          nginx:
            enabled: false

The complete configuration is as follows

---
# core config
varFile: "" # If not empty, use the specified external variables config file
toolFile: "" # If not empty, use the specified external tools config file
state: # state config, backend can be local or s3
  backend: local
  options:
    stateFile: devstream.state

---
tools:
  # name of the tool
  - name: artifactory
    # id of the tool instance
    instanceID: default
    # format: name.instanceID; If specified, dtm will make sure the dependency is applied first before handling this tool.
    dependsOn: [ ]
    # options for the plugin
    options:
      create_namespace: true
      repo:
        name: jfrog
        # url of the Helm repo, use self host helm config beacuse official helm does'nt support namespace config
        url: https://charts.jfrog.io
      # Helm chart information
      chart:
        # name of the chart
        chart_name: jfrog/artifactory
        # k8s namespace where Harbor will be installed
        namespace: artifactory
        # release name of the chart
        release_name: artifactory
        # whether to wait for the release to be deployed or not
        wait: true
        # the time to wait for any individual Kubernetes operation (like Jobs for hooks). This defaults to 5m0s
        timeout: 10m
        # whether to perform a CRD upgrade during installation
        upgradeCRDs: true
        values_yaml: |
          artifactory:
            service:
              type: NodePort
              nodePort: 30002
          nginx:
            enabled: false

How to Reproduce?

Prepare the configuration file like above
Execute: dtm apply xxx.yaml

Anything else
N/A
DevStream Version
latest

@steinliber PTAL


Run thru Thoughtbot playbook

https://playbook.thoughtbot.com/#production

Going down the checklist:

We're on the latest heroku stack
We're currently using Unicorn instead of Puma; we should switch. Heroku deployment guide is here: https://devcenter.heroku.com/articles/deploying-rails-applications-with-the-puma-web-server
We don't have any long running jobs at this time, that I know of.
We're good on redundant processes
We're using SSL
We define a safe ruby version in our gemfile
We define configs in env vars
We're currently manually deploying
We have a deploy script (which is basically 'see if it passes CI and works on staging')
**We're not sending logs to a remote service; we should rig that up https://playbook.thoughtbot.com/#log-collection **
We're not using a heroku standard db or higher - we should spot check this and see if we can get by on our janky mLab free Mongo for a little while longer
Backups is an open question that we'll want to make sure is represented somewhere
We don't have a monitoring system / new relic set up yet
We don't have an error tracking service set up yet

Issue-icized; closing


At least for _Brain it would be good to figure out where the overhead comes from -- this is going to contribute at least somewhat to the mne/viz speed as well. @GuillaumeFavelier can you look into it? I know we've looked before but it's worth revisiting again probably.
For example I wonder if one little trick we could use is have a fixture that makes all objects in the scene SetVisible(False) -- if we don't actually look at the output, there's no real reason to burn software renderer cycles on it. For example we could have it in every test that uses pyvista except for one that does each type of rendering (vol, mixed, surf) so that it's still preserved one place. WDYT?

I'll take a look as soon as I can @larsoner

It's an item of #7162

I wonder if one little trick we could use is have a fixture that makes all objects in the scene SetVisible(False) -- if we don't actually look at the output, there's no real reason to burn software renderer cycles on it.

In most of our tests, the plotters are actually closed just after rendering the scene so I'm not sure it's enough. I'll try it of course.
I was thinking about turning _add_mesh or add_actor into a no-op function.

I was thinking about turning _add_mesh or add_actor into a no-op function.

This would actually kill the testing of MNE->pyvista->VTK, so it would be better to avoid this if possible. SetVisible, on the other hand, just kills VTK->GPU (in theory at least; we trust VTK to work at this level I think)

But we set this actor property after everything is already mapped right? I think it's already too late for the GPU

And by "no-op" I mean returning an actor with a mapper associated to no dataset.

I think it's already too late for the GPU

I'd be surprised if a complex scene involving volume rendering for example doing SetVisible(False) had no impact on rendering speed. All computations involving the ray projection and stuff should be skipped completely by an efficient implementation. Maybe it's assuming too much that VTK has done these optimizations.
At the level of the GPU, even things like vertex shaders should have things in vertex and fragment shaders that just quit if they don't need to compute. At the level of the CPU, hopefully the volume rendering ray casting will only be polled by visible actors. In other words, hopefully the SetInputConnection stuff works smartly enough...


aixPB: Add security role for basic hardening steps

Fix #2205
Checklist

[x] commit message has one of the standard prefixes
[ ] faq.md updated if appropriate
[ ] other documentation is changed or added (if applicable)
[ ] playbook changes run through VPC or QPC (if you have access)
[ ] for inventory.yml changes, bastillion/nagios/jenkins updated accordingly

Would someone please review this.

The possible error is that the fileset is already removed (line 18).
I tested manually, and the ignore_errors at line 7 can be removed, because even when disabled, the status is 0.
And, perhaps it is better to signal an error if the agent is not removed successfully.
Making changes.

Well, that was an interesting challenge.

@karianna - can you check again please.

closing: already done via #2453


captcha is not loading on page reload/refresh

I have single page application, captcha load on first time when application load but if i am reloading the page then it not work.
this is my html page where i'm include captcha -
<div vc-recaptcha  key="'xxxxxxxx'"
   ng-model="gRecaptchaResponse"></div>

Now, it is working.
i am including
<script src="https://www.google.com/recaptcha/api.js></script>
instead of <script src="https://www.google.com/recaptcha/api.js?onload=vcRecaptchaApiLoaded&render=explicit" async defer></script>

With the latest version, you do not need that script at all.


2020 Alibaba Summer of Code

Welcome to the open source world!If you haven't planned how to spend this summer, come to the Alibaba Summer of Code and coding with us! 💻
Alibaba Summer of Code is a global program focused on engaging students directly into open source software development. Under the guidance of the mentor in the Alibaba open source project, students experience the software development in the real world.Alibaba Summer of code will begin between May 25th and September 5th. Students can use the summer time to participate in the open source project and work with the core members of the project.

What you can get?
On this exclusive developer journey, students will have the opportunity to:

Participate in the top projects of the International Open Source Foundation;
Get a scholarship from Alibaba;
Obtain an open source contributor certificate;
Get a fast pass of Alibaba Internship/recruitment;
Get your code adopted and used by the open source project！

Our Mentor
GitHub ID：Mercy Ma, Spring Cloud Alibaba PMC
GitHub ID：theonefx, Spring Cloud Alibaba Contributor

Apply Now!
Step 1. You can click on this link to apply directly:
Idea List
Step 2. Full list of Alibaba Summer of Code Projects

中文：https://developer.aliyun.com/topic/summerofcode2020
English:https://www.alibabacloud.com/campaign/summerofcode2020

（备注：5月25日正式上线）

Timeline⏳

Contact us!
Email Address<EMAIL_ADDRESS>

Hello @theonefx , do we have a dedicated channel for this project in the IRC?
Thank you!


Update .travis.yml

ran in to some problems myself with dmd 2.073.1, perhaps it'll show up here also.

@John-Colvin Vibe.d is one of the projects that are run by the Project Tester. This means that on every commit in DMD/Druntime/Phobos all these projects get run. However this setup is still in testing mode.
For more details:
https://ci.dawg.eu/job/projects/

@wilzbach, that's good to know.,
Because Travis is so popular it seems important that vibe.d is tested in that environment. Also useful to test ldc. Also useful to check changes to vibe.d don't break compatibility with older compilers.

I updated to 2.073.2 now on master and 0.7.0 and the tests all succeed. BTW, do the 2.073.1 issues still show up on 2.073.2? I think I had some issues, too, but I can't remember what those were and 2.073.2 appears to work flawlessly.

This seems to have been superseded by another PR. At least both, new compilers are in:
https://github.com/rejectedsoftware/vibe.d/blob/master/.travis.yml
@John-Colvin @s-ludwig can we close this?
Though it might be a good idea to use the dmd, ldc tags to avoid needing to continuously update the travis file, see e.g. https://github.com/rejectedsoftware/vibe.d/pull/1772

Replaced with: https://github.com/rejectedsoftware/vibe.d/pull/1814


Face recognition first call very slow on Jetpack 4.6

Hi - I am trying to use my Nano as much as OOB as possible
Its just been re-created using jetpack 4.6
I have been adapting one of the JetsonHacks ideas to my own code involving facial recognition from video with Face_recognition.
I applied the one line code fix to dlib as outlined in
https://forums.developer.nvidia.com/t/issues-with-dlib-library/72600/16
https://medium.com/@ageitgey/build-a-hardware-based-face-recognition-system-for-150-with-the-nvidia-jetson-nano-and-python-a25cb8c891fd
these relate to dlib 19.16 and 19.17 but it seems to still apply to 19.22
That got face_recognition to use the GPU when model="cnn" was used
However I am finding the startup time to be horrible
the first call to face_recognition.face_locations(imageRGB  ,model="cnn" )  takes 22 to 25 seconds.
subsequent calls take about 0.3 sec to 0.9 sec for larger images
for the 1st call it doesn't matter what size the image is
If the model is changed to model="hog"  then the first call to face_recognition.face_locations, and each subsequent takes about 0.6 sec
Similar results for the calls to face_recognition.face_encodings
Model='cnn' initial 2.69 sec then .04sec  again size doesn't seem to affect it too much
Model='hog' initial from 5.5 to 10 sec then .04sec
Over 20 seconds just feels like a timeout issue, probably between face_recognition and dlib, but that just me using 'the force'
Does anybody have any ideas how to make all these bits play nicely together?
Python 3.6.9
dlib.DLIB_USE_CUDA = True
dlib version = 19.22.0
dlib compiled = Nov 14 2021 16:36:45
face_recognition.__version__ = 1.2.3
cv2.__version__ = 4.1.1
camera = Raspberry V2
cuDNN = 8.2.1

Thanks
JC

I tried falling back to 19.21 and
a) the 1st call to face_recognition.face_locations has dropped to 14 or 15 sec for model=cnn
b) it did NOT need the workaround code fix
So half a solution at least.
JC


Change behaviour of static navigationOptions property.

Current behaviour

When a navigationOptions static property is set on a component used by a Scene, this overrides all navigation options used by the Scene.

New behaviour

When a navigationOptions static property is set on a component used by a Scene, this overrides only those options contained in the navigationOptions property.

Use case

When setting a title using the navigationOptions property, this prevented a back prop added to a Scene from having any effect.
This PR will be useful to help with transitions from using React Navigation.

Example implementation of use case
App.js (entrypoint):
import React, { Component } from 'react';
import { Router, Scene, Drawer, Stack } from 'react-native-router-flux';

import * as Screens from './Screens';

export default class Navigator extends Component {
  render() {
    return (
      <Router>
        <Scene key="root" hideNavBar>
          <Drawer key="main" contentComponent={Screens.MenuDrawer}>
            <Scene key="home" component={Screens.Home} initial />
            <Stack key="myProfileStack">
              <Scene key="myProfile" component={Screens.MyProfile} initial />
              <Scene
                key="changeProfilePicture"
                component={Screens.ChangeProfilePicture}
                back
              />
            </Stack>
          </Drawer>
        </Scene>
      </Router>
    );
  }
}

Screens.js:
import React, { Component } from 'react';
import { Text, View, TouchableOpacity } from 'react-native';
import { Actions } from 'react-native-router-flux';

export class MenuDrawer extends Component {
  render() {
    return (
      <View>
        <TouchableOpacity onPress={Actions.home}>
          <Text>Home</Text>
        </TouchableOpacity>
        <TouchableOpacity onPress={Actions.myProfile}>
          <Text>My Profile</Text>
        </TouchableOpacity>
      </View>
    );
  }
}

export class Home extends Component {
  render() {
    return <Text>Currently at Home</Text>;
  }
}

export class MyProfile extends Component {
  render() {
    return (
      <View>
        <Text>Currently at MyProfile</Text>
        <TouchableOpacity onPress={Actions.changeProfilePicture}>
          <Text>Navigate to Change Profile Picture</Text>
        </TouchableOpacity>
      </View>
    );
  }
}

export class ChangeProfilePicture extends Component {
  render() {
    return <Text>Currently at ChangeProfilePicture</Text>;
  }
}

Description of implementation

Prior to change: If you open the draw menu, navigate to "My Profile", and then navigate to "Change Profile Picture", you will observe that this page has a menu icon, despite having been passed a back prop in the Navigator.
After change: If you open the draw menu, navigate to "My Profile", and then navigate to "Change Profile Picture", you will observe that this page has a back icon, in-line with the expectation of providing a back prop in the Navigator.

Branched off changes from PR, and have created new PR here. Closing.


REMOVE VALIDATION - ORDER ENTRY + EDIT

removed validation
kept error notification for input fields

@pattnaik-soumitri - made the changes, please review!


The gdb will hang when the xf_cliprdr_process_requested_data breakpoint was triggered the second time during copy/paste file.

Describe the bug
I set the breakpoint on  xf_cliprdr_process_requested_data() and try to copy/paste a file.
Generally, this breakpoint will be triggered twice. I found the gdb will hang at the second time. I can do nothing after that.
To Reproduce
Steps to reproduce the behavior:

Build FreeRDP on Ubuntu.(https://github.com/FreeRDP/FreeRDP/wiki/Compilation)
gdb xfreerdp.(gdb --args ./client/X11/xfreerdp /v:/cert-ignore /u:/p:***)
set breakpoint.(b xf_cliprdr_process_requested_data)
copy a file from local to remote.
the breakpoint will be triggered twice. The gdb will hang at the second time.

Expected behavior
GDB shouldn't hang when the breakpoint was triggered.
Screenshots

output of /buildconfig
This is FreeRDP version 2.0.0-dev5 (8c7f8eb)
Build configuration: BUILD_TESTING=OFF BUILTIN_CHANNELS=ON HAVE_AIO_H=1 HAVE_EXECINFO_H=1 HAVE_FCNTL_H=1 HAVE_INTTYPES_H=1 HAVE_MATH_C99_LONG_DOUBLE=1 HAVE_POLL_H=1 HAVE_PTHREAD_MUTEX_TIMEDLOCK=ON HAVE_PTHREAD_MUTEX_TIMEDLOCK_LIB=1 HAVE_PTHREAD_MUTEX_TIMEDLOCK_SYMBOL= HAVE_SYSLOG_H=1 HAVE_SYS_EVENTFD_H=1 HAVE_SYS_FILIO_H= HAVE_SYS_MODEM_H= HAVE_SYS_SELECT_H=1 HAVE_SYS_SOCKIO_H= HAVE_SYS_STRTIO_H= HAVE_SYS_TIMERFD_H=1 HAVE_TM_GMTOFF=1 HAVE_UNISTD_H=1 HAVE_XI_TOUCH_CLASS=1 WITH_ALSA=ON WITH_CCACHE=ON WITH_CHANNELS=ON WITH_CLIENT=ON WITH_CLIENT_AVAILABLE=1 WITH_CLIENT_CHANNELS=ON WITH_CLIENT_CHANNELS_AVAILABLE=1 WITH_CLIENT_COMMON=ON WITH_CLIENT_INTERFACE=OFF WITH_CUPS=OFF WITH_DEBUG_ALL=OFF WITH_DEBUG_CAPABILITIES=OFF WITH_DEBUG_CERTIFICATE=OFF WITH_DEBUG_CHANNELS=OFF WITH_DEBUG_CLIPRDR=OFF WITH_DEBUG_DVC=OFF WITH_DEBUG_KBD=OFF WITH_DEBUG_LICENSE=OFF WITH_DEBUG_MUTEX=OFF WITH_DEBUG_NEGO=OFF WITH_DEBUG_NLA=OFF WITH_DEBUG_NTLM=OFF WITH_DEBUG_RAIL=OFF WITH_DEBUG_RDP=OFF WITH_DEBUG_RDPDR=OFF WITH_DEBUG_RDPEI=OFF WITH_DEBUG_REDIR=OFF WITH_DEBUG_RFX=OFF WITH_DEBUG_RINGBUFFER=OFF WITH_DEBUG_SCARD=OFF WITH_DEBUG_SND=OFF WITH_DEBUG_SVC=OFF WITH_DEBUG_SYMBOLS=OFF WITH_DEBUG_THREADS=OFF WITH_DEBUG_TIMEZONE=OFF WITH_DEBUG_TRANSPORT=OFF WITH_DEBUG_TSG=OFF WITH_DEBUG_TSMF=OFF WITH_DEBUG_WND=OFF WITH_DEBUG_X11=OFF WITH_DEBUG_X11_CLIPRDR=OFF WITH_DEBUG_X11_LOCAL_MOVESIZE=OFF WITH_DEBUG_XV=OFF WITH_DSP_EXPERIMENTAL=OFF WITH_DSP_FFMPEG=OFF WITH_EVENTFD_READ_WRITE=1 WITH_FAAC=OFF WITH_FAAD2=OFF WITH_FFMPEG=TRUE WITH_FFMPEG=TRUE WITH_GFX_H264=ON WITH_GPROF=OFF WITH_GSM=OFF WITH_GSSAPI=OFF WITH_GSTREAMER_0_10=OFF WITH_GSTREAMER_1_0=ON WITH_ICU=OFF WITH_IPP=OFF WITH_JPEG=OFF WITH_LAME=OFF WITH_LIBRARY_VERSIONING=ON WITH_LIBSYSTEMD=OFF WITH_MACAUDIO=OFF WITH_MACAUDIO=OFF WITH_MACAUDIO_AVAILABLE=0 WITH_MANPAGES=ON WITH_MBEDTLS=OFF WITH_OPENH264=OFF WITH_OPENSLES=OFF WITH_OPENSSL=ON WITH_OSS=ON WITH_PCSC=OFF WITH_PROFILER=OFF WITH_PULSE=OFF WITH_SAMPLE=OFF WITH_SANITIZE_ADDRESS=OFF WITH_SANITIZE_ADDRESS_AVAILABLE=1 WITH_SANITIZE_MEMORY=OFF WITH_SANITIZE_MEMORY_AVAILABLE=1 WITH_SANITIZE_THREAD=OFF WITH_SANITIZE_THREAD_AVAILABLE=1 WITH_SERVER=OFF WITH_SERVER_INTERFACE=ON WITH_SMARTCARD_INSPECT=OFF WITH_SOXR=OFF WITH_SSE2=ON WITH_THIRD_PARTY=OFF WITH_VALGRIND_MEMCHECK=OFF WITH_VALGRIND_MEMCHECK_AVAILABLE=1 WITH_WAYLAND=OFF WITH_X11=ON WITH_X264=OFF WITH_XCURSOR=ON WITH_XEXT=ON WITH_XFIXES=ON WITH_XI=ON WITH_XINERAMA=ON WITH_XKBFILE=ON WITH_XRANDR=ON WITH_XRENDER=ON WITH_XSHM=ON WITH_XV=ON WITH_ZLIB=ON
Build type:          DEBUG
CFLAGS:               -fPIC -Wall -Wno-unused-result -Wno-unused-but-set-variable -Wno-deprecated-declarations -fvisibility=hidden -Wimplicit-function-declaration -Wredundant-decls -g -DWINPR_DLL
Compiler:            GNU, 5.4.0
Target architecture: x64

Hi，akallabeth,
Thanks for your reply.
Could you tell me which debug variable I can change? Which's file?
Thanks

Which's lock? Why the first trigger didn't been locked?

@QinLongFei xfc->debug is the variable (mostly responsible to prevent keyboard/mouse lock and set X11 into synchronous mode)

Change "xfc->debug = TRUE;" in xf_client.c doesn't solve this issue. the gdb also will be hanged.


Move Shopify out of master

Move shopify code out of master branch for now.

ooc why did you guys move this out of master? was it because Shopify deprecated Payments apps[0]?
[0] https://shopify.dev/apps/payments


[Carousel/Tab] JS errors when using IE 11

hides resize listener added  which obscures the Coral table.
ensures table is added to the popover content zone rather than at popover end.
ensures children editor is ready before binding events.

Codecov Report

Merging #330 into development will not change coverage.
The diff coverage is n/a.

@@              Coverage Diff               @@
##             development     #330   +/-   ##
==============================================
  Coverage          82.27%   82.27%
  Complexity           879      879
==============================================
  Files                 84       84
  Lines               2804     2804
  Branches             518      518
==============================================
  Hits                2307     2307
  Misses               205      205
  Partials             292      292

Continue to review full report at Codecov.

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


Error installing imagemin module

I get an error when trying to imagemin to any project that has a either a space or a fullstop in the path.
Firstly I get the following error when it comes to a space in the path:
Command failed: 'C:\TFS\Development\Creative' is not recognized as an internal or external command,
operable program or batch file.
Further on I get an error when it comes to a full stop in the path giving me the following error:
Command failed: '.' is not recognized as an internal or external command,
operable program or batch file.
The error would appear to be with optipng-bin module.
My gulpfile.js file:
var gulp = require('gulp');
var imagemin = require('gulp-imagemin');
var pngquant = require('imagemin-pngquant');
gulp.task('imageOptim', function () {
return gulp.src('UI/Images/*')
.pipe(imagemin({
progressive: true,
svgoPlugins: [{removeViewBox: false}],
use: [pngquant()]
}))
.pipe(gulp.dest('UI/Images'));
});
gulp.task('default', function() {
gulp.watch('UI/Images/*',['imageOptim'])
});
I am running this on a Windows 8.1 development machine.

@davidgebbett
Can you show us the output of:
node --version
npm --version

node --version: v0.10.15
npm --version: v2.7.4

node --version: v0.10.15

You're using an ancient version of Node. Regardless of this issue I strongly recommend to use the latest Node.

@davidgebbett Can you try npm install imagemin after upgrading node?

I have upgraded node to v. 0.12.7 It would appear to have fixed the problem, Thanks for your help

@davidgebbett Glad to hear that.
Closing this issue since we should not spent a lot of time for tackling problems cause by Node 0.x. Node v4.0, which is actually v1.0, is coming soon. https://medium.com/node-js-javascript/4-0-is-the-new-1-0-386597a3436d


Can I reconnect after tcp failure?

Greetings.
I'm using boost::asio for tcp work with amqp. After tcp failure, when socket is closed (broken pipe, bad file descriptor etc) can I recover without application restart?
Considering that we close socket, I cannot close channel and cannot close connection. When I try to just restore tcp connection without closing channel/amqp connection I receive some frame, on which I receive exception: frame size exceeded. Looks like there is no uint32, when it's expected.
tcpdump output on normal connect:
Flags [P.], seq<PHONE_NUMBER>:3753889102, ack 750495965, win 229, options [nop,nop,TS val 626410109 ecr 365668103], length 8
	0x0000:  4500 003c 8f3a 4000 4006 2820 0a01 0aa4  E..<.:@.@.(.....
	0x0010:  0a01 64bc b70c 1628 dfbf cd46 2cbb a8dd  ..d....(...F,...
	0x0020:  8018 00e5 e24d 0000 0101 080a 2556 427d  .....M......%VB}
	0x0030:  15cb a707 414d 5150 0000 0901            ....AMQP....
Flags [.], ack<PHONE_NUMBER>, win 219, options [nop,nop,TS val 365668104 ecr 626410109], length 0
	0x0000:  4500 0034 0fd5 4000 3d06 aa8d 0a01 64bc<EMAIL_ADDRESS>	0x0010:  0a01 0aa4 1628 b70c 2cbb a8dd dfbf cd4e  .....(..,......N
	0x0020:  8010 00db 7dfd 0000 0101 080a 15cb a708  ....}...........
	0x0030:  2556 427d                                %VB}
Flags [P.], seq 750495965:750496453, ack<PHONE_NUMBER>, win 219, options [nop,nop,TS val 365668106 ecr 626410109], length 488

tcpdump output on reconnect attempt:
Flags [P.], seq 63835659:63835686, ack<PHONE_NUMBER>, win 229, options [nop,nop,TS val 626454689 ecr 365846422], length 27
	0x0000:  4500 004f fd62 4000 4006 b9e4 0a01 0aa4  E..O.b<EMAIL_ADDRESS>	0x0010:  0a01 64bc b75d 1628 03ce 0e0b dd57 82d5  ..d..].(.....W..
	0x0020:  8018 00e5 71ce 0000 0101 080a 2556 f0a1  ....q.......%V..
	0x0030:  15ce 5f96 0100 0100 0000 0b00 1400 2800  .._...........(.
	0x0040:  0000 0000 0000 ce41 4d51 5000 0009 01    .......AMQP....
Flags [P.], seq<PHONE_NUMBER>:3713499869, ack 63835659, win 219, options [nop,nop,TS val 365846422 ecr 626454689], length 8
	0x0000:  4500 003c dd41 4000 3d06 dd18 0a01 64bc<EMAIL_ADDRESS>	0x0010:  0a01 0aa4 1628 b75d dd57 82d5 03ce 0e0b  .....(.].W......
	0x0020:  8018 00db 8be9 0000 0101 080a 15ce 5f96  .............._.
	0x0030:  2556 f0a1 414d 5150 0000 0901            %V..AMQP....

Can I somehow reconnect, or I cannot recover if I have no tcp connection established?
I realized that actually I can use following sequence: if tcp connection is closed then open new, after that try to close amqp connection, close tcp connection, open new tcp connection, open amqp connection. And that works. However, is there some better way?

You cannot create a new TCP connection and use it with an existing AMQP connection. If the TCP connection is gone, your AMQP connection and channel objects become worthless too. The only thing you can do is either exit the application, or create a brand new TCP connection, a new AMQP connection and new AMQP channel objects.

EmielBruijntjes, thanks for answer. I know that. But I cannot create new AMQP connection with new TCP connection as I stated in question (some strange frame is sended by rabbit).

Can you show the smallest possible example (keep it small!) that demonstrates this? And do not use boost asio, because he asio code code is not part of AMQP-CPP - and the asio example have already been removed from the repository.

I will try to do small example. Btw, I use boost asio, cause it's more natural for our project and handler is highly rewritten for fit in our requirements (few ips, reconnects, threads, waiting for end of operation, etc). Looks like I cannot reconnect at all using libev example, cause I can call ev_run only once in application.

EmielBruijntjes, seems like that is almost impossible. Connection and channel just not created correctly on reconnect attempt (using tcpconnection and tcpchannel). I will try more, however, you will not accept example of this case with boost asio?

I need a very simple and small example that clearly demonstrates when it goes wrong. If you can only get to the error with a long and complex example, the problem is probably somewhere in your complex code, and not inside the AMQP-CPP library.


establish a more elegant way of outputting all QC figures

e.g.: in msct_smooth, msct_register, etc.
ideally, all these QC fig should go in a single QC folder called by the parent function, and then added to the QC report.

ideally, all these QC fig should go in a single QC folder called by the parent function, and then added to the QC report.

Actually I don't agree with this. Those figures are more used for debugging and can confuse users. Status quo is acceptable here