Refactoring and debug target improvements

This PR implements changes proposed in https://github.com/vknabel/vscode-swift-development-environment/issues/27#issuecomment-414717260.
First of all, it includes some major refactoring

Introduces Current type
Avoid uses of rootPath in favor of workspaceFolders for better workspace support
Replaces allModulePaths and allModuleSources with targets
Extracted different behaviors that wrote into allModulePaths and allModuleSources into Packages

Within this PR, a Package provide autocompletion Targets (module is a keyword in JS).
The following packages are known:

availablePackages which includes all other packages. No new behavior.
configPackage providing targets from swift.targets setting. New behavior.
debugYamlPackage provides targets by reading the .build/(debug|release).yaml files. New behavior as proposed by https://github.com/vknabel/vscode-swift-development-environment/issues/27#issuecomment-414717260.
description-package provides the old behavior of SDE as fallback if debugYamlPackage is not available using swift package describe --type json. No new behavior.
swift-file-package provides a helper target containing all unused Swift files. No new behavior.

Thanks for having a deeper look!
I plan to release the update this weekend. Until then the documentation needs an update (especially the FAQ)


Fix context handling when creating sparse arrays from definition

@eric-haibin-lin
Currently when creating a sparse array from definition (ie. dense data array and indices) without specifying a context, mxnet assumes it should use the default context (eg CPU). This leads to the following crash in case that the dense data and indices arrays live on GPU.
Default GPU stream was used when MSHADOW_FORCE_STREAM was on
This PR fixes the issue by making sure the data and indices arrays live on the chosen context.

Thanks for reporting! The fix should be done in cpp (fixed in #10830).


Crash when memory is unexported

May crash when setting stream peer memory reference. Will crash if attempting to print in _start() as WASI bindings write to unassigned memory causing SIGSEGV.

Fixed with v0.2.3.


Master Issue: Function Compatibility with the Different Datatypes of AnnData Fields

Description of feature
Right now AnnData fields such as .X can have different datatypes, being e.g. numpy dense arrays, sparse arrays, or dask arrays.
Some ehrapy functions are compatible with multiple of these types, while some are not.
We can roll this out in a 2 step process:

Introduce a consistent response for functions that fail for a given datatype.
One way to implement this could be via consistent use of single-dispatch. Should also include dedicated tests.
Address functions or batches of functions step by step, and extend the datatypes they support
The order could be determined with volume of estimated usage, required effort, and typical data load (e.g. operations happening on full feature set vs lower-dimensional space)

List of affected functions

Module
Function
What to do?

.\anndata\anndata_ext.py
anndata_to_df

.\anndata\anndata_ext.py
_assert_encoded

.\anndata\anndata_ext.py
set_numeric_vars

.\anndata\anndata_ext.py
_to_dense_matrix

.\io\_read.py
_write_cache

.\io\_read.py
_decode_cached_adata

.\io\_write.py
write

.\preprocessing\_balanced_sampling.py
balanced_sample

.\preprocessing\_encoding.py
encode

.\preprocessing\_encoding.py
_one_hot_encoding

.\preprocessing\_encoding.py
_label_encoding

.\preprocessing\_encoding.py
_delete_all_encodings

.\preprocessing\_encoding.py
_update_obs

.\preprocessing\_imputation.py
explicit_impute

.\preprocessing\_imputation.py
_simple_impute

.\preprocessing\_imputation.py
knn_impute

.\preprocessing\_imputation.py
_knn_impute

.\preprocessing\_imputation.py
miss_forest_impute

.\preprocessing\_imputation.py
mice_forest_impute

.\preprocessing\_normalization.py
_scale_func_group

.\preprocessing\_normalization.py
scale_norm

.\preprocessing\_normalization.py
minmax_norm

.\preprocessing\_normalization.py
maxabs_norm

.\preprocessing\_normalization.py
robust_scale_norm

.\preprocessing\_normalization.py
quantile_norm

.\preprocessing\_normalization.py
power_norm

.\preprocessing\_normalization.py
log_norm

.\preprocessing\_normalization.py
_prep_adata_norm

.\preprocessing\_normalization.py
offset_negative_values

.\preprocessing\_quality_control.py
_obs_qc_metrics

.\preprocessing\_quality_control.py
_var_qc_metrics

.\tools\_sa.py
ols

.\tools\_sa.py
glm

.\tools\feature_ranking\_rank_features_groups.py
rank_features_groups

In addition to what @eroell mentioned, here are my initial—perhaps naive—thoughts on a potential strategy we could adopt:

Assess and Implement Full Support for All Datatypes

We could evaluate each function that manipulates layer data and ensure it supports every possible datatype.

Adopt a Standard Datatype with Conversion Extensions

Alternatively, we could standardize all functions to operate on a single datatype (for example, NumPy arrays :wink:).
Extensions could then handle the conversion of the real underlying datatype to NumPy for processing, and back to the original datatype afterward.

From a design perspective, strategy 2 is quite appealing:

It requires no changes to existing functions or tests.
Adding support for new datatypes would be straightforward if AnnData introduces them in the future.
This approach aligns partially with the purpose of anndata_ext.py functions like df_to_anndata and anndata_to_df.

However, there are downsides to consider:

Conversion Costs: These could negatively impact performance.
Optimization Loss: We may miss opportunities to apply specific optimizations for certain datatypes.
Design Fit: This conversion feature might be better implemented directly within the AnnData package itself.

Strategy 2 is more or less what we've been doing now because in almost all cases we densify. Speaking from experience, we are leaving a loooot of performance behind if we don't support sparse matrices. Moreover, enabling all algorithms with dask arrays is also important so that we can really scale and enable out-of-core computation.
I'd not worry about cupy arrays and GPU for now.
I would:

Ensure that every function converts to numpy array as a fall back if necessary.
Try to implement all functions with sparse arrays (without densifying!) where possible. This alone will be substantial work but with substantial pay offs.
Now do it again with Dask. This is again a massive massive pile of work but it will be super important to scale longterm.

We can break it up into pieces and also @aGuyLearning can potentially help here.
WDYT?

You've spotted this right @nicolassidoux - however, optimization for sparse structures if the data is sparse is huge, can reach orders of magnitude easily depending on data sparsity. Also, out of core operations will not at all be possible without following Strategy 1 :)
Agree at all points with @Zethson.

We can break it up into pieces

absolutely, the high level steps 1 and 2 are both huge. They should rather guide a rollout for this behavior, not "a PR" ;) step 2 is in fact open-end.
I'll try to make a first set of tackeable portions soon for step 1 as sub-issues

Rather than having to/from numpy functions singledispatched, and many names for _knn_impute_on_csr, _knn_impute_on_csc, I right now have this pattern in mind:
To implement this step by step for (batches of) our functions together with tests would form the implementation of high-level step 1:
(Imagine sum_entries to be _knn_impute, where data type specific operations are performed)
@singledispatch
def sum_entries(data):
    """
    Sum entries
    Arguments
    ---------
    data
        Data to sum entries of.

    Returns
    -------
    result
        Sum of entries.
    """
    raise TypeError(f"Unsupported data type: {type(data)}")

@sum_entries.register
def _(data: np.ndarray):
    print("Summing entries of a NumPy array.")
    return np.sum(data)

@sum_entries.register
def _(data: sparse.spmatrix):
    print("Summing entries of a SciPy sparse matrix.")
    return data.sum() # not so exciting example, just illustrates this could look different for this data type

Raise of TypeError for everything not explicitly ok comes in very naturally here

Looks good to me also.
I have a suggestion for a first step, if I may: we need to list every function in ehrapy that can manipulate data so we have a clear idea of what needs to be done.

Ok, so I created this list by checking if a function manipules AnnData.X or AnnData.layers. Feel free to tell me if I missed something.

Module
Function
What to do?

.\anndata\anndata_ext.py
anndata_to_df

.\anndata\anndata_ext.py
_assert_encoded

.\anndata\anndata_ext.py
set_numeric_vars

.\anndata\anndata_ext.py
_to_dense_matrix

.\io_read.py
_write_cache

.\io_read.py
_decode_cached_adata

.\io_write.py
write

.\preprocessing_balanced_sampling.py
balanced_sample

.\preprocessing_encoding.py
encode

.\preprocessing_encoding.py
_one_hot_encoding

.\preprocessing_encoding.py
_label_encoding

.\preprocessing_encoding.py
_delete_all_encodings

.\preprocessing_encoding.py
_update_obs

.\preprocessing_imputation.py
explicit_impute

.\preprocessing_imputation.py
_simple_impute

.\preprocessing_imputation.py
knn_impute

.\preprocessing_imputation.py
_knn_impute

.\preprocessing_imputation.py
miss_forest_impute

.\preprocessing_imputation.py
mice_forest_impute

.\preprocessing_normalization.py
_scale_func_group

.\preprocessing_normalization.py
scale_norm

.\preprocessing_normalization.py
minmax_norm

.\preprocessing_normalization.py
maxabs_norm

.\preprocessing_normalization.py
robust_scale_norm

.\preprocessing_normalization.py
quantile_norm

.\preprocessing_normalization.py
power_norm

.\preprocessing_normalization.py
log_norm

.\preprocessing_normalization.py
_prep_adata_norm

.\preprocessing_normalization.py
offset_negative_values

.\preprocessing_quality_control.py
_obs_qc_metrics

.\preprocessing_quality_control.py
_var_qc_metrics

.\tools_sa.py
ols

.\tools_sa.py
glm

.\tools\feature_ranking_rank_features_groups.py
rank_features_groups

Is e.g. .\tools\_sa.ols on the list b.c. it converts adata.X to a pandas dataframe?
This would not manipulate adata.X , but could create an expensive pd.DataFrame object right. This is more than enough reason to have it tracked on this list. Just want to double-check I understand it correctly :)

Yes, you're right, this function doesn't manipulate X itself but pass it to DataFrame constructor. This constructor accepts as data:

data : ndarray (structured or homogeneous), Iterable, dict, or DataFrame

So if X is something else than ndarray or DataFrame, I guess data = pd.DataFrame(adata.X, columns=adata.var_names) will throw. Hence we would have to take care of the conversion.
Btw, maybe it would be good to implement all kind of conversions (to_ndarray, to_dataframe, etc.). Of course, once again, these features would be better placed in AnnData...

I moved the list up to issue description so everyone can amend it easily,

Another question I have on the list - e.g. in ep.tl.kaplan_meier, calling _univariate_model:
https://github.com/theislab/ehrapy/blob/2e8240f7e53ecfd479e4835d1aff9cd1f981a242/ehrapy/tools/_sa.py#L469
This function and its friends should also be on the list, right? As they call anndata_to_df.
On a sidenote, to avoid this function and only pick relevant features before (e.g. survival analysis often requires just 2 or so) could be the way to have these functions "dask-ified", even if we still just call lifelines. But on a tiny slice of the data.


Question

Why did you use the hardware way of waking up the ESP after the sleep timer is up?

There is no other way - to my knowledge...
After deep sleep the RTC pulls GPIO16 when this is connected to reset, the ESP restarts, otherwise nothing happens.

