crafty: 23.4 -> 25.0.1 (and: fix the build, remove obsolete options)

Motivation for this change
Crafty doesn't build, among other reasons because it cannot download part of the sources
Things done

[ ] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] OS X
[x] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Download URLs changed to www.craftychess.com
crafty 23.4 doesn't quite build, updated to latest
Modify the wrapping script so that the books are in the user's home (so that
they can be easily modified and also so that crafty can learn)
End game table bases are no longer available (should be built) removed from
now
Platform specific targets changed, I can only test linux, so removed darwin
for now
The enormous pgn is no longer available, removed

update urls
move the books to HOME
So that learning works and we can modify books to control openings
remove leftovers
Delete unused parts
I have no idea how to build for ios, so I fixed linux build only (ios build was
broken anyway, so I removed it)
I couldn't find the new end game table bases, so I removed them for now.

Solving the conflicts, will reopen when is done

No, I don't know how to build this for Mac. make darwin, however, doesn't
seem to exist any longer so the only sure thing is that it won't build for
it if we keep it.
If someone can check how to build this for mac I will be glad to extend the
patch
On 5 October 2016 at 13:42, Jörg Thalheim<EMAIL_ADDRESS>wrote:

@Mic92 commented on this pull request.
In pkgs/games/crafty/default.nix
https://github.com/NixOS/nixpkgs/pull/19229#pullrequestreview-2894803:

buildInputs = [ unzip ];

buildPhase =
if stdenv.isDarwin
then "make darwin"
else if stdenv.isLinux

      then "make linux-amd64"

      else "make";

unpackPhase = ''
mkdir "craftysrc"
unzip $src -d craftysrc
gunzip -c $startPgn > "craftysrc/start.pgn"
'';

buildPhase = ''
cd craftysrc
make unix-gcc

so the assumption that this line build on both platforms?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/NixOS/nixpkgs/pull/19229#pullrequestreview-2894803,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAGktwhzq2fgu2ARgtYsRq0UqMvgAUxaks5qw40LgaJpZM4KN-k6
.

--
Samuel

let's test with hydra until I get my osx vm up and running.

cool, let me know if you find problems!
On 6 October 2016 at 10:04, Jörg Thalheim<EMAIL_ADDRESS>wrote:

let's test with hydra until I get my osx vm up and running.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/NixOS/nixpkgs/pull/19229#issuecomment-251894013, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAGkt1SmJtQM3hqYud41nZa34ZvxSDniks5qxKubgaJpZM4KN-k6
.

--
Samuel

I can't find crafty in hydra? Where should I look for it?


Storing with CloudFiles using days_to_keep and Local using keep does not cycle local packages

