Feature Request: Immutable Priority Queue.

How about an immutable implementation of the Priority Queue data structure might come in handy for  some people.
I tried to do a heap based implementation using the Immutable List but I got O((logn)^2) (well ~c_log_2(n)_log_32(n)) bound for pop and push. Surely there should be a better way of doing it.
Something based on the binomial heap.
Interested in what is others think of this?

Closing this aging issue - there's no plans to add this to the library, however if you ever feel up for a serious contribution, I'd love to see your research into how to accomplish this.

@leebyron
I have been working on a prototype for an immutable Heap/Priority Queue implementation. Before I go too far down the rabbit hole I would like your input.
First off, there are two possible access paradigms that we must consider. The first being strictly a Heap structure which resembles the Stack in it's basic operations: peek(), push(priority, item), and pop(). The second (and more useful) option would be to combine some Map functionality, namely keyed entries, with the basic Stack operations to support get(key, nsv), update(key, nsv, fn) and related operations on both the entry itself AND the associated priority. I have chosen to pursue the more complicated second option, as it more fully captures my needs (namely updating existing priorities) and what I believe the community needs/expects.
Goals
Explicit functionality and performance goals:

O(1) peek(), first(), and/or head()
O(log32(N)) pop()
O(log32(N)) get*(key), set*(key, [priority, value]). Same big-O bounds as Map. For set*(...) a change to value can be done without changing the nodes' internal ordering, but a priority change will require the use of internal siftUp/Down operations.
O(N) for each collection in merge*(...collections). Same big-O bounds as Map (I assume as it isn't explicitly stated in the docs).
O(TBD) iteration, we get most sequence and search operations for free once an iterator and iteration scheme is defined. This will depend on whether iteration should maintain heap ordering or first-come-first-serve ordering. I look forward to discussion on this issue.

Note: There have been previous efforts to create purely functional heap/priority queue implementations. However, they do not address efficient lookups of existing elements in the heap for updating purposes. Likewise, other more advanced heaps like the Fibonacci heap are not applicable because they require a pointer back to the parent, violating the acyclic requirement of a Directed Acyclic Graph (DAG) which underlies all of Immutable-js. Nevertheless, I have used ideas from theses sources, such as structural bootstrapping and tree decomposition, to inform/inspire my prototype.

Implementation
Node Types
The proposed Heap would be comprised of 3 node types (names are negotiable):

ValueNode: Leaf node containing key, keyHash, priority, and value properties.
HashCollisionNode: Modified leaf node containing [k, [p, v]] entries that have identical keyHashes (similar to the Map.HashCollisionNode). Entries are stored in an binary heap ordered array rather than by insertion order. Array size is unbounded as we cannot know a priori the number of hash collisions. This node's priority and value are set as the current first entry's priority and value, so as to provide efficient lookups.
HashBucketNode: Non-leaf node containing pointers to child nodes of any type. It is comprised of depth/shift integer and two identically sized arrays each with a max size of TrieUtils.SIZE. The first array is the subqueue array which is a binary heap array, ordered on node priority. The second is the hash redirect array where each slot corresponds to a secondary hash (more on this below) on the child node's keyHash and each value is that node's index in the subqueue array. A slot is initially empty, then is filled with a ValueNode, and if another node maps to that slot then a new HashBucketNode is created as the new child with both ValueNodes in the new child HashBucketNode. The depth/shift property is incremented for each child HashBucketNode and serves as a way to prevent child keyHashes from mapping to the same location at every depth. Like the HashCollisionNode, this node's priority and value are set as the current first node's priority and value.

Hash Redirect Slot Hashing
A HashBucketNode's hash redirect array has a max size of TrieUtils.SIZE and maps a particular range of keyHashes to a heap subtree or leaf. An incrementing depth/shift value is provided for each child HashBucketNode, starting at 0. The proposed equation is below:
function rotatorHash(shift, keyHash) {
  const truncatedHash = keyHash & 0xFFFFFFFF;
  return Math.abs((truncatedHash << shift) | (truncatedHash >>> -shift)) % SIZE;
}

In Javascript bitwise operations are limited to 32 bits even if a number is actually represented with more. This can result in some odd behavior for numbers > 32 bits, hence the mask/truncation operation. Effectively all the bits shifted off the end are shifted back on to the front of the hash, then the whole value is modulo'd with the TrieUtils.SIZE to ensure it maps only to the specified range of buckets.
The "rotation" method was chosen as it maintains a uniform modulo distribution at deeper levels of the tree. For example, if a simple left shift was performed at the 31st level, all values would begin with either a 0 or 1 and hence would only map to one of two buckets, artificially limiting our bucket space. Like all shift based hashes, this effectively limits the tree depth to 32 levels with deeper levels becoming degenerate cases with only one usable slot. And while 32^32 is quite a large size, the keyHashing method is open sourced and there are pathological cases where an attacker could force all keys into a single bucket and force a depth > 32 levels.
If anyone has a better suggestion I would love to hear it, but keep in mind that whatever the scheme is, it will need to be deterministic for a particular depth or parent slot due to the proposed implementation of the merge*(...) functions (see below).
Methods
I believe these to be the basic operations that underpin all other immutable-js operations (please let me know if I missed anything). Below is rough pseudo code on how to implement these operations:
peek()/first()/head()
return [root.priority, root.value].
If root is a ValueNode the priority and value correspond to it's own properties. If either a HashBucketNode or a HashCollisionNode, the root's priority and value are the priority and value of the head node which corresponds to the node with the min/max priority. On every modification, the priority and value are reset on all affected composite nodes, if necessary.
pop()
1. Start at root
2a. If HashBucketNode: recurse on subqueue[0], goto step 2*.
2b. If HashCollisionNode or ValueNode: end recursion, goto step 3*.
3a. If HashCollisionNode: copy node, in copy: set entries[0] to entries.last, delete entries.last, heapify (binary heap siftDown operation), return copy or undefined if entries.length === 0, goto step 4.
3b. If ValueNode: return undefined.
4. Will always be a HashBucketNode:
  - If return value === undefined: set subqueue[0] to subqueue.last, delete subqueue.last, heapify subqueue and update hash redirect array accordingly, return copy or undefined if subqueue.length === 0.
  - If return value is node: set subqueue[0] to returned node, heapify subqueue and update hash redirect array accordingly, return copy or undefined if subqueue.length === 0.
  Repeat until back at root.
5. Set root to final returned node and return new Heap instance.

get*(key, notSetValue)
1. Start at root
2a. If HashBucketNode:
  - if this.hashRedirect[rotatorHash(this.depth, key)] !== undefined recurse on this.subqueue[this.hashRedirect(this.depth, key)], goto step 2*.
  - else return notSetValue
2b. If HashCollisionNode: perform linear search through entries
  - if entries has entry with matching key: return entry[1], i.e. [priority, value] of [key, [priority, value]]
  - if no matching key: return notSetValue
2c. If ValueNode:
  - if key matches this.key: return [this.priority, this.value]
  - else return notSetValue

set*(key, [priority, value])
doubles as remove*(key)
1. Start at root and compute keyHash
2a. If HashBucketNode:
  - if this.hashRedirect[rotatorHash(this.depth, keyHash)] !== undefined recurse on this.subqueue[this.hashRedirect(this.depth, keyHash)], goto step 2*.
  - if [p, v] !== undefined: copy, create new ValueNode, insert new node at end of subqueue, heapify (siftUp), update hashRedirect accordingly, return copy, goto step 3.
  - else (![p, v]): return this (unmodified), goto step 3.
2b. If HashCollisionNode: perform linear search through entries
  - if entries has entry with matching key:
    - if [p, v] !== undefined: copy this, in copy: update priority and value as necessary, if priority changed remove previous entry, replace with last element and siftDown, then insert new entry at end and siftUp, return copy
  - else: copy this, in copy: remove previous entry, replace with last element, and siftDown, return copy, goto step 3.
  - if no matching key:
    - if [p, v] !== undefined:  copy this, in copy: create new entry, push to end and heapify (siftUp), return copy, goto step 3.
    - else: return this (unmodified)
2c. If ValueNode:
  - if key doesn't match this.key and [p,v] === undefined: return this (unmodified), goto step 3.
  - if key matches this.key: return copy of this, goto step 3.
  - if keyHash matches this.keyHash: create new HashCollisionNode with [this.key, [this.priority, this.value]] and supplied parameters [key, [priority, value]], return new node, goto step 3.
  - else: create new HashBucketNode and new ValueNode with supplied parameters. Pass new ValueNode and this to HashBucketNode, return new HashBucketNode, goto step 3.
3. Will always be HashBucketNode:
  - if returned node === recursed node: return this (unmodified).
  - if returned node !== undefined: copy this, in copy: remove previous/recursed node from subqueue, put subqueue.last in removed location and siftDown, insert returned node at tail and siftUp, update hashRedirect accordingly, return copy.
  - else: remove previous/recursed node from subqueue, put subqueue.last in removed location and siftDown, update hashRedirect accordingly, return copy.
  Repeat until back at root.
4. Set root to final returned node and return new Heap instance.

merge*(...collections)
I will be a little bit more vague on this method as I haven't developed a prototype implementation yet. For each collection in collections, we need to recursively merge the HashBucketNodes at each level. If both nodes at the same level with the same parent keyHash slot are HashBucketNodes, then for every keyHash slot which exists in one node and not the other we can insert the a reference to the node/subtree as is. For every keyHash slot which exists in both we will need to recurse on those nodes. This is where the deterministic depth based rotator hash comes into play. We know that the slot hashing scheme is consistent across all nodes at a particular depth and so we can insert/combine nodes at the same level without introducing inconsistencies into our slots. If the two nodes are both HashCollisionNodes with the same keyHash, then insert the node with the fewer elements into a copy of the one with the greater number and heapify. If they have different keyHashes then insert references to them into a new HashBucketNode. If they are both ValueNodes with matching keys, then return a reference to the other node. If their keys don't match insert references to them into a new HashBucketNode. If one node is a HashBucketNode and the other is a HashCollisionNode or ValueNode, then recursively merge those nodes into the appropriate keyHash slot of a copy of the HashBucketNode. And if one node is a HashCollisionNode and the other is a ValueNode with matching keyHashes, construct a new entry from the ValueNode and insert into a copy of the HashCollisionNode. If their keyHashes don't match, create a new parent HashBucketNode for them. Upon returning from a child node, the calling HashBucketNode should heapify it's subqueue and hashRedirect accordingly. If there is a more efficient batch heapify function please let me know.
Iteration
TBD. If first-come-first-serve a simple DFS would suffice to iterate over all [key, [priority, value]] entries. If heap/priority based will require some level of virtual popping or actual popping and reordering (which would be O(N*log32(N)), which is not ideal).

I know this is very long and dense. Over the next few days I will be working to clean up the language a bit and to provide clarifying pictures.
Please let me know if there is anything that needs further explanation and I'll take care of that first.

so.... what happened here?

How did it go...

Sorry, everyone. I will be working on it again in the next couple weeks. I was working on it for a project, but then switched to using Scala/Akka for scalability reasons.


Setup Prometheus

setup prometheus to read metrics from /metrics

I've started working on this.

#80
First half is done which is the implementation in our server.
Next step is the integration which involves creating a container for it.
I have started working on the task in this branch:
https://github.com/MinitwitGroupI/MiniTwit/tree/setup-prometheus-container
But I am running into this problem:

I am not sure if I need to import the prometheus yaml file into the container somehow.
The error message is also odd because it mentions mac but I am running everything inside a Docker container.
Someone smarter can help out.

#79 #80


Deep linking

The pull request starts to solve issue #41. Not all of the addressed problems have been solved yet. The following images illustrate the current functionality.

The index page redirects us to the first resource's page:

The application can handle the /{resourceType}/{id} url pattern, and shows the edit window of the resource:

If the resource id does not exist we got an error message and the table is shown:

The link 'Show' in each resource redirects us to profile page of an individual, which looks as follows:

The entries listed under the relations work as link. For example link to the profile page of a category:

Closing without merge.
See https://github.com/cloudstorm/cloudstorm/pull/86


Subgraph

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.jimingquan seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Emm, we could add collect_set to improve the filter part.


Update README.md

Hi, I did the following changes:

Added the table metrices to show the number of stars, forks, prs etc.
Added a dynamic rainbow line to distinguish between different sections and make it look attractive

Kindly merge these changes. @Puskar-Roy
fixes: #68

Hello @neeru24, thank you for your pull request! We will review it shortly. 😇❣
Your contributions help us grow and improve our project. Please make sure you have read and followed our CONTRIBUTING GUIDELINES.
Your efforts are appreciated, and we value your participation in our community. Don't forget to ⭐ our repository!
Happy coding!✨

@neeru24 please raise pr in dev branch


Barcode scanning ( OneDimensional format ) is very slow and needs TryHarder = true in android phone.

The barcode scanning, it works only with TryHarder = true in android phone.
And for this reason, the scanning is very slow ( approx. >= 2500ms ).
Tested on Google Pixel 3a.

also finding this

I'm having the same issue.


Make key to start dragging configurable

Right now, space starts dragging & escape stops.
That's ok, but in much of the rest of my application I use 'enter' to activate most controls.
It'd improve my app UX to be able to use that here, or to potentially allow either. Assuming that that's not popular as a default for everybody, I'd like to be able to configure a list of keycodes that should be used to activate dragging.

This is a good suggestion, if you have time to put together a PR, I'd be happy to review it. Otherwise I'll try to get to this at some point


[QUESTION/BUG] empty response se

Description
I am slightly extending the demo for sql-databases. I am adding a function and a operation in order to create amount users.
def create_user(email, hashed_password, autocommit=True):
    u = User(email= email, hashed_password=hashed_password)
    db_session.add(u)
    if autocommit:
        db_session.commit()
    return u

and
@app.post("/users/create")
def read_user(amount: int = 20, db: Session = Depends(get_db)):
    users =  [create_user("dkjskjkjk-"+ str(randint(1,999999)),"djkajkajena") for i in range(amount)]
    for u in users:
        pass
    return users

the method return an array of empty dicts. however if i print their emails in the operation
for u in users:
    print(u.email)

I get the objects correctly
what is going on?! :)