Thanks!


TypeError: argument of type 'NoneType' is not iterable

Traceback (most recent call last):
File "phishpedia.py", line 157, in
logo_recog_time, logo_match_time = phishpedia_cls.test_orig_phishpedia(url, screenshot_path)
File "phishpedia.py", line 73, in test_orig_phishpedia
pred_target, matched_domain, matched_coord, siamese_conf = check_domain_brand_inconsistency(logo_boxes=pred_boxes,
File "/home/cug/Phishpedia/logo_matching.py", line 46, in check_domain_brand_inconsistency
if tldextract.extract(url).domain in matched_domain: # domain and brand are consistent
TypeError: argument of type 'NoneType' is not iterable

Solved
logo_matching.py    line 46
replace
if tldextract.extract(url).domain in matched_domain: # domain and brand are consistent
with
if matched_domain is not None and tldextract.extract(url).domain in matched_domain:  # domain and brand are consistent


Field editor missing index guards

In the Field editor of the results table you can move the top field up and the bottom field down.  In either case you crash the app, requiring a refresh of the page.

@mattsouth - could you share a screenshot or screencap of this?

Im running a local dev copy.  If I click the Fields header in a data table then I can manage the columns in the table.

But if I select the first field in the right hand pane and click the [UP] button then I see an error:

With some more details if close the overlay.

Confirmed


added Hugging Face spaces at the end of markdown

Hello 👋
This PR addresses issue in https://github.com/keras-team/keras-io/issues/793. I added links to model and Space repositories at the end of the markdown, looks like this:

We don't have demos for all Keras examples, we will add even more in the next sprint.

Wrong commit message: I added python and notebooks (though in contribution guide it says I should commit only the script).

I added them to only the last markdown parts of notebooks (instead of adding a new cell and adding more changes) and aligned markdown & scripts accordingly.


Local install of Pyrobosim throws error "AttributeError processing template 'msg.idl.em'" during local install

Hi, I am trying to run pyrobosim with the local install method. I've followed the documentation, and seem to get the same error message every time after installation, which I have included below. I was just wondering how to fix this error?
Cheers
Python version:
Python 3.12.3
Ubuntu:
Distributor ID:	Ubuntu
Description:	Ubuntu 24.04.1 LTS
Release:	24.04
Codename:	noble
source ./setup/source_pyrobosim.bash
Activated virtual environment at /home/ed/python-virtualenvs/pyrobosim.
Setting up pyrobosim with ROS jazzy.
Building ROS workspace at /home/ed/ros2_pyrobosim/...
Starting >>> pyrobosim_msgs
Starting >>> pyrobosim
--- stderr: pyrobosim_msgs
CMake Error at /opt/ros/jazzy/share/rosidl_adapter/cmake/rosidl_adapt_interfaces.cmake:57 (message):
execute_process(/home/ed/python-virtualenvs/pyrobosim/bin/python3 -m
rosidl_adapter --package-name pyrobosim_msgs --arguments-file
/home/ed/ros2_pyrobosim/build/pyrobosim_msgs/rosidl_adapter__arguments__pyrobosim_msgs.json
--output-dir
/home/ed/ros2_pyrobosim/build/pyrobosim_msgs/rosidl_adapter/pyrobosim_msgs
--output-file
/home/ed/ros2_pyrobosim/build/pyrobosim_msgs/rosidl_adapter/pyrobosim_msgs.idls)
returned error code 1:
AttributeError processing template 'msg.idl.em'
Traceback (most recent call last):
File "/opt/ros/jazzy/lib/python3.12/site-packages/rosidl_adapter/resource/__init__.py", line 51, in evaluate_template
  em.BUFFERED_OPT: True,
  ^^^^^^^^^^^^^^^

AttributeError: module 'em' has no attribute 'BUFFERED_OPT'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/opt/ros/jazzy/lib/python3.12/site-packages/rosidl_adapter/__main__.py", line 19, in <module>
  sys.exit(main())
           ^^^^^^
File "/opt/ros/jazzy/lib/python3.12/site-packages/rosidl_adapter/main.py", line 53, in main
  abs_idl_file = convert_to_idl(
                 ^^^^^^^^^^^^^^^
File "/opt/ros/jazzy/lib/python3.12/site-packages/rosidl_adapter/__init__.py", line 19, in convert_to_idl
  return convert_msg_to_idl(
         ^^^^^^^^^^^^^^^^^^^
File "/opt/ros/jazzy/lib/python3.12/site-packages/rosidl_adapter/msg/__init__.py", line 39, in convert_msg_to_idl
  expand_template('msg.idl.em', data, output_file, encoding='iso-8859-1')
File "/opt/ros/jazzy/lib/python3.12/site-packages/rosidl_adapter/resource/__init__.py", line 23, in expand_template
  content = evaluate_template(template_name, data)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/ros/jazzy/lib/python3.12/site-packages/rosidl_adapter/resource/__init__.py", line 69, in evaluate_template
  _interpreter.shutdown()
  ^^^^^^^^^^^^^^^^^^^^^

AttributeError: 'NoneType' object has no attribute 'shutdown'
Call Stack (most recent call first):
/opt/ros/jazzy/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:132 (rosidl_adapt_interfaces)
CMakeLists.txt:43 (rosidl_generate_interfaces)

Failed   <<< pyrobosim_msgs [0.94s, exited with code 1]
Aborted  <<< pyrobosim [1.06s]
Summary: 0 packages finished [1.36s]
1 package failed: pyrobosim_msgs
1 package aborted: pyrobosim
1 package had stderr output: pyrobosim_msgs
1 package not processed
Sourcing ROS workspace at /home/ed/ros2_pyrobosim/.

You may need to do something like this: https://stackoverflow.com/a/77656642


Autofix for rest/spread doesn't handle commas correctly

  const eventPayload = {
    ...{
      category: 'Feedback-button',
      value,
      action: value > 0 ? 'upvote' : 'downvote',
    },
    ...analyticsData,
  };

Becomes
  const eventPayload = {

      category: 'Feedback-button',
      value,
      action: value > 0 ? 'upvote' : 'downvote',
    ,
    ...analyticsData,
  };

which is a syntax error

@mysticatea :fire:

Also has a very bad interaction with: https://github.com/bryanrsmith/eslint-plugin-prefer-object-spread/pull/47
where:
return Object.assign({}, value, { cookie });

becomes
return ({ ...({}), ...(value), ...({ cookie }) });

becomes
return ({ , ...(value), ...({ cookie }) });

Thank you for this issue.
I confirmed it.

Neato

I released v4.2.1. Thank you!


Option --all-in-one

This PR contains new option --all-in-one which is first step before new command (graph-to-report). This option store all selected graphs of rules in one file.
See example:

/packit copr-build

/packit copr-build

/packit copr-build

/packit copr-build

/packit copr-build

/packit copr-build

/packit copr-build

/packit copr-build

LGTM, merging!


Feature - Searching for text into terminal

Duplicate https://github.com/Microsoft/vscode/issues/15198


demo.gif is a dead-end git-lfs pointer

In README.md, there is a link to a file in the repo's ./docs/ directory, which looks as if it's supposed to be a 17.6 MB animated GIF, but turns out to be a 133-byte manifest file when cloning the repo locally or previewing it in github:

As far as I can tell, this seems like an issue relating to Git LFS – perhaps due to missing dependencies in the system from which the file was originally committed/pushed. This discussion may shed some light on cause and/or solution.

i ve used up my 1gb free lfs quota

On 14 Nov 2020, at 07:13, burlapsax<EMAIL_ADDRESS>wrote:

In README.md, there is a link to a file in the repo's ./docs/ directory, which looks as if it's supposed to be a 17.6 MB animated GIF, but turns out to be a 133-byte manifest file when cloning the repo locally or previewing it in github:
As far as I can tell, this seems like an issue relating to Git LFS – perhaps due to missing dependencies in the system from which the file was originally committed/pushed. This discussion may shed some light on cause and/or solution.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

@ddvk host it on imgur instead?

@Eeems I didn't really try it, but: https://stackoverflow.com/questions/37750270/unable-to-embed-a-gif-on-imgur-to-a-readme-md-on-github

added just a link


Provide suspending query functions which do not observe future changes

Currently it is already possible to query the database in a suspending way, but only by using the API which then also observes changes, meaning we have to filter for InitialResults<T> only and then ignore future changes published to the flow.
The workaround in the docs: https://www.mongodb.com/docs/realm/sdk/kotlin/realm-database/read/find-objects-of-a-type/
Another possibility I have thought of might be to only collect the first element of the changes flow, but I am not sure whether that is safe and closes all resources correctly? Also this solution might not be as performant as a suspending query function could be.

If you want a query that runs in the background and only returns the first result you can use the first() extension method on Flows which will turn it into a suspending call: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.flow/first.html.
Like this:
suspend fun firstResult(searchName: String): RealmResults<Person> {
  realm.query<Person>("name = $0", searchName)
    .asFlow()
    .first() // Terminate flow when first result is received, this turns the Flow into a normal suspending call
}

I don't know if that answers your question?

This approach is what I meant in the second half of my question, but I am still wondering if this closes all resources correctly?
In SingleQuery::asFlow the following is called: realmReference.owner.registerObserver(this), and I am not sure if it will ever get "unregistered" if I do asFlow().first().

It will. The relevant code is here: https://github.com/realm/realm-kotlin/blob/master/packages/library-base/src/commonMain/kotlin/io/realm/internal/SuspendableNotifier.kt#L119 ... as long as the Flow is closed (which calling first() will do), then we should clean things up correctly.

Alright, thanks for the clarification, good to know that this is a safe way for suspending queries 👍 - and sry for the late reply.


[ADP-3358] Remove underscores from integer literals in swagger.yaml.

This PR removes underscores from integer literals in swagger.yaml:
-   maximum: 45_000_000_000_000_000
+   maximum:<PHONE_NUMBER>0000000

Justification
As part of the release process for cardano-wallet, we transform the API specification (swagger.yaml) to JSON format with the following script:
https://github.com/cardano-foundation/cardano-wallet/blob/6dc7c0389eb2866485fd0e57a33f04f9c9cd1cce/scripts/gh/update-bump.sh#L15
The above script uses the yq tool to perform this transformation.
Recent versions of the yq tool fail with a ParseInt error if there are underscores within integer literals:
$ yq --version
yq (https://github.com/mikefarah/yq/) version v4.40.5

$ yq eval specifications/api/swagger.yaml -o=json
Error: json: error calling MarshalJSON for type *yqlib.CandidateNode:
json: error calling MarshalJSON for type *yqlib.CandidateNode: json:
error calling MarshalJSON for type *yqlib.CandidateNode:
strconv.ParseInt: parsing "45_000_000_000_000_000": invalid syntax

Removing underscores prevents these errors.
Example failure
https://github.com/cardano-foundation/cardano-wallet/actions/runs/9026615038/job/24804201846#step:5:9
Issue
ADP-3358

Merging by hand, as:

We've demonstrated that all tests pass, both locally and on CI.
The branch for this PR is based on the tip of master.
There are no other PRs in the merge queue.


kirki/config filter stopped working

Hey Ary,
Just a heads up, the latest update to Kirki seems to have broken the kirki/config filter.

Cheers.

Hey there!
I just tested it and it seems to be working fine...
What is it that doesn't work for you?

That's weird.
Im just applying some simple changes:
function kirky_panels_style( $config ) {

    $config['color_accent'] = '#00bcd4';
    $config['color_back']   = '#475969';
    $config['width']        = '20%';

	return $config;

}
add_filter( 'kirki/config', 'kirky_panels_style' );

And the customiser just went to the default style after upgrading Kirki. I was using 1.0.0 before and it was running ok. I'll post it here if I found out why did it stopped working for me.
I'll close this for now.


Inputs have no borders on light mode

You don't know they can be clicked or edited. Even if you do, you don't know where to click.

Hi, I will be working on this issue if that's ok :)

Great!

Hi, I have use this color: Var(--color-gray-3)

is it ok?

I think this is tricky because it makes the attached buttons seem like they need a border too.
I think the darkening of the first line is good and the separator, but I"m not sure about the outer border.

How about this?
Then:

Now:

Hi, Merry Christmas 🎄. Just let you know that I'm still waiting for feedback 🙃. Thanks!


Drop support for Python 3.7 due to end-of-life on 27 June 2023.

Does it matter if we do this separately from the plugin repos?

I'm not certain if removing a classifier for a specific distribution in setup.py has any effect on PyPI or pip install. My best guess is that the classifier is only used for documentation purposes and will not have any effect. Users on Python 3.7 systems will still be able to pip install statick and the statick plugins and use them. It is not until we make changes to the Statick code that are not supported by Python 3.7 that users will see any issues.
One piece of evidence to back that up is the wheel found on PyPI at https://pypi.org/project/statick/#files. The built distribution is statick-0.9.4-py3-none-any.whl. To me that implies Statick will be installed on all versions of Python 3 and on any architecture (working is a separate matter).


A model that used to be loaded correctly is now not being loaded with the last release

I recently upgraded the lib to the new versions :
"web-ifc":"^0.0.24"=>  "^0.0.28",
"web-ifc-three": "^0.0.68" => "^0.0.80",
Now, I have some models that are not loaded, (but they did load before),  like this one station_0.ifc.zip
Any idea ?
Thanks !

I’ve done a bunch of changes to the bool algo, looks like I’m not done yet :-)
I will let you know when it’s fixed

Hi @tomvandig, as @agviegas suggested, I turned the USE_FAST_BOOLS to true and this works. It's a little bit too magical but it does the job :-)


item disappears when bottomContainer is built

Hello,
everytime when a player opens a cirrus menu e.g on SkyBlock they loose their items in PlayerInventory from slot 18 to 35.
After researching the problem a few days i found out when i remove
buildContainer(view.getBottomInventory(), menu.bottomContainer(), true);
in SpigotMenuBuilder.class that there is no problem.
How to reproduce the bug?
Fill your PlayerInventory with items from slot 9 to 35 and open an Cirrus Menu.
You will see that items from slot 18 to 35 will disappear.

Hey Eptiiix,
this should be resolved now.
Regards,
Leonhard


Slices: Make Span's Object and Offset fields internal

They are readonly and of immutable types anyway.

What's the value of making them internal?

Span currently has two internal properties Object and Offset. I think it makes little sense to have props wrapping read only fields of immutable types.

Ah, I missed the fact that we already have internal properties. Looks good.


ctool: Error: open scripts\drafts: file does not exist

Steps to reproduce the behavior
Windows 11
> ctool

Error: open scripts\drafts: file does not exist
Cluster managment utility

Usage:
  ctool [command]

Available Commands:
  acme        ACME settings
  alert       Management of the alert
  backup      Backup database
  completion  Generate the autocompletion script for the specified shell
  help        Help about any command
  init        Creates the file cluster.json for cluster
  mon         Monitoring stack management
  repeat      executing the last incomplete command
  replace     Replaces the cluster node
  restore     Restore database
  upgrade     Update the cluster version to the current one
  validate    Validates the configuration and status of the cluster for errors
  version     Print current version

Flags:
      --dev-mode                 Use development mode for DB stack
      --dry-run                  Perform a dry run of the command without making any actual changes
  -h, --help                     help for ctool
      --skip-node-memory-check   Skip checking nodes for the presence of the minimum allowable amount of RAM
      --trace                    Extremely verbose output
  -v, --verbose                  Verbose output

Use "ctool [command] --help" for more information about a command.

Expected behavior
What you expected to happen.
Additional context
Add any other context about the problem here.

It still shows the error:
Error: open scripts\drafts: file does not exist
Cluster managment utility

Usage:
  ctool [command]

Available Commands:
  acme        Manage ACME settings
  alert       Manage alerts
  backup      Backup the database
  completion  Generate the autocompletion script for the specified shell
  help        Help about any command
  init        Creates the file cluster.json for cluster
  mon         Manage the monitoring stack
  repeat      Execute the last incomplete command
  replace     Replace a cluster node
  restore     Restore the database
  upgrade     Update the cluster version to the current one
  validate    Validate the cluster configuration and status for errors
  version     Print the current version

Flags:
      --dev-mode                 Use development mode for the database stack
      --dry-run                  Perform a dry run without making any changes
  -h, --help                     help for ctool
      --skip-node-memory-check   Skip the minimum RAM check for nodes
      --trace                    Enable extremely verbose output
  -v, --verbose                  Enable verbose output

Use "ctool [command] --help" for more information about a command.


Drillflow 39 - WMLS_AddToStore endpoint skeleton

This PR includes:

.gitignore DS_Store addition
brand spankin' new Makefile for docker building
WMLS_AddToStore implementation that just returns 1
simple test for WMLS_AddToStore implementation

This connects to #39

I disagree, codacy.

Done!


Fix blue box bug in UI

Set the boxes unfilled with transparent instead of white to remove it from sight of the application. No more border radius to keep things simple.
Potentially remove borders in the resultpane in the future and add avatar next.

Codecov Report

Merging #130 (abf62a2) into master (2734252) will decrease coverage by 0.39%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #130      +/-   ##
============================================
- Coverage     66.00%   65.61%   -0.40%
- Complexity      501      504       +3
============================================
  Files            95       98       +3
  Lines          1721     1736      +15
  Branches        193      184       -9
============================================
+ Hits           1136     1139       +3
- Misses          530      542      +12
  Partials         55       55

Impacted Files
Coverage Δ

.../seedu/address/logic/commands/AddOrderCommand.java
88.00% <0.00%> (-12.00%)
:arrow_down:

src/main/java/seedu/address/model/order/Order.java
96.55% <0.00%> (-1.07%)
:arrow_down:

...seedu/address/logic/commands/MarkOrderCommand.java
90.00% <0.00%> (-0.91%)
:arrow_down:

...seedu/address/logic/commands/EditOrderCommand.java
93.02% <0.00%> (-0.20%)
:arrow_down:

src/main/java/seedu/address/ui/OrderCard.java
0.00% <0.00%> (ø)

src/main/java/seedu/address/ui/OrderListPanel.java
0.00% <0.00%> (ø)

...n/java/seedu/address/storage/JsonAdaptedOrder.java
0.00% <0.00%> (ø)

.../java/seedu/address/storage/JsonAdaptedPerson.java
100.00% <0.00%> (ø)

...seedu/address/logic/commands/FindOrderCommand.java
0.00% <0.00%> (ø)

...edu/address/logic/commands/UnmarkOrderCommand.java
0.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 2734252...abf62a2. Read the comment docs.


python setup.py test fails

+ /usr/bin/python2 setup.py test
[   41s] running test
[   41s] running egg_info
[   41s] writing requirements to django_extensions.egg-info/requires.txt
[   41s] writing django_extensions.egg-info/PKG-INFO
[   41s] writing top-level names to django_extensions.egg-info/top_level.txt
[   41s] writing dependency_links to django_extensions.egg-info/dependency_links.txt
[   41s] reading manifest file 'django_extensions.egg-info/SOURCES.txt'
[   41s] reading manifest template 'MANIFEST.in'
[   41s] writing manifest file 'django_extensions.egg-info/SOURCES.txt'
[   41s] running build_ext
[   41s] Traceback (most recent call last):
[   41s]   File "setup.py", line 103, in <module>
[   41s]     'Topic :: Utilities',
[   41s]   File "/usr/lib/python2.7/site-packages/setuptools/__init__.py", line 145, in setup
[   41s]     return distutils.core.setup(**attrs)
[   41s]   File "/usr/lib64/python2.7/distutils/core.py", line 151, in setup
[   42s]     dist.run_commands()
[   42s]   File "/usr/lib64/python2.7/distutils/dist.py", line 953, in run_commands
[   42s]     self.run_command(cmd)
[   42s]   File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command
[   42s]     cmd_obj.run()
[   42s]   File "/usr/lib/python2.7/site-packages/setuptools/command/test.py", line 228, in run
[   42s]     self.run_tests()
[   42s]   File "/usr/lib/python2.7/site-packages/setuptools/command/test.py", line 250, in run_tests
[   42s]     exit=False,
[   42s]   File "/usr/lib64/python2.7/unittest/main.py", line 94, in __init__
[   42s]     self.parseArgs(argv)
[   42s]   File "/usr/lib64/python2.7/unittest/main.py", line 149, in parseArgs
[   42s]     self.createTests()
[   42s]   File "/usr/lib64/python2.7/unittest/main.py", line 158, in createTests
[   42s]     self.module)
[   42s]   File "/usr/lib64/python2.7/unittest/loader.py", line 130, in loadTestsFromNames
[   42s]     suites = [self.loadTestsFromName(name, module) for name in names]
[   42s]   File "/usr/lib64/python2.7/unittest/loader.py", line 91, in loadTestsFromName
[   42s]     module = __import__('.'.join(parts_copy))
[   42s] ImportError: No module named run_tests
[   42s] error: Bad exit status from /var/tmp/rpm-tmp.22Y8C8 (%check)

run_tests.py was previously reported missing at https://github.com/django-extensions/django-extensions/issues/423 and https://github.com/django-extensions/django-extensions/issues/1029
Using pytest also doesnt work
+ /usr/bin/python2 -m pytest
[   40s] ============================= test session starts ==============================
[   40s] platform linux2 -- Python 2.7.15, pytest-3.10.1, py-1.7.0, pluggy-0.8.0
[   40s] rootdir: /home/abuild/rpmbuild/BUILD/django-extensions-1.2.2, inifile:
[   40s] plugins: django-3.4.4
[   42s] collected 0 items / 2 errors
[   42s]
[   42s] ==================================== ERRORS ====================================
[   42s]  ERROR collecting _build.python3/lib/django_extensions/tests/test_dumpscript.py
[   42s] _build.python3/lib/django_extensions/tests/test_dumpscript.py:13: in <module>
[   42s]     from django_extensions.tests.models import Name, Note, Person
[   42s] _build.python3/lib/django_extensions/tests/models.py:4: in <module>
[   42s]     class Secret(models.Model):
[   42s] _build.python3/lib/django_extensions/tests/models.py:5: in Secret
[   42s]     name = models.CharField(blank=True, max_length=255, null=True)
[   42s] /usr/lib/python2.7/site-packages/django/db/models/fields/__init__.py:1061: in __init__
[   42s]     super(CharField, self).__init__(*args, **kwargs)
[   42s] /usr/lib/python2.7/site-packages/django/db/models/fields/__init__.py:172: in __init__
[   42s]     self.db_tablespace = db_tablespace or settings.DEFAULT_INDEX_TABLESPACE
[   42s] /usr/lib/python2.7/site-packages/django/conf/__init__.py:56: in __getattr__
[   42s]     self._setup(name)
[   42s] /usr/lib/python2.7/site-packages/django/conf/__init__.py:39: in _setup
[   42s]     % (desc, ENVIRONMENT_VARIABLE))
[   42s] E   ImproperlyConfigured: Requested setting DEFAULT_INDEX_TABLESPACE, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.
[   42s] _________ ERROR collecting django_extensions/tests/test_dumpscript.py __________
[   42s] /usr/lib/python2.7/site-packages/py/_path/local.py:668: in pyimport
[   42s]     __import__(modname)
[   42s] _build.python3/lib/django_extensions/tests/__init__.py:2: in <module>
[   42s]     from django_extensions.tests.test_dumpscript import DumpScriptTests
[   42s] /usr/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:294: in load_module
[   42s]     six.exec_(co, mod.__dict__)
[   42s] /usr/lib/python2.7/site-packages/six.py:709: in exec_
[   42s]     exec("""exec _code_ in _globs_, _locs_""")
[   42s] <string>:1: in <module>
[   42s]     ???
[   42s] _build.python3/lib/django_extensions/tests/test_dumpscript.py:13: in <module>
[   42s]     from django_extensions.tests.models import Name, Note, Person
[   42s] _build.python3/lib/django_extensions/tests/models.py:4: in <module>
[   42s]     class Secret(models.Model):
[   42s] _build.python3/lib/django_extensions/tests/models.py:5: in Secret
[   42s]     name = models.CharField(blank=True, max_length=255, null=True)
[   42s] /usr/lib/python2.7/site-packages/django/db/models/fields/__init__.py:1061: in __init__
[   42s]     super(CharField, self).__init__(*args, **kwargs)
[   42s] /usr/lib/python2.7/site-packages/django/db/models/fields/__init__.py:172: in __init__
[   42s]     self.db_tablespace = db_tablespace or settings.DEFAULT_INDEX_TABLESPACE
[   42s] /usr/lib/python2.7/site-packages/django/conf/__init__.py:56: in __getattr__
[   42s]     self._setup(name)
[   42s] /usr/lib/python2.7/site-packages/django/conf/__init__.py:39: in _setup
[   42s]     % (desc, ENVIRONMENT_VARIABLE))
[   42s] E   ImproperlyConfigured: Requested setting DEFAULT_INDEX_TABLESPACE, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.

