Folder name must be in string error

I've been using the dev branch for a few months and it was working just fine. After updating my wpstarter based project with composer update and then cloning it to a new directory and running composer install it gives the "Folder name must be in a string" error and stops there. Here's the screenshot of the error.

I've tried to switch to the master branch and it worked. There is no clue about why and where the error happens. Actually it seems that the error happens in wpconfig step.
Here is my composer.json file
{
	"name": "tricarte/wpready3",
	"type": "project",
	"description": "wpstarter test project",
	"minimum-stability": "dev",
	"prefer-stable": true,
	"license": "MIT",
	"require": {
		"composer/installers": "^1.11",
		"johnpbloch/wordpress": "^6.0",
		"wecodemore/wpstarter": "dev-dev",
		"dg/adminer-custom": "^1.28",
		"wpackagist-plugin/custom-post-type-permalinks": "^3.4.4",
		"wpackagist-plugin/custom-post-type-ui": "^1.9.2",
		"wpackagist-plugin/duplicate-post": "^4.1.2",
		"wpackagist-plugin/pre-publish-checklist": "^1.1.1",
		"wpackagist-plugin/query-monitor": "^3.7.1",
		"wpackagist-plugin/widget-shortcode": "^0.3.5",
		"wpackagist-plugin/bulk-delete": "^6.0.2",
		"wpackagist-plugin/safe-svg": "^2.0.0",
		"wpackagist-plugin/passwords-evolved": "^1.3.0",
		"wpackagist-plugin/better-search-replace": "^1.3.4",
		"wpackagist-plugin/wayfinder": "^1.0.7",
		"wpackagist-plugin/rest-api-toolbox": "^1.4.3",
		"wpackagist-plugin/icon-block": "^1.0.0",
		"wpackagist-plugin/async-javascript": "^<IP_ADDRESS>",
		"wpackagist-plugin/gutenberg": "*",
		"wpackagist-theme/blockbase": "^3.0.5",
		"wpackagist-plugin/block-xray-attributes": "^1.1.1",
		"wpackagist-plugin/rollback-update-failure": "3.3.1",
		"wpackagist-plugin/reveal-ids-for-wp-admin-25": "^1.5.4",
		"wpackagist-plugin/show-hooks": "^0.4",
		"wpackagist-plugin/wp-mailhog-smtp": "^1.0.1",
		"wpackagist-plugin/clarity-ad-blocker": "^1.3.220307",
		"wpackagist-plugin/rewrite-rules-inspector": "^1.3.1",
		"wpackagist-plugin/apcu-manager": "^3.1.1",
		"wpackagist-plugin/surge": "^1.0.3",
		"wpackagist-plugin/fluent-smtp": "^2.1.1",
		"wpackagist-plugin/log-http-requests": "^1.3.1",
		"wpackagist-plugin/patchstack": "^2.1.18",
		"wpackagist-plugin/create-block-theme": "^1.1.2",
		"wpackagist-plugin/reusable-blocks-extended": "^0.9",
		"wpackagist-plugin/lorem-ipsum-blocks": "^1.3.0",
		"wpackagist-plugin/wp-console": "^2.3.1"
	},
	"config": {
		"optimize-autoloader": true,
		"allow-plugins": {
			"johnpbloch/wordpress-core-installer": true,
			"composer/installers": true,
			"wecodemore/wpstarter": true
		}
	},
	"extra": {
		"wpstarter": {
			"register-theme-folder": true,
			"templates-dir": "./custom-templates",
			"prevent-overwrite": [
				".gitignore",
				"public/wp-config.php",
				"public/index.php"
			]
		},
		"installer-paths": {
			"public/content/plugins/{$name}": [
				"type:wordpress-plugin"
			],
			"public/content/mu-plugins/{$name}": [
				"type:wordpress-muplugin"
			],
			"public/content/themes/{$name}": [
				"type:wordpress-theme"
			],
			"public/content/{$name}": [
				"type:wordpress-dropin"
			]
		},
		"wordpress-content-dir": "public/content",
		"wordpress-install-dir": "public/cms"
	},
	"repositories": [
		{
			"type": "composer",
			"url": "https://wpackagist.org"
		},
		{
			"type": "git",
			"url": "https://github.com/wecodemore/wpstarter.git"
		}
	]
}

OS: Ubuntu 22.04
PHP: 8.1.16

Hi @tricarte
There have been a lot of work in the last weeks in the dev branch. This is because I want to push to have the a RC version soon, and then stable.
It was not my intention to introduce breaking changes, I'll try to find some time soon to investigate.
In the meantime, please do no use "master" that is so far  thev2 of WP Starter.
If you want to stay on the "safe side" please require a release, like 3.0.0@beta so you can get one of the releases instead of the dev branch where work might happen.

OK, I've started using "wecodemore/wpstarter": "^3.0.0-beta.13" and got back to normal. Thank you.

@tricarte I found this issue and it will be fixed in the next release.
I only have a question: in your example, I see you have "prevent-overwrite" for public/wp-config.php. Can I ask why? There are a lot of things in wp-config.php that change dynamically and many settings rely on wp-config.php to be created dynamically.

To be honest, I really don't remember why. Probably misunderstanding of the setting or I've tried adding some custom code to public/wp-config.php which I know I shouldn't. And I think the same thing applies to "public/index.php"?

public/index.php might get some changes across versions, yes.
Before I release v3 stable, for example, I'll probably change it (even from the last beta). But when a version is stable you can expect no changes on  public/index.php, so if you really need it, you could keep it fixed.
But I hope WP Starter could offer better alternatives to whatever reason there's behind editing index.php directly.


Article contribution 16/03

See #126

@bernhard-thiele Did you already check the changes?

No, I missed it. I get many notifications from different projects, but I think I didn't get a notification for this issue. Maybe I need to check the configuration. Anyway, I will have a look at it now.


Not able to mount fuse under a give path multiple times in Linux

I am testing hellofs example in Linux (CentOS 6). For very first time, I mounted successfully under "/root/adrive". When I tried next time to mount under same path, the mount failed without any error. However, it can succesfully mount again with new path E.g. "/root/adrive1".
Can you please help me on this?

In Linux FUSE a file system does not get unmounted when the file system process goes away. This is by design in Linux FUSE/libfuse.
Cgofuse uses libfuse underneath and in general works in a similar manner. Cgofuse tries to automatically unmount the file system when it is shutdown in an orderly manner. However when it is forcibly killed it is unable to do so and you must manually use fusermount to unmount the file system.


Can you provide the finetune and evaluate source code?

Hi! I am trying to use your dataset to finetune and evaluate my own model, can you provide the code of finetuning and evaluation? And how can I read the finetune_eval_dataset file in the hugging face link provided by you? I try to use pickle.load but it doesn't work.
Thanks in advance!

Me too

Hi! Could you please provide the source code of the project? I want to train my own model, thanks a lot!


Converting from django-tenant-schemas to django-tenants

It seems like I made the mistake of using django-tenant-schemas instead of this, as this is much more active.
Is there an easy (eek!) way for me to convert my app to use django-tenants instead?

It shouldn't be too hard to do the main difference in the domain model.  If you using the standard I would copy it from DTS and see if it works. As that would mean it might just work. There are other differences but not that many

Ok, I'm giving this a shot.  I swapped out "tenant_schemas" for "django_tenants" throughout my project, and updated the few other things that have changed (added .main to the middleware etc)
When I try to run my test suite I'm getting this:
LookupError: No installed app with label 'django_cache'.  which seems to be coming from django_tenants/routers.py
Not sure what that's refering too?  I don't have anything like that in my installed apps.  Is this because I had to change these lines in my settings.py CACHES = ...?
'KEY_FUNCTION': 'django_tenants.cache.make_key',
'REVERSE_KEY_FUNCTION': 'django_tenants.cache.reverse_key'