I think this is due to the quirks of SQLAlchemy's lazy loading. I'm thinking about updating the encoder to explicitly check for model's fields. By explicitly accessing a field in a lazy model (like in SQLAlchemy) it would force it to load the value.

This should be fixed with the latest version that includes support for Pydantic in ORM mode, check the updated docs here: https://fastapi.tiangolo.com/tutorial/sql-databases/
I'll close this issue now, but feel free to add more comments, re-open it, or create new ones.


Chrome not found for dart test

Describe the bug
Chrome cannot be found for the test command for Dart.
Here is my dart.yml. Just copied the starter template, but changed the run command so that the test runs using build_runner, which is required for projects that use OverReact
name: Dart CI

on: [push]

jobs:
  build:

    runs-on: ubuntu-latest

    container:
      image:  google/dart:latest

    steps:
    - uses: actions/checkout@v1
    - name: Install dependencies
      run: pub get
    - name: Run tests
      run: pub run build_runner test

Here is my dart_test.yaml:
# This is a browser-only package, so test on chrome by default.
platforms: [chrome]

filename: "reducer_test.dart"

presets:
  # Pass "-P debug" to enable debugging configuration
  debug:
    pause_after_load: true
    exclude_tags: undebuggable
    reporter: expanded

However, my tests always runs into this error:
  Failed to load "test/reducer_test.dart":
  Failed to run Chrome: No such file or directory
    Command: google-chrome --user-data-dir=/tmp/dart_test_PILWUF http://localhost:40607/5FjVYjxooz0Unlf%2F5A6eud8DQJPU%2FLRo/packages/test/src/runner/browser/static/index.html?managerUrl=ws%3A%2F%2Flocalhost%3A40607%2F5FjVYjxooz0Unlf%252F5A6eud8DQJPU%252FLRo%2F0&debug=false --disable-extensions --disable-popup-blocking --bwsi --no-first-run --no-default-browser-check --disable-default-apps --disable-translate --disable-dev-shm-usage --headless --disable-gpu --remote-debugging-port=0.

** Bug**:
Area for Triage: Containers
Virtual environments affected

[ ] macOS 10.15
[X ] Ubuntu 16.04 LTS
[X] Ubuntu 18.04 LTS
[ ] Windows Server 2016 R2
[ ] Windows Server 2019

Expected behavior
Tests should run.
Actual behavior
  Failed to load "test/reducer_test.dart":
  Failed to run Chrome: No such file or directory
    Command: google-chrome --user-data-dir=/tmp/dart_test_PILWUF http://localhost:40607/5FjVYjxooz0Unlf%2F5A6eud8DQJPU%2FLRo/packages/test/src/runner/browser/static/index.html?managerUrl=ws%3A%2F%2Flocalhost%3A40607%2F5FjVYjxooz0Unlf%252F5A6eud8DQJPU%252FLRo%2F0&debug=false --disable-extensions --disable-popup-blocking --bwsi --no-first-run --no-default-browser-check --disable-default-apps --disable-translate --disable-dev-shm-usage --headless --disable-gpu --remote-debugging-port=0.

Hello, recently some chrome related updates were done on the image. Could you please double check that the issue is still actual.
If yes, do you have a chance to share some small repro? We are not familiar with Dart specific so it can speed up investigation

My issue was recently fixed: https://stackoverflow.com/questions/60133485/how-to-setup-dart-yml-to-run-tests-with-build-runner
I ended up not using the dart image because chrome is not installed on that image, so I just stuck with the default ubuntu image.
Here is my new dart.yml

name: Dart CI

on: [push]

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - name: Setup Dart SDK Step 1
      run: sudo apt-get update
    - name: Setup Dart SDK Step 2
      run: sudo apt-get install apt-transport-https
    - name: Setup Dart SDK Step 3
      run: sudo sh -c 'wget -qO- https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -'
    - name: Setup Dart SDK Step 4
      run: sudo sh -c 'wget -qO- https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_stable.list > /etc/apt/sources.list.d/dart_stable.list'
    - name: Setup Dart SDK Step 5
      run: sudo apt-get update
    - name: Setup Dart SDK Step 6
      run: sudo apt-get -y install dart
    - uses: actions/checkout@v1
    - name: Install dependencies
      run: PATH="$PATH:/usr/lib/dart/bin" pub get
    - name: Run tests
      run: PATH="$PATH:/usr/lib/dart/bin" pub run build_runner test

@UnHumbleBen , thank you for provided guide! I think it will be very helpful for other customers.
Please let me know if this issue can be closed

This particular issue can be closed. Perhaps a new issue for a feature request should be made which installs Chrome on the google/dart:latest container.

Please do offer us a Dart container with Chrome inside. It's a pretty common use case.


TypeScript error: 'Intl' has no exported member 'DateTimeFormatPart'

I'm just getting started with TypeScript and try to migrate a test project in VS Code to it.
I import this polyfill globally only in the entry point file with:
import 'temporal-polyfill/global'

Then, in other files, Temporal is unavailable. So, I tried this tsconfig.json:
{
  "include": [
    "./node_modules/temporal-polyfill/dist/global.d.ts"
  ]
}

Temporal is still unavailable and, for global.d.ts, this error is shown:
[line 9]     formatToParts(dateArg?: DateTimeFormatArg): Intl.DateTimeFormatPart[];
                                                              ^^^^^^^^^^^^^^^^^^
+------------------
| type Intl.DateTimeFormatPart = /*unresolved*/ any
| Namespace 'Intl' has no exported member 'DateTimeFormatPart'. ts(2694)
+--------------------

Also: Surely, it's not recommended to link to a file in node_modules. How is it done properly?

When I use this definition file in tsconfig.json instead, it works.

There's something strange going on, because, right after posting, the file from my last sentence stopped working with IteratorResult complained about.
I forgot to run npm install typescript --save-dev (oops). Still:

The previously mentioned definitions file stays broken, although the typescript npm package contains IteratorResult.
This repo's ./node_modules/temporal-polyfill/dist/global.d.ts isn't complained about, but Temporal still isn't available and wavily underlined, and its children like ZonedDateTime are provided by intellisense (with source stated on the right of the box as "temporal-polyfill"), but wavily underlined with error "Cannot find name 'ZonedDateTime'. ts(2304)
".

Thank you, but I'm currently not working in the ecosystem anymore.


Issue-1: Added HC for https, ssl, tcp

Changes:
Added Health-Checks for:

https
ssl
tcp

The change was for tcp health checks only. Can you limit the change to TCP only. We dont support SSL on individual nodes atm. I dont think we can test the scenario for ssl checks


how to stop filtering on not visible field?

1.8.0
Expected Behavior
"filterable" is working as expected on visible field.
Actual Behavior
But In actually filtering is also filtering data from hidden field as well. so if we something type in search filter and it will return result as well still it is not matching in visible filterable columns.
Steps to reproduce
1.You can see this in storybook example page given in griddle
It is under with local and filterable set example.

Just type "unit" in searchbox above grid.

It will return you three result.

You can see in above image that none of record and none of there field contents unit but actually unit is exits in country field which is not visible.

As i remember in griddle version 0.x has same behaviour. how i can stop filtering on hidden fields in grid(version 1.x).

This bit me too; filed #800.


MAINT: Introduce mypy?

Possibly we may want to introduce mypy to systematically prevent typing mess and fuss like #189 .

