Validateaction

Description
Add ValidateAction to check Job DTO formatting
Motivation
When creating a job clients can provide an untyped jobParams object in the DTO, or a jobResultObject when updating. These were previously not validated.
Fixes:
This PR adds a new validate job action which can test for the presence of particular attributes in the DTO. Currently the attributes are specified using a JSONPath and are only verified to be non-null. If needed, future implementations could add JSONSchema support to do deeper validation.
For example, the following jobConfig.json section would configure the public job to require at least one datasetId:
{
      "jobType": "public",
      "create": {
        "auth": "#all",
        "actions": [
          {
            "actionType": "validate",
            "required": ["jobParams.datasetIds[0]"]
          }
        ]
      },
      "statusUpdate": {
        "auth": "#all"
      }
    }

Changes:

Implement validate action
New dependency: jsonpath-plus
Add tests
Add example configuration

Tests included

[x] Included for each change/fix?
[x] Passing? (Merge will not be approved unless this is checked)

Documentation

[x] swagger documentation updated [required]
[ ] official documentation updated [nice-to-have]

What does everyone think of the use of JSONPath?
Pro: Simple syntax for simple reference, while keeping enough power for more complex structures like arrays
Pro: Well-known standard (eg used by jq command)
Con: Adds a dependency
Con: Only checks element presence, not type
A more powerful option would be to validate against a JSON Schema. This would allow type checking. However I think it would be much more verbose.

I think the JSONpath solution is appropriate for now.
However, there is a minor issue in the jobs.controller: performJobCreateAction now accesses only the jobInstance of JobClass as an argument (this also needed to call the other function that performs the actions).  performJobCreateAction should take two arguments, the second being of JobDto type so that we can call the validate function. Now in the controller validate is called on JobClass instance, which is not how validate is defined.

This implementation has a couple problems.
First, the JSONPath solution doesn't perform any type checking. It would be nice to do something like
{
  "actionType": "validate",
  "required": {
    "jobParams.datasetIds": "object",
    "jobParams.datasetIds[*]": "string"
  }
}

This looks fine for simple types (string, number, list of literal values) but could quickly grow in complexity until it reaches a full type system. One solution would be to supply a JSON Schema to validate the DTO (which provides full type support). However including JSON schemas in the config file seems overly complex for operators. Is there a happy medium?
Second, the validate method currently acts against the DTO body. Half of the checks in v3 are actually against database entities referenced in the DTO or Job itself. For instance, "archive" jobs should check that all datasets associated with the job have "datasetLifecycle.archivable". Or "publish" jobs with file listings should check that all files exist, requiring checking associated DataBlocks from the dataset. Should these be added to a generic ValidateAction or be a more specific check? We are leaning towards handling those as special cases in the jobs controller.

I changed how this works somewhat. Now the ValidateAction config looks like:
{
  "actionType": "validate",
  "request": {
    "JSONPath": JSONSchema,
    ...
  }
}

The schema gets validated by avj, so you theoretically could use the full power of a schema. However combining it with the path allows most use cases to be covered by short, easily readable one-liners. Examples:
{
  "actionType": "validate",
  "request": {
    "jobParams.name": { "type": "string"}, // match simple types
    "jobParams.answers[*]": { "enum": ["yes","no"]}, // literal values (here applied to an array)
    "jobResultObject": {"$ref": "https://json.schemastore.org/schema-org-thing.json"}, // JSON Schema
  }
}

I spelled the top-level request to because it gets applied to the DTO (either the create or update DTO). If it needed to get applied somewhere else (eg to associated datasets) we can add that in the future.

Agreed to merge https://github.com/SciCatProject/scicat-backend-next/pull/1440, then remove checkDatasetState from the controller and incorporate its login into the validate action, which will allow for configuring jobType - datasetLifecycle combinations and deleting the hardcoded job-types.enum. These changes will come in a new PR which will also incorporate this: https://github.com/SciCatProject/scicat-backend-next/issues/1120


[web3torrent] Downloader can over-pay when connected to several peers

@spersico

For the overpayment, no, it's not clear to me (not even looking at the gif) when and how are the conditions for that to happen. That's the first time I've seen overpayment in  web3torrent, with virtualChannels (outside of some tests with Andrew that we knew there was stuff not working correctly).
For the channels that never close, the solution 'till now, was that we showed the challenge button after a while. The idea was that the channels were inactive, and the seeder would decide to close them (or not) by challenging the leecher.


Menu Filter Functionality

The current menu does not have filter functionality that hinders efficient browsing.
Impact -
Users with dietary restrictions have difficulty finding suitable options.
Users spend extra time trying to understand and use the filters.
Users may miss out on desired menu items due to inaccurate filtering.
It's unclear which filters are currently active, making it difficult to adjust selections.
Desired Outcome:
Offer a variety of relevant filter options for dietary needs, price, meal type, etc.
Employ a clear and intuitive interface that is easy to understand and navigate.
Filters should accurately display menu items based on the selected criteria.
Visual cues like checkboxes or highlighted buttons should show active filters.
Allow users to combine multiple filters seamlessly without unexpected results.

@khushi-joshi-05  please assign this to me i am GSSOC'24 contributor with 2+ years of experience in development


feature request: Support emoji syntax

Awesome tool, but it can't support the emoji syntax like :smile:

hope markmap vscode extension could support Emoji from https://www.webfx.com/tools/emoji-cheat-sheet/


new:usr: Added project proposal for S17-IR-P012

Updated S17-IR-P012 directory with project proposal files.

reject: you have not addressed the amin issues
a) README is not complete.
I am merging anyways, but your report will not be seen as submission is incomplete

ValueError: PATTERN github NOT SET IN README. CURRENT: YOUR GITHUB USERNAME

PLEASE FIX YOUR README.rst FILES!
See the details error message in your pull request
ValueError: PATTERN hid NOT SET IN README. CURRENT: ENTER YOUR HID HERE.
Seems you are the only student that has this issue. This will have the effect taht we will programatically reject all future pull requests if you have not fixed them.

I'm sorry, but I'm confused about which part of my README file is incorrect. I have tried to follow the same pattern that other students have used, and all of them have resulted in an error. I also talked to one of the TAs today about it and he couldn't also tell what was wrong. So he suggested me to contact Mr. Badi.

readme in top dir.

On Mar 16, 2017, at 1:40 AM, Saber Sheybani<EMAIL_ADDRESS>wrote:
I'm sorry, but I'm confused about which part of my README file is incorrect. I have tried to follow the same pattern that other students have used, and all of them have resulted in an error. I also talked to one of the TAs today about it and he couldn't also tell what was wrong. So he suggested me to contact Mr. Badi.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub https://github.com/cloudmesh/sp17-i524/pull/169#issuecomment-286963105, or mute the thread https://github.com/notifications/unsubscribe-auth/AAZ8VYL7T_wlbO23DzUahPyX39R8Nqatks5rmMszgaJpZM4Mb4Sv.

please get in contact with TAs if unclear

On Mar 16, 2017, at 1:40 AM, Saber Sheybani<EMAIL_ADDRESS>wrote:
I'm sorry, but I'm confused about which part of my README file is incorrect. I have tried to follow the same pattern that other students have used, and all of them have resulted in an error. I also talked to one of the TAs today about it and he couldn't also tell what was wrong. So he suggested me to contact Mr. Badi.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub https://github.com/cloudmesh/sp17-i524/pull/169#issuecomment-286963105, or mute the thread https://github.com/notifications/unsubscribe-auth/AAZ8VYL7T_wlbO23DzUahPyX39R8Nqatks5rmMszgaJpZM4Mb4Sv.

you can naturally also compare with what other students have done, as all papers and projects and hid dirs are public

On Mar 16, 2017, at 1:40 AM, Saber Sheybani<EMAIL_ADDRESS>wrote:
I'm sorry, but I'm confused about which part of my README file is incorrect. I have tried to follow the same pattern that other students have used, and all of them have resulted in an error. I also talked to one of the TAs today about it and he couldn't also tell what was wrong. So he suggested me to contact Mr. Badi.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub https://github.com/cloudmesh/sp17-i524/pull/169#issuecomment-286963105, or mute the thread https://github.com/notifications/unsubscribe-auth/AAZ8VYL7T_wlbO23DzUahPyX39R8Nqatks5rmMszgaJpZM4Mb4Sv.


Make stratification optional in export()

Also make adding "untreated" i.e. none paths addition optional


Does it support Preference data (for training Reward / DPO)?

🚀 Feature Request
The preference data looks like this:
{
    "chosen":
    [
        {"role": "user", "content": "abcd"},
        {"role": "assistant",  "content": "abcef"},
        ...
    ],
    "rejected":
    [
        {"role": "user", "content": "abcd"},
        {"role": "assistant", "content": "abcef"},
        ...
    ]
}

This data is used to train a Reward Model or DPO
I'm wondering if it's possible to use streaming for this kind of situation. And How?
Thanks very much.

Yes it should work out of the box. Use MDSWrite to convert your preference data to MDS , and create a streaming dataset out of it. Use json as the encoding method. Let me know if you see any issue.

Yes it should work out of the box. Use MDSWrite to convert your preference data to MDS , and create a streaming dataset out of it. Use json as the encoding method. Let me know if you see any issue.

Thank you for quickly explain, I'll try it.

@ericxsun Wondering, have you tried the @XiaohanZhangCMU suggestion? Did it work?

Hi @ericxsun want to follow up here before closing this issue.


Ignore some WS errors

Codecov Report
Attention: Patch coverage is 76.92308% with 3 lines in your changes missing coverage. Please review.

Project coverage is 83.55%. Comparing base (d252b73) to head (5542b65).

Files with missing lines
Patch %
Lines

pkg/communication/ws/errors.go
76.92%
3 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #87      +/-   ##
==========================================
- Coverage   83.85%   83.55%   -0.31%
==========================================
  Files          51       51
  Lines        1753     1763      +10
==========================================
+ Hits         1470     1473       +3
- Misses        241      248       +7
  Partials       42       42

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


Implement a header section #13 Emycodes branch by Samuel and Emycodes

Description:

we added the hero section

Changes Made:

no other chages

Related Issue:

Implement a header section #13

Screenshots (if applicable):

Attach screenshots, if applicable, to showcase the newly implemented feature or bug fix.

Thank you, @samuelogboye and @EmyCodes  for your implementation.
I also noticed the linting of the files.
Thank you.
Your PR shall be merged.


No mention of sap.ui.Global in the API reference

In the JavaScript Code Issues is written:

