Deleting redundant files and some adjustments

Some packages have names and repeated functions [1]. Also, i'm shifting some functions from one package to another to improve coherence and reformatting the packages to the PEP8 standard.
[1] Example: os_util.py and os_utils.py change only the plural and singular name of package
Reminder: small changes to not break anything, but to start the changes proposed by issue #20
@rodrigofaccioli Trajectory hotfix already added to development  😃

I just made a list of functions and files with identical names, I don't observed plural/singular differences.
For example check_file_exists() are identical copies of each other.
Filenames:

gromacs_utils.py
os_utils.py
prepare_ligand.py

Functions:

def build_complex_from_pose_file_name
def build_list_model_for_complex
def check_file_exists
def create_file_by_sorted_energy
def get_files_log
def get_files_mol2
def get_files_pdb
def get_files_pdbqt
def get_ligand
def get_log_file_name
def get_name_ligand
def get_name_ligand_pdbqt
def get_number_atom
def get_number_torsion_angle
def get_path
def get_pdb_id
def get_residues_receptor_from_ndx_files
def get_separator_filename_mode
def get_title_output
def get_torsion_atom_from_database
def init
def main
def make_directory
def prepare_for_creating_database
def prepare_ligand
def preparing_path
def save_analysis_log
def save_log
def save_model_receptor
def save_result
def save_result_only_pose
def time_execution_log


Reorganize warning suppression and enable -Werror with Java 7.

Add explanation for "-Xlint:-try" in build.gradle.
Reorganize warning suppression and enable -Werror with Java 7.
This commit suppresses specific warnings for Java 7 and 9.  This allows us to
enable -Werror with Java 7, though there is still a warning with Java 9, due to
issue #1017.

Codecov Report

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

@@            Coverage Diff            @@
##             master    #1031   +/-   ##
=========================================
  Coverage     81.81%   81.81%
  Complexity     1139     1139
=========================================
  Files           181      181
  Lines          5324     5324
  Branches        499      499
=========================================
  Hits           4356     4356
  Misses          838      838
  Partials        130      130

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 13cf2b8...3b57717. Read the comment docs.

Thanks!


Add Meteor.Device.isTouch()

For my project, I don't care if the Device is Desktop/Laptop/TV/Phone/Tablet/Bot etc, what I really want to know is if there is a Touch interface or not. Generally you can assume Phone/Tablet have touch, but others are more difficult to tell. You could have a Desktop with Touch in which case I would like to provide the same touch UI features as I do on Phone/Tablet.
Is it possible to define isTouch based on device detection?

This library was written using a set of user agent regexes which attempt to identify whether a user is on mobile or desktop. I would recommend not using this library if the type of responsiveness you want in your app is touch/not-touch, as it can't actually tell. If you want to perform feature detection, as it seems you do, I recommend using Modernizr or similar (http://modernizr.com/).


Falsy truthy and fix doov function

Porter un point d'attention particulier sur les modifs dans doov.ts ; on est bien d'accord que les BooleanFunction retournent toutes un boolean ?

Codecov Report

Merging #37 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #37      +/-   ##
==========================================
+ Coverage   99.84%   99.84%   +<.01%
==========================================
  Files          47       47
  Lines        1277     1285       +8
  Branches      166      166
==========================================
+ Hits         1275     1283       +8
  Partials        2        2

Impacted Files
Coverage Δ

src/dsl/lang/BooleanFunction.ts
100% <100%> (ø)
:arrow_up:

src/dsl/lang/DefaultOperators.ts
100% <100%> (ø)
:arrow_up:

src/doov.ts
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


index pages

To help with breadcrumbs etc., I added an option for index pages.  Say you visit e.g.
/pages/my_category
If high_voltage fails to locate the my_category.html view, the controller will also check:
/app/views/pages/my_category/index.html.erb

I'm not opposed to something like this, just want to clarify the intention -- can you outline the use case where this functionality is useful?

When it comes down to it, it's really just for the aesthetics of high_voltage matching the way rails and webservers typically behave (i.e. with the resource at /users rendering /users/index.html.haml or /documentation serving /documentation.php).
I won't be too insulted if you don't accept the pull request though, as it is a minor feature.

We've decided that, since we won't make use of this feature, it's best left out.
Thank you for the patch, though!
-Mike

No problem with keeping HV lean and mean!

It's the meanest!


Does WinAppDriver support JS to operate the scroll-bar?

Hello, Team
There is a feature of UWP to be tested with AppWinDriver, but this element is the bottom of the page, which need to be displayed by scrolling the bar, then I want to scroll bar with JS in my code, like this:
( (IJavascriptExecutor)driver).ExecuteScript("argument[0].ScrollIntoViewIfNeeded(true)",operatingElement);
It seems it doesn't work. Pls help me to solve this problem,or provide some other solutions.

Hi @questions555,
Do you know if the element already exists on the display, or is it generated after you scroll down?
The Alarm Clock Test serves as a good reference for this, and demonstrates two possible scenarios for handling elements in a list.
Scenario 1 - element pre-generated
As per the spec, we implicitly scroll elements within the view when they are selected--however this relies on the UI element being generated and accessible from the start.
The Alarm Scenario test serves as a good reference for this. From the code snippet here:
minuteSelector.FindElementByName("55").Click();, the AlarmClock test automatically scrolls to the '55' element and selects it - as can be seen when the alarm GUI is set to 3:55 when the test is running.
Scenario 2 - element dynamically generated
There exists the possibility of cases where the element UI is not generated until certain conditions are met (e.g. a list has to scroll to it's location first before element is generated). This will require automating in the steps to fulfill those requirements first before the element can be interacted with.
The Stopwatch Scenario serves as a good example for handling dynamically generated elements. From the code snippet here,
touchScreen.Scroll(lapListView.Coordinates, 0, -50);, test sscrolls to the location of the element before taking action on the desired element.
Please let us know if this helps clarify your question, or if can provide us with any additional details if it does not.
Thanks

Hi, not to hijack this question, but are there examples of this scroll action in java? Unfortunately the Coordinates are not an accessible property when using WebElement class in Selenium.

We're happy to take contributions from the community towards improving our samples (especially when it comes to popular languages like Java or Python). Feel free to submit a PR if anyone has any regarding this.


Add exception where relayed message.content length exceed 2048 charac…

…ters

name: Exception of character limits
about: Resolve a issue where bookmarked message content is near 2048
issue: Issue #336

Pull Request Details
Please ensure your PR fulfills the following criteria:

[check] Have you joined the PythonDiscord Community?
[check] Were your changes made in a Pipenv environment?
[check] Does flake8 pass (pipenv run lint)

Additional information
New message should look like this
An '.....' is pretty much enough to indicate user that there is more.

In this case, would copying the entire message's content to the embed's description ( both are 2048 chars limit ) and then do a field with blank name, and value being the jump link better? That way, we never have to truncate anything.

LGTM


Compiler Error C2208 with Including files with macros that exists as variable names in the winioctl.h

I had this weird problem when I was trying to include some file that I created. Note that: It has the macro 'Geometry' defined to it.
Anyway, the error "winioctl.h(8591,31): error C2208: '_DISK_GEOMETRY': no members defined using this type" kept showing on the stdout. Therefore, I wanted to note that the page that describe that error is not totally complete in describing the error and there might be some behaviors when trying to include a file with some macro defined to it. Anyways, I changed the name of the macro in the included file and it worked fine. So if possible can you add more information to that page (for example the thing I mentioned above). To whoever reading..... Have a nice day :)

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

ID: 17a55bca-c288-1142-2030-c47c68432f98
Version Independent ID: 46f9acd6-6f21-630b-83b9-a6c71d2a908e
Content: Compiler Error C2208
Content Source: docs/error-messages/compiler-errors-1/compiler-error-c2208.md
Product: visual-cpp
Technology: cpp-diagnostics
GitHub Login: @corob-msft
Microsoft Alias: corob

@Mohido
Thanks, I appreciate that you've taken the time to comment here. However, I can't tell what's distinctive about your experience. The compiler reports what it sees at the point it finds a problem. If a macro causes a name collision that resolves to a type name in an aggregate where the compiler expects a declaration, that isn't a different way to cause the error. That's just one of an untold number of ways for buggy code to cause the error. I'm sorry that we can't afford the time to describe more than one or two of the many ways it could happen. So, I'm closing your issue.


fix/value-keyword-access

Fixed value keyword access described in #62

Cool! Many thanks for the patch.


[Bug Title here] Alignment of text inside button

What happened?
Button in navbar does not proper alignment. So this is not looking good.
Before:

How can we reproduce this bug?
We need to give proper alignment to text inside button.
After giving proper alignment it will look as below.
After:

Desktop Information (Optional)
No response
Urgency (Optional)
Medium priority

Too easy issue


Support AS923-1 in Pakistan

Currently the Helium network uses IN865 in Pakistan.  Helium has a customer contact in Pakistan and the customer has determined that IN865 is not legal within Pakistan.  This is primarily because the 800 Mhz band is not intended for IoT in Pakistan, but also the 800 Mhz band in Pakistan is limited to 10 mW but IN865 uses 1000 mW.  The customer has shared regulatory documents which confirm these facts.
Further regulatory details from the customer:
https://github.com/helium/miner/issues/1741
After a discussion with other Helium engineers and the Helium Foundation we've reached consensus that AS923-1 is the correct plan.  AS923-1 is also listed in the LoRa Regional Spec.
Note - the same issue exists for Jordon which is also assigned IN865.  It is advisable to switch Jordon to AS923-3.
Currently Pakistan has ~100 Hotspots and Jordon has ~10 Hotspots.

AS923-1 deployed

Hi Team,
Can I please request to review, as the frequency page is still showing Pakistan in IN865:
https://docs.helium.com/lorawan-on-helium/frequency-plans/
Are you able to assist please ?
Regards,
Azam

https://docs.helium.com/lorawan-on-helium/frequency-plans/ has been updated


README Controller tests should explain need for "include Devise::Test::IntegrationHelpers" in rails 5

Precheck

Do not use the issues tracker for help or support, try Stack Overflow.
For bugs, do a quick search and make sure the bug has not yet been reported
Finally, be nice and have fun!

Environment

Ruby [2.5.0]
Rails [5.1.5]
Devise [4.4.1]

Current behavior
In the Controller tests section of the README, it is stated that Devise::Test::ControllerHelpers needs to be included for devise to work in tests. The following sample code is also supplied.
class PostsControllerTest < ActionController::TestCase
  include Devise::Test::ControllerHelpers
end

However, from Rails 5 controller tests no longer belong to ActionController::TestCase, and now belong to  ActionDispatch::IntegrationTest. Therefore, the above example code is not valid for rails 5, and should look something like this instead.
class PostsControllerTest < ActionDispatch::IntegrationTest
  include Devise::Test::IntegrationHelpers
end

I think it would be easier for developers using rails 5 if there was a short passage explaining this, and I would be delighted to create a pull request.

Yeah, Rails 5 doesn't have controller tests anymore. We do have a session on the readme for integration tests too https://github.com/plataformatec/devise#integration-tests
But we aren't saying that Rails 5 comes with them by default. I guess it makes sense to add a note about this in the controller tests section.
If you're willing to open a PR for this, I'd be happy to accept it.
Thanks!