I have my model configured to store both locally (via Local) and remotely (via CloudFiles), keeping the last 7 packages locally and for 30 days remotely. The remote packages "cycle" fine as Rackspace is handling it directly, however the local packages do not cycle.
Looking in the YAML data file for this model and the Local storage, I see each package has no_cycle: true, which prevents the package from being removed (https://github.com/backup/backup/blob/c63ac95ba778fc3d825a516d70070a0c154d55a4/lib/backup/storage/cycler.rb#L36). It would appear no_cycle: true is set because the CloudFiles storage is using days_to_keep (https://github.com/backup/backup/blob/42cb46fcf4b2aa352f8e5899095ec086d9b20ec4/lib/backup/storage/cloud_files.rb#L115).
I'm assuming I could switch the CloudFiles storage to use keep instead of days_to_keep and let the gem handle the cycling, but is there a preferred way to configure CloudFiles and Local storage simultaneously in a single model using days_to_keep? Perhaps the no_cycle: true configuration for packages should be set per-storage, so cycling is skipped for CloudFiles but not Local in this scenario.
My config looks like:
store_with CloudFiles do |cf|
  # ...
  cf.days_to_keep = 30
  # ...
end

store_with Local do |local|
  # ...
  local.keep = 7
  # ...
end

I'm using v4.2.2 of the gem and looking at the changelog of v4.2.3 I don't see any changes that would affect this behavior.
Thanks for your time and thank you for backup, it's a wonderful tool.

I suggest a fix in my similar ticket.
https://github.com/backup/backup/issues/815
Add a manual "package.no_cycle = false" to local storage. BUT I don't know what else that could break!


Sending search request...

Dear users,
When I install the plugin everything seems to work. But when I restart the raspberry pi just one time, it don't work anymore.
I have a Yeelight strip wifi with the LAN mode activate.
When i restart the raspberry pi I get an endless [yeelight] Sending search request...
Thanks in advance for your help,

I have the same issue, my lightbulbs don't get discovered unless I turn LAN control off and then on again in the Yeelight app.
I didn't have this issue before, it only appeared after updating the plugin about a month ago

Hello! What version of Homebridge do you have? Since version 1.3.x was released a short time ago, many plugins had to be updated to ensure compatibility. Maybe it is related to a version <1.3.x installed?

Hello! What version of Homebridge do you have? Since version 1.3.x was released a short time ago, many plugins had to be updated to ensure compatibility. Maybe it is related to a version <1.3.x installed?

Hello! What version of Homebridge do you have? Since version 1.3.x was released a short time ago, many plugins had to be updated to ensure compatibility. Maybe it is related to a version <1.3.x installed?

Hi, I actually forgot to post an update here, I tried using an old version of the plugin, and I still had the same issue. Then I tried using and older version of Homebridge, and everything worked fine.
So yeah, I think the problem is related to the newer versions of Homebridge (1.3 and up).

Have the same problem with the 1.3.4 version of Homebridge. Then it is probably waiting for an update...

I have the same issue, my lightbulbs don't get discovered unless I turn LAN control off and then on again in the Yeelight app.
I didn't have this issue before, it only appeared after updating the plugin about a month ago

Thanks for the tip !
Still add the problem ... can we have an update ?

I have downgraded v1.2.5 of Homebridge.
Hope this is going to be fixed soon

I tried to reproduce this with homebridge 1.6.1 and it seems it's no longer happening? If it's still happening please reopen and let me know which steps should I take to reproduce.


test: try using forbidden expression in yaml ctor.

As per subject.
Examples copied from https://nedbatchelder.com/blog/201206/eval_really_is_dangerous.html.

Thanks. Rebased onto (fixed) https://github.com/ros/xacro/pull/252.


Have a packaging template library in autorest

Today, we have --basic-setup-py, and we want to be able to do more than that, with Jinja templating support. For instance, I want to integrate this in autorest:
https://github.com/Azure/azure-sdk-for-python/tree/main/tools/azure-sdk-tools/packaging_tools/templates
Autorest should include those basic templates:

basic-setup-py
azure-sdk-mgmt
azure-sdk-dataplane

We could pass too a folder that contains a tempalte, following the basic structure and defining the keyword you are allowed to use.
Example of calls:
autorest --packaging-template=basic-setup-py
autorest --packaging-template=azure-sdk-mgmt
autorest --packaging-template=c:\git\azure-sdk-for-python\tools/azure-sdk-tools/packaging_tools/templates
For the later, we need to support some predefined variable like "package_pprint_name" where you can write in the Readme:
packaging-configuration:
    package_pprint_name: Azure Mgmt Compute
    package_name: azure-mgmt-compute

as mgmt owner, it has matured pipeline to add basic files for new service. So I will do it for data-plan first.

Hi @lmazuel How about writing scripts to add necessary files(setup.py,CHANGELOG.md, etc) instead of doing that in autorest. It can be more flexible.

@msyyc my understanding is we don't want to force users to use outside scripts, i.e., do another step (and potentially take on another dependency), when we can fold this into autorest and add a flag.
For example, generating a multiapi sdk used to be a two step process: 1. You'd have to generate all of the api versions with autorest, then 2. You'd run a separate script in the azure-sdk-for-python repo. We found it's a better user experience to add the "generate a multiapi sdk" functionality into autorest

Hi, I develop a script to help generate necessary files for new service and write quick-start doc to guide how to create or update LLC package. In the future, we could move those function to autorest.python if needed.
https://github.com/Azure/azure-sdk-for-python/pull/21689


Players with invisibility do not have their nametags set invisible

In maps that have invisibility potions for stealth, nametags should automatically disappear upon receiving the invisibility effect.
https://www.youtube.com/v/MpwOUXiCP4g

@SungMatt doesn't it work exactly like that ATM on ocn?
the only solution i can think of (1.8 minecraft) is when creating the teams, create a "blue team" and a "hidden blue team", when a player gets invisibility, send to players not on the same team the packet that the player joined the "hidden blue team", that way, reds will not see names for players inside "hidden blue team"
still, i would like to see if ocn fixes this at all
https://bugs.mojang.com/browse/MC-48730

@Pablete1234 OCN has implemented this invisible players with invisible nametags since I started playing (Last few months of 2013). Trench Warfare 2 would be hillarious without it, the invisible guys are 2 hits away from death, and with the name tag what is the use of invisibility?

@SungMatt that was in 1.7, in 1.8 it's broken, i know because i've played mutated matches with invisibility

It's a bug related to minecraft / bukkit / sportbukkit, and can't be fixed via cardinal in 1.8, and in 1.9 it's already fixed


is this project alive?

Hi,
is this project still alive?
I've noticed some outstanding PRs and no new releases.
Any help needed?
Thanks

@andrebonna any chance @zlymeda or I or someone can help cut a new release?

@andrebonna @metas-ts @grimsa
Are there any plans of releasing a new version that contains the Introduce different matching modes?
That would help us a ton, not to rely on the order of the fields in the string representation of JSON response
Btw, very nice work on this one!

Hello!  @andrebonna has graciously added me to this project.  Many thanks!

@andrebonna Any updates on when will be the next release taking place? It will be really helpful to have Introduce different matching modes being present in the release.


[BUG] No lap information for Zhou in 2022 Imola sprint race

Describe the issue:
As per the documentation regarding DNFs:
"First lap in a race: A single lap with minimal information will be added in race sessions if a driver does not complete at least one timed lap. The LapStartTime for this lap will be set to the start time of the session as with all other laps in a race. The Time at which this lap was “set” will be set to the time at which the first driver completes their first lap."
Zhou went out in the first lap but has no lap information for this session. I am using version 2.2.5 of fastf1
Reproduce the code example:
import os
import fastf1

cashe_dir = "./cashe"
if not os.path.isdir(cashe_dir):
    os.mkdir(cashe_dir)
fastf1.Cache.enable_cache(cashe_dir)

year = 2022
weekend = 4

qualifying_session = fastf1.get_session(year, weekend, 4)
qualifying_session.load()

print(qualifying_session.laps.pick_driver('ZHO'))

Error message:
Empty Laps
Columns: [Time, DriverNumber, LapTime, LapNumber, Stint, PitOutTime, PitInTime, Sector1Time, Sector2Time, Sector3Time, Sector1SessionTime, Sector2SessionTime, Sector3SessionTime, SpeedI1, SpeedI2, SpeedFL, SpeedST, IsPersonalBest, Compound, TyreLife, FreshTyre, LapStartTime, Team, Driver, TrackStatus, IsAccurate, LapStartDate]
Index: []

Probably this is just the sprint race not being treated like a race. Therefore, no lap is added. If that's the case, then it is a simple fix. I'll check.


mapTextChangesToCodeEditsUsingScriptInfo: Handle tsconfig.json text change

Noticed while looking at #24857 -- there's no ScriptInfo for a tsconfig.json file so we have to use a union.

Latest commit fixes #24857. The problem was that when b.ts is renamed, it becomes part of an inferred project because tsconfig.json only lists certain files. Since we were using program.getSourceFile() to test for file existence, that failed when the file was moved outside of the program.


tests: add tests for isFunctionNode

Summary

part of #1023
added tests for ast-js-utils/isFunctionNode.ts
Test Plan

./rome test --all tests passed

Thank you so much! Sorry about the churn on this one.


fix expression, bump to 3.11 to get pandarallel to work

Pandarallel wants python 3.11. If we just build the package and pass it to our environment the python interpreter can find it and run it.
The python31x.withPackages construct is for packages that are already in Nixpkgs, so when it loads them it makes sure that it has the right version for all the packages and that they'll work.
In this case, we just declare pandarallel with python 311 independently and pass it in.
We could find a working version of pandarallel with 310 if needed but it would take more work.
Bumping everything to 311 works though.

Looks good, I will finish with merging everything until I have finished a full reproduction but the error on startup is definitely fixed. Thanks a lot!


renterd worker-only node fails to start-up

Current Behavior
Looks like renterd worker-only node fails to start up, it tries to connect to itself and gets 404
Using RENTERD_BUS_REMOTE_ADDR environment variable
Using RENTERD_BUS_API_PASSWORD environment variable
Using RENTERD_WORKER_API_PASSWORD environment variable
Using RENTERD_WORKER_ENABLED environment variable
Using RENTERD_WORKER_ID environment variable
Using RENTERD_AUTOPILOT_ENABLED environment variable
2024-06-13T15:08:57Z	INFO	renterd	{"version": "c7b80d4", "network": "Zen Testnet", "commit": "c7b80d4", "buildDate": "2024-06-13T13:05:25Z"}
2024-06-13T15:08:57Z	INFO	connecting to remote bus at http://renterd-bus:9980/api/bus
2024-06-13T15:08:57Z	FATAL	failed to setup worker: failed to register webhook 'http://[::]:9980/api/worker/events.consensus.update', err: failed to add Webhook: Webhook returned unexpected status 404:

envs passed to workers:
~ $ env | grep RENTERD
RENTERD_SEED=*removed*
RENTERD_BUS_API_PASSWORD=*removed*
RENTERD_WORKER_API_PASSWORD=*removed*
RENTERD_BUS_REMOTE_ADDR=http://renterd-bus:9980/api/bus
RENTERD_CONFIG_FILE=/data/renterd.yml
RENTERD_API_PASSWORD=*removed*
RENTERD_AUTOPILOT_ENABLED=false
RENTERD_WORKER_ENABLED=true
RENTERD_WORKER_ID=renterd-worker-1

Expected Behavior
Start without failing
Steps to Reproduce
No response
Version
c7b80d4
What operating system did the problem occur on (e.g. Ubuntu 22.04, macOS 12.0, Windows 11)?
Ubuntu 22.04, kubernetes (https://github.com/artur9010/charts/tree/master/renterd)
Autopilot Config
probably not needed
Bus Config
probably not needed
Contract Set Contracts
probably not needed
Anything else?
No response

What version is your bus?

2024-06-13T15:06:43Z	INFO	renterd	{"version": "c7b80d4", "network": "Zen Testnet", "commit": "c7b80d4", "buildDate": "2024-06-13T13:05:25Z"}
and it started without any issue

Looks like enabling worker (RENTERD_WORKER_ENABLED = true) on bus container solved the issue, worker containers are now starting without any problem.
Also, error message suggests that error is related to worker container, not the bus one
failed to setup worker: failed to register webhook 'http://[::]:9980/api/worker/events.consensus.update'

Hm ok so definitely related to the worker cache PR. I tested a multi node cluster setup though before moving it into review.
This is the bus side:
RENTERD_WORKER_ENABLED=false RENTERD_WORKER_REMOTE_ADDRS=http://<IP_ADDRESS>:9970 RENTERD_WORKER_API_PASSWORD=test ./renterd --openui=false

This is the worker side:
 RENTERD_S3_ENABLED=false RENTERD_AUTOPILOT_ENABLED=false  RENTERD_BUS_REMOTE_ADDR=http://<IP_ADDRESS>:9880/api/bus RENTERD_BUS_API_PASSWORD=test ./renterd  --http=:9970 --openui=false

This works for me on latest dev (c7b80d419db742c82a80fba7f50beec3a896eb0a). It looks like your bus is not finding the worker, how did you configure the bus? Your last message confuses me by the way, I don't see how changing something in your bus container would all of a sudden make your worker containers work. In any case in a multi node setup you likely wouldn't want to enable the worker on your bus node so perhaps we should not focus on that.

For me it works only if I have worker enabled on bus
https://www.youtube.com/watch?v=PbcckHtLgac

how did you configure the bus

~ $ hostname
renterd-bus-0
~ $ env | grep REN
RENTERD_DB_NAME=renterd
RENTERD_SEED=*removed*
RENTERD_DB_METRICS_NAME=renterd_metrics
RENTERD_BUS_API_PASSWORD=*removed*
RENTERD_WORKER_API_PASSWORD=*removed*
RENTERD_DB_PASSWORD=*removed*
RENTERD_DB_URI=mysql:3306
RENTERD_CONFIG_FILE=/data/renterd.yml
RENTERD_DB_USER=renterd
RENTERD_API_PASSWORD=*removed*
RENTERD_AUTOPILOT_ENABLED=false
RENTERD_WORKER_ENABLED=true <--- if I set this to false, then it stops working
~ $ cat /data/renterd.yml
# Managed by Helm - configmap/renterd-bus/renterd.yml
bus:
  gatewayAddr: "<IP_ADDRESS>:9981"

s3:
  enabled: true

bus
RENTERD_WORKER_ENABLED=false
RENTERD_WORKER_REMOTE_ADDRS=http://renterd-worker-0.renterd-worker:9980/api/worker;http://renterd-worker-1.renterd-worker:9980/api/worker;http://renterd-worker-2.renterd-worker:9980/api/worker;http://renterd-worker-3.renterd-worker:9980/api/worker;http://renterd-worker-4.renterd-worker:9980/api/worker;http://renterd-worker-5.renterd-worker:9980/api/worker

bus logs
Using RENTERD_BUS_API_PASSWORD environment variable
Using RENTERD_DB_URI environment variable
Using RENTERD_DB_USER environment variable
Using RENTERD_DB_PASSWORD environment variable
Using RENTERD_DB_NAME environment variable
Using RENTERD_DB_METRICS_NAME environment variable
Using RENTERD_WORKER_REMOTE_ADDRS environment variable
Using RENTERD_WORKER_API_PASSWORD environment variable
Using RENTERD_WORKER_ENABLED environment variable
Using RENTERD_AUTOPILOT_ENABLED environment variable
2024-06-18T22:40:21Z	INFO	renterd	{"version": "c7b80d4", "network": "Zen Testnet", "commit": "c7b80d4", "buildDate": "2024-06-13T13:05:25Z"}
2024-06-18T22:40:21Z	INFO	sql	Using MySQL version 8.4.0
2024-06-18T22:40:21Z	WARN	sql	slow exec	{"query": "\n\tDELETE FROM slabs\n\tWHERE id IN (\n    SELECT id\n    FROM (\n        SELECT slabs.id\n        FROM slabs\n        WHERE NOT EXISTS (\n            SELECT 1 FROM slices WHERE slices.db_slab_id = slabs.id\n        )\n        AND slabs.db_buffered_slab_id IS NULL\n        LIMIT ?\n    ) AS limited\n\t)", "elapsed": "332.124718ms", "stack": "go.sia.tech/renterd/internal/sql.(*loggedTxn).Exec\n\t/renterd/internal/sql/log.go:100\ngo.sia.tech/renterd/stores/sql/mysql.(*MainDatabaseTx).PruneSlabs\n\t/renterd/stores/sql/mysql/main.go:452\ngo.sia.tech/renterd/stores.(*SQLStore).initSlabPruning.func2\n\t/renterd/stores/sql.go:320\ngo.sia.tech/renterd/stores/sql/mysql.(*MainDatabase).Transaction.func1\n\t/renterd/stores/sql/mysql/main.go:73\ngo.sia.tech/renterd/internal/sql.(*DB).transaction\n\t/renterd/internal/sql/sql.go:217\ngo.sia.tech/renterd/internal/sql.(*DB).Transaction\n\t/renterd/internal/sql/sql.go:149\ngo.sia.tech/renterd/stores/sql/mysql.(*MainDatabase).Transaction\n\t/renterd/stores/sql/mysql/main.go:72\ngo.sia.tech/renterd/stores.(*SQLStore).initSlabPruning\n\t/renterd/stores/sql.go:319\ngo.sia.tech/renterd/stores.NewSQLStore\n\t/renterd/stores/sql.go:293\ngo.sia.tech/renterd/internal/node.NewBus\n\t/renterd/internal/node/node.go:141\nmain.main\n\t/renterd/cmd/renterd/main.go:500\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:267"}
2024-06-18T22:40:21Z	INFO	connecting to remote worker at http://renterd-worker-0.renterd-worker:9980/api/worker
2024-06-18T22:40:21Z	INFO	connecting to remote worker at http://renterd-worker-1.renterd-worker:9980/api/worker
2024-06-18T22:40:21Z	INFO	connecting to remote worker at http://renterd-worker-2.renterd-worker:9980/api/worker
2024-06-18T22:40:21Z	INFO	connecting to remote worker at http://renterd-worker-3.renterd-worker:9980/api/worker
2024-06-18T22:40:21Z	INFO	connecting to remote worker at http://renterd-worker-4.renterd-worker:9980/api/worker
2024-06-18T22:40:21Z	INFO	connecting to remote worker at http://renterd-worker-5.renterd-worker:9980/api/worker
2024-06-18T22:40:21Z	INFO	api: Listening on [::]:9980
2024-06-18T22:40:21Z	ERROR	webhooks.webhooks	failed to send Webhook event setting.update to http://[::]:9980/api/worker/events: Webhook returned unexpected status 404:
2024-06-18T22:40:21Z	INFO	bus: Listening on localhost:9981

worker log
Using RENTERD_BUS_REMOTE_ADDR environment variable
Using RENTERD_BUS_API_PASSWORD environment variable
Using RENTERD_WORKER_API_PASSWORD environment variable
Using RENTERD_WORKER_ENABLED environment variable
Using RENTERD_WORKER_ID environment variable
Using RENTERD_AUTOPILOT_ENABLED environment variable
2024-06-18T22:41:56Z	INFO	renterd	{"version": "c7b80d4", "network": "Zen Testnet", "commit": "c7b80d4", "buildDate": "2024-06-13T13:05:25Z"}
2024-06-18T22:41:56Z	INFO	connecting to remote bus at http://renterd-bus:9980/api/bus
2024-06-18T22:41:56Z	FATAL	failed to setup worker: failed to register webhook 'http://[::]:9980/api/worker/events.consensus.update', err: failed to add Webhook: Webhook returned unexpected status 404:

it isn't starting anymore

Ok, well it's because of your worker config. It's the worker's http config that defaults to localhost:9980. The worker is essentially asking the bus to contact it on that address while it should be http://renterd-worker-0.renterd-worker:9980. I guess I'll have to set it up myself so I can guide you through the setup. I've never really ran it in a distributed setup using containers, if I want to test it I just do it locally using different ports.

@artur9010  I opened a PR https://github.com/SiaFoundation/renterd/pull/1324 to allow you to specify the worker's API endpoint, thank you for reporting it

Hm, well it's definitely a use case I'm not familiar with, I've never set up renterd as a k8s cluster. I'm not sure I'm following though because the bus is not aware of the worker pool. The worker needs a bus though, and it's the autopilot that needs to know about all workers. Upscaling workers would require restarting the autopilot, but not the bus. The bus does not process any /api/worker requests, the bus doesn't expose the API it only exposes the bus API. #1324 is still in review, it'll probably change but I don't think we can get around adding a dedicated field to specify the worker's API address in cases where we're dealing with a remote bus.


Sync CL branch with master

Creating a draft PR to merge changes from master to CL in case the CL releases goes from CL branch to master due to stage having changes from MW.
@jonator who do you want to assign this one to?

#1668 Will merge these changes too. I think we can close this PR @daniel-farina

Closing in favor of https://github.com/osmosis-labs/osmosis-frontend/pull/1668


Will not work with go 1.13.x

Might be worthwhile to add a note to the readme that the instructions WILL NOT work with go version 1.13.x. I know there is a note about pinning the travis build, but it is not clear that development will work with any other version. I had to downgrade to version 1.12 after much trial and error.

Hi @yspotts
I will get this upgraded tonight
Sorry about this
Paul

Hi @yspotts
I believe this will now work for you now - if you have any issues, please can you list them here with the error that you are seeing? I am not able to reproduce any failures now
Paul

@stack72 thank you so much for the quick turnaround.
Unfortunately, running the commands exactly as presented on the website, I am getting this error in the make ensure step:
go: downloading github.com/hashicorp/vault v0.10.4
go: extracting github.com/hashicorp/vault v0.10.4
github.com/pulumi/pulumi-keycloak/examples tested by
	github.com/pulumi/pulumi-keycloak/examples.test imports
	github.com/pulumi/pulumi/pkg/testing/integration imports
	github.com/pulumi/pulumi/pkg/resource/stack imports
	github.com/pulumi/pulumi/pkg/secrets/cloud imports
	gocloud.dev/secrets/hashivault imports
	github.com/hashicorp/vault/api: ambiguous import: found github.com/hashicorp/vault/api in multiple modules:
	github.com/hashicorp/vault v0.10.4<EMAIL_ADDRESS>	github.com/hashicorp/vault/api v1.0.5-0.20190909201928-35325e2c3262<EMAIL_ADDRESS>
I am running go version 1.13.4
For reference I am trying to create a pulumi package for keycloak based on:
https://github.com/mrparkers/terraform-provider-keycloak
Thanks!

Hi @yspotts
This is a provider specific issue - you will need to add this to the replace section of go.mod
github.com/hashicorp/vault => github.com/hashicorp/vault v1.2.0

@stack72 thank so much for your help! that worked. You've been very helpful so I hesitate to push further, but hoping you might be able to help me solve my next issue. I'm a newbie to go, so its been a struggle.
The keycloak provider references the schema in github.com/hashicorp/terraform/helper/schema. However, this boilerplate make use of github.com/hashicorp/terraform-plugin-sdk/helper/schema which I would assume is newer. Is there any way to coerce the "old" schema reference into the "newer" schema reference?
Thanks!!

ah!! It's one of those providers
You need to change the provider in the following places:

https://github.com/pulumi/pulumi-vsphere/blob/master/cmd/pulumi-resource-vsphere/main.go#L18
https://github.com/pulumi/pulumi-vsphere/blob/master/cmd/pulumi-tfgen-vsphere/main.go#L18
https://github.com/pulumi/pulumi-vsphere/blob/master/resources.go#L6
https://github.com/pulumi/pulumi-vsphere/blob/master/resources.go#L7

You then need to make some changes in your go.mod
This
github.com/pulumi/pulumi-terraform v0.18.4-0.20191202134852-87cfb4dc8ae1
instead of pulumi-terraform-bridge
and you might need this entire replace section
replace (
	github.com/Azure/azure-sdk-for-go => github.com/Azure/azure-sdk-for-go v31.1.0+incompatible
	github.com/Azure/go-autorest => github.com/Azure/go-autorest v12.4.3+incompatible
	github.com/Nvveen/Gotty => github.com/ijc25/Gotty v0.0.0-20170406111628-a8b993ba6abd
	github.com/Sirupsen/logrus => github.com/sirupsen/logrus v1.4.2-0.20190403091019-9b3cdde74fbe
	github.com/golang/glog => github.com/pulumi/glog v0.0.0-20180820174630-7eaa6ffb71e4
	github.com/hashicorp/vault => github.com/hashicorp/vault v1.2.0
)

Oh wow. Looks like I've got my work cut out for me.
So to be clear I need to change the provider itself in the places your
cited.
And then make a change to the go.mod in the provider or in the cloned
boilerplate?
Thanks so much for your help @stack72!
On Sun, Dec 22, 2019, 5:23 PM Paul Stack<EMAIL_ADDRESS>wrote:

ah!! It's one of those providers
You need to change the provider in the following places:

https://github.com/pulumi/pulumi-vsphere/blob/master/cmd/pulumi-resource-vsphere/main.go#L18
https://github.com/pulumi/pulumi-vsphere/blob/master/cmd/pulumi-tfgen-vsphere/main.go#L18

https://github.com/pulumi/pulumi-vsphere/blob/master/resources.go#L6
https://github.com/pulumi/pulumi-vsphere/blob/master/resources.go#L7

You then need to make some changes in your go.mod
This
github.com/pulumi/pulumi-terraform v0.18.4-0.20191202134852-87cfb4dc8ae1
instead of pulumi-terraform-bridge
and you might need this entire replace section
replace (
github.com/Azure/azure-sdk-for-go => github.com/Azure/azure-sdk-for-go v31.1.0+incompatible
github.com/Azure/go-autorest => github.com/Azure/go-autorest v12.4.3+incompatible
github.com/Nvveen/Gotty => github.com/ijc25/Gotty v0.0.0-20170406111628-a8b993ba6abd
github.com/Sirupsen/logrus => github.com/sirupsen/logrus v1.4.2-0.20190403091019-9b3cdde74fbe
github.com/golang/glog => github.com/pulumi/glog v0.0.0-20180820174630-7eaa6ffb71e4
github.com/hashicorp/vault => github.com/hashicorp/vault v1.2.0
)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/pulumi/pulumi-tf-provider-boilerplate/issues/20?email_source=notifications&email_token=AAGYRYDZRREZ6ALQCEVUFWTQZ7SH3A5CNFSM4J5JD5MKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHP3BQY#issuecomment-568307907,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGYRYE5TA5XSO4VLX4AH3LQZ7SH3ANCNFSM4J5JD5MA
.

you can make all these changes in your copy of the boilerplate. The boilerplate has been set to work with the new terraform-plugin-sdk providers
If you push your code to github and link me, I can send you a PR if you want :)

@stack72 you are too kind!
I sent you a link - https://github.com/yspotts/pulumi-keycloak
On Sun, Dec 22, 2019 at 5:36 PM Paul Stack<EMAIL_ADDRESS>wrote:

you can make all these changes in your copy of the boilerplate. The
boilerplate has been set to work with the new terraform-plugin-sdk providers
If you push your code to github and link me, I can send you a PR if you
want :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/pulumi/pulumi-tf-provider-boilerplate/issues/20?email_source=notifications&email_token=AAGYRYDBWCKYGX4R7RU3KTDQZ7TWXA5CNFSM4J5JD5MKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHP3IPQ#issuecomment-568308798,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGYRYBQG6AW73M7OQOAFQLQZ7TWXANCNFSM4J5JD5MA
.

Hi @yspotts
Now that the xmas break is over - I have sent a PR back to your repo :)
P.