Stacktrace:
Creating test database for alias 'default'...
Traceback (most recent call last):
  File "/home/tylere/Developer/hackerspace/venv/lib/python3.7/site-packages/django/apps/registry.py", line 155, in get_app_config
    return self.app_configs[app_label]
KeyError: 'django_cache'

@tylerecouture I haven't seen this error before

Solved that problem!  Turns out it was a problem with django-select2's cache.  I don't know WHAT the problem was, or why switching to django-tenants broke it, but we were able to fix it.
Some notes for future reference:
https://github.com/timberline-secondary/hackerspace/pull/486
The next big barrier is that the your TenantMixin doesn't use domain_url like django-tenant-schemasdoes and instead uses a seperateDomain` model.

That’s easy write a script which copies the domain url into the other table. You could either write it as a datamigration or a manager command


fix(*) Update URL to notification widget

The notification banner URL was never changed from Mashape and was causing a 404

LGTM, although could probably be removed nowadays - this was especially useful at a time where we had multiple websites to publish announcements to.


Bug 1878040: operator: rename etcd CRD to name from repo

Preparation for https://github.com/openshift/cluster-etcd-operator/pull/455.

/lgtm


Bug when building WorkerOptions

Expected Behavior
Have different values of maxConcurrentActivityExecutionSize and maxConcurrentLocalActivityExecutionSize when configuring WorkerOptions.
Actual Behavior
maxConcurrentLocalActivityExecutionSize is configured using maxConcurrentActivityExecutionSize when building the object:
Taken from WorkerOptions.Builder.build() here:
    public WorkerOptions build() {
      return new WorkerOptions(
          maxWorkerActivitiesPerSecond,
          maxConcurrentActivityExecutionSize,
          maxConcurrentWorkflowTaskExecutionSize,
          maxConcurrentActivityExecutionSize,
          maxTaskQueueActivitiesPerSecond,
          workflowPollThreadCount,
          activityPollThreadCount,
          localActivityWorkerOnly,
          defaultDeadlockDetectionTimeout);
    }

It should be:
    public WorkerOptions build() {
      return new WorkerOptions(
          maxWorkerActivitiesPerSecond,
          maxConcurrentActivityExecutionSize,
          maxConcurrentWorkflowTaskExecutionSize,
          maxConcurrentLocalActivityExecutionSize,
          maxTaskQueueActivitiesPerSecond,
          workflowPollThreadCount,
          activityPollThreadCount,
          localActivityWorkerOnly,
          defaultDeadlockDetectionTimeout);
    }

See the change on the 4th argument.
Steps to Reproduce the Problem

Create an WorkerOptions.Builder object.
Set the attribute maxConcurrentActivityExecutionSize with value 10
Set the attribute maxConcurrentLocalActivityExecutionSize with value 200
Call build over the Builder instance
Check that the built object WorkerOptions will have both maxConcurrentActivityExecutionSize and maxConcurrentLocalActivityExecutionSize with value 10.

Specifications

Version: temporal-sdk-1.3.1
Platform: java

Confirm, thanks for the report!
Please use validateAndBuildWithDefaults as a temporary workaround if you need one. This is our main method to build Options instances right now.


add support for windows server 2012

Add support for Windows Server 2012 Standard and Datacenter edition
Cleanup indents and trailing spaces/tabs

Going to open new PR with support for both windows 2012 and 2016


update sdk47

Description
Closes: #XXXX

Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow-up issues.
I have...

[ ] included the correct type prefix in the PR title
[ ] added ! to the type prefix if API or client breaking change
[ ] targeted the correct branch (see PR Targeting)
[ ] provided a link to the relevant issue or specification
[ ] included the necessary unit and integration tests
[ ] added a changelog entry to CHANGELOG.md
[ ] included comments for documenting Go code
[ ] updated the relevant documentation or specification
[ ] reviewed "Files changed" and left comments if necessary
[ ] confirmed all CI checks have passed

cosmos-sdk will not be considered within near future. lets close this as code will be far away from current state when v0.47.x  comes in

so can you create a new branch for me to pull to? @troian


How to get the output of an LSTM layer in a neural network language model

Hi,
I implemented a neural language model, which has an embedding layer, an LSTM layer and a Dense layer with softmax activation. Basically it looks like this (not the actual code):
model = Sequantial()
model.add(Embedding())
model.add(LSTM(return_sequence=True, stateful=True))
model.add(TimeDistributed(Dense(, activation='softmax')))
Right now, the model has been successfully trained.
During prediction I feed the network one word each time (batch_size=1, and step_size=1), and only want the LSTM layer's output (vector h) as a numpy array object, how can I get this?
======================
I've tried model.get_layer('lstm_1').output, but it is a tensor object.
When I try model.get_layer('lstm_1').output.eval(session=K.get_session(),feed_dict={K.learning_phase():0}), I got the following error:
tensorflow.python.framework.errors_impl.InvalidArgumentError: You must feed a value for placeholder tensor 'word' with dtype int32 and shape [1,1]
[[Node: word = Placeholderdtype=DT_INT32, shape=[1,1], _device="/job:localhost/replica:0/task:0/gpu:0"]]

Hello,
You should probably define your model using submodels.
Then you can use a model for training and a model for predicting which will share weights.
submodelwithouttop = Sequantial()
submodelwithouttop.add(Embedding())
submodelwithouttop.add(LSTM(return_sequence=True, stateful=True))

inp = Input(...)
trainingOut = TimeDistributed(Dense(, activation='softmax'))( submodelwithouttop(inp) )
modelfortraining = Model(inp,trainingOut)

inp = Input()
predictionOut =submodelwithouttop(inp)
modelForPrediction = Model( inp,predictionOut)

The code is written by others that I don't want to change it too much.

Then you can try :
https://keras.io/getting-started/faq/#how-can-i-obtain-the-output-of-an-intermediate-layer


How to use this when the SellerId and auth token is available in the config

It is requiring me to input the access key and secret key in the config. Is it possible to edit it that it will require only the MWS Auth Token, and SellerId? Thanks

The key is used to generate the hash signature that goes with the request, so I don't know if you can go without it completely. I don't know enough about how the MWS Auth Token is used.

Thank you. And I really need to test it on how it works. Thanks. Good day!


Redis 3.2

Hi,
I wonder if there is a plan to have redis 3.2 ported to windows too and if so approximately when?
Thanks.

Hi @awaizman1
we are currently evaluating the effort of porting Redis 3.2 to Windows.
We don't have official news yet, but we will communicate more details in the upcoming weeks.
Thank you.

@enricogior any news on that?

Hi all,
today we release a technical preview of Redis on Windows 3.2.
It's still in early development, so we don't have a date for the stable release yet.

Awesome! Looking forward to testing it
2016-06-14 20:02 GMT+03:00 Enrico Giordani<EMAIL_ADDRESS>
Hi all,
today we release a technical preview
https://github.com/MSOpenTech/redis/releases/tag/win-3.2.0000-preview
of Redis on Windows 3.2.
It's still in early development, so we don't have a date for the stable
release yet.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/MSOpenTech/redis/issues/463#issuecomment-225947439,
or mute the thread
https://github.com/notifications/unsubscribe/AALnfF1XaNa5EMxW0jvh8JDA0hSUnp_qks5qLt6MgaJpZM4IkXmw
.

--
Yours faithfully,
Gleb

Hi,
Thanks for the tech preview. Do you have a date for the stable release?

It appears that a stable release of 3.2 is out as an unsigned binary, but there's no package available on nuget. Any chance of the new version being packaged?

@chester89 , do you have any recommendations on hardware prerequisite for Redis 3.2 on windows platform?

@rupendra-sharma depends on how much data you want to store, what's your
regular workload and what you're consistency requirements are (e.g. can you
lose data for last 5 minutes if your machine goes down and persistence
wasn't invoked during this period).
I'm still running 2.8.x in production, so can't say for 3.2.
My main usecase is for storage, NOT cache, so I prefer to flush to disk the
sooner the better.
The only thing I found is that you need a fast disk for persistency (if you
need persistency at all). I don't have exact numbers, but I'd recommend
against SCSI hard drive.
That's my take, your test results may vary.
What are your usecase? How much data would you likely have?

