create travis.ymlk file

@incuna/frontend please review
So I am not sure I have doe this properly so please advise
Also I am aware that travis needs turning on for the repo but I was not sure if that needed happening before or after these file went in

Also I am aware that travis needs turning on for the repo but I was not sure if that needed happening before or after these file went in

That can happen any time, but definitely should be turned on so we can see the result of this. When it's turned on, a new commit will need to be pushed to this branch: you can do that with
git commit --amend
git push --force origin adding-travis

I think all you need in .travis.yml is this:
language: node_js
notifications:
    email: false

@henrahmagix Why do I not need to specify a version of node?

Nice to specify what versions we are supporting though. Otherwise it will always use the latest which may not be compatible with the project... (e.g. as happened with some node 5 updates)
https://docs.travis-ci.com/user/languages/javascript-with-nodejs

@grahamgilchrist By that logic, we should have an array of all supported versions:
node_js:
    - '0.10'
    - '0.12'
    - 4
    - 5
    - 6

These tests will likely be quite quick, so I think that's a good thing to do.

made some updates please review chaps

Please can someone confirm that my travis tests are failing because i have no tests to run? https://travis-ci.org/incuna/style-guide/builds/143054249

Cool, now it's at the point that whatever's called with npm test needs to exist.

@ninjanails I think grunt build would be a good task to run. You can either put that in the test script instead of grunt test, or register a test task that runs build.
"scripts": {
    "test": "grunt build"
}

or
grunt.registerTask('test', [
    'build'
]);

@grahamgilchrist @ninjanails What do you think about extending the node version support from 0.10 to 6? See https://github.com/incuna/style-guide/pull/9#issuecomment-231082256

@henrahmagix potentially useful. The only downside is multiplying the test time, however travis will try to run them in parallel. For a small repo like this with less frequent PRs the impact is low. Also this repo is open source so doesn't suffer from a limit to number of simultaneous tests.

@henrahmagix Is there any sense in supporting old node?

Is there any sense in supporting old node?

@wytrych 0.10 is still in LTS, see https://github.com/nodejs/LTS

@ninjanails Next thing you need is to install bower components. This can be done very simply without the need for adding to .travis.yml.
First add to package.json scripts:
"scripts": {
    "postinstall": "bower install"
}

Then add bower to the dev dependencies:
npm install --save-dev bower

Please can someone review what I have done and does it all look good?

Tests are passing :D

@ninjanails Ace! what about https://github.com/incuna/style-guide/pull/9#issuecomment-231082256?

@grahamgilchrist says its fine what I have @henrahmagix  :)

👍


Request : Display Health

Hi, I'd like to know if it would be possible plans on showing health ? I've looked in Cheat Engine tables and it seems they does get health (including soul hearts, etc.) fairly easily.
Bonus option : only display when health is normally hidden (Curse of the unknown for example), to not duplicate infos.

You're right, it's easy. But, considering health (+ coins, keys and bombs) are all part of the native HUD I'm not sure how this is useful.
And if you have curse of the unknown, then you have curse of the unknown. The whole point is you cant see your health... MHUD2 has no association with cheating, and I'd like to keep it that way.


Update ITK superbuild version to v5.2.0 tag

@blowekamp Does SimpleITK tag a new release soon after a ITK tagged update? I plan on updating 3D Slicer to use ITK 5.2.0 as well and will otherwise update SimpleITK used in 3D Slicer to be the commit hash of this commit once merged. If a new SimpleITK tag is imminent I will wait to issue these updates to 3D Slicer.

@jamesobutler We are planning to shortly tag SimpleITK 2.1rc01.


Resource / ore veins dissapearing / changing

Resource veins on planets or moons can change or dissapear after leaving the area.

Details
As far as I've tested the veins do not change / dissapear when:

Fast traveling within the landing area
Fast travel to your ship and back
Take off and immediately fast travel back
Take off, land at the same marker and fast travel back
Fast travel to (location on) planet and fast travel back*

Specific veins do change / dissapear when:

Take off, travel within system, fast travel back
Fast travel to different location, take off and fast travel back
Sometimes loading a save, even if no actions above were taken and game was closed inbetween save and load

Specific outpost was on Kaptyen 1, had He3, Al, Ni & Pt veins, the Ni vein dissapeared and the Pt vein changed into Ni.
*Location i fast traveled to: Jemison landing platform, & Jemison
Extractors keep working when they've been placed.
Other threads:
https://www.reddit.com/r/Starfield/comments/16l7ynr/changing_recourse_veins/
https://www.reddit.com/r/Starfield/comments/172yone/resource_veins_may_change_after_you_put_down_the/?rdt=38713
https://steamcommunity.com/app/1716740/discussions/0/3824174193414859655/
Game Version
<IP_ADDRESS>
Language
English (EN)
New Game
No
Reproduction Steps
See Details. Not sure which specific veins are affected by this. People from other threads seem to have trouble with all kinds of resources.

Reloading the same save sometimes seems to fix this.


Add types-test to cargo release

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

Comparison is base (065dcc9) 59.26% compared to head (ff52e4e) 59.26%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1314   +/-   ##
=======================================
  Coverage   59.26%   59.26%
=======================================
  Files         224      225    +1
  Lines       18894    18895    +1
=======================================
+ Hits        11197    11198    +1
  Misses       7697     7697

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


setup requirements

Could you please list the external module requirements and the preferred version/setup method?
They seem to be h5py, Cython, and bitshiffle. bitshuffle 0.2.4 via pip does not seem to compile on ubuntu.

Yes, bitshuffle is a pain to install on current Ubuntu as it's HDF5 setup is strange. Ideally h5py and Cython are optional dependencies

I've added cython and h5py to these to the setup.py as dependencies. bitshuffle imports are now wrapped in try: except ImportError: so should be optional. Closing this for now.


Oracle/S3: ConnectionRefusedError

/kind bug
What steps did you take and what happened:
I'm trying to deploy an inferenceservice using a model stored in an S3 bucket in Oracle Cloud.
I followed the documentation and set up credentials and serviceaccount as follows
apiVersion: v1
kind: Secret
metadata:
  name: s3-secret
  annotations:
    serving.kserve.io/s3-endpoint: mynamespace.compat.objectstorage.myregion.oraclecloud.com
    serving.kserve.io/s3-usehttps: "1"
    serving.kserve.io/s3-region: "myregion"
    serving.kserve.io/s3-useanoncredential: "false"
type: Opaque
stringData: # use `stringData` for raw credential string or `data` for base64 encoded string
  AWS_ACCESS_KEY_ID: XXXXXXX
  AWS_SECRET_ACCESS_KEY: XXXXXX
---
apiVersion: v1
kind: ServiceAccount
metadata:
  name: kserve-sa
secrets:
  - name: s3-secret

My inferenceservice (custom predictor):
apiVersion: serving.kserve.io/v1beta1
kind: InferenceService
metadata:
  labels:
    app: my-inferenceservice
    component: inferenceservice
  name: my-inferenceservice
spec:
  predictor:
    serviceAccountName: kserve-sa
    containers:
    - args:
      - --model_path
      - /mnt/models/model
      - --model_name
      - my-inferenceservice
      command:
      - python
      - -m
      - model
      env:
      - name: STORAGE_URI
        value: s3://my-bucket/path-to-model
      image: my-registry/my-image:latest
      name: kserve-container