Update Changelog.md

Description
Update changelog
Requirements
None.
Additional changes
None.

Looks good to me. I just wonder if this changelog is worth keeping around, as it will basically be a commit history by date, and we are already documenting changes on the releases

Yes, you are right. Maybe we should delete this file?

Looks good to me. I just wonder if this changelog is worth keeping around, as it will basically be a commit history by date, and we are already documenting changes on the releases

Yes, you are right. Maybe we should delete this file?

Yes, I would advocate for this file to be removed


sync with supported data types in cwise_op_*.

This is an updated version of PR #2244 after the comp128 support from @ibab and based on comments from @girving and @zheng-xq.
I created additional UNARY macros as suggested and used the corresponding macros for each op.
All python tests passed including compat:backwards_compatibility_test.
bazel test //tensorflow/python/...

...

//tensorflow/python:pooling_ops_3d_test                                  PASSED in 20.1s

Executed 1 out of 196 tests: 196 tests pass.

$ bazel test //tensorflow/core/ops/compat:backwards_compatibility_test
INFO: Found 1 test target...
Target //tensorflow/core/ops/compat:backwards_compatibility_test up-to-date:
  bazel-bin/tensorflow/core/ops/compat/backwards_compatibility_test
INFO: Elapsed time: 1.988s, Critical Path: 1.48s
//tensorflow/core/ops/compat:backwards_compatibility_test                PASSED in 0.1s

