Feature request: Keep old responses instead of overwriting

Feature description
Currently a new response just overwrites an expired cached response. For later auditing, it would be nice to have a prior version of a response without duplicating the entire database and manually investigating differences.
Use case
Is there a specific goal that this would help you accomplish, or can you provide any other context about how you would like to use this feature?
A response might change various reasons such as forecast updates; it would be nice to be able to update the cached value without removing existing information.
Workarounds
Is there an existing workaround to accomplish this?
No clean ways as created_at information would have to be incorporated in the key_fn, if we were to use a single backend. One way would be to use multiple backends ordered by recency.
Plan to implement
Are you interested in submitting a PR to implement this?
Potential interest, I haven't worked much with this package yet and would require some pointers.

Keeping a history of cached responses is out of scope for this library, but this could be done with a session subclass. The easiest way to do it would be to store a copy of every response, with created_at appended to the cache key. Here's an example:
from requests_cache import CachedSession

class CachedHistorySession(CachedSession):
    """A CachedSession that keeps a copy of all previously cached responses"""

    def send(self, *args, **kwargs):
        """Save a copy of every new response"""
        response = super().send(*args, **kwargs)
        if not response.from_cache:
            self.cache.save_response(response, f'{response.cache_key}_{response.created_at}')
        return response

    def get_response_history(self, response):
        """Get a history of previously cached versions of the given response"""
        return [
            self.cache.responses[k]
            for k in self.cache.responses.keys()
            if k.startswith(response.cache_key) and k != response.cache_key
        ]

Usage example:
from time import sleep

session = CachedHistorySession(expire_after=1)
n_history_items = 3
for i in range(n_history_items):
    response = session.get('https://httpbin.org/get')
    if i < n_history_items - 1:
        sleep(1)

for r in session.get_response_history(response):
    print(r)

A potential improvement, if needed: If you had a very large cache and needed get_response_history() to be faster, you could subclass the SQLite backend and add an indexed column for the original cache key, which could then be queried with something like
SELECT value FROM responses WHERE original_key=?

Let me know if that answers your question.

I'll close this for now, but let me know if you have any more questions.


(refactor): Remove Unnecessary Use of VarP()

Removed unnecessary use of IntVarP(), StringVarP(), BoolVarP() that didn't use or require shorthand parameters and replaced them with IntVar(), StringVar(), and BoolVar().
Closes #897
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation change
[x] Other (please specify)

Checklist

[ ] Documentation added for the feature
[x] CI and all relevant tests are passing
[x] Code Review completed
[ ] Verified independently by reviewer

@nickboldt Thank you so much for really valuable contribution. I have reviewed and verified your changes.

FYI @nickmancari there are still instances in the CLI that use StringVarP and BoolVarP so I will keep the issue open.
Do you mind covering other cases as well?

@wtrocki Thanks! It was my pleasure to contribute!


mvn fabric8:install should offer to enable bash completion for kubectl/oc in the users ~/.bashrc if they use bash

fabric8:install was removed in #1313 , so closing this


ERROR: The specified path, file name, or both are too long

I got an error stating the file path / file name is to long and I am stuck. I have also downloaded the file but I am not sure how to proceed ahead. I will be thank full for the help
--Error Message as pasted below--
Checking dependencies (excluding Mac, Android, Linux)...
Updating dependencies:   0% (0/205)...
Failed to download 'http://cdn.unrealengine.com/dependencies/2466157-4ecb0085873048178dd6d2b8872eea79/81594c92fcec0b95d7d0b47ad36aef8d2605c8b8': The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters. (PathTooLongException)
Press any key to continue . . .

Hi @ODG3DTEAM I'm having the same issue on Windows at 98% of downloading. Did you fix the problem?

Unfortunately No. still stuck,
On Tue, Aug 4, 2020 at 1:40 AM Walid Chekkouri<EMAIL_ADDRESS>wrote:

Hi @ODG3DTEAM https://github.com/ODG3DTEAM I'm having the same issue on
Windows at 98% of downloading. Did you fix the problem?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/windystrife/UnrealEngine_NVIDIAGameWorks/issues/6#issuecomment-668217997,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQFNVOHZNYEWDDACRWBP6GTR64KRVANCNFSM4OSRCWAA
.

Unfortunately No. still stuck,
…
On Tue, Aug 4, 2020 at 1:40 AM Walid Chekkouri @.***> wrote: Hi @ODG3DTEAM https://github.com/ODG3DTEAM I'm having the same issue on Windows at 98% of downloading. Did you fix the problem? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#6 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQFNVOHZNYEWDDACRWBP6GTR64KRVANCNFSM4OSRCWAA .

I have found a solution last night on my Windows. Simply change the directory so that the path is shorter, example ("c:\ue4GameWorks") then try to build again, it works fine for me, it's just that the directory path name has acceded the max number of characters.
Cheers!

Wow!! Thank you very much for sharing. Let me try and revert back.
On Tue, 4 Aug 2020 at 3:10 PM, Walid Chekkouri<EMAIL_ADDRESS>wrote:

Unfortunately No. still stuck,
… <#m_-6551086323931920767_>
On Tue, Aug 4, 2020 at 1:40 AM Walid Chekkouri @.***> wrote: Hi
@ODG3DTEAM https://github.com/ODG3DTEAM https://github.com/ODG3DTEAM
I'm having the same issue on Windows at 98% of downloading. Did you fix the
problem? — You are receiving this because you were mentioned. Reply to this
email directly, view it on GitHub <#6 (comment)
https://github.com/windystrife/UnrealEngine_NVIDIAGameWorks/issues/6#issuecomment-668217997>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQFNVOHZNYEWDDACRWBP6GTR64KRVANCNFSM4OSRCWAA
.
I have found a solution last night on my Windows. Simply change the
directory so that the path is shorter, example ("c:\ue4GameWorks") then
try to build again, it works fine for me, it's just that the directory path
name has acceded the max number of characters.
Cheers!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/windystrife/UnrealEngine_NVIDIAGameWorks/issues/6#issuecomment-668495324,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQFNVOBPCFUEZGVPS4P35Y3R67JRPANCNFSM4OSRCWAA
.

Wow!! Thank you very much for sharing. Let me try and revert back. On Tue, 4 Aug 2020 at 3:10 PM, Walid Chekkouri<EMAIL_ADDRESS>wrote:
…
Unfortunately No. still stuck, … <#m_-6551086323931920767_> On Tue, Aug 4, 2020 at 1:40 AM Walid Chekkouri @.***> wrote: Hi @ODG3DTEAM https://github.com/ODG3DTEAM https://github.com/ODG3DTEAM I'm having the same issue on Windows at 98% of downloading. Did you fix the problem? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#6 (comment) <#6 (comment)>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQFNVOHZNYEWDDACRWBP6GTR64KRVANCNFSM4OSRCWAA . I have found a solution last night on my Windows. Simply change the directory so that the path is shorter, example ("c:\ue4GameWorks") then try to build again, it works fine for me, it's just that the directory path name has acceded the max number of characters. Cheers! — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#6 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQFNVOBPCFUEZGVPS4P35Y3R67JRPANCNFSM4OSRCWAA .

If it's fixed, please mark this issue as solved.
Have a nice day!

Hi,
Yes. The issue is fixed. Much appreciate your support. Everything is easy
if you know ' How' ☺ Thank you very much. I am marking it as solved.
On Wed, Aug 5, 2020 at 1:14 AM Walid Chekkouri<EMAIL_ADDRESS>wrote:

Wow!! Thank you very much for sharing. Let me try and revert back. On Tue,
4 Aug 2020 at 3:10 PM, Walid Chekkouri<EMAIL_ADDRESS>wrote:
… <#m_2677983137364646379_>
Unfortunately No. still stuck, … <#m_-6551086323931920767_> On Tue, Aug 4,
2020 at 1:40 AM Walid Chekkouri @.***> wrote: Hi @ODG3DTEAM
https://github.com/ODG3DTEAM https://github.com/ODG3DTEAM
https://github.com/ODG3DTEAM I'm having the same issue on Windows at 98%
of downloading. Did you fix the problem? — You are receiving this because
you were mentioned. Reply to this email directly, view it on GitHub <#6
https://github.com/windystrife/UnrealEngine_NVIDIAGameWorks/issues/6
(comment) <#6 (comment)
https://github.com/windystrife/UnrealEngine_NVIDIAGameWorks/issues/6#issuecomment-668217997>>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQFNVOHZNYEWDDACRWBP6GTR64KRVANCNFSM4OSRCWAA
. I have found a solution last night on my Windows. Simply change the
directory so that the path is shorter, example ("c:\ue4GameWorks") then
try to build again, it works fine for me, it's just that the directory path
name has acceded the max number of characters. Cheers! — You are receiving
this because you were mentioned. Reply to this email directly, view it on
GitHub <#6 (comment)
https://github.com/windystrife/UnrealEngine_NVIDIAGameWorks/issues/6#issuecomment-668495324>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQFNVOBPCFUEZGVPS4P35Y3R67JRPANCNFSM4OSRCWAA
.
If it's fixed, please mark this issue as solved.
Have a nice day!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/windystrife/UnrealEngine_NVIDIAGameWorks/issues/6#issuecomment-668789692,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQFNVOFK2ZG7RGBLCZYMX2TR7BQLFANCNFSM4OSRCWAA
.


mt-button is not response click event on vue 2.0

Mint UI version
"mint-ui": "^2.0.0-rc.2",

Device model
chrome on pc

Reproduction Link
What is Expected?
<mt-button v-on:click="great">Greet</mt-button>
<button v-on:click="great">Greet</button>
  great: function(event) {
    alert(event.target.tagName);
  }

What is actually happening?
mt-button is not response click event on vue 2.0

http://vuejs.org/guide/migration.html#Listening-for-Native-Events-on-Components-with-v-on
<mt-button v-on:click.native="great">Greet</mt-button>

yes it works,thanks a lot


How to use the default profile not a new one

When I launch a debug session Firefox is starting with a new profile. How do I have it use my default profile without keeping any changes?
I've read about this setting and it sounds like what I want.

profileDir, profile: You can specify a Firefox profile directory or the name of a profile created with the Firefox profile manager. The extension will create a copy of this profile in the system's temporary directory and modify the settings in this copy to allow remote debugging. You can also override these properties in your settings (see below).

"The extension will create a copy of this profile in the system's temporary directory and modify the settings..."

That is what I'd like to do but I don't know how to set this up. I don't have a profile setup on Firefox. I'd like it to use the default. I'm using the developer edition on OSX.
Here's what I have so far:
  {
     "name": "Launch index.html",
     "type": "firefox",
     "request": "launch",
     "reAttach": true,
     "file": "${workspaceFolder}/index.html"
  },

try "profile": "default". If that doesn't work, launch Firefox from the command line with firefox -P or firefox --ProfileManager - this will open the profile manager showing all your profiles with their names (usually there is one profile called "default").


Links to generic types with specific type arguments are unusable

There are lots of links like these: IAsyncOperationWithProgress<IBuffer, ulong>, where the whole text is a single link. This makes this link unusable, since in case of APIs that return interfaces like IAsyncOperation, IVector, etc, I often interested in type argument's API rather than in generic type API. Compare this to Files.lines example in javadoc, where Stream and String are separate links pointing to Stream and String class documentation correspondingly. So in case of IAsyncOperationWithProgress<IBuffer, ulong> there should be three links (IAsyncOperationWithProgress, IBuffer, ulong).

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