In any case, the tests are missing from the source tarball, so that also needs addressing for distro packaging.

Which version of Django-extensions are you using ? In the output it says 1.2.2 does the problem also exists in master or the latest release ?

Doesnt matter.  It isnt included in the sdists being published.  Usually fixed by adding them to MANIFEST.in.
> ls */
django-extensions-1.2.2/:
django_extensions  django_extensions.egg-info  docs  LICENSE  MANIFEST.in  PKG-INFO  README.rst  setup.cfg  setup.py

django-extensions-2.1.5/:
django_extensions  django_extensions.egg-info  docs  LICENSE  MANIFEST.in  PKG-INFO  README.rst  setup.cfg  setup.py  tox.ini

Could you submit a PR for this ?
I assume it's as simple as adding recursive-include tests * but it would be good if you could test it at the same time :-)


Azure B2C Customization - Change “Sign in with your Social Account” Placement.

Oddly, when creating the custom login we want the sign in with the social accounts on the bottom and for some reason they're being forced to the top.
We don't understand what is doing that how to stop it.
The default is correct. However, any customization does this. even in this article he is showing it and it doesn't make sense.
https://dev.to/425show/customize-the-look-and-feel-of-your-azure-ad-b2c-page-30m6
The html has been placed correctly but when we deploy it flips it around.

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

