trigger the wrong path of story

Rasa Core version: 0.98
Python version: 3.6
Operating system (windows, osx, ...): win 10
Issue:
My bot triggers the wrong path of story.
When I type yes, the bot should conduct action_topic, however it conducts utter_access_reading
The steps I run RASA:
python -m rasa_nlu.train -c config_spacy.yml --data data/nlu_data.md -o models --fixed_model_name nlu --project current --verbose
python -m rasa_core.train -d domain.yml -s data/stories.md -o models/current/dialogue --epochs 200
python -m rasa_core.run -d models/current/dialogue -u models/current/nlu --debug
Okay, do you have a topic in mind?
1: Yes (yes)
2: No (no)
2018-07-19 21:41:58 DEBUG    rasa_core.processor  - Bot utterance 'BotUttered(text: Okay, do you have a topic in mind?, data: {
  "buttons": [
    {
      "payload": "yes",
      "title": "Yes"
    },
    {
      "payload": "no",
      "title": "No"
    }
  ]
})'
2018-07-19 21:41:58 DEBUG    rasa_core.processor  - Action 'utter_choose_topic' ended with events '[]'
2018-07-19 21:41:58 DEBUG    rasa_core.policies.memoization  - Current tracker state [{'prev_utter_type_of_paper': 1.0, 'intent_request_essay_help': 1.0}, {'intent_choose_argument': 1.0, 'prev_action_listen': 1.0}, {'intent_choose_argument': 1.0, 'prev_utter_choose_topic': 1.0}]
2018-07-19 21:41:58 DEBUG    rasa_core.policies.memoization  - There is a memorised next action '0'
2018-07-19 21:41:58 DEBUG    rasa_core.policies.ensemble  - Predicted next action using policy_0_MemoizationPolicy
2018-07-19 21:41:58 DEBUG    rasa_core.policies.ensemble  - Predicted next action 'action_listen' with prob 1.00.
2018-07-19 21:41:58 DEBUG    rasa_core.processor  - Action 'action_listen' ended with events '[]'
2018-07-19 21:41:58 DEBUG    rasa_core.processor  - Current topic: None
Yes
2018-07-19 21:42:22 DEBUG    rasa_core.tracker_store  - Recreating tracker for id 'default'
2018-07-19 21:42:22 WARNING  py.warnings  - C:\Users\e8180\Anaconda3\lib\site-packages\sklearn\preprocessing\label.py:151: DeprecationWarning: The truth value of an empty array is ambiguous. Returning False, but in future this will result in an error. Use `array.size > 0` to check that an array is not empty.
  if diff:

2018-07-19 21:42:22 DEBUG    rasa_core.processor  - Received user message 'Yes' with intent '{'name': 'choose_topic_yes_confirm', 'confidence': 0.4631277185052503}' and entities '[]'
2018-07-19 21:42:22 DEBUG    rasa_core.processor  - Logged UserUtterance - tracker now has 14 events
2018-07-19 21:42:22 DEBUG    rasa_core.processor  - Current slot values:
        Learner_argument_after_highlight_slot_1: None
        Learner_type_thesis_slot_1: None
        essay_topic_slot: None
        requested_slot: None
2018-07-19 21:42:22 DEBUG    rasa_core.policies.memoization  - Current tracker state [{'intent_choose_argument': 1.0, 'prev_action_listen': 1.0}, {'intent_choose_argument': 1.0, 'prev_utter_choose_topic': 1.0}, {'intent_choose_topic_yes_confirm': 1.0, 'prev_action_listen': 1.0}]
2018-07-19 21:42:22 DEBUG    rasa_core.policies.memoization  - There is no memorised next action
2018-07-19 21:42:22 DEBUG    rasa_core.policies.ensemble  - Predicted next action using policy_1_KerasPolicy
2018-07-19 21:42:22 DEBUG    rasa_core.policies.ensemble  - Predicted next action 'utter_access_reading' with prob 0.77.
Access reading resources provided by your instructor [link to canvas] As you can see the articles are grouped into different modules. choose one or two modules you would be interested in. Let me know when you are done. (type DONE)
1: I am done (done)
2018-07-19 21:42:22 DEBUG    rasa_core.processor  - Bot utterance 'BotUttered(text: Access reading resources provided by your instructor [link to canvas] As you can see the articles are grouped into different modules. choose one or two modules you would be interested in. Let me know when you are done. (type DONE), data: {
  "buttons": [
    {
      "payload": "done",
      "title": "I am done"
    }
  ]
})'
2018-07-19 21:42:22 DEBUG    rasa_core.processor  - Action 'utter_access_reading' ended with events '[]'
2018-07-19 21:42:22 DEBUG    rasa_core.policies.memoization  - Current tracker state [{'intent_choose_argument': 1.0, 'prev_utter_choose_topic': 1.0}, {'intent_choose_topic_yes_confirm': 1.0, 'prev_action_listen': 1.0}, {'intent_choose_topic_yes_confirm': 1.0, 'prev_utter_access_reading': 1.0}]
2018-07-19 21:42:22 DEBUG    rasa_core.policies.memoization  - There is no memorised next action
2018-07-19 21:42:22 DEBUG    rasa_core.policies.ensemble  - Predicted next action using policy_1_KerasPolicy
2018-07-19 21:42:22 DEBUG    rasa_core.policies.ensemble  - Predicted next action 'action_listen' with prob 1.00.
2018-07-19 21:42:22 DEBUG    rasa_core.processor  - Action 'action_listen' ended with events '[]'
2018-07-19 21:42:22 DEBUG    rasa_core.processor  - Current topic: None

Content of domain file (if used & relevant):
intents:
  - greet
  - request_essay_help
  - choose_argument
  - choose_topic_yes_confirm
  - choose_yes
  - choose_topic_maybe
  - choose_no
  - confirm_completion
  - Learner_type_topic
  - Learner_type_argument_after_highlights
  - Learner_type_thesis
  - goodbye

actions:
- utter_greet
- utter_type_of_paper
- utter_choose_topic
- utter_ask_essay_topic_slot
- utter_access_reading
- utter_skim_articles
- utter_read_highlight_topic_of_choice
- utter_show_highlights
- utter_ask_Learner_argument_after_highlight_slot_1
- utter_knowledge_what_thesis_statement
- utter_definition_thesis_statement
- utter_need_example_thesis_statement
- utter_ask_Learner_type_thesis_slot_1
- utter_confirm_thesis_arguable
- utter_whether_knowing_arguable
- utter_confirm_thesis_focused
- utter_whether_knowing_focused
- utter_definition_arguable_thesis
- utter_definition_focused_thesis
- utter_request_help_teacher
- utter_good_bye
- actions.ActionTopic
- actions.ActionArgument
- actions.ActionThesis

entities:
  - essay_topic_slot
  - Learner_argument_after_highlight_slot_1
  - Learner_type_thesis_slot_1

slots:
  essay_topic_slot:
    type: text
  Learner_argument_after_highlight_slot_1:
    type: text
  Learner_type_thesis_slot_1:
    type: text
  requested_slot:
    type: unfeaturized

templates:
  utter_greet:
  - text: "How may I help you?"
  utter_type_of_paper:
  - text: "Okay, what type of paper? Here are some options of different types of essays that I can help you with"
    buttons:
    - title: "Compare & Contrast Essay"
      payload: "compare_contrast"
    - title: "Argumentative Essay"
      payload: "argue"
    - title: "Cause and Effect Essay"
      payload: "cause"
    - title: "Problem & Solution Essay"
      payload: "problem"
  utter_choose_topic:
  - text: "Okay, do you have a topic in mind?"
    buttons:
    - title: "Yes"
      payload: "yes"
    - title: "No"
      payload: "no"
  utter_ask_essay_topic_slot:
  - text: "What is your topic?"
  utter_access_reading:
  - text: "Access reading resources provided by your instructor [link to canvas] As you can see the articles are grouped into different modules. choose one or two modules you would be interested in. Let me know when you are done. (type DONE)"
    buttons:
    - title: "I am done"
      payload: "done"
  utter_skim_articles:
  - text: "Now skim the titles of articles under each module. Choose 3 to 4 articles under each module. Read each article. Let me know when you are done. (type DONE)"
    buttons:
    - title: "I am done"
      payload: "done"
  utter_read_highlight_topic_of_choice:
  - text: "Now go back to the module with articles about {essay_topic_slot}. Start hghlighting parts that interest you. Let me know when you are done. (type DONE) "
    buttons:
    - title: "I am done"
      payload: "done"
  utter_show_highlights:
  - text: "Now Hers is the list of all the highlights you made. [link to highlights]. Now review the highlights to decide whether your position is for or against the topic about {essay_topic_slot}. Let me know when you are done. (type DONE)"
    buttons:
    - title: "I am done"
      payload: "done"
  utter_ask_Learner_argument_after_highlight_slot_1:
  - text: "Now tell me something you can argue for/or argue against {essay_topic_slot}"
  utter_knowledge_what_thesis_statement:
  - text: "very good. It's time to construct a thesis statement ? Do you know what a thesis statement is?"
    buttons:
    - title: "Yes"
      payload: "yes"
    - title: "No"
      payload: "no"
  utter_definition_thesis_statement:
  - text: "A thesis statement is a statement of position. In university writing, it is typically a sentence or two which establishes your argument and forecasts the main points that your paper will argue. It is the backbone of your paper because everything that follows should support this central argument. A thesis has to be arguable/contestable and cannot be a statement of fact. Does this make sense? "
    buttons:
    - title: "Yes"
      payload: "yes"
    - title: "No"
      payload: "no"
  utter_need_example_thesis_statement:
  - text: "Do you need an example?"
    buttons:
    - title: "Yes"
      payload: "yes"
    - title: "No"
      payload: "no"
  utter_ask_Learner_type_thesis_slot_1:
  - text: "O.K. No let's work on your thesis statemnt. From the conversation we had, you said that {Learner_argument__after_highlight_slot_1}. Now think about it and try to fill in the sentence: {Learner_argument__after_highlight_slot_1} because X, Y, and Z."
  utter_confirm_thesis_arguable:
  - text: "This is your {Learner_type_thesis_Slot1}. Now think about this: Is your thesis statement arguable/contestable?"
    buttons:
    - title: "Yes"
      payload: "yes"
    - title: "No"
      payload: "no"
  utter_whether_knowing_arguable:
  - text: "Do you know what arguable is?"
    buttons:
    - title: "Yes"
      payload: "yes"
    - title: "No"
      payload: "no"
  utter_confirm_thesis_focused:
  - text: "Is your thesis statement focused?"
    buttons:
    - title: "Yes"
      payload: "yes"
    - title: "No"
      payload: "no"
  utter_whether_knowing_focused:
  - text: "Do you know what a focused thesis means?"
    buttons:
    - title: "Yes"
      payload: "yes"
    - title: "No"
      payload: "no"
  utter_definition_arguable_thesis:
  - text: "Your thesis is probably not contestable if it is a neutral statement, it is a fact, or it only answers the questions 'what'. Do you need more help from your teacher?"
    buttons:
    - title: "Yes"
      payload: "yes"
    - title: "No"
      payload: "no"
  utter_definition_focused_thesis:
  - text: "a focused thesis statement means that you includes brief reasons for your argument. Do you need more help from your teacher?"
    buttons:
    - title: "Yes"
      payload: "yes"
    - title: "No"
      payload: "no"
  utter_request_help_teacher:
  - text: "Okay, now I recommend you go to your TA or professor for clarifications. Let me know when you are done."
    buttons:
    - title: "I am done"
      payload: "done"
  utter_good_bye:
  - text: "This is your thesis statement {Learner_type_thesis_slot_1}. It is now arguable and focused. Do you need any other help?"