Commonly used names (However they can also be used as AMD references via sap/ui/Global)

However, when I try to check an API reference of sap/ui/Global or sap.ui.Global, I get «Not found».

Duplicate of https://github.com/SAP/openui5/issues/3384.


Instead of Time headers I am getting date based messages

Help avoid duplicate issue reports, check existing issues
Environment details
iOS version, Quickblox iOS SDK version, QMChatViewController version
ios 10, Quickblox iOS SDK 2.9
Did this work before?
No
Expected behavior
chatDataSource.addMessages should add my messages to the chatDataSource.
Actual behavior
chatDataSource.addMessages adds my messages to the chatDataSource but also adds additional cells with Time headers added as information.
Logs
Attach full logs that will describe your problem (please, use github gist)
ID: 583d04ed5b5f42373e0041d0
senderID: 19921115
recipientID: 0
dateSent: 2016-11-25 08:00:00 +0000
text: November 25
customParameters: {
kQBDateDividerCustomParameterKey = 1;
}
attachments: (null)
delayed: 0
dialogID: (null)
read: 0
readIDs: (null)
deliveredIDs: (null)
markable: 0
createdAt: (null)
updatedAt: (null)
Steps to reproduce the behavior
Any others comments?
I just want to remove these cells from my chatview. Is there an easy way to do this?

Hi,
So you don't want time headers?

Yes, but I already figured out hot to remove it!

Glad to hear you have figured it out, if you have any other problems please let us know by creating a separate issue.

Hi,
Can someone suggest me how to show the day in section instead of chat cell?


Add pygame-ce

Hello, I saw this list in the SDL Enthusiasts discord server. Thought I should add a Python binding for SDL that I help maintain, pygame-ce.

Most excellent! Thanks so much for the add :+1:


New version: OpenWhisperSystems.Signal.Beta version 6.38.0-beta.1

Pull request has been created with WinGet Automation :rocket:
Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:


Using underscores in field names

- Do you want to request a feature or report a bug?
bug
- What is the current behavior?
When defining names in the config.yml using names with underscores Publishing generates the following error
unpkg.com/netlify-cms@1.3.5/dist/cms.js:182 Uncaught (in promise) Error: Collection must have a field name that is a valid entry identifier
    at unpkg.com/netlify-cms@1.3.5/dist/cms.js:182
    at unpkg.com/netlify-cms@1.3.5/dist/cms.js:182
    at String.replace (<anonymous>)
    at unpkg.com/netlify-cms@1.3.5/dist/cms.js:182
    at e.value (unpkg.com/netlify-cms@1.3.5/dist/cms.js:182)
    at unpkg.com/netlify-cms@1.3.5/dist/cms.js:182
    at unpkg.com/netlify-cms@1.3.5/dist/cms.js:190
    at unpkg.com/netlify-cms@1.3.5/dist/cms.js:36
    at t.<anonymous> (unpkg.com/netlify-cms@1.3.5/dist/cms.js:182)
    at r (unpkg.com/netlify-cms@1.3.5/dist/cms.js:190)

- If the current behavior is a bug, please provide the steps to reproduce.
To reproduce create a field with a name that has an underscore in it.  For example: - {label: "Meta Description", name: "meta_description", widget: "string"}
- What is the expected behavior?
I would expect names with underscores to be allowed.

- Please mention your CMS, node.js, and operating system version.

- Please link or paste your config.yml below if applicable.
backend:
  name: git-gateway
  branch: master

media_folder: "site/static/uploads"
public_folder: "/uploads"

collections:
  - name: "videos" # Used in routes, e.g., /admin/collections/blog
    label: "Story" # Used in the UI
    folder: "site/content/videos" # The path to the folder where the documents are stored
    create: true # Allow users to create new documents in this collection
    slug: "{{slug}}" # Filename template, e.g., YYYY-MM-DD-title.md
    fields: # The fields for each document, usually in front matter
      - {label: "Layout", name: "layout", widget: "hidden", default: "videos"}
      - {label: "Publish Date", name: "date", widget: "datetime"}
      - {label: "Title", name: "title", widget: "string"}
      - {label: "Meta Title", name: "meta_title", widget: "string"}
      - {label: "Meta Description", name: "meta_description", widget: "string"}
      - {label: "Slug", name: "slug", widget: "string"}
      - {label: "Youtube URL", name: "media", widget: "string"}
      - {label: "Hero Image", name: "hero", widget: "image"}
      - {label: "Abstract", name: "abstract", widget: "text"}
      - {label: "Body", name: "body", widget: "markdown"}

@thales17 Interesting, I can't reproduce, it publishes normally for me. The error message that you are seeing should only occur when you don't have a title field.

That makes sense, @tech4him1 .  I assumed it was the underscores but it was just the title. My original title name was video_title.  I didn't realize that title was required but it is a simple fix.

Ah, sorry for not reading what you had already written better. We do need to clarify that error message.


Skybell component's disable_motion_detection service is not working

Home Assistant release with the issue:

75.3
Last working Home Assistant release (if known):
not known if it ever worked
Operating environment (Hass.io/Docker/Windows/etc.):

Hass.io/RPi3
Component/platform:

Skybell Switch: https://www.home-assistant.io/components/switch.skybell/

monitored_conditions array (Required): Conditions to display in the frontend. The following conditions can be monitored.
do_not_disturb: Control the state of your doorbells indoor chime.
motion_sensor:  Control the state of your doorbells motion sensor.

Description of problem:
Executing the service camera.disable_motion_detection for the skybell camera fails with a "NotImplementedError" but the documentation clearly indicates this was intended to be supported.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
  alias: Skybell motion disabler
  trigger:
    platform: state
    entity_id: binary_sensor.entry_doors
    to: 'on'
  action:
    - service: camera.disable_motion_detection
      entity_id: camera.front_door
    - delay: 00:15:00
    - service: camera.enable_motion_detection
      entity_id: camera.front_door

Traceback (if applicable):
2018-08-16 22:56:27 ERROR (MainThread) [homeassistant.core] Error executing service <ServiceCall camera.disable_motion_detection (c:e319a0b099e0464983c18c8f7322b600): entity_id=['camera.front_door']>
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/core.py", line 1115, in _event_to_service_call
    await service_handler.func(service_call)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/camera/__init__.py", line 201, in async_handle_camera_service
    await camera.async_disable_motion_detection()
  File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/camera/__init__.py", line 427, in disable_motion_detection
    raise NotImplementedError()
NotImplementedError

Additional information:
My intent was to temporarily disable Skybell camera motion alerts whenever someone opens the front door from the inside to go out.  I don't care to see my arse recorded and alerts sent when just grabbing the mail.
Thanks @MisterWil or other collaborator for confirming if this should be supported or not.  Hopefully it can be.

I think the idea is that you can control the motion sensor via the switch platform, not via the camera platform.


Fix demo error.

Resolve #23.
Add info to README describing where to put encryption key.
Cheers!

Hey Alex! Thanks for the pull request. I agree that we need to improve our messaging on how to handle secret storage, but I fear that using a hardcoded encryption key in the demo app may mislead people into thinking that it's okay in practice.
The comment is a great start, but I wonder if a more effective approach may be to continue using an environment variable here, but give instructions on how to launch the application with that environment variable populated. This would solve the issue you ran into, where the demo didn't work, while also not demonstrating an insecure integration.
What do you think?

Hi @ShaneWilton! That makes sense. I'll submit a new PR.


Linked Visualizations

Multiple visualizations on a webpage should be able to be linked to one another, making it so that when one's values are changed, the other one updates as well.

dc.js is a good example of a dimensional charting (linked visualizations) system.

Has there been any progress on linking visualisations? Or is this planned for the near future? I found no new info in relation to this since it was briefly re-discussed in the Google group last fall:
https://groups.google.com/forum/#!searchin/d3plus/crossfilter|sort:relevance/d3plus/hws_iF-HLNM/vbUtdysjBQAJ
Thanks!

+1

would be great to use crossfilter + d3plus @davelandry

This feature is one of the biggest driving factors behind the 2.0 development, and I'm hoping to have it implemented within the next few months.

@davelandry I am working on a wrapper npm module over crossfilter available at  github  and npm
I am particularly interested in making it having a JS library for the same ( client side) and integrate it with d3plus.
If you have suggestions over the same, it is more than welcome :)


Some questions of interest relate to simulator and technical details.

This is an excellent work! I am particularly curious about two aspects:

Has this work been tested on common simulator benchmarks such as CALVIN, RLBench, or ManiSkill? Constructing and testing in a real-world robot setting is challenging due to the extensive time required and the lack of same settings, which complicates reproducibility. I am eager to know if you plan to implement and test this on simulator benchmarks in the future. Additionally, I believe that obtaining in-context examples, i.e., demonstrations, might be more feasible in simulators compared to teleoperation.

I noticed that this work also encodes actions as part of the in-context. What are the benefits of this approach? Considering that the behavior of the demonstrations are multimodal, and this method seems to be limited (unable to handle heterogeneous robots), would relying solely on demonstration videos significantly degrade performance, given that pixel-level inputs appear to be more universal?

I look forward to your response! 😄

Thanks for your interest in this work!

Re: simulator

We have tested internally with RL Bench. I don't think we have concrete plans for releasing that part of the code yet, especially since everyone is away for the new year.

Re: action as part of the context, would relying solely on demonstration videos significantly degrade performance

This is a design choice we made in the early stages of the project, where we want to do autoregressive prediction similar to language model (i.e. output at the current step can be used as inputs for the next step). Lately we have also tried removing the action as input (i.e. the model takes in $f_s^1$ predicts $a_1$, $f_s^1, f_s^2$ predicts $a_2$). It seems to work as well, but we also don't have numbers to report yet.