Executed 1 out of 1 tests: 1 test passes.

Can one of the admins verify this patch?

@googlebot done already!

@hunkim: The commit author is currently "Your name" (you can see this if you do git log).  The CLA check won't pass until you fix the author to your email address.

I recently had the same issue, fixed it by following instructions at https://help.github.com/articles/changing-author-info/ to rewrite the commit history with correct author name/email

Thanks for fixing this.  The file change looks good, but we have to edit the history before the test passes, right?  I suppose I can find out: Jenkins, test this please.

@yaroslavvb Thanks! It is fixed. @girving It seems the Jenkins stopped. :-)

Jenkins, test this please.  I think it stopped since you rewrote the commit: it isn't smart enough to notice that the tree didn't change.

@josh11b: Does it make sense to you that the backwards compatibility test is passing with this change?  It's specifically removing registered dtypes.  The change is good, but it's unnerving me that history surgery wasn't required.

@girving @josh11b It seems //tensorflow/core/ops/compat:backwards_compatibility_test does not work properly. I added this for op name: "Sin" to make the test fail:
--- a/tensorflow/core/ops/compat/ops_history.v0.pbtxt
+++ b/tensorflow/core/ops/compat/ops_history.v0.pbtxt
@@ -16883,7 +16883,8 @@ op {
         type: DT_DOUBLE
         type: DT_INT32
         type: DT_COMPLEX64
-        type: DT_INT64
+        type: DT_STRING
+        type: DT_SHOULD_FAIL
       }
     }
   }

I think the test should fail, but it passes:
INFO: Elapsed time: 3.883s, Critical Path: 0.63s
//tensorflow/core/ops/compat:backwards_compatibility_test                PASSED in 0.6s

Did I miss something?

Hi there! I was wondering if this pull requests adds support for complex number types to Tensor Transformation Ops to the GPU.
I was testing this code on last night's GPU build and ran into
tensorflow.python.framework.errors.InvalidArgumentError: Cannot assign a device to node 'pack_7': Could not satisfy explicit device specification '/device:GPU:0' because no supported kernel for GPU devices is available
	 [[Node: pack_7 = Pack[N=4, T=DT_COMPLEX64, _device="/device:GPU:0"](Complex_4, Complex_5, Complex_6, Complex_7)]]

for complex64 and
tensorflow.python.framework.errors.InvalidArgumentError: Cannot assign a device to node 'pack_7': Could not satisfy explicit device specification '/device:GPU:0' because no supported kernel for GPU devices is available
	 [[Node: pack_7 = Pack[N=4, T=DT_COMPLEX128, _device="/device:GPU:0"](Complex_4, Complex_5, Complex_6, Complex_7)]]

for complex128.
Let me know I should open a separate issue/PR for this.

@sjperkins I think creating a separate issue/PR would be better to keep this PR small.

@hunkim: There was a bug in the backwards compatibility check which Josh fixed.  We'll let you know when that's checked in and pushed.  It's probably easiest to wait until after the test is fixed to update your change for it.  Thank you for uncovering yet another bug!
@sjperkins: Yes, that should be a separate PR.  I think it's orthogonal to this one, so it could happen at any time.

@girving Cool!

@girving is this ready to test / merge?

@vrv: No, a change which Josh submitted internally on Friday is still not external, so we can't make progress.  Is it possible to speed up the lag when externalizing internal changes?

I have the external push out for testing.

Ok, merged the push.  rebase and try again?

Let me know if there is anything I can do on my side.

@hunkim: The internal change fixing the test is finally out, so if you rebase the backwards compatibility test should fail again.  Can you verify that and then do the necessary history surgery to make it pass?

Updated tensorflow/core/ops/compat/ops_history.v0.pbtxt, and my local test passed!
INFO: Found 1 test target...
Target //tensorflow/core/ops/compat:backwards_compatibility_test up-to-date:
  bazel-bin/tensorflow/core/ops/compat/backwards_compatibility_test
INFO: Elapsed time: 1.267s, Critical Path: 0.01s
//tensorflow/core/ops/compat:backwards_compatibility_test       (cached) PASSED in 0.4s

Looks good!  You'll need to squash before submit to avoid a commit with failing tests.  Jenkins, test this please, however.

@hunkim: Can you squash?

We can squash for them when merging now.
On Tue, May 24, 2016, 9:20 AM Geoffrey Irving<EMAIL_ADDRESS>wrote:

@hunkim https://github.com/hunkim: Can you squash?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/tensorflow/tensorflow/pull/2435#issuecomment-221324950

@vrv: Ah, thanks Vijay!  I'll merge as soon as we do a quick check whether this will break an internal-only test.  @hunkim: No need to merge.

Sure. I'm out right now, but do it soon (in a few hours). I wish github had
a button to squash commits. :-)
On Tue, May 24, 2016 at 11:23 AM Geoffrey Irving<EMAIL_ADDRESS>wrote:

@hunkim https://github.com/hunkim: Can you squash?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/tensorflow/tensorflow/pull/2435#issuecomment-221324950

@girving cool!

@hunkim: Thank for the fix!


scenechange event

How can we use scene change event , can I get some code snippet, please

If you're modifying a tour created by the Marzipano Tool:
viewer.addEventListener('sceneChange', () => {
  // add your logic here
});

Thank you for replying but not working even if I changed the scene using scene.switchTo()


Dragging gets stuck when zooming while dragging a marker over a cluster

[ x ] I'm reporting a bug, not asking for help
[ x ] I'm sure this is a Leaflet.MarkerCluster code issue, not an issue with my own code nor with the framework I'm using (Cordova, Ionic, Angular, React…)
[ x ] I've searched through the issues to make sure it's not yet reported

How to reproduce

Leaflet version I'm using:
Leaflet.MarkerCluster version I'm using: 1.0.6
Browser (with version) I'm using: 1.1.0
OS/Platform (with version) I'm using: Windows/Chrome
Open a map with clustered draggable markers
Start dragging a marker above a cluster, zoom in. The cluster will eat the marker and map gets stuck.

What behaviour I'm expecting and which behaviour I'm seeing
I'm expecting markers to be able to dragged and map to be zoomed. Dragged markers should not get clustered. But what seems to be happening is that the cluster will eat the marker if the marker is being dragged above it while zooming.
Minimal example reproducing the issue
For example this is taken from #685: https://jsfiddle.net/3v7hd2vx/245/
In this one the map doesn't get stuck, but the cluster is eating the marker which I believe causes the map getting stuck for me. (My map also got stuck if I removed a marker while it was being dragged)
After updating the fiddle to Leaflet 1.1.0, the map gets stuck like mine: https://jsfiddle.net/3v7hd2vx/343/

[ x ] this example is as simple as possible
[ x ] this example does not rely on any third party code

Also reported to Leaflet: https://github.com/Leaflet/Leaflet/issues/5638
Map getting stuck seems to be issue of theirs, but still a dragged marker should not get grouped while zooming in.

hahaha, nice find.
Hopefully when the lockup is fixed in leaflet it should fix it here?

Haha yeah, the lockup is a Leaflet issue that seems to have been introduced in 1.1.0. But the issue here is that a marker that is being dragged will get clustered if you are dragging it above a cluster and zoom in/out.
For example: Zoom fully in, start dragging a marker, then using the mouse wheel zoom out (and in again) while keeping the marker above a cluster: https://jsfiddle.net/3v7hd2vx/245/

Perhaps my PR #909 will also solve this problem, @jessenic can you test at https://jsfiddle.net/thy3c540/1/ ?

This is improved now, but if the marker would get clustered at the zoom level you zoom out to it still gets merged (I think)

Zooming out while dragging worked in my tests, but there is a problem when zooming in again.  I will try to find out what goes wrong then and will try to provide a fix for this also, but it will take some time.

Cool :)
On Fri, 14 Sep 2018 at 5:54 PM, DerGuteWolf<EMAIL_ADDRESS>wrote:

Zooming out while dragging worked in my tests, but there is a problem when
zooming in again. I will try to find out what goes wrong then and will try
to provide a fix for this also, but it will take some time.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Leaflet/Leaflet.markercluster/issues/808#issuecomment-421239262,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAX_fsFnO8FIPjKJi9CioNYdLb1nnj9Tks5ua0SOgaJpZM4OaAIG
.


Not detecting scales until serial monitor is connected

When starting up ESP-8266 or after re-booting the scales are not detected.
If I start serial monitor on laptop and re-boot the ESP-8266 the scales are detected and everything works ok.

That is strange, i have never had that issue. Could it be a power adapter issue ? How do you power the device ?

Agreed it is a weird one. I'm currently powering via the micro-usb via either laptop or PSU. I have found powering by Micro-USB with my brewpiless keeps things more stable than via 3v3 or 5v.
The condition is totally repeatable.

What board are you using? Have you tested with another esp? I dont think this is software related

I'm using the D1-mini. I will flash another board and report back in a day or so.
Much appreciate the guidance and the project is outstanding cheers.

Which hx board are you using, green, red or purple?

Its the green HX711. I have a few of these too so will replace both boards and see if that fixes it.

I have created a new circuit board so I can change out the D1 mini and HX711. Have tried to boards of each and the same thing. Stumped.
I will keep paying with now I have a better setup and report back if I get it going.

Ok, i can see if i can replicate the issue with a green board

I have a firmware that I use to the sensors and the hardware setup. You could install this on an esp8266 and see what the result is. I will just display the raw values on the 1st OLED screen. If you want to build it via platformIO its the hardware target. This could be extended to help check for hardware issues.
hw_firmware.zip

Again thanks so much for your time and help.
I have flashed the Bin file to the ESP8266:
Display show temp with live data, Scale 1 is 0, Scale 2 is 0, Raw 1 is 0 Raw 2 is 0.
After a few minutes I started serial monitor and within 5 seconds the scale 1 starts to read a value along with the temp. All others remain at 0.
This is repeatable.

