TYMP and PNP GPRs

I am working on a knockout of the TYMP gene in Human 1, which codes for the TMDPP enzyme. However, the knockout has no effect on any reactions due to its GPR.
Current behavior:

Knocking out the TYMP gene in Human 1 has no effect on the TMDPP (MAR04485) reaction because it shares the GPR with the PNP gene.

The TYMP gene is also part of the GPRs of 3 other reactions shared with PNP: MAR04709 MAR04695 MAR04603. This may need extra checking but based on Recon3D (see below) and the UniProt pages for TYMP and PNP, TYMP should not be in the GPRs of these 3 reactions.

Gene name
ENSG
Gene card
Current single knockout effect

TYMP
ENSG00000025708
TYMP
None

PNP
ENSG00000198805
PNP
MAR08791 MAR08486 MAR04663 MAR04662 MAR04651 MAR04574

Metabolic Atlas viewer:
TYMP
PNP
Expected feature/value/output:
The TYMP gene should only code for MAR04485, and all the other reactions linked to PNP and TYMP should only be PNP. This is the case in Recon3D for example (see below).

Gene name
ENSG
Gene card
Expected single knockout effect

TYMP
ENSG00000025708
TYMP
MAR04485

PNP
ENSG00000198805
PNP
MAR08791 MAR08486 MAR04709 MAR04695 MAR04663 MAR04662 MAR04651 MAR04603 MAR04574

Recon3D
TYMP
PNP

@juliette-cooke thanks, will check this out

After taking away MAR04485 (#499), 9 reactions are now catalyzed by PNP, which actually is know to interact only with substrates inosine (MAR04574), hypoxanthine (MAR04709), guanosine (MAR04651), guanine (MAR04603), adenosine (MAR08486), and adenine (MAR04695).
This leaves a question about the validity of the other reactions MAR04662, MAR04663, MAR08791.

This leaves a question about the validity of the other reactions MAR04662 (nicotinate D-ribonucleoside), MAR04663 (xanthosine), MAR08791 (nicotinamide ribonucleoside). Should these reactions be removed or kept?

The reaction MAR04663 is supported by this reference, but no experimental evidence found with MAR04662 and MAR8791.


build fails with stm32h7xx_hal

Hi @marius-meissner ,
I was happy to find that there is already a create implementing the LTC681x family.
I'm working on a BMS based on the Portenta H7 development board
and cell sensor board with two LTC6812 ICs.
I have a working simple test code with spi in this commit: 1e2885d
When I add the LTC681x create like this commit b954de7 the build fails with the message:
error: no global memory allocator found but one is required; link to std or add `#[global_allocator]` to
a static item that implements the GlobalAlloc trait

This shouldn't happen as the LTC681x crate is not using any alloc(), right?
I tried to check the heapless create, but except in its tests it also not using the std allocator.
Then maybe an interaction with the STM32H7xx_hal create?
Any hints or suggestions on how to fix this issue would be very appreciated!

I managed to get unstuck, by removing extern crate alloc from the lib.rs source.
After that of course the tests don't compile anymore.
In my project I must be missing something that suppresses that the test code gets compiled

@marius-meissner  Thanks for the quick fix!
Yes it solves the build issue!


Small splits fix

a small follow-up indexing simplification when creating bids split fnames.
a small fix to a docstring.
check writing over a split when saving raw also for neuromag schema (we did the same fix for epochs earlier)

Thanks @dmalt !


[WIP] PL looks incorrect on Position

Story details: https://app.clubhouse.io/augur/story/11438
May add market/outcome filters now

DO NOT MERGE -- I have to write some stuff in UI to catch these changes and test. I'll merge after i confirm the changes


[Feature]: Support checkbox as a column type in table widget

Summary
As a dev, I should be able to add the following as column types

checkbox

Requirements

Requirement
User Story
Importance
Notes

Column type: checkbox
Sets the column type to checkbox, alter default selected
High
-

default value
The default value for checkbox; Boolean
High
-

Disabled
Should the checkbox remain disabled
high
-

onChange
trigger event on change
High
-

Alignment
Alignment inside the table cell
Medium
-

@vibhandikyash does this ☝ look alright

LGTM


Tap icon to set focus, open form

Using Sae with pencil icon similar to example. To open the textinput user must tap the label, tapping on the icon does nothing, but the icon looks like the button to tap to start editing. Not sure how to wire in that functionality... or, am I missing something?
Thanks!

Thanks for reporting @stirman.
I just fixed this in d61b8fa. I am going to publish version 0.4.2 which will be including this commit.


WIP: fix for https://github.com/aviatesk/JET.jl/issues/277

Unfortunately some eval tests are broken. I currently have no idea how to fix those...
It seems we have to adapt select_statements to JuliaInterpreter's frame then?

Codecov Report

Merging #278 (c8febee) into master (7f9498b) will decrease coverage by 1.55%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #278      +/-   ##
==========================================
- Coverage   89.07%   87.52%   -1.56%
==========================================
  Files          10       10
  Lines        2225     2220       -5
==========================================
- Hits         1982     1943      -39
- Misses        243      277      +34

Impacted Files
Coverage Δ

src/toplevel/virtualprocess.jl
97.13% <100.00%> (-0.22%)
:arrow_down:

src/abstractinterpret/abstractanalyzer.jl
76.85% <0.00%> (-5.11%)
:arrow_down:

src/analyzers/jetanalyzer.jl
91.97% <0.00%> (-4.03%)
:arrow_down:

src/JET.jl
70.61% <0.00%> (-1.89%)
:arrow_down:

src/abstractinterpret/typeinfer.jl
92.68% <0.00%> (-1.01%)
:arrow_down:

src/analyzers/optanalyzer.jl
87.36% <0.00%> (-0.39%)
:arrow_down:

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 7f9498b...c8febee. Read the comment docs.

Good catch! Are you willing to add a testcase for this?

Yes.

In a case of when JuliaInterpreter.optimize! is necessary for successful interpretation,
then as an alternative, we may even change JuliaInterpreter.optimize! so that it takes a callback that is invoked upon source modification.

 Do you have an idea where I could search for the cause of the above?

Maybe https://github.com/JuliaDebug/JuliaInterpreter.jl/issues/13#issuecomment-464880123?
Or we can create Frame with optimization first and then select statements.

Or we can create Frame with optimization first and then select statements.

This I tried first :) and it had too much fallout in JET for me to handle.

Maybe JuliaDebug/JuliaInterpreter.jl#13 (comment)?

I will study this now. Thanks!

I'd like to propose the following:

Merging this change as is (it seems to be a bug fix at least)
Me learning some git (Thanks for the tips!)
Switching internally to optimized frames in another pull request and talking there about the eval problems.

Sure!


Screenshots not showing up on prod

Issue in ./help/analyze/report-builder/setup/upgrade-arb.md
Check out the live page at https://experienceleague.adobe.com/en/docs/analytics/analyze/report-builder/report-builder-setup/upgrade-arb
The screenshots are broken.

Hi @antonioatadobe - there will be a brand new version of Report Builder in the September time frame and this existing documentation will be EOL'd. So I will wait to update the screenshots once I have the full UI at my disposal.

Delayed to October.


WIP: fixing up the bubblegum

I have added a new "FactIdentifierT" type that is really just a time. Latest push in Core takes a fact identifier and stores it in the buffer. The Core program also binds the current fact identifier, the current fact time, and the actual value (which is still the pair of date and time)
TODO still:

Core evaluation to read out the fact identifiers
Conversion to Avalanche should preserve the new fact identifier bindings

are fact identifiers just fact times? (and therefore all times must be unique?)

yep, all times need to be unique (well, entity * attribute * time), so we can use the time as the fact identifier locally. I'd like to keep it relatively opaque though, if we can

yep, all times need to be unique (well, entity * attribute * time)

This isn't true, and I don't think it can be without another dimension.

yep, all times need to be unique (well, entity * attribute * time)
This isn't true, and I don't think it can be without another dimension.

yeah this is what I fear, sorry @amosr

hm ok - we are enforcing this restriction in Ice, I'm not sure where we got that idea from @jystic?

in that case, I'll just represent it as an int index in Core and Avalanche, and then let the C output do what it wants (maybe just timestamp paired with an int index or something)

@amosr the way we are enforcing input checks is not wrong, there are just other cases (input as events, etc.). We don't have one coherent story to cover all the cases yet, but anyway int index sounds good :+1:

re fact identifiers: jacob and I decided last friday that we're just going to use indices for fact identifiers, and assume the entire entity's data will fit in memory (this is only necessary for latest type queries)

assume the entire entity's data will fit in memory

@markhibberd this should be ok right?

this has a lot of changes, mainly to Core, but some changes to conversion from Source and conversion to Avalanche.
The Core evaluator now keeps track of bubblegum, but only the "historical" kind: latests and windows.
I have had to ban "latest inside latest" for now. I think this is a relatively minor problem.
I would like to merge this before starting on the next part - Avalanche bubblegum.

@amosr want to walk us through it when you get a minute?

:smoking: :yen: :dollar: :pound: :euro:


Implement safe data and enter.

Following discussion #5. I really think it's better to hide unsafe combinators under the carpet, rather than creating a Safe module. Good defaults are important and user will not look further to use "the other combinators".

One thing I'm not satisfied is that it's still possible to place enter in a nonsensical way. I could enforce the proper placement of enter by typing, but it needs to change the API some more, and I'm not sure it's such an issue (the rule is quite simple and is explicit in the documentation).

Having just stumbled into some of the same soundness issues, I'm interested in this patch.  Any hope of getting it integrated?  Having a safe API that one could stick to most of the time would be a lovely thing....


[Req] Statistics - Users