ID: ed1fd878-072d-0fe9-cc21-a61097a191d7
Version Independent ID: b8a905bc-7df5-e496-db72-5b32a4969a6b
Content: IHttpContent.ReadAsBufferAsync Method (Windows.Web.Http) - Windows UWP applications
Content Source: https://cpubwin.visualstudio.com/DefaultCollection/windows-uwp/_git/winrt-api-build?path=%2fwinrt-api-build%2fwindows.web.http.ihttpcontent.yml&version=GBlive&_a=contents
Product: uwp
Technology: winrt-reference
Git Login: stevewhims
Microsoft Alias: stwhi

Hi, @konsoletyper, thanks for raising this issue. I'm just waiting for my fixes to appear on the live site and then I'll resolve this issue. ~Steve

Hello. I don't think this issue can be closed. I don't think you should change documentation text to resolve it. I believe you guys generate documentation in the way similar to Javadoc, JSDoc, doxygen, etc. And I believe that text like

Returns
IAsyncOperationWithProgress<IBuffer, ulong>

Is generated automatically from method signature. So the proper way is to update you documentation generation tool, not specific documentation pages. Please, reopen this issue and fix documentation generator.

You're right, @konsoletyper, getting that improved systematically would be great. So, I've filed an internal work item tracking that work. And I'll monitor it along with the others in my list. I'll go ahead and re-close here, since I'm taking care of it internally.
In this case, the writer had added links manually, so I think it was worth fixing/improving those.
Thanks again!
~Steve

Thanks! Hope they'll able to fix documentation generator soon.


Needs to switch to per-CPU list + lock.

The solution depends on the answer to #385
If we switch to a strict CPU affinitized model, then we can make the entire ebpf_epoch code lock-free and avoid contention.


Fix typos on team page

Replace dashes with en-dashes
Replace non-breaking spaces with spaces

You can preview this change here:
Built with commit b7fd06612fc779f903858b48c68ed45ddb1b8f18
https://deploy-preview-1634--govuk-design-system-preview.netlify.app


Increment version for Storage patch releases

API change check
API changes are not detected in this pull request.


Hubscreen enhancements

Summary of enhancements:

Reorganized code into separate components to make the code more understandable
Main HubScreen UI now driven by the HubState
Back button when downloading now goes back to the models UI
Projects UI

Now has All/Recent/Favorites tabs.
Only loads first 100 projects in All tab, added a "Load More..." button
All tab allows for online searches of projects

I have reviewed all of the current changes. I did make a lot of comments.

I just noticed that there is more space below the search field than above it. I think the space above and below should be the same. (I'm testing on my iPhone SE; I don't think that matters, but it might.)

I just noticed that there is more space below the search field than above it. I think the space above and below should be the same. (I'm testing on my iPhone SE; I don't think that matters, but it might.)

This is now fixed too.


"Tried to set non existent slot" error persists after deleting all instances of slots and retraining

Rasa version:
rasa-core==0.13.7
rasa-core-sdk==0.12.2
rasa-nlu==0.14.6
Python version:  Python 3.6.7
Operating system (windows, osx, ...):
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.2 LTS
Release:        18.04
Codename:       bionic
Issue: The slots which were used for previous experiments are not resetting even after removing these slots from all files (nlu.md, stories.md, domain.yml and actions.py)
I tried  deleting the entire model directory and trained the models again. but still it showing the errors with previously used slot. Please find the error message below.
2019-04-22 09:56:44 ERROR    rasa_core.trackers  - Tried to set non existent slot 'environment'. Make sure you added all your s
lots to your domain file.
2019-04-22 09:56:44 ERROR    rasa_core.trackers  - Tried to set non existent slot 'platform'. Make sure you added all your slot
s to your domain file.

I just executed a grep command from my project directory to make sure these slots are not using anymore.
~/project/slackbot$ grep "environment" * -R

Notebook/Conversational_Chatbot.ipynb:        "# In your environment run:\n",
(sample_bot_env) ubuntu@ip-172-31-21-57:~/project/slackbot$ grep "platform" * -R
Notebook/Conversational_Chatbot.ipynb:            "Requirement already satisfied, skipping upgrade: greenlet>=0.4.14; platform_python_implementation == \"CPython\" in /usr/local/lib/python3.6/dist-packages (from gevent->rasa_nlu[spacy]) (0.4.15)\n",
credentials.yml:# This file contains the credentials for the voice & chat platforms
nohup.out:2019-04-03 09:58:46.340534: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA

Kindly note that I had used these slots before (not in the current stories) for doing some experiments.
Thank you,

Any update on this please?
It seems like, I am getting these errors when I remove an already used slot/entity.
Steps to reproduce:

Create an intent with an entity
Train the model
Remove that intent and entity details from all files.
Now train again
Try to talk to agent, you will see the error related to the old entity/slot (which we removed.)

I am getting this error even in the rasa master branch also.

I tried again after removing the current model directory and trained again, but still getting these errors.
Is this some this related to the caching issue? I tried even after clearing PageCache, dentries and inodes. But there is no change, still getting the errors.

Thanks for raising this issue, @erohmensing  will get back to you about it soon.

I think I found the culprit. I was using the MongoTrackerStore to store the conversation. When i removed the collection from mongo db, all the unwanted track history (which were used before) disappeared.
But, why this is making an issue? That mean's, we need to clear the stored collection from mongodb every time when we change/rename an existing entity/slot value? Is there any proper way to handle this?

ah.. I am sorry. It started showing the same errors again after some time. Not sure where it is coming from now :(

Hm this is really strange. I'll look into it and see if I can replicate it. How are you talking to the agent -- command line, python API, rest API? Could it be the case that you're re-training your agent but haven't re-instantiated it first?

Hey @erohmensing, I created the bot for slack integration and using webhook mechanism (by enabling ngrok) to communicate to the rasa.

Did you also restart your action server after updating actions.py?

yes @erohmensing. I restarted the rasa service, actions after the code change.
In fact, I deleted my virtual environment, created a new virtual environment, re-installed the rasa packages, delete the mongo collection, cleared memory buff/cache and restarted the rasa service and actions. But, still I am getting those errors. Not sure what else I can do in my server LOL.

Did you factory reset your computer? 😄Just kidding. If you add a new slot and try to set it via a custom action does it successfully do that?

😂😂😂
Yes @erohmensing,  fortunately the new slot is working fine. Only the logs showing these annoying messages.

I know you've restarted about everything so the answer is probably yes, but have you restarted the kernel and cleared the output of your ipy notebook?

When in the conversation does the error show up? Does it also appear when running the bot in the command line?

Heys, good news.
I am using an aws EC2 instance. Today I tired all the above things  (delete all the tmp, files, models, virtual environment etc), in addition to that I RESTARTED my ec2 instance and reinstalled everything. Now those unwanted logs are disappeared.  So, how do we manage this case? Restarting the machine will not be recommended, if you ask me :)
Answer for your next question: The error was showing up when sending the message from slack only. I haven't tried that through the command line.

I don't know what is happening, but it starts showing up those logs again after some time. So, even the server restart didn't make any difference I think.
May be, I had not tried those stories (which were using these slots before) after restarting the instance and now started showing them, since I tried those same conversations from slack now? Strange.
2019-04-26 08:47:06 ERROR    rasa_core.trackers  - Tried to set non existent slot 'environment'. Make sure you added all your slots to your domain file.
2019-04-26 08:47:06 ERROR    rasa_core.trackers  - Tried to set non existent slot 'environment'. Make sure you added all your slots to your domain file.
2019-04-26 08:47:06 ERROR    rasa_core.trackers  - Tried to set non existent slot 'environment'. Make sure you added all your slots to your domain file.
2019-04-26 08:47:06 ERROR    rasa_core.trackers  - Tried to set non existent slot 'environment'. Make sure you added all your slots to your domain file.
2019-04-26 08:47:06 ERROR    rasa_core.trackers  - Tried to set non existent slot 'environment'. Make sure you added all your slots to your domain file.

So then it only happens when you go down the paths for those stories that used to use the slots? Seems like it's a story issue then. I know grep should have pulled everything, but can you open the files and manually search for any instances of the slots in the stories?

Hi @erohmensing, I terminated my old EC2 instance and started a new one. Now I can't see that logs.  But, I checked it manually in my stories.md file and confirmed there is no slot added with name "environment".

I will update this ticket, if I get the same issue in the new instance too.

I did finally run into this issue! For me it was because I didn't restart the action server.

restarted the rasa service, actions after the code change.

Are you running your action server and core server in the same terminal? (like with a make command that runs both together?) I find sometimes that in that case I run into the issue where I seemingly shut down both servers but don't actually shut down the action server. Then i have to kill the port manually to really restart it.
Let me know if you run into the issue on your new instance.

Hi @erohmensing
I am facing a similar issue.
I have no slots that are undefined in the domain.yml and I have ensured that the action server is restarted.
Furthermore, the form action was working smoothly earlier, and suddenly these errors started showing up despite of making no changes to the code.

Hi @sonakshisaxena1, Yes, we've discovered that on the latest version too. The relevant issue is here: https://github.com/RasaHQ/rasa/issues/3803
Someone is already working on a fix.

Thanks for the information! @erohmensing
Do you happen to know a workaround for this (for the time being)? Actually, I had a project up and running when this suddenly popped up. And I have to submit it by the end of the week.

Hm, did you change your rasa version at all? There shouldn't be a reason why it showed up with no change to the code, since everything is local and doesn't pull any changes from us

I didn’t change the rasa version at all. I had made a copy of the main project and tried adding a slot to the copied project. The errors initially showed up only on the copied project and not on running the main project. After a day or two, I changed the location of my main project. On running it, the same errors started showing up.

Did you retrain the model with the copy after moving it?

No, I didn’t retrain it with copy.
Infact I tried running the previously trained models too in the interactive (the ones which were working fine earlier) still the errors are there

Hm okay. At this point I think the only thing to try is patching your local version with the fix that's not merged yet: https://github.com/RasaHQ/rasa/pull/3897/files
In this case you'd only have to update your rasa/core/trackers.py file. See if that helps

Hi i have the same issue i renamed a slot and did it every where.
also search the whole project folder nowhere a trace find of the slot name and i get this now every time

@dptelecom have you

made sure to also re-start your action server
Tried using the local patch I mentioned above?

@erohmensing
Hi i did a re-start of action server,
i also deleted the old trained model.
i can just download that file and replace my local one with that?

I also face the same issue, I have deleted the price_form from every file in the project directory, and I also change the data\nlu.md file. Howeverm when I run rasa train nlu, it shows the warning about the old data, and when I run rasa train , it keep referring to the old price_form that I have all deleted

Hi @TQuy, i believe this should have been fixed in 1.1.5. which version are you running?

mine is rasa 1.1.6

It temporarily disapper whenever I copy all the file to new directory

my domain.yml file:
intents:
  - kiem_tra_don

my data\nlu.md file:
## intent:kiem_tra_don
- kiểm tra giúp mình với ạ