May have just found an article that could explain it?
https://www.esp8266.com/viewtopic.php?p=53827
I am using D3 as the data connection to the HX711. Will have to solder up a new board to try on the "scale 2 input" but unsure if that would work with the detail on the site (only one scale can be used with esp8266).

If you use the hx711 you can use 2 scales without probleme on esp8266, its the i2c based adc that is limited to one since the esp8266 only supports one i2c bus.

Can you upload a picture of your esp board? Back and front.

May have just found an article that could explain it?
https://www.esp8266.com/viewtopic.php?p=53827
I am using D3 as the data connection to the HX711. Will have to solder up a new board to try on the "scale 2 input" but unsure if that would work with the detail on the site (only one scale can be used with esp8266).

I dont think this is related. If this is the case it would not boot at all. You could try to add a 3k resistor between d3 and 3v as a test. You could do the same with d4 as well. This shoudl force it to be high and not trigger the boot mode.

These are the two types but I have tried a couple of the v3 boards. All doing the same.
I currently have a 4k7 across D3 and 3v3. I’ve tried 4k7 across just data and data + clock all making no difference. Also good to know about two scales using the hx711 thanks.

I've tried to replicate your problem but on my test build it works fine- I've tested with external power supply to the 5V and both the purple and green HX boards. It boots fine and reads the data as it should
Let me know how your tests are progressing

I am stumped. I Will continue to try different things and see if I can get it going.
I’m now heading out of the UK for a few weeks so will not make any progress for a while. I will report back though should I manage to sort it or fail and give up (unlikely).
As always I appreciate you taking the time to help.
cheers,

Do you have an esp32 s2 mini to see if that works better ?

Hi, back from my vacation and I've spent this morning using a breadboard to aid testing. Following on from the gpio0 (D3) link I decided to move the scale to gpio15 (D8) & gpio14 (D5) and it was recognised. It calibrates and functions correctly every time.
Is it possible to alter the code to move scale one to D8/D5 and scale two to D3/D4? Would this be a lot of work or just on the inital pin setup?
I dont have an ESP32 I'm afraid but I might have to get one.

Yes you can alter the pins in the main.hpp file and then compile your own version.
Just make sure that you dont use the same pins for several functions.

Try this build, https://github.com/mp-se/kegmon/blob/dev/bin/firmware.bin
You can change pin config in the web ui. you need to reboot for it to take effect. I have just done some simple testing...

Thanks so much for updating the .bin in such a short time.
I have been working with the new .bin all morning and I keep getting the same issue. when I go to the config page I get the error "unable to get data from the device". every other page works ok just the config page. Other symptoms are no detail in the new drop down boxes and inability to save with the error "Invalid ID".
I've now tried this on the original three chip and two brand new chips purchased in the hope of resolving things (all wemos D1 mini's). Note that when testing the new chips I have not connected anything to them and not even soldered the pins on the board yet the error is repeated.
sorry for the continued issues.

I know what the problem is, will fix it later today when im at a computer

I've checked in the fix, should be ready in a few minutes when the buiid has been completed

Just uploaded, altered the pin setting, calibrated and tested. Everything is working perfectly!
Thank you so much for all the effort and time you've spent. Absolute legend.


How to Show Hidden Files/Directories Last?

If I use "lsd -a", hidden files and directories are listed first since they start with '.'. I would like for them to actually be listed last.

I would like to have the ability to keep things in alphabetical order but also have hidden files and directories listed after the non hidden files and directories.

As of now, I don't really see a strong usecase for this, but I will keep this open as of now and if there is enough interest we can add --group-hidden flag similar to group directories.

i think this would be better as a config option and not a command switch personally

If this gets implemented, it will be available both as a cli flag and a config option like most others.

This sounds like a collation thing. like LC_COLLATE=C causes hidden files to be first - the only proper way :)

I prefer sorting this way as well; looking to use alongside --group-directories-first: {dirs} {dot dirs} {files} {dot files}

As I commented on #814,
If you don't mind the inefficiency of running ls first, I'm currently using the following work-around to get the sorting that I prefer from ls with the display niceties of lsd (zsh shell on Fedora 38):
alias ll="ls -1X --sort=extension --group-directories-first --color=never | xargs lsd -Uld"

The -1 flag to ls outputs one item per line.
--color=never suppresses terminal escape sequences in the output, leaving pure file and directory names as outputs.
piping to xargs lsd takes the lines of output from ls, in the right order, and makes them arguments for lsd.
-U suppresses the sorting done by lsd, maintaining the order given by the order of the arguments.
-d makes lsd print info on a directory, rather than its contents.


Add quotation marks for basic auth challenge

This is required by RFC 2617

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)

Proposed changes
I try to connect our node-red enpoint with a iOS application . The node-red instance is secured over Basic Auth . Problem right now is that node-red returns www-authenticate: Basic realm=Authorization Required … The std Apple API does not recognise the realm because it is not “quotated” .. The Standard says it must be in quotation marks (https://tools.ietf.org/html/rfc2617#page-4 chapter 2) .. The issue is in red.js (node-red/red.js) line 243
I changed the code and put the Realm into quotation marks like it is specified in the RFC 2617 doc
Checklist

[x] I have read the contribution guidelines
[ ] For non-bugfix PRs, I have discussed this change on the mailing list/slack team.
[x] I have run grunt to verify the unit tests pass
[ ] I have added suitable unit tests to cover the new/changed functionality

Coverage remained the same at 76.466% when pulling e094ea3d2a30e677c343f764bced305c99de0c28 on MatthiasU:master into c685a310560ae9af4b28e14ed466ec788a66984c on node-red:master.


closes #128; deleted an item from top-nav part on azure-sdk-korean blog

Related Issue :  #128
I deleted "Developer Korea 블로그" item on top-nav part of azure-sdk-korean blog.

@microsoft-github-policy-service agree

Looks good thank you


[UI] Enhance title and description of Environments

Desired Behavior
Affect the desired behavior as described in the mockup.
Mockups

Contributor Guides and Handbook

🎨 Wireframes and designs for Meshery UI in Figma (open invite)
🖥 Contributing to Meshery UI
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

Hey there! @leecalcote can you assign me on this issue? I'd like to work on this

Thanks!

Have you built meshery @izuca successfully?

Not yet, @sudhanshutech . I am still reading all the materials so I don't make anything wrong hehe.
But as soon as I finish it, I will build it and start working on this problem

I'm still figuring out the build process, but I've been reading docs and reaching out for help on Slack. I'm committed to solving this and would love to keep the assignment. I'll keep you updated on my progress!


Add one line of documentation on how to run test

It is not always abvious how to run test/demo. Could you add a line of explanation in the readme how to run App.js App.test.js or how to install and use a demo web page with a spectrum.

close by https://github.com/cheminfo/nmr-displayer/commit/360ca377b9903c28a3da01d883c8c293600312e8


Pinned Tabulate package in Azure-cli prevents integrating auth/subscription defaults

Because Azure has pinned this to an older version, we'd have to pin Custodian back to an older version for users to be able to cleanly install via pip.  By changing this people are going to get dependency failures they have to manually resolve, and it is going to be ugly.
Azure-CLI probably shouldn't be pinned to an old version of that popular package, so lets just do the compatiblity tests for them and fix any broken unit tests so they can support a broader range of Tabulate versions.  Win-win.

Turns out their unit tests pass with everything after 0.7.5 (where they first encountered problems and pinned the package) - so submitted PR
https://github.com/Azure/azure-cli/pull/5985

That is merged, expected in their 4/10/2018 release - will keep the issue open until then.

Looks like we were just released in https://github.com/Azure/azure-cli/releases/tag/azure-cli-2.0.31

sounds like this is closed/resolved then.


Install mxnet into anaconda's python

I'm trying to use minpy which requires mxnet in anaconda's jupyter notebook. minpy can be installed using anaconda's pip successfully.
However there is an issue on installing mxnet. I noticed using anaconda's "pip install mxnet" does not work (opencv not found, although opencv.pc clearly exists and the path is correctly set). So I wonder how can I install mxnet into anaconda's python, instead of system's default python by changing some settings? I figured out I can disable using opencv by changing config.mk file. I used a similar way to get both minpy and mxnet work on system's default python.
Thank you.

You should use python setup install under python directory when you are in your anaconda's virtual env.
Follow the instruction here: http://mxnet.readthedocs.org/en/latest/how_to/build.html

do not use 'sudo' when you type 'python setup install', and your anaconda path should be in environment variable PATH.

Can you provide an easy conda installation for mxnet? It will be very usefull!

@RogerBorras do you mean conda install mxnet?

@zihaolucky Yes :)

Okay, I understand. Since I'm not familiar with conda itself, and tensorflow does support conda install tensorflow, so let's do some research and see if that's possible.
Reference:
https://github.com/conda-forge/tensorflow-feedstock

As far as I know, is not difficult to create a conda installer if you have installed the normal Python version. But I have problems to install it in conda distribution. It would be great for a lot of users if you can provide it. Is avaliable an mxnet conda installer for OSX-64 (but not for windows and linux):
https://anaconda.org/derickl/mxnet
Thanks for your amazing mxnet library!

@RogerBorras Yes, the link in my previous comment might provide a promising source to provide this feature for MXNet easy installation :)

@zihaolucky Great!

@zihaolucky Any progress?? :)

@RogerBorras sorry for no any progress on this direction and let you down.
I've check the material above but fail to get any useful information, besides I'm now working on a project to bring TensorBoard to MXNet so I'm afraid I have no enough energy to work on this for a while. But I would keep it and work again when I have time.

@zihaolucky No problem, I use MXNet in R too and Tensorboard in MXNet will be a great feature!!

Hi @RogerBorras @jacklxc
As I'm working on the TensorBoard project, https://github.com/dmlc/tensorboard/pull/2 I learned how to provide a .whl for easy installation just like TensorFlow does. In TensorFlow, they provide different .whl and TF could be easily installed via pip install $TF_BINARY_URL.
Just pack all external dependencies, like libmxnet.so and setup properly in setup.py, then  python setup.py bdist_wheel >/dev/null and you can get the distributable .whl.
I would let you know after I finished the experiment in TensorBoard and provide a proper solution for MXNet.

Great news @zihaolucky! Many thanks for your effort :)

Hi, I have DONE this by this way:
before you execute bash install-mxnet-XXX.sh , you need do some changes in this .sh file. Don't be afraid,it's very sample.

find code in .shfile like this:
runme python setup.py install
change this line to this:
runme /the/absolute/path/to/anaconda/bin/python setup.py install
save the file,and use the bash to run