the complete story
## knowing what topic is already and not knowing what a thesis is and do not need an example thesis <!-- name of the story - just for debugging -->
* greet
  - utter_greet
* request_essay_help
  - utter_type_of_paper
* choose_argument
  - utter_choose_topic
* choose_yes <!--yes path for learners knowing what their topic is -->
  - action_topic
  - slot{"requested_slot": "essay_topic_slot"}
* Learner_type_topic{"essay_topic_slot": "bullying"}
  - action_topic
  - slot{"essay_topic_slot": "bullying"}
  - utter_read_highlight_topic_of_choice
* confirm_completion
  - utter_show_highlights
* confirm_completion
  - action_argument
  - slot{"requested_slot": "Learner_argument_after_highlight_slot_1"}
* Learner_type_argument_after_highlights{"Learner_argument_after_highlight_slot_1": "Bullying has negative impacts"}
  - action_argument
  - slot{"Learner_argument_after_highlight_slot_1": "Bullying has negative impacts"}
  - utter_knowledge_what_thesis_statement
* choose_no <!--no path for learners not knowing what their thesis statement is -->
  - utter_definition_thesis_statement
* choose_yes <!--no path for learners who do not need an example for thesis -->
  - utter_need_example_thesis_statement
* choose_no
  - action_thesis
  - slot{"requested_slot": "Learner_type_thesis_slot_1"}
* Learner_type_thesis{"Learner_type_thesis_slot_1": "Bullying has negative impacts because bullying will damage students' socio-emotional development"}
  - action_thesis
  - slot{"Learner_type_thesis_slot_1": "Bullying has negative impacts because bullying will damage students' socio-emotional development"}
  - utter_confirm_thesis_arguable
* choose_yes <!--yes path for learners knowing their thesis is arguable-->
  - utter_confirm_thesis_focused
* choose_yes <!--yes path for learners knowing their theis is focused -->
  - utter_good_bye

## didn't know what topic is
* greet
  - utter_greet
* request_essay_help
  - utter_type_of_paper
* choose_argument
  - utter_choose_topic
* choose_no
  - utter_access_reading
* confirm_completion
  - utter_skim_articles
* confirm_completion
  - utter_choose_topic
* choose_yes <!--yes path for learners knowing what their topic is -->
  - action_topic
  - slot{"requested_slot": "essay_topic_slot"}
* Learner_type_topic{"essay_topic_slot": "bullying"}
  - action_topic
  - slot{"essay_topic_slot": "bullying"}
  - utter_read_highlight_topic_of_choice
* confirm_completion
  - utter_show_highlights
* confirm_completion
  - action_argument
  - slot{"requested_slot": "Learner_argument_after_highlight_slot_1"}
* Learner_type_argument_after_highlights{"Learner_argument_after_highlight_slot_1": "Bullying has negative impacts"}
  - action_argument
  - slot{"Learner_argument_after_highlight_slot_1": "Bullying has negative impacts"}
  - utter_knowledge_what_thesis_statement
* choose_no <!--no path for learners not knowing what their thesis statement is -->
  - utter_definition_thesis_statement
* choose_yes <!--no path for learners who do not need an example for thesis -->
  - utter_need_example_thesis_statement
* choose_no
  - action_thesis
  - slot{"requested_slot": "Learner_type_thesis_slot_1"}
* Learner_type_thesis{"Learner_type_thesis_slot_1": "Bullying has negative impacts because bullying will damage students' socio-emotional development"}
  - action_thesis
  - slot{"Learner_type_thesis_slot_1": "Bullying has negative impacts because bullying will damage students' socio-emotional development"}
  - utter_confirm_thesis_arguable
* choose_yes <!--yes path for learners knowing their thesis is arguable-->
  - utter_confirm_thesis_focused
* choose_yes <!--yes path for learners knowing their theis is focused -->
  - utter_good_bye

## not knowing thesis statement
* greet
  - utter_greet
* request_essay_help
  - utter_type_of_paper
* choose_argument
  - utter_choose_topic
* choose_yes <!--yes path for learners knowing what their topic is -->
  - action_topic
  - slot{"requested_slot": "essay_topic_slot"}
* Learner_type_topic{"essay_topic_slot": "bullying"}
  - action_topic
  - slot{"essay_topic_slot": "bullying"}
  - utter_read_highlight_topic_of_choice
* confirm_completion
  - utter_show_highlights
* confirm_completion
  - action_argument
  - slot{"requested_slot": "Learner_argument_after_highlight_slot_1"}
* Learner_type_argument_after_highlights{"Learner_argument_after_highlight_slot_1": "Bullying has negative impacts"}
  - action_argument
  - slot{"Learner_argument_after_highlight_slot_1": "Bullying has negative impacts"}
  - utter_knowledge_what_thesis_statement
* choose_no <!--no path for learners not knowing what their thesis statement is -->
  - utter_definition_thesis_statement
* choose_no
  - utter_request_help_teacher
* confirm_completion
  - utter_definition_thesis_statement
* choose_yes <!--no path for learners who do not need an example for thesis -->
  - utter_need_example_thesis_statement
* choose_no
  - action_thesis
  - slot{"requested_slot": "Learner_type_thesis_slot_1"}
* Learner_type_thesis{"Learner_type_thesis_slot_1": "Bullying has negative impacts because bullying will damage students' socio-emotional development"}
  - action_thesis
  - slot{"Learner_type_thesis_slot_1": "Bullying has negative impacts because bullying will damage students' socio-emotional development"}
  - utter_confirm_thesis_arguable
* choose_yes <!--yes path for learners knowing their thesis is arguable-->
  - utter_confirm_thesis_focused
* choose_yes <!--yes path for learners knowing their theis is focused -->
  - utter_good_bye

It looks like in your story you have written the intent choose_yes but the intent recognised is choose_topic_yes_confirm - that seems to be the problem. The second intent isn't used at all in your stories so you should probably just rename all those NLU examples to choose_yes.


Problem with running on cuda 11.2

Hi,
thanks for this great repo!
I am trying to run this repo with nvidia rtx 3090 and cuda 11.2. I have this error whole day. I was trying different versions of pytorch and no use.
I am getting this error:
Traceback (most recent call last):
  File "/home/user/anaconda3/envs/glowtts/lib/python3.8/site-packages/torch/multiprocessing/spawn.py", line 59, in _wrap
    fn(i, *args)
  File "/home/user/tts/glow-tts/train.py", line 92, in train_and_eval
    train(rank, epoch, hps, generator, optimizer_g, train_loader, None, None)
  File "/home/user/tts/glow-tts/train.py", line 119, in train
    loss_g.backward()
  File "/home/user/anaconda3/envs/glowtts/lib/python3.8/site-packages/torch/tensor.py", line 245, in backward
    torch.autograd.backward(self, gradient, retain_graph, create_graph, inputs=inputs)
  File "/home/user/anaconda3/envs/glowtts/lib/python3.8/site-packages/torch/autograd/__init__.py", line 145, in backward
    Variable._execution_engine.run_backward(
SystemError: <built-in method run_backward of torch._C._EngineBase object at 0x7f09d7de3840> returned NULL without setting an error

I have Ubuntu 20.04,  Driver Version: 460.32.03    CUDA Version: 11.2.
I was trying torch 1.7.1, 1.2.0, 1.3.0. I was even compiling torch from source ('1.9.0a0+ee04cd9').
I was removing cuda, installing it from scratch and no luck.
Do you have any idea what is causing this problem?
Thanks!

Did you ever find a solution? We're also experiencing issues with 3090s.

Wondering the same, also have this issue

Did you solve it???

In my opinion, the default version of CUDA has been changed to 11.2, so you can write code that changes the CUDA version at the beginning.


Failed to build gem native extension

Getting this error when trying
gem install knife-linode
ERROR:  Error installing knife-linode:
ERROR: Failed to build gem native extension.
    /usr/bin/ruby1.9.1 extconf.rb

/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in require': cannot load such file -- mkmf (LoadError) 	from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in require'
from extconf.rb:4:in `'
-- Ubuntu
-- Chef 12.0
-- Ruby 2.0

Try installing the ruby-dev package for your system.
On Mar 24, 2015 12:53 AM, "Michael Watson"<EMAIL_ADDRESS>wrote:

Getting this error when trying
gem install knife-linode
ERROR: Error installing knife-linode:
ERROR: Failed to build gem native extension.
/usr/bin/ruby1.9.1 extconf.rb

/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in require': cannot
load such file -- mkmf (LoadError)
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:inrequire'
from extconf.rb:4:in `'
-- Ubuntu
-- Chef 12.0
-- Ruby 2.0
—
Reply to this email directly or view it on GitHub
https://github.com/chef/knife-linode/issues/48.


Add Pycon links

Add links to some of the pycons listed

Merged. Thanks so much for submitting a PR @y26805! :)


 I have both the connection object but not able to perform queries.
What I did is ?
var mysql      = require('mysql');

let query="SELECT * from settlement.VoucherAndSettlementDetails  VoucherAndSettlementDetails JOIN vch.voucher voucher on VoucherAndSettlementDetails.voucherId = voucher.vchid  "

var poolCluster = mysql.createPoolCluster();
var configDB=require('../config');
let config={};
config['settlement']={...configDB['settlementDB']};

config['vch']={...configDB['vchSystemDB']};

poolCluster.add('settlement', config['settlement']); // add a named configuration
poolCluster.add('vch', config['vch']);

poolCluster.getConnection(function (err, connection) {
    if(err) console.log("error poll connection",err);
    connection.query(query, function (error, results, fields) {
        console.log("fields ",fields)
        console.log("results ",results)
        if (error){
            console.log('error is ',error);
            return;
        }
    });

});

Getting Error :
code: 'ER_NO_SUCH_TABLE',
 errno: 1146,
 sqlMessage: "Table 'vch.voucher' doesn't exist",

Hi @nitishkumarnitc the pool cluster does not allow you to make JOINs between two databases -- they are just to manage the multiple connections between different databases, but the connections are still independent of each other.

Does this library allow us to perform join on two DB? If yes- how ?


[v7] Sometimes Links stop working.

I don't have much info. I updated to v7, and every once in a while <Link>s in the entire app stop being clickable, and nothing happens when clicking them.
 But not sure how to reproduce.

Not sure, but it seems to happen at some point after a hot reload.

I noticed the same thing after updating to 7 but it happens in development mode only. I am not sure if it  is related to HMR or not. My observation is that the server stop compiling the page and the link hangs.
Thankfully refresh fixes the issue.

I can attest to that too... dev only, super random, page reload fixes it

Things missing:

Issue template
Clear and concise reproduction

We have a whole test suite that is literally clicking around every feature in chrome while in development mode:
https://github.com/zeit/next.js/blob/canary/test/integration/basic/test/client-navigation.js

reopen issue

I can attest to that too... dev only, super random, page reload fixes it