Thanks for your quick comment @tegon , I've opened a PR :)
https://github.com/plataformatec/devise/pull/4820

Closed via #4820


IME support for textinput

See #6898
One bug persists, which is pressing an arrow key in the middle of a composition, which causes misplaced characters.
However this is unusual, desktop only, currently present in kivy as a bug, and seems to be caused by SDL.

Added a test, which caught the _lines=[] case. Please check if it's handled correctly.


RM30925 In some cases, depending on the parent DomElem, scrollbars appear/disappear in an infinite loop

More info and video in RM.

Fixed in #27


How do I fund a self-custody Lightening Channel

Hi Tony and Ben. I watched the BTC Sessions tutorial on Mutiny Wallet  but I do not have the option to swap funds from on-chain to open a self-custody lightening channel.
please advise.

Can you provide screen shots, logs or anymore info. Otherwise we don't have much to go off of to help you

I think it is a case of not updating the app. I see the swap option now. But fees are high lol. I'll close the issue soon once I successfully open the channel.

Channel done, thanks.


Prisma deploy

First of all amazing tutorial!
Just a question. Let's say we make 10 replica's. And I run prisma deploy on one pod. Do all the other pods get the change?

Thanks @maarteNNNN. Glad that your like it. 🙂
Yes, because the actual service configuration will be stored in the MySQL instance. You can find it in the “graphcool” database. Please note that when replicating the Prisma server, you also have to make sure to scale MySQL as well. Otherwise this part will be your bottleneck.


[WIP] Update /g-cloud lots descriptions

Summary

Pull in newer frameworks version (8.2.0) which contains lot descriptions/advice to display on the /g-cloud page.
Removes some hard-coded lots+content.
Adds a CSS tag on the /g-cloud page to allow targetting the lot descriptions with bullet list styles.

Dependencies

~~https://github.com/alphagov/digitalmarketplace-buyer-frontend/pull/487~~
https://github.com/alphagov/digitalmarketplace-frameworks/pull/424

This is resolved now.


Clarification Needed on Utillization of Tokenization in the Fine-Tuning Module || InternLM-XComposer2d5

Hello Fellow Developers,
I am working on implementing the evaluation code in the current fine-tuning module and noticed something regarding the tokenizer.
While the tokenizer is passed into the make_supervised_data_module function, it doesn't seem to be utilized in the DataCollatorForSupervisedDataset.
Since DataCollatorForSupervisedDataset serves as the custom data collator, if the tokenizer isn’t used there, what is being employed for tokenization? This brings up the concern of whether the fine-tuning script is functioning as intended.
Could you please clarify this?
> Also, when are you planning to release the evaluation code?
Thanks in Advance.

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."

The tokenizer is defined in modeling_internlm_xcomposer2.py.

You can use VLMEvalKit for evaluation.

Thanks for the response @yuhangzang
This makes sense.
I have a few more questions.
What are the GPU requirements for the full-finetuning?
What all parameters do I need to change for distributed GPU finetuning?
I am failing to use multi-GPUs for training.
Case 1:
I tried the Lora fintuning on the sample dataset on the single A100. Lora-finetuning works on a single 80GB A100 machine.
The parameters I changed were as below.

GPUS_PER_NODE=1  ## previous value was 8
NNODES=1
NODE_RANK=0
MASTER_ADDR=localhost
MASTER_PORT=6001

This works properly.
Case 2:
I have 8 X L4 machines. (23 GBs X 8 = 184 GBs of GPU memory)
I keep getting below error when I try with GPUS_PER_NODE = 1/2/3/4/5/6/7
Value of NNODES is still 1.

