text:
Data Collection / Playback Environments

This introduces environments for data collection / playback, as well as necessary infra changes required to support this feature. Moreover, miscellaneous infra bugs were fixed along the way as I ran into them.

hello, thanks  for your great work.
I can ran successfully in tests/test_data_colloection.py, but I can't use it with the teleopeation system.
I change the code in the following, but it stuck, I can't control the robot by keyboard or quest pro.
How to solve, Thank you.
ROBOTS = {
    "FrankaPanda": "Franka Emika Panda (default)",
    "Fetch": "Mobile robot with one arm",
    # "Tiago": "Mobile robot with two arms",
}
TELEOP_METHOD = {
    "keyboard": "Keyboard (default)",
    "oculus": "Oculus Quest",
}

def test_data_collect_and_playback():
    from telemoma.configs.base_config import teleop_config
    from telemoma.utils.camera_utils import RealSenseCamera

    from omnigibson.utils.teleop_utils import TeleopSystem
    robot_name = choose_from_options(options=ROBOTS, name="robot")
    arm_teleop_method = choose_from_options(options=TELEOP_METHOD, name="robot arm teleop method")
    if robot_name != "FrankaPanda":
        base_teleop_method = choose_from_options(options=TELEOP_METHOD, name="robot base teleop method")
    else:
        base_teleop_method = "keyboard"  # Dummy value since FrankaPanda does not have a base
    # Generate teleop config
    teleop_config.arm_left_controller = arm_teleop_method
    teleop_config.arm_right_controller = arm_teleop_method
    teleop_config.base_controller = base_teleop_method
    teleop_config.interface_kwargs["keyboard"] = {"arm_speed_scaledown": 0.04}
    teleop_config.interface_kwargs["spacemouse"] = {"arm_speed_scaledown": 0.04}
    if arm_teleop_method == "vision" or base_teleop_method == "vision":
        teleop_config.interface_kwargs["vision"] = {"camera": RealSenseCamera()}

    cfg = {
        "env": {
            "external_sensors": [],
        },
        "scene": {
            "type": "InteractiveTraversableScene",
            "scene_model": "Rs_int",
            "load_object_categories": ["floors", "breakfast_table"],
        },
        "robots": [
            {
                "type": "Fetch",
                "obs_modalities": [],
            }
        ],
        # Task kwargs
        "task": {
            "type": "BehaviorTask",
            # BehaviorTask-specific
            "activity_name": "assembling_gift_baskets",
            "online_object_sampling": True,
        },
    }

    if og.sim is None:
        # Make sure GPU dynamics are enabled (GPU dynamics needed for cloth)
        gm.ENABLE_OBJECT_STATES = True
        gm.USE_GPU_DYNAMICS = True
        gm.ENABLE_TRANSITION_RULES = False
    else:
        # Make sure sim is stopped
        og.sim.stop()

    vr_data = "/home/pi/Documents/OmniGibson/vr_data"
    collect_hdf5_path = os.path.join(vr_data, "test_data_collection.hdf5")
    playback_hdf5_path = os.path.join(vr_data, "test_data_playback.hdf5")
    # Create the environment (wrapped as a DataCollection env)
    env = og.Environment(configs=cfg)
    robot = env.robots[0]
    env = DataCollectionWrapper(
        env=env,
        output_path=collect_hdf5_path,
        only_successes=False,
    )
    for _ in range(2):
        env.reset()

    # Initialize teleoperation system
    teleop_sys = TeleopSystem(config=teleop_config, robot=robot, show_control_marker=True)
    teleop_sys.start()

    # Record 2 episodes
    for i in range(2000):
        action = teleop_sys.get_action(teleop_sys.get_obs())
        env.step(action)

    # Save this data
    env.save_data()
    print("Data collection done")
    # Clear the sim
    og.clear(
        physics_dt=0.001,
        rendering_dt=0.001,
        sim_step_dt=0.001,
    )

repo: StanfordVL/OmniGibson


text:
Installation Issue

Hi, I am trying to install igibson on a virtualenv in a remote jupyter server using ! pip install git+https://github.com/StanfordVL/iGibson.git but I keep getting the below error. I have attempted to upgrade setuptools and reinstalling cmake by doing pip install cmake but it doesnt seem to rectify the problem.

Traceback (most recent call last):
File "/home2/linqiwei/pythonprojects/python_env/bin/cmake", line 5, in
from cmake import cmake
ModuleNotFoundError: No module named 'cmake'
Traceback (most recent call last):
File "/home2/linqiwei/pythonprojects/python_env/lib/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 349, in
main()
File "/home2/linqiwei/pythonprojects/python_env/lib/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 331, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/home2/linqiwei/pythonprojects/python_env/lib/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 249, in build_wheel
metadata_directory)
File "/tmp/pip-build-env-moqcx67k/overlay/lib/python3.6/site-packages/setuptools/build_meta.py", line 222, in build_wheel
wheel_directory, config_settings)
File "/tmp/pip-build-env-moqcx67k/overlay/lib/python3.6/site-packages/setuptools/build_meta.py", line 207, in _build_with_temp_dir
self.run_setup()
File "/tmp/pip-build-env-moqcx67k/overlay/lib/python3.6/site-packages/setuptools/build_meta.py", line 259, in run_setup
self).run_setup(setup_script=setup_script)
File "/tmp/pip-build-env-moqcx67k/overlay/lib/python3.6/site-packages/setuptools/build_meta.py", line 150, in run_setup
exec(compile(code, file, 'exec'), locals())
File "setup.py", line 169, in
include_package_data=True,
File "/tmp/pip-build-env-moqcx67k/overlay/lib/python3.6/site-packages/setuptools/init.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.6/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.6/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/tmp/pip-build-env-moqcx67k/overlay/lib/python3.6/site-packages/wheel/bdist_wheel.py", line 299, in run
self.run_command('build')
File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/usr/lib/python3.6/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "setup.py", line 44, in run
out = subprocess.check_output(["cmake", "--version"])
File "/usr/lib/python3.6/subprocess.py", line 356, in check_output
**kwargs).stdout
File "/usr/lib/python3.6/subprocess.py", line 438, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['cmake', '--version']' returned non-zero exit status 1.
----------------------------------------
ERROR: Failed building wheel for igibson
Failed to build igibson
ERROR: Could not build wheels for igibson which use PEP 517 and cannot be installed directly

It is related to cmake. If pip install cmake doesn't work, can you install cmake with apt? For example sudo apt install cmake.

Hi, thanks for the prompt reply. I managed to get it working by using conda install instead. However, I do have another issue that popped up.
Upon running ! python -m igibson.utils.assets_utils --download_assets, I am getting the below error:

INFO:root:Importing iGibson (igibson module)
INFO:root:Assets path: C:\Users\linqw\iGibson\igibson\data/assets
INFO:root:Gibson Dataset path: C:\Users\linqw\iGibson\igibson\data/g_dataset
INFO:root:iG Dataset path: C:\Users\linqw\iGibson\igibson\data/ig_dataset
INFO:root:3D-FRONT Dataset path: C:\Users\linqw\iGibson\igibson\data/threedfront_dataset
INFO:root:CubiCasa5K Dataset path: C:\Users\linqw\iGibson\igibson\data/cubicasa_dataset
INFO:root:iGibson Key path: C:\Users\linqw\iGibson\igibson\data/igibson.key
INFO:root:Example path: C:\Users\linqw\iGibson\igibson\examples
INFO:root:Example config path: C:\Users\linqw\iGibson\igibson\examples\configs
/tmp/assets_igibson.tar.gz: No such file or directory
tar: Error opening archive: Failed to open '/tmp/assets_igibson.tar.gz'

May I know what can be done to rectify this?

I see, looks like you are running on windows, you can directly download https://storage.googleapis.com/gibson_scenes/assets_igibson.tar.gz  and place it in <your path>\iGibson\igibson\data/assets

Hi, Thanks! It is working. However, when I tried running the code !python -m igibson.examples.demo.env_example, I am getting the below error.

INFO: Succesfully initialized GLFW context and window!
Compiling GLSL shader: c:\users\linqw\igibson\igibson\render\mesh_renderer\shaders\450\equirect2cube_cs.glsl
Compiling GLSL shader: c:\users\linqw\igibson\igibson\render\mesh_renderer\shaders\450\spmap_cs.glsl
Compiling GLSL shader: c:\users\linqw\igibson\igibson\render\mesh_renderer\shaders\450\irmap_cs.glsl
Compiling GLSL shader: c:\users\linqw\igibson\igibson\render\mesh_renderer\shaders\450\spbrdf_cs.glsl
Loading image: C:\Users\linqw\iGibson\igibson\data/ig_dataset\scenes\background\photo_studio_01_2k.hdr
INFO: compiled pbr shaders
starting thread 0
started testThreads thread 0 with threadHandle 0000000000000C14
argc=2
argv[0] = --unused
argv[1] = --start_demo_name=Physics Server
ExampleBrowserThreadFunc started
Version = 4.6.0 NVIDIA 462.80
Vendor = NVIDIA Corporation
Renderer = GeForce MX250/PCIe/SSE2
b3Printf: Selected demo: Physics Server
starting thread 0
started MotionThreads thread 0 with threadHandle 0000000000000CC8
MotionThreadFunc thread started
numActiveThreads = 0
stopping threads
Thread with taskId 0 with handle 0000000000000CC8 exiting
Thread TERMINATED
finished
show more (open the raw output data in a text editor) ...