As count query (statistics dashboard (?):

Number of users active within a specific module (circulation/ILL/ACQ)

( requires #103)

part of the task moved to overlay


OSError: [E050] Can't find model 'en'. It doesn't seem to be a shortcut link, a Python package or a valid path to a data directory.

Hi,
I'm getting the error when I'm running the code to tokenize the text.
I've installed spacy and the English language model. I think the problem is that the spacy model is now called 'en_core_web_sm' instead of 'em'.

If anyone else finds this, the fix is to run the following on the command line after spacy has been installed:
python -m spacy download en


boards/arm/stm32/common/src/stm32_bh1750.c: Fix mistakes in comments and snerr

Summary
Fix mistakes in comments and snerr
Impact
none
Testing

@simbit18 you can simply "git push -f" in next to avoid create a new PR for each updating.

xiaoxiang781216 ok thanks.


Debug/mini la solve

A defect in pivot selection function has been fixed.
Gauss-Newton solver codes have been better sophisticated.

accept


timm.models.beit error on colab

I installed the script on colab, but on reboot I got this error on version 0.3.4:
Error loading script: depthmap.py
Traceback (most recent call last):
File "/content/stable-diffusion-webui/modules/scripts.py", line 195, in load_scripts
module = script_loading.load_module(scriptfile.path)
File "/content/stable-diffusion-webui/modules/script_loading.py", line 13, in load_module
exec(compiled, module.dict)
File "/content/stable-diffusion-webui/extensions/stable-diffusion-webui-depthmap-script/scripts/depthmap.py", line 40, in
from midas.dpt_depth import DPTDepthModel
File "/content/stable-diffusion-webui/extensions/stable-diffusion-webui-depthmap-script/scripts/midas/dpt_depth.py", line 5, in
from .blocks import (
File "/content/stable-diffusion-webui/extensions/stable-diffusion-webui-depthmap-script/scripts/midas/blocks.py", line 4, in
from .backbones.beit import (
File "/content/stable-diffusion-webui/extensions/stable-diffusion-webui-depthmap-script/scripts/midas/backbones/beit.py", line 9, in
from timm.models.beit import gen_relative_position_index
ModuleNotFoundError: No module named 'timm.models.beit'
I put these two lines in install.py, but it didn't help:
if not launch.is_installed("timm"):
launch.run_pip("install timm", "timm requirement for depthmap script")
How can I use the script on colab?

Can you try pip install --force-reinstall timm==0.6.12

The timm installation was successful, but I got another problem:
/usr/local/lib/python3.8/dist-packages/scipy/__init__.py:146: UserWarning: A NumPy version >=1.16.5 and <1.23.0 is required for this version of SciPy (detected version 1.24.1
  warnings.warn(f"A NumPy version >={np_minversion} and <{np_maxversion}"
No module 'xformers'. Proceeding without it.
Error loading script: depthmap.py
Traceback (most recent call last):
  File "/content/stable-diffusion-webui/modules/scripts.py", line 195, in load_scripts
    module = script_loading.load_module(scriptfile.path)
  File "/content/stable-diffusion-webui/modules/script_loading.py", line 13, in load_module
    exec(compiled, module.__dict__)
  File "/content/stable-diffusion-webui/extensions/stable-diffusion-webui-depthmap-script/scripts/depthmap.py", line 14, in <module>
    from numba import njit, prange
  File "/usr/local/lib/python3.8/dist-packages/numba/__init__.py", line 42, in <module>
    from numba.np.ufunc import (vectorize, guvectorize, threading_layer,
  File "/usr/local/lib/python3.8/dist-packages/numba/np/ufunc/__init__.py", line 3, in <module>
    from numba.np.ufunc.decorators import Vectorize, GUVectorize, vectorize, guvectorize
  File "/usr/local/lib/python3.8/dist-packages/numba/np/ufunc/decorators.py", line 3, in <module>
    from numba.np.ufunc import _internal
SystemError: initialization of _internal failed without raising an exception

After I put these two lines at the end of install.py:
launch.run_pip("install --force-reinstall timm==0.6.12", "timm requirement for depthmap script")
launch.run_pip("install scipy", "scipy requirement for depthmap script")

I got this error:
Error loading script: depthmap.py
Traceback (most recent call last):
  File "/content/stable-diffusion-webui/modules/scripts.py", line 195, in load_scripts
    module = script_loading.load_module(scriptfile.path)
  File "/content/stable-diffusion-webui/modules/script_loading.py", line 13, in load_module
    exec(compiled, module.__dict__)
  File "/content/stable-diffusion-webui/extensions/stable-diffusion-webui-depthmap-script/scripts/depthmap.py", line 14, in <module>
    from numba import njit, prange
  File "/usr/local/lib/python3.8/dist-packages/numba/__init__.py", line 42, in <module>
    from numba.np.ufunc import (vectorize, guvectorize, threading_layer,
  File "/usr/local/lib/python3.8/dist-packages/numba/np/ufunc/__init__.py", line 3, in <module>
    from numba.np.ufunc.decorators import Vectorize, GUVectorize, vectorize, guvectorize
  File "/usr/local/lib/python3.8/dist-packages/numba/np/ufunc/decorators.py", line 3, in <module>
    from numba.np.ufunc import _internal
SystemError: initialization of _internal failed without raising an exception

For automatic1111 WebUI I had to change the versions in requirement file and requirement versions to the one mentioned above

I'm out of colab for today, but I'll check this one out next time.

seems like a package version incompatibility with numba ..
You can remove the numba imports, remove the lines that start with @njit and replace the prange with range, only the stereo image generation will be much much slower ..
I will have to investigate further ..

I was getting this error as well, and running what @aluuuanefields suggested got it working.
Specifically (using the venv) ran this:
pip install --force-reinstall timm==0.6.12
pip install numba==0.56.2

Both are required, as the first didn't work as well.

For the first time ever I got the error below at startup in SD Web UI by AUTOMATIC1111. The current versions of the above mentioned two libraries installed in SDWUI (Commit hash: 0cc0ee1bcb4c24a8c9715f66cede06601bfc00c8) are respectively timm-0.4.12 and numba-0.56.4,
Error loading script: depthmap.py
Traceback (most recent call last):
File "C:\stable-diffusion-webui\modules\scripts.py", line 229, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "C:\stable-diffusion-webui\modules\script_loading.py", line 11, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "C:\stable-diffusion-webui\extensions\stable-diffusion-webui-depthmap-script\scripts\depthmap.py", line 40, in
from midas.dpt_depth import DPTDepthModel
File "C:\stable-diffusion-webui\extensions/stable-diffusion-webui-depthmap-script/scripts\midas\dpt_depth.py", line 5, in
from .blocks import (
File "C:\stable-diffusion-webui\extensions/stable-diffusion-webui-depthmap-script/scripts\midas\blocks.py", line 4, in
from .backbones.beit import (
File "C:\stable-diffusion-webui\extensions/stable-diffusion-webui-depthmap-script/scripts\midas\backbones\beit.py", line 9, in
from timm.models.beit import gen_relative_position_index
ModuleNotFoundError: No module named 'timm.models.beit'

Both are required, as the first didn't work as well.
This unfortunately didn't help Colab, it crashed WebUI with torch errors.


pytestCheckHook: Switch from python -m pytest to simply pytest?

Describe the bug
While trying to enable tests for this package, I noticed that I got circular imports errors as explained upstream here. I then ran git grep circular import and learned that another Python package, pyrevolve is experiencing the same issue on NixOS:
https://github.com/NixOS/nixpkgs/blob/46688f8eb5cd6f1298d873d4d2b9cf245e09e88e/pkgs/development/python-modules/pyrevolve/default.nix#L36-L46
Steps To Reproduce
For each package that comes out in a git grep circular import search, I'll list what I learned, from most interesting, to less interesting:
python3.pkgs.pyrevolve
Try to build it with this patch:
diff --git i/pkgs/development/python-modules/pyrevolve/default.nix w/pkgs/development/python-modules/pyrevolve/default.nix
index 754baf91ad38..33df5d177f4d 100644
--- i/pkgs/development/python-modules/pyrevolve/default.nix
+++ w/pkgs/development/python-modules/pyrevolve/default.nix
@@ -38,7 +38,7 @@ buildPythonPackage rec {
   # ImportError: cannot import name 'crevolve' from partially initialized module 'pyrevolve'
   # (most likely due to a circular import)
   checkPhase = ''
-    pytest
+    python -m pytest
   '';

   pythonImportsCheck = [

Which does the same as replacing pytest with pytestCheckHook, and removing the overriding checkPhase. Note how the tests now fail.
python3.pkgs.orange
Seems like a very similar case to what happens in python3.pkgs.pyrevolve, but replacing python -m pytest with pytest doesn't resolve the issue. I also haven't opened an issue upstream because I'm not sure whether this is our fault or theirs.
I tested this issue using this patch
diff --git i/pkgs/development/python-modules/orange3/default.nix w/pkgs/development/python-modules/orange3/default.nix
index cff4a603c846..4a9051548655 100644
--- i/pkgs/development/python-modules/orange3/default.nix
+++ w/pkgs/development/python-modules/orange3/default.nix
@@ -24,6 +24,7 @@
 , pyqtgraph
 , pyqtwebengine
 , python
+, pytest
 , python-louvain
 , pythonOlder
 , pyyaml
@@ -104,8 +105,13 @@ let
       baycomp
     ];

-    # FIXME: ImportError: cannot import name '_variable' from partially initialized module 'Orange.data' (most likely due to a circular import) (/build/source/Orange/data/__init__.py)
-    doCheck = false;
+    doCheck = true;
+    nativeCheckInputs = [
+      pytest
+    ];
+    checkPhase = ''
+      pytest
+    '';

     pythonImportsCheck = [ "Orange" "Orange.data._variable" ];

python3.pkgs.primer3
The circular import issue is mentioned there in a comment, but that comment seems maybe inaccurate to me, and the same testing failure is observed when adding pytest to nativeCheckInputs, and when running manually pytest in checkPhase. Comment improvement is in https://github.com/NixOS/nixpkgs/pull/255260
python3.pkgs.xdot
Don't know why was the purpose of the circular import comment, maybe it was outdated. Now a fix for tests and update is available in https://github.com/NixOS/nixpkgs/pull/255254 .
iniconfig
Not exactly this issue, but rather it is a form of https://github.com/NixOS/nixpkgs/issues/63168 . Improvement for the comment near it's doCheck = false; is in https://github.com/NixOS/nixpkgs/pull/255256 .
Expected behavior
No difference between pytest and python -m pytest.
Additional context
Problem was investigated also in https://discourse.nixos.org/t/python-package-testing-circular-import-in-a-version-py/33019/ .
Notify maintainers
@FRidh . Maybe python3.pkgs.orange3, and python3.pkgs.pyrevolve maintainers @lucasew and @AtilaSaraiva will be also interested.

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/python-package-testing-circular-import-in-a-version-py/33019/5

It is not a circular import, but this is a problem often encountered in extension modules generated by cython and others.
python -m pytest adds the current directory to the head of the search path, so python imports packages in $src/ instead of packages installed in $out/{python.sitePackages}/.
https://docs.pytest.org/en/7.1.x/explanation/pythonpath.html#invoking-pytest-versus-python-m-pytest
I don't think this is the expected behavior of pytestCheckHook.

Just for reference:
pytestCheckHook is defined in pkgs/development/interpreters/python/hooks/pytest-check-hook.sh
And I think that -m behavior is to allow using a interpreter specific for testing. I don't know the usecases of this approach exactly as I am not the author of the hook.
Do you think that an option to disable this behaviour and use pytest directly would be better?
Like instead of that eval "@pythonCheckInterpreter@ $args" some kind of check that if a flag is enabled then pytest $args?

Like instead of that eval "@pythonCheckInterpreter@ $args" some kind of check that if a flag is enabled then pytest $args?

Definitely that would be nice, but I'm not sure that's the only thing that is required here. At https://github.com/astropy/astropy/issues/15316#issuecomment-1722190547 I summarized some my findings regarding pytest vs python -m pytest.

It is not a circular import, but this is a problem often encountered in extension modules generated by cython and others.
some examples

Thanks for the examples! Indeed for the packages I tried to update and enable tests (pyerfa and astropy) was using cd $out in preCheck. See also https://github.com/NixOS/nixpkgs/pull/255471 .
On the other hand over at https://github.com/NixOS/nixpkgs/pull/255260 a different solution was implemented eventually.


Add share pricing attribute to Markers

Summary
Add a price attribute to the Marker structure to track the per-token value of the asset.
Problem Definition
Currently there is not an easy way to track asset values on chain.  While there is a pricing web service that allows owners to update price data, there is not a corresponding value on chain which smart contracts or protocol functions can rely on to track value.  Further as exchange functions develop on chain there should be a simple source for tracking the settlement pricing info on chain which can be updated.
Proposal

Add a new attribute to each marker which tracks the USD value of an individual share of each.  This attribute should be updatable by the marker administrator.
An additional onchain private keeper api should exist which allows this value to be updated as part of a value exchange.
Determine if there is a reasonable solution for a bilateral settlement feature which could be used by exchange contracts that would also update the pricing information.

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate contributors tagged
[ ] Contributor assigned/self-assigned

(this issue requires further definition/analysis before implementation)

This attribute is likely to be NAV ... which has a very specific definition and method for determining the price. https://www.investopedia.com/terms/n/nav.asp

NAV is calculated at the end of each trading day based on the closing market prices of the portfolio's securities.

This feature will address some aspects of the requests for "oracle" pricing data...

A few more comments ... probably need more than one price record on a marker (so we can't use an attribute, likely need a list like the send/deny list stuff) ... a token pair setup makes sense as there might be different exchange values set ... volume, a date the price was state... future work would need to determine when to replace or expire values.


can we use the SIMD approach from the paper in go?

We can, see for details https://www.superfell.com/weblog/2021/01/it-depends-episode-2/
It's not clear we should until there's a more concrete issue.


Fix: gstreamer1.0-omx package url

Changes include:
- Override for SRC_URI in
> meta-rz-codecs/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.16.3.bbappend
using site.conf. The default URL for gstreamer common project no
longer works
due to removal of git protocol.
Repoint it to https://github.com/GStreamer/common
- rename site.conf in template to site.conf.sample to fix site.conf not being copied to build/conf.
Notes:
- Dunfell is EOL, so no use of patching it in the recipe.

I agree that we need to rename site.conf to site.conf.sample to fix the copy issue and add some configurations to ensure the fetching protocol is https.
But why do we need to use site.conf to override gstreamer1.0-omx source? It's not a proper way to do that. We just add a bbappend file in meta-renesas layer at: https://github.com/Renesas-SST/meta-renesas/tree/dunfell/rz-sbc/meta-rz-common/recipes-multimedia/gstreamer

After checking the document and doing some experience, looks like the site.conf.sample file will not automatically be copied to the build/conf folder by the bitbake command. I must copy it manually.
user-configuration


⚠ Bofrost.at has degraded performance

In 62d7314, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2502 ms

Resolved: Bofrost.at performance has improved in 81d109f after 6 minutes.


entry (ticdc):remove useless code in entry package

What problem does this PR solve?

Issue Number: ref #10457
What is changed and how it works?

Removing unnecessary old code in cdc/entry package.
Move schema_test.go from cdc/owner to cdc/entry, where it should belongs.

Check List
Tests

Unit test

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
None

/retest

/retest

/retest

/test all

/retest

/retest

/retest


Sometimes refugeepodcrash doesn't get right backstory

May fixed by 3c09b0f, but not sure. Keep this on for more gameplay.


a strange problem when the size of file is less than or equal to cache_size

I found a strange problem. When the size of file size is less than or equal to cache_size and does not exceed 512 bytes, this file will be stored in the 0, 1 super block; otherwise, it will be stored in the data block. So when I try to modify this file, for example, assign a new value to the 512 bytes of the file, these new values are still stored in the super block, then I am going to add 512 bytes to the end of the file. Make it length to 1024 bytes, then littlefs will reopen a new data block (non-super block), and copy the re-assigned 512 bytes in the super block to the new data block, plus the last end 512 bytes. These operations have no effect on the correctness of the contents of the file.
However, imagine a situation and continue to write new files. The super block will continue to record the file log after the 512 bytes written earlier, and when the super block is full, the contents of the super block 0 will be copied to the super block 1. I observed from the log: The copied data includes the junk file in super block 0, and in the subsequent copy (copy to super block 0), the junk file always exists, so this is a bit strange.

int times_trade = 0; while (1)		// { 	times_trade++; 	LFS_DEBUG("times_trade. ( times_trade: %d ))\n", times_trade); 	//Trading_flow 	LFS_DEBUG("\nStatic_file. LINE: %d\n", __LINE__);	 	memset(&file_write_buf, ((file_data++)%256), sizeof(file_write_buf)); 	static int Trading_cycle_count = 0; 	EA_ucLFSWriteFile(&lfs, &file, "Trading_flow", file_write_buf, 512, Trading_cycle_count *512, LFS_SEEK_SET); 	memset(&file_write_buf, ((file_data++) % 256), sizeof(file_write_buf)); 	EA_ucLFSWriteFile(&lfs, &file, "Trading_flow", file_write_buf, 512, Trading_cycle_count *512, LFS_SEEK_SET); 	Trading_cycle_count++; 	if (Trading_cycle_count == 300) 	{ 		Trading_cycle_count = 0; 	}	 	LFS_DEBUG("Trading_flow. ( size: %d KB ))\n", lfs_file_size(&lfs, &file) / 1024);  }

Good find! You're right this shouldn't happen and it's a bug. littlefs is supposed to clean up those inline files during compaction, but that logic was broken. It went undetected since the fetch logic will discard the duplicate when it sees a more recent tag.
I'm currently looking into the best way to fix this, littlefs can either 1. discard inline files during compaction, or 2. explicitly tag inline files for deletion.
1 is more efficient, but 2 leaves open the possibility to add support for files that are stored in both inline and skip-list parts. But I'm not sure the idea is possible even with 2 and it adds complexity.

here: https://github.com/ARMmbed/littlefs/tree/fix-file-uniqueness1
here: https://github.com/ARMmbed/littlefs/tree/fix-file-uniqueness2

Going with option 1. I realized there was already a plan for inline+ctz files in place. If we want both we can repurpose the device-side-only tag LFS_TYPE_FROM to actually give us 256 possible inline "chunks" for both inline and ctz files.


Restore cursor change when using Color Picker

Closes https://github.com/godotengine/godot-proposals/discussions/10050

This PR restores the cursor change when color picking and uses the cross icon for it. This was present in Godot 3.x but forgotten about in 4.0.
I don't know why the gif makes it look worse than it actually is, it's not fully black.

Note that due to limitations, this only works when hovering over windows that Godot owns. This may give the impression that it only works that way, yet in Godot 4 it can capture the entire screen if the renderer supports it, so it's worth debating.

Has legacy picking always been "wrong" or is this PR (specifically the removal of picker_texture_rect->set_default_cursor_shape(CURSOR_POINTING_HAND);) the cause of it?

Has legacy picking always been "wrong" or is this PR (specifically the removal of picker_texture_rect->set_default_cursor_shape(CURSOR_POINTING_HAND);) the cause of it?

No idea, I only tested the new behavior, which is showing cursor for picking and cross after color is picked, which is wrong.


feat: Friends Api Endpoint

Added Friends Api Endpoint

3 methods: friends_list, friend_requests, pending_friend_requests
2 examples: friend_requests.rs and friends_list.rs

In plans: add methods for managing requests/friends, maybe add support for enum values (friend's presenceType, friend request's originSourceType)

new methods: accept_friend_request and decline_friend_request

new methods: send_friend_request and unfriend

Thank you for contributing to roboat! I went ahead and formatted it with cargofmt just to keep it consistent with the rest of the library. I looked over it and it looks great, everything is documented and has examples etc. Great work!


bool collector not working as documented

We used the bool collector in our project and found that it does not work as described in the README.
Example configuration
paths:
 - ./src

layers:
 - name: foo
   collectors:
     - type: bool
       must:
         - type: classname
           regex: '^Foo\\'
         - type: classname
           regex: '^Tests\\Foo'
       must_not:
         - type: classname
           regex: '.*Bar.*'

Expected result
Going from the documentation this should collect any class that (either starts with Foo or Tests\Foo) and does not match Bar
Actual result
What we found is that it collects only classes that start with Foo AND start with Tests\Foo AND do not contain Bar
Which matches no class at all since classes can't begin with Foo AND Tests\Foo at the same time
Possible solutions

Update the documentation to reflect actual behaviour
Update the class to perform as documented, which would break BC

docs are wrong here, good catch. do you want to fix it in the docs?

Sure, I'll send a PR later :slightly_smiling_face:


Code on PnPjsExample doesn't match repo

The code as demonstrated on this page: https://learn.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/guidance/use-sp-pnp-js-with-spfx-web-parts does not match what is in the repository here: https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-pnp-js-sample as referenced on the page itself.
Any way this could be sync'd back up so the demo page and repo match and the code presented works?

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

ID: 4b19eb96-192d-2d8b-8d4e-0de787f22093
Version Independent ID: e2cbd2b2-8bb7-a95f-0768-15f1b045b4c4
Content: Use @pnp/sp (PnPJS) library with SharePoint Framework web parts
Content Source: docs/spfx/web-parts/guidance/use-sp-pnp-js-with-spfx-web-parts.md
Service: sharepoint
Sub-service: sharepoint-framework
GitHub Login: @VesaJuvonen
Microsoft Alias: vesaj

Also note that the instructions need to include npm install --save @microsoft/office-ui-fabric-react-bundle and also to create a file along the lines of "defineScss.d.ts" in the components subdirectory so the SCSS can be properly read in. Contents of the file would simply be:
declare module '*.scss' {   const content: Record<string, string>;   export default content; }


Can no longer get NYC to use absolute paths in lcov.info

File paths in lcov.info used to be absolute before 15.0.0. This has changed in the following PRs:

https://github.com/istanbuljs/nyc/pull/1212
https://github.com/istanbuljs/istanbuljs/pull/492

It looks like these PRs do such a good job of "adding support for relative path option" that they remove the possibility to use absolute paths altogether, since this.cwd is now always set as the projectRoot for the lcovonly module, which uses path.relative without the option to turn this feature off.
Is there some way to continue using absolute paths in lcov.info?
If this would need changes in the code, I'm happy to prepare a PR.

nyc is complex with many options, my preference is to avoid unnecessary options as every option increases the learning curve.  That is why I requested the removal of --relative=true from the linked PR's.  I'm thinking that we could create a report alias such that nyc report -r lcovabsolute would produce output with absolute filenames.  This would avoid creation of a new 'global' option / having to explain that it only applies to the lcov report.
CC @bcoe

@coreyfarrell – thanks for your feedback!
Speaking of global options, is there a way to pass in options to a particular reporter that is exposed somewhere – e.g. the nyc key in package.json or similar? That would be an obvious place to put this option.
Short of that I would also be fine with a separate lcovabsolute reporter as long as there is something that allows me to generate lcov.info files with absolute paths.

I ended up publishing my own plugin:
https://www.npmjs.com/package/nyc-report-lcov-absolute
It's not the most beautiful code I've ever written but it gets the job done.

A comment from https://github.com/istanbuljs/istanbuljs/issues/529 helped me to resolve the issue. I just added this line to the jest config of packages in my monorepo:
coverageReporters: [['lcov', { projectRoot: '../..' }]],

@PaulRBerg did you ever find a solution? We have the same issue where we have several separate reports, with the paths to the files being relative to each monorepo workspace, so when we try to merge them, we end up with 3 entries for the same file, all with different paths.

@RobbieTheWagner I can't remember unfortunately.


Question about  the existence of lanes in tusimple and culane dataset

The original dataset just supplies the coordinates of lane points. I wonder how we can determine which lane exists. I currently focus on another dataset which just have lane points info. Maybe I should relabel the existence info by myself or is there an another method to quickly identify the  which lane existence and add the info into the train.txt?

@solidexu Existing datasets use line slope to determine existence. Note that existence is only needed for multi-class segmentation approaches (their seg label is also generated based on slope), the original script is cpp in https://github.com/XingangPan/seg_label_generate . You can refer to #40 for more discussions (Python scripts and such).

Thank you ~ I just found the C++ script from XingangPan. Using slope to determine the existence of lane is definitely a genius idea. But I am not sure if it works well with CurveLanes Dataset. Anyway, I will try it. Thanks again!

But I am not sure if it works well with CurveLanes Dataset.

We also have problem doing this for CurveLanes, please share to us if you have a solution for this kind of dataset.

@voldemortX  Hi, you mean we don't use lane existence label in train.txt (e.g. 1111) except segmentation-based model? :0

@voldemortX  Hi, you mean we don't use lane existence label in train.txt (e.g. 1111) except segmentation-based model? :0

Yes. It is only meant for semantic segmentation.

Thank you ~ I just found the C++ script from XingangPan. Using slope to determine the existence of lane is definitely a genius idea. But I am not sure if it works well with CurveLanes Dataset. Anyway, I will try it. Thanks again!

Hi，Does it work on the Curvelanes dataset?


Load-Balancer remains in initializing state

Rancher Version:
v1.2.0
Docker Version:
1.12.5
OS and where are the hosts located? (cloud, bare metal, etc):
AWS EC2
Setup Details: (single node rancher vs. HA rancher, internal DB vs. external DB)
Three rancher/server's and three (separate) rancher/agent
Environment Type: (Cattle/Kubernetes/Swarm/Mesos)
Cattle
Steps to Reproduce:
Launch the following stack:
version: '2'
services:
lb:
image: rancher/load-balancer-service
ports:
- 85:85/tcp
labels:
io.rancher.loadbalancer.target.api: 5000
tty: true
links:
- api:api
stdin_open: true
elasticsearch:
image: elasticsearch:2.4.1
api:
image: <aws_ecr_uri>
links:
- elasticsearch:elasticsearch
Results:
The load-balancer remains in initialization state and we are unable to hit the api service.
Expected:
The load-balancer should be running.

related to #7164

Closing due to inactivity. If this affects you in a recent version of rancher, please file a new issue.


Revert commit

Hi there,
Would be nice to have a possibility to revert a commit.
Is this possible and I missed it?
Thanks & regards,
Lucian

hi,
are you using abapGit as client? you can always add another commit reverting the previous, but that would not look nice in the history. Another option is to rebase the branch to the previous commit, which I think should be a client feature.
However there should be a setting in the server, if it is allowed to rewrite the git history

Hi Lars, I must say that I'm an ABAPer with very limited Git know-how. I am looking to learn about it.
Using abapGit & abapGitServer as I don't have SSL config authorization.
I had only the master branch (does not make much sense to have branches in ABAP as same object cannot have multiple versions right? ) and deleted a method from a class. Then I was not able to find the revert function.
From Atlassian tutorial:
"

If we execute git revert HEAD, Git will create a new commit with the inverse of the last commit.

"
Hope that now I made my question more clear, thanks in advance for help!


update with make vfsgen

@sdake: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

gencheck_operator
f7854e0fcf1d9ca1b70d733890904320c7d4edb3
link
/test gencheck_operator

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


[Api][Web][SIMS#443]Document Number

I created a a new function called updateDisbursementSchedule in disbursement-schedule-service. This function invokes the logic generate a new document number.

I removed the implementation that generates a new document number and assigns it to the document number in the createDisbursementSchedules function when a new disbursement is created.

updateDisbursementSchedule is invoked in the confirmation-of-enrollment controller after the application status is completed.

I implemented functionality in the front end web application to disable students from creating or editing/updating applications when their SIN status is not valid.

I just have one comment and one clarification needed. Rest all good.


Deck converter Issue

Describe the bug
Trying to convert plain text to a deck list.
4 Hallowed Fountain
2 Tranquil Cove
7 Plains (331)
9 Island (335)
4 Faerie Miscreant
4 Spectral Sailor
2 Loyal Pegasus
4 Healer's Hawk
2 Nightveil Sprite
4 Empyrean Eagle
3 Hanged Executioner
3 Sephara, Sky's Blade
2 Dungeon Geists
2 Sphinx of Foresight
2 Dovin, Grand Arbiter
2 Winged Words
2 Rally of Wings
2 Depose/Deploy
To Reproduce
Steps to reproduce the behavior:

Go to 'https://www.channelfireball.com/articles/preparing-for-standard-rotation-17-decks-using-only-cards-from-guilds-of-ravnica-forward/?_ga=2.101089025.1012487077.1567471181-83943563.1567471181'
Click on 'view plain text. and copy list.'
Scroll down to 'https://mtgarena.pro/converter/'
See error; Import Fail. Please report a bug if import fails repeatedly.

Expected behavior
Normally this converts plain text into an importable text for mtg arena
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

Hi! You gave us the incorrect list for export/import. You can try to import this deck into game and the error will be the same.
Here is the example of correct list. Every card name should have the number after the set name:
4 Healer's Hawk (GRN) 14
2 Nightveil Sprite (GRN) 48
2 Sphinx of Foresight (RNA) 55
2 Dovin, Grand Arbiter (RNA) 167
2 Depose // Deploy (RNA) 225
4 Hallowed Fountain (RNA) 251
2 Rally of Wings (WAR) 27
3 Hanged Executioner (M20) 22
2 Loyal Pegasus (M20) 28
3 Sephara, Sky's Blade (M20) 36
2 Dungeon Geists (M20) 57
4 Faerie Miscreant (M20) 58
4 Spectral Sailor (M20) 76
2 Winged Words (M20) 80
4 Empyrean Eagle (M20) 208
2 Tranquil Cove (M20) 259
7 Plains (M20) 264
9 Island (M20) 266
This code will import deck into game or into deck builder correctly.


non-wiki/markdown links

I'm interested in using this for a bunch of inter-linked markdown files which don't use wiki-links and instead use more vanilla markdown syntax, like this:
[filename](./filename.md)
If I wanted to modify this to work with such links, do I just need to edit the regex in line 17?
Or is there other code I'd need to change as well?

I replaced the default capture group with a named one. So the only thing the regex needs to provide is a capture group named "linktarget": https://github.com/whateverforever/zettelcon/blob/main/zettelcon.py#L17
Should be fairly easy to adapt now


ARGO-351 Profiles management for eudat web ui

Description
Includes all necessary changes for profile management section. Running devel instance incorporates the changes.

please review /cc @themiszamani

Removed update button from profiles view. Change is on here.
please review /cc @themiszamani


Issue with ICACHE with GCC compiler

https://github.com/ARM-software/CMSIS_6/blob/8c4dc58928b3347f6aa98b6fb2bf6770f32a72b7/CMSIS/Core/Include/m-profile/armv7m_cachel1.h#L356
The same issue mentioned here https://github.com/ARM-software/CMSIS_5/issues/1680

Hi @djemaiMohamed,
I guess you are using compiler settings reading all warnings as errors. The function should compile just fine even if parameters are actually unused. I agree, that we could silence the warnings/errors by introducing void casts.
Would you raise your fix as a pull-request to CMSIS 6? I'd be happy accept your contribution.
Thanks,
Jonatan


feat: add transifex automatic translations

Description
This PR:

Creates a workflow to automatically push strings to transifex.
Creates a workflow to weekly update the translated strings.
Updates the create_assets implementation to get strings from a new format grouped by lang

Tests are failing just because the locale.yaml file is empty (to trigger the two translation workflows)

@bmtcril ready


 vs  in .equals(Object o)

Description
In the lecture, the reason behind typecasting the object (ImList<?> otherlist = (ImList<?>) obj) in the equals method to a (ImList<?>) is because the only method that otherlist is required to call on is the equal method, which all objects have. I was just wondering if we could typecast as (ImList<Object>) instead, and if there was a reason why we don't do it? Thanks!
Screenshots

I think <Object> wouldnt work, as it would require the list to be strictly of Object type. But maybe <? extends Object> would.

I actually think  would work (it seems possible in this case) but maybe he just used <?> to show that ? is a wildcard not a type?

If you look at the new implementation of ImList.java, the static of() method returns an ImList meaning that if you want to assign it to ImList, the original ImList created must be of type Object, meaning you cannot assign ImList otherlist = ImList.of() directly as it will give an error. However, it is able to take in all types of ImList and the result will be an ImList.
So I think they are actually slightly different:
ImList<?> can refer to all types of ImLists while ImList can take in all types of ImLists but the type of this will be fixed as an Object.
Hope im understanding this correctly as well

More specifically, when you do ImList.<Object>of(ImList.<String>of()) you are putting strings into an ImList<Object>.  The result is still an ImList<Object>.


per domain setting personal Token Found Here  Link is not getting updated according to selected domain

as seen on bottom right corner of image link still points to github.com instead of selected domain

Not a huge deal but PR welcome to fix it


Sonar/MLX: ML4 and ML7 are not reporting

ML7 I know to have been reinstalled and it lost its sonar install.
ML4 is a little more curious but it hasn't been reporting since nov 11.  It's been up for longer than that.  Sonar appears to run.  It tries to send mail about something to me, but the mail never arrives, so mail is misconfigured too (too many things don't work about email to be able to rely on it at all, see #585).
Looks like ML4 could be affected by the problem with parsing rocm-smi output:
[larstha@ml4 sonar-main]$ git checkout release_0_12
branch 'release_0_12' set up to track 'origin/release_0_12'.
Switched to a new branch 'release_0_12'
[larstha@ml4 sonar-main]$ cargo build
   Compiling sonar v0.12.2 (/itf-fi-ml/home/larstha/p/sonar-main)
    Finished dev [unoptimized + debuginfo] target(s) in 1.87s
[larstha@ml4 sonar-main]$ target/debug/sonar ps
thread 'main' panicked at src/amd.rs:223:22:
called `Option::unwrap()` on a `None` value
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

and then
[larstha@ml4 sonar-main]$ git checkout main
Switched to branch 'main'
Your branch is up to date with 'origin/main'.
[larstha@ml4 sonar-main]$ cargo build
   Compiling sonar v0.13.0-devel (/itf-fi-ml/home/larstha/p/sonar-main)
    Finished dev [unoptimized + debuginfo] target(s) in 1.75s
[larstha@ml4 sonar-main]$ target/debug/sonar ps
v=0.13.0-devel,time=2024-11-19T09:04:28+01:00,host=ml4.hpc.uio.no,user=root,cmd=xfsalloc,pid=1376,ppid=2
v=0.13.0-devel,time=2024-11-19T09:04:28+01:00,host=ml4.hpc.uio.no,user=root,cmd=ksoftirqd/60,pid=383,ppid=2,cputime_sec=3
v=0.13.0-devel,time=2024-11-19T09:04:28+01:00,host=ml4.hpc.uio.no,user=root,cmd=ksoftirqd/8,pid=65,ppid=2,cputime_sec=1
...

So the AMD parsing thing (probably) should be backported to v0.12 or we should move to v0.13-devel on ML4.

Looks like the upgrade to the AMD drivers broke the AMD info gathering in Sonar: https://github.com/NordicHPC/sonar/issues/209.

Even with bug fixes for the parsing, ML4 fails to report data due to a device setup issue, https://rt.uio.no/Ticket/Display.html?id=6673455.

ML7 and the others have been setup, ML4 remains.


convertTouchMoveStartToButtonDownAndMotion stopped working with change to not await snap.

Tools that want to turn onTouchMoveStart into onMouseStartDrag are no longer working.
public override async onTouchMoveStart(ev: BeTouchEvent, startEv: BeTouchEvent): Promise {
return IModelApp.toolAdmin.convertTouchMoveStartToButtonDownAndMotion(startEv, ev);
}
The view clip modify arrow controls among other things rely on this. When we are explicitly trying to start a drag operation, we need to make sure we await  checking for a snap in onMotion in order for the active tool to see if it wants to handle the onTouchMoveStart event before allowing it to be passed on to the IdleTool.
Not sure if there's a cleaner way to do this, just adding Promise.resolve when forcing a start drag was very bad.

@Mergifyio update


simulation time of replay

I recorded scenario and replayed the scenario several times with different environment (weather, etc..). I tried to get synchronized video from each replay. To do so, I used frame value of received data from sensor (every time frame value % 10 is increased, save image) so that I can save exactly same scene if replay uses same simulation time as original scenario and timestamp of sensor data is simulation time. However, timestamp values of images saved from each replays were not synchronized.
What is the reason? Is it because image.timestamp != simulation time, or, simulation time of each replay is not same as original scenario?

Simulation time is not replay time, replay time needs to be calculated

@lowbees ,hello, do you know how to calculate the replay time?


Merging non-adjacent rules

A useful feature to include would be the ability to merge non-adjacent rules. As this could potentially be unsafe and affect the overall effect of the CSS, it could be enabled via a configuration flag.
Just a suggestion

PRs welcome, but I have a few other ideas for 'safe' optimisations before I get to this.

That's fine :)

Came for this. Not disapointed.

@Yimiprod PR still welcome. :smile:

+1

"Safe"?
Don't people input-safe.css -> output-altered.css? How could anything in PostCSS be unsafe?
I would love to see this feature happen...
Just look at all the compiled repetition: http://codepen.io/corysimmons/pen/jWzVOx?editors=1100
Now imagine you have a site with dozens of grid declarations and media queries on it...
I don't know how to battle this problem from my end.

Potentially re-ordering rules in the CSS file can break the semantics of the CSS as you are changing the order in which rules are applied. This might lead to unexpected breakage just because of rule order.
PRs are still welcome.

Is this issue or repo about re-ordering rules? I thought it was about merging rules.
a { color: red; font-family: serif; }
a { color: blue; }

should merge into
a { color: blue; font-family: serif; }

We're talking about non-adjacent rules.
h1 { color: red }
h2 { color: black }
h3 { color: green }
h4 { color: yellow }
h5 { color: red }

In order to merge properly, the first rule must be moved.
h2 { color: black }
h3 { color: green }
h4 { color: yellow }
h1, h5 { color: red }

Ah, I see what you're saying now. Hm..

If this does get implemented by anyone, I'd suggest a second option for merge type.
merge-direction: up
a {
  color: blue;
}
a {
  color: red;
}

should produce
a {
  color: blue;
}

Maybe a third option like media-queries: outside
.col {
  float: left;
  width: 100%;
}
@media (min-width: 700px) {
  .col {
    float: left;
    width: 50%;
  }
}

should produce
.col {
  float: left;
  width: 100%;
}
@media (min-width: 700px) {
  .col {
    width: 50%;
  }
}

Just spitballing here.

This would be really useful for grid libraries where order probably doesn't matter.

Perhaps it could take a list of regular expressions to limit what it's applied to:
mergeNonAdjacentRules: false  // none
// or
mergeNonAdjacentRules: true  // all
// or
mergeNonAdjacentRules: [/\.col-\d+/];  // only .col-#

This would be really useful for grid libraries where order probably doesn't matter.

That's exactly what I need it for. That's the only consistent complaint I get about my grid systems and there isn't much I can do about it, especially when it gets into media queries. :(
Regex would be cool.
This stuff might be a bit ambitious though. :O

1 for this feature.

Today, I use maps that is the only way to achieve the same result.
`$h1: (
color: blue,
margin: 0
);
$h1: map-merge($h1,
(
color: red
)
);
h1 {
@each $property, $value in $h1 {
#{$property}: $value;
}
}`
This is nice if you work with small projects.
Unfortunately, when you need this feature, it's actually because you work on big projects and specific customizations according to your targeted environment.
Plus, this forces me to write code that is not CSS, which means any I would have to refactor all my maps if the situation is brighter in the future with SASS improvements.
And the function map-merge does not work well with nested maps.
So today, I didn't find any way to merge these rules with pure CSS and post processors.

@lucpotage I've just been using css-clean + https://github.com/mrcoles/cssunminifier

Yes, I tried this tool along with cssnano whichi is great too.
But it seems I can't get the result I except with my example above.
h1 {
  color: green;
  margin: 10px;
}

h1 {
  color: red;
}

This code will turn into that code with clean-css:
h1 {
  color: green;
  margin: 10px;
  color: red;
}

This is nice but I would like to achieve that result:
h1 {
  color: red;
  margin: 10px;
}

Are you saying this is actually possible to do this with clean-css?

Yeah I'm pretty sure. Try it.

Thank you for your help! It helps me a lot. It does exactly what I want.
Weirdly, it is said that gulp-clean-css is deprecated in favor of gulp-minify-css. So I tested the second one and it worked as well. But for gulp-minify-css, it's written that the package is deprecated in favor of cssnano that offers more advanced options. But it's the one I already use today, so I was very suprised.
Despite several available optimizations, I didn't find a way to get the same result with cssnano as the one with gulp-minify-css or gulp-clean-css, maybe because cssnano does not rely on clean-css. If eventually you have the answer.

The true/false/regex would be amazing! I also use postcss-import and it would be really interesting if there was a way that each imported file could decide what nonadjacent rules it would be ok with merging... maybe through comments with the same true/false/regex values?

I'd love a flag to allow merge/split non-adjacent. Wrote about it here: https://medium.com/@DonTAbrams/immutable-css-optimizing-performance-and-minimizing-size-7547d98abfee

I would love to see non-adjacent combining though if the selector is the same.
For example:
h1 { color: blue;}
p { color: red; }
h1 { font-size: 2.5rem; }
p { font-size: 1.125rem; }

become:
h1 { color blue; font-size: 2.5rem; }
p { color: red; font-size: 1.125rem; }

In terms of any conflicts such as a later h1 { color: green; }, the last value trumps.

+1


[Open] What's the version number for next mileston March 30th.

As we decided to make next milestone on March 30th. Now our version number has bumped to 0.9.9 in the commit log. So what's the version number shall we use for next milestone, 1.0.0?
What's your opinions, @halton @kenny-y @tingshao @lisa0314 @minggangw ? Can not find Ningxin in the group. I will ping him offline.

1.0.0 seems to be more stable release, are we sure stable stage? If no, let's use 0.10.0

Will the node-librealsense be added to this release at the end of Mar?

Will the node-librealsense be added to this release at the end of Mar?

Depend on you

I will contact the QA team to make sure if we can finish the first round test for the existing functions before this milestone.

So, I will create a milestone on 0.10.0

@kenny-y @tingshao @lisa0314 @minggangw 0.10.0 milestone has been created, please add scoped issues to it according your judgements.

I just negotiated with @haoyunfeix about testing work of node-librealsense. We decided to design and run the test cases for the existing APIs first, and if the testing work can be finished before this milestone (0.10.0), we can release it. After this release, other functions and TCs will be added step by step.

Good to know.


Template - Run quality tests in your build pipeline using Azure Pipelines

Error while creating build definition: Unable to configure a service on the selected GitHub repository. This is likely caused by not having the necessary permission to manage hooks for the selected repository.

Please make sure that you have all the necessary permission to create a new project.


compat: Support Aeson 2.2.x

thanks @414owen. can you adjust https://github.com/morpheusgraphql/morpheus-graphql/blob/144a98ad7fd5022bbd890de92564d9ad286b7c00/config/stack.yaml#L74C3-L74C8 file and run "npm run setup". versions are managed by this.

@nalchevanidze I've updated the stack.yaml with a lower and upper bound for attoparsec-aeson, but I'm afraid I'm a bit nodejs-phobic, would you be able to run that command for me?

Great work, would you consider publishing a new Hackage release ?


Download images and videos from DMs

I need to be able to download DM images and videos. Can this library do that? I couldn't figure out how
so I edited the package locally to add this functionality. I am a total beginner but I am happy to push up a PR if it is deemed worthwhile. Sorry if this the wrong place to ask questions like this. Thanks!

Hi, can you share the code please ? Thank you

in the __ request method
  // Download Media
  if (typeof params.getMedia !== 'undefined') {
    downloadImage = true;
    getMedia = params.getMedia;
    imagePath = params.imagePath;
    delete params.getMedia;
    delete params.imagePath;
    var options = {
      method: method.toLowerCase(),  // Request method - get || post
      url: path
    };
  } else {
    // Build the options to pass to our custom request object
    var options = {
      method: method.toLowerCase(),  // Request method - get || post
      url: this.__buildEndpoint(path, base) // Generate url
    };
  }

and then where you cal request
  // Callback version
  if (downloadImage){
    var ws = fs.createWriteStream(imagePath);
    ws.on('error', function(err) { console.log(err); });
    this.request(options).pipe(ws);
    downloadImage = false;
    imagePath = "";
    callback(null, null, null);
  } else {
    this.request(options, function(error, response, data) {

I am happy to refactor/improve if you think the functionality is needed. I just need something for a demo quick.


Don't use RTPS Participant name as node name

This is what I mentioned here: https://github.com/ros2/ros2cli/pull/464#issuecomment-594764745.
Currently, the node name and namespace are communicated making use of userData qos.
In case that that qos setting can be parsed in the way ros2 is using it, we're using the RTPS Participant name as a node name, and listing it.
The question is: is that exactly what we want?
I see some value of showing the user other Participants that weren't craeted with ROS, but probably, their name should be showed with a different prefix. An opt-in/opt-out flag to show them or not would also be nice.
In https://github.com/ros2/rmw_fastrtps/pull/312, userData is now being use to communicate the Context name. Connext was failing to parse it, and then showing the RTPS Participant name.
We can take the following paths:

Just show Participants that their userData can be parsed correctly (proposed in this PR).
Don't change anything here, and accept the participant name to be showed as a node name. Make sure that the tests don't run nodes from a different implementation when they shouldn't (see https://github.com/ros2/ros2cli/pull/464).

I don't know what's the best option, @hidmic @wjwwood opinions?

I guess it makes sense too, based on @hidmic's reasoning.

Linux
macOS
Windows

Failures are unrelated, merging!


HTC One M7 Preview Image Changes When Picture Taken

And, since the aspect ratios differ, you see a change in the preview.

Mostly portrait RFC.

Both RFCs exhibit this. What's more curious is that when zoomed in, the brief preview change shows the unzoomed image.

Similar results on Xiaomi Redmi.


Avoid lazy initialization of Mutex

This PR moves the creation of the Mutex to the constructor.

The class needs it all the time for its primary tasks
This change helps Ruby platforms which do not have a GIL/GVL

Hope this helps!

cc @ioquatix

Nice work!

is this some kind of bot code improvement?
it looks good for sure!

No bots involved! Glad you like it.


Ignore query params when searching for a bundle file

Description

Hello BugSnag team 👋
I am having trouble setting up sourcemaps for a remix project that is being run via remix-serve (default remix server). The thing is that remix-serve by default adds a query param while loading a file, this in turn - as far as I understand - makes it impossible for BugSnag to load previously uploaded source maps.
The uploaded bundle file format is index.js, source map format is index.js.map. index.js has a proper reference to the map one at the end of the file - //# sourceMappingURL=index.js.map
However, due to the the addition of extra query param added by remix-serve, the file referenced in the error looks like below:
***/build/index.js?t=1711562424160.4358:1415:4

If my assumption that BugSnag doesn't allow for extra query params in the file name is true, do you consider adding support for that in the future?
Describe the solution you'd like

I would like BugSnag to allow wildcards/file patterns for bundle files while uploading the source maps. Alternatively, BugSnag could be looking for a bundle file ignoring query params.
Describe alternatives you've considered

N/A
Additional context

Fun fact: when I rename the bundle file to include some query param (let's say I name it index.js?foo=bar) and upload it like that (let's say via bugsnag-source-maps upload-node CLI), the UI shows the file without query param being presence (it's present as index.js). It suggests to me that query parameters shouldn't be taken into consideration while BugSnag is looking for a bundle file.
And yes, I have verified that uploaded source maps have the same appVersion as my notifier, so this is not the issue.

It turned out this can be done using BugSnar REST upload API. The API allows you to specify minifiedUrl and it does support wildcards. Previously I was using the CLI and couldn't find that option. It might be reasonable to add the support for that to CLI too.

It turned out this can be done using BugSnar REST upload API. The API allows you to specify minifiedUrl and it does support wildcards. Previously I was using the CLI and couldn't find that option. It might be reasonable to add the support for that to CLI as well.


Jump incremental steps when clicking Slider Bar

Right now, when clicking somewhere on the Slider Bar, the Pointer will jump straight to that point (or the nearest Tick).
As an additional option something like "jumpDistance" would be fantastic, where one can define the number of Ticks, the pointer will jump in the mouse direction, when clicking the Slider Bar.
So defining jumpDistance: 10 and step: 3 would make the Pointer jump 30 units with each click.
What do you think? Useful?
Cheers,
Jakokb
PS: This slider really is fantastic! So many options, yet so simple to use!

Somewhat related...when you click on the Slider Bar it would be nice if, for a range slider, the closest pointer jumped there rather than always the high pointer.

@jakobwinter I don't really like this feature. Indeed, when I use a slider that behaves like this, I feel it buggy. In my opinion, it's more logic that when I click at a point on the slider bar, it goes directly to this value. Also, I want to slow down the number of features that are added to this slider because it's becoming a white elephant.
@apitts the behaviour you described is already the one that is used in the 2.X version.


Bundle JS libraries

Should we use NodeJS bundling instead of fetching from CDNs and using saved resources? Would probably increase performance, would decrease potential (albeit unlikely) security issues, and would make versioning more consistent. Plus we already use Node for grunt.

Would also make developing over unreliable network connections easier

Per conversation, let's chat this through with CD/BB and see if this makes sense. Seems like there are a variety of answers on this. It's probably not something we need to do but something that might be nice to understand and learn regardless.

Completed with #287


Cannot set weight for product

There is no method to set the weight and using withCustomAttributes doesn't work.

Happy anniversary, ticket number one. Finally got around to add that withWeight() method!


Advice on configuration to minimise gaps

Your Environment

Plugin version: 1.3.2
Platform: Android (maybe iOS too)
OS version: 6.0.1 (maybe other versions too)
Device manufacturer / model: Samsung J5 (2016)
Nativescript version (tns info):

┌──────────────────┬─────────────────┬────────────────┬──────────────────┐
│ Component        │ Current version │ Latest version │ Information      │
│ nativescript     │ 2.4.0           │ 2.4.2          │ Update available │
│ tns-core-modules │ 2.4.0           │ 2.4.2          │ Update available │
│ tns-android      │ 2.4.1           │ 2.4.1          │ Up to date       │
│ tns-ios          │ 2.4.0           │ 2.4.0          │ Up to date       │
└──────────────────┴─────────────────┴────────────────┴──────────────────┘

Plugin config

    config = {
            license: "***",
            params: {
                device: {
                    platform: Platform.device.os,
                    manufacturer: Platform.device.manufacturer,
                    model: Platform.device.model,
                    version: Platform.device.osVersion,
                    uuid: Platform.device.uuid
                }
            },
            // Geolocation config
            desiredAccuracy: 0,
            distanceFilter: 20,
            stationaryRadius: 50,
            locationUpdateInterval: 5000,
            fastestLocationUpdateInterval: 5000,
            disableElasticity: false,

            // Activity Recognition config
            activityType: 'AutomotiveNavigation',
            activityRecognitionInterval: 5000,
            stopTimeout: 10,
            minimumActivityRecognitionConfidence: 75,

            // Application config
            debug: false,
            stopOnTerminate: true,
            preventSuspend: false,
            heartbeatInterval: 60,

            // Server sync
            autoSync: false,
            batchSync: true,
            maxBatchSize: -1,
            url : appConfig.apiUrl + 'journeyevent_v2/?token=' + Settings.getString("token"),
            extras : {
                journeyID: journeyID || 0,
                vehicleID: vehicleID
            }

        };

A user today stopped at a service station whilst tracking. They kept the app running and their walk around the store was recorded. However, at some point the app stopped tracking and didn't restart until they had returned to their vehicle and travelled 20+ miles (17 minutes).
I understand the plugin wishes to switch of the GPS if the device is not moving but accuracy of mileage is vital for my app and a 20+ mile gap in tracking is going to cause major problems. Even a 1 mile gap will mean vital information is lost. Especially in an urban environment with lots of turns.
If the plugin is #started I never want it to stop tracking until #stop is called.
Is there any way I can configure the plugin to never stop even if it thinks the device is not moving?
I have no way to get logs from this device.

disableStopDetection: true.
There's no way to speculate on what happened without logs.
Here's two weeks around Iceland

Yeah I've seen the Iceland trip. It also contains some anomalies

Do you think it is going to be possible to implement #emailLog in the NS version? It's currently very difficult if not impossible to get logs from my non-techy testers.

Android lost of a day of data when I synced to the wrong server.  Not a tracking anomaly.
Over a period of 2 weeks on a remote island, this is behaviour you can expect.  You will get no better than this.

Your Environment

Plugin version: 1.5.0
Platform: iOS
OS version: 10.3.1
Device manufacturer / model: Apple iPhone SE
Nativescript version (tns info): 2.5

┌──────────────────┬─────────────────┬────────────────┬─────────────┐
│ Component        │ Current version │ Latest version │ Information │
│ nativescript     │ 2.5.4           │ 2.5.4          │ Up to date  │
│ tns-core-modules │ 2.5.2           │ 2.5.2          │ Up to date  │
│ tns-android      │ 2.5.0           │ 2.5.0          │ Up to date  │
│ tns-ios          │ 2.5.0           │ 2.5.0          │ Up to date  │
└──────────────────┴─────────────────┴────────────────┴─────────────┘

Plugin config
      // Geolocation config
      desiredAccuracy: 0,
      distanceFilter: 20,
      stationaryRadius: 50,
      locationUpdateInterval: 5000,
      fastestLocationUpdateInterval: 5000,
      disableElasticity: false,

      // Activity Recognition config
      activityType: 'AutomotiveNavigation',
      activityRecognitionInterval: 5000,
      disableStopDetection: true,
      stopTimeout: 10, // n/a if disableStopDetection: true
      minimumActivityRecognitionConfidence: 75,

      // Application config
      debug: false,
      stopOnTerminate: false,
      heartbeatInterval: 60,
      logLevel: 5,
      logMaxDays: 1,

      foregroundService: true, // Android

      // Server sync
      autoSync: false,
      batchSync: true,
      maxBatchSize: -1

I've finally managed to get a log from this user (https://gist.github.com/3rror404/c324f3e4b4ebe0306ae8d9bec6445f7f). Looking at the logs for today it looks like the gaps occur after the user has stopped for some time even when setting disableStopDetection: true.
Is there anything I can do to prevent this?

disableStopDetection does not prevent iOS from entering stationary mode after the device stops for stopTimeout minutes (in your case 10 minutes).
Once iOS does enter stationary mode, it will only be reawakened by exiting the stationary geofence it's asleep within.  This stationary geofence exit is completely dependent upon the os and the local network environment (e.g. Proximity of cell towers).  In my experience, this is typically ~200 meters in urban environments.

The docs confused me here as it says...

When disabled, you will no longer have control over #stopTimeout.

I assumed that the timeout was unused if using disableStopDetection. But does this actually mean that the default 15 minutes will be used?
I guess I can't just set a huge stopTimeout and disableStopDetection?

disableStopDetection does not disable stopTimeout.  disableStopDetection merely prevents the plugin from temporarily turning off location services when briefly stopped (to conserve energy), when stopped at a traffic light, for example.
I suggest you not disableStopDetection and either increase your stopTimeout (e.g. 30min) or keep stopTimeout low (eg 5-10) and use preventSuspend.  preventSuspend will prevent iOS from suspending your app while in stationary mode and continue listening to the motion-detection hardware.  You'll not want to engage preventSuspend 24/7.  You want to try and find a way to only engage it only when required (e.g. when a "trip" starts and turn it off when you know a "trip" is complete.

Yes, the docs for that could be improved.  What that should mention is that the default iOS stop-detection algorithm will take over, which is typically 15min.

However, the docs do say:

Disables the accelerometer-based Stop-detection System. When disabled, the plugin will use the default iOS behaviour of automatically turning off location-services when the device has stopped for exactly 15 minutes. When disabled, you will no longer have control over

OK thanks for the suggestions. I always use start/stop at the beginning and end of a trip so I can config preventSuspend no problem.
What is the reason to use a low stopTimeout with preventSuspend? Is this just for battery saving?  Would it be insane to use a stopTimeout of 60mins along with preventSuspend do you think?

Because with preventSuspend, your app is constantly alive in the background, monitoring the motion-detection hardware.  It will rapidly detect movement and engage tracking.
It can be helpful to have a low stopTimeout so you can analyze the data for motionchange events and say "ok, stopped here for x minutes".  With a too high stopTimeout, you'd never be able to determine significant stops (e.g. Gas station, stop for lunch, etc).
Even a stopTimeout: 0 will work perfectly fine with preventSuspend.  Note also that your JavaScript is alive and running as long as preventSuspend: true

That makes sense. Thanks a lot for the help  👍


feat: #76 auto-add mermaid metadata tag

…ermaid syntax block
PR Checklist
Please check if your PR fulfills the following requirements:

[x] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[x] Refactoring (no functional changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: resolve #76
What is the new behavior?
auto add mermaid metadata tag when contains mermaid block in markdown file
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

Codecov Report
Patch coverage: 100.00% and project coverage change: +0.12 :tada:

Comparison is base (3c4f91e) 97.08% compared to head (8888804) 97.20%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #77      +/-   ##
==========================================
+ Coverage   97.08%   97.20%   +0.12%
==========================================
  Files          10        9       -1
  Lines         137      143       +6
  Branches       14       16       +2
==========================================
+ Hits          133      139       +6
  Misses          4        4

Impacted Files
Coverage Δ

src/jekyll/FrontMatterConverter.ts
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Fix minor typos in the README and CONTRIBUTING docs

This PR closes #950 and fixes some other minor typos in the CONTRIBUTING docs.

Thanks! 🍰


Use secondary white button for Clear action

The left panel has filter and search. Search uses a primary blue button. After Filter action, a Clear link appears. Currently it is a div. Can it be changed to secondary white button?

Just to clarify primary vs secondary. The are 3-buttons: Fill Example, Clear and Try. Fill and Clear are secondary buttons, while Try is a primary button.


Fix applying migrations

We need to apply only not applied migrations for an upgrade. For downgrade, we need to use the downgrade strategy only for applied migrations.

Fixed in version 3.0.6.


Group based modules: Entry is created with Pending status.

Profile associated with entry has pending status just after creation.

Related commit 4c0cbf5


Trunk serve does not respect custom address

System details
macos 14.6.1
Steps to reproduce

Run trunk serve --address <IP_ADDRESS>
Observe that trunk runs on localhost instead:

2024-09-01T17:10:15.467034Z  INFO 🚀 Starting trunk 0.20.3
2024-09-01T17:10:15.473654Z  INFO 📦 starting build
2024-09-01T17:10:18.121126Z  INFO applying new distribution
2024-09-01T17:10:18.122946Z  INFO ✅ success
2024-09-01T17:10:18.123208Z  INFO 📡 serving static assets at -> /
2024-09-01T17:10:18.123247Z  INFO 📡 server listening at:
2024-09-01T17:10:18.123250Z  INFO     🏠 http://<IP_ADDRESS>:8080/

Relates to: https://github.com/trunk-rs/trunk/issues/467

I do recall some issues with older trunk versions. IIRC, it was only a displaying issue though. Running 0.21.0-rc.3 (on Fedora 40), I get:
➜  vanilla git:(main) trunk serve --address <IP_ADDRESS>
2024-09-02T06:49:48.205970Z  INFO 🚀 Starting trunk 0.21.0-rc.3
2024-09-02T06:49:48.220263Z  INFO 📦 starting build
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.02s
2024-09-02T06:49:48.672576Z  INFO applying new distribution
2024-09-02T06:49:48.674531Z  INFO ✅ success
2024-09-02T06:49:48.674576Z  INFO 📡 serving static assets at -> /
2024-09-02T06:49:48.674867Z  INFO 📡 server listening at:
2024-09-02T06:49:48.674872Z  INFO     🏠 http://<IP_ADDRESS>:8080/
2024-09-02T06:49:48.674877Z  INFO     💻 http://<IP_ADDRESS>:8080/
2024-09-02T06:49:48.674880Z  INFO     💻 http://<IP_ADDRESS>:8080/
2024-09-02T06:49:48.674883Z  INFO     💻 http://<IP_ADDRESS>:8080/


Add CsCheck

Testing/CsCheck - https://github.com/AnthonyLloyd/CsCheck
Random testing library for C#. Including multithreading, performance and regression testing.
Innovative random shrinking means it's fast, runs multithreaded, and is easier to compose Gen in C# as there is no need to for Arbitrary.

@pleb Just updated and rebased this PR. CsCheck is now 2.0.0 with concurrency testing with full shrinking and causal profiling. These are not seen anywhere else in .NET. Closest would be Coyote which is quite a different beast. Possibly it should be added also but I have little experience of it to say.


feat: add model-based algorithms

feat: add model-based algorithms
Types of changes
What types of changes does your code introduce? Put an x in all the boxes that apply:

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds core functionality)
[x] Breaking change (fix or feature that would cause existing functionality to change)
[x] Documentation (update in the documentation)

Checklist
Go over all the following points, and put an x in all the boxes that apply.
If you are unsure about any of these, don't hesitate to ask. We are here to help!

[x] I have read the CONTRIBUTION guide. (required)
[x] My change requires a change to the documentation.
[x] I have updated the tests accordingly. (required for a bug fix or a new feature)
[x] I have updated the documentation accordingly.
[x] I have reformatted the code using make format. (required)
[x] I have checked the code using make lint. (required)
[x] I have ensured make test pass. (required)

Codecov Report

Merging #212 (6f6cd46) into dev (bc91d71) will decrease coverage by 20.26%.
The diff coverage is 19.98%.

:exclamation: Current head 6f6cd46 differs from pull request most recent head 602f6a2. Consider uploading reports for the commit 602f6a2 to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@             Coverage Diff             @@
##              dev     #212       +/-   ##
===========================================
- Coverage   95.41%   75.16%   -20.26%
===========================================
  Files          98      116       +18
  Lines        4323     5907     +1584
===========================================
+ Hits         4125     4440      +315
- Misses        198     1467     +1269

Impacted Files
Coverage Δ

omnisafe/envs/safety_gymnasium_modelbased.py
12.75% <12.75%> (ø)

omnisafe/algorithms/model_based/base/ensemble.py
14.68% <14.68%> (ø)

...mnisafe/algorithms/model_based/planner/safe_arc.py
16.43% <16.43%> (ø)

omnisafe/algorithms/model_based/base/pets.py
16.75% <16.75%> (ø)

omnisafe/algorithms/model_based/planner/arc.py
17.47% <17.47%> (ø)

omnisafe/envs/wrapper.py
88.81% <17.64%> (-9.61%)
:arrow_down:

omnisafe/adapter/modelbased_adapter.py
18.10% <18.10%> (ø)

omnisafe/algorithms/model_based/planner/cem.py
18.39% <18.39%> (ø)

omnisafe/algorithms/model_based/base/loop.py
19.28% <19.28%> (ø)

omnisafe/algorithms/model_based/planner/cap.py
21.05% <21.05%> (ø)

... and 14 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Open a fix request, then fix this code details.


Cherry pick workspace fixes into 1.18

Cherry pick PR for the 1.18 release branch of this original PR: https://github.com/Azure/azure-sdk-for-python/pull/36325

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


Default Behavior of getAsync

If you get a Future<> as a singleton, and that Future fails, the Future will always return an error for the container's lifespan.
The solution is here
It creates a scoped container and then only adds the singleton into the main container if the Future succeeds. It makes sense but can also mean that you end up running the same Future - or even other Futures more than once, needlessly.
I'm wondering if this should be the default behavior or not... If it's the default, performance will likely suffer. If it's not the default, some singleton Futures will likely fail and wreck the container. Either way, you need to know the drawbacks of what is happening.
Not quite sure what they best choice is here.

@sunderee thanks! I think this is in agreement with what I've been thinking
Check out this example. This is how you can safely resolve dependencies with retry as many times as necessary
https://github.com/MelbourneDeveloper/ioc_container/blob/f92bb3bd03fb3e3139211d0a8ec2474a737d7463/example/lib/main.dart#L77

@sunderee done.
getAsync() is default, and getAsyncSafe() is there when you need it
Released:
https://pub.dev/packages/ioc_container


IE create account issue

Error Message comes up when I try to create an account on Internet Explorer. No problem on Google Chrome.

What error message? Which version of IE?
Could it be this error?

The error message is:
“Error
Invalid Recapture Value”
Version of IE is:
Microsoft Edge 42.17134.1.0
Microsoft EdgeHTML 17.17134
From: Samuel Colvin<EMAIL_ADDRESS>Reply-To: samuelcolvin/nosht<EMAIL_ADDRESS>Date: Wednesday, 26 September 2018 at 17:52
To: samuelcolvin/nosht<EMAIL_ADDRESS>Cc: Rose Lukas<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [samuelcolvin/nosht] IE create account issue (#132)
What error message? Which version of IE?
Could it be thishttps://sentry.io/the-hands-up-foundation/hands-up-events/issues/702077527/?query=is:unresolved error?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/samuelcolvin/nosht/issues/132#issuecomment-424790517, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AncwI45g1DYYpbjVh-MCEyzDU9AgcnfJks5ue7DKgaJpZM4W7DlI.

 Probably because you're not signed into chrome. Not much I can do about this.


Missing spaces after $ in shell blocks which triggers its viewers

Closing as it was fixed by https://github.com/denoland/dotland/commit/b8f1ee14ffb9605750d0b9e87e0941bd4da0a543.


Added section about W3C Verifiable Credential/Presentation representation

Add section describing how AnonCreds credentials and presentations can be represented in the W3C Data Model standard.

@Artemkaaas -- please address the conflicts. Should be easy :-)


Incorrect capitalization in Spanish "Execute task" string

VSCode Version: Code 1.14.1 (2648980a697a4c8fb5777dcfb2ab110cec8a2f58, 2017-07-13T19:08:57.197Z)
OS Version: Darwin x64 17.0.0
Extensions:

Extension
Author (truncated)
Version

output-colorizer
IBM
0.1.2

material-icon-theme
PKi
2.0.10

githistory
don
0.2.1

php-intellisense
fel
1.4.3

ftp-sync
luk
0.3.3

vscode-apache
mrm
1.1.1

typescript-javascript-grammar
ms-
0.0.23

language-stylus
sys
1.7.3

twig
wha
1.0.2

(4 theme extensions excluded)

Steps to Reproduce:

Set VS code locale to Spanish
Open Tasks (Tareas) menu from system Menu Bar

The general rule for capitalization appears to be to capitalize just the first word, so "Ejecutar Tarea" should be "Ejecutar tarea" to match the same style

inconsistent Capitalization in vs_code.xliff
ENU: &&Run Task...
ESN; &&Ejecutar Tarea...

Should we capitalize Tarea since we're using it as a proper noun? Here's a style guide for reference.

//cc @lukaschal

I'm working on it!

Fixed as suggested.
https://www.transifex.com/microsoft-oss/vscode-workbench/translate/#es/$/114440152?qt=Ejecutar tarea


Extend GetAuthenticationStateAsync to include auth properties

Opening per https://github.com/aspnet/AspNetCore.Docs/issues/15325#issuecomment-548934968 for Blazor Server documentation issue Social login provider tokens+claims for Blazor auth (aspnet/AspNetCore.Docs #15160) opened by @hfaran ...
GetAuthenticationStateAsync doesn't provide authentication properties (and use of options.Events.OnCreatingTicket for the auth provider per the Persist additional claims and tokens from external providers guidance isn't effective when working with tokens).
For ...
var authResult = await HttpContext.AuthenticateAsync();
var authProperties = authResult.Properties.Items;

... only .issued and .expires is exposed for an external auth provider ...
// Immediate Window
authProperties
Count = 2
    [0]: {[.issued, Thu, 17 Oct 2019 13:26:57 GMT]}
    [1]: {[.expires, Thu, 31 Oct 2019 13:26:57 GMT]}

There's two steps here. A) Persist the auth tokens when transitioning from the external cookie to the app cookie. The code here should cover that.
B) In a blazor page there's no way to get access to AuthenticationProperties. AuthenticationStateProvider.GetAuthenticationStateAsync returns a AuthenticationState containing only the ClaimsPrincipal, not the associated AuthenticationProperties.

Tokens can be passed in to the root component in the initial component request and saved as context

Sample?

@Tratcher
This is the gist of it. Can you fill in the details with the appropriate auth code to retrieve the tokens?
@guardrex You simply need to define the parameters in the main component and maybe provide them as a cascading value or set them inside a singleton service during OnInitializing.
@page "/"
@namespace BlazorServerIndividualSqlLite.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers

@inject Microsoft.AspNetCore.Authentication.AuthenticationService AuthService;
<!DOCTYPE html>
<html lang="en">
<head>
...
</head>
<body>
    <app>
        @{ var properties = await GetTokens(); }
        <component type="typeof(App)" render-mode="ServerPrerendered" param-google="@(properties.GetParameter<string>("google"))" />
    </app>

    <script src="_framework/blazor.server.js"></script>
</body>
</html>
@functions{
    public async Task<Microsoft.AspNetCore.Authentication.AuthenticationProperties> GetTokens()
    {
        var result = await AuthService.AuthenticateAsync(HttpContext, User.Identity.AuthenticationType);
        return result.Ticket.Properties;
    }
}

There is a separate issue somewhere where I showcased how to do this for Azure AD with server-side blazor. Closing this issue since it's the same content.


Onboarding with SimpleAccount

Description

To demo the initial account on Popup open, change the initial network here from 0 to 2 or 3:

0: Polygon (No factory)
1: Local (Needs Docker up)
2: Polygon Amoy
3: Sepolia

// ...
        networkActive: networkActive ?? Object.keys(network)[2],
// ...

Demo (Video)

Your solution is a bit complicate. I think it would be simpler to do the default account creation in home, in the no account case.
And we should also not to patch accounts at storage level.

And I think
(1) We should remove the button in AccountCreation. (2) Navbar should not show in AccountCreation case

OK! It'll show 'No account' in Navbar if no SimpleAccount factory.


Pad with format strings

Don't manually pad input with strings, use built-in specifiers in format string.

!ci-build-me

!ci-build-me

!ci-build-me


Add Loader and Dumper arguments to pyyaml calls

:white_check_mark: Build aneris 0.10.0.build32 completed (commit https://github.com/DTOcean/aneris/commit/b778b41b34 by @H0R5E)


Callback Function not working for Windows platform

When trying to add a device notification on a Windows computer, I am getting:
Traceback (most recent call last):
  File "ADSReporting.py", line 61, in <module>
    plc.add_device_notification('MAIN.i', pyads.NotificationAttrib(2), callback)

  File "C:\Users\ajacques\AppData\Local\Continuum\anaconda3\lib\site-packages\py
ads\ads.py", line 623, in add_device_notification
    user_handle)
  File "C:\Users\ajacques\AppData\Local\Continuum\anaconda3\lib\site-packages\py
ads\pyads_ex.py", line 585, in adsSyncAddDeviceNotificationReqEx
    raise TypeError("Callback function type can't be None")
TypeError: Callback function type can't be None

This error is coming from pyads_ex.py:
if LNOTEFUNC is None:
        raise TypeError("Callback function type can't be None")

But it appears that LNOTEFUNC is only populated if the platform is Linux:
LNOTEFUNC = None

# load dynamic ADS library
if platform_is_windows():
    _adsDLL = ctypes.windll.TcAdsDll  # type: Union[ctypes.CDLL, ctypes.WinDLL]

elif platform_is_linux:
    # try to load local adslib.so in favor to global one
    local_adslib = os.path.join(os.path.dirname(__file__), 'adslib.so')
    if os.path.isfile(local_adslib):
        adslib = local_adslib
    else:
        adslib = 'adslib.so'

    _adsDLL = ctypes.CDLL(adslib)

    LNOTEFUNC = ctypes.CFUNCTYPE(None, ctypes.POINTER(SAmsAddr),
                                 ctypes.POINTER(SAdsNotificationHeader),
                                 ctypes.c_ulong)

Yes, that is a known bug which I already fixed in https://github.com/stlehmann/pyads/commit/e2e44bd78a67f006f2c62ebd22ec96dba95f5ac8. Please checkout the current master branch and give it a try. Please send feedback if it's working. Then I will push it on to PyPi.

I just released a new Version 3.0.3 with the bugfix on PyPi.

Awesome, thank you @stlehmann for updating that!  It is working now on Windows.


casefix test_base_mtmv failed

errCode = 2, detailMessage = Table[t_test_base_mtmv_user]'s state(SCHEMA_CHANGE) is not NORMAL.


Bump Node.js versions

Bump the version of Node.js that Travis runs against to supported versions, and also bump the engines section to the new minimum version (to avoid all the current installation warnings, as it claims 4.4-only). As this removes versions from support, bump the major version to 3.0.0

It's probably because this repo has not been used in a long while so didn't catch the removal of travis-ci.org (free runs for open source projects) and the need to sync up with travis-ci.com. That will require someone with write access to set up, though; I wonder who has that...

Travis won't run on my branch on my fork, but having migrated the configuration over to travis-ci.com it should run there on master after merging, and we can validate it's all good 🤞


Use break in the U128 library as per the comment

https://github.com/FuelLabs/sway/pull/2112 introduces the break keyword. It should be possible after that to use break in the U128 library where needed: https://github.com/FuelLabs/sway/blob/8ae2fcafa93ab57c66a04a065535900ffe769c50/sway-lib-std/src/u128.sw#L262
@nfurfaro I will let you decide how you want to rewrite and clean that up.

Blocked by https://github.com/FuelLabs/sway/pull/2112


Snarks worker not running (team name: skultra)

We attempted to run a delegate and snark worker and kept running into the attached error.
coda_crash_report_2020-01-07_05-43-42.266868.tar.gz

@Taaseen-Ali The error I see in the logs is IO error: While lock file: /home/captain/.coda-config/trust/LOCK: Resource temporarily unavailable. This indicates you were running 2 nodes on the same system with the same config directory, which is disallowed. The lock file helps us to ensure two nodes don't run at the same time and attempt to read/write the same data from/to disk.

We need to improve this error message! Thanks @Taaseen-Ali


Button "color by individual" to toggle between pie charts and FFR colors

Right now when users click the "color by FFR" button there is no way to go back to the pie charts.

It's done now (buttons "Color nodes according to color file" and "Color curves according to color file").


missing find stubs

The idea is to find a mapping without any call to wiemock that will be returned for url, query params, reqtest attribute, ....
This can be seen as a test of whether the mapping in wiremock is set up correctly.
missing:
POST /__admin/mappings/find
or you can write me back how it can be done otherwise.

I feel like it's quite straightforward to pull the whole list of mappings and search it yourself to satisfy this use case, so I'm going to close this off.


Add support for nil value in datetime column

Current you can read nil values but you can't write nil values to a datetime column.  This PR fixes this.

Oh this is silly and should have been caught. Can you add a test in Ecto.Integration.TimestampsTest? Feel free to add a column or table to EctoSQLite3.Integration.Migration.

Awesome! I'll get this cut asap.

Appreciate it getting merged. Happy to contribute in a small way.


[AutoPR] managementgroups/resource-manager

Created to accumulate context: managementgroups/resource-manager

(message created by the CI based on PR content)


failure to initialize _server in some instances

Syslog objects created by IP address rather than fdqn fail to initialize _server member variable.  Subsequent attempts to log() may fail.

Merged PR.


More Efficient Inclusions

I've had a go at heavily optimising the postProcessing inclusion module. This PR is a work-in-progress, it needs a serious refactor, but the performance is there. Instead of blindly following related links to glue together a complex inclusion, jsonapi-server now groups id's together and makes custom search requests to reduce the load on the server:
Before:
http://localhost:16006/rest/articles/d850ea75-4427-4f81-8595-039990aeede5/author?& +0ms
http://localhost:16006/rest/articles/d850ea75-4427-4f81-8595-039990aeede5/photos?& +1ms
http://localhost:16006/rest/articles/fa2a073f-8c64-4cbb-9158-b8f67a4ab9f5/author?& +0ms
http://localhost:16006/rest/articles/fa2a073f-8c64-4cbb-9158-b8f67a4ab9f5/photos?& +0ms
http://localhost:16006/rest/photos/?relationships[photographer]=cc5cca2e-0dd8-4b95-8cfc-a11230e73116& +39ms
http://localhost:16006/rest/photos/?relationships[photographer]=d850ea75-4427-4f81-8595-039990aeede5& +0ms
http://localhost:16006/rest/photos/?relationships[photographer]=32fb0105-acaa-4adb-9ec4-8b49633695e1& +1ms
http://localhost:16006/rest/photos/?relationships[photographer]=ad3aa89e-9c5b-4ac9-a652-6670f9f27587& +0ms

After:
http://localhost:16006/rest/people/?&filter[id]=cc5cca2e-0dd8-4b95-8cfc-a11230e73116&filter[id]=d850ea75-4427-4f81-8595-039990aeede5&filter[id]=32fb0105-acaa-4adb-9ec4-8b49633695e1&filter[id]=ad3aa89e-9c5b-4ac9-a652-6670f9f27587
http://localhost:16006/rest/photos/?&relationships[photographer]=cc5cca2e-0dd8-4b95-8cfc-a11230e73116&relationships[photographer]=32fb0105-acaa-4adb-9ec4-8b49633695e1&relationships[photographer]=d850ea75-4427-4f81-8595-039990aeede5&relationships[photographer]=ad3aa89e-9c5b-4ac9-a652-6670f9f27587

Here's the performance in master right now. The test server responds to 155 requests for data and the test suite passes in 860ms:
/repos/jsonapi-server$ npm test
  ...
  Testing jsonapi-server
    Searching for resources
      applying includes
        ✓ unknown attribute should error
        ✓ include author (31ms)
        ✓ include author and photos (67ms)
        ✓ include author.photos and photos (55ms)
        ✓ include author.photos (39ms)
        ✓ include author.photos with filter (29ms)
  ...
  jsonApi:requestCounter 155 +8ms /rest/photos/dfb689d7-3899-4e1d-a0bf-30298ebac6da

  86 passing (860ms)

And here's the performance in this branch. The test server responds to 99 requests for data and the test suite passes in 755ms:
/repos/jsonapi-server$ npm test
  ...
  Testing jsonapi-server
    Searching for resources
      applying includes
        ✓ unknown attribute should error
        ✓ include author (14ms)
        ✓ include author and photos (25ms)
        ✓ include author.photos and photos (32ms)
        ✓ include author.photos (30ms)
        ✓ include author.photos with filter (18ms)
  ...
  jsonApi:requestCounter 99 +8ms /rest/photos/dfb689d7-3899-4e1d-a0bf-30298ebac6da

  86 passing (755ms)

There's a new debug helper, DEBUG=jsonApi:requestCounter to help identify requests.

...Having said that, CodeClimate doesn't seem to care about this delightful piece of code... and it is well isolated... and it does work... sooo.. we could ship it? @pmcnr-hx what do you think?

Addresses #61

Excellent work! No point in waiting if we're those performance improvements. It can always be refactored later. :+1: :ship: it!


Make the home page add back to top button then JS functionality

When scrolling the away from the top of the website I need to create the button that head back to top of the website.

Anyone who want to participate the hacktoberfest feel free to assign yourself then earn the badge.

If you want to started working on this task feel free to create a new branch then create a pull request for this. Thank you

Hi, I'd like to work on this issue (Make the home page add back to top button then JS functionality). Could you please assign it to me?