DONE

Fllowing official installation guid,.At last,you shouldn't use
sudo python setup.py install
Because the sudo option will install mxnet in built in python version.cause anaconda will have a environmental path,you just need to use
python setup.py install
However before that, you should make all the files in ~/mxnet/python with common accecess right,the most easy way is use
sudo chmod  -R 777 ~/mxnet/python
before install.
Note, ~/mxnet/python is the path to your python folder in mxnet,you can use absolute path if any problem happens.

This issue is closed due to lack of activity in the last 90 days. Feel free to reopen if this is still an active issue. Thanks!

We at conda-forge would be happy to help you with the review of an mxnet recipe for conda if someone would be interested in submitting one. Issue ( https://github.com/conda-forge/staged-recipes/issues/4447 ) would be a great place to discuss this if someone would like to step forward.

I figured out a way to install mxnet in conda. I recorded the steps here:

I figured out how to build mxnet from source for conda for macOS 10.12 and 10.13. Here's the step-by-step guide:
https://boknowsit.wordpress.com/2018/05/30/setting-up-mxnet-on-macos-with-conda/


dt-schema: init at v2019.11

Motivation for this change
DeviceTree schema validation. Upstream issue https://github.com/devicetree-org/dt-schema/issues/35
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Please put URL in the homepage field into quotes (RFC45).

Oh, for some reason I've thought it's the other way despite taking the template from docs and removed them, thanks :)

Looks like the upstream issue is resolved, and dt-schema is now on PyPI: https://pypi.org/project/dtschema/. That should allow you to simplify this a bit.

Thanks for the poke, updated.


Fix deactivate caching on active debug

Simply changed WP_DEBUG1 to WP_DEBUG.

Thanks a lot for fix my mistake, forgotten test.


VS code terminal

Type: Feature Request
the vs code terminal is automatically closing and is not working at all
VS Code version: Code 1.85.1 (0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2, 2023-12-13T09:49:37.021Z)
OS version: Windows_NT x64 10.0.19045
Modes:

The terminal gets stuck some time after starting. This happens when any command is run, and not when it is idle. The dialog that shows options to close or keep waiting appears and if I press on Keep Waiting many times, sometimes the terminal recovers with the output of the command.
VSCode Details

Version: 1.85.1
Commit: 0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2
Date: 2023-12-13T09:47:11.635Z
Electron: 25.9.7
ElectronBuildId: 25551756
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: <IP_ADDRESS>-electron.0
OS: Linux x64 6.2.0-39-generic

System
OS: Ubuntu 22.04.03

I believe this is already fixed, can you see if you can reproduce in the Insiders build?
/label info-needed

related https://github.com/microsoft/vscode/issues/201129


Run golint and deadcode and consider cleaning

golint . | wc -l prints 534. 191 of these are not due to lack of documentation and can be cleaned relatively easily. The rest probably deserves a "needs documentation" issue.
find -type d -exec deadcode '{}' \; identifies two non-codegen instances of unused code. These are also easily cleanable (one - cpuprofile is the subject of a PR, the other is graph/iterator/fixed_iterator.go:53:1: newFixed).

Yep -- we are planning to do a gometalinter over the whole codebase in the near future and chase down all the issues.

Now there are only documentation warnings:
imports.go:5:2: a blank import should be only in a main or test package, or have a comment justifying it
imports.go:8:2: a blank import should be only in a main or test package, or have a comment justifying it
imports.go:12:2: exported var StartMorphism should have comment or be unexported
imports.go:18:6: exported type Iterator should have comment or be unexported
imports.go:19:6: exported type QuadStore should have comment or be unexported
imports.go:20:6: exported type QuadWriter should have comment or be unexported
imports.go:22:6: exported type Path should have comment or be unexported
imports.go:24:6: exported type Handle should have comment or be unexported
imports.go:29:1: exported method Handle.Close should have comment or be unexported
imports.go:35:1: exported function Triple should have comment or be unexported
imports.go:39:1: exported function Quad should have comment or be unexported
imports.go:43:1: exported function NewGraph should have comment or be unexported
imports.go:55:1: exported function NewMemoryGraph should have comment or be unexported

Once they will be resolved we can CI on golint to make sure we don't introduce new errors.

Actually, I ran only on the top level

Lint should be done by bash lint.sh as it has defined ignored patterns.

I'd suggest a stronger approach to linting that what you have there. The golangci-lint metalinter does a good job and allows exclusions. The SAAS that they used to provide doesn't exist anymore, but it can be replicated in your CI. We do it like so: https://github.com/gonum/gonum/blob/master/.travis/script.d/check-lint.sh

This looks really cool. If you'd like to integrate this approach it would be very welcome.


Loop

Is there a way to prevent the video from looping?

Not yet. Dupe. https://github.com/googlevr/vrview/issues/87

@borismus Any plans to release this feature in the near future? My client is interested in this plugin but we can't deliver this entirely if we don't have more control over it


Where is the reference documentation for the Cache@2 task?

I'm missing a page under Reference > Tasks > .. that would describe the Cache@2 task, is this still coming?

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

ID: 77c20289-dab2-7a6e-4f63-4b30eaff2c71
Version Independent ID: d75cc196-90c1-8291-9907-ff405bde4edf
Content: Pipeline caching - Azure Pipelines
Content Source: docs/pipelines/caching/index.md
Product: devops
Technology: devops-cicd
GitHub Login: @chasewilson
Microsoft Alias: phwilson

Thanks for your feedback - I'm taking a look!

Hey @mahilleb-msft it looks like this section does what you're asking for - https://docs.microsoft.com/en-us/azure/devops/pipelines/caching/?view=azure-devops#using-the-cache-task - is there any specific info you think its missing?

thanks @damccorm .. Usually there's something like for example https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/build/maven?view=azure-devops under the "Reference > Tasks" section, which has like an overview on just the "schema" if you will...

Ah, I see - that makes sense, I'll look at adding that. Thanks for the suggestion!

thanks @damccorm

Thank you for your feedback.
I've added a doc which should roll out shortly
In the meantime - this is the yaml snippet:
# Cache
# Cache files between runs
- task: Cache@2
  inputs:
    key:
    path:
    #cacheHitVar: # Optional
    #restoreKeys: # Optional

And here's the descriptions:

Argument
Description

Key (unique identifier) for the cache

This should be a string that can be segmented using '|'. File paths can be absolute or relative to $(System.DefaultWorkingDirectory).

Path of the folder to cache

Can be fully qualified or relative to $(System.DefaultWorkingDirectory). Wildcards are not supported. [Variables](https://go.microsoft.com/fwlink/?LinkID=550988) are supported.

Cache hit variable

Variable to set to 'true' when the cache is restored (a cache hit), otherwise set to 'false'.

Additional restore key prefixes

Additional restore key prefixes that are used if the primary key misses. This can be a newline-delimited list of key prefixes.

I'm going to close since this should roll out soon and there's no further work on our end.

Thanks!


Landscape fullscreen example

A example that directly goes into landscape fullscreen mode.

@matamegger Another question: did you plan on extending our fullscreen implementation guide for RN here?
I am already working on updates for this, you can see the suggestion preview here or the diff here.

@matamegger Another question: did you plan on extending our fullscreen implementation guide for RN here?
I am already working on updates for this, you can see the suggestion preview here or the diff here.

Yes, the idea is to extend the guide as well :)


DB2 iSeries: Auto-complete didn't work properly

The auto-complete works only with direct connection to the related table.
Example no.1:
Select xxField1
from MySchema.Tablexx
where xxField2 = 123
Issue: I don't get xxField2 by auto-complete. When deleting the blank line between "from" and "where" the fields of Tablexx are shown.
Example no.2:
Select xxField1, yyField2
from MySchema.Tablexx
join MySchema.Tableyy
on yyField1 = xxField2
where xxField3 = 123
Issue: Auto-complete works only for fields of Tablexx. But at no point the fields of Tableyy are shown.

In case of joins autocomplete works correctly only if you specify table aliases:

Select xxField1, yyField2
from MySchema.Tablexx xx
join MySchema.Tableyy yy
on yy.yyField1 = xx.xxField2
where xx.xxField3 = 123


"install" target is missing

The Makefile generated by cmake does not contain an install target.

Fixed --- "make install" now will install to /usr/local/bin by default.


Multi-mission radioisotope thermoelectric generator knowledge

#839
If your PR is related to a contribution to the taxonomy, please, fill
out the following questionnaire. If not, replace this whole text and the
following questionnaire with whatever information is applicable to your PR.
Describe the contribution to the taxonomy

...
...
...

Input given at the prompt

   ...

Response from the original model

  ...

Response from the fine-tuned model

  ...

Contribution checklist

[ ] The contribution was tested with ilab generate
[ ] No errors or warnings were produced by ilab generate
[ ] All commits are signed off (DCO)
[ ] The qna.yaml file contains at least 5 seed_examples
[ ] The qna.yaml file was linted and prettified (yaml-validator can do both)
[ ] An attribution.txt file in the same folder as the qna.yaml file
[ ] Content does not include PII or otherwise sensitive or confidential information
[ ] Content does not include anything documented in the project's Avoid these Topics guidelines

changed the amount of chars. should fix the linting issue.

Please amend your last commit to include the Signed-off-by. Thanks.

included the Signed-off-by.

included the Signed-off-by.

Hi, you have 8 commits in this PR and 3 are missing the necessary Signed-off-by. All commits need it. So you may want to squash your commits into a single commit that has the proper Signed-off-by. Thanks.

Also please fix the DCO issue(s).

Please rebase of our changes.

hopefully fixed now. sorry for the noise 🙈

Closing due to combined PR here:  #1142


Remove dependency from interface.ts

This PR changes the dependencies a bit so interface.ts becomes leaf node. It also tries to use interfaces as type definition rather than the concrete implementation. The following graph shows the dependencies after this change. This PR closes #150 .

request release 2.54.0 yesterday. However this change breaks promisify on request module as several people pointing out already @https://github.com/request/request/issues/1506. I've downgraded the dependency to request module back to 2.53.0.

Let's back out the stuff to have interface.ts depend upon blpapi-wrapper.ts, so that when the API migrates into the blpapi-node project, there is less churn in the future.

@ericvw Agreed. I've undo some of the changes so that the blpapi-wrapper.ts is now at the leaf. This will ease the migration when that happens.

Rebase & pushed.

lgtm


fix(subtask): do not auto-resume parent task of subtask if parent resolution is paused

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Bug fix