me too, reopen issue?

I am having the same issue as well. The issue seems to appear after the user is inactive on the webpage after a while.

Just going to quote myself:
"
Things missing:

Issue template
Clear and concise reproduction

We have a whole test suite that is literally clicking around every feature in chrome while in development mode:
https://github.com/zeit/next.js/blob/canary/test/integration/basic/test/client-navigation.js
"
I'm not going to reopen this issue based on what I posted earlier.

@timneutkens I completely understand why we need a reproduction scenario but I do believe none of us can do that as the issue is happening randomly without any clear steps to do. When the HMR drops in and does it work suddenly links stop working and I refresh and bingo; it's resolved. Happen on a daily basis like 10 times during development and what I use is the same format I was using in the previous version.
I know it is hard to debug without a proper reproduction scenario maybe some of us need to spend more time investigating and coming up with it.

I am using next-routes and material-ui which I think could potentially be a source of the problem.

@timneutkens Thanks, I was able to reproduce with reproduction steps. Have opened a new issue here #5598

@iamandyk I am not using material-ui and I still see the problem

Same here, it's really annoying sometimes..

same issue

+1

+1

Instead of posting +1 on an issue that had no reproduction, making it essentially impossible to help you. You could also use GitHub's 👍 feature.
Assuming you're having the same issue as @malimccalla you can track #5598

I am also having this issue. Looks like the Links are intercepting the click but do not take to the desired page.
Links are created as

                {this.state.couponTypes.map(({id, path, label}) => (

                    <Link as={`/coupon/${label.toLowerCase()}`} href={`/coupon?type=${label.toLowerCase()}`}>
                      {label}
                    </Link>

                ))}

Then I tested the click intercept with
import Router from 'next/router'
...
...
Router.events.on('routeChangeStart', url => {
  console.log('Navigating to:', url);
});

Router.events.on('routeChangeComplete', url => {
  console.log('Completed navigation to: ', url);
});

When I click on my Link I can see Navigating to: /coupon/accounts but it never completes.

Try next@canary

@timneutkens The problem is, this happens at random times. Anyway, I will give it a try and let you know asap. Thanks.

@samundra however #5598 actually had a reproduction that reliably reproduced this issue and I fixed it shortly after.

I am still having issues with this.

Still having issues with this. It happens randomly but is fixed after a hard refresh.

Please create a new issue with a clear and concise reproduction. Thanks 🙏

Happens all the time, after a period of inactivity (10 mins) or multiple hot reloads  stops working in development mode.

Hi everyone, if you're still experiencing this issue on v8 please file a new issue. It is not feasible for us to track issue in old threads with outdated context.
Thank you for your cooperation.


[ENHANCEMENT] Keep the original subtitle file

It would be useful to also save the original file grabbed from Hulu, alongside the converted SRT files. They seem to use VTT at the moment, but regardless of the format now or in the future it would be best to always keep the raw file because it will contain all the original information that could be potentially lost when converting to other formats.
For example, there are some advanced positioning and formatting options in VTT that SRT doesn't support. Also, VTT is currently being specified as the web standard and is gaining ground in browsers and media players, and it seems quite possible it could become the SRT successor in the next few years.

Currently VTT isn't supported by most (if not all) video players. That was the reason I did not keep it. Plus, Hulu doesn't really use any advance positioning and formatting option.
90-95% people don't even know how to get VTT working as well. So, to save everyone's time, VTT will be deprecated for the time being.

VTT support has been added in the script.


[FP]: Jetty-websocket-server/client matched with CVE-2023-36478

Package URl
<EMAIL_ADDRESS>CPE
cpe:2.3:a:eclipse:jetty:9.4.50:20221201:*:*:*:*:*:*
CVE
CVE-2023-36478
ODC Integration
{"label"=>"Maven Plugin"}
ODC Version
9.0.9
Description
The mentioned CVE impacts HTTP2 components of Jetty but not the websocket server or client components as seen in https://mvnrepository.com/artifact/org.eclipse.jetty.websocket/websocket-server and https://mvnrepository.com/artifact/org.eclipse.jetty.websocket/websocket-client. Dependency checker has flagged these components as vulnerable to this CVE. This seem to be because of pattern matching all jetty-* components.

DependencyCheck project takes all libraries under one CPE as a whole and makes by design no attempt to map the CVEs registered against those in the NVD to the subcomponent that it applies to.


Add compatibility mode for hosts incapable of running AArch32 binaries

Context

Box86, the default compatibility layer running steamcmd for game updates, is a 32-bit binary and is built for ARM, not ARM64. Some hosts are incapable of running Box86 due to this.
QEMU user mode binaries are available as a native binary built for ARM64. The downside is that its performance is not fast enough to run the actual game server. However, it could most definitely be used for steamcmd only to download and update server files.
Might close #366 and close #456

Choices

Add qemu-i386-static binary to the base image. This would mean going back to my base image as the current one does not have the said binary.
Add ARM_COMPATIBILITY_MODE as an env option instead of changing the default to avoid breaking changes. Moving away from Box86 as default will also mean significantly slower build times so it would not be ideal for the test CI.

Test instructions

Tested in known working ARM64 hosts. I would need people who encountered this problem to test this as I'm unable to recreate it.

Checklist before requesting a review

[x] I have performed a self-review of my code
[x] I've added documentation about this change to the README.
[x] I've not introduced breaking changes.

@Zarrsito do you mind testing this for me? i don't have a machine that can recreate your problem

Sure! :D But what exactly do i need to do to test this ? when i try to pull the image with container station i get a choice what brand i want to download, do i have to select some special ?

@Zarrsito you can use the following image: thijsvanloef/palworld-server-docker:pr-464

ive tested the above build and im getting this error ;
usermod: no changes
Only ARM64 hosts with 4k page size is supported.
EXECUTING USERMOD
QNAP changed page size to 64k

@Zarrsito if you pull thijsvanloef/palworld-server-docker:pr-464 again, could you try again? The pagesize check was still there, should be gone.

so i´ve tested, and this is the result:
EXECUTING USERMOD
usermod: no changes
ARM compatibility mode enabled
Server installation not detected.
Starting Installation
tid(29) burning pthread_key_t == 0 so we never use it
WARNING: setlocale('en_US.UTF-8') failed, using locale: 'C'. International characters may not work.
**
ERROR:../../accel/tcg/cpu-exec.c:954:cpu_exec: assertion failed: (cpu == current_cpu)
Bail out! ERROR:../../accel/tcg/cpu-exec.c:954:cpu_exec: assertion failed: (cpu == current_cpu)
/home/steam/steamcmd/steamcmd.sh: line 39:    29 Trace/breakpoint trap   $DEBUGGER "$STEAMEXE" "$@"
cp: cannot stat './PalServer.sh': No such file or directory
sed: can't read ./PalServer-arm64.sh: No such file or directory
chmod: cannot access './PalServer-arm64.sh': No such file or directory
./PalServer-arm64.sh does not exist.
Server Not Installed Properly
do i need some special folders as workingspace for this ?

!

@Zarrsito Okay, I didn't realize you were not using the latest tag when you submitted the issue. This fix is meant for those with CPUs that are only capable of executing ARM64 binaries without an additional compatibility layer (mostly those who are not running Docker Desktop) which I believe is the problem for those in issue #366. I thought you had the same issue.
I'll revert the page size check change as it was the expected behaviour.

what do u mean with latest tag? =) i´ve answered the questions as good as possible :)
thijsvanloef/palworld-server-docker:pr-464
is now the first docker container not resulting in an exec error, for me
and i´ve tested all avaiable images in the docker store...
i wonder what this . folder should be < ./PalServer-arm64.sh does not exist. >
its not possible for me to make a workspace . in container-station

Don't worry about it. Your answers were perfect. It was just a misunderstanding on my part. This specific fix is not for your problem. If using the latest tag gives you a page size error, then that is most likely your problem and there's nothing we can do about it on our side. I've explained more about this in the issue you submitted.

@sonroyaalmerol I can't really test this PR, are you confident that it has been tested enough?

I can say that this PR will not affect existing ARM64 users. It's more of adding a different option for people to try if they had an ARM64 host that didn't work previously. It shouldn't have any breaking changes.


unify pbrun accross the project from db_locker

Done for db_eraser

DB_creator in other hands requires params to be a dynamic structure

Done, new pbrun.py now uses abstractions all over the module, doesn't use any variables from the parent microservices and could be integrated easily enough to any new microservice around here.


Data Quality Tests and Table Quality Metric definitions, APIs and UI integration

This ticket is to track overall data Tests and result schemas APIs.
Once these apis are available we can integrate it with our profiler/tests run-time and store the results.
We should model with popular tooling such as Great Expectations so that users can use our tests or integrate with their current GE tests

@amiorin did you started to look into the test specifications and how the APIs will look like. Once you have clear thoughts around this, lets start a discussion thread around the proposal. We can look at it and give feedback

I'm new to GE. I didn't start yet.

Here are the Mocks
@pmbrull @darth-coder00
DataQuality.pdf

Show the test results in schema table

New Data Profiler Layout

Data quality tab -  List of tests

Data Quality tab - Display more details about a test

Create Test


regex not valid for Opentherm RQ commands

When testing an Opentherm command to set the DHW temperature, ramses_rf didn't like it.
09:52:36.445 RQ --- 18:056026 10:133866 --:------ 3220<PHONE_NUMBER>C00 < Corrupt payload: Payload doesn't match '^00[0-9A-F]{4}0{4}$': 0010383C00
2022-09-05T09:52:36.444430 || HGI:056026 | 10:133866 | RQ | opentherm_msg | 38 || {'msg_id': 56, 'msg_type': 'Write-Data', 'msg_name': 'DHWSetpoint', 'value': 60.0, 'description': 'DHW setpoint'}
2022-09-05T09:52:36.849322 || OTB:133866 | HGI:056026 | RP | opentherm_msg | 38 || {'msg_id': 56, 'msg_type': 'Write-Ack', 'msg_name': 'DHWSetpoint', 'value': 60.0, 'description': 'DHW setpoint'}

I'm fairly new to ramses_cc so I hope I'm not misunderstanding the design, but it looks quite appropriate that the two bytes at the end of the RQ packet would be non-zero.
The parser_3220 code looks like it only supports RQ and RP messages, doesn't allow for ' W', so I guessed it must be appropriate to use RQ to do a write operation. And it did seem to work.

Yes: OT only supports RQ & RP - a change, such as above, is done via an RQ|Write-Data


pull request for e2e test at 01/04/2017 14:56:13

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


express error handling not work on async request handler

when i throw one error on async request handler the app crache but when i throw a error in a no async request the express error handler work

page result
/api/1 :
json create by my  Errors.Handler  function

/api/2

You will need to use Express 5 for the async handlers to work natively. Express 4 you have to use something like https://www.npmjs.com/package/middleware-async

Thank you for your help 👍


Initial commit create plus display with references including any changes you made or if there is anything to become involved as the project is being discussed; possible to be distributed #license.txt

Initial commit
Originally posted by @TommyPollyblank in https://github.com/TommyPollyblank/pollyblankinc/issues/1#issuecomment-995278596

Self advancement equality.

parents were children and eventualityheir pass rights and premissons from authors, and team group members,  many accounts' $time
Value isn't just a number.  -commit
Pollyblankinc.net