When I run rasa data validate, it keeps telling me this

The intent 'kiem_tra_don' is listed in the domain file, but is not found in the NLU training data.
The intent 'kiem tra don' is in the NLU training data, but is not listed in the domain.
Which was the error I have fixed

@dptelecom are you still experiencing this issue?
@TQuy can you please provide more details on how you issue may be reproduced?

I try to run the formbot several times but it always shows the error when I answer the question "How many people"

Failed to extract slot num_people with action restaurant_form
I have already run the command rasa run actions on different cm window , which point to the formbot directory

In addition, there are the warnings about duckling which I don't want to install

Duckling is used to extract numbers, you will always get that error as well as Failed to extract slot num_people  if you don't install it

thanks for your help, it seems like the problem about referring old data has stopped appearing

Hi there, it seems that this error is occurring due to inconsistency in your database .db file.

Hi there, it seems that this error is occurring due to inconsistency in your database .db file.

thank you, I realized that

for me same issue is happening when i remove a slot

same here

@sibbsnb @marcco411 this issue is from before Rasa 1.0, please open a new issue with all of the relevant information if you still think there is a bug

If domain file is correct... then you possibly you might be missing out on retraining and starting rasa server again and not just rasa action server

I am too facing the same issue when migrated from Rasa 2.x to RASA 3.0 Any fix for this?

I found a fix for my case of this error
I encountered this bug :

"ERROR    rasa.shared.core.trackers  - Tried to set non existent slot 'requested_slot'. Make sure you added all your slots to your domain file."

because I removed the slot from domain(in purpose) and forgot to remove it's mentions in data/stories.yml
Just do grep -rnw '/path/to/somewhere/' -e 'that_slot_name_of_yours' .
It will show all the files that still contain that slot. Remove the code that mentions that slot and train again
Removed .rasa/cache and models/* files first just in case before training


Please add Foundation pose

How to use foundation pose with this framework?

@Arun-George-Zachariah  I would like to second this due to its popularity and great fit for novel object 6D pose estimation. Specially that it also provides tracking and makes 6D pose estimation of partially visible objects a possibility.


Verisure Integration multiple alarm system / Multiple GIID at the same time

Home Assistant release with the issue:
Home Assistant 0.104.2
Hass.io
Verisure Integration
https://www.home-assistant.io/integrations/verisure
Description of problem:
Not sure this is supposed to be a valid use case "yet", but I can´t add multiple GIID in my configuration.
I would like to add both my alarm systems to the same HA installation, I have one alarm for my house and a separate alarm central for my guest house/garage.
When specifying both GUIID in configuration.yaml only the first system is configured.
Problem-relevant configuration.yaml entries:
verisure:
username: !secret verisure_username1
password: !secret verisure_password1
giid:<PHONE_NUMBER>1 # House
giid:<PHONE_NUMBER>2 # Garage

The underlying pyhton scripts do support this already. Why shouldn't it be possible to have them supported in Home Assistant @frenck ?


Lecturio site issue

Checklist

[x ] I'm reporting a broken site support
[ x] I've verified that I'm running youtube-dl version 2019.07.02
[x ] I've checked that all provided URLs are alive and playable in a browser
[x ] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x ] I've searched the bugtracker for similar issues including closed ones

Verbose log

PASTE VERBOSE LOG HERE

PS C:\Users\HDNLSR> youtube-dl --verbose -o 'p:\contents\New folder/%(playlist)s/%(chapter_number)s - %(chapter)s/%(t
itle)s.%(ext)s' https://app.lecturio.com/medical-courses/thoracic-viscera.course#/tab/videos --limit-rate 5000k --sleep-
interval 10 --ignore-errors --username<EMAIL_ADDRESS>--password 123
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', '-o', 'p:\contents\New folder/%(playlist)s/%(chapter_number)s - %(chapter)s/%
(title)s.%(ext)s', 'https://app.lecturio.com/medical-courses/thoracic-viscera.course#/tab/videos', '--limit-rate', '5000
k', '--sleep-interval', '10', '--ignore-errors', '--username', 'PRIVATE', '--password', 'PRIVATE']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, pref cp1252
[debug] youtube-dl version 2019.07.02
[debug] Python version 3.6.4rc1 (CPython) - Windows-2012ServerR2-6.3.9600-SP0
[debug] exe versions: ffmpeg N-89395-g71421f382f, ffprobe N-89395-g71421f382f
[debug] Proxy map: {}
[LecturioCourse] Downloading login popup
[LecturioCourse] Logging in
[LecturioCourse] thoracic-viscera: Downloading webpage
[download] Downloading playlist: thoracic-viscera
[LecturioCourse] playlist thoracic-viscera: Collected 0 video ids (downloading 0 of them)
[download] Finished downloading playlist: thoracic-viscera
PS C:\Users\HDNLSR>
Description
i tried many courses but youtube-dl says 0 video ids collected
but there is all videos available in browser and if i copy single video url and try to download using youtube-dl then it is working and downloading only one video lecture which i put url but whole lecture list is not downloading please check this
thanks

@remitamine  brother please check your email i sent you account details


www/nginx: fix logging issue

logging: disable is currently not correctly detected and will fail.

Yes, pleaese


Add licenses

Motivation for this change
Another round for https://github.com/NixOS/nixpkgs/issues/43716
Things done
Added license tags to:

xfig
systemd
shadow
pptp
ppp
polkit
perl
openssl
openldap
nss_ldap
nss
mktemp
mingetty
man-pages
mdadm
lvm2
lsscsi
libressl

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build pkgsCross.aarch64-multiplatform.systemd

@GrahamcOfBorg build pkgsCross.armv7l-hf-multiplatform.systemd

Failure on aarch64-linux (full log)
Attempted: pkgsCross.armv7l-hf-multiplatform.systemd
Partial log (click to expand)
Message: Using /nix/store/kpqhni9nriinb5zhzkc8mcgc4cvbi2g6-kbd-2.0.4-armv7l-unknown-linux-gnueabihf/bin/setfont for setfont
Program gperf found: YES (/nix/store/pnv2bsasz1a2dkmc5cyw02y71gfwx9vp-gperf-3.1/bin/gperf)
Message: gperf len type is size_t
Has header "sys/capability.h": NO

meson.build:597:8: ERROR:  Problem encountered: POSIX caps headers not found

A full log can be found at /build/source/build/meson-logs/meson-log.txt
builder for '/nix/store/fxbdh2jw5vw8mfjb48a1pav856qhf9hx-systemd-239-armv7l-unknown-linux-gnueabihf.drv' failed with exit code 1
error: build of '/nix/store/fxbdh2jw5vw8mfjb48a1pav856qhf9hx-systemd-239-armv7l-unknown-linux-gnueabihf.drv' failed

Success on aarch64-linux (full log)
Attempted: pkgsCross.aarch64-multiplatform.systemd
Partial log (click to expand)
gzipping man pages under /nix/store/jfnhi81lvmlx9db22niw502mgdrgg3ji-systemd-239-man/share/man/
strip is /nix/store/428gs2z4b8f9byvghzlpbjwjb3a7jwxx-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/jfnhi81lvmlx9db22niw502mgdrgg3ji-systemd-239-man
checking for references to /build in /nix/store/jfnhi81lvmlx9db22niw502mgdrgg3ji-systemd-239-man...
shrinking RPATHs of ELF executables and libraries in /nix/store/4azwffjdvfpmcmadsw8r7i2xdr4vr3dm-systemd-239-dev
strip is /nix/store/428gs2z4b8f9byvghzlpbjwjb3a7jwxx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/4azwffjdvfpmcmadsw8r7i2xdr4vr3dm-systemd-239-dev/lib
patching script interpreter paths in /nix/store/4azwffjdvfpmcmadsw8r7i2xdr4vr3dm-systemd-239-dev
checking for references to /build in /nix/store/4azwffjdvfpmcmadsw8r7i2xdr4vr3dm-systemd-239-dev...
/nix/store/dnbams4hw2m3mr5b5di3g9kg3l66m3h5-systemd-239

Failure on x86_64-linux (full log)
Attempted: pkgsCross.aarch64-multiplatform.systemd
Partial log (click to expand)
Message: Using /nix/store/8x7xz76nc3jdykjhdrd408xm7i761xrs-kbd-2.0.4-aarch64-unknown-linux-gnu/bin/setfont for setfont
Program gperf found: YES (/nix/store/fjy4wlrardq8frky0cq7a71ifscgxaan-gperf-3.1/bin/gperf)
Message: gperf len type is size_t
Has header "sys/capability.h": NO

meson.build:597:8: ERROR:  Problem encountered: POSIX caps headers not found

A full log can be found at /build/source/build/meson-logs/meson-log.txt
builder for '/nix/store/yqcgb2ihfamxj08km24pjbvmhxkrvjfr-systemd-239-aarch64-unknown-linux-gnu.drv' failed with exit code 1
error: build of '/nix/store/yqcgb2ihfamxj08km24pjbvmhxkrvjfr-systemd-239-aarch64-unknown-linux-gnu.drv' failed

Timed out, unknown build status on x86_64-linux (full log)
Attempted: pkgsCross.armv7l-hf-multiplatform.systemd
Partial log (click to expand)
shrinking RPATHs of ELF executables and libraries in /nix/store/sizfrpxvgyps5c0q1kf8j5da4m8y9cvm-gnu-efi-3.0.8-armv7l-unknown-linux-gnueabihf
shrinking /nix/store/sizfrpxvgyps5c0q1kf8j5da4m8y9cvm-gnu-efi-3.0.8-armv7l-unknown-linux-gnueabihf/lib/crt0-efi-arm.o
wrong ELF type
armv7l-unknown-linux-gnueabihf-strip is /nix/store/4rvcfng3ficml932m928w9mbfqhvn54z-armv7l-unknown-linux-gnueabihf-binutils-2.30/bin/armv7l-unknown-linux-gnueabihf-strip
stripping (with command armv7l-unknown-linux-gnueabihf-strip and flags -S) in /nix/store/sizfrpxvgyps5c0q1kf8j5da4m8y9cvm-gnu-efi-3.0.8-armv7l-unknown-linux-gnueabihf/lib
patching script interpreter paths in /nix/store/sizfrpxvgyps5c0q1kf8j5da4m8y9cvm-gnu-efi-3.0.8-armv7l-unknown-linux-gnueabihf
checking for references to /build in /nix/store/sizfrpxvgyps5c0q1kf8j5da4m8y9cvm-gnu-efi-3.0.8-armv7l-unknown-linux-gnueabihf...
wrong ELF type
cannot build derivation '/nix/store/jwv7r2wn2c75qwxjq4bg80lbc9vb4l9k-systemd-239-armv7l-unknown-linux-gnueabihf.drv': 1 dependencies couldn't be built
error: build of '/nix/store/jwv7r2wn2c75qwxjq4bg80lbc9vb4l9k-systemd-239-armv7l-unknown-linux-gnueabihf.drv' failed


Fix failing ValidateColor tests in some cultures

Some tests in ValidateColorTests were failing in French culture. This is because "200,100,50" is a valid color in English, but not in French, because the list separator is different. See the comments here for details.
I made a few changes to the ChangeCulture class:

set the DefaultThreadCurrentCulture and DefaultThreadCurrentUICulture properties so that the new culture also applies to other threads in async code
save the original values to be able to restore them later

@thomaslevesque I just pulled the changes into master as well.
Did this solve the test problem you were having on the machines with non en-us culture?

Did this solve the test problem you were having on the machines with non en-us culture?

Yes, it did. Setting DefaultThreadCurrentCulture causes new threads to use the specified culture, so it works with async code as well.


inpage.js:1 MetaMask: The event 'close' is deprecated and may be removed in the future. Please use 'disconnect' instead. For more information, see: https://eips.ethereum.org/EIPS/eip-1193#disconnect

inpage.js:1 MetaMask: The event 'close' is deprecated and may be removed in the future. Please use 'disconnect' instead.
For more information, see: https://eips.ethereum.org/EIPS/eip-1193#disconnect

Web3 is displaying this message, nothing we can do
See this


🚀 [Feature Request] - Adding a small Licenses section to the readme and a MIT Licenses badge

Is your feature request related to a problem ? Please describe. ✍
The readme doesn't have any info about Licenses. We should add one to make it more professional.
I can add a small Licenses section and a MIT badge

Describe briefly how you would implement this enhancement.

Additional context or screenshots
Please assign me this issue under GSSoC'23
Are you contributing for a program?
GSSoC2023
Code of Conduct

[X] I have read and agree to the Contributing Guidelines of this project.

Please assign me this issue

Go ahead @1Shubham7 .

Thank you @Aarav238


Make some translation adjustments

Make some translation adjustments and refine some translations to better capture the intended meaning.

讚讚，感謝貢獻!


[IOTS-497] EMM policies not pushing to device - Android

When applying Android policies with IoT server 3.0 policies do not get applied to devices (not showing under Policy Compliance). Once servers are re-started only one policy gets applied. If there are multiple policies all others are hanging in queued state, no errors showing.Reference: https://wso2.org/jira/browse/IOTS-497

This is tested with Iot Server 3.1.0 cluster and issue never appeared. Hence closing


check for presence of jquery and lodash

moved this to the company account, so you can just pull it in!


hi,help.

Hi, I was wondering if there is a driver that supports LAN9303 on esp32

I don’t use Arduino core for ESP32.
ESP-IDF supports wired LAN modules with MII or RMII interfaces.
A typical PHY is LAN8720.


Move from dep to go modules

Description
The go modules becomes the standard package manager. We need to move to this solution to be up to date with the Go ecosystem.

Implemented in: https://github.com/mszostok/codeowners-validator/pull/28


Rights field should be single-valued by default, and overrideable

 Issue by awead
Thursday Aug 20, 2015 at 01:34 GMT
Originally opened as https://github.com/projecthydra/sufia/issues/1287

 Comment by mjgiarlo
Thursday Aug 20, 2015 at 17:55 GMT

I suspect it's always true for folks who aren't overriding any of the select values for that field.  And if they're already overriding that... :smile:
I don't think it makes any sense to let folks select multiple CC licenses, or to select a CC license and "All rights reserved." The default select values suggest single-valued field to me.

 Comment by jcoyne
Thursday Aug 20, 2015 at 14:09 GMT

I'm not sure this is always true. Probably for the 99% though.

 Comment by vantuyls
Thursday Aug 27, 2015 at 19:41 GMT

The only places I've seen someone assign multiple (CC) licenses to an object, I'm pretty sure they screwed up. I've been racking my brain for the past week trying to think of a case where one could actually assign multiple CC licenses and i've come up with nothing.

 Comment by jcoyne
Friday Aug 28, 2015 at 01:44 GMT

Yes, my exception case was licenses from the library, not CC licenses.

 Comment by mjgiarlo
Monday Aug 31, 2015 at 22:14 GMT

I spent a day or two hacking on this but I need to move onto other things.

 Comment by mjgiarlo
Monday Aug 31, 2015 at 22:18 GMT

Maybe the magic incantation is in here: https://github.com/osulp/Scholars-Archive/commit/746e02a0e5fccc85217450ae560d0191500900b9
Thanks for the heads-up, @vantuyls
@straleyb if you want to toss a fix upstream, that'd be great!

 Comment by vantuyls
Monday Aug 31, 2015 at 22:15 GMT

Hrm. We just made this happen locally.

 Comment by vantuyls
Monday Aug 31, 2015 at 22:20 GMT

INTERNET!

 Comment by straleyb
Monday Aug 31, 2015 at 22:20 GMT

Yeah, I'll update and send a PR. If not this afternoon, tomorrow morning. :+1:

 Comment by mjgiarlo
Monday Aug 31, 2015 at 22:21 GMT

:clap: :fireworks:  @vantuyls @straleyb

 Comment by mjgiarlo
Friday Sep 11, 2015 at 17:18 GMT

Are you still interested in working on this @straleyb?

 Comment by mjgiarlo
Monday Dec 14, 2015 at 22:05 GMT

Paging @straleyb and @vantuyls. :)
If you are interested in contributing this work back, please do issue the PR against the 6.x-stable branch.


Switching a context from different runtime while running a script

Hi all :)
Is it possible to make a native function call from one context where the native function makes a call which switches the context and the runtime? In this example, every context has a different runtime and everything happens on the same thread.

I'm not positive but I think you can only have one runtime per thread.

Why do you want to have multiple different runtimes running in the same thread? The runtime includes things like the recycler (aka garbage collector), and I'm not sure I can see a reason to have several of those shared resources around.
To answer the other parts of your question: Yes it is possible to have a native call made from one context switch to another context and call back into javascript. If you do want to switch between runtimes (e.g. passing between threads) then I believe you will need to serialize data and marshal it around yourself, similar to how webworkers work. You can't just pass a function or an object from one runtime to another, unlike with contexts.

Thank you, guys :)


3Hentai : It is duplicated twice.

Source information
3Hentai
Source language
all
Steps to reproduce
There are two versions of the application, we hope to delete one of them
Expected behavior
There must be one copy.
Actual behavior
But there are two versions that are repeated.
Mihon/Tachiyomi version
1.11.12
Android version
Android 12
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to version 0.15.3.
[X] I have updated all installed extensions.
[X] I have tried the troubleshooting guide.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I will fill out all of the requested information in this form.

I don't think there are 2 versions of this. You might be mistaken it with Keiyoushi's version which has a different package name and hence seeing 2 versions at the same time.


DESENG-489: engagement core to engagement content

Issue #: https://apps.itsm.gov.bc.ca/jira/browse/DESENG-489
Description of changes:
Updated text "engagement core" to "engagement content"
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the met-public license (Apache 2.0).

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

Comparison is base (e6a7470) 72.20% compared to head (e4c0b72) 72.20%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2371   +/-   ##
=======================================
  Coverage   72.20%   72.20%
=======================================
  Files         508      508
  Lines       17123    17123
  Branches     1290     1290
=======================================
  Hits        12364    12364
  Misses       4519     4519
  Partials      240      240

Flag
Coverage Δ

metweb
59.08% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files
Coverage Δ

...ts/engagement/form/EngagementFormTabs/FormTabs.tsx
100.00% <100.00%> (ø)

...ts/engagement/form/EngagementFormTabs/constants.ts
100.00% <ø> (ø)


Add tvOS to podfile

I pulled this into my tvOS project and it's building & running successfully.  Tried targeting tvOS 9 first but there are certain animation properties unavailable, so I went with v10.

Thanks, will review soon.


[Coverity CID :203509]Null pointer dereferences in /tests/subsys/usb/desc_sections/src/desc_sections.c

Static code scan issues seen in File: /tests/subsys/usb/desc_sections/src/desc_sections.c
Category: Null pointer dereferences
Function: check_endpoint_allocation
Component: Tests
CID: 203509
Please fix or provide comments to square it off in coverity in the link: https://scan9.coverity.com/reports.htm#v32951/p12996

*** CID 203509:  Null pointer dereferences  (FORWARD_NULL)
/tests/subsys/usb/desc_sections/src/desc_sections.c: 191 in check_endpoint_allocation()
185     			struct usb_ep_descriptor *ep_descr =
186     				(struct usb_ep_descriptor *)head;
187
188     			/* Check that we get iface desc before */
189     			zassert_not_null(cfg_data, "Check available cfg data");
190
>>>     CID 203509:  Null pointer dereferences  (FORWARD_NULL)
>>>     Passing null pointer "cfg_data" to "find_cfg_data_ep", which dereferences it.
191     			zassert_true(find_cfg_data_ep(ep_descr, cfg_data,
192     						      ep_count),
193     				     "Check endpoint config in cfg_data");
194     			ep_count++;
195     		}
196

