Staff can view checklist on pets show - tasks tab and interact with it

Blocked by: https://github.com/rubyforgood/pet-rescue/issues/256
As a staff member I can navigate to a pets show page, tasks tab, and see a checklist of items. I can add, edit, delete and mark complete each item.
Acceptance criteria

visible on pets show, tasks tab
allows CRUD of tasks
task can be marked complete, with visual queue
use reasonable dashboard template for this purpose (reach out to team on Slack if you have questions here)

Theme snippets can be gotten from https://geeksui.codescandy.com/geeks/docs/index.html and theme https://geeksui.codescandy.com/geeks/index.html

@kasugaijin  Taking this one unless told otherwise.

found this error when clicking on Task
I am working on resolving this now

found it

@kasugaijin
I've encountered an issue on the pet's show page where clicking on different tabs (Overview, Task, Applications, Files) doesn't toggle visibility between sections; they all remain visible. I've considered two solutions: 1) Using JavaScript to manage tab clicks and toggle visibility, or 2) Utilizing Rails partial views to load the relevant section based on the selected tab dynamically. Do you prefer one of these approaches, or is there another method you'd recommend?

@ErinClaudio
FYI I assigned you to the precursor ticket https://github.com/rubyforgood/pet-rescue/issues/256 yesterday...that's the background for the checklist work. My bad for not commenting and @ing you on there. I thought assigning would notify.
I am thinking this ticket https://github.com/rubyforgood/pet-rescue/issues/242 is the solution to the partials piece.
How do we want to tackle this? My thinking is the work is to be done in this order:
https://github.com/rubyforgood/pet-rescue/issues/242, then
https://github.com/rubyforgood/pet-rescue/issues/256, then
https://github.com/rubyforgood/pet-rescue/issues/257
Thanks!

@kasugaijin Then I will assign myself, start there, and try to work through them. Does that sound reasonable?

Sounds good. Thank you @ErinClaudio

Was also thinking this might be a good layout for tasks
The columns here could be ChecklistTemplates, each card a ChecklistItem, and checked/unchecked are the ChecklistAssignments
https://geeksui.codescandy.com/geeks/pages/dashboard/task-kanban.html


Investigate whole screen wiggling

https://github.com/OnsenUI/OnsenUI/issues/1502

@argelius i don't know the state of this anymore, if you have the time let us check whether this is still happening.


Support private repos

Just been to your argocon talk and this tool is just what I've been missing.
Most of our apps are helm charts stored in a private oci registry so I need a way of adding some creds to the argo install https://argo-cd.readthedocs.io/en/stable/user-guide/private-repositories/
This doesn't look possible so would be a great addition.

Hi @sorrison! :)
Thank you for your interest in the project. This should already be supported as long as you give the tool an ArgoCD secret for accessing the private OCI registry.
You should be able to create a secret similar to how it is shown in this example and mount it under /secrets. Since there are numerous ways to create secrets for ArgoCD, you will need to figure out how the secret should be formatted. If you have kubectl access to your live cluster, I suggest just running kubectl get secrets -n argocd and checking how your live ArgoCD instance currently authenticates with the OCI registry and try to replicate that for the local ArgoCD instance.
I hope this helps. If not, please let me know, and we'll dig deeper into the problem. I may be missing something 🚀

Ahh perfect, I somehow missed that in the docs. Thanks!


TargetSoCNumber is overriding deprecated methods on an instance of NumberEntity

Re-opening (https://github.com/mitch-dc/volkswagen_we_connect_id/issues/35), as fix has not solved the issue
Version of the custom_component

0.0.12
Installation method (hacs / manual)
HACS
Installation method of hass (venv, docker, hassio,...)
Venv
Debug log

Logger: homeassistant.components.number
Source: components/number/__init__.py:220
Integration: Number (documentation, issues)
First occurred: 20 July 2022 at 18:27:24 (2 occurrences)
Last logged: 20 July 2022 at 18:27:24

custom_components.volkswagen_we_connect_id.number::TargetSoCNumber is overriding deprecated methods on an instance of NumberEntity, this is not valid and will be unsupported from Home Assistant 2022.10. Please report it to the custom component author.
custom_components.volkswagen_we_connect_id.number::TargetClimateNumber is overriding deprecated methods on an instance of NumberEntity, this is not valid and will be unsupported from Home Assistant 2022.10. Please report it to the custom component author.

Did you update? I don't have these error logs in the latest version of Hass and integration

Yes, I am using HACS, and it says version v0.0.12

Manifest,Json says 0.6

WeConnect, 0.45

Tracing this, the error comes from homeassistant/components/number/init.py where the following are no longer supported.
                "async_set_value",
                "max_value",
                "min_value",
                "set_value",
                "step",
                "unit_of_measurement",
                "value",

In this interation number.py has a value method.
Not sure what the solution is.


chore: add APIScan field

[x] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).
[x] Title summarizes what is changing.
[ ] Appropriate comments and documentation strings in the code.
[ ] Has sufficient logging.
[ ] Has telemetry for feature-requests.
[ ] Unit tests & system/integration tests are added/updated.
[ ] Test plan is updated as appropriate.
[ ] package-lock.json has been regenerated by running npm install (if dependencies have changed).

@rzhao271 build/test failed


Usage: Internal DB reference in description of VM snapshot on primary