finished
numActiveThreads = 0
btShutDownExampleBrowser stopping threads
Thread with taskId 0 with handle 0000000000000C14 exiting
Thread TERMINATED
INFO:root:Importing iGibson (igibson module)
INFO:root:Assets path: C:\Users\linqw\iGibson\igibson\data/assets
INFO:root:Gibson Dataset path: C:\Users\linqw\iGibson\igibson\data/g_dataset
INFO:root:iG Dataset path: C:\Users\linqw\iGibson\igibson\data/ig_dataset
INFO:root:3D-FRONT Dataset path: C:\Users\linqw\iGibson\igibson\data/threedfront_dataset
INFO:root:CubiCasa5K Dataset path: C:\Users\linqw\iGibson\igibson\data/cubicasa_dataset
INFO:root:iGibson Key path: C:\Users\linqw\iGibson\igibson\data/igibson.key
INFO:root:Example path: C:\Users\linqw\iGibson\igibson\examples
INFO:root:Example config path: C:\Users\linqw\iGibson\igibson\examples\configs
pybullet build time: Sep  3 2021 00:17:52
INFO:root:Loading C:\Users\linqw\iGibson\igibson\data/assets\models/mjcf_primitives/cube.obj
INFO:root:Loading C:\Users\linqw\iGibson\igibson\data/assets\models/mjcf_primitives/sphere8.obj
Traceback (most recent call last):
File "C:\Users\linqw\anaconda3\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\linqw\anaconda3\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "c:\users\linqw\igibson\igibson\examples\demo\env_example.py", line 25, in
main()
File "c:\users\linqw\igibson\igibson\examples\demo\env_example.py", line 11, in main
env = iGibsonEnv(config_file=config_filename, mode="gui")
File "c:\users\linqw\igibson\igibson\envs\igibson_env.py", line 53, in init
super(iGibsonEnv, self).init(
File "c:\users\linqw\igibson\igibson\envs\env_base.py", line 67, in init
self.simulator = Simulator(
show more (open the raw output data in a text editor) ...
File "c:\users\linqw\igibson\igibson\simulator.py", line 170, in init
self.gen_assisted_grasping_categories()
File "c:\users\linqw\igibson\igibson\simulator.py", line 1452, in gen_assisted_grasping_categories
if v["enable_ag"]:
KeyError: 'enable_ag'

@Qiwei97 Looks like you are using iG 2.0 with the dataset for iG 1.0, you can download the iG 2.0 dataset following this guide: http://svl.stanford.edu/igibson/docs/dataset.html#download-igibson-2-0-scenes-and-the-behavior-dataset-of-objects

Alright thanks! Got it working!

source: gharchive/issue

repo: StanfordVL/iGibson

license: MIT

license_type: permissive

license_source: github-api


text:
[Bug] Thermal vision makes game crash

OpenComputers v1.7.4.153
OpenGlasses v2.2-46
Commons0815 v1.3.5
When I turn on thermal vision the game turns green for a second and then crashes:
https://pastebin.com/v2h1gx1M
When I try to join this world game immediately crashes but with another crash-report:
https://pastebin.com/cXvjW2Ly

The issue was in commons0815 lib, fixed file is here:
https://github.com/StarChasers/OCGlasses/blob/OG2-MC1.12.2/libs/Commons0815-1.12.2-1.3.6.jar

repo: StarChasers/OCGlasses

license: Zlib


text:
[time_slice]join on Unknown error

Steps to reproduce the behavior (Required)

CREATE TABLE '...'

CREATE TABLE `duplicate_par_tbl` ( `k1`  date NOT NULL, `k2`  datetime NOT NULL, `k3`  char(20) NOT NULL, `k4`  varchar(20) NOT NULL, `k5`  boolean NOT NULL, `k6`  tinyint NOT NULL, `k7`  smallint NOT NULL, `k8`  int NOT NULL, `k9`  bigint NOT NULL, `k10` largeint NOT NULL, `k11` float NOT NULL, `k12` double NOT NULL, `k13` decimal(27,9) NOT NULL ) ENGINE=OLAP DUPLICATE KEY(`k1`, `k2`, `k3`, `k4`, `k5`) COMMENT "OLAP" DISTRIBUTED BY HASH(`k1`, `k2`, `k3`, `k4`, `k5`) BUCKETS 3 PROPERTIES ( "replication_num" = "3", "storage_format" = "v2" );

INSERT INTO '....'

curl --location-trusted -u root: -T common/data/basic_types_data -XPUT -H label:load_duplicate_table_without_null_3e8e2206_5e6d_11ed_a778_00163e0e550b -H max_filter_ratio:0.8 http://ip:port/api/starrocks_delete_test_3e86c132_5e6d_11ed_a778_00163e0e550b/duplicate_par_tbl/_stream_load

SELECT  '....'

select a.K2,b.time_slice(k2,interval 58 SECOND) from duplicate_par_tbl a right join duplicate_par_tbl b on a.K2 >b.k2 where a.K5 = 'true' order by 1 limit 30;

Expected behavior (Required)
+---------------------+
| 2020-06-23 00:00:02 |
| 2020-06-23 00:00:02 |
| 2020-06-23 00:00:04 |
| 2020-06-23 00:00:04 |
| 2020-06-23 00:00:04 |
| 2020-06-23 00:00:04 |
| 2020-06-23 00:00:06 |
| 2020-06-23 00:00:06 |
| 2020-06-23 00:00:06 |
| 2020-06-23 00:00:06 |
| 2020-06-23 00:00:06 |
| 2020-06-23 00:00:06 |
| 2020-06-23 00:00:08 |
| 2020-06-23 00:00:08 |
| 2020-06-23 00:00:08 |
| 2020-06-23 00:00:08 |
| 2020-06-23 00:00:08 |
| 2020-06-23 00:00:08 |
| 2020-06-23 00:00:08 |
| 2020-06-23 00:00:08 |
| 2020-06-23 00:00:10 |
| 2020-06-23 00:00:10 |
| 2020-06-23 00:00:10 |
| 2020-06-23 00:00:10 |
| 2020-06-23 00:00:10 |
| 2020-06-23 00:00:10 |
| 2020-06-23 00:00:10 |
| 2020-06-23 00:00:10 |
| 2020-06-23 00:00:10 |
| 2020-06-23 00:00:10 |
+---------------------+

Real behavior (Required)
Unknown error
fe.warn.log
2022-11-07 16:04:27,130 WARN (starrocks-mysql-nio-pool-78|2798) [StmtExecutor.execute():514] execute Exception, sql select a.K2,b.time_slice(k2,interval 58 SECOND) from duplicate_par_tbl a right join duplicate_par_tbl b on a.K2 >b.k2 where a.K5 = 'true' order by 1 limit 30
java.lang.NullPointerException: null
        at com.starrocks.sql.analyzer.AST2SQL$SQLBuilder.visitFunctionCall(AST2SQL.java:544) ~[starrocks-fe.jar:?]
        at com.starrocks.sql.analyzer.AST2SQL$SQLBuilder.visitFunctionCall(AST2SQL.java:76) ~[starrocks-fe.jar:?]
        at com.starrocks.analysis.FunctionCallExpr.accept(FunctionCallExpr.java:448) ~[starrocks-fe.jar:?]
        at com.starrocks.sql.ast.AstVisitor.visit(AstVisitor.java:40) ~[starrocks-fe.jar:?]
        at com.starrocks.sql.ast.AstVisitor.visit(AstVisitor.java:36) ~[starrocks-fe.jar:?]
        at com.starrocks.sql.analyzer.AST2SQL.toString(AST2SQL.java:73) ~[starrocks-fe.jar:?]
        at com.starrocks.sql.analyzer.SelectAnalyzer.analyzeSelect(SelectAnalyzer.java:229) ~[starrocks-fe.jar:?]
        at com.starrocks.sql.analyzer.SelectAnalyzer.analyze(SelectAnalyzer.java:62) ~[starrocks-fe.jar:?]
        at com.starrocks.sql.analyzer.QueryAnalyzer$Visitor.visitSelect(QueryAnalyzer.java:171) ~[starrocks-fe.jar:?]
        at com.starrocks.sql.analyzer.QueryAnalyzer$Visitor.visitSelect(QueryAnalyzer.java:84) ~[starrocks-fe.jar:?]
        at com.starrocks.sql.ast.SelectRelation.accept(SelectRelation.java:205) ~[starrocks-fe.jar:?]
        at com.starrocks.sql.analyzer.QueryAnalyzer$Visitor.process(QueryAnalyzer.java:89) ~[starrocks-fe.jar:?]
        at com.starrocks.sql.analyzer.QueryAnalyzer$Visitor.visitQueryRelation(QueryAnalyzer.java:107) ~[starrocks-fe.jar:?]
        at com.starrocks.sql.analyzer.QueryAnalyzer$Visitor.visitQueryStatement(QueryAnalyzer.java:101) ~[starrocks-fe.jar:?]
        at com.starrocks.sql.analyzer.QueryAnalyzer$Visitor.visitQueryStatement(QueryAnalyzer.java:84) ~[starrocks-fe.jar:?]
        at com.starrocks.sql.ast.QueryStatement.accept(QueryStatement.java:35) ~[starrocks-fe.jar:?]
        at com.starrocks.sql.analyzer.QueryAnalyzer$Visitor.process(QueryAnalyzer.java:89) ~[starrocks-fe.jar:?]
        at com.starrocks.sql.analyzer.QueryAnalyzer.analyze(QueryAnalyzer.java:77) ~[starrocks-fe.jar:?]
        at com.starrocks.sql.analyzer.Analyzer$AnalyzerVisitor.visitQueryStatement(Analyzer.java:305) ~[starrocks-fe.jar:?]
        at com.starrocks.sql.analyzer.Analyzer$AnalyzerVisitor.visitQueryStatement(Analyzer.java:113) ~[starrocks-fe.jar:?]
        at com.starrocks.sql.ast.QueryStatement.accept(QueryStatement.java:35) ~[starrocks-fe.jar:?]
        at com.starrocks.sql.ast.AstVisitor.visit(AstVisitor.java:40) ~[starrocks-fe.jar:?]
        at com.starrocks.sql.analyzer.Analyzer$AnalyzerVisitor.analyze(Analyzer.java:115) ~[starrocks-fe.jar:?]
        at com.starrocks.sql.analyzer.Analyzer.analyze(Analyzer.java:110) ~[starrocks-fe.jar:?]
        at com.starrocks.sql.StatementPlanner.plan(StatementPlanner.java:53) ~[starrocks-fe.jar:?]
        at com.starrocks.sql.StatementPlanner.plan(StatementPlanner.java:37) ~[starrocks-fe.jar:?]
        at com.starrocks.qe.StmtExecutor.execute(StmtExecutor.java:365) ~[starrocks-fe.jar:?]
        at com.starrocks.qe.ConnectProcessor.handleQuery(ConnectProcessor.java:305) ~[starrocks-fe.jar:?]
        at com.starrocks.qe.ConnectProcessor.dispatch(ConnectProcessor.java:420) ~[starrocks-fe.jar:?]
        at com.starrocks.qe.ConnectProcessor.processOnce(ConnectProcessor.java:666) ~[starrocks-fe.jar:?]
        at com.starrocks.mysql.nio.ReadListener.lambda$handleEvent$0(ReadListener.java:55) ~[starrocks-fe.jar:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_252]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_252]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_252]

StarRocks version (Required)

You can get the StarRocks version by executing SQL select current_version()

+----------------------+
| current_version()    |
+----------------------+
| MAIN-RELEASE d8d155e |
+----------------------+

select a.K2,b.time_slice(k2,interval 58 SECOND) from duplicate_par_tbl a right join duplicate_par_tbl b on a.K2 >b.k2 where a.K5 = 'true' order by 1 limit 30;

It's illegal sql.
Pleas try
select a.K2,time_slice(b.k2,interval 58 SECOND) from duplicate_par_tbl a right join duplicate_par_tbl b on a.K2 >b.k2 where a.K5 = 'true' order by 1 limit 30;

It's executed normally.

authors: Pslydhh lvchenyang-maker

repo: StarRocks/starrocks


text:
Fe load image throws IllegalArgumentException when there is too many delete jobs

Steps to reproduce the behavior (Required)
Send lots of delete sql to starrocks, and restart fe after meta checkpoint.
Expected behavior (Required)
Fe should restart successfully.
Real behavior (Required)
throws IllegalArgumentException

StarRocks version (Required)
All version

The reason is found. The deletehandler class is serialized into a large string with a length of 1080954261. When this string is deserialized, it needs to be decoded first. When decoding, the space is multiplied by 2, 1080954261 * 2 = 2161908522, resulting in int Overflowed.


text:
[Feature] Introduce BLOB type

What type of PR is this：

[ ] BugFix
[x] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #

Introduce BLOB data type which is just the same to VARBINARY(-1), which max_length is the same with VARBINARY/VARCHAR

Problem Summary(Required) ：

Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto backported to target branch

[ ] 2.5
[ ] 2.4
[ ] 2.3
[ ] 2.2

Why we need this type I think varbinary is enough