Seems to be false positive, there is zassert_not_null(cfg_data, "Check available cfg data"); to check cfg_data pointer.

@jfischer-phytec-iot are you able to mark it as a false positive in Coverity?

Marked as false positive in Coverity


[BUG]  UI does not manage many resourceQuotas correctly

Describe the bug

Jira issue SURE-5238
To Reproduce
Steps to reproduce the behavior:

Go to 'Projects/Namespaces' -> Resource Quotas
Harvester's UI only does that for the following 4 resourceQuotas:

CPU Limit
Memory Limit
CPU Reservation
Memory Reservation

Many others are missing like:

configMaps
services.LoadBalancers

Expected behavior

All types should be visible
Additional context

Verified not fixed, move back to implement.
Tested on Harvester v1.3.0-rc1 with Rancher v2.7.9, v2.8-head[^1] and v2.9-head[^2]
I checked the PR merged into dashboard's master but not any release- branch, It might be the problem.
(there was a similar PR like: https://github.com/harvester/dashboard/pull/753#issuecomment-1571531737)
[^1]: Docker Image: rancher/rancher@sha256:0352298855f0452b651614a0f0dec4ed8708da3121ea9b325a56e8ca47218be7
[^2]: Docker Image: rancher/rancher@sha256:22b31c9b820ab88965f547a1d4a462856e8cea03084857eebb89d18064112a70

@lanfon72 the fix is merged into release-harvester-v1.3.0 branch: https://github.com/harvester/dashboard/commit/7680417f5fed1f41cb756d65bbd63b77d0d8da89 . Could you double check ?
I will investigate on it and see why it's not working.

Hi @torchiaf , I tested on Harvester v1.3-head with Rancher v2.9-head, other resources still not available.

To notice that I modified both ui-resource and ui-index to fetch harvester-release-v1.3 or harvester-release-v1.3.0, nothing changed.
And I found that the ui-resource and ui-index is not changed for v1.3.0-rc1 like old releases, it's point to latest rather than harvester-release-v1.3 or others.  IIRC, when RC released, they should point to harvester-release-<version>, you can check some snapshots below:
Harvester v1.1.3-rc1

Harvester v1.2.1

Harvester v1.2-head

Ok, looks like there's something wrong with the release bundle, I'll check.

The ui-index problem should be fixed with: https://github.com/harvester/harvester/pull/5084

We identified the root cause of the bug. It seems that Harvester UI is loading the Projects/Namespaces tab from Rancher manager UI bundle, where this bug is still present.
It will require a new fix on Harvester dashboard + a further investigation on how UI components are loaded when H. is embedded in Rancher manager.

Verified this bug has been fixed.
Test Information

Environment: qemu/KVM 3 nodes
Harvester Version: v1.3.0-rc2 with Rancher v2.7-head, v2.8-head, v2.9-head
ui-source Option: External


Fix a typo: compatiblity -> compatibility

Mind bringing this up-to-date with the current master?

Fixed :)