[2024-08-27 11:37:21,292] [INFO] [logging.py:96:log_dist] [Rank 0] Creating torch.bfloat16 ZeRO stage 2 optimizer
[2024-08-27 11:37:21,292] [INFO] [stage_1_and_2.py:148:init] Reduce bucket size 200000000
[2024-08-27 11:37:21,292] [INFO] [stage_1_and_2.py:149:init] Allgather bucket size 200000000
[2024-08-27 11:37:21,292] [INFO] [stage_1_and_2.py:150:init] CPU Offload: False
[2024-08-27 11:37:21,292] [INFO] [stage_1_and_2.py:151:init] Round robin gradient partitioning: False
[rank0]: Traceback (most recent call last):
[rank0]:   File "/home/karan/tasks_by_petpooja/internLM_xcomposer2_5/finetune/finetune.py", line 336, in
[rank0]:     train()
[rank0]:   File "/home/karan/tasks_by_petpooja/internLM_xcomposer2_5/finetune/finetune.py", line 326, in train
[rank0]:     trainer.train()
[rank0]:   File "/home/karan/miniconda3/envs/tasks_internlm/lib/python3.9/site-packages/transformers/trainer.py", line 1553, in train
[rank0]:     return inner_training_loop(
[rank0]:   File "/home/karan/miniconda3/envs/tasks_internlm/lib/python3.9/site-packages/transformers/trainer.py", line 1682, in _inner_training_loop
[rank0]:     model, self.optimizer = self.accelerator.prepare(self.model, self.optimizer)
[rank0]:   File "/home/karan/miniconda3/envs/tasks_internlm/lib/python3.9/site-packages/accelerate/accelerator.py", line 1303, in prepare
[rank0]:     result = self._prepare_deepspeed(*args)
[rank0]:   File "/home/karan/miniconda3/envs/tasks_internlm/lib/python3.9/site-packages/accelerate/accelerator.py", line 1779, in _prepare_deepspeed
[rank0]:     engine, optimizer, _, lr_scheduler = deepspeed.initialize(**kwargs)
[rank0]:   File "/home/karan/miniconda3/envs/tasks_internlm/lib/python3.9/site-packages/deepspeed/init.py", line 181, in initialize
[rank0]:     engine = DeepSpeedEngine(args=args,
[rank0]:   File "/home/karan/miniconda3/envs/tasks_internlm/lib/python3.9/site-packages/deepspeed/runtime/engine.py", line 306, in init
[rank0]:     self._configure_optimizer(optimizer, model_parameters)
[rank0]:   File "/home/karan/miniconda3/envs/tasks_internlm/lib/python3.9/site-packages/deepspeed/runtime/engine.py", line 1250, in _configure_optimizer
[rank0]:     self.optimizer = self._configure_zero_optimizer(basic_optimizer)
[rank0]:   File "/home/karan/miniconda3/envs/tasks_internlm/lib/python3.9/site-packages/deepspeed/runtime/engine.py", line 1508, in _configure_zero_optimizer
[rank0]:     optimizer = DeepSpeedZeroOptimizer(
[rank0]:   File "/home/karan/miniconda3/envs/tasks_internlm/lib/python3.9/site-packages/deepspeed/runtime/zero/stage_1_and_2.py", line 393, in init
[rank0]:     weights_partition = self.parallel_partitioned_bit16_groups[i][partition_id].to(
[rank0]: torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 4.13 GiB. GPU

What changes do I need to make for this to work?

Our code is tested in 8 A100 GPUs (80GB). You may set a small value of hd_num to save the GPU memory.


Add primitives for GAN based time-series anomaly detection

Description
Add a primitive that allows novel GAN based anomaly detection in time series signals.
Approach

Add a CycleGAN primitive that allows the encoding and decoding of time series signals. This network consists of LSTM based encoder and decoder networks, as well as two critic networks to ensure cycle consistency. Once trained, the network can reconstruct time series signals and the critic network could serve as a direct measure of "how real" a time-series sequence looks.
Add a corresponding error-calculation primitive that allows to compute anomaly scores using a combination of the reconstruction error and the output of the critic network.

Some comments about the naming and code structure: since we already have several primitives which are specialized in timeseries, let's build this by adding a new subfolder, called timeseries, which will live for now inside the candidates one.
Also, since the error-calculation primitive that you suggest is not really calculating errors but rather scoring anomalies, I would suggest to change its name to something related. Also, since it is a function which is specialized and can only work in combination with the cyclegan class, I would put both of them in the same module.
So, the exact structure I suggest is:
└── mlprimitives
    └── candidates
        └── timeseries
            ├── __init__.py
            └── cyclegan.py

Both the CycleGAN class and the errors function should be placed inside the cyclegan.py module, and the names I suggest using are:

CycleGAN, and call the primitive mlprimitives.candidates.timeseries.cyclegan.CycleGAN
score_anomalies, and call the primitive mlprimitives.candidates.timeseries.cyclegan.score_anomalies


Implement ci on actions instead of on travis

Travis is a mature CI.
I've just finished my first action https://github.com/marketplace/actions/install-phive and realized GHA is not.

It is taking forever to process maybe they want us to move to travis.com. We're at travis.org.

That was closed by  #79


The Contribute page returns 404

Bug
Expected behavior
Get into Contribute from README
Actual behavior
To get into the contribution page the steps are:

Navigate to https://design-system.pluralsight.com
Click to Contribute to the menu

But it's not accessible by direct link.
Steps to repro

Click to https://design-system.pluralsight.com/contribute

or

Go to Contribute page and refresh it

Related packages
documentation page
Environment

OS - MacOS 10.15.4
Browser version - Version 83.0.4103.97 (Official Build) (64-bit)

new url works https://design-system.pluralsight.com/guides/contribute. resolving


Switch change not animated when tied to props

When I set the MKSwitch checked prop to a store value and set that store value when onCheckedChange fires, it's position toggles on and off, but the switch thumb doesn't animate.
<MKSwitch checked={this.props.fbShareEnabled}
                    onCheckedChange={() => this.props.fbShareSetEnabled(!this.props.fbShareEnabled)} />

What am I doing wrong? The example code for the MKSwitch provides no practical example of how to use this component :(

+1

did you manage to fix this?

This problems still's. Since.. 2016???????????

Still a problem. Any fix?


receive: Add block shipping

Changes
This adds block shipping to the receive component.
Verification
Ran the quickstart script and watched blocks being uploaded, and stopped the receive component and could still query the uploaded data. Ideally this would have an e2e test, but I'm not sure how to realize that, and I couldn't find e2e tests for this for the sidecar component either.
@domgreen @bwplotka @FUSAKLA @GiedriusS @povilasv
cc @metalmatze @squat

@brancz re e2e tests, we definetely need to work on this.

Addressed comments. I'd say let's do upload tests for sidecar and receive as a follow up @povilasv ?

Looks like something was odd with Circle CI, re-triggering with force push.


redux-form Field does not work correctly with Material-UI's SelectField when using keyboard navigation.

Are you submitting a bug report or a feature request?
Bug Report
What is the current behavior?
When attempting to select an option in Material-UI's SelectField with the keyboard, the field value becomes empty.
To reproduce, use tab to focus the SelectField, then attempt to select an option using the arrow keys and Return key.
You can test this on your own examples on your website:
http://redux-form.com/6.6.1/examples/material-ui/
This bug does not occur when using Material-UI by itself. Only when used with redux-form.
What's your environment?
Using redux-form 6.5.0 with Google Chrome

I also noticed that if you tab the SelectField into focus, then tab onto the next field, the SelectField will reset to empty. You don't even have to select an option for it to reset to empty.

I encountered the same issue. If you take a look at erikras redux-form-material-ui plugin, you'll see how this is handled - https://github.com/erikras/redux-form-material-ui/blob/v4.1.3/src/SelectField.js
The key is lines 10 and 17.. You can add the following to get this working:
value={input.value}
onBlur={() => input.onBlur(input.value)}
Not heavily tested, but it appears to be working for me at the moment.

@jaredSiebert Ah, excellent thank you. The onBlur did the trick. Thanks!

It would be nice if the field could stay in focus afterward so that a user is able to tab to the next field. This is an feature request for Material-UI though, not redux-form.

@jaredSiebert Thanks! This worked for me as well.

~1.5 years without a comment here, so I'm closing!


[import/no-restricted-paths] array not allowed for target

Description
When passing an array of glob strings to target, the plugin throws a “should be string” error.
Steps to Reproduce
Pass this as an option to the plugin (copied directly from the documentation):
{
  "zones": [
    {
      "target": ["./tests/files/restricted-paths/two/*", "./tests/files/restricted-paths/three/*"],
      "from": ["./tests/files/restricted-paths/one", "./tests/files/restricted-paths/three"],
    }
  ]
}

And the plugin will throw the following error:
Error: .eslintrc.cjs:
	Configuration for rule "import/no-restricted-paths" is invalid:
	Value ["./tests/files/restricted-paths/two/*","./tests/files/restricted-paths/three/*"] should be string.

Specs

OS
macOS 12.5.1

ESLint
8.23.0

eslint-plugin-import
2.26.0

Node
14, 16, 18

That’s because you’re looking at unreleased docs. If you look on the tagged release (this applies to everywhere in github, not just this repo), you’ll see it requires a string until the next release: https://github.com/import-js/eslint-plugin-import/blob/v2.26.0/docs/rules/no-restricted-paths.md

Ah thank you for explaining! Sorry for the issue.

No problem! Unfortunately Github doesn't have a way for me to make the default docs be the latest release tag :-/

I am using<EMAIL_ADDRESS>and am still seeing this issue.


Themes not switching

I think the theme switching is not working...

Is it not working at all?
Do some of the themes work?
Could you provide some screenshots or videos that can help me figure the problem out?
I haven't recently tested themes, so it's quite likely there are problems.

This is fixed in Monarch 4.2!


New ideas! New SOQL features and Salesforce Change Data Capture Events for new near-realtime Async....

Holding place for new shiny things to review... 👍

loads more in SOQL these days, MIN/MAX support picklist for example... the cube and other features SOQL features
how does Salesforce CDC and Eventing change the options for DLRS async? No locking since event drain is sequential.... also easier to manage limits by putting events back on the bus...

Hmmm... 👍

Moved to Ready as this is duplicate issue of #1049 and we only want to put one through the QE process

Changed this to be the discovery item for CDC, SOQL enhancements split out into its own issue

Hey Guys, how is this task in "Dev - Ready"?


Bind overlays collection to make the view responsive to changes.

This PR allows the view to show/hide overlays when builder says so.
cc @alonsogarciapablo @xavijam

:+1:

Are we ok @alonsogarciapablo? do I need to bump anything? I love bumping...

👍


TypeError: cb is not a function

Why did this error appear when I modified the page, the page did not refresh
HMR stopped work after webpack upgrade from 2 to 4
config
webpack4
"webpack-hot-middleware": "^2.12.2"
// dev-server.js
var hotMiddleware = require('webpack-hot-middleware')(compiler, {
    log: () => {}
});
// force page reload when html-webpack-plugin template changes
compiler.plugin('compilation', function (compilation) {
    compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
        console.log('html-webpack-plugin-after-emit', data, cb)
        hotMiddleware.publish({ action: 'reload' });
        cb();
    });
});

TypeError: cb is not a function
    at /Users/labs/webpack/office/build/dev-server.js:39:9
    at Promise (eval at create (/Users/labs/webpack/office/node_modules/tapable/lib/HookCodeFactory.js:74:10), <anonymous>:17:16)
    at new Promise (<anonymous>)
    at AsyncSeriesWaterfallHook.eval [as promise] (eval at create (/Users/labs/webpack/office/node_modules/tapable/lib/HookCodeFactory.js:74:10), <anonymous>:4:8)
    at AsyncSeriesWaterfallHook.lazyCompileHook (/Users/labs/webpack/office/node_modules/tapable/lib/Hook.js:154:20)
    at /Users/labs/webpack/office/node_modules/html-webpack-plugin/index.js:673:47
    at Promise.resolve.then.then.then.then.then.then.then.then.catch.then.then (/Users/labs/webpack/office/node_modules/html-webpack-plugin/index.js:214:21)
    at process._tickCallback (internal/process/next_tick.js:68:7)

Closing due to inactivity. Please test with latest version and feel free to reopen if still regressions. Thanks!


Adding IPCC AR6 Chapter 3 Fig. 3.9 - Attribution

Description
Adding IPCC AR6 Chapter 3 Fig. 3.9 - ANOMALY OF NERA-SURFACE AIR TEMPERATURE - ATTRIBUTION
Original code and a README is provided in the ESMValTool-AR6-OriginalCode-FinalFigures repository.
To run this recipe please upload the shapefile of the AR6 reference regions (IPCC-WGI-reference-regions-v4_shapefile.zip), unzip and store it in <auxiliary_data_dir>/IPCC-regions/ (the auxiliary_data_dir is defined in the config-user.yml file). The files are already stored in the general AUX path in the ESMValTool directory on DKRZ (/work/bd0854/ESMValTool2/AUX/IPCC-Regions/).
Docs: https://esmvaltool--2986.org.readthedocs.build/en/2986/recipes/recipe_ipccwg1ar6ch3.html

Checklist
It is the responsibility of the author to make sure the pull request is ready to review. The icons indicate whether the item will be subject to the 🛠 Technical or 🧪 Scientific review.

[x] 🛠 This pull request has a descriptive title
[x] 🛠 Code is written according to the code quality guidelines
[x] 🛠 Documentation is available
[x] 🛠 Tests run successfully
[x] 🛠 The list of authors is up to date
[x] 🛠 All checks below this pull request were successful

New or updated recipe/diagnostic

[x] 🧪 Recipe runs successfully
[x] 🧪 Recipe is well documented
[x] 🧪 Figure(s) and data look as expected from literature
[x] 🛠 Provenance information has been added

Thanks @axel-lauer for reviewing! There were really helpfull comments.
What I did:

corrected all typos
corrected the reference in the diagnostic to the IPCC AR6 Chapter 3
added a file with the legend
added the reference 'Iturbide et al. (2020)'  to the recipe and the documentation
added a mark about the shapefile in the recipe but refer for detailed information to the documentation

Thanks for addressing my comments @LisaBock! All looks good to me 👍

Thanks @LisaBock for taking into account all of my suggestions. This looks all fine with three tiny things left to do regarding the newly added legend:

it would be great to add the optional diag_script_info attribute legend to the documentation recipe_ipccwg1ar6ch3.rst
and to the header of the diagnostic script tas_anom_damip.ncl
and (most importantly) to the recipe recipe_ipccwg1ar6ch3_fig_3_9.yml so a legend is actually created when running the recipe

Thanks @axel-lauer ! I totally forgot that... It's done now.

I think the diag_script_info attribute is called "legend" in the NCL code...

Yes, of course, it is... Sorry @axel-lauer!


[BUG] flaky org.opensearch.snapshots.CloneSnapshotIT.testShallowCloneNameAvailability test

Describe the bug
org.opensearch.snapshots.CloneSnapshotIT.testShallowCloneNameAvailability is flaky
To Reproduce
org.opensearch.snapshots.CloneSnapshotIT.testShallowCloneNameAvailability
Expected behavior
Test should always pass
Plugins
Please list all plugins currently enabled.
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):

OS: [e.g. iOS]
Version [e.g. 22]

Additional context
CI - https://build.ci.opensearch.org/job/gradle-check/25992/

not able to reproduce with the given seed:
./gradlew ':server:internalClusterTest' --tests "org.opensearch.snapshots.CloneSnapshotIT.testShallowCloneNameAvailability" -Dtests.seed=221689B6AE8054B1

> Configure project :
========================= WARNING =========================
         Backwards compatibility tests are disabled!
See https://github.com/opensearch-project/OpenSearch/issues/4173
===========================================================
=======================================
OpenSearch Build Hamster says Hello!
  Gradle Version        : 8.5
  OS Info               : Mac OS X 13.6.3 (aarch64)
  JDK Version           : 18 (Amazon Corretto JDK)
  JAVA_HOME             : /Library/Java/JavaVirtualMachines/amazon-corretto-18.jdk/Contents/Home
  Random Testing Seed   : 221689B6AE8054B1
  In FIPS 140 mode      : false
=======================================

> Task :server:internalClusterTest
Jan 22, 2024 10:47:32 AM sun.util.locale.provider.LocaleProviderAdapter <clinit>
WARNING: COMPAT locale provider will be removed in a future release

WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by org.opensearch.bootstrap.BootstrapForTesting (file:/Volumes/workplace/os-fork/OpenSearch/test/framework/build/distributions/framework-3.0.0-SNAPSHOT.jar)
WARNING: Please consider reporting this to the maintainers of org.opensearch.bootstrap.BootstrapForTesting
WARNING: System::setSecurityManager will be removed in a future release
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by org.gradle.api.internal.tasks.testing.worker.TestWorker (file:/Users/hbhakuni/.gradle/wrapper/dists/gradle-8.5-all/3zlzzgtsutfj0pbojr50n2l7z/gradle-8.5/lib/plugins/gradle-testing-base-8.5.jar)
WARNING: Please consider reporting this to the maintainers of org.gradle.api.internal.tasks.testing.worker.TestWorker
WARNING: System::setSecurityManager will be removed in a future release

BUILD SUCCESSFUL in 1m 14s

also was able to run it 50+ times in local without failure. we recently fixed couple of bugs as part of 2.11 in create and restore path and i think this issue was happening due to those bugs. @kasundra07 can you look into this and confirm if this is fixed or still going on?

Same for me. Tested multiple runs without failures. Not able to reproduce it using the same seed as well. Looks like it was fixed as part of those bug fixes @harishbhakuni mentioned. Closing for now. Feel free to reopen in case it fails.

Re-opeening, failed with https://github.com/opensearch-project/OpenSearch/pull/12877

@harishbhakuni Please update the tracking release version for this and add the corresponding PR if it's already open


[nrf52480] usb-cdc-uart: Sending/receiving beacons locks up NCP

It would appear that when used in usb-cdc-uart mode that receiving or sending a beacon locks up the NCP hard (as opposed to #2380 where only usb-cdc-uart transmit was jammed).
Responding to a beacon request:
[0000068246] [INFO]-MAC-----: Received Beacon Request
[0000068246] [DEBG]-MAC-----: Request to start operation "TransmitBeacon"
[0000068247] otPlatRadioReceive
[0000068247] [DEBG]-MAC-----: Starting operation "TransmitBeacon"
[0000068249] [INFO]-MAC-----: Sending Beacon, name:LoWPAN_352, xpanid:87ecc1eb76b5d7c0, id:3 ver:2, joinable:no, ?
***LOCKED UP***

Performing a scan where we received a beacon response:
[0000039579] [DEBG]-MAC-----: Request to start operation "ActiveScan"
[0000039579] otPlatRadioReceive
[0000039579] [DEBG]-MAC-----: Starting operation "ActiveScan"
[0000039579] otPlatUartSend: 8 bytes
[0000039580] APP_USBD_CDC_ACM_USER_EVT_TX_DONE
[0000039580] otPlatUartSendDone
[0000039581] [INFO]-MAC-----: Sending Beacon Request
[0000039581] otPlatRadioReceive
[0000039581] otPlatRadioTransmit
[0000039587] [INFO]-MAC-----: Received Beacon, name:blahnet, xpanid:b0a30278d86d2d8d, id:3 ver:2, joinable:no, na?
***LOCKED UP***

It is unclear to me if this is beacon-specific, or if this represents a general problem with sending/receiving packets.
Note that this behavior only seems to occur when using USB=1. When using the plain vanilla UART I don't see these issues.

Looks like some stack corruption has led to the NCP getting stuck in HardFault_Handler():
Remote debugging using localhost:2331
HardFault_Handler () at /usr/local/google/home/rquattle/Projects/openthread/examples/../examples/platforms/nrf52840/../../../third_party/NordicSemiconductor/device/gcc_startup_nrf52840.S:428
428                                                       b       .
(gdb) bt
#0  HardFault_Handler () at /usr/local/google/home/rquattle/Projects/openthread/examples/../examples/platforms/nrf52840/../../../third_party/NordicSemiconductor/device/gcc_startup_nrf52840.S:428
#1  <signal handler called>
#2  ot::Mac::Mac::ConvertBeaconToActiveScanResult (this=0x0 <__isr_vector>, aBeaconFrame=0x0 <__isr_vector>, aResult=...) at /usr/local/google/home/rquattle/Projects/openthread/examples/../src/core/mac/mac.cpp:311
#3  0x00000000 in ?? ()
(gdb) up 2
#2  ot::Mac::Mac::ConvertBeaconToActiveScanResult (this=0x0 <__isr_vector>, aBeaconFrame=0x0 <__isr_vector>, aResult=...) at /usr/local/google/home/rquattle/Projects/openthread/examples/../src/core/mac/mac.cpp:311
311         return error;

It looks like there is a problem with the logging code in examples/platforms/nrf52840/logging.c starting on 168:
length += vsnprintf(&logString[length], (LOG_PARSE_BUFFER_SIZE - length),
                    aFormat, paramList);
logString[length++] = '\n';
va_end(paramList);

This code is making an incorrect assumption about the return value of vsnprintf(). The return value of the printf() functions is NOT the number of bytes written to the string, it is the number of characters that it would have output if there were no length constraints. For example, both of the following calls to snprintf() will return the value 10:

snprintf(mystring, 5, "0123456789");
snprintf(mystring, 20, "0123456789");

By changing the code in question to the following, the problem is addressed:
length += vsnprintf(&logString[length], (LOG_PARSE_BUFFER_SIZE - length),
                    aFormat, paramList);
if (length > LOG_PARSE_BUFFER_SIZE)
{
    length = LOG_PARSE_BUFFER_SIZE;
}
logString[length++] = '\n';
va_end(paramList);

Proposed fix in #2384.

Great catch! Thank you for helping us with this issue. Indeed vsnprintf return value was incorrectly interpreted.

Resolved by #2384.


Switch to Jest

What do you think about using Jest instead of AVA? It is made with React in mind, is supposed to be very fast‚ provides built-in test coverage and has things like snapshot testing, mocking, etc.
NPM download trends are favoring Jest since v15 came out in September. React-boilerplate just switched to Jest and not very scientific but this tweet shows 4x speed improvement and this tweet shows 10x improvement.
"Automatic" migration instructions.

Yeah I would also suggest jest as its more suited for testing frontend and also find it better to use.

Sounds great since we also have a jest example in the examples directory


Multiple word cities used to work, now don't

I used to use the following command to get the weather in New Orleans, Louisiana, USA:
ansiweather -l New_Orleans,LA
This now returns ERROR: Cannot fetch weather data
This error appears no matter what format I use (quotes, backslash to escape the space, US instead of LA, etc.)
I've used the openweathermap city ID as a workaround, but it's unfortunate that some variation of the actual city name can't be used for multi-word cities.

This at least works here:
ansiweather -l New%20Orleans,US
The ansiweather I used seems to be identical to one from Aug 30, 11:14, this year ...

Thanks! %20 works great. I'll use that in the future.

Welcome ... ;) - and it wasn't my idea: here's more on it ...

The API used to accept underscores to encode spaces in city names, and ansiweather converted spaces to underscores. Now that it doesn't work anymore, I switched to using '%20' instead in ff37c1c1bb6e77f811a6f6a79e73fa9510a0a514.
Thanks for reporting the issue.


Sticky Inspect action bar

Issue:
When you are deep inspecting a lot of elements that the container overflows to scrolling, the action bar containing Select All, Bulk Remap, and Remove Selected can get hidden and requires scrolling up.
Fix:
This change moves that action bar outside of the scroll-container so the action bar is always visible no matter how far you scroll down, removing the need to scroll back to the top and improving UX.

If no tokens are available in the inspect container, the bar will not be shown.

@dermyhughes Thank you so much, this is awesome and such a quick fix. I'll merge this in!


Added Apache milagro and secp256k1

This implements SECP256k1 ECDSA using Apache Milagro.
This is the first step to reconcile what the Sawtooth implementation and begin removing outside dependencies. First step towards using the simple naming convention.

Where did the amcl directory originate? Is that all new code for this library, or copied from milagro?

@vaporos amcl was generated from Apache Milagro. We cannot copy the code as it is from Milagro, it has to be generated for the curves we need.

Can the Milargo files be generated as part of a build step instead of checking them in?

The problem is how apache milagro is built.  The result is a rust project that can be included. You can only make it once. You would have to run git checkout -- to undo the build and redo it if needed. This sounds like a good idea that we can explore but not for this PR.

I think this style of interface looks good. We have some extra boiler plate code in the existing Sawtooth signing interface that would be nice to clean simplify. I know @vaporos has important concerns on backwards compatibility.
I could see adopting this library at a major release of sawtooth and it seems we could handle backwards compatibility cleanly at that point while simultaneously picking up the potential advantages of this library.


php83: init at 8.3.0-alpha2

This PR:

Introduces PHP 8.3.0 at version alpha2
Includes a patch from @nielsdos (thanks mate!) for fixing the issue with fileinfo extension (see https://github.com/php/php-src/issues/11408)

Description of changes

Things done

Built on platform(s)

[x] 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.11 Release Notes (or backporting 23.05 Release notes)

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

[ ] Fits CONTRIBUTING.md.

@GrahamcOfBorg build php81 php82 php83
@GrahamcOfBorg test php81 php82 php83

@GrahamcOfBorg build php81 php82 php83
@GrahamcOfBorg test php81 php82 php83

@GrahamcOfBorg build php81 php82 php83
@GrahamcOfBorg test php81 php82 php83

@GrahamcOfBorg build php81 php82 php83
@GrahamcOfBorg test php81 php82 php83

@GrahamcOfBorg build php81 php82 php83
@GrahamcOfBorg test php81 php82 php83

@GrahamcOfBorg build php81 php82 php83
@GrahamcOfBorg test php81 php82 php83

@GrahamcOfBorg build php81 php82 php83
@GrahamcOfBorg test php81 php82 php83

@GrahamcOfBorg build php81 php82 php83
@GrahamcOfBorg test php81 php82 php83

@GrahamcOfBorg build php81 php82 php83
@GrahamcOfBorg test php81 php82 php83

@GrahamcOfBorg build php81 php82 php83
@GrahamcOfBorg test php81 php82 php83

@GrahamcOfBorg build php81 php82 php83
@GrahamcOfBorg test php81 php82 php83

@GrahamcOfBorg build php81 php82 php83
@GrahamcOfBorg test php81 php82 php83

So PHP builds fine, the FPM test works fine... However, Apache is quite
broken.
I just get this stack trace: http://ix.io/4z3v ending in a core dump. To me
this seems like an upstream issue, however I'm not sure about that. It's
just a hunch.
On Sat, Jun 24, 2023, 18:41 Pol Dellaiera @.***> wrote:

@GrahamcOfBorg https://github.com/GrahamcOfBorg build php81 php82 php83
@GrahamcOfBorg https://github.com/GrahamcOfBorg test php81 php82 php83
—
Reply to this email directly, view it on GitHub
https://github.com/NixOS/nixpkgs/pull/239151#issuecomment-1605632566,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADQZEWXCZUKOJXAH56G3YLXM4KCDANCNFSM6AAAAAAZP6AMBQ
.
You are receiving this because your review was requested.Message ID:
@.***>

@etu see https://github.com/php/php-src/issues/11529

@GrahamcOfBorg build php81 php82 php83
@GrahamcOfBorg test php81 php82 php83

@GrahamcOfBorg build php81 php82 php83
@GrahamcOfBorg test php81 php82 php83

@GrahamcOfBorg build php81 php82 php83
@GrahamcOfBorg test php81 php82 php83

@GrahamcOfBorg build php81 php82 php83
@GrahamcOfBorg test php81 php82 php83

@GrahamcOfBorg build php81 php82 php83
@GrahamcOfBorg test php81 php82 php83

@GrahamcOfBorg build php81 php82 php83
@GrahamcOfBorg test php81 php82 php83

@GrahamcOfBorg test php81 php82 php83


Auto-upgrade to <IP_ADDRESS>

Base PullRequest
default branch (https://github.com/http4k/http4k-connect/tree/master)
Command results

Details:

add path
/home/runner/work/_actions/technote-space/create-pr-action/v2/node_modules/npm-check-updates/bin

./upgrade_http4k.sh <IP_ADDRESS>

Changed files

Changed file:

gradle.properties

:octocat: Repo | :memo: Issues | :department_store: Marketplace

Codecov Report

Merging #64 (643a4af) into master (39ac243) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #64   +/-   ##
=========================================
  Coverage     59.16%   59.16%
  Complexity      625      625
=========================================
  Files           342      342
  Lines          3394     3394
  Branches        263      263
=========================================
  Hits           2008     2008
  Misses         1215     1215
  Partials        171      171

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 39ac243...643a4af. Read the comment docs.


Update NOTICE.txt

(this is the automated NOTICE.txt update for April 2019)

Copyright info updates

This issue has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!
/cc @jasonblais @hanzei

@amyblais Is this ready to merge?

Merging

Actually, I no longer have merge permissions on this repo, @hanzei can you help merge?

Nope. I don't have the permission either. I've asked Chris to grant me the permission.

@jasonblais Figured out why we where not able to merge. PR in this repository require two approvals to be merged. :man_facepalming:


Cannot move cropper

I want to use the full image but with overflow style
.ReactCrop {
overflow: scroll;
.ReactCrop__image {
max-width: fit-content;
}
}
But the cropper seems to allow me to move only in the initial view of the img....
When i scroll and try to create new crop id doesnt allow me its stuck only on the initial view...
Is there a way to bypass it ?

Hi I’m not sure what you mean by “stuck on the initial view” are able to make a codesandbox example of video?

Closing due to inactivity

Closing due to inactivity

i) These are the props that are being used: (version 9.1.1)

ii) Once I try to scale out image, the freedom to move the cropper gets restricted to the highlighted red area only.
I tried finding if the image style is being restricted, turns out it was also not the case here, I am really confused with it any leads will be appreciated.

iii) You can try out by adding scale = {0.5} in this sandbox: https://codesandbox.io/s/72py4jlll6?file=/src/index.js

@DominicTobias

@DSp4wN thanks for the sandbox, I can repro the issue. However please update to v10 which doesn't have the issue (I just took it out of beta): https://codesandbox.io/s/react-image-crop-demo-with-react-hooks-y831o

@DominicTobias I tried v10 but on changing aspect using a button the cropper needs to be interacted for it to change, and not getting reflected immediately after state change of aspect.

@DSp4wN are you able to make a demo of the issue? Here's an example of changing aspect:
https://codesandbox.io/s/react-image-crop-demo-with-react-hooks-forked-w1gskz?file=/src/App.tsx
It's more manual than before - the library doesn't complete the crops like before, this caused me a bunch of issues in the past, the most serious being infinite loops, so I changed it to be all manual with some helper functions like makeAspectCrop and centerCrop

I was actually using a class component so it doesn't work in class component if we only change aspect, but I happen to make it work by changing aspect as well as updating the crop state by {...this.state.crop, width: this.state.crop.width*aspect}, so it actually produces the same visual change as it should have.
Thanks a lot for helping me out in such a short time @DominicTobias, really appreciated 💯.
Great work :)