Mypy complains a lot about the current codes 😿
pfhedge:main $ mypy pfhedge
pfhedge/nn/modules/mlp.py:112: error: Argument 1 to "append" of "list" has incompatible type "Linear"; expected "LazyLinear"
pfhedge/nn/modules/mlp.py:112: error: Argument 1 to "Linear" has incompatible type "Optional[int]"; expected "int"
pfhedge/nn/modules/mlp.py:113: error: Argument 1 to "append" of "list" has incompatible type Module; expected "LazyLinear"
pfhedge/nn/modules/mlp.py:114: error: Argument 1 to "append" of "list" has incompatible type "Linear"; expected "LazyLinear"
pfhedge/nn/modules/mlp.py:115: error: Argument 1 to "append" of "list" has incompatible type Module; expected "LazyLinear"
pfhedge/_utils/bisect.py:69: error: Argument 2 to "full_like" has incompatible type "Tensor"; expected "Union[int, float, bool]"
pfhedge/_utils/bisect.py:70: error: Argument 2 to "full_like" has incompatible type "Tensor"; expected "Union[int, float, bool]"
pfhedge/nn/modules/bs/european.py:85: error: Signature of "delta" incompatible with supertype "BSModuleMixin"
pfhedge/nn/modules/bs/european.py:137: error: "Normal" has no attribute "pdf"
pfhedge/nn/modules/bs/european.py:199: error: Cannot assign to a method
pfhedge/nn/modules/bs/european.py:201: error: Cannot assign to a method
pfhedge/instruments/primary/base.py:45: error: Signature of "simulate" incompatible with supertype "Instrument"
pfhedge/instruments/primary/base.py:110: error: Name "Module" is not defined
pfhedge/instruments/primary/base.py:141: error: Cannot assign to a method
pfhedge/instruments/primary/base.py:143: error: Cannot assign to a method
pfhedge/instruments/primary/base.py:145: error: Cannot assign to a method
pfhedge/instruments/primary/base.py:147: error: Cannot assign to a method
pfhedge/instruments/primary/base.py:149: error: Cannot assign to a method
pfhedge/instruments/derivative/base.py:33: error: Name "Primary" is not defined
pfhedge/instruments/derivative/base.py:44: error: Signature of "simulate" incompatible with supertype "Instrument"
pfhedge/instruments/derivative/base.py:79: error: Name "Primary" is not defined
pfhedge/instruments/derivative/base.py:152: error: Cannot assign to a method
pfhedge/instruments/derivative/base.py:154: error: Cannot assign to a method
pfhedge/instruments/derivative/base.py:156: error: Cannot assign to a method
pfhedge/instruments/derivative/base.py:158: error: Cannot assign to a method
pfhedge/instruments/derivative/base.py:160: error: Cannot assign to a method
pfhedge/instruments/derivative/lookback.py:101: error: Cannot assign to a method
pfhedge/instruments/derivative/lookback.py:103: error: Cannot assign to a method
pfhedge/instruments/derivative/lookback.py:106: error: Cannot assign to a method
pfhedge/instruments/derivative/lookback.py:108: error: Cannot assign to a method
pfhedge/instruments/derivative/lookback.py:110: error: Cannot assign to a method
pfhedge/instruments/derivative/european_binary.py:109: error: Cannot assign to a method
pfhedge/instruments/derivative/european_binary.py:111: error: Cannot assign to a method
pfhedge/instruments/derivative/european_binary.py:114: error: Cannot assign to a method
pfhedge/instruments/derivative/european_binary.py:116: error: Cannot assign to a method
pfhedge/instruments/derivative/european_binary.py:118: error: Cannot assign to a method
pfhedge/instruments/derivative/european.py:103: error: Cannot assign to a method
pfhedge/instruments/derivative/european.py:105: error: Cannot assign to a method
pfhedge/instruments/derivative/european.py:108: error: Cannot assign to a method
pfhedge/instruments/derivative/european.py:110: error: Cannot assign to a method
pfhedge/instruments/derivative/european.py:112: error: Cannot assign to a method
pfhedge/instruments/derivative/american_binary.py:113: error: Cannot assign to a method
pfhedge/instruments/derivative/american_binary.py:115: error: Cannot assign to a method
pfhedge/instruments/derivative/american_binary.py:118: error: Cannot assign to a method
pfhedge/instruments/derivative/american_binary.py:120: error: Cannot assign to a method
pfhedge/instruments/derivative/american_binary.py:122: error: Cannot assign to a method
pfhedge/instruments/primary/heston.py:81: error: Signature of "simulate" incompatible with supertype "Instrument"
pfhedge/instruments/primary/heston.py:110: error: Argument "init_state" to "generate_heston" has incompatible type "Tuple[Any, ...]"; expected "Tuple[float, float]"
pfhedge/instruments/primary/heston.py:139: error: Cannot assign to a method
pfhedge/instruments/primary/brownian.py:75: error: Signature of "simulate" incompatible with supertype "Instrument"
pfhedge/instruments/primary/brownian.py:131: error: Cannot assign to a method
pfhedge/nn/modules/hedger.py:7: error: Skipping analyzing "tqdm": found module but no type hints or library stubs
pfhedge/nn/modules/hedger.py:7: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
pfhedge/nn/modules/hedger.py:178: error: Argument 2 to "save_prev_output" has incompatible type "None"; expected "Tensor"
pfhedge/nn/modules/hedger.py:211: error: Incompatible return value type (got "int", expected "Tensor")
pfhedge/nn/modules/bs/lookback.py:133: error: "Normal" has no attribute "pdf"
pfhedge/nn/modules/bs/lookback.py:141: error: "Normal" has no attribute "pdf"
pfhedge/nn/modules/bs/lookback.py:147: error: Signature of "delta" incompatible with supertype "BSModuleMixin"
pfhedge/nn/modules/bs/lookback.py:257: error: Cannot assign to a method
pfhedge/nn/modules/bs/european_binary.py:119: error: Signature of "delta" incompatible with supertype "BSModuleMixin"
pfhedge/nn/modules/bs/european_binary.py:140: error: "Normal" has no attribute "pdf"
pfhedge/nn/modules/bs/european_binary.py:200: error: Cannot assign to a method
pfhedge/nn/modules/bs/american_binary.py:128: error: Signature of "delta" incompatible with supertype "BSModuleMixin"
pfhedge/nn/modules/bs/american_binary.py:161: error: "Normal" has no attribute "pdf"
pfhedge/nn/modules/bs/american_binary.py:162: error: "Normal" has no attribute "pdf"
pfhedge/nn/modules/bs/american_binary.py:239: error: Cannot assign to a method
pfhedge/nn/modules/bs/american_binary.py:241: error: Cannot assign to a method
pfhedge/nn/modules/ww.py:90: error: "List[Any]" not callable
pfhedge/nn/modules/ww.py:121: error: "Tensor" not callable
Found 68 errors in 16 files (checked 45 source files)


fix documentation for group.align -- row and column were swapped

This PR changes

Documentation
Public-facing API (sort of)

Group.align had row and column parameters swapped in many (but not all) places. I think I caught all in the docstring. Did a simple search-replace in the function code.

Yes you're right, I'll merge this in, but I'm going to remove all mention of columns and rows because I think it's more confusing than helpful. Will replace with a simple width and height.


optimize bottom navigation bar with navigation  Component

What does this implement/fix? Explain your changes.
optimize bottom navigation bar with navigation  Component
Does this close any currently open issues?
If it fixes a bug or resolves a feature request, be sure to link to that issue.
Pull request type

Put an x in the boxes that apply

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, renaming)
[x] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

Where has this been tested?
local
Any other comments?

show hide 实现参考
https://github.com/olivermsw/show-hide-fragment-navigator

show hide 实现参考
https://github.com/olivermsw/show-hide-fragment-navigator


filedialog window has white text on white background (for dark mode)

The tkinter filedialog pop-up has a white background, even when styled in the dark Azure theme. This makes the white filename-texts unreadable.

I assume this happens on Linux, though I wasn't able to reproduce it. Could you please attach some example code?

Tested Python versions: 3.6.9, 3.10.3
Host system: Ubuntu 20.04

The askdirectory dialog has a white background. The font is white or invisible, rendering the text unreadable. Once selected or clicked on, the text changes to black (and staying black!), making it readable. See screenshot attached.

import tkinter as tk
from tkinter import ttk, filedialog

class App(ttk.Frame):
    def __init__(self, parent):
        ttk.Frame.__init__(self)
        self.widgets_frame = ttk.Frame(self)
        self.widgets_frame.grid()
        self.button = ttk.Button(self.widgets_frame, text="Open Folder",
                                 command=filedialog.askdirectory)
        self.button.grid(row=0, column=0, padx=5, pady=10, sticky="nsew")

if __name__ == "__main__":
    root = tk.Tk()

    root.tk.call("source", "azure.tcl")
    root.tk.call("set_theme", "dark")

    app = App(root)
    app.pack(fill="both", expand=True)

    root.mainloop()

Ohh yess, now I see. Tho it's really strange. Why do do that item remain black when unselected ?🤔
Now I don't even know what that widget is. Kinda looks like a Treeview, but then why it isn't themed?
Now I'm a bit confused lol 🥴

Not for myself: https://stackoverflow.com/questions/53655418/tkfiledialog-asksaveasfile-text-color-font#comment109368049_53656679

Turns out it's some kind of canvas thingy.

I could hack the canvas to make the background dark, but then it wouldn't work after an item is selected.
Probably it's gonna be a ticket in Tk's source repo.


Enhance the mvn site output

This PR suggests to

update several dependencies
enhance the mvn site output

This is the resoult of a local mvn -B -P reporting clean surefire-report:report site

Please review.

Thanks @dnlkoch. I missspelled your handle in the commit, though 🙈

Thnaks for the reviews, @hwbllmnn @dnlkoch @neteler. I applied all suggestions and will merge now.


Seems that API doesn't work

Hello. I cannot get pages with any URL. But in dev site it works.
For reproduce - just query any pages in any sections.
What should i do?

Hey Ivan, thanks for reporting this.  Without a little more detail it's hard to say what's going wrong for you.  Here's an example where we use the API to get the list of notebooks with sections, which will hopefully help you get unblocked:
https://github.com/OneNoteDev/OneNotePicker-JS/blob/master/src/scripts/oneNotePickerDataSource.ts
If you still can't get things working then please let us know and we'll help you track things down.

Hi Ivan, which method are you calling on OneNoteApi? We haven't implemented GET pages yet (it's a wip).

@mttwc, @leakymemory Thank you for answers, I will wait for implementing GET pages then

I guess the problem is in API, because it works for everywhere excluding pages.
https://www.onenote.com/api/v1.0/me/notes/sections/0-21768C03A2EFB164!2083/pages?orderby=createdTime&select=id,title,createdTime,lastModifiedTime&top=50 this query returns me blank array (0-21768C03A2EFB164!2083 is just my section) but on the dev site (for testing rest api) it returns correct array full of pages. Can you send it to OneNote developers or just test it by yourself?

Still no solution?

Hi Ivan, can you please do the following:

Issue the request that reproduces the unexpected response
In the response, copy the value of the 'X-CorrelationId' header and paste it here

I'll be happy to dig in for you


Update how-to-connect-pta-quick-start.md

•	Terminating connector TLS traffic isn't supported and will prevent the agent from establishing a secure channel with their respective Azure Passthrough Agent endpoints.
•	customer must Avoid all forms of inline inspection and Termination on outbound TLS communications between Azure Passthrough Agent and Azure Endpoint.