Artifact transforms with dependencies fail when project substitutes external one

Using MyApplication.zip project and running  ./gradlew clean :app:mergeExtDexDebug fails with Gradle 6.6.1 and 6.7-rc-1. Changing version back to Gradle 6.5.1 fixes the issue.
In this project, subproject :core-common replaces external dependency androidx.arch.core:core-common. While desugaring e.g androidx.savedstate:savedstate:1.0.0 we need the transformed artifacts of :core-common but those transforms will fail as project artifacts are not produced yet.
Stacktrace is:
 Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
         > Failed to transform core-common.jar (project :core-common) to match attributes {artifactType=android-classes-jar, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.jvm.version=8, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}.
            > Execution failed for JetifyTransform: /Users/gavra/AndroidStudioProjects/MyApplication/core-common/build/libs/core-common-100.jar.
               > Transform's input file does not exist: /Users/gavra/AndroidStudioProjects/MyApplication/core-common/build/libs/core-common-100.jar. (See https://issuetracker.google.com/issues/158753935)

Potential fix via https://github.com/gradle/gradle/pull/14586, which should be in 6.7 RC2

@gavra0 could you please confirm 6.7-20200923130742+0000 fixes it?


overtrains too fast  and not stylisable with same settings as regular lora

was this made just for anime ?
Also this doesnt train higher res as good as regular lora, i think its just a step backwards and new layer of confusion instead of improvement, if it improves its such small percentage its not worth 2xtimes the filesize

First, this is a project with multiple algos, I am not sure What exactly you are talking about. But I guess you are talking about LoCon.
Second, you are not supposed to finetune model for concept with not original resolution (like, 512x512 for SD1.4)
Third, we don't provide any warranty on the model quality.
Finally, If you think this is bad, just don't use it.
P.S. overtrain too fast actually means this method is better at learning thing.


Push-to-talk + pynput fixes

This pull request adds a few input-related features and fixes:

Support for held hotkeys (add_held_hotkey()).
RECORD_HOTKEY can alternatively be held down to record until it is released (push-to-talk).
The time the hotkey waits to detect a double tap for clipboard usage no longer delays when the recording start, making it more reponsive.
Support for unbound hotkeys (set to None). Both the new hotkeys are set to None by default. Unbound hotkeys will not be listed in the terminal.
Fixes to pynput (Linux/Mac).

Support overlapping hotkeys: Can bind Shift+Ctrl+R to one thing and Shift+R to another, and then trigger the first without also triggering the second.
Support for many more keys like Space, Capslock, Esc, F-keys, etc.

PynputHandler has been largely rewritten, because to support this stuff I needed to move away from using GlobalHotKeys().
With this I think pynput on Linux/Mac should be functionally equivalent to the keyboard package on Windows, except for key suppression.

You're the best, this is awesome!!


.NET 5 support

Does GTK# backend support net core or .net 5?

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

ID: 66853f3d-854e-08ad-84d2-b2a98f88c48b
Version Independent ID: 77ea362d-ef46-f426-3d4a-5f99e39ce160
Content: GTK# Platform Setup - Xamarin
Content Source: docs/xamarin-forms/platform/other/gtk.md
Product: xamarin
Technology: xamarin-forms
GitHub Login: @davidbritch
Microsoft Alias: dabritch

Hi @realivanjx
It runs against Mono. It requires changes to run against .NET Core and .NET 5.


Fastnlight: Watch ssgcbill.pk

Fastnlight requests the watch of the watch_keyword ssgcbill\.pk. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

ssgcbill\.pk has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Spevacus in Charcoal HQ


Cannot compile typed context: The type X already contains a definition for 'Y'