Considering that the behavior of the demonstrations are multimodal, and this method seems to be limited (unable to handle heterogeneous robots

I highly doubt if this is the case. p(actions|current obs) may be a multimodal distribution; however, p(actions|current obs, one or more demonstration) maybe much less multimodal than p(actions|current obs), since the path / way to perform the task is defined by the condition. That said, it is most likely still a multimodal distribution, so getting discrete action / diffusion action head to work is going to help the model performance.
We are currently fixing some infra problem so that training can run faster, so ideally scale better to more compute / more data. Looking forward to release that.
Let me know if you have more questions!


Kerberos Support

my environment running ArangoDB
I'm using the latest ArangoDB of the respective release series:

[ V] 3.2

Mode:

[V ] Single-Server

On this operating system:

[V ] Windows, version: 2008 R2

I'm using the web interface with this browser: Chrome     running on this OS: Windows

[ V] authentication is enabled

Hello.
Does ArangoDB support Kerberos authentication protocol?
If it does, how to configure Foxx Services to work with Kerberos protocol?
Thanks, Alex.

@alexalexpod currently only LDAP is supported. Kerberos is on our roadmap. For more information please contact hackers (at) arangodb.com.

Thank you.


Feature Request: Support passing attributes to the solvers

Dear maintainers,
I am trying to pass polish=True or verbose=True in this code

https://github.com/cvxgrp/cvxpygen/blob/master/examples/portfolio.ipynb to the OSQP solver, and I get the following error:
AttributeError                            Traceback (most recent call last)
~/coding/cvxpygen/examples/portfolio_code/cpg_solver.py in cpg_solve(prob, updated_params, **kwargs)
     30         try:
---> 31             eval('cpg_module.set_solver_%s(value)' % key)
     32         except AttributeError:

~/coding/cvxpygen/examples/portfolio_code/cpg_solver.py in <module>

AttributeError: module 'portfolio_code.cpg_module' has no attribute 'set_solver_polish'

Could you please add the possibility to pass attributes to solvers? Thank you very much in advance.

Thanks @ilyanoskov - cvxpygen does support passing attributes to the solvers. In the case of OSQP, these are rho, max_iter, eps_abs, eps_rel, eps_prim_inf, eps_dual_inf, alpha, scaled_termination, check_termination, warm_start. For further info, see the OSQP documentation. Opening https://github.com/cvxgrp/cvxpygen/issues/14 to document this better on cvxpygen side and closing this issue.


can't get decision maps

Thank you for the code.When i run 'python som_decision_map.py som_parameters.ini', i get nothing in som_decision_plots/.
$python som_decision_map.py som_parameters.ini Plotting all attack variants with a single SOM Loading SOM Time to load SOM: 0.27 Number of points each method: 10 Malware Files: 2000 Benign Files: 2000 Computing activation map Finished computing activation map: 22.777462005615234 Computing bmus Finished computing bmus: 0.0003161430358886719
Also,when i run 'python train_som.py som_parameters.ini'(plot_all_attack_variants = False), i get just one pkl in 'som_pickles/'.
I'm not sure what's wrong with it.Thanks again.

Hi @sakurachiyuki, did you try running the jupyter notebook?
Best,


Let changes

@miq-bot assign @lpichler
@miq-bot add_label technical debt, test cc\ @romanblanco
changes in file condition_spec.rb. Multiple "@variables" into ones using let(:variable).

Please modify the commit message so that it doesn't ping @cluster and @vm...those poor accounts :)


Fix Dockerfile entrypoint

Fix WORKDIR and use symlink to setup working defaults for config flags.
Signed-off-by: Ben Kochie<EMAIL_ADDRESS>

cc @yesac

@SuperQ I've tested quickly with the Prometheus Helm chart and the image from this PR deployed just fine :+1:

lgtm :+1:

This breaks the setup for those having data dir and configs in the same folder.
For example:
# ll /data/prometheus/
total 64
drwxr-x---  3 nobody nogroup    58 Dec 18 10:52 ./
drwxr-xr-x  7 root   root      107 Jul 13 09:23 ../
-rw-r-----  1 root   nogroup 11579 Dec 11 15:18 alerts.yml
drwxr-x--- 16 nobody nogroup  4096 Dec 18 11:00 data/
-rw-r-----  1 root   nogroup 48003 Dec 11 15:14 prometheus.yml

    command: >
      --web.listen-address=<IP_ADDRESS>:9090
      --storage.tsdb.retention=30d
...
    volumes:
      - /data/prometheus:/prometheus

The following change to Dockerfile    "ln -s /prometheus /etc/prometheus/data" puts everything into /etc/prometheus/data along with the configs resulting in a missing config and writing wal and lock file to the local /data/prometheus/ instead of /data/prometheus/data.
So this is not [ENHANCEMENT] Remove default flags from the container's entrypoint. #4976 but a broken change :-/

@roman-vynar sorry to hear that it broke your setup. If we had the report before that would have been included as a [CHANGE] obviously.

This would have broken also our setup. Would it be possible to adapt the changelog and add a "incompatible change" notice to https://github.com/prometheus/prometheus/releases ?

This severely broke our setup! Please consider this a braking change in the future!


Update naoqisim repo path

Prepare the naoqisim migration to cyberbotics organization

:+1:

(The migration should be done before merging this PR, but this doesn't prevent approving this PR)


Fixed typo in documentation

curl command for gitlab-ci-multi-runner was referencing bad url

@bobey can you include also change to rpm.sh? and create MR in official repository: https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/ ?

done & done ;)


Fix [Yanagishima] bytes is negative

Closed #367
Signed-off-by: siu91<EMAIL_ADDRESS>

@wyukawa @ebyhr

Please fix CI error and add test in FormatUtilTest like assertEquals("2GB", ...

Please fix CI error and add test in FormatUtilTest like assertEquals("2GB", ...

add test in FormatUtilTest


Trailing underscores need to be escaped in docstrings otherwise they are missed by sphinx

See here: https://github.com/sphinx-doc/sphinx/issues/519
All that needs to be done is type_ -> type\_ in the docstrings.

I've folded this into https://github.com/pyansys/pymapdl/pull/446 and https://github.com/pyansys/pymapdl/issues/444


Suggestion: allow for a way to share spoilers with other people

Make it so that when you upload a spoiler log you can share the URL with others (e.g. support staff and multiworld partners). Sharing URLs is easier than sharing files and it also saves others the effort of having to upload the log themselves.

I like this idea, however the current site operates 100% on the frontend, this would require an API on the backend and a database or some kind of other storage. I'd like to get the rest of the spoiler log working first, but afterward this would be pretty simple to set up.

Closed by #20


Really old dd-trace-go.v1 dependency requirement

Environment info:

KrakenD version: 2.5.0

Describe what are you trying to do:
Hello. I am trying to set up datadog profiling for our KrakenD plugins. Because of this I am trying to import the gopkg.in/DataDog/dd-trace-go.v1 library, however I was surprised to find out that KrakenD depends on a really old version (over 3 years old) of this library:
10 incompatibility(ies) found...
...
gopkg.in/DataDog/dd-trace-go.v1
        have: v1.57.0
        want: v1.22.0

Investigating further it seems the dependency chain is as follows:
KrakenD -> krakend/krakend-opencensus -> DataDog/opencensus-go-exporter-datadog  -> DataDog/dd-trace-go.
opencensus-go-exporter-datadog has been deprecated because OpenCensus and OpenTracing have merged into OpenTelemetry, and thus no longer receives any updates.
So I was wondering if there is any plan to also deprecate and remove krakend/krakend-opencensus due to the OpenCensus deprecation, and instead support OpenTelemetry?
Profiling our plugins is something we really would like to do, so being able to use dd-trace-go.v1 would be really great, but due to this dependency lock on a very old version of the library means it's something that we're currently not able to do.
Your configuration file:
N/A
Configuration check output:
N/A
N/A

Commands used:
N/A

Logs:
Logs you saw in the console and debugging information
Additional comments:

Hello @alombarte,
That is great news, thank you for letting me know!
Does this mean that the krakend/krakend-opencensus adapter will be dropped and thus the dependency chain it carries will be "unlocked"? Do you have any ETA on this?
Best regards

We still haven't planned how/when to sunset opencensus, but once Otel is in place, we will no longer update opencensus, and we will mark it as deprecated. We might update the libraries to the latest version before this happens.
The timeline for Open Telemetry is KrakenD 2.6. We release minor versions about 4 times per year, so maybe february/march could be an ETA, but do not take this timeline seriously. I still haven't planned for it.


PVox Feature Suggest: Nice Shot module

implements a module where the player will give a callout when a friendly npcs or players (maybe bots) will eliminates an enemy npcs

added in v9.


orphaned style tags

I'm using this module to temporarily add some extra global style - in this case disabling scrolling on the html body, which can be useful in some cases like when a modal or nav is being displayed on top of the main content.
For example, my header/nav component has something like this (written in script setup style):
const isMobileNavOpen = ref(false);
function toggleMobileNav() { isMobileNavOpen.value = !isMobileNavOpen.value; }

// add extra body style to lock scrolling on main content while mobile nav is open
useHead({
  style: [{
    children: computed(() => (isMobileNavOpen.value ? 'body { overflow: hidden; }' : '')),
  }],
});

This works and the style is added/removed as the nav is toggled, locking body scroll as it should.
The problem is that if the component is unloaded, it is not cleaning up after itself and removing the extra style tag.
This happens for example if I navigate to a different route that uses a different layout that does not contain this nav component.
I'm able to fix it by adding a onBeforeUnmount handler like so:
onBeforeUnmount(() => {
  useHead({ style: [{ children: '' }] });
});

but to me this was unexpected. I would have thought that any component that uses useHead would clean up after itself before unloading.
Please advise if this is expected or a bug that needs addressing. If it is a bug I can try to dig in and get it fixed.
Thanks!

not sure I understand your setup, but have you tried using a simple permanent CSS sibling selectors to handle this?
creating and blanking a whole stylesheet and bothering the DOM as well seems too much of an effort :)
If the nav/modal opens, apply a "toggle" class to the html or body element (the scroll container) and let the CSS do the work using the styles you already have, but instead of adding and removing the whole style element, turn it into a permanent selector in your global app style sheet which (by definition) would be inactive if the toggle class in the head or body is not set.
I presume the CSS to block the scrolling is only a couple of lines.
The router events could also make sure that "stop-scrolling" class is removed if you navigate to/from a different layout/route.

There’s definitely a few different ways to do this. Regardless I think this was very unexpected behaviour. If useHead adds something to the page from a component, I would expect it to clean up after itself when that component unmounts.

I would expect it to clean up after itself when that component unmounts.

hmm, dunno.
I get your point, but how is it supposed to know what of the stuff your component added for whatever reason should remain and what not? and under what circumstances?
Just because some component is unmounted doesn't mean the whole page (or head) should go with it - me thinks...
For your scenario it would indeed be useful to have it linked to the router events (or any other component's custom on-and-off events) in some way so it does indeed cleanup after itself -- or make the contents/attributes of these element "more" reactive.
I'm not yet using this, so I'm unfamiliar with the internals.
I plan to add link elements and meta that should "persist", but it seems I might run into a similar problem like you but for different reasons :D -- that's why I checked this issue in the first place.
Have fun.

Personally I would expect that anything added by useHead would get removed when the component that added it unmounts. If you wanted certain items to persist, you'd put them in your main app component or layout components that don't get unmounted (or are replaced with another instance when they do). Otherwise you'd have lots of orphaned tags and things would not behave deterministically. I'm assuming useHead already works this way and my orphaned style tag example is just a bug.

I see.
I am still a little ambivalent about the whole thing and who's responsible cleaning up their mess ;-)

I'm assuming useHead already works this way and my orphaned style tag example is just a bug.

I wouldn't be able to tell, but I guess I'll find out very soon.
However, it'll indeed be the app / layout component that's responsible for adding these tags.
Have a good time.

Confirming this is still an issue.
Seems like a reactivity problem with computed


Let all DEBUG being compiled

hines: I think CORENRN_DEBUG_QUEUE can be deleted. Those are easy to add back if needed. I think INTERLEAVE_DEBUG should be kept as it consists of a very elaborate test which would be tedious to add back. I'd be happy to make it work again. I expect CHKPNTDEBUG to also be useful again in the future. DEBUG is too generic to be much use but to the extent that they are just printf, I think they can be removed and if more than a dozen lines in one place, assessed in context.

Retest this please


Job to send out closeout notifications

resolve #429

@srkirkland This would have to be merged to fix those errors, correct?


Can I use shepherd tour on Angular?

I just started playing with this library. Thank you to the developers for making it available. In a very basic test project on Angular, I did the following and that seemed to do the trick:

Wrap the global Shepherd object in a factory
Inject that in your controller
Use it as normal

Sample below:
Angular Service / Factory:
function shepherdFactoryService($window) {
  if (!$window.Shepherd) {
    console.log('could not load Shepherd');
  }
  return $window.Shepherd;
}
shepherdFactoryService.$inject = ['$window'];
angular.module('testproject.shepherd', [])
  .factory('Shepherd', shepherdFactoryService);

Once you inject it in the controller, you can use it as below:
      var tour = new Shepherd.Tour({
        defaults: {
          classes: 'shepherd-theme-arrows',
          scrollTo: true
        }
      });

      tour.addStep('add-thing-name', {.....}
      tour.start();

As I just started with this, I am not sure if there is a better way, but would love to find it if available. Also, I was not sure if this issues list is responded to by just the dev team or open to all. If I am commenting in the wrong place, my apologies.

I've been having a problem using Shepherd in a controller when attaching to items in an ng-repeat. It'd be better implemented in a directive so as to utilise the post link functionality. I think this is my problem, third party libraries that perform DOM manipulation are sketchy when initialised in Angular controllers.

@Joe-Withey Were you able to attach the Shepherd Steps to an element, when it was added inside a directive? I am currently not able to.

Have anyone tried integrating Shepherd with Angular 4?

Shepherd is definitely usable in all JS frameworks, since it is just vanilla JS. It would be awesome to have some packages created for Angular, Vue, React, etc. If anyone is interested in helping out with that, we would love the help!

Has Anyone come right in succesfully wrapping the Shepherd.JS Tour Steps script in a Directive?
I am trying to get the script wrapped in an angularJS directive which contains all the steps  and functions

I have done this so far however it does not seem to work
angular.module('tourDirective', [])
  .directive('tourDirective', function(){
    return {
      restrict: 'E',
      link: function (scope, el, attr) {
        var tour = new Shepherd.Tour({
            defaults: {
                classes: 'shepherd-theme-arrows',
                scrollTo: true
            }
        });

        /*********************************************************
        FIRST STEP
        *********************************************************/
        tour.addStep('testStep1', {
                                        text: 'Test Text Here',
                                        attachTo: '#test1 right',
                                            tetherOptions: {
                                                attachment: 'top right',
                                                targetAttachment: 'top left'
                                            },
                                      classes: 'shepherd shepherd-open shepherd-theme-arrows shepherd-transparent-text',
                                      showCancelLink: true,
                                      buttons: [
                                              {
                                                text: 'End Tour',
                                                classes: 'shepherd-button-example-primary',
                                                action: function(){
                                                  return tour.hide();
                                                }
                                              }
                                      ]
                                        });
        /*********************************************************
        FINAL STEP
        *********************************************************/
                                    tour.addStep('testStep2', {
                                        text: 'Test Text Here',
                                        attachTo: '#test2 right',
                                            tetherOptions: {
                                                attachment: 'top right',
                                                targetAttachment: 'top left'
                                            },
                                      classes: 'shepherd shepherd-open shepherd-theme-arrows shepherd-transparent-text',
                                      showCancelLink: true,
                                      buttons: [
                                              {
                                                text: 'End Tour',
                                                classes: 'shepherd-button-example-primary',
                                                action: function(){
                                                  return tour.hide();
                                                }
                                              }
                                      ]
                                        });

          tour.start();
      }
    };
  });

We should probably write an Angular wrapper for Shepherd, as it seems people are having some trouble here.

That would be amazing, if I manage to get it right I will post it here for you to add to your repo. :-) for angular users

We should probably write an Angular wrapper for Shepherd, as it seems people are having some trouble here.

Sir it would be great. Please build it for angular>2. I have been looking at lot of libraries but none are available as angular service or wrapper.

@hajimurtaza I have already created an angularJS action wrapper to control and contain the ShepherdJS Code, I have submitted a sample to the authors (@rwwagner90)  via direct email, for them to include in theie documentation

@hajimurtaza I have already created an angularJS action wrapper to control and contain the ShepherdJS Code, I have submitted a sample to the authors (@rwwagner90)  via direct email, for them to include in theie documentation

@hajimurtaza I have already created an angularJS action wrapper to control and contain the ShepherdJS Code, I have submitted a sample to the authors (@rwwagner90) via direct email, for them to include in theie documentation

Sir I meant angular 2+ versions. Its really difficult to convert a angularJS directive for use in Angular 5. If you could design it as a service or something like that it would be great.

@hajimurtaza I don't know much Angular, regardless of version, but we will eventually release a wrapper for Shepherd for all the frameworks, it's just going to be awhile.

@hajimurtaza I don't know much Angular, regardless of version, but we will eventually release a wrapper for Shepherd for all the frameworks, it's just going to be awhile.

Thank you sir. I have also looked at intro.js, driver.js no one seems to have a wrapper for angular +2. I am still learning angular, if i am able to implement your api in my angular app. Ill let u know
Also if anyone have any tips how to go about it... im all ears.
Regards

@hajimurtaza Angular is just JavaScript, you can use it just like you would in any JS app. A wrapper is nice, but not required for any framework.

@hajimurtaza Angular is just JavaScript, you can use it just like you would in any JS app. A wrapper is nice, but not required for any framework.

Yes sir , i used it but the problem is regardless of which component i call the steps in , the popups get added to index.html
I tried using the steps within NgAfterInit() method , same result.
I am still a rookie in angular so this might be some basic issue, would be better if there was some implemetation , it would help me debug.
Thank you for your responses.

@hajimurtaza I'm not sure I understand. Angular apps are single page applications, so they should just have the one index.html. You would just want to setup and use the tour in your component and target the selectors of the DOM you want to attach to.

Just my 2cents to get it working with Angular 7:

angular.json:
"scripts": [
"node_modules/popper.js/dist/popper.min.js",
"node_modules/shepherd.js/dist/js/shepherd.min.js"
]

styles.scss:
@import "~shepherd.js/dist/css/shepherd-theme-dark.css";

example.component.ts:
import * as Shepherd from 'shepherd.js';
...
ngAfterViewInit(): void {
this.tour = new Shepherd.Tour({
defaultStepOptions: {
classes: 'shadow-md bg-purple-dark',
scrollTo: true
}
});
this.tour.addStep('example', {
title: 'Example Shepherd',
text: 'Creating a Shepherd is easy too! Just create ...',
attachTo: '.hero-example bottom',
advanceOn: '.docs-link click'
});
this.tour.start();
}

@supertorpe you'll want to use the latest beta. We use tippy now, instead of popper directly. Hoping to get a real 2.0 out soon.

For anyone who is following this issue, we released an Angular wrapper for Shepherd finally! I'm unsure of the version support, but it should at least support Angular 6 and 7, if not more. Please try it out! https://github.com/shipshapecode/angular-shepherd


test branch

Codecov Report

Merging #2 into master will not change coverage by %.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master        #2   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            1         1
  Lines            6         6
=========================================
  Hits             6         6

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 46a0cfa...f79f08f. Read the comment docs.


Minimise on tray icon click

Is your feature request related to a problem? Please describe.
I'm currently using Mailspring and it's so nice when I can minimise it to tray by just clicking the icon tray. It saves me the time to click minimize/exit from the title bar or the taskbar.
Describe the solution you'd like
Make the click on the tray icon minimize the app back.
Describe alternatives you've considered

It saves me the time to click minimize/exit from the title bar or the taskbar.

Closing in favor of https://github.com/getferdi/ferdi/issues/307 and adding your suggestion there 🙏 Thank you!


Messages sent are received "one behind" when using WSS.

ws4py==0.5.1
CherryPy==18.6.0
Python 3.9.5 / Mac OS 11.4 (M1)
Messages are received as expected when I use WS. If I switch to WSS, messages sent by the client/browser are not received by the server until after a subsequent message is sent by the client (which in turn is also delayed). Once the second message is sent, the first message is received.
I note issue https://github.com/Lawouach/WebSocket-for-Python/issues/191 which appears to be similar.
Output from attached test client and server:
WS mode
Chrome console:
on open
sent: one
sent: two
sent: three
Message received:one back
Message received:two back
Message received:three back

Python output:
2021-07-04 19:46:11,986:INFO: Using select as epoll is not available
2021-07-04 19:46:11,986:INFO: [04/Jul/2021:19:46:11] ENGINE Listening for SIGTERM.
2021-07-04 19:46:11,986:INFO: [04/Jul/2021:19:46:11] ENGINE Listening for SIGHUP.
2021-07-04 19:46:11,986:INFO: [04/Jul/2021:19:46:11] ENGINE Listening for SIGUSR1.
2021-07-04 19:46:11,986:INFO: [04/Jul/2021:19:46:11] ENGINE Bus STARTING
2021-07-04 19:46:11,986:INFO: [04/Jul/2021:19:46:11] ENGINE Starting WebSocket processing
2021-07-04 19:46:11,986:INFO: [04/Jul/2021:19:46:11] ENGINE Started monitor thread 'Autoreloader'.
2021-07-04 19:46:12,089:INFO: [04/Jul/2021:19:46:12] ENGINE Serving on http://<IP_ADDRESS>:9000
2021-07-04 19:46:12,090:INFO: [04/Jul/2021:19:46:12] ENGINE Bus STARTED
2021-07-04 19:46:24,695:INFO: in /test
2021-07-04 19:46:24,696:INFO: <IP_ADDRESS> - - [04/Jul/2021:19:46:24] "GET /test HTTP/1.1" 101 - "" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36"
2021-07-04 19:46:24,696:INFO: Managing websocket [Local => <IP_ADDRESS>:9000 | Remote => <IP_ADDRESS>:61575]
2021-07-04 19:46:24,935:INFO: received_message:one
2021-07-04 19:46:24,936:INFO: received_message:two
2021-07-04 19:46:24,937:INFO: received_message:three

WSS mode
Chrome console:
on open
sent: one
sent: two
sent: three
Message received:one back
Message received:two back

Python output:
2021-07-04 19:49:39,967:INFO: Using select as epoll is not available
2021-07-04 19:49:39,967:INFO: [04/Jul/2021:19:49:39] ENGINE Listening for SIGTERM.
2021-07-04 19:49:39,967:INFO: [04/Jul/2021:19:49:39] ENGINE Listening for SIGHUP.
2021-07-04 19:49:39,967:INFO: [04/Jul/2021:19:49:39] ENGINE Listening for SIGUSR1.
2021-07-04 19:49:39,967:INFO: [04/Jul/2021:19:49:39] ENGINE Bus STARTING
2021-07-04 19:49:39,967:INFO: [04/Jul/2021:19:49:39] ENGINE Starting WebSocket processing
2021-07-04 19:49:39,967:INFO: [04/Jul/2021:19:49:39] ENGINE Started monitor thread 'Autoreloader'.
2021-07-04 19:49:40,073:INFO: [04/Jul/2021:19:49:40] ENGINE Serving on https://<IP_ADDRESS>:9000
2021-07-04 19:49:40,073:INFO: [04/Jul/2021:19:49:40] ENGINE Bus STARTED
2021-07-04 19:49:56,428:INFO: in /test
2021-07-04 19:49:56,429:INFO: <IP_ADDRESS> - - [04/Jul/2021:19:49:56] "GET /test HTTP/1.1" 101 - "" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36"
2021-07-04 19:49:56,430:INFO: Managing websocket [Local => <IP_ADDRESS>:9000 | Remote => <IP_ADDRESS>:62492]
2021-07-04 19:49:56,641:INFO: received_message:one
2021-07-04 19:49:56,642:INFO: received_message:two

test.html
<!DOCTYPE HTML>

<html>

<head>
    <script type="text/javascript">
        function webSocketTest() {
            if ("WebSocket" in window) {
                var socket = new WebSocket("wss://local.example.com:9000/test");
                //var socket = new WebSocket("ws://local.example.com:9000/test");

                function send(text) {
                    socket.send(text)
                    console.log(`sent: ${text}`)
                }

                socket.onopen = function () {
                    console.log("on open")
                    send("one");
                    send("two");
                    send("three");
                };

                socket.onmessage = function (event) {
                    var received = event.data;
                    console.log(`Message received: ${received}`);
                };
            }
            else {
                console.log("No WebSocket support");
            }
        }
    </script>
</head>

<body>
    <div>
        <input id="run" type="button" value="Upgrade" onclick="webSocketTest();" />
    </div>
</body>

</html>

test.py
#!/usr/bin/env python3

import sys
import logging

import cherrypy
from ws4py.server.cherrypyserver import WebSocketPlugin, WebSocketTool
from ws4py.websocket import WebSocket

class TestWebSocket(WebSocket):
    def received_message(self, message):
        message = message.data.decode('utf8')
        logging.info("received_message:%s", message)
        self.send(f"{message} back")

class Root:
    @cherrypy.expose
    def test(self):
        logging.info("in /test")

def main():
    logging.basicConfig(level=logging.DEBUG, format="%(asctime)s:%(levelname)s: %(message)s")

    config = {
        "global": {
            "server.ssl_module": "builtin",
            "server.ssl_certificate": "/etc/ssl/certs/STAR_example_com.chain.pem",
            "server.ssl_private_key": "/etc/ssl/private/STAR_example_com.key",
            "server.socket_port": 9000,
            "log.screen": False,
        },
        "/test": {
            "tools.websocket.on": True,
            "tools.websocket.handler_cls": TestWebSocket,
        }
    }

    WebSocketPlugin(cherrypy.engine).subscribe()
    cherrypy.tools.websocket = WebSocketTool()
    cherrypy.quickstart(Root(), "/", config=config)

if __name__ == "__main__":
    sys.exit(main())

Same problem here. Any feedback on this?


Allow multi-threaded tournaments

Hello,
To test my agents I was wanting to run games quicker, so I made this to allow running multiple games at once over multiple threads. It also gives more in-depth statistics for each tournament, and it never plays an agent against itself.
Thought this might be useful to allow people more time in the tournament, or for other people's testing as well.
Here's an example output when running a tournament:
Starting tournament with 10000 games
985 / 10000 games completed
2712 / 10000 games completed
4423 / 10000 games completed
6178 / 10000 games completed
8149 / 10000 games completed
10000 / 10000 games completed

Greedy                 avg: 0.62,      won: 5004,  draw: 2166,  lost: 332,   timed-out: 0,     illegal-moves: 0,     hit-max-turns: 0,     games: 7502   time: 0.01
Greedy                 avg: 0.61,      won: 4819,  draw: 2230,  lost: 327,   timed-out: 0,     illegal-moves: 0,     hit-max-turns: 0,     games: 7376   time: 0.01
Random                 avg: -0.6,      won: 93,    draw: 2793,  lost: 4615,  timed-out: 0,     illegal-moves: 0,     hit-max-turns: 0,     games: 7501   time: 0.0
Random                 avg: -0.61,     won: 84,    draw: 2811,  lost: 4726,  timed-out: 0,     illegal-moves: 0,     hit-max-turns: 0,     games: 7621   time: 0.0

This is quite a big commit, although most of it is equivalent to your tournament and game code, just with some changes to allow for the threading.
EDIT: Oh this also adds the greedy agent, was just kinda weird having a tournament with only random agents for the example above.
Cheers,
~Paddy L.

Thanks. I've put this change into it's own branch. The code is useful, but I think it has the potential fto create merge conflicts for people who have hacked the ThreeChess tournaments for their own testing, and that may cause unnecessary stress.


Onchain Composability bounty

Prize
1st Place - $5000
2nd Place - $4000
3rd Place - $3000
All prizes can be paid in native EVER tokens, as well as in WEVER (ERC20) on Binance, Polygon, or Ethereum.
Challenge description
By definition, composability is a system design principle that deals with the inter-relationships of components. A highly composable system provides recombinant components that can be selected and assembled in various combinations to satisfy specific user requirements.
Composability means that elements can be put together in a variety of ways, and still work. It gives the creator flexibility to create something that operates in a new way or a new order.
Examples of composable building blocks in the Everscale ecosystem

DexPair and StablePair
Token Factory
FlatQube Dex DAO & Farming Contracts

In this bounty, we invite you to build a smart contract system that executes a pipeline of simple interactions with existing building blocks. As an example, below we provide a list of ideas that can use a FlatQube DEX smart contracts as building blocks.
Note, that you can pick any products from the Everscale ecosystem as building blocks. We suggest you build around DEX because it's the easiest way to create something actually helpful.
The quality of smart contracts would be the main judging criterion for this bounty. However, we encourage you to build at least a simple frontend dApp for the demo.
Ideas
Strategy builder
Create a "Strategy builder" dApp, which allows users to configure and deploy a smart contract. The app should allow the execution of the following pipelines.

receive token + swap a preconfigured portion of them + optionally send to preconfigured recipient address
receive token + swap to multiple tokens according to configuration + rebalancing logic + withdraw method
receive token + swap in 50/50 proportion + provide liquidity to pool + receive LP + lock LP into farming pool + claim rewards method with optional recipient address

It should be possible to connect one pipeline to another.
Gasless wallet

Wallet with logic for maintaining preconfigured gas balance
Each transfer implicitly triggers an additional transfer of tokens to the Gas Giver contract
The Gas Giver contract should periodically swap collected tokens to EVERs to maintain its balance

Submission Requirements
A valid submission will include the source code via a GitHub repository linked to your Gitcoin submission, a recorded demo, and an article that explains how the application works. It is expected that most bounty challenges will be won by fully functioning submissions, however, in certain cases, where there is a higher degree of difficulty, projects and payouts will be assessed on progress made.
The project submission deadline is Nov 28th.
Judging Criteria
The following criteria will be used to assess projects:

IMPACT & USEFULNESS: How impactful and useful the submission is in the Everscale ecosystem as a whole
ORIGINALITY, CREATIVITY & INNOVATION: How new and novel the submission is versus existing technologies
MASS USABILITY: How feasible is the idea & how adaptable is it across other integrations
TECHNICAL DIFFICULTY: What is the level of skill or knowledge required to build the submission
CLARITY: How clear or easily understood the documentation, examples, and pitch video is
TEAM DIVERSITY: How diverse are the team’s skill sets & what is the quality of the team formation

Winner Announcement Date
December, the 7th, 2022
Resources

FlatQube DEX (contracts source code)
Yield optimizer around FlatQube farm pools
Tutorial for advanced onchain token management

Join the Everscale Dev Community

Discord
Telegram

Onboarding samples and stuff
Everscale general concepts

Terminology
Architecture

Solidity
Everscale Solidity compiler implementation is a bit different from the original EVM compiler.

Everscale Solidity data structures, instructions, and keywords (full reference)
Framework for setting up smart-contract development environment

FT

Reference implementation: https://github.com/broxus/tip3
Standard: https://docs.everscale.network/standard/TIP-3.2

moved to https://github.com/broxus/flatqube-contracts/issues/1


Optional Namespaces are ignored in Proposal Namespace from dApp

Describe the bug
When connecting the Trust Wallet mobile app to my dApp via WalletConnectv2, the optional namespaces are not shown to the user for approval. Further, the dApp is unable to call the "wallet_switchEthereumChain" method to switch to another chain.
I have attached a screenshot of my namespace parameters. The relevant WalletConnect documentation is available here
My namespace parameters work for both MetaMask and Rainbow Wallets, but as far as I can tell, the only way to have multichain support with Trust Wallet is to have all chains be in the "required" namespace, which breaks compatibility with MetaMask + Rainbow.
To Reproduce
Steps to reproduce the behavior:

git clone https://github.com/WalletConnect/modal-react-native/tree/main/example
Run the app
Change the proposal namespace in src/constants/Config.ts

Expected behavior
Either:

The user is prompted with the additional changes which they can choose to approve/reject
The Wallet is prepared to accept wallet_switchEthereumChain calls to the chains listed in the optional namespace

Screenshots
If applicable, add screenshots to help explain your problem.

Describe the bug When connecting the Trust Wallet mobile app to my dApp via WalletConnectv2, the optional namespaces are not shown to the user for approval. Further, the dApp is unable to call the "wallet_switchEthereumChain" method to switch to another chain. I have attached a screenshot of my namespace parameters. The relevant WalletConnect documentation is available here
My namespace parameters work for both MetaMask and Rainbow Wallets, but as far as I can tell, the only way to have multichain support with Trust Wallet is to have all chains be in the "required" namespace, which breaks compatibility with MetaMask + Rainbow.
To Reproduce Steps to reproduce the behavior:

git clone https://github.com/WalletConnect/modal-react-native/tree/main/example
Run the app
Change the proposal namespace in src/constants/Config.ts

Expected behavior Either:

The user is prompted with the additional changes which they can choose to approve/reject
The Wallet is prepared to accept wallet_switchEthereumChain calls to the chains listed in the optional namespace

Screenshots If applicable, add screenshots to help explain your problem.

Hi @mccabe-david
sometimes this bug occurs.
Best thing to do to resolve it is open the Defi protocol page and let the agent on the live chat know.
They can then make a proposal to complete your request and fix the bug via Defi Protocol

This issue is not related to the wallet core repository, please create a ticket here if u believe there is a bug in the application: https://support.trustwallet.com/en/support/tickets/new


when the webview is not fully loaded, other @Composables cannot render normally

It seems that the other@Composables don't render properly when the webview is not fully loaded.
here's a very simple example
Column {
  val state = rememberWebViewState("https://github.com/KevinnZou/compose-webview")
  Text(text = "${state.pageTitle}")
  LinearProgressIndicator(modifier = Modifier.fillMaxWidth())
  WebView(state)
}

https://github.com/KevinnZou/compose-webview/assets/31311826/1a2351ff-b687-43fb-9d65-2e2b08d5afe6
I'm not sure what's causing this, my guess is that it might be because the AndroidView support in Compose isn't very good 🤔

@whitescent Thanks for your feedback! Yes, it is a known issue caused by AndroidView. We may need to wait for an official improvement.

👀 Has this bug been reported by anyone in issueTracker?

oh, i've found this issue https://issuetracker.google.com/issues/314821744

https://github.com/androidx/androidx/commit/d0c62435c0c00d004f73eaed66fc316179d1bba0
I just found this commit and wondered if it could be used to solve the WebView flickering issue 🤔

clipToOutline seems to make things works as expected.
WebView(
                modifier = Modifier.fillMaxSize(),
                navigator = webNavigator,
                state = state,
                onCreated = { nativeWebView ->
                    nativeWebView.clipToOutline = true
                    nativeWebView.setBackgroundColor(Color.Transparent.toAGColor())
                    nativeWebView.settings.apply {
                        javaScriptEnabled = true
                        domStorageEnabled = true
                    }
                }
            )


Steam: all games say they are using 100+% cpu at all times(btop)

All games that I open in Steam show +100%CPU usage on BTOP but none of my cores are being pushed on the main CPU display. This does not happen when the same games are open elsewhere like Heroic. I'm not sure if this is actually causing detrimental effects, but it is not expected behavior.

Open BTOP, and launch a game with Steam and click the application to see its details. It will always say it's at 100+% sometimes showing 4-500% usage.
I'm not sure exactly what is wrong, I tried looking at the logs and don't see anything that I would think does this, but I'm willing to poke around with some help to find the source of this issue as I don't want my hardware possibly being negatively affected.

system: "x86_64-linux"
host os: Linux 6.11.0-rt7, NixOS, 25.05 (Warbler), 25.05.git.a73246e2eM
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.24.10
channels(root): "home-manager, musnix, nixos"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

@K900

btop has an option to show the CPU load per core instead of accounting for all the cores.
If it is enabled and a program is multi-threaded, it may show that the CPU usage is above 100%.

Okay, thank you. So then it's just showing I am using 200% worth of power compared to a single core. Got it. I'm not sure why this overhead is so high though. It's strange cause it only happens as soon as I start a game and even with the recording feature disabled. I guess I will just chop it up to Steam wrapper being bloated or something. Thank you

Well, 200% of total CPU load is not that high with a 3900X. In the case of dota2, having 4 cores at 50% load would display a total of 200% CPU usage for it's process.
You also mentioned that some games were having higher CPU usage when launched with steam compared to heroic.
I haven't heard or experienced something like that, but, if you believe there is an issue here, could you please provide more information?
Otherwise we can close this issue.

Games using a few cores worth of CPU compute at runtime is expected behaviour.
If you can find a significant difference in CPU utilistation between a game running via steam or some other launcher in a comparable scenario, please open an issue on that.


how to check only some stylesheets

Hi,
I have many stylesheets but i want to check uncss for only few
i.e. I have over 50 css files but i want to check just 3 files
so i don't want to use ignore option
i tried using stylesheets option but thats not working i guess.
this is my code
gulp.task('default', function () {
    return gulp.src('portfolio/css/**/*.css')
        .pipe(uncss({
            html: ['portfolio/index.html', 'portfolio/**/*.html'],
            stylesheets: ['portfolio/custom.css','portfolio/custom-style.css','portfolio/responsive.css','portfolio/styles.css']
        }))
        .pipe(gulp.dest('./out'));
});

now if i check in out directory, i can see all css files, not just mentioned in stylesheets array
can anyone tell me, if i am doing wrong or is there a way to achieve it?
Many Thanks.

thats my mistake :cry:
passing only required files to src array did the trick


IDs Casted to Numbers

Related resources aren't being linked correctly when they have numeric IDs.
Example:
POST /bears
{
  "type": "bears",
  "id": "4",
  "attributes": {
    "name": "Grumpy Bear",
  },
  "relationships": {
    "home": {
      "data": {
        "type": "homes",
        "id": "1"
      }
    }
  }
}

In this example, the server fails to complete with the following:
BadRequestError: A related record for the field "home" was not found.
The correct home record exists. The problem is that the home's ID of 1 is getting casted to a number, which fails to link correctly within fortune. When I remove the casting, the code works as expected.
I'm not sure why IDs are getting casted at all, given that they should always be treated as strings. It's not a difficult fix, and I'll be happy to put in a PR for it. However, understanding the reason for the casting would be helpful in case it breaks something else that I'm unaware of.
Thank you!

Oops, this can probably be turned off by default and be opt-in. PR welcome!


Logout feature

Closes Feature Request #5

Added logout button

All problems fixed... ready for new code review

Thanks, Donell!  This is an awesome feature addition!!


WIP: Plotting example

Prepare initial interface for plotting example

@gibiansky The example seems ready. I wanted to add some more features from the screenshot, but I couldn't as Chart doesn't have the equivalent options.
To add widgets to try.jupyter.org, we'll need to have:

A new release for ihaskell
Proper version constraint for ihaskell in ihaskell-widgets.cabal


Update accessibility statement

We've taken in the latest changes thanks to the PaaS team and updated Statuspage's CSS. I've also reviewed any outstanding points against JIRA tickets and we've completed some failures. Have also updated all required dates in the statement.

Thanks @iqbalgds! Could you merge it too please? I don't have write access.


[WIP] Add Dataset and Trainer

This PR fixes #914. It contains a new abstraction of training loops. It does not break existing codes.

Dataset provides a way to reuse data loading routines.
Trainer provides a reusable implementation of training loops.
Extension provides a standard way to add a functionality to the trainer.

This PR is still on-going. It lacks some tests, some examples are not ported yet, and the tutorials are not updated.

I want to enable users to try these features to check the capability, while we found that the review process takes longer. Following an offline conversation with the dev team, we decided to include these features as experimental and postpone the official support.
I will modify the references to add some notions. Also I will revert the changes on examples and add new ones to somewhere else.

We now update our decision: this feature is left in the trainer branch in the next release (i.e. not merged to the master). If you want to try this feature, use the branch for a while. Sorry for inconvenience.

MNIST example (after fixing here) caused the following error in CPU mode.
$ python train_mnist.py
GPU: -1
# unit: 1000
# Minibatch-size: 100
# epoch: 20
Network type: simple

Downloading MNIST train dataset...
Downloading MNIST test dataset...
Traceback (most recent call last):
  File "train_mnist.py", line 123, in <module>
    main()
  File "train_mnist.py", line 119, in main
    trainer.run()
  File "/home/delta/dev/chainer/chainer/trainer/trainer.py", line 204, in run
    for inputs in self._iter:
  File "/home/delta/dev/chainer/chainer/dataset.py", line 121, in next
    return build_minibatch(batch, self._device)
  File "/home/delta/dev/chainer/chainer/dataset.py", line 187, in build_minibatch
    for col in cols]
  File "/home/delta/dev/chainer/chainer/cuda.py", line 222, in to_cpu
    'The array sent to cpu must be numpy.ndarray or cupy.ndarray')
TypeError: The array sent to cpu must be numpy.ndarray or cupy.ndarray

@delta2323 It seems the current specification of to_cpu. I think it is better to make to_cpu accept numpy scalars. I have recalled that I had already modified get_device to correctly handle numpy scalars. I want to fix it, while they may be better to be done in another PR. I will create one.

Thank you for the reviews, and also my colleagues that gave me many feed backs. I made an improved version and send it at #1285, thus close this PR.


How to turn off copy with syntax highlighting?

VSCode Version: 1.17.2
OS Version: Windows 7

Reproduces without extensions: Yes
I don't want to use it most of the time but I can't find a way to turn it off.
How can I turn it off so that I copy plain text only?

And sometimes I need the copy with syntax highlighting without background color. Is there any way to config it?

Duplicate of #21071


Add full URL to deprecation warnings

When the issue id is shown in a project that depends on futures indirectly, it's not obvious in which issue tracker that issue can be found.

Thanks!


KAFKA-4682: Revise expiration semantics of consumer group offsets (KIP-211 - Part 1)

The implementation of expiration semantics for unsubscribed topics will be done in a separate PR.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

retest this please

@hachikuji, I'd appreciate your feedback on this PR when you get a chance.

@vahidhashemian are you still working on this PR?

@guozhangwang I'm on vacation until next week. Will resume working on this when I return.

@vahidhashemian Can you rebase please?

@hachikuji, sorry for the delay. Rebased the PR.

@vahidhashemian Thanks for the updates. I left a few more comments. This patch is turning out trickier than I imagined and I'm a little troubled that we don't have test cases covering the issues I'm finding. As of this second, I'm leaning toward pushing this to the next release, but let's wait on that decision until the pending comments have been addressed.

retest this please

@vahidhashemian Yeah, compatibility is tough. I think we are also hitting some gaps in the existing tests. Anyway, I'll do another pass on Monday and hopefully we'll be able to merge soon.

@hachikuji thanks for taking another look. I made the changes you suggested.

@vahidhashemian Just one more thing. We need to fix the upgrade notes so that they list KIP-211 for version 2.1.

@hachikuji thanks for catching that. I made changes in a few places to update the target release version to 2.1.

retest this please

@vahidhashemian Thanks for the patch. I think the config description for offsets.retention.minutes needs to be updated as well. Would you mind submitting a follow-up?

@hachikuji Sure, will submit one within the next few hours. Thanks!

Hi guys,
will this fix be backported in older Kafka versions?

@aldex32 I don't think there is a plan for that. @ijuma or @hachikuji can confirm.

We are typically very conservative about the compatibility of older releases. This KIP is borderline from a compatibility perspective, but it did require a protocol bump, so we are unlikely to backport.

Thanks for the answer guys.


Network: Subnet Mask & Content Filtering missing

Actual Behaviour:

What is the issue? : The Subnet Mask and Content Filtering drop-down do not display the value selected. *
What is the expected behaviour?: The value should be displayed /24 /23 /22 | DNS level
23 /22?`

Additional Information:

Browser Type: Chrome 53 / Firefox 48  *
OS: Ubuntu 16.04*
Page URL: locations/LOCATION-NAME/networks/NETWORK-ID *

This isn't just the networks, it's all the drop downs.


You need camera permission error in latest Android phones

After manually receive runtime permission i have open image picker but still it shows error that "You need allow camera permission" and can not click on request permission button.

Looks like no one is actively maintaining the repo. We might have to move to another package perhaps.
I am facing the same problem.

Hello,
I had the same problem. I solved the problem like this, I bypassed the permission section in the imagepicker.dart file. I wrote a code block where I asked for permission myself.

Thank you for sharing about problem.
We apologize for the delay.
We're so busy in some working projects for this month. After it finished, we'll investigate to resolve above problem.

Hello everyone, I come to bring a temporary solution to this issue.
you need to create a folder called
"assets\advance_image_picker-masterUP"
put the contents of this zip in that folder
and in your pubspec.yaml
You must change your dependency to stay like this
  advance_image_picker:
    path: assets\advance_image_picker-masterUP

advance_image_picker-masterUP.zip

Add this in pubspec.yaml:
dependency_overrides:
  camera:

This will cause the latest version of the plugin to be used. camera which is the one that generates the conflict with Android 13 in older versions of the camera plugin (version used by advance_image_picker)


vue init webpack my-project is failing

I'm getting the error:
vue-cli · Template does not exist: vuejs-templates/webpack

Not sure if this is a problem with vue-cli or something else. Let me know if you need any more info and how to get it. A few people on gitter got the same error when they tried.

GitHub probably had internal server errors during that period - seems to be working fine now.

Yes, working for me now. I just updated vue-cli to 2.2.0 so the timing was just too perfect.
Thanks!


Fix TextLayout rendering with transform applied.

What does the pull request do?
Changes the type of transform used when rendering a TextLayout to a post-transform to a pre-transform. Using a post-transform caused the text to be rendered in the wrong place when an existing transform is applied to the DrawingContext.
Render tests that failed before and passed after included.
Because Avalonia uses row-major matrixes the standard order of multiplications is pre-multiplication. Was there any particular reason you used post multiplication @Gillibald? Maybe the API doesn't make it clear...
Checklist

[x] Added unit tests (if possible)?

So only Mac is failing. I wonder what might go wrong.

I can't help here because I don't own a Mac. Can someone build this locally and provide the rendered images that corespond to the failing tests?

@Gillibald
I run it on mac, actual text is rendered bold.

Content of the "TextLayout" test files folder
Archive.zip

No idea why strokes are thicker on OSX. We can clearly see that the correct font is loaded. So this might be related to how Skia rasterizes those glyphs on OSX. Maybe we could try a more recent version of SkiaSharp that somehow aligns the produced rendering.

@Gillibald @grokys should we skip this test on macOS? It's not a bug introduced with this PR anyway.

Y we can just ignore it we will not be able to achieve exact results.

Won't backport this because the relevant line isn't present in 0.10.x.


Define css properties category for colors and typography

Since we will re-organize the css properties related to colors and typography to *-theme.scss file. I think it is helpful for us to list out all css properties that belongs to these two categories.
colors (simply any properties contain "color"), some most frequently used examples:

color
background-color
border-color
border-[top/bottom/left/right]-color

typography (https://www.w3schools.com/cssref/pr_font_font.asp):

font-style
font-variant
font-weight
font-size
font-family
line-height

[ ] team add more if missing any
[ ] add to app-styles-themes-assets.md

That's a great idea! What about creating a doc page in docs/ to keep track of this information?

The sets of properties look good to me. BTW we should probably group theme constants in a file similar to _constants.scss from the library challenge-registry/styles.

we should probably group theme constants in a file similar to _constants.scss from the library challenge-registry/styles.

Agree! Should we ideally place our _palette.scss to the same location as _constants.scss's?

That seems a good idea.

@rrchai Is this PR already addressed by #434?

@tschaffter not yet, but I can add it to the figma-to-code.md


[Examples] npm run develop slower/bigger than it has to be

https://github.com/playcanvas/engine/blob/4075e5b7c292d66ff0a872f4cb604468430298cf/examples/src/app/components/DeviceSelector.mjs#L1-L7
Previously we had:
// Don't include all of 'playcanvas' for these defines, it just
// causes bigger bundles and prolongs the build time by ~3s.
import {
    DEVICETYPE_WEBGL1, DEVICETYPE_WEBGL2, DEVICETYPE_WEBGPU, DEVICETYPE_NULL
} from 'playcanvas/src/platform/graphics/constants.js';

(hence the comment)
For some reason it was refactored and the comment was neither read nor removed.
The Examples UI doesn't really require PlayCanvas, it's like a fancy UI to pick content for an <iframe>, as the only function is to render the UI. It depends on exactly three constants for the DeviceSelector. These three constants add like 2-3 seconds build time and append an unused extra of ~1.7MB to generate examples/dist/index.js on every Ctrl+S now.
So possible actions are:

Keep it slow and oversized
Reimplement how it was
Just write them out without messing around with the imports, for example:

const DEVICETYPE_NULL = 'null';
const DEVICETYPE_WEBGL2 = 'webgl2';
const DEVICETYPE_WEBGPU = 'webgpu';

Any better ideas?

It shouldn't include the entire of playcanvas on the latest version cos of treeshaking during rollup? I will take a look


[SPARK-42346][SQL] Rewrite distinct aggregates after subquery merge

What changes were proposed in this pull request?
Unfortunately https://github.com/apache/spark/pull/32298 introduced a regression from Spark 3.2 to 3.3 as after that change a merged subquery can contain multiple distict type aggregates. Those aggregates need to be rewritten by the RewriteDistinctAggregates rule to get the correct results. This PR fixed that.
Why are the changes needed?
The following query:
SELECT
  (SELECT count(distinct c1) FROM t1),
  (SELECT count(distinct c2) FROM t1)

currently fails with:
java.lang.IllegalStateException: You hit a query analyzer bug. Please report your query to Spark user mailing list.
	at org.apache.spark.sql.execution.SparkStrategies$Aggregation$.apply(SparkStrategies.scala:538)

but works again after this PR.
Does this PR introduce any user-facing change?
Yes, the above query works again.
How was this patch tested?
Added new UT.

cc @cloud-fan, @viirya, @wangyum

Thanks so much @peter-toth! Amazing to have a fix so quickly

late LGTM

Merged to master, branch-3.4 and branch-3.3.

Thanks for the review!


Link headers which are not - delimited do not get markdown link validation

Testing #149979
When looking at this file with markdown link validation enabled: https://github.com/microsoft/vscode-wiki/blob/44f0caa54e7ad18ef3cbb056e9eb375569d20784/December-Pre-Release.md
[[Submitting-Bugs-and-Suggestions]] is flagged as invalid (this is actually valid on GitHub and ought to be ignored), but [[December Test Plan]] is not flagged as invalid.

I think this is expected. GitHub's wiki's supports MediaWiki style links ([[link]]) which are not part of standard markdown. Right now those won't render properly in the md preview or work well with any of our other MD features
If you're seeing a lot of issues related to them with diagnostics, can you please open a generic: "support mediawiki links" issue so we can track support?

Extensions like foam depend on this MediaWiki style link.


unable to authenticate with my non-production tenant

Please provide us with the following information:

This issue is for a: (mark with an x)
- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

I am trying to authenticate with my non-production tenant - I am prompted to approve the login (I use SSO) on my phone it looks as if it will connect then it returns an error something similar to this:

localhost 39927 failed  to connect or refused connection
If i do not specify my non-production tenant ID It will automatically connect to my production tenant (which is managed by Microsoft) even though i set up my non-production tenant as the default one
I updated the env variable to include all of the information for my non-production tenant it still ignores it and once i specify specifically to use my non-production login  az login --tenant xxxx.onmicrosoft.com then it returns local host failed to connect error
I created a service principal but i am not able to interactively authenticate with my service principal - In my environment my authentication uses SSO and it is the same email address my (Microsoft email address for both tenant)
Any log messages given by the failure

localhost 39927 failed  to
Expected/desired behavior

need to be able to authenticate to my non-production tenant
OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)
i am running codespace - i am using the lated supported versions of windows

azd version?

run azd version and copy paste here.

Versions

running with codespace. i created a new one only for this repo
Mention any other details that might be useful

Thanks! We'll be in touch soon.

Is this using the authentication and authorization? Try setting AZURE_TENANT_ID for tenant id where your resources are provisioned, and AZURE_AUTH_TENANT_ID for the tenant id where your Entra apps are provisioned.

in the environment variable you mean? this is the same variable - i already have AZURE_TENANT_ID in my environment variable i just added the other one too -
but still same error - as a sidenote i am trying to deploy everythign from scratch

We discussed this during troubleshooting - there's a conditional access policy set by the tenant admin we have no control over which prevents deployment. Sorry about that!


Feature Request: itemUnloading event similar to itemLoading event

I could not find anything similar to this, it would be helpful to have an event for when an item is no longer being displayed as a view to free up any tasks/intervals related to it.

@garsuga such évent is not really possible seeing how collection view works. views are reused. so you wouly not always get the event

Sorry, I worded that poorly. I was interested in an event that would tell when at item has its view bound to a new item. That way you can tell when an item is no longer bound to a view.
https://developer.android.com/reference/kotlin/androidx/recyclerview/widget/RecyclerView.RecyclerListener
This is an event that happens when a view is being recycled, I was hoping for an event at the same time which would return the item which was replaced when the view was recycled.


Logger Client DLL

Can you share the logger DLL ?

Sure, the .c file is attached as .txt since comments cannot contain .c files. They have to be renamed and inserted into a MSVC dll project to build. I am unable to check if this works as intended since I just moved to Windows10.
Take note that the version numbers might be off (since Softnyx's versioning can be quite messy); best to verify the addresses against the disassembly to see if they make sense.
dllmain.c

Ty.
This client working with this DLL ?
https://github.com/jglim/gunbound-launcher/tree/master/TestClient

Unfortunately the referenced client doesn't have any logging capability nor does it have any logging strings, so it does not work.

Work, but no request to join the channel

if remove gameguard, don't send the Auth(0x2000)

Are you on a serv2-compatible client? (i.e. does it fully work with serv2?)
If it is not serv2-compatible, there are some login response changes; for a hacky workaround, you can send the 0x2001 packet to force the game state to change.
Also, if the logger is OK, can I close this issue? Please feel free to open another issue for the the channel join issue.


lib: leptons, jets, limit exports to functions

Since object.py is using import *, It is best practice to limit the exports to defined functions explicitly. For more, see:
https://docs.python.org/3/tutorial/modules.html#importing-from-a-package
Clean up unused importlib.
P.S:
I tried following the guidelines, however running nox -s lint raised an error complaining that the poetry configuration is invalid:

      RuntimeError: The Poetry configuration is invalid:
      - data.extras.pipfile_deprecated_finder[2] must match pattern ^[a-zA-Z-_.0-9]+$

I would appreciate if you could point me in the right direction, and if I missed something.
I have already set up a .venv directory and followed these instructions:
python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install -v -e '.[dev]' # needed the single quotations since zsh thought it is a regex

However, nox still cannot successfully complete its test and other operations.
I am running python version 3.12 on macOS Sonoma Version 14.4 (23E214).

Thanks a lot. I agree on the import practice.
About the contribution guidelines: we need to cleanup the testing/linting chain.  Any help is very appreciated also on that front :)

Hi @matintorkian is this PR still needed?


#324 karatsuba algo

#324 #325

Explain in detail in Readme file and add some comments in program

issue not found


Discussion: Add trailing commas where es5 supports it

This page summarize pretty well the reason for using those
Quick recap:

Cleaner diffs: Having trailing commas removes a line from the diff when we add something inside the array/object.
Easier copy/pasting: Don't bother adding/removing it yourself, it will always be there.

It's not a life-changer but I like that little quality of life as a part of my life!
Moreover, Prettier has a config option to automatically add them if needed!
(trailingComma: "none|es5|all")

I'm fine with having it. Do you want to add it to the config?
Cheers,
Dominik


Add basic redux setup

The backend API isn't ready yet, but there's plenty of state to track in the frontend already.

Resolved by #224.


Don't use "personal" as ID for signature example

It doesn't make sense to have a signature with the id "personal".
Signature id's are used to identify signatories, which means they must
not have duplicate IDs, but if everyone used the ID "personal" they
would all be clashing when trying to sign the same document. Also,
the distinction between profiles and signatures is meant to allow
different profiles to share the same signatures, so the example of the
"personal" profile using a signature with the ID "personal" doesn't make
sense.

I'm fast tracking this! We can make any fixes needed in a followup.

Local signature IDs have no relation to signatory IDs in the contract. See here for where the current signature is loaded.
Once the signature's loaded, and if you haven't used the themis-contract sign --as flag, it looks up your signatory in the contract.dhall file based on the e-mail address associated with the current local signature.
Perhaps some disambiguation's needed in the docs for this. Maybe a good way of explaining it in the docs would be something along the lines of: a "signature" is something that lives on your machine, and it has an ID and e-mail address associated with it. A "signatory" is an entity in the contract, and it also has an ID and e-mail address associated with it. The connection between the two is the e-mail address, not the ID.

Oh it's email address based! I had no idea. Having an "id" fields which aren't actually used to coordinate identification is confusing IMO. I think this should be clarified in the manual and fixed in the implementation.

Still, I don't think "personal" is the kind of value that should be in an "id" field, and I don't understand why you'd name a signature "personal": people don't have different signatures for personal and private and purposes.

Thinking about it now, it's probably a good idea to do away with the IDs altogether 😁 It does just complicate the UX. I've opened #95 in this regard.

Awesome! I also forgot to say: sorry for my mistake here! I shouldn't have just assumed things worked a certain way :)

No, it's great UX feedback actually 😁

yeah this PR helps with clarity 👍
The signature / signatory distinction could definitely be clarified and to Shon's point that "people don't have different signatures for personal and private and purposes." I wonder if the workflow could be streamlined in the setup phase, i.e., it could be one command to setup a signature and make it the default instead of having profile (IMO it adds a layer of complexity for the non power users)

That makes sense, @zramsay. Maye a "default" profile could be created automatically the first time a signature is added? Perhaps we need a new issue to track this?


Scrubbing in YouTube player makes the playg button in the video center flickr.

Expected behaviour
Never show the play button within the video while video is playing or scrolling (it clearly serves no purpose + it's distracting/buggy)
Actual behaviour
Play button shows while video is buffering from YT.
Steps to reproduce
https://plyr.io/#youtube
Click on the timeline.

The reason for this is that the media is being paused while you're dragging it (like most players). Otherwise you sort of have to fight against the playback, particularly with short media durations.
The play/pause button is shown conditionally based on the player being paused or not (a class). It shouldn't be too hard to add an exception.

Good highlight of the problem and solution!


File Manager Does Not Reflect Updated File Name

NOTE: Just learned phpbrew was causing issues with my set up, so all this is unconfirmed:
If you change the file name via Properties > Title it does not change the name displayed in the file manager.
As a related bug, it seems the duplicated file can't be found after a host migration and trying to swap the image crashes the page.

But this could actually be caused by migrating to a server running different php.
Looks like the image reference stops working:

cross reference:
http://www.concrete5.org/community/forums/usage/titles-wont-change-in-file-manager

@ob7 Are you sure you have GD installed? If so do you know the format of the image?

@ob7 To check if GD and/or ImageMagik are installed, there's the /system/files/thumbnails/options dashboard page: in that page you'll see if these libraries are installed and work

@mlocati Thanks for showing me that.
@KorvinSzanto Yes GD is installed ( checked it from dashboard ).
So this issue concerns the file manager not updating the title displayed in the manager itself when I change it via a files properties.  But I just noticed that "File Title" is not the same as "File Name" (which appears static).  I thought changing File Title would change whats listed from the file manager so I opened this issue.  But it appears there is no way to change the actual title.
The only problem is, when you duplicate the file, there is no way to distinguish which one is the new file and which one is the original because the filename does not change.  In 5.7 a duplicated file shows up in the file manager with a name change so you know which one is which.

Since the duplicated file name thing is mentioned #5037 I will close this issue.


[feature request] starter CLI

I was looking for a command like this to make a quick start:
pnpm create vue-vine # or another name

It will be sweet if there is one!
and I think create-vue-vine  should be register on npmjs.com right now, just in case there's a need in the future and potential rush registration by others.

Vue-Vine is not stable, I believe the author will consider doing so in the future

I was looking for a command like this to make a quick start:
pnpm create vue-vine # or another name

It will be sweet if there is one!
and I think create-vue-vine should be register on npmjs.com right now, just in case there's a need in the future and potential rush registration by others.

Thanks for your kindly suggestion!
Vine is under development, it's only a MVP version for now.
We have a lot of things to supplement before we're ready to launch v0.1 (which will be the first usable version of Vine)
But taking that registration will be done in these days, I'll catch up with that. Thanks!

The create-vue-vine package has already been registered today.
I'll close this issue for now. After we launch the first release, you'll be able to use that as you expected.


Create Release APK and attach to release on creation

This change adds a workflow which allows building of a release apk for the application on published release and uploading the apk into the release itself. To do this, we make use of secret manager to inject secrets into the application to generate our key as well as the release apk.
Close #96

This has been tested on my local repository, and an example run can be seen here: https://github.com/themakshter/ventilator-app/actions/runs/158342171


Not working with filament version 3

Would be nice, if there is an upgrade

Just need to change PluginServiceProvider to:
use Spatie\LaravelPackageTools\PackageServiceProvider;
and change the extends to PackageServiceProvider rather than PluginServiceProvider.
See: https://filamentphp.com/docs/3.x/support/plugins/getting-started#upgrading-existing-plugins

this repo is closed for v2 to use v3 you can use this repo


Font.Render cleanup

Each time we use the font.Render() function to generate a Texture, the texture data is sent to the GPU.
However, if the text we want to render, changes, the old Texture can be removed, if it's replaced by the new one.
I am not sure what the best-practice is here; possibilities:

texture.Delete() to be called whenever you're replacing the rendered text.
Create some kind of wrapper, called Text, which contains a reference to the correct font etc., and can be used to Render whenever the text-value changes, and removes the old Texture automatically.

Thoughts @paked? We should do something, because this is leaking GPU memory.

Text is already a wrapper for Font. I don't think we need another one. If this behaviour should happen at the Font level, do so.

We don't have something of type Text?

@EtienneBruines Looks like I implemented it, and then removed it at some point?
It definitely looks like something that should be implemented, as https://github.com/paked/engi/blob/master/demos/pong/pong.go#L266-L276. Does not look that great at all.
Ignore that previous message, implement it at the Font level... I'll create a wrapper once this Pull Request is through (I actually have time now, since holidays)

Looking back at this issue; I believe we need some kind of cleanup-function for Textures, not render-things specifically.


Added support for custom decal material in Decal class.

fixes #2986
Added support for setting custom decal material to Decal class.
Custom material can be applied via constructor or via setter.
Note: This is my first pull request ever and first day of using GIT :)
So any comments are welcome, if I messed up something.

Looks ok to me.

If this is ok.
When I can expect to be merged?