add ability to disable host_regexp in users config

Operator create this host_regexp option for user by default.
So we could not connect to clickhouse server by custom service name.
For example:
                serviceTemplates:
                  - name: clickhouse-service-template
                    generateName: "{chi}"
                    spec:
                      ports:
                        - name: http
                          port: 8123
                        - name: tcp
                          port: 9000
                      type: ClusterIP

I've got this service fqdn: dev-clickhouse.dev-clickhouse-operator
And i could not connect to it.

feel free to specify host_regexp of the appropriate form

@nejtr0n , as mentioned above you have several options on the user level.

Rewrite host_regexp with your setting
Enable networks (it is executed before the host regexp)

      user1/networks/ip: "::/0"

host_regexp expression is stored in operator config.

# Default host_regexp to limit network connectivity from outside
ChConfigNetworksHostRegexpTemplate: "(chi-{chi}-[^.]+\\d+-\\d+|clickhouse\\-{chi})\\.{namespace}\\.svc\\.cluster\\.local$"

You can edit etc-clickhouse-operator-files configmap and restart the operator. It does not affect existing ClickHouse installations, but new ones. We do not recommend doing it for security reasons, though, better to override on the user level as suggested in 1-2.


Implement document amendment

[ ] Once a document is saved in completed and extracted a provenance resource should be created. Please check https://chat.fhir.org/#narrow/stream/179255-questionnaire/topic/Extraction.20and.20Provenance
[ ] A user may request an amendment, in this case, information from provenance is used to delete previously extracted resources and extract data one more time. In this case, the start status should be amended.
[ ] Add a history page for amended documents that allow to browse through all previous versions.
[ ] Show all the resources on the patient overview page as links which lead to the source questionnaire response page

Aidbox specific queries for Provenance
query: >-
  select resource from provenance where
  knife_extract_text(resource,'[["entity","what","uri"]]'),'') like
  {{params.target}}
params:
  target:
    type: string
    format: '%%%s%%'
    isRequired: true
id: provenance-by-source
resourceType: AidboxQuery
```

query: >-
select resource from provenance where
array_to_string(knife_extract_text(resource,'[["target","uri"]]'),'') like
{{params.target}}
params:
target:
type: string
format: '%%%s%%'
isRequired: true
id: provenance-by-target
resourceType: AidboxQuery


feature: add function name to log

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (ebf2fb6) 66.94% compared to head (8acfdd0) 63.18%.
Report is 2 commits behind head on main.

Additional details and impacted files

@@            Coverage Diff             @@
##             main     #380      +/-   ##
==========================================
- Coverage   66.94%   63.18%   -3.76%
==========================================
  Files          43       43
  Lines        2423     2423
  Branches      515      515
==========================================
- Hits         1622     1531      -91
- Misses        648      736      +88
- Partials      153      156       +3

Files
Coverage Δ

qgis_deployment_toolbelt/utils/journalizer.py
62.68% <ø> (-7.47%)
:arrow_down:

... and 4 files with indirect coverage changes


there is no folder cheats for Infinite Arrows  (1.1.2) folder on v<IP_ADDRESS>

pwd / path of folder :

TOTK-Mods-collection_v<IP_ADDRESS>_for-1.1.2/Mods/Cheats/Infinite Arrows  (1.1.2)/

#https://github.com/HolographicWings/TOTK-Mods-collection/releases/tag/v<IP_ADDRESS>
file : TOTK-Mods-collection_v<IP_ADDRESS>_for-1.1.2.zip

and in infinite battery

It's a known issue. Please report your findings to https://github.com/HolographicWings/TOTK-Mods-collection/issues/103

so i will close issue cause duplicated #103


Error on 1920x1080 videos in mp4, Could not find codec parameters for stream 0

I think this error only happens on mp4 videos 1080p or better quality, i don't know if anyone knows how to solve the problem but this is the error that i get:
AL lib: (EE) alc_cleanup: 1 device not closed [mov,mp4,m4a,3gp,3g2,mj2 @ 000001ba4cdce960] stream 0, offset 0x30: partial file [mov,mp4,m4a,3gp,3g2,mj2 @ 000001ba4cdce960] Could not find codec parameters for stream 0 (Video: h264 (avc1 / 0x31637661), 1920x1080, 295 kb/s): unspecified pixel format Consider increasing the value for the 'analyzeduration' and 'probesize' options Assertion desc failed at /gdx-video/gdx-video-desktop/FFmpeg/libswscale/swscale_internal.h:646
also i get this error on other mp4 video
java.lang.Exception: Could not find stream info! 	at com.badlogic.gdx.video.VideoDecoder.loadStream(Native Method) 	at com.badlogic.gdx.video.CommonVideoPlayerDesktop.play(CommonVideoPlayerDesktop.java:89) 	at com.roiniti.jams.testP.GdxVideoTest.updateButtons(GdxVideoTest.java:83) 	at com.roiniti.jams.testP.GdxVideoTest.render(GdxVideoTest.java:73) 	at com.badlogic.gdx.Game.render(Game.java:46) 	at com.roiniti.jams.JAMS.render(JAMS.java:175) 	at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Window.update(Lwjgl3Window.java:403) 	at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.loop(Lwjgl3Application.java:143) 	at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.<init>(Lwjgl3Application.java:116) 	at com.roiniti.jams.desktop.AplicationThread$2.<init>(AplicationThread.java:47) 	at com.roiniti.jams.desktop.AplicationThread.run(AplicationThread.java:47)
any ideas?

That's probably the location where the error happens:
https://github.com/libgdx/gdx-video/blob/74b978fdf4b4b4ebd09c3238bda5fe7e96432ecc/gdx-video-desktop/jni/VideoDecoder.cpp#L153-L156

For the stream info i think its some decoder missing problem, I examinated the file and its audio its TWOS, I think its a format but i don't know exactly normally the audio its in mp4a format.
For the other error do you know what's happening?


Selecting a single entity from a collection does not map to parent

I'm trying to select the last message from a conversation, but my messages won't map to my conversation.  I think what is happening is that, EFCore expects a Collection Or IEnumerable To be able to map to the Collection Property of My Parent Entity
[HttpGet("Convo")]
public async Task<Conversation[]> LoadConversation()
{
   var query = this._context.Conversations.OrderBy(x => x.Id);
   var messages = await query.Select(x => x.Messages.OrderBy(m =>
                                      m.Created).FirstOrDefault())
                             .ToArrayAsync();

   var conversations = await query.ToArrayAsync();

   return conversations;
}```

//Yet If I load with a select many and take everything seems to work fine
var messages =  query.SelectMany(x => x.Messages.OrderBy(m => m.Created).Take(1))
                     .OrderBy(x => x.ConversationId)
                     .ToArray();

Further technical details
EF Core version: 2.0.3
Database Provider: Microsoft.EntityFrameworkCore.SqlServer

@granthoff1107 - Possible duplicate #11762


No Listing on most categories (Most Popular, Most Voted, Box Office, ...)

Using Raspberry Pi 3 with OSMC: Most categories simply spin for a second then return no movie / tv listing.  People Watching, Latest Movies, and Search seem to work, but no others.
Log indicates:
"Error: metahandler: Error connecting to TMDB: Http Error 401: Unauthorized" and
"ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.specto/?action=movies&url=popular) failed"
Everything is working perfect on Amazon FireTV kodi sideload - no issues at all.....

8/01/2016 update took care of this!  Thanks for your help and hard work!


hasTimestamps overrides columns option to fetch

Introduction
If using the hasTimestamps feature and omitting those same timestamp columns in a fetch call will result in the columns being present in the returned object anyway, but with values set to null.
Issue Description
Considering a model that has hasTimestamps set to true or an array with column names, and the following fetch call:
MyModel.forge({id: 1}).fetch({columns: ['id', 'name']}).then(function(model) {
  // model.toJSON() => { created_at: Invalid Date, id: 1, name: 'blah' }
})

The timestamp columns shouldn't be in the output at all because the columns option should have priority. Clearly the recently merged #1784 PR is what's causing this because it didn't take this possibility into account.
Steps to reproduce issue

Create or use an existing model with hasTimestamps set to true
Fetch an instance of the model with fetch({columns: ['id']})
Run model.toJSON()

Expected behaviour
No timestamp attributes are present in the output.
Actual behaviour
Timestamp attributes are present but with an Invalid Date value that will be converted on null on serialization.

This will be fixed in a patch to the 0.13 version instead.

Fixed with #1796.


ProjectID in ProviderConfig not honoured if ServiceAccount credentials are from a different project

Thanks for all your hard work on this, it's super awesome to see how far it's come and how useful it is.
What happened?
I tried to use a cross-project ServiceAccount to provision resources in another project that it has access to. The creation call for a CloudSQLInstance fails, as it is trying to access the project of the ServiceAccount credentials, not the configured projectID from the ProviderConfig.
How can we reproduce it?
Assuming a configured Crossplane & GCP environment (versions below), the following shell commands should recreate the issue.
MAIN_PROJECT_ID=foobar
CHILD_PROJECT_ID=bazqux

<EMAIL_ADDRESS>
# create SA in main project
gcloud iam service-accounts create executor --project $MAIN_PROJECT_ID

# ensure child project has sqladmin enabled
gcloud services enable "sqladmin.googleapis.com" --project $CHILD_PROJECT_ID

# add binding to SA in child project
gcloud projects add-iam-policy-binding --role="roles/editor" $CHILD_PROJECT_ID --member "serviceAccount:$SA"

# get service account keyfile
gcloud iam service-accounts keys create creds.json --project $MAIN_PROJECT_ID --iam-account $SA

# create a namespace for the child project
kubectl create ns $CHILD_PROJECT_ID

# create secret for ProviderConfig
kubectl create secret generic -n $CHILD_PROJECT_ID gcp-creds --from-file=key=./creds.json

# create ProviderConfig
cat <<EOF | kubectl apply -f -
apiVersion: gcp.crossplane.io/v1beta1
kind: ProviderConfig
metadata:
  name: ${CHILD_PROJECT_ID}-gcp
spec:
  projectID: ${CHILD_PROJECT_ID}
  credentials:
    source: Secret
    secretRef:
      namespace: ${CHILD_PROJECT_ID}
      name: gcp-creds
      key: key
EOF

# create a database
cat <<EOF | kubectl apply -f -
apiVersion: database.gcp.crossplane.io/v1beta1
kind: CloudSQLInstance
metadata:
  name: cloudsqlpostgresql
  namespace: ${CHILD_PROJECT_ID}
spec:
  forProvider:
    databaseVersion: POSTGRES_9_6
    region: europe-west1
    settings:
      tier: db-custom-1-3840
      dataDiskType: PD_SSD
      dataDiskSizeGb: 10
  providerConfigRef:
    name: ${CHILD_PROJECT_ID}-gcp
  writeConnectionSecretToRef:
    namespace: ${CHILD_PROJECT_ID}
    name: cloudsqlpostgresql-conn
EOF

I was hoping to just open a PR for this, but found it a little difficult to follow my nose to where the issue is. Happy to do the work if someone has a pointer for me?
What environment did it happen in?
Crossplane version: 1.0.0
Crossplane GCP version: 0.15.0
Kubectl: "v1.20.2-dirty - faecb196815e248d3ecfb03c680a4507229c2a56" (compiled for Apple Silicon)
Kubernetes version: GKE v1.18.12-gke.1205, COS with Containerd

Hmm that's interesting. I checked the creation call and it seems we do pass the projectID taken from ProviderConfig. Could you try creating the CloudSQLInstance using gcloud CLI with that account and share the command and its result? I don't have access to more than one GCP project right now so I couldn't try it.