<EMAIL_ADDRESS>Work/school&&=boolean

@@TommyPollyblank


PR: Keep finfo.newly_created state when cancelling save_as

Description of Changes

[ ] Wrote at least one-line docstrings (for any new functions)
[ ] Added unit test(s) covering the changes (if testable)

[ ] Included a screenshot or animation (if affecting the UI, see Licecap)

Issue(s) Resolved

Fixes #11058
Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct:

@jitseniesen, please approve this PR when you consider it's ready.

The code looks okay and straightforward but before approving I want to check that is does indeed work. I will try to do this tonight, or tomorrow if I cannot make it before.

Thanks @jitseniesen!


Collada Exporter

@JaccoGoris I have just tried out your Collada Exporter, but I get some errors. Am I doing something wrong?
This is what my 3D model looks like in the browser:

And here is what it looks like in view3dscene, after Collada export:

Here are the errors I get:
view3dscene: Collada warning: <param> type "uint8" is not supported
view3dscene: Collada warning: <param> type "uint8" is not supported
view3dscene: Collada warning: <param> type "uint8" is not supported
view3dscene: Collada warning: Indexes in <p> suddenly end, in the middle of a vertex
view3dscene: Collada warning: Indexes in <p> suddenly end, in the middle of a vertex
view3dscene: Collada warning: <param> type "uint8" is not supported
view3dscene: Collada warning: <param> type "uint8" is not supported
view3dscene: Collada warning: <param> type "uint8" is not supported
view3dscene: Collada warning: Indexes in <p> suddenly end, in the middle of a vertex
view3dscene: Collada warning: <param> type "uint8" is not supported
view3dscene: Collada warning: <param> type "uint8" is not supported
view3dscene: Collada warning: <param> type "uint8" is not supported
view3dscene: Collada warning: Indexes in <p> suddenly end, in the middle of a vertex
view3dscene: Collada warning: Indexes in <p> suddenly end, in the middle of a vertex
view3dscene: Collada warning: <param> type "uint8" is not supported
view3dscene: Collada warning: <param> type "uint8" is not supported
view3dscene: Collada warning: <param> type "uint8" is not supported
view3dscene: Collada warning: Indexes in <p> suddenly end, in the middle of a vertex
view3dscene: Collada warning: Indexes in <p> suddenly end, in the middle of a vertex
view3dscene: Collada warning: <param> type "uint8" is not supported
view3dscene: Collada warning: <param> type "uint8" is not supported
view3dscene: Collada warning: <param> type "uint8" is not supported
view3dscene: Collada warning: Indexes in <p> suddenly end, in the middle of a vertex
view3dscene: VRML/X3D warning: Invalid index for field TextureCoordinate(Mesh2-texcoord).point (MFVec2f)
view3dscene: Texture warning: Error EFOpenError when loading texture from URL "file:///home/Downloads/image-2.png": Unable to open file "/home/Downloads/image-2.png"
view3dscene: Texture warning: Error EFOpenError when loading texture from URL "file:///home/Downloads/image-1.png": Unable to open file "/home/Downloads/image-1.png"
view3dscene: Texture warning: Error EFOpenError when loading texture from URL "file:///home/Downloads/image-4.png": Unable to open file "/home/Downloads/image-4.png"
view3dscene: Texture warning: Error EFOpenError when loading texture from URL "file:///home/Downloads/image-3.png": Unable to open file "/home/Downloads/image-3.png"
view3dscene: Texture warning: Error EFOpenError when loading texture from URL "file:///home/Downloads/image-6.png": Unable to open file "/home/Downloads/image-6.png"
view3dscene: Texture warning: Error EFOpenError when loading texture from URL "file:///home/Downloads/image-5.png": Unable to open file "/home/Downloads/image-5.png"
view3dscene: Texture warning: Error EFOpenError when loading texture from URL "file:///home/Downloads/image-8.png": Unable to open file "/home/Downloads/image-8.png"
view3dscene: Texture warning: Error EFOpenError when loading texture from URL "file:///home/Downloads/image-7.png": Unable to open file "/home/Downloads/image-7.png"

Ooh, that's interesting.
Under the hood, it uses the normal threejs Collada export, which works for most 3D software like Blender, 3Ds Max, etc, and everything that imports using the assimp library.
It seems like this software doesn't fully support the Collada format. can you try with blender and see what comes out? Thanks!

Blender works fine:

Do you know if it also works as fine in SketchUp?

It should, as far as I can remember sketchup had very good collada support


Server displaying incorrect for multiple object links information is sent from the client.

Hello there,
I am testing the object link feature and found this issue.
When the client sends multiple object links of 0x00640001 (100:1) and 0x0065002(100:2) to the Leshan server, for some reason it only displays in the following format in the GUI. I don't see multiple object links in the server.
Resource 22           /3/0/22          Observe Read Write            0=0,0,6,5,0,0,0,2
Here is the sample hexdump of the COAP + LWM2M packet being sent to the server.
65 45 5d cf c1 99 af a5 d7 c2 2d 16 ff 88
16 0c 44 00 00 64 00 01 44 00 00 65 00 02
Can you please let me know if the scenario is supported or is there any issue from the server side.
Hope that helps.
Thank you.

I write a quick junit tests and I decode your payload  with Leshan I get :
public static void main(String[] args) throws TlvException {
        byte[] rawMessage = Hex.decodeHex("65455dcfc199afa5d7c22d16ff88160c440000640001440000650002".toCharArray());
        Message coapMessage = new UdpDataParser().parseMessage(rawMessage);
        System.out.println(coapMessage);

        byte[] payload = coapMessage.getPayload();
        Tlv[] tlv = TlvDecoder.decode(ByteBuffer.wrap(payload));
        System.out.println(Arrays.toString(tlv));

        LwM2mResource lwNode = LwM2mNodeTlvDecoder.decode(payload, new LwM2mPath("3/0/22"),
                new LwM2mModel(ObjectLoader.loadDefault()), LwM2mResource.class);
        System.out.println(lwNode);
}

Coap :
ACK-2.05   MID=24015, Token=c199afa5d7,
OptionSet={"Content-Format":"application/vnd.oma.lwm2m+tlv"},
88 16 0c 44 00 00 64 00 01 44 00 00 65 00 02

TLV  :
[Tlv [type=MULTIPLE_RESOURCE, children=
     [Tlv [type=RESOURCE_INSTANCE, children=null, value=[0, 100, 0, 1], identifier=0],
      Tlv [type=RESOURCE_INSTANCE, children=null, value=[0, 101, 0, 2], identifier=0]],
 value=null, identifier=22]]

LM2MNode :
LwM2mMultipleResource [id=22, values={0=/101/2}, type=OBJLNK]

As you can see the both resource instances as the same identifier, this looks like a bug in the payload ?

@venpu  could you confirm this is a payload error from your client ?

I add create a PR to send a CodecException if this happened instead of accept it silently.
I add a test case too.
see #426

Hi Bernard,
Correct. The TLV payload had the same identifier for the resource instance. Fixed that TLV encoder at the LWM2M client. Thanks for adding an additional test case to test the scenario and also raise an error.
Thanks!


Fwd: Missing Palauan word Hondoro

Fwd: Missing Palauan word Hondoro created by<EMAIL_ADDRESS>on 2018-02-16 08:52:10

<EMAIL_ADDRESS>replied, Anyone confirm what the word HONDORO means?  I'm guessing it is of Japanese
descent.


Modifier not working correctly

I have specified these two rules because I want the static fields to start with s_ and the other fields to start with m_
dotnet_naming_rule.rule1.symbols                      = rule1_symbol
dotnet_naming_rule.rule1.style                                           = rule1_style
dotnet_naming_rule.rule1.severity                                      = error
dotnet_naming_symbols.rule1_symbol.applicable_kinds   = field
dotnet_naming_symbols.rule1_symbol.required_modifiers = static
dotnet_naming_style.rule1_style.capitalization        = pascal_case
dotnet_naming_style.rule1_style.required_prefix       = s_
dotnet_naming_rule.rule2.symbols                      = rule2_symbol
dotnet_naming_rule.rule2.style                        = rule2_style
dotnet_naming_rule.rule2.severity                     = error
dotnet_naming_symbols.rule2_symbol.applicable_kinds   = field
dotnet_naming_style.rule2_style.capitalization        = pascal_case
dotnet_naming_style.rule2_style.required_prefix       = m_
After that if a simple class like this is created:
public class StringHandling
{
public const int m_Abc = 1;
public static int s_Age;
}
The VS underlines the m_Abc: "Missing prefix s_"
I really do not understand it because the first rule is for static fields only.

@KamarasV Thanks for this feedback. It sure seems like a bug to me. I noticed that if you remove the 'const' modifier from m_Abc then the naming rule for s_ doesn't show a violation. @sharwell Can you take a look at this? @KamarasV you should also open an issue at https://github.com/dotnet/roslyn/issues because this issues page is for the docs repo, and this doesn't appear to be a documentation issue.

static matches both explicitly static and implicit static (const). To provide a separate behavior for const fields, you'll need to create a rule for required_modifiers=const before the rule for static fields.


Audit - SPARK-37268 - Remove unused variable in GpuFileScanRDD [Databricks]

Audit issue for SPARK-37268 - https://github.com/apache/spark/pull/34545/files
Just remove an unused variable, this was only copied for Databricks. I haven't tested manually so relying on tagging this PR to build and test there.
Signed-off-by: Thomas Graves<EMAIL_ADDRESS>

build


[Windows] Trackpad gestures in the 2D workspace are different from that of the standard conventions

Godot version
Godot 4 Beta 16 mono
System information
Windows 10, Laptop with a trackpad
Issue description
The 2D workspace uses trackpad gestures that differ from that of the standard conventions when trying to perform the following two actions:

To perform a scroll, the user has to pinch the trackpad with two fingers instead of sliding it.
To perform a zoom, the user has to slide the touchpad with two fingers instead of pinching it.

These differences in gestures can lead to a lot of confusion, especially when switching between the 2D workspace and applications/components that do follow the conventions (like the code editor).
Here is an example when pinching the trackpad in both the 2D workspace and the script editor:

Steps to reproduce
Perform the pinch/slide trackpad gesture in both the 2D workspace as well as the code editor.
Minimal reproduction project
N/A

On Mac Os 12.6 using 4.0.beta16 the gestures are working as expected:

Pinch to zoom in and zoom out on 2D workspace and Script editor
Slide trackpad to scroll on 2D workspace and Script Editor (but with this problem here on 2D workspace https://github.com/godotengine/godot/issues/72242)

Can confirm this is still happening in the released version (also on windows 10, acer laptop).  Extremely confusing

In Windows, pinching in/out still scrolls instead of zooms on 4.1 dev 3

Ouch, this is still a problem on Godot 4.1.3... This is probably something related to mouse scrolling being somehow related into the trackpad (I have never worked in godot btw, just a guess)

4.2.1 Can confirm - still happening, hyper confusing

Can anyone reproduce this on 3.5.3?

@Calinou In Godot 3.5.3, both pinching and scrolling on a touchpad causes it to zoom.
In 4.2.1, pinching scrolls vertically, and scrolling zooms.
Tested on a laptop with windows 11. On MacOS it works correctly.

After looking into it a bit, it seems like this is fixable by setting the editor property editors/panning/2d_editor_panning_scheme to Scroll Pans

It makes panning and zooming possible with a touchpad on Windows.
It might better to translate the gesture events into InputEventPanGesture and InputEventMagnifyGesture though, since that's how it seems to work on MacOS.


feat(rust): add clould invitation subcommands

   $ ockam invitation create|list|accept|reject

Notes:

The CBOR type tags are removed to make structs compatible with elixir side, this is a temporary workaround.

Current Behaviour

Proposed Changes

Checks

[X] All commits in this Pull Request are signed.
[X] All commits in this Pull Request follow the Ockam commit message convention.
[X] I accept the Ockam Community Code of Conduct.
[X] I have accepted the Ockam Contributor License Agreement by adding my Git/Github details in a row at the end of the CONTRIBUTORS.csv file in a separate pull request to the build-trust/contributors repository.

This introduces a top-level "cloud" subcommand, with only the "invitation" one as child
Adrian's impl of project and space where initially cloud project and cloud space. We moved them to the top level last week.

I think we should keep invitation at the top level as well. This ties better into the overall structure that is emering.

This introduces a top-level "cloud" subcommand, with only the "invitation" one as child

Adrian's impl of project and space where initially cloud project and cloud space. We moved them to the top level last week.
I think we should keep invitation at the top level as well. This ties better into the overall structure that is emering.

Removed the cloud subcommand


services, pkg/storageclass: Add and implement proposal 8-normalize-metadata-storage-class

Fix: https://github.com/Xuanwo/storage/issues/63

I'm going to merge this PR without all CI passed.
GolangCI has three unused issues, this will be fixed while service use them.
codecov reports two problems:

patch codecov: 78.57% to 83.55%
project codecov: 83.43% (-0.13%)

The branch not checked is the error check, this will be fixed in error handle proposal, for now, just move on.


Click event on makers generated from geojson

Hi All,
I'm trying to attach click events to each marker displayed on a map. Is there a similar event callback available for dynamically added markers like in the following example that has an openlayers.layers.geojson.click event I can listen on.
http://tombatossals.github.io/angular-openlayers-directive/#/events/event-vector-layer
Any help much appreciated,
Mike

Hey Mike - I tend to include my onClick function as part on my 'marker creation' factory.

Factory.makeSiteMarker = function(layerId, marker, location, layerStyle, onClickFunction){ . . . }

In this way, I can dynamically add the onClick function to the markers I create.
I tend to stay away from calling $scope.apply(...).

Hi Jesse,
Thanks for the suggestion - I've now included a similar approach in my app that works. The documentation is a little light re: markers compared to layers so was assuming there might had been a similar $emit<>$on model.
..I'll close this now.


Enhance image push steps and clean up overlay files

Coverage remained the same at 85.856% when pulling d1489fdbaaa10cd700e33538327d2e13d97880c6 on ambiknai:readme into 8c147f82cdfa7c6ec7d0784ac395bc4e013b4235 on kubernetes-sigs:master.


_udiv128 does not accept dividend bigger than 0x308FFFFFFFFFFFFFFFF

#include <stdio.h>
#include <immintrin.h>

typedef struct _u128 {
  unsigned __int64 Low;
  unsigned __int64 High;
} u128;

int main(int argc, char **argv) {
  u128 x;
  unsigned __int64 Remainder, Result;

//  x.High=0x308;
//  x.Low=0xFFFFFFFFFFFFFFFF;
  x.High=0x309;
  x.Low=0;
  Result=_udiv128(x.High, x.Low, 777, &Remainder);
  printf("%I64u %I64u\n", Result, Remainder);
  return 0;
}

0x308FFFFFFFFFFFFFFFF and compiled binary works ok:
T:\C>vs2019.exe
18446744073709551615 776
0x3090000000000000000 and compiled binary crashes.
Similar problem exists with _udiv64
Trying new intrinsics on i7-8550U CPU.
Is it me, or is it vs2019 ?
PS: Obviously, result is overflowing, but I do not need a result, I only need a Remainder. Something like this: _udiv128(x.High, x.Low, 777, &Remainder);
Is is possible to get a division reminder ignoring overflowing int64 result?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 7b4942d1-d3ba-6ac9-b99a-06023ee6697d
Version Independent ID: d2b669e9-622d-b7e7-57e8-bda054e6478f
Content: _udiv128
Content Source: docs/intrinsics/udiv128.md
Product: visual-cpp
Technology: cpp-tools
GitHub Login: @corob-msft
Microsoft Alias: corob

@falcon111
When I look at the x64 disassembly, I see the _udiv128 intrinsic just turns into a DIV instruction, after loading the appropriate registers (RDX:RAX). In your sample, the instruction then raises the DE overflow exception, since the maximum quotient of 2^64 - 1 is exceeded. The VC runtime doesn't handle that exception, since it can't distinguish it from a divide-by-zero error on the Intel hardware (per the standard, integer overflow such as divide-by-zero is explicitly specified as undefined behavior), so the program terminates. As for getting a valid result, all bets are off. Normally, the remainder is returned in RDX, but examining it in the debugger doesn't show any change when the exception is raised, for the small range of values I checked, so it's probably not available, even if you do trap and ignore the exception.
To solve your math problem, you could try a library specifically build to handle large numbers, such as Boost.Multiprecision. The SafeInt library might work for certain use cases, too.
I don't see a specific documentation issue to address, so I'm closing the issue.


furmety, gambesons

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.4
logical conflict every: 100
sleep for: 300s
[pullrequest]
requests per hour: 30
deps=[f,g]

/trunk merge


Initial commit of the k8s work for airbyte.

Description (What does it do?)
Deployed an airbyte CI environment running in CI.
Checklist:

[ ] Need to update the pipeline.
[ ] Need to figure out what migrating the existing environments looks like.
[ ] Needs testing from someone who know what airbyte is and what it does.
[ ] May be an issue or two with IAM role / powers. The lakehouse? Sounds like a nice place.

It looks like the helm chart definition is duplicated. Can you take a look over to see if this is ready for review?


X-axis label doesn't match with any of the series timestamp values

Explanation

What is the behavior you expect?
X-axis labels to use those passed in series
What is happening instead?
Random x-axis values

In the default formatter minimum label difference is 5 minutes and if we zoom in 5 mins then the graph doesn't have x-axis label. Thus shifted to use formatter.
In the image the tooltip shows right value, but the labels do not. I have one min round samples. But the label is showing seconds level precision.
I have tried to switch to type category, but the graph gets clumsy and tickAmount doesn't work in that case.
These are couple of configs I have tried based on suggestions made in (https://github.com/apexcharts/apexcharts.js/issues/947).Both behave similar way
      xaxis: {
        type: 'datetime',
        labels: {
          formatter: function(value, timestamp, index) {
            return moment(value).format('HH:mm:ss')
          },
        },
        tooltip:{
          enabled: false
        }
      }

      xaxis: {
        type: 'datetime',
        tickAmount: 10,
          min: new Date('2020-04-01 12:00:00 GMT').getTime(),
          max: new Date('2020-04-01 13:00:00 GMT').getTime(),
        labels: {
          formatter: function(value, timestamp, index) {
            return moment(value).format('HH:mm:ss')
          },
        },
      }

It will be helpful to pass the exact/nearest timestamp value from the passed series to the formatter as a parameter. Thank you! BTW Great library!

Ok, this seems to because of zoom. the start label is picked on a second precision and thereby subsequent labels are generated. So IMO, when we zoom we should start and end the graph with the values existing in the series. Not sure if this is general desired behaviour.


resultSize() with CTE

I would like to use resultSize() on a query with CTE .with().
In mssql, with has to be on the top level of the query.
Currently, I have to use my custom QueryBuilder with:
async resultSize() {
    const knex           = this.knex(),
          builder        = this.clone().clear(/orderBy|offset|limit/),
          withOperations = builder._operations.filter(({ name }) => name.startsWith('with')),
          countQuery = knex.count('* as count').from(knexBuilder => {
            builder.clear(/^with/).toKnexQuery(knexBuilder).as('temp');
          });
    withOperations.forEach(({ name, args }) => countQuery[name](...args));
    if(this.internalOptions().debug) {
      countQuery.debug();
    }

    const result = await countQuery;
    return result[0] && result[0].count ? parseInt(result[0].count) : 0;
  }

Maybe knex should put all with statements to the top-level, but meanwhile, that could be an improvement to resultSize().

This is not something objection should handle.

@koskimas: The developer can't handle it, because objection wraps the query. knex will not modify the developers query.
objection offers the method. So I think it would be reasonable to fix it. Otherwise this ticket just serves as a reference if someone else comes along this particularity.


Autorest Regen Preview to 3.0.0-alpha.20230523.6 by Dapeng Zhang from refs/pull/3373/merge

Triggered from https://github.com/Azure/autorest.csharp/pull/3373

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


Headless Chrome instances is reported as Safari 0.0.0

Most of this was copied from https://github.com/karma-runner/karma-chrome-launcher/issues/107
Expected behaviour
Google Chrome headless should be reported as Google Chrome.
Actual behaviour
When Google Chrome is configured to run in headless mode, Karma reports it as Safari 0.0.0.
Environment Details

Karma version (output of karma --version): Karma version: 1.5.0
Google Chrome version (output of google-chrome --version): Google Chrome 57.0.2987.98
Relevant part of your karma.config.js file

browsers: ['ChromeNoSandboxHeadless'],

customLaunchers: {
  ChromeNoSandboxHeadless: {
    base: 'Chrome',
    flags: [
      '--no-sandbox',
      // See https://chromium.googlesource.com/chromium/src/+/lkgr/headless/README.md
      '--headless',
      '--disable-gpu',
      // Without a remote debugging port, Google Chrome exits immediately.
      ' --remote-debugging-port=9222',
    ],
  },
},

Steps to reproduce the behaviour
Just run Karma and view any output where the browser name and version are visible.

I am seeing the same thing, but I get additional output. That says "executed 0 out of 0 disconnected". I am not sure if this is because I am running Chrome headless or something other issue due to my Karma configuration.

@madCoder24 I think that's related to another part of your config. The above config works just fine for me.

Is chrome headless user agent different from normal chrome?
That could be the issue. Karma uses the useragent package, which in turn uses the uap-core package to identify UAs. Maybe that package needs to be updated to include the chrome headless UA string?

Yep, the user agent differs.
Regular Chrome:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.98 Safari/537.36

Headless Chrome:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome Safari/537.36

Thanks for checking the UA @remcohaszing. Pull request opened upstream to fix this: https://github.com/ua-parser/uap-core/pull/228

@remcohaszing the useragent package has now updated the regexps from uap-core (see here) in version 2.1.13, so we can close this, since a simple npm update should fix this issue.

@rogeriopvl  This issue is back in version 3.0.0 of karma, but now it's detecting HeadlessChrome 0.0.0 instead of the real chrome version which should be 68

@Licen-it thanks for reporting. Will have a look ASAP.

Oh FYI i also noticed it's not detecting Linux version (i was detecting my mac version, but running the tests with jenkins on linux it wasn't) HeadlessChrome 0.0.0 (Linux 0.0.0)


Status update

https://hifi-content.s3.amazonaws.com/Experiences/Releases/usefulUtilities/ezStatusUpdate/2019-04-02_13-19-50/EZ_Status-Update.json

Ahh sorry, I thought I closed this pr.   Have another version I'll put up today, but I'll take in some of this cr.


Update the favicon

I noticed that the new OpenChain Project website has a nice transparent favicon which is much nicer than the current favicon.
In the next release, we should replace the icon to be consistent.

Resolved by PR #199


about gradient

I'm sorry to bother you.In SegLoss/losses_pytorch/hausdorff.py,I find function distance_field use torch.no_grad,this wil make this fuction have no gradient, Will this have an impact on training?I don't know much about the impact.Can you explain it for me?
Thanks.

Hi @rookiez7 ,
The direct answer is No. This is because that the distance transform map can be regarded as a constant in the HD loss.
Hope the answer helps.

Hi @rookiez7
Sorry for my late reply.
I retrieve my email record with the HD loss author in 2019, which may be useful for you to understand it.

"p" is usually already binary but "q" should be thresholded.    With regard to differentiation, as you may know the distance transform is highly non-differentiable. We treat it as constant between iterations.


docker service failed to start: status=226/NAMESPACE

Hi Team,
I'm using docker to host one of my website. Now I'm facing issues with starting docker service.
docker version

Client:
 Version:         1.10.3
 API version:     1.22
 Package version: docker-common-1.10.3-46.el7.10.x86_64
 Go version:      go1.6.2
 Git commit:      2a93377-unsupported
 Built:           Fri Jul 29 13:45:25 2016
 OS/Arch:         linux/amd64
Cannot connect to the Docker daemon. Is the docker daemon running on this host?

docker info

Cannot connect to the Docker daemon. Is the docker daemon running on this host?

uname -a

Linux myserver 3.10.0-327.10.1.el7.x86_64 #1 SMP Sat Jan 23 04:54:55 EST 2016 x86_64 x86_64 x86_64 GNU/Linux

systemctl status docker

â docker.service - Docker Application Container Engine
   Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Thu 2016-08-25 09:07:46 CEST; 7min ago
     Docs: http://docs.docker.com
  Process: 18654 ExecStart=/usr/bin/docker-current daemon --authorization-plugin=rhel-push-plugin --exec-opt native.cgroupdriverstemd $OPTIONS $DOCKER_STORAGE_OPTIONS $DOCKER_NETWORK_OPTIONS $ADD_REGISTRY $BLOCK_REGISTRY $INSECURE_REGISTRY (code=exited, sts=226/NAMESPACE)
 Main PID: 18654 (code=exited, status=226/NAMESPACE)

Aug 25 09:07:46 myserver systemd[18654]: Failed at step NAMESPACE spawning /usr/bin/docker-current: Bad address
Aug 25 09:07:46 myserver systemd[1]: Starting Docker Application Container Engine...
Aug 25 09:07:46 myserver systemd[1]: docker.service: main process exited, code=exited, status=226/NAMESPACE
Aug 25 09:07:46 myserver systemd[1]: Failed to start Docker Application Container Engine.
Aug 25 09:07:46 myserver systemd[1]: Unit docker.service entered failed state.
Aug 25 09:07:46 myserver systemd[1]: docker.service failed.

journalctl -xe

journalctl.txt
Can you please analyze these logs and let me know how to get my docker back up?

@cpuguy83 @rhvgoyal Please help me asap.


Why error value can be string and list of strings?

It is uncomfortable for me. I have to write extra type checking.
This is OK (except #209, but it is not about that):
>>> v = Validator({'name': {'type': 'string', 'minlength': 6, 'regex': '[A-z]+'}})
>>> v.validate({'name': '©'})
False
>>> for field, value in v.errors.items():
...  print(field)
...  for error in value:
...   print(' -', error)
...
name
 - max length is 6
 - value does not match regex '[A-z]+'

But:
>>> v.validate({'name': 'abc'})
False
>>> for field, value in v.errors.items():
...  print(field)
...  for error in value:
...   print(' -', error)
...
name
 - m
 - a
 - x
 -
 - l
 - e
 - n
 - g
 - t
 - h
 -
 - i
 - s
 -
 - 6

WAT
I don't wish write if isinstance(value, str)!

This happens on the master branch, right? Should not be on stable (v0.9.2).

nah, that's the behaviour how errors are stored in Validator.errors also before 0.10. but it's also implemented in the BasicErrorHandler for backward compatibility.
@andreymal there's also a lower-level access to errros in the master branch: http://docs.python-cerberus.org/en/latest/errors.html

Lower-level access is too low :)

for backward compatibility.

I only can deal with it and write a custom errorhandler?

with a new major relase coming, this behavior could be changed. there shouldn't be an impact on client code unless it could handle single errors on a field anyway.

👍


Queston?

Is this still maintained? and if so will it be ported to 1.20.4? and if not could I do it?

1.20.4: https://github.com/19MisterX98/SeedcrackerX/releases/tag/prerelease


The page display abnormally when the type of parameter is not right in the block "show string"

Repro steps:

Navigate to https://pxt.microbit.org/beta
Drag block "show string" and "show number" into forever
Refresh the page

Results:

No repro. Please provide better repro steps and browser / os configuration if this is still repro'ing for you.


Neotree setting position=current is broken

Hi! Just wanted to report that since about a couple of weeks ago Neotree breaks if it's declared to open as part of the existing buffer (Netrw-like)window = { position = "current" }. Here's the error I'm getting when trying to run :Neotree toggle after that.

Curiously, running :Neotree show position=current works fine...🤔
Steps to reproduce the issue:

Install Neotree + nui dependencies
In the settings set the following:

require("neo-tree").setup({
  window = {
    position = "current"
  }
})

Run :Neotree toggle

I can recreate the problem. Interestingly, it works fine if you include the position as an arg to the command. This is how my mappings are set which is why I never noticed:
:Neotree toggle current

I'll fix this soon.


fix(server): allow bearer token auth to be disabled

Pull Request Test Coverage Report for Build 936805859

12 of 12 (100.0%)  changed or added relevant lines in 6 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.2%) to 99.205%