2017-11-30 12:43 GMT+03:00 Riky<EMAIL_ADDRESS>
@chester89 https://github.com/chester89 , do you have any
recommendations on hardware prerequisite for Redis 3.2 on windows platform?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftArchive/redis/issues/463#issuecomment-348135039,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AALnfL12qFVZ_hhgDf--K8q4AJRfXyWMks5s7niugaJpZM4IkXmw
.

--
Yours faithfully,
Gleb

@chester89 , I am running a Redis cluster with 9 nodes distributed across 3 windows machines. The workload is primarily of Cache. The data could be 4-5 GB distributed across different Redis shards . But we run Redis as session state provider also so the cache should be durable.
The user load is almost 5k concurrent user request at a time.
Could you please suggest something now for a single machine?

@chester89 , just wondering if you can get sometime from your busy schedule to suggest something.
Thanks

@Riky I can't recommend anything for 3.2 setup, since I'm haven't run Redis
cluster in any environment

2017-12-04 7:20 GMT+03:00 Riky<EMAIL_ADDRESS>
@chester89 https://github.com/chester89 , just wondering if you can get
sometime from your busy schedule to suggest something.
Thanks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftArchive/redis/issues/463#issuecomment-348857126,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AALnfEP-QVkFoLpt-rFp4djrCOEs13vuks5s83MHgaJpZM4IkXmw
.

--
Yours faithfully,
Gleb

sorry wrong mention @rupendra-sharma

2017-12-11 13:07 GMT+03:00 Gleb Chermennov<EMAIL_ADDRESS>
@Riky I can't recommend anything for 3.2 setup, since I'm haven't run
Redis cluster in any environment

2017-12-04 7:20 GMT+03:00 Riky<EMAIL_ADDRESS>
@chester89 https://github.com/chester89 , just wondering if you can
get sometime from your busy schedule to suggest something.
Thanks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftArchive/redis/issues/463#issuecomment-348857126,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AALnfEP-QVkFoLpt-rFp4djrCOEs13vuks5s83MHgaJpZM4IkXmw
.

--
Yours faithfully,
Gleb

--
Yours faithfully,
Gleb

Thanks @chester89 . Can you refer someone from the Microsoft team which can provide such a information?

@rupendra-sharma I don't have such an info. Since the project is in archive
repo, I doubt MS programmers will support it.
I suggest you try it out on a single machine first, without a cluster, then
shard the dataset. Using your test environment, of course.
Please keep in mind that, IIRC, Redis Cluster is yet to support the whole
dataset' backup with one command
https://github.com/antirez/redis/issues/2463
2017-12-12 11:40 GMT+03:00 Riky<EMAIL_ADDRESS>
Thanks @chester89 https://github.com/chester89 . Can you refer someone
from the Microsoft team which can provide such a information?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftArchive/redis/issues/463#issuecomment-350982509,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AALnfDm2tWNPGsKxmSEqXbLNTe62eJpfks5s_jvmgaJpZM4IkXmw
.

--
Yours faithfully,
Gleb

@rupendra-sharma You said you are currently running 9 nodes across 3 windows servers. Are you currently running Redis 3.2? What are the specifications on those three machines (total memory/free memory, processor types/average CPU usage, other processes running on the machines, etc.) and are they currently being overloaded by the 5K concurrent user requests? That would help determine what it would take from one machine to replace all three. Another question, why would you want to move from a cluster to one machine and give up redundancy?
You should also check out the Redis 4.0.2 release by tporadowski at  https://github.com/tporadowski/redis

Hi @fpdavis
Please find answers on your questions as:

Are you currently running Redis 3.2
yes I am running Redis 3.2
What are the specifications on those three machines (total memory/free memory, processor types/average CPU usage, other processes running on the machines, etc.)
Each machine run on 32GB RAM with 16 Core of processors . One machine run an IIS server with almost 30 website load. The other machine runs a Sql server with almost 10-15 databases and almost 30 GB data. The other machine run a RabbitMQ cluster with 8 nodes

are they currently being overloaded by the 5K concurrent user requests
5K user load is expected in few months but not now.

why would you want to move from a cluster to one machine and give up redundancy
I am not planning anything like that. My point was if I get the information on the optimal hardware requirements for single Redis Node, I can calculate the hardware needs for 9 nodes across 3 servers.

You should also check out the Redis 4.0.2 release by tporadowski at https://github.com/tporadowski/redis
Even after almost 2 years of the release of Redis 3.2, Microsoft is still not sure about the possibilities of Redis 3.2 for a production environment. I am sure same story is with Redis 4.0.2. I would prefer the official Redis port on Linux, but its my customer who has a preference on the windows environment the only reason why I have to run simulations on Redis 3.2 on windows.


feat: add framework for rwd cert projects

This adds the framework for being able to create and submit new RWD cert projects. It doesn't actually change anything from the users perspective yet. I added a challengeType of 14 for them - I added 13 on the Data Science PR, so I skipped that here.
You can test this by adding "usesMultifileEditor": true to the meta of the block with the tribute page.
And change the build-a-tribute-page.md file to this:
---
id: bd7158d8c442eddfaeb5bd18
title: Build a Tribute Page
challengeType: 14
forumTopicId: 301147
dashedName: build-a-tribute-page
---

# --description--

User stories here

# --hints--

Auto pass test

```js
assert(true)
```

# --seed--

## --seed-contents--

```html

```

```css

```

It will save your project to the database with the manuallyApproved flag. If you want to set the flag to true, you can use this query in the mongo shell: db.user.update({ "completedChallenges.manuallyApproved": false }, { $set: { "completedChallenges.$.manuallyApproved": true }})
Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #XXXXX

Neat!


Work with Mamba?

Is there a way to make this package work with mamba (specifically micromamba) instead of conda?
I get the following error and my envs don't show up unless manually installed.
[E 2024-03-04 11:20:04.378 ServerApp] [nb_conda_kernels] couldn't call conda:
    [Errno 2] No such file or directory: 'conda'

This is a duplicate of #234; so I'm going to close it, but not for negative reasons.

No idea how I didn't find that issue before making this one. Thanks for taking a look.

No worries at all.


Some items open up scrolled to the bottom

See title. Some items that consistently show this behavior:

Open recaf in itself
Open style/text-default.css
Bug occurs

For comparison, style/text-dark.css does not showcase the bug...

This was caused by.... empty blank lines at the end of text-areas???? Ok then. Anyways, will be fixed in 2.6.0


Workflow sample for BigQuery does not paginate through results

Expected Behavior
The code from https://github.com/GoogleCloudPlatform/workflows-samples/blob/main/src/bigquery_pagetoken.workflows.yaml to allow you to page through BigQuery results as reported.
Found code via https://cloud.google.com/workflows/docs/paginate-bigquery-results
Actual Behavior
The code sample uses googleapis.bigquery.v2.jobs.query instead of googleapis.bigquery.v2.jobs.insert so it creates a synchronous BigQuery API call, returning all rows which overflows Workflows execution if of any size.
Steps to Reproduce the Problem

Run code on https://github.com/GoogleCloudPlatform/workflows-samples/blob/main/src/bigquery_pagetoken.workflows.yaml with a large BigQuery table

Fix
I replaced the code with googleapis.bigquery.v2.jobs.insert and it worked:

    - startQuery:
        call: googleapis.bigquery.v2.jobs.insert
        args:
            projectId: ${projectId}
            body:
                configuration:
                    query:
                        useLegacySql: false
                        query: ${bq_query}

I am unable to reproduce the issue


can't create a database, results is "error":"log closed"

Hello
Compiled and passed tests of the current branch. influxd starts fine.
The command :
curl -G 'http://localhost:8086/query' --data-urlencode "q=CREATE DATABASE mydb"
results in the following result
{"results":[{"error":"log closed"}]}
searcing into the code, this seems to be related to raft but I have no clue on the root cause.