When trying to trying to deploy this service i get an error:
Traceback (most recent call last):
  File "/prod_venv/lib/python3.9/site-packages/urllib3/connection.py", line 174, in _new_conn
    conn = connection.create_connection(
  File "/prod_venv/lib/python3.9/site-packages/urllib3/util/connection.py", line 95, in create_connection
    raise err
  File "/prod_venv/lib/python3.9/site-packages/urllib3/util/connection.py", line 85, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/prod_venv/lib/python3.9/site-packages/botocore/httpsession.py", line 465, in send
    urllib_response = conn.urlopen(
  File "/prod_venv/lib/python3.9/site-packages/urllib3/connectionpool.py", line 798, in urlopen
    retries = retries.increment(
  File "/prod_venv/lib/python3.9/site-packages/urllib3/util/retry.py", line 525, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/prod_venv/lib/python3.9/site-packages/urllib3/packages/six.py", line 770, in reraise
    raise value
  File "/prod_venv/lib/python3.9/site-packages/urllib3/connectionpool.py", line 714, in urlopen
    httplib_response = self._make_request(
  File "/prod_venv/lib/python3.9/site-packages/urllib3/connectionpool.py", line 403, in _make_request
    self._validate_conn(conn)
  File "/prod_venv/lib/python3.9/site-packages/urllib3/connectionpool.py", line 1053, in _validate_conn
    conn.connect()
  File "/prod_venv/lib/python3.9/site-packages/urllib3/connection.py", line 363, in connect
    self.sock = conn = self._new_conn()
  File "/prod_venv/lib/python3.9/site-packages/urllib3/connection.py", line 186, in _new_conn
    raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <botocore.awsrequest.AWSHTTPSConnection object at 0x7efd8d2d8850>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/storage-initializer/scripts/initializer-entrypoint", line 15, in <module>
    Storage.download(src_uri, dest_path)
  File "/kserve/kserve/storage/storage.py", line 83, in download
    Storage._download_s3(uri, out_dir)
  File "/kserve/kserve/storage/storage.py", line 177, in _download_s3
    for obj in bucket.objects.filter(Prefix=bucket_path):
  File "/prod_venv/lib/python3.9/site-packages/boto3/resources/collection.py", line 81, in __iter__
    for page in self.pages():
  File "/prod_venv/lib/python3.9/site-packages/boto3/resources/collection.py", line 171, in pages
    for page in pages:
  File "/prod_venv/lib/python3.9/site-packages/botocore/paginate.py", line 269, in __iter__
    response = self._make_request(current_kwargs)
  File "/prod_venv/lib/python3.9/site-packages/botocore/paginate.py", line 357, in _make_request
    return self._method(**current_kwargs)
  File "/prod_venv/lib/python3.9/site-packages/botocore/client.py", line 534, in _api_call
    return self._make_api_call(operation_name, kwargs)
  File "/prod_venv/lib/python3.9/site-packages/botocore/client.py", line 959, in _make_api_call
    http, parsed_response = self._make_request(
  File "/prod_venv/lib/python3.9/site-packages/botocore/client.py", line 982, in _make_request
    return self._endpoint.make_request(operation_model, request_dict)
  File "/prod_venv/lib/python3.9/site-packages/botocore/endpoint.py", line 119, in make_request
    return self._send_request(request_dict, operation_model)
  File "/prod_venv/lib/python3.9/site-packages/botocore/endpoint.py", line 202, in _send_request
    while self._needs_retry(
  File "/prod_venv/lib/python3.9/site-packages/botocore/endpoint.py", line 354, in _needs_retry
    responses = self._event_emitter.emit(
  File "/prod_venv/lib/python3.9/site-packages/botocore/hooks.py", line 412, in emit
    return self._emitter.emit(aliased_event_name, **kwargs)
  File "/prod_venv/lib/python3.9/site-packages/botocore/hooks.py", line 256, in emit
    return self._emit(event_name, kwargs)
  File "/prod_venv/lib/python3.9/site-packages/botocore/hooks.py", line 239, in _emit
    response = handler(**kwargs)
  File "/prod_venv/lib/python3.9/site-packages/botocore/retryhandler.py", line 207, in __call__
    if self._checker(**checker_kwargs):
  File "/prod_venv/lib/python3.9/site-packages/botocore/retryhandler.py", line 284, in __call__
    should_retry = self._should_retry(
  File "/prod_venv/lib/python3.9/site-packages/botocore/retryhandler.py", line 320, in _should_retry
    return self._checker(attempt_number, response, caught_exception)
  File "/prod_venv/lib/python3.9/site-packages/botocore/retryhandler.py", line 363, in __call__
    checker_response = checker(
  File "/prod_venv/lib/python3.9/site-packages/botocore/retryhandler.py", line 247, in __call__
    return self._check_caught_exception(
  File "/prod_venv/lib/python3.9/site-packages/botocore/retryhandler.py", line 416, in _check_caught_exception
    raise caught_exception
  File "/prod_venv/lib/python3.9/site-packages/botocore/endpoint.py", line 281, in _do_get_response
    http_response = self._send(request)
  File "/prod_venv/lib/python3.9/site-packages/botocore/endpoint.py", line 377, in _send
    return self.http_session.send(request)
  File "/prod_venv/lib/python3.9/site-packages/botocore/httpsession.py", line 494, in send
    raise EndpointConnectionError(endpoint_url=request.url, error=e)
botocore.exceptions.EndpointConnectionError: Could not connect to the endpoint URL: "https://mynamespace.compat.objectstorage.myregion.oraclecloud.com/my-bucket?prefix=path-to-model&encoding-type=url"

Describing the pod shows that credentials have been injected into the pod:
Init Containers:
  storage-initializer:
    Container ID:  cri-o://286c88d0af601158b01a627622c3b30001a21cfbd38d86d2938659c9978029ad
    Image:         kserve/storage-initializer:v0.11.2
    Image ID:      docker.io/kserve/storage-initializer@sha256:6e0730cae62d23dcdee80a01f2b69ffba9ff5acb3ef98129a0833cbab88a756e
    Port:          <none>
    Host Port:     <none>
    Args:
      s3://my-bucket/path-to-model
      /mnt/models
    State:       Running
      Started:   Thu, 10 Oct 2024 20:44:24 +0200
    Last State:  Terminated
      Reason:    Error
      Message:   _needs_retry(
  File "/prod_venv/lib/python3.9/site-packages/botocore/endpoint.py", line 354, in _needs_retry
    responses = self._event_emitter.emit(
  File "/prod_venv/lib/python3.9/site-packages/botocore/hooks.py", line 412, in emit
    return self._emitter.emit(aliased_event_name, **kwargs)
  File "/prod_venv/lib/python3.9/site-packages/botocore/hooks.py", line 256, in emit
    return self._emit(event_name, kwargs)
  File "/prod_venv/lib/python3.9/site-packages/botocore/hooks.py", line 239, in _emit
    response = handler(**kwargs)
  File "/prod_venv/lib/python3.9/site-packages/botocore/retryhandler.py", line 207, in __call__
    if self._checker(**checker_kwargs):
  File "/prod_venv/lib/python3.9/site-packages/botocore/retryhandler.py", line 284, in __call__
    should_retry = self._should_retry(
  File "/prod_venv/lib/python3.9/site-packages/botocore/retryhandler.py", line 320, in _should_retry
    return self._checker(attempt_number, response, caught_exception)
  File "/prod_venv/lib/python3.9/site-packages/botocore/retryhandler.py", line 363, in __call__
    checker_response = checker(
  File "/prod_venv/lib/python3.9/site-packages/botocore/retryhandler.py", line 247, in __call__
    return self._check_caught_exception(
  File "/prod_venv/lib/python3.9/site-packages/botocore/retryhandler.py", line 416, in _check_caught_exception
    raise caught_exception
  File "/prod_venv/lib/python3.9/site-packages/botocore/endpoint.py", line 281, in _do_get_response
    http_response = self._send(request)
  File "/prod_venv/lib/python3.9/site-packages/botocore/endpoint.py", line 377, in _send
    return self.http_session.send(request)
  File "/prod_venv/lib/python3.9/site-packages/botocore/httpsession.py", line 494, in send
    raise EndpointConnectionError(endpoint_url=request.url, error=e)
botocore.exceptions.EndpointConnectionError: Could not connect to the endpoint URL: "https://mynamespace.compat.objectstorage.myregion.oraclecloud.com/my-bucket?prefix=path-to-model&encoding-type=url"

      Exit Code:    1
      Started:      Thu, 10 Oct 2024 20:44:03 +0200
      Finished:     Thu, 10 Oct 2024 20:44:23 +0200
    Ready:          False
    Restart Count:  1
    Limits:
      cpu:     1
      memory:  1Gi
    Requests:
      cpu:     100m
      memory:  100Mi
    Environment:
      AWS_ACCESS_KEY_ID:       <set to the key 'AWS_ACCESS_KEY_ID' in secret 's3-secret'>      Optional: false
      AWS_SECRET_ACCESS_KEY:   <set to the key 'AWS_SECRET_ACCESS_KEY' in secret 's3-secret'>  Optional: false
      S3_USE_HTTPS:            1
      S3_ENDPOINT:             mynamespace.compat.objectstorage.myregion.oraclecloud.com
      AWS_ENDPOINT_URL:        https://mynamespace.compat.objectstorage.myregion.oraclecloud.com
      awsAnonymousCredential:  false
      AWS_DEFAULT_REGION:      myregion
    Mounts:
      /mnt/models from kserve-provision-location (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-xxxx (ro)

Following the documentation, I also tried setting proxy.holdApplicationUntilProxyStarts: true in istio-sidecar-injector but this didn't help.
What did you expect to happen:
The storageinitializer would download the models and inferenceservice would start.
Anything else you would like to add:
If I'm running an s3 client (using boto3) in a simple Python pod, I'm able to connect and download objects from the S3 bucket.
Environment:

Istio Version: 1.17.3 (istio-cni)
Knative Version: 1.10.2
KServe Version: 0.11.2
Kubeflow version: 1.8.1
Kubernetes version: (use kubectl version): 1.28.10

Is the url https://mynamespace.compat.objectstorage.myregion.oraclecloud.com/ accessible from your environment?

Yes, I can spin up a pod using a python image in the same k8s namespace (obs: not to be confused with the namespace for the bucket), set up an s3 client using boto and list (and download) my objects from there. Just doesn't connect in the inferenceservice.

OKay, how did you connect with our python image?
Did you use the exactly same URL and port?

Yes.
Example using botocore:
import botocore.session
session = botocore.session.get_session()
s3_client = session.create_client('s3', aws_access_key_id=XXXXX, aws_secret_access_key=XXXX, endpoint_url='https://mynamespace.compat.objectstorage.myregion.oraclecloud.com', region_name='myregion')
response = s3_client.list_objects_v2(Bucket='my-bucket', Prefix='path-to-model', EncodingType='url')

Works and returns list of objects at that prefix.
The only reason I can think why it doesn't work using the inferenceservice is due to some Istio.
Should there be any difference when using Istio-CNI regarding the sidecar injector?

Update:
If I add (disable istio)
  annotations:
    sidecar.istio.io/inject: "false"

to the inferenceservice, the storage-initializer is able to connect and download the objects.
So something in Istio causes problems and setting proxy.holdApplicationUntilProxyStarts: true does not seem to work.

okay, it might be something related to authorization policy, can you please look in the istio-proxy sidecar pod to see if the requests are being blocked there?
@israel-hdez this seems to be a similar issue to what we have discussed a few days ago.


Blog Post Covering Reproduction of Kay et al. 2015 Figure using CESM2-LE

@mnlevy thanks for the comments

I can add a bit about how this is staged data that I am transferring to AWS - I plan on updating that catalog file at the beginning once the data is finished transferring it is "officially released".
I can add in how many members we actually have. I think it is somewhere around 85 (in terms of no missing data at any point)?
That last part had more to do with exporting the data... if it is in a dataframe, we can easily call .to_csv(), which can easily shared with others/other analysis platforms. A question came up on the CESM forum about accessing the global mean data from the original LENS Kay et al. example... so we could keep the data in a dataset, but in terms of exporting, it's easier with pandas... I hope that makes sense.


Removing banner for small devices

👷 Deploy Preview for gladia processing.

Name
Link

🔨 Latest commit
5b03ae09db5000ff1005046584efca327dda31f3

🔍 Latest deploy log
https://app.netlify.com/sites/gladia/deploys/643a9171528e3f000895c20d


Added the resource quota and limits

We have completed a working session to fix multiple resource-related issues for pods and cluster versioning.

Rebase and merge of fix-resource-quota branch


notification sound does not work properly when connected to CarPlay/Android Auto via cord OR connected via bluetooth to any audio device

I'm running into an issue with notification sound while utilizing Apple CarPlay or Android Auto. I believe I have all my configurations correctly setup to play custom sounds. Notifications work as expected (drop down with sound) if the device is not connected to any bluetooth or car devices. As soon as the device is connected to CarPlay or a bluetooth device, all sound is lost. I can still see notifications drop down on my phone, but nothing seems to be translating to CarPlay.
"@notifee/react-native": "^7.4.0",
"@react-native-firebase/app": "^12.2.0",
"@react-native-firebase/messaging": "^12.2.0",
"react": "17.0.2",
"react-native": "0.68.5",

Utilizing firebase to request permissions:
await messaging().requestPermission({
  alert: true,
  sound: true,
  badge: true,
  carPlay: true,
});

Setting notification categories like so:
await notifee.setNotificationCategories([
  {
    id: 'tripAssigned',
    allowInCarPlay: true,
    actions: [
      {
        title: 'Acknowledge Trip',
        id: 'acknowledge',
        foreground: true,
      },
      {
        title: 'Ignore Trip',
        id: 'ignore',
        destructive: true,
      },
    ],
  },
  // more categories below not listed here...
]);

The notification object that I construct works every time, displaying the notification and playing my custom sound. Here is a snippet of that:
const notificationId = await notifee.displayNotification({
  title: data?.title,
  body: data?.body,
  data: {
    data: JSON.stringify(data),
  },
  ...(info.isIOS && {
    ios: {
      ...(category.categoryId && {
        categoryId: category.categoryId
      }),
      critical: critical,
      ...(critical &&{
        interruptionLevel: 'timeSensitive'
      }),
      criticalVolume: 0.85,
      sound: AppleSounds[
        data?.command
      ]?.sound || 'interface_other.wav',
    },
  }),
  ...(info.isAndroid && {
    android: {
      channelId: channelId?.id || channelId,
      importance: AndroidImportance.HIGH,
      lightUpScreen: true,
      style: {
        type: AndroidStyle.BIGTEXT,
        text: data?.body,
      },
      ongoing: ongoing,
      ...(chronometer ? {
        showChronometer: true,
        chronometerDirection: 'down',
        timestamp: Date.now() + chronometer,
      }: {
        showTimestamp: true,
      }),
      sound: data?.sound? data?.sound==='default' ? 'interface_other': data?.sound.substring(0,
      data?.sound.indexOf('.')) : 'interface_other',
      visibility: AndroidVisibility.PUBLIC,
      pressAction: {
        id: 'default',
      },
      actions: category.actions,
    },
  }),
});

Notes:

Not using any kind of Driving Focus features that would mute notifications

Is there something that I am missing here with making notifications play a sound and or display within the CarPlay/Android Auto environment??

Here is another piece of information that might help figure out what's going on. Below is the settings returned from running notify.getNotificationSettings()
{
  "android": {
    "alarm": 1
  },
  "authorizationStatus": 1,
  "ios": {
    "alert": 1,
    "announcement": 0,
    "authorizationStatus": 1,
    "badge": 1,
    "carPlay": -1,
    "criticalAlert": -1,
    "inAppNotificationSettings": 0,
    "lockScreen": 1,
    "notificationCenter": 1,
    "showPreviews": 2,
    "sound": 1
  }
}

What does a value of -1 mean for AuthorizationStatus?

Indeed, I believe if you want to use notifications on carplay you'll need to request carplay permissions

And I am doing so.
await messaging().requestPermission({
  alert: true,
  sound: true,
  badge: true,
  carPlay: true,
});

I also attempted to do this with notifee and react-native-permissions. Neither option appears to be actually requesting the carPlay permission. The notifee documentation even states that this permission is requested by default.
https://notifee.app/react-native/docs/ios/permissions#permission-settings

I'm expecting to see a little "Show in CarPlay" option in the notification settings for my app. Below is a screenshot of the zoom app settings for my device. You can see this option listed here as a toggle switch. Are there special entitlements required in order to get app notifications to show inside the CarPlay environment and to prevent CarPlay from silencing any notifications it determines as not important? I'm certain that there are no do not disturb settings turned on with any of my tests devices. It seems many of our users are failing to hear notification sounds and if I can get this carPlay permission to work correctly I believe that will at least fix the problem for iOS users.

I wish I could help more but honestly, I have low Apple ecosystem experience and zero with carplay, so other than knowing how it is supposed to go I'm lost
How it's supposed to go is request that as part of the permissions, see something related on the popup as you expected as well, then see it show up as something besides -1 in the status of the permission, then have it work - that it is not going that way is 😬


Use with Electron

Hi!
Do you use the your Echarts wrapper with Electron?
Thanks!

What's the problem here?

If you can provide more information, feel free to reopen.


link to EpubTest for more reports os which apps support Media Overlays

Hi I added a link in the Readme to EpubTest's site for more tests on EPUB3 readers supporting Media Overlays.
Incidentally, I tested the Android version of EasyReader (which is not currently mentioned on EpubTest), version 10.08.754 and I found it could play MP3 (but not MP4) audio in an EPUB3 with Media Overlays, but it had problems synchronising it with the text, so perhaps that's not quite ready yet.  It's still better in the older DAISY 2.02 format (my Anemone project makes those but I'm wondering when to switch to EPUB3 Media Overlays .. not yet it seems)

Thanks! Merged with minor adjustments.


Regen JS Client API

The JS client API seems to be a bit out of date with recent changes to FastAPI. It needs to be regenerated, and some of the JS tests refreshed.

is something breaking or just types mismatch?
On Mon, Dec 18, 2023 at 1:07 AM Trayan Azarov @.***>
wrote:

The JS client API seems to be a bit out of date with recent changes to
FastAPI. It needs to be regenerated, and some of the JS tests refreshed.
—
Reply to this email directly, view it on GitHub
https://github.com/chroma-core/chroma/issues/1543, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGZWEAOJL6P2BLGPGUV4H3YKABUZAVCNFSM6AAAAABAZFS722VHI2DSMVQWIX3LMV43ASLTON2WKOZSGA2DMMJQHA4DKOI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

I did a fix in #1494 where I made errors returned by the API consistent:
Before:
//Chroma Errors
{
"error":"<type of error>",
"message":"<exception message>"
}
//Other errors
{
"error":"<type of error> + <error message>"
}

After:
{
"error":"<type of error>",
"message":"<exception message>"
}

I've noticed that the JS API did not have the message parameter (basically, a test was failing as the expected message was in error instead of the message attribute of the error response). I tried regenerating the client but got some errors, which might be related to the API changes.
This issue is just a placeholder for me to look at later on


from_layer = mx.symbol.Scale(data=from_layer, mode="spatial", \ AttributeError: 'module' object has no attribute 'Scale'

For bugs or installation issues, please provide the following information.
The more information you provide, the more likely people will be able to help you.
Environment info
Operating System:
Compiler:
Package used (Python/R/Scala/Julia):
MXNet version:
Or if installed from source:
MXNet commit hash (git rev-parse HEAD):
If you are using python package, please provide
Python version and distribution:
If you are using R package, please provide
R sessionInfo():
Error Message:
Please paste the full error message, including stack trace.
Minimum reproducible example
if you are using your own code, please provide a short script that reproduces the error.
Steps to reproduce
or if you are running standard examples, please provide the commands you have run that lead to the error.

What have you tried to solve it?

I also have the same bug
from_layer = mx.symbol.Scale(data=from_layer, mode="spatial",
AttributeError: 'module' object has no attribute 'Scale'

please take a look at ssd example readme and recompile your mxnet and try again
key information maybe :
# for Ubuntu/Debian
cp make/config.mk ./config.mk
# modify it if with vim or whatever editor
EXTRA_OPERATORS = example/ssd/operator
# or add a line if you have other EXTRA_OPERATORS directory
EXTRA_OPERATORS += example/ssd/operator

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


What should I do if TasksDataSource changes?

As I said , if I want to add method or change method in TasksDataSource , I have to modify the other three implementation classes at the same time.

Imagine if I just want to add method loadMoreTasksByPage(int page) get remote data,should I add it to TasksDataSource ? If so , I have to implements it in TasksLocalDataSource .

In real project , I think there will be more changes in DataSource . I'm very interested in MVP+Repository pattern , but there is still some confusion about the use of the Repository .

In my opinion, in real wold cases.
TasksRemoteDataSource and TasksLocalDataSource should not implement TasksDataSource, they should provide much low level data access methods. we can also use dynamic proxy(just in the case of Retrofit) or apt to generate code dynamically from the interface.

First of all , thanks for your reply . I agree with your opinion . then , as I understand , the reason why they both implement TasksDataSource was that it be simple to mock test . in this case , just like  mock/data/FakeTasksRemoteDataSource.java

Yes, it would make sense to split DataSource and Repository in two if you need to.


Property failTaskOnFailedTests not recognized

The failTaskOnFailedTests property for the PublishTestResults@2 task is not recognized, and an warning is displayed, though this option is mentionned in docs :

https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/test/publish-test-results?view=azure-devops&tabs=yaml#yaml-snippet

Thanks - this is a schema bug, that field is legal.

What's the likelihood of this getting fixed?

Next week I hope to take a new snapshot of the schema, which will fix this and a host of other issues. Sorry, it's been on my backlog for a while but keeps getting preempted.

Not a problem at all.  Appreciate the fine work!
☺
Andy
IMPORTANT NOTICE
This communication is from Deloitte LLP, a limited liability partnership registered in England and Wales with registered number OC303675. Its registered office is 1 New Street Square, London EC4A 3HQ, United Kingdom. Deloitte LLP is the United Kingdom affiliate of Deloitte NWE LLP, a member firm of Deloitte Touche Tohmatsu Limited, a UK private company limited by guarantee (“DTTL”). DTTL and each of its member firms are legally separate and independent entities. DTTL and Deloitte NWE LLP do not provide services to clients. Please see www.deloitte.co.uk/about http://www.deloitte.co.uk/about  to learn more about our global network of member firms.For details of our professional regulation please see Regulatorshttps://www2.deloitte.com/uk/en/footerlinks1/regulators-and-provision-service-regulations.html.
This communication contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s), please notify it.security.uk<EMAIL_ADDRESS>and destroy this message immediately. Email communications cannot be guaranteed to be secure or free from error or viruses. All emails sent to or from a @deloitte.co.uk email account are securely archived and stored by an external supplier within the European Union.
You can understand more about how we collect and use (process) your personal information in our Privacy Noticehttps://www2.deloitte.com/uk/en/legal/privacy.html.
Deloitte LLP does not accept any liability for use of or reliance on the contents of this email by any person save by the intended recipient(s) to the extent agreed in a Deloitte LLP engagement contract.
Opinions, conclusions and other information in this email which have not been delivered by way of the business of Deloitte LLP are neither given nor endorsed by it.
From: Matt Cooper<EMAIL_ADDRESS>Reply-To: microsoft/azure-pipelines-vscode<EMAIL_ADDRESS>Date: Wednesday, May 8, 2019 at 4:44 PM
To: microsoft/azure-pipelines-vscode<EMAIL_ADDRESS>Cc<EMAIL_ADDRESS><EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [microsoft/azure-pipelines-vscode] Property failTaskOnFailedTests not recognized (#211)
Next week I hope to take a new snapshot of the schema, which will fix this and a host of other issues. Sorry, it's been on my backlog for a while but keeps getting preempted.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/azure-pipelines-vscode/issues/211#issuecomment-490538224, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AGBHISP3CPOJKUQ6JFSLVMDPULYMLANCNFSM4G6ZDXEQ.

Fixed in 1.152.0.


Modify nodes and export new JS code

How would I go about editing and replacing specific nodes in the ast.
Tried this but unsuccessfully:
program, err := goja.Parse("", "var x = 'old';")
if err != nil {
	panic(err)
}

program.Body[0].(*ast.VariableStatement).List[0].Initializer.(*ast.StringLiteral).Value = unistring.NewFromString("new")

prg, err := goja.CompileAST(program, false)
if err != nil {
	panic(err)
}

// log new src
prgPtr := reflect.ValueOf(prg).Elem()
newSrc := prgPtr.FieldByName("src")
newSrc = reflect.NewAt(newSrc.Type(), unsafe.Pointer(newSrc.UnsafeAddr())).Elem()

fmt.Println(newSrc.Interface().(*file.File).Source()) // => var x = 'old';

Changes to the AST do not reflect on the source string (they affect the behavior of the programme though). Doing so would require a significant amount of work and is not in the scope of this project.


move the "zoom out" button just below the "zoom" icon

@hamed-musallam you should rethink the icon grouping I think because currently the icons don't always have the same distance between them and they don't behave as radio button anymore. You can have many icons selected at the same time

it's done.


Property groups

In a class, people like to groups properties by concern. It is a standard way that two related properties are defined close together. Maybe Nit should provide an (optional) way to group them more formally.
I do not thing that these kind of group of properties should have any semantic effect on the language but be pure documentation/storage concepts but available in the model for documentation and other software-engineering tools.
Some language, like Eiffel and Smalltalk, offer such an abstraction (respectively called feature group and  method categories).
Note that I dot not have any proposal, neighter syntactically neither abstractly in the model, this issue is purely a topic of discussion.
ping @Morriar because it is something that should interest him.

I totally agree on that. Even more since @ablondin is using them in its code.
I also agree that they should be available in the model to simplify the usage by client tools.

My main concern is what happens with groups with refinement.

For the model side, I propose that property groups are reified as properties, thus a group of properties

group properties
has a name
has a doc
has annotation and specific metadata
is inherited by refinements and subclasses and can be extended

As you see, this is also a composite so groups of properties can be nested.
The syntactic issue is still unclear but on can try to map with how properties are defined: a keyword, a name and possible doc before it
class Foo
   # bla bla
   group bar

   fun toto do end

   # bla bla
   group baz

   fun tata do end
end

I like it but there will be confusion with the groups as in Project/Group/Module

Yeah group is a bad name and should be renamed.
By the way, maybe group of Project/Group/Module sould also be renamed.
But i have no better idea...

There are two hard things in computer science: cache invalidation, naming things, and off-by-one errors

Why add complexity to the base language, if it serves no semantic purpose? Can't the same be accomplished through some comment tag or something?


Monoco options link is broken

When you click on the link, it brings you here:
https://microsoft.github.io/monaco-editor/api/interfaces/monaco.editor.IEditorOptions.html
But the correct URL is:
https://microsoft.github.io/monaco-editor/typedoc/interfaces/editor.IEditorOptions.html

@ChristopherHaws Oh, they must've moved it. The corrected link will go out with the next release.

No worries, I figured that's probably what happened ^_^


refactor: dry in cmd k handling

What type of PR is this? (check all applicable)

[ ] 🍕 Feature
[ ] 🐛 Bug Fix
[ ] 📝 Documentation Update
[ ] 🎨 Style
[X] 🧑💻 Code Refactor
[ ] 🔥 Performance Improvements
[ ] ✅ Test
[ ] 🤖 Build
[ ] 🔁 CI
[ ] 📦 Chore (Release)
[ ] ⏩ Revert

Description
fixes #342

Related Tickets & Documents

Mobile & Desktop Screenshots/Recordings

Added tests?

[ ] 👍 yes
[X] 🙅 no, because they aren't needed
[ ] 🙋 no, because I need help

Added to documentation?

[ ] 📜 README.md
[ ] 📓 docs.opensauced.pizza
[ ] 🍕 dev.to/opensauced
[ ] 📕 storybook
[X] 🙅 no documentation needed

[optional] Are there any post-deployment tasks we need to perform?
[optional] What gif best describes this PR or how it makes you feel?

LGTM


Macro: System shows "p" in sequence mode when it shouldn't

Steps to Reproduce

Switch to Macro
Load from file: No need to show p.zip
Switch to Sequence mode

Actual behavior
System shows "p" for first phosphate in chain but it relates for first nucleotide

Expected behavior
System doesn't shows p

As per specification:

If there is a linker that contains multiple sugars or some other combination of modified subunits (non-nucleotide), the entire block can be represented with a '@' symbol.
Image for better understanding:

Versions:
Windows 10
Chrome Version 112.0.5615.138 (Official Build) (64-bit)
Ketcher Version 2.20.0-rc.2 Build at 2024-04-02; 05:31:05
Indigo Toolkit Version 1.20.0-dev.1.19-gd0224f91-wasm32-wasm-clang-12.0.0
Issue found in the context of testing - https://github.com/epam/ketcher/issues/3734

Will be fixed in https://github.com/epam/ketcher/issues/4388

Fixed.
Versions

Indigo Toolkit Version 1.20.0-dev.1.32-gf28bad61-wasm32-wasm-clang-12.0.0
Ketcher Version 2.21.0-rc.2 Build at 2024-05-13; 05:32:02
Chrome Version 124.0.6367.201 (Official Build) (64-bit)
Windows 10


Feature/aoaf 531

Added created and modified (datetimes) to RequestStatus
Move static methods from RequestStatus to a new class to allow for easier testing of new created and modified datetime.

CI: Security warnings found!

CI: Security warnings found!

CI: Security warnings found!

CI: Security warnings found!

CI: Security warnings found!


fix: eks module syntax bug

Issue #, if available:
https://github.com/awslabs/autonomous-driving-data-framework/issues/575
Description of changes:

Fix local variable assignment when None
ruff format

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

AWS CodeBuild CI Report

CodeBuild project: IDFModuleTestsInfrastructur-59JoFoVH64CI
Commit ID: 3c6a78ee22509fe6d6bdb607b760dafd5a606414
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


Does Auto rest V3 supports fake credentials API tests

Hello Auto Rest Team,
Does Auto Rest V3 support testing APIs with fake credentials, specifically generating client APIs using C#? We are encountering an unauthorized issue.
Thanks in advance

Thanks for your feedback @maichuin , @archerzz please look into this question.


[Ques/Bug]: Activity Matrix generation and reduction of tests

Contact Details
No response
What happened?
Activity Matrix is generated in the following lines in sbfl.py:
original_tests = sbfl_object.generateTests(inputVars=inputVars, total_tests=Ntests)
oracle = FaultOrcale(irhandler1, irhandler2, original_tests)
ActivityMatrix = sbfl_object.generateSpectrum(oracle)

In generateSpectrum:
if ir1_trltl_pos == ir2_trltl_pos:
spectrum[i, -1] = 0 # test-case passes.
else:
spectrum[i, -1] = 1 # test-case fails.

Last index is always set to 0/1.
Further, in the following:
best_individual = pop[0].individual

 reduced_tests = []
 for tests in best_individual:
   reduced_tests.append(original_tests[tests[-1]])

tests[-1] is either 0 or 1. reduced_tests is just a list of duplicate
copies of first 2 original_tests.
Maybe there is a bug: generateActivityMatrix is defined but never used anywhere in the codebase, is it what was intended to call ?
Affected version: 1.0.4
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Yes, you're correct, and we appreciate your keen observation. The code is indeed calling the wrong function, and this is a bug. We will address this issue and ensure it's fixed in our next release.

@Enkryp I guess this has been fixed now. https://github.com/PRAISE-group/Chiron-Framework/commit/e1c40726887177a9e54a51610f22a5495b5554df
Thanks @Vishalsng112 @Enkryp


Add a left bar where we can change the model parameters in realtime

Currently those options can be changed when calling the application:
--temp: the sampling temperature for the model (default: 0.1)
--n-predict: the number of tokens to predict at a time (default: 128)
--top-k: the number of top-k candidates to consider for sampling (default: 40)
--top-p: the cumulative probability threshold for top-p sampling (default: 0.90)
--repeat-penalty: the penalty to apply for repeated n-grams (default: 1.3)
--repeat-last-n: the number of tokens to use for detecting repeated n-grams (default: 64)
--ctx-size: the maximum context size to use for generating responses (default: 2048)
It would be a good thing to have a right bar that contains controls to set those parameters in the UI.
If someone have the time to do this I'd apreciate it:

PR #6

If you have time, can you add some sliders to select the temperature and so on. Just put them into a form with update button that sends this all to a /update_settings route on the flask server.
Tomorrow I work, and can't really have as much time as I have in weekends. Any help is welcome.


Add developer link to navbar

Solves #203

looks fine, but why make it this prominent? i think it belongs on the footer.

Yeah it could go there too, I thought it'd be good to have a push for people helping out here by making it super prominent. What do you think @ahmedre ?

up to you, but i think until we have the repo in good state, a list of todo/starter tasks for people to pick up to get familiar with the code, etc, that it shouldn't be that prominent. but i trust your judgement.

+1 @ahmedre going to close this


Update sort-imports to 0.6.0

Updates com.nequissimus:sort-imports from 0.5.5 to 0.6.0.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.nequissimus", artifactId = "sort-imports" } ]

labels: scalafix-rule-update, early-semver-major, semver-spec-minor, commit-count:1

Superseded by #325.


Handle audio falling behind.

Audio can fall behind when the browser tab doesn't have focus.
The native client may have code that handles this condition.

The Web app has been updated to run its render loop while the browser doesn't have focus. This should fix the original cause of audio falling behind.

Dropping silent audio frames when the jitter buffer doesn't need the, will also help improve audio catching up. This is being handled in issue 227.


[Bug]: No /link command

What happened?
I just downloaded and installed the mod. If a try to sent the /link command on discord, it does not show up the in slash command selection. If I just sent `/link ' it does not not anything.
Game Version
1.12
What platform are you using?
Forge
Platform version
1.12
Config File
https://pastebin.com/57eB9q0e

Crash report / Error log (if applicable)
No response
Additional Information
I am using this with RLCraft.

Turned out to be my wrong config. For anyone with the same issue:
# General options for the bot
[general]
  # Insert your Bot Token here!
  # DO NOT SHARE IT WITH ANYONE!
  botToken = "ENTER BOT TOKEN"
  # The channel ID where the bot will be working in
  botChannel = "MY ID"
  # The bot's status message
  #
  # PLACEHOLDERS:
  # %online% - Online Players
  # %max% - Maximum Player Amount
  botStatusName = "%online%/%max% Online"
  # Type of the bot's status
  # Allowed Values: DISABLED,PLAYING,WATCHING,LISTENING,STREAMING,COMPETING
  botStatusType = "WATCHING"
  # URL of the bot's stream when using the status type 'STREAMING'
  # Has to start with https://twitch.tv/ or https://www.youtube.com/watch?v=
  streamingURL = "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
  # Enable checking for updates?
  # Notification will be shown after every server start in log when update is available
  enableUpdateChecker = true
  # The minimum release type for the update checker to notify
  # Allowed values: release, beta, alpha
  updateCheckerMinimumReleaseType = "beta"
  # Set to false to disable config migration from other mods/plugins to this one
  # This does not prevent updating of this config after mod updates
  allowConfigMigration = true
  # Attempt to parse id-based mentions to names in in-game chat
  parseMentionsIngame = true
# Configuration options for commands
[commands]
  # The Role IDs of your Admin Roles
  # Now supports multiple roles which can access admin commands
adminRoleIDs = [  "ROLE ID"  ]
  # Add your custom commands here
  # You can also generate some on https://erdbeerbaerlp.de/dcintegration-commands/
  # You must op this UUID in the ops.txt or some custom commands won't work!
  senderUUID = "8d8982a5-8cf9-4604-8feb-3dd5ee1f83a3"
  # Enable help command?
  # Disabling also removes response when you entered an invalid command
  # Requires server restart
  helpCmdEnabled = true
  # Enable the list command in discord
  # Requires server restart
  listCmdEnabled = true
  # Enable the uptime command in discord
  # Requires server restart
  uptimeCmdEnabled = true
  # Set to false to completely disable the "Unknown Command" message
  showUnknownCommandMessage = true
  # Set to true to enable the "Unknown Command" message in all channels
  showUnknownCommandEverywhere = false

    [[commands.customCommands]]
      name = "kick"
      description = "Kicks an player from the Server"
      mcCommand = "kick %player% %reason%"
      adminOnly = true
      hidden = false

        [[commands.customCommands.args]]
          name = "player"
          description = "The player to be kicked"
          optional = false

        [[commands.customCommands.args]]
          name = "reason"
          description = "Reason for the kick"
          optional = false

    [[commands.customCommands]]
      name = "stop"
      description = "Stops the server"
      mcCommand = "stop"
      adminOnly = true
      hidden = false
args = [    ]

    [[commands.customCommands]]
      name = "kill"
      description = "Kills an Player or Entity"
      mcCommand = "kill %target%"
      adminOnly = true
      hidden = false

        [[commands.customCommands.args]]
          name = "target"
          description = "The target(s) for the kill command."
          optional = false
# Toggle some message related features
[messages]
  # Enable formatting conversion (Markdown <==> Minecraft)
  convertCodes = true
  # Send formatting codes from mc chat to discord
  # Has no effect when markdown <==> Minecraft is enabled
  formattingCodesToDiscord = false
  # Should /say output be sent to discord?
  sendOnSayCommand = true
  # Should /me output be sent to discord?
  sendOnMeCommand = true
  # When an /say command's message starts with this prefix, it will not be sent to discord
  sayCommandIgnoredPrefix = "§4§6§k§r"
  # Should tamed entity death be visible in discord?
  sendDeathMessagesForTamedAnimals = false
# Advanced options
[advanced]
  # Custom channel ID for server specific messages (like Join/leave)
  # Leave 'default' to use default channel
  serverChannelID = "default"
  # Custom channel ID for death messages
  # Leave 'default' to use default channel
  deathsChannelID = "default"
  # Custom channel for for ingame messages
  # Leave 'default' to use default channel
  chatOutputChannelID = "default"
  # Custom channel where messages get sent to minecraft
  # Leave 'default' to use default channel
  chatInputChannelID = "default"
# Config options which only have an effect when using forge
[forgeSpecific]
  # A list of blacklisted modids
  # Adding one will prevent the mod to send messages to discord using forges IMC system
IMC_modIdBlacklist = [  "examplemod"  ]
  # Show item information, which is visible on hover ingame, as embed in discord?
  sendItemInfo = true
# Configuration for linking
[linking]
  # Unlink players when they leave the discord server for whatever reason (ex. leave,kick,ban)?
  unlinkOnLeave = true
  # Should discord linking be enabled?
  # If whitelist is on, this can NOT be disabled
  # DOES NOT WORK IN OFFLINE MODE!
  enableLinking = true
  # Role ID of an role an player should get when he links his discord account
  # Leave as 0 to disable
  linkedRoleID = "0"
  # Enable discord based whitelist?
  # This will override the link config!
  # To whitelist use the whitelist command in the bot DMs
  whitelistMode = true
  # Adding Role IDs here will require the players to have at least ONE of these roles to link account
requiredRoles = [    ]
settingsBlacklist = [  "934144106114981898"  ]

    # Allows you to configure the default values of some personal settings
    [linking.personalSettingsDefaults]
      default_useDiscordNameInChannel = true
      default_ignoreReactions = false
      default_pingSound = true
# Webhook configuration
[webhook]
  # Whether or not the bot should use a webhook (it will create one)
  enable = false
  # The avatar to be used for server messages
  serverAvatarURL = "https://raw.githubusercontent.com/ErdbeerbaerLP/Discord-Chat-Integration/master/images/srv.png"
  # The name to be used for server messages
  serverName = "RLCraft"
  # The URL where the player avatar gets fetched from
  #
  # PLACEHOLDERS:
  # %uuid% - Returns the player's UUID with dashes
  # %uuid_dashless% - Returns the player's UUID without dashes
  # %name% - Returns the player's name
  # %randomUUID% - Returns an random UUID which can be used to prevent discord cache
  playerAvatarURL = "https://minotar.net/avatar/%uuid%?randomuuid=%randomUUID%"
# Allows you to modify and translate most of the messages this bot will send
[localization]
  # This is what will be displayed ingame when someone types into the bot's channel
  # PLACEHOLDERS:
  # %user% - The username
  # %id% - The user ID
  # %msg% - The message
  ingame_discordMessage = "§6[§5DISCORD§6]§r <%user%> %msg%"
  # This is what will be displayed ingame when someone sends an reply into the bot's channel
  # PLACEHOLDERS:
  # %user% - The username
  # %id% - The user ID
  # %msg% - The reply message
  # %ruser% - The username of the message that got the reply
  # %rmsg% - The replied message
  ingame_discordReplyMessage = "§6[§5DISCORD§6]§r §a%user%§r in reply to §3%ruser%§r: %msg%"
  # Message shown when hovering over the username of an discord message
  # PLACEHOLDERS:
  # %user% - The username/nickname (Someone123)
  # %user#tag% - The username with tag (someone#0001)
  # %id% - The user ID
  #
  # NOTE: using an @ here can cause ping sounds ingame
  discordUserHover = "§3Discord User %user#tag%\n§aClick to mention"
  # This message will edited in / sent when the server finished starting
  serverStarted = ":white_check_mark: **Server has started!**"
  # Message to show while the server is starting
  # This will be edited to SERVER_STARTED_MSG when webhook is false
  serverStarting = "**Server Starting...**:loading:"
  # This message will be sent when the server was stopped
  serverStopped = ":octagonal_sign: **Server has stopped!**"
  # The message to print to discord when it was possible to detect a server crash
  serverCrash = "Server Crash Detected! :fire:"
  # Gets sent when an player joins
  #
  # PLACEHOLDERS:
  # %player% - The player's name
  playerJoin = "%player% joined the game"
  # Gets sent when an player leaves
  #
  # PLACEHOLDERS:
  # %player% - The player's name
  playerLeave = "%player% left the game"
  # Gets sent when an player dies
  #
  # PLACEHOLDERS:
  # %player% - The player's name
  # %msg% - The death message
  playerDeath = "%player% %msg%"
  # Message sent instead of playerLeave, when the player times out
  #
  # PLACEHOLDERS:
  # %player% - The player's name
  playerTimeout = "%player% timed out!"
  # Gets sent when an player finishes an advancement
  # Supports MulitLined messages using \n
  #
  # PLACEHOLDERS:
  # %player% - The player's name
  # %name% - The advancement name
  # %desc% - The advancement description
  advancementMessage = "%player% just made the advancement **%name%**\n_%desc%_"
  # The chat message in discord, sent from an player in-game
  #
  # PLACEHOLDERS:
  # %player% - The player's name
  # %msg% - The chat message
  discordChatMessage = "%player%: %msg%"
  # Sent to a player when someone reacts to his messages
  # PLACEHOLDERS:
  # %name% - (Nick-)Name of the user who reacted (format: 'SomeNickName')
  # %name2% - Name of the user who reacted with discord discriminator (format: 'SomeName#0123')
  # %msg% - Content of the message which got the reaction
  # %emote% - The reacted emote
  reactionMessage = "§6[§5DISCORD§6]§r§7 %name% reacted to your message \"§9%msg%§7\" with '%emote%'"
  # Message shown for attachments
  attachment = "Attachment"
  # Message shown for stickers
  sticker = "Sticker"
  # Header for Embeds
  embed = "Embed"
  # Message shown for embed images
  embedImage = "Image"
  # Message shown for embed messages
  embedMessage = "Message"
  # Hover message for the bot tag ingame
  bot = "This user is an bot"

    # Strings about the discord commands
    [localization.commands]
      # Shown in console when trying to use the discord command
      ingameOnly = "This command can only be executed ingame"
      # Shown when successfully reloading the config file
      configReloaded = "Config reloaded!"
      # Shown when an subcommand is disabled
      subcommandDisabled = "This subcommand is disabled!"
      # Message sent when user does not have permission to run a command
      noPermission = "You dont have perms to do this, dont complain!"
      # Message sent when an invalid command was typed
      #
      # PLACEHOLDERS:
      unknownCommand = "Unknown command, try `/help` for a list of commands"
      # Message if a player provides less arguments than required
      notEnoughArguments = "Not enough arguments"
      # Message if a player provides too many arguments
      tooManyArguments = "Too many arguments"
      # Message if a player can not be found
      #
      # PLACEHOLDERS:
      # %player% - The player's name
      playerNotFound = "Can not find player \"%player%\""
      # The message for 'list' when no player is online
      cmdList_empty = "There is no player online... You join!"
      # The header for 'list' when one player is online
      cmdList_one = "There is 1 player online:"
      # The header for 'list'
      # PLACEHOLDERS:
      # %amount% - The amount of players online
      cmdList_header = "There are %amount% players online:"
      # Header of the help command
      cmdHelp_header = "Your available commands in this channel:"
      # Message sent when ignoring Discord messages
      commandIgnore_ignore = "You are now ignoring Discord messages!"
      # Message sent when unignoring Discord messages
      commandIgnore_unignore = "You are no longer ignoring Discord messages!"
      # Message sent when using the uptime command
      #
      # PLACEHOLDERS:
      # %uptime% - Uptime in uptime format, see uptimeFormat
      cmdUptime_message = "The server is running for %uptime%"
      # The format of the uptime command
      # For more help with the formatting visit https://commons.apache.org/proper/commons-lang/apidocs/org/apache/commons/lang3/time/DurationFormatUtils.html
      uptimeFormat = "dd 'days' HH 'hours' mm 'minutes'"
      # Shows when running slash commands as command response
      executing = "Executing...:hourglass:"
      # Command argument description for the linkcheck command's Discord user parameter
      cmdLinkcheck_userargDesc = "The discord user to check"
      # Command argument description for the linkcheck command's minecraft player parameter
      cmdLinkcheck_mcargDesc = "The minecraft player's UUID or Name to check"
      # Sent when checked user is not linked
      cmdLinkcheck_notlinked = "This account is not linked!"
      #
      cmdLinkcheck_discordAcc = "Discord-Account: "
      cmdLinkcheck_minecraftAcc = "Minecraft Account: "
      cmdLinkcheck_cannotGetPlayer = "Error getting player information! Maybe you used an invalid name / UUID"
      cmdSett_key = "Destination settings key"
      cmdSett_val = "Settings value"
      cmdSett_set = "Change an setting"
      cmdSett_get = "Retrieve an setting value"

        # Command descriptions
        [localization.commands.descriptions]
          settings = "Allows you to edit your personal settings"
          uptime = "Displays the server uptime"
          help = "Displays a list of all commands"
          list = "Lists all players currently online"
          link = "Links your Discord account with your Minecraft account"
          whitelist = "Whitelists you on the server by linking with Discord"
          linkcheck = "Shows info about an linked discord user or an ingame player"

    # Strings about the account linking feature
    [localization.linking]
      # Sent to the user when he linked his discord successfully
      # PLACEHOLDERS:
      # %player% - The in-game player name
      linkSuccessful = "Your account is now linked with %player%.\nUse /settings to view and set some user-specific settings"
      # Sent to the user when linking fails
      linkFailed = ":x:**Account link failed! Try again in few minutes or make a ticket in <#918723262249336903>**:x:"
      # Sent when an already linked user attempts to link an account
      # PLACEHOLDERS:
      # %player% - The in-game player name
      alreadyLinked = "Your account is already linked with %player%"
      # Sent when attempting to use personal commands while not linked
      # PLACEHOLDERS:
      # %method% - The currently enabled method for linking
      notLinked = "Your account is not linked! Link it first using %method%"
      # Message of the link method in whitelist mode
      # Used by %method% placeholder
      linkMethodWhitelistCode = "joining the server and then using `/link <whitelist-code>` here"
      # Message of the link method in normal mode
      # Used by %method% placeholder
      linkMethodIngame = "`/discord link` ingame"
      # Sent when attempting to whitelist-link with an non uuid string
      # PLACEHOLDERS:
      # %arg% - The provided argument
      link_argumentNotUUID = "Argument \"%arg%\" is not an valid UUID or Name. Use `/whitelist <Name-or-UUID>`"
      # Sent when attempting to link with an unknown number
      invalidLinkNumber = "Invalid link number! Use `/discord link` ingame to get your link number"
      # Sent when attempting to link with an invalid number
      linkNumberNAN = "This is not a number!"
      # Message shown to players who are not whitelisted using discord
      # No effect if discord whitelist is off
      notWhitelistedCode = "§cYou are not whitelisted.\nJoin the discord server nad verify for more information\nhttps://discord.gg/FYNgcjqvHN\nYour Whitelist-Code is: §6%code%"
      # Sent when trying to link without an required role
      link_requiredRole = "You need to have an role to use this"
      # Sent when trying to link as an non-member
      link_notMember = "You are not member of the Discord-Server this bot is operating in!"
      # Sent to the user when he linked his discord successfully
      # PLACEHOLDERS:
      # %name% - The linked discord name
      # %name#tag% - The linked discord name with tag
      linkSuccessfulIngame = "Your account is now linked with discord-user %name#tag%"
      # Message shown to players who want to link their discord account ingame
      #
      # PLACEHOLDERS:
      # %num% - The link number
      linkMsgIngame = "Send this command as a direct message to the bot to link your account: /link %num%\nThis number will expire after 10 minutes"
      # Shown when hovering over the link message
      hoverMsg_copyClipboard = "Click to copy command to clipboard"

    # Strings about the personal settings feature
    [localization.personalSettings]
      # Message for getting an setting's value
      personalSettingGet = "This settings value is `%bool%`"
      # Sent when user sucessfully updates an prersonal setting
      settingUpdateSuccessful = "Successfully updated setting!"
      # Header of the personal settings list
      personalSettingsHeader = "Personal Settings list:"
      # Error message when providing an invalid personal setting name
      invalidPersonalSettingKey = "`%key%` is not an valid setting!"
      settingsCommandUsage = "Usages:\n\n/settings - lists all available keys\n/settings get <key> - Gets the current settings value\n/settings set <key> <value> - Sets an Settings value"
      # Sent when setting an personal setting fails
      settingUpdateFailed = "Failed to set value :/"
      # Sent when attempting to change an blacklisted setting
      settingUpdateBlocked = "The server owner disabled changing of this setting"

        # Descriptions of the settings
        [localization.personalSettings.descriptons]
          ignoreDiscordChatIngame = "Configure if you want to ignore discord chat ingame"
          useDiscordNameInChannel = "Should the bot send messages using your discord name and avatar instead of your in-game name and skin?"
          ignoreReactions = "Configure if you want to ignore discord reactions ingame"
          pingSound = "Toggle the ingame ping sound"
          hideFromDiscord = "Setting this to true will hide all of your minecraft messages from discord"
# Configuration for the in-game command '/discord'
[ingameCommand]
  # Enable the /discord command to show an custom message with invite URL?
  enabled = true
  # The message displayed when typing /discord in the server chat
  message = "Join our discord! https://discord.gg/FYNgcjqvHN"
  # The message shown when hovering the /discord command message
  hoverMessage = "Click to open the invite url"
  # The url to open when clicking the /discord command text
  inviteURL = "https://discord.gg/FYNgcjqvHN"
# The command log channel is an channel where every command execution gets logged
[commandLog]
  # Channel ID for the command log channel
  # Leave 0 to disable
  channelID = "CHANNEL ID"
  # The format of the log messages
  #
  # PLACEHOLDERS:
  # %sender% - The name of the Command Source
  # %cmd% - executed command (e.g. "say Hello World"
  # %cmd-no-args% - Command without arguments (e.g. "say"
  message = "%sender% executed command `%cmd%`"
  # A list of commands that should NOT be logged
ignoredCommands = [    ]
# Configure votifier integration here
# (Spigot only)
[votifier]
  # Should votifier messages be sent to discord?
  enabled = true
  # Custom channel ID for Votifier messages
  # Leave 'default' to use default channel
  votifierChannelID = "default"
  # The message format of the votifier message
  #
  # PLACEHOLDERS:
  # %player% - The player´s name
  # %site% - The name of the vote site
  # %addr% - (IP) Address of the site
  message = ":ballot_box: %player% just voted on %site%"
  # Name of the webhook title
  name = "Votifier"
  # URL of the webhook avatar image
  avatarURL = "https://www.cubecraft.net/attachments/bkjvmqn-png.126824/"
# Configure Dynmap integration here
[dynmap]
  # The message format of the message forwarded to discord
  #
  # PLACEHOLDERS:
  # %sender% - The sender´s name
  # %msg% - The Message
  dcMessage = "<%sender%> %msg%"
  # Custom channel ID for dynmap chat
  # Leave 'default' to use default channel
  dynmapChannelID = "default"
  # Name of the webhook title
  name = "Dynmap Web-Chat"
  # URL of the webhook avatar image
  avatarURL = "https://styles.redditmedia.com/t5_2kl3ct/styles/communityIcon_am5zopqnjhs41.png"
  # The name format of the message forwarded to the dynmap webchat
  #
  # PLACEHOLDERS:
  # %name% - The discord name of the sender (including nickname)
  # %name#tag% - The discord name with tag of the sender (without nickname)
  webName = "%name% (discord)"
  # Name shown in discord when no name was specified on the website
  unnamed = "Unnamed"
# Configure some plugin-specific BStats settings here
# Everything can be seen here: https://bstats.org/plugin/bukkit/DiscordIntegration/9765
#
# Does not apply to fabric yet, as there is no bstats for it
[bstats]
  # Allow sending of installed addon stats (Name and version of installed addons)
  sendAddonStats = true
# Settings for servers running as Bungeecord-suberver
[bungee]
  # Set this to true if the server is running as an subserver of an bungeecord network and therefore needs to be in offline mode
  # Setting this will force account linking in offline mode
  # Do NOT use for actual offline mode servers, as this will break the linking feature because of the UUIDs!
  #
  # Currently no support for floodgate running on bungee
  isBehindBungee = false


Transform recent messages clearchat to notice types client-side

What should be added?
Currently chatterino sends ?clearchatToNotice=true to the recent messages API. I suggest these messages are converted client-side by chatterino instead. See https://github.com/robotty/recent-messages#api for documentation on what it does.

Why should it be added?
I am looking at a potential rewrite of recent-messages and in the long run I don't think clearchatToNotice is a sensible option to have on the API.

👍 Thank you for taking care of it


Changes to data storage to support queryable, and provide possiblity …

…to override the repository and provide optimized queries.

Pull latest changes


CLN: fix usage of pandas.lib

See https://github.com/pandas-dev/pandas/pull/15537 and https://github.com/pandas-dev/pandas/issues/15936#issuecomment-294344476 (and other issues reorganizing the pandas repo structure). I think this was the only usage of a pandas.lib function

Looks good to me. Thanks!


Unable to build

Hello, thanks for this!
When following the instructions I get:
picowota/tcp_comm.c:534:28: error: 'MAX_NARG' undeclared (first use in this function)

Have I missed something simple?
Edit: works if you change the lines referenced above to be:
        for (i = 0; i < n_cmds; i++) {
                assert(cmds[i]->nargs <= COMM_MAX_NARG);
                assert(cmds[i]->resp_nargs <= COMM_MAX_NARG);
        }

I also had to modify line 640 in main.c to be a while loop as my Pico fails to connect sometimes........
	while (cyw43_arch_wifi_connect_timeout_ms(wifi_ssid, wifi_pass, CYW43_AUTH_WPA2_AES_PSK, 30000))
	{
		DBG_PRINTF("failed to connect.\n");
		sleep_ms(500);
	}

Hey, thanks for the report!
Not sure how I missed that typo, I'll update later

Great thanks, I will close this.

It was building OK for me I guess because I wasn't doing debug builds, and so the assert()s weren't getting evaluated. Were you doing a debug build?
Anyway fixed now - thanks for the report.

Yep was a debug build. Thanks for sorting!


Using System.Net.WebClient in some packages

Some packages use System.Net.WebClient to download pages for parsing, for example Firefox.
I'm behind corporate proxy with NTLM-auth and this thing doesn't work for me. I got this error:
ERROR: Exception calling "DownloadString" with "1" argument(s): "The remote server returned an error: (407) Proxy Authentication Required."

When I configure webclient like this:
$wc = New-Object System.Net.WebClient
$wc.Proxy.Credentials = [System.Net.CredentialCache]::DefaultCredentials

DownloadString does work.

Those packages should just use the built-in Chocolatey methods now that they overcome many of the earlier limitations in earlier versions of Chocolatey that set them to use WebClient directly instead of using the built-in methods.

@gep13 ^^

@ferventcoder  Ah, you might want to take a look at the PR I am just away to mention you in 😄

Is there pull request already or can I make one?

@ebugusey there is a pull request already for some work I was doing with the FossHub extension, which is in this repo as well.  However, this PR doesn't deal with any other packages that are already using WebClient.  Would be happy for you to create a PR to correct them though.

@ebugusey this has now been included and I have pushed new package fix version notation's for firefox and thunderbird.
Please let me know if you continue to see issues.
Thanks for your help on this!


setTimeout(...).unref() doesn't work

From https://github.com/angular/zone.js/blob/master/lib/node/node.ts#L16
setTimeout(function () {}, 50).unref() // works
if (shouldPatchGlobalTimers) {
  timers_1.patchTimer(_global, set, clear, 'Timeout');
  timers_1.patchTimer(_global, set, clear, 'Interval');
  timers_1.patchTimer(_global, set, clear, 'Immediate');
}
setTimeout(function () {}, 50).unref() // throws error

Importing angular2-universal/polyfills which imports zone.js/dist/zone-node.js.
Using Node v4.4.3.

For more context, I'm using Google's Cloud Trace and Cloud Debug libraries which rely on the Node.js Timers API (specifically unref). Apparently, when Zone.js patches the timers in Node.js the patched timers don't behave like they did before.
This makes Zone.js + anything that uses unref unusable on Node.js. Pinging @ matthewloring


Can't run Bash-based function locally

I have an Azure function that is working fine in the Dashboard using Bash (and then executing a Golang binary).  I got my VM all setup so I can try to run this locally as well within Windows.  After some fiddling, I think I am close, but now it appears that I don't have bash.exe to be able to run my function:
> func run .\DemoFunction\ -c "test"

Job host started
Executing 'Functions.DemoFunction' (Reason='This function was programmatically called via the host APIs.', Id=3fb085da-9e9d-4e06-be0e-8dd5baf27604)
Function started (Id=3fb085da-9e9d-4e06-be0e-8dd5baf27604)
Function completed (Failure, Id=3fb085da-9e9d-4e06-be0e-8dd5baf27604)

A ScriptHost error has occurred
Exception while executing function: Functions.DemoFunction. Microsoft.Azure.WebJobs.Script: Unable to locate 'bash.exe'. Make sure it is installed.

Am I doing something wrong or should this work like it does in the Azure environment?

I talked to @ahmelsayed about this and with a bit of troubleshooting, he got me fixed up.  I had installed the GitHub Desktop for Windows package, but did not have Git for Windows installed.  Installing "Git for Windows" fixed my issue.


Add apiVersion to RequestOptions

Added apiVersion to RequestOptions, which allows developers to optionally target a specific version of the API (for example, "v1beta"); defaults to "v1" if not specified.

Should the second bullet of the description be?
Defaults to "v1" but allows developers to optionally target the "v1beta" (or any other) API
Also, we should make sure a description like this ends up in the generated release notes.

@paulb777 Good call, updated the PR description to clarify that "v1beta" is just one example.


Create endpoints For CRUD Announcements

WHY

Closes #7

WHAT
1- Design logic to handle Announcement, cancel News (didn't find it relevant for this scope, let's treat everything as announcement for the beginning)
2- An announcement is uniquely identified by its title, but I've added a surrogate key id (auto increment)
3- I didn't find it useful to add the author of the announcement, as everything is posted by the community executive from the back office! (What is your thought?)
4- Handled all endpoints for CRUD.
5- Designed Unit tests for everything.
TESTING

A test form postman would also look good.

I think something as News can be something as simple as "Launched V1 of the website", that's a piece of news without a deadline. An announcement might be "NSBE 2025 Scholarship Registration" which would have a a deadline.
Let me know what you think

I think something as News can be something as simple as "Launched V1 of the website", that's a piece of news without a deadline. An announcement might be "NSBE 2025 Scholarship Registration" or "Christmas Party 12/25" which would have a a deadline.
I see what you mean, I think we can treat everything as announcement, since the deadline field is optional, if in the future we need to handle news separately, we'll just follow what have been done for announcement.

I updated the WHY of your PR to show you what was expected.
Also it seems you have some merge conflict, can you fix them first

LGTM!!!


Add dd_when Helper to Conditionally Trigger dd()

Propose helper function, dd_when, allowing conditional debugging with dd(). This function provides a simple way to invoke dd() based on a boolean condition.
Example Usage:
dd_when($user->isAdmin(), $user, 'Only admins can see this debug info');

Sample Use case:
Before
foreach($users as $user) {
      if ($user->dontHaveOrder()) {
            dd($user->id);
      }
     ....
}

After
foreach($users as $user) {
      dd_when($user->dontHaveOrder(), $user->id);
     ....
}

foreach($users as $user) {
      $user->dontHaveOrder() && dd($user->id);
     ....
}

Also, this has been attempted before: https://github.com/laravel/framework/pull/52862


{postgres} HTML tags are rendering as empty parameter values in reference

Describe the bug
Problem to solve:
HTML tags in source code are causing build warnings in MicrosoftDocs/azure-docs-cli. More importantly, customer-facing reference docs are not instantiating properly -- parameter values formatted with `<>` are missing. Here's an example:

Requested solution:
These values should be escaped with a backtick. Here's an example from az webpubsub.

Published reference guidelines
Guidelines for Parameters used in examples
Related GitHub issues:
This is the same issue as these GitHub issues.
List of HTML tag instances that need update:

File name
Build error

latest/docs-ref-autogen/postgres/server.yml
HTML tag 'SingleIP' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/postgres/server.yml
HTML tag 'StartIP-DestinationIP' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/postgres/server.yml
HTML tag 'SingleIP' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/postgres/server.yml
HTML tag 'StartIP-DestinationIP' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

Related command
az postgres
Errors
n/a
Issue script & Debug output
n/a
Expected behavior
n/a
Environment Summary
Azure CLI 2.62.0
Additional context
No response

Thank you for opening this issue, we will look into it.

Fixed by https://github.com/Azure/azure-cli/pull/29646


[tests] Update all fixtures

This is a full update of all fixtures

added a newline to each (this is the main reason for the PR) (see the _common.py file for the code change)
other fixture updates expected:

image name update
uuids
py env name

beacuse some fixtures were missing, but have been added (not required by the specific tests), some new spelling errors have been introduced.  Will address in a different PR
This should limit the changes in #685 while tying the fixture updates to the code change that added the newline.

If this is the first time seeing the pre-commit stuff, although it has failed, it does not block the PR/gate.....


WiFiC3/CNetIf - added config method to apply new static IP settings

alternative for https://github.com/arduino/ArduinoCore-renesas/pull/201
in CWifi::_config netif_set_address call was missing.
in Ethernet::begin static IP was not applied if invoked second time.
Now new CNetIf.config does the static IP change for both.
discovered and tested with WiFiTest and LegacyEthernetTest

I can test Ethernet now in Renesas Core so I added to this PR a fix for Ethernet which uses the same new config method.


Where For Dinner has incorrect redirect URL in TAP 1.6.

The updated template to use the new WorkloadRegistration is providing an incorrect redirect url.  The provided value is "/" but should be "/login/oauth2/code/sso"

Resolved in PR #290


XML External Entity (XXE), potential security risk

Thanks @bluefirepatrick for the heads-up!
    <!DOCTYPE root [ <!ENTITY ent SYSTEM "file:///etc/passwd"> ]>
  <root>
    <e>&ent;</e>
  </root>

(ouch!)
short story:
XML_PARSE_NOENT should be removed from the libxml parser options (see below). Note that the name can be misleading, as it in fact means that entities should be expanded so that no entity nodes should be created inside the parsed document (entity replacement / substitution).
long story:
Here is Readium's libxml parser config:
https://github.com/readium/readium-sdk/blob/develop/ePub3/ePub/archive_xml.cpp#L28
const int ArchiveXmlReader::DEFAULT_OPTIONS = XML_PARSE_RECOVER | XML_PARSE_NOENT | XML_PARSE_DTDATTR | XML_PARSE_NONET;

As you can see, we don't use XML_PARSE_DTDLOAD, but we do have XML_PARSE_NOENT.
We do set XML_PARSE_NONET but the potential security risk applies to local files too.
By the way, these binary mask options are passed to:
https://github.com/readium/readium-sdk/blob/develop/ePub3/xml/utilities/io.cpp#L74
std::shared_ptr<Document> InputBuffer::xmlReadDocument(const char * url, const char * encoding, int options)
{
    _encodingCheck = encoding;
    xmlDocPtr raw = xmlReadIO(_buf->readcallback, _buf->closecallback, _buf->context, url, encoding, options);
    return Wrapped<Document>(raw);
}
std::shared_ptr<Document> InputBuffer::htmlReadDocument(const char *url, const char *encoding, int options)
{
    _encodingCheck = encoding;
    return Wrapped<Document>(htmlReadIO(_buf->readcallback, _buf->closecallback, _buf->context, url, encoding, options));
}

Also note xmlSubstituteEntitiesDefault(0); and xmlLoadExtDtdDefaultValue = 0; in __resetLibXMLOverrides:
https://github.com/readium/readium-sdk/blob/develop/ePub3/xml/utilities/base.cpp#L76
General references:
https://www.owasp.org/index.php/XML_External_Entity_(XXE)_Prevention_Cheat_Sheet
https://git.gnome.org//browse/libxml2/commit/?id=4629ee02ac649c27f9c0cf98ba017c6b5526070f
https://mail.gnome.org/archives/xml/2012-October/msg00045.html
https://github.com/IDPF/epubcheck/commit/66e88e46b4f2cf44ee9607c05f2eccb6254c4101
Craig Arendt (Stratum Security)
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-7889
CVE-2016-7889 + CVE-2016-7666 +  CVE-2016-9487
https://support.apple.com/en-us/HT207432
https://helpx.adobe.com/security/products/Digital-Editions/apsb16-45.html
https://www.kb.cert.org/vuls/id/779243

Fixed: https://github.com/readium/readium-sdk/commit/ae7c0b85a4274886c7545283571ea37610ec39c1


Removed invalid Wi-SUN channel configuration parameters

@teetak01 please review

Actually wrong repository. Make the fix to mbed-cloud-client-example-internal.


librewolf: 102.0.1-1 -> 103.0-3

Description of changes
Update LIbrewolf to 103.0-3.
NixOS tests pass. Manual browsing tests pass on NixOS x86_64.
Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

The 103.0-3 patch update fixed a problem with the uBlock origin icon not appearing. @mweinelt I think this is ready to be merged.


vmsdk/test: update tests

use replay_cc_eventlog() api instead of self implemented code

LGTM if the comments mentioned above is ready.
Thanks!

LGTM. Ship it!


How should we handle self association?

Suppose I have parent group contains children groups, and child group contains children, then how should I handle it?
Data:
{
id: 1,
name: "",
children: [
{id, name, children}
]
}

If these "groups" are different models you can just have a children: many("parentModelName") i guess :)

groups are same model on server.

Is there a solution if 'SomeModel' can have multiple parents and multiple children? running children: many('SomeModel','parents') doesn't seem to work...

Closing due to lack of activity.


informerstack and label_len

First thank you for your very neat published code and your paper. I wanted to ask it was not clear for me what is the label_len parameter exactly is in your code. additionally what is the difference between the informer and informerstack models. Thank you again

label_len is the length of decoder start token, which is X_token shown in figure 1. We also describe the generation style decoder in our paper.

InformerStack stacks several Informer Encoder with different layers, and each Informer Encoder  has different input length, you can refer to code models/encoder.py to get more information.
https://github.com/zhouhaoyi/Informer2020/blob/99b59c181f871a1521a798a37287a27ba5b742a7/models/encoder.py#L82-L97

This clears things up. Thank you very much for your thorough and quick explanation


How to disable TPKeyboardScrollView optionally.

I have two containers one is parent container of the second, both are TPKeyboardScrollView class, the inner one has a textfield. i want to use these classes.

@rodrigobirriel Were you able to accomplish this?


minor changes in anticipation of filter functionality

This is a small refactor to make the dash header a bit more coherent, creating space for the new filter functionality.

Code looks clean 👍
This alignment kind of bugs me. Maybe the solution is to tighten the TimeControls buttons so that they have same padding as the "clear filters" button?


WIP instancetype: Add testids to functional tests

Signed-off-by: Lee Yarwood<EMAIL_ADDRESS>
What this PR does / why we need it:
Add testids to instancetype functional tests.
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 #
Special notes for your reviewer:
Release note:

NONE

/area instancetype

/cc @akrejcir
/cc @davidvossel
Apologies for the delay with this, should be ready for review now.

/retest


(x) Indirect relations aren't properly stored

This refers to the Fixturizer when it has an inversed relation one or many, needs investigation.

This was fixed.


Feature/api calls

Working on it.

Do not merge please

I added a small commit into feature/api_calls


umami.is is down

Describe the Bug
cannot load site for docker or docs, etc
Database
PostgreSQL
Relevant log output
pinging ... it shows <IP_ADDRESS>

Which Umami version are you using? (if relevant)
No response
Which browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
No response

The website is up. Not sure why you're getting <IP_ADDRESS> since that is a localhost address.

I determined this was my adblocker (adguard)... for some reason it miscategoried umami.is as adware


Directionally shaded graphs

Is your feature request related to a problem? Please describe.
It would be nice to have a chart with directionally shaded graphs - anything above 0 is green and below is red, for instance
Describe the solution you'd like
Shading that is different based on the line value set at a certain amount
Additional context
Many other financial charts support this

It seems that https://github.com/tradingview/lightweight-charts/issues/151 is what you're looking for?

Yes it is! Looks like it wasn't merged in though


fix(checkbox): update disabled state colors

:tada: This PR is included in version 0.2.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Add example test output

Description of changes:
Follow up to https://github.com/aws-controllers-k8s/community/pull/1377, adding back the output for running the test command
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/lgtm


Update actions/checkout to v3

This commit updates the ‘actions/checkout’ action from version v1 to v3 in the GitHub Actions workflows. The latest version, v3, provides several performance improvements, bug fixes, and new features compared to v1. Upgrading to v3 ensures compatibility with the latest GitHub Actions improvements and adheres to best practices for CI/CD workflows.

🟡 Heimdall Review Status

Requirement
Status
More Info

Reviews

🟡
0/1

Denominator calculation

Show calculation

1 if user is bot
0

1 if user is external
0

From .codeflow.yml

1

Additional review requirements

Show calculation

Max
0

0

From CODEOWNERS

0

Global minimum
0

Max

1

1

1 if commit is unverified
0

Sum
1

@Rufusemmanuel
Hi there! Thanks for contributing! Confirming this is in our backlog, pending to be reviewed.

Alright, grateful to lend my help👏.


Fails to build: parameterValueToString undefined

I'm attempting an integration with this library, and it fails to build, saying that parameterValueToString is undefined. There are numerous references to this in api_mx_platform.go but I don't see any definition anywhere. There is a similarly named function in client.mustache called parameterToString. Is this just a typo somewhere?
ad6290f27c1c:/app# go build -o server ./cmd/server/
# github.com/mxenabled/mx-platform-go
/go/pkg/mod/github.com/mxenabled/mx-platform-go@v0.20.0/api_mx_platform.go:73:85: undefined: parameterValueToString
/go/pkg/mod/github.com/mxenabled/mx-platform-go@v0.20.0/api_mx_platform.go:74:83: undefined: parameterValueToString
/go/pkg/mod/github.com/mxenabled/mx-platform-go@v0.20.0/api_mx_platform.go:180:85: undefined: parameterValueToString
/go/pkg/mod/github.com/mxenabled/mx-platform-go@v0.20.0/api_mx_platform.go:181:83: undefined: parameterValueToString
/go/pkg/mod/github.com/mxenabled/mx-platform-go@v0.20.0/api_mx_platform.go:291:83: undefined: parameterValueToString
/go/pkg/mod/github.com/mxenabled/mx-platform-go@v0.20.0/api_mx_platform.go:409:85: undefined: parameterValueToString
/go/pkg/mod/github.com/mxenabled/mx-platform-go@v0.20.0/api_mx_platform.go:410:83: undefined: parameterValueToString
/go/pkg/mod/github.com/mxenabled/mx-platform-go@v0.20.0/api_mx_platform.go:525:83: undefined: parameterValueToString
/go/pkg/mod/github.com/mxenabled/mx-platform-go@v0.20.0/api_mx_platform.go:646:86: undefined: parameterValueToString
/go/pkg/mod/github.com/mxenabled/mx-platform-go@v0.20.0/api_mx_platform.go:647:85: undefined: parameterValueToString
/go/pkg/mod/github.com/mxenabled/mx-platform-go@v0.20.0/api_mx_platform.go:647:85: too many errors

It appears that openapi-generator updated the client.mustache template some time ago and changed the name of that method: https://github.com/OpenAPITools/openapi-generator/commit/4487042f0d4ef1f4686950f0c1ddac6fe6d44f98
Since a copy of that file exists here, I'm assuming there was some need for a fork, but you haven't brought in recent upstream changes.

@mcoats13 Confirmed, thanks!


add multiple types of mutations

This is the waterfall plot from the TCGA-PDAC paper:

Most of it can be recreated with maftools. However, notice that it has "Germline" classification for variants that generates a distinct representation (a gray border) for those events.
You cannot add "Germline" to the Variant_Classification column. I thought additionalFeature did that, but that only adds an additional layer to the variants. Thus, if you have gemline and non-germline events in the same gene, it is labeled "Multi_Hit". I was hoping for something like copy number status where the copy number events are independent of other mutations. Is there a way to do that with maftools?

Hi,
You can include samples with Germline status in the copy number table and it should work. Below is the example using example AML file.
#path to TCGA LAML MAF file
laml.maf = system.file('extdata', 'tcga_laml.maf.gz', package = 'maftools')

#Random 20 samples
dummy.samples = c("TCGA-AB-2898", "TCGA-AB-2879", "TCGA-AB-2920", "TCGA-AB-2866",
                  "TCGA-AB-2892", "TCGA-AB-2863", "TCGA-AB-2994", "TCGA-AB-3007",
                  "TCGA-AB-2992", "TCGA-AB-2860", "TCGA-AB-2917", "TCGA-AB-2859",
                  "TCGA-AB-2822", "TCGA-AB-2936", "TCGA-AB-2897", "TCGA-AB-3008",
                  "TCGA-AB-2883", "TCGA-AB-2957", "TCGA-AB-2946", "TCGA-AB-2943"
)

#Genarate random germline status for above samples
gl.status = sample(
  x = c('Germline', 'idk,maybe..'),
  size = length(dummy.samples),
  replace = TRUE
)

gl.data = data.frame(
  Gene = "NPM1",
  Sample_name = dummy.samples,
  is_germline = gl.status,
  stringsAsFactors = FALSE
)

head(gl.data)

Gene  Sample_name is_germline
1 NPM1 TCGA-AB-2898 idk,maybe..
2 NPM1 TCGA-AB-2879    Germline
3 NPM1 TCGA-AB-2920    Germline
4 NPM1 TCGA-AB-2866    Germline
5 NPM1 TCGA-AB-2892    Germline
6 NPM1 TCGA-AB-2863    Germline

laml.plus.cn = read.maf(maf = laml.maf, cnTable = gl.data)

oncoplot(
  maf = laml.plus.cn,
  genes = c("DNMT3A", "NPM1"),
  drawRowBar = FALSE,
  drawColBar = FALSE,
  showTitle = FALSE
)

Would this work? You will have to install the tool from GitHub though, since it hasnt been pushed to Bioconductor yet.

I tried this in the Bioconductor version and it did not work. It indeed works in the current GitHub version.
I guess this was added in response to a similar recent issue, which I just noticed: https://github.com/PoisonAlien/maftools/issues/490

There is a way to specify custom colors for different mutation types. Is there a way to modify how the copy number mutations look otherwise? For example, to change the size, shape, or alpha?

Hi,
Sorry for the late reply. Yes, this update was related to #490.
Unfortunately it is not possible to change shape or size. However you can change colors by providing named vector of colors for every level in the custom data.
for above example
#maftools default colors for known variant classifications
vc_cols = maftools:::get_vcColors()
#colors for your additional values
my_cols = c("#f3a683", "#f7d794")
#Set alpha if you would like
#my_cols = grDevices::adjustcolor(col = my_cols, alpha.f = 0.9)
names(my_cols) = c('Germline', 'idk,maybe..')

vc_cols = c(vc_cols, my_cols)

oncoplot(
  maf = laml.plus.cn,
  genes = c("DNMT3A", "NPM1"),
  drawRowBar = FALSE,
  drawColBar = FALSE,
  showTitle = FALSE, colors = vc_cols
)

Hope this helps..

Thanks @PoisonAlien -- a related question: with this modification of cnTable, can we continue to use the 'cnv_status' in the cnTable (to show copy number changes), together with the is_germline column?


SMAP Dataset preprocessing

First of all, thank you for your work. I have some doubts about the SMAP dataset. I have run the preprocessing.py file with the SMAP dataset and the test data is not scaled between 0 and 1 in some dimensions. For example, dimension 0 of file A_1 has data with values up to 50,000 after preprocessing. What is the reason for this?

We use min-max scaling w.r.t the training dataset for fair comparison with prior work. This can cause such discrepancies.


High severity vulnerability detected by audit in react-scripts 3.4.3

Describe the bug
After installing last version (3.4.3) of react-scripts, I got a high severity vulnerability (Remote Code Execution) from node-forge, that is a dependency of react-scripts (3.4.3)
Did you try recovering your dependencies?
NA

Which terms did you search for in User Guide?
NA

Environment
OS : Windows sub systems

(paste the output of the command here.)
Steps to reproduce
NA

Expected behavior
No vulnerabilities detected by audit

Actual behavior
High severity vulnerabilities detected by audit

(Write what happened. Please add screenshots!)
Reproducible demo
NA

(Paste the link to an example project and exact instructions to reproduce the issue.)

When I run npm audit it hints that npm update selfsigned --depth 3 would fix the issue, alternatively it seems you can update your package-lock.json per #9599.

In case you are using yarn for your dependency management, you can make use of the resolutions in your package.json as an intermediate fix (e.g. for your failing CI / CD pipeline 😉):
  "resolutions": {
    "node-forge": "^0.10.0"
  },

See the comment here for more info, https://github.com/facebook/create-react-app/issues/9033#issuecomment-671847777.


kind-diag should dump the installed CRDs

This seems like a potentially useful piece of information, especially for debugging issues related to removing CRDs that use finalizers.

cc @cpanato

We can just add these where we need them.


Project versions disagree in three locations

I have begun a formal Fedora package review for ouimeaux, to get it added to the official Fedora repos.
One thing that would help avoid package versioning questions during the review would be to synchronize the version found in these three locations:

The releases page - Currently says 0.8.0
setup.py - Currently says 0.8.2
ouimeaux/init.py - Currently says 0.7.2

At the moment, I am building an rpm package with version of 0.8.2, since that seems most appropriate, but it would be helpful if these would all agree. Thanks.

I've updated these. Thank you.
On Fri, May 22, 2020 at 5:06 PM Andrew Bauer<EMAIL_ADDRESS>wrote:

I have begun a formal Fedora package review for ouimeaux, to get it added
to the official Fedora repos.
One thing that would help avoid package versioning questions during the
review would be to synchronize the version found in these three locations:

The releases https://github.com/iancmcc/ouimeaux/releases page -
Currently says 0.8.0
setup.py https://github.com/iancmcc/ouimeaux/blob/develop/setup.py
Currently says 0.8.2
ouimeaux/init.py
https://github.com/iancmcc/ouimeaux/blob/develop/ouimeaux/__init__.py
Currently says 0.7.2

At the moment, I am building an rpm package with version of 0.8.2, since
that seems most appropriate, but it would be helpful if these would all
agree. Thanks.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/iancmcc/ouimeaux/issues/200, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAOE447FRJF2QXWI73W2QDRS3ZN5ANCNFSM4NIEZDUA
.

--
Ian McCracken

Excellent. Thank you very much.


Commit 5-3, undefined before _id

Hi,
Can't see I did anything differently than the book?
router.js:
Router.route('/', {name: 'postsList'});
Router.route('/posts/:_id', {
name: 'postPage',
data: function() { return Posts.findOne(this.params._id); }
});
post_item.html:

The href returned is:
http://localhost:3000/posts/undefinedQwbRnRkkPiBZNKxJG
Any idea where 'undefined' is coming from? the value for _id is correct but obviously the link does not work with undefined added in front.

Close - duplicate


TypeError: super() takes at least 1 argument (0 given)

Thank you for your work on this, I'm getting the following error:
File "/usr/local/lib/python2.7/dist-packages/apns2-0.1.0-py2.7.egg/apns2/payload.py", line 48, in __init__
    super().__init__()
TypeError: super() takes at least 1 argument (0 given)

I guess this is a Python 2.7 vs 3.0 issue.

I got the same problem with python 2.7. I had patched with:
super(Payload, self).__init__()

Thank you -- that's exactly what I ended up doing ... unfortunately, I then found out that Hyper doesn't support Python 2.7.6.

Yes, it's definitely 2.* vs 3.* issue. I limit support for > 3.3 for two reasons: 2.* branch is legacy and I don't use it in new projects. Also, I want to add asyncio support in future (that's why library version is 0.1 now), which is also limited to the version higher than 3.3.