ID: 42ece756-f226-18a5-bd1f-de77621d5109
Version Independent ID: 87f1373c-3027-6e9a-587a-9c631af7112f
Content: Customize the user interface - Azure AD B2C
Content Source: articles/active-directory-b2c/customize-ui.md
Service: active-directory
Sub-service: b2c
GitHub Login: @kengaderdus
Microsoft Alias: kengaderdus

@xtianus79
Thanks for your feedback! We will investigate and update as appropriate.

Hi @@xtianus79 , thanks for the question. To understand your question, you want your page to look like this:
 but instead it looks like this:

order wise? As in the "Sign in with your social account" appears above the email section? What code document are you following? Ours or the one you linked? It'll help me trace down the issue.
Thank you,
James

Hi @xtianus79 , do you still need help with this?

Hi @xtianus79 ,sorry for the delay in response. I'll need to repro this myself but I had a few questions. If you remove what you've added (if possible) does it maintain the same position? From my experience this would be an HTML issue and not CSS

Hi @xtianus79 , looking at the code, have you tried switching this section around?

                <button class="accountButton firstButton claims-provider-selection" id="GoogleExchange">Google</button>
                <button class="accountButton claims-provider-selection" id="GitHubExchange">Github</button>
                <button class="accountButton claims-provider-selection" id="TwitterExchange">Twiter</button>

<input id="email" type="text" name="u" placeholder="Username" required="required" />
                Forgot Password
                <input id="password" type="password" name="p" placeholder="Password" required="required" />
                <button id="next" type="submit" class="btn btn-primary btn-block btn-large">Let me in.</button>
                Sign up now

I would just switch it to this and it should work fine:

<input id="email" type="text" name="u" placeholder="Username" required="required" />
                Forgot Password
                <input id="password" type="password" name="p" placeholder="Password" required="required" />
                <button id="next" type="submit" class="btn btn-primary btn-block btn-large">Let me in.</button>
                Sign up now

                <button class="accountButton firstButton claims-provider-selection" id="GoogleExchange">Google</button>
                <button class="accountButton claims-provider-selection" id="GitHubExchange">Github</button>
                <button class="accountButton claims-provider-selection" id="TwitterExchange">Twiter</button>

hi @James-Hamil-MSFT can I post our design that might help. We have a design and the changes we're trying to make there is something, probably the javascript, is fighting us along the way.
For example, here is where we are now.
https://login.alivebeam.com/505b9899-e922-4b1c-b342-96e489356d01/oauth2/v2.0/authorize?p=B2C_1A_SIGNUP_SIGNIN&client_id=dc6788d4-66b2-44ca-af10-e0b3a7642d87&nonce=defaultNonce&redirect_uri=https%3A%2F%2Fmy.alivebeam.com&scope=openid&response_type=id_token&prompt=login
Here is the design, You'll see the message,
sign up now. We can't get that line outside of the container of the above sign in container.

@James-Hamil-MSFT would you be able to help with this?

Hi @xtianus79 , did reconfiguring the HTML not change anything?

@James-Hamil-MSFT no it just reverts it back to the container order.

Hi @xtianus79 do you have a live version of this site or a repo I could look at?

hi @James-Hamil-MSFT I have code that we could send to you directly. I don't have it on public repo.

hi @James-Hamil-MSFT  @JamesTran-MSFT any help with this?

Hi @xtianus79 , looking at the code, have you tried switching this section around?

                <button class="accountButton firstButton claims-provider-selection" id="GoogleExchange">Google</button>
                <button class="accountButton claims-provider-selection" id="GitHubExchange">Github</button>
                <button class="accountButton claims-provider-selection" id="TwitterExchange">Twiter</button>

<input id="email" type="text" name="u" placeholder="Username" required="required" />
                Forgot Password
                <input id="password" type="password" name="p" placeholder="Password" required="required" />
                <button id="next" type="submit" class="btn btn-primary btn-block btn-large">Let me in.</button>
                Sign up now

I would just switch it to this and it should work fine:

<input id="email" type="text" name="u" placeholder="Username" required="required" />
                Forgot Password
                <input id="password" type="password" name="p" placeholder="Password" required="required" />
                <button id="next" type="submit" class="btn btn-primary btn-block btn-large">Let me in.</button>
                Sign up now

                <button class="accountButton firstButton claims-provider-selection" id="GoogleExchange">Google</button>
                <button class="accountButton claims-provider-selection" id="GitHubExchange">Github</button>
                <button class="accountButton claims-provider-selection" id="TwitterExchange">Twiter</button>

This will not work, any html inside of the  tag gets replaced by the B2C service. It is not user configurable.
@xtianus79 - which page contract versions are you using in your policies for unifiedssp?

@xtianus79  is this issue resolved for you ? I am also facing same problem.

I am facing the same problem any path?

Same problem, any update would be appreciated.

I'm also interested in more information on this topic. Unlike the OrchestrationStep Type="ClaimsProviderSelection" where the order of the ClaimsProviderSelection elements governs the display order, this doesn't seem to be the case for OrchestrationStep Type="CombinedSignInAndSignUp"
@James-Hamil-MSFT  Getting to replicate this is very easy:

Start by using any of the samples, e.g. SocialAndLocalAccounts
Replace LoadUri of api.signuporsignin ContentDefinition to point to a super simple HTML file with no scripts/styles, e.g.

<!DOCTYPE html>

Run the SignUp_SignIn policy - the federated provider is rendered first, curious enough - there're 2 divider elements. Reverting to the original, default AzureBlue template renders the provider after the localAccountForm element

Anyone figure this out? I am having the same issue using 	urn:com:microsoft:aad:b2c:elements:contract:unifiedssp:2.1.9

I am also facing the same problem, any workaround or update would be appreciated.

I'm interested in workarounds or possible upcoming updates for this as well.

Following as I am trying to accomplish  the same thing.

Closed as not planned? Since this is still an issue that is impacting businesses, some explanation would be nice.
For those still stuck on this, would you mind sharing what you ended up doing? @aleksirasio @angelfourth @pealmeid @xtianus79 @JamesTran-MSFT


Better Documentation on Error Handling in Migration

I had some confusions while using this library's migration feature for the first time.
I think following changes will help beginners.

Add Section "Error Handling" in "Migrations" Page
I agree on the design choice of Migrator's methods not throwing error and rather returning useful informations.
However, the documentation should be explicitly emphasizing that the Migration methods won't throw.
Many people would first expect that the method will throw when query errors.

Add Documentation on Error Subclasses Like SqliteError
I was first confused because the error object returned by CreateTableBuilder.execute() method did not have error message on the top level. I only saw { code : 'SQLITE_ERROR' }, and there was no documentation about this Class. I suggest to add documentation on those interfaces (e.g., add link to the superclass Error in official NodeJS docs), or just compose custom error object using Error rather than inheriting from it.