Build chart status is not aligned with the reported status of the ref.

When the only steps in progress are experimental, the build status finalises as "passed" or "failed. However, this status is not reflected in the build chart - here it can still be shown in grey to indicate "in-progress"
The build status of the ref should be the same as what is shown in the build chart.

The build chart statuses are fetched from the Commit_cache -- how are these not in sync with the status derived from summarise in lib/pipelines.ml -- is this related to the incomplete history issue #783? Any ideas please @maiste @benmandrew?

This appears to have been fixed by #786 as well. Closing for now. Please re-open if this is observed again.


Proposal: have store use CephFS instead of the fragile backup/restore logic

Currently, the deis-database component achieves HA by pushing full backups and WAL logs to the store component via an S3 API. Should the host fail, the component moves hosts, restores from the latest backup, and replays WAL logs until it is fully restored. The backup/restore loop in store seems to be fragile (#2741) and in some cases, it seems to stop backing up entirely (#3276).
This issue proposes changing database to write its Postgres data directly to the CephFS shared filesystem, removing the fragile bin/boot backup logic. Backups to Ceph/S3 via WAL-e would become optional and a true backup strategy, no longer necessary for restoration during HA failover.
This would have some advantages:

Recovery is instantaneous once the component starts -- currently, restoring from a backup and replaying WAL logs can take a few minutes
Data loss wouldn't be possible -- if database can't write to CephFS for some reason, it should crash/restart, indicating an issue with the underlying storage

This change would make it harder for folks to remove the Ceph requirement (#3223), although arguably it would make the implementation more stable/reliable.
An alternative would be to rewrite the backup/restore logic for database using WAL-e, although it seems difficult to get 100% correct in every event.
Curious to hear thoughts from folks.
/cc @aledbf @ianblenke

Given past experience I had with cephfs on HVM, I'd be hesitant. Since then, however, I've had some pretty good experiences with cephfs on PV. For sheer speed, I wouldn't recommend it. But Deis doesn't need speed here, it needs reliability.  So long as the ceph-mds doesn't eat itself (which has actually happened to me a few times with HVM), it does seem to power through with availability.
The larger risk here though is IO fencing. By this, I mean you do not want more than one postgres writer able to write to the same postgres datastore at the same time.
CephFS isn't GFS2. It isn't OCFS2. Both lean on a DLM like GULM to ensure IO fencing between the multiple players in the filesystem, locking writes to ensure the storage is quiescent.
Postgres has never been meant to "share" a data store. Knowing how well it handles timelimes today, I can only imagine the horrors that will happen if two postgres instances on two separate servers are permitted to simultaneously write to a shared directory tree containing the raw pg_xlog/pg_clog/pg_log/* files. Remember that slaves write too, it's how they replicate.
For that reason, I'm not sure if it is wise to move the shared postgres data store to ceph-fs.
Have you taken a look at Joyent's SDC stuff, specifically manatee? (https://github.com/joyent/manatee)
That's the approach the flynn project has taken.

Given @ianblenke's comments and that the root cause of #3276 seems to be addressed by #3128, I'm going to close this as a won't-fix.


Replace therubyracer with execjs (if possible)

So thinking about therubyracer/mini_racer stuff in #1919 lead me to finding out about https://github.com/rails/execjs
Essentially, it seems to be a wrapper around all the possible ruby JS implementations.
Theoretically, that means that we should be able to rip out the current direct binding to therubyracer, and replace it with execjs, and have everything just work.
Creating this separate issue so it doesn't get stuck in my dockerfile rewrite stuff.
Is this something anyone else would like to tackle? Shouldn't be overly difficult, but i'm well aware of my time pressures at the moment, and so not sure I will get to it in any sort of reasonable timeframe at the moment.

I don't think that will work. execjs only allows to execute javascript code, but we are also adding functions which will always be specific to the javascript runtime. I will have a look at mini_racer, it sounds like it would both speed up asset precompilation as well as the JavascriptAgent.

I'm going to close this for now, in light of #1961 Can reopen again later if required.


[TW#13147] wifi disconnect function - deleting many times

Hi,
I'm using raspberry pi as AP for esp32, and i was checking the events generated on the raspberry wifi module using the command 'iw event -r'. This is the output:
5.899425: wlan0: del station 24:0a:c4:03:53:b8
0.000870: wlan0: del station 24:0a:c4:03:53:b8
0.000583: wlan0: del station 24:0a:c4:03:53:b8
0.000428: wlan0: del station 24:0a:c4:03:53:b8
0.000482: wlan0: del station 24:0a:c4:03:53:b8
0.000573: wlan0: del station 24:0a:c4:03:53:b8
0.000333: wlan0: del station 24:0a:c4:03:53:b8
0.000425: wlan0: del station 24:0a:c4:03:53:b8
0.006560: wlan0: del station 24:0a:c4:03:53:b8
0.000894: wlan0: del station 24:0a:c4:03:53:b8
0.000475: wlan0: del station 24:0a:c4:03:53:b8
9.222153: wlan0: new station 24:0a:c4:03:53:b8
My function is:
void disconnet() {     esp_wifi_stop();     esp_wifi_deinit();     esp_wifi_disconnect();     esp_restart(); }
I've tried many combinations of this code, and it's mostly the same result.
After the restart it does the standard wifi connect used in the basic examples.
When i dissociate using for example my phone or my computer this is the output:
0.693711: wlan0: del station b4:9d:0b:1d:64:9c
0.001025: wlan0: del station b4:9d:0b:1d:64:9c
11.567075: wlan0: new station b4:9d:0b:1d:64:9c
I'm doing something wrong? Is there a way to solve this?
Thanks

Ｈｉ @SirRibeiro could you provide the whole WIFI event handling code?  Then I can know what happens when disconnect the connections.
BTW, if esp_restart is called, then all other APIs, esp_wifi_stop(); esp_wifi_deinit(); esp_wifi_disconnect(); are not necessary because esp_restart will call esp_wifi_stop and esp_wifi_stop will disconnect all connections internally.  If you really want to disconnect the WIFI yourself, the right sequence should be esp_wifi_disconnect, esp_wifi_stop, esp_wifi_deinit.

Thanks for the response @liuzfesp,
I didn't knew that the esp_restart() was already doing that sequence.
Perfect this way i don't have to worry about that.
So my event_handler code is:

char MyAddr[20] = { 0 };

static esp_err_t event_handler(void *ctx, system_event_t *event)
{
    switch(event->event_id) {
    case SYSTEM_EVENT_STA_START:
        esp_wifi_connect();
        break;
    case SYSTEM_EVENT_STA_GOT_IP:
        xEventGroupSetBits(wifi_event_group, CONNECTED_BIT);
		sprintf(MyAddr,"%d.%d.%d.%d",IP2STR(&event->event_info.got_ip.ip_info.ip));
		printf("\n\nMy Ip is: %s\n\n",MyAddr);
        break;
    case SYSTEM_EVENT_STA_DISCONNECTED:
        /* This is a workaround as ESP32 WiFi libs don't currently auto-reassociate. */
        esp_wifi_connect();
        xEventGroupClearBits(wifi_event_group, CONNECTED_BIT);
        break;
    default:
        break;
    }
    return ESP_OK;
}