@mudeeb : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Note that publishing in this repository is suspended until Tuesday, March 2. Merging will resume Tuesday. Authors can still review and sign off on PRs in the interim. Thanks.

verifying  with engineering

#sign-off

@MichelleSwafford: I'm sorry - only the author of this article, @billmath, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

@ktoliver : Thanks for your contribution! The author(s) have been notified to review your proposed change.

(Resolved the merge conflict.)

#sign-off


abc-rnn

https://maraoz.com/2016/02/02/abc-rnn/

Added in 1aec69d8d20cac9f9ba3b1f375f00cf3db1e5669


Running dbt wizard on ARM64 only runs up to v0.0.3

I've been trying to use dbt Wizard inside a Docker host on my ARM M1 mac. When the base image is using an architecture of x86_64, dbt wizard installs the latest release (v0.5.0) without any issues. Likewise, when I install directly on MacOS, DBT Wizard installs correctly.
However, if the image has an arm64/aarch64 architecture, it maxes out at v0.0.3. This is making me think that the work that went into #71 could likely be used to make a linux-arm64 target that would add full compatibility.

Hey @riordan, thank you for providing this information. Probably you are right. Could you specify any docker image I can use to reproduce this issue?

Not perfectly identical but:

Multi-arch: mcr.microsoft.com/vscode/devcontainers/python:3.10-bullseye
x86-64: mcr.microsoft.com/vscode/devcontainers/python:3.10-buster

Part of the vscode dev containers for python3

I should also say, seeing that you're powering this with ZetaSQL is 🚀 🚀 🚀 . I've been hoping ever since Google released it that someone would use it to build a more context-aware and responsive sql client.

Hi @riordan,
I added support for linux-arm64 target (in v0.10.0). Could you please check and let me know if it works on your side?

Amazing! It's working. I could cry with happiness.


Documentation for how to reprocess messages when a message is filtered out because of a missing mappings

Needs description


Simplify PendragonHumanCharacter

The PendragonHumanCharacter class has way too many methods. Maybe it can be cut into pieces.

Now only a single class exists for characters. It is an aggregation of various other classes.


[bug] when using this.heat.setOptions change the radius

I need to change the radius of heat layer but there is not a api. So i use this.heat object change it directly.
But it doesn't work. Is there any suggestions or support ?
Thanks for your lib, it helps a lot.

it is already possible to set your own radius directly in the layer constructor (as shown in this sample), so am i correct to assume you're attempting to modify the value on the fly after the layer has already been instantiated?
if so, i'll need to look into exposing something similar to L.heatlayer.setOptions().

sorry it took so long, but i finally got around to creating a PR to expose setOptions() directly to this plugin.
that said, i couldn't reproduce the problem you initially reported.  the code below was already enough to refresh the display of a heatmap with a new radius.
heatLayer.heat.setOptions({
  radius: 10
});

Thanks for you support. That's what I need! 😄


⚠ Feedaty widget has degraded performance