run starrocks_admit_test

source: gharchive/pull-request

authors: LiShuMing imay wanpengfei-git


text:
[BugFix] correct errors of NOT(EQ_FOR_NULL) expr

What type of PR is this：

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes  https://github.com/StarRocks/starrocks/issues/16806
Problem Summary(Required) ：

NOT(EQ_FOR_NULL) exprs are handled in incorrect ways.

(Q1) When analyzing where clause, BinaryPredicate.negate can success convert NOT(EQ) into NE, but fails to convert NOT(EQ_FOR_NULL) predicates since NE_FOR_NULL is absent, instead FE reports error msg "Not implemented".
(Q2) When SimplifiedPredicateRule tries to reduce NOT(EQ_FOR_NULL) predicates, it convert the predicate into NE mistakenly.

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto backported to target branch

[x] 2.5
[ ] 2.4
[ ] 2.3
[ ] 2.2

[FE PR Coverage Check]
:heart_eyes: pass : 4 / 4 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/analysis/Expr.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/operator/scalar/BinaryPredicateOperator.java
3
3
100.00%
[]

run starrocks_admit_test

@Mergifyio backport branch-2.5

authors: satanson wanpengfei-git


text:
[Enhancement][Cherry-Pick][Branch-3.0] Improve credential mask util

cp https://github.com/StarRocks/starrocks/pull/29615
What type of PR is this:

[ ] BugFix
[ ] Feature
[x] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[ ] 3.1
[ ] 3.0
[ ] 2.5
[ ] 2.4

[FE Incremental Coverage Report]
:heart_eyes: pass : 41 / 45 (91.11%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/server/GlobalStateMgr.java
0
1
00.00%
[2727]

:large_blue_circle:
com/starrocks/credential/CredentialUtil.java
39
42
92.86%
[27, 88, 97]

:large_blue_circle:
com/starrocks/credential/azure/AzureCloudConfigurationFactory.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/qe/ShowExecutor.java
1
1
100.00%
[]

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

authors: Smith-Cruise wanpengfei-git


text:
Combat Roll Support - Defense Values

Would it be possible to leverage target defense values automatically in the roller pop-out?
Ie. Target has melee defense one and ranged defense 2, when targeted the roller will automatically add 1 setback dice to the roll for the melee or 2 setback dice to the roller for ranged.

This or like Adversary and Minion Count have a way for it to be displayed on the target.

Done, will be released in 1.810. Thanks for the suggestion!

authors: Ebakthecat grumpk1n wrycu

repo: StarWarsFoundryVTT/StarWarsFFG


text:
Assault Boost Training interferes with Phased Time

Having Assault Boost Training at level 7 comes with a slow motion effect when you aim at an enemy while in the air. If you have Phased time active at the same time this will interfere with the Starborn power, disabling it while the game still registers it as being active

Details
As already stated above.. If you use Phased time, and then boost towards an enemy, have Assault Boost training maxed out and thus have the time reduction perk from the skill this will reduce the duration of the slow motion effect from Phased time by a significant amount. What's even worse is that the game will still consider Phased time as being active even after the slow motion effect has (prematurely) expired, preventing the player from using any other Starborn power
Game Version
1.7.36
Language
English (EN)
New Game
Yes
Reproduction Steps
Prerequisites: Assault Boost Training level 4 (70% slow motion perk). Phased Time.
Steps: 1. Use Phased time,
2. Boost towards an enemy.
3. While boosting, aim at the target, triggering the perk.
4. The slow motion effect will quickly expire, while Phased time is still considered active (as noticable by the tiny stars floating around you).
5. Try recasting Phased time after the game speed has returned to normal, but the effect animation is still on. 6. You will notice that it is impossible to recast the power until the duration is officially over, even thou the duration was cut short by the assault boost training seemingly overwriting the duration of the Starborn power perk.
In the same vein there are some rare instances where the player gets stuck in indefinete phased time mode (which comes with alot of downsides, such as inability to reliably fire weapons more than once, reloading, etc. The one instance where I have been able to reliably trigger this bug is the fight against the Hunter. If you use Phased time during the confrontation your only realistic option is to try and melee him to death, thou you will run out of stamina). On the plus side the same glitch that prematurely ends Phased time can be used here so you won't have to load a previous save, cause using Assault Boost training (level 4) will also reduce Phased time duration to the slow motion duration provided by the level 4 assault boost training perk (so if you do not have that you will have to revert to an earlier save)
Both bugs are present on MS store version and Steam

Fix attached:
SFCP_410.zip


text:
PageSpeed Insights

https://developers.google.com/speed/docs/insights/BlockingJS
https://developers.google.com/speed/docs/insights/PrioritizeVisibleContent

has anyone played around with this?
if so, what was the outcome?
related: https://github.com/PolymerElements/polymer-starter-kit/issues/25

authors: JosefJezek mbana

repo: StartPolymer/polymer-starter-kit-plus

license: mit

license_source: bigquery


text:
Update README.md

Fixed a few typos.

Hi Pietro (@pitmonticone), I've added these fixes by hand as I did a major update to the README and associated docs file.
Thanks again!

authors: goedman pitmonticone


text:
show of MCMC.Chain summary statistics in clip-03-02-05t fails

This line trying to show summary statistics https://github.com/StatisticalRethinkingJulia/StatisticalRethinkingTuring.jl/blob/98ee9d1efd865f5d04e5b5a42e9985add25fc7cc/notebooks/03/clip-03-02-05t.jl#L53
currently doesn't seem to work inside Pluto, at least not for me.
Similar to what was done in another notebook it can be fixed with:
Text(sprint(show, "text/plain", summarize(chn)))
Do you want a PR for this?

Thanks for spotting this! Just checked it and indeed it needs the wrapping as you suggest. I've fixed it (side effect of trying it in Pluto, but it's good to leave this issue open for others).
I really need to set some time aside to update chapters 4 to 9 in StatisticalRethinkingTuring...

since it works in the REPL I wonder whether this should be considered a bug in Pluto actually? Or is it some problem with how Turing.jl defines the show method?

It's not really a bug in Pluto. It is similar to the problem with precis() and PRECIS() and in several other situations (DAGs, PSIS and WAIC). Thus, for now I sidestep the issue but realize I need to come up with a better solution. PrettyTables.jl also sometimes needs extra care. Many of these packages are also still evolving and this definitely has been the case with MCMCChains.jl (clearly at some point just chn worked), so sometimes not going to fast helps.

authors: goedman orialb


text:
Steeltoe.Extensions.Logging.SerilogDynamicLogger not working as expected

Describe the bug
I have a .net core 2.2 application which is deployed in PCF 2.4.12. Configured Serilog and enabled dynamic console to adjust the log levels without restarting the application. But unfortunately the number of loggers appearing PCF Apps Manager is just 1. Upon adjusting the levels, there is no effect.
Steps to reproduce
Steps to reproduce the behavior:

Deploy  https://github.com/SteeltoeOSS/Samples/tree/master/Management/src/AspDotNetCore/CloudFoundry after integrating Serilog.
Configure Serilog dynamic console like below

