Kong throws 404 not found on route paths that exist at times after deployment

Is there an existing issue for this?

[X] I have searched the existing issues

Kong version ($ kong version)
"version": "2.8.1"
Current Behavior
We have single service and multiple routes, based on path we rewrite the uri.
On deployment there are times when some of the routes stops working.
While all_paths route always work, sometimes xyz_A works and sometimes xyz_B, there are few deployments where all the routes are also working at the sametime.
Declarative config (DB less):
services:
  - name: orchestrator-service
    protocol: http
    host: {{host_fqdn}}
    port: 8080
    retries: 5
    plugins:
      - name: rate-limiting
        config:
          second: 500
          minute: 20000
          hour: 200000
          policy: local
    routes:
      - name: xyz_A
        paths:
          - /xyz_A/(.*)
        plugins:
          - name: request-transformer
            route: hotel
            config:
              replace:
                uri: '/grpc/orch.xyz_A/$(uri_captures[1])'
      - name: xyz_B
        paths:
          - /xyz_B/(.*)
        plugins:
          - name: request-transformer
            route: flight
            config:
              replace:
                uri: '/grpc/orch.xyz_B/$(uri_captures[1])'
      - name: xyz_C
        paths:
          - /xyz_C/(.*)
        plugins:
          - name: request-transformer
            route: insurance
            config:
              replace:
                uri: '/grpc/orch.xyz_C/$(uri_captures[1])'
      - name: all_paths
        protocols:
          - http
          - https
        paths:
          - /(.*)
        plugins:
          - name: request-transformer
            route: all_paths
            config:
              replace:
                uri: '/$(uri_captures[1])'
          - name: rate-limiting
            config:
              second: 500
              minute: 20000
              hour: 200000
              policy: local

Expected Behavior
All specified routes should work at same time and on every deployment.
Kong logs:
2023/04/20 21:18:53 [debug] 1112#0: *4 [lua] client.lua:620: init(): [dns-client] search =
2023/04/20 21:18:53 [debug] 1112#0: *4 [lua] client.lua:633: init(): [dns-client] badTtl = 1 s
2023/04/20 21:18:53 [debug] 1112#0: *4 [lua] client.lua:635: init(): [dns-client] emptyTtl = 30 s
2023/04/20 21:18:53 [debug] 1112#0: *4 [lua] balancers.lua:263: create_balancers(): initialized 0 balancer(s), 0 error(s)
2023/04/20 21:18:54 [debug] 1112#0: *7 [lua] events.lua:211: do_event_json(): worker-events: handling event; source=mlcache, event=mlcache:purge:kong_core_db_cache, pid=1111, data=
2023/04/20 21:18:54 [debug] 1112#0: *7 [lua] events.lua:211: do_event_json(): worker-events: handling event; source=mlcache, event=mlcache:purge:kong_db_cache, pid=1111, data=

2023/04/20 21:19:00 [notice] 1111#0: *41 [kong] access.lua:529 [request-transformer] Valid JSON, client: <IP_ADDRESS>, server: kong, request: "POST /xyz_A/bookingPush?language=eng&region HTTP/1.1", host: "localhost:8000"
2023/04/20 21:19:00 [debug] 1111#0: *41 [kong] access.lua:517 [request-transformer] 8[request-transformer] template `/grpc/orch.xyz_A/$(uri_captures[1])` rendered to `/grpc/orch.xyz_A/bookingPush`
2023/04/20 21:19:00 [debug] 1111#0: *41 [lua] pkey.lua:57: load_pem_der(): load key using fmt: *, type: *
2023/04/20 21:19:00 [debug] 1111#0: *41 [lua] pkey.lua:117: load_pem_der(): pkey:load_pem_der: loaded pkey using function PEM_read_bio_PUBKEY
2023/04/20 21:19:00 [debug] 1111#0: *41 [lua] init.lua:1006: balancer(): setting address (try 1): <IP_ADDRESS>:8080
2023/04/20 21:19:00 [debug] 1111#0: *41 [lua] init.lua:1035: balancer(): enabled connection keepalive (pool=<IP_ADDRESS>|8080, pool_size=60, idle_timeout=60, max_requests=100)
20/Apr/2023:21:19:00 +0530 500 <IP_ADDRESS> to:- <IP_ADDRESS>:8080 POST /xyz_A/bookingPush?language=eng&region HTTP/1.1 -- upstream_response_time:0.150 request_time:0.148 tid_header:- status:- slot:- slotTime:- ttlReq:- ttlResp:- jobFlag:- cookies:"-" bytes_sent:745 gzip_ratio:- "-" "PostmanRuntime/7.30.0" -

2023/04/20 21:19:14 [notice] 1111#0: *41 [kong] access.lua:529 [request-transformer] Valid JSON, client: <IP_ADDRESS>, server: kong, request: "POST /xyz_B/bookingPush?language=eng&region HTTP/1.1", host: "localhost:8000"
2023/04/20 21:19:14 [debug] 1111#0: *41 [kong] access.lua:517 [request-transformer] 8[request-transformer] template `/$(uri_captures[1])` rendered to `/xyz_B/bookingPush`
2023/04/20 21:19:14 [debug] 1111#0: *41 [lua] pkey.lua:57: load_pem_der(): load key using fmt: *, type: *
2023/04/20 21:19:14 [debug] 1111#0: *41 [lua] pkey.lua:117: load_pem_der(): pkey:load_pem_der: loaded pkey using function PEM_read_bio_PUBKEY
2023/04/20 21:19:14 [debug] 1111#0: *41 [lua] init.lua:1006: balancer(): setting address (try 1): <IP_ADDRESS>:8080
2023/04/20 21:19:14 [debug] 1111#0: *41 [lua] init.lua:1035: balancer(): enabled connection keepalive (pool=<IP_ADDRESS>|8080, pool_size=60, idle_timeout=60, max_requests=100)
20/Apr/2023:21:19:14 +0530 404 <IP_ADDRESS> to:- <IP_ADDRESS>:8080 POST /xyz_B/bookingPush?language=eng&region HTTP/1.1 -- upstream_response_time:0.140 request_time:0.135 tid_header:- status:- slot:- slotTime:- ttlReq:- ttlResp:- jobFlag:- cookies:"-" bytes_sent:755 gzip_ratio:- "-" "PostmanRuntime/7.30.0" -

No response

Adding regex_priority as 1 for route's xyz_A, xyz_B, xyz_C and 0 for route all_paths, fixes the problem.


Reconsider exposing Vec<u8> in easy

Right now, representation details about EasyBuf are leaked, in particular the fact that it's ultimately backed by a Vec<u8> (which you can get immutable access to). We should probably hide these details.

I believe that this issue should be closed as we are moving to tokio-io + bytes.

Yeah I figured we'd close these out when the migration is performed.

Er on second thought, let's actively clean out, I think we're good here with https://github.com/alexcrichton/tokio-io now


Using JsonAPI is not reflected in Swagger docs

I'm using JsonApiSerializer to format responses and POSTed models as Json:API.
Feature Request: Is there a way that the documentation generated here can reflect this in the schemas?

I don't think we're going to take on support for a third JSON serializer.
If it's not possible to use the current extensibility model to allow someone to write their own support for an arbitrary JSON serializer, then we'd consider making changes to allow someone to do that, depending on their size of the changes required to do so.


DT: Decide upon/write text for HELP page