By the way, thank you for a nice library.
It really helps me for projects with SQLite3.

It's literally the first sentence in the documentation. How do you want us to make it more clear. https://kysely-org.github.io/kysely-apidoc/classes/Migrator.html#migrateToLatest

The error subclasses come from the underlying drivers. We should document that instead.

I didn't mentioned it clearly. I meant in readme documentation, not in API docs.
Thank you

@jan9won if you have specific wording you're looking for the docs to have, fork the repo, make the edits you think should be done, then open a pull request.
Please close this issue


failing to compile

Recent change to hooks/mod.rs 10 days ago, I believe it may be causing an issue.
I'm on a mac m1
stable-x86_64-apple-darwin unchanged - rustc 1.61.0 (fe5b13d68 2022-05-18)
nightly-x86_64-apple-darwin unchanged - rustc 1.63.0-nightly (420c970cb 2022-06-09)
The error happens no matter whether I'm on stable or nightly.
error[E0658]: trait bounds other than Sized on const fn parameters are unstable
--> /Users/user/.cargo/registry/src/github.com-1ecc6299db9ec823/cargo-generate-0.14.0/src/hooks/mod.rs:19:6
|
19 | impl<F: FnOnce()> CleanupJob {
|      ^
20 |     pub const fn new(f: F) -> Self {
|     ------------------------------ function declared as const here
|
= note: see issue #57563 https://github.com/rust-lang/rust/issues/57563 for more information
Was able to install 0.13.1 just fine.

After a long and annoying journey I found out that I had two versions of rust installed, no idea where the second one came from. Cargo was being ran from the second version, rustup from the version I needed. I eventually found out after installing the 0.13.1 version of this and it told me I wasn't using rustup which I knew I was.

Thanks for sharing this.


shortcuts work except for next song

all shortcuts seem to work, except ctrl+shift+0 this one is not responding

Hi, I was unable to reproduce, need more information from you:

What is the version of your browser?
Could you provide URL at which the issue occurs?

firefox version: 58.0b4 (64-bit)
what do you mean the url?
this is the google play music url: https://play.google.com/music/listen?u=0#/home
Note i also have the containers plugin running

Thanks, I'll try to replicate it with Firefox Beta later today.
The URL is different depending on which Google Music Page you are on.
For example an album has a dedicated hash so that you can bookmark it.
Are you experiencing the problem for both URLs below?

https://play.google.com/music/listen?u=0#/home
https://play.google.com/music/listen?u=0#/album/Bedelofbqna3m2n4bvti5c2ua4u

yes i have it on both of the urls
On Mon, Nov 27, 2017 at 10:22 AM Marcin Rataj<EMAIL_ADDRESS>wrote:

Thanks, I'll try to replicate it with Firefox Beta later today.
The URL is different depending on which Google Music Page you are on.
For example an album has a dedicated hash so that you can bookmark it.
Are you experiencing the problem for both URLs below?

https://play.google.com/music/listen?u=0#/home

https://play.google.com/music/listen?u=0#/album/Bedelofbqna3m2n4bvti5c2ua4u
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/lidel/google-music-hotkeys/issues/3#issuecomment-347123138,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADiy8RxHpCQI2v3Ogn-SBJ4YKYNbo1ijks5s6n9GgaJpZM4QrRbw
.

Did my best, but I was unable to replicate under v58.0b6 with Containers plugin.
Tried on two machines (one Windows, one Linux).
Are you running any other extensions in Firefox? What is your operating system?
I suspect something is hijacking ctrl+shift+0 on your machine.

@Cereal2nd I assume the issue is gone? If not, please reopen with more info.

No the issue is still there.
On Dec 14, 2017, 00:42, at 00:42, Marcin Rataj<EMAIL_ADDRESS>wrote:

Closed #3.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/lidel/google-music-hotkeys/issues/3#event-1386723703

I'm having the same issue. Firefox 57.0.2 running on Windows 10. Only Ctrl+Shift+0 does not work.

Ok,  it seems  CTRL+SHIFT+0 is hijacked by.. MS Windows itself.
The  shortcut lets you switch the input language.
Good news is that you cant disable  it, see instructions below:

https://support.microsoft.com/en-us/help/967893/input-method-editor-keyboard-shortcut-ctrl-shift-0-switches-the-input
https://www.eightforums.com/general-support/22552-cant-use-ctrl-shift-0-windows-has.html

Let me know if it helped.

It works on Firefox and Chrome now, thanks!

Awesome, glad it helped!

I am afraid this workaround is not enough. Even tho I've added this information to extension's description at AMO, users are missing it and giving bad reviews :(
Until #1 is closed we can't customize shortcuts under Firefox. What if we add a second set of shortcuts so that users have at least one working set out-of-the box  in MS Windows?
Or maybe just provide a backup alternative for the problematic one (play next)?
Would CTRL+SHIFT+- work?

Yes either that or CTRL + SHIFT + [
Both are good choices

Unfortunately shortcuts with [ are not permitted under Firefox:

ERROR	Loading extension 'null': Reading manifest: Error processing commands.previous-song-backup.suggested_key.default: Value "Ctrl+Shift+[" must either: match the pattern /^\s*(Alt|Ctrl|Command|MacCtrl)\s*+\s*(Shift\s*+\s*)?([A-Z0-9]|Comma|Period|Home|End|PageUp|PageDown|Space|Insert|Delete|Up|Down|Left|Right)\s*$/, match the pattern /^\s*((Alt|Ctrl|Command|MacCtrl)\s*+\s*)?(Shift\s*+\s*)?(F[1-9]|F1[0-2])\s*$/, or match the pattern /^(MediaNextTrack|MediaPlayPause|MediaPrevTrack|MediaStop)$/

What about ALT+SHIFT+0? Would that work under Windows?

Sorry, I don't have windows 10 to test this out. Personally, I would prefer CTRL + SHIF + -

I've released v1.5.0 with additional set of shortcuts prefixed with Alt+Shift:

toggle playback: Ctrl+Shift+8 OR Alt+Shift+8, visual hint: *
previous song: Ctrl+Shift+9 OR Alt+Shift+9, visual hint: (
next song: Ctrl+Shift+0 OR Alt+Shift+0, visual hint: )

Hopefully this will prove to be flexible enough to work on all platforms.
Feel free to reopen this issue if none of the above work for you.

FYSA just released v1.6.0 which enables users to customize shortcut keys under Firefox (see https://github.com/lidel/google-music-hotkeys/issues/1#issuecomment-388620900 for more details).
To make it work I had to do two changes that may impact Windows users:

I removed backup set of shortcuts (you can customize original ones, so there is no need for them)
I changed the default shortcuts under windows to Alt+Shift ones to avoid issue with Ctrl+Shift+0 and make it work out-of-the-box for new users.

I hope this small shakeup will not annoy anyone too much :)


Remove read/write modes?

I've noticed, as I've started to build out demonstration protocols that:

I always write the list of messages under a protocol from the perspective of the initiator of communication (i.e. the writer)
When I try to mix reads and writes into a single protocol, I pretty much always wind up splitting them out later, often because from the perspective of one side of the network connection, if you're doing some reading and them some writing, it's almost always because there's business logic that needs to be run between those phases. As a result, you may as well split those protocols into request/response protocols
If all protocols only consist of a single mode of message (either read or write), then there's no point in specifying the mode at all, since the code generators will automatically generate both sides of the communication
If reading and writing isn't necessary, then the concept of a protocol isn't really necessary - something closer to protocol buffers' messages format, where messages sent across the wire are simply packed bits of data, is probably better.
Item 4 further begs the question of whether or not I should defer the job of serialization to protocol buffers, and focus on the code generation side instead

Point number 5 isn't necessarily a given, since serialization is actually the easy part of this whole thing, but it's something to consider.

Done in 1.4.0


unable to create private shared file in Windows

Tried to create the shared folder: jtsmith0101,another_keybase_userID in both explorer and from the command prompt.  Failed on both instances.
my log id: eab841de2c92436c27ac471c

@taruti: can you please take a look?  I see things like:
MoveFile *libdokan.EmptyFolder "\\private\\New folder" -> "\\private\\jtsmith0101,<other_user>"
...
MoveFile folderlist refusing to replace target
NTSTATUS=c0000022

@jtsmith0101: what happens when you try to open the folders from the Folders tab in the Keybase GUI?

@strib:  The folder I'm looking for does not display in the keybase gui,
either.  However, opening the displayed folder occurs as expected.  Opens a
separate explorer window.
On Wed, Oct 18, 2017 at 2:15 PM, Jeremy Stribling<EMAIL_ADDRESS>wrote:

@taruti https://github.com/taruti: can you please take a look? I see
things like:
MoveFile *libdokan.EmptyFolder "\private\New folder" -> "\private\jtsmith0101,<other_user>"
...
MoveFile folderlist refusing to replace target
NTSTATUS=c0000022
@jtsmith0101 https://github.com/jtsmith0101: what happens when you try
to open the folders from the Folders tab in the Keybase GUI?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/keybase/client/issues/9104#issuecomment-337448357,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJ9TfAxgQe3jMmy7MD_s8kT8oZkHXtEwks5stW03gaJpZM4P9FYa
.

@jtsmith0101 Creating at the command prompt should be fine, what exactly was typed and what was the response? Note the comma separated usernames need to be enclosed in quotes. You can make a new folder in Explorer by just typing the name in the address bar. Using the "new folder" menu option is more shaky because Windows attempts to make a temporary folder, which we try to account for but it doesn't always work.

"You can make a new folder in Explorer by just typing the name in the address bar." <--- this, please broadcast this. I spent an hour trying All The Ways until I found this issue.

I've still had this issue, however "You can make a new folder in Explorer by just typing the name in the address bar" this indeed resolved it very easily and quickly for me! Thanks for the tip!


chore(deps): Bump PF deps to latest prerelease

What
Towards #55
Description

Bumps PF dependencies towards PF v5 release adoption.
Type of change

[x] Refactoring (no functional changes, no api changes)
[x] Other (please describe): Dependency bumps

Screen shots / Gifs for design review

Created #69 as a followup for the deprecated components.


Image: fallbackSrc looping

The image component is looping if the fallbackSrc was wrongly set. https://github.com/inveniosoftware/react-invenio-forms/blob/master/src/lib/elements/Image.js#L24

will be fixed in https://github.com/inveniosoftware/react-invenio-deposit/issues/482


Please use registered SPDX license id in package.json

Hi!
I would like to suggest a very minor enhancement. Consider this when you get a chance :)
I noticed that this package uses the zlib License per the README.md file. This is a fine choice. However, the package.json file does not explicitly indicate that. Ideally, the package.json file would include a license (or licenses) field using an officially registered SPDX license id (see https://spdx.org/licenses/), or the LICENSE file would start with the full name of the license, per https://spdx.org/licenses/Zlib.html#licenseText.
The reason why it is generally helpful to use an officially registered SPDX license id is that those of us who use an automated license checker (e.g., https://www.npmjs.com/package/license-checker) can automatically process this package without further whitelisting.
The other side benefit is that npm will no longer state that there is no license on this package (see https://www.npmjs.com/package/char-split)
Thank you!

Hello Julien-bot! 👋 There looks like there is a license entry in the package.json already.
And I had completely forgotten about this package. :)

Hi @marcello3d! Indeed there is, but surprisingly enough, license-checker requires the license id to be properly capitalized, i.e. Zlib vs zlib :( Per https://spdx.org/spdx-license-list/matching-guidelines (4.1.1), the match should be case insensitive. I will file an enhancement request against license-checker.


DataProtection keys in azure blob storage protect with x509 cert rotation question

I originally posted this over on aspnet/security under issue #1225 and was directed here by @Tratcher
We are using service fabric for our web apps and based on the samples and documentation , we are planning to use blob storage for data protection keys as follows so all web servers are on the same page.
serviceCollection.AddDataProtection()                 .PersistKeysToAzureBlobStorage(container, "keys.xml");
Is it then also recommended to secure those keys as detailed by one of these methods?
 My assumption is yes.
.ProtectKeysWithCertificate("thumbprint");.
Given we are in service fabric I'm thinking the best option is x509 which leads to my question.  What happens when the cert expires?  We will obviously renew the cert ahead of time, but won't the updated cert cause the keys to be unobtainable?  Is there some rotation process?

This is my understanding (I could be totally wrong here),
The key identifier is stored with the encrypted data, which lets you know which key was used. The key stores which certificate it's protected by, so as long as your old certificate is still in the store, you should be able to continue using those keys.
I would assume an expired certificate could still be used to unprotect keys, but I haven't checked.
Assuming all of this is true, I'd assume you could rotate certificates by,

Create a new certificate, roll it out to relevant machines
Tell your key generation applications to start using the new thumbprint

Now new keys will be protected by the new certificate, and you should be able to continue using existing keys (provided you keep your old certificate in the store).

That makes sense so then to summarize actions needed to be performed:

Install the new cert in the environments - keeping the old cert as well.
Update the thumbprint in this call ProtectKeysWithCertificate('thumbprint'); .
After some period of time remove the old cert from the environments.

It would be great to have this confirmed (and possibly added to the documentation).

There's another option coming in 2.0, Azure KeyVault.
@xqrzd is correct in his assumption that expired certificates, whether held in the OS, or in KeyVault will still allow decryption of data protection keys, they just won't protect new ones, so as long as the expired cert is available you'll still be able to unprotect data with keys that were encrypted with the expired cert.

Very glad to see Azure KeyVault as a protection option instead of specifying a thumbprint.


Access 't' within step definitions

Would like access to Testcafe's t instance of the running testrunner for a page object that stores the URI under test.

I'll use t from the first step, thanks.


fix metadata sync

metadata CRDs were only updated when sendRKELabel was true (if they were supposed to send to RKE). We now always update the content, so in case user wants to override the values, they can simply set the label true after refresh

labels comparison (causing multiple REST Updates in debug logs, but never updating actual object)
a) System Images: "cattle.io/creator": "norman" is present in our CRD labels and it wasn't considered for comparing object labels for update
b) Addons, Service Options: we check for a label (sendRKELabel)'s value, but if the label is not present, it should default to true

added logs for easier debugging

https://github.com/rancher/rancher/issues/24675

Commit messages should be more descriptive of the problem and the solution


It would implement the surrogate keys management – per key – from the application service and the be able to purge the stored ones using a standard API.

[ ] Implements the Surrogate-Keys and Surrogate-Control support in Souin
[ ] Write up a spec to publish in the future an RFC and standardise the Surrogate headers.

cc @polarathene, @dunglas, @mholt.

I updated the spec @polarathene

RFC redaction dropped.

Where to from here?
I think it is still important to discuss how you want to go forward with Surrogate-Key header and purging implementation. I am not that experienced in this area, but did some research for providing feedback into this PR. I quite like the approach Fastly has documented (I have not used Fastly myself though).
Would it be best to adopt compatibility to Fastly Surrogate-Key? AFAIK Fastly is used by some very big services on the web (github, imgur, shopify, stripe, and some not publicly listed: Reddit, Spotify, Twitch, Stack Overflow, Quora, Paypal, Vimeo, Hulu, HBO, various news outlets) , they were all affected briefly during an outage earlier this year. I think that says that Fastly is doing something right with their API/features? :stuck_out_tongue:
My understanding for the RFC and specification part was due to feedback from Caddy maintainers regarding Varnish ykey (which we know Fastly originated from).

Support the Targeted Cache-Control header (eg generic CDN-Cache-Control or targeted Souin-Cache-Control, response handling to downstream differs), although it's still presently in a draft status AFAIK.. I only have the June Akamai blogpost and May Cloudflare blogpost to go by. Surrogate-Control seems to still be used by Fastly, no adoption of CDN-Cache-Control or Fastly-Cache-Control in their docs or blog yet AFAIK.
Adopt Surrogate-Key with the format Fastly uses or Cloudflare (Cloud-Tag)?
Provide similar purge functionality (with hard/soft purging) Fastly offers for Surrogate Keys? Your response codes proposed seemed a bit more correct though :)

IMHO, it would be cool to have a CDN configuration key which can be one of cloudflare, fastly, akamai and we have to define these providers to handle respectively their invalidation tags and behaviour.
Example:
If you use Souin as standalone (the default provider), it will handle CDN-Cache-Control, Souin-Cache-Control, Surrogate-Key and Surrogate-Control (and other headers if needed).
If you want to use Fastly, it will handle Souin-Cache-Control, Surrogate-Key and Surrogate-Control (and other headers if needed).
If you want to use Cloudflare, it will handle Souin-Cache-Control and Cloud-Tag (and other headers if needed).
WDYT ?

WDYT ?

I mean you could, but I think it may just confuse some users? I do get the appeal to add in that compatibility layer, but I personally would advise avoiding it for now.
Perhaps for now just go with Surrogate-Key with CDN-Cache-Control and Souin-Cache-Control. I think Fastly Surrogate-Control header is effectively equivalent to what Fastly-Cache-Control would be if they ever deprecate Surrogate-Control for it in future.
If a user later expresses interest for mirroring the header name/values of a specific provider, then look into that? At the end of this blogpost from Fastly, they touch on a few CDN standardizations they've been collaborating on with other CDNs. Fastly may keep Surrogate-Control and Cloudflare Cache-Tag due to their large existing customer bases, but in future perhaps offer non-legacy headers that are standardized. Souin could follow and join in on those as they happen :)
Basically KISS. Try not to do too much unnecessary feature creep if there isn't a demand for it.

Surrogate-Key by Fastly uses key values separated by whitespace and is broadly adopted by big names. Seems preferable since you don't have to clarify , + ,  compatibility, just split by whitespace.
Cache-Tag uses , separator. If that makes it easier to parse or some other benefit, then go with that, otherwise the simpler Fastly Surrogate-Key seems to make sense.
Oracle Surrogate-Key looked unnecessarily more complicated IIRC.
Varnish ykey I could not find much information on, examples only ever showed purging with a single ykey tag via curl.

Also consider the Cloudflare and Fastly limits for their surrogate key headers that I quoted in my original review.
I haven't compared the purge API much between providers, but as Fastly documents it well and has good guides on it (eg stale and soft purging), I think it makes sense to reference / match them. Use your more appropriate HTTP status return codes if you prefer?

I will implement the system to use a specific provider and fallback on Souin/Fastly by default.
Because I will probably not have the same motivation to do that in the future. 😄
And it will be easier to add a new provider.

@mholt @dunglas ready to merge, I will try to add the Cloudflare provider later because it should not alter the behaviour and the actual implementation.


Do a full review of layout/CSS styling to make positioning consistent.

Planning to do this at 1:30 monday


Port existing user stories from google drive to Github Project Board

To be completed after #2.

No longer relevant


🐞 [BUG] - No contact page

Issue Verification

[X] I have verified that this is a new bug report.
[X] I'm interested in working on this issue
[X] I'm part of GSSOC organization

Describe the bug
While clicking to contact page no contact page found.
Expected behavior
No response
Steps to reproduce
navbar then click on contact
Additional Context
No response

Describe the bug: While clicking to contact page no contact page found.
Can you assign this issue to me. I want to work on it under GSSoC'24.

Duplicate issue


Fix before_filter deprecation warning

I'm not sure why it keeps pulling in the other two commits. I forked and worked off of the rails-5 branch.

Hi, thanks for the PR! In #752 I've put together all the changes necessary to get Draper working with Rails 5. It would be appreciated if you could test it out in your app and report any issues you find :octocat:


Pattern Percentage and Rank are not corectly updated when using an existing Profile file

When using an existing Profile (saved) and adding newly analyzed data to it, the old  pattern_percentages and pattern_ranks are not first removed from the algorithm.

In the Profile::cum_patternmap() function, the pattern_percentage needs to be cleared before repopulating the PatternMap.
self.pattern_percentages.clear();

In the Profile::cum_patternmap() function, the pattern_ranks needs to be cleared before repopulating the PatternMap.
self.pattern_ranks.clear();


Adding support for building on arm64v8

This adds a Dockerfile.arm64v8 which successfully builds on a Pine64.   Additionally a docker-compose.arm64v8.yaml is also supplied and was successfully built and tested on the same Pine64.
Additionally for successful builds to occur, openssl-dev was replaced with libressl-dev in the Dockerfile.  This apparently is a know dependency issue with alpine-linux and openssl-dev.

Hi @ppouliot
Thanks for this! To keep things simple, I'd prefer not to duplicate the whole Dockerfile. I quickly checked, and we'd probably need to change the build scripts quite a bit. Something similar (ARGs) like in the Dockerfile.ldap could be used. Maybe you got another idea?

Hmmm,
I've built using regular docker-compuse build commands.   I did briefly
look at the build scripts and it appeared to work when you use supply the
VARIANT variable of arm64v8 it looked like it would build properly.
p
On Mon, Jun 4, 2018 at 6:49 AM, Samuel Sieg<EMAIL_ADDRESS>wrote:

Hi @ppouliot https://github.com/ppouliot
Thanks for this! To keep things simple, I'd prefer not to duplicate the
whole Dockerfile. I quickly checked, and we'd probably need to change the
build scripts quite a bit. Something similar (ARGs) like in the
Dockerfile.ldap could be used. Maybe you got another idea?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ninech/netbox-docker/pull/73#issuecomment-394313585,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABd08TGKPHIPNwPdAuPJKdQCx9eNvjnsks5t5RDTgaJpZM4UW65C
.

Isn't the official pyhon arm compatible? https://hub.docker.com/_/python/ -> Supported architectures
And the openssl packages should also be available: https://pkgs.alpinelinux.org/packages?name=openssl*
Sadly I have no way to test that here...

Ok, so it's not that easy... but with docker manifest it will be: https://docs.docker.com/edge/engine/reference/commandline/manifest/

Thank you for sharing this with us. But I'll close this PR as I don't see much demand for this feature right now. There's also not been any progress/comment since almost a month.


[Bug]: NPE when the function is being mocked is directly assigned to a module level variable

Description
$title
Steps to Reproduce
in main.bal
public function foo() returns int|error {
    return 1;
}

int intVal = check foo();

in test file
@test:Mock {
    functionName: "foo"
}
test:MockFunction mock_foo = new();

error log:
[2023-09-12 13:22:18,602] SEVERE {b7a.log.crash} - Cannot invoke "io.ballerina.runtime.api.values.BObject.set(io.ballerina.runtime.api.values.BString, Object)" because "gabilan.support_checks$test.0.$_init.mock_foo" is null
java.lang.NullPointerException: Cannot invoke "io.ballerina.runtime.api.values.BObject.set(io.ballerina.runtime.api.values.BString, Object)" because "gabilan.support_checks$test.0.$_init.mock_foo" is null
        at gabilan.support_checks$test.0.support_checks.$MOCK_foo(support_checks:1)
        at gabilan.support_checks.0.main.foo(main.bal)
        at gabilan.support_checks.0.$_init.$gen$$0046$0060init$0062(support_checks:40)
        at gabilan.support_checks$test.0.$_init.$moduleInit(support_checks)
        at gabilan.support_checks$test.0.$_init.$moduleExecute(support_checks)
        at gabilan.support_checks$test.0.$_init.$lambda$$moduleExecute$(support_checks)
        at io.ballerina.runtime.internal.scheduling.SchedulerItem.execute(SchedulerItem.java:54)
        at io.ballerina.runtime.internal.scheduling.Scheduler.run(Scheduler.java:306)
        at io.ballerina.runtime.internal.scheduling.Scheduler.runSafely(Scheduler.java:273)
        at java.base/java.lang.Thread.run(Thread.java:833)

Affected Version(s)
No response
OS, DB, other environment details and versions
No response
Related area
-> Runtime
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response

Could be related to https://github.com/ballerina-platform/ballerina-lang/issues/41330

As per the offline discussion, the proper usage of Mock function is recommended here.
https://ballerina.io/learn/test-ballerina-code/mocking/#mock-functions
Therefore, closing the issue and keeping the original to track the improvements.


HTTP/2

Hi,
Do you have any plan to support http version 2?

Hello!
Not in this repo, but yeah.

Which repo will support HTTP/2?

@johnzachary +1

@indutny can you please share more info on it? Thanks!

please share more, thanks!


lib: name folders consistently

I suspect some people are going to find this a bit obnoxious, but I'd like to address the naming inconsistencies before they get any worse. I could live with either upper camel case or snake case, but please let's not do both.
Git followed the rename, so rebases for any open conflicting work should be relatively painless.

Good point to address. I contributed/initiated quite a part of upper camel case naming. My goal is to follow this naming scheme for new or refactored libraries which are pure C++ class implementations to have the folder named exactly after the main class's name. I consider this good practice and think it really helps to navigate the code. In that scheme the cmake library target follows the same naming convention and the class filenames as well e.g. see https://github.com/PX4/Firmware/tree/master/src/modules/mc_att_control, https://github.com/PX4/Firmware/tree/master/src/modules/mc_pos_control. As a result I would suggest/vote to use upper camel case. I think it's the goal to use C++ classes for future/existing refactored libraries and I would distinguish between implementations that still is C style. Of course we could already switch the naming if desired or I could do prs to adapt the existing ones. Up to discussion, I'm interested to hear your opinion.

Agreed.  And while on the subject, I care a lot less about the specifics of the convention than I do that there is a convention: https://github.com/PX4/Firmware/issues/9931

(Compliments mostly of Jacob Oursland for one of his best contributions to laying the groundwork of one of the first projects we ever collaborated on almost 2 decades ago.)

@MaEtUgR I think that could make sense, but I'd like to do more complete/opinionated passes for the sake of consistency once there's some agreement. I'm also very much in favor of naming the headers to match the single contained class.
At some point we should put together a simple style guide with a bit more enforcement of naming rules from clang-tidy.

ok, works for me then. Definitely better consistent than discussing indefinitely 😉


Add underscore to puncutation list

There was previously no way to access the underscore - it is a necessary character for entering URLs, amongst other things
Added right behind the dash, though where it exists doesnt matter so much as THAT it exists as a choice

I don't believe I have missed the underscore. Thank you very much!
Just one thing, it is not really "punctuation" in any language, so I'll move it to 0-key where the special characters are.


Bartender- Place order

30 min - setting everything up and planning how bartender will work

30 min- update functions and talk about implementation

30min setting up bartenderBranch
30min talking about bartender and how the implementation is going to work

30 min- test formatting update

26 minutes- test


Darker Duck has a line of unshaded pixels at the bottom in latest beta

Probably has to do with the x/y/top/left/right/bottom changing to floats

@riknoll whom should this bug go to?


Improve WebGPU unstable flags docs

Objective

Fixes #9382

Solution

Added a few extra notes in regards to WebGPU experimental state and the need of enabling unstable APIs through certain attribute flags in cargo_features.md and the examples README.md files.

Wondering if said file is docs-template\EXAMPLE_README.md.tpl?

Yep!
Also, cargo_features.md is built using a similar process from the comments in Cargo.toml. That can be updated with cargo run -p build-templated-pages -- update features.

Wondering if said file is docs-template\EXAMPLE_README.md.tpl?

Yep!
Also, cargo_features.md is built using a similar process from the comments in Cargo.toml. That can be updated with cargo run -p build-templated-pages -- update features.

Thanks for clarifying! I'll make the changes tomorrow. Any suggestions to improve the language in the meantime will be welcomed.

@rparrett @nicopap updated both templates, rolled back a statement that was wrong and applied the suggestion.


apt.add_package ignores packages that are reported by dpkg -l, but not really installed.

library: charms.operator-libs-linux.v0.apt
version: current main, hash c2e2f851daa62870239ae82faf40bfd0b7bee296

A package that shows up in the output of dpkg -l is considered installed, even though it might not be. An example would be a situation when a package was removed, but not purged, and left config files behind:
root@juju-cf280c-xenial-0:~# dpkg -l ubuntu-advantage-tools
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                              Version               Architecture          Description
+++-=================================-=====================-=====================-========================================================================
rc  ubuntu-advantage-tools            27.2.2~16.04.1        amd64                 management tools for Ubuntu Advantage

The code uses a regex to process this output, and it does extract a package_status [0] (which would be "rc" in this case), but it is not used. The library should check this field, note that the package is not really installed, and deal with the situation appropriately. Currently it is essentially a no-op as it considers the package already installed, even though it is not.
[0] https://github.com/canonical/operator-libs-linux/blob/main/lib/charms/operator_libs_linux/v0/apt.py#L413

@rbarry82 can probably help here?


Code Verifier issue

Even after using the same algorithm used in the code I seem to get the error
{"error":"invalid_grant","error_description":"code_verifier was incorrect"}.

I followed the same steps mentioned in the code and then too I get this error.

I'm having the same issue. I've been trying user auth and can't even retrieve user's profile.


TextFlowContainer incorrectly performs text layout with TextAnchor = TopRight & CenterRight

Code:
new Container
{
    Size = new Vector2(100, 300),
    Children = new Drawable[]
    {
        new Box
        {
            Name = "Background",
            RelativeSizeAxes = Axes.Both,
            Alpha = 0.1f
        },
        new TextFlowContainer
        {
            RelativeSizeAxes = Axes.Both,
            TextAnchor = Anchor.TopRight,
            Text = "This is using TextAnchor TopRight"
        },
        new TextFlowContainer
        {
            RelativeSizeAxes = Axes.Both,
            TextAnchor = Anchor.CentreRight,
            Text = "This is using TextAnchor CentreRight"
        },
        new TextFlowContainer
        {
            RelativeSizeAxes = Axes.Both,
            TextAnchor = Anchor.BottomRight,
            Text = "This is using TextAnchor BottomRight"
        },
    },
}

Result:

related: https://github.com/ppy/osu/issues/8580


[Todo][Frontend]支持 Resource Owner Credentials

完成前端部分，支持 password 模式

support by commit support client credentials & password mode


[BUG] Errors while running role

Describe the bug
A clear and concise description of what the bug is.
TASK [konstruktoid.hardening : Add nameservers to resolv.conf] *********************************************************
fatal: [localhost]: FAILED! => {"msg": "template error while templating string: No filter named 'split'.. String: {{ dns | split }}"}

To Reproduce
Running this playbook:
---
- hosts: localhost
  connection: local
  any_errors_fatal: true
  tasks:
    - name: Include the hardening role
      ansible.builtin.include_role:
        name: konstruktoid.hardening
      vars:
        block_blacklisted: true
        sshd_admin_net:
          - <IP_ADDRESS>/24
          - <IP_ADDRESS>/24
          - <IP_ADDRESS>/24
        suid_sgid_permissions: false

System (lsb_release -a or similar):
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.3 LTS
Release:        22.04
Codename:       jammy

Additional context
I also have an other error, I will update this issue later with a comment on that ierror

What version of Ansible are you running?

What version of Ansible are you running?
The split filter (https://docs.ansible.com/ansible/latest/collections/ansible/builtin/split_filter.html) was added in ansible-core 2.11

ansible 2.10.8
I installed it with apt-get install ansible

ah, that's very out-of-date: https://docs.ansible.com/ansible/latest/reference_appendices/release_and_maintenance.html#ansible-community-changelogs

I switched to Debian 12, which seems to have a newer version of ansible
ansible --version
ansible [core 2.14.3]
  config file = None
  configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python3/dist-packages/ansible
  ansible collection location = /root/.ansible/collections:/usr/share/ansible/collections
  executable location = /usr/bin/ansible
  python version = 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] (/usr/bin/python3)
  jinja version = 3.1.2
  libyaml = True

Now getting the following error:
``failed: [localhost] (item=/etc/cron.hourly) => {"ansible_loop_var": "item", "changed": false, "item": "/etc/cron.hourly", "msg": "file (/etc/cron.hourly) is absent, cannot continue", "path": "/etc/cron.hourly", "state": "absent"}`
Output of lsb-release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 12 (bookworm)
Release:        12
Codename:       bookworm

I switched to Debian 11, seems to have a new version of Ansible. Don't know why Ubuntu 22.04 has such an old version of ansible when you install it with apt

The tags need a revamp, but the idea is that any CIS or DISA STIGs recommendations should be in the tags.
CIS-UBUNTU2004-3.1.2 basically means CIS Ubuntu 20.04 Benchmark recommendation 3.1.2, but it's missing which version of the benchmark and so on.
I also use CCE identifiers when available.


Framework crash in showAboutDialog()

Steps to reproduce
Run the following app.  Then click the "About" popup menu item after clicking "Click Me".
import 'dart:ui' show window;

import 'package:flutter/material.dart';

void main() {
  runApp(BugReport());
}

class BugReport extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Localizations(
      locale: Locale('en', 'US'),
      delegates: [
        DefaultWidgetsLocalizations.delegate,
        DefaultMaterialLocalizations.delegate,
      ],
      child: MediaQuery(
        data: MediaQueryData.fromWindow(window).copyWith(size: const Size(800, 600)),
        child: Directionality(
          textDirection: TextDirection.ltr,
          child: Navigator(
            onGenerateRoute: (RouteSettings settings) {
              return MaterialPageRoute<void>(
                settings: settings,
                builder: (BuildContext context) {
                  return Material(
                    child: PopupMenuButton<int>(
                      child: Text('Click Me'),
                      itemBuilder: (BuildContext context) {
                        return <PopupMenuEntry<int>>[
                          PopupMenuItem(
                            value: 1,
                            child: Text('About'),
                          ),
                        ];
                      },
                      onSelected: (int value) {
                        showAboutDialog(context: context);
                      },
                    ),
                  );
                },
              );
            },
          ),
        ),
      ),
    );
  }
}

Expected Behavior
You expect to see a basic about dialog without any errors.
Actual behavior
You get the following exception (the specific numbers differ based on device, but I was able to replicate the exception in Android, iOS, and MacOS):
The following assertion was thrown during performLayout():
RenderIntrinsicWidth does not meet its constraints.
Constraints:
  BoxConstraints(280.0<=w<=331.4, 0.0<=h<=611.4)
Size:
  Size(259.0, 184.0)
If you are not writing your own RenderBox subclass, then this is not your fault. Contact support:
https://github.com/flutter/flutter/issues/new?template=BUG.md

The relevant error-causing widget was:
  Navigator file:///Users/tvolkert/project/sci/apps/payouts/lib/bug_report.dart:19:18

When the exception was thrown, this was the stack:
#0      RenderBox.debugAssertDoesMeetConstraints.<anonymous closure> (package:flutter/src/rendering/box.dart:1977:9)
#1      RenderBox.debugAssertDoesMeetConstraints (package:flutter/src/rendering/box.dart:2036:6)
#2      RenderBox.size=.<anonymous closure> (package:flutter/src/rendering/box.dart:1754:7)
#3      RenderBox.size= (package:flutter/src/rendering/box.dart:1756:6)
#4      RenderIntrinsicWidth.performLayout (package:flutter/src/rendering/proxy_box.dart:653:7)
#5      RenderObject.layout (package:flutter/src/rendering/object.dart:1774:7)
#6      RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:115:13)
#7      RenderObject.layout (package:flutter/src/rendering/object.dart:1774:7)
#8      RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:115:13)
#9      RenderObject.layout (package:flutter/src/rendering/object.dart:1774:7)
#10     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:115:13)
#11     RenderObject.layout (package:flutter/src/rendering/object.dart:1774:7)
#12     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:115:13)
#13     _RenderCustomClip.performLayout (package:flutter/src/rendering/proxy_box.dart:1269:11)
#14     RenderObject.layout (package:flutter/src/rendering/object.dart:1774:7)
#15     RenderConstrainedBox.performLayout (package:flutter/src/rendering/proxy_box.dart:270:13)
#16     RenderObject.layout (package:flutter/src/rendering/object.dart:1774:7)
#17     RenderPositionedBox.performLayout (package:flutter/src/rendering/shifted_box.dart:396:13)
#18     RenderObject.layout (package:flutter/src/rendering/object.dart:1774:7)
#19     RenderPadding.performLayout (package:flutter/src/rendering/shifted_box.dart:209:11)
#20     RenderObject.layout (package:flutter/src/rendering/object.dart:1774:7)
#21     RenderPadding.performLayout (package:flutter/src/rendering/shifted_box.dart:209:11)
#22     RenderObject.layout (package:flutter/src/rendering/object.dart:1774:7)
#23     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:115:13)
#24     RenderObject.layout (package:flutter/src/rendering/object.dart:1774:7)
#25     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:115:13)
#26     RenderObject.layout (package:flutter/src/rendering/object.dart:1774:7)
#27     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:115:13)
#28     RenderObject.layout (package:flutter/src/rendering/object.dart:1774:7)
#29     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:115:13)
#30     RenderObject.layout (package:flutter/src/rendering/object.dart:1774:7)
#31     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:115:13)
#32     RenderObject.layout (package:flutter/src/rendering/object.dart:1774:7)
#33     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:115:13)
#34     RenderObject.layout (package:flutter/src/rendering/object.dart:1774:7)
#35     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:115:13)
#36     RenderOffstage.performLayout (package:flutter/src/rendering/proxy_box.dart:3221:13)
#37     RenderObject.layout (package:flutter/src/rendering/object.dart:1774:7)
#38     _RenderTheatre.performLayout (package:flutter/src/widgets/overlay.dart:702:15)
#39     RenderObject._layoutWithoutResize (package:flutter/src/rendering/object.dart:1637:7)
#40     PipelineOwner.flushLayout (package:flutter/src/rendering/object.dart:894:18)
#41     RendererBinding.drawFrame (package:flutter/src/rendering/binding.dart:404:19)
#42     WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:867:13)
#43     RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:286:5)
#44     SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1115:15)
#45     SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1054:9)
#46     SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:970:5)
#50     _invoke (dart:ui/hooks.dart:269:10)
#51     _drawFrame (dart:ui/hooks.dart:227:3)
(elided 3 frames from dart:async)

The following RenderObject was being processed when the exception was fired: RenderIntrinsicWidth#b3cb6 relayoutBoundary=up6 NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE:
  creator: IntrinsicWidth ← Semantics ← DefaultTextStyle ← AnimatedDefaultTextStyle ←
    _InkFeatures-[GlobalKey#5cb52 ink renderer] ← NotificationListener<LayoutChangedNotification> ←
    CustomPaint ← _ShapeBorderPaint ← PhysicalShape ← _MaterialInterior ← Material ← ConstrainedBox ←
    ⋯
  parentData: <none> (can use size)
  constraints: BoxConstraints(280.0<=w<=331.4, 0.0<=h<=611.4)
  size: Size(259.0, 184.0)
  stepWidth: null
  stepHeight: null
This RenderObject had the following descendants (showing up to depth 5):
    child: RenderFlex#193c0 relayoutBoundary=up7 NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
      child 1: RenderRepaintBoundary#7ffb3 relayoutBoundary=up8 NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
        child: RenderCustomPaint#bbcf8 relayoutBoundary=up9 NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
          child: RenderRepaintBoundary#8bf04 relayoutBoundary=up10 NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
            child: _RenderScrollSemantics#42c8c relayoutBoundary=up11 NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
      child 2: RenderPadding#94830 relayoutBoundary=up8 NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
        child: RenderPadding#8a396 relayoutBoundary=up9 NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
          child: _RenderButtonBarRow#99717 relayoutBoundary=up10 NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
            child 1: RenderPadding#8b6e5 relayoutBoundary=up11 NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
            child 2: RenderPadding#701bf relayoutBoundary=up11 NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
════════════════════════════════════════════════════════════════════════════════════════════════════

IntrinsicWidth is the source of many problems; this one is embarrassing.  Thanks for the tidy report, we'll look into it.

CC @shihaohong

I tried replicating this on Android (Nexus 5) and macOS and was not able to do so. The about dialog shows up without any errors on my devices.

Cannot reproduce on Android and MacOS app

flutter doctor -v
[✓] Flutter (Channel master, 1.20.0-8.0.pre.125, on Mac OS X 10.15.6 19G73, locale en-GB)
    • Flutter version 1.20.0-8.0.pre.125 at /Users/taha/Code/flutter_master
    • Framework revision 9c4a5ef1ed (19 hours ago), 2020-07-15 21:41:27 +0100
    • Engine revision 774ae0313d
    • Dart version 2.9.0 (build 2.9.0-21.0.dev 89fe12b12a)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    • Android SDK at /Users/taha/Code/sdk
    • Platform android-30, build-tools 30.0.0
    • ANDROID_HOME = /Users/taha/Code/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.6)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.6, Build version 11E708
    • CocoaPods version 1.9.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 47.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.47.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.12.2

[✓] Connected device (5 available)
    • SM M305F (mobile)      • 32003c30dc19668f          • android-arm64  • Android 10 (API 29)
    • Taha’s iPhone (mobile) • 00008020-001059882212002E • ios            • iOS 13.6
    • macOS (desktop)        • macos                     • darwin-x64     • Mac OS X 10.15.6 19G73
    • Web Server (web)       • web-server                • web-javascript • Flutter Tools
    • Chrome (web)           • chrome                    • web-javascript • Google Chrome 83.0.4103.116

• No issues found!

I can no longer reproduce this at ToT.  Lemme try to bisect it and see where it was fixed, so we can assess whether it's worth adding a test to guard against it getting reintroduced.


ex5 and ex5p do not work with -pa when using square-disc.mesh

Hi mfem team,
I just realized that the example 5 does not work with square-disc.mesh when enabling partial assembly.
does this example work only for simply connected geometry?
Thanks

Partial assembly only current supports tensor-product elements (quadrilaterals and hexahedra). The square-disc mesh is a triangular mesh, so it won't work with PA. You can generate a quad mesh of the same geometry (e.g. in gmsh or another mesh generator) that will work with PA.
(I will also mention that if you are interested in Darcy + partial assembly, there is also miniapps/hdiv-linear-solver/darcy.cpp that illustrates a matrix-free solver for these problems suitable for use with partial assembly. Only quad and hex meshes are supported though.)


Textbox should be bigger by default when editing Task Name

Wen you edit the name of a Task the text box is tiny and you always have to make it bigger using the mouse first. This is a bit annoying:

You can now use the "name" input in the properties panel :)

Duplicate of #157? We did some work on this in bpmn-io/bpmn-js#477.
Problem is fixed in the latest nightly already.


Function: Modify esbuildDecorators example

Maybe someone else can weigh in if they can make this plugin work without this line but I just burned a couple hours trying to figure out why my TypeDORM code wouldn't play nice with esbuild/SST. Without specifying the tsconfig file it was using commonjs style exports (exports.MyClass = MyClass) on my files that had annotations which, obviously, doesn't work.
Maybe it will work without issue if you change your root tsconfig.json to use "module": "esnext" (like the ./services/tsconfig.json file does) but I haven't tried that and a default SST project uses commonjs (via the @tsconfig/node16/tsconfig.json extends) so I think for most people they will need to specify the tsconfig file in the esbuildDecorators config.
Hopefully this can save someone else some pain.

We are transition this repo to https://github.com/sst/v2 and are closing this issue for now. If it is still relevant please reopen it there - sorry for the trouble


There is no differences between libmd release and debug one

Subj.
So size/etc. optimization doesn't work at all!

What do you mean exactly by "no difference" ? At least the library size is not the same. Also now debug target use optimization level 1 (while release use O3) so performance even in debug are already good.

I mean, that after compilation on Windows, libmd.a, and libmd_debug.a have the same sizes.
And my tries to change compilation flags don't change that difference.

This is a compilation log.
build_lib.zip

Oh yeah you need to do a clean between release / debug. Maybe something to change in the makefile to avoid that...

I fixed the build script ;)


back arrows are not unfiorm within the application

different types of back arrow icons are used in the app which leads to UI inconsistency

@WednesdaySP you can work on it

@Jiggy9  i have resolved this issue, can you please add hactoberfest label also