Hmm that's interesting. I checked the creation call and it seems we do pass the projectID taken from ProviderConfig. Could you try creating the CloudSQLInstance using gcloud CLI with that account and share the command and its result? I don't have access to more than one GCP project right now so I couldn't try it.


Fix vSphere E2E tests

What this PR does / why we need it:
Some parameters on the vSphere side are temporarily changed. This PR ensures that the vSphere E2E tests can pass.
Flatcar template doesn't work properly so Flatcar tests are disabled at the moment. We don't have templates for other operating systems currently, so relevant tests are disabled.
What type of PR is this?
/kind failing-test
Does this PR introduce a user-facing change? Then add your Release Note here:
NONE

Documentation:
NONE

/test pull-machine-controller-e2e-vsphere

/test pull-machine-controller-e2e-vsphere

/test pull-machine-controller-e2e-vsphere

/test pull-machine-controller-e2e-vsphere

/test pull-machine-controller-e2e-vsphere

/test pull-machine-controller-e2e-vsphere

/test pull-machine-controller-e2e-vsphere

/test pull-machine-controller-e2e-vsphere

/test pull-machine-controller-e2e-vsphere

can you please explicitly state in the PR that you are disabling tests for all the OSes apart from Ubuntu.

Done.

Also, was there a special reason why the following files were not updated:

I don't know what's the state of the vSphere infrastructure regarding vSphere tests. My goal was to get the bare minimum tests working, if you need other tests, please feel free to apply this update to them.


label-maker labels raising a tilepie.reader.InvalidFormatError