i found the root cause.
Here is my config:
[broker]
Where the Raft logs are stored. The user running InfluxDB will need read/write access.
dir  = "/var/influxdb/broker"
port = 8086
I created the /var/influxdb/broker manually before starting influxd ==> I got a message "log pending"
I deleted the "broker" directory ==> influxd starts, creates the directory and all is OK, I can create a database, etc.

@jfzw42 perhaps when you manually created the directory you forgot to give influxdb user access to the log file?
sudo chown +R  influxdb:influcdb /var/influxdb

@dashesy, user and group were ok, and influxd created the subdirectory raft and the meta file but not the other directory (named '0' in my case).

should be fixed in latest version.


Ensure correct handling when user switched Bluetooth or GPS off

User story

As a user
I want / need to be informed of basic functionalities (Bluetooth and GPS) the app is based on
So that I know transparently about the reasons for app misbehavior

Acceptance criteria

[ ] Ensure popup appears when user enters the app with Bluetooth or GPS switched off that prompts user to switch on Bluetooth and GPS
[ ] If the user does not activate Bluetooth or GPS, a note will appear: "Attention, currently Bluetooth or GPS are not activated. Thus, the basic functionalities of this app are affected and cannot be used."
[ ] If user first switches on Bluetooth or GPS when he enters the app and then after a short time switches it off manually, the same note will appear after 5 seconds (with background service)
[ ] Ensure and demo correct app behavior for android and iOS

Definition of done (DoD)

It builds without errors
code has been reviewed
Build has been made and deployed on a testing environment
Code coverage >75%
All acceptance criteria were met
Documentation updated whenever needed within planning documents (Tabs: Bill of materials, Documentations)
Branch/feature was merged into dev and then main

DoD general criteria

Feature has been fully implemented
Feature has been merged into the mainline
All acceptance criteria were met
Product owner approved features
All tests are passing
Developers agreed to release

@codingwithelijah @Meisterlu
The current implementation works as follows:
A service is running in the background and checks every 5 seconds wether bluetooth and GPS are activated. If not a pop up appears.
Is it necessary to show a banner all the time if one of the services is not active? The effort to implement it would be considerably higher (in that case we would switch to the event handler solution, since we do not want the banner being shown when the service is already activated).

Thank you guys for showing your progress! @jannikbmc @Wandinad
No need for the banner. Instead would it be possible to add "Please return to the app after you have enabled following services". And after the user has clicked ok the app closes itself.

@Meisterlu we hardly recommend to not close the app.
Currently the app checks every five seconds that Bluetooth and Geolocation are activated. If we would close the app after hitting OK the app becomes unusable after that time.
I'd rather leave it at that, as the user currently gets disturbed every five seconds anyway.

@Meisterlu we hardly recommend to not close the app.
Currently the app checks every five seconds that Bluetooth and Geolocation are activated. If we would close the app after hitting OK the app becomes unusable after that time.
I'd rather leave it at that, as the user currently gets disturbed every five seconds anyway.

Thanks for the update, @jannikbmc: Fine for now. Let´s discuss it in detail tomorrow in the team meeting.


*: cargo fmt

I scanned through the changes and didn't spot anything clearly off. Also, CI is still green. LGTM.


Configure Azure Pipelines

This pipeline configuration builds the application and produces a build for the Release configuration

Oops! not the right repo!


test: fix a vm live test issue(hope it is the last one)

The root cause was, the test was recorded before CLI adjusted the default lun number on data disks

Looks like CI was not triggered. So closing and opening it to see whether it makes difference.

Codecov Report

Merging #2475 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #2475      +/-   ##
==========================================
+ Coverage   72.45%   72.45%   +<.01%
==========================================
  Files         362      362
  Lines       19547    19550       +3
  Branches     2865     2866       +1
==========================================
+ Hits        14162    14165       +3
  Misses       4472     4472
  Partials      913      913

Impacted Files
Coverage Δ

...azure-cli-core/azure/cli/core/commands/init.py
80.18% <0%> (+0.18%)
:white_check_mark:

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 6aea1ba...ec322b1. Read the comment docs.


Main menu

Free and cool Material Design backgrounds: https://www.behance.net/gallery/18526001/Material-Wallpaper


KEB Overrides_From_Secrets_And_Config steps must fail if overrides not found

Description
Overrides_From_Secrets_And_Config are looking for static overrides for given version and plan. If not found, the process must fail instead of retry, which does not make sense.
Expected result
Steps fails in case of no overrides available
Actual result
Steps are retrying.

Tests need to be added. PR:

Fix has been provided. Closing.


GITS reset not working

As of now GITS reset does not duplicate the local repo with the remote repo. Working on this issue.

Updated the command. Should work as desired.


logging: how to make a Logger the default std logger?

Hi,
With the V1 logging API, there was an easy way not only to make a Google Cloud Logger the default one, e.g.
logc, _ := logging.NewClient(context.Background(), projID, "myprojectstderr") log.SetOutput(logc.Writer(logging.Debug))
but even better, to let the default logger write to both Google Cloud Logger, and say, stderr, at the same time:
logc, _ := logging.NewClient(context.Background(), projID, "myprojectstderr") log.SetOutput(io.MultiWriter(os.Stderr, logc.Writer(logging.Debug)))
I've noticed that the Writer method is gone from the V2 API, and I haven't found any obvious replacement.
What is now the idiomatic way to do something like the above with the V2?
Regards,
Mathieu

There isn't a way. But if you have a logger, you could write your own io.Writer implementation quite easily:
type writer struct {
    severity logging.Severity
    logger   *logging.Logger
}

func (w writer) Write(p []byte) (n int, err error) {
    w.logger.Log(logging.Entry{
        Severity: w.severity,
        Payload:  string(p),
    })
    return len(p), nil
}

Thanks.
I was wondering about that, and I thought automatically creating one log entry per write call seemed overkill/too much.
I admit I haven't checked the source code for how the V1 Writer worked, but I had assumed it was smarter than that, with maybe some buffering. But it's true I don't see what kind of heuristics it could have used to decide when's a good time (i.e. after how many Write calls) to finally actually create and write a log entry.

The documentation on log.Logger says

Each logging operation makes a single call to the Writer's Write method.

So one entry per call to Write makes sense.
Entries are cheap to create and the Log method is asynchronous, with lots of buffering, so performance should be OK.
You could also have your writer call LogSync, but that would be slow.

Ok.
What's the rationale for not having kept a Writer method which would do something like what you gave as an example? Granted it is easy for oneself to write their own, but it seems useful enough (imo) to warrant a default implementation provided by the package, so that users don't even have to wonder about it. Especially since the V1 was providing one.

The bottom line is that io.Writer is too low-level an interface for logging. It happens to work for the standard log package, because of the guarantee I quoted above. But if the API provided an io.Writer, people might use it in many of the places where io.Writers normally work, often with surprising results (entries that are binary, entries that are sliced at 8K boundaries, etc.) The right interface to a logger would be at the entry level, but the standard log package doesn't provide that.
We did want to make it easy to use the standard log package, so we provided a log.Logger for each severity. But we weren't willing to export the writer, given the opportunity for confusion.

Closing for now. Feel free to reopen if necessary.


Icons + Colors for Working Groups

This was related to the hackathon result. We have a new UX now, so closing this. That said, we still need to apply the icons for work groups in the system....


Provide support for temporal reasoning

Temporal reasoning should be available through a curated set of reasoner rules in OWLSharp.Extensions.TIME namespace

Finalized with commit 58628ed


fix: incorrect getProcessCpuUsage type error messages