What is the current behavior? (You can also link to an open issue here)
Most of the time, parent resolution in state Paused means that an human operator has stopped the processing for patch management. We should not auto-resume the parent task to prevent any issue.

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
No that much

Other information:

CDS Report test#1439.0 ✘

tests and lint

golangci-lint ✘
unit-test and integration-tests ✔

CDS Report test#1439.1 ✘

tests and lint

golangci-lint ✘
unit-test and integration-tests ✔

Can be reviewed using the 2 commits for more clarity ;)

CDS Report test#1440.0 ✘

tests and lint

golangci-lint ✔
unit-test and integration-tests ✘


refactor!: Rework code for refactored MessageBus Configuration

BREAKING CHANGE: MessageQueue renamed to MessageBus and fields changed. See v3 Migration guide.
Signed-off-by: Leonard Goodell<EMAIL_ADDRESS>

If your build fails due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/device-rfid-llrp-go/blob/main/.github/Contributing.md
PR Checklist
Please check if your PR fulfills the following requirements:

[ ] I am not introducing a breaking change (if you are, flag in conventional commit message with BREAKING CHANGE: describing the break)
[x] I am not introducing a new dependency (add notes below if you are)
[ ] I have added unit tests for the new feature or bug fix (if not, why?)  N/A
[x] I have fully tested (add details below) this the new feature or bug fix (if not, why?)
[ ] I have opened a PR for the related docs change (if not, why?)
TBD

Testing Instructions
Build locally
Run locally with non-secure EdgeX stack and DEBUG logging
Verify service bootstraps successfully (i.e. connects to messagebus)
New Dependency Instructions (If applicable)

Codecov Report

Merging #132 (b3638b7) into main (67743ce) will decrease coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #132      +/-   ##
==========================================
- Coverage   41.08%   41.06%   -0.03%
==========================================
  Files          20       20
  Lines        9006     9006
==========================================
- Hits         3700     3698       -2
- Misses       4139     4140       +1
- Partials     1167     1168       +1

Impacted Files
Coverage Δ

internal/llrp/reader.go
40.79% <0.00%> (-0.45%)
:arrow_down:

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


Create a TimeSeries-RDD

Based on the idea of the TimeSeries Bucket, I suggest to define a "TimeSeriesRDD" for which several core functions are well defined, such as smoothing, filtering, "filling the gap", FFT, etc.  The TimeSeriesRDD would help to abstract the storage details away and offers ways to project, aggregate or even expand the dataset.
In some cases we need event data, in other cases the spectrum is required in contextual normalization using the Time Resolved Relevance Index is an example for integration of additional structural information into the time series analysis procedure. Data wrangling is often not trivial. Because of this, it seems to be useful if a set of primitive transformations is already available as part of a specialized RDD.

Is there a reference for the "TimeSeries Bucket" you're referring to?
I'm wondering whether we need a special RDD for this or just a special class.  In general, the time series that show up in finance aren't large enough that they need to be distributed (observations taken hourly for 20 years come out to tens of thousands of elements).  Of course we may want RDDs that contain many of these time series.  Could a time series RDD confer any benefits that a time series class couldn't?

IMO- you may want to provide utilities instead of a direct RDD because. For instance, my time series analysis algorithms are in windowed DStreams and not RDDs.
It's funny I found this project because I am actually working on something very similar for time series analysis. Ultimately, my goal is to blur the line between streaming and batch.

I was thinking again about the problem, especially to find an answer to: "Could a time series RDD confer any benefits that a time series class couldn't?"
My (current) answer seems to be twofold:
(A) there is no need to have an additional RDD as long as the time series are defined by a time series class. This class can hold also metadata derived from raw data and as long as the datasets are not too large we can have all in one class. But depending on the analysis type it might be helpful to define specific RDDs just to handle metadata and derived data appropriately.
For now, I conclude, no need for an additional RDD.

I think we can close the issue. Do you agree?

So I actually ended up going ahead and implementing a TimeSeriesRDD: https://github.com/cloudera/spark-timeseries/blob/master/src/main/scala/com/cloudera/sparkts/TimeSeriesRDD.scala.  I haven't yet added any of the analysis functions you mentioned, but they could definitely be useful.

Great!
I worked on cleaning up the "Hadoop.TS" code and prepare it for a pull
request on a fresh fork of the spark-timeseries project.
First things I get ready are two random time series generators, and a
simple "TimeSeriesBucket-Viewer".
To collect some real world series on the fly I us the "StockDataLoader".
All the things are in Java, not Scala,
but I hope this is not an issue.
Have a great weekend!
Cheers,
Mirko
[image: cloudera] http://cloudera.com/ Mirko KämpfSenior Instructor
phone: +49 176 206 35 199 <+49%20160%209668%203050>skype: kamir1604
mail<EMAIL_ADDRESS>Cloudera, Inc. http://cloudera.com/1001 Page Mill RoadBuilding 2Palo
Alto, CA 94304
On Fri, Apr 17, 2015 at 7:36 PM, Sandy Ryza<EMAIL_ADDRESS>wrote:

Closed #12 https://github.com/cloudera/spark-timeseries/issues/12.
—
Reply to this email directly or view it on GitHub
https://github.com/cloudera/spark-timeseries/issues/12#event-284101502.

example stock.scala is good. You implement it in java as well?

Hi @Umair044, here is the Java implementation: https://github.com/sryza/spark-ts-examples/blob/master/jvm/src/main/java/com/cloudera/tsexamples/JavaStocks.java

Hi sandy,
Exception in thread "main" java.lang.NoSuchMethodError: scala.reflect.api.JavaUniverse.runtimeMirror(Ljava/lang/ClassLoader;)Lscala/reflect/api/JavaUniverse$JavaMirror;
at org.apache.spark.sql.types.NativeType.(dataTypes.scala:335)
at org.apache.spark.sql.types.StringType.(dataTypes.scala:348)
at org.apache.spark.sql.types.StringType$.(dataTypes.scala:364)
at org.apache.spark.sql.types.StringType$.(dataTypes.scala)
This Exception occur in ur java code, What dependencies I have to add in this project,
I have added following dependencies in pom.xml

org.apache.spark
spark-core_2.10
1.0.0

org.apache.spark
spark-mllib_2.10
1.0.2

org.apache.spark
spark-sql_2.11
1.3.1