Totals

Change from base Build 936357350:
0.2%

Covered Lines:
369

Relevant Lines:
371

💛  - Coveralls

Pull Request Test Coverage Report for Build 936805859

0 of 12 (100.0%)  changed or added relevant lines in 6 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.2%) to 99.205%

Totals

Change from base Build 936357350:
0.2%

Covered Lines:
369

Relevant Lines:
371

💛  - Coveralls


"bounce"-parameter in add/edit - improve or remove?

I'm not sure if the "bounce" parameter in various prototypes is still in use.
Either we could remove it, or we improve it as commented  by @phorward in https://github.com/viur-framework/viur-core/pull/548#discussion_r1025049288_

IMO we should keep it. You can use it for validation from the frontend. But the idea with the boolean handling is good — maybe we can generalize in a parse_bool() method. Or we can simply add bounce as method parameter, so we can use the bool type hint.

Improved by #838


Security threat: Missing NX bit on distributed binaries

The oni binary provided in all release packages for linux-x64 is missing the NX bit.
This is a major security threat.
Please also check the binaries in packages for other architectures.

Thank you for logging the issue, @nyronium ! Really appreciate you bringing this up.
I just read up on the NX bit and used the checksec.sh utility from here: http://www.trapkit.de/tools/checksec.html, and am able to reproduce what you are reporting:
RELRO           STACK CANARY      NX            PIE             RPATH      RUNPATH      FILE
Partial RELRO   Canary found      NX disabled   No PIE          RPATH      No RUNPATH   Oni-0.2.19-x64-linux/oni

However, I see that it is the same for other popular electron-based editors (VSCode/Atom):
[bryphe@bryphe-arch Downloads]$ ./checksec.sh --file atom-1.23.1-amd64/atom
RELRO           STACK CANARY      NX            PIE             RPATH      RUNPATH      FILE
Partial RELRO   Canary found      NX disabled   No PIE          RPATH      No RUNPATH   atom-1.23.1-amd64/atom

[bryphe@bryphe-arch Downloads]$ ./checksec.sh --file VSCode-linux-x64/code
RELRO           STACK CANARY      NX            PIE             RPATH      RUNPATH      FILE
No RELRO        Canary found      NX disabled   No PIE          RPATH      No RUNPATH   VSCode-linux-x64/code

My understanding is that, as we use Electron - which leverages V8 - the JIT requiring there precludes using the NX bit on the binary (which is why VSCode and Atom also do not have NX enabled).

Given that we are in parity with the other common electron editors, I'm closing this out as won't fix. @badosu - FYI - let me know if you have any feedback here too.

I also took a pass through the following repos to see if I could find any related issues:

atom/atom
microsoft/vscode
electron/electron
electron-userland/electron-builder

But did not see any issues related to this.

For completeness: I took a quick look at how node.js and other languages do JIT.
It somehow makes sense that NX is disabled, but it can be done with NX enabled.
Java for example has the NX bit set and also uses a JIT compiler. They solve it by mmap-ing a memory region just for the JIT executables and calling mprotect on it to allow writing and execution. This way the rest of the code is still NX, which is great.
In theory they could even alternate between R-X and RW- modes but I haven't found any resources on it.

Cool, thanks for the follow up and additional context, @nyronium ! Do you think it makes sense to log an issue on one of our dependent projects, like Electron or v8?


Switch to Jest

Gonna close. I ended up just fixing the coverage report by switching out isparta/gulp-istanbul for nyc.


Clear features properly when there is no spatial index

Previously #clear() only kept the features collection in sync whern there was also a features RTree.
Fixes #3904.

Nice. LGTM please merge


404 at /compose/compose-file/compose-file-v2/myus

I found a broken link : https://docs.docker.com/compose/compose-file/compose-file-v2/myus

Hey @Miguel-Espinales-ESES
Thanks for reporting the broken link issue. Could you let us know how you arrived at the broken link?

Closing this as stale. If the issue is still applicable, please help provide the requested details from the previous comment.


Refactor Questionnaire Question database storage

Right now, questions are stored statically in a file, and added to the database whenever the host opens a game. This takes an unnecessarily long amount of time, and also prevents the overall question database from being managed outside of the code.
There should be some way to manage questions through the UI. This may require a layer of security.

Questions are just in the database now. We can use MongoDB Compass to manage the data - not the prettiest UI, but it's functional (and requires no additional work). The actual basequestions.ts file is still there, but it does nothing. There is also a basequestions.json file now, which also does nothing, but can be used to re-build the database collection if needed.


Background image : blur and ideal dimension

Question

Hi Emruz,
I would like to know if it's possible to disable easily the blur effect applied on the background image ? Which exactly instructions CSS to comment and which file ? (home.css ?)
Also, I've a nice image (6000px by 4000px). It's too big naturaly, but if I resize it, which ideal size to do ?
Thank U so much
Nicolas

You have to change here: https://github.com/hugo-toha/toha/blob/a22474538d78e8f73339977de86f2b6408cf0c8e/static/css/sections/home.css#L17

OK thank.


python310Packages.netutils: 1.4.0 -> 1.4.1

Diff: https://github.com/networktocode/netutils/compare/refs/tags/v1.4.0...v1.4.1
Changelog: https://github.com/networktocode/netutils/releases/tag/v1.4.1
Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

2 packages built:

python310Packages.netutils
python311Packages.netutils


pcre: 8.44 -> 8.45

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/pcre/versions.
meta.description for pcre is: "A library for Perl Compatible Regular Expressions"
meta.homepage for pcre is: "http://www.pcre.org/"
meta.changelog for pcre is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
/nix/store/2ygk9px0s959gf140blhgzfbm9hlka1s-pcre-8.45-bin/bin/pcretest passed the binary check.
/nix/store/2ygk9px0s959gf140blhgzfbm9hlka1s-pcre-8.45-bin/bin/pcregrep passed the binary check.
2 of 2 passed binary check by having a zero exit code.
2 of 2 passed binary check by having the new version present in output.
found 8.45 with grep in /nix/store/2ygk9px0s959gf140blhgzfbm9hlka1s-pcre-8.45-bin
found 8.45 in filename of file in /nix/store/2ygk9px0s959gf140blhgzfbm9hlka1s-pcre-8.45-bin

Rebuild report (if merged into master) (click to expand)

77641 total rebuild path(s)

46233 package rebuild(s)

46071 x86_64-linux rebuild(s)
31569 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath

AMB-plugins
ArchiSteamFarm
AusweisApp2
CHOWTapeModel
ChowKick
CoinMP
CuboCore.coreaction
CuboCore.corearchiver
CuboCore.corefm
CuboCore.coregarage
CuboCore.corehunt
CuboCore.coreimage
CuboCore.coreinfo
CuboCore.corekeyboard
CuboCore.corepad
CuboCore.corepaint
CuboCore.corepdf
CuboCore.corepins
CuboCore.corerenamer
CuboCore.coreshot
CuboCore.corestats
CuboCore.corestuff
CuboCore.coreterminal
CuboCore.coretime
CuboCore.coretoppings
CuboCore.coreuniverse
CuboCore.libcprime
CuboCore.libcsys
DisnixWebService
EBTKS
EmptyEpsilon
FIL-plugins
Fabric
LAStools
LASzip
LASzip2
Literate
MACS2
MIDIVisualizer
MMA
NSPlist
OSCAR
OVMF
OVMFFull
PlistCpp
QuadProgpp
R
SDL
SDL2

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/2ygk9px0s959gf140blhgzfbm9hlka1s-pcre-8.45-bin \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A pcre https://github.com/r-ryantm/nixpkgs/archive/b04cd75281a31457795afdccbd56207910bc7624.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/2ygk9px0s959gf140blhgzfbm9hlka1s-pcre-8.45-bin
ls -la /nix/store/2ygk9px0s959gf140blhgzfbm9hlka1s-pcre-8.45-bin/bin

Pre-merge build results
NixPkgs review skipped

Maintainer pings

Sorry, I'll make another PR.


Bad Plugin Error

Hi, so I'm going to try to give as much detail as I can:
My Error: "Error: The object has no suitable property or field named 'layerName'"
Sketch Version: Latest (I also tried with latest version of icon8 lunacy for windows 10 latest which is compatible with sketch plugins and files)
How to reproduce: Create an artboard, put anything on it, click export html button from genus, see error
What I found out: Genus lets you export when the artboard is empty, but if i put stuff on it, it gives me the error, i'm guessing its something to do with layers

@SamarthShah @rammurat @mayank10j @loxxy Sorry for ping, im on a time crunch with my website

@wendellmeset  Can you please mention your OS version and some if possible upload some test file,
I am able to export without issue on sketch version 71.2 (115329) on MacOS Catalia 10.15.7.
Is your Mac Intel based or newer M1 ?
As of now we don't support icon8 lunacy, as some of the genus sketch plugin features depends on Native MacOS API which are not available on windows.

@mayank10j Hmm, i figured out its just an issue with the difference in layer management is icons8 lunacy, ill give this info directly to lunacy devs, im so sorry


Show month first for dates

Updated to reflect latest date formatting changes
Overview:

Ocp details:

Codecov Report

Merging #2052 (c644019) into react-intl_changeover (7d86375) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head c644019 differs from pull request most recent head 9d2e435. Consider uploading reports for the commit 9d2e435 to get more accurate results

@@                  Coverage Diff                   @@
##           react-intl_changeover    #2052   +/-   ##
======================================================
  Coverage                  70.76%   70.76%
======================================================
  Files                        403      403
  Lines                       7334     7334
  Branches                    1566     1566
======================================================
  Hits                        5190     5190
  Misses                      2118     2118
  Partials                      26       26

Continue to review full report at Codecov.

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


Retry invalid challenge responses, limit retries to 5.

Coded to your coding standards, shellchecked
This will allow for the challenge to be retied for upto 5 times when it fails (returns invalid)
Allot of our servers are via cdn/load-balancers and they do not always sync quick enough, so will fail the first X attempts.
This also allows your script to have resiliency with bad connections/timeouts.
letsencrypt.sh --cron --force --retry
Processing test.extremeshok.com
 + Checking domain name(s) of existing cert... unchanged.
 + Checking expire date of existing cert...
 + Valid till Nov 19 22:26:00 2016 GMT (Longer than 30 days). Ignoring because renew was forced!
 + Signing domains...
 + Generating private key...
 + Generating signing request...
 + Requesting challenge for test.extremeshok.com...
 + Responding to challenge for test.extremeshok.com...attempt: 1
 + Invalid
 + Requesting challenge for test.extremeshok.com...
 + Responding to challenge for test.extremeshok.com...attempt: 2
 + Challenge is valid!
 + Requesting certificate...
 + Checking certificate...
 + Done!
 + Creating fullchain.pem...
 + Done!

Update to pull : https://github.com/lukas2511/letsencrypt.sh/pull/261
Retries reduce the load.
Here is the specific use case:
All 1000+ servers/vm's are managed/setup by idempotent configuration management. Spanning multiple data centers and countries.
We run a single node aka ssl.domain.com which is responsible for all ssl deployments for all the servers. ie. All "/.well-known/acme-challenge/" http requests from all the 1000+ servers are proxied to the ssl.domain.com server.
Under real world situations on production servers there are timeouts for the length the proxy request can take. Letsencrypt also has timeouts for the validation response. So fact is they can and will fail to validate because they timed out.
Letsencrypt does and will rate limit the number for validation attempts for a domain, so it provides no more load than the current script. Also if you look at the code, I specifically slow down the retries by adding a random 1-10 second pause between each retry.
I can understand your issue with someone setting 99999 retries, but this is virtually no different to them running the script 99999 times in a loop until the certificate has generated. The major difference is the retries will have a far lower impact on the lets encrypt servers.
Currently: If you are creating a certificate with 20 sub-domains and only one of the 20 sub-domains fails (ie number 19) validation, you are forced to rerun the script and re-validate all the sub-domains which were already validated. Thus you increased the load 18 more times.
With my retries only the failed validation will be retried, thus you only have 1 extra validation.
If you are concerned with the user setting a limit of 99999, I have limited the retries to 5.
In real world production all are verified by the 3rd attempt.
As to the proposed add a hook script, there is no place in the code for a hook after the json verification has been generated and before the verification has been validated.
Not to mention the limitation with the hook scripts as they cant do retries for a timeout.

Forgot to remove the comments.
With regards to the duplicated code, I can convert it to a do while loop, instead of a while do loop or make a function call

Hey there, I decided against merging/implementing this feature for various reasons, one is that the major cause of failure will be Let's Encrypt having server load issues, where thousands of retrying clients definitively won't help.
Instead I will implement verification caching so if somebody really wanted to they could rerun the whole script without going through hundreds of challenge verification requests again.


todoist

[Enter feedback here]

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

ID: 72348d28-62c9-91b5-4dfa-b5e74c4c7c8e
Version Independent ID: 89199b13-a047-8f74-364d-8e685a1e53c8
Content: sign in, sign out - Microsoft Style Guide
Content Source: styleguide/a-z-word-list-term-collections/s/sign-in-sign-out.md
Product: non-product-specific
GitHub Login: @pallep
Microsoft Alias: pallep

Complete typo; this issue should never have been opened. Sorry!


feat: Chunked blob sync

### Task list
- [ ] Persistant blob store: data + meta (bitmap)
- [ ] Blob sync protocol that syncs chunks
- [ ] Compatibility between snapshot store and blob store: eventually we want to get rid of separate snapshot store, but for now we'd have duplicates to not break current spaces. Snapshot manager will fall back to old snapshot store on reads, and on writes write only to new blob store.
- [ ] SnapshotManager takes ObjectSync as dependency
- [ ] Rename ObjectSync to BlobSync: package, class, proto, extension name, etc.

Current dependencies on/for this PR:

main

PR #3601   👈

This comment was auto-generated by Graphite.


After translating a piece of text from UTF-8 to GBK encoding, the original characters still remain.

After translating a piece of text from UTF-8 to GBK encoding, the original characters still remain.

IntelliJ IDEA 2023.3 (Ultimate Edition)
Build #IU-233.11799.241, built on December 2, 2023
macbook pro m3

In the GBK format, the character in the last position should not be displayed. It seems that this might be difficult to implement, which may be why each character is displayed, leading to what appears to be garbled text occupying the position.

Hi,
I believe this is just misunderstanding of how hex editors work. Hex editor is not text editor as it works with raw binary data and it has just a text preview where for each byte position a single character is decoded.
This means that as it works by design for multi-byte character sets/encodings (applies to both UTF-8 and GBK) you should not expect a coherent text / character sequence in preview.
BinEd provides editable string sequence decoder in parsing panel which decodes short text from current cursor position.

In contrast example of decoding from second byte which would be invalid in text editor / in the middle of first character:

I'm not aware if there are some hex editors which would provide better approach to this / there could be maybe added some dynamic mode with preview generated from current cursor position, but I have no plans for that...


Update _integration-with-existing-apps-kotlin.md

Fixed documentation of brownfield integration. The code snippet was missing OpenSourceMergedSoMapping required in RN 0.76 🚀

Sure thing @cortinico! The change has just landed on the branch :)


[AIRFLOW-1592] Add --keep-alive option for gunicorn to airflow config

Add --keep-alive gunicorn option to webserver launch
Add kaap-alive configuration option to default configuration file

Dear Airflow maintainers,
Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!
JIRA

[ ] My PR addresses the following Airflow JIRA issues and references them in the PR title. For example, "[AIRFLOW-XXX] My Airflow PR"

https://issues.apache.org/jira/browse/AIRFLOW-1592

Description

[ ] Here are some details about my PR, including screenshots of any UI changes:
Adds configuration option to webserver configuration to allow --keep-alive setting to be changed.
Adds default in default config file.

Tests

[ ] My PR adds the following unit tests OR does not need testing for this extremely good reason:

Commits

[ ] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

This is an important setting if you want to run airflow's webserver behind an AWS ELB where the idle_timeout defaults to 60 seconds and you need to have gunicorn's keep-alive longer than this timeout (it defaults to 2 seconds).
Setting the ELB's idle_timeout to 1 or 2 seconds doesn't work - many requests fail with a 504 response.
Unless I'm missing something, you can't run the Airflow webserver behind an ELB as it stands.

@dginther Can you fix the syntax error introduced by your patch?

To be honest, after looking at this a little, I don't think I can, because of the complexities of the testing. It's above my head, unfortunately. It looks like some work was done on this problem since I opened this PR though? Maybe this PR is no longer necessary?