Noticed some typos in the type-checking error messages for getProcessCpuUsage.
This fixes those messages and adds tests.
(Which I have not run: despite my poking here, I don't have a full Windows dev env set up. Hoping CI can help out).

Hoping CI can help out

Apparently we only were running tests on main 🤦, will check this after https://github.com/microsoft/vscode-windows-process-tree/pull/52 is merged.


Adding initial spawn point menu

There are many files in this change; the important ones to review are the following:

All *.cs files except for those in the Assets/Editor directory
.gitignore file
.csproj file

This change does the following:

Introduces a new menu to allow the player to select "from" and "to" spawn points.
Adds a "Pingus Mode" button the the title screen to enter this menu for the timebeing
Introduces a new Unity project containing the prefabs and scripts related to the new menu
Modifies gitignore to only include necessary Unity project files
Modifies .csproj file to automatically copy Unity asset bundle and script assembly to the appropriate directory at build time

What this change does NOT do:

Start a speedrun using the spawn points selected in the menu. This depends on the work to map spawn point IDs to names. Additional work will be needed to remove the "Pingus Mode" button and replace the "Nomai Grand Prix" button with behavior that uses this new menu.
Preserve the last-selected menu items when exiting and re-entering the menu
Include full gamepad support. Opening the menu, cancelling the menu, and scrolling up and down work right now, but there is not full support for submitting or moving L/R yet.

Testing:

Verified that clicking or selecting the Pingus Mode button opens the new menu and hides/disables relevant components from the title screen
Verified that we can scroll through the menu using U/D, and can switch between the "from" and "to" menus using L/R
Verified that the menu initially selects the items in the middle of the list
Verified that menu options are centered appropriately at load time and while scrolling
Verified that pressing escape goes back to the title menu and is treated as a cancel event, and that the title menu is interactable
Verified that pressing enter goes back to the title menu and is treated as a submit event, and that the 'from' and 'to' options that were selected are printed to the logs, and that the title menu is interactable
Verified that the player can exit and re-enter the spawn menu multiple times
Verified that the menu can still be entered after entering and exiting the game
Verified that contents of AssetBundles directory are copied to the assets directory in %APPDATA% upon building the project
Verified that the dll file containing the Unity project's script assembly is copied to the mod directory in %APPDATA% upon building the project

All LGTM


HHH-12036 Use cache.clear() for bulk removal on non-tx cache

https://hibernate.atlassian.net/browse/HHH-12036
https://issues.jboss.org/browse/ISPN-8411
@gbadner Should I create a fix for 5.2 as well?

@rvansa If this also affects 5.2, we usually apply the fix on the master and then backport it to older branches.


Changes the date format used when parsing line chart data from "%m/%d/%y" to "%Y" to match Google spreadsheet data format

The current line chart template code expects a date with the format %m/%d/%y, but the template Google spreadsheet contains four-digit years in the date field (%Y). This causes D3 to fail when parsing the date, and the chart won't render as a result.

Thanks for the pull request! This was actually due to unintentional modifications to the template spreadsheet, which we've reverted.

Ah, got it. Glad it's working again either way.


Verification error after in-place restore with restic_v0.16.5-869-g4f4598a1e_linux_amd64

Output of restic version
restic 0.16.5-dev (compiled manually) compiled with go1.22.0 on linux/amd64
What backend/service did you use to store the repository?
Local filesystem
Problem description / Steps to reproduce
Verify after restore is generating size mismatch errors:
xxx@xxx:/tmp$ sudo ./restic_v0.16.5-869-g4f4598a1e_linux_amd64 restore --key-hint=xxx --password-file=xxx --repo=/path/to/local/repo -t /mnt/temp/rootfs/ --delete --sparse --verify --overwrite if-changed --host xxx --path / latest

Output:

repository xxx opened (version 2, compression level auto)
[0:21] 100.00%  95 / 95 index files loaded
restoring snapshot xxx of [/] at 2024-07-17 02:00:44.976448849 +1000 AEST by xxx@xxx to /mnt/temp/rootfs/
Summary: Restored 125299 files/dirs (12.362 GiB) in 6:45, skipped 165521 files/dirs 6.086 GiB
verifying files in /mnt/temp/rootfs/
ignoring error for /mnt/temp/rootfs/etc/passwd: Invalid file size for /mnt/temp/rootfs/etc/passwd: expected 2835, got 2938
ignoring error for /mnt/temp/rootfs/usr/share/distro-info/ubuntu.csv: Invalid file size for /mnt/temp/rootfs/usr/share/distro-info/ubuntu.csv: expected 2667, got 2731
Fatal: There were 2 errors

xxx@xxx:/tmp$ echo $?
1

Steps taken

I initially restored a root filesystem for host A to /mnt/temp/rootfs
Then I performed the above restore but for a root filesystem for a different host, host B, but same distribution into the same path
I expected restic to update /mnt/temp/rootfs so that it exactly matches the restic snapshot for host B

I checked the size of /mnt/temp/rootfs/etc/passwd on disk and it reports 2938.
ls -l /mnt/temp/rootfs/etc/passwd
-rw-r--r-- 1 root root 2938 Mar 30 12:54 /mnt/temp/rootfs/etc/passwd

While checking the restic snapshot using restic ls command gives 2835:
./restic_v0.16.5-869-g4f4598a1e_linux_amd64 ls --key-hint=xxx --password-file=xxx --repo=xxx -l --path / --host xxx latest /etc/passwd
repository xxx opened (version 2, compression level auto)
[0:22] 100.00%  95 / 95 index files loaded
snapshot xxx of [/] filtered by [/etc/passwd] at 2024-07-17 02:00:44.976448849 +1000 AEST):
-rw-r--r--     0     0   2835 2024-03-30 12:54:11 /etc/passwd

Note, restic v0.16.5 gives same output.
When performing the same  checks for file /mnt/temp/rootfs/usr/share/distro-info/ubuntu.csv, the differences are consistent with the above.
I re-ran the restore and replaced --verify with --dry-run -vv to see what it says is out of date.
It of course lists many unchanged files.  But the ubuntu.csv and passwd both show as updated.
Thus, the verify output is correct, but the restore failed to correctly restore the files.
Furthermore, from the dry-run, there are many directories showing as restored, along with symlinks (shown 'with size 0 B').   Perhaps metadata? The handful I've checked exist.  Here is a snippet:
restored  /etc/dnsmasq.d
restored  /etc/dpkg/dpkg.cfg.d
restored  /etc/dpkg/origins/default with size 0 B
restored  /etc/dpkg/origins
restored  /etc/dpkg
restored  /etc/emacs/site-start.d
restored  /etc/emacs
restored  /etc/environment.d
restored  /etc/firefox/policies
restored  /etc/firefox/pref
restored  /etc/firefox
restored  /etc/fonts/conf.avail
restored  /etc/fonts/conf.d/10-antialias.conf with size 0 B
restored  /etc/fonts/conf.d/10-hinting-slight.conf with size 0 B
restored  /etc/fonts/conf.d/10-scale-bitmap-fonts.conf with size 0 B
restored  /etc/fonts/conf.d/11-lcdfilter-default.conf with size 0 B

Expected behavior
The files on /mnt/temp/rootfs should exactly match what was stored in its restore snapshot
Did restic help you today? Did it make you happy in any way?
I like to contribute where I can to help this project.  It's great software.

ignoring error for /mnt/temp/rootfs/etc/passwd: Invalid file size for /mnt/temp/rootfs/etc/passwd: expected 2835, got 2938
ignoring error for /mnt/temp/rootfs/usr/share/distro-info/ubuntu.csv: Invalid file size for /mnt/temp/rootfs/usr/share/distro-info/ubuntu.csv: expected 2667, got 2731

Is the content of those files garbled? In particular the last 50-100 bytes are relevant.
Just to be sure there's no weird problem in the repository: Please restore just those two files into an empty folder and check whether their file content is correct.

Furthermore, from the dry-run, there are many directories showing as restored, along with symlinks (shown 'with size 0 B'). Perhaps metadata? The handful I've checked exist. Here is a snippet:

restore currently only verifies the content of files. All other file types are always considered as changed and are simply replaced. with size 0 B for symlinks is indeed a bit weird. I'll look into improving the dry-run output for those files.