I finally managed to connected to my org using the consent path (the thing that tripped me up was that after specifying the permissions for the application I didn't realize I had to hit save).
LINQPad downloaded metadata and then I got this error:

System.Exception
Cannot compile typed context: The type 'Microsoft.Dynamics.CRM.msdyn_surveyinviteSingle' already contains a definition for 'regardingobjectid_msdyn_surveyresponse' (line 308456)
Is there anything I can do?

Thanks for the issue. This is known issue that you have duplicate schema name between field and relationship. As C# class cannot have same name property, there is nothing we can do at the moment.
I am planning to implement selector (Entity and relationship) so that you can only include minimum amount of Entities later.

Can you try latest version?


PDF output for JIS

From https://github.com/metanorma/metanorma-jis/issues/1
Word sample document in https://github.com/metanorma/jis-example-report/issues/1

@Intelligent2013 please use the layout defined in JIS Z 8301, not the same document.

For:
00-foreword.adoc:
[heading=foreword]
== まえがき
...

00-preface.adoc:
[.preface,type=inner-cover-note]
== Inner cover note
...
[.preface,type=contributors]
== Contributors

presentation XML looks ok:
<preface>
	<foreword id="_" obligation="informative" displayorder="1">
		<title>まえがき</title>
...
	<clause id="_inner_cover_note" type="inner-cover-note" inline-header="false" obligation="informative" displayorder="2">
		<title depth="1">Inner cover note</title>
...
	<clause id="_contributors" type="contributors" inline-header="false" obligation="informative" displayorder="3">
		<title depth="1">Contributors</title>

@ronaldtse can we change the roles [.inner-cover-note] [.contributors] to the preface types [.preface,type=inner-cover-note] and [.preface,type=contributors] or it did specially?

@Intelligent2013 sure, let's do that. Thanks.

The order of the preface sections:

preface/clause[@type = 'contributors']
preface/clause[@type = 'inner-cover-note'] at page bottom
page break
ToC
page break
preface/foreword
page break
document type in a box (白 紙, (White-paper))

Scope example:

Rendering rules:

[x] section number in Times New Roman bold
[x] section title in IPAexGothic
[x] Japanese text in IPAexMincho
[ ]English text in Times New Roman bold
[ ] reference to Annex:

the word Annex in Japanese 附属書 in IPAexGothic,
annex letter in Times New Roman bold

[ ] Note title:

the word Note in Japanese 注記 in IPAexGothic
note's number in Times New Roman bold

To do in XSLT on-fly:

allocate text in English and digits in the tag ...
render ... in Times New Roman bold
render note/example name, xref content in IPAexGothic.

For instance:
```xml
<note id="_">
	<name>注記  1</name>

should be transformed vis XSLT on-fly to:
<note id="_">
	<name>注記  1</name>

JIS XSLT for PDF rendering available in https://github.com/metanorma/metanorma-jis/blob/main/lib/isodoc/jis/jis.international-standard.xsl.
Further testing and updates will be in https://github.com/metanorma/metanorma-jis/issues/9.

@Intelligent2013 regarding year formatting, it is not the year that matters, but the following:

Numbers are in Mincho font
Document identifiers are formatted in bold


Return specific cursor errors

If a cursor command fails, it should return specific operational errors instead of the default CursorNotFoundError.

Added the ErrorCode type in b3527c1; calling as i32 is required since the FromPrimitive and ToPrimitive auto-conversion traits are unstable.


Tina latest frontend edits

🟡 Heimdall Review Status

Requirement
Status
More Info

Reviews

🟡
0/1

Denominator calculation

Show calculation

1 if user is bot
0

1 if user is external
0

From .codeflow.yml

1

Additional review requirements

Show calculation

Max
0

0

From CODEOWNERS

0

Global minimum
0

Max

1

1

1 if commit is unverified
1

Sum
2

Review Error for jackchuma @ 2024-10-23 21:59:43 UTC
User failed mfa authentication, public email is not set on your github profile. see go/mfa-help


Output the fluentd splunk variant config

Just moving the splunk variant config to an output of the fluentd config module so it can be consumed for the version tagging

After speaking with @mattmoor this is no longer necessary


Fix division by zero in determine_offloader

I found a panic in the staging logs:
thread 'wal backup launcher thread' panicked at 'attempt to calculate the remainder with a divisor of zero', safekeeper/src/wal_backup.rs:112:18

It points to this code: (u128::from(ttid.timeline_id) % caughtup_peers.len() as u128)
I'm not sure how this can happen and how to write a test for it yet, but here is a fix.

Superseded by https://github.com/neondatabase/neon/pull/2680


Exception on creating a query with index and predicate including DateTimeOffset using Postgresql dialect

Hi all,
The following (simplified) query using an predicate and an index
var tokens = session.Query<OpenIdToken, OpenIdTokenIndex>(
    token => token.CreationDate < threshold.UtcDateTime, collection: OpenIdToken.OpenIdCollection)
    .Take(100).ListAsync();

results in the following exception using postgresql dialect but not on sqlite:
[09:00:29 Error] OrchardCore.OpenId.Tasks.OpenIdBackgroundTask
An error occurred while pruning authorizations from the database.
System.Reflection.TargetException: Object does not match target type.
   at System.Reflection.MethodInvokerCommon.ValidateInvokeTarget(Object target, MethodBase method)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at YesSql.Services.DefaultQuery.Evaluate(Expression expression)
   at YesSql.Services.DefaultQuery.ConvertFragment(IStringBuilder builder, Expression expression)
   at YesSql.Services.DefaultQuery.ConvertFragment(IStringBuilder builder, Expression expression)
   at YesSql.Services.DefaultQuery.ConvertComparisonBinaryExpression(IStringBuilder builder, BinaryExpression expression, String operation)
   at YesSql.Services.DefaultQuery.ConvertFragment(IStringBuilder builder, Expression expression)
   at YesSql.Services.DefaultQuery.ConvertPredicate(IStringBuilder builder, Expression expression)
   at YesSql.Services.DefaultQuery.ConvertEqualityBinaryExpression(IStringBuilder builder, BinaryExpression expression, String operation)
   at YesSql.Services.DefaultQuery.ConvertFragment(IStringBuilder builder, Expression expression)
   at YesSql.Services.DefaultQuery.ConvertPredicate(IStringBuilder builder, Expression expression)
   at YesSql.Services.DefaultQuery.Filter[TIndex](Expression`1 predicate)
   at YesSql.Services.DefaultQuery.Query`1.YesSql.IQuery<T>.With[TIndex](Expression`1 predicate)
   at YesSql.QueryExtensions.Query[T,TIndex](ISession session, Expression`1 predicate, Boolean filterType, String collection)
   at YesSql.QueryExtensions.Query[T,TIndex](ISession session, Expression`1 predicate, String collection)
   at OrchardCore.OpenId.YesSql.Stores.OpenIdAuthorizationStore`1.PruneAsync(DateTimeOffset threshold, CancellationToken cancellationToken)
   at OrchardCore.OpenId.Tasks.OpenIdBackgroundTask.DoWorkAsync(IServiceProvider serviceProvider, CancellationToken cancellationToken)

Full original query can be found here.
Used Version:

YesSql 3.4.0
OrchardCore 1.7.2

This only occurs when using PostgreSQL dialect.
Workaround that helped but I'm not sure about the side effects:
Removing the DateTimeOffset type handler in PostgreSqlDialect
// DateTimeOffset are stored as Utc DateTimes in timesstamptz fields
// Represents a moment in time
AddTypeHandler<DateTimeOffset, DateTime>(x => x.UtcDateTime);

https://github.com/sebastienros/yessql/blob/main/src/YesSql.Provider.PostgreSql/PostgreSqlDialect.cs#L96
or changing the predicate to use a temporary date-time variable (not sure why this helped)
var thresholdUtcDateTime = threshold.UtcDateTime
var tokens = session.Query<OpenIdToken, OpenIdTokenIndex>(
    token => token.CreationDate < thresholdUtcDateTime, collection: OpenIdToken.OpenIdCollection)
    .Take(100).ListAsync();

not sure why this helped

Because it didn't have to convert a DateTimeOffset in that case, which must be the issue.
The bug is probably happening because a DateTimeOffset is compared to a DateTime and it's not correctly handled. Should be easy to repro, thanks.

I'm running into the same issue with Postgresql. The reproduction with Orchard Core is very simple.

Debug/Start "OrchardCore.Cms.Web"
Run setup wizard and use Postgresql connection.
Enable OpenId and OpenId Background task management feature in Orchard Core admin.
Change the Task "OpenID Cleaner" to run every minute instead of the default of 30 minutes.
Wait one minute and It will throw the Exception and won't clean expired sessions.


Houdini is loading all my stores at once causing performance issue

Describe the bug
I just wish to call one of my stores, but looking at the network request, it's calling all my stores located in the path $houdini/plugins/houdini-svelte/stores
I'm calling my store like this
import { load_GetSysLocations } from '$houdini';
import type { PageLoad } from './$types';

export const load: PageLoad = async (event) => {
  const variables = {
    // id: // Something like: event.url.searchParams.get('id')
    };

  return await load_GetSysLocations({ event, variables });
};

however, all 50 other load_* functions get called as well.
How can this be avoided as it would cause a performance issue.
this is examples of my files in $houdini/plugins/houdini-svelte/stores

Looking at the network tab, i can see all the calls and the performance issue.

Thanks
Severity
blocking all usage of Houdini
Steps to Reproduce the Bug
npm run dev
Reproduction
No response

This only happens in dev server. In the production build, the codes are splitted correctly by vite/esbuild and only the required houdini store codes are loaded when they are actually needed.

Huh that's strange

all 50 other load_* functions get called as well

When you say that they get called, do you mean the functions are invoked or just loaded?
Do you mind sharing your houdini.config.js file?

I'm going to close this since its gone a bit stale. if you want to dig into some more, feel free to reach out on discord 👍


python3Packages.pygame: add darwin support

Motivation for this change
Adds macOS support for pygame (and dependent projects). It has been tested on x86-64_linux, x86-64_darwin, and aarch64-darwin. Requires #133356 to pass the full test suite on darwin.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[x] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.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

[x] Fits CONTRIBUTING.md.

@ofborg eval


Speed slower than pytorch conv2d with groups

I used this for replace pytorch's conv2d where I also set groups=input_feat, this implementation is taking almost twice as much time as in pytorch's.

can you post your benchmark script

I was not benchmarking, I simply substitute nn.Conv2d with Conv2dDepthwise, my conv structure looks something like the following
`
layers = [
nn.BatchNorm2d(in_feat),
nn.Conv2d(in_feat,
in_feat,
kernel_size=kernel_size,
stride=stride,
padding=(f_h // 2, f_w // 2) if pad else 0,
groups=in_feat,
bias=False),
        nn.BatchNorm2d(in_feat),
        nn.Conv2d(in_feat,
                  out_feat,
                  kernel_size=(1,1),
                  stride=(1,1),
                  bias=False
                  ),

        nn.BatchNorm2d(out_feat),
        nn.ReLU()]
    self.sep_conv = nn.Sequential(*layers)

`
the first nn.conv2d is replaced by Conv2dDepthwise

@ybzhou right, so can you provide a benchmark script with this network, and how you time it - remember you need to run pyinn once to compile, and time it after that. Compilation might take a few sec per kernel.

here is an example without a network, pyinn is faster than cudnn6 pytorch convolution ~23 times:
import torch
import torch.nn.functional as F
from pyinn import conv2d_depthwise
from torch.autograd import Variable
from torchnet.meter import TimeMeter

N = 1024

x = Variable(torch.randn(256, N, 14, 14).cuda())
w = Variable(torch.randn(N, 1, 3, 3).cuda())

y = F.conv2d(x, w, padding=1, groups=x.size(1))
y = conv2d_depthwise(x, w, padding=1)

meter = TimeMeter('s')

for i in range(10):
    y = F.conv2d(x, w, padding=1, groups=x.size(1))
    torch.cuda.synchronize()

t0 = meter.value()

meter = TimeMeter('s')

for i in range(10):
    y = conv2d_depthwise(x, w, padding=1)
    torch.cuda.synchronize()

t1 = meter.value()

print('torch time', t0)
print('pyinn time', t1)

print(t0 / t1)

output on Maxwell Titan X
('torch time', 1.0383970737457275)
('pyinn time', 0.04490780830383301)
23.1228624368

@ybzhou see https://github.com/szagoruyko/pyinn/pull/12 for another example. feel free to reopen with repro script.

the forward is faster but the backward is a lot slower, following is the code for reproducing
I got the result on K80
import torch
import time
from torch import nn
from torch.autograd import Variable
from pyinn.modules import Conv2dDepthwise

in_feat = 32
out_feat = 64
batch_size = 256
stride = (2,1)
kernel_size = (7,3)

x = Variable(torch.randn(batch_size, in_feat, 40, 400)).cuda()
t = Variable(torch.randn(batch_size)).cuda()

print(kernel_size, stride)
layers = [nn.BatchNorm2d(in_feat),
          nn.Conv2d(in_feat,
                    in_feat,
                    kernel_size=kernel_size,
                    stride=stride,
                    padding=0,
                    groups=in_feat,
                    bias=False),

          nn.BatchNorm2d(in_feat),
          nn.Conv2d(in_feat,
                    out_feat,
                    kernel_size=(1,1),
                    stride=(1,1),
                    bias=False
                    ),

          nn.BatchNorm2d(out_feat),
          nn.ReLU()]

torch_conv = nn.Sequential(*layers)
torch_conv = torch_conv.cuda()

layers = [nn.BatchNorm2d(in_feat),
          Conv2dDepthwise(in_feat,
                          kernel_size=kernel_size,
                          stride=stride,
                          padding=0,
                          bias=False),

          nn.BatchNorm2d(in_feat),
          nn.Conv2d(in_feat,
                    out_feat,
                    kernel_size=(1,1),
                    stride=(1,1),
                    bias=False
                    ),

          nn.BatchNorm2d(out_feat),
          nn.ReLU()]

pyinn_conv = nn.Sequential(*layers)
pyinn_conv = pyinn_conv.cuda()

print('forward1')
t_start = time.time()
for i in range(10):
    y1 = torch_conv(x)
    torch.cuda.synchronize()

pytorch_forward_t = time.time()-t_start

y1 = y1.sum(1).sum(1).sum(1)
loss1 = nn.MSELoss()(y1, t)
print('backward1')
t_start = time.time()
loss1.backward()
pytorch_backward_t = time.time() - t_start

print('forward2')
t_start = time.time()
for i in range(10):
    y2 = pyinn_conv(x)
    torch.cuda.synchronize()
pyinn_forward_t = time.time()-t_start

y2 = y2.sum(1).sum(1).sum(1)
loss2 = nn.MSELoss()(y2, t)
print('backward2')
t_start = time.time()
loss2.backward()
pyinn_backward_t = time.time() - t_start

print('batch size: {}, kernel size: {}, stride size: {}, '
      'pytorch forward time: {:.4f}s '
      'pyinn forward time: {:.4f}s '
      'pytorch backward time: {:.4f}s '
      'pyinn backward time: {:.4f}s'.format(
    batch_size, kernel_size, stride,
    pytorch_forward_t, pyinn_forward_t,
    pytorch_backward_t, pyinn_backward_t
))
print(pytorch_forward_t/pyinn_forward_t,
      pytorch_backward_t/pyinn_backward_t)

batch size: 256, kernel size: (7, 3), stride size: (2, 1), pytorch forward time: 2.4811s pyinn forward time: 1.5070s pytorch backward time: 0.0037s pyinn backward time: 0.1597s
1.646389619890211 0.022934876056741653

@ybzhou you are not benchmarking correctly:

CUDA calls are asynchronous, you need to call torch.cuda.synchronize before every call
pyinn needs time to compile kernels in forward and backward.

with correct benchmarks you are still right though, backward w.r.t. weights is very slow because of the way it's written


When installing a foxx service I get Services: 400 . Internal Server Error

My Environment

ArangoDB Version:        3.8.1
Storage Engine:            RocksDB
Deployment Mode:       Single Server
Deployment Strategy:   ArangoDB Starter
Infrastructure:               own
Operating System:        Ubuntu 20.04
Total RAM in your machine:  32Gb.
Disks in use: SSD
Used Package:   Ubuntu  package

Component, Query & Data
__Affected feature: Foxx
In order to be able to later deploy Graphs with Foxx, I'm trying now to understand how to use Foxx services.
I started with https://www.arangodb.com/docs/stable/foxx-getting-started.html
(base) raphy@pc:~/ConceptNet/fox_service$ ls -lah
total 16K
drwxrwxr-x  2 raphy raphy 4.0K Dec 10 19:36 .
drwxrwxrwx 10 raphy raphy 4.0K Dec 10 19:40 ..
-rw-rw-r--  1 raphy raphy  329 Dec 10 19:29 index.js
-rw-rw-r--  1 raphy raphy   70 Dec 10 17:38 manifest.json

index.js :
'use strict';

import createRouter from '@arangodb/foxx/router'

const router = createRouter();

module.context.use(router);

router.get('/hello-world', function (req, res) {
  res.send('Hello World!');
})
.response(['text/plain'], 'A generic greeting.')
.summary('Generic greeting')
.description('Prints a generic greeting.');

manifest.js :
{
  "engines": {
    "arangodb": "^3.0.0"
  },
  "main": "index.js"
}

I zipped the folder and uploaded as service:

When I click the install option I get this error Services: 400 . Internal Server Error

What am I doing wrongly and / or what am I missing? How to solve the problem?

You probably need to rename the manifest file to "manifest.json". The server logs as configured in arangod.conf should be able to tell you the details.


ListLanguageTranslations endpoint returns list of empty classes

ListLanguageTranslations method deserializes web response to the list of LanguageTranslations, but this class is empty:

Should not there be a PlainLanguageTranslations class instead?

@innomaxx could you please assist here?

@bZverok LanguageTranslations is merely a base type for descendants with properties. Custom JSON converter is used here for deserialization. Does it work for you?

Now I see it, thank you. It's just the code that is a bit confusing


xcaddy build failing with newest version

Describe the issue
Building caddy inside a dockerfile with plugins fails with the version 1.3.1 and higher.
RUN xcaddy build \
    --with github.com/lucaslorentz/caddy-docker-proxy/plugin/v2 \
    --with github.com/greenpau/caddy-auth-portal \
    --with github.com/greenpau/caddy-auth-jwt \
    --with github.com/greenpau/caddy-trace

The error looks like this:
caddy imports
        github.com/greenpau/caddy-auth-portal imports
        github.com/greenpau/caddy-auth-jwt/pkg/config: module github.com/greenpau/caddy-auth-jwt@latest found (v1.3.2), but does not contain package github.com/greenpau/caddy-auth-jwt/pkg/config
caddy imports
        github.com/greenpau/caddy-auth-portal imports
        github.com/greenpau/caddy-auth-portal/pkg/core imports
        github.com/greenpau/caddy-auth-jwt/pkg/claims: module github.com/greenpau/caddy-auth-jwt@latest found (v1.3.2), but does not contain package github.com/greenpau/caddy-auth-jwt/pkg/claims

Reverting the plugin version to 1.2.7 fixes the error.
--with<EMAIL_ADDRESS>\

Just hit the same error!

@luixal , ack. Compile specifying the version. See the fix above.

If I use:
--with github.com/greenpau/caddy-auth-portal@latest  --with<EMAIL_ADDRESS>
I still get the error:
caddy imports
	github.com/greenpau/caddy-auth-portal imports
	github.com/greenpau/caddy-auth-jwt/pkg/config: module github.com/greenpau/caddy-auth-jwt@latest found (v1.3.2), but does not contain package github.com/greenpau/caddy-auth-jwt/pkg/config
caddy imports
	github.com/greenpau/caddy-auth-portal imports
	github.com/greenpau/caddy-auth-portal/pkg/core imports
	github.com/greenpau/caddy-auth-jwt/pkg/claims: module github.com/greenpau/caddy-auth-jwt@latest found (v1.3.2), but does not contain package github.com/greenpau/caddy-auth-jwt/pkg/claims

I need to use the previous version @v1.2.7 for it to work.
Is that what you meant? using an older version?

@luixal , do not use the latest on the portal, use v1.4.6

And v1.2.7 for jwt plugin

Ok, thanks.
OFFTOPIC: do you know if there's a tutorial for using this with Keycloak for securing multiple services running in docker? I'm looking for something related but do not find any really useful.
Thank you!

Same here !
 The build should not fail.


[Bug]: Fee invalid prevents user from proceeding with high fee

Describe the bug
I want to send 60k sats via onchain.
I set the fees to 200 sat/vb so my tx will cost 41800 sats.
The application stop me from sending my tx because the fees represent half of my tx, even if I want to.
To do: it should warn them more clearly with an option to proceed .
Reproduce

Go to '...'
Click on '....'
Scroll down to '....'
See error

Screenshots / Recording

Operating system
Android, iOS
Bitkit version
v114
Log output
No response

This is intentional, expected behavior that's been discussed on multiple occasions and prevents users from losing sats. I would, in earnest, consider it unethical to remove that check. Even attempting to broadcast through Electrum outside of Bitkit you'll notice that the transaction will get denied.
The Boost, however, appears be a UI bug.

don't think that the notice should be removed, but that once the user has seen it, he should be able to make the transaction if he wish.

I would disagree. It's a vital check and should not be removed. Again, even if we removed this check in Bitkit most services and Electrum servers will still refuse to broadcast that transaction.

Hey I talked to John and he understand the nuance. It there a way to flag the transaction on Mempool that this weird fees tx is approved by user?

@JeanlChristophe & @BitcoinErrorLog, I think the only safe way to expose a high-fee bypass to the user in Bitkit would be to have them intentionally trigger the Send flow from the Advanced Settings in Bitkit. We could label it under a "Dangerous" sub-header as "Send High-Fee Transaction" or something similar. This would ensure it's not exposed in the normal send flow and prevent absent-minded users from accidentally triggering it.

There is a very basic use case that is being prevented by this limit. Let's say I have 50000 savings in my wallet and want to pay for a coffee with it. If the fee is 20 sat/vbyte Bitkit prevents me from doing this tx. (Shown in the screencast by trying to set custom fee but imagine it's just the average fee rate). At the very least it should be smarter about wallet balance and output amounts in my opinion.
https://github.com/synonymdev/bitkit/assets/8538369/8f4090e6-4aca-451c-aab1-4a0a0c403c6a

What do you think @BitcoinErrorLog

We can consider removing this safety check for smaller amounts of <= 10,000 sats, but keep it in place for everything else. Only downside is we may not be able to successfully broadcast a tx with a fee greater than the outputs using our Electrum server or any other Electrum server the user connects to. So this will need to be tested.


Pause experiment

When the user wants to stop the experiment in advance, but keeps the webUI, a command like "nnictl pause experiment_id" maybe better than "stop".

@suiguoxin - "pause" in general means a temporary stop, which is able to be "resumed" any time. not just keeping the webui info...


How to exit place type menu?

I could not find 😂
It hides part of the map.

Clicking the small "x" next to search area makes it for me. Does it work for you too @nicolas-raoul ?

wow I could not see it lol
by the way how about making the font white? same color as "place type" 🙂
On Fri, 29 Nov 2019, 22:17 neslihanturan<EMAIL_ADDRESS>wrote:

Clicking the small "x" next to search area makes it for me. Does it work
for you too @nicolas-raoul https://github.com/nicolas-raoul ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/commons-app/apps-android-commons/issues/3236?email_source=notifications&email_token=AAAYKBTLLGZYO4Y7UD4JCLTQWEI6FA5CNFSM4JS5MKK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFO2YJI#issuecomment-559787045,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAYKBSM273IUPM6DCUSRA3QWEI6FANCNFSM4JS5MKKQ
.

Yes @nicolas-raoul even I feel that it should be in white

May I do this

Sure @chaytanyasinha , givve a try. We especially want to have a white "x"

The selected items also needs to be written in white?
@neslihanturan

Displaying selected items is another issue, we should implement them separately. So for this issue just color of "x" button should be fine. By the way, you don't have any other assigned issues, right? We make one issue at a time.

No @neslihanturan I don't have any issue on which I am currently working.Okay I'll change the color.

Thanks @chaytanyasinha ! I think the "x" and also the text inside the place type search box (which says Bridge, museum, ho... in the screenshot above) should be made with the same font color as "Place type".

Okay @nicolas-raoul I'll do it.

@nicolas-raoul @neslihanturan I made the changes last night just after you assigned me but my ram is not working properly because of which I am not able to test the codes.
What should I do?

@neslihanturan @nicolas-raoul should I send a pull request?

Please send a pull request with the title "[WIP] White font for place type search box and x"
WIP means "Work In Progress"
Thanks :-)

okay @nicolas-raoul I'll do it.

@chaytanyasinha since the straightforward solution will not work for this issue (I also tried setting hint text color, I assume this is what you did too, am I right?) would be nicer to test it at least once before sending the PR. Is your issue with your ram permanent, or will be solved soon?

Additionally, this issue is one of our hot issues, see: https://github.com/commons-app/apps-android-commons/issues/3256 so it would be amazing if you can send your [WIP] PR as soon as possible, so that, if it does not work I will have time to work on the same.

No @neslihanturan RAM issue will be soon resolved,I'll try to test the codes now and will be sending the PR ASAP.

Yes @neslihanturan I also tried using changing the hint color only.

@neslihanturan @nicolas-raoul I have sent the pull request 2 days back with tag [WIP].I tried to check the codes but it was showing error "sdk files missing".I'll be thankful if you check it once for updating it.
Thanks.

@neslihanturan please guide me where I am wrong I'll try to resolve the codes.

@neslihanturan please guide me where I am wrong I'll try to resolve the codes.

Please see my reviews below your closed PR @chaytanyasinha . I think testing and seeing that your changes works is a must for sending a PR. so please focus on solving your issues with missing SDK filses, and make sure you can build the app with no issues. Then you can continue to contribute easier. Meanwhile I may have to send the PR for this issue, since it is on one of to do lists which has to be completed soon. But we have plenty other issues waiting for contributors:)

Sure @neslihanturan I will soon resolve my problem of computer and will again start contributing to the community.
Earlier I was upset because of first PR rejection because I knew how to solve these type of issues but thanks for supporting.
I'll soon start contributing again

Really no need to be upset, it is very normal to have some issues on your PR when your computer does not work properly and also SDK is not found. We need our tools to write code:)

Okay @neslihanturan I will resolve the issue.

@neslihanturan Can you please tell by what variable is the text defined which is there in the search box and the Cancel button.

There are no variables defined in the Java code, you can create them by findView. Did you solved you issues with Android Studio? :)

Actually @neslihanturan my ram was completely burnt from inside it will take few weeks to get new parts.That's why I am not active these days.

@chaytanyasinha Are you still working on this issue? If not, please let us know so that it can be reassigned to someone else. :)

@maskaravivek No,I am not working on it due to some technical issues,I'll be back with contributing in few days.Please assign to someone else.
Regards

I can pick this up.

Sure. Assigned to you. :)


Add bindings for FreeBSD on x86-64.

This PR adds support for bindings for the FreeBSD on x86-64 target.

I wonder if the CI failures are due to existing warnings now being treated by newer Rust as errors, and not due to my changes...?

I wasn't familiar with the DCO checks and didn't notice they were failing. It took several attempts but I was finally able to edit and force push the commits until the DCO checks passed.

Looking back at the last successful run of the "Execute CI script" step of the "Continuous Integration" job I see that [it used Rust 1.60.0](RUST_BACKTRACE=1 cargo test).
If I run ./ci.sh locally with Rust 1.60.0 then the cargo build steps succeed, while with latest Rust 1.62.1 it fails as it does in GH Actions for this PR.
So indeed I think something is broken Cryptoki with latest Rust that has nothing to do with my PR.

FYI I have run the commands in ci.sh on a FreeBSD 13.1 AWS EC2 VM (after having first installed Rust 1.60.0, the same toolchains as installed by ci.yml, and SoftHSM2 configured the same as by ci.yml) and all cargo build, fmt, clippy, and test commands succeed.
Details of the system used:
ec2-user@freebsd:~/rust-cryptoki-add-freebsd-bindings/cryptoki-sys $ uname -a
FreeBSD freebsd 13.1-RELEASE FreeBSD 13.1-RELEASE releng/13.1-n250148-fc952ac2212 GENERIC amd64
ec2-user@freebsd:~/rust-cryptoki-add-freebsd-bindings/cryptoki-sys $ rustup show
Default host: x86_64-unknown-freebsd
rustup home:  /home/ec2-user/.rustup

installed toolchains
--------------------

stable-x86_64-unknown-freebsd
1.60.0-x86_64-unknown-freebsd (default)

installed targets for active toolchain
--------------------------------------

aarch64-apple-darwin
aarch64-unknown-linux-gnu
arm-unknown-linux-gnueabi
armv7-unknown-linux-gnueabi
armv7-unknown-linux-gnueabihf
i686-unknown-linux-gnu
powerpc64-unknown-linux-gnu
powerpc64le-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-freebsd

active toolchain
----------------

1.60.0-x86_64-unknown-freebsd (default)
rustc 1.60.0 (7737e0b5c 2022-04-04)

ec2-user@freebsd:~/rust-cryptoki-add-freebsd-bindings/cryptoki-sys $ rustc --version
rustc 1.60.0 (7737e0b5c 2022-04-04)

Output of the cargo test step:
ec2-user@freebsd:~/rust-cryptoki-add-freebsd-bindings/cryptoki-sys $ cargo test
    Finished test [unoptimized + debuginfo] target(s) in 0.02s
     Running unittests (/usr/home/ec2-user/rust-cryptoki-add-freebsd-bindings/target/debug/deps/cryptoki_sys-3cfb3ae00b600e7d)

running 22 tests
test bindgen_test_layout_CK_OTP_SIGNATURE_INFO ... ok
test bindgen_test_layout_CK_OTP_PARAMS ... ok
test bindgen_test_layout_CK_OTP_PARAM ... ok
test bindgen_test_layout__CK_ATTRIBUTE ... ok
test bindgen_test_layout__CK_C_INITIALIZE_ARGS ... ok
test bindgen_test_layout__CK_FUNCTION_LIST ... ok
test bindgen_test_layout__CK_DATE ... ok
test bindgen_test_layout__CK_INFO ... ok
test bindgen_test_layout__CK_MECHANISM ... ok
test bindgen_test_layout__CK_MECHANISM_INFO ... ok
test bindgen_test_layout__CK_SESSION_INFO ... ok
test bindgen_test_layout__CK_SLOT_INFO ... ok
test bindgen_test_layout__CK_TOKEN_INFO ... ok
test bindgen_test_layout__CK_VERSION ... ok
test bindgen_test_layout_ck_aes_cbc_encrypt_data_params ... ok
test bindgen_test_layout_ck_aes_ctr_params ... ok
test bindgen_test_layout_ck_des_cbc_encrypt_data_params ... ok
test bindgen_test_layout_ck_ecdh1_derive_params ... ok
test bindgen_test_layout_ck_key_derivation_string_data ... ok
test bindgen_test_layout_ck_gcm_params ... ok
test bindgen_test_layout_ck_rsa_pkcs_oaep_params ... ok
test bindgen_test_layout_ck_rsa_pkcs_pss_params ... ok

test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

   Doc-tests cryptoki-sys

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

FYI I built my application on FreeBSD 13.1 using --features cryptoki/generate-bindings with the latest release of Cryptoki and was able to demonstrate that it works correctly with SoftHSM2 (i.e. can create keys, sign with them, query the token, etc) so the bindings seem to work in a real world context as well as with the tests in this repo.

Ah good find! I should have fixed the CI in #95 , you should be able to rebase once it's merged :ok_hand:

The CI script needs some love and IMO should be rewritten to use GitHub's matrix builds because of visibility (I'm not saying it should be done now, just that it'd be a good idea).

Indeed, I had to count occurrences of "Finished" to try and work out which of the cargo build invocations was failing...

@hug-dev @wiktor-k @ionut-arm: I'm not sure how the release planning for this project is done, do you know when a release might be made?
I'm asking because we're in the process of making a v0.10.0 release for the Krill project, currently at rc2 stage, and this is the first release that enables our cryptoki powered PCKS#11 support by default.
While testing this release the lack of support (with standard build instructions) on FreeBSD was discovered. So I'm curious to know if we can expect to be able to make a third release candidate which fixes this issue, or should expect to wait longer and thus instead provide guidance to FreeBSD users/packagers of the final v0.10.0 release of Krill to disable the HSM feature or to build using '--features cryptoki/generate-bindings' when compiling.
Thanks,
Ximon

I don't think there are any blockers for a new release and it's good that you're asking about it.
I'll ping @ionut-arm about that on Slack (still, I think he got the GitHub notification :) ).


Error when active view is image

If the current view is an image then an error occurs on start.
To reproduce:

Open an image in a view.
Close ST
Open ST
Open the console to see traceback:

Traceback (most recent call last):
  File "/home/code/sublime_text_3/sublime_plugin.py", line 210, in on_api_ready
    m.plugin_loaded()
  File "/home/code/.config/sublime-text-3/Packages/SublimeLinter/sublime_linter.py", line 64, in plugin_loaded
    plugin.on_activated_async(window.active_view())
  File "/home/code/.config/sublime-text-3/Packages/SublimeLinter/sublime_linter.py", line 97, in on_activated_async
    if util.is_scratch(view):
  File "/home/code/.config/sublime-text-3/Packages/SublimeLinter/lint/util.py", line 108, in is_scratch
    if view.is_scratch() or view.is_read_only() or not view.window() or view.settings().get("repl"):
AttributeError: 'NoneType' object has no attribute 'is_scratch'

Discovered via https://github.com/NeoVintageous/NeoVintageous/issues/297

@gerardroche, thanks for lettings us know. We are going to have a look into this.

Should be gone now..


[HOLD for payment 2024-08-01] [$250]  Subscription size - Decimal point can be inserted and not removed on the confirmation page

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.84-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team
Issue found when executing PR https://github.com/Expensify/App/pull/43328
Action Performed:

Go to staging.new.expensify.com/settings/subscription/subscription-size
Enter a digit and a decimal point
Click Next

Expected Result:
Decimal point will be removed on the next page
Actual Result:
Decimal point can be inserted and not removed on the confirmation page
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[x] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/1dc1b351-8c0f-4425-b027-2135a53f6180
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01d8c409a169a06c82
Upwork Job ID:<PHONE_NUMBER>086879493
Last Price Increase: 2024-06-19
Automatic offers:

fedirjh | Reviewer | 102862371
Krishna2323 | Contributor | 102862372

Issue OwnerCurrent Issue Owner: @miljakljajic

@miljakljajic  FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

@Krishna2323 you've been paid in upwork, thank you!
@fedirjh your original offer expired as you didn't accept it in upwork in time. Please accept the new offer.

actually @fedirjh do we pay you in NewDot? I noticed you're listed for manual payments. Let me know and I'll provide a payment summary instead.

Of course, apologies.
@fedirjh is owed 250 for their work reviewing this issue.


add helper script for code extensions

          vs code extensions

https://github.com/NASA-Openscapes/corn/blob/2024-10-24/ci/postBuild
https://github.com/NASA-Openscapes/corn/blob/2024-10-24/ci/vscode-extensions.txt
RUN chmod +x install-vscode-ext.sh && ./install-vscode-ext.sh vscode-extensions.txt
https://github.com/NASA-Openscapes/corn/blob/2024-10-24/ci/install-vscode-ext.sh
Originally posted by @eeholmes in https://github.com/nmfs-opensci/py-rocket-base/issues/128#issuecomment-2445786239

Thanks @ateucher!
#!/bin/bash

# Install VSCode extensions.
# These get installed to $CONDA_PREFIX/envs/notebook/share/code-server/extensions/

# Check if a filename argument is provided
if [ -z "$1" ]; then
    echo "Error: install-vscode-extensions.sh requires an input file of extension names (typically called vscode-extensions.txt)." >&2
    echo "Usage: RUN /pyrocket_scripts/install-vscode-extensions.sh <filename>"
    exit 1
fi

# Check the user and output which user the script is running as
if [[ $(id -u) -eq 0 ]]; then
    echo "Running install-vscode-extensions.sh as root."
else
    echo "Running install-vscode-extensions.sh as ${NB_USER}."
fi

ext_file="$1"

# Verify that ext_file exists and is a file
if [ ! -f "${ext_file}" ]; then
    echo "  Error: Specified file '$ext_file' does not exist."
    exit 1
fi

# Install each extension listed in the file
while IFS= read -r EXT; do
    if code-server --install-extension "$EXT"; then
        echo "  Successfully installed extension: $EXT"
    else
        echo "  Failed to install extension: $EXT" >&2
    fi
done < "$ext_file"

echo "  Success! install-vscode-extensions.sh"


Rework events

Superseded #259.
Events was implemented this way since the initial release of replicon (it was more then a year ago, time flies quickly!), but it have some flaws:

Public API for custom ser/de require user to define the whole sending and receiving functions which is not ergonomic. It's especially bad for server events where user need to use a few public helpers that we provided to reduce the boilerplate.
It creates a new set of systems for each replicon event. It's not very efficient and Bevy recently did a nice optimization which we also can do. It won't be that noticeable since user register much less amount of replicon events, but nice to have.

I think it's time to revisit the implementation and fix the mentioned flaws.

Thanks!
Ah, I forgot that you have a special use case... But yes, I think it would be better to implement this on your project side.

Codecov Report
Attention: Patch coverage is 89.04429% with 47 lines in your changes are missing coverage. Please review.

Project coverage is 90.86%.

Files
Patch %
Lines

src/server_event.rs
87.65%
30 Missing :warning:

src/client_event.rs
90.11%
17 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #262      +/-   ##
==========================================
+ Coverage   90.83%   90.86%   +0.03%
==========================================
  Files          37       36       -1
  Lines        2084     2310     +226
==========================================
+ Hits         1893     2099     +206
- Misses        191      211      +20

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


Document the process to contribute

Add details for how to build and deploy the application in case someone wants to fork this.  Point out how need to adjust the subscription ID

Initial Documentation can be found here: https://github.com/keptn-sandbox/keptn-azure-devops-extension/blob/master/README_DEV.md

we believe the changes in README_DEV.md should be sufficient. We have cleaned up several dependencies, so the dev workflow is much easier now.


Fan module: Weak point - Handle-1, Gearbox_cover and handle_plate

I get that you was trying to make all of those parts printable without support, but sadly, as is, those parts kept coming apart really easily. I've sliced and modified the parts slightly in the Bambu slicer as you can see below:

This is what it looks like in my slicer with supports. Just 3g of supports. Meh.

Tried in other directions just in case.

🤔 Have me wondering if the short pins and long pins isn't the ideal approach here... Maybe making lego-like assets that can be assembled in any slicer softwares, then printed out as one solid indestructible piece?

Could you specify which parts are coming loose? The common problem I've run into is the handle plate coming off of the gearbox. I had designed a backet to prevent this but I just now got around to uploading it:
https://github.com/gearfinity/gearfinity/blob/main/_all_parts/handle_plate_bracket_half-1.STL
You can see how it's assembled here:
https://www.youtube.com/shorts/OGo2ZauXTeQ

Oh wow, now this is ingenious! Keeping in line of the spirit of extreme modularity when not compromising too much on durability!
Yes, the plate was coming off constantly. I'm still printing... Halfway finished, the 3D printer got tangled when I was sleeping. Darn! My fault for putting a new reel in in total darkness with one arm.

Haha, yeah in my experience so far the flexibility that modularity provides opens up opportunities to design parts in a way that actually capitalizes on the strengths of 3D printing.
For instance, the bracket as a single part would need to be printed standing up if no supports were used, like this:

This makes the bracket arms much more fragile as the grain would be perpendicular to the "length" of the part. But as two parts:

The layer grain and the arms are much stronger.
Also, having an "intended" print arrangement allows for built-in supports, which I much prefer over the slicer generated supports.

Imagine the look on my face when I connected the new crank, only for it to explode like this when turned at full power, kek

This is really lending weight to your approach of going really modular... If a piece breaks, print out a new replacement and slam that in! Seems that there's a bad line going across everything I printed due to swapping 3D print filaments mid-print. Oof!
A quick sweep over an open flame ought do nicely for the new heavy-duty non-modular frame I made...

ANYWAY. Glad that this got more modular parts shaking out of the modular bag! Durability issue resolved!

@DillonSimeone great pics! Thanks for sharing 😄