Auto-select cardType

What do you think about auto-selecting the cardType based on the model passed to cc-type?
Since the cc-type already validates the number with the type selected we could just use the cc-type param in the scope to auto-select it.
I think it would be cool if this was also applied to cc-eager-type and have a real-time selection.
I can create a PR if you like the idea:

/cc @bendrucker

This can also be implemented in another way - A new directive cc-type applied to the card type select that will watch the $ccType and/or $ccEagerType and update the value.

Why does the lib need to do anything to help you accomplish this?

Well, I can implement my own directive to auto-select the card type. But, I think that would be cool to add this behaviour to the lib.

If I'm clear you want something that works with <select>. In which case I'm going to say no, that would be great as a separate library, but doesn't belong in the core.

Ok. It was just a suggestion.

Understood, and saying no to lots of ideas is critical to open source. If you make something like this I'd be happy to consider linking it from the readme.

Sure. I know what it takes to get a maintain a good lib. I'll keep you posted in case of building something on top of this.


Get sublcass queryset only

I can't get queryset for a particular subclass only. I want to get only products relating that subclass only

Django Model Utils version: 4.3.1
Django version: 4.1
Python version: 3.9

class Product(models.Model)
...
objects  = InheritanceManager()

class Phone(Product)
...

class Laptop(Product)
...

How do I get querysets for the subclass Phone without any other subclasses instances
I have gone through the documentation and didn't find any
I have built a custom filter that can do  but it means I don't need the package and my concern is scalability of the custom implementation. I want to know if the package  can help so I don't have to reinvent the wheel.

It's been a long time since I used the InheritanceManager, but I would think:
Product.objects.select_subclasses(Phone).filter(phone__isnull=False)

or something ought to do the trick. The select_subclasses would leave you with a heterogenous queryset of Product and Phone instances, so you'd subsequently want to only have Phone instances, which you'd get by filtering out rows which don't have a product → phone relation.

That said. If you're after a homogenous queryset, why not just do:
Phone.objects.filter(...)

and ignore the inheritance part entirely? It'll effectively be roughly the same query and without the additional complexity.

Thank you very much this should work.
The trick I created earlier wouldn't scale very well as I have to load all products objects then load all Phone objects and use phone objects ids to do conditional check with if statements and even check for product status too.
I will use your suggestion even though I have embed category field in the product which are basically the subclasses so that I can filter on categories and no need to worry about subclassing.
I will adopt your suggestions because I want the database to handle queries not python functions


Moving away from bower?

Expected behavior:
npm install with no warning
Actual behavior:
npm WARN deprecated<EMAIL_ADDRESS>..psst! While Bower is maintained, we recommend Yarn and Webpack for new front-end projects! Yarn's advantage is security and reliability, and Webpack's is support for both CommonJS and AMD projects. Currently there's no migration path, but please help to create it: https://github.com/bower/bower/issues/2467
Steps to reproduce:
checkout the project
navigate to the frontend directory
npm install
Screenshots (if applicable):
N/A
OS and Browser:

Probably should consider moving to yarn instead.  Working on a PR.

Why yarn und not simply npm? It has package.lock now etc.

@stukalin I think you may be right.  Per your suggestion in the PR, I am going to try to break this up into smaller pieces.  Working on a PR which just moves everything into NPM.

In order to facilitate this, we are going to need to add a package.json file into the hospitalrun-maintained fork of JsBarcode. Opening a new PR.

Could be useful. Things which are to be migrated

[ ] JsBarcode
[ ] bootstrap
[ ] filer.js
[ ] idb.filesystem
[ ] octicons
[ ] pikaday
[ ] typeahead.js
[ ] pouchdb-load
[ ] pretender
[ ] fullcalendar
[ ] fullcalendar-scheduler
[ ] timekeeper
[ ] webrtc-adapter

I'll just close this one.


Kserve not installing for arm64 builds

KServe fails to install during arm64 builds due to conflicting dependency issues

I think I may be running into an issue related to this. I manually deployed the chassis service and am using minikube to run the service. I also have kubectl and kserve installed on my machine.
I am following the tutorial to build a model. I can run the test_env() just fine and everything works up until actually publishing the image. When I run the chassis builder job using chassis_model.publish(), the final_status returns the following error message towards the end:
ERROR: Cannot install -r requirements.txt (line 3) because these package versions have conflicting dependencies.

The conflict is caused by:
    kserve <IP_ADDRESS> depends on ray[serve]==1.9.0
    kserve 0.8.0 depends on ray[serve]==1.9.0
    kserve 0.7.0 depends on ray[serve]==1.5.0

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

I'm not sure if this is related to the issue being opened, but I thought since there were dependency issues it could be.
I have the Apple M1 Pro Chip and am on macOS Monterey 12.4

This was primarily caused by the MLflow dependency. This was removed entirely as a dependency in v1.5 and successfully tested, so this issue is fixed now as well.


GH-41587: [Docs][Python] Remove duplicate contents

Rationale for this change
Remove duplicate contents

What changes are included in this PR?

Remove duplicate contents
Remove , for consistency

Are these changes tested?
Yes

Are there any user-facing changes?
Yes

GitHub Issue: #41587

@AlenkaF Hello. Would you take a look at this PR when you get a chance? Thanks!


v0.8.5_25: Boundary lines of dropdown box are missing (Safari 8)

SEVERITY: Minor
MODULE: Bar Chart
Platform:  MAC / Safari 8.1
RELEASE: v0.8.5
STEPS TO REPRODUCE:

Navigate URL: http://static.gapminderdev.org/vizabi/release/v0.8.4/preview/barchart.html
Bar chart page will be loaded
Click “Expand” and then click “Restore”
Click “Color”
Note that boundary lines of dropdown box are missing

ACTUAL RESULTS:
Boundary lines of dropdown box are missing
EXPECTED RESULTS:
Boundary lines of dropdown box should not missing
SCREENSHOT:

Retest Result: Pass
Testing Environment: http://static.gapminderdev.org/vizabi/develop/preview/bubblechart.html


Improve accept header

Adds accept header to requests made via the template function.
Without the accept headers these requests would sometimes fail with an unexpected content type error. This happens when a server provides an lrdd from host-meta, which specifies a type that differs from the default response type of the given URL.
Also, changes the expected webfinger response content-type from application/json  to application/jrd+json

@evanp code LGTM but I don't know Webfinger well enough to tell how this affects the protocol

this pull request had originally changed the webfinger content-type to the newer application/jrd+json After some testing on a variety of servers that implement webfinger (https://github.com/rburns/webfinger-sanity-check/blob/master/index.js), it seems both the newer and older application/json are still used.
I've updated this to support both. leaving the existing tests against the old content-type, and adding one test for the new content-type.


Error message for zeinaskitchen.se

Hi,
The plugin works like a charm on 99% of the pages I'm using but somehow it can't pull any info from this homepage here, here's an example recipe.
The error message I get is "recipe scheme not found".
Is there anything that can be done about it?

Glad to hear its working for you. The way the plugin works is it looks for Recipe Schemas embedded in the page. The page you linked doesn't have a Recipe Schema it could read, so unfortunately, it can't grab the recipe.
This is a helpful tool to see if it has a readable schema or not: https://validator.schema.org/#url=https%3A%2F%2Fzeinaskitchen.se%2Flasagne-i-stekpanna%2F
Hope that helps!

Closing issue. Feel free to add anymore comments if you feel like there's more we can do here. Thanks.

Apologies for getting back only now - thanks for the validation link and thanks for taking the time to answer!


Photo Needed: Pink

Here you go https://www.flickr.com/photos/akrabat/6326066555/in/photolist-aD1Kc2-ni88rE-ak9mT1-azyd2Y-azydhd-oei683-iuRqcP-nWSMh4-asz4HK-asBHgd-6r9fK3-6r55tT-dogqkh-hJBWdc-6r9ffm-4EnaXY-gsJA9K-inEqEj-aTU66R-jxfJbF
I'm sure @akrabat will allow you to use it.

Yes. Feel free to use it. I've updated the license on Flickr for that image, too.

Thanks guys!


Migrated Android to androidx libraries

Migrated project to Androidx
Used buildToolsVersion 29.0.0 and compileSdkVersion 29. targetSdkVersion remains 26 and minSdkVersion remains 19. I tried bumping these but I could not get access to the camera anymore.
condensed build.gradle files to simplify them and remove duplicate code. Different modules can simply override the values in androidConfig.gradle as they see fit, for example the camera module.

Tested changes with |
-- | --
Camera Model | D435i
Firmware Version | <IP_ADDRESS>
Operating System & Version | Android 10 Google Pixel 3
Platform | Android
SDK Version | 2.30.0
Language | Java
Segment | Smartphone

👋 is there anything blocking this that I should change? @dorodnic @arilowen

Hi @tunjid
First, thank you very much for the PR! @arilowen tested it and we can confirm it works with androidx and does not break 7 and 8.
We had some concerns with how this is implemented, I'll let @arilowen update. We are checking inside Intel internally and I believe @matkatz has opened a ticket to Google to tackle the problem more directly.
So to summarize, work is in progress, your contribution should be merged, but we are trying to investigate the issue more thoroughly first.

@tunjid thank you for your time and contribution.
There is a known issue with USB permissions in Android X. For this reason, Realsense cameras are not being recognized. We contacted Google, and they're trying to solve this issue.
Regarding this PR, in its current state, where the target SDK is below Android 9, and compile SDK is higher, we cannot publish the application in the "Google Play". We will have to wait with the migration to Android X until the issue mentioned above will be solved.

I understand, not a problem! I'll use the migrated aar when developing locally. Thanks for getting back to me.

@tunjid thank you for your time and contribution.
There is a known issue with USB permissions in Android X. For this reason, Realsense cameras are not being recognized. We contacted Google, and they're trying to solve this issue.
Regarding this PR, in its current state, where the target SDK is below Android 9, and compile SDK is higher, we cannot publish the application in the "Google Play". We will have to wait with the migration to Android X until the issue mentioned above will be solved.

@arilowen do you have an update on this issue?
I've just recently updated to android 10 on my Huawei Honor View 20 and the realsense camera is no longer working.  However as suggested here removing targetSdkVersion from my build.gradle resolves the issue but this is not an ideal solution

@remibettan do you have any news regarding this issue?


Publish ro-crate-inveniordm to conda-forge

Not blocked - all dependencies available on conda already.

https://github.com/conda-forge/staged-recipes/pull/26848

@elichad fixing bug in pull request to bypass CI failure.

https://anaconda.org/conda-forge/rocrate-inveniordm


Minor comment and linter fixes

Changes

Fixes incorrect code comment.
Fixes some import order linter warnings.

👍


Remove duplicated compliance in Gatekeeper synced policy message

ref: https://issues.redhat.com/browse/ACM-6346

@zyjjay Please add the Jira issue to the commit message so that the message propagates to stolostron in the commit, for example:
Remove duplicated compliance in Gatekeeper synced policy message

ref: https://issues.redhat.com/browse/ACM-6346
Signed-off-by: Jason Zhang<EMAIL_ADDRESS>

Since it seems to be a more general fix than just with Gatekeeper, could you please change the commit title to something like Remove duplicated compliance in some policy compliance messages?