see cmk results below
(localcloud) SBCM5> > list usagerecords type=27 startdate=2021-11-03 enddate=2021-11-03
{
  "count": 82,
  "usagerecord": [
    {
      "account": "admin",
      "accountid": "0e3e52ed-03db-11ec-8879-1e0079000360",
      "description": "VMSnapshot on primary storage usage Id: 1 (2790057b-5a2f-4f90-ae5b-021573d0943d)  for VM L2 (7a25841b-cfac-49ca-90eb-0cb187ba3414) with size (8.00 GB)<PHONE_NUMBER>",
      "domain": "ROOT",
      "domainid": "e5ce2438-03da-11ec-8879-1e0079000360",
      "enddate": "2021-11-03'T'17:11:53+00:00",
      "name": "i-2-1000-VM_VS_20211103170813",
      "rawusage": "0.058435",
      "size":<PHONE_NUMBER>,
      "startdate": "2021-11-03'T'17:08:23+00:00",
      "tags": [],
      "usage": "0.058435 Hrs",
      "usageid": "2790057b-5a2f-4f90-ae5b-021573d0943d",
      "usagetype": 27,
      "virtualmachineid": "7a25841b-cfac-49ca-90eb-0cb187ba3414",
      "zoneid": "59260b3d-f587-4a8c-8c58-182ae3f01679"
    },

...

ISSUE TYPE

Bug Report

COMPONENT NAME

Usage

CLOUDSTACK VERSION

<IP_ADDRESS>

CONFIGURATION

OS / ENVIRONMENT

SUMMARY

STEPS TO REPRODUCE

1. change global settings for usage server , restart cloudstack management and usage server

enable.usage.server = true
usage.stats.job.aggregation.range = 5

2. create vm;
3. create vm snapshot
4. wait for 5-10 minutes, check usagerecord by cmk or cloud_usage.cloud_usage table (usage type=25).

EXPECTED RESULTS

the `description` in cmk result does not contain the usage id.

usage Id (2790057b-5a2f-4f90-ae5b-021573d0943d)

ACTUAL RESULTS

```
usage Id: 1 (2790057b-5a2f-4f90-ae5b-021573d0943d)
```

If possible, please also check the description of all other usage types !

If possible, please also check the description of all other usage types !

I checked the code, the only other place where Id is used Uuid is mentioned as well. I supose this was on purpose and anm leaving it as is.

merged in #5738


Fix relationship between handle_comments & handle_newlines

Opening for visibility
Closes #2790

Closing for now since we will likely come up with a new strategy for handling newlines and comments cc @mitchmindtree


Grid Placement Fix

Fixes the bug where placing grids put them in the wrong spot.
This PR should be able to be merged after https://github.com/space-wizards/space-station-14/pull/340.

@Acruid conflicts.


add universal benchmarks target to Makefile

Goal
The goal of this PR is improve benchmarks target in the Makefile
Closes #1231

@demisx is this needed with #1231 merged?


Consistent naming for mock objects

Description
Consistent naming for mock objects
Type of change

[x] Refactor
[ ] New feature
[ ] Bug fix
[ ] CVE fix
[ ] Optimization
[ ] Documentation Update
[ ] Configuration Update
[ ] Bump-up dependent library

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

Project coverage is 94.57%. Comparing base (4f6f2e6) to head (3af2be6).
Report is 10 commits behind head on main.

Additional details and impacted files

@@           Coverage Diff           @@
##             main     #841   +/-   ##
=======================================
  Coverage   94.57%   94.57%
=======================================
  Files          55       55
  Lines        2009     2009
=======================================
  Hits         1900     1900
  Misses        109      109

/lgtm

/approve


seven segment bikeshedding

bitflags! {
    /// A bit packed structure representing days of the week
    pub struct PunctuationFlags: u8 {
        const DOT_BETWEEN_1_AND_2        = 0b0000_0001;
        const DOT_BETWEEN_2_AND_3        = 0b0000_0010;
        const DOT_BETWEEN_3_AND_4        = 0b0000_0100;
        const DOT_RIGHT_OF_4             = 0b0000_1000;
        const DOTS_COLON                 = 0b0001_0000;
        const APOSTROPHE_BETWEEN_3_AND_4 = 0b0010_0000;
    }
}

These names are.. awkward.  How about something more like one of these
DOT_1_000  or  DOT_1x000  or DOT_8x888
DOT_10_00  or  DOT_10x00
DOT_100_0
DOT_1000_

mod command {
    #![allow(dead_code)]

    pub(crate) const CLEAR_DISPLAY: u8 = 0x76;

    pub(crate) const DECIMAL_CTL: u8 = 0x77;
    pub(crate) const CURSOR_CTL: u8 = 0x79;
    pub(crate) const BRIGHTNESS_CTL: u8 = 0x7A;

    pub(crate) const DIGIT_1_CTL: u8 = 0x7B;
    pub(crate) const DIGIT_2_CTL: u8 = 0x7C;
    pub(crate) const DIGIT_3_CTL: u8 = 0x7D;
    pub(crate) const DIGIT_4_CTL: u8 = 0x7E;

    pub(crate) const BAUD_RATE_CFG: u8 = 0x7F;
    pub(crate) const I2C_ADDR_CFG: u8 = 0x80;

    pub(crate) const FACTORY_RESET: u8 = 0x81;
}

as you commented, this should be an enum with u8 discriminant where each variant also includes arguments like the brighness leel or cursor position. Then you could even serialise it and write in one txn rather than two.

Huh. I tried this. It turns out, you can only explicitly pick discriminant values for an enum where there are no tuple or other complex variants with values - only when they're simple single variants.
https://doc.rust-lang.org/reference/items/enumerations.html#custom-discriminant-values-for-field-less-enumerations
So, uh, scratch that part. You could still use an enum for just the values but it's no different in practice to the constants.


🧑💻: Add Authentication Using Appwrite

Description
Implement authentication functionality in the ML4E project using Appwrite. This will allow users to sign up, log in, and manage their accounts securely within the platform. Authentication is crucial for enabling personalized experiences, such as saving user progress, participating in community features, and more.

Tasks

Set up Appwrite

Install and configure Appwrite on the project server.
Create the required project in the Appwrite console.

Integrate SDK

Install the Appwrite SDK in the Next.js application.
Set up environment variables for Appwrite API credentials.

Authentication Features

Implement sign-up functionality with email and password.
Implement login functionality with email and password.
Add "Forgot Password" feature using Appwrite's recovery API.

Frontend UI

Design a responsive and user-friendly authentication UI.
Include form validation and error handling.

Protected Routes

Implement route protection to restrict access to specific pages for authenticated users only.

Testing

Test authentication flow for edge cases (e.g., invalid credentials, server issues).
Ensure logout functionality works seamlessly.

Resources

Appwrite Documentation
Appwrite GitHub Repository

on it


An error has occurred while uploading 'test.txt' (Code: 000)

Onedrive Business. The authorisation process seems to go OK, but when I try to upload a file I get
An error has occurred while uploading 'test.txt' (Code: 000)
What does that mean?

Did you ever get this sorted? @NeufeldC

i have this problem, any solution? thanks

I have the same problem. I'm checked the rest API document of OneDrive but no idea.


Disable hip_memory.h

Currently device side malloc is not working and takes excessive
device memory.
Disable it for now until a working malloc is implemented.
Change-Id: I1ad908c1c53a83752383b4be96688a848642c699

Should this be combined with #1907 ?

better to use that one


Simplify unit test results for pull requests by using GitHub CLI

Here is an example run for a PR from a fork: https://github.com/jgiannuzzi/publish-unit-test-result-action/runs/2664871818?check_suite_focus=true

I noticed that the indentation style for the YAML snippets in the README was inconsistent, so I attempted to fix that in this PR too. Happy to open a different PR if you prefer.

@jgiannuzzi can you please create another PR from your fork to finally test these changes in my repo?


Add xuqueralumnat.es

Official Website:
https://www.axuquer.es/
IT course:
https://www.axuquer.es/desenrotllament-daplicacions-multiplatafoma/

@AAPastor Please provide us with:

the school official website URL
the school street address, including city and country
an URL of a page on the official website where the school offers an IT-related long-term (>1 year) course
a proof, which shows that the school recognizes the domain you are submitting as an official email domain for the students.

the school official website URL: HOME - Xúquer Centre Educatiu (axuquer.es)https://www.axuquer.es/

the school street address, including city and country: C/ Professor Bernat Montagud, 3 46600 Alzira (Valencia), España (You know, Spain).
https://www.axuquer.es/
HOME - Xúquer Centre Educatiuhttps://www.axuquer.es/
Proyecto W-BEL. Well-being, essential for learning Proyecto TALE: El despertar de sentimientos humanos individuales en historias y cuentos en un contexto multicultural
www.axuquer.es

HOME - Xúquer Centre Educatiuhttps://www.axuquer.es/
Proyecto W-BEL. Well-being, essential for learning Proyecto TALE: El despertar de sentimientos humanos individuales en historias y cuentos en un contexto multicultural
www.axuquer.es



an URL of a page on the official website where the school offers an IT-related long-term (>1 year) course: Desenrotllament d'Aplicacions Multiplataforma + Especialista en Big Data i Data Science - Xúquer Centre Educatiu (axuquer.es)https://www.axuquer.es/desenrotllament-daplicacions-multiplatafoma/
[https://axuquer.floridawp.florida.es/wp-content/uploads/sites/28/2021/04/logo-gva-color-1.png]https://www.axuquer.es/desenrotllament-daplicacions-multiplatafoma/
Desenrotllament d'Aplicacions Multiplataforma + Especialista en Big Data i Data Science - Xúquer Centre Educatiuhttps://www.axuquer.es/desenrotllament-daplicacions-multiplatafoma/
DESENROTLLAMENT D’APLICACIONS MULTIPLATAFORMA + Especialista en Big Data i Data Science Cicle Formatiu Oficial de Grau Superior
www.axuquer.es

a proof, which shows that the school recognizes the domain you are submitting as an official email domain for the students.: For this one, I will upload a photo of our school moodle.
As you can see down in the photo, the student email is @xuqueralumnat.es . Also, you can see this is a "Florida" website, because our school is from the same group.

De: Philip Torchinsky @.>
Enviado: martes, 28 de marzo de 2023 14:14
Para: JetBrains/swot @.>
Cc: ALEX PASTOR SALES @.>; Mention @.>
Asunto: Re: [JetBrains/swot] Add xuqueralumnat.es (PR #17015)
@AAPastorhttps://github.com/AAPastor Please provide us with:

the school official website URL
the school street address, including city and country
an URL of a page on the official website where the school offers an IT-related long-term (>1 year) course
a proof, which shows that the school recognizes the domain you are submitting as an official email domain for the students.

—
Reply to this email directly, view it on GitHubhttps://github.com/JetBrains/swot/pull/17015#issuecomment-1486771408, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A3GIU7TDLQBSFPZZYHPYIKDW6LI4FANCNFSM6AAAAAAWE6CZQQ.
You are receiving this because you were mentioned.Message ID: @.***>

@AAPastor  Thank you for the clarifications. Pull request merged.


[FEATURE]

Hi,
Is there a way to save the chat histories in Flowise interactions?
Also, is there a way to see the full code that the visual builder is creating behind the scenes?
Thanks!

chat histories coming from embedded chat or API?
exporting full code is on the roadmap

Hi Henry,
Great news about code exports being on the roadmap.
In terms of saving the chat histories, in an ideal world, I'd like to save each user question and chatbot response per session in a text or csv file that would be stored in my Github repository or in Google Drive.
Additionally, I wonder if you know of a way to require the user to provide full name and email address prior to asking questions.
Thanks!

Henry,
I'm also curious if there is a way to host the chat widgets in a live hosting environment so that the active state isn't dependent upon being served by my localhost.
Thanks again!

here's the docs on deployment - https://docs.flowiseai.com/deployment
as for saving chat messages, we will enable this feature soon.
for require the user to provide full name and email address prior to asking questions, this will have to implemented on your front end application

Thanks!

here's the docs on deployment - https://docs.flowiseai.com/deployment
as for saving chat messages, we will enable this feature soon.
for require the user to provide full name and email address prior to asking questions, this will have to implemented on your front end application

hey @HenryHengZJ  Can You elaborate more on this feature I would like to work on it. Currently, I am working on #374

thanks @govind-kumarr for the volunteer! I've started working on this 😅

Hi, I'm just curious when you think that this might be completed? Thanks!

I also need the embedded chat to save the chat history, after refreshing the page or jumping to other sub-pages the chat history is lost, there is a bad experience

for require the user to provide full name and email address prior to asking questions, this will have to implemented on your front end application

What files would I need to access in the repository to make the required changes?
Thanks!

Hi, I'm just curious when you think that this might be completed? Thanks!

we are estimating around 1-2 weeks. As we also want to include features where you can export the conversations and where they are coming from.
for the full name and email address we are not providing this feature atm, if you are using Flowise as API, you will have to implement on your front end application

Hi @HenryHengZJ ,
That sounds great and thanks for updating me!
Would you please tell me which files I'd need to edit to add the name and email fields on the front end? I'm new to typescript...
Thanks again!

Hi, I went thru the docs and if you enable Zep Memory, then your flow will save the chat history using the sessionId.
https://docs.flowiseai.com/memory/zep-memory

yeah for now you can retrieve chat history if you are using Long Term memory like Zep/Motorhead etc. Chat histories are stored on their side. For Flowise, we have to retrieve and display them.
As it gets more complicated when the chatflow is using different memory, different sessions, and chat messages can come from API/embed/UI, its taking longer than expected to implement the feature

Thanks for the update, @HenryHengZJ !

I think Zep, might have solved a bigger aspect of this issue

Hi @HenryHengZJ
Great news!
In my dreams, I would like to embed a chatbot in website and be able to collect session's histories through an API. Best

Hi @HenryHengZJ,
Reading into this chain and was wondering if there is a solution for this. I'd love to be able to see all the transcripts on my embed chats, it would be really useful. Do you have any updates?

zep memory  does this


ACDC clean up

It seems there are a lot of workflows in ACDC is not cleaned up.
fabozzi_Run2016G-v1-JetHT-22Feb2017_8020_170222_161732_4892_d4821cc4-0fb1-11e7-8b39-02163e00f196
amaltaro_Run2016B-v2-DoubleEG-07Aug17_ver2_8029_170920_092605_5698_a7ff971e-a9a6-11e7-ab10-02163e00f196
Need to identify old workflow and clean up. Also find out why clean up thread didn't clean up these.

From the name, these are non-standard Resubmission workflows. Maybe there is something missing regarding recovery workflows.

That is the collection name which is original workflows.  Weird thing is the workflow name itself is not standard.

It's not standard because it's created from the recovery script (which generates a hash to append to the request name). Same for the collection name, you'll see it's off from the usual workflowName/taskName pattern.


Add role hierarchy in PostgreSQL Role properties

Is your feature request related to a problem? Please describe.
Currently we need to open 2 more tabs in order to view a nested role.
It gets more hectic when there are several nested roles under a user/role.
Describe the solution you'd like
Please include nested role hierarchy in the same "Roles" tab (which can be expanded/collapsed/navigate to) in the same tab :
Role A
--Role B
----Role C
----Role D

Thanks for the idea.


Connect States in Overview

instead of

States should be connected to better see which are the same:

Prototype: https://jsfiddle.net/963gckwb/51/

Sketch:

https://eliav2.github.io/react-xarrows/

https://github.com/hermanwikner/react-connect-lines


[RedditBridge] Rewrite to use JSON

It makes use of fact, that you can append .json to reddit url, to get it's JSON representation.
For example https://reddit.com/r/selfhosted/.json.
It's works, but I'm not sure if I've taken care of all possible content.
Fixes #1525

Great find, but I get some errors with the "selfhosted" example:
[Sun Oct 18 12:47:47 2020] PHP Notice:  Trying to get property 'oembed' of non-object in /home/somini/Programming/rss-bridge/bridges/RedditBridge.php on line 85
[Sun Oct 18 12:47:47 2020] PHP Notice:  Trying to get property 'html' of non-object in /home/somini/Programming/rss-bridge/bridges/RedditBridge.php on line 85
[Sun Oct 18 12:47:47 2020] PHP Notice:  Trying to get property 'oembed' of non-object in /home/somini/Programming/rss-bridge/bridges/RedditBridge.php on line 85
[Sun Oct 18 12:47:47 2020] PHP Notice:  Trying to get property 'html' of non-object in /home/somini/Programming/rss-bridge/bridges/RedditBridge.php on line 85
[Sun Oct 18 12:47:47 2020] PHP Notice:  Trying to get property 'oembed' of non-object in /home/somini/Programming/rss-bridge/bridges/RedditBridge.php on line 85
[Sun Oct 18 12:47:47 2020] PHP Notice:  Trying to get property 'html' of non-object in /home/somini/Programming/rss-bridge/bridges/RedditBridge.php on line 85
[Sun Oct 18 12:47:47 2020] /home/somini/Programming/rss-bridge/lib/FeedItem.php:111 class FeedItem->__set - Category must be a string!

LGTM, but Travis complains about a function missing in PHP 7.2, which is already abandoned years ago:
https://travis-ci.com/github/RSS-Bridge/rss-bridge/jobs/401740548#L556

Hi, @dawidsowa !
Youtube links are broken. https://feed.eugenemolotov.ru/r_python.html
Everything else looks fine.

Ok, that fixes it.

gj @dawidsowa !

Works well, thank you!
How hard would it be to implement the same function for users also, e.g:
https://www.reddit.com/user/username/.json

Data structure seems to be the same, so it should be easy.
I've already planned to do it in 2 weeks or so, when I'll be less busy.

Wonderful, looking forward, thanks @dawidsowa!


Cumulative Time Table

Is it possible to add a table like the following, showing the total time taken to solve part two of each day (+s show how many days have not been completed)?
Lexie                                      7 hrs  8 mins 47 secs
Haseeb                                    20 hrs 16 mins 43 secs
Alayah                             1 day   4 hrs 18 mins 21 secs
Anita                              1 day   6 hrs 49 mins 45 secs +
Mila-Rose                          1 day  13 hrs 33 mins 18 secs +
Karter                             2 days 14 hrs 30 mins 22 secs ++
Ruairi                             5 days 13 hrs 47 mins 38 secs
Haroon                             9 days 17 hrs 30 mins 17 secs +++
Abdurrahman                       15 days 14 hrs  6 mins 47 secs +++++
Qasim                             15 days 18 hrs  6 mins  6 secs ++++++

(This data comes from my own leaderboard, with the names changed.)

That does sound like fun! It's not too easy to understand as a feature at first sight though, so I'd have to consider if it's worth the screen real estate...
I'll leave it open for now, and might consider it next year November(ish) if I have the time. Sounds reasonable?

Just a quick update, I don't think I myself will work on such a graph in 2021, got enough other things going on this year already.
If others would want to take a stab at this do ping me here so we can have a chat, I'm still not entirely sure if/how it would be a good addition (though the idea's interesting).

I'm working on a few updates this year, and gave this suggestion some more thought.
I still like the idea of something like this, but couldn't come to a solution where this table would function in a useful manner. Most importantly, if there's a day (or two) where you complete it only days later: it messes up the entire ranking.
For example, I might be fast on my leaderboard, completing most days within 3 hours or less. But then there might be 1 or 2 days each year where I can't figure them out, let those puzzles sit for days on end, until I have more time (e.g. on a weekend) to finish them up.
The https://adventofcode.com/2021/leaderboard/self statistics kindof solve this by saying just ">24h" for days that took way too long. But even if I start it in the morning, go to work, and finish up in the evening, a completion time of 14+ hours is possible.
Perhaps something where only your "best 15 out of 25 days" are counted would work for most leaderboards? That also feels iffy though.
In short, I'm not sure yet. I'm open to suggestions, but for now going to let this issue sit a bit longer.

Maybe a solution could be to have a different rating for delta time.
Then it's just another tab in the "Stats Per Day: 1 2 ... Cumulative" where players of a leaderboard are sorted on average ranking throughout passed days. The actual total time wouldn't be important but just the ranking.

I did choose to go with @ogoletti's suggestion, partially because #58 by @gg-dt contained the basis for just that feature. I think when those changes land (via #79, for 2023) it'll solve the largest part of the use case from OP (I hope?) with a visual like this:

True, you don't see the exact feature requested by OP (adding up all the delta times), but I don't think that's super useful in practice anyways: there will often be a day where you get stuck on part 2 and solve it daaaaayyyyss later. Thus the cumulative value doesn't mean much.
The table from #58 has similar problems but also offered ways to solve that:

The primary sort in that table is based on "points" earned per day, regardless of how big your delta was;
The mean/median exclude deltas over 4 hours;

Thanks a bunch for the feature request, the input, and the further discussion, all! I hope the chosen path is suitable (enough).


Added duration value to keyboard notification info

Thought it might be handy to have the duration on there for timing animations.

Nice! Merged and published as 0.3.0 :)


IN Internet Explorer Browser, Ripple effect is not working.

Last time I checked it did work, so I need a bit more information. What's the OS and IE version?

IE 11 and Windows 8.1 OS

Which version of IE exactly? Is it the latest version? An update might help. See https://github.com/sirxemic/jquery.ripples/issues/2#issuecomment-92789980
If you don't know how to check which version it is, see https://support.microsoft.com/help/17295/windows-internet-explorer-which-version
If it is the latest version, please report what you see in the console (press F12, I believe). Also, when you run the demo at https://sirxemic.github.io/jquery.ripples/, does an error message appear in the bottom-left corner?


Backend Email Template Added

Issue Checklist with Issue IDs:

[x] Email template added for job, company, resume, applied-job

#9


feature request : provide a parsing method of .zetarc

I'm submitting a ... (check one with "x")
[ ] bug report => search github for a similar issue or PR before submitting
[x] feature request

Scope (check one with "x")
[ ] @zetapush/cli
[ ] @zetapush/cometd
[ ] @zetapush/client
[ ] @zetapush/create
[ ] @zetapush/platform
[x] @zetapush/worker

Current behavior
Actually, I clearly write appName and platformUrl in my angular webapp. I think it's not a good idea to write this clearly in the code (and so on git {hub / lab}). I think many developers will code a function that will parse .zetarc to get the JSON.
What is the motivation / use case for changing the behavior?
I think it might be a good idea to provide a method in worker / index.ts when we create a project with CLI, which returns the element corresponding to the given key in parameters, of .zetarc.
Please tell us about your environment:

Operating System:
Node Version: X.Y.Z
Npm Version: X.Y.Z
@zetapush/* Version: X.Y.Z

Properties declared in .zetarc are injected in worker instance via environment variables


[Feature request] Library for matching nested expressions

Motivation
Javascript RegExp is unable to match nested structures (e.g. nested brackets) because they cannot be accepted by FSA. This is one of the main limitations Prism has as a regex-based syntax highlighter.
Right now, we usually approximate such nested structures by creating long regexes that match support some maximum level of nesting and then fail. You can see this approach in languages such as JSX and C#.
However, this is neither pretty as the nested patterns as fairly complex, and to read and change, but it is also prone to errors because we then usually compromise between correctness and pattern length. When this compromise is unacceptable and a high level of nesting is necessary, the resulting pattern can become thousands of characters long (e.g. this generated pattern). The blowup in pattern length can even be exponential, so this solution really does not scale.
Description
Prism's matching algorithm doesn't actually require RegExp objects. The pattern only has to behave like on. matchGrammar only ever uses the exec and lastIndex interface of RegExp objects, so if an object implements those two, Prism can use it. (ignoring the RegExp specific global check)
This means, we can make our own PDA implementation and it will just work!
Prism will then use the exec method and the PDA determines if and where the given string matches a pattern. This will be no different from what a normal regex does with the difference being that a PDA is more powerful automaton model. The PDA does not define the inside of a token; it is a drop-in replacement for normal regular expressions.
The implementation will not be part of Core but will be a separate library like Markup templating instead.
Core should stay simple and languages that don't require a PDA shouldn't have to pay for it. Luckily, this is very easy because of Prism's modular nature.
Requirements
The library has to be powerful enough to handle the following cases:

Lilypond's Scheme expressions (that can itself contain lilypond)
JSX tags
C# generics
QML's JS expressions
JS template strings

Since we can't combine these PDAs with regexes, they have to be powerful enough to stand on their own. They have to be able to do everything normal regexes can do (maybe except for backreferences).

Prism's matching algorithm doesn't actually require RegExp objects. The pattern only has to behave like on. matchGrammar only ever uses the exec and lastIndex interface of RegExp objects

That's a rather ingenious hack.  They have to be able to do everything normal regexes can do (maybe except for backreferences).

Why the wall of separation though?  Couldn't you even define your PDA using regex for the matchers?  Or it's possible I don't know anything about PDA and I'm just thinking of the idea abstractly vs a very particular implementation (which PDA perhaps is).
IE, nested parens:
Prism.languages.ini= {
	'comment': /^[ \t]*[;#].*$/m,
        'expression': generatePDA({begin: /(/, end: /)/, allowRecursion: true})

Or even fallback to raw Prism highlighting for the "inner" content...
Prism.languages.ini= {
	'comment': /^[ \t]*[;#].*$/m,
        'cssString': generatePDA({begin:/CSS"/, end: /"/, inside: Prism.languages.css})

Couldn't you even define your PDA using regex for the matches?

That's the idea but I don't really know how to. My basic idea was to give a BNF-like grammar and convert that into a deterministic PDA like this:
PDA({ start: concat(/\(/, ref('start'), /\)/) })

Problems arise when you look at less trivial examples like JS template strings:
PDA({
    'start': ref('template'),
    'template': concat(/`/, star(choice(/\\./, ref('interpolation'))), /`/),
    'interpolation': concat(/\$\{/, ref('js-expr'), /\}/),
    'js-expr': star(choice(
        /<normal JS string>/,
        /<comment>/,
        concat(/\{/, ref('js-expr'), /\}/,
        ref('template')
    )),
})

I don't really know how to this.

Is there a specific piece you're struggling with?
It looks like you're trying to build a tiny Highlight.js grammar inside there to me. :-)  Our engine is already very much like this (rules, nesting, recursion, etc).  So while you could this (and it might indeed be fun/useful) I feel like for anything non-trivial you're going to end up building quite a complex separate little parsing engine.
It's possible a recursive solution might be simper than you'd think though.  We have a lot of legacy complexity regarding WHAT we do with matches (skip them, throw them back, conditional matches, one deep rule can cancel multiple levels fo the chain, etc)...  Might be much simpler if you just did the basic:

find begin
match a choice then recurse into that choice
find end

But you add complexity with things like star (vs say single), etc. :-)  We don't have that (though there are different hacks).    All our rules are always star by default. :-)  But I fell star or numeric match counts might be easier than a lot of the things we do. :)  Since you're just limiting the internal loop.

Is there a specific piece you're struggling with?

Nah, it's the general approach. This is a first for me, so I just have to read up on the literature and that's it. My problem is that I couldn't find a solution that is:

Easy to implement (< 1k loc, doesn't require extensive analysis of the grammar)
Easy to use (the grammar should be in a "natural" form)
Fast. I want it to be fully determinist, so no backtracking. (Regexes within the solution are allowed to backtrack though)

This is probably one of those classic pick-2 situations but I'll continue to search for a good solution when I find the time. Rn there are more pressing issues IMO.

It's possible a recursive solution might be simpler than you'd think though.

Recursion isn't possible because people might be able to construct a string that causes a stack overflow.

Easy to implement... < 1k loc... Easy to use... Fast... No recursion.

ROFL. I read that initially as 1kb of code, not 1k LOC. :-)  I thought you wanted to win a knife fight blindfolded with your hands tied behind your back and drunk... ;-)  1000 lines makes it a lot more doable.
Highlight.js "core" + "language compiler" is < 1k LOC, so I'd say it's doable. :-)   You just have to figure out how you want to structure your grammar.  We're not recursive though we may want to be in the future.  It would make backtracking easier to add (which sometimes I think we want and sometimes scares me to death).  Although I'm not sure how "fast" you mean when you say "fast"... I've always thought Highlight.js is pretty fast (for what it does), but it's possible when compared to something like Prism that we're a tortoise.  I don't know.  I'd love to see a comparison.

Recursion isn't possible because people might be able to construct a string that causes a stack overflow.

It's been a while since I tested but the depth is like 1000-2000 or was it 10,000 to 20,000? I can't recall.  It's quite some code sample that would need to recurse that deeply.  If Highlight.js goes recursive in the future we'll just add a depth limit and say "hey we don't work perfectly for that 0.01% of edge cases". After all it's impossible to correct highlight 100% of cases anyways.
So I feel like that may be a bit of an artificial restriction you're imposing on yourself. :-)

I have some days where I think it'd be fun to implement the smallest (not fastest) HLJS "compatible" parser possible... but then there is no practical point, so I go back something more practical.  We're "small enough" for most uses and if someone truly needs smaller or tiny there is Prism.


nginx-http3 vs nginx-quictls for bookworm

I see you run both so I guess you'd know best, is there any actual difference in running them. Is one more stable than the other or anything? Or does it make virtually no difference.
Will be ran on an ARM (aarch64) CPU if it matters.

nvm I guess the other one can't even compile without getting this issue https://github.com/google/ngx_brotli/issues/138 so quictls it is


[web]: InkWell or other button onTap is not working randomly

Describe your issue and include the command you're running, flutter_web version, browser version
I am developing for the web, then when I use InkWell or any button widget with onHover it works, when I use onTap or onPressed randomly it is not working. When I use a tablet or mobile simulator then it works. It is very annoying.
Flutter Version: Channel beta, 1.24.0-10.2.pre
Browser: Chrome Version 86.0.4240.198 (Official Build) (x86_64)

I Have the same issue

@gabrielarlo
Please provide a minimal complete reproducible code sample that shows the issue you are facing.
Thanks.

same issue here, randomly stop working, the onTap is not called anymore. I have many buttons in the screen, when onTap fails I need to click in another button to make it work again.

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.

please any update for this issue ?

hi @sajaadem for me it was not fixed, I always had the problem in macos with default screen resolution. But I didnt try with the latest flutter version, can not confirm it is fixed now.

I have same problem on android as well !!!


IntegrityError at order/order/add/ null value in column "total_incl_tax" violates not-null constraint DETAIL:  Failing row contains

unable to create order and price in admin
IntegrityError at /betacontrolurl/order/order/add/
null value in column "total_incl_tax" violates not-null constraint
DETAIL:  Failing row contains (5, , GBP, null, null, 0.00, 0.00, , , , , 2021-12-21 05:00:00+00, 3, null, null, 1, null).
how do i resolve this

Hi there. We use Github only for managing bugs and feature requests, and not for support. We recommend that you ask for help on Stack Overflow using the django-oscar tag, or joining our slack workspace or mailing list and asking a question there. Thanks.


Enable colorpicker

Just tested it out, looks good - I'm just not entirely happy with the position the colorpicker pops up in. It might be because the parent transform is not set (and the property doesn't have a setter, grml).

I've found a less hacky way to enable the color picker (no reflection) and also fixed the issue with the wrong position. Thanks for your help!


(703a) Add course participations

Context

Groundwork for adding the course history index page. The API isn't quite up to date with these changes, but that's being worked on right now, and there aren't any tests this should break
Changes in this PR

Add participations types and factories
Add participations API endpoint paths and stubs
Two tidy ups

Release checklist
Release process documentation
As part of our continuous deployment strategy we must ensure that this work is
ready to be released once merged.
Pre-merge

[ ] There are changes required to the Accredited Programmes API for this change to work...

[ ] ... and they have been released to production already

Post-merge

[ ] This adds, extends or meaningfully modifies a feature...

[ ] ... and I have written or updated an end-to-end test for the happy path in the Accredited Programmes E2E repo

[ ] This makes new expectations of the API...

[ ] ... and I have notified the API developer(s) of changes to the contract tests (Pact), or the API is already compliant

[ ] Manually approve release to preprod
[ ] Manually approve release to prod

 Add programme history index page (UI)


Support selecting models from cmd and setting vllm accordingly

Change from hard-coded models from tests.py to manual selection (default is Mistral) and automatically config vllm accordingly.

LGTM, thanks @Shaoting-Feng !


Co-assembly of the same sample

The is more a question of interpretation.
The script shows an error if there are multiple runs listed but co-assembly=FALSE. I understand that this is criteria is checked. but in my case I used all the runs of the same bioSample. To my understanding this is not co-assembly.

Hi Silas,
I acknowledge this sounds confusing. The official definition of co-assembly is that it is an assembly generated from raw reads from different files, regardless of them being technical replicates of the same sample or not. The case you are focusing on is actually ideal for generating co-assemblies, as they allow to exploit low-abundant species that might not come up by assembling a single run, but only by including multiple replicates of the same sample. In any case, if more than one run was used to generate an assembly, then it needs to be labelled as co-assembly according to ENA.


Move editors for emp3.api.Path and for emp3.api.MilStdSymbol into core

Worldwind currently does not have line editing capability.  Move the editing out of the engines and into the core.

reintegrate


fix wording on settings

does setting this still work / actually do the right thing?

@buoyad yes

you can compare to keybase chat notification-settings


Include MIT licenced code?

We can work around the fact that swagger-codegen (C#) does not currently support polymorphism using a reworked version of this .NET fiddle: https://dotnetfiddle.net/ELcvnk
The code is licenced under the MIT licence, and will be significantly adapted for this project. What do we need to do to reuse this code - can its MIT licence header file be added to the NOTICE?

MIT allows to distribute and sub-license code, as explained on http://programmers.stackexchange.com/a/105926
It is unclear to me if/how we need to specify the original copyright (as mentioned in the link above)
I'd like to get a legal/expert opinion on this, @mindthegab ?

Yes please check with Aaron.
In Apache you typically have a line in the NOTICE (or DEPENDENCIES) file mentioning that the code contains other licenses.
--
Gabriele Columbro
Executive Director, Symphony Software Foundation

On Jun 20, 2016, at 7:49 AM, Maurizio Pillitu<EMAIL_ADDRESS>wrote:
MIT allows to distribute and sub-license code, as explained on http://programmers.stackexchange.com/a/105926
It is unclear to me if/how we need to specify the original copyright (as mentioned in the link above)
I'd like to get a legal/expert opinion on this, @mindthegab ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Added to https://github.com/symphonyoss/RestApiClient/blob/master/NOTICE.txt , closing this issue.


Object.keys have different result than Reflect.ownKeys when using NewProxy

I want to implement something like the Storage API.
This is what I'm doing right now:

type Storage interface {
	Len()(int)
	Keys()(keys []string)
	GetItem(key string)(value goja.Value)
	SetItem(key string, value goja.Value)
	RemoveItem(key string)
	Clear()
}

func ProxyStorage(s Storage, vm *goja.Runtime)(goja.Proxy){
	getitem := vm.ToValue(s.GetItem)
	setitem := vm.ToValue(s.SetItem)
	removeitem := vm.ToValue(s.RemoveItem)
	clear := vm.ToValue(s.Clear)
	o := vm.NewObject()
	o.Set("test", 234)
	return vm.NewProxy(o, &goja.ProxyTrapConfig{
		IsExtensible: func(_ *goja.Object)(success bool){
			return true
		},
		Has: func(_ *goja.Object, property string)(available bool){
			switch property {
			case "length", "getItem", "setItem", "removeItem", "clear":
				return true
			}
			return s.GetItem(property) != nil
		},
		Get: func(_ *goja.Object, property string, receiver goja.Value)(value goja.Value){
			switch property {
			case "length":
				return vm.ToValue(s.Len())
			case "getItem":
				return getitem
			case "setItem":
				return setitem
			case "removeItem":
				return removeitem
			case "clear":
				return clear
			}
			return s.GetItem(property)
		},
		Set: func(_ *goja.Object, property string, value goja.Value, receiver goja.Value)(success bool){
			s.SetItem(property, value)
			return true
		},
		DeleteProperty: func(_ *goja.Object, property string)(success bool){
			s.RemoveItem(property)
			return true
		},
		OwnKeys: func(_ *goja.Object)(object *goja.Object){
			println("called OwnKeys")
			object = vm.ToValue(s.Keys()).ToObject(vm)
			object.Set("testKey", "test value")
			return
		},
	})
}

But when I calling Object.keys(storage) from js, it actually called the OwnKeys function, but retuned a new empty array.
However, when I use Reflect.ownKeys(stroage), it returned exactly what it should return (a non empty array).
Also, when I call Runtime.ToValue(proxiedStorage).ToObject(runtime).Keys() from go, it didn't invoke the OwnKeys at all.
I don't know what's wrong here.

But when I calling Object.keys(storage) from js, it actually called the OwnKeys function, but retuned a new empty array. However, when I use Reflect.ownKeys(stroage), it returned exactly what it should return (a non empty array).

Object.keys() and Reflect.ownKeys() are not the same, the former only returns enumerable string properties, the latter returns all string and symbol properties.
Since you have not defined the GetOwnPropertyDescriptor trap, all properties are considered non-enumerable. You'd get exactly the same behaviour if you wrote it in javascript.

Also, when I call Runtime.ToValue(proxiedStorage).ToObject(runtime).Keys() from go, it didn't invoke the OwnKeys at all. I don't know what's wrong here.

Please provide a runnable test case.

Also, when I call Runtime.ToValue(proxiedStorage).ToObject(runtime).Keys() from go, it didn't invoke the OwnKeys at all. I don't know what's wrong here.

Please provide a runnable test case.

I was wrong, the OwnKeys was called, but the Keys didn't return anything.
package main

import (
	"fmt"

	"github.com/dop251/goja"
)

func main() {
	vm := goja.New()
	proxied := ProxyStorage(vm)
	keys := vm.ToValue(proxied).ToObject(vm).Keys()
	fmt.Println("keys:", keys)
}

func ProxyStorage(vm *goja.Runtime)(goja.Proxy){
	return vm.NewProxy(vm.NewObject(), &goja.ProxyTrapConfig{
		OwnKeys: func(_ *goja.Object)(object *goja.Object){
			fmt.Println("OwnKeys has been called")
			return vm.ToValue([]string{"a", "b", "c"}).ToObject(vm)
		},
	})
}

Output:
$ go run .
OwnKeys has been called
keys: []

Since you have not defined the GetOwnPropertyDescriptor trap, all properties are considered non-enumerable. You'd get exactly the same behaviour if you wrote it in javascript.

Got it, it works for me, thanks :)


Use xdem-data repo for example data

As you may have noticed, testing and doc-building takes a very long time because data are quite inefficiently downloaded from the source.
On my computer, this download takes about 3 minutes. When using GitHub Actions, it takes around 13 minutes on their servers!
I have created a new repo: https://github.com/erikmannerfelt/xdem-data, which could replace the way we fetch data. There, scripts exist for fetching the data from source, but the modified data are in the repo itself. Therefore, xdem can get the data by just fetching the latest xdem-data tarball and extracting whatever is needed.
Downloading the Longyearbyen data takes 2.23 s on my computer. That's a 81x performance increase!
Above just making docs, CI and general testing easier, this would ensure that testing data are not modified without us knowing about it. Imagine in 3 years if tests suddenly start failing because the Norwegian Polar Institute has decided to change their link structure...
If you think this is not a terrible idea, I can change ownership of the xdem-data repo to GlacioHack, further solidifying its future.

A short note about this (just stumbled upon this by chance): it is the aproach used by salem and OGGM as well. A very important thing to do in the main repo (i.e. here) is that a specific version of the code should always fetch the same commit from the data repository.
See OGGM for an example of how we do this.
The situation this is preventing is that old versions of the code which used to work and test properly will continue to do so, even if the data repository changes. This happens often when you delete files which aren't used in the tests anymore, or replace them, etc.

That's a great point, @fmaussion! Thanks for your input.
Either in the forms of releases, tags or commit hashes I guess it could work. Releases would be my preference, I think, but it's not really based on much.

My experience is that commit hashes are much easier and as searchable as tags. tags are useful for humans, not so for machines.

Now the data are always downloaded from the specified commit hash of xdem-data/main. Thanks again for the input, @fmaussion!

This looks great! Thanks a lot Erik and @fmaussion !
It was also taking ages on my side, I guess my network is closer to that if GitHub Actions than of yours, Erik.
Running xdem with CI is becoming a lot more sexy, suddenly :grinning:

Lovely! Since I have an approval, I'll move the ownership to GlacioHack and then merge when it works.


Add custom CC wrapper to the wrapper whitelist

Some toolchains use custom (or at least not widely used) CC wrappers, and passes that through the CC env var before the compiler, like:
CC = <custom_wrapper> -gcc
Add support to CC_KNOWN_WRAPPER_CUSTOM env var, to be able to extend the 'known_wrappers' list with this <custom_wrapper>, and handle these special cases.

Thanks for the PR!
Can you please list some of the wrappers used?
If it is often used we can just add to our pre-defined list.

This is 'ucfront-gcc' in my case. I just wanted to avoid to pollute it with a less commonly used one, and add something to make it easier to fit to one's purpose.

Thanks, is passing CC=ucfront-gcc not enough?
I.e., our compiler detection doesn't work?
If the compiler detection doesn't work for ucfront-gcc, then I think we should fix the detection logic instead.
AFAIK ucfront-gcc in debian usually means gcc for a specific target/libc or other config, so it should have the same kinds of behavior as gcc.

Sorry, I wasn't clear. That's just the wrapper. The passed CC is:
CC=ucfront-gcc <arch>-gcc

In this case, I does think it makes sense.
Cc @thomcc does it LGTY?

I don't see a problem with this.

Thanks, I'll merge it in then


Encryption.

Hi, this is by far my favourite protocol. I am currently using Shadowsocks in my app OneProxy which I on the App Store, however before that I was using this protocol.
However, it has no encryption, thus I resorted to shadow socks.
I am wondering if you could make a update to this project and server and add encryption.
I see in the files that you have actually mentioned encryption and that you didn't have the time to do it.
If you still don't have the time maybe you could point me in the correct direction.

Hi Ben
Sorry for this delayed replay and thank you for your interest of this
project.
I left the encrypt/decrypt unimplemented because encryption alone can be a
quite deep topic, and I am no info security expert, and in this case also
involves performance(it needs to be fast and save iPhone battery life), and
rather independent (say if you already have an good encrypt/decrypt
solution you can plug in this demo project easily (I hope :)))
And the entry points to plug encrpyt decrpyt in are here:

Encrypt:
https://github.com/lxdcn/NEPacketTunnelVPNDemo/blob/master/NEPacketTunnelVPNDemoTunnel/PacketTunnelProvider.swift#L21

This is the callback where we read packages from the device, right
before we write into to tun (L24)

Decrypt:
https://github.com/lxdcn/NEPacketTunnelVPNDemo/blob/master/NEPacketTunnelVPNDemoTunnel/PacketTunnelProvider.swift#L41

Conversely, this is the callback we read from tun and write back to
device

Of course in server we have to do the same thing, so in a nutshell:
NE extension gather data packs  --> NE extension encrypt  --> send to
server via tun  --> server decrypt  --> server redirect traffic via
iptables (as fare as I remember)  --> server receive response data  -->
server encrypt  --> server send to iOS  --> NE extension read data packs
--> NE extension decrypt  --> NE extension forward to iOS (other apps)
Generally encryption process is taking a chunk of binary data, convert into
another chunk of binary data (Usually in byte arrays in most programming
languages), and also the input data may need to be padded to meet length
requirement, and output data length may be different. So in this case we
may need to consider data boundaries (use separator to separate
encrypt/decrypt data unit)
And also another key point is the key, usually symmetric encryption
requires both encrypt part and decrypt part share the same key (in our case
the iOS end and server end), this should happen during the connection
setup, based on existing authentication, make them somehow share a same
piece of string. But if you just create a private app for self usage, you
can hard code the key I suppose :)
And also if what you are creating is not for self usage, which means you
might have multiple clients (iOS) connect to server simultaneously, as some
people already complained in Github issues, the server doesn't support
multiple connection, this is due to simplicity of server code and my
laziness (no excuse, sorry). And also if your App blossoms and you have
tens of thousands of clients connect to it, then handling them securely and
efficiently is another deep topic and beyond several lines of C as my
server demo shows.
The amount of work involved to implement the whole suite above is enormous,
but like I said, the encrypt/decrypt part can be isolated, if you can find
a good existing solution, then should be better.
Cheers
On Fri, 31 May 2019 at 09:51, Ben Mitchell<EMAIL_ADDRESS>wrote:

Hi, this is by far my favourite protocol. I am currently using Shadowsocks
in my app OneProxy which I on the App Store, however before that I was
using this protocol.
However, it has no encryption, thus I resorted to shadow socks.
I am wondering if you could make a update to this project and server and
add encryption.
I see in the files that you have actually mentioned encryption and that
you didn't have the time to do it.
If you still don't have the time maybe you could point me in the correct
direction.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/lxdcn/NEPacketTunnelVPNDemo/issues/27?email_source=notifications&email_token=AAERB4NEPMZZY3IRKZVRTYDPYBD7JA5CNFSM4HRMH5W2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GW2NXEA,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAERB4MGSL3N7FY3TUFB3PLPYBD7JANCNFSM4HRMH5WQ
.


[🐞] The CJS build of Vite's Node API is deprecated

Which component is affected?
Qwik Runtime
Describe the bug
The CJS build of Vite's Node API is deprecated. See https://vitejs.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.
Reproduction
https://github.com/vitejs/vite/discussions/13928
Steps to reproduce
Run any npm command like:

npm start; or
npm build

System Info
Windows 11, VS Code Integrated Terminal

Additional Information
Can be resolved just by changing the naming of vite.config.ts to vite.config.mts, whereas nothing has to be changed on the code

qwik is in the list. if you have "type": "module" in your package.json it's esm


Use java.awt.Point instead of the runelite Point

Removed the net.runelite.api.Point from every class that uses it, and use the java.awt.Point class instead.

The API was changed to use WorldPoint and LocalPoint instead so this change is no longer valid.


Clear error massages about "project" input

Hi,
Thank you again for this useful package.
I have a small suggestion about error messages.
In some methods, there is a "project" parameter that supports project objects or project identifiers. It is not clear why I am trying to send and receive data by project name, but I am unable to do so. Unfortunately, this feature is not supported.
It may not be a smart idea at all to obtain data by project name. However, the current error message is not clear enough and it may be beneficial to convert it.
When I run this code:
pycaprio_client = Pycaprio("some-url", ('user', 'pass'))
zip_content = pycaprio_client.api.export_project("project-name", InceptionFormat.UIMA_CAS_XMI)

This is the error:
pycaprio.core.exceptions.InceptionBadResponse: HTTP 500: {"messages":[{"level":"ERROR","message":"Internal server error: Failed to convert value of type 'java.lang.String' to required type 'long'; nested exception is java.lang.NumberFormatException: For input string: \"project-name\""}]}

INCEpTION currently only supports exporting projects by ID, not by slug.
See also: https://github.com/inception-project/inception/issues/3457

Thank you @reckart
About the INCEpTION side - I support  @jcklie 's suggestion.
See the walk-around in inceptalytics for this issue here
To solve Pycaprio's issue, I suggest clearing the Pythonic API error message instead of the original Java error message. The current situation does not appear to be intuitive to me.


Correction for raw affiliation AgroParis Tech, UMR AMAP, Montpellier 34000, France

Correction needed for raw affiliation AgroParis Tech, UMR AMAP, Montpellier 34000, France
raw_affiliation_name: AgroParis Tech, UMR AMAP, Montpellier 34000, France
new_rors: 02kbmgc12;020nks034
previous_rors: 02kbmgc12
works_examples: W1983901217
contact: 5555273d4e084d9c44c4f881329520f9:d894c804bd5ba01516d551c7e512a64e477c @ inrae.fr

This issue was accepted and ingested by the OpenAlex team on 2024-11-18. The new affiliations should be visible within the next 7 days.


Use ApiListener for example configurations

I agree that better examples can be created and we should certainly look into it. But apart from that I think ApiListeners will already make the current examples a bit better. It will enable you to download the OpenApi spec and call /api and get a result. And for new people an ApiListeners will say more than a JavaListener


Auto discover relevant admission controllers & feature gates

As mentioned in #2 and #3, some security-related admission controllers and feature gates may prevent certain attacks. Because those are configured on the control plane, they cannot be retrieved via k8s API.
Add an auto-discovery mode that relies on impersonation & dry-run write operations to figure out which relevant feature gates & admission controller are enabled. Populate rbacDB.metadata with those for policies to consume.
Flag description should clearly document that in this mode rbac-police does some dry-run write operations.

Add docs when done

Done in #7


Quitting doesn't work

Once running, the only way to stop checking for buckets seems to be to mash Ctrl+C 3-4 times quickly.
Hitting it once yields the following:

Tested using Python 3.6.4

This is fixed in pull request #20


Fallback to webpki certs if no native certs found, in hyper client from aws_smithy_runtime.

Describe the feature
fallback to the webpki root certs if no native certs are found
Use Case
I like to use a project that uses this sdk in a FROM scratch docker image in which no ca-certificates is available. Falling back to webpki certs if that happens would allow this usecase.
Proposed Solution
Update hyper_rustls to at least v0.25 (from v0.24, current latest version would be v0.27.2) and check the result returned by with_native_certs() starting from that version, calling with_webpki_certs if that errors. Basically replace the following code like so:
# https://github.com/awslabs/aws-sdk-rust/blob/3a5bf4831a8d024ae0903fef0a055bfbd726b041/sdk/aws-smithy-runtime/src/client/http/hyper_014.rs#L53
rustls::ClientConfig::builder()
                    ...
                    .with_native_roots()
                    ...

to
let config_without_certs = rustls::ClientConfig::builder()
                    ...;

let config_with_certs = config_without_certs.clone()
                    .with_native_roots().unwrap_or_else(|e| { todo!("probably some trace logs here"); config_without_certs.with_webpki_roots()})

config_with_certs
                    ...

(there is probably a nicer way to write it but you should get the gist of it)
Other Information
No response
Acknowledgements

[X] I may be able to implement this feature request
[ ] This feature might incur a breaking change

A note for the community

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue, please leave a comment

Hi, thank you for submitting a feature request! A clarifying question. Without the suggested feature, can you work around by using the code snippet mentioned in this guide (search for with_webpki_roots) (i.e. writing your own HTTP connector enabling with_webpki_roots)?

I will test that, thanks 👍 Although I think even if that works a fallback to the webpki certs would probably still make sense :)

I'll get back to this, just haven't found the time yet :)

Ok so I've tested your suggestion and I can confirm that the following works in our code:
aws_sdk_s3::Config::builder()
    .http_client(
        HyperClientBuilder::new().build(
            HttpsConnectorBuilder::new()
                .with_webpki_roots()
                .https_only()
                .enable_http1()
                .enable_http2()
                .build(),
        ),
    )
    .....

Although I still think a fallback to webpki certs makes sense if no native ones are found. Is it welcome that I try to implement that in a pr or would I be wasting my time on that? :)


Add bootstrap script

Hi,
as suggested by @okeh, I created a script that combines installation, re-enabling, adding toltec and installing a package.
It currently uses my fork of remarkable_entware. But in theory it should also work with the original one as it also detects whether toltec is added and adds it automatically.
Since the script my be shared on serveral servers due to the HTTPs implications with the default wget, it has a version number in the comments.
The usage for the one-liner is also in the script. For testing you can use this one-liner:
# wget -qO- https://static.cosmos-ink.net/remarkable/bootstrap.sh | sh -s

Packages to be installed can be added to the end.

@matteodelabre I also saw that you are hosting some other files on toltec as well. You can gladly copy the wget binary repo to your repo and use that repo in the file as well.
My fork for remarkable_install.sh will automatically use that bootstrapped wget. I can also change the url in remarkable_install.sh as well then to have a universal server for all the packages, installers and thirdparty stuff.

I've used this script on three remarkable tablets to great effect! I've put it at https://rmkit.dev/bootstrap and am going to test it from there (not just cosmos-ink) next.
The only thing that messed  up the script was in one tablet it found /opt/ that was a non opkg /opt and it aborted. I then deleted /opt (because I created it) and re-ran and it worked. When I ran on a tablet with opkg, it correctly recognized /opt and opkg and moved forward.
My main issue with script is that I had to tell someone to use testing repo and that added 2 or 3 extra manual steps.

@raisjnn Nice to hear.

I've put it at https://rmkit.dev/bootstrap and am going to test it from there (not just cosmos-ink) next.

Cool! As it's intended. Also a nice idea to trash the .sh extension. Would make any url cleaner.

My main issue with script is that I had to tell someone to use testing repo and that added 2 or 3 extra manual steps.

I had that yesterday when writing my wall of text which is why the latest commit addresses that. You can add TOLTEC_BRANCH=testing  in front of the one-liner to use testing by default.
Though we should really pay attention that this doesn't become the default. It should only ever be used by devs, testers or maintainers. Never appear in a one-liner in some readme.

are we waiting on anything here or is this ready to go?

I’ve made some changes to the wget building workflow. It is now fully standalone (no need to download additional shared libs), which should hopefully make this script a bit simpler. The binary is automatically published to https://toltec.delab.re/thirdparty/bin/wget on push to the main branch of toltec-dev/wget. The current checksum is 8d447c6eb0a39e705f45bea900b12eef07142ea3da0809aca4dd44fe4110cdfd.

Changed the script to use Toltec’s wget and to incorporate Entware’s installation script. External dependencies are now reduced to just Entware, which should make auditing the script easier.
It works on my install, but I would appreciate if any of you had time to test it, to find if I introduced regressions. My initial tests seem to show that the error recovery mechanism does not call error-cleanup when suitable.

can you add doc to the top of the script with invocation line? (and example of using wget)
here's what I get with various invocations:
reMarkable: ~/ wget -qO- https://rmkit.dev/bs | sh -s
wget: note: TLS certificate validation not implemented
sh: line 39: syntax error near unexpected token `<'
reMarkable: ~/ wget -qO- https://rmkit.dev/bs | sh -C
wget: note: TLS certificate validation not implemented
sh: line 39: syntax error near unexpected token `<'
reMarkable: ~/ wget -qO- https://rmkit.dev/bs | bash -C
wget: note: TLS certificate validation not implemented
INFO:  Re-enabling existing Entware install
INFO:  Adding /opt/bin to the PATH
INFO:  Use '/home/root/entware-reenable' to re-enable Toltec after a system update
reMarkable: ~/ wget -qO- https://rmkit.dev/bs | bash -C harmony
harmony: harmony: Is a directory
wget: note: TLS certificate validation not implemented
reMarkable: ~/

my main feedback here is that i think the bash -C harmony line installs harmony, but i don't actually have any confirmation or notices about it. it would be nice for a message to appear indicating which packages were installed. there should also be indication of which repo is being enabled (stable or testing).

The errors with sh are expected since this is a Bash script.
Note that piping wget output to bash is insecure since it does not support TLS. I couldn’t come up with a simple single-line chain of commands that verifies the script checksum before running it, so for now it’s a documented as three commands to execute.
You probably meant to use the -s Bash flag instead of -C. The line you ran tried to read a script from a file called harmony which did not exist. If you run wget -qO- https://rmkit.dev/bs | bash -s harmony, you’ll see that there is actually feedback when additional packages are installed.

there should also be indication of which repo is being enabled (stable or testing).

Fixed that.

did you add the example invocation to the top of the file?

errors expected with sh

unexpected for me, as the script started as an sh script and invocations mention sh.

Does this work for you @raisjnn?
Ideally we’d also need to make sure that the script’s checksum is always up-to-date in the README.


refactor: cleanup providers for LLM to prep for future ops (closes #134)

Signed-off-by: Aaron Pham<EMAIL_ADDRESS>

No response @aarnphm


Difference in Json object returned by Parse Server

I have migrated a Parse app to AWS by following the migration guide. Server is running fine and data is accessible however my application is not able to process the json response returned by server.
Initially, on Parse.com, the json response returned by server starts as the following:

"results": [
      {
         "Parasha": "פרת משפטים",
         "color": "#1b3f94",
         "cover": {
            "__type": "File",
            "name": "0db6899cbbb4-dvar_malchut.jpg",
            "url": "bb4-dvar_malchut.jpg"
         },
         "createdAt": "2016-02-28T20:23:53.449Z",
         "objectId": "FTSc98wrau",
         "updatedAt": "2016-02-28T22:01:32.156Z"
      },

But now, the response received from the migrated Parse server starts as following:

{
   "results": [
      {
         "objectId": "56d5ff8198era17198750fce",
         "results": [
            {
               "Parasha": "פרת משפטים",
               "backCover": {
                  "__type": "File",
                  "name": "tfss-d08252f668-cover-low.jpg",
                  "url": "e-6f608252f668-cover-low.jpg"
               },

_Notice the additional "results": [  and objectIdat the root. _
I could update my app to deal with it but it will be great if this can be fixed from the server end so that I don't need to make changes in my app.
Any help will be appreciated.
Thanks

It seems to be a pretty serious issue, Can you post the query you're running?

Here is the curl request:
curl -X GET -H "X-Parse-Application-Id: "  http://<IP_ADDRESS>:xxx/parse/classes/TestClass
API key parameter is not included in the curl request as it is optional for the migrated server. This command returns all the objects under TestClass but with an additional root node (as mentioned in the original question above). The same request made to Parse.com returns the JSON data as expected.
Thanks.

I'm also curious why the query response is different on Parse Server. Previously if I console logged a query response I would get a plain json object. Now if I run the same function the console logs an array of ParseObjectSubclass objects that don't appear to contain anything useful. I can see the correct "results" array in the network response tab, but not sure how to access it?

I was using the DB Migration tool to transfer records from Parse.com to the new server. Tried again by first taking the back-up of the database in JSON format and then imported it in to the new server. This fixed the issue.
It is hard to believe that it was due to using db migration tool as it is suggested by parse.com and almost everyone is using it to migrate the db. May be it was something else which was specific to my scenario only.
Closing the issue.

I'm reopening this as I see the same thing. I have a Parse Server running on my local machine and the same Parse Server running on AWS Elastic Beanstalk. A Cloud Code function is returning an Parse Object with a child GeoPoint. When running the function on my local machine, the GeoPoint is returned as a plain dictionary:
info: Ran cloud function addressLookup for user AoIQv9zeMi with:
  Input: {"address":"stejlehøjen 2","postCode":"","country":"DK"}
  Result: [{"geoPoint":{"_latitude":55.1805494582046,"_longitude":11.8516349334482},"address":"Stejlehøjen 2","postCode":"4700","city":"Næstved","address2":"Pederstrup","formattedAddress":"Stejlehøjen 2, Pederstrup, 4700 Næstved","country":"DK","placeId":"22729a66-a157-44d0-e044-0003ba298018","placeIdSource":"dawa"}] functionName=addressLookup, address=stejlehøjen 2, postCode=, country=DK, user=AoIQv9zeMi

– whereas the exact same function running on EB is returning a Parse Geopoint:
info: Ran cloud function addressLookup for user 7RvhuvJ14y with:
  Input: {"address":"Stejlehøjen 2","postCode":"","country":"DK"}
  Result: [{"geoPoint":{"__type":"GeoPoint","latitude":55.1805494582046,"longitude":11.8516349334482},"address":"Stejlehøjen 2","postCode":"4700","city":"Næstved","address2":"Pederstrup","formattedAddress":"Stejlehøjen 2, Pederstrup, 4700 Næstved","country":"DK","placeId":"22729a66-a157-44d0-e044-0003ba298018","placeIdSource":"dawa"}] functionName=addressLookup, address=Stejlehøjen 2, postCode=, country=DK, user=7RvhuvJ14y

The cloud code function looks like this:
var Home = Parse.Object.extend("Home");
exports.parseDAWAAddress = function(json) {
  var home = new Home();

  var adgangsadresse = json.adgangsadresse;
  if (!adgangsadresse) { return null; }

  var adgangspunkt = adgangsadresse.adgangspunkt;
  var postnummer = adgangsadresse.postnummer;
  var vejstykke = adgangsadresse.vejstykke;
  if (!adgangspunkt || !postnummer || !vejstykke) { return null; }

  var vejnavn = vejstykke.navn;
  if (!vejnavn) { return null; }

  var addressString = vejnavn
  if (vejnavn) {
    addressString = vejnavn;

    var husnr = adgangsadresse.husnr;
    var etage = json.etage;
    var door = json["dør"];

    if (husnr) {
      addressString += " " + husnr;
    }

    if (etage) {
      addressString += ", " + etage;
    }

    if (door) {
      addressString += " " + door;
    }
  }

  var lat = adgangsadresse.adgangspunkt.koordinater[1];
  var lon = adgangsadresse.adgangspunkt.koordinater[0];
  var geoPoint = new Parse.GeoPoint(lat, lon);

  home.set("geoPoint", geoPoint);
  home.set("address", addressString);
  home.set("postCode", postnummer.nr);
  home.set("city", postnummer.navn);

  var address2 = adgangsadresse.supplerendebynavn;
  if (address2) {
    home.set("address2", address2);
  }

  var formattedAddress = json.adressebetegnelse;
  if (formattedAddress) {
    home.set("formattedAddress", formattedAddress);
  }

  home.set("country", "DK");
  home.set("placeId", json.id);
  home.set("placeIdSource", "dawa");

  return home;
}


multiple categories on menu not working

hello,
when multiple catgories are imported like in this case the menu is not working propely...
https://drive.google.com/file/d/0B4wkwfPFu50ZOGNBQ0ZWcjhId0E/view?usp=drivesdk

Duplicate https://github.com/cscart/cscart-boilerplate/issues/12


Limit Number of Player a node/definemod can use

I think the current way to make node/definemod player specific/limit is odd,
this is a proposed change that may make it better.
-- current syntax
definemod{'mod',function(mod,pn)
    if on <= 4 then
        -- code
    end
end}

-- suggested syntax
definemod{'mod',function(mod)
    -- code
end,
plr = {1,2,3,4}}

If the two forms you showed are equivalent, player specific nodes wouldn't be able to output mods.
I think it may be possible to split the node data structure up into 8 separate node data structures, one for each player. That would allow for this sort of syntax to work, even with nodes that have outputs.

this is not good I am sorry, please go to #51


Add pixi to benchmarked list

From the project README:

pixi is a cross-platform, multi-language package manager and workflow tool built on the foundation of the conda ecosystem. It provides developers with an exceptional experience similar to popular package managers like cargo or yarn, but for any language.

Not sure if pixi has the ability to do all the benchmarked operations. For example, I couldn't find anything related to updating the lock file.
Is there interest in adding this tool to the benchmarked list?

If you can make it an apples-to-apples comparison, yes I'm open to adding it.
Regarding updating the lock file:

the next time you run a command that requires the lock file, it will be generated again.

from https://pixi.sh/latest/features/lockfile/#removing-the-lock-file
Perhaps there is a command that can run which will trigger this without running other commands?


Autofix: Implement live-reloading using standard node modules

To implement auto-reloading without using npm packages, we'll modify the server.js file to include a WebSocket server. We'll also add a small script to the index.html file that will connect to this WebSocket server and reload the page when it receives a message. Finally, we'll update the server to watch for file changes and notify connected clients.
Here's a breakdown of the changes:

Update server.js to include WebSocket server and file watching
Add a small script to index.html for WebSocket connection and auto-reloading
Modify how files are served to always serve the latest version

Unfortunately this did not solve the issue.. On top of that we broke the static server.


Gradle 6.3 version treat 6.3.65-snapshot as a Maven SNAPSHOT version ( not valid )

Expected Behavior
6.x versions of Gradle(tested with Gradle 6.3) and maven-publish should have same working and not treat 6.3.65-snapshot artifact version as SNAPSHOT artifact. This is not the same behavior with Gradle 4.x and Gradle 5.x versions
Current Behavior
Gradle is interpreting 6.3.65-snapshot as a SNAPSHOT version and therefore trying to deploy SNAPSHOT version metadata.
Context
 I m trying to upload artifact with version (6.3.65-snapshot) to Sonatype Nexus 3.x releases version policy repository.
I could successfully publish 6.3.65-snapshot to Sonatype Nexus 3.x repository having releases version policy set when I used 4.10.0 and 5.4.1 versions of Gradle. But when upgraded the same project to Gradle 6.3 version, seems like Gradle is treating `6.3.65-snapshot` version as SNAPSHOT version.
Steps to Reproduce

I don't have the project on my Github account. But replicating this scenario is straight forward, just by comparing publish task output with Gradle 5.x version and Gradle 6.x versions
Your Environment

Build scan URL:

This change happened over a major version and is intentional. Please use another suffix than snapshot case insensitive.
There is thus no plan to restore the past behavior.


control gripper from Python

I followed this tutorial to move the manipulator when it is placed on the Turtlebot 3: https://ros-planning.github.io/moveit_tutorials/doc/move_group_python_interface/move_group_python_interface_tutorial.html, when I load this launch file on the Turtlebot:
ROS_NAMESPACE=om_with_tb3 roslaunch turtlebot3_bringup turtlebot3_robot.launch multi_robot_name:=om_with_tb3 set_lidar_frame_id:=om_with_tb3/base_scan
and this launch file on the remote PC:
roslaunch open_manipulator_with_tb3_tools manipulation.launch use_platform:=true . Moving the joints of the arm itself works with this code. But how can we move the gripper from Python?
It seems that there is no group for the gripper, but only for the arm so we cannot use the moveit_commander.MoveGroupCommander(group_name).

@BeysensJona
Unfortunately, we only support the tutorials introduced on our e-manual. However, I believe you can refer to the link below and find some clues for your own work.
(https://ros-planning.github.io/moveit_tutorials/doc/move_group_interface/move_group_interface_tutorial.html)
Best regards,
Ryan

Additionally, you will be able to get some clues from our e-manual. Please refer to the explanation about gripper control in the link below.
(http://emanual.robotis.com/docs/en/platform/turtlebot3/manipulation/#moveit)
Regards,
Ryan

Hi Ryan,
Thanks for your reply. However, when following the e-manual I can also not move or get information about the gripper. After initializing all the launch files, when I execute following command:

I get the following error: ERROR: service [/om_with_tb3/gripper] responded with an error: vector::_M_range_check: __n (which is 0) >= this->size() (which is 0).
Furthermore, the rosservice call command seems to acquire info about the gripper, but how to set the how to open and close the gripper?

Do you have a clue why this exception is thrown? I don't know where this exception is coming from. I followed all steps in the tutorial.

@BeysensJona
Please bring up a turtlebot+openmanipulator model on Gazebo and try below.
$ rostopic pub /om_with_tb3/gripper_position/command std_msgs/Float64 0.1
Regards,
Ryan

This issue has been closed as there weren't recent activities. Please feel free to reopen this thread if you have any other questions. Thanks.


Confuse about “dual variables constraint" of OneClassSVM

Hi, I read the paper "Estimating the Support of a High-Dimensional Distribution" about one-class-svm which provided on the webpage.
I noticed that the dual variables have a constraint that ∑_i α_i =1.
But when I tried to use and call clf.dual_coef (interface implemented by sklearn which directed to dual variables of libsvm), I found that the sum of the dual variables would not be 1.
Did I miss any detail about it?
Thanks

libsvm scales the dual problem of one-class svm. See eq 8 of
https://www.csie.ntu.edu.tw/~cjlin/papers/libsvm.pdf
On 2019-12-11 23:33, KevinTsai wrote:

Hi, I read the paper "Estimating the Support of a High-Dimensional
Distribution" about one-class-svm which provided on the webpage.
I noticed that the dual variables have a constraint that ∑_i α_i
=1.
But when I tried to use and call clf.dual_coef (INTERFACE
IMPLEMENTED BY SKLEARN WHICH DIRECTED TO DUAL VARIABLES OF LIBSVM), I
found that the sum of the dual variables would not be 1.
Did I miss any detail about it?
Thanks
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub [1], or unsubscribe
[2]. [ { "@context": "http://schema.org", "@type": "EmailMessage",
"potentialAction": { "@type": "ViewAction", "target":
"https://github.com/cjlin1/libsvm/issues/157?email_source=notifications\u0026email_token=ABI3BHS6TXRWZNL5SARQWKDQYHSM7A5CNFSM4JZ2GZWKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H77AJFQ",
"url":
"https://github.com/cjlin1/libsvm/issues/157?email_source=notifications\u0026email_token=ABI3BHS6TXRWZNL5SARQWKDQYHSM7A5CNFSM4JZ2GZWKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H77AJFQ",
"name": "View Issue" }, "description": "View this Issue on GitHub",
"publisher": { "@type": "Organization", "name": "GitHub", "url":
"https://github.com" } } ]
Links:
[1]
https://github.com/cjlin1/libsvm/issues/157?email_source=notifications&email_token=ABI3BHS6TXRWZNL5SARQWKDQYHSM7A5CNFSM4JZ2GZWKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H77AJFQ
[2]
https://github.com/notifications/unsubscribe-auth/ABI3BHR5KLBWIPDSQNJ7IC3QYHSM7ANCNFSM4JZ2GZWA

Thank you so much.


Raven 8.0

Standing PR of all 8.0 changes.

@bretthoerner just add us as reviewers whenever you are rdy

🙌


Filesystem stabilization

I think it is OK to stabilize!  +1

Alrighty, I have gone ahead and removed the warning! 🎉


Cannot get HMR to work with electron

with this config:
const rendererConfig = {
    entry: {
        app: [
            'babel-polyfill',
            './src/renderer/index.tsx'
        ]
    },
    output: {
        path: path.resolve(__dirname, './dist'),
        filename: 'js/[name].js'
    },
    module: {
        rules: [
            { test: /\.jsx?$/, exclude: /node_modules/, loader: 'babel-loader' },
            { test: /\.tsx?$/, exclude: /node_modules/, use: ['babel-loader', 'awesome-typescript-loader'] },
            { test: /\.css$/, exclude: /node_modules/, enforce: 'pre', use: ['style-loader', { loader: 'typings-for-css-modules-loader', options: { modules: true, namedExport: true } }] }
        ]
    },
    resolve: {
        extensions: ['.js', '.json', '.jsx', 'ts', '.tsx']
    },
    devtool: 'source-map',
    target: "electron-renderer",
    plugins: [
        new HtmlWebpackPlugin({
            filename: 'index.html',
            template: './src/renderer/index.ejs'
        }),
        new webpack.IgnorePlugin(/\.d\.ts$/)
    ],
    node: {
        __dirname: false
    }
};

im getting in devtools console:
dev-server.js:49[HMR] Waiting for update signal from WDS...
client?0ee4:45 [WDS] Disconnected!

but after changing config.target = 'web' i get this log: (HMR is working)
dev-server.js:49[HMR] Waiting for update signal from WDS...
client?0ee4:41 [WDS] Hot Module Replacement enabled.
client?0ee4:41 [WDS] Nothing changed.

but when im adding electron ipc i get this: (nothing is rendered)
[HMR] Waiting for update signal from WDS...
index.js:1Uncaught Error: Cannot find module "fs"
    at webpackMissingModule (index.js:1)
    at Object../node_modules/electron/index.js (index.js:1)
    at __webpack_require__ (bootstrap e2180cb…:659)
    at fn (bootstrap e2180cb…:85)
    at Object../src/renderer/containers/Root.tsx (Root.tsx:3)
    at __webpack_require__ (bootstrap e2180cb…:659)
    at fn (bootstrap e2180cb…:85)
    at Object.<anonymous> (index.tsx:4)
    at Object../src/renderer/index.tsx (index.tsx:21)
    at __webpack_require__ (bootstrap e2180cb…:659)
webpackMissingModule @ index.js:1
./node_modules/electron/index.js @ index.js:1
__webpack_require__ @ bootstrap e2180cb…:659
fn @ bootstrap e2180cb…:85
./src/renderer/containers/Root.tsx @ Root.tsx:3
__webpack_require__ @ bootstrap e2180cb…:659
fn @ bootstrap e2180cb…:85
(anonymous) @ index.tsx:4
./src/renderer/index.tsx @ index.tsx:21
__webpack_require__ @ bootstrap e2180cb…:659
fn @ bootstrap e2180cb…:85
0 @ index.tsx:21
__webpack_require__ @ bootstrap e2180cb…:659
./node_modules/ansi-html/index.js.module.exports @ bootstrap e2180cb…:708
(anonymous) @ bootstrap e2180cb…:708
client?0ee4:41 [WDS] Hot Module Replacement enabled.

so my question is how to get HMR / WDS work on target: "electron-renderer" ?

It looks like you just deleted our lovely crafted issue template. It was there for good reasons. Please help us solving your issue by answering the questions asked in this template. I'm closing this. Please open a new issue with filled issue template. Also make sure your issue is not a question. Questions should be posted on Stack Overflow.


Don't use to method sendMessageByApp or postFeedByApp

I used to method sendMessageByApp, but don't open zalo app, open Zalo on Store(ch play or Appstore)

For android, in Manifest.xml, make sure you have:
...
    <queries>
      <package android:name="com.zing.zalo" />
    </queries>
</manifest>

For iOS, make sure you add LSApplicationQueriesSchemes
Check README again, I updated ios + android setup


Test package

sudo make package - creates rpp-test
Create CTest from install
mkdir test && cd test
cmake /opt/rocm/share/rpp/test/
package info
dpkg -I ./rpp-test_1.5.0-local_amd64.deb
 new Debian package, version 2.0.
 size 11183126 bytes: control archive=6227 bytes.
     467 bytes,    11 lines      control
   23075 bytes,   207 lines      md5sums
 Architecture: amd64
 Depends:  rpp-dev
 Description: ROCm Performance Primitives library is a comprehensive high performance computer vision library for AMD CPUs and GPUs with HOST/HIP/OpenCL back-ends. RPP test package provides rpp test suite
 Homepage: https://gpuopen-professionalcompute-libraries.github.io/rpp/
 Maintainer: mivisionx support<EMAIL_ADDRESS> Package: rpp-test
 Priority: optional
 Section: devel
 Version: 1.5.0-local
 Installed-Size: 68293

@r-abishek - the PR does not change any functionality. Only creates a test package and add support to run tests from the installed folder rather than source folder.


Need to show service URL when deployment completes

Feedback from customer:
"After running defang compose up there was no output that told me how to access my app."

Done by #421


[RHCLOUD-20097] rename receiver names in dao layer

What: within sources-api-go/dao/application_type_dao.go and sources-api-go/dao/source_type_dao.go, the methods have different receiver names, so replaced receiver names: func (a *applicationTypeDaoImpl) SubCollectionList(primaryCollection interface{}, limit, offset int, filters []util.Filter) ... to func (at *applicationTypeDaoImpl) ApplicationTypeCompatibleWithSource(typeId, sourceId int64) ...
Why: to make it easier to read and understand
JIRA: RHCLOUD-20097

Nice job !!! Congrats on your first PR !!!

Thank you so much!!


Document how to use IPv6 addresses

Q
A

Bug fix?
no

New feature?
no

Doc update?
yes

BC breaks?
no

Deprecations?
no

Fixed tickets

License
MIT

Add a notice about how to specify an IPv6 address for sourceIp and SMTP/POP host.

Thank you @c960657.


Can attributes be interpolated between key frames?

I understand that bounding box coordinates can be interpolated between frames, and the value of mutable attributes can be set differently for each frame.
But I wonder can the attributes be interpolated between frames? For example, frame 1 has two attributes A1 = 0, A2 = 100, and frame 10 has A1 = 100, A2 = 0. Can we interpolate the attributes for all the frames in the middle such that frame 2 has A1 = 10, A2 = 90, frame 3 has A1 = 20, A2 = 80 and so forth?

@PhanTask Hi, the attributes cannot be interpolated as you described, could you please add some information about your annotation case?

@azhavoro Thank you for letting me know. Sure, I plan to label some objects that may have constantly changing attributes (e.g., temperature, deepness in red). Interpolation would be greatly helpful, otherwise I have to label the frames one by one.

@PhanTask
That is interesting use-case. CVAT does not support attribute interpolation, but I think it would be a nice feature to implement.
I will mark it as feature request. Let's look how the feature is demanded, maybe somebody from the community is ready to deliver it for us.
For you I would recommend to try Attribute Annotation Mode. It could accelerate annotation speed in your case.


Add tap-jira as discoverable

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/2821
Originally created by @tayloramurphy on 2021-06-28 16:42:53

View 1 previous comment from the original issue on GitLab


configuration.findConfiguration problem

There is a problem in configuration.js。
tslint.Configuration.findConfiguration('./tslint.json', file).results;
Always return all the rules, not the rules I defined.

deleted from  configuration.js,  Enforce the rules I defined.
 for (var _i = 0, _a = utils_1.arrayify(raw.extends); _i < _a.length; _i++) {             var relativePath = _a[_i];             var resolvedPath = resolveConfigurationPath(relativePath, dir);             var extendedRaw = readConfig(resolvedPath);             configs.push.apply(configs, loadExtendsRecursive(extendedRaw, path.dirname(resolvedPath)));         }

Hey @979liyang thanks for submitting this bug report - but it's not clear what your issue is. Please post here:

What was results before the 1775e4a3f221df3dd8447f93a9c040d6d8f65bec?
What is results now?
What are the contents of your tslint.json?

For example, here's the output I get for this tslint.json:
{
    "rules": {
        "semicolon": true
    }
}

C:\Code\tstest<EMAIL_ADDRESS>λ npm i tslint typescript tsutils
npm WARN<EMAIL_ADDRESS>No description
npm WARN<EMAIL_ADDRESS>No repository field.

+<EMAIL_ADDRESS>+<EMAIL_ADDRESS>+<EMAIL_ADDRESS>added 41 packages from 20 contributors, updated 1 package and audited 53 packages in 10.463s
found 0 vulnerabilities

C:\Code\tstest<EMAIL_ADDRESS>λ node index.js
{ results:
   { extends: [],
     jsRules: Map {},
     linterOptions: {},
     rules: Map { 'semicolon' => [Object] },
     rulesDirectory: [] } }

C:\Code\tstest<EMAIL_ADDRESS>λ npm link tslint
C:\Code\tstest\node_modules\tslint -> C:\Users\Dioge\AppData\Roaming\npm\node_modules\tslint

C:\Code\tstest<EMAIL_ADDRESS>λ node index.js
{ results:
   { extends: [],
     jsRules: Map {},
     linterOptions: {},
     rules: Map { 'semicolon' => [Object] },
     rulesDirectory: [] } }

...which looks the same and correct both times.

Hey @979liyang thanks for submitting this bug report - but it's not clear what your issue is. Please post here:

What was results before the 1775e4a?
What is results now?
What are the contents of your tslint.json?

For example, here's the output I get for this tslint.json:
{
    "rules": {
        "semicolon": true
    }
}

C:\Code\tstest<EMAIL_ADDRESS>λ npm i tslint typescript tsutils
npm WARN<EMAIL_ADDRESS>No description
npm WARN<EMAIL_ADDRESS>No repository field.

+<EMAIL_ADDRESS>+<EMAIL_ADDRESS>+<EMAIL_ADDRESS>added 41 packages from 20 contributors, updated 1 package and audited 53 packages in 10.463s
found 0 vulnerabilities

C:\Code\tstest<EMAIL_ADDRESS>λ node index.js
{ results:
   { extends: [],
     jsRules: Map {},
     linterOptions: {},
     rules: Map { 'semicolon' => [Object] },
     rulesDirectory: [] } }

C:\Code\tstest<EMAIL_ADDRESS>λ npm link tslint
C:\Code\tstest\node_modules\tslint -> C:\Users\Dioge\AppData\Roaming\npm\node_modules\tslint -> C:\Code\tslint

C:\Code\tstest<EMAIL_ADDRESS>λ node index.js
{ results:
   { extends: [],
     jsRules: Map {},
     linterOptions: {},
     rules: Map { 'semicolon' => [Object] },
     rulesDirectory: [] } }

...which looks the same and correct both times.

thank you JoshuaKGoldberg
In my definition have  "extends": "tslint:recommended", extends should be null.
Looking at the source code this morning I found out how to fix it.


Validate interaction with medical devices (CGM, pacemakers, etc.)

Describe the bug
Multiple folks have reported issues with Australia's TraceTogether based app (COVIDSafe) interfering with apps that interface with continuous blood-glucose monitors (CGM) used to manage diabetes:

https://twitter.com/DiabetesAus/status/1255671094800871426
https://twitter.com/jim_mussared/status/1256501782148075520

NHSx's app also uses GATT, and switches the device between peripheral and central modes, so is likely to trigger the same issue.
This may vary based on device model, as not all Bluetooth controllers can run in both Bluetooth Classic and LE modes simultaneously.
While this is likely to be a bug in some medical device software, contact tracing software operating in GATT mode triggers this issue through its constant manipulation of the Bluetooth controller in the background.
NHSx should validate this behaviour before public release.
To Reproduce

Pair/bond a CGM to a phone via Bluetooth and install its app
Install NHSx COVID-19 app
Verify that the CGM app is operating correctly (eg: alerting on changes to blood-glucose levels in the background)
Repeat the test for multiple models of CGM
Repeat the test for multiple phone models
Repeat the test for other bluetooth medical devices (eg: pacemakers)

Thanks Michael. We're testing this with people who use a range of Bluetooth devices - some medical, some not.
Do you have any specific models that you know exhibit this behaviour?
I can't comment about the Australian app.

I'm pasting this message in every active GitHub issue, so you may receive duplicate notifications.
Today, I'm happy to announce that NHSX has released the full git commit history for the Isle of Wight Beta apps.

Android - https://github.com/nhsx/COVID-19-app-Android-BETA
iOS - https://github.com/nhsx/COVID-19-app-iOS-BETA

As discussed, we have redacted API keys, sensitive domain names, and some of the developers' personal details. I am still waiting on final approval to publish the server-side code.
I would like to personally thank the community for your comments, bug reports, and vulnerability disclosures. They all went into helping the development process.
The beta trial of this app has now ended and we've moved to the next phase of app development. It is our intention to publish the source code of future apps as the binaries are released to the public.
Once again, thank you for being part of this.
Terence Eden
Head of Open Technology - NHSX


Author name containing a "dot" is not linked correctly

Describe the bug
Using the latest hugo-academic example site and changing the author name in a publication to a name containing a "dot" (see screenshot below) leads to the fact that the corresponding "authors" website  is not clickable anymore after building the website with Hugo (v0.65.3)

To Reproduce
Steps to reproduce the behavior:

Download/use example website (https://github.com/gcushen/hugo-academic/tree/03af4df12aec745c94721dd65a41445df70e907d/exampleSite)
Modify author name so it contains a "dot" (e.g. in  https://raw.githubusercontent.com/gcushen/hugo-academic/03af4df12aec745c94721dd65a41445df70e907d/exampleSite/content/publication/journal-article/index.md)
Run Hugo to create the website
Go to Publications and hover over the modified author name which is now not clickable anymore!

Expected behavior
Even if the author name contains a "dot" the linking to the corresponding authors site should work (as it did in former versions of hugo-academic, e.g. v4.5)
Technical details:

Academic Version: https://github.com/gcushen/hugo-academic/commit/a14d21f7c8c7378bb048a20c193e958d37dd1745
Hugo Version: 0.65.3
Browser/OS: Firefox 73.0.1 (64bit)

I believe this may be a result of a commit where we attempted to workaround a bug in the way Hugo's GetPage/urlize functions work with non-ASCII characters, by using the Hugo anchorize function instead.
See the Hugo bug report: https://github.com/gohugoio/hugo/issues/5687
The suggested workaround was to use anchorize, however, it is not a solution for the Hugo buig and does work differently, as you have noticed:
-https://github.com/gohugoio/hugo/issues/5687#issuecomment-515159231

https://github.com/gohugoio/hugo/issues/6546#issuecomment-559505566


Tautulli and Overseer not connecting

Adding the hostname ports and API doesn't connect them, even though radarr and sonarr connected perfectly
here's the screenshot of the logs

the ip , port and the api key

Are you saving the details before trying Test Saved?

 It is a common oversight. Today, I added some more verbiage to the connection failure message that addresses the fact that you have to save before testing. So, I believe if that was there earlier, you would have seen it and known what to do.