public static void Main(string[] args)
        {
            var host = new WebHostBuilder()
                .UseKestrel()
                .UseCloudFoundryHosting()
                .UseContentRoot(Directory.GetCurrentDirectory())
                .UseIISIntegration()
                .UseStartup<Startup>()
                .ConfigureAppConfiguration((builderContext, config) =>
                {
                    config.SetBasePath(builderContext.HostingEnvironment.ContentRootPath)
                        .AddCommandLine(args)
                        .AddJsonFile("appsettings.json", optional: false, reloadOnChange: true)
                        .AddJsonFile($"appsettings.{builderContext.HostingEnvironment.EnvironmentName}.json", optional: true)
                        .AddCloudFoundry()
                        .AddEnvironmentVariables();
                })
                .UseSerilog((hostingContext, loggerConfiguration) => loggerConfiguration
                     .ReadFrom.Configuration(hostingContext.Configuration)
                     .WriteTo.Trace())
                .ConfigureLogging((builderContext, loggingBuilder) =>
                {
                    loggingBuilder.AddConfiguration(builderContext.Configuration.GetSection("Logging"));
                    loggingBuilder.AddDebug();
                    // Add Serilog Dynamic Logger
                    loggingBuilder.AddSerilogDynamicConsole();
                })
                .Build();

            host.RunWithTasks();

Expected behavior
Number of loggers appearing in PCF Apps Manager should be matching the typed ILogger used in the application and upon the adjusting the log levels, log statements should appear accordingly.
Environment (please complete the following information):

Platform: PCF 2.4.12
OS:  Linux
.NET Version : .net core 2.2
Steeltoe Version:  2.3.0
Any other library versions to note

hey @sajanep I saw your response on SO. I will take a look. github.com/SteeltoeOSS/Samples/tree/master/Management/src/… with the changes mentioned in Program.cs above and put the Serilog configuration in appsettings.json like mentioned in my first post. Btw, is there any good example demonstrating the usage of steeltoe.io/docs/steeltoe-logging/#2-0-serilog-dynamic-logger.

I investigated and found this: There are two things we are talking about ... what shows up by default in the Loggers view, and what is there but hidden until you search. The Cloudfoundry apps manager UI, only shows the "Configured" settings in this view. You can still see the other loggers by typing and searching in the filter. The number of Configured settings corresponds to the Overrides below. The default will always be there ...
"Serilog": {
      "MinimumLevel": {
        "Default": "Information",
        "Override": {
          "Microsoft": "Warning",
          "CloudFoundry.Controllers": "Verbose"
        }
      },

As expected, the number of loggers matches the typed ILogger. But you have to set an override to see the default view.
Second, there is a difference between the granularity of control for Serilog vs the normal dynamic logger. In the Steeltoe dynamic logger, you can filter at any level. For namespace A.B.C.D you can filter at any level. In Serilog to filter by A.B., you have to provide an override for A.B. And then any setting you apply to a child will set the level for the Override. In other words, setting A.B.C to Debug will set . A.B. to Debug. While not ideal, given the level of exposed interfaces from Serilog that is the best we could do at this time. Closing this for now.

I am bit confused here. So are you saying the number of loggers under "Filter Loggers" is equal to the number of overrides. I tried this, but sill I am not getting anything other than "Default"(I typed in too with the namespace I entered under overrides). Not sure what is wrong with my setup. Also adjusting Default logger does not have any effect(it's not getting applied)

Have you removed the UseSerilog?  I would suggest getting the sample here, push to cloud foundry without any changes and see If it works: https://github.com/SteeltoeOSS/Samples/tree/2.x/Management/src/AspDotNetCore/CloudFoundry

Have you removed the UseSerilog? I would suggest getting the sample here, push to cloud foundry without any changes and see If it works: https://github.com/SteeltoeOSS/Samples/tree/2.x/Management/src/AspDotNetCore/CloudFoundry

Nope, I have still UseSerilog. Will it create any issue? My Program.cs is like below
public class Program
    {
        /// <summary>
        /// Main
        /// </summary>
        /// <param name="args"></param>
        /// <returns></returns>
        public static async Task Main(string[] args)
        {
            CreateWebHostBuilder(args).Build().Run();
        }

        /// <summary>
        /// CreateWebHostBuilder
        /// </summary>
        /// <param name="args"></param>
        /// <returns></returns>
        public static IWebHostBuilder CreateWebHostBuilder(string[] args) =>
            WebHost.CreateDefaultBuilder(args)
                .UseStartup<Startup>()
                .ConfigureAppConfiguration((hostContext, configApp) =>
                {
                    configApp.AddCloudFoundry();
                    configApp.AddConfigServer();
                })
                .UseSerilog((hostingContext, loggerConfiguration) => loggerConfiguration
                     .ReadFrom.Configuration(hostingContext.Configuration))
                .ConfigureLogging((builderContext, loggingBuilder) =>
                 {
                     loggingBuilder.ClearProviders();
                     // Add Serilog Dynamic Logger
                     loggingBuilder.AddSerilogDynamicConsole();
                 });
    }
}

I don’t think that will work.

Hello, I pulled down the mentioned sample and deployed to my PCF instance. I commented out few things like MySQLDbContext and tasks etc(Since I don't have any MySQL instance). After this I was able to see loggers in PCF Apps Manager. But please note that till this time, no integration with Serilog happended. So I pulled down below packages to integrate Serilog
 <PackageReference Include="Serilog.AspNetCore" Version="3.1.0" />
    <PackageReference Include="Serilog.Extensions.Logging" Version="3.0.1" />
    <PackageReference Include="Serilog.Sinks.Console" Version="3.1.1" />
    <PackageReference Include="Serilog.Settings.Configuration" Version="3.1.0" />
    <PackageReference Include="Serilog.Sinks.Trace" Version="2.1.0" />
    <PackageReference Include="Serilog.Formatting.Compact" Version="1.1.0" />

So after this my Program.cs looks like below
public static void Main(string[] args)
       {
           var host = new WebHostBuilder()
               .UseKestrel()
               .UseCloudFoundryHosting()
               .UseContentRoot(Directory.GetCurrentDirectory())
               .UseIISIntegration()
               .UseStartup<Startup>()
               .ConfigureAppConfiguration((builderContext, config) =>
               {
                   config.SetBasePath(builderContext.HostingEnvironment.ContentRootPath)
                       .AddCommandLine(args)
                       .AddJsonFile("appsettings.json", optional: false, reloadOnChange: true)
                       .AddJsonFile($"appsettings.{builderContext.HostingEnvironment.EnvironmentName}.json", optional: true)
                       .AddCloudFoundry()
                       .AddEnvironmentVariables();
               })
                .UseSerilog((hostingContext, loggerConfiguration) => loggerConfiguration
                    .ReadFrom.Configuration(hostingContext.Configuration))
               .ConfigureLogging((builderContext, loggingBuilder) =>
               {
                   loggingBuilder.AddConfiguration(builderContext.Configuration.GetSection("Logging"));
                   // loggingBuilder.AddDynamicConsole();
                   loggingBuilder.AddSerilogDynamicConsole();
                   loggingBuilder.AddDebug();
               })
               .Build();

           //host.RunWithTasks();
           host.Run();
       }

After re-deploying(publish and cf push), PCF Apps Manager only showing Default(I typed in too), and also adjusting the levels is not getting into effect. Btw do you have any simple which works with complete serilog integration(Not just the serilog dynamic console integration)

Hello,
Sorry I was not aware about this. I removed UseSerilog() and other Serilog dependencies. I am able to see loggers now. I do have a follow up question regarding below lines
 .ConfigureLogging((builderContext, loggingBuilder) =>
               {
                   loggingBuilder.AddConfiguration(builderContext.Configuration.GetSection("Logging"));
                   // loggingBuilder.AddDynamicConsole();
                   loggingBuilder.AddSerilogDynamicConsole();
                   loggingBuilder.AddDebug();
               })

Do we really need  loggingBuilder.AddConfiguration(builderContext.Configuration.GetSection("Logging")) and how about Logging section in appSettings.json, since Serilog already has this section

Do we really need loggingBuilder.AddConfiguration(builderContext.Configuration.GetSection("Logging")) and how about Logging section in appSettings.json, since Serilog already have this section?

No we do not. I did not want to make two different samples since they are so similar - but yes that line can be commented out. You only need that for the "AddDynamicConsole"

@sajanep closing this issue for now. feel free to reopen. Also the 2.4.0-rc1 release has some enhancements and bug fixes - make sure you test with the updated nugets.

I have an application where I'm trying to implement Steeltoe dynamic serilogger, but its not working. I followed following steps, could you please help me figuring out what I'm doing wrong. Sorry for long post, but i wanted to explain all possible scenarios I have tried. I found this thread as closed but still not able to make it work at my end.

Create new .Net Core API project.

Added below nuget packages

Program.cs looks like,

appsettings.json looks like,

Controller looks like,

Scenario 1:
When I comment below lines from Program.cs,

I get below logs, so assuming its referring some default verbosity levels and not referring to appsettings,

Scenario 2:
When I uncomment above lines, and comment the Serilog section in appsettings, it refers the Logging section in appsettings and log below lines as expected,

Scenario 3:
When I uncomment Serilog section in appsettings and have both Logging and Serilog Sections, application logs same line twice like below,

Scenario 4:
When I comment Logging section in appsettings and keep only Serilog Section, application still logs same line twice but skips the verbose/trace log,

And in all scenarios the dynamic logging wont work after pushing app to cloud foundry. Your help is much appreciated.

@hananiel Are you able to look at this?

Did  anyone got chance to look into this? I'm still looking for some help here.
Thank you,

@ani00763  I am looking at it now ...

@hananiel  , is it possible to use the AddSerilogDynamicLogger() without removing UseSerilog() ? I'm using SerilogRequestLogging which demands it.

@hananiel Thank you for looking into the issue. I'll work on the suggestion and also refer the app you pushed and will let you know.  Also when i said Dynamic logging is not working, i meant to say logging was working but the changing the logs levels was not having any effect.
Also looks like the SerilogDynamicLoggerCore nuget don't have support to async console logging of serilog. it would be great if you can add the async console serilog dependency with it.
Thank you!

@hananiel When i change the log levels after deploying my app to cloudfoundry it not working. Attaching my code here. Could you please verify what i'm doing wrong.
DynamicSeriloggerTestingAPI.zip

@hananiel did you get chance to look into the test project i shared? I tried all your suggestions and still not able to make the Dynamic logging work in cloudfoundary.

@ani00763, I did download and push this to cloud foundry and it works fine for me.  Make sure you are adjusting log levels for the correct namespace. For this sample you posted: search for DynamicSerilogTestingApi and adjust the controller log levels. In my case, I changed it from Trace to Error and then can only see error logs.

@hananiel  Thank you very much, I was trying to adjust the log levels for Default that's why it was not working for me. After filtering it on DynamicSeriloggerTestingAPI it started working. Only problem i see now is when i set it to Trace, its not showing the trace log all other levels are working fine.

@ani00763 yes, I can confirm this sample is having that issue both locally and on cf. let me investigate and get back.

@hananiel , is it possible to use the AddSerilogDynamicLogger() without removing UseSerilog() ? I'm using SerilogRequestLogging which demands it.

@tomer-cohen unfortunately Serilog uses the Serilog.ILogger and DynamicLogging is built on Microsoft ILogger. So the only recourse is to copy the HttprequestMiddle ware and replace Log.ForContext<> with Microsoft.ILogger. I don't know how configuration and other things will work together - I haven't done it.

@hananiel the debug and trace level works if we add Logging section,
"Logging": {
"LogLevel": {
"Default": "Trace",
"Microsoft": "Warning",
"Steeltoe": "Warning"
}
}

@hananiel the debug and trace level works if we add Logging section,
I was just going to tell you this - glad you figured out. I am going close this issue. Feel free to open a new issue if you have more issues to resolve.

authors: ani00763 hananiel jkonicki sajanep tomer-cohen

repo: SteeltoeOSS/Steeltoe


text:
RFC: Data source connectors

Summary

Allow quick adding of nodes that are backed by REST, gRPC, and/or other data sources. (unsure about dbs)
Proposed Solution

TODO

Hi there,
I've come across this issue about allowing quick adding of nodes backed by various data sources like REST, gRPC, etc., and I find it incredibly interesting and aligned with some of the challenges I'm facing.
I'm particularly interested in the potential to create specific connectors for common services like CMS or e-commerce platforms. The idea would be to develop generic wrappers around the specific SDKs of these services, making them open-source for broader use and adaptation.
A key feature I believe would be invaluable is the composability of these nodes. It would be great if we could import a node and then have the flexibility to redefine or add new properties according to our specific needs. This approach would significantly streamline the process of integrating multiple APIs by reducing the complexity involved in mapping and transforming data for the frontend.
One practical use case I envision is in scenarios where there's a need to integrate a multitude of APIs. A composable node system would simplify this process, making it more manageable and efficient for frontend teams.
The idea of open-source nodes that can be customized and extended fits perfectly with the needs of many developers looking to simplify API integrations.

Hey @b-barry
Thank you for the thoughtful reply! I agree with you on datasources in a very early draft of this library I actually used the datasource concept.
I find the idea of creating an ecosystem of datasources quite appealing, I however personally am not a big fan of exporting node as part of it 😅 the main thing you highlight there is my reason why, the properties should need to be altered which is going to be very hard from both a TypeScript and GraphQL.js point of view as the type is stored and "just works".
That being said, I still like the idea and would encourage a slightly different paradigm where the SDK-Ecosystem exports an interface which can be used in node({ interfaces: [] }) that can already give you a minimal working interface of what's possible with the type and additionally to that the TypeScript type that is exported (or used with the datasource). The reason behind the above is that in t.expose() we'll give you all the options that are present in the type passed to the datasource or node.
How does that resonate with you?

Hey @JoviDeCroock
If I get it, we will have datasource that will be a wrapper around the SDK like you do in your example then you will have also exported interface for common field. Hovewer, I don't think the interface will be needed if we have a good typing from the datasource.
Like you said, we have technically everything to make the mapping. The complexity is mostly in the mapping.
What do you think?

I agree, so basically the package exports
type ShopifyProduct = { id: string; name: string; price: number }
export type ShopifyProductDatasource = Datasource<ShopifyProduct>;

Now when that is used in a node it automatically does datasource.getOne or datasource.getMany for the load function. The type is automatically derived as it's part of the generic passed to the Datasource type. That means that when you do
node({
  name: 'Product',
  datasource: new ShopifyDatasource(yourEnv),
  fields: t => ({
    title: t.exposeString('name') // automatically suggests fields from the ShopifyProduct type
  })
})

I like it, it is interesting ! Another suggestion below
node({
  name: 'Product',
  datasource: new ShopifyDatasource(yourEnv),
  fields: t => ({
    title: t.exposeString('price.value') // could we have multi level mapping ?
  })
})

Concluded in https://github.com/StellateHQ/fuse.js/pull/103#issuecomment-1883657166

authors: JoviDeCroock b-barry mxstbr


text:
Question: Why are worker threads still spawned?

Hi Stephen,
I don't know if you usually take questions here, but I figured I'd ask anyway.
I created the following code to play around with in the Visual Studio 2015 debugger:
https://gist.github.com/Lothy/0e0bd1fe482e675670886760c29c9c12
The context works in that all code resumes on the main thread. However I notice while debugging that, after awaiting a method such as Task.Delay(int), worker threads are created.
This screenshot demonstrates what I mean:

Is there a reason that these threads are spawned when the MaximumConcurrencyLevel in your TaskScheduler implementation is set to 1?
Is there a way to control the spawning of these threads so that worker threads aren't spawned at all?
Thanks for your help, and have a great day!
Dan

AsyncContext does not create any threads, nor does it use thread pool threads at all.
However, thread pool threads are shared under the hood by timers. There is one timer thread (for all timers) and another thread that is used to complete the task returned by Task.Delay. So, seeing a couple of threads added after a Task.Delay is normal. However, these threads are shared, so there won't be any more threads regardless of how many Task.Delays your code has.

Okay, brilliant.
Thank you for sharing your insight.

authors: Lothy StephenCleary


text:
🛑 DNS (he.net) is down

In e2ccd30, DNS (he.net) ($HE_NS) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DNS (he.net) is back up in 0e4ae33.

repo: Sternwarte-St-Ottilien-e-V/status


text:
🛑 DNS (he.net) is down

In 7b412ed, DNS (he.net) ($HE_NS) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DNS (he.net) is back up in 90930b2.


text:
🛑 DNS (he.net) is down

In 417de73, DNS (he.net) ($HE_NS) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DNS (he.net) is back up in 16dc603.


text:
PyFunceble

@StevenBlack I saw you starred Funceble.  I just saw this post that recommends using PyFunceble instead.
https://github.com/funilrys/funceble/issues/178

Thank you @jawz101!

repo: StevenBlack/hosts


text:
버튼 사이즈 조절

버튼 사이즈가 조절이 잘 안됨

minimumSize (350, 50) 으로 다 똑같이 설정했는데 저장버튼만 튀어나옴

위젯을 scaffold로 해야하는데 container로 해서 조절이 안된것으로 보임

scaffold로 하니까 여백이 생기면서 자동 조절됨
해결


text:
V3 partial manual

Closes: #XXX
Context and purpose of the change

Brief Changelog

Author's Checklist
I have...

[ ] Run and PASSED locally all GAIA integration tests
[ ] If the change is contentful, I either:

[ ] Added a new unit test OR
[ ] Added test cases to existing unit tests

[ ] OR this change is a trivial rework / code cleanup without any test coverage

If skipped any of the tests above, explain.

Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...

[ ] reviewed state machine logic
[ ] reviewed API design and naming
[ ] manually tested (if applicable)
[ ] confirmed the author wrote unit tests for new logic
[ ] reviewed documentation exists and is accurate

Documentation and Release Note

[ ] Does this pull request introduce a new feature or user-facing behavior changes?
[ ] Is a relevant changelog entry added to the Unreleased section in CHANGELOG.md?
[ ] This pull request updates existing proto field values (and require a backend and frontend migration)?
[ ] Does this pull request change existing proto field names (and require a frontend migration)?
How is the feature or change documented?

[ ] not applicable
[ ] jira ticket XXX
[ ] specification (x/<module>/spec/)
[ ] README.md
[ ] not documented

We're using this for the fleet right now, but doesn't need to be open

repo: Stride-Labs/stride


text:
Failed to start command: ["git",["--version"]]

An unexpected error occurred while executing this job. Please report at https://github.com/Strider-CD/strider/issues
Failed to start command: ["git",["--version"]]

Error: Failed to start command: ["git",["--version"]]
    at safespawn (/usr/lib/node_modules/strider/node_modules/strider-bitbucket/node_modules/strider-git/worker.js:13:11)
    at gitVersion (/usr/lib/node_modules/strider/node_modules/strider-bitbucket/node_modules/strider-git/worker.js:46:15)
    at clone (/usr/lib/node_modules/strider/node_modules/strider-bitbucket/node_modules/strider-git/worker.js:66:3)
    at /usr/lib/node_modules/strider/node_modules/strider-bitbucket/node_modules/strider-git/worker.js:133:7
    at /usr/lib/node_modules/strider/node_modules/strider-bitbucket/node_modules/strider-git/node_modules/fs-extra/node_modules/mkdirp/index.js:38:26
    at Object.oncomplete (fs.js:108:15)

Hi folks,
the error persists until run a "strider restart", after restart the strider all works fine, but the error is triggered random.

Do you have git 2.0 or greater installed?

Hi,
Yes my mistake, the server is installed with git version 1.9.1. I'm going to update to version 2.0
Thanks

Did updating help?

authors: knownasilya leomongeg

repo: Strider-CD/strider


text:
prefer-some-in-iteration false positive in set entries list

Doing something like the below should likely be a linter issue in its own right :) But Regal should definitely not recommend using some ... in style iteration here:
package p

my_set := {
    false,
    input.arr[_] == "bar"
}

(Obviously not limited to set items, but any similar context)

"bar" in input.arr should work in that place, though. "Some" is for introducing new bindings.

Yep, hence the false positive. I guess a next step would be to have the use-in-operator rule catch the old style iteration here, but false positives are worse than something not reported.

authors: anderseknert srenatus

repo: StyraInc/regal


text:
refactor(helm): refactor wait-minio

wait-minio inside of  initContainer moved to the helm helper templates
Description

How has this been tested?

Checklist

[ ] changelog was updated with notable changes
[ ] documentation was updated

/e2e

End to end tests: :hourglass_flowing_sand: STARTING

authors: Owlfred kaanyagci

repo: Substra/substra-backend


text:
Database Migration

Created by @mike-eason: The database schema needs to be in a state where we can make small iterative changes. Ideally this means that if a developer was to make a change to the schema, this will not require a full sql dump.
One approach would be to implement DB Up. So changes to the database will be like so:

Branch for feature
Write a SQL script to migrate the database (i.e create a table, add a new column etc)
Merge the branch
CI/CD executes the script against the database

We will need a utility application that will execute the db migration scripts on a given database.
Here's an example of a tool I have used in the past for migrating MSSQL databases: https://dbup.readthedocs.io/en/latest/philosophy-behind-dbup/

Resolved in #10

repo: Subterfuge-Revived/Remake-Backend


text:
Add support for multiple apps

service.ts shares container, node and instance between usages. This causes problems if the plugin is installed on multiple apps. e.g.:
import { createApp } from 'vue'
import { VueMountable } from 'vue-mountable'
import App from './App.vue'

const app = createApp(App)
app.use(VueMountable)
app.provide('msg', 'app1')
app.mount('#app')

const app2 = createApp(App)
app2.use(VueMountable)
app2.provide('msg', 'app2')
app2.mount('#app2')

The functions provided by useComponent will then be bound to the second app in both cases. So, for example, attempting to inject the msg from inside a component mounted by VueMountable will always show app2, irrespective of which app it is in.

Thanks for reporting this! Havent looked into multiple instance support by now, but should be fairly easy to resolve!

fixed with version v0.0.5

authors: Subwaytime skirtles-code

repo: Subwaytime/vue-mountable


text:
Add jurisdiction to canonical form URLs

This updates form URLs so they included the jurisdiction in the path (i.e., /ma/forms/[form-slug]).
There are a few other notable changes related to this:

I added a .name property to the pathToServerConfig object in formSources.config.js we could use the full name of the jurisdiction on its landing page, for example "All Massachusetts Forms" on /ma/forms.
The All Forms link in the header changes when a jurisdictions is being displayed. For example, when viewing /ma, it shows All MA Forms and points to /ma/forms.

When we do add non-MA jurisdictions we will want to revisit the UI and navigation. Right now the site is capable of displaying jurisdiction-specific pages, but it could use some clearer navigation to get up and down the tree.
Closes #66

Looks like it's still getting a build error. I'll pick this up again tomorrow.

@nonprofittechy This is finally ready for you to review. Also I realized I could just run the tests locally, so future PRs shouldn't have so many attempted fixes.


text:
Update to v5 of ALKiln

Update the files to push with the new version of ALKiln:

[x] The workflow file name description - update the described version name.
[x] The workflow file default version.
[x] Update checkout@2 to checkout@3
[x] Review other files for what needs to be updated.

Looks like you did most of this in https://github.com/SuffolkLITLab/docassemble-ALKilnSetup/commit/a550c0f6f88dc74ede063e0a400e77f534b2cf4b. The only thing left is "review other files", which is kinda broad; does it need testing you think?

This should be good, I think. Everything could always use more testing, but I do think it's been used several times since then with no harm done. I'll close for now.

authors: BryceStevenWilley plocket

repo: SuffolkLITLab/docassemble-ALKilnSetup


text:
Move Navbar above header

I want the navbar to appear above the header where "Sample Website" is written.
Any other changes to the navbar which would enhance its appearance is highly appreciated!!

hey @Sujal-2820 can you please assign this to me?

@aryankshl go for it.
Make sure to provide a snip of the changes after making the changes in your local system.
Any other enhancement in Navbar from your end will be highly appreciated.
All the Best!!

@Sujal-2820  is this issue resolved ?.
If not please assign it to me. I'll do it

Navbar above the div

Added hover effect

Awesome @akshitjain2004.
I would assign this issue to you.
Make sure to add a proper explanation of your changes along with the Screenshot in your PR

@Sujal-2820  Please review the PR.
How can I get it accepted in hacktober fest? Lemme know what should I do ?

Hey @akshitjain2004,
I have merged your PR into the main branch.
You have done a phenomenal work 🙂
You might have got a mail regarding the same...
Additionally, You can check the hacktoberfest website. There it would reflect that your PR has been accepted.

Yes! This is my first PR. Thank you.
You may close the issue now!

Awesome 👍


text:
[Feature Request] rimraf

In Node.js v14.14.0, fs.rm and fs.rmSync was added. It's a built-in module that removes files and directories. The recursive option is used to remove directories and their contents.
rimraf is still WIDELY used, for no apparent reason.
Each copy takes a whopping 3.38 MB.

rimraf itself is only 271 KiB. The main culprit is the glob package.

In my opinion, it doesn't matter which package is at fault. At the end of the day, all that matters is that installing rimraf adds 4 MB to your node_modules, and it does have a native replacement.

Does Nolyfill do a compatibility check? With Node.js supporting fs.glob and fs.globSync now it might be worth doing this.

For the record, they will not be dropping glob any time soon.

authors: SukkaW alex-kinokon mary-ext wojtekmaj

repo: SukkaW/nolyfill


text:
🛑 Zinc 20 is down

In 7802b8e, Zinc 20 (https://zinc20.docking.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Zinc 20 is back up in f8bc6ab.

repo: Sulstice/Uptime-Cheminformatics


text:
🛑 Zinc 20 is down

In be1b25a, Zinc 20 (https://zinc20.docking.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Zinc 20 is back up in bb59088.


text:
🛑 Zinc 20 is down

In 5b24ec5, Zinc 20 (https://zinc20.docking.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Zinc 20 is back up in 52bf104.


text:
🛑 Chem Exper is down

In 2e55b77, Chem Exper (http://www.chemexper.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Chem Exper is back up in 185b6d9.


text:
🛑 Zinc 15 is down

In c62f93f, Zinc 15 (https://zinc15.docking.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Zinc 15 is back up in d1a403d.


text:
🛑 Chem Exper is down

In b7842e4, Chem Exper (http://www.chemexper.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Chem Exper is back up in 2b9c522.


text:
🛑 Zinc 20 is down

In b8c5ed5, Zinc 20 (https://zinc20.docking.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Zinc 20 is back up in cca337c.


text:
🛑 Adverse Drug Reaction Classification System is down

In 91b0820, Adverse Drug Reaction Classification System (http://bioinf.xmu.edu.cn/ADReCS/) was down:

HTTP code: 502
Response time: 1242 ms

Resolved: Adverse Drug Reaction Classification System is back up in 6d90fde.


text:
🛑 Chem Exper is down

In ec7cebb, Chem Exper (http://www.chemexper.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Chem Exper is back up in 3a01493.


text:
🛑 Zinc 15 is down

In 38d1476, Zinc 15 (https://zinc15.docking.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Zinc 15 is back up in 29275d5 after 10 minutes.


text:
🛑 Zinc 15 is down

In 3719365, Zinc 15 (https://zinc15.docking.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Zinc 15 is back up in ad8c2c8 after 8 minutes.


text:
🛑 Chem Exper is down

In 7ee4860, Chem Exper (http://www.chemexper.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Chem Exper is back up in e3a8fdc after 7 minutes.


text:
🛑 Chem Exper is down

In 428523d, Chem Exper (http://www.chemexper.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Chem Exper is back up in d82188a after 16 minutes.


text:
🛑 Chem Exper is down

In 80a095a, Chem Exper (http://www.chemexper.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Chem Exper is back up in 3692bbb after 27 minutes.


text:
🛑 Chem Exper is down

In 89f4196, Chem Exper (http://www.chemexper.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Chem Exper is back up in a244ff4 after 9 minutes.


text:
🛑 Chem Exper is down

In 7e099aa, Chem Exper (http://www.chemexper.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Chem Exper is back up in ddf3047 after 8 minutes.


text:
🛑 NMR Shift Database is down

In f5ad075, NMR Shift Database (https://nmrshiftdb.nmr.uni-koeln.de/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: NMR Shift Database is back up in 1f5dbae after 27 minutes.


text:
🛑 Zinc 15 is down

In 83cac1a, Zinc 15 (https://zinc15.docking.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Zinc 15 is back up in f065b5c.


text:
🛑 Chem Exper is down

In 2482c5c, Chem Exper (http://www.chemexper.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Chem Exper is back up in 95a63c3 after 29 minutes.


text:
🛑 NMR Shift Database is down

In 8d21754, NMR Shift Database (https://nmrshiftdb.nmr.uni-koeln.de/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: NMR Shift Database is back up in 73ba4f1 after 30 minutes.


text:
🛑 Zinc 15 is down

In a876f74, Zinc 15 (https://zinc15.docking.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Zinc 15 is back up in 3d8948c after 7 minutes.


text:
🛑 Chem Exper is down

In 3e279ae, Chem Exper (http://www.chemexper.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Chem Exper is back up in 6547ab5 after 7 minutes.


text:
🛑 Zinc 15 is down

In 44dda05, Zinc 15 (https://zinc15.docking.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Zinc 15 is back up in c31fab7.


text:
🛑 Chem Exper is down

In e094a0f, Chem Exper (http://www.chemexper.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Chem Exper is back up in e599f5c after 13 minutes.


text:
🛑 Chem Exper is down

In 3ba32bd, Chem Exper (http://www.chemexper.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Chem Exper is back up in 25c7e7a after 12 minutes.


text:
🛑 Zinc 20 is down

In 551b510, Zinc 20 (https://zinc20.docking.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Zinc 20 is back up in ca5426d.


text:
🛑 Chemical Resolver is down

In 5a7491e, Chemical Resolver (https://cactus.nci.nih.gov/chemical/structure) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Chemical Resolver is back up in 55eea23.


text:
🛑 Zinc 20 is down

In 70003ad, Zinc 20 (https://zinc20.docking.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Zinc 20 is back up in 56bf5a5.


text:
🛑 Zinc 15 is down

In f4071fe, Zinc 15 (https://zinc15.docking.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Zinc 15 is back up in dfafee2.


text:
🛑 Zinc 15 is down

In c015d18, Zinc 15 (https://zinc15.docking.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Zinc 15 is back up in 00bd229.


text:
🛑 ITK Analysis of Large Histology Datasets is down

In 2f16da3, ITK Analysis of Large Histology Datasets (http://www.na-mic.org/Wiki/index.php/ITK_Analysis_of_Large_Histology_Datasets) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ITK Analysis of Large Histology Datasets is back up in 073cfb5 after 6 minutes.

repo: Sulstice/Uptime-Medical-Informatics


text:
🛑 The Open Access Series of Imaging Studies is down

In c6246c3, The Open Access Series of Imaging Studies (http://www.oasis-brains.org/) was down:

HTTP code: 403
Response time: 402 ms

Resolved: The Open Access Series of Imaging Studies is back up in fbfa559 after 18 minutes.


text:
🛑 Zinc 20 is down

In 9db472b, Zinc 20 (https://zinc20.docking.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Zinc 20 is back up in 699ddd8.

repo: Sulstice/uptime-zinc-db


text:
Don't limit label count anymore!

Please don't limit the label count of xAxis like that anymore:
void setLabelCount1(int count) {
    if (count > 25) count = 25;
    if (count < 2) count = 2;
    _labelCount = count;
    _forceLabels = false;
  }

I has 31 labels count relatively with 31 days. And I formated it so just show each 6 labels. It's looks fine.
So please don't limit it to max = 25 anymore. That's kind of annoying!  Let user free with his choice.

+1
I have sample problem.

@SunPointed Please consider this problem. Thank you!

authors: VuHongKy hieuseesaa

repo: SunPointed/MPFlutterChart


text:
Implement a fast simulation mode

Prototype a method that will allow faster simulations, but with an expected lower accuracy
Make sure that the accuracy stays reasonable

Thanks for the review @cedricleroy , I made some updates to integrate your feedback (like docs in the circleci artifacts). Let me know if you have any other comments before I merge it early next week!

repo: SunPower/pvfactors


text:
Test/filters checkboxes statistics

based on PRs:

https://github.com/Sundsvallskommun/web-app-vocational-education/pull/13
https://github.com/Sundsvallskommun/web-app-vocational-education/pull/12
https://github.com/Sundsvallskommun/web-app-vocational-education/pull/11
https://github.com/Sundsvallskommun/web-app-vocational-education/pull/15

adds fixes:

https://github.com/Sundsvallskommun/web-app-vocational-education/pull/14/commits/1b8aaec83e232c520d2558984b3d5f5275bd6923
https://github.com/Sundsvallskommun/web-app-vocational-education/pull/14/commits/76a55de700623cca6bd9aee7f11d415a624480df
https://github.com/Sundsvallskommun/web-app-vocational-education/pull/14/commits/cc0efd414420f10da0c133719ecc2a912ff672ff
https://github.com/Sundsvallskommun/web-app-vocational-education/pull/14/commits/f9252b21ead7f7709f53b6cf7ee9716555a48c89
https://github.com/Sundsvallskommun/web-app-vocational-education/pull/14/commits/3809997c27e743dd171e8a714970da31f7ae783a
https://github.com/Sundsvallskommun/web-app-vocational-education/pull/14/commits/2731b9383e91cea0fde18a9f98462efdafa6e520
https://github.com/Sundsvallskommun/web-app-vocational-education/pull/14/commits/076f3d970fc94dc47a2bafbccfe326b91ff9ea18
https://github.com/Sundsvallskommun/web-app-vocational-education/pull/14/commits/ad4dd567958af416783b70fe62224d615e69a760
https://github.com/Sundsvallskommun/web-app-vocational-education/pull/14/commits/4c4fe9ab17b528ffab459054b99891fba0883a12
https://github.com/Sundsvallskommun/web-app-vocational-education/pull/14/commits/7d8606eb357469f3a24dbde9b61930fb6e1f0305

Merga i approvade eller peka om denna PR i kedja så det blir lättare att reviewa

authors: hensankom timlindsk


text:
Add "recalibrate" accessory switch?

Could you add a "recalibrate" accessory switch, that would run "/cgi-bin/action.cgi?cmd=motor_calibrate" on the camera?

If I can do it with MQTT, I’ll take a look.

I know homebridge-dafang does it, but that plugin hasn't had any love in awhile, and your plugin in conjunction with camera-ffmpeg is a better solution at this point.

I’m pretty sure that plugin only talked to the camera through MQTT, so it should be doable.

Looks like it does this:
this.publishToMQTT('/motors/set', 'calibrate')

Perfect, should be simple to add.

Sorry for the delay, this will be in the next release, which should be within the next few days.

I'll be happy to have it whenever you get to it, absolutely no rush. I hope you're staying warm!

Added in v2.2.0

repo: Sunoo/homebridge-dafang-mqtt-republish


text:
Make ray job submission fire and forget

Currently ray jobs submitted are failed when the driver script exits. i.e if superduperdb client create a task on ray cluster, the tasks are dependent on the life span of the superduperdb client.

Duplicate of #2154

repo: SuperDuperDB/superduperdb


text:
Does AddTransformParameterMap() overwrite SetTransformParameterMap()?

I have two images to register (left:fixed, right:moving)

I'm going to use a rigid transformation to rotate the moving image by pi rad. The transformation is created by registering the moving image to itself with a rigid transformation, and then editing the transformation parameters for a rotation of pi.
rigidParameterMap = sitk.GetDefaultParameterMap('rigid')
rigidParameterMap['DefaultPixelValue'] = (str(typicalBorderIntensity),)
elastixImageFilter = sitk.ElastixImageFilter()
elastixImageFilter.SetFixedImage(imhisto_gray)
elastixImageFilter.SetMovingImage(imhisto_gray)
elastixImageFilter.SetParameterMap(rigidParameterMap)
elastixImageFilter.Execute()
elastixOutputDirectory = elastixImageFilter.GetOutputDirectory()
rigidTransform = elastixImageFilter.GetTransformParameterMap()[0]
rigidTransform['CenterOfRotationPoint'] # by default, the rotation is in the centre of the image
rigidTransform['TransformParameters'] = (str(np.pi), '0.0', '0.0')
typicalBorderIntensity = pymITK.TypicalBorderIntensity(imhisto_gray)
rigidTransform['Spacing'] = tuple(map(str, slct.GetSpacing()))
rigidTransform['Origin'] = tuple(map(str, slct.GetOrigin()))
rigidTransform['Size'] = tuple(map(str, slct.GetSize()))
rigidTransform['DefaultPixelValue'] = (str(typicalBorderIntensity),)
rigidTransform['ResampleInterpolator'] = ('FinalLinearInterpolator',)

CenterOfRotationPoint: ('3.47238', '4.86185')
CompressResultImage: ('false',)
DefaultPixelValue: ('241.0',)
Direction: ('1', '0', '0', '1')
FinalBSplineInterpolationOrder: ('3',)
FixedImageDimension: ('2',)
FixedInternalImagePixelType: ('float',)
HowToCombineTransforms: ('Compose',)
Index: ('0', '0')
InitialTransformParametersFileName: ('NoInitialTransform',)
MovingImageDimension: ('2',)
MovingInternalImagePixelType: ('float',)
NumberOfParameters: ('3',)
Origin: ('0.0', '0.0')
ResampleInterpolator: ('FinalLinearInterpolator',)
Resampler: ('DefaultResampler',)
ResultImageFormat: ('nii',)
ResultImagePixelType: ('float',)
Size: ('533', '784')
Spacing: ('0.014', '0.014')
Transform: ('EulerTransform',)
TransformParameters: ('3.141592653589793', '0.0', '0.0')
UseDirectionCosines: ('true',)

This transformation applied with
transformixFilter = sitk.TransformixImageFilter()
transformixFilter.SetTransformParameterMap(rigidTransform)
transformixFilter.SetMovingImage(imhisto_gray)
transformixFilter.Execute()
imhisto_gray_rot_2ct = transformixFilter.GetResultImage()
imhisto_gray_rot_2ct = sitk.Cast(imhisto_gray_rot_2ct, sitk.sitkUInt8)

produces the output (left: fixed, middle: moving rotate, right: overlay)

Now I refine the alignment with an affine registration
affineElastixImageFilter = sitk.ElastixImageFilter()
affineElastixImageFilter.SetFixedImage(slct)
affineElastixImageFilter.SetMovingImage(imhisto_gray_rot_2ct)
affineElastixImageFilter.SetParameterMap(affineParameterMap)
affineElastixImageFilter.Execute()

and apply the affine transformation to the rotated image
affineTransform = affineElastixImageFilter.GetTransformParameterMap()[0]
affineTransform['Spacing'] = tuple(map(str, slct.GetSpacing()))
affineTransform['Origin'] = tuple(map(str, slct.GetOrigin()))
affineTransform['Size'] = tuple(map(str, slct.GetSize()))
affineTransform['DefaultPixelValue'] = (str(typicalBorderIntensity),)
affineTransform['ResampleInterpolator'] = ('FinalLinearInterpolator',)

transformixFilter.SetTransformParameterMap(affineTransform)
transformixFilter.SetMovingImage(imhisto_gray_rot_2ct)
transformixFilter.Execute()
imhisto_affine = transformixFilter.GetResultImage()
imhisto_affine = sitk.Cast(imhisto_affine, sitk.sitkUInt8)

This improves the alignment, as can be seen in the next figure (first: fixed, second: after affine, third: overlap after rotation, fourth: overlap after rotation+affine)

However, if I try to compose the rotation and affine transformations, and apply them to the original moving image, it seems like the rotation is ignored
transformixFilter = sitk.TransformixImageFilter()
transformixFilter.SetTransformParameterMap(rigidTransform)
transformixFilter.AddTransformParameterMap(affineTransform)
transformixFilter.SetMovingImage(imhisto_gray)
transformixFilter.Execute()
imhisto_total = transformixFilter.GetResultImage()
imhisto_total = sitk.Cast(imhisto_total, sitk.sitkUInt8)

As shown in this figure (first: fixed, second: original moving, third: overlap with rotation followed by affine, fourth: overlap with rotation composed with affine)

Likewise, if just to try it, I swap the rotation and affine above
...
transformixFilter.SetTransformParameterMap(affineTransform)
transformixFilter.AddTransformParameterMap(rigidTransform)
...

the transformation that seems to be ignored is the affine one

Did I make a silly mistake, or is AddTransformParameterMap() making SetTransformParameterMap() to be ignored?

Hi @rcasero,
Is it about improving your registration? Or just about the bug report?
Because I may have some clues improving your registration, but I'm not sure about the bug report itself. :)
About the workflow
Why don't you use elastixImageFilter.GetResultImage() after the registration? It should get the transformed image directly with no need to apply the transform using transformixImageFilter.
About the transform application
Probably related to issue https://github.com/SuperElastix/SimpleElastix/issues/102
However I would suggest having a look to the TransformParameters from rigid and affine registrations to make sure a significant transform is supposed to be applied one the image.
Depending on how the transforms are chained in the file itself (using Compose or calling an InitialTransform) the last transformParameter can either sum all the transforms, or be negligible because all the job is done by the initial transform.
About the data and purpose
It looks like your moving image is microCT data (skyscan?) from an uncontrasted E14.5 sample and fixed image is some iodine contrasted E14.5 population average (Harwell's?).
And I guess that you only register one slice from the whole volume in this example (Although you should definitely get better results registering both 3D volumes directly).
The registration may be a little harder due to the very different contrasts of the two images, but increasing the maximum iterations during the rigid registration (translation + rotation) should be enough to achieve a full reorientation of your moving image. (Something like a MultiResolutionRegistration with a pyramid schedule 8 4 2 1 and MaximumNumberOfIterations around 300 500 700 1000, maybe less)
Depending on you purpose, performing an affine transform may not be ideal as it will also scale and shear the image.
This will likely introduce unwanted deformations in the soft tissues due to the difference of contrast.
It would probably be better to use the same sample (the one from the moving image) after iodine contrast to perform an affine registration (Although in my experience, rigid registration should be OK, especially if you stabilize the tissues using an hydrogel).

Hi @PertuyF ,
Thanks for the reply, and the advice. Although initially my issue was more about whether there's a bug (thanks for pointing to issue #102, it seems to confirm it's a bug), there are scenarios where you want to be able to apply a composition of transformations, typically to avoid accumulation of interpolation errors
transform 1 -> interpolation -> transform 2 -> interpolation -> transform 3 -> interpolation
and instead have
transform 1 -> transform 2 -> transform 3 -> interpolation
To be honest, I'm not sure whether AddTransformParameterMap() would avoid those interpolations anyway, but I wanted to check whether at least it worked. In elastix itself (the binaries), you can compose transformations that way.
There are also other scenarios. For example, you want to register with grayscale images, for speed considerations, but then you want to apply the transformations to the initial colour image, to see the final result in colour. Or another example, also for speed, in a multi-transform scheme, you want to first apply the current list of transformations to your moving image, use that for registration, and then concatenate the new transformation to the existing ones.
I think, if you look at the third image in my first post in this issue, that the affine results are actually as good as you can get with an affine transformation for those two images. So right now, I don't think there is much need to tinker with the registration parameters. For what I wanted, the result is good enough.
Also, you can see that both the rigid (by design) and the computed affine transformation apply a substantial deformation to the moving image.
I also think that 2D (histology) to the 3D volume (actually, it's an atlas, not an original uCT) would produce a better result, but for the particular problem I've been assigned, the request is 2D histology to 2D slices in the atlas.

authors: PertuyF rcasero

repo: SuperElastix/SimpleElastix


text:
Error using ConjugatedGradient as Optimizer

Hi,
I am trying to use some different optimizers with the Python wrapper of SimpleElastix. At execution the programm exits with the following error message:

Installing all components.
InstallingComponents was successful.
Error:
ConjugateGradient(index 2) - This component is not installed!
ERROR: error occurred while creating Optimizer 0.
itk::ExceptionObject (000000C0FFBE8A18)
Location: "unknown"
File: c:\data\build\simpleelastix\elastix\core\kernel\elxelastixmain.cxx
Line: 819
Description: itk::ERROR: ElastixMain(0000021202CB71E0): The following component could not be created: ConjugateGradient
ERROR:
One or more components could not be created.

For me the "AdaptiveStochasticGradientDescent" and also the "QuasiNewtonLBFGS" performs without problems.  I used SuperBuild for building.
So my question is if I made a mistake during the setup of SimpleElastix or maybe someone has a solution for this particular problem.
Thanks!

Go info the ‘Elastix-build’ directory in the buold folder, type ‘ccmake .’, find the ‘ConjugateGradient’ component, enable it, and rebuild + reinstall.
This should be enabled by default. Stay tuned.

Hi kaspermarstal,
I ran into the same issue today.. also used to Superbuild to install everything. Might be that I misread something, but is it still not installed by default?

authors: bakedbee kaspermarstal zwep


text:
能告诉我原作者的git位置么

看过源代码之后发现很多没有用到的css以及js资源，然后想看看原作者的主题效果还有关于日期搜索的处理

    if (is_month()){
      title += ': ' + page.year + '/' + page.month;
    } else if (is_year()){
      title += ': ' + page.year;
    }

head.ejs中的这段跟时间相关的代码貌似从来没有被用到

找了下已经找不到了，原来好像是一公司的展示页，内容比较杂，然后把之改成了博客主题，很多没用的css想着以后可能还会加进来 所以没删

原来酱紫。。。

authors: SuperKieran hellflame

repo: SuperKieran/TKL


text:
🛑 Ping matrix.supersandro.de is down

In 546e0d3, Ping matrix.supersandro.de (matrix.supersandro.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ping matrix.supersandro.de is back up in 4b34643 after 30 minutes.


text:
🛑 Matrix Federation Tester is down

In de2ac3f, Matrix Federation Tester (https://federationtester.matrix.org/api/report?server_name=supersandro.de) was down:

HTTP code: 200
Response time: 11007 ms

Resolved: Matrix Federation Tester is back up in fb1dbfa after 1 hour, 8 minutes.


text:
🛑 My website is down

In dced7cf, My website (https://supersandro.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: My website is back up in 0c9327c after 4 hours, 52 minutes.


text:
problem with the footer icons

Describe the bug
A clear and concise description of what the bug is.
Currently, the twitter icon and youtube icon are not redirecting twitter and youtube respectively.Instead they are redirecting to facebook and instagram.so,changing the icons would solve the issue.
To Reproduce
Steps to reproduce the behavior:

Go to footer
Click on twitter icon and youtube icon. you will find they are redirecting to facebook and instagram.
See error

Expected behavior
A clear and concise description of what you expected to happen.
Changing twitter icon to facebook icon and youtube icon to instagram icon fixes this issue.
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device:Redmi [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser:chrome [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

What ss have u put?

Sorry @SurajPratap10 ,I didn't get it. You mean os?

What you have added the pic of my FB on the issue's screenshot section ( context?) , there you should display the issue-related pics


text:
Support Parental Control

Is your feature request related to a problem?
When parental control is enabled on device, YouTubePlayerKit remains stuck in progress.
What solution would you like?
At the minimum it would be great if it can catch the following error and propagate up to the API client:
0x158c23e18 - [pageProxyID=15, webPageID=16, PID=1373] WebPageProxy::didFailProvisionalLoadForFrame: frameID=20, isMainFrame=0, domain=WebKitErrorDomain, code=105, isMainFrame=0, willInternallyHandleFailure=0
An ideal solution would be to make it work with parental control. Enabling youtube.com does not seem to be sufficient...
What alternatives have you considered?
I have not found a workaround
Any additional context?
No response

Hi @kiddosai,
Please check out the develop branch which contains a new commit which added a didFailProvisionalNavigation case to the YouTubePlayer.Error

authors: SvenTiigi kiddosai

repo: SvenTiigi/YouTubePlayerKit


text:
Should the installer set the current db version?

When the install script runs it sets the db version to 1.1.0, but the current db version is 1.2.0. I think either the 1.2.0 upgrade process should run during install or the version should be set to 1.2.0 in the installer. When looking at the 1.2.0 upgrader it seems that it shouldn't need to run on a fresh install?

@lakrisgubben If your database doesn't have woocommerce_payex_psp_version flag then means scheme version 1.1.0 and needs install some data during an upgrade

@aait yep, I get it. I just thought that this should be a part of the "install" process. Feels weird that it does an install and then directly asks the user to upgrade the db. And since it seems that the 1.2.0 upgrade only adds older orders to the queue this should not be needed on a fresh install and therefore the installer could set the db version to 1.2.0 instead of 1.1.0. But I might of course be missing something, not that familiar with the code yet. ;)
And actually, the check for woocommerce_payex_psp_version uses a fallback to 1.2.0 in get_option so if that option does not exist I don't think any upgrades will be run.

authors: aait lakrisgubben


text:
Why is it that every time I place a mob shard it destroys itself?

I put it in my world config to be more than +999999 durability!

What kind of mob shard do you put in your mob farm ?

I at first put an iron golem and it just disappeared after seconds. Then I tested it with a cow and it was gone after seconds too.

Sorry, I didn't suceed to reproduce your bug. Can you give me more details (Minecraft and Forge version, others mods you use, etc ...) ?

Modpack:
Minecraft 1.18.2
Forge 40.1.54
perfectmobfarm-1.18.2-1.2.0
bonsaitrees3-3.1.0
CobbleForDays-1.5.1
easy_piglins-1.18.2-1.0.0
easy_villagers-1.18.2-1.0.5
getinthebucketmod-4.0.1
jei-1.18.2-9.7.0.209
libnonymous-2.1.0
Config (in saves):
perfectmobfarm-server.toml.zip
Steps to reproduce:

Create a super flat world.
Create the mobfarm in survival mode.
Place it in the world.
Make a lasso (detail: I made and use a datapack that changes the recipe of this item)
Get an iron golem or cow with the lasso.
Place it on the mobfarm.
Wait a few seconds.
There, your entity disappears from mobfarm!

authors: aureliencarpentier seriousfreezing

repo: Sweetmimike-mods/perfectmobfarm


text:
🛑 swiftfiddle.com/runner/nightly-main is down

In 32ba08c, swiftfiddle.com/runner/nightly-main (https://swiftfiddle.com/runner/nightly-main/run) was down:

HTTP code: 0
Response time: 0 ms

Resolved: swiftfiddle.com/runner/nightly-main is back up in acae503 after 44 minutes.


text:
🛑 swiftregex.com is down

In e2a5798, swiftregex.com (https://swiftregex.com/) was down:

HTTP code: 502
Response time: 196 ms

Resolved: swiftregex.com is back up in 1903bc5 after 25 minutes.


text:
Build monitoring

The last couple of days we're been hovering at our max build threshold longer than usual. *)
This effectively looks like we're barely able to keep up with builds at the moment. I believe this isn't quite the case, however. For one, we've had issues with prod that made us lag and it looks like yesterday has been unusually busy with builds.
There are too things that are concerning however:

The CI stats view on Gitlab doesn't seem to be working anymore for us, probably because we have too many builds now. That means we do not know how busy our build system is, other than me having the build monitor app running and eyeballing the status. That's not great.

We seem to be having more builds pending in Gitlab than are pending in the db. Right now, it's 307 vs 76 (both prod and dev combined). I believe the reason this is happening is that we've got builds older than 4 hours in the queue and the backend has come around and deleted the corresponding pending builds in the db. That's a problem, because they will now be rescheduled and we do double work.
I removed Ceres as a linux builder on Monday and by the looks of it the delta of 200 is due to a Linux backlog. That would make sense, because this morning dev wasn't picking up Linux builds and it was down to a single Linux queue on prod to do all the processing. Also, we've probably had some backlog there in particular, due to the downtime on Monday.
Ceres is back at it now but I think there's a few things we need to address soon:

we need build monitoring, in particular

builds per day
ideally also per platform
if possible also duration

we may need to increase the build trimming grace period from 4 hours

we may need a little more headroom with build capacity soon (but best to get a view first)

*) by that I mean the 300 pending in the queue beyond which we don't schedule new builds. I.e. the closest we get to our hard limit of 500 is when we're at 299 and schedule a package with the maximum number of 96 builds

Yea, this is quite serious and we need to keep on top of it. Let's spend some time talking about it tomorrow and figuring out a few things we can do to push this in the right direction. Ceres has been very helpful, but it's not right that we should need it to be part of our infrastructure.
Also, +1 on the monitoring. I'm still on Catalina, so can't even run that little tool. I think it should be a page (available to everyone, but not heavily linked/advertised) as I'd love to see a dashboard of what's going on with builds.

This PR should get us all the required info (or make it easy to extend). The build pressure has been better since I've raised this issue and reset the builds but this should allow us to make informed decisions as to where we are with the builds.

authors: daveverwer finestructure


text:
[153] Issue #153 - February  13, 2020

To contribute to this issue, simply leave a comment here. Please also review our contributing guidelines.
The current draft for this issue in _drafts/. If you want to contribute directly, feel free to open a pull request.

https://twitter.com/slava_pestov/status/1223394327340019717

Dodged an ABI bullet here. Underscored keyword was broken... but thankfully the broken case wasn’t exercised in the standard library https://github.com/apple/swift/pull/29579

superMac & Massively Pararell Swift

I am new to this august body. I have a great deal of respect for the work that has been achieved thus far in SSWG community. I have experience in mathematics, computation and cell biochemistry. I have a scientific computing problem that I would like to achieve using the Apple ecosystem

https://forums.swift.org/t/supermac-massively-pararell-swift/33308

Automatic test discovery in Swift on Linux and other non-Apple platforms: https://oleb.net/2020/swift-test-discovery/
https://twitter.com/olebegemann/status/1224041167316275208

A blog post introducing a new iOS library which can help your QA team with reporting bugs.
https://infinum.com/the-capsized-eight/snatch-bugs-with-bug-reporting-ios-library

Jargon & acronyms vs. accessible language
https://forums.swift.org/t/jargon-acronyms-vs-accessible-language/33358

Thanks @goranbrl for your contribution. This newsletter covers only Swift language aspects. There are many newsletters that focus on iOS.

https://spec.fm/podcasts/swift-unwrapped/316012

https://oleb.net/2020/swift-docker-linux/

https://www.swiftbysundell.com/articles/slicing-swift-collections/

Swift Configuration Library - swiftbox-config

Swiftbox-config is type-safe configuration library for Swift projects.
SwiftBox Configuration allows to pass type-safe configuration such as command line, environment variables and external providers (e.g Vault) by declaring one simple struct. Configuration can be inherited from multiple sources simultaneously.

https://forums.swift.org/t/swift-configuration-library-swiftbox-config/33389

https://github.com/apple/swift-crypto
https://twitter.com/NicoonGuitar/status/1224376366092767233?s=20

Swift clip: Dispatch queues
https://www.swiftbysundell.com/clips/2

Maybe fun thread
https://twitter.com/jesse_squires/status/1224456344792530949

https://twitter.com/dgregor79/status/1224537246998487040 🙃

https://developer.apple.com/tutorials/swiftui/creating-a-macos-app

https://developer.apple.com/tutorials/swiftui/creating-a-macos-app

https://www.avanderlee.com/swift/creating-swift-package-manager-framework/

Hei @irshadpc for your contributions :)
I think SwiftUI and DispatchQueue we will leave out from this newsletter as this is soley about Swift language and open source aspects. Both of those technologies are available only for macOS and iOS type platforms, not in Linux.

https://twitter.com/slava_pestov/status/1224871562979020801

https://twitter.com/pointfreeco/status/1224742851537514497
We're excited to announce the release of some new open source: CasePaths, a Swift library that brings the power and ergonomics of key paths to enums! https://github.com/pointfreeco/swift-case-paths

Announcing Swift 5.1.4 for Linux

We are happy to announce the release of Swift 5.1.4 for Linux as originally planned.
On behalf of the Swift community, I’d like to thank the folks who made this release possible.
New downloads are available on swift.org. Official Docker images are also available. The release notes are below.

https://forums.swift.org/t/announcing-swift-5-1-4-for-linux/33443

Extensions should inherit availability of thing they are extending

I'm probably being dumb here, but it seems to me that the extension clause could (and should) safely have an implicit @available(iOS 13.0, *) added to it - in the absence of an explicit one - given that the thing that it is extending has one.

https://forums.swift.org/t/extensions-should-inherit-availability-of-thing-they-are-extending/33464

Swift nightly builds are now available on http://swift.godbolt.org !
https://twitter.com/aalonso128/status/1224694162055999493

https://twitter.com/slava_pestov/status/1225129131601485824

Once upon a time @NachoSoto filed a bunch of Swift diagnostics bugs and went on to become a pilot. All but 5 in this list are now fixed thanks to @hollyborla and Pavel: https://bugs.swift.org/browse/SR-5198

https://twitter.com/Catfish_Man/status/1225136680039899136

Really cool WIP from a teammate Tim here: https://github.com/apple/swift/pull/29658
Swift’s runtime casting infrastructure has been… “scary and organic” I guess? For quite a while. This rewrites it to be properly structured, and cleans up a ton of edge case behavior in the process.

https://twitter.com/jckarter/status/1225149464400150529

@gottesmang We also put a lot of work into reducing code size and memory usage. Swift 5.2 binaries ought to be noticeably smaller, and use less memory when running on macOS 10.15.4, iOS 13.4, and friends

Support for semantic highlighting is moving on Microsoft part
https://forums.swift.org/t/support-for-semantic-highlighting-is-moving-on-microsoft-part/33489

I think it has been before, but worth to mention again (if this issue won't be long).
http://whatsnewinswift.com now hosts 91 Xcode playgrounds, covering changes from any Swift version to any other version – just select your source and target versions, then click Download 👍
For example, this one lists all changes from 1.0 through 5.2 🤯  https://www.whatsnewinswift.com/files/playground-1-0-to-5-2.playground.zip
https://twitter.com/twostraws/status/1225207234185121793

https://nshipster.com/vscode/

277 in review

277 in review

https://forums.swift.org/t/se-0277-float16/33546

Special Case Protocol Conformance: Long-term Tradeoffs for Near-term Conformance
https://forums.swift.org/t/special-case-protocol-conformance-long-term-tradeoffs-for-near-term-conformance/33544

nshipster.com/vscode

https://nshipster.com/language-server-protocol/

https://github.com/twostraws/Sitrep

A source code analyzer for Swift projects.

https://twitter.com/dgregor79/status/1226777508827152385

My next refactor is getting very, very close to being mergeable. This should make it easy to extend #SwiftLang function builders to support local “let”s: https://github.com/apple/swift/pull/29728

https://forums.swift.org/t/swiftnio-security-releases-2-13-1-and-1-14-2/33671

https://forums.swift.org/t/pitch-multiple-trailing-closures/33688/8

Swift Playgrounds available for Mac
https://apps.apple.com/us/app/swift-playgrounds/id1496833156?mt=12

https://twitter.com/slava_pestov/status/1227438709416628224

Over 100,000 commits

Swift on Server WorkGroup meetin January 23rd, 2020 notes
https://forums.swift.org/t/january-23rd-2020/33715

https://twitter.com/theswiftpodcast/status/1227604418583023616

https://twitter.com/johannesweiss/status/1227646148237824001

🎉 AsyncHTTPClient 1.1.0 released 🚀. Now with UNIX Domain Socket Support thanks to @krzyzanowskim and much more  https://github.com/swift-server/async-http-client/releases/tag/1.1.0

https://forums.swift.org/t/february-6th-2020/33748

https://github.com/apple/swift/pull/29786

authors: BasThomas fassko goranbrl irshadpc jessesquires