I think I've found the problem: if all parts of the file that should be kept are already up to date, then currently the file is not truncated. That is the first 2835 bytes of etc/passwd are apparently already up to date. The only thing that's missing is truncating the file to that size.
I won't have time to fix that before saturday.

Is the content of those files garbled? In particular the last 50-100 bytes are relevant.

Nope, nothing garbled.

I think I've found the problem: if all parts of the file that should be kept are already up to date, then currently the file is not truncated. That is the first 2835 bytes of etc/passwd are apparently already up to date. The only thing that's missing is truncating the file to that size.

Yes, this makes sense.  It is also likely much less common that a file reduces size, thus not revealing this issue previously.

I won't have time to fix that before saturday.

No problem at all.  Just helping out with testing ahead of release.
D.


plot!(ax,r) not working as expected for neighboring tiles

I have a list of netcdf files which are spatial neighbours and I want to plot them all together as a composite map into one Axis.
I tried to use plot!(ax, r) for that and I got strange behaviours.
This is if I do a plot!(ax, r) for the six tiles

And this is from the heatmap! approach and I would have hoped, that they are roughly similar.

I can't provide the data at the moment, but I can show you next week.
There have been even stranger things, when I tried to do it without the for loop. Where one raster was just replaced by the other.
julia> using Glob

julia> paths = glob("*VH_A*2019*.nc","data/yucatan")
6-element Vector{String}:
 "data/yucatan/E090N009T3_rqatrend_VH_A_thresh_4_year_2019.nc"
 "data/yucatan/E090N012T3_rqatrend_VH_A_thresh_4_year_2019.nc"
 "data/yucatan/E090N015T3_rqatrend_VH_A_thresh_4_year_2019.nc"
 "data/yucatan/E093N009T3_rqatrend_VH_A_thresh_4_year_2019.nc"
 "data/yucatan/E093N012T3_rqatrend_VH_A_thresh_4_year_2019.nc"
 "data/yucatan/E093N015T3_rqatrend_VH_A_thresh_4_year_2019.nc"

julia> crsna_string = """
       PROJCS["Azimuthal_Equidistant",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",
       SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich
       ",0.0],UNIT["Degree",0.017453292519943295]],PROJECTION["
       Azimuthal_Equidistant"],PARAMETER["false_easting",8264722.17686],
       PARAMETER["false_northing",4867518.35323],PARAMETER["
       central_meridian",-97.5],PARAMETER["latitude_of_origin",52.0],UNIT["
       Meter",1.0]]
       """
"PROJCS[\"Azimuthal_Equidistant\",GEOGCS[\"GCS_WGS_1984\",DATUM[\"D_WGS_1984\",\nSPHEROID[\"WGS_1984\",6378137.0,298.257223563]],PRIMEM[\"Greenwich\n\",0.0],UNIT[\"Degree\",0.017453292519943295]],PROJECTION[\"\nAzimuthal_Equidistant\"],PARAMETER[\"false_easting\",8264722.17686],\nPARAMETER[\"false_northing\",4867518.35323],PARAMETER[\"\ncentral_meridian\",-97.5],PARAMETER[\"latitude_of_origin\",52.0],UNIT[\"\nMeter\",1.0]]\n"

julia> crsna = ESRIWellKnownText(CRS(), crsna_string)
ERROR: UndefVarError: `CRS` not defined
Stacktrace:
 [1] top-level scope
   @ REPL[10]:1

julia> ras = Raster.(paths, lazy=true, crs=crsna, mappedcrs=crsna)
ERROR: UndefVarError: `crsna` not defined
Stacktrace:
 [1] top-level scope
   @ REPL[11]:1

julia> crsna = ESRIWellKnownText(GeoFormatTypes.CRS(), crs_string)
ERROR: UndefVarError: `crs_string` not defined
Stacktrace:
 [1] top-level scope
   @ REPL[12]:1

julia> crsna = ESRIWellKnownText(GeoFormatTypes.CRS(), crsna_string)
ESRIWellKnownText{GeoFormatTypes.CRS}(GeoFormatTypes.CRS(), "PROJCS[\"Azimuthal_Equidistant\",GEOGCS[\"GCS_WGS_1984\",DATUM[\"D_WGS_1984\",\nSPHEROID[\"WGS_1984\",6378137.0,298.257223563]],PRIMEM[\"Greenwich\n\",0.0],UNIT[\"Degree\",0.017453292519943295]],PROJECTION[\"\nAzimuthal_Equidistant\"],PARAMETER[\"false_easting\",8264722.17686],\nPARAMETER[\"false_northing\",4867518.35323],PARAMETER[\"\ncentral_meridian\",-97.5],PARAMETER[\"latitude_of_origin\",52.0],UNIT[\"\nMeter\",1.0]]\n")