And my initialise_wifi:

struct addrinfo hints;
static EventGroupHandle_t wifi_event_group;
String network = "SSID";
String network_pass = "SSID_PWD";
char macStr[18] = { 0 };

static void initialise_wifi(void)
{
    tcpip_adapter_init();
    wifi_event_group = xEventGroupCreate();
    ESP_ERROR_CHECK( esp_event_loop_init(event_handler, NULL) );
    wifi_init_config_t cfg = WIFI_INIT_CONFIG_DEFAULT();
    ESP_ERROR_CHECK( esp_wifi_init(&cfg) );
    ESP_ERROR_CHECK( esp_wifi_set_storage(WIFI_STORAGE_RAM) );

    wifi_config_t wifi_config;

    strcpy(reinterpret_cast<char*>(wifi_config.sta.ssid), network.c_str());
    strcpy(reinterpret_cast<char*>(wifi_config.sta.password), network_pass.c_str());

    printf("Setting WiFi configuration SSID: %s\n", wifi_config.sta.ssid);
    ESP_ERROR_CHECK( esp_wifi_set_mode(WIFI_MODE_STA) );
    ESP_ERROR_CHECK( esp_wifi_set_config(ESP_IF_WIFI_STA, &wifi_config) );
    ESP_ERROR_CHECK( esp_wifi_start() );

    uint8_t mac[6];
    esp_wifi_get_mac(WIFI_IF_STA, mac);
    sprintf(macStr, "%02X:%02X:%02X:%02X:%02X:%02X", mac[0], mac[1], mac[2], mac[3], mac[4], mac[5]);
    printf("\n\n\n\n\n\nMy Mac is: %s\n\n\n\n\n",macStr);

    memset(&hints, 0, sizeof(hints));
    hints.ai_family   = AF_INET;
    hints.ai_socktype = SOCK_STREAM;
}

Thanks

Hi, sorry that we cannot reproduce your problem, if your problem is still unsolved on the latest IDF, please feel free to reopen it.


Missing translations

Lunar version: 1.x

Collection navigation label is untranslatable - hardcoded in resource
Also missing translations for:

table heading for popular products table at dashboard
discounts navigation group
in discounts edit: menu "edit discount", Collections and Brands header for limitations, type field (label and options), Fixed value and percentage
settings -> product options -> values, name and position in table
tax-zones table - "country" for type
orders - "All" in table filters (i mean in orders statuses)
products list/table - statuses
headers in product availability
whole product media except button "create" and links "edit" and "remove"
almost while product variants (when it's empty, didn't check with variants cuz don't have any at this moment)
product associations except table "name" heading
brands - "edit brand" menu option, media header (lunar::base.standard-media-definitions.collection-titles.images)
collections - "Name" in "add collection" modal/popup, whole media,
full months name for: dashboard charts, tables filters, transactions, activity logs are english when short months names like in orders tables rows are translated

For now that's all what I found. I'll let know if there will be something else.

Hey guys, just to add, theres a typo on translation for ('lunarpanel::discount.form.priority.options.medium.label')

bump


Add zoom function to images

Description
Added this https://www.npmjs.com/package/medium-zoom to be able to zoom images in our customer stories
Related Issue(s)

Checklist

[x] I have read the contribution guidelines
[x] I have considered the performance impact of these changes
[ ] Suitable unit/system level tests have been added and they pass
[ ] Documentation has been updated

Excellent stuff @Yndira-FlowForge! Works great


All my devices are offline after update

Logger: custom_components.sonoff.core.ewelink.cloud
Source: custom_components/sonoff/core/ewelink/__init__.py:127
Integration: Sonoff ([documentation](https://github.com/AlexxIT/SonoffLAN), [issues](https://github.com/AlexxIT/SonoffLAN/issues))
First occurred: 1:51:07 PM (150 occurrences)
Last logged: 1:56:55 PM
Cloud WS exception

Traceback (most recent call last):
  File "/config/custom_components/sonoff/core/ewelink/cloud.py", line 252, in _connect
    await self._process_ws_msg(resp)
  File "/config/custom_components/sonoff/core/ewelink/cloud.py", line 292, in _process_ws_msg
    self.dispatcher_send(SIGNAL_UPDATE, data)
  File "/config/custom_components/sonoff/core/ewelink/base.py", line 25, in dispatcher_send
    handler(*args, **kwargs)
  File "/config/custom_components/sonoff/core/ewelink/__init__.py", line 127, in cloud_update
    elif device["online"] is False:
KeyError: 'online'

AND
Logger: homeassistant.components.automation.call_service_sonoff_update_consumption
Source: components/automation/__init__.py:519
Integration: Automation ([documentation](https://www.home-assistant.io/integrations/automation), [issues](https://github.com/home-assistant/home-assistant/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+automation%22))
First occurred: 1:51:08 PM (1 occurrences)
Last logged: 1:51:08 PM
Error while executing automation automation.call_service_sonoff_update_consumption: Unable to find service sonoff.update_consumption

Consumption service deprecated.

Do you have sonoff > devices section in YAML file?

not for devices only RFbridge, the rest comes automatically.
username: !secret EwelinkEmail
password: !secret EwelinkPWS
debug: false
force_update: [temperature, power]
scan_interval: "00:05:00" # (optional) default 5 minutes
sensors: [temperature, humidity, power, current, voltage, dw1, dw2, consumption]
rfbridge:
MDLivingroom: # sensor name in eWeLink application
device_class: motion
timeout: 60 # optional (default 120), timeout in seconds for auto turn off
MDLivingroom2: # sensor name in eWeLink application
device_class: motion
timeout: 60 # optional (default 120), timeout in seconds for auto turn off
MDAltan: # sensor name in eWeLink application
device_class: motion
timeout: 60 # optional (default 120), timeout in seconds for auto turn off
.
.
.

I have rolled back to previous version and works again.

I had the same bug and i'm rolling back to last stable.

Maybe you both have DIY enabled devices? That still present in ewelink app.
Or you have some local devices don't connected to your Hass ewelink account?

No I have only device that work from HA and the admin account that I use is only used in home assistant

I can fix a bug very quickly. I just don't understand how to make the same situation happen

I have the same problem only with the difference that everything works in versions 2.x, but I get an import error.
There is no import error in version 3.x, but some devices are offline but I can see them online in the ewelink application. The ewelink manager account is only used for HA and I use other shared accounts for the ewelink application

.

You showing error from 2nd version Integration. It can't connect to old ewelink API. New version using new ewelink API

ok, I found the error, in ewelink I had set 2 "houses" the integration "imports" only the first one and not the second one.

@AlexxIT thanks for your work, now i had delete second home.

@Apeiv I will try to support multiple homes :)

Multiple homes support added to latest beta:
https://github.com/AlexxIT/SonoffLAN/releases/tag/v3.0rc4

@Marmoulak are you also using multiple Homes in ewelink app?
@Apeiv Integration import not "first one". It imports "active" one. The last open Home in ewelink app.
I have only one Home.

I just update to v3.0rc4 and everything works. Thanks, nice work.


Show final output when teatest.WaitFor fails

Is your feature request related to a problem? Please describe.
It's very hard to debug teatest.WaitFor failures due to timeout. You have no idea where it's stuck. So you have to resort to trial & error. I am happy to send a PR to fix this
Describe the solution you'd like
Print the final output in the error message
Describe alternatives you've considered
I am currently using a patched version of WaitFor
Additional context
Add any other context or screenshots about the feature request here.

func WaitFor(
	tb testing.TB,
	r io.Reader,
	condition func(bts []byte) bool,
	options ...teatest.WaitForOption,
) {
	tb.Helper()
	if err := doWaitFor(r, condition, options...); err != nil {
		tb.Fatal(err)
	}
}

func doWaitFor(r io.Reader, condition func(bts []byte) bool, options ...teatest.WaitForOption) error {
	wf := teatest.WaitingForContext{
		Duration:      time.Second,
		CheckInterval: 50 * time.Millisecond, //nolint: gomnd
	}

	for _, opt := range options {
		opt(&wf)
	}

	var b bytes.Buffer
	start := time.Now()
	for time.Since(start) <= wf.Duration {
		if _, err := io.ReadAll(io.TeeReader(r, &b)); err != nil {
			return fmt.Errorf("WaitFor: %w", err)
		}
		if condition(b.Bytes()) {
			return nil
		}
		time.Sleep(wf.CheckInterval)
	}

	// This is the important part
	return fmt.Errorf("WaitFor: condition not met after %s. Last output:\n%s", wf.Duration, b.String())
}

yeah, that would be a good one!

I am happy to send a PR to fix this

awesome, please do 🙏


Script to convert images to vectors

Can you explain what to do mean by images to vector(specifically what does vector refer to here)?

Basically, we want to convert the pixels of a grayscale image(JPEG format) into a vector. A vector is a columnar array. Let's say the image contains 10X10 pixels(not specifically), we want to convert it into an array with 100 rows and 1 column in a csv file.

Do you want to take it up?

hey, I would like to take it up

Wondering if just scipy.ndimage.imread('prakh.jpg', mode = 'L') wouldn't work, since you are already using scipy?


Less verbose logging for process startup on INFO level

It is super important to have on INFO level which command is currently running,
but it's super annoying and it makes debugging harder if very long commands get
logged three times (with almost the exact output).
We use sh extensively for short running command invocations (like CLI git
calls) and it's just makes the log unnecessarily very noisy.
I lowered the level for the "starting process" and "process completed" messages,
and kept "process started", because it has the most information about the
process (it includes the PID).
I understand that it can be handy for longer running processes, but in that
case, DEBUG level still can be used.

This would be much better, I'd even like for al logging to be turned off if possible for when we have user-facing scripts.

Seems reasonable.  Merged :+1:
@justinlulejian Re: turning off logging for a logger, see https://stackoverflow.com/a/55396144/10019917


willing to maintaion sql standard schema support?

I'm working on a federated sql tool based on go-mysql-server. Think smaller version of apache calcite or presto. In this use case I need to handle the sql standard schema concept, which is a namespace in the database. This is implemented in many sql databases such as postgres, mssql, oracle, etc but not in mysql. Alas in go-mysql-server it does not exist.
The "proper" solution to handle this would be to either introduce a "schema" namespace object or change the table key from simple string to composite key [2]string.
However, this would require a refactoring of a large part of the code base. I could do the actual work but would you be willing to maintain such a large change that has only added value for the community and no added value for dolt?
For info, I could also use a workaround and create a composite key as string and do the splitting in my extension. But it seems less optional.

Hi @Allam76 ,
As you point out, MySQL doesn't support schemas within a database. We're not looking to add such a feature at the moment.
You can put . characters in your table names, but then you'll need to quote them in most SQL statements, e.g.:
select * from `my.table`


Add max-h-* classes

Add the max-h-* classes similar to the min-h-* ones

Thanks for the suggested, added in the latest release :)


dependecy for service manager

https://zendframework.slack.com/archives/C4QBQUEG5/p1508609218000053
It's require this package i'v got an error during using as library:

Fatal error:  Class 'Zend\ServiceManager\AbstractPluginManager' not found in /app/app/vendor/zendframework/zend-mail/src/Protocol/SmtpPluginManager.php on line 22

if suggestion package so create mechanism for check it.

See #62.

Closing as duplicate


add Mozilla branding + placeholder (!!!) artwork to Welcome screen (fixes #13, #54)

https://screenshots.firefox.com/yocjcmQmd5prMfLt/localhost

r+ great work!
merging for now as a good starting point for the 2D view of the Kiosk

nice!  Will check this out today


Arguments are dropped during composition

From @mikeharty:
# Getting double args sometimes... why?
return if owner.arguments.any? { _1.first == argument_name }

This line causes arguments to be dropped entirely - I haven't dug into the root of why the double args, but if I change that return to be next, my arguments stop being dropped.
I'm testing this against a reasonably substantial (~400 distinct types) schema and with these changes am generating identical schema to without stitching.

Good report. That line is a bit of a hack that I never got to the bottom of. The symptom it addressed was that GraphQL Ruby seems to do some autogeneration of elements in response to established schema patterns like Relay connections. This causes a duplicate argument failure when composition tries to add an argument after GraphQL has already auto-generated it.
If next solves your problem and still passes all tests, then please PR that change and let's get it in.


Game Title
Apex Legends
Game Website
https://www.ea.com/de-de/games/apex-legends
Anti-Cheat Software
Easy Anti-Cheat
Status of the Anti-Cheat
⭐ Supported
Proof of Mention
https://www.protondb.com/app/1172470

Duplicate of
https://github.com/Starz0r/AreWeAntiCheatYet/issues/366


Don't make links in preview clickable

Codecov Report

Merging #351 (96da665) into master (5c97df8) will decrease coverage by 0.17%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master     #351      +/-   ##
==========================================
- Coverage   93.70%   93.52%   -0.18%
==========================================
  Files          17       23       +6
  Lines        1413     1266     -147
  Branches      149      139      -10
==========================================
- Hits         1324     1184     -140
+ Misses         60       57       -3
+ Partials       29       25       -4

Impacted Files
Coverage Δ

src/db.py
0.00% <0.00%> (-86.49%)
:arrow_down:

src/views/messages.py
89.61% <0.00%> (-8.92%)
:arrow_down:

src/views/sms.py
96.42% <0.00%> (ø)

src/views/common.py
100.00% <0.00%> (ø)

src/views/subaccounts.py
100.00% <0.00%> (ø)

src/schema.py

src/crud.py

src/schemas/messages.py
100.00% <0.00%> (ø)

src/schemas/models.py
100.00% <0.00%> (ø)

... and 12 more

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 6c9c4e0...96da665. Read the comment docs.


After switching disableSecurity to true in IdentityAdminOptions() application stops working

Hello,
After switching disableSecurity to true in IdentityAdminOptions() application stops working.
I got following error:
"message": "An error has occurred.",
"exceptionMessage": "Object reference not set to an instance of an object.",
"exceptionType": "System.NullReferenceException",
"stackTrace": "   at IdentityAdmin.Assets.EmbeddedHtmlResult.GetResponseMessage() in IdentityServer3.Admin\\IdentityServer3.Admin\\Core\\Assets\\EmbeddedHtmlResult.cs:line 48\r\n   at IdentityAdmin.Assets.EmbeddedHtmlResult.ExecuteAsync(CancellationToken cancellationToken) in IdentityServer3.Admin\\IdentityServer3.Admin\\Core\\Assets\\EmbeddedHtmlResult.cs:line 43\r\n   at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__0.MoveNext()\r\n
--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()\r\n   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\r\n
--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\r\n
--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()\r\n   at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()\r\n
--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()\r\n   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\r\n
--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\r\n
--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()\r\n   at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()\r\n
--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()\r\n   at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()\r\n
--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()\r\n   at System.Web.Http.Dispatcher.HttpControllerDispatcher.<SendAsync>d__1.MoveNext()"
}

The disableSecurity is only used to make the Unit Test work, because they dont work with security, please don't use this in your solution.
To disable the security you can use the same LocalHostSecurityConfiguration of the Identitymanager:
https://github.com/IdentityManager/IdentityManager/wiki/Security-Configuration

It's misleading then. Remove it or add some appropriate comment.

Hmm I don't get how to easily bypass security and open website for all users using LocalHostSecurityConfiguration.

If you download the code from github, there is already a host project with
LocalHostSecurityConfiguration.
https://github.com/IdentityServer/IdentityServer3.Admin/blob/master/IdentityServer3.Admin/Host/Startup.cs
2016-01-08 9:57 GMT+01:00 pawepaw<EMAIL_ADDRESS>
Hmm I don't get how to easily bypass security and open website for all
users using LocalHostSecurityConfiguration.
—
Reply to this email directly or view it on GitHub
https://github.com/IdentityServer/IdentityServer3.Admin/issues/10#issuecomment-169938742
.

I think you didn't understand me. I mean allow all users not only from localhost.

Why should you allow this? This means everyone can adjust your Idsrv
clients and scopes without authorization.
This is not possible for the IdentityAdmin, the only thing you can do, is
download the source code and remove the security layer, but I would not
recommend that.
2016-01-08 10:32 GMT+01:00 pawepaw<EMAIL_ADDRESS>
I think you didn't understand me. I mean allow all users not only from
localhost.
—
Reply to this email directly or view it on GitHub
https://github.com/IdentityServer/IdentityServer3.Admin/issues/10#issuecomment-169946134
.

Need it just for now to make demo. I've created custom AdminHostSecurityConfiguration that allows all users and its working but i was wondering if it can be done easier.
Thanks.


Issue 1582

🗃 Github Issue Or Explanation for this PR. (What is it supposed to do and Why is needed)
#1582
✅ Checklist

[x] Github issue details are up to date for people to QA.
[x] I have tested all my changes.

🕵♂ Notes for Code Reviewer
Added app version, build# and Firebase Installation ID on support screen.
Ignore UI, I asked Json for it
🙈 Screenshots

👯♀ Paired with
"nobody"

Can we add labels infront of values?
AppVersio: 3.7.0
etc: dgfgd


Add possibility to specify where jikkou will save it's conf file

It's quite frustrating that there's no option to specify where Jikkou saves its configuration file. When setting up CI/CD, it often fails because the user doesn't have permission to modify the /etc/jikkou/config file.

Hi @micr01996,
By default, jikkou CLI try to read/write its configuration from   ~/.jikkou/config. You can specify you own file by setting the environement variable JIKKOUCONFIG (e.g., export JIKKOUCONFIG="/tmp/jikkou/config").
Let me know if this is what you were looking for. Thanks.


Update taskflow and iRODS operations for iRODS 4.3

Related to bihealth/irods-docker#16, bihealth/sodar-docker-compose#34 and bihealth/davrods-docker#3.
I have been working on updating our iRODS docker setup from 4.2 to 4.3. At the moment the server runs ok, but taskflow operations from SODAR are failing. I'll add an error dump below.
I'll be looking into fixing this and updating sodar-docker-compose for SODAR v0.14.0, as I really want to get the current release out along with our manuscript resubmission.
It's possible the python-irodsclient is simply too old, but upgrading that will create a conflict with cubi-tk..
This will most likely break compatibility with iRODS 4.2 and below.

Error in SODAR:
2023-02-01 09:14:57,898 [INFO] taskflowbackend.api: Building flow "project_create"..
2023-02-01 09:14:57,900 [INFO] taskflowbackend.api: Building flow OK
2023-02-01 09:14:57,900 [INFO] taskflowbackend.flows: Running flow "project_create"
2023-02-01 09:14:57,940 [INFO] taskflowbackend.tasks: Executed: <iRODS> Create root collection for SODAR projects (CreateCollectionTask)
2023-02-01 09:14:57,973 [INFO] taskflowbackend.tasks: Executed: <iRODS> Create collection for project (CreateCollectionTask)
2023-02-01 09:14:57,980 [INFO] taskflowbackend.tasks: Executed: <iRODS> Add title metadata to project (SetCollectionMetadataTask)
2023-02-01 09:14:57,982 [INFO] taskflowbackend.tasks: Reverted: <iRODS> Add title metadata to project (SetCollectionMetadataTask)
2023-02-01 09:14:58,045 [INFO] taskflowbackend.tasks: Reverted: <iRODS> Create collection for project (CreateCollectionTask)
2023-02-01 09:14:58,073 [INFO] taskflowbackend.tasks: Reverted: <iRODS> Create root collection for SODAR projects (CreateCollectionTask)
2023-02-01 09:14:58,074 [ERROR] taskflowbackend.flows: Exception in run_flow(): None
2023-02-01 09:14:58,075 [ERROR] taskflowbackend.api: Error running flow: None
2023-02-01 09:14:58,075 [ERROR] projectroles.views: Exception in perform_project_modify() for plugin "taskflow": Error running flow: None
Internal Server Error: /project/create/eddbfd99-2d81-4b21-ab02-e4455f3fcca9
Traceback (most recent call last):
  File "/home/mikkopen/.virtualenvs/sodar12/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
    response = get_response(request)
  File "/home/mikkopen/.virtualenvs/sodar12/lib/python3.8/site-packages/django/core/handlers/base.py", line 181, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/home/mikkopen/.virtualenvs/sodar12/lib/python3.8/site-packages/django/views/generic/base.py", line 70, in view
    return self.dispatch(request, *args, **kwargs)
  File "/home/mikkopen/.virtualenvs/sodar12/src/django-sodar-core/projectroles/views.py", line 143, in dispatch
    return super().dispatch(request, *args, **kwargs)
  File "/home/mikkopen/.virtualenvs/sodar12/lib/python3.8/site-packages/django/contrib/auth/mixins.py", line 104, in dispatch
    return super().dispatch(request, *args, **kwargs)
  File "/home/mikkopen/.virtualenvs/sodar12/lib/python3.8/site-packages/django/views/generic/base.py", line 98, in dispatch
    return handler(request, *args, **kwargs)
  File "/home/mikkopen/.virtualenvs/sodar12/lib/python3.8/site-packages/django/views/generic/edit.py", line 172, in post
    return super().post(request, *args, **kwargs)
  File "/home/mikkopen/.virtualenvs/sodar12/lib/python3.8/site-packages/django/views/generic/edit.py", line 142, in post
    return self.form_valid(form)
  File "/home/mikkopen/.virtualenvs/sodar12/src/django-sodar-core/projectroles/views.py", line 1196, in form_valid
    raise ex
  File "/home/mikkopen/.virtualenvs/sodar12/src/django-sodar-core/projectroles/views.py", line 1174, in form_valid
    project = self.modify_project(
  File "/usr/lib/python3.8/contextlib.py", line 75, in inner
    return func(*args, **kwds)
  File "/home/mikkopen/.virtualenvs/sodar12/src/django-sodar-core/projectroles/views.py", line 1131, in modify_project
    self.call_project_modify_api(
  File "/home/mikkopen/.virtualenvs/sodar12/src/django-sodar-core/projectroles/views.py", line 816, in call_project_modify_api
    raise ex
  File "/home/mikkopen/.virtualenvs/sodar12/src/django-sodar-core/projectroles/views.py", line 798, in call_project_modify_api
    getattr(p, method_name)(*method_args)
  File "/home/mikkopen/code/sodar/taskflowbackend/plugins.py", line 115, in perform_project_modify
    taskflow.submit(
  File "/home/mikkopen/code/sodar/taskflowbackend/api.py", line 244, in submit
    return self.run_flow(
  File "/home/mikkopen/code/sodar/taskflowbackend/api.py", line 187, in run_flow
    cls._raise_flow_exception(ex_msg, tl_event, None)
  File "/home/mikkopen/code/sodar/taskflowbackend/api.py", line 60, in _raise_flow_exception
    raise cls.FlowSubmitException(ex_msg)
taskflowbackend.api.TaskflowAPI.FlowSubmitException: Error running flow: None

Creating landing zones currently fails with "create collections" enabled. I suspect this may have something to do with ACL changes in iRODS 4.3. To be investigated. Dump:
[2023-10-11 16:04:07,998: ERROR/ForkPoolWorker-8] Task taskflowbackend.tasks_celery.submit_flow_task[be644992-1625-4f8b-a763-c63ad87724ac] raised unexpected: FlowSubmitException("Error running flow: 'read_object'")
Traceback (most recent call last):
  File "/home/mikkopen/.virtualenvs/sodar14/lib/python3.8/site-packages/celery/app/trace.py", line 451, in trace_task
    R = retval = fun(*args, **kwargs)
  File "/home/mikkopen/.virtualenvs/sodar14/lib/python3.8/site-packages/celery/app/trace.py", line 734, in __protected_call__
    return self.run(*args, **kwargs)
  File "/home/mikkopen/code/sodar/taskflowbackend/tasks_celery.py", line 29, in submit_flow_task
    taskflow.run_flow(
  File "/home/mikkopen/code/sodar/taskflowbackend/api.py", line 190, in run_flow
    cls._raise_flow_exception(ex_msg, tl_event, None)
  File "/home/mikkopen/code/sodar/taskflowbackend/api.py", line 63, in _raise_flow_exception
    raise cls.FlowSubmitException(ex_msg)
taskflowbackend.api.TaskflowAPI.FlowSubmitException: Error running flow: 'read_object'

Done. The API operation between 4.2 and 4.3 only differs by a couple of API parameters, so I was able to make the change in a non-breaking way. Hence, the current SODAR version works identically on both iRODS 4.2 and 4.3. I'll add separate issues for setting the default version and removing 4.2 support.


DBZ-7312 On demand blocking snapshot will not set transaction snapshot

closes: DBZ-7312

@mfvitale Applied thanks


Merge dyn-prop into main: Add support for dynamically using fields

Add support for get and set of fields via an expression rather than identifier, primarily useful for using indexing values on a dynamic object being using as a map/datastore.

coverage: 95.937% (+0.04%) from 95.9%
when pulling 10b5c23407f573d4d74537ad8fe5f19e92e445b5 on dyn-prop
into 62ad87d0d206114d008e4b765e2f1320ad002152 on main.


GetX Controller in Stack

I'm using GetX Controller on Screen A and navigating to Screen B which is also the same screen with different data but the same Controller, (its a concept of navigating inside and inside the user's profile in social media app - reference: Instagram)
The issue is when I navigate from Screen A to Screen B, Screen B data is fetched from the API which is totally fine, then when we click the back button it returns back to Screen A, but the Screen A data is replaced with Screen B data
Initialized controller like
 final ProfileViewController userProfileController =
      Get.put(ProfileViewController());

Navigating to a Screen like
Get.to(() => ScreenB());

any update?

@aashish7745 did tags do the job ?

@Dabbit-Chan Yes it works. Thanks @asimbilal0001 for the help.


Investigate where the src/main/resources/VASP.abi comes from

The ABI for the contract, src/main/resources/VASP.abi, does not seem to match any contract on the OpenVASP-contracts repo[1]. Investigate where this VASP.abi comes from.
Another option can be to take a look at https://github.com/OpenVASP/openvasp-csharp-client, to see how they implement it.

References
[1] https://github.com/OpenVASP/openvasp-contracts

This VASP.abi was given by the C# implementation team. The java client is using the exact same abi.


Fixed Crash When Pasting Code from iOS OneTimeCode

There was bug when pasting code from clipboard i.e removing last character when textfield text count was zero.

One Time Code setup for digit input view

This Pull Request solves the issue.

@iTatla1 @boranyldrm Thanks for the contribution guys


add: docker build for goreleaser

this pr adds docker build defination for gorelease builds

I couldn't build and i am getting errors . any other configuration required ?? Also please fix the github checks.


Fix ERR_MSG macros to make their behaviour consistent with normal ERR macros.

As seen in #32276, #31832, #32143, the current ERR_MSG macros sometimes seem to produce the error message provided and sometimes just the assert condition, apparently like in #32143 it also seems to differ between editor and the terminal..
This is a bandaid fix (as something else seems to cause the discrepancy, so if the error list system is used in another place, it'll still behave erratically in those cases), but this should at least make the behaviour consistent for error macro usage with and without a message.
Testing needed, CC @Xrayez @KoBeWi @qarmin mind helping out? :D

Yeah it shows up in editor now, as well as terminal:

This change would make it harder to re-add the display of the actual C++ condition though, since you're no longer passing it to the printer methods.

@akien-mga The previous solution was just having two messages passed, I feel like it could be solved better by changing the error print function itself (an optional parameter maybe?).
Either way in the status quo the C++ condition is still not there (even without this PR), unless you somehow explicitly peek at the previous error message no?

I can confirm that it works in my case.

This change would make it harder to re-add the display of the actual C++ condition though, since you're no longer passing it to the printer methods.

Re-adding the C++ condition display was trivial, as it was still part of the error message as expected: #32333.
I think this PR would break that (not tested though).
BTW, ERR_FAIL_*INDEX_MSG doesn't work, because the print function used for *INDEX* doesn't take the error message into account.

Oh yeah, I will close this PR then and just go reinvestigate what actually causes the display to not function sometimes if it still errors sometimes (after the C++ error cond PR Is merged), thanks for looking into it @akien-mga (sorry I pushed a half-baked PR) :P
Slightly better understanding of the error system now at least 🤔


Restoring files from Sharepoint results in 500 error page

Describe the bug
We've a lot of customers backed up with Sharepoint, we've been trying to restore plain files from the sharepoint by downloading the item. However we're prompted with a '500 - Internal server error. There is a problem with the resource you are looking for, and it cannot be displayed.'
To Reproduce
Steps to reproduce the behavior:

Go to 'SharePoint and open a session'
Find a file to restore (for example .xlsx which we were trying)
Click the option do download plain file.
See error

Expected behavior
Normally the file should be downloaded from the restore session.
Screenshots
Not applicable
Desktop (please complete the following information):

OS: Server 2019 running IIS
Browser: Chrome
Version: 91

Additional context
Restoring from the console works just fine.
Checking the open session it does restore the item to C:\Windows\Temp. But the file is gone when opening this directory.

This looks like an issue with Web.Config that blocks access to the download.php file. Do you see anything specific in the IIS access or error logs?

I see the following logs, but doesn't really show smth that blocks it, I see the following info:
2021-06-02 07:31:24 * 63563 <IP_ADDRESS> 443 HTTP/2 GET /sharepoint/*-*-*-*-* 53 - 2 Connection_Dropped VBO365-REST
2021-06-02 07:31:24 * 63563 <IP_ADDRESS> 443 HTTP/2 GET /sharepoint/*-*-*-*-*  55 - 2 Connection_Dropped VBO365-REST
2021-06-02 07:31:24 * 63563 <IP_ADDRESS> 443 HTTP/2 GET /sharepoint/*-*-*-*-*  57 - 2 Connection_Dropped VBO365-REST
2021-06-02 07:31:24 * 63563 <IP_ADDRESS> 443 HTTP/2 GET /sharepoint/*-*-*-*-*  59 - 2 Connection_Dropped VBO365-REST
2021-06-02 07:31:24 * 63563 <IP_ADDRESS> 443 HTTP/2 GET /sharepoint/*-*-*-*-* 61 - 2 Connection_Dropped VBO365-REST
2021-06-02 07:31:59 * 63563 <IP_ADDRESS> 443 HTTP/2 GET /sharepoint/*-*-*-*-* 63 - 2 Connection_Dropped VBO365-REST
2021-06-02 07:31:59 * 63563 <IP_ADDRESS> 443 HTTP/2 GET / 65 - 2 Connection_Dropped VBO365-REST
2021-06-02 07:31:59 * 63563 <IP_ADDRESS> 443 HTTP/2 GET / 67 - 2 Connection_Dropped VBO365-REST
2021-06-02 07:31:59 * 63563 <IP_ADDRESS> 443 HTTP/2 POST / 69 - 2 Connection_Dropped VBO365-REST
2021-06-02 07:32:43 * 59069 <IP_ADDRESS> 443 - - - - - - ClientCancel -
2021-06-02 07:33:14 * 63563 <IP_ADDRESS> 443 HTTP/2 GET / 73 - 2 Connection_Dropped VBO365-REST
2021-06-02 07:33:14 * 63563 <IP_ADDRESS> 443 HTTP/2 GET / 71 - 2 Connection_Dropped VBO365-REST
2021-06-02 07:34:34 * 59068 <IP_ADDRESS> 443 HTTP/2 POST / 33 - 2 Connection_Dropped VBO365-REST
2021-06-02 07:34:34 * 63563 <IP_ADDRESS> 443 HTTP/2 GET / 75 - 2 Connection_Dropped VBO365-REST
2021-06-02 07:43:29 * 63563 <IP_ADDRESS> 443 - - - - - - Timer_ConnectionIdle -
2021-06-02 07:47:06 * 59068 <IP_ADDRESS> 443 - - - - - - Timer_ConnectionIdle -
2021-06-02 07:57:23 * 60137 <IP_ADDRESS> 443 - - - - - - Timer_ConnectionIdle -

The access logs:
2021-06-02 07:52:21 * GET / - 443 - * Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/90.0.4430.212+Safari/537.36 - 200 0 0 417
2021-06-02 07:52:32 * GET / - 443 - * Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/90.0.4430.212+Safari/537.36 - 200 0 0 761
2021-06-02 07:52:32 * GET /favicon.ico - 443 - * Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/90.0.4430.212+Safari/537.36 https://*/ 200 0 0 30
2021-06-02 07:52:36 * POST /index.php - 443 - * Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/90.0.4430.212+Safari/537.36 https://*/ 200 0 0 18
2021-06-02 07:52:37 * GET /index.php - 443 - * Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/90.0.4430.212+Safari/537.36 https://*/index.php 200 0 0 9
2021-06-02 07:52:37 * GET /favicon.ico - 443 - * Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/90.0.4430.212+Safari/537.36 https://*/index.php 200 0 0 20
2021-06-02 07:52:41 * POST /index.php - 443 - * Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/90.0.4430.212+Safari/537.36 https://*/index.php 200 0 0 620
2021-06-02 07:52:43 * GET /sharepoint - 443 - * Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/90.0.4430.212+Safari/537.36 https://*/index.php 200 0 0 351
2021-06-02 07:53:46 * GET /sharepoint/* - 443 - * Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/90.0.4430.212+Safari/537.36 https://*/sharepoint 200 0 0 60637
2021-06-02 07:54:08 * POST /veeam.php - 443 - * Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/90.0.4430.212+Safari/537.36 https://*/sharepoint/* 200 0 0 844
2021-06-02 07:54:22 * GET /sharepoint - 443 - * Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/90.0.4430.212+Safari/537.36 https://*/sharepoint/* 200 0 0 14357
2021-06-02 07:54:32 * GET /sharepoint/*/* - 443 - * Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/90.0.4430.212+Safari/537.36 https://*/sharepoint 200 0 0 4677
2021-06-02 07:54:45 * GET /sharepoint/*/*/*/*/library - 443 - * Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/90.0.4430.212+Safari/537.36 https://*/sharepoint/*/* 200 0 0 4769
2021-06-02 07:54:49 * POST /veeam.php - 443 - * Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/90.0.4430.212+Safari/537.36 https://*/sharepoint/*/*/*/*/library 200 0 0 1259
2021-06-02 07:54:50 * POST /veeam.php - 443 - * Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/90.0.4430.212+Safari/537.36 https://*/sharepoint/*/*/*/*/library 200 0 0 2510
2021-06-02 07:54:55 * POST /veeam.php - 443 - * Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/90.0.4430.212+Safari/537.36 https://*/sharepoint/*/*/*/*/library 200 0 0 1684
2021-06-02 07:54:57 * POST /veeam.php - 443 - * Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/90.0.4430.212+Safari/537.36 https://*/sharepoint/*/*/*/*/library 200 0 0 3363
2021-06-02 07:55:01 * POST /veeam.php - 443 - * Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/90.0.4430.212+Safari/537.36 https://*/sharepoint/*/*/*/*/library 200 0 0 2037
2021-06-02 07:55:03 * POST /veeam.php - 443 - * Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/90.0.4430.212+Safari/537.36 https://*/sharepoint/*/*/*/*/library 200 0 0 4105
2021-06-02 07:55:08 * POST /veeam.php - 443 - * Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/90.0.4430.212+Safari/537.36 https://*/sharepoint/*/*/*/*/library 200 0 0 2280
2021-06-02 07:55:10 * POST /veeam.php - 443 - * Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/90.0.4430.212+Safari/537.36 https://*/sharepoint/*/*/*/*/library 200 0 0 4598
2021-06-02 07:55:18 * POST /veeam.php - 443 - * Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/90.0.4430.212+Safari/537.36 https://*/sharepoint/*/*/*/*/library 200 0 0 2319
2021-06-02 07:55:18 * POST /download.php - 443 - * Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/90.0.4430.212+Safari/537.36 https://*/sharepoint/*/*/*/*/library 500 0 0 57```

I can't see any 500 error in there either. Is this happening with any file/message you download?


Test Engine custom toolchain support on CI

We should test on CI that building the Engine with a custom toolchain and sysroot continue to work (that is, that the gn and ninja steps here https://medium.com/flutter/flutter-on-raspberry-pi-mostly-from-scratch-2824c5e7dcb1 continue to work). One way to do that might be to use the Linux clang toolchain we already pull and use it to build a libflutter_engine.so for armv7.

LLVM that is pulled by default with engine build it's capable of building for ARMv7, etc.  It also produces a smaller executable than when using random GCC.  The preference would be to use LLVM for as many use cases as possible.