Decide what to add in the Help page. Does the FAQ go here or in About?
Do we use the text here (https://www.freebmd.org.uk/search-help.shtml) and update it (including screengrabs)? What else, if anything?

Spreadsheet created (https://docs.google.com/spreadsheets/d/1A0J52BvWjFx0gRHyyjPjhr-LPN3mazxVTQvBQT97ZSw/edit?usp=sharing) , work now undertaken by documentation team 16/2/20202

Comfort to email Pat a draft text to the team at groups.io.

Sorry I didn't get round to making the draft for this.
I have just read it and it felt like I was reading the Torah (I don't speak Hebrew).
There were rules and dependencies like using a backslash or a question mark or both, One * or two **, dashes, hypens, options to write the in 3 different ways (?), links to pages which involved even more reading.
I tried some of the functions on the test3 page and got no results. Some I didn't know if i was getting different results or not.
The only thing I can suggest with writing this draft is that I rewrite it how I think it should work, logically inside my head. I would take out all the 'if you want this, then you could do this or that or this' and change it to 'to do this, then do that'. So basically write it up how I thik it would make sense to work then this could be used as a guide for the development team to make it in this way.
Otherwise I'll wait for the docs team to get back to me about what actually needs to be kept and make a draft based on what they say; I have posted in groups.

Yes, write a 'basic' version as you suggest - there should be a secondary help page that is for help on the advanced tools that more experienced users will find useful.

I've been trying to work on this job and Philip has advised that there are edits in a tree somewhere on Refinery and that it is advisable to check them for guidance.
Please can anyone give me access to Refinery.
I will need this access if I am to do other work, not just this one.

Ok, so as mentioned, I spoke to Alison and Philip about this in the groups.io chat and Philip told me that on Refinery on test3 there are some edits that @PatReynolds has made for this page and it would be wise to check those edits before I go ahead and make my own.
@AlOneill on the other hand mentioned that the page is difficult to read especially if someone has a screen reader because of the 'here', 'here' and 'here' mentioned throughout the text. It is best if the word itself is hyperlinked rather than 'find more information 'here''
So with this info, I kept the edits to just following Alison's advice of getting rid of the 'here' But until I have access to Refinery, I won't be able to include the edits that Pat would like for this page. Unless someone can find the edits that Philip is talking about and maybe copy and paste them in a document for me. I don't want to do double work and it would be so useful if I could get into Refinery.
Nevertheless, I have gone through the page and crossed out the 'here' instead, I have used blue < and > to show which word should be linked. The links are still in the document, they're are just crossed out.
The biggest issue with the document, apart from the fact it is very wordy, is that it is written in the passive voice. So for example it says:
“A list of which part of the country is covered by each volume is given .”
(The 'here' is hyperlinked)
When really it should say:
"Each volume is covered by a  showing which part of the country."
(The word 'list should be hyperlinked)
This made it kind of difficult to edit and take out the 'here' and it still make sense.
Anyway, before I go any further, I would really like to see the suggested edits by Pat in Refinery if any one can access them.
In the meantime here is the link to the draft that I have made:
https://drive.google.com/file/d/1mZACvsL_noCn6mGUUlb80vKvRJHJ3CzW/view?usp=sharing

Hi @ComfE-2662 my edits ( I added the section about Citations) were already in test3 - I think you meant test3, not test 2 (which we no longer use).

I moved things in test2 to test3 which were not already there.
For both Help and About I think some thought is needed on structure - what needs to go into the top level page, and what is better on a sub page - either on its own, or in a group.

Yep, that's what I said, in Refinery on test 3 . I only have access to test 3 anyway haha! But it's getting to actually see these edits which I am having trouble with because I can't get into refinery.
Unless you mean they are somewhere else in test3?
But anyway, a download would be super useful, thank you. Then I can recreate another draft using that.
So are you saying I should try and split up the topics as such, into a main page and a sub page? Any guidance on structure would be great.
Also did you read the part where I have changed all the 'here' links? What do you think about that?

@ComfE-2662
Sorry, I did not explain link-text at all well! I'll try again.
"Here" is not good link-text: it conveys no meaning and there are a number of links on the page that all have exactly the same link-text, yet they point to different things/places. I did not mean for you to necessarily remove the word, "here", but to use or create a suitable phrase for the link instead of "here". The link-text should be meaningful and unique.
And "list" is almost as bad :-) — list? of what?
Dealing with the passive voice at the same time, how about something like:
"This list shows {which volume covers which part of the country}."
The link text is in the curly brackets. Now a screen-reader user will be able to identify it in a list of the links on that page. That is a common way of navigating for someone who cannot see the page well enough to read it themselves, so they get the computer to read it out to them. The software can also read a list of only the links, i.e. just the link-text.

Thanks Alison, this clarifies a few things.
Do you know of these citations that Pat has done?
Get Outlook for Androidhttps://aka.ms/ghei36

From: AlOneill<EMAIL_ADDRESS>Sent: Friday, August 14, 2020 10:23:02 PM
To: FreeUKGen/FreeBMD2<EMAIL_ADDRESS>Cc: ComfE-2662<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [FreeUKGen/FreeBMD2] DT: Decide upon/write text for HELP page (#172)
@ComfE-2662https://github.com/ComfE-2662
Sorry, I did not explain link-text at all well! I'll try again.
"Here" is not good link-text: it conveys no meaning and there are a number of links on the page that all have exactly the same link-text, yet they point to different things/places. I did not mean for you to necessarily remove the word, "here", but to use or create a suitable phrase for the link instead of "here". The link-text should be meaningful and unique.
And "list" is almost as bad :-) — list? of what?
Dealing with the passive voice at the same time, how about something like:
"This list shows {which volume covers which part of the country}."
The link text is in the curly brackets. Now a screen-reader user will be able to identify it in a list of the links on that page. That is a common way of navigating for someone who cannot see the page well enough to read it themselves, so they get the computer to read it out to them. The software can also read a list of only the links, i.e. just the link-text.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/FreeUKGen/FreeBMD2/issues/172#issuecomment-674277782, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APXHLOEL74MQTJIEKELNMZDSAWTLNANCNFSM4JL3ZQ2Q.

@AlOneill just in case you missed the question above.

@ComfE-2662 I'm not the best person to answer your question about citations. There are several pages on test 3 that have some/all of the "Help with citations" text. I'm really not sure which page(s) @PatReynolds meant you to look at.
The original full version of the text is on the DRAFT Help with citations page, but I can see that Pat has put parts of it in a couple more "Help" and "About" child pages too.

I will start a new story for improving links as this needs doing for all pages.  This page also needs CSS / header etc (as do many, but content is now ready for proof-reading.

@PatReynolds to ask proofreaders

Proofing document needs revision.

Proofing document needs revision.

@PatReynolds
Sorry to split hairs. That page is not a draft page and it appears to have been created up copying and pasting sections from the various sub-pages that sit below it: so information is duplicated and it has almost no hyperlinks to other pages / subpages.
I'm not allowed to work on such pages, I cloned a copy of the page which is prefixed DRAFT - and is suffixed (W-i-P). It is the Draft page, or another draft page, that needs to be (possibly reworked and) proof-read, in conjunction with its subpages, and then put through the signing off process. I'm working on the draft Transcriptions page and its sub-pages at present.

@PatReynolds
Sorry to split hairs. That page is not a draft page and it appears to have been created up copying and pasting sections from the various sub-pages that sit below it: so information is duplicated and it has almost no hyperlinks to other pages / subpages.
I'm not allowed to work on such pages, I cloned a copy of the page which is prefixed DRAFT - and is suffixed (W-i-P). It is the Draft page, or another draft page, that needs to be (possibly reworked and) proof-read, in conjunction with its subpages, and then put through the signing off process. I'm working on the draft Transcriptions page and its sub-pages at present.

Hi @PatReynolds ,
I looked at this page this morning and ran it through the spell-checker, etc. and as it stands it is not a bad page at all (Glaswegian for "good").
I did some Volume searches on test2 (not implement yet on test3) and it works. Note: I do Volume searches myself, but I use Brett Langston's "Handbook to Civil Registrations Districts" (2nd ed). I don't beleive that we have the mapping that is claimed (without being linked) on FreeBMD2.
FreeBMD(1) has District to county mappings, and district to volume mappings (all of these relationships change over the last 180-ish years of GRO).  We could throw those files into e.g. a spreadsheet and make a new mapping, but we offer nothing comparable to Brett Langston's book or his pages on UKBMD. So that section of the Help page will need modifying.
For a short-implementation solution, I've cloned another copy of the page which is currently on test3 called DRAFT - Help (edited copy)  - DRAFT and I will add live hyperlinks to external sites and to non-draft FreeBMD pages and add [link-text = ] [ link =] for draft-pages. That can be done in a day-or-so and send it for sign off. That will provide a lot the functionality of FreeBMD that most users need.
Note: for the short to medium-term I have another draft: there is extensive duplication between the Help pages and it's sub-pages: so the way out might be to trim the sub-pages and have the second draft linked to the trimed-subpages (which the current Help and and my intended draft-Help page does not link to). But, we don't have a finished Transcriptions page yet.

Hi @PatReynolds ,
I looked at this page this morning and ran it through the spell-checker, etc. and as it stands it is not a bad page at all (Glaswegian for "good").
I did some Volume searches on test2 (not implement yet on test3) and it works. Note: I do Volume searches myself, but I use Brett Langston's "Handbook to Civil Registrations Districts" (2nd ed). I don't beleive that we have the mapping that is claimed (without being linked) on FreeBMD2.
FreeBMD(1) has District to county mappings, and district to volume mappings (all of these relationships change over the last 180-ish years of GRO).  We could throw those files into e.g. a spreadsheet and make a new mapping, but we offer nothing comparable to Brett Langston's book or his pages on UKBMD. So that section of the Help page will need modifying.
For a short-implementation solution, I've cloned another copy of the page which is currently on test3 called DRAFT - Help (edited copy)  - DRAFT and I will add live hyperlinks to external sites and to non-draft FreeBMD pages and add [link-text = ] [ link =] for draft-pages. That can be done in a day-or-so and send it for sign off. That will provide a lot the functionality of FreeBMD that most users need.
Note: for the short to medium-term I have another draft: there is extensive duplication between the Help pages and it's sub-pages: so the way out might be to trim the sub-pages and have the second draft linked to the trimed-subpages (which the current Help and and my intended draft-Help page does not link to). But, we don't have a finished Transcriptions page yet.

Thanks, @PhilipClarke712!  I am assigning you to this story now, taking myself off (but do ask if you need anything) - move to Needs review when ready.

@PatReynolds and @PhilipClarke712 can we close off this story? Have we agreed/decided upon what HELP page text we will provide initially for MVP and then beyond?

Hi @richpomfret  @PatReynolds , @AlOneill
I have a page - which I think is complete in respect of what test3 can currently do - https://test3.freebmd.org.uk/cms/help/draft-help-1st-interim-version.
It will be going to Alison in the next five to ten minutes.
So, I would suggest that this story can be closed.  I might have to raise a new story if the page is considered in need of major change.

Many thanks, Philip, moving to ready for user testing prior to closing in Scrum.

@PatReynolds The current Help page has never been signed off for HTML and other technical stuff; I'm working on Philip's draft — there is quite a lot to fix.
Which page exactly do you consider Ready for User Testing?

This is the 'decide on the text' not 'implement the text - that is still a live issue  (#173 ) and is not ready for testing.  This story is 'ready for closing after confirmation in scrum' rather than 'ready for user testing', but we don't have a column for that.


Audio when in "silent" mode

Is there any way to get the audio to still play on a video even if the iPhone's ringer switch is in "silent" mode? It may seem strange to want to ignore this but for an app that plays videos (like the YouTube app), the user is expecting there to be audio with the video.

The player exposes a Volume property but if you need more control, you can access Android's AudioManager providing access to different audio sources in your native Android project.
https://developer.android.com/reference/android/media/AudioManager.html


implement FeatureVariations

It's referred to in the common layout table file, but doesn't actually exist, so... that needs implementing?

https://github.com/Pomax/Font.js/blob/ac30a5f2f65c9af46040c1f036319d1a12d7ac8b/src/opentype/tables/common-layout-table.js#L57-L64 references it, but will definitely hit a runtime error if that code ever gets used right now.


Use unified scope for pub keyword

For anyone interested, here is the authoritative  source on scope-naming conventions.


Exclude event sessions from day sessions

Issue

close #669

Overview (Required)

Create day session list after remove event session list.

Links
nothing
Screenshot

Before
After

LGTM! 👍


Use lock file in mobile builds

When an RN package updates that is not compatible to the expo version the builds fail, we should be using a lock file instead.

I believe we ended up discarding this as the issue.
We started keeping up to date with expo releases and expo doctoring any packages after those releases to avoid issues with expo pipeline


Possibility to add a custom numeric column to feature tables

Dear MZmine development team,
My current usage of MZmine is for raw data preprocessing to obtain a data matrix which is then subjected to various data analysis methods commonly used in metabolomics such as PCA or PLS-DA.
After the analysis, I always have a look back at the raw data in MZmine, I have always found that this step could be made easier, since that currently, I need to look at the table (for example in Excel), figure out which variables to look for (for example the ones with the highest loading on a specific component) and then have a look at these specific variables in MZmine.
Being able to add custom (numeric) columns in a feature lists (for example to import PCA loadings) could improve this step, and ease the whole variable annotation and multivariate statistics interpretation process. It would then be possible to sort the table according to these columns, and then directly look at the raw data all in the same place.
As I know little about software development and the way MZmine code is built, I don't know if this feature would represent a lot of work. If not, it seems to me that it could be given a thought to improve the data analysis process at small cost.
Thanks a lot for the work done on MZmine!

Hi gdelap,
from what i understand it could be relatively easy with our now data model. However, i am not too familiar with the statistics part which comes after the feature detection with MZmine.

Are these values computed for individual features or for the whole row? Our annotation model is based on rows, not on features, so this is probably the crux.
What kind of values would you want to import?
Are you doing multiple statistical methods?
Do you want to be able to look at multiple methods at the same time or would you want to import them one after another and replace the previous one?

We could have a simple import of those columns and just add them as new columns like
PCA1 PCA2 PCA3 ...
For multiple methods we would just add a PCA column and then 1-5 for the components
https://www.youtube.com/watch?v=T02H4rwyCvk&t=381s

Hi,
Thanks a lot for your answers.
Some answers for Steffen:

For methods such as PCA, these values are computed for the whole row (maybe it should find its place near the row m/z and RT values at the beginning of the feature list).
These value are double, that can take take any real value.
Yes, we can do multiple methods, but in that case we could specify the method used in the header of the column (for example PCA_01, PCA_02, PLSDA_01, PLSDA_02 etc.), if I understood it well, it is what Robin is proposing.

Just to clarify things, do you think you will plan to add a feature in MZmine to easily create new columns in tables (such as à "New Column" button or something like this) or will we have to do it by modifying MZmine code? (or is it not settled yet?)

Thanks for the info. We won't add the ability to add user defined columns, as in setting the header names and loading individual values for them. However, we can add a single (or multiple, as needed) columns that can hold user defined values.


chore(v2): upgrade Infima to 0.2.0-alpha.10

Motivation
The latest version of Infima has been extensively refactoring, so we need to update it.
For the test, I generated a website built of Redux (https://goofy-murdock-b8f04d.netlify.app/) - everything looks fine (except for pagination links, but this is OK because, because I just replaced the CSS file according latest version of Infima).
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
View pages of preview and Redux site with new version of Infima (https://goofy-murdock-b8f04d.netlify.app/)
Related PRs
(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/facebook/docusaurus, and link to your PR here.)

Done :heavy_check_mark:


pion-webrtc -> Pion WebRTC

Mass rename everywhere we forgot to update

Codecov Report

Merging #725 into master will increase coverage by 0.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #725      +/-   ##
==========================================
+ Coverage   76.28%   76.33%   +0.04%
==========================================
  Files          58       58
  Lines        4023     4023
==========================================
+ Hits         3069     3071       +2
+ Misses        700      699       -1
+ Partials      254      253       -1

Impacted Files
Coverage Δ

mediaengine.go
98.03% <ø> (ø)
:arrow_up:

sctptransport.go
74.34% <0%> (+1.31%)
:arrow_up:

Continue to review full report at Codecov.

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


SyncClient: Bug fix - Multiple Receive on same client

Sync Client should be able to call receive() multiple times.

/azp run java - servicebus - tests

Before this is merged, it should take into consideration that multiple receive operations can be called from different threads, and we don't want this to publish the same message to multiple downstream. It should "drain" pending receive work.


Some components in the status bar are difficult to see in light theme

I think there are some components in the status bar with colors that are slightly difficult to see in the light theme. For example as those screenshots below:

@vinhphm that is likely an issue with your Powershell extension as they are explicitly setting a color for the status bar item, which introduces contrast issues. The status bar doesn't provide any color tokens for these items and themes can't theme them.
Please file and issue with the Powershell extension.

Filed an issue for you: https://github.com/PowerShell/vscode-powershell/issues/2188


invalid username or password  on live server and  how can i run project without http://<IP_ADDRESS>:8080/

how run on Apache,IIS means without php -S <IP_ADDRESS>:8080 devrouter.php

Please provide details.

On which OS run you TaskBoard ?
If it's on a Unix like OS, I suggest to install apache2 package and create a virtual host, it's easy.
<VirtualHost *:80>
	DocumentRoot /path/to/TaskBoard
	ServerName task_board

	<Directory /path/to/TaskBoard>
		DirectoryIndex index.html
        	Require all granted
        	Options -Indexes +FollowSymLinks +MultiViews
              	AllowOverride All
        </Directory>

	ErrorLog ${APACHE_LOG_DIR}/task_board.log

    	# Possible values include: debug, info, notice, warn, error,
    	# crit,
    	# alert, emerg.
    	LogLevel warn

</VirtualHost>

Active mandatory apache2 modules
sudo a2enmod rewrite expires
Active new virtual host
sudo a2ensite task_board
sudo service apache2 restart

Closing due to lack of response.


Not working when a game window is focused

Hello everyone,
First, i'm sorry if there is any mistake.
Second, i'm also sorry if this was already asked but i didn't find it.
Actually, i don't really know if the issue is due to RobotJS, NodeJS or Windows but when i try to do for example 2 mouseClick() on a game window when it is focused, only the first click works.
EDIT: I'm a working with a vanilla nodejs script in cmd
Thank you for the help.

Hi @Vavaballz, which version of RobotJS are you using? And which game?

The last one, 0.4.4.
I tried with CS:GO and with Warframe.

TF2 here, same issue.

Minecraft here, same issue
OS: Mac 10.11.6
Game: Minecraft
I also tried using the "move-mouse-drag" branch, but to no avail... 😭
(I downloaded the 0.4.4 branch, then manually edited the files so that they were in sync with the 0.3.7 "move-mouse-drag" branch)

This seems to be an issue for both Mac and Windows? Does the issue happen if the game isn't fullscreen?

Yes, my first try with with warframe, warframe was fullscreen windowed

OS: Windows 7
Game: Lego StarWars Complete Saga
RobotJS version 4.40
Similar problem, keys get stuck once pressed, until I tab out of the game and back in. Except for the arrow keys, they are released properly.

I just tested... minecraft has issues while in fullscreen and out of it...

This might in fact be fixed when #218 is fixed/executed.
I edited my application to use autoit (https://github.com/xhawk18/node-autoit) instead of robotjs and that makes it work flawlessly with Lego StarWars. That means it only works on windows for now.
Those who are testing under Windows should try using the autoit module and report their results....

Nope, running windows, even tried autoit, trying to run VisualBoyAdvance (Gameboy Emulator) Only first input registers.

I will try to look into it this weekend, Windows isn't my first OS, so it's more difficult to look into this kind of stuff.

@jdtzmn I spent some time testing this, and I wasn't able to replicate:

WAs this clicking ro
I haven't tested on Windows yet.

Oh... thought this was about moving the mouse, not clicking... 😜

So here another problem that I've encountered too on windows 10, it could be slightly different but still can be originated from the same malfunctioning code.
It's not only games, to test this I pressed f11 on chrome and I can't write anymore, but that seems to happen only with letters keys, in fact if I press f11 again chrome get out from fullscreen mode.

Is there a solution yet?

Any update on this issue?

Happening to me, mouse doesn't work at all in CS:GO.

Yeah here too, whats the cause for it? Want to use it to run automated tests on game builds ...

Does anyone know any alternatives that work?

Same, trying on GlobalMu atm and doesn't register left or right clicking

Same problem with Elite:Dangerous.
First keyTap works and then nothing else work.
I tried with vJoy to send joystick button press instead of keyTap with RobotJS : same issue
I want to use a virtual keyboard on a tablet, but I guess it is some kind of anti-cheat mechanism (like gameguard or xigncode) that prevents inputs from suspicious programs.
Does it appear only on Online Games ? I would be a hint...

I've the same issue. It won't click again after the first click.
Here is my code:
const robot =require('robotjs'); let timeout; window.addEventListener('mousemove',()=>{   clearInterval(timeout);   timeout = setTimeout(()=>{ 	  robot.mouseClick('left',false); 	  console.log('clicked ')   }, 1000); })

@upkanet @nitti87 can you please provide a reproducible code? I can't reproduce it

I'm having a similar issue with Elite: Dangerous. keyTap() works as expected with the Home key (I can spam it and the game responds as if I were doing so on the actual keyboard), but other keys respond only once until I click out of the game and back in.

any update on this?

Having a similar issue.
When working with windowed fullscreen games which keep the mouse in middle, the mouse position is very weird

Hey guys, I was having this problem too on Win10. After spending some time on it, it seems to be a permissions error. So just run your program as admin. If you're running your program from a terminal, make sure you're running that terminal as admin.

I just encountered this same issue and this seems to be the only thread on the internet that I can find where the issue has been brought up. Is there a fix for this yet, or do we know what the actual issue is? (I have tried running as administrator with no luck)

Hey guys, I was having this problem too on Win10. After spending some time on it, it seems to be a permissions error. So just run your program as admin. If you're running your program from a terminal, make sure you're running that terminal as admin.

This works for me. thank you

I launch my IDE (VSCode) with administrator just solved the problem.


Implement random collections including generic type handling

This PopulatorImpl populates collection attributes with random elements applying generic types as appropriate.
Not all collection attributes can actually be handled generically. For example the add method of an ArrayBlockingQueue instance will fail unless the instance has been properly initialized which will not be the case because PopulatorImpl initializes classes randomly. This implementation will throw an exception when such cases are encountered which seems better than quietly populating an empty collection object. A custom populator can always be applied for now.

Mahmoud Ben Hassine » jPopulator #112 SUCCESS
This pull request looks good
(what's this?)

Hi, it looks great! Thank you.
Just a quick note, this PR includes unnecessary code to support classes with a private default constructor (as discussed in #35 ) Could you please remove it and keep only changes related populating random generic collections?
I'll merge your changes asap.
Many thanks upfront.
Mahmoud

That code has already been removed.
In case you did not see it....
I added a comment on #34 suggesting that the 1.2.0 release might be broken.
If I let maven pull 1.2.0 from maven central, private default constructors cause problems, but if I build 1.2.0 from source, they do not. https://github.com/feckertson/jPopulatorConsumer is a trivial example with a private default constructor to demonstrate (assuming there is not a already working build of 1.2.0 in the local m2 repo).

That code has already been removed.

Thanks for the update!

In case you did not see it..I added a comment on #34 suggesting that the 1.2.0 release might be broken.

I saw it, no problem. The master branch contains the code for current snapshot (for next release, not current release). You can import the snapshot version in your project until the next release is out, I'll publish the snapshot version asap.

This implementation will throw an exception when such cases are encountered which seems better than quietly populating an empty collection object.

Interesting point. Until now, since collection population was not supported, I decided to generate empty collections instead of throwing an exception. Now that this feature is here (thanks to you :+1: ), we can throw an exception for unsupported types.
I'll probably get conflicts when merging your PR with other active PRs, I'll fix them and keep you informed.
Many thanks for your contribution!
Kind regards
Mahmoud

Mahmoud Ben Hassine » jPopulator #113 SUCCESS
This pull request looks good
(what's this?)

Any updates on this request?

Hi @feckertson, @kermit-the-frog
No, this PR has conflicts with the current master branch and I didn't got time to fix them, sorry for that.
I'll try to do it asap and keep you informed.
Regards
Mahmoud

Hi,
I'm really sorry for my late reply, shame on me ..
Could you please update this PR with the current code in the master branch?
I'm planning to merge it for the next release.
Thank you in advance
Kind regards
Mahmoud

Closing this PR. I have opened a new one that is consistent with the current master branch.


[VS Code] The collaboration session expired. Please sign in and try again.

Error:
The collaboration session expired. Please sign in and try again.
Steps to Reproduce:

Version Data

extensionName
VSLS

extensionVersion
0.3.735

protocolVersion
2.2

applicationName
VSCode

applicationVersion
1.27.2

platformName
MacOS

platformVersion
17.7.0

Hey @zyang1992 , how old was the collaboration session when you saw this error message?
@dlebu


dirPagination v. 0.11.1: 'filter:searchText as results' not working when before itemsPerPage

When using filter:searchText as results, the error is: itemsPerPage filter must be set.
Can be recreated by placing as results after filter in example: http://plnkr.co/edit/7pH3Dw?p=preview
Works as expected if itemsPerPage filter is first (though this obviously does not filter as per the FAQ in the ReadMe).

Yes, that is because it is not valid syntax for ngRepeat. From the docs:

Please note that `as [variable name] is not an operator but rather a part of ngRepeat micro-syntax so it can be used only at the end (and not as operator, inside an expression).

So in your case, if you want to get a reference to all the filtered items before they are paginated, you can do it like this:
dir-paginate="item in results = (collection | filter: searchText) | itemsPerPage: pageSize"

Thanks, I definitely missed this in the docs when troubleshooting before posting.


Refactor Application.Run

What does the pull request do?
This PR refactors Application in a way that it is closer to WPF's Application. It now has a Startup and Exit event and lets you override OnStartup, OnExit to better customize the lifetime behavior of the application. In addition to that, it is now possible to run an application without showing a window.
What is the current behavior?
The only way to customize the application startup behavior is to use the AppBuilder and this leads to errors when using controls before the platform is properly initialized.
What is the updated/expected behavior with this PR?
A customized startup is always running on the UI thread when the platform is already initialized.
How was the solution implemented (if it's not obvious)?
I have introduced a OnStartup method that can be overridden to customize the startup of an application.
Checklist

[x] Added unit tests (if possible)?
[x] Added XML documentation to any related classes?
[ ] Consider submitting a PR to https://github.com/AvaloniaUI/Avaloniaui.net with user documentation

Breaking changes
MainWindow needs to be set explicitly
Application.Exit() -> Application.Shutdown()
Application.ExitMode ->Application.ShutdownMode
Application.OnExiting -> Application.OnExit
Application.OnExit -> Application.Exit
AppBuilderBase.SetExtiMode(ExitMode) -> AppBuilderBase.SetShutdownMode(ShutdownMode)

This looks good in general, and I approve of changing the API to use the same naming as WPF.
I think the one thing to decide (as mentioned in gitter) is how to handle assigning the MainWindow when no window is passed to Run.

Looks good, the only thing that worries me is that we'll be breaking every single Avalonia application out there with the change from Initialize -> OnStartup. Are we sure that's acceptable? Is there a way we can make applications that don't need any of the functionality in this PR continue to work?

OnStartup and Initialize are different. Initialize happens during initialization process, not everything is ready at that point. Initialize is more like auto-generated InitializeComponent from WPF.

https://github.com/AvaloniaUI/Avalonia/blob/master/src/Avalonia.Controls/AppBuilderBase.cs#L308 - there are callbacks that are called after Initialize. If you want OnStartup, create a different method.

Will revert the removal of Application.Initialize

Not sure what is failing here. Maybe some side effects caused by my changes. Trying to reproduce this on my local machine. The weird thing is that platforms fail on different tests.

@grokys Would help a lot if you could fix the XML comments. That's something I am struggling a lot.

@grokys Pls have a look at my recent changes. I have added XML comments. Please let me know if some wording is wrong.

Also, just a note: all of that shutdown stuff will only work on several platforms (desktop ones). On most of user devices there is no event loop we can control.

Is there a reason we don't spawn our own ui thread on mobile? Avalonia's ui is independent of the platform's ui. I don't like how mobile and desktop diverge. Application should be the main entry point and be responsible for the lifetime.

Is there a reason we don't spawn our own ui thread on mobile?

TL;DR: You can't

This has somehow broken OSX. We need to a some kind of unit test that checks if control catalog runs on each platform.

What is exactly failing?


PredictionIO web interface

Hello guys! Thanks for this great tool!
I just try to install and setup it using docs, including this instruction: http://www.sitepoint.com/create-movie-recommendation-app-prediction-io-setup/
Seems, somewhere shall be web interface for Engine creation and other actions with PredictionIO server, but I couldn't find it on port 9000.
Could you please help me with that?

Hello, @PaulMaly
The tutorial is for an older version of 0.7. It's quite outdated. You can find quickstart guides for the latest version here:
http://templates.prediction.io/
These three templates would cover the uses cases mentioned in the tutorial:
Similar items:
http://templates.prediction.io/PredictionIO/template-scala-parallel-similarproduct
Rank items:
http://templates.prediction.io/PredictionIO/template-scala-parallel-productranking
Personalized Recommendation:
http://templates.prediction.io/PredictionIO/template-scala-parallel-recommendation
or
http://templates.prediction.io/PredictionIO/template-scala-parallel-ecommercerecommendation
Please take a look and let me know if you have any other questions.

Hello, @hitgirl! Thanks for the answer, but my question was more about web interface, not just engine templates. I already read about engine templates on your site and have learned how to setup those from console, but how about web interface shown in this tutorial?

Hey,
The web interface was removed during the redesign. You can still accomplish the asks via CLI though. https://docs.prediction.io/cli/
Few community members are contributing to bring the UI back. Let me know if you would be interested in helping too!

adding to wishlist for a future version

COOL !

Required Web UI back

What is needed in the UI? Just engine status and config? Assuming this is for the deployed engine? The old Web GUI was before my time

If possible ui to create engine from template.
It would we great if i can configure engine query names and engine storage
variable names...
On 23-Dec-2015 12:20 am, "Pat Ferrel"<EMAIL_ADDRESS>wrote:

What is needed in the UI? Just engine status and config? Assuming this is
for the deployed engine? The old Web GUI was before my time
—
Reply to this email directly or view it on GitHub
https://github.com/PredictionIO/PredictionIO/issues/108#issuecomment-166701796
.

This just saves editing the engine.json file. I would expect some kind of load or status information, or the results of analytics if available. Perhaps scheduling of train/deploy cycle.

If possible then would like to see the historical data in HBASE/Mysql and CRUD functionalities.


grpc-bridge example fails to compile go service

$> pwd
/tmp/lyft/envoy/examples/grpc-bridge
$> script/build
# github.com/lyft/envoy/examples/grpc-bridge/service/gen
../../../../gopath/src/github.com/lyft/envoy/examples/grpc-bridge/service/gen/kv.pb.go:89: undefined: grpc.SupportPackageIsVersion3

gRPC master has moved to SupportPackageIsVersion4 apparently https://github.com/grpc/grpc-go/blob/master/rpc_util.go#L519
Another triumph for golang dependency management 😃

Related to #155. We need to automate building/testing the example containers.

fixed by #357


Please include an example for "az set --subscription"

Related command

Is your feature request related to a problem? Please describe.

Describe the solution you'd like

Describe alternatives you've considered

Additional context

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

That should have been "az account set -subscription".  I have 2 asks:
- include an example of what the subscription is (name or id, or either)
- include a note that if you get an error saying the subscription doesn't exists in the cloud (which happened to me), you should login again with "az login"
Thanks,
Roland
From: Yong Zhang @.>
Sent: Friday, June 7, 2024 6:41 PM
To: Azure/azure-cli @.>
Cc: Author @.***>
Subject: Re: [Azure/azure-cli] Please include an example for "az set --subscription" (Issue #29130)
Thank you for opening this issue, we will look into it.

Reply to this email directly, view it on GitHubhttps://github.com/Azure/azure-cli/issues/29130#issuecomment-2155748545 or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABAY3XVV342NVOTTRBCG4E3ZGJOJDBFKMF2HI4TJMJ2XIZLTSOBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJDUOJ2WLJDOMFWWLLTXMF2GG2C7MFRXI2LWNF2HTAVFOZQWY5LFUVUXG43VMWSG4YLNMWVXI2DSMVQWIX3UPFYGLLDTOVRGUZLDORPXI6LQMWWES43TOVSUG33NNVSW45FGORXXA2LDOOJIFJDUPFYGLKTSMVYG643JORXXE6NFOZQWY5LFVA2TCMBUGA4DQNUCUR2HS4DFUVUXG43VMWSXMYLMOVS2UMRTGQYTGNJVHA2TNJ3UOJUWOZ3FOKTGG4TFMF2GK.
You are receiving this email because you authored the thread.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


Allow uploading the same endpoint to different catalogs

To test: Go to the admin, upload an endpoint list to a catalog and then upload it to another catalog.

The new upload of endpoints wont create its Services, because a Service with that URL was previously created.

two options to proceed:

add to Service M2M relationships to Catalogs, that requires a lot of changes on website and api.
change the validation by adding new Service in db for each Catalog, this is recommended since would be easier to integrate on the website and api endpoint, the downside is that would result on duplicated data where is only diffd for its catalog, but flexible to modify single Services per catalog if needed.

Is there anything more that I would be considering here?

Having for example worldmap on any catalog would be counter productive with
the repetition.
On use case to consider is Service 1 Layer 1 on Catalog 1 and Service 1
Layer 2 on Catalog 2. While having Service 1 Layer 1,2 in Catalog 3.
From the two options you described, which one would allow this case better?
On Aug 12, 2016 5:56 PM, "Luis Pallares"<EMAIL_ADDRESS>wrote:

two options to proceed:

add to Service M2M relationships to Catalogs, that requires a lot
of changes on website and api.
change the validation by adding new Service in db for each Catalog,
this is recommended since would be easier to integrate on the website and
api endpoint, the downside is that would result on duplicated data where is
only diffd for its catalog, but flexible to modify single Services per
catalog if needed.

Is there anything more that I would be considering here?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/cga-harvard/HHypermap/issues/148#issuecomment-239579184,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADW1-9Xhr3BwOaNbH_pqQidxEo6O65jks5qfPn7gaJpZM4JjF-b
.

sounds like if Endpoint, Service and Layer would need a M2M rel to Catalogs. But not sure.
If user uploads an EnpointList in one catalog, will scrap the Endpoints and attach Services and Layers to new/existing lists of catalogs without the necesity to harvest again the webservice. does it make sense?
example:
EndpointList A is added to C1, it contains S1 and L1.
EndpointList B is added to C2, it contains S2 and L2.
Endpoint X (shareable) is added to C1 and C2, it will add its S3 and L3 to all S's and L's what contains C1 and C2.
Then 2 Catalogs will result and:
S1 will have L1, L3.
S2 will have L2, L3.
X will have L3.
I am not sure. Please provide example if that is not correct.

Right - avoiding double harvesting is a goal.
For now, let's table the discussion about double harvesting and get a simple solution:
Endpoints, Services and Layers on different catalogs are treated as different objects (instead of  unique key in url, let's do unique key in url + catalog id)

https://d1zjcuqflbd5k.cloudfront.net/files/acc_393543/1h6er?response-content-disposition=inline; filename=Screen Capture on 2016-08-12 at 21-32-38.gif&Expires=1471055877&Signature=M5pKinmxmXerPRJCnVAUrNEwW3RLzdsj~bfoudVrwNntgE5L1aeqc07g9Fx795WqJ3HZLeRzlgyuhwKTvItIwGMHLUZfasqPDV1Ri8BAFRl-eMoEOFEaRrYBcBZdnUUfzcEwyMO60BpmEV-pwqB3nGQJzLEyFm7Or9~c6tmYNQo_&Key-Pair-Id=APKAJTEIOJM3LSMN33SA


Update readme to reflect new CLI and install.

I think the README can be further updated in future before pushing to master and does not need to be fully updated before this PR is merged to develop.
Originally posted by @jmtsuji in https://github.com/jmtsuji/rotary/pull/46#discussion_r1363278230

Addressed in #127 and elsewhere - although I think we can continue to improve the docs in the future


Conv2d issue with GPU

I have extracted the activations of a neural net at a certain layer with size [1,28,28,128] and I have a corresponding kernel that I want to convolve with these activations. The kernel shape is [3,3,128,256].
I am using:

2 GTX-1080 GPUs
Cuda-8.0 (The problem persists with Cuda-7.5 as well)
Graphics Driver: NVIDIA-367
Python 2.7

When I perform 2D convolution using the CPU I get the correct answer but when I run it through the GPU I get all zeros. Note that, there is no ReLu operator involved here and the output should not be zero (as confirmed by the CPU output). In addition, I do not think this is a numerical precision error.
I have included the codes, activations and the kernel files for reproducing the problem here:
https://github.com/skolouri/GTX-1080_CNN_Issue
Environment info
Operating System: Linux 14.04
Installed version of CUDA and cuDNN: Cuda-8.0.27 and cudNN-4.0.7
Steps to reproduce
The steps are included here:
https://github.com/skolouri/GTX-1080_CNN_Issue
What have you tried?

I have tried Cuda-7.5
CPU works fine, GPU returns all zeros!

Hi,
I posted a reply at: https://groups.google.com/a/tensorflow.org/forum/?utm_medium=email&utm_source=footer#!msg/discuss/FTcjjGhZOkA/BHH1j9mWAgAJ
There is a little more detail in this message.  You need to use the cuDNN 5.0 that works with CUDA 8.0, that is certain.  I am not sure if you need to run Ubuntu 16.04 for the GTX1080 driver, but keep that in mind if you have trouble after the cuDNN update.
Here is my execution of your test script:

Thanks Greg! CudNN-5.0 solved the issue.

Great, so it looks like 14.0X is okay, but need the CUDA 8.0 and cuDNN 5.0.

Looks to be fixed. Closing this issue.


Example for setting ciphers

Problem Description
When trying to set ciphers for the mitmproxy-server connection they seem to be ignored.
Documentation says "OpenSSL syntax". Could you give some examples for that? iirc the openssl application itself uses different options for TLS1.2 and TLS1.3 like "ciphers" and "cipher-suites". Also I have seen different formats online for the same ciphers.
Steps to reproduce the behavior:
I was using mitmweb with " --set ciphers_server="TLS-AES-256-GCM-SHA384" ". Also tried more ciphers separated  with ":"  or using "ciphersuites_server"  .  btw. when setting some option which does not exist/is mistyped then it would be nice when mitmproxy throws an error.
System Information
Mitmproxy: 7.0.0 binary
Python:    3.9.6
OpenSSL:   OpenSSL 1.1.1k  25 Mar 2021
Platform:  Windows-10-10.0.22000-SP0

Documentation says "OpenSSL syntax". Could you give some examples for that?

In short, whatever you specify gets passed into SSL_CTX_set_cipher_list, https://www.openssl.org/docs/manmaster/man1/openssl-ciphers.html has examples. We don't support specifying TLS 1.3 ciphers yet (#4260). Any contributions would be highly welcome, the relevant code is at https://github.com/mitmproxy/mitmproxy/blob/main/mitmproxy/addons/tlsconfig.py and https://github.com/mitmproxy/mitmproxy/blob/main/mitmproxy/net/tls.py.

when setting some option which does not exist/is mistyped then it would be nice when mitmproxy throws an error.

I'd like to agree, but realistically we are limited to the feedback we are getting from OpenSSL:

SSL_CTX_set_cipher_list() and SSL_set_cipher_list() return 1 if any cipher could be selected and 0 on complete failure.
Source: https://www.openssl.org/docs/manmaster/man3/SSL_CTX_set_cipher_list.html

So yeah, sorry about that. 🤷


Removed sdx common clone in dockerfile

What? and Why?

What does this pull request change/fix? Why was it necessary?

This PR fixes the issue of a cryptography error when running docker build in sdx-store
Checklist

[x] CHANGELOG.md updated? (if required)

Codecov Report

Merging #77 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #77   +/-   ##
=======================================
  Coverage   92.41%   92.41%
=======================================
  Files           5        5
  Lines         343      343
=======================================
  Hits          317      317
  Misses         26       26

Continue to review full report at Codecov.

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

 (3) Remove sdx common clone in Dockerfiles

 (3) Remove sdx common clone in Dockerfiles


CSP-408: Add disclaimer to old tvsdk articles

I’ll ask my colleagues from TV department to review this PR, but could you please also change this:
Note:

to this
**Note:**

It would make it wrapped with  tag which is the best possible tag here. We don’t yell at people here. Thank you.

hi,
thanks for your feedback. I wasn't aware that writing something in red qualifies as yelling :)
Its to draw attention to importance of text, the reading of which must not be missed.
Given that, is there any other way of adding color to markup without resorting to html?

p.s: writing in CAPS usually means shouting/yelling. not sure if the conventions are different in norway?

@amustafaopera, sometime people that don’t work for Opera come here and suggest PRs and when it’s our code or articles we decide to merge it or not, when it’s not I look for a person responsible for this. Sometimes people from Opera TV come here and ask to merge some code then I just review it for sanity and merge it. From what I see, you don’t belong to operasoftware organization on GitHub and I have no reasons to merge everything you suggest without checking it first. But now my boss got email from your boss, etc. and I see that you’re from Opera TV and I’ll merge it with some fixes. Could you plese join organization mentioned above and ask your colleagues to do the same? It’s better to use your official @opera.com emails, but it’s not necessary.
Speaking of fixes:  element if deprecated a long time ago and we’re trying to stay standard-compliant here. The same for color=red: we use existing styles for such things and if there’s nothing suitable we create new ones.
I’ll create a disclamer styles today and merge your PR.

hi Vadim,
Thanks for the clarification. It is fine to use any style you wish with the disclaimer, as long as the actual text remains unchanged.
I tried to join that group, but it doesn't look like I can. I think the moderator has to add me. I am using my opera e-mail address<EMAIL_ADDRESS>Thanks again,
-Mustafa

I implemened all changes myself in 9a342828, so I’m closing this PR. That’s how it looks:

yes, this looks super. Cheers!


Error load timeout for css modules

Hi, I'm use Awesomium <IP_ADDRESS> for create desktop app.
And when I use require-css, I'm see this error.
15:56:28 ConsoleMessage: {"EventName":"ConsoleMessage","eventType":"ConsoleMessage","LineNumber":140,"Message":"Uncaught Error: Load timeout for modules: css!c-popup-css.css_unnormalized5,css!c-popup-css\nhttp://requirejs.org/docs/errors.html#timeout","Source":"http://testhost.ru/FrontEnd/Content/libs/requirejs/require.js?t=636083313808306596"}
If in linkLoad use function callback() - all okey.

As far as I understood, Awesomium just set unusual user agent, and require-css cannot understand it is webkit. I beleive much better way is just add feature-detect webkit, alongside with user agent detection.

@guybedford could you please assist here?


Update Cargo.toml

update Cargo.toml; "tauri-plugin-oauth" branch is "v1" not "main"

Need to be give attention; Right now pake url options is not work;
related issue


python311Packages.podman: 4.7.0 -> 4.8.0

Diff: https://github.com/containers/podman-py/compare/refs/tags/v4.7.0...v4.8.0
Changelog: https://github.com/containers/podman-py/releases/tag/v4.8.0
Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Priorities
Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 270886 run on x86_64-linux 1

4 packages built:

python310Packages.podman
python310Packages.podman.dist
python311Packages.podman
python311Packages.podman.dist


Integrate with X11

As per https://github.com/dwks/silvius/issues/16#issuecomment-395978537 I've started a fork of screenkey (at https://github.com/crypdick/silvius-screenkey), and want to have it display the buffer as you speak.

I've tried to create pop-up notifications using notify-send inside GrammaticalError (here https://github.com/dwks/silvius/blob/master/grammar/parse.py#L9):
# inisde __init__
os.system('notify-send ' + self.string)

But I get the following error:
> and test
[ANY, ANY, END]
sh: -c: line 0: unexpected EOF while looking for matching ``'
sh: -c: line 1: syntax error: unexpected end of file
Error: Unexpected token `ANY' (word number 1)

https://github.com/crypdick/silvius-crypdick/commit/e4f1a1a0b49aad50a3e64f6f5063cc5dde2cf0e2 now notifies whether the buffer gets accepted or not. I'd still like to implement a live preview of the buffer using screenkey.


Latest repl is not in clojars or maven. could you please upload it.

Could not find artifact proto-repl:proto-repl:jar:1.4.20 in central (https://repo1.maven.org/maven2/)
Could not find artifact proto-repl:proto-repl:jar:1.4.20 in clojars (https://clojars.org/repo/)
Could not find artifact proto-repl-charts:proto-repl-charts:jar:0.4.1 in central (https://repo1.maven.org/maven2/)
Could not find artifact proto-repl-charts:proto-repl-charts:jar:0.4.1 in clojars (https://clojars.org/repo/)

I am trying to run Atom + proto-repl to create a Clojure environment. I am getting the same errors:

Could not find artifact proto-repl:proto-repl:jar:1.4.24 in central (https://repo1.maven.org/maven2/)
Could not find artifact proto-repl:proto-repl:jar:1.4.24 in clojars (https://repo.clojars.org/)
How is it that other users can run Atom + proto-repl in the context of these two error messages?
How can I get Atom to work with proto-repl? Thanks!


Multiline string that does not end with newline is accidentally parsed as a string that ends with '\0'

The following code should work but it does not:
/+dub.sdl:
dependency "dyaml" version="~>0.9.2"
+/
import dyaml;

void main()
{
    import std : chomp;

    enum str = q"EOS
exp: |
  foobar
EOS".chomp;

    auto yml = Loader.fromString(str).load;
    auto exp = yml["exp"].as!string;

    assert(exp[$-1] == 'r'); // line 18
}

Result:
$ dub run -q --single issue.d
core.exception.AssertError@issue.d(18): Assertion failure
----------------
??:? _d_assertp [0x55d3ca686310]
./issue.d:18 _Dmain [0x55d3ca5b049a]
Program exited with code 1

I confirmed it does not work with dmd v2.100.0 on Ubuntu 22.04.1.
When I change the assert in the line 18 to assert(exp[$-1] == '\0'), the above code works without errors.

dyaml uses a \0 when reading past the end of the file, so I would assume this error is caused by dyaml reading too much.


Evidence Data type: Pathways and Systems Biology

Description
There are more and more papers that conduct comprehensive Systems Biology analyses to identify key driver genes for different diseases. They use different data types as input and apply different computation methods to find gene-disease associations. We want to include these sets of key driver genes and are planning to do so with a 'Pathways and Systems Biology' data type which will be based on the 'Affected Pathways' data type.
HOW are we going to solve the problem?

In the first phase, Systems Biology papers that identify Key Driver Genes (KDGs) will be identified and curated. These will be used to define the evidence strings that need to be generated for this data type.
Then we will need to define how this new combined data type will be scored within the platform.
The new Systems Biology data source will have to be added to the pipeline.

Describe technical design of the solution
Process for the addition of Systems Biology KDGs
Link to the Data Specification Document will follow shortly.
Progress Tracker

Implemented as part of 18.12 release.  Follow-up activities will be tracked within specific issues in platform repository.


URIs returned are temporary - become useless after app restart

I store some photo URIs received by this wonderful library in AsyncStorage, for next time the app is used. (e.g. like Favorite photos). But when I use the same URIs after app restart, they no longer work, and I get a warning about "Task orphaned for request"...
I think the URIs i get are temporary. How can I get URIs that persist after restart?
e.g. URI:

file:///Users/eyalw/Library/Developer/CoreSimulator/Devices/E620770A-DE93-4DF6-82D4-F33F89BA2A6A/data/Containers/Data/Application/EB219CA8-CAC9-457A-B751-0C4F521C4009/tmp/8F7F5D5C-7A8C-408A-8002-88F91224A64A-59311-000155AB889D36FA/IMG_0012.JPG

At the moment what I do as a workaround is save the image.id, which is persistent across app restarts, and then after each restart I use CameraKitGallery.getImagesForIds to re-fetch the URIs.


metrics-server doesn't work as apiservice so on kubectl top pods failed

What happened:
metrics-server api doesn't work  correctly (even if the deployment is Ok on K8S dashboard)
When you delete namespace they are locked in terminating phase
kubectl top node doesn't work
Error from server (ServiceUnavailable): the server is currently unable to handle the request (get nodes.metrics.k8s.io)
kubectl get apiservice
v1beta1.metrics.k8s.io                      kube-system/metrics-server   False (FailedDiscoveryCheck)   12h
Anything else we need to know?:
Also occured with the last version of metrics-server
The trouble can be solved by patch
 kubectl patch deployment metrics-server -n kube-system -p '{"spec": {"template": {"spec": {"hostNetwork": true }}}}

Environment:
cfcr 34 with proxy option enable

I found the trouble. If proxy is used we need to add to no_proxy the CIDR of the service <IP_ADDRESS>/16 to avoid that the internal adresse are redirected to the proxy and so on not found. When I add it the hostNetwork is not necessary


Documentation: .index must be called before .wherePartitionKey

It would be good to show examples of querying on a GSI in the documentation. I was scratching my head for a while because I had code like this:
async function find(pk: string, skPrefix?: string, index?: MyIndexEnum): Promise<Foo[]> {
   let query = store.query().wherePartitionKey(pk);

   if (index) {
      query = query.index(index);
   }

   if (skPrefix && !isEmpty(skPrefix)) {
      query = query.whereSortKey().beginsWith(skPrefix.toLowerCase());
   }

   console.debug(`Query ${index || 'table'} for "${pk}" begins_with(${skPrefix})`);

   return query.exec();
}

I didn't realize that you had to call .index(...) before calling wherePartitionKey. That seems a bit counterintuitive on this builder pattern, but if it was documented along with the query documentation, that'd make it easy to see.

@jthomerson also closing in favour of #374, thanks for bringing that to our attention


[tool_crash] ProcessException: The system cannot find the file specified. Command: .\Google\Chrome\Application\chrome.exe, OS error code: 2

Command
flutter run --debug

Steps to Reproduce

...
...
...

Logs
ProcessException: The system cannot find the file specified.
Command: .\Google\Chrome\Application\chrome.exe, OS error code: 2
#0      _ProcessImpl._start (dart:io-patch/process_patch.dart:401:33)
#1      Process.start (dart:io-patch/process_patch.dart:38:20)
#2      Chrome._startProcess (package:browser_launcher/src/chrome.dart:156:26)
#3      Chrome.start (package:browser_launcher/src/chrome.dart:148:18)
#4      FlutterResidentDevtoolsHandler._launchDevToolsForDevices (package:flutter_tools/src/resident_devtools_handler.dart:131:24)
#5      FlutterResidentDevtoolsHandler.launchDevToolsInBrowser (package:flutter_tools/src/resident_devtools_handler.dart:119:7)
#6      TerminalHandler._commonTerminalInputHandler (package:flutter_tools/src/resident_runner.dart:1742:56)
#7      TerminalHandler.processTerminalInput (package:flutter_tools/src/resident_runner.dart:1760:13)
#8      _rootRunUnary (dart:async/zone.dart:1406:47)
#9      _CustomZone.runUnary (dart:async/zone.dart:1307:19)
#10     _CustomZone.runUnaryGuarded (dart:async/zone.dart:1216:7)
#11     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:339:11)
#12     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:271:7)
#13     _SyncBroadcastStreamController._sendData (dart:async/broadcast_stream_controller.dart:377:25)
#14     _BroadcastStreamController.add (dart:async/broadcast_stream_controller.dart:244:5)
#15     _AsBroadcastStreamController.add (dart:async/broadcast_stream_controller.dart:474:11)
#16     _rootRunUnary (dart:async/zone.dart:1406:47)
#17     _CustomZone.runUnary (dart:async/zone.dart:1307:19)
#18     _CustomZone.runUnaryGuarded (dart:async/zone.dart:1216:7)
#19     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:339:11)
#20     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:271:7)
#21     _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:63:11)
#22     _EventSinkWrapper.add (dart:async/stream_transformers.dart:13:11)
#23     _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11)
#24     _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7)

[✓] Flutter (Channel stable, 3.7.12, on Microsoft Windows [Version 10.0.19044.2728], locale en-TZ)
    • Flutter version 3.7.12 on channel stable at C:\src\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 4d9e56e694 (11 days ago), 2023-04-17 21:47:46 -0400
    • Engine revision 1a65d409c7
    • Dart version 2.19.6
    • DevTools version 2.20.1

[✓] Windows Version (Installed version of Windows is version 10 or higher)

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc2)
    • Android SDK at C:\Users\BenAgust\AppData\Local\Android\sdk
    • Platform android-33, build-tools 33.0.0-rc2
    • Java binary at: C:\Program Files\Android\AndroidStudio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✗] Chrome - develop for the web (Cannot find Chrome executable at .\Google\Chrome\Application\chrome.exe)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[✓] Visual Studio - develop for Windows (Visual Studio Community 2022 17.2.2)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.2.32519.379
    • Windows 10 SDK version 10.0.19041.0

[✓] Android Studio (version 2020.3)
    • Android Studio at C:\Program Files\Android\AndroidStudio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] VS Code (version 1.77.3)
    • VS Code at C:\Users\BenAgust\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.62.0

[✓] Connected device (3 available)
    • SM G950U (mobile) • 988b19303351343851 • android-arm64  • Android 9 (API 28)
    • Windows (desktop) • windows            • windows-x64    • Microsoft Windows [Version 10.0.19044.2728]
    • Edge (web)        • edge               • web-javascript • Microsoft Edge 111.0.1661.62

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

Flutter Application Metadata
Type: app
Version: 1.0.0+1
Material: true
Android X: false
Module: false
Plugin: false
Android package: null
iOS bundle identifier: null
Creation channel: stable
Creation framework version: 4d9e56e694b656610ab87fcf2efbcd226e0ed8cf

Closing this as a duplicate of https://github.com/flutter/flutter/issues/95142.
You can fix this by installing Google Chrome on your system or doing what is recommended by flutter doctor in
�[31m[✗]�[39m Chrome - develop for the web (Cannot find Chrome executable at .\Google\Chrome\Application\chrome.exe)
    �[33m!�[39m Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.


Fixed an issue where base OpenAI embeddings can't work with Azure Ope…

Description
When you try to use base OpenAI embeddings with Azure OpenAI LLM deployment, you can index the document because hydrate_embeddings_params replaced None with Azure OpenAI base_url.
Related Issues
#492
Proposed Changes
This PR fixes the issues, such that all following event work as expected:

same api_bases for LLM and embeddings (both Azure)
different api_bases for LLM and embeddings (both Azure)
LLM uses Azure OpenAI, while embeddings uses base OpenAI (this one is important)
LLM uses Azure OpenAI, while embeddings uses third-party OpenAI-like API

Checklist

[X] I have tested these changes locally.
[x] I have reviewed the code changes.
[ ] I have updated the documentation (if necessary).
[ ] I have added appropriate unit tests (if applicable).

Additional Notes
[Add any additional notes or context that may be helpful for the reviewer(s).]

@microsoft-github-policy-service agree

Hi @KennyStryker
I just moved your branch into one in our repo for running all the test suite.  You can find it here: #517
Thanks for your contribution!


Add test libs

Add testing libraries Hypothesis, Pandera, and ShellCheck in the train dependencies. The installation has been checked to function.

Close #71


Publish new version

@meinaart could you publish a new version with the fix I provided last week?

@meinaart I see that you weren't able to publish it yet, if needed we can help you maintain this package.

@meinaart I see that you weren't able to publish it yet, if needed we can help you maintain this package.

Release a new version today.


use org-ids for linking wiki files

At the moment I use org-ids for my links so that later I can freely adjust my headlines and file locations. I have about 1 million words among 250 files and everything works as expected.
I like the features of org-wiki and have tried it out for a while but I haven't found a way to use wiki-links with org-ids. Is that possible? Did I miss something obvious?
Thanks for this useful software.
PS: Do you know these essays about personal wikis in general http://connectedtext.com/manfred.php and http://luhmann.surge.sh/communicating-with-slip-boxes ? I thought they were quite interesting.

Do you mean using search options in file links?
You could replicate the behavior of  wiki:keyword links by changing org-wiki--open-page to:
(defun org-wiki--open-page (pagename_section)
  "Open or create new a org-wiki page (PAGENAME) by name.
Example:  (org-wiki--open-page \"Linux\")
Will open the the wiki file Linux.org in
`org-wiki-location`"
  (let* ((pagename (car (split-string pagename_section "::")))
	 (section (car (cdr (split-string pagename_section "::"))))
	 (org-wiki-file (org-wiki--page->file pagename))
	)
    (if (not (file-exists-p org-wiki-file))
        ;; Action executed if file doesn't exist.
        (progn (find-file  org-wiki-file)
               ;; Insert header at top of page
               (org-wiki-header)
               ;; Save current page buffer
               (save-buffer)
               ;; Create assets directory
               (org-wiki--assets-make-dir pagename))

      ;; Action executed if file exists.
      (if org-wiki-default-read-only
          ;; open file in read-only mode.
          (progn  (org-open-file org-wiki-file t nil section)
                  (read-only-mode 1))
          ;; open file in writable mode.
	  (org-open-file org-wiki-file t nil section))
        )))

this would allow links like
wiki:file
wiki:file::#custom_id
[[wiki:file::*section name]]

thank you very much for your answer. This is still an unsolved problem for me.
I was thinking of External Links using IDs like [[id:B7423F4D-2E8A-471B-8810-C40F074717E9][Link to heading by ID]]. This allows me to rename the file that contains the target heading without breaking the link. The search options you linked to don't allow for changed file names as far as I can see.
I thought that offering to use IDs would require modifications at many different parts of org-wiki (for the index, etc.) so that I didn't even try to change a function to jump to a different wiki heading.


Example command

The given example command
python3 pyramid.py -p 443 -ssl -u testuser -pass Sup3rP4ss! -enc "chacha20" -passenc "TestPass1" -server "<IP_ADDRESS>" -generate -setcradle pythonmemorymodule.py
Appears to cause issues due to the quotes shown.
The Python REPL crashes out and you get a non-execution of the payload.
In testing I omit these double quotes around the pass, server and enc and I have no trouble, works very well after that.
I note in the video that you do not use the quotes.

I cannot replicate your error. As you can see from the screenshot below, issuing the command you wrote correctly starts the server.

Apologies, I wasn't clear on when the issue happens. The issue I experienced was after using the example command to generate the paste command, when you paste that generated command into a python repl on the client/target side where you want to execute is where it was crashing.
However I have tested again and it's not consistent with the quotes strings, I think it may be when using embedded 3.12.2 I get this issue, I may have conflated during testing where I was using installed python to test and also using the embedded 3.12.2 version. Installed Python seems fine with higher versions client side, embedded does not seem happy above 3.10.11 (not tested other versions above 3.10.11).
Using the embedded 3.10.11 I don't have the issue. Sorry for the trouble.

3.12.2 embedded crashes

3.10.11 embedded is fine

OK thanks. Depending on the features added or removed can be quite tricky to get suport for every version. Closing the issue.


[bug]: Toggle button does not work well on mobile (and confusing on desktop)

Describe the bug
The Toggle button has the following background colors for the hover and on states:

hover:bg-muted
data-[state=on]:bg-accent

Unfortunately both these colors map to the same physical color (e.g. neutral-100 in light mode and neutral-800 in dark mode). This makes it very difficult to tell if the button is on or off in certain situations. The worst case is the Toggle button on a mobile which is in the off state, but still appears to be on. That's because on the mobile, the button stays in the hover mode even after it is tapped. The issue is less severe on the desktop where the confusion only occurs when you click the button and your cursor is still on it. In this case, even when the button is turned off, it shows the hover color giving the perception that it is on.
The screenshot below is for a outline button on mobile which is turned off, but still looks like it is on:

You can try this in the docs at https://ui.shadcn.com/docs/components/toggle#outline
Affected component/components
Toggle, Toggle Group
How to reproduce

Go to https://ui.shadcn.com/docs/components/toggle#outline on a mobile phone
Toggle the outline button on
Toggle the outline button off

The button appears as if it is on.
Codesandbox/StackBlitz link
https://ui.shadcn.com/docs/components/toggle#outline
Logs
No response
System Info
MacOS / iOS
Chrome

Before submitting

[X] I've made research efforts and searched the documentation
[X] I've searched for existing issues

thank u so much

https://www.instagram.com/1900_officelle?igsh=MW5ueDI0b21qbW44Zg==
lucifersosad @.***> schrieb am Mo., 5. Aug. 2024, 08:08:

thank u so much
—
Reply to this email directly, view it on GitHub
https://github.com/shadcn-ui/ui/issues/4457#issuecomment-2268246941, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/BIO77CPK37L4KS3AGWKIKEDZP4JGVAVCNFSM6AAAAABLVS2HG2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRYGI2DMOJUGE
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


How to adjust pick_list item border

As this image shows, I would like to adjust the pick_list item border to patch that of the dropdown menu itself:

Currently, I have the following code to implement picklist::StyleSheet
impl pick_list::StyleSheet for DropDown {
    fn menu(&self) -> Menu {
        Menu {
            text_color: WHITE.into(),
            background: DARK_BG.into(),
            border_width: BUTTON_RADIUS,
            border_color: WHITE.into(),
            selected_text_color: WHITE.into(),
            selected_background: GREY.into()
        }
    }

    fn active(&self) -> pick_list::Style {
        match super::get_theme() {
            super::Style::Light => pick_list::Style {
                text_color: DARK_BG.into(),
                background: WHITE.into(),
                border_radius: BUTTON_RADIUS,
                border_width: 1.0,
                border_color: DARK_BG.into(),
                icon_size: 0.5
            },
            super::Style::Dark => pick_list::Style {
                text_color: WHITE.into(),
                background: DARK_BG.into(),
                border_radius: BUTTON_RADIUS,
                border_width: 1.0,
                border_color: WHITE.into(),
                icon_size: 0.5
            }
        }
    }

    fn hovered(&self) -> pick_list::Style {
        pick_list::Style {
            text_color: WHITE.into(),
            background: GREY.into(),
            border_radius: BUTTON_RADIUS,
            border_width: 1.0,
            border_color: WHITE.into(),
            icon_size: 0.5
        }
    }
}

There does not seem to be an adjustment option for the pick_lists item view border radius

Looks like the drop-down overlay is styled by overlay::menu::Renderer, but you appear to correctly set the border width for the menu styling too ... hmmm.
Are you observing any different in behavior between the 'selected' option and the others? This might be the culprit:
https://github.com/hecrj/iced/blob/9da0a3de54e8e7161d4a3405633bc574ce43eb2d/graphics/src/overlay/menu.rs#L78-L86
Though I fear this is intentional, given that overzealous border radius values could result in the background quad not fully backing all the text.

Looks like the drop-down overlay is styled by overlay::menu::Renderer, but you appear to correctly set the border width for the menu styling too ... hmmm.
Are you observing any different in behavior between the 'selected' option and the others? This might be the culprit:
https://github.com/hecrj/iced/blob/9da0a3de54e8e7161d4a3405633bc574ce43eb2d/graphics/src/overlay/menu.rs#L78-L86
Though I fear this is intentional, given that overzealous border radius values could result in the background quad not fully backing all the text.


Added "name" & "email" to Authenticatable trait

These properties & methods are used to reference the columns for User Name & Email in DB. I intend to use these in Telescope to show the name & email of authenticated user when default column names are not used.

You know this trait pairs with the Illuminate\Contracts\Auth\Authenticatable interface, right?
I don't think these methods are needed for authentication at all.
You could create your own interface/trait and add them as required.


Introduce topological metrics.

Add calc_topological_metrics.
Add calc_main_components_percentage.
Add tests for new functions.
Fix old tests to work with new functions.
For now calc_main_components_percentage returns percentage of main component, so if the original embeddings dim is 512, and this function returns 45, then the actual number of main components is $512\cdot 0.45$.

@dapladoc thx for the contribution! I will check it a bit later

I think our metric needs a name. I suggest trying to find a suitable name for it in the literature. Otherwise, I suggest: MeaningfulComponentsFraction (MCF). Then we can name its argument as mcf_variances, so it seems similar to other metrics.

There is nothing meaningful in these components. You can apply this function to random vectors, and it will be still random. So I can't agree with this name. In the sklearn's doc we can find the following

sklearn's docstring
 components_ : ndarray of shape (n_components, n_features)
        Principal axes in feature space, representing the directions of
        maximum variance in the data. Equivalently, the right singular
        vectors of the centered input data, parallel to its eigenvectors.
        The components are sorted by ``explained_variance_``.

n_components_ : int
        The estimated number of components. When n_components is set
        to 'mle' or a number between 0 and 1 (with svd_solver == 'full') this
        number is estimated from input data. Otherwise it equals the parameter
        n_components, or the lesser value of n_features and n_samples
        if n_components is None.

So I would suggest MainComponentsFraction, or PrincipalComponentsFraction. The latter I like more.

2. think that explained_variance_to_keep should be a float number in (0, 1) range to be aligned with the way how it's measured in sklearn. (the only problem is we have a  float as a key in a dictionary). If we have the proposed metric name, we can simplify the name of this argument as well. For example: variances_ths

As of the name, I'd suggest explained_variances_ths.
If we are ok to have floats as a dict keys, then I would suggest to refactor fnmr@fmr to have values from [0, 1] there too.
What about converting the float numbers to str in those dicts?
metric["main_componnts"][str(variance)] =

Or using strings in the config files
metric_args:
  explained_variances_ths: "0.5,0.9,0.99"

Okay, let's pick PrincipalComponentsFraction
explained_variances_ths is okay.

Af for int vs float. We discussed the problem with @DaloroAT. He pointed out that we have one more problem with ints: you said that for some of the tasks there is a big difference between fmr=99 and fmr=99.99. With integers, we cannot express such a difference. So, seems like we need to switch to the float numbers, despite we will have them as keys.
As for using string, I understand, that you want to keep a precision, but I hope we will have no problems with that since it makes no sense to pass more than 3 or 4 figures after the dot. So, let's try using a float, but please, run the experiment and check that lightning handles it correctly.

Add PCA class and tests for it
Rename metric to pcf (principal components fraction)
Test it with lightning, it works fine with float numbers
Docstrings changes

Move PCA from oml/functional/metrics.py to oml/utils/misc_torch.py.
Rename explained_variance_ths to pcf_explained_variance_ths.
Add calc_principal_axes_number to PCA.
Move compare_dicts_recursively to oml/utils/misc.py and use it in tests.
Docstrings changes.
Add PCA to docs/source/contents/utils.rst.

There is docstrings duplication: the docstring for the PCA.calc_principal_axes_number() is almost completely the same as for 'calc_pcf'. Don't know what can be done to avoid it.

To avoid this duplication I suggest not having calc_principal_axes_number in PCA because it's more related to the metric. There is no analogue of this method in PCA from sklearn as well.

To avoid this duplication I suggest not having calc_principal_axes_number in PCA because it's more related to the metric. Just put the whole logic into the metric function body. There is no analogue of this method in PCA from sklearn as well.

The analogue of this method in sklearn is built-in in the PCA.fit. Two reasons not to move catl_principal_axes_number:

AFAIK it is a kind of violation of best practices in OOP. If (or when) the PCA will be changed somehow, it is required to make changes in 2 places: PCA itself an calc_pcf. So, calc_pcf knows too much about PCA, and it increases code coupling.
In the future one could may have to estimate the number of components automatically to apply PCA in postprocessing. Thus, there should be some way to estimate and set the desired number of components automatically. If we move calc_principal_axes_number to pcf, then PCA will depend on it, and that increases coupling too.

In the last commit calc_principal_axes_number is still a method in PCA. If you still think it is better to move it, I will move it.

@dapladoc As for PCA, I did not insist, I suggested it because you wanted to avoid the duplication in docs.


Add UI for document outline

The document outline backend can be found at https://github.com/andreasgal/pdf.js/blob/master/pdf.js#L3425. It returns the hierarchical structure that contains bookmarks/destinations. Those destinations can be passed to the navigateTo() function of the PDFView instance.

That one is implemented by #352. Differing collapsing and color features to the UI designers.


run the last step is error

@Maratyszcza I build NNPACK and run the last step：ninja system show the error : ninja: fatal: ninja version (1.5.1) incompatible with build file ninja_required_version version (1.7).  I want ask how to do for the error. thank you!

@xiaomage11
to install last ninja version :

download binary from
https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-linux.zip
or build from source
git clone git://github.com/ninja-build/ninja.git && cd ninja && ./configure.py --bootstrap


Angular 1.3.x support

Hi
I wanted to try out the angular-websql but got an error with bower install:
ECONFLICT Unable to find suitable version for angular
I use Angular 1.3.13. Seems that the angular-websql runs only with Angular 1.2.x.
Is there an update planned to support newer versions of angular?
Thanks

Hi @hirtenfelder, this issue was solved with #25 merge request.