Hi all,
Thanks a lot for releasing this software. I am trying to use your toolkit to conduct my own research using satellite imagery. But unfortunately I am hitting a wall when I try.
I am running python 3.6.6 on pyenv (I noticed that label-maker doesn't seem to work on python 2.7) and I have installed label-maker using the procedure you explain here: http://devseed.com/label-maker/
Using the sample config.json you suggest in your documentation I then run label-maker download, this seems to create a valid sqlite3 mbtiles file on ~/data, all fine so far. After that I try to run label-maker labels and that fails with the following error message:
label-maker labels
Retiling QA Tiles to zoom level 12 (takes a bit)
tippecanoe-decode: invalid option -- 'c'
Usage: tippecanoe-decode file.mbtiles zoom x y
tippecanoe: invalid option -- '-'
Usage: tippecanoe -o out.mbtiles [-n name] [-l layername] [-z maxzoom] [-Z minzoom] [-B basezoom] [-d detail] [-D lower-detail] [-m min-detail] [-x excluded-field ...] [-y included-field ...] [-X] [-r droprate] [-b buffer] [-t tmpdir] [-a rco] [-p sfkld] [-q] [-P] [file.json ...]
Determining labels for each tile
Traceback (most recent call last):
  File "/home/zilog/.pyenv/versions/3.6.6/lib/python3.6/site-packages/tilepie/reader.py", line 42, in _query
    self._cur.execute(sql, *args)
sqlite3.OperationalError: no such table: tiles

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/zilog/.pyenv/versions/3.6.6/bin/label-maker", line 11, in <module>
    load_entry_point('label-maker==0.4.0', 'console_scripts', 'label-maker')()
  File "/home/zilog/.pyenv/versions/3.6.6/lib/python3.6/site-packages/label_maker/main.py", line 84, in cli
    make_labels(dest_folder=dest_folder, sparse=sparse, **config)
  File "/home/zilog/.pyenv/versions/3.6.6/lib/python3.6/site-packages/label_maker/label.py", line 85, in make_labels
    _mapper, _callback, _done)
  File "/home/zilog/.pyenv/versions/3.6.6/lib/python3.6/site-packages/tilepie/__init__.py", line 26, in tilereduce
    tilecontent = uncompress(tm.tile(tile[0], tile[1], tile[2]))
  File "/home/zilog/.pyenv/versions/3.6.6/lib/python3.6/site-packages/tilepie/reader.py", line 60, in tile
    WHERE zoom_level=? AND tile_column=? AND tile_row=?;''', (z, x, tms_y))
  File "/home/zilog/.pyenv/versions/3.6.6/lib/python3.6/site-packages/tilepie/reader.py", line 44, in _query
    raise InvalidFormatError(("%s while reading %s") % (e, self.filename))
tilepie.reader.InvalidFormatError: no such table: tiles while reading data/togo-z12.mbtiles```

It seems like there are several things going on here, so I am not sure how to move on forward with this. Any help is much appreciated.

Hi @dropmeaword, thanks for the report. This part of the code is a little clunky because we make OS calls. What operating system are you using and which version of tippecanoe do you have installed?


eigen313 library

Hi
I searched and attached all of the libraries of your project but i cant find the "eigen313.h"
i tried these but doesn't work :
https://github.com/vancegroup/EigenArduino
http://eigen.tuxfamily.org
can you help me by share "eigen313.h" library ?
thanks a lot.

Hi Mahdi
I am attaching the link where you can download the Eigen313,zip. Please follow the instruction to put the folder in the correct directory.
Link to page containing Eigen313.h - http://forum.arduino.cc/index.php?topic=144446.0
If you like my project, please like it on github and youtube.
Thanks
Chandra


Optional market metrics

Description
Related issue(s)
Fixes ...
Pre-merge checklist

[ ] Passing tests
[ ] New tests added (if applicable)

Thanks for this! Looks like you removed the newline at the end of the file? That will prevent you from passing the tests


[NX] Angular devkit called writeWorkspace, this may have had unintended consequences in workspace.json

Hello, I'm trying to use this plugin on a freshly created workspace, but something is not working expectedly.
user@MYPC:~/workspace/nx-demo$ nx g @nx-plus/vue:lib my-vue-lib
✔ Which version of Vue.js would you like to use? · 2
✔ Use Babel alongside TypeScript? (y/N) · true

[NX] Angular devkit called `writeWorkspace`, this may have had unintended consequences in workspace.json
[NX] Double check workspace.json before proceeding
TypeError: Cannot set properties of undefined (setting 'my-vue-lib')
    at /home/user/workspace/nx-demo/node_modules/@nrwl/workspace/src/utils/ast-utils.js:369:36
    at /home/user/workspace/nx-demo/node_modules/@nrwl/workspace/src/utils/ast-utils.js:359:58
    at MergeMapSubscriber.project (/home/user/workspace/nx-demo/node_modules/@angular-devkit/schematics/src/rules/call.js:75:24)
    at MergeMapSubscriber._tryNext (/home/user/workspace/nx-demo/node_modules/rxjs/internal/operators/mergeMap.js:67:27)
    at MergeMapSubscriber._next (/home/user/workspace/nx-demo/node_modules/rxjs/internal/operators/mergeMap.js:57:18)
    at MergeMapSubscriber.Subscriber.next (/home/user/workspace/nx-demo/node_modules/rxjs/internal/Subscriber.js:66:18)
    at MergeMapSubscriber.notifyNext (/home/user/workspace/nx-demo/node_modules/rxjs/internal/operators/mergeMap.js:93:26)
    at SimpleInnerSubscriber._next (/home/user/workspace/nx-demo/node_modules/rxjs/internal/innerSubscribe.js:27:21)
    at SimpleInnerSubscriber.Subscriber.next (/home/user/workspace/nx-demo/node_modules/rxjs/internal/Subscriber.js:66:18)
    at MergeMapSubscriber.notifyNext (/home/user/workspace/nx-demo/node_modules/rxjs/internal/operators/mergeMap.js:93:26)
Cannot set properties of undefined (setting 'my-vue-lib')

package.json dependencies
"devDependencies": {
    "@angular-devkit/build-angular": "^13.1.2",
    "@nrwl/angular": "^13.4.1",
    "@nrwl/cli": "13.4.1",
    "@nrwl/cypress": "^12.6.0",
    "@nrwl/eslint-plugin-nx": "13.4.1",
    "@nrwl/jest": "^12.6.0",
    "@nrwl/js": "13.4.1",
    "@nrwl/linter": "^12.6.0",
    "@nrwl/react": "^13.4.1",
    "@nrwl/tao": "13.4.1",
    "@nrwl/web": "13.4.1",
    "@nrwl/workspace": "^12.6.0",
    "@nx-plus/nuxt": "^12.2.0",
    "@nx-plus/vue": "^12.2.0",
    "@testing-library/react": "12.1.2",
    "@testing-library/react-hooks": "7.0.2",
    "@types/jest": "27.0.2",
    "@types/node": "14.14.33",
    "@types/react": "17.0.30",
    "@types/react-dom": "17.0.9",
    "@types/react-router-dom": "5.3.1",
    "@typescript-eslint/eslint-plugin": "~5.3.0",
    "@typescript-eslint/parser": "~5.3.0",
    "babel-jest": "27.2.3",
    "cypress": "^9.1.0",
    "eslint": "8.2.0",
    "eslint-config-prettier": "8.1.0",
    "eslint-plugin-cypress": "^2.10.3",
    "eslint-plugin-import": "2.25.2",
    "eslint-plugin-jsx-a11y": "6.4.1",
    "eslint-plugin-react": "7.26.1",
    "eslint-plugin-react-hooks": "4.2.0",
    "jest": "27.2.3",
    "prettier": "^2.3.1",
    "react-test-renderer": "17.0.2",
    "ts-jest": "27.0.5",
    "typescript": "~4.4.3"
  },
  "dependencies": {
    "core-js": "^3.6.5",
    "react": "17.0.2",
    "react-dom": "17.0.2",
    "react-router-dom": "5.3.0",
    "regenerator-runtime": "0.13.7",
    "tslib": "^2.0.0"
  }

workspace.json
{
  "version": 2,
  "projects": {
  }
}

Why are there any angular dependencies being called and what is wrong with my workspace.json ?

This was caused by using the wrong nx versions, see https://github.com/ZachJW34/nx-plus/issues/211


GCE instance power on not working (stop/terminate do)

Running power control actions against GCE instance, like the summary says, stop and terminate work correctly (terminate shows the disappear on the provider as well as moving the vm to archive in vmdb).  With that said though, power on doesn't seem to work properly.  Nothing in the logs reveals a issue.
I see this in the logs, not sure if its related but it looks suspect
[----] I, [2016-02-26T17:40:50.564680 #2992:347998]  INFO -- : MIQ(MiqQueue#m_callback) Message id: [4791], Invoking Callback with args: [:raw_start, "ok", "Message delivered successfully", "#<MiqAeEngine::MiqAeWorkspaceRuntime:0x00000005280e88 @readonly=false, @nodes=[#<MiqAeEngine::MiqAeObject:0x0000000533bdc8 @workspace=#<MiqAeEngine::MiqAeWorkspaceRuntime:0x00000005280e88 ...>, @namespace="ManageIQ/System", @klass="Process", @instance="Event", @attributes={"event_stream_id"=>"459", "event_type"=>"request_vm_start", "ext_management_system"=>"1", "miq_event_id"=>"459", "object_name"=>"Event", "vm_id"=>"401", "vmdb_object_type"=>"vm", "event_stream"=>#<MiqAeServiceMiqEvent:0x2afb90..."]
[----] I, [2016-02-26T17:40:50.565512 #2992:347998]  INFO -- : MIQ(ManageIQ::Providers::Google::CloudManager::Vm#check_policy_prevent_callback) preventing current process from proceeding due to policy failure

@miq-bot add_label providers/google

So, stop/start are working afaict. What is clear is that the UI does not auto-refresh to show the state change once the operation is complete. But if I manually refresh the UI, then I see the correct state appear.
Is the issue related to auto-refresh of the UI, or were the GCE instances not starting?  If the latter, I think we can close this as obsolete since I can't repro.

@erjohnso  okay, I'll try to retest this today and update the issue.  It was not a matter of the UI updating which has been like that for far too long ;) , I was specifically watching the gce interface

Ok, today turned into 6 days.  This looks good now with the 0323 nightly, closing.


link failed 链接失败 (IDFGH-1138)

A fatal error occurred: Invalid segment count 23 (max 16). Usually this indicates a linker script problem.
/home/work/esp32/esp-idf/components/esptool_py/Makefile.projbuild:59: recipe for target '/home/work/esp32/tbmqtt/ssl/build/tbmqtt_ssl.bin' failed

@judsonzhu Thanks for reporting the issue. Would you please help provide more details as suggested in the issue template? Thanks.

@judsonzhu  I got the same error.Have you solved it?

Hi @judsonzhu @keanuyaoo ,
Without more details it's not possible to provide any support. This is why the template for a new ESP-IDF issue asks a number of questions.
To start with, what ESP-IDF version are you each using? And what OS platform are you each using?
Can you give any details about the project you're building, any custom components, etc?

Hi.
This looks like bug #4631 on micropython github repo.
I got exactly the same issue on another project, and solve it this way :

In esp-idf : "git submodule update --init --recursive "
In workspace : "rm -rf build", then "make"

I'm getting this using esp-idf v3.2.2 on macOS.
The extra step instructions from @giroudon worked for me, I had checked out using:
git clone --depth 1 -b v3.2.2 --recursive https://github.com/espressif/esp-idf.git esp-idf-v3.2.2

The suggestions in bug #4631 referenced by @giroudon worked for me as well. The key for me was the removal of build dir, that fixed all my issues.

Closing as the original reporter never followed up with more info, and it seems like the related issues were resolved with a clean build.


[feat] Anthropic LLM provider

Description
We should add Anthropic Claude as an option to llm_providers.py
Why is this needed
People are asking for it
https://discord.com/channels/1085077079697150023/1156932083856449626
Implementation details
Here's an example shared by a user
https://gist.github.com/tv-ankur/1b2ffdf7ef3c639f62d9c1298082cfcb
End result
Easy, intuitive, well-documented way to use Anthropic with guardrails

Will this essentially involve a new lightweight wrapper implementing the calling conventions of :

PromptCallableBase
AsyncPromptCallableBase

With an associated try/except import to enable the anthropic API. Will attempt a PR on this unless the use with the gist gets there first.

Hey @whatnick, that's correct. Thanks for helping, we'll review the PR if you put it through!


add quote within the table name

user in PostgreSQL is a reserved word and needs to quote it.

Codecov Report

Merging #1285 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #1285      +/-   ##
==========================================
+ Coverage   57.36%   57.36%   +<.01%
==========================================
  Files          44       44
  Lines        7817     7818       +1
==========================================
+ Hits         4484     4485       +1
  Misses       2777     2777
  Partials      556      556

Impacted Files
Coverage Δ

session_exist.go
62.96% <100%> (+0.69%)
:arrow_up:

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 ce804ae...37150bf. Read the comment docs.


Use uniqueProgram/uniqueTechniques to retrive unique programs/techniques

This is already being done for materials
If this is not done, then the comparison is happening between objects
where one has name/extras and the other doesn't. This the comparison
will fail.
I pseudo-randomly added extras property to program/technique/material objects in MergeDuplicateProperties spec such that the properties should merge regardless of the extras property.

Coverage remained the same at 93.545% when pulling 4ee3783bdef91097a68bdc48a929f1508dcc44f6 on shehzan10:merge-fixes into a91f4218e7ffa697e10cf15d4fd56c7792041225 on AnalyticalGraphicsInc:master.

Nice simple fix!


use typed cell value and parse cell value lazily

for reference

not sure about the relationships between value, rich text and formula.
pub fn get_value(&self) -> &str { match &self.value { Some(v) => { return v; } None => {} } match &self.rich_text { Some(v) => { return v.get_text(); } None => {} } "" }
it seems to be mutually exclusive.

What do you mean by this?
How come you are framing it around get_value -> &str?
Would these changes not imply get_value -> Value?

not sure about the relationships between value, rich text and formula.
pub fn get_value(&self) -> &str { match &self.value { Some(v) => { return v; } None => {} } match &self.rich_text { Some(v) => { return v.get_text(); } None => {} } "" }
it seems to be mutually exclusive.

What do you mean by this?
How come you are framing it around get_value -> &str? Would these changes not imply get_value -> Value?

it's the original code


Give the EKS cluster its own subnets and associated resources.

The VPC itself and the Internet gateway are still defined in alphagov/govuk-aws for now, since the current plan is to use the existing VPC and move/import it here after the migration to Kubernetes.
This follows the guidance in Cluster VPC considerations in the EKS user guide.
In each of three AZs, we have a public /28 for the control plane (i.e. the kube-apiserver VIP) as recommended, a public /24 for Internet-facing load balancers and a private /22 for nodes and pods.
Separating the node and pod subnets is possible but involves some hairy configuration of Amazon's CNI plugin, so it doesn't seem worth it without a specific need.
Also some small fixes while we're there (see commit messages).
Trello card
Testing

terraform plan works
Haven't checked that it actually applies and works yet.

Alternatives considered
Looked at using a library module to create all this lot, but the main one seems to be terraform-aws-modules/terraform-aws-vpc and it doesn't have an option to use an existing VPC. It's also a bit iffy because it was designed in TF 0.11 days and makes extensive use of count() (and is presumably stuck with this because it's extremely hard to make API changes to public modules).
Was tempted to factor the {subnet, route_table, route_table_association, default route} set of resources into a local module, but resisted that temptation for now as it's probably premature abstraction given that we know we're going to be importing the remaining bits of VPC gubbins from govuk-aws at some point and given how much friction TF causes in refactoring anything that involves moving resources into/out of/between modules.
(I added a TODO mentioning both of the above.)

Ok I think this is RFAL, at long last!

Rebased to squash a very small fix: apply the route create timeout workaround consistently to all routes, not just the IGW one. Should make tf apply slightly less flaky and brings us into line with what terraform-aws-modules/terraform-aws-vpc does.


SW-2871 Fix race condition that allowed org selection to occur before…

… user preferences were loaded

user is considered bootstrapped after preferences are fetched (regardless of success/failure in fetch)
org selection happens only after the user preferences are loaded
orgs data loading happens concurrently as usual
moved the setting of last visited org out into a separate useEffect, cleaner this way

Looks good. Thanks for the helpful explanations.

Thanks @charlie-tf

this is already merged as part of hotfix workflow


Write documentation on Medulla

Basic readme instructions for end users

Created PR: Update documentation & update 404.html location #188
https://github.com/recro/medulla/pull/188
Changes:

Update deploy-docs.yml to correct path for 404.html
Update image path (high-level-architecture.png) and dependencies links within repository
Start updating concepts documentation

previous PR 187


A Timeline Bug and Console error

Thank you for your efforts.
Describe the bug

I use Day planner with daily note. (Not periodic note)
I added dataview source to filter tasks generated by tasks-plugin.
"Tasks" generated by the plugin are shown in timeline, but the lists in daily note are not shown in time line.
This issue seems to be solved when I reload Obsidian. However this kind of problem happens again and again.

This is console error.
When I open Obsidian, this console error occurs.
Is this console error related with Time line bug?
Why the lists in daily note are not shown in time line?

Why this error occurs ?
Obsidian version: 1.5.8
day planner version: 0.18.0

Please update and re-check.
For now, closing this one as a duplicate of #384.


-hs <IP_ADDRESS> breaks preview_url

if listening on <IP_ADDRESS>, then the preview_url created in get_speakers_special is http://<IP_ADDRESS>:8020/sample/foo.wav, which is bogus as far as any client is concerned. I've been getting around this by giving -hs the explicit ip address on that machine I'll be talking to it on, which is fine for my purposes but not overly robust.
I"m not quite sure how this should be handled, but one idea would be to use the Host: header in the HTTP request to form the preview URL.. That way if a machine with two or more interfaces is running xtts_api_server -hs <IP_ADDRESS>, Host should in most cases tell you which one the client has reached/is intending to talk to.

Yes, I know about this problem, so I added a special flag -t URL , this flag allows you to specify the address that will be used for the preview

Ah! Ok. I misunderstood the purpose of that flag. Suggestion: if someone does -hs <IP_ADDRESS> and doesn't provide a -t, log some sort of warning telling them that previews will break unless they set a tunnel.
I'd still argue for doing something like the Host solution I mentioned though as it's both more elegant and more robust. A ton of servers out there have some form of "--listen <IP_ADDRESS>" so there should be some generally accepted best practices for URL construction. When I get a few minutes I"ll take a look around and see what folks are doing, as I'm curious in general.

I added a --listen flag and also made it automatically detect the local ip address of the computer so that I don't have to write the -t flag, this should make it easier to use the server outside the local pc.


Add support for proto 3

Do you have any plan to support it?

Yes when I have time, but pretty busy right now.


Kiwix.Wikivoyage version <IP_ADDRESS>

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[x] Does your manifest conform to the 1.0 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

@ItzLevvie This PR seems to have stalled. It says it needs moderator approval, but has already been approved by you. Also, the checks that have been undertaken don't look as detailed as usual (which may be the real reason for the block).

@ItzLevvie This PR seems to have stalled. It says it needs moderator approval, but has already been approved by you. Also, the checks that have been undertaken don't look as detailed as usual (which may be the real reason for the block).

Azure Pipelines are currently limited to 20 PRs per run due to 800+ PRs being opened so it'll probably take a while for it to run on this PR.

OK, thanks for explanation, I'll be patient!

Thanks for the heads-up!

@ItzLevvie Is this installers scan test failure a result of the unhealthy pipeline? The manifest validates locally for me, and I can install the app (see screenshot below). The test failure info suggests it failed a virus scan, but I've scanned the appxbundle locally and there are no warnings. I'm inclined to believe this is a testing software failure rather than a problem with this appxbundle.

Scan information here is empty (see line with Scan information: ''):
3/16/2022 11:40:34 PM
Status: Completed
##[error] Installer https://github.com/kiwix/kiwix-js-windows/releases/download/v1.9.4-
Wikivoyage/KiwixWebAppWikivoyage_<IP_ADDRESS>_AnyCPU.appxbundle Scan information: ''
##[error] Result: Failed

/azp run

@msftrubengu I've already validated and installed this package, using this manifest, on my local machine. Is this still an issue with the pipeline, or is there a real issue identified with the package?

All installing fine here (Windows 10, fully up-to-date):

The issue is that the installer is returning a non-zero exit code 0x80072EFF (-2147012865)

@msftrubengu  Well there are no exit codes or errors flagged when I install locally. So how do we fix this? The package is working fine both with the msix installer and with winget launched locally against this manifest. So it looks like a problem in the validator.
By the way, it's not the first time I've had such problems with msix packages -- see https://github.com/microsoft/winget-cli/issues/1987. At first I used installer type msix for Kiwix JS, Wikivoyage and Wikimed, but then these packages started to fail validation, and I was advised by @Trenly to change the installer type to appx. But now the packages appear to be failing with appx too.

/azp run

@msftrubengu Thank you, that did the trick! 🙏


Load balancing support

Create a way to load balance services. Come up with a pattern to completely ignore Nginx

done


Fix import bug

Fixes #8599.

Can you add a test to https://github.com/firebase/firebase-ios-sdk/blob/master/FirebaseAuth/Tests/Sample/SwiftApiTests/SwiftAPI.swift?

Thanks Morgan. Is this the right fix versus making sure there is an error when nil is returned?
It seems that if an API claiming to return a FIRUser doesn't, it should provide an explanation as to why?
cc: @rosalyntan

Is this the right fix versus making sure there is an error when nil is returned?
It seems that if an API claiming to return a FIRUser doesn't, it should provide an explanation as to why?

I think this seems right to me -- nil can be returned in the success case, it just means there is no user stored in the access group. There is an example in our docs that highlights this case.

Thanks for the explanation Rosalyn. That makes sense to me. :)


"npm install" fails with current npm/nodejs from latest ubuntu LTS (14.04 trusty)

distro nodejs version 0.10.25~dfsg2-2ubuntu1
distro npm version 1.3.10~dfsg-1
insight current as of rn (79341717ec5)
npm-debug.log is at https://gist.githubusercontent.com/anonymous/cff1f3b8eaa75cdf24ec/raw/npm-debug.log

think i have same error

Installation should be improved, please see: https://bitcore.io/guides/full-node


Traceur/Atscript - annotations vs annotate

When Traceur compiles annotations, they become a .annotations property on the object they annotate. However, the AtScript specification, or at least the AtScript Primer, which is the top Google hit when you search for AtScript specification, says the property should be called .annotate:
https://docs.google.com/document/d/11YUzC-1d0V1-Q3V0fQ7KSit97HnZoKVygDxpWzEYW0U/mobilebasic?viewopt=127
Should these be brought into sync in some fashion? Which is correct for AtScript? It's very confusing.
Also, it looks like TypeScript is looking at Annotations based off the .annotate property mentioned in the AtScript primer. https://github.com/Microsoft/TypeScript/issues/1557

Thanks for fixing this! As you say, I based it off of the primer.
As an aside, there is some discussion in the referenced TypeScript issue regarding decorators vs. annotations, with some leaning towards decorators. Would anyone on the traceur team care to chime in on that discussion - perhaps explaining why traceur chose annotations over decorators?

I'm not sure about this. The annotations feature was added by the Angular team. If they want to change the name of the property I'm fine with that but the option name should still be annotations for consistency.
@vojtajina

yep I'm just trying to bring it in line with the published docs on AtScript, which I think the Angular team created. Honestly, it's early enough that either is probably fine, just wanted to call attention to the inconsistency. Maybe it makes better sense to just fix the docs.

yeah. The same goes to parameters array of arrays vs. [{is, annotate:[]}]

It looks like the doc was written by @mhevery, so presumably annotate is correct? (but, a quick grep of the angular2 tree shows annotations used quite a lot :()

I'm going to close this bug until I hear from @mhevery or @IgorMinar.


Test dot product

Test dot product using the * operator between Vector2s and vector-like objects.

I want to take up this issue.

This seems pretty well covered at this point?


Update Dockerfile

Coverage remained the same at 100.0% when pulling e455a5b26fa50ea928c44a6db742b6ce5ed80910 on TS04-Docker into a2a1fd8c850031c6c9589b8b53498911d8b3fb9e on master.

Coverage remained the same at 100.0% when pulling ee391b41cc0def656c53cd20ee8f60cb303fb96a on TS04-Docker into a2a1fd8c850031c6c9589b8b53498911d8b3fb9e on master.

Coverage remained the same at 100.0% when pulling 7f65c99348775897e2f3a37b8ccfce3e1c02c6c0 on TS04-Docker into 02ea5bce887c00d3df5c4c15156932c7c9682df6 on master.


Small mistake in readme.md/Developement

In the Developement section of the readme.md it says:
Main page: http://localhost/9966/site, [...], although it should probably refer to http://localhost:9966/site

Thank you!


chore: Regenerate protobuf code

@ctlong It looks like the doppler.proto here is really old:
https://github.com/cloudfoundry/loggregator-agent-release/blob/96d62c7b03da81be1c325ad42d29b6470ed4f0ed/src/pkg/plumbing/doppler.proto#L55-L69
What do you think about the current pattern where doppler.proto is duplicated in loggregator-release and here?

@ctlong, @acrmp I don't  know about the ContainerMetrics request, but I'm not sure if we can remove the RecentLogs as we keep one older v106.7.x for the loggregator-release in maintenance mode where the endpoint is still there in the Traffic Controller.
If we decide to remove them, we should do a proper deprecation process, so that everyone is informed, and make sure that the other protocol definitions are compatible with the older releases as one will have to pin the loggregator-release version.

Good point @chombium. Maybe this PR is okay as it is then. What do you think @acrmp?


Renew token

Hi,
Do I manually have to get a new token from a logged-in session everytime I want to re-use my script and the token is expired? Or are there any (automatic) workarounds?
Best regards,
Guido

I now have a workaround with Selenium, but it's a bit cumbersome.

I now see that the lifetime of a token is very long.


How can I compute LIX by using functions currently provided by textstat?

Recently, I am doing a research on readability of some text files. Thanks for your package to help me compute characteristics of readability of the text files. But one feature called "LIX" is not found from current version of textstat.
Although there are other packages that can help me compute this feature, I am a little confused about the accuracy when using different packages to compute the readability characteristics. Because I find that readability characteristic values computed by a package named "readability" are a little different from values computed by textstat.
Could you tell me how to compute the feature "LIX" simply from current functions provided by textstat or add this function to the library?
Thanks

Hi YuanruiZJU, Thanks for the suggestion of adding LIX in current version, I will add it shortly.
Thanks

Hi, Now you can compute lix using the function  "lix" .

Thank you for your tool. :）


Typo on Creating A Subgaph Page

There is a spelling mistake in the word "utilities", it has been misspelled as "utilies".

@benface we can close this issue, it is merged


[Bug]  Show Particle action error

What happened?
When I try to create the action Show Particle
I can create other actions but not show particle.
I get this error.

The recipe
bug.zip
Steps to reproduce

Go in the WhileTask action
Create the action Show particle

Crash dump
No response
Plugin Version
latest
Server Version
4.2.0
PHP Version
8.0.15
Server OS
linux
Additional Information
No response

Could you send me an exported file of the recipe? I think it is a bug that is a related variable before those actions, but I can't reproduce it.

I am sorry for the late response, but I realised that it is a very complicated, messy recipe.
I made a other recipe with the same functions and it works.


Reconfigure support coverage based on available teamwork hours

Change-type: patch
Signed-off-by: AlidaOdendaal<EMAIL_ADDRESS>

@balena-ci I self-certify!


Ajax login fix. Upon a successful ajax login, if there is a html page in...

... the request cache from a previous unauthorized html page, the html for that page will be sent back instead of the ajax response. Also, there is no need to access the super methods when request is ajax.

Any way to force Travis to re-run the tests?

https://jira.grails.org/browse/GPSPRINGSECURITYCORE-320

Why were tests deleted as part of the pull request?

The tests tested a method that I deleted -> determineTargetUrl.  It is overly redundant and not needed.
determineTargetUrl checks to see if a request is ajax, if it is, it returns the ajax url, otherwise it calls super.
The bug is caused in onAuthenticationSuccess.  Before it was calling super, which internally checks the request cache first, so if you have a request in the request cache, it will not call this methods determineTargetUrl.  Therefore you do not want to call super if the request is ajax, because it will never invoke determineTargetUrl.
The alternative would have been to keep the method as is and call it from onAuthenticationSuccess, but if the request is not ajax, you would be essentially checking to see if a request is ajax twice, which is overly redundant.

hi @graemerocher
I added the tests back.  I just changed the method they test on.


Order patch

This fixes some issues with order data.

the memo is correctly saved when purchasing an item.
the alternate contact data is shown in the order details.
the Email field in the purchase is updated to "Email Address or Phone Number", since this is not an email field, the field is for any alternate contact method.

Closes #728
Closes #659
Closes #658

"Ship to" field shouldn't display additional information (e-mail and/or phone) together with shipping address. The first one is private information (only seller should be informed) and the other is public information (shipping carrier can know).

@rhcastilhos I don't understand your comment. The additional contact information is optional, and is added to the contract for the seller to use to contact the buyer.
It's only displayed to the buyer and seller.

I agree that additional information should be displayed on order details, but not on the same field of the shipping address.
As a customer, when I see my telephone or email written together with shipping address, it feels that those informations will be transmited to shipping carrier. But I want only my shipping address to be transmitted to third parties (besides vendor).

All of the information is only shown to the vendor. If they wanted to give it to a shipping company they can, regardless of where we show it.

Contact information shouldn't be displayed together with shipping address because:

Buyer may not want his e-mail/phone printed outside of his package (on a shipping address tag).
Buyer may want to send his order to some friend, but want to inform his own phone and not his phone

If additional contact field can be used both for email and phone, I believe it should be split in 2 different fields (one for email and one for phone). This would facilitate exporting customer data to some database sheet.

This is updated to move the additional contact information to another area. It also no longer copies it with the address.
The field can be anything currently, we can't separate it because we don't know what data is in it.
We can consider changing it to specific, validated fields for email, phone, or other contact methods in the future.

Good. So I would suggest changing field title from "Email address or Phone Number" to "Additional Contact Information" and changing default value from<EMAIL_ADDRESS>to<EMAIL_ADDRESS>or your phone number".

@morebrownies Does that address note look ok to you?

It all looks a bit too jammed together to me, but in case I'm overthinking, I defer to you.

Updated design for the address notes coming up.

A few thoughts:
1.) I'm not sure we want the colon after the notes, since none of the other labels have it.
2.) Are the italic really necessary here? Since the address notes are in their own section, they already are aesthetically separated from the address. Seems a bit overkill to me.
3.) Is it clear that these are address notes? If I didn't know they were, I would just think this was a section for generic notes. If it makes sense to others, I could totally get over this concern.
Aside for these points, this LGTM. I'll hold off on merging until @morebrownies can chime in.
@jjeffryes If it's urgent that this go in tonight, I suppose we could always merge and then put in a patch if Mike wants anything changed.

Good points. Updated.

I like what you guys landed on. One small suggestion...
Let's make sure to be consistent with the Delivery notes label. In the new address form, we label it as Shipping notes. It should be changed to Delivery notes

Updated to Delivery Notes in the settings too.


Sort dynpros at serialize to get a consistent serialized file

Sort dynpros at serialize to get a consistent serialized file.
In different systems RS_SCREEN_LIST may return a different order for dynpros.
I have a report with following Dynpros:
0100, 0101, 0200, 0201, 0300, 0301, 0302, 0400, 0401, 0500
After exporting from system "A" they were in the XML in the following order:
0100, 0101, 0302, 0500, 0200, 0300, 0201, 0301, 0400, 0401
After a fresh import into system "B" there was a diff for the marked dynrpos, since these are serialized in system "B" in the expected order.

Merged
Welcome to github, and welcome as a contributor to abapGit ✨


fix tag truncation issue with kured workflow

Description
7a8dc46abae4f50c3dfbb230213858c96b9d0140 may have resulted in the removal of the : between the container image name and tag name.
As seen in the previous build output, the kured image name and tag name does not appear correct:

The intent of this change is to remedy that issue.  If this is successful, the other existing workflows will be updated similarly.
Type Of Change

[ ] Docs
[x] Installation
[ ] Performance and Scalability
[ ] Security
[ ] Test and/or Release
[x] User Experience

Thanks @billimek this indeed does fix the issue.


Incorporate chroma css styles

From https://github.com/tidyverse/tidyverse.org/pull/450

Thanks for the nudge here- also @dcossyleon, add to your CSS upgrade?


Debugger does not work, this page does not solve the problem

Debugger breakpoints do not hit in Blazor in some projects. Many people are complaining because of this issue. This page seems to provide a few interesting hints, but it does not really solve the problem.
Even more, if "JavaScript debugging" *recommended setting is configured, then the F5 does not start the project at all.
Thanks in advance
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: ec2f61c7-9f51-6735-e328-3c7b495d70c3
Version Independent ID: 4d06e565-282d-6387-aa90-cb2c2986d35a
Content: Debug ASP.NET Core Blazor WebAssembly
Content Source: aspnetcore/blazor/debug.md
Product: aspnet-core
Technology: aspnetcore-blazor
GitHub Login: @guardrex
Microsoft Alias: riande

Ping @captainsafia

@ddobric If you're running into issues in VS, I would recommend reporting a bug via VS so we can get the appropriate logs to investigate. If you're running into issues in VS Code/standalone debugging, you can report it on the dotnet/aspnetcore issue page.

THX @captainsafia 🎷
@ddobric ... Here are the docs for that ...

Report a Problem
Visual Studio feedback options


rosdep: Add libfyaml-dev

Please add the following dependency to the rosdep database.
Package name:
libfyaml-dev
Package Upstream Source:
https://github.com/pantoniou/libfyaml
Purpose of using this:
This dependency is used by mrpt2 package. Currently, it fetches the copy of the library source code by cmake. However, this fails on Nix(OS), because packages are built in a sandbox without network access. Having it in rosdep allows building the package without problems.
Distro packaging links:
Links to Distribution Packages

Debian: https://packages.debian.org/search?keywords=libfyaml-dev

REQUIRED

Ubuntu: https://packages.ubuntu.com/search?keywords=libfyaml-dev

REQUIRED

Fedora: https://packages.fedoraproject.org/ (NOT AVAILABLE)

IF AVAILABLE

Arch: https://www.archlinux.org/packages/ (NOT AVAILABLE)

IF AVAILABLE

Gentoo: https://packages.gentoo.org/ (NOT AVAILABLE)

IF AVAILABLE

macOS: https://formulae.brew.sh/ (NOT AVAILABLE)

IF AVAILABLE

Alpine: https://pkgs.alpinelinux.org/package/edge/testing/x86_64/libfyaml-dev

IF AVAILABLE

NixOS/nixpkgs: https://search.nixos.org/packages?channel=unstable&show=libfyaml

OPTIONAL

openSUSE: https://software.opensuse.org/package/libfyaml

IF AVAILABLE

rhel: https://rhel.pkgs.org/ (NOT AVAILABLE)

IF AVAILABLE

Thanks for explaining the difference. I've removed the [] lines.

I've added the fedora entry. Now, there are no hints from the bot.


Documentation Website

The functionality of LiteSVM is growing (geyser plugins and RPC are coming soon), so it's time to consider a dedicated documentation website like Bankrun has.
Topics I'd like to include:

Installation of LiteSVM & available feature-flags
Configuration for different purposes (testing, standalone usage etc)
Various examples of programs

I'll have some bandwidth after the next step of geyser's plugin implementation and can make a doc-website with zine - a zig-based static site generator, to whom I, personally, want to help grow.
Will be glad to hear your thoughts about that :)

Your point is valid, but when it comes to doc maintenance, I don't know if it's the most practical. What do you think @kevinheavey ?

Just use docs.rs

If the need arises we can use mdbook like foundry does: https://book.getfoundry.sh

Let's do a mdbook in another repo


Date Picker

The native color picker that is one of the tutorial examples could become a first-class member of ipywidgets, using the Color trait type. Same for a Date picker.
The datetime trait type would probably be slightly more complicated to handle different time zones between browser and kernel...

For other libraries using the Color trait type like bqplot, it would make it very easy to bind some plot item color with a native ipywidgets color picker.

+1 on having Color and Date widgets. I have already needed these - would be
helpful to have date/time widgets for different granulatiries (full time,
day of month, week, day of week, month).
On Tue, Oct 6, 2015 at 7:02 PM, Sylvain Corlay<EMAIL_ADDRESS>wrote:

For other libraries using the Color trait type like bqplot, it would make
it very easy to bind some plot item color with a native ipywidgets color
picker.
—
Reply to this email directly or view it on GitHub
https://github.com/ipython/ipywidgets/issues/168#issuecomment-146028771.

--
Brian E. Granger
Associate Professor of Physics and Data Science
Cal Poly State University, San Luis Obispo
@ellisonbg on Twitter and GitHub
<EMAIL_ADDRESS>and<EMAIL_ADDRESS>

The color picker is the easy one. The date-time trait is more tricky because of time zones in my experience.

Yes, for full blown datetime, you have to worry about that - but for the
simpler ones, it isn't much of a problem.
On Tue, Oct 6, 2015 at 9:33 PM, Sylvain Corlay<EMAIL_ADDRESS>wrote:

The color picker is the easy one. The date-time trait is more tricky
because of time zones in my experience.
—
Reply to this email directly or view it on GitHub
https://github.com/ipython/ipywidgets/issues/168#issuecomment-146052754.

--
Brian E. Granger
Associate Professor of Physics and Data Science
Cal Poly State University, San Luis Obispo
@ellisonbg on Twitter and GitHub
<EMAIL_ADDRESS>and<EMAIL_ADDRESS>

Widget_color added in #169 .

@SylvainCorlay why not just sync UTC in the model and assume the clocks are synchronized?  I would not worry about clock synchronization at this level.  The view could render in local timezone instead of UTC.

I am not quite sure because even a bare date gets conerted to datetime and
then shifted by a few hours.
On Oct 9, 2015 7:41 PM, "Jonathan Frederic"<EMAIL_ADDRESS>wrote:

@SylvainCorlay https://github.com/SylvainCorlay why not just sync UTC
in the model and assume the clocks are synchronized? I would not worry
about clock synchronization at this level. The view could render in local
timezone instead of UTC.
—
Reply to this email directly or view it on GitHub
https://github.com/ipython/ipywidgets/issues/168#issuecomment-147011902.

I discussed this in person with @pganssle earlier today and since JavaScriptś Date is not timezone-naive, unlike python's datetime, we might have to be opinionated  on de-serialization by adding the local time zone to any datetime coming from the backend that does not have one...

Yeah, I was holding off on commenting until I understood the JS a bit more, it seems like the main issue is that Javascript handles dates a bit differently than python. JS doesn't seem to have any timezone-awareness, all times are assumed to be in local time, according to this link. You apparently also need to use the new operator when creating dates, otherwise you'll get a date string (see the note on this page).
Instantiating the Date object with a string seems to assume that the string is a UTC string, while instantiating it with constructor arguments assumes that it's in local time:
>>> cdate = new Date('2015-05-12')
Mon May 11 2015 20:00:00 GMT-0400 (Eastern Daylight Time)
>>> cdate = new Date(2015, 4, 12) // Months are 0-based indices in JS
Tue May 12 2015 00:00:00 GMT-0400 (Eastern Daylight Time)

It seems to me that the right behavior is that python timezone-naive datetimes can be passed directly to Javascript with the standard constructor (resulting in the correct local time), and timezone-aware objects should be converted to UTC in python and passed to the Date.UTC function in Javascript:
>>> cdate = new Date(Date.UTC(2015, 4, 12)) // Test
Mon May 11 2015 20:00:00 GMT-0400 (Eastern Daylight Time)

Here's a demo python script that I think has the right behavior:
def to_JS_datestring(pydt):
    argstr = "{year}, {month}, {day}, {hour}, {minute}, {second}, {millisecond}"
    if pydt.tzinfo is not None:
        # Naive python object
        pydt = (pydt - pydt.utcoffset()).replace(tzinfo=None)
        argstr = "Date.UTC({args})".format(args=argstr)

    args = argstr.format(year=pydt.year, month=pydt.month - 1,
                         day=pydt.day, hour=pydt.hour,
                         minute=pydt.minute, second=pydt.second,
                         millisecond=pydt.microsecond * 1000)

    return "new Date({argstr})".format(argstr=args)

def test_JS(ds, vname):
    o = []
    for ii, d in enumerate(ds):
        o.append("{vn}{x} = {s}".format(vn=vname,
                                        x=ii,
                                        s=to_JS_datestring(d)))

    o.append(vname + " = [" +
             ', '.join("{vn}{x}".format(vn=vname, x=x)
                       for x in range(len(ds))) + "];")

    o.append("for (i = 0; i < " + vname + ".length - 1; i++) {")
    o.append("    console.log(" + vname + "[i] - " + vname + "[i+1] == 0);")
    o.append("}")

    return '\n'.join(o)

if __name__ == "__main__":
    from datetime import datetime as dt
    from dateutil.tz import gettz, tzutc

    utc = tzutc()
    local_tz = gettz('America/New_York')
    minsk_tz = gettz('Europe/Minsk')

    dbase = dt(2015, 4, 13)
    dtbase = dt(2015, 4, 13, 3, 15, 21, 150000)

    # These should all be the same value in the output
    dlocal = dbase.replace(tzinfo=local_tz)
    dutc = dlocal.astimezone(utc)
    dminsk = dlocal.astimezone(minsk_tz)

    ds = (dbase, dlocal, dutc, dminsk)

    print(test_JS(ds, "dates"))

    # These should also all be the same value in the output
    dtlocal = dtbase.replace(tzinfo=local_tz)
    dtutc = dtlocal.astimezone(utc)
    dtminsk = dtlocal.astimezone(minsk_tz)

    dts = (dtbase, dtlocal, dtutc, dtminsk)

    print("\n" + test_JS(dts, "datetimes"))

This outputs:
dates0 = new Date(2015, 3, 13, 0, 0, 0, 0)
dates1 = new Date(Date.UTC(2015, 3, 13, 4, 0, 0, 0))
dates2 = new Date(Date.UTC(2015, 3, 13, 4, 0, 0, 0))
dates3 = new Date(Date.UTC(2015, 3, 13, 4, 0, 0, 0))
dates = [dates0, dates1, dates2, dates3];
for (i = 0; i < dates.length - 1; i++) {
    console.log(dates[i] - dates[i+1] == 0);
}

datetimes0 = new Date(2015, 3, 13, 3, 15, 21, 150000000)
datetimes1 = new Date(Date.UTC(2015, 3, 13, 7, 15, 21, 150000000))
datetimes2 = new Date(Date.UTC(2015, 3, 13, 7, 15, 21, 150000000))
datetimes3 = new Date(Date.UTC(2015, 3, 13, 7, 15, 21, 150000000))
datetimes = [datetimes0, datetimes1, datetimes2, datetimes3];
for (i = 0; i < datetimes.length - 1; i++) {
    console.log(datetimes[i] - datetimes[i+1] == 0);
}

Hope that's helpful.

Thanks again @pganssle I added a date picker widgets, and your comments helped a lot. This will be part of soon-to-be-released ipywidgets 6.0


No Such Method Error before startActivityForResult is called

Some very needed 3rd party libraries on my project uses the updated Picasso, so I can't avoid it.
At final of the payment process I have this error:
java.lang.NoSuchMethodError: No static method with(Landroid/content/Context;)Lcom/squareup/picasso/Picasso; in class Lcom/squareup/picasso/Picasso; or its super classes (declaration of 'com.squareup.picasso.Picasso' appears in ,,,         at com.mercadopago.android.px.internal.view.PaymentResultHeader.renderIcon(PaymentResultHeader.java:62)         at com.mercadopago.android.px.internal.view.PaymentResultHeader.setModel(PaymentResultHeader.java:56)         at com.mercadopago.android.px.internal.features.payment_result.PaymentResultActivity.configureViews(PaymentResultActivity.java:81)         at com.mercadopago.android.px.internal.features.payment_result.PaymentResultPresenter.configureView(PaymentResultPresenter.java:139)         at com.mercadopago.android.px.internal.features.payment_result.PaymentResultPresenter.attachView(PaymentResultPresenter.java:64)         at com.mercadopago.android.px.internal.features.payment_result.PaymentResultActivity.onCreated(PaymentResultActivity.java:62)         at com.mercadopago.android.px.internal.base.PXActivity.onCreate(PXActivity.java:24)
Any solution or workaround?

Hi Renascienza,
I came with a workaround and I think it could works for you. It was released in 4.27.1 version
Let me know if it helps
Kind regards

Hi, @cgaggino . The workaround was tested and is successful, the payment process works now.
So many thanks.


Document passwords supported characters

After a modification of the Create hive credentials store task, some passwords that were supported before (e.g. one password with a ') trigger parsing errors.
Before:
- name: Create hive credentials store
  shell: |
    {{ hadoop_home }}/bin/hadoop credential create javax.jdo.option.ConnectionPassword -value {{ hive_ms_db_password }} -provider {{ hive_client_credentials_store_uri }}

After:
- name: Create hive credentials store
  command: >-
    {{ hadoop_home }}/bin/hadoop credential
      create javax.jdo.option.ConnectionPassword
      -value {{ hive_ms_db_password }}
      -provider {{ hive_client_credentials_store_uri }}

This is not necessarily a problem not to support ' characters in passwords, but we should at least document what characters are allowed.

Can we define password policy for all components? Aitäh!


KPI metrics for dashboard

Acceptance Criteria:
KPI Dashboard Page:
Displays critical KPIs:

Cycle Time Per Order
Order Picking Accuracy
Warehouse Throughput
Stock Levels (by SKU)
Order Fulfillment Rate

Navigation:
A working "KPI" button in the Sidebar takes users to the KPI Dashboard page.
Sidebar link uses React Router for seamless navigation.
Visual Design:
KPIs are displayed as cards or tables in a grid layout.
Responsive design ensures the dashboard is viewable on different screen sizes.
Parent User Story: #10

For the stocklevel KPI, since there are thousands of different parts to track, it will be more efficient to visualise it in a table rather than a graph, in the KPI dashboard we should implement something like this

Future enhancement, we could add a status colomn on table for dashboard. With a threshold for when stock levels are low

Will keep static pages for now and push to main, the full feature plan and design will be added to the issue that contains the sub issues #10

current static KPI dashboard completed in #10
full functionalities and new designed moved to #10


Update code as the API changed

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

@mmacy - Please review the proposed changes.  Thanks

@GitHubber17 - I am the owner of this article now. Approved.
@vanillajonathan - thank you for your contribution!

#sign-off


Update comparison-to-olm.md

Add some additional clarification and updates based on some new OLM features.
What this PR does / why we need it:
Add clarity over some of the features that ODLM provides and added some updates to some of the newer features available in OLM.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
NA
Special notes for your reviewer:

Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.

Release note:

NONE

/assign @horis233


force user update the playground/cluster component

Signed-off-by: Lonng<EMAIL_ADDRESS>
What problem does this PR solve?
force user update the playground/cluster component
➜  tiup git:(fix-tags) ✗ tiup playground
Failed to start component `playground`
Error: incompatible component version, please use `tiup update playground` to upgrade to the latest version

Codecov Report

Merging #294 into master will decrease coverage by 0.28%.
The diff coverage is 35.35%.

@@            Coverage Diff             @@
##           master     #294      +/-   ##
==========================================
- Coverage   23.50%   23.21%   -0.29%
==========================================
  Files          36       36
  Lines        2936     2955      +19
==========================================
- Hits          690      686       -4
- Misses       2152     2175      +23
  Partials       94       94

Impacted Files
Coverage Δ

cmd/help.go
38.88% <ø> (ø)

cmd/list.go
15.57% <0.00%> (ø)

cmd/root.go
48.19% <0.00%> (ø)

cmd/run.go
0.00% <0.00%> (ø)

cmd/telemetry.go
29.68% <ø> (ø)

cmd/uninstall.go
35.59% <0.00%> (-0.62%)
:arrow_down:

pkg/repository/clone_mirror.go
0.00% <0.00%> (ø)

pkg/repository/v1manifest/local_manifests.go
0.00% <0.00%> (ø)

pkg/repository/v1manifest/manifest.go
0.00% <ø> (ø)

pkg/repository/mirror.go
5.64% <27.27%> (+1.40%)
:arrow_up:

... and 4 more

Continue to review full report at Codecov.

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


ERR_INVALID_ARG_TYPE when trying to upload file

I have a setup with an additionalStacks S3 bucket:
custom:
  additionalStacks:
    permanent:
      Resources:
        S3BucketData:
            Type: AWS::S3::Bucket
            Properties:
                BucketName: my-local-bucket
  s3:
    host: <IP_ADDRESS>
    port: 8000
    directory: ./buckets/
  webpack:
    keepOutputDirectory: true
    includeModules: false
    packager: 'yarn'

When I try to upload a file to my bucket I get an error.
 aws --endpoint http://localhost:8000 s3api put-object --bucket my-local-bucket --key test/test1.txt --body ./test/test1.txt

Error:
info: PUT /my-local-bucket/test/test1.txt 500 1ms -

  TypeError [ERR_INVALID_ARG_TYPE]: The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type undefined
      at Function.from (buffer.js:208:11)
      at authentication (~/IdeaProjects/my-project/lambda/node_modules/s3rver/lib/middleware/authentication.js:182:37)
      at dispatch (~/IdeaProjects/my-project/lambda/node_modules/koa/node_modules/koa-compose/index.js:42:32)
      at website (~/IdeaProjects/my-project/lambda/node_modules/s3rver/lib/middleware/website.js:47:14)

Hi @bartvollebregt
Thanks for your report. I'm sorry for my wrong README.md. In fact, We have to set  AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY correctly.  So please use the following command.
AWS_ACCESS_KEY_ID=S3RVER AWS_SECRET_ACCESS_KEY=S3RVER aws --endpoint http://localhost:8000 s3api get-object --bucket local-bucket --key 1234 1234.txt

@ar90n Not to worry! Thanks for responding so quickly.
I'm using aws-vault so that also set incorrect access keys.
It's working now, thanks a lot!

That's great !! If you meet any trouble,  please let me know.


AssitiveMML extension: visual rendering not aria-hidden in IE10+

Just to keep this separate from #938

This seems to be triggered by NVDA? If NVDA is not active, the aria-hidden attribute is present. cc @jcsteh
I may just be interpreting things incorrectly. The inspector shows ="true and the visual output is ignored (but the MathML not read correctly). Maybe this is expected behavior?

Here is some more information:  this doesn't seem to be MathJax-specific, but happens in static pages as well.  For example, with this file
<!DOCTYPE html>

<title>NVDA aria-hidden test</title>

The following has aria-hidden set to true:

skip me

It should not have been read.

if I have NVDA running, then open this file in IE10 on Windows 7, the page will read properly the first time (the text of the
 will be skipped), but if you move the mouse and cause it to be read again, the "skip me" is read.  Further, if you use the developer tools to inspect the live DOM, the aria-hidden="true" attribute has been removed!  Steps to reproduce:

Start NVDA
Open the page above in IE10
NVDA reads the page
Open Developer Tools (F12)
In the developer window, open the html and body elements so you can see the div element.  It will be missing the aria-hidden attribute.

Further information:  Even when the developer tools don't show the aria-hidden attribute, inspecting the DOM through the console (say via document.body.childNodes[1].getAttribute("aria-hidden") or document.body.childNodes[1].outerHTML or document.body.innerHTML) shows it is set.  But the fact that the developer tools don't show that does suggest that something funny is going on.  That, plus the fact that NVDA reads the node anyway.

Yet more information:  A similar things happens with MathML in the page in IE10.  With MathPlayer4 installed, the page
<!DOCTYPE html>

<title>NVDA MathML test</title>

A fraction:
<math>
  <mfrac>
    <mi>x</mi>
    <mn>2</mn>
  </mfrac>
</math>

will be read properly the first time it is read, but moving the mouse to get it to read a second time and the math will be read "x 2" rather than "the fraction with numerator x and denominator 2".

Have you tried removing MathPlayer? That seems to get me to NVDA just reading the string from the MathML (and ignoring the visual output), cf. https://github.com/mathjax/MathJax-docs/issues/111

I started without MathPlayer, and yes, it reads the MathML by ignoring the tags.  To get it to read it as math, you need to have MathPlayer installed.  The point here is that even with MathPlayer, the second time is read as text rather than math.

Weird.
FYI, I've filed http://community.nvda-project.org/ticket/5283#ticket

I started without MathPlayer, and yes, it reads the MathML by ignoring the tags. To get it to read it as math, you need to have MathPlayer installed.

Ah, ok. I didn't understand it that way. As mentioned on the other thread, I had trouble with MathPlayer installed but uninstalling it fixed those. Maybe uninstalling-but-not-rebooting helped eliminated the MathPlayer problems while leaving enough of the library to run NVDA? Super weird.

Aria-hidden and math content may not be handled correctly in IE when reading with the mouse. Although idealy mouse reading would work, it's not a common use case for a screen reader user, so it's lower priority for us (and much harder to get right). Please try with the keyboard. See the NVDA User Guide section regarding Browse Mode.

Thanks for the feedback! Could you look at my comments on the other thread
and the docs wiki issue. Keyboard usage also does not read correctly.
On Aug 14, 2015 1:25 PM, "James Teh"<EMAIL_ADDRESS>wrote:

Aria-hidden and math content may not be handled correctly in IE when
reading with the mouse. Although idealy mouse reading would work, it's not
a common use case for a screen reader user, so it's lower priority for us
(and much harder to get right). Please try with the keyboard. See the NVDA
User Guide section regarding Browse Mode.
—
Reply to this email directly or view it on GitHub
https://github.com/mathjax/MathJax/issues/1235#issuecomment-131082132.

@dpvc should we dropped this from the 2.6 milestone? Seems like we can't work on a fix without assistance from nvaccess.

should we drop this from the 2.6 milestone?

Yes, I think we can't do anything about it now.

I was just looking this up.

the first example (just aria-hidden) seems fixed in current NVDA.
the problem with MathML being read both as "string" and correctly persists.

I'll update my ticket at nvaccess which now resides at https://github.com/nvaccess/nvda/issues/5283.

So that's embarrassing. I cannot reproduce the plain MathML/MathPlayer problem (no MathJax involved). @dpvc if you can still reproduce this (and even after rebooting the VM), could you let me know?
I still have the original issue of MathJax's AssistiveMML extension leading to double reading, e.g., here http://s.codepen.io/pkra/debug/NGojag, "x 2 x over 2".

@dpvc: at https://github.com/nvaccess/nvda/issues/5283#issuecomment-158271803, @jcsteh (thank you!) dug into this for us and explains how this happens via bad IE behavior (surprise!) triggering NVDA heuristics.
A fix from our end could be to add role=presentation on both the output span (where we have role=math) and the <math> elements parent span. We should test how other AT would be affected by such a change and I'll ask around.
I don't think any AT I tested announced the math role in IE anyway, so even if role=presentation turns out not to be a good global solution, we can perhaps still use it for IE.

Just a reverse ping https://github.com/nvaccess/nvda/issues/5283#issuecomment-160193109.  I've made a hacked copy of the extension in the pen at http://codepen.io/pkra/pen/NGojag?editors=101.

add role=presentation to MathJax's top-level span
add role=presentation to parent span of the MathML.

NVDA works fine, JAWS, too, but drops the "clickable math" since the menu is attached to the top-level span (correct?).  I don't know if we should mind that, actually, given how many users complain about JAWS voicing "clickable math" after every equation.

The results were only for IE10 on Win8.1. Will test more.

I've tested all platforms we've tested before. The change to role=presentation works across the board.
The only "issues" are

no more "clickable" etc. indicating the menu. But since users complained, I think this is actually positive.
VoiceOver iOS does not have an off-set highlight around the hidden MathML. That means you can't double click on it to start Safari's MathML explorer. I couldn't find a reference on how to start that explorer with a gesture. So that would be the only real downside I can see. For me, the gain outweighs it.

For what it's worth, I still consider nvaccess/nvda#5283 to be a problem that we need to fix in NVDA (or rather, yet another IE stupidity that we need to hack around in NVDA). Unfortunately, I don't have an ETA for this; it's a nontrivial fix.

no more "clickable" etc. indicating the menu. But since users complained, I think this is actually positive.

IMO, clickable isn't a good indication of a menu anyway. If anything, you want to use aria-haspopup (but that doesn't give an indication of how to activate it).

VoiceOver iOS does not have an off-set highlight around the hidden MathML. That means you can't double click on it to start Safari's MathML explorer.

I assume you can still flick to get to the math, though? Otherwise, how do you read it? Is it possible to make the hidden MathML have a greater width and height as far as browsers are concerned without actually making it visible? That might fix the Safari issue and maybe the menu targetability as well.

Ideally, the hidden math would have screen coordinates which fall within the wrapper. This way, if ATs try to click the hidden math, they'll hit the wrapper, which is exactly what you want. It should also cause the wrapper to be highlighted if the AT highlights the coordinates of the hidden math, which is also what you want. I'm not sure if this is possible, though.

For what it's worth, I still consider nvaccess/nvda#5283 to be a problem that we need to fix in NVDA (or rather, yet another IE stupidity that we need to hack around in NVDA). Unfortunately, I don't have an ETA for this; it's a nontrivial fix.

Thanks, that's good to know. Still, it seems to me that switching to role=presentation would be a reasonable tradeoff until this is fixed in NVDA. Especially, since I checked our old solution and I don't see the outline on the hidden MathML in iOS anymore. I'm guessing an iOS update may have changed that behavior.

I assume you can still flick to get to the math, though?

Yes, I was flicking.

Is it possible to make the hidden MathML have a greater width and height as far as browsers are concerned without actually making it visible?

That's an interesting idea but I think that's out of scope for 2.6. It would also come with some performance issues.

Ideally, the hidden math would have screen coordinates which fall within the wrapper.

Hm. I thought that's the case. @dpvc?
What worries me slightly is your comment at https://github.com/nvaccess/nvda/issues/5283#issuecomment-161160096. I hope it's ok to move my response to this thread where it fits better, I think.

I was trying to route the mouse to the node and right click. I tried both the outer wrapper and the hidden math. Testing again, it seems to work in IE, but not Firefox.

I'm not sure what you mean by routing here (but see below). Also, I'm not sure if "testing again" refers to the old implementation (aria-hidden, aria read-only) or new implementation (role presentation => aria hidden, role presentation).
I did a quick check of  the following: tabbing to an equation, moving mouse to current navigator object (NVDA+numpadDivide / NVDA+shift+m resp.), and triggering right-click (numpadDivide / NVDA+[ resp.). I wasn't able to reliably get to the menu in the old/current AssistiveMML extension, because the cursor isn't always on target. E.g., on mathjax.org where the old/current implementation is active, the first equation does not work but in the samples in the first modal the cursor is on target.
However, I also couldn't get the menu in the new implementation at http://s.codepen.io/pkra/debug/NGojag, again the cursor would be off.

I didn't know about [using space to get the menu in v2.6]. It does work nicely, but the problem is that the wrapper has to get focus for that to work and screen reader users have to switch to focus mode or pass the key through (since space/enter clicks in browse mode/equivalent).
Unfortunately, the wrapper never gets focus now and that's due to role="presentation". Without role="presentation", NVDA does focus the wrapper when you move to the math. This probably isn't that useful anyway due to the space/enter thing I mentioned, but it is the sort of regression I was worried about.

I didn't realize NVDA did anything different in the old/current AssistiveMML implementation. I can tab to the expression and trigger the menu (in focus mode) in both. I did not notice NVDA doing anything special when the expression is in focus but I thought that hasnot changed. I'm guessing my inexperience as an AT user together with my sight makes me miss something :-( . Could you possibly explain the difference in more detail?

Ideally, the hidden math would have screen coordinates which fall within the wrapper.

Hm. I thought that's the case. @dpvc?

They partially fall within the wrapper, but not entirely. The top of the hidden math falls within the wrapper, but the centre of the hidden math doesn't.
Using your CodePen test, here's what I get n my system for the screen locations in Firefox:

Wrapper (mjx-chtml): left 102, top 135, right 118, bottom 162
Hidden "math" element: left 102, top 161, right 113, bottom 182
Centre of hidden "math" element: 107, 171 = 10 pixels below the bottom of the wrapper

I was trying to route the mouse to the node and right click. I tried both the outer wrapper and the hidden math. Testing again, it seems to work in IE, but not Firefox.

I'm not sure what you mean by routing here

You got my meaning; I meant routing the mouse as you describe.

Also, I'm not sure if "testing again" refers to the old implementation (aria-hidden, aria read-only) or new implementation (role presentation => aria hidden, role presentation).

Both. I must have tested incorrectly the first time.

I did a quick check of the following: tabbing to an equation, moving mouse to current navigator object (NVDA+numpadDivide / NVDA+shift+m resp.), and triggering right-click (numpadDivide / NVDA+[ resp.). I wasn't able to reliably get to the menu in the old/current AssistiveMML extension, because the cursor isn't always on target. E.g., on mathjax.org where the old/current implementation is active, the first equation does not work but in the samples in the first modal the cursor is on target.

Right. Note that this will try to route to the hidden math. This is what I was seeing and is probably due to the coordinates problem above.
I just discovered that my test with the wrapper wasn't quite correct. If I get to the wrapper and ensure I'm routing to the centre of that, I can get it to activate. However, this requires some pretty advanced knowledge of NVDA and most users won't be able to pull it off. (Apparently, even i screwed it up when I tried yesterday.)

I didn't realize NVDA did anything different in the old/current AssistiveMML implementation. I can tab to the expression and trigger the menu (in focus mode) in both.

Correct, but previously, NVDA would have focused the wrapper as soon as the browse mode cursor moved onto the math. If you then switched to focus mode or passed the next key through and pressed space, you could activate the menu. As you say, you can still tab to it and do this, but this isn't obvious.
So, in short, it'd be fantastic if we could get the centre coordinate of the math to fall within the wrapper so routing the mouse and right clicking would at least work.
What does left click currently do? If we could get that bringing up the menu, an AT user could simply hit enter. I realise this might conflict with something else, though.

Thanks for such a detailed follow-up, @jcsteh! We will look into this in more detail.

I have made some proposed changes in the issue1235 branch of my fork of MathJax.  It now places the assistive-MathML container in the upper left corner of the MathJax typeset math wrapper.  Ideally, the MathML is roughly the same size as the MathJax math, so the two bounding boxes should be similar, and so the assistive MathML will be inside the MathJax wrapper (or mostly so), at least with browsers that handle some MathML.  For those that just show MathML as tag soup, the two bounding boxes may not coincide very well (and for really long equations, the center of the MathML might be outside the MathJax wrapper).
For the HTML-CSS output, the "upper left" is the upper left of the containing span, and that means that its height is the standard line height, not the height of the Math itself, as it is with the CHTML and SVG output.  So that might mean the MathML extends off the bottom of the container.
In any case, give this a try and see if that is an improvement.

Great! I've updated http://codepen.io/pkra/pen/NGojag. It looks like this helps (at least I now reliably hit the expression when doing mouse interactions through NVDA).
@jcsteh if you have a chance to also take a look, that would be great.

Seems to work quite nicely for me now in Firefox. Thanks! I can route
the mouse to the math and right click to bring up the context menu, and
since the context menu has lovely ARIA on it, it behaves exactly as it
should.
Unfortunately, the routing still seems to be off with IE 11. I didn't
have time to actually work out what's going on, though.

Right, I think @dpvc had another idea to try.

I already tried it and it doesn't help.  I will have a look at IE11 to see if I can see anything else to try.

Ah, ok.
Also, totally forgot to than @jcsteh for the positive feedback -- very much appreciated!


KNX : Light RGB

Hello,
Since the upgrade to 0.82.0, the issue
https://github.com/home-assistant/home-assistant/issues/16383
is back !
after a restart if I try to switch on the rgb light I have this error :
2018-11-21 19:19:17 ERROR (MainThread) [homeassistant.core] Error executing service <ServiceCall light.turn_on (c:fec1e834609e42249f06e8018a9185f1): entity_id=['light.rgb_sdb']>
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/core.py", line 1177, in _event_to_service_call
    await service_handler.func(service_call)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/light/__init__.py", line 270, in async_handle_light_on_service
    await light.async_turn_on(**pars)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/light/knx.py", line 170, in async_turn_on
    await self.device.set_on()
  File "/usr/local/lib/python3.6/site-packages/xknx/devices/light.py", line 122, in set_on
    await self.switch.on()
  File "/usr/local/lib/python3.6/site-packages/xknx/devices/remote_value_switch.py", line 65, in on
    await self.set(self.Value.ON)
  File "/usr/local/lib/python3.6/site-packages/xknx/devices/remote_value.py", line 110, in set
    await self.after_update_cb()
  File "/usr/local/lib/python3.6/site-packages/xknx/devices/device.py", line 33, in after_update
    await device_updated_cb(self)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/light/knx.py", line 89, in after_update_callback
    await self.async_update_ha_state()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 239, in async_update_ha_state
    attr = self.state_attributes or {}
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/light/__init__.py", line 432, in state_attributes
    if self.supported_features & SUPPORT_COLOR and self.hs_color:
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/light/knx.py", line 122, in hs_color
    return color_util.color_RGB_to_hs(*self.device.current_color)
TypeError: color_RGB_to_hs() argument after * must be an iterable, not NoneType

here is my current config :
  - platform: knx
    name: RGB sdb
    address: '2/0/93'
    state_address: '2/0/94'
    color_address: '2/0/95'
    color_address_state: '2/0/95'

the issue appear xwhen I want to switch on the light from gui. If I switch on from the push button, then it works fine. Later use in haworks fine.
so issue comes only after a restart and if the light was not on before.

I'm not sure this will solve your problem but try changing your configuration line "color_address_state: '2/0/95'" to
color_state_address: '2/0/95'

I have a similar problem.
I don't have the exception on startup but on restart the color is not read from the device.
I see the telegram reading the on/off state but no for reading the color.
Also, it stops reading the state from other devices as soon as it encountered the color light, which means a lot of stuff is seen as off, even though it's on.
Removing the color_address and color_state_address fixes the problem.
My light config looks like this:
- platform: knx
  name: "LED Fernseher"
  address: '0/0/23'
  state_address: '0/0/24'
  color_address: '0/0/21'
  color_state_address: '0/0/22'

Toggling the light/color from knx updates the state in HA, so telegram are received and processed.
Stopping HA produces the exception:
Jan 06 00:11:00 openhab hass[12569]: 2019-01-06 00:11:00 ERROR (Dummy-12) [homeassistant.core] Error doing job: Task exception was never retrieved
Jan 06 00:11:00 openhab hass[12569]: Traceback (most recent call last):
Jan 06 00:11:00 openhab hass[12569]:   File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
Jan 06 00:11:00 openhab hass[12569]:     result = coro.send(None)
Jan 06 00:11:00 openhab hass[12569]:   File "/opt/homeassistant/lib/python3.5/site-packages/xknx/core/stateupdater.py", line 29, in run
Jan 06 00:11:00 openhab hass[12569]:     await self.xknx.devices.sync()
Jan 06 00:11:00 openhab hass[12569]:   File "/opt/homeassistant/lib/python3.5/site-packages/xknx/devices/devices.py", line 63, in sync
Jan 06 00:11:00 openhab hass[12569]:     await device.sync()
Jan 06 00:11:00 openhab hass[12569]:   File "/opt/homeassistant/lib/python3.5/site-packages/xknx/devices/device.py", line 38, in sync
Jan 06 00:11:00 openhab hass[12569]:     await self._sync_impl(wait_for_result)
Jan 06 00:11:00 openhab hass[12569]:   File "/opt/homeassistant/lib/python3.5/site-packages/xknx/devices/device.py", line 50, in _sync_impl
Jan 06 00:11:00 openhab hass[12569]:     await self.process(telegram)
Jan 06 00:11:00 openhab hass[12569]:   File "/opt/homeassistant/lib/python3.5/site-packages/xknx/devices/device.py", line 75, in process
Jan 06 00:11:00 openhab hass[12569]:     await self.process_group_response(telegram)
Jan 06 00:11:00 openhab hass[12569]:   File "/opt/homeassistant/lib/python3.5/site-packages/xknx/devices/device.py", line 87, in process_group_response
Jan 06 00:11:00 openhab hass[12569]:     await self.process_group_write(telegram)
Jan 06 00:11:00 openhab hass[12569]:   File "/opt/homeassistant/lib/python3.5/site-packages/xknx/devices/light.py", line 173, in process_group_write
Jan 06 00:11:00 openhab hass[12569]:     await self.switch.process(telegram)
Jan 06 00:11:00 openhab hass[12569]:   File "/opt/homeassistant/lib/python3.5/site-packages/xknx/devices/remote_value.py", line 79, in process
Jan 06 00:11:00 openhab hass[12569]:     await self.after_update_cb()
Jan 06 00:11:00 openhab hass[12569]:   File "/opt/homeassistant/lib/python3.5/site-packages/xknx/devices/device.py", line 33, in after_update
Jan 06 00:11:00 openhab hass[12569]:     await device_updated_cb(self)
Jan 06 00:11:00 openhab hass[12569]:   File "/opt/homeassistant/lib/python3.5/site-packages/homeassistant/components/light/knx.py", line 89, in after_update_callback
Jan 06 00:11:00 openhab hass[12569]:     await self.async_update_ha_state()
Jan 06 00:11:00 openhab hass[12569]:   File "/opt/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity.py", line 239, in async_update_ha_state
Jan 06 00:11:00 openhab hass[12569]:     attr = self.state_attributes or {}
Jan 06 00:11:00 openhab hass[12569]:   File "/opt/homeassistant/lib/python3.5/site-packages/homeassistant/components/light/__init__.py", line 432, in state_attributes
Jan 06 00:11:00 openhab hass[12569]:     if self.supported_features & SUPPORT_COLOR and self.hs_color:
Jan 06 00:11:00 openhab hass[12569]:   File "/opt/homeassistant/lib/python3.5/site-packages/homeassistant/components/light/knx.py", line 122, in hs_color
Jan 06 00:11:00 openhab hass[12569]:     return color_util.color_RGB_to_hs(*self.device.current_color)
Jan 06 00:11:00 openhab hass[12569]: TypeError: color_RGB_to_hs() argument after * must be an iterable, not NoneType

I changed hs_color in light/knx.py like this and this fixes it for me:
    @property
    def hs_color(self):
        """Return the HS color value."""
        if self.device.supports_color:
            if self.device.current_color is None:
                return color_util.color_RGB_to_hs(255, 255, 255)
            return color_util.color_RGB_to_hs(*self.device.current_color)
        return None

The None check is essential here. The returned color does not seem to matter as the real color is read from the bus afterwards and updated accordingly.

Was this resolved by updating @envy ?
Cheers.

@nemmeh I had to apply my patch again in 0.85 but seems to work in 0.90.1 now.


Usability Enhancement: Extrude auto-calculate amount when unspecified

Extrude should automatically calculate the amount parameter when it is not provided by the user when Mode.SUBTRACT or Mode.INTERSECT are specified. This makes it possible to perform an extrude cut without having to repeat e.g. the thickness of a part with shapes other than circles (circles are already covered by the Hole function in BuildPart). The image is the desired result, not what is currently produced by the code below.
length, width, thickness = 80.0, 60.0, 10.0

with BuildPart() as ex18:
    Box(length, width, thickness)
    Chamfer(*ex18.edges().group_by(Axis.Z)[-1], length=4)
    Fillet(*ex18.edges().filter_by(Axis.Z), radius=5)
    with BuildSketch(ex18.faces().sort_by(Axis.Z)[-1]):
        Rectangle(20,20)
    Extrude(mode=Mode.SUBTRACT)

show_object(ex18.part)

This is now possible thanks to extrude-until:
length, width, thickness = 80.0, 60.0, 10.0

with BuildPart() as ex18:
    Box(length, width, thickness)
    chamfer(ex18.edges().group_by(Axis.Z)[-1], length=4)
    fillet(ex18.edges().filter_by(Axis.Z), radius=5)
    with BuildSketch(ex18.faces().sort_by(Axis.Z)[-1]):
        Rectangle(20,20)
    extrude(until=Until.FIRST,mode=Mode.SUBTRACT)

Closing as completed!


Bug: node rendering breaks when zooming in.

I have a basic node renderer with both dynamic nodes and dynamic ports.
small nodes render fine no matter how you zoom in, but nodes that go past 5 to 10 ports seem to have the renderer stroke out when you zoom in.

OS: Linux, KDE Neon.

Issue #121 seems to be the same issue


Bug fix for 'wait' time to be in nanoseconds for consistency instead of microseconds

CASSANDRA-18086

Committed as f0ad7eadbeb3208e08a9339881931222fdab253b


Feature/delete torrent after download

I changed the download functions to take a boolean parameter if the torrent file should be deleted. I'm not sure about SeedAction though. Should we ever save that torrent file?

please solve conflicts and rebase

merged


NLog.Web.Aspnetcore and NLog.Extended can not use together

Type (choose one):

Bug

NLog version: (e.g. 4.2.3)
Platform: .Net 4.6.2
Current NLog config (xml or C#, if relevant)

In case of a BUG:

I am currently using the asp.net core mvc environment, so i used the NLog.Web.Aspnetcore package and I read the system files and learned that to use MSMQ, I need to reference the package NLog.Extended, but it seems that there will be a version error The problem that caused the normal use, which was previously used in NLog.Web will not encounter the problem.
The following is an error message:

2017-08-02 16:45:43.1170 Error Error has been raised. Exception: System.IO.FileLoadException: 無法載入檔案或組件 'NLog.Extended, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=5120e14c03d0593c' 或其相依性的其中之一。 找到的組件資訊清單定義與組件參考不符。 (發生例外狀況於 HRESULT: 0x80131040)
檔案名稱: 'NLog.Extended, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=5120e14c03d0593c'
   於 System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type)
   於 System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName)
   於 System.RuntimeType.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
   於 System.Type.GetType(String typeName, Boolean throwOnError)
   於 NLog.Config.Factory`2.<>c__DisplayClass6_0.<RegisterNamedType>b__0()
   於 NLog.Config.Factory`2.TryGetDefinition(String itemName, Type& result)

How can i try to solve this problem?

Please post your config. I think it should work with a <extension>

@YaoNiGu Try and upgrade to NLog 5 BETA09

@304NotModified
This is my config.
Did I forget add thing?

@snakefoot I already used NLog 5 BETA09 , but it still not work

@304NotModified
After I add <add assembly="NLog.Extended"/> in <extensions>, it works now!
But why should I have to add this assembly in extensions?
Before I use NLog.Web.AspNetCore, I was using NLog.Web. And I did not have to add this assembly in it.
What's the difference between theese two?
Thanks! I'm so appreciated!

After I add  in , it works now!

In .NET Core not all the dlls are in the same folder, hence NLog can't find them automatically. We still have to fix this.

@304NotModified Maybe there should be some forced auto-loading of some the "commonly known" DLLs ?

Good idea.
There is also an api to query the installed nuget packages AFAIK.


HuggingFaceTextTranslationParserPromptSchema

HuggingFaceTextTranslationParserPromptSchema
HuggingFaceTextTranslationParserPromptSchema
Define the prompt schema using https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/inference/_client.py#L1704
Note that the client doesn't actually support the other parameters defined in the api docs here: https://huggingface.co/docs/api-inference/detailed_parameters#translation-task

Stack created with Sapling. Best reviewed with ReviewStack.

#1006
-> #1005
#1004
#1003
#997
#993
#992

Note that the client doesn't actually support the other parameters defined in the api docs here:

What happens when you set them? does it just raise/throw exception?

Note that the client doesn't actually support the other parameters defined in the api docs here:

What happens when you set them? does it just raise/throw exception?

Presumably, since they would be unsupported arguments to the function call itself


VoxelGI: infinite errors with integrated graphics

Godot version
v4.0.alpha.custom_build [f37990ed7]
System information
Arch Linux, CPU: i7-8700K, iGPU: Intel UHD 630, dGPU: Nvidia RTX 2080
Issue description
If I put a VoxelGI in a scene and bake it, the console displays an infinitely growing list of errors. It only happens with the integrated graphics, the Nvidia is fine.
Internal console:
Image (binding: 19) should provide one ID referencing a texture (IDs provided: 0).
drivers/vulkan/rendering_device_vulkan.cpp:8162 - Condition "!uniform_set" is true.
Uniforms were never supplied for set (0) at the time of drawing, which are required by the pipeline

Console:
ERROR: Image (binding: 19) should provide one ID referencing a texture (IDs provided: 0).
   at: uniform_set_create (drivers/vulkan/rendering_device_vulkan.cpp:5922)
ERROR: Condition "!uniform_set" is true.
   at: compute_list_bind_uniform_set (drivers/vulkan/rendering_device_vulkan.cpp:8162)
ERROR: Uniforms were never supplied for set (0) at the time of drawing, which are required by the pipeline
   at: compute_list_dispatch (drivers/vulkan/rendering_device_vulkan.cpp:8361)

Steps to reproduce

Create a new project
Create e new 3D scene
Add a VoxelGI
Bake
View the output

Minimal reproduction project
No response

I cannot reproduce on AMD Ryzen 5300U with Vega iGPU.
Godot_v4.0-alpha14_win64.
Maybe Intel GPU driver update needed?

Maybe Intel GPU driver update needed?

Note that Intel has unfortunately stopped providing driver updates for 7th-10th generation Intel GPUs this summer (outside of security patches).