julia> ras = Raster.(paths, lazy=true, crs=crsna, mappedcrs=crsna)
[ Info: No `name` or `key` keyword provided, using first valid layer with name `:layer`
[ Info: No `name` or `key` keyword provided, using first valid layer with name `:layer`
[ Info: No `name` or `key` keyword provided, using first valid layer with name `:layer`
[ Info: No `name` or `key` keyword provided, using first valid layer with name `:layer`
[ Info: No `name` or `key` keyword provided, using first valid layer with name `:layer`
[ Info: No `name` or `key` keyword provided, using first valid layer with name `:layer`
6-element Vector{Raster{Union{Missing, Float32}, 2, Tuple{X{Mapped{Float64, Vector{Float64}, DimensionalData.Dimensions.LookupArrays.ForwardOrdered, DimensionalData.Dimensions.LookupArrays.Regular{Float64}, DimensionalData.Dimensions.LookupArrays.Points, DimensionalData.Dimensions.LookupArrays.Metadata{Rasters.NCDfile, Dict{String, Any}}, ESRIWellKnownText{GeoFormatTypes.CRS}, ESRIWellKnownText{GeoFormatTypes.CRS}, X{Colon}}}, Y{Mapped{Float64, Vector{Float64}, DimensionalData.Dimensions.LookupArrays.ReverseOrdered, DimensionalData.Dimensions.LookupArrays.Regular{Float64}, DimensionalData.Dimensions.LookupArrays.Points, DimensionalData.Dimensions.LookupArrays.Metadata{Rasters.NCDfile, Dict{String, Any}}, ESRIWellKnownText{GeoFormatTypes.CRS}, ESRIWellKnownText{GeoFormatTypes.CRS}, Y{Colon}}}}, Tuple{}, Rasters.FileArray{Rasters.NCDfile, Union{Missing, Float32}, 2, String, DiskArrays.GridChunks{2}, DiskArrays.Unchunked}, Symbol, DimensionalData.Dimensions.LookupArrays.Metadata{Rasters.NCDfile, Dict{String, Any}}, Missing}}:

[-0.15527344f0 -0.01940918f0 … -0.020629883f0 0.030014038f0; -0.0024414062f0 -0.009277344f0 … -0.025985718f0 0.029891968f0; … ; 0.0f0 0.01725769f0 … 0.08654785f0 0.018066406f0; 0.0f0 -0.04598999f0 … -0.41015625f0 0.052734375f0]

[0.27270508f0 -0.101867676f0 … -0.15124512f0 -0.034729004f0; 0.09320068f0 -0.0015878677f0 … 0.25585938f0 -0.089416504f0; … ; -0.36645508f0 0.38354492f0 … 0.0f0 0.0f0; -2.3789062f0 -0.4543457f0 … 0.05319214f0 0.0f0]

[missing missing … 0.0f0 0.0f0; missing missing … 0.0f0 0.0f0; … ; missing missing … -3.0019531f0 -1.5068359f0; missing missing … -0.8930664f0 -1.4121094f0]

[0.0f0 -0.114990234f0 … -0.67871094f0 0.0927124f0; 0.0f0 0.0f0 … 0.027923584f0 -0.08465576f0; … ; missing missing … -0.45654297f0 -1.0126953f0; missing missing … -0.7011719f0 -0.8491211f0]

[-2.3671875f0 -0.65722656f0 … 0.07745361f0 0.0f0; 0.16455078f0 1.1162109f0 … 0.0f0 0.0f0; … ; missing missing … missing missing; missing missing … missing missing]

[missing missing … -2.15625f0 -2.7558594f0; missing missing … 0.44091797f0 -0.28564453f0; … ; missing missing … missing missing; missing missing … missing missing]

julia> fig =Figure()

julia> ax = Axis(fig[1,1])
Axis with 0 plots:

julia> for r in ras
           x = lookup(r,X).data
           y = lookup(r,Y).data
           data = r[1:10:end, begin:10:end].data
           heatmap!(ax,x,y,data, colorrange=(-3,3), colormap=:vik)
       end

julia> fig2 =Figure()

julia> ax2 = Axis(fig2[1,1])
Axis with 0 plots:

julia> for r in ras
       plot!(ax2, r[begin:10:end,begin:10:end])
       end

This is really for @asinghvi17 I have no idea whats going on 😅

During plot! you should set color map and colorrange.  Otherwise you will see the tiling effect in your image since each raster has its own color map.

Could I force them to use the same colorrange at the end, because sometimes I won't be able to set the colorrange beforehand, because I just don't know the edges, or I would have to calculate the colorrange limits myself before, which seems like an unnecessary step, if I could just let the plot update the colorranges.

It could be cool to have linked colorranges, but maybe not often enough used yo be worth it.

You can store the plots which plot! returns, then set their cranges using setproperty!.(plots, :colorrange, ((0, 1),))

You could also use the astronomers' zscale algorithm to calculate - Makie.PlotUtils.zscale(data; kwargs...) and check the docstring!

Probably adding linked colorranges is too hard for now and probably something for Makie.jl rather than here. So closing this


New Feature: Auto-instrumentation with opentelemetry?

Hi Team,
We are adding the telemetry to our service. There are auto-instrumentations to Redis or Http request, each invoke on them would automatically start a new span, I am wondering do we have such an automation for semantic-kernel? So every plugin or semantic function would automatically have a new span?
Thanks,
Allen

@TaoChenOSU can you look at this and check if this already works?

Hi @HuskyDanny,
Yes, Semantic Kernel .Net has instrumentation set up for all kernel functions. You simply need to subscribe to the source in your application. You can read more about it here: https://github.com/microsoft/semantic-kernel/blob/main/dotnet/docs/TELEMETRY.md#tracing.
And here is a sample on how to set up telemetry with Application Insights: https://github.com/microsoft/semantic-kernel/tree/main/dotnet/samples/Demos/TelemetryWithAppInsights.
Don't hesitate to post more questions here if you have any :)

Thanks for the pointer here @TaoChenOSU. My inquiry is on python stack, do we have it?

For Python, we don't have that yet. It will be added very soon.

Don’t mean to be pushy here, just want to have a full picture for planning. May I know the ETA and how this will be implemented? Will it be the same as the .net where adding the namespace of semantic kernel to trace provider is enough? I see python has its own way of adding auto instrumentation which is to add package under opentelemetry.contrib.

We don't have the full details of how this will be implemented yet. In terms of the timeline, we are aiming for end of this month to early September if nothing changes.

Tracking this work in #6855. Closing this current issue.


configuration dialog & device id

Added the information, that there are 2 dialog pages and how the extract the device id

Thanks for starting a PR for the documentation.
Here are my thoughts about device_id:
I believe there is a conceptual misunderstanding here, which is also reflected in the YAML examples shown here.
The device_id is an internal identifier used by HA for UI-built automations for device-based triggers and actions.
Because of this, this identifier is not easily accessible.
If you create automations manually, you can either add the basic structure via the UI and the logic manually in YAML, or you should use event-based triggers.
The data for event-based triggers can either be recorded or read from the entities.
@danielperna84 I am not sure how to deal with manual/UI-based automations in this document, as most parts should be in the official HA documentation.


Unable to do anything with ng

Bug Report or Feature Request (mark with an x)
- [x] bug report -> please search issues before submitting
- [ ] feature request

Command (mark with an x)
- [x] new
- [x] build
- [x] serve
- [x] test
- [x] e2e
- [x] generate
- [x] add
- [x] update
- [x] lint
- [x] xi18n
- [x] run
- [x] config
- [x] help
- [x] version
- [x] doc

Versions

lazar@lazar:/media/lazar/Elements$ npm list -g --depth 0
/home/lazar/.nvm/versions/node/v10.8.0/lib
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>-> /home/lazar/wane

npm ERR! peer dep missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>lazar@lazar:/media/lazar/Elements$ ng -v
angular-cli[11689]: ../src/node_contextify.cc:637:static void node::contextify::ContextifyScript::New(const v8::FunctionCallbackInfo<v8::Value>&): Assertion `args[1]->IsString()' failed.
 1: 0x8b8210 node::Abort() [angular-cli]
 2: 0x8b82e5  [angular-cli]
 3: 0x8eb237 node::contextify::ContextifyScript::New(v8::FunctionCallbackInfo<v8::Value> const&) [angular-cli]
 4: 0xb4daa8  [angular-cli]
 5: 0xb4fa12 v8::internal::Builtin_HandleApiCall(int, v8::internal::Object**, v8::internal::Isolate*) [angular-cli]
 6: 0x3d74905841bd
Aborted (core dumped)
lazar@lazar:/media/lazar/Elements$ node -v
v10.8.0
lazar@lazar:/media/lazar/Elements$ npm -v
6.3.0
lazar@lazar:/media/lazar/Elements$

I'm on Linux, Ubuntu 17.04.
Repro steps

Uh... Type a command? :thinking:
The log given by the failure

I'll repeat it here from the version output:
angular-cli[11689]: ../src/node_contextify.cc:637:static void node::contextify::ContextifyScript::New(const v8::FunctionCallbackInfo<v8::Value>&): Assertion `args[1]->IsString()' failed.
 1: 0x8b8210 node::Abort() [angular-cli]
 2: 0x8b82e5  [angular-cli]
 3: 0x8eb237 node::contextify::ContextifyScript::New(v8::FunctionCallbackInfo<v8::Value> const&) [angular-cli]
 4: 0xb4daa8  [angular-cli]
 5: 0xb4fa12 v8::internal::Builtin_HandleApiCall(int, v8::internal::Object**, v8::internal::Isolate*) [angular-cli]
 6: 0x3d74905841bd

Desired functionality

Ha!
Mention any other details that might be useful

I'm pretty sure it used to work at some point. Haven't used Angular in a while and tried to create a new project now :thinking:

I have the same problem when using cli Version 6.2.0-beta.3
I get the error serve.json not found on Windows.
With every command i try.

@lazarljubenovic
This most likely is not a bug in the CLI, it most likely caused by how installed the cli.
The CLI has many dependencies and you don't have them installed.
They are listed on the @angular/cli page on the npmjs site.
https://www.npmjs.com/package/@angular/cli
Each of those packages has other dependencies that are not installed.    It's a huge tree and you need to let npm do its work to get those dependencies for you.

To resolve you need to uninstall the current version

npm uninstall -g @angular/cli

The verify you npm cache.

npm cache verify

Then reinstall allowing all the dependencies to download.

npm install -g @angular/cli

This seems like a problem with your node/npm and not with Angular CLI.
Please have a look at the fixing npm permissions page, common errors page, npm issue tracker, or open a new issue in that issue tracker if the problem you are experiencing isn't known.


Create DataTypes.scala

added breeze MCMC methods using markov chain

Current coverage is 0.00% (diff: 100%)

Merging #45 into master will not change coverage

@@           master   #45   diff @@
===================================
  Files         127   127
  Lines         135   135
  Methods         0     0
  Messages        0     0
  Branches        2     2
===================================
  Hits            0     0
  Misses        135   135
  Partials        0     0

Powered by Codecov. Last update 78f3dff...e09397e


[SourceKit] Use a single PluginRegistry in multiple ASTContexts

Make a single PluginRegistry and share it between SwiftASTManager, IDEInspectionInstance, and CompileInstance. And inject the plugin registry to ASTContext right after CompilerInstance.setup()
That way, all sema-capable ASTContext in SourceKit share a single PluginRegistry.

@swift-ci Please smoke test

@swift-ci Please smoke test macOS

@swift-ci Please smoke test


BootstrapButton created by code not visible

I create button by following code
BootstrapButton button = new BootstrapButton(getApplicationContext());
button.setText("Test");
button.setBootstrapType("default");
button.setLeftIcon("fa-heart");
container.addView(button);
but not visible.
icon or text is still invisible after calling setText or setLeftIcon.

Still not fixed?
I tried to create a new button programatically but doesn't show text.
XML workaround only works if you know the buttons, but if you don't know how many buttons will be created that doesn't help.

Feel free to create a PR if you can identify the issue. The XML workaround should work fine, just create a LayoutInflater then inflate views in a loop depending on how many buttons you need.

ياخشى بىلىمكەن

unfortunately, looks like this is still an issue with the latest version.
there are a lot of initialization code being called in the initialize() method, which is by-passed if XML is not used to create the button in the first place.

I believe I've fixed this in the feature-v4 branch, which is a major update for Bootstrap v4. Until then it's probably best to inflate from XML.

(newbiee)
can you tell me how to add feature-v4 dependencies in gradle ?

@Narengowda just install 2.0.0 of the library, this issue should be resolved in there


Geocoder initialization does not fail if Cartodb.config is not loaded, fixes #2318

@rafatower please :eyes:

Frontend tests were OK :+1: (details)


Support for Python 3.10 to CI/CD checks and deprecate 3.7

The new Python version has been out for a while. We should support it without issues, but we won't know for real until we add the new version to CI/CD.
Also, we are deprecating Python 3.7. I think that supporting the last 3 versions should be enough.

Will not deprecate Python 3.7 as it's still supported by both dbt and Airflow.

Python 3.10 builds were taking >20 minutes to install and later failed due to dependency issues. Will not support 3.10 for the time being, although looking forward to upgrading later.


<EMAIL_ADDRESS>fail

Followup https://github.com/solidity-parser/parser/issues/51

https://github.com/solidity-parser/parser/issues/47


indicate clearly when there's a yaml parse error

Currently an error gets reported, but it's not always clear that the error comes from trying to parse the yaml file. Example:
error: block sequence entries are not allowed in this context
From this yaml file:
protocol: - foo

It should say something like:
error parsing foo.protocols.yaml: block sequence entries are not allowed in this context
@matthandlersux: I think you mentioned this somewhere, but I can't find it.

i think i mentioned this IRL


Setup a page with most recent posts

So I have:

[X] Read through the theme's documentation at https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/
[X] I also search all issues at https://github.com/mmistakes/minimal-mistakes/issues
[X] I lastly tried Ask for help at https://talk.jekyllrb.com/ but that gives 404

After exhausting all of these I then ask my question below:
Questions:

Using the home page, whenever someone clicks on posts the sidebar goes away, but I prefer the bio sidebar to stay. According to: https://mmistakes.github.io/minimal-mistakes/docs/layouts/ it should be a matter of just having # Defaults
defaults:
  # _posts
  - scope:
      path: ""
      type: posts
    values:
      author_profile: true

see https://github.com/arvera/blog/blob/master/_config.yml

Also the TOC is not showing.. maybe I am missing something.. Ohh I just re-read it I think the TOC is auto-generated from the HTML elements in the POST? hmm I thought it was a TOC of the page posts, as in all the posts that are showing in one page

The search example is not working... I wanted to see how it would work, do I need to hook it up to google search or solr, or something else?

If your post or page doesn't have author_profile: true the left sidebar with the author info will not show. The default front matter above would enable it for all posts.
Table of contents are something different. Those are auto-generated from the post content and appear to the right when enabled. The table of contents that appears on the left on parts of the theme's documentation site are manually set using the "sidebar navigation" feature.
Search needs to be configured.

RE: author sidebar. Check your _posts YAML Front Matter. You're using layout: post which doesn't exist for this theme. You need to set layout: single.
This is why your layout looks off and is missing the sidebars.

awesome.. cool.. I didn't know each post had its own setup.. okay.. now I need to look into why the posts do not recognize the markdown.. I think it might be because my files are html and not .md


Regex support with newlib

I am getting linker errors when trying to use functions from regexp.h with newlibc. It works with picolibc. AFAIK newlibc should include regexp.h

This is apparently fixed in the SDK 0.16.1. So closing this


Indexing won't stop.

So I just installed Kite and wanted to try it really quick. So I fired up VSCode set everything up and opened an empty .py file. After indexing for about 45 minutes I first restarted my computer with no success, then I reinstalled Kite, still no success. I also uninstalled the VSCode plugin and installed it via the extension marketplace and still no success...
I'm on OSX 10.13.6 High Sierra
I also looked for logs or something like it but couldn't find anything.
Google also could not help.

Hi @megravity, can you send the contents of your Kite log to<EMAIL_ADDRESS>so we can help debug? On macOS the logs are located at ~/.kite/logs/client.log.

Hi @dhung09 I'm away for the weekend, but I'll quickly try to recreate the problem on my Macbook (Running Mojave on it tho). If I can't recreate the issue, you'll get the log on Monday!

Well of course it works on my Laptop now...
Do you think it's related to the OS? Nevertheless, will get back to you on Monday! Thanks for the quick response.

It may be related to the OS. In any case, we'll keep an eye out for your logs if necessary. I'm going to close this issue for now though.


icon: margin / padding

icons should also have margin and padding in styles

@sharjeelyunus will this be fixed by https://github.com/EnsembleUI/ensemble/issues/239


Improve modified package detection to work with fixtures folder

What does this PR do?
For some tests we have non-go files that are used as fixtures in subfolder. This small improved map fixture folder with their parent package, to make sure we run the tests on them if fixtures are changed

Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge


rm deepspeech package since it is no longer maintained and cause installation error

Description:
Reference Issues: #161 (XX is the issue number you work on)

some codes under convlab/laug may use deepspeech, but this package cannot be installed via pip anymore


Not working giving error like ./node_modules/react-square-web-payments-sdk/dist/components/divider/divider.es.js 13:15 Module parse failed: Unexpected token (13:15) File was processed with these loaders:  * ./node_modules/react-scripts/node_modules/babel-loader/lib/index.js

Describe the bug
Giving error while run my app
./node_modules/react-square-web-payments-sdk/dist/components/divider/divider.es.js 13:15
Module parse failed: Unexpected token (13:15)
File was processed with these loaders:

./node_modules/react-scripts/node_modules/babel-loader/lib/index.js
My package.json file is herre

packagejsonm.txt
Your Example Website or App
React
Steps to Reproduce the Bug or Issue
yarn start
Expected behavior
Not Working
Screenshots or Videos
No response
Platform
Windows
Additional context
No response

Facing the same issue, it would nice if the developers @eidast @laviddichterman  @alexbrazier @ezesundayeze  could give a workaround for this.

@aliumair7 solved this by updating my react version to 18+.

Having the same issue. I updated react to v18.2.0 and still didn't fix. @Muhammad406 was that the only change you made?

Same error here.  Anyone solve this yet?

@jasondwyer try to locate the package that used babel-loader. Try updating that. I looked into my node modules to see what other packages were using babel-loader and updated those (in my case which was react). try using npm list <package-name>

@Muhammad406 - that solved it for me. I ran npm list babel-loader which revealed that react-scripts was the package at fault. I checked my package.json and had version 3.4.1 of react-scripts, which I upgraded to 5.0.1 and that solved the issue. CC @Keith3679 - Cheers


Fibonacci example

It has a few minor issues with the borders, but I made it look prettier at least.

Thanks for the amusing example