In b2b0dcb, Feedaty widget (https://widget.feedaty.com/public/js/feedaty.js?merchant=10213975&style_ver=2021&data-sku=36263) experienced degraded performance:

HTTP code: 200
Response time: 2163 ms

Resolved: Feedaty widget performance has improved in 2e63be8 after 11 minutes.


PDA HUD

Description
The PDA should be able to present limited information on the main HUD.
Screenshots

Additional context

We have something like this but gotta look into the PDA.


Move keys property of State into a helper function get_keys

This refactoring PR makes the interface of State smaller and easier to change later by moving .keys from a property method to a separate function get_keys.

@eb8680 . Could you please resolve these merge conflicts. I think I could do it, but these are involved enough that I'd rather not make a mistake and have it slip through our review process.

Sure, done


Filesystem Watcher

Having used tools such as cargo-watch on my Rust projects, sass --watch on my Sass projects, middleman serve on my website project, and IDEs with compile-on-save functionality, I am a firm believer in executing tasks on filesystem events.
Would just be interested in gaining an integrated watch subcommand, invoked as
just watch [args]

as a complement to
just [args]

which has the exact same parsing and behavior as normal operation, only just stays alive and executes the command again whenever it sees a filesystem event?

watchexec works on Linux, macOS, and Windows, and I believe (I haven't looked in a while) is able to use OS-provided notification APIs for each rather than polling for updates every second or so.
If this is functionality in which you'd be interested, I'm willing to add it and submit a PR.

Potential bikeshedding:

if a Justfile task named watch exists, what does just watch entail?
I am of the opinion that this should execute the watch task from Justfile once.

what mechanisms should just use to filter notification events?
I would imagine the ignore crate by default, with options for overriding it on the command-line or in the Justfile?

"just have your tasks call watchexec or similar"
fair point

I like this idea, although I'm not sure it's a good idea to integrate it into just directly.
I checked out watchexec (which looks awesome, by the way) and it provides a ton of options for customizing which files to watch, and what action should happen when those files changes.
There are about 13 such options, and it seems like it might be confusing to add all of them to just itself.
Also, if a user wants to watch a complex set of files for changes, this might be a pretty hefty command line, and thus the user might be better of creating a recipe like watch-test that calls watchexec --exts rs just test, instead of having to type just -w --exts rs test as a command.
So overall, I think that pointing users to watchexec itself is probably a good idea.
Maybe it would be a good idea to dedicate a section of the readme to other tools, like watchexec, that complement just?

My personal opinion is this is better left to outside tools.

I think I agree that this is best left to outside tools. I added a pointer to the readme though, since I think that it's definitely a userful thing for just users to know about.


Include non-select statements in extractor

Right now, it only handles select statements. Need to include drop, analyze, create, insert, update, delete, etc.

Closing this to have specific issues for each


Create diseaseModel

@lzehl, could you check if this would make sense like that? The general disease model doesn't have an ontologicalIdentifier, but separate model lines could have. Of course, the disease itself has an identifier, which is probably smart to reference at least in the description. Question: Would it make sense for this special case to add a property for this exact purpose? For example, diseaseOntologyIdentifier?


Add Reproducibility Report module type

This PR adds a module type called the "Reproducibility Report." This was requested by @nuest, as they create these kinds of reports (also called codechecks).

@all-contributors add @nuest for ideas


Adding Laravel-specific rules

Type of Change
Add Laravel Nginx Conf.
What issue does this relate to?
N/A

This rule can be implemented through index.php fallback....

@moniang if this can be implemented through the PHP fallback that the tool already ahs, we should add the preset button and have it enable that. Not everyone may be aware that is the configuration needed for Laravel, so the button is still an improved user experience.

@MattIPv4
It would be nice if this can open again. I have some specifics configs for server work correctly for a laravel application and In addition to that I can inject nginx steroids too.

@Atiladanvi you'll need to create a new PR if you want to contribute Laravel preset or Laravel specific rules :)

@MattIPv4 There we go again! :laughing:


voyaga reranker not work in intellj.

Before submitting your bug report

[X] I believe this is a bug. I'll try to join the Continue Discord for questions
[X] I'm not able to find an open issue that reports the same bug
[X] I've seen the troubleshooting guide on the Continue Docs

Relevant environment info
- OS:
- Continue version:
- IDE version:
- Model:
- config.json:

{
  "customCommands": [
    {
      "name": "test",
      "prompt": "{{{ input }}}\n\nWrite a comprehensive set of unit tests for the selected code. It should setup, run tests that check for correctness including important edge cases, and teardown. Ensure that the tests are complete and sophisticated. Give the tests just as chat output, don't edit any file.",
      "description": "Write unit tests for highlighted code"
    }
  ],
  "completionOptions": {
    "temperature": 1,
    "maxTokens": 4096
  },
  "models": [
    {
      "title": "DeepSeek",
      "provider": "openai",
      "model": "deepseek-coder",
      "apiBase": "https://api.deepseek.com/beta",
      "apiKey": "",
      "contextLength": 8192
    },
    {
      "model": "claude-3-5-sonnet-20240620",
      "title": "Claude 3.5 Sonnet",
      "apiKey": "",
      "apiBase": "https://api.gptsapi.net/v1",
      "provider": "anthropic"
    }
  ],
  "contextProviders": [
    {
      "name": "diff",
      "params": {}
    },
    {
      "name": "folder",
      "params": {}
    },
    {
      "name": "codebase",
      "params": {}
    }
  ],
  "slashCommands": [
    {
      "name": "edit",
      "description": "Edit selected code"
    },
    {
      "name": "comment",
      "description": "Write comments for the selected code"
    },
    {
      "name": "share",
      "description": "Export the current chat session to markdown"
    },
    {
      "name": "commit",
      "description": "Generate a git commit message"
    }
  ],
  "embeddingsProvider": {
    "provider": "openai",
    "model": "text-embedding-3-large",
    "apiBase": "https://oneai.isampeng.net/v1",
    "apiKey": ""
  },
  "reranker": {
    "name": "voyage",
    "params": {
      "model": "rerank-2",
      "apiKey": ""
    }
  }
}⏎

Description
voyaga reranker does not work in IntelliJ when using the codebase.
error:
Error getting context items from codebase: TypeError: Cannot read properties of undefined (reading 'sort')
I found something that might be similar, but considering the time, IntelliJ hasn't been updated in a long time. This merge might not be related at all. The errors are just about the same.
https://github.com/continuedev/continue/issues/2511
but,I dont' have any log in core.log
To reproduce
No response
Log output
Not much useful and meaningful

[2024-12-03T07:16:14] Setup
[2024-12-03T07:16:14] Core started
[2024-12-03T07:16:23] [object Object]
[2024-12-03T07:16:47] (node:16592) ExperimentalWarning: The Fetch API is an experimental feature. This feature could change at any time
(Use `continue-binary --trace-warnings ...` to show where the warning was created)
[2024-12-03T07:18:44] [info] Exiting Continue core...
[info] Starting Continue core...
[2024-12-03T07:18:51] [info] Starting Continue core...
[2024-12-03T07:18:51] Setup
[2024-12-03T07:18:51] Core started
[2024-12-03T07:19:06] [object Object]
[2024-12-03T07:19:30] (node:16758) ExperimentalWarning: The Fetch API is an experimental feature. This feature could change at any time
(Use `continue-binary --trace-warnings ...` to show where the warning was created)
[2024-12-03T07:20:12] [object Object]
[2024-12-03T07:22:00] [info] Exiting Continue core...
[info] Starting Continue core...
[2024-12-03T07:22:07] [info] Starting Continue core...
[2024-12-03T07:22:07] Setup
[2024-12-03T07:22:07] Core started

@Patrick-Erichsen @Segergren could you take a look?

sorry,I don't know what happed.because that is no any usefull info.now ,is worked.thanks your reply


Codu logo loads very slowly without memory cache

@NiallJoeMaher we can later post our assets to some CDN for better load times

@NiallJoeMaher we can later post our assets to some CDN for better load times

That's a good plan! I was hoping it would be much faster with the <Image> tag

Next Image. component will lazy load images by default you can turn this off by setting priority to true. In my experience you should only Lazyload images below the fold


Never had response from getting access to Conversation Learner

Hi I have been submitted requests four times weeks ago with my personal and corporate email address and never hear back. Would you please advise why and how I can quality to get it? Thanks.

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

ID: 18236fc7-32f8-e3d1-3f3c-7a2be9562d08
Version Independent ID: 28dc0d5e-315e-be81-47d5-b80e170000f4
Content: How to create a Conversation Learner application using Node.js - Microsoft Cognitive Services - Azure
Content Source: articles/cognitive-services/Labs/Conversation-Learner/quickstart.md
Service: cognitive-services
GitHub Login: @v-jaswel
Microsoft Alias: v-jaswel

@anarchitect Thanks for your comment. Can you please elaborate on your issue? What do you mean by "please advise why and how I can quality to get it?"

I have followed the doco, went to the conversation learner website and requested invitation many times, and there was no response received. Would u please help on this? And why cannot I get access to it? Thanks

@anarchitect I humbly apologize for the delayed reply. I have sent e-mail to the PMs on the Conversation Learner team to request access for you, and (I believe) included you on the mail thread.
Thank you,
Jason

Thanks heaps Jason, looking forward to hearing from the team. I am going to
do an internal presentation about MS Conversation AI Platform on Friday.
If I can be added by tomorrow, then I can still give a quick try or just
show the audience something.
On Wed, Aug 1, 2018 at 4:32 PM, Jason Wells<EMAIL_ADDRESS>wrote:

@anarchitect https://github.com/anarchitect I humbly apologize for the
delayed reply. I have sent e-mail to the PMs on the Conversation Learner
team to request access for you, and (I believe) included you on the mail
thread.
Thank you,
Jason
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/11033#issuecomment-409464713,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACvsHHvwND-cxThsvdaZejmIuAL-O1kIks5uMUuQgaJpZM4U-Vh8
.

@anarchitect
We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.

Hello @YutongTie-MSFT, what do you think is the average response time to to an invitation request ?


Error importing in Docassemble

After installing with pip, adding imports: formfyxer to a Docassemble interview results in this error:
LookupError:
**********************************************************************
  Resource stopwords not found.
  Please use the NLTK Downloader to obtain the resource:

  >>> import nltk
  >>> nltk.download('stopwords')

  For more information see: https://www.nltk.org/data.html

  Attempted to load corpora/stopwords

  Searched in:
    - '/var/www/nltk_data'
    - '/usr/share/docassemble/local3.8/nltk_data'
    - '/usr/share/docassemble/local3.8/share/nltk_data'
    - '/usr/share/docassemble/local3.8/lib/nltk_data'
    - '/usr/share/nltk_data'
    - '/usr/local/share/nltk_data'
    - '/usr/lib/nltk_data'
    - '/usr/local/lib/nltk_data'
**********************************************************************

Log

Traceback (most recent call last):
  File "/usr/share/docassemble/local3.8/lib/python3.8/site-packages/nltk/corpus/util.py", line 84, in __load
    root = nltk.data.find(f"{self.subdir}/{zip_name}")
  File "/usr/share/docassemble/local3.8/lib/python3.8/site-packages/nltk/data.py", line 583, in find
    raise LookupError(resource_not_found)
LookupError:
**********************************************************************
  Resource stopwords not found.
  Please use the NLTK Downloader to obtain the resource:

  >>> import nltk
  >>> nltk.download('stopwords')

  For more information see: https://www.nltk.org/data.html

  Attempted to load corpora/stopwords.zip/stopwords/

  Searched in:
    - '/var/www/nltk_data'
    - '/usr/share/docassemble/local3.8/nltk_data'
    - '/usr/share/docassemble/local3.8/share/nltk_data'
    - '/usr/share/docassemble/local3.8/lib/nltk_data'
    - '/usr/share/nltk_data'
    - '/usr/local/share/nltk_data'
    - '/usr/lib/nltk_data'
    - '/usr/local/lib/nltk_data'
**********************************************************************

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/docassemble/local3.8/lib/python3.8/site-packages/flask/app.py", line 1950, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/share/docassemble/local3.8/lib/python3.8/site-packages/flask/app.py", line 1936, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/usr/share/docassemble/local3.8/lib/python3.8/site-packages/docassemble/webapp/server.py", line 7555, in index
    interview.assemble(user_dict, interview_status, old_user_dict, force_question=special_question)
  File "/usr/share/docassemble/local3.8/lib/python3.8/site-packages/docassemble/base/parse.py", line 7589, in assemble
    exec('import ' + module_name, user_dict)
  File "<string>", line 1, in <module>
  File "/usr/share/docassemble/local3.8/lib/python3.8/site-packages/formfyxer/__init__.py", line 1, in <module>
    from .lit_explorer import *
  File "/usr/share/docassemble/local3.8/lib/python3.8/site-packages/formfyxer/lit_explorer.py", line 30, in <module>
    stop_words = set(stopwords.words('english'))
  File "/usr/share/docassemble/local3.8/lib/python3.8/site-packages/nltk/corpus/util.py", line 121, in __getattr__
    self.__load()
  File "/usr/share/docassemble/local3.8/lib/python3.8/site-packages/nltk/corpus/util.py", line 86, in __load
    raise e
  File "/usr/share/docassemble/local3.8/lib/python3.8/site-packages/nltk/corpus/util.py", line 81, in __load
    root = nltk.data.find(f"{self.subdir}/{self.__name}")
  File "/usr/share/docassemble/local3.8/lib/python3.8/site-packages/nltk/data.py", line 583, in find
    raise LookupError(resource_not_found)
LookupError:
**********************************************************************
  Resource stopwords not found.
  Please use the NLTK Downloader to obtain the resource:

  >>> import nltk
  >>> nltk.download('stopwords')

  For more information see: https://www.nltk.org/data.html

  Attempted to load corpora/stopwords

  Searched in:
    - '/var/www/nltk_data'
    - '/usr/share/docassemble/local3.8/nltk_data'
    - '/usr/share/docassemble/local3.8/share/nltk_data'
    - '/usr/share/docassemble/local3.8/lib/nltk_data'
    - '/usr/share/nltk_data'
    - '/usr/local/share/nltk_data'
    - '/usr/lib/nltk_data'
    - '/usr/local/lib/nltk_data'
**********************************************************************

It looks like this might be a one-time setup task, but we should make this work out of the box for new installs

@colarusso this is still an issue as of the latest (24dcf984297674b55d2643e2bd57878208e32604)

Same error I presume?

yes, same error.

I think @BryceStevenWilley's recent PR should have fixed this. I've made the change to the notebook too so it won't be overwritten, incremented the build number, and redeployed.


Update for patch 7.1

This PR updates bingode for patch 7.1, makes the generate.sh executable (+x), and improves the README slightly.

Wait there's something strange with the generated go files. I wonder if we're using different versions of flatc or go-bindata?
$ go-bindata --version
go-bindata 3.1.2 (Go runtime go1.22.3).
Copyright (c) 2010-2013, Jim Teeuwen.

$ flatc --version
flatc version 1.12.0

Yeah, that version of flatc is very out of date:
$ flatc --version
flatc version 24.3.25

$ go-bindata --version
go-bindata 3.1.2 (Go runtime go1.17.1).
Copyright (c) 2010-2013, Jim Teeuwen.

You can get an updated version from the flatbuffers releases here: https://github.com/google/flatbuffers/releases


Extension state in when condition

Contributions define when clauses dynamically governing visibility of keycodes, menu items and other things. There is already elaborate support for symbols and operators but there is no way to make use of arbitrary state maintained by an extension.
The obvious solution to this problem is to allow a when clause to refer to an extension defined function returning true or false. However this introduces the questions of exception handling and failure to return in a timely manner.
A more robust solution is to extend contribution to support the declaration of properties exported by an extension and allow them to be used in when clause expressions.
The intrepid would then no doubt declare a property for which the value was a function or an object with a property whose value was a function. This can be trivially sanitised by JSON stringify and parse.

Extensions can set context variables fro when clauses via the setContext command: https://github.com/Microsoft/vscode/issues/10471

In that case I'll save myself the embarrassment of having this closed as a duplicated by closing it myself. It does, however, highlight the need to surface this fact in documentation likely to be found by someone who doesn't know he's looking for it. I propose https://code.visualstudio.com/docs/getstarted/keybindings#_when-clause-contexts


[Docker] Papermerge 1.3.0 Docker image

Hello,
I tried your software and it's the one I want to handle my documents (Less complex than Mayan and more user-friendly than Paperless) but I'm unable to make it do what I want in 1.2.3.
I want to add the OCR in French and modify some part of the configuration (Mainly the DB).
I saw that all of that was available in 1.3.0 but my whole infrastructure runs on Docker.
So back to the original question: Would it be possible to get a Papermerge 1.3.0 Docker image ?
Best regards,
P-Y

He is in the progress of making 1.4.0, with quite some changes. Hopefully a alpha version of 1.4.0 will be released soon on docker.

He is in the progress of making 1.4.0, with quite some changes. Hopefully a alpha version of 1.4.0 will be released soon on docker.

Right! There will be a release candidate (1.4.0.rc1) on first week of August 2020 (+ docker image). Release candidate means - all features are there, documentation updated - but still with naughty bugs :). After additional testing + feedback I will tag/release 1.4.0.


Document peer review stream on chat.zulip.org

We now have a new "peer review" stream for requesting a review from available developers; we should document it!
Potentially a good part 1 of this entails making a dedicated page on chat.zulip.org that we can link to everywhere to make it easy to document things like this in one place (and moving all the links to chat.zulip.org to point there).  I think there are a bunch of other community things (like the checkins stream) we should talk about there as well.

I'll claim this.

@timabbott I'm slightly confused about the second half of this issue. Are you asking for a page like /help/ which is hosted on chat.zulip.org and has a list of different documented streams?

No, I'm thinking of something in docs/ (served at zulip.readthedocs.io) explaining this aspect of the Zulip development community.

Oh, Ok.

This is somewhat documented here: http://zulip.readthedocs.io/en/latest/chat-zulip-org.html
I think we should also add a mention in the README.md content.

@zulipbot claim


Flutter app start performance measurement

The time to initial display (TTID) is

The time to initial display (TTID) metric measures the time it takes for an application to produce its first frame, including process initialization (if a cold start), activity creation (if cold/warm), and displaying first frame.

This one should be pretty easy to measure. The native SDK already knows when the app starts. The end timestamp is set when SchedulerBinding.addPostFrameCallback() is called.
The time difference is the TTID.

I've just noticed this is the same as your definition of an app start according to https://blog.sentry.io/2021/08/23/mobile-vitals-four-metrics-every-mobile-developer-should-care-about .

Indeed, and we intend to bring Mobile Vitals along with the other measurements soon.

I would also like to see the time to full display measurement as outlined here.

Consider using a similar approach as in react-native.


how to mimic ACMESharp Get-ACMECertificate behavior

Issue description
I use ACMESharp to get certificates for a gitea git server.
At the end of my script I use the following instructions
Get-ACMECertificate $certAlias -ExportCertificatePEM $crtPEM -ExportCertificateDER $crt -Overwrite
Get-ACMECertificate $certAlias -ExportKeyPEM $keyPEM -Overwrite

So I get the files needed by the gitea config:
CERT_FILE        = ***\certMbtGit.crt.pem
KEY_FILE         = ***\certMbtGit.key.pem

Question
How can I get those files, and not the .pfx, using win-acme ?

You can get the .pem files when you setup a certificate with advanced
options (M in the main menu) and then pick that option when it asks you how
you'd like to store the certificate. You can then pick a path where you'd
like to have them.
On Sat, Apr 27, 2019, 18:05 tschmit<EMAIL_ADDRESS>wrote:

Issue description
I use ACMESharp to get certificates for a gitea git server.
At the end of my script I use the following instructions
Get-ACMECertificate $certAlias -ExportCertificatePEM $crtPEM -ExportCertificateDER $crt -Overwrite
Get-ACMECertificate $certAlias -ExportKeyPEM $keyPEM -Overwrite
So I get the files needed by the gitea config:
CERT_FILE        = ***\certMbtGit.crt.pem
KEY_FILE         = ***\certMbtGit.key.pem
Question
How can I get those files, and not the .pfx, using win-acme ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/PKISharp/win-acme/issues/1111, or mute the thread
https://github.com/notifications/unsubscribe-auth/ACUKKXGAD2E7ZWI4SDR2UH3PSR2U3ANCNFSM4HI4QMCQ
.

thank you, if you are insterested I can share/give a wacs compatible script to create TXT record on gandi.net DNS.


Ballot generation for elections

Add ability to generate ballots for usage in directorship elections. :+1:

Closed by 68505b2


node js and browser only compliance

Core Library
MSAL Node (@azure/msal-node)
Core Library Version
1.70
Wrapper Library
Not Applicable
Wrapper Library Version
n/a
Description
When wrapping an existing web app into an electron app, I ran across the following error. I just wanted to confirm if this means this tenant isnt allowed to use an electron browserWindow configuration and if there is another way in which authenticating would be possible?
I followed almost directly from https://docs.microsoft.com/en-us/azure/active-directory/develop/tutorial-v2-nodejs-desktop#create-the-projec

t
MSAL Configuration
No response
Relevant Code Snippets
No response
Identity Provider
Azure AD / MSA
Source
Internal (Microsoft)

Hi @jeffj6123 , thanks for raising the issue. I'll try to reproduce this issue and get back to you as soon as I get a successful repro. It is likely that for corp accounts Electron would not be a supported browser environment out of the box, so we'll have to look into the specifics to give you a concrete answer. For now, following that tutorial or our Electron sample (in the msal-node-samples directory) is your best bet.

hey @hectormmg I had made this progress by using the electron sample and that is when I hit this issue.

@jeffj6123 could you elaborate on how this error happens with the sample? Is this error happening on login in the popup?


Please invite me to the GitHub Community Organization

Name
Blackpandan
Discord Username (if applicable)
No response
Additional Context
Hello saw your invitation on issue

You have received an email to join, or press this link - https://github.com/JaidevStudio - , and you'll see a banner, for you to join the organisation! 🎉
You can also show that you are part of this org, by making yourself public. This will show our profile org on your profile:
Follow This:

After you join the organisation, search your name in the list of people. 🔍
Follow this below: ⬇

🎉🎊Welcome to Jaidev Studio🎉🎊!!

Why not contribute to...
Unique-Github-Profiles!

If you need anything- help or support - please reopen this issue. Thank you.


Support reading decimal arrays from json

Which issue does this PR close?
Closes #2900
Rationale for this change
The json reader does not support parsing into a decimal array.
What changes are included in this PR?
Support parsing json into decimal array fields.
Are there any user-facing changes?
https://github.com/apache/arrow-rs/commit/82408a996def075e2e2446ea331e7ec03d0379e9?diff=unified#diff-b5489a31aca7aecfa14106360899e04266d43dfdd365638382b0f5bcfb91266bR711

When "123.456" (string) is parsed into a decimal with precision 5, then the 6 at the end will get cut off. I took this behavior from the csv logic and am wondering if it might be worth to round here?

Late, but should Scientific notation also be supported?

I think that would be a valuable further enhancement


Conceal: superscript \command without curly braces isn't rendered as superscript

Description
When Concel is enabled, writing stuff^\infty does not render the infinity as superscript. Instead it renders as ^∞
To Reproduce
Source: $$\sum_{n=1}^\infty\frac{1}{n^2}=\frac{\pi^2}{6}$$
Expected Behavior

Actual behavior

Additional info
Wrapping \infty in curly braces solves this problem.
$$\sum_{n=1}^{\infty}\frac{1}{n^2}=\frac{\pi^2}{6}$$

I think this can be fixed with the following diff in src/editor_extensions/conceal.ts, but I've barely tested it (although it did fix my particular \infty problem):
     const prefix = superscript ? "\\^" : "_";
-    const regexStr = prefix + "{([A-Za-z0-9\\()\\[\\]/+-=<>':;\\\\ *]+)}";
+    const regexStr =
+        prefix +
+        "(?:{(?<braced>[A-Za-z0-9\\()\\[\\]/+-=<>':;\\\\ *]+)}|(?<unbraced>\\\\[a-zA-Z_-]+))";
     const regex = new RegExp(regexStr, "g");

-    const matches = [...eqn.matchAll(regex)];
-
-
     const concealments:Concealment[] = [];

-    for (const match of matches) {
-
-        const exponent = match[1];
+    let match;
+    while ((match = regex.exec(eqn)) !== null) {
+        const exponent = match.groups?.braced ?? match.groups?.unbraced;
         const elementType = superscript ? "sup" : "sub";


Integrate capabilities with boto3 or create separate library

Describe your idea/feature/enhancement
I would like to be able to call the SAM capabilities from directly within code, e.g. Python scripts, not least as I increasingly use tools like Troposphere to describe my infrastructure-as-code environments.
This  mean that I would be able to do:
Instead of:
sam build --template mytemplate.yaml
I could (brutally abbreviated to show concept):
from tempfile import NamedTemporaryFile
from troposphere import Template
from awssamcli import Build

t = Template()
sam_builder = Build(...)
t.add_resource(Function('MyLambda', ...)
with NamedTemporaryFile('w+t') as f:
    f.write(t.to_yaml())
    sam_builder.build(template=f.name)

And of course, extend this with deploy, package, etc
Proposal
At this time the aws-sam-cli source already employs an internal library with most functionality not related to the CLI handling relegated to the code in the lib area.
Yet, after looking at the source, it's not as "encapsulated" that using that code directly would be as simple as it is with, say, boto3.
To minimise the need to any rewriting, my request would be to create separate wrappers:

with aws-sam-cli installed, I can already do some things like from samcli import commands
however it's not really an exposed (read: documented) API and I've simply been experimenting various bits hoping something might stick

@Marakai You can use/integrate with aws-lambda-builders library which is the brains behind sam build.
I do not think pip installing the aws-sam-cli is the right think to depend on. While that can 'work', it is a cli not a library. If there are part you would like to see in the builders library that is currently wrapped into the CLI, cut an issue to the aws-lambda-builders project. That project should be the level you want to interact with and is achievable.
Closing as aws-lambda-builders is the library you will want to integrate with, not aws-sam-cli directly as a direct dependency in a requirements.txt.


new block idea

could you guys add in a block where its like the repeat until block but if the value is changed and the code is still in the middle of running it instantly stops

I think you can already do that with other blocks

oh do you know which one?

On my gallery, Extra Controls, there's a step through blocks block

could be added to controls expansion, mostly since its a bit too specific to be in the main control category

thanks alot sharkpool!!! I needed this alot for my game....

could be added to controls expansion, mostly since its a bit too specific to be in the main control category

Erm Alr exists in my extension which is part of the main gallery :trollface:


PDCT-727 Theme factory

This PR contains the work carried out to separate the theme-specific code from the core application code.
Please see the ticket for additional information and context.

Thanks Peter all good catches! 🦅 👁


Rabbitmq fix

Motivation and Context
Fix routing keys on Case Responses binding in RabbitMQ, following recent conversion of config from XML to annotation in https://github.com/ONSdigital/rm-sdx-gateway/pull/60. Migration appeared to work OK, but in fact the exchange was being created without the routing keys set correctly. This only shows up when the Case Responses queue is created, so we missed it in preprod testing.

What has changed
Added second binding in RabbitMQ config, set one routing key default in tempalte, and did a bit of tidy-up on the indents

How to test?

mvn clean install
mvn spring-boot:run
deploy gateway with new image to a sandbox cluster
run acceptance tests on sandbox cluster
set port forwarding from localhost with ras-rm-cli
curl -u $USER:$PASSWD -H "Accept: application/json" -H "Content-Type: application/json" http://localhost:8191/receipts -v -X POST -d "{\"userId\":\"ded66326-6365-4eca-afca-12bd2aca7b9b\",\"caseId\": \"069e61fe-8e87-4b50-8af9-3c4a34a643bf\"}"
check gateway pod logs for errors, and check Case.Responses queue in RabbitMQ (localhost:15672)
check that receipting works in frontstage (localhost:8082) and response-ops-ui (localhost:8085)

Links

https://github.com/ONSdigital/rm-sdx-gateway/pull/60
https://trello.com/c/WIEkDPRE

/deploy foxj


Get-StaffHubUsersForTenant not recognized

I installed the version 1.0.2 of this module, and Get-StaffHubUsersForTenant command is not recognized.

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

ID: e18b11da-9130-95b5-0c59-5cac70621dba
Version Independent ID: 34db617c-b231-e423-11fe-20bd9c3bb929
Content: Get-StaffHubUsersForTenant (staffhub)
Content Source: staffhub/staffhub-ps/staffhub/Get-StaffHubUsersForTenant.md
Service: staffhub-powershell
GitHub Login: @kenwith
Microsoft Alias: kenwith

The Cmdlet is in Beta stage and Get-StaffHubUsersForTenant is not exported when connecting to microsoftstaffhub module 1.0.2
Below are the cmdlets that are currently exported under the module1.0.2
Key                        Value

Add-StaffHubMember         Add-StaffHubMember
Add-StaffHubShift          Add-StaffHubShift
Add-StaffHubTeam           Add-StaffHubTeam
Connect-StaffHub           Connect-StaffHub
Get-StaffHubMember         Get-StaffHubMember
Get-StaffHubTeamsForTenant Get-StaffHubTeamsForTenant
Import-StaffHubMember      Import-StaffHubMember
Import-StaffHubShift       Import-StaffHubShift
Import-StaffHubTeam        Import-StaffHubTeam
Remove-StaffHubMember      Remove-StaffHubMember


Null Affinity crashes game?

I'm not real good at reading crash logs but I think the OutOfBoundsException error I'm getting is related to the affinity manager possibly getting a null value for an item - happens on nether cheese from Rats Mod and the fruit from Roots Classic mod. The crash report only mentions the OutofBounds error but the ATLauncher log shows the AffinityManager issues.
crash-2023-11-08_05.47.37-client.txt
ATL Log:
ATL_log.txt

Thanks for the report.  This is most curious, and the log seems to indicate there's a lot going on.  When exactly does the crash occur?  When holding Shift over an item stack in your inventory to view its affinities?  Or some other time?

It happens when I mouse over the item, not even holding shift..usually I can see the affinities when I mouse over the item - most time says unknown or none

I wasn't able to reproduce this locally, but I added some null guards at the suspect part of the code.  Hopefully that means its fixed in the next release, currently planned as v4.0.8.  If you encounter it again, please open a new ticket with fresh logs.  Thank you again for the bug report and helping make the mod better!


New user onboarding: initialise content

When a new user runs talhelper in a folder that doesn't contain any config yet, maybe it should propose to generate it from examples to "onboard" the user? Instead of just stating the fact its missing.

Thank you! I think I should create a talhelper init subcommand and prompt the user to a yes and no question when there's no config file found. Do you think my solution suits your expectation?

Thank you! I think I should create a talhelper init subcommand and prompt the user to a yes and no question when there's no config file found. Do you think my solution suits your expectation?

Yeah this is awesome! :)
That should set new users op with a somewhat useable/reference-able file structure to work from... 👍

I'll try to do this when I have the time, thank you!

NP!
Looking forward! ^^

@Ornias1993
Personally, I don't really see much value in this, and I'd much rather maybe keep the example config in the docs updated instead
I feel like an init function that creates an empty talhelper config, an empty talsecret and an empty talenv is not really all that useful. The docs should walk you through it rather than the tool, and then taking it further to an interactive experience to also populate those files is a bit too much again

@Ornias1993
Personally, I don't really see much value in this, and I'd much rather maybe keep the example config in the docs updated instead

As a devops engineer it obviously doesn't have value to you, I assume you know how to read docs and apply them.
However, the average user... Or can I say "The average idiot", because quite frankly what these functions are for, often needs a little "nudge" on what goes where.

@Ornias1993
Personally, I don't really see much value in this, and I'd much rather maybe keep the example config in the docs updated instead

As a devops engineer it obviously doesn't have value to you, I assume you know how to read docs and apply them.
However, the average user... Or can I say "The average idiot", because quite frankly whom these functions are for, often needs a little "nudge" on what goes where.

Firstly, I don't really agree with your choice of words, but that's besides the point
Secondly, while I do see your point, I'm not so sure the "average user" you speak of would be using templating tools to automate the declarative configuration of their immutable, API-drives OS :)))
I think this tool is targeted more towards users with a certain level of experience reading documentation and writing YAML manifests. I wouldn't say that someone running Kubernetes clusters is incapable of reading docs

I think this tool is targeted more towards users with a certain level of experience reading documentation and writing YAML manifests

While I agree with that compeletely...

I wouldn't say that someone running Kubernetes clusters is incapable of reading docs

You would be awkwardly surprised on that one ;-)

That being said, this is issue was just a nice hint from something that I noticed.
Its not my personal interest nor do I have any interest in debating it to be frank.

As you wish. I personally vote for updating the docs. Perhaps the example from the command line banner too?
It's up to @budimanjojo to decide
I can update the docs in the near future, as I need to work on updating my talhelper and redeploying my cluster soon as well. I can provide examples then, if needed.

I have actually already have a talhelper init subcommand locally that will create a file with this content:
 go run . init
example config file "./talconfig.yaml" generated
budiman@budimanjojo-main in ~/G/talhelper on  master       
 cat talconfig.yaml
---
# This is an example config file for `talhelper` so not every available keys are listed here.
# See the documentation https://budimanjojo.github.io/talhelper/latest/reference/configuration/ for all the available keys.
# You can run `talhelper genconfig` after you're done editing this file.
# The generated manifest files will be in `./clusterconfig` directory
# Make sure to run `talhelper gensecret > talsecret.sops.yaml` and don't forget to encrypt it using `sops`.
# This will make sure the secrets to be persisted everytime you run `talhelper genconfig` command.
# You can also have a `talenv.yaml` file that stores non secret variables and use it as value with `${varName}`.

clusterName: example-cluster # the cluster's name (required)
endpoint: https://<IP_ADDRESS>:6443 # controlplane endpoint, usually loadbalancer or VIP (required)
talosVersion: v1.7.4 # defaults to the latest Talos version known by this Talhelper version
kubernetesVersion: v1.30.0 # defaults to the version shipped with `talosVersion`
nodes: # list of nodes configurations (required)
  - hostname: controlplane # hostname of the node (required)
    ipAddress: <IP_ADDRESS> # IP address where the node can be reached (required)
    installDisk: /dev/sda # disk used for installation (required if `installDiskSelector` is not set)
    controlPlane: true # whether the node is a controlplane
    patches: # patches to be applied to the node
      # RFC6902 JSON patch
      - |-
        - op: add
          path: /machine/kubelet/extraArgs
          value:
            rotate-server-certificate: "true"
      # strategic merge patch
      - |-
        machine:
          env:
            MYENV: value
      # file containing RFC6902 JSON or strategic merge patch with `@` prefixed
      -<EMAIL_ADDRESS>    schematic: # Talos image customization for the installer image
      customization:
        extraKernelArgs:
          - net.ifnames=0
        systemExtensions:
          officialExtensions:
            - siderolabs/intel-ucode
  - hostname: worker
    ipAddress: <IP_ADDRESS>
    installDiskSelector:
      size: 128GB
      model: WDC*
      name: /sys/block/sda/device/name
      busPath: /pci0000:00/0000:00:17.0/ata1/host0/target0:0:0/0:0:0:0
    controlPlane: false
# everything defined here will be applied to all controlplane nodes
controlPlane:
  # the same as `node[].patches` above
  patches: []
# everything defined here will be applied to all worker nodes
worker:
  # the same as `node[].patches` above
  patches: []

I haven't push this into a PR is because I don't know if this is actually enough or too much or too little. And I also don't think prompting a user an interactive "Y/N" question when doing genconfig subcommand is a good idea because hanging in the terminal waiting for user input will break scripts. So I think error out and suggesting this talhelper init or read the docs to the user is more reasonable.
But still, having an example config that suggests the user to do things like gensecret etc in comments feels weird to me but if that's how new users want to onboard, which I'm not really sure, then I'm fine too, that's why I'm trying this out locally.
Also, @Ornias1993 please don't attack people's profession and nobody is calling average users "idiots". This kind of language is very rude and unneeded.
I think @mirceanton is right, having better docs given to the user while interacting with the program is a better approach. Something like:
-> talhelper genconfig
You don't have a talconfig.yaml, please read the docs here: <link> or run `talhelper init` to create an example file for you

Not sure which one is a better onboarding experience, I'm open to more suggestions if anyone have another better views so please share.

As you wish. I personally vote for updating the docs. Perhaps the example from the command line banner too?
It's up to @budimanjojo to decide
I can update the docs in the near future, as I need to work on updating my talhelper and redeploying my cluster soon as well. I can provide examples then, if needed.

I agree that the docs could use a more noob-friendly quick-start regardless though, forgot to mention!

@budimanjojo I didnt attack his profession AT ALL. I stated that as a devops engineer i assume he us competent. If anything thats a compliment.
 Thats a statement of fact, ask anyone dealing with those as support-staffer.
Thats a statement of professional al fact, not a nice one. But a true one nonetheless.
But ill refraign from stating the obvious next time.

I feel like it's just rude and unnecessary to call people that want such feature idiots, and ironically you're requesting this feature for the people you want to onboard Talos into that I assume are your potential customers.
Let's get back into the topic and see if the solution I provided above is good enough.

I assume are your potential customers.

Just to be clear:
I dont plan to sell any software or provide paid onboarding services.
I personally dont need this, or even personally want this.
As for my community project well do onboarding... well... differently...
I made the feature request because I feel it would be a great addition for "the average idiot".
So to respond on your question: im not the target audience to answer, because I wont personally use it.

Let's just keep the conversation on topic and agree on a solution.
I personally vote for errors to include a link to the appropriate documentation page alongside an error message. That seems like the least effort for now and we can improve on that later on if the need arises.
I noticed this same approach in the GitHub actions runner scale set I believe where (some?) errors include a link to their docs and I thought it was quite useful.
Thoughts? @budimanjojo

@mirceanton I agree. I'll create a PR maybe tomorrow and please provide feedback on the PR when it's pushed. Thank you!

I'll just merge the PR (that will close this issue) since I want to make a new release due to new upstream alpha release.


v3.1 : Update the template IO devices to use framework v3.1

GearVRf-DCO-1.0-Signed-off-by: Rahul Rudradevan
<EMAIL_ADDRESS>

PR 1000 :smile:
This change is required for the IO device integration to work with release version 3.1.
Will go ahead and merge this shortly.


Master Windows builds failing due to railsNewRunner

The Master Windows Builds are failing due to path separator issues on Windows. For example:
Rails Templater › when rails is available › update the template path to correct location

    expect(jest.fn()).toHaveBeenCalledWith(...expected)

    - Expected
    + Received

    @@ -1,11 +1,11 @@
      Object {
    -   "args": ArrayContaining [
    +   "args": Array [
          "new",
    -     "tempdir\\intermediate\\rails-project",
    +     "tempdir\\intermediate/rails-project",
          "--template",
    -     "tempdir\\something.rb",
    +     "./something.rb",
        ],
        "command": "rails",

I took a quick look at this, but wasn't able to reason about some of the non-trivial codepaths. This is best to try on a Windows box. There are some places that should use path.join, path.normalize or path.sep. Reproducible via:
cd plugins\scaffolder-backend-module-rails
yarn test railsNewRunner

@angeliski any chance you can have a look?

Adding to Tim's excellent suggestions, also replace /tmp with a variable which is equal to os.tmpdir(). Usually the problem lies at the use of /tmp since this is resolved to C:\\tmp on Windows CI runner, and ofcourse expecting / as the path separator.
We can also do (as done in a lot of places already)
    const tmpDir = os.platform() === 'win32' ? 'C:\\tmp' : '/tmp';


Adding mapbox basemap by map.id is not working any more

It doesn't work by URL neither...
I guess we need better tests here
cc/ @javisantana

I think it's actually working, the problem seems that now Mapbox basemaps URLs require the access_token. Can you confirm it, @saleiva?
In that case I'll update the docs and have a look to the tests.

Nope, it's not working. By id it doesn't work, and the URLs is with the URL they provide in the mapbox editor. Have you tried that?

I've also been trying ID's and URLs with token and it's no working neither. We've had some issues about this in SB these last days.

We should try to hotfix this, it shouldn't be that hard, right?

We won't be able to support the mapbox id: they now require to provide an accessToken: https://www.mapbox.com/mapbox.js/api/v2.1.5/

Ok, let's do 2, and ask for the mapbox id on the dialog.

I've just submitted a PR. Here's the new dialog and the error message:

I'm I missing something here, I see that its working but will the data on Mapbox come across as well to CartoDB. Forgive me I'm new to this ;-)


iOS: Auto suggest list hides behind keyboard.

Description
I have create list, each item has 3 auto suggest box entry. While editing the entry in list item at the bottom of the screen, entry is scrolled up when keyboard raise. But suggestion list shown behind the keyboard it is not expected as in android. In android in this situation suggestion list starts from bottom so the suggestion list so visible and easy to select.
Steps to Reproduce

Create a list and itemtemplate should be 3 set of auto suggestion box arranged in stacklayout.
Try to edit bottom of the list item..see the behavior...view is scrolled when keyboard raise so Entry is visible but not the suggestion box.

Expected Behavior
Expected as in android, the Suggestion list starts from the bottom. I mean the suggestions list shows above the entry
Actual Behavior
Suggestion list hides behind the keyboard.
Basic Information
All are updated version.

Version with issue:
Last known good version:
IDE:
Platform Target Frameworks:

iOS:
Android:
UWP:

Android Support Library Version:
Nuget Packages:
Affected Devices: iOS

Screenshots

Reproduction Link

I have this same issue.
Have you been able to solve it?

Same problem. Did anyone find a solution?


Add a changelog

In preparation of the next release, I thought it would be nice to have a changelog in the repository itself.
Release notes for early releases have been taken from the GitHub releases. For the unreleased things on master I read the commit messages and picked the most significant ones.

@robryk Please take a look.


Error on new install (?)

Describe the bug
I meant to update the extension. Upon update, the extension had an error.
Re-installing did not help.
To Reproduce
Steps to reproduce the behavior:

Simply installing the extension, or updating

Expected behavior
To be installed.
Screenshots
It just fails with "ERROR" in red.

Environment:

Distro: Fedora 39
GNOME version: 45.5
Extension Version: 2.0.1

I might be an absolute dummy, but I have no idea where I can get a traceback. So, if you know how to get one for you, LMK!

After the update login and logout does usually help. Thats a gnome-shell update thing not the problem of the extenion.

😅 Yes, that fixed it... Thank you for your help.
I don't know if I should blame me for not trying such an easy step, or blame GNOME for having such a weird issue.

😅 Yes, that fixed it... Thank you for your help. I don't know if I should blame me for not trying such an easy step, or blame GNOME for having such a weird issue.

Well gnome updates the extension itself - usually it tells login / out to update the pending extensions.
When you do it by hand on EGO - the login / out is just mandatory


⚠ GitLab Server has degraded performance

In 80f8eea, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 6907 ms

Resolved: GitLab Server performance has improved in 0c9780a.


unable to minimize after upgrading tmux

Hi!
I've upgraded my tmux to "tmux next-3.3" today, and I've encountered the following issue:
When I try to maximize a pane, everything works, but when I try to minimize it I'm prompted with
"Can't maximize with only one pane"

Hello @avshyz 👋
Thanks for the report, I'll look into it.

Hey @avshyz 👋
Can you please give the gh-381 branch a try? It should fix it.

Hey @gpakosz
I had the same issue also running tmux next-3.3. This branch fixed it. There is a slight (< 50ms) lag between when C-+ is hit and when the pane is maximized, flashing a "pane is dead message", but this isn't a problem.

Hey @baileywickham 👋
Thanks for testing!
I pushed another commit. Can you see if you still experience the lag?

Using the newest commit I still experience the lag. It is <50ms so it isn't a huge deal.
I installed tmux3.0a from the apt repo and I am experiencing the same lag there, though using the latest commits I am unable to un-maximize back to two panes on 3.0a.

I don't experience a lag. Or at least I can't see it 😅
I'm wondering whether it's due to the fact that I'm printing empty lines so that the Pane has been maximized... message is visible.
Can you please try the latest commit?

Huh, that's odd. I am running the lastest gh-381 branch with tmux 3.3-next built from source.
The latest commit didn't fix it for me. I attached a gif of what I am seeing.

Hey @baileywickham
Not sure what's happening. Do you see the same if the window is larger?
Also I committed yet another version which is supposed to reduce the time it takes for the placeholder pane enter the dead state.

Hi @gpakosz
First of all, thanks for the amount of effort you are putting in to solve this!
The lag is the same with the latest commit. The lag is also the same no matter the window size. It may be related to my shell or other environmental factors, not tmux.
@avshyz Are you experiencing the same lag?

Hey @baileywickham

It may be related to my shell or other environmental factors, not tmux.

That's what I find intriguing: tmux is supposed to launch commands through /bin/sh -c 'command'. It may depend on whether /bin/sh is a symlink to e.g. zsh on your system and what's going on when your shell initializes

/bin/sh isn't a symlink on my machine and testing it with my default shell as sh didn't fix it either. Probably not worth worrying about unless someone else also has the same problem. I'm not sure what else it could be.

Ok let's merge the fix

Great, thanks!


Creating Machine Learning Roadmap

Issue : #314

Changes proposed
Adding a Machine Learning Roadmap.
It's not a complete roadmap even though I have the resources, I want to give chance for other folks to contribute

Please make a PR when the roadmap is complete as others may not be knowing the correct path. If you wish to collaborate, please ask in the issue for collaborators :)

Please make a PR when the roadmap is complete as others may not be knowing the correct path. If you wish to collaborate, please ask in the issue for collaborators :)

Is it ok if I add every resource on my own?


PID file permissions

Why not '644' here? Default file mode for open() is '777' but that's not quite right.
So could you change it?
Just self._pid_fd = os.open(self.pidfile, flags, mode=0o644)

I don't like the idea of hard coding it. The mode of the PID file can be controlled via the umask argument of Daemon.__init__(). The umask defaults to 0o22.

Oh, I see. Thanks. I think this issue can be closed.


Feathers Auk update

Hi, I was wondering if you could please update the example to work with the latest version of FeathersJS and maybe add a frontend built on top of this starter kit, that would be super helpful.
Thanks in advance for your help

Yeah I can do that. I'm currently studying for finals at university, but in a week I'll have time to work on it. In the mean time, I always review pull requests and I would appreciate some suggestions and an update on what has changed in the new release. Thanks!

Hey that sounds good, in the meantime you can have a look at this resource.
Good luck with your finals

Started working on these updates. Can you please review my changes as I go and make sure I'm on the right track? Would appreciate it. The PR is #19

Hi Scott, sure I'll have a look during this week.
Thanks again for your sharing your knowledge

bump

I appreciate your persistence. I played around with this last week and I'm getting closer to getting this all upgraded. If you have progress please commit to the auk-upgrade branch. Also if you are interested in helping maintain this project let me know.

Actually I made this code with Auk version of feathers. it does not require changes... provided your feathers auk version is working (auth etc.)
if this is the case, then just do the following:

create a folder graphql
create the following files

graphql.schema.js
graphql.resolvers.js
graphql.service.js

as before add in `src/services/index.js as the last service:

app.configure(graphql);

The graphql.service.js should be looking like:
// Initializes the `graphql` service on path `/graphql`

const graphql = require('graphql-server-express').graphqlExpress;
const graphiql = require('graphql-server-express').graphiqlExpress;
const makeExecutableSchema = require('graphql-tools').makeExecutableSchema;
// const addMockFunctionsToSchema = require('graphql-tools').addMockFunctionsToSchema;

const Resolvers = require('./graphql.resolvers');
const Schema = require('./graphql.schema');

const def = require('../../swagger/graphql');

module.exports = function () {
  const app = this;
  // const paginate = app.get('paginate');

  const executableSchema = makeExecutableSchema({
    typeDefs: Schema,
    resolvers: Resolvers.call(app)
  });

  // const options = {
  //   name: 'graphql',
  //   paginate
  // };

  // Initialize our service with any options it requires
  app.use('/graphql', graphql((req) => {
    const {token, provider} = req.feathers;
    return {
      schema: executableSchema,
      context: {
        token,
        provider
      }
    };
  }));

  app.use('/graphiql', graphiql({
    endpointURL: '/graphql',
  }));
};

the "magic" here is to retrieve the token and add it to the context variable, thus if your authentication hooks are set on the services you resolve the requests will not go through and return an error. Thus you do not need the viewer service as from the token you can "populate" the user from the db.

That is awesome! Can you submit a PR?

Hello, joining this issue.
I'm trying to update the example with latest AWK but I'm new to the subject and I get pain :)
@idealley I see no more usage of apollo package on your example, is it intentional ? Can I continue use it ? What's the advantages ? Any guidelines ?
I'm trying to do it myself and get back to here if it's done.
Thanks.

Hello,
You can check this example:
https://github.com/EuropeanRespiratorySociety/api-ers
Actually graphql-express-server uses Apollo server as a dependency.
The graphql service is based on what I have written above.
Let me know if you need help.
Sam

Thanks a lot @idealley !
I have all the required materials to achieve what I am doing now.
Exploring this.


🎉 [New Feature]: Self-elevation support

Description

Resolve #2

Additional information

[!WARNING]
Most modifications are manually copied from lehni/vscode-fix-checksums#1. Ideas, which originally in spikespaz-contrib@master, DOES NOT have an open source license.
I can't sure if this kind of "manually combining" is accepted. If this violates some rules, please tell me and reject this pull request. ❤

@RimuruChan - Thanks for acceptance ❤

I'd prefer pnpm as package manager :blush:


Set env vars for Windows testing

Set SystemRoot in env vars when running tests.  Required to run Gradle tests in Windows

@jdneo can you run the github tests - I've included all env vars and removed the CI test disable

Yes 👍
I'll do some more tests in the client integration tomorrow. And merge it if everything is fine.

Thank you @Arthurm1!


Adding New Examples - DSSInterface

DSSInterface examples

Codecov Report

Merging #5 (612c098) into master (d4ad29f) will decrease coverage by 0.44%.
The diff coverage is 53.78%.

@@            Coverage Diff             @@
##           master       #5      +/-   ##
==========================================
- Coverage   61.98%   61.54%   -0.45%
==========================================
  Files         220      221       +1
  Lines        4183     4330     +147
  Branches       55      100      +45
==========================================
+ Hits         2593     2665      +72
- Misses       1570     1643      +73
- Partials       20       22       +2

Impacted Files
Coverage Δ

...py_dss_interface/models/ActiveClass/ActiveClass.py
100.00% <ø> (ø)

...y_dss_interface/models/ActiveClass/ActiveClassI.py
63.63% <ø> (ø)

...y_dss_interface/models/ActiveClass/ActiveClassV.py
75.00% <0.00%> (ø)

src/py_dss_interface/models/Base.py
34.37% <0.00%> (-9.38%)
:arrow_down:

src/py_dss_interface/models/Bus/BusF.py
45.45% <ø> (ø)

src/py_dss_interface/models/Bus/BusI.py
45.00% <ø> (ø)

src/py_dss_interface/models/Bus/BusV.py
55.55% <0.00%> (ø)

...y_dss_interface/models/CapControls/CapControlsI.py
46.15% <0.00%> (+1.70%)
:arrow_up:

...y_dss_interface/models/CapControls/CapControlsV.py
60.00% <0.00%> (ø)

.../py_dss_interface/models/Capacitors/CapacitorsF.py
57.14% <ø> (ø)

... and 70 more

Continue to review full report at Codecov.

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