and add manually the jars file in java project,
1-      protobuf-java-2.5.0-spark.jar
2-      scala-reflect-2.11.2.jar
3-      sparkts-0.3.0-jar-with-dependencies.jar
4-      spark-cassandra-connector-assembly-1.4.0-SNAPSHOT.jar
5-      joda-time-2.0.jar
From: Sandy Ryza<EMAIL_ADDRESS>Sent: Tuesday, August 16, 2016 1:57 AM
To: sryza/spark-timeseries
Cc: Umair Iqbal; Mention
Subject: Re: [sryza/spark-timeseries] Create a TimeSeries-RDD (#12)
Hi @Umair044https://github.com/Umair044, here is the Java implementation: https://github.com/sryza/spark-ts-examples/blob/master/jvm/src/main/java/com/cloudera/tsexamples/JavaStocks.java
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/sryza/spark-timeseries/issues/12#issuecomment-239926806, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AT_012zRWXOI61bZLSFwpjlmuPqxrRioks5qgNK0gaJpZM4DvqA7.

@sryza  I need a little help from you.

@Umair044, it looks like you have artifacts with multiple versions of Scala (both 2.10 and 2.11), as well as multiple versions of Spark (1.0.0, 1.0.2, and 1.3.1).  It's likely that one of these is causing the problem.

@sryza for your code what version should i use for it. So that i can study more about timeSeriesRDD.

@sryza Hello sandy,
I want to ask one thing , Can I do data scaling/resampling through sparkts. If yes then any help can I get from you . Any classes/methods are in sparkts liberary ?

Hello sandy,
I want to ask one thing , Can I do data scaling/resampling through sparkts. If yes then any help can I get from you . Any classes/methods are in sparkts liberary ?
Regards,
Umair
From: Sandy Ryza<EMAIL_ADDRESS>Sent: Tuesday, August 16, 2016 8:20 PM
To: sryza/spark-timeseries
Cc: Umair Iqbal; Mention
Subject: Re: [sryza/spark-timeseries] Create a TimeSeries-RDD (#12)
@Umair044https://github.com/Umair044, it looks like you have artifacts with multiple versions of Scala (both 2.10 and 2.11), as well as multiple versions of Spark (1.0.0, 1.0.2, and 1.3.1). It's likely that one of these is causing the problem.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/sryza/spark-timeseries/issues/12#issuecomment-240135969, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AT_013Lch7VABmV_KyPDEVf-afSoaDFBks5qgdU7gaJpZM4DvqA7.

It's preferable to ask questions like these on the mailing list, where anyone with relevant context might be able to chip in.


[Q]  User-specified vs Estimated bitrate

Good day,
I am new to TSDuck, and I am using its output
to measure the performance of a video service in my lab.
I confess that I am also new to video streaming;
my interest lies in measuring power use of video service infrastructure.
This disclaimer might justify the basic level of my question.
I am streaming a video across a LAN using ffmpeg and
measuring its parameters using tsp and the analyze plugin.
tsp's output is a series of files,
where each file reports measurements
over a 5-second interval of measurement.
In each such output file, I see:
(1) a user-specified bitrate and
(2) a bitrate that is "Estimated based on PCR's".
Both bitrates vary from file to file.
I don't understand what is "user-specified",
nor what the analyze plugin is measuring
to report two distinct measurements.
I have searched and found out about
the method used to produce the "Estimate based on PCR's", but
I am still unable to understand the "user-specified" bitrate.
With thanks,
Etienne

Hi @edepa
First, to establish a context, there are two kinds of transport streams, as far as bitrate is concerned: CBR, constant bitrate, and VBR, variable bitrate.
Broadcast streams, the original usage for transport streams, are always CBR because the modulation schemes always produce a constant bitrate. TSDuck was originally developed in a CBR-only context when I worked for a TV operator (satellite, cable, terrestrial) and needed test tools.
Video streaming over IP has no such modulation constraints. The streams can be VBR, meaning that the bitrate changes all the time. In a VBR stream, the bitrate can be only an average over a given period of time. In your case, the TS can be CBR or VBR, it depends on the ffmpeg encoding parameters.
Second, TSDuck is a test tool which is supposed to work on any context, any type of input, live streams, offline stored files or any kind of input the speed of which is different from the playout speed. Therefore, in generic modules such as the analysis one, TSDuck never relies on wall-clock time to compute bitrates.
Now, how can we analyze a the bitrate of a stream? As you noticed, counting the number of packets (and therefore bits) between PCR timestamps is a good way of getting the average bitrate between these two timestamps. However, this method has some limitations:

The stream may be incorrect, corrupted, inaccurate, incorrectly multiplexed, etc. and PCR are not reliable.
Very few PID's have PCR. Typically, there is only one PCR stream per service, usually the video PID or a dedicated one.
To compute the average bitrate of PID's without PCR, we need to have an idea of the TS global bitrate and then we count packets in each PID.

So, as you noticed, the TS bitrate which is "estimated based on PCR's" is an average of all bitrates which were computed from all PID's containing PCR's.

On a perfectly captured broadcast CBR stream, without loss of packets, this value is very close to the theoretical bitrate value from the modulation parameters. However, the theoretical value is precise to the bit (or even "sub-bit") while the evaluation is based on an integral number of TS packets = 8 x 188 = 1504 bits. So, there is always a measurement granularity of 1504 bits. The shorter the TS is, the larger difference you will find between the evaluated and theoretical value.
On a VBR stream, the evaluation is not precise, essentially because when the bitrate is variable, there is no single bitrate value to extract from the stream or any PID.

Because this method is more or less precise, depending on the context, there is a possibility for some "higher authority" (ie. the "user") to specify a bitrate which is assumed to be more precise. In that case, this TS bitrate value is used to compute the individual bitrates of all PID's.
When the analysis is triggered from the command tsanalyze, this value is taken from the optional --bitrate parameter (hence, the name "user-defined"). If this parameter is unused, then the user-specified bitrate is simply "None".
When the analysis is triggered from the analyze plugin in command tsp, it depends on the input. Somehow, the input plugin evaluates the "user-defined" bitrate. This bitrate is propagated from plugin to plugin.
In decreasing order of precedence:

There is a global option tsp --bitrate which says to all plugins "this is the right global bitrate to consider, ignore any other".
In "reliable" input plugins which are able to compute an exact input bitrate, this one is used. This includes the dvb plugin which computes the theoretical bitrate from the modulation parameters or the dektec plugin which reads the actual bitrate from a hardware real-time device.
On other inputs (file, ip, etc), when the input has no intrinsic bitrate, the tsp framework recomputes an evaluated bitrate based on PCR's from time to time. So, in essence, this is the same thing as the PCR-based evaluation in the analysis module. However, because the measurement points are not synchronized between tsp and the analyze plugin, because of granularity artefacts, the two values are not always identical, although relatively close.
Additionally, be aware that intermediate plugins may remove packets (PID or service extraction, filtering, etc). In that cases, the global TS bitrate is modified (reduced) after these plugins. For performance reasons, the bitrate is not re-evaluated after each plugin. Consequently, the propagated input bitrate becomes incorrect. To solve this, the plugin pcrbitrate is a way to re-evaluate the bitrate of the TS at that point in the plugin chain, and propagates it downstream, ignoring the input bitrate after that point. Because the user is supposed to understand what he does, when a plugin needs to know the TS bitrate but a previous plugin broke the bitrate by removing packets, then an instance of pcrbitrate shall be inserted between the two.

At the end, the analysis module has a "selected reference bitrate" which either the user-specified one or the PCR-based one. In the context of tsp
Hope this helps...

Thank you @lelegard , it was indeed helpful.
Thank you also for the time you took to write in detail!
Please excuse my late acknowledgement;
I was reading your reply and hoping to open an intelligent conversation, but
there is so much to read and assimilate that
if I were to wait until I reassure myself that I have taken it all in,
I would probably only reply in a few days' time.
I hope to revert later this week
with a comment affirming full understanding of your note.


duplicated assembly exists in ck editor install package

Description of bug
duplicated assembly exists in ck editor install package and it will cause install error in some environments with DFS enabled.
Screenshots

Error log
System.UnauthorizedAccessException: Access to the path '\dnn.local\DNNDFS\dnnsftwre\Install\Temp\wezni42l\bin\DNNConnect.CKEditorProvider.dll' is denied.
Additional context
Workaround: modify the install package and delete one of the duplicated files, then can install successfully.
Affected version

[ ] 10.0.0 nightly build
[ ] 9.4.1 nightly build
[ ] 9.4.0 release candidate
[ ] 9.3.2 latest supported release

@zyhfish Thanks for reporting/posting this! I just upgraded a client's site (hosted on a VPS at Managed.com, formerly PowerDNN) from v9.1.1 to v9.3.2 and encountered this. The upgrade wizard stopped at 64% and it took me a while to detect the same issue you reported. I just wasn't sure how to resolve it until I found this post.
Would like to suggest a new/corrected download (v9.3.3?) be posted immediately, or at least have the release notes updated to reflect this issue, as it was a showstopper for me.

As a quick fix to not delay 9.4.0 release, we are manually removing this duplicate file in the actual release zip for now. We are keeping this issue to do a better fix as part of 9.4.1

@valadas should we move this issue to the 9.4.1 milestone?

I just isolated this to the CkEditor repository, moving this issue there and I am working on it.

Merged


"Compositions of aggregates and other expressions are not allowed." when using 'Any'

Describe the bug
I've got a Cosmos db linq query, and if I call 'Any()' on that query, it gives me the following exception:

Compositions of aggregates and other expressions are not allowed.

But if I use 'Count() > 0' it does what I need. I thought 'any' was supported now?
To Reproduce
Execute a linq expression with a where clause and 'Any()'.
Expected behavior
Same behaviour as I get with 'Count() > 0'.
Actual behavior
Throws 400: Compositions of aggregates and other expressions are not allowed.
Environment summary
SDK Version: 3.3.0
OS Version: Windows 10
Additional context
Add any other context about the problem here (for example, complete stack traces or logs).

Response status code does not indicate success: 400 Substatus: 0 Reason: (Message: {"Errors":["Compositions of aggregates and other expressions are not allowed."]}).

at Microsoft.Azure.Cosmos.ResponseMessage.EnsureSuccessStatusCode()
at Microsoft.Azure.Cosmos.CosmosResponseFactory.CreateQueryFeedResponseHelper[T](ResponseMessage cosmosResponseMessage, Boolean usePropertySerializer)
at Microsoft.Azure.Cosmos.FeedIteratorCore1.<ReadNextAsync>d__5.MoveNext()    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at Microsoft.Azure.Cosmos.Linq.CosmosLinqQuery1.d__20.MoveNext()
at System.Collections.Generic.List1.AddEnumerable(IEnumerable1 enumerable)
at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source)    at Microsoft.Azure.Cosmos.Linq.CosmosLinqQueryProvider.Execute[TResult](Expression expression)    at System.Linq.Queryable.Any[TSource](IQueryable1 source)

@khdang can you please take a look?

Any() is supported when it is nested in another operator, such as Where in this expression: collection.Where(item => item.subItems.Any(subItem => subItem.property1 > 0))
This is a known issue only in the SDK for Any() on the top level expression. for example in this expression: collection.Any(). For such expression, the LINQ provider translates to the closest SQL query which is SELECT VALUE COUNT(1) > 0 .... However evaluation on the aggregate expression is not supported yet on the SDK.
As you mentioned, the workaround for this case would be to do Count() > 0 on the client which is equivalent to Any().


Automatic Language Checking when writing Problem Statements

Is your feature request related to a problem?
English is not my mother tongue, so I make some language mistakes when writing a problem statement for a text exercise or when creating questions for the quizzes. Currently, I always have to copy the written text to another platform, e.g., Grammarly, which checks for language mistakes. This is quite time-consuming.
Describe the solution you'd like
It would be great if the problem statements and questions I create in Artemis are automatically checked for language mistakes. E.g., by integrating Grammarly. TUM already has a license, so it would be quite convenient.
Describe alternatives you've considered
No response
Additional context
No response

Would be a nice feature, yes 👍 if someone is willing to implement that, great. But it might not be as easy as it sounds

Maybe such a feature could be provided indirectly. There are Browser Plugins for Grammarly and LanguageTool (another services which can be also run local, without transfer all you texts to some cloud). I am using LanguageTool, and it automatically works in many text input field on the web, which are for multiple lines (e.g. the text pox for the GitHub comments here).
The Problem Statements in Artemis are not recognized by the Plugin. Maybe this problem with the Plugin could be solved to provide language checking. Recognizability for this field maybe also increase accessibility for other tools like screen readers.

Any idea what we need to accomplish so the problem statement will be recognized?

According to a Grammarly Support article

Grammarly’s browser plugin mainly supports textarea and div elements with contenteditable=”true.” Grammarly doesn't work in input fields.

Note: Our product also requires custom integration for cases of iFrame usage. If your text fields are using iFrame, please contact us by submitting a request here, and we will help you with the issue.

Since we are using the ace editor it may be somewhat difficult, as it is not using a single text area. When this is changed to use Monaco it will seemingly not be much easier: https://github.com/microsoft/monaco-editor/issues/1977

@BaumiCoder great idea. Any idea what we need to accomplish so the problem statement will be recognized?

Sorry, I do not know which kind of text fields are considered by the LanguageTool Plugin. I could not find any technical documentation of the plugin. (The existing repo for the source code is of an old version. The actual seems to be closed-source.)
In the places, where Monaco is already in use in Artemis, the LanguageTool Plugin does not work. I am not sure if it recognizes that there is source code displayed in some way (and it does not check source code) or if it has an general problem with Monaco.


dashboard analytics, edits to metadata

https://twitter.com/vphill/status/1123262330329018368?s=19

Edits are made in ArchivesSpace.


Fix world preview not working

Also fixed the world/chat view not loading messages. Problem was with css min-height property preventing h-view-sdk to auto backfill messages.

does not load if you haven't already loaded it.

Will it be a good idea to load world automatically when opening with url? cuz it will start downloading assets in future?

Sorry that was a bad description. I meant that the url doesn't currently load the room information so you can then join the room.
We may start loading the world's assets in the background when navigating to a url and we can make that a configurable option for low bandwidth situations.

Looks great!


Vulnerability roundup 92: lua-5.1.5: 1 advisory [7.8]

search, files

[ ] CVE-2020-24342 CVSSv3=7.8 (nixos-20.03, nixos-unstable)

Scanned versions: nixos-20.03: 925ae0dee63; nixos-unstable: c59ea8b8a0e.

See also: #94743, #93990

Only applies on lua 5.4 https://ubuntu.com/security/CVE-2020-24342