text:
CFFL

CFFL

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_57g2sqgltf/clone/recipe/meta.yaml:19: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_57g2sqgltf/clone/recipe/meta.yaml:22: missing_wheel: For pypi packages, wheel should be present in the host section
ERROR: /tmp/abs_57g2sqgltf/clone/recipe/meta.yaml:31: missing_pip_check: For pypi packages, pip check should be present in the test commands
ERROR: /tmp/abs_57g2sqgltf/clone/recipe/meta.yaml:38: missing_documentation: The recipe is missing a doc_url or doc_source_url
WARNING: /tmp/abs_57g2sqgltf/clone/recipe/meta.yaml:38: missing_description: The recipe is missing a description
ERROR: /tmp/abs_57g2sqgltf/clone/recipe/meta.yaml:38: missing_dev_url: The recipe is missing a dev_url
Errors were found

authors: anaconda-pkg-build bkreider

repo: AnacondaRecipes/fissix-feedstock


text:
build 2.4.1

PKG-3566
Upstream requirements

Linter check found the following problems:
Traceback (most recent call last):
  File "/opt/conda/envs/linter/lib/python3.11/site-packages/percy/render/_renderer.py", line 222, in render
    yaml_text = _get_template(meta_yaml, selector_dict).render(render_dict)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/envs/linter/lib/python3.11/site-packages/percy/render/_renderer.py", line 152, in _get_template
    return _jinja_silent_undef.from_string(meta_yaml_selectors_applied)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/envs/linter/lib/python3.11/site-packages/jinja2/environment.py", line 1105, in from_string
    return cls.from_code(self, self.compile(source), gs, None)
                               ^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/envs/linter/lib/python3.11/site-packages/jinja2/environment.py", line 768, in compile
    self.handle_exception(source=source_hint)
  File "/opt/conda/envs/linter/lib/python3.11/site-packages/jinja2/environment.py", line 936, in handle_exception
    raise rewrite_traceback_stack(source=source)
  File "", line 30, in template
jinja2.exceptions.TemplateSyntaxError: unexpected '}'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/conda/envs/linter/lib/python3.11/site-packages/anaconda_linter/lint/init.py", line 734, in lint_file
recipe = _recipe.Recipe.from_file(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/envs/linter/lib/python3.11/site-packages/percy/render/recipe.py", line 244, in from_file
raise exc
File "/opt/conda/envs/linter/lib/python3.11/site-packages/percy/render/recipe.py", line 235, in from_file
recipe._load_from_string(text.read())
File "/opt/conda/envs/linter/lib/python3.11/site-packages/percy/render/recipe.py", line 167, in _load_from_string
self.render()
File "/opt/conda/envs/linter/lib/python3.11/site-packages/percy/render/recipe.py", line 284, in render
self.meta = renderer.render(self.recipe_dir, self.dump(), self.selector_dict, self.renderer)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/envs/linter/lib/python3.11/site-packages/percy/render/_renderer.py", line 224, in render
raise JinjaRenderFailure(recipe_dir, message=exc.message, line=exc.lineno)
percy.render.exceptions.JinjaRenderFailure: (PosixPath('/tmp/abs_8fmp0vr0xy/clone/recipe'), "unexpected '}' (at line 30)")
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/conda/envs/linter/bin/conda-lint", line 11, in
sys.exit(main())
^^^^^^
File "/opt/conda/envs/linter/lib/python3.11/site-packages/anaconda_linter/run.py", line 126, in main
result = linter.lint(recipes, subdir, args.variant_config_files, args.exclusive_config_files, args.fix)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/envs/linter/lib/python3.11/site-packages/anaconda_linter/lint/init.py", line 634, in lint
msgs = self.lint_file(
^^^^^^^^^^^^^^^
File "/opt/conda/envs/linter/lib/python3.11/site-packages/anaconda_linter/lint/init.py", line 751, in lint_file
recipe = _recipe.Recipe(recipe_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/envs/linter/lib/python3.11/site-packages/percy/render/recipe.py", line 106, in init
self.recipe_dir = recipe_file.parent
^^^^^^^^^^^^^^^^^^
AttributeError: 'str' object has no attribute 'parent'
ERROR conda.cli.main_run:execute(49): conda run conda-lint /tmp/abs_8fmp0vr0xy/clone failed. (See above for error)

source: gharchive/pull-request

repo: AnacondaRecipes/nptyping-feedstock

license_type: permissive

license_source: github-api


text:
Update 0.9.0

Scikit-optimize 5.4.2 Update
Jira Ticket
Upstream
Dependencies
Changes

Updated version number and sha256
Updated pinnings on dependencies
Changed build number back to 0
added skip: True # [py<36] to build section

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_6dwr2uv9am/clone/recipe/meta.yaml:16: pip_install_args: pip install should be run with --no-deps.
ERROR: /tmp/abs_6dwr2uv9am/clone/recipe/meta.yaml:20: remove_python_pinning: On arch specific packages, python deps should not be constrained.
ERROR: /tmp/abs_6dwr2uv9am/clone/recipe/meta.yaml:21: missing_wheel: For pypi packages, wheel should be present in the host section
ERROR: /tmp/abs_6dwr2uv9am/clone/recipe/meta.yaml:23: remove_python_pinning: On arch specific packages, python deps should not be constrained.
WARNING: /tmp/abs_6dwr2uv9am/clone/recipe/meta.yaml:50: missing_description: The recipe is missing a description
Errors were found

Sumit ? how you could approve this?

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_8b3qt73gj5/clone/recipe/meta.yaml:17: pip_install_args: pip install should be run with --no-deps.
ERROR: /tmp/abs_8b3qt73gj5/clone/recipe/meta.yaml:23: missing_wheel: For pypi packages, wheel should be present in the host section
ERROR: /tmp/abs_8b3qt73gj5/clone/recipe/meta.yaml:25: remove_python_pinning: On arch specific packages, python deps should not be constrained.
WARNING: /tmp/abs_8b3qt73gj5/clone/recipe/meta.yaml:52: missing_description: The recipe is missing a description
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_47f1av0oj6/clone/recipe/meta.yaml:17: pip_install_args: pip install should be run with --no-deps.
ERROR: /tmp/abs_47f1av0oj6/clone/recipe/meta.yaml:23: missing_wheel: For pypi packages, wheel should be present in the host section
ERROR: /tmp/abs_47f1av0oj6/clone/recipe/meta.yaml:25: remove_python_pinning: On arch specific packages, python deps should not be constrained.
WARNING: /tmp/abs_47f1av0oj6/clone/recipe/meta.yaml:52: missing_description: The recipe is missing a description
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_40472q1a2e/clone/recipe/meta.yaml:17: pip_install_args: pip install should be run with --no-deps.
ERROR: /tmp/abs_40472q1a2e/clone/recipe/meta.yaml:23: missing_wheel: For pypi packages, wheel should be present in the host section
ERROR: /tmp/abs_40472q1a2e/clone/recipe/meta.yaml:25: remove_python_pinning: On arch specific packages, python deps should not be constrained.
WARNING: /tmp/abs_40472q1a2e/clone/recipe/meta.yaml:52: missing_description: The recipe is missing a description
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_d4kd73t18d/clone/recipe/meta.yaml:17: pip_install_args: pip install should be run with --no-deps.
ERROR: /tmp/abs_d4kd73t18d/clone/recipe/meta.yaml:23: missing_wheel: For pypi packages, wheel should be present in the host section
ERROR: /tmp/abs_d4kd73t18d/clone/recipe/meta.yaml:25: remove_python_pinning: On arch specific packages, python deps should not be constrained.
WARNING: /tmp/abs_d4kd73t18d/clone/recipe/meta.yaml:52: missing_description: The recipe is missing a description
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_8aaubas7hc/clone/recipe/meta.yaml:17: pip_install_args: pip install should be run with --no-deps.
ERROR: /tmp/abs_8aaubas7hc/clone/recipe/meta.yaml:23: missing_wheel: For pypi packages, wheel should be present in the host section
WARNING: /tmp/abs_8aaubas7hc/clone/recipe/meta.yaml:52: missing_description: The recipe is missing a description
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_b2pqr81gzj/clone/recipe/meta.yaml:23: missing_wheel: For pypi packages, wheel should be present in the host section
WARNING: /tmp/abs_b2pqr81gzj/clone/recipe/meta.yaml:52: missing_description: The recipe is missing a description
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_9fthy96ezx/clone/recipe/meta.yaml:23: missing_wheel: For pypi packages, wheel should be present in the host section
WARNING: /tmp/abs_9fthy96ezx/clone/recipe/meta.yaml:52: missing_description: The recipe is missing a description
Errors were found

authors: Arishamays1 anaconda-pkg-build katietz


text:
78000FTHR "Insert SD card to continue" Not identifying SD card

I am trying to run both SDHC_weights and facial_recognition on my MAX78000FTHR. I have checked that my Micro SD card is correctly formatted with FAT32 and empty before inserting it into the board with the metal contacts facing the board. When I build the projects, they receive no errors or warnings. When they are loaded, I receive the expected outputs waiting for the SD cards to be inserted. For SDHC, I have tested with two different empty micro SD cards without partitions. I have also tried facial_recognition with empty SD cards as well as with the weights_2.bin file in the root directory and received the same waiting prompt. I have tested this by having the SD card already inserted upon running and inserting the SD card after the program has begun. I have tested this two boards with the same results.
I see here that the MAX780000FTHR is not included in the SDHC usage although I know these programs are both ( 1, 2) specifically tested for this board. I am developing from the repo and not from the maintenance tool so I am up fully updated as of this morning, 6/27/2023. This leads me to believe there is a setting I have not changed or I am building somehow incorrectly. To build, I am simply running ‘ make -r -j ’ Are there any additional changes to make?
Thank you!

Thanks @ryalberti
As part of our functional testing before release I have been tracking any issues in the fix/functional-tests branch.
Good catch in the UG, I added the MAX78000 to the list of SDHC supported parts (https://github.com/Analog-Devices-MSDK/msdk/pull/641/commits/056b0e51cd29f2f6711a95680df0f1f378a432c4)
On the example - you are building it correctly.  The default build settings will work.
I was able to run the SDHC_Weights project, which formatted and wrote to the card.
***** MAX78000 Writes CNN weights to SD card *****
Card inserted
SD card mounted.
SD Card Opened
Opened file 'weights_2.bin'
176844 total bytes to write
3000 bytes written to file
3000 bytes written to file
...
3000 bytes written to file
2844 bytes written to file
176844 total bytes written to file
File Closed
SD Unmonted

Afterwards, I ran the facial_recognition project successfully.
D[main      : 103]

MAX78000 Feather Facial Recognition Demo

D[main      : 124] Camera I2C slave address is 3c

D[main      : 134] Camera Product ID is 7692

D[main      : 144] Camera Manufacture ID is 7fa2

Card inserted
SD card mounted.
SD Card Opened
D[facedetection: 158] CNN load data time : 25ms
D[facedetection: 170] CNN wait time : 19ms
D[facedetection: 158] CNN load data time : 24ms
D[facedetection: 170] CNN wait time : 19ms
D[facedetection: 158] CNN load data time : 25ms
D[facedetection: 170] CNN wait time : 19ms
D[facedetection: 158] CNN load data time : 25ms

So the example seems to be functional.  Perhaps there is a difference in SD cards that we haven't caught.  Below is the card I'm using.  What is yours?

Thanks @ryalberti, looks like the 32GB capacity is the only major difference.  I'll order some higher capacity cards to test

Hi Jake, I found an 8GB which yielded the same results on my board.

I do have a second FTHR board I can test with. The second board used the above Micro Center sd and yielded the same issue, though it used the same build files as the first FTHR that tested the Samsung, SanDisk, and Netac.

Can you zip up your .elf file and attach it?  I'll test your binary on my working board

I just flashed a Sandisk Ultra Plus 32 GB micros SDHC card and was unable to reproduce the issue. This is similar to the SDHC card @ryalberti used.

Try looking at the Updating the MAX32625PICO ("PICO") Debug Adapter Firmware section in this link
Also, these are the parameters I set before formatting the micro SDHC.

I put the listed firmware onto the board and received the correct Git BASH, and copied your parameters when formatting my SD card. I still received the same results. Attached is my .elf from my computer.
max78000.zip
On the second board, we build the project from a previous build of the elf (though I have changed no values, I have updated the repo) and one build on another computer with the same update. I will be unable to test the above directions on the other board until tomorrow.
Thank you for your patience!

I was able to test the second board this morning, flashing with the above settings yielded the same results. Attached is the .elf used for this board. The computer that built this .elf is not developing from the repo, it is using the official release.
max78000.zip

I ran the above .elf file and I wasn't able to reproduce that issue.
I got the below output.

I think this might still be the way the SDHC is being formatted try running the SDHC_FTHR example (msdk/Examples/max78000/SDHC_FTHR) and select the Format option. Hope this helps.

We tried on both boards and neither of them are detecting an SD card being inserted at all. The first board was testing using the SanDisk (32gb) and the Netac (8gb) and the second was using the same MicroCenter card. I was initially under the impression that if it was two boards, then it must have been a software issue. Does it appear that this is a hardware issue and we should be replacing the board?

Given that flashing your binary on my board also works...
D[main      : 103]

MAX78000 Feather Facial Recognition Demo

D[main      : 124] Camera I2C slave address is 3c

D[main      : 134] Camera Product ID is 7692

D[main      : 144] Camera Manufacture ID is 7fa2

Card inserted
SD card mounted.
SD Card Opened
D[facedetection: 158] CNN load data time : 25ms
D[facedetection: 170] CNN wait time : 19ms
D[facedetection: 158] CNN load data time : 25ms
D[facedetection: 170] CNN wait time : 19ms
D[facedetection: 158] CNN load data time : 25ms
D[facedetection: 170] CNN wait time : 19ms
D[facedetection: 158] CNN load data time : 25ms
D[facedetection: 170] CNN wait time : 20ms
D[facedetection: 158] CNN load data time : 24ms
D[facedetection: 170] CNN wait time : 19ms
D[facedetection: 158] CNN load data time : 25ms

... this has the symptoms of a hardware issue.

You've formatted your card with the same options as above
You've flashed and run the SDHC_weights project on the card and that fails
You've flashed and run the SDHC_FTHR example and that also fails
I can run your same binary on my board and it works
Multiple SD card sizes work on our side

The symptoms seem to indicate hardware-related failure on the SD card interface.  It's shocking to me that both your boards have it. I've never seen this happen before, but I'm not sure what else to try.
Shoot me an email to jake.carter@analog.com with your shipping info and I'll see about getting you some tested FTHR boards asap.

Hardware issue verified

source: gharchive/issue

authors: Jake-Carter Suraj-Ajjampur ryalberti

repo: Analog-Devices-MSDK/msdk


text:
Model with clipping plane doesn't update when edge width changes

var viewer = new Cesium.Viewer('cesiumContainer');
var origin = Cesium.Cartesian3.fromDegrees(-123.0744619, 44.0503706, 1000);
var modelMatrix = Cesium.Transforms.headingPitchRollToFixedFrame(origin, new Cesium.HeadingPitchRoll(0, 0, 0));

var clippingPlanes = new Cesium.ClippingPlaneCollection({
    planes : [
        new Cesium.ClippingPlane(new Cesium.Cartesian3(0.0, 0.0, -1.0), 0.0)
    ],
    edgeWidth : 3.0
});

var model = viewer.scene.primitives.add(Cesium.Model.fromGltf({
    url : '../../SampleData/models/CesiumAir/Cesium_Air.glb',
    modelMatrix : modelMatrix,
    minimumPixelSize : 128,
    clippingPlanes: clippingPlanes
}));

model.readyPromise.then(function(model) {
    // Play and loop all animations at half-speed
    model.activeAnimations.addAll({
        speedup : 0.5,
        loop : Cesium.ModelAnimationLoop.REPEAT
    });

    var camera = viewer.camera;

    // Zoom to model
    var controller = viewer.scene.screenSpaceCameraController;
    var r = 2.0 * Math.max(model.boundingSphere.radius, camera.frustum.near);
    controller.minimumZoomDistance = r * 0.5;

    var center = Cesium.Matrix4.multiplyByPoint(model.modelMatrix, model.boundingSphere.center, new Cesium.Cartesian3());
    var heading = Cesium.Math.toRadians(230.0);
    var pitch = Cesium.Math.toRadians(-20.0);
    camera.lookAt(center, new Cesium.HeadingPitchRange(heading, pitch, r * 2.0));
}).otherwise(function(error){
    window.alert(error);
});

Sandcastle.addToolbarButton('Change edge width', function() {
    clippingPlanes.edgeWith = 0;
});

Oh no wait, i just had a typo

repo: AnalyticalGraphicsInc/cesium


text:
Fix UTF-8 Character

Error occured before the fix

Added this to gradle.build file compileJava.options.encoding = 'UTF-8'
Fixed version
.
.
skript-packet-main-2.1.1.zip

Tested on 1.19.3

thanks works on 1.19.2

worked, thanks <3

works on 1.19.4

Official fix with 2.1.2

authors: Anarchick ExtraSmartMiner boxic cooffeeRequired

repo: Anarchick/skript-packet

license: MIT


text:
11卷勘误5

方山子傳：
黃間隱人也-》閒
晚乃遁於光->遯
餘謫居於黃->余
然問餘->余
餘告之故->余
呼餘宿其家->余
餘既聳然異之->余
餘在岐山->余
猶見於眉間->閒
餘聞光、黃間多異人->余,閒
中間獨念方山子一轉->閒
六國論:
慮患之疏->疎
而使秦人得出入於其間->閒
而使天下遍受其禍->徧
因得以自完於其間矣->閒
感嘆作結->歎
萬萬無出於親韓->于
上樞密韓太尉書:
故其文疏蕩->疎
然皆古人之陳跡->迹
向之來->嚮

方山子傳：
因與餘馬上論用兵 -> 余

repo: Ancient-China-Books/guwenguanzhi


text:
Feat: Add Samoan

    @AndrGab can I add Samoan?

Originally posted by @Green-Ranger11 in https://github.com/AndrGab/medirepoWeb/issues/76#issuecomment-1273954269

Could this be assigned the hacktoberfest label please?

repo: AndrGab/medirepoWeb


text:
ListView item selection without gesture recognizers fails on Android

It seems ListView elements won't invoke the ItemSelected and ItemTapped callbacks, and sometime they just do it the first time the item is tapped.
To reproduce the issue change the class BuildCard in CarouselSampleListView.cs as follows:
private object BuildCard(Color color)
{
	var list = new ListView
	{
		BackgroundColor = color,
		ItemTemplate = new DataTemplate(() =>
		{
			var label = new Label
			{
				TextColor = Color.White
			};
			label.SetBinding(Label.TextProperty, nameof(ListItemModel.Text));

			var content = new ContentView();
			content.Content = label;

			var tapGesture = new TapGestureRecognizer();
			tapGesture.SetBinding(TapGestureRecognizer.CommandProperty, nameof(ListItemModel.Command));
			//content.GestureRecognizers.Add(tapGesture); <-- comment this to disable the gesture recognizer

			return new ViewCell
			{
				View = content
			};
		})
	};
	list.SetBinding(ItemsView<Cell>.ItemsSourceProperty, nameof(ListCardModel.Items));

	// add these callbacks
	list.ItemSelected += (sender, e) =>
	{
		var listView = (ListView)sender;
		if (listView.SelectedItem == null)
		{
			return;
		}
		Application.Current.MainPage.DisplayAlert("Selected", null, "Ok");
		listView.SelectedItem = null;
	};
	list.ItemTapped += (sender, e) =>
	{
		Application.Current.MainPage.DisplayAlert("Tapped", null, "Ok");
	};

	return new ContentView
	{
		Margin = new Thickness(30, 20),
		Content = list
	};
}

I'm using Android version 5.0.1 running on an Acer Iconia B1-770 with the version of XF and CardView in the master branch

I think, this can be XF bug, it would be better to make research.
Probably, do you want to debug this case?
There is no a lot of Android specific code

I see. I'll try to find out is this is XF related and report back.

Is this related to the Command bindings not being fired do we think?

If so the issue isn't within the ViewCell's, it must be within the ListView within Forms.

@thedjnova I didn't want to use Command and gesture recognizers like in the sample, although that seems the recommended way, because the ripple effect is not being triggered on Android.

You could just override your pages OnPropertyChanged and check for SelectedItem or SelectedIndex changes?
Pretty much the same thing just the more verbose version.
Doesn't resolve the issue but would get you up and running until we get it nailed.

@thedjnova Thanks for your suggestion, I'll give it a try.

Hmmm... it doesn't seen to work either, except for the first time a cell is tapped. This is how I've set the callback:
list.PropertyChanged += (sender, e) =>
{
	if (e.PropertyName == nameof(list.SelectedItem) && list.SelectedItem != null)
	{
		Application.Current.MainPage.DisplayAlert("Tapped", null, "Ok");
		list.SelectedItem = null;
	}
};

I'll try subclassing ListView to override those properties.

This seems to solve the issue in this line of code:
public virtual Task HandlePanReset(IEnumerable<View> views, CardsView cardsView, AnimationDirection animationDirection, IEnumerable<View> inactiveViews)
{
	var view = views.FirstOrDefault();
	if (view != null)
	{
		var tcs = new TaskCompletionSource<bool>();
		var animTimePercent = 1 - (cardsView.Width - Abs(view.TranslationX)) / cardsView.Width;
		var animLength = (uint)(AnimationLength * animTimePercent) * 3 / 2;
		if (animLength > 0) { // <-- check if an animation is really needed
			new Animation(v => view.TranslationX = v, view.TranslationX, 0)
				.Commit(view, nameof(HandlePanApply), 16, animLength, AnimEasing, (v, t) => tcs.SetResult(true));
			return tcs.Task;
		}
	}
	return Task.FromResult(true);
}

For some reason an animation of zero length seems to be causing the problem, although I'm not entirely sure.

Wow, fantastic.
I will adjust this fix. Really too strange issue)

will be available in next release =)

authors: AndreiMisiukevich rraallvv thedjnova

repo: AndreiMisiukevich/CardView


text:
(Numpy) Vectorization of certain functions

Investigate using numpy.vectorize of functions, likely only needed for the ones ICY has vectorized. I consider this a feature because it is additional functionality on top of the C version of spice, but brings SpiceyPy inline with ICY.

So this issue has been open for nearly two years. Vectorizing functions has been low priority for a while as making loops is not very hard, and I didn't know exactly what to do about functions taking multiple vectorized parameters (besides throwing exceptions if parameter vectors have mismatching lengths). Mostly at this point this is looking unnecessary addition, so I plan to go through and make sure where I have vectorized functions things are consistent.

I am closing this issues for now, making functions vectorized is not particularly difficult so if there is user need for more vectorized functions I can implement them as needed.

repo: AndrewAnnex/SpiceyPy

license: mit

license_source: bigquery


text:
Reduce test kernel set by over 400MB, down to < 20MB.

spiceypy/tests/gettestkernels.py

Replace de421.bsp (16MB) with de405s.bsp (1.4MB; DE-405 short ca. 1997 to 2010).
DE405S:  Needs to be <native>-IEEE for testing, typically LTL-IEEE for Intel.
DE405S:  Wrote script make_de405s_native.py to convert from BIG-IEEE kernel at JPL/NAIF.
DE405S:  Integrate make_de405s_native.py script into gettestkernels.py.
DE405S:  Shift many time-lookup tests into range of de405s.bsp.
DE405S:  Add step to spiceypy/tests/gettestkernels.py to convert BIG-IEEE de405s.bsp from NAIF to native byteorder.
Shift Cassini test kernel coverage from 2004 to 2013, to use smaller kernels.
CASSINI/2013:  Change ABCORR to LT from LT+S, to NONE from S.
Drop MER and MRO kernels; use Phobos instead of MRO/MER; hardcode MER location.
Retrieve smaller Phobos DSK (59k) than original NAIF DSK (16MB).
Retrieve smaller, and static, Earth rotation state binary PCK.
Do not retrieve latest Earth binary PCK; it changes too often.
Remove MarsKernels class.
Remove obsolete cleanup and download (get*Kernels) routines and calls.
Remove remove redundant kernelFile.close().
Improve readability of global downloadTestKernels() routine.

spiceypy/tests/make_de405s_native.py

New script to convert de405s.bsp from NAIF to native byte-order.
Does functionally the same thing as SPICE utility BINGO.
Downloads NAIF de405s.bsp as de405s_bigendian.bsp.
Converts de405s_bigendian.bsp to def05s.bsp.
Asserts with checksum to ensure success.

spiceypy/tests/test_wrapper.py

Adjust assertion expected values to match returns from new kernels
Adjust parameters in test_dskw02_dskrb2_dskmi2()
Remove obsolete cleanup calls
Replace MGS/Mars tests with Cassini/Enceladus tests; adjust expected values
test_ckcov():  simplify assertion, improve test
Change ['%s%f%d' % tuple(...)] format statements to ['{}{}{}'.format(...)
Use Mercury transit of Sun instead ofr MRO transit of Mars for test_occult().

Coverage remained the same at 100.0% when pulling d067908a24cdd1740063d300aadfb4fcc7dae0aa on drbitboy:improvement/smaller-kernel-set into 64fb6e428155df6c38f18e3f747a8a3818e63f90 on AndrewAnnex:master.

Coverage remained the same at 100.0% when pulling d067908a24cdd1740063d300aadfb4fcc7dae0aa on drbitboy:improvement/smaller-kernel-set into 64fb6e428155df6c38f18e3f747a8a3818e63f90 on AndrewAnnex:master.

ok so the BE/ LE thing...  Is there a major BE OS I am forgetting? I guess you could count stuff running on ARM potentially?
As per my other post about the phobos DSK we could just host the LE kernel on Github instead of converting it. This would be less code to manage.

[Combining a few of the comment subjects above into this one comment for brevity (not my strong suit;-)]
Issues:
0.1. Non-https DSK:  meh, as you say; still it would be breaking the CONtRIBUTING guidelines.  I am not sure https does not work it; it might just be a typo.  In any case, does six.urllib2 actually validate the certificates against an actual authority?  Or is it like the commonly-used [--no-check-certificate] option in wget?
0.2. Non-NAIF DSK:  that page is my old Cornell University Astronomy (CUAstro) Dept. Account (carcich@astro.cornell.edu) ~carcich/public_html/, still active five years after I retired.  I agree it is not ideal, but NAIF's DSKs are may be no more stable (see 1.2 below).
0.3. BE/LE thing:  no, there is no BE OS (yes, we got no bananas;-), but CONTRIBUTING.md makes "keeping things platform-neutral" a Responsibility.
Alternatives (two in addition to your three):
1.0. Non-NAIF DSK;  If nothing else, I could ask Tom Shannon, the CUAstro admin, to host it somewhere more permanent in that domain; I am pretty sure he would do that.  Or maybe you have someplace (other than Github; Google Drive?) to host this file; I think that could also use https.  Still, it's ugly.
1.1. Use 10Mb NAIF DSK:  no if at all possible; I really do not want to give back 50% against the fruits of my hard labor.
1.2. Ask NAIF to host it:  been there, done that, was turned down; Boris said "the generic_kernels/dsk area is very much in flux", so maybe even the current wasteful Phobos test DSK is unstable.  I re-asked about possibility of a_older_versions/ sub-directory; we'll see what he says.
1.3. Use github to host it:  probably the most robust option.
1.3.1 At 20Mb for all of the kernels, why not go all the way and put a .zip and a .tar.gz in a separate SpiceyPy support repo (although compression will probably be minimal on the binary kernels, which make up the bulk of the test kernels).  I think we can use the raw interface to urllib just the file, or use the git Python interface to extract the contents of the support repo (SpiceyPySupport?  SpiceyPyTestKernels?).
1.4. Nat suggested generating kernels on the fly.  We already do that in some cases (test_getfov(); test_gfsntc(); test_srfc2s(); so one could argue that, in effect, the precedent of having a kernel in the SpiceyPy repo is already broken).
2.1. BE/LE:  IIRC, the byte order requirement on the SPICE side comes from deprecated, but backward-compatible, DAF routines that pre-date the introduction of LTL-IEEE/BIG-IEEE in binary kernels, and the introduction of endian-blind SPICE routines.  So a better solution might be to drop the SpiceyPy interfaces to any endian-sensitive deprecated routines, along with their tests, at which point we no longer need to supply at least one native binary test kernel, we can just take whatever byte order NAIF supplies.

after reading the above:

Seems like making another github repo just for the two test kernels is the best option
By platform neutrality I meant macOS/Windows/Linux compatibility. Like using having forward slashes vs back slashes for file paths and the like. BE OS support is not important for the project at the moment.

I can make a public repo for the two kernels soon. An extra advantage is that the repo would be clone-able so we could have backups hosted by gitlab/bitbucket.

I agree with using Github for those test kernels, but if we do that then we put all of the kernels into the github repo:  once we have a single test kernel on Github, it makes no sense to bother with another domain (NAIF/JPL) which we cannot control.

https://github.com/drbitboy/SpiceyPyTestKernels

Okay, it's done, using my test kernel repo for now.  We should get some new checks soon.
Obviously at some point we will move it to AndrewAnnex@github, and I can also shrink the binary kernels some more, but this works now (at least it passes in my [linux+python2|3] environment.
Also, I think it may even be faster (I don't think NAIF/JPL has bandwidth that can compete with github).

ok great, I can just fork the repo and then we can just update the links. I think less than 20Mb is a huge win so for now we can just stick with that for now.

Ok @drbitboy, I made the fork and I have a pr for adding the LE de405s.bsp kernel see https://github.com/AndrewAnnex/SpiceyPyTestKernels/pull/1 . Let me know if that is ok, since that conversion script isn't part of the spiceypy codebase you can choose to license it under your name as well, just let me know and I will update that pr before merging.

Okay, that is great.
So there are a few more changes to make here:

Remove [assert len(...) == 3] and re-do ets list
Remove commented line [#handle = ...]
Re-home those kernel links to @AndrewAnnex

Wait, are you are putting the make_de405s_native.py script into the kernels repo?  It belongs in the SpiceyPy repo, under tests so will not be confused with the codebase.

I added the LE kernel in that PR I made against my fork of the test kernel repository (I didn't delete the BE one). So as far as I can see there is no need for it to be in this PR once I merge in that PR (I was waiting for you to take a look at it). This will also simplify a number of line changes in the current pr once I merge that other PR into the master branch. If you are very concerned about being able to run the tests with the BE version of the kernel then we could have an if check in the gettestkernels code that downloads the correct version if needed.  Otherwise, I don't understand why it is critical here.

I am confused; not sure which pr and which "it" you are referring to in several places in that last comment.
can we deal with this tomorrow?  I have to take a break.
Thanks,
Brian

sure thing, feel free to wait until later before you read this. I will try to be more clear here:

I forked your repository for the Test Kernels (https://github.com/drbitboy/SpiceyPyTestKernels)
I made a PR against my fork of the Test Kernels at (https://github.com/AndrewAnnex/SpiceyPyTestKernels/pull/1) that includes the following:

de405s.bsp, which is the LE (aka PC) version of the de405s_bigendian.bsp kernel
make_de405s_native.py, that I used to make the new de405s.bsp kernel
Updates to the README to include the md5 hash for the new de405s.bsp kernel

what I am suggesting is:

with your OK I will merge that PR (https://github.com/AndrewAnnex/SpiceyPyTestKernels/pull/1) into my fork of SpiceyPyTestKernels.
Then we can remove make_de405s_native.py from this PR.
make_de405s_native.py would now be located in (https://github.com/AndrewAnnex/SpiceyPyTestKernels)
Then we can simplify the code in this PR a bit more as we do not need to convert the de405s_bigendian.bsp kernel within the tests here anymore, as we can directly download the new de405s.bsp kernel.

Coverage remained the same at 100.0% when pulling ff7ce308278ab620562e6e4715dba270d581ce27 on drbitboy:improvement/smaller-kernel-set into 64fb6e428155df6c38f18e3f747a8a3818e63f90 on AndrewAnnex:master.

If we put both LE and BE de405s SPKs into the SpiceyPyTestKernels repo, the make_de405s_native.py script is no longer needed.

Okay, it looks like appveyor and travis are or will be soon showing success, with the usual ignoreable travis osx/py2.7 hiccup.
The script [make_de405s_native.py] is obsolete and gone, and I am pretty sure all review issues have been addressed.
When you re-pull or re-fork the test kernels repo, then you can change all seventeen occurrences of  [drbitboy] to [AndrewAnnex] in spiceypy/tests/gettestkernels.py and do your internal PR, or just push.
We could make the repo owner an envvar that defaults to AndrewAnnex a la
ghOwner = os.environ("TEST_KERNELS_REPO_OWNER","AndrewAnnex')
...
blah_url = "https://raw.githubusercontent.com/{}/SpiceyPyTestKernels/master/...".format(ghOwner)

to make modifying the testing easier in the future, but the tests will eventually stabilize, so the slight awkwardness in updating tests without the envvar is not enough to compensate for the loss in code clarity.

Coverage remained the same at 100.0% when pulling 182293416509f30f16e01c12595af90a3d60605b on drbitboy:improvement/smaller-kernel-set into 64fb6e428155df6c38f18e3f747a8a3818e63f90 on AndrewAnnex:master.

ok great @drbitboy, this looks good so I will merge soon

https://ci.appveyor.com/project/drbitboy/spiceypy/build/1.0.68/job/88jvt1uweykp7nub
hmmph.

Coverage remained the same at 100.0% when pulling 95220475f5a91cf9a20a71b5c7f1c6897fa13caa on drbitboy:improvement/smaller-kernel-set into 64fb6e428155df6c38f18e3f747a8a3818e63f90 on AndrewAnnex:master.

@drbitboy interesting... but it didn't fail in my appveyor builds? maybe there is a more memory efficient way to unpack the list... although it should be a numpy array at that point I think?

Yes, very odd.  Also, it was a memory error but not a segfault, so whatever caused the problem was caught and an exception thrown.  Maybe the VM or the VM host ran out of memory.

I will merge this once I can get the last travis macos build to pass, so don't worry about this for now.

yes, that's what I figured.

woo hoo!

authors: AndrewAnnex coveralls drbitboy


text:
Support for LLVM 6 (tip-of-tree)

I wanted to check out WAVM, and I currently work on LLVM tip-of-tree, so that is the version I have handy (6.0.0svn).  Would supporting that be hard?   Maybe it would be useful to have an llvm-next branch to allow for staging updrades?
Maybe I'm just being lazy and should just build another copy of the LLVM locally.. ?

https://github.com/AndrewScheidecker/WAVM/commit/30edae6ae678c6dad76c97eec32edf704c7675c2 should support both LLVM 5 and 6.

repo: AndrewScheidecker/WAVM


text:
Removed ifc::File's macro's and made the caching threadsafe.

To me this code is more readable. Following the call sites is now very straightforward instead of looking at nested macro's.
It also previously initialized the partition cache in a thread unsafe manner. By using a local static the initialization is guaranteed to be threadsafe.

It cannot work in general, only if there is single instance of ifc::File in a program (because static variable is a singleton).

Aah right, I didn't think about multiple instances.
So small suggestion instead:
Could I get rid of the nested macro's? Just have 1 definition and 1 declaration macro.

Do you mean leave only DECLARE_PARTITION_GETTER but elminitate DECLARE_[DECL/TYPE/EXPR]_PARTITION_GETTER?
I'm not sure why?

Yes exactly, to me it's much more readable, and easier to reason about. Take a look at how it looks in my latest update.

I'm ok with merging Partition and TypedPartition and using constexpr if instead of this separation (https://github.com/AndreyG/ifc-reader/pull/28/files#diff-fbc7f4f12a626cd06400223a2dbe3cc86c63f0db66a5a503db63c88bdc118f1aR50). But I like current declaration/definition of File methods more then suggested one.

I will ask for you to reconsider. The current one adds extra mental overhead for people who don't know the codebase, on top of the fact that macro usage is considered bad practice.
You will see that in terms of length it doesn't even make a difference, you either mention _ATTR_ in the macroname or AttrIndex in the parameters. The latter I strongly feel is more straightforward to understand, and is more akin to what is expected in a normal function call.

I'm not sure about the complexity, IMO nested macro calls are no more difficult than nested function calls, but it's not that important for me. Could you, please, just align your new code by columns as was done for the current one.

Thanks a lot for considering the change! To me it's a lot clearer now to work with.
I've column aligned all the partition getter parameters based on which block they were in.
I've also fixed a couple functions which didn't cache their partition.

authors: AndreyG FireFlyForLife

repo: AndreyG/ifc-reader


text:
No Valid Participations

The bot gave no valid participation when there were some valid ones

Same for me

this has been fixed

authors: Androz2091 Phantom-codes Yeetov

license: ISC


text:
Remove timer init from HybridPlanningManager

Description
Here are the changes I asked about in the main PR.

Sorry to say that I got this:

[hybrid_planning_demo_node-5] [INFO] [1638225773.375163130] [moveit_rdf_loader.rdf_loader]: Loaded robot model in 0.00822692 seconds
[hybrid_planning_demo_node-5] [INFO] [1638225773.375260555] [moveit_robot_model.robot_model]: Loading robot model 'panda'...
[hybrid_planning_demo_node-5] [WARN] [1638225773.406684737] [moveit_ros.robot_model_loader]: No kinematics plugins defined. Fill and load kinematics.yaml!
[hybrid_planning_demo_node-5] [INFO] [1638225773.419255884] [moveit_ros.current_state_monitor]: Listening to joint states on topic 'joint_states'
[hybrid_planning_demo_node-5] [INFO] [1638225773.419583843] [moveit_ros.planning_scene_monitor.planning_scene_monitor]: Listening to '/attached_collision_object' for attached collision objects
[hybrid_planning_demo_node-5] [INFO] [1638225773.420874813] [moveit_ros.planning_scene_monitor.planning_scene_monitor]: Publishing maintained planning scene on '/planning_scene'
[hybrid_planning_demo_node-5] [INFO] [1638225773.420971549] [moveit_ros.planning_scene_monitor.planning_scene_monitor]: Starting planning scene monitor
[hybrid_planning_demo_node-5] [INFO] [1638225773.421671851] [moveit_ros.planning_scene_monitor.planning_scene_monitor]: Listening to '/planning_scene'
[hybrid_planning_demo_node-5] [ERROR] [1638225793.422533534] [test_hybrid_planning_client]: Hybrid planning action server not available after waiting

Test with:  ros2 launch moveit_hybrid_planning hybrid_planning_demo.launch.py

I just searched for this line:
[hybrid_planning_demo_node-5] [ERROR] [1638225793.422533534] [test_hybrid_planning_client]: Hybrid planning action server not available after waiting
And found this code:
if (!hp_action_client_->wait_for_action_server(20s))
{
   RCLCPP_ERROR(LOGGER, "Hybrid planning action server not available after waiting");
   return;
}

Waiting on a timer is a recipe for a flaky unit test and there is a bunch of these.  Are there any other errors?

I just noticed [hybrid_planning_demo_node-5] [WARN] [1638225773.406684737] [moveit_ros.robot_model_loader]: No kinematics plugins defined. Fill and load kinematics.yaml!, is that normal?

Running the integration test locally I get this error:
1: [component_container_mt-1] [ERROR] [1638229085.547834900] [hybrid_planning_container]: Component constructor threw an exception: bad_weak_ptr
1: [ERROR] [launch_ros.actions.load_composable_nodes]: Failed to load node 'hybrid_planning_manager' of type 'moveit::hybrid_planning::HybridPlanningManager' in container '/hybrid_planning_container': Component constructor threw an exception: bad_weak_ptr
1: [ros2_control_node-6] [INFO] [1638229085.549128910] [panda_joint_group_position_controller]: configure successful
1: [ros2 run controller_manager spawner panda_joint_group_position_controller-8] [INFO] [1638229085.552789766] [spawner_panda_joint_group_position_controller]: Configured and started panda_joint_group_position_controller
1: [INFO] [ros2 run controller_manager spawner panda_joint_group_position_controller-8]: process has finished cleanly [pid 960103]

@sjahr here is my attempted fix.  Note that this fixes the circular lifetime ownership relationship by handing a non-owning pointer to the plugins.  I believe this is safe but now I'm struggling with the way parameters are handled (all the string ones default to <undefined> but then we check for an empty string for it not being set and I can't figure out why the parameter for moveit_controller_manager is not being read from the yaml file).

authors: AndyZe tylerjw


text:
Query elements with a namespace prefix

Hi
When I try to query the snippet below with the following:
var cellSelector = "o:p";
var cells = document.Body.QuerySelectorAll(cellSelector);

I get AngleSharp.Dom.DomException: The string did not match the expected pattern.
Can the o:p element be selected using AngleSharp?
        <p class="MsoNormal">
            <o:p> </o:p>
        </p>

Thanks
Andrew

This has nothing to do with AngleSharp. The way to select elements under a namespace is using the "|" operator.
See:

W3C Selectors API
StackOverflow Question

Thanks for the quick reply. I couldn't get the pipe character to work but escaping the colon does give the results I'm expecting.
 var cellSelector = "o\\:p";

Thanks again
Andrew

Yes, as explained in the SO answer the pipe character requires CSS namespaces and conflicts with HTML5 treatment (but not with the XML version). Glad to hear that the escaping works as expected!

repo: AngleSharp/AngleSharp


text:
Can't seem to login when site requires __RequestVerificationToken

Hi there
Thanks for your library. I do have an issue where I'm trying to login to an asp.net mvc website that has __RequestVerificationToken. It seems if I disable antiforgery token I'm able to login.
So basically

Request a page
Navigate to the login page
I can see the __RequestVerificationToken coookie
I then submit the form with username and password
I get the error: Empty or invalid anti forgery header token

I'm using the ASP.NET Bolierplate. I think it submits forms using ajax is that a reason why it's not working?

Well, usually these pages do not require JS, so I just assume that this is not the reason.
I cannot see your configuration (please make sure to submit a MWE in order to be helpful), therefore I cannot comment, but if you, e.g., don't include cookies this cannot work (I assume you know why - so I skip anti forgery token basics).

authors: FlorianRappl dotnetshadow


text:
Azure functions: Could not load file or assembly System.Text.Encoding.CodePages

Bug Report
Prerequisites

[x] Can you reproduce the problem in a MWE?
[x] Are you running the latest version of AngleSharp?
[x] Did you check the FAQs to see if that helps you?
[x] Are you reporting to the correct repository? (there are multiple AngleSharp libraries, e.g., AngleSharp.Css for CSS support)
[x] Did you perform a search in the issues?

For more information, see the CONTRIBUTING guide.
Description
When using an Azure Functions project, I can't load the basic configuration out-of-the-box. When reaching the point where the config has to load, it throws the exception being reported.
Steps to Reproduce

[Create an Azure Functions project from scratch (did this with VS2019)]
[Create a function]
[Add the library in the list of dependencies]
Example code for function

using System;
using System.IO;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using AngleSharp;

namespace anglesharp_functions
{
    public static class Function1
    {
        [FunctionName("Function1")]
        public static async Task<IActionResult> Run(
            [HttpTrigger(AuthorizationLevel.Function, "get", "post", Route = null)] HttpRequest req,
            ILogger log)
        {
            var config = Configuration.Default;

            //Create a new context for evaluating webpages with the given config
            var context = BrowsingContext.New(config);

            //Parse the document from the content of a response to a virtual request
            var document = await context.OpenAsync(req => req.Content("
Some example source

This is a paragraph element"));

            //Do something with document like the following
            Console.WriteLine("Serializing the (original) document:");
            Console.WriteLine(document.DocumentElement.OuterHtml);

            var p = document.CreateElement("p");
            p.TextContent = "This is another paragraph.";

            Console.WriteLine("Inserting another element in the body ...");
            document.Body.AppendChild(p);

            Console.WriteLine("Serializing the document again:");
            Console.WriteLine(document.DocumentElement.OuterHtml);

            string responseMessage = document.DocumentElement.OuterHtml;

            return new OkObjectResult(responseMessage);
        }
    }
}

Expected behavior: [The configuration to load and have an html output at the end of the execution of the function]
Actual behavior: [Throws an exception]
Environment details: [OS, .NET Runtime, ...]

Windows 10 Pro 1909
Azure Functions SDK 3.0.11
Visual Studio 2019 16.9.4

What I've tried so far:
Because the missing dll was getting purged from the output directory (bin/Debug/netcoreapp3.1/bin) I've tried to manually install the library with nuget and use the  directive in the *.csproj. So far, the SDK seems to delete it but I don't know if there is a workaround for this.
Looking at this ticket in the Azure Functions team (https://github.com/Azure/azure-functions-host/issues/7061) to no avail at the moment.

Have you checked https://github.com/Azure/azure-functions-host/issues/7061#issuecomment-843745680 ?
This is hardly an issue of AngleSharp. As mentioned the target for this bug should be Azure Functions. We are not responsible of making all .NET-based systems respecting essential .NET rules.

Yes, sorry about that, I thought it could be related more to this project.

Yes, sorry about that, I thought it could be related more to this project.

Sure, but I don't know what we can / could do here. There is no way we can change / improve Azure Functions. If they cannot handle essential dependencies (such as bringing elementary code pages into play) then this won't work. If you can come up with any idea than you can bring it in.

I have this problem too. If run the code in console then every thing working as expected but if I deploy in function app then same exception is comming. Any workaourd to get out of this is much appreciated.
Code:
IEnumerable scopes = new List { "Sites.FullControl.All" };
IConfidentialClientApplication confidentialClientApplication = ConfidentialClientApplicationBuilder
.Create(clientId)
.WithTenantId(tenantId)
.WithRedirectUri(redirectUri)
.WithClientSecret(clientSecret) // or .WithCertificate(certificate)
.Build();
        ClientCredentialProvider authProvider = new ClientCredentialProvider(confidentialClientApplication);
        GraphServiceClient graphClient = new GraphServiceClient(authProvider);

        try
        {
            var site1 =await graphClient.Sites["kmsrajan.sharepoint.com:"].Sites["financesite"]
           .Request()
           .GetAsync();
            Console.WriteLine(site1.DisplayName);
        }
        catch (ServiceException ex)
        {
            Console.WriteLine("Requested site is not present");
        }

Console application result: Site details as expected
Function App result :-
Exception message:
Could not load file or assembly 'System.Text.Encodings.Web, Version=5.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
Exception Source: System.Text.Json
StackTrace:
at System.Text.Json.JsonPropertyInfo.DeterminePropertyName()
at System.Text.Json.JsonPropertyInfo.GetPolicies(Nullable1 ignoreCondition, Nullable1 parentTypeNumberHandling, Boolean defaultValueIsNull)
at System.Text.Json.JsonPropertyInfo1.Initialize(Type parentClassType, Type declaredPropertyType, Type runtimePropertyType, ClassType runtimeClassType, MemberInfo memberInfo, JsonConverter converter, Nullable1 ignoreCondition, Nullable1 parentTypeNumberHandling, JsonSerializerOptions options)    at System.Text.Json.JsonClassInfo.CreateProperty(Type declaredPropertyType, Type runtimePropertyType, MemberInfo memberInfo, Type parentClassType, JsonConverter converter, JsonSerializerOptions options, Nullable1 parentTypeNumberHandling, Nullable1 ignoreCondition)    at System.Text.Json.JsonClassInfo.CreatePropertyInfoForClassInfo(Type declaredPropertyType, Type runtimePropertyType, JsonConverter converter, JsonSerializerOptions options)    at System.Text.Json.JsonClassInfo..ctor(Type type, JsonSerializerOptions options)    at System.Text.Json.JsonSerializerOptions.GetOrAddClass(Type type)    at System.Text.Json.JsonSerializerOptions.GetOrAddClassForRootType(Type type)    at System.Text.Json.ReadStack.Initialize(Type type, JsonSerializerOptions options, Boolean supportContinuation)    at System.Text.Json.JsonSerializer.<ReadAsync>d__201.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Threading.Tasks.ValueTask1.get_Result()    at System.Runtime.CompilerServices.ValueTaskAwaiter1.GetResult()
at Microsoft.Graph.Serializer.DeserializeObject[T](Stream stream)
at Microsoft.Graph.ResponseHandler.d__21.MoveNext()    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()
at Microsoft.Graph.BaseRequest.d__341.MoveNext()    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult()
at Microsoft.Graph.SiteRequest.d__5.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at SiteCheck.Function1.d__0.MoveNext() in C:\Appl\SiteCheck\Function1.cs:line 54

I found the issue. The problem is with Microsoft.Graph latest package(above 3.35.0) in Nuget. Assembly from latest package throws Exception "Could not load file or assembly 'System.Text.Encodings.Web, Version=5.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified."
Thereafter I downgrade the Microsoft.Graph nuget package version to 3.35.0 then it is working as expected :)

authors: FlorianRappl JackPanzer kmsrajan


text:
Add .gitignore changes to Windows instructions

I forgot a step when I wrote this up last night, here's that step.

I just thought about that as well but can you add the fact that if the binary needs to be shipped (which for a game might happen at some point), the DLLs need to be shipped in the same folder as the binary (which is located in target/release/ or target/debug) ?
A lot of new rust users come here to try Rust via a simple SDL2 project, but the fact that the DLL must be copied with the binary might be unknown for some newbies.

Makes sense, I'll add that.

@Cobrand How does this look?

This looks great ! Thanks !

authors: Cobrand Xaeroxe


text:
Errors running 'npm run build:prod'

c:\Projects\angular2-webpack2-starter\angular2-webpack-starter>npm run build:prod

angular2-webpack-starter@5.0.5 prebuild:prod c:\Projects\angular2-webpack2-starter\angular2-webpack-starter
npm run clean:dist

angular2-webpack-starter@5.0.5 clean:dist c:\Projects\angular2-webpack2-starter\angular2-webpack-starter
npm run rimraf -- dist

angular2-webpack-starter@5.0.5 rimraf c:\Projects\angular2-webpack2-starter\angular2-webpack-starter
rimraf "dist"

angular2-webpack-starter@5.0.5 build:prod c:\Projects\angular2-webpack2-starter\angular2-webpack-starter
webpack --config config/webpack.prod.js  --progress --profile --6066ms building4ms a4961m1ms ch 94% asset optimizationError in bail mode: [default]
Cannot find global type 'Array'.

npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "build:prod"
npm ERR! node v6.4.0
npm ERR! npm  v3.10.3
npm ERR! code ELIFECYCLE
npm ERR! angular2-webpack-starter@5.0.5 build:prod: webpack --config config/webpack.prod.js  --progress --profile --bail
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the angular2-webpack-starter@5.0.5 build:prod script 'webpack --config config/webpack.prod.js  --progress --profile --bail'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the angular2-webpack-starter package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     webpack --config config/webpack.prod.js  --progress --profile --bail
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs angular2-webpack-starter
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls angular2-webpack-starter
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     c:\Projects\angular2-webpack2-starter\angular2-webpack-starter\npm-debug.log

See https://github.com/AngularClass/angular2-webpack-starter/issues/935#issuecomment-243697431

Ok, changing es5 to es6 in tsconfig.json will let me run npm start successfully. But npm run build:prod still fails with the same error (see above). Its more webpack related than typescript, I guess.
I also uninstalled nodejs 6.x (removed npm cache and all remaining files). Then I installed node 4.5 again, cloned the repro run npm install and than npm start then I received this error.
C:\Projects\angular2-webpack2-master\angular2-webpack-starter>npm install
npm WARN peerDependencies The peer dependency webpack@1.x.x || 2.x.x included from string-replace-loader will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency jasmine-core@* included from karma-jasmine will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency webpack@* included from html-webpack-plugin will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency webpack@* included from @angularclass/hmr will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN deprecated wrench@1.5.8: wrench.js is deprecated! You should check out fs-extra (https://github.com/jprichardson/node-fs-extra) for any operations you were using wrench for. Thanks for all the usage over the years.
npm WARN peerDependencies The peer dependency webpack@* included from angular2-hmr will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN optional dep failed, continuing fsevents@1.0.14
npm WARN deprecated graceful-fs@1.2.3: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN peerDependencies The peer dependency @angular/core@* included from @angular/router will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency @angular/compiler@* included from @angular/router will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency @angular/common@* included from @angular/router will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency @angular/platform-browser@* included from @angular/router will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency @angular/platform-browser-dynamic@* included from @angular/router will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency rxjs@* included from @angular/router will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.

execSync@1.0.2 install C:\Projects\angular2-webpack2-master\angular2-webpack-starter\node_modules\angular2-template-loader\node_modules\codecov\node_modules\execSync
node install.js

[execsync v1.0.2] Attempting to compile native extensions.
{ [Error: spawn node-gyp ENOENT]
code: 'ENOENT',
errno: 'ENOENT',
syscall: 'spawn node-gyp',
path: 'node-gyp',
spawnargs: [ 'rebuild' ] }
[execSync v1.0.2]
Native code compile failed!!
Will try to use win32 extension.
npm WARN deprecated tough-cookie@2.2.2: ReDoS vulnerability parsing Set-Cookie https://nodesecurity.io/advisories/130
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN optional dep failed, continuing fsevents@1.0.14
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install"
npm ERR! node v4.5.0
npm ERR! npm  v2.15.9
npm ERR! code EPEERINVALID
npm ERR! peerinvalid The package @angular/common@2.0.0-rc.5 does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer @angular/forms@0.3.0 wants @angular/common@^2.0.0-rc.5
npm ERR! peerinvalid Peer @angular/platform-browser@2.0.0-rc.5 wants @angular/common@^2.0.0-rc.5
npm ERR! peerinvalid Peer @angular/platform-browser-dynamic@2.0.0-rc.5 wants @angular/common@^2.0.0-rc.5
npm ERR! peerinvalid Peer @angular/platform-server@2.0.0-rc.5 wants @angular/common@^2.0.0-rc.5
npm ERR! peerinvalid Peer @angular/router@3.0.0-rc.2 wants @angular/common@*
npm ERR! Please include the following file with any support request:
npm ERR!     C:\Projects\angular2-webpack2-master\angular2-webpack-starter\npm-debug.log

Try pulling down the latest code from the repo. I had this same issue, but it is working now after some code updates in the repo.

ok, your last error seems to be the problem of npm not to be >= 3. Is this 4.5.0.

It works, Thanks!
After

Uninstalling nodejs. 6.5 (including all remaining folder and files on the filesystem)
Installing nodejs 4.5
updateing npm vianpm -i npm -g
cloning the current repro
npm install
npm start and npm run build:prod are running without any errors!
One last question: Is nodejs 4.5 mandatory?

No, it is just a suggestion. It runs with 6.5.0 as well.

authors: Avareto jshamley katallaxie


text:
量化后推理速度

量化完后推理速度反而变慢了，难道不应该加速吗

请问你使用的是什么模型呢，是和transformers库做对比吗？
我们目前还未针对这个库的推理进行优化，在小batchsize的情况下quant/dequant的开销可能掩盖了量化带来的收益。关于这个仓库的推理优化已经在我们的计划之中了。
如果你当前就像获得明显的推理加速的话，建议使用我们维护的vLLM分支进行推理。可以参考这两个PR：
模型量化：https://github.com/vllm-project/vllm/pull/1508
KV Cache量化：https://github.com/vllm-project/vllm/pull/1507

我参照你的代码改写了qwen的int8推理模型，测试的是qwen的模型，对比的是transformers库，推理的时候batchsize是1，这样子对比int8的推理会比transformers库慢。
还有我想问的是这边的代码里用了cublas，和torch_int速度有差别吗

我参照你的代码改写了qwen的int8推理模型，测试的是qwen的模型，对比的是transformers库，推理的时候batchsize是1，这样子对比int8的推理会比transformers库慢。 还有我想问的是这边的代码里用了cublas，和torch_int速度有差别吗

我们测试下来cublas的gemm速度比torch_int的gemm稍微快一些。请问你现在使用的是什么粒度的量化呢？ 如果使用per-token量化是会比per-tensor慢一些的。 torch_int仓库应该默认使用per-tensor量化的。

pertensor和pertoken的我都试过了，我这边测试用的opencompass，测试的是winogrande和siqa这两个数据集，用的单卡3090
transformers原始fp16版本的推理完用了337s，
pertensor的是500s，
pertoken的是520s，
pertensor精度会低很多，pertoken的精度和fp16版本测出来差不多，

pertensor和pertoken的我都试过了，我这边测试用的opencompass，测试的是winogrande和siqa这两个数据集，用的单卡3090 transformers原始fp16版本的推理完用了337s， pertensor的是500s， pertoken的是520s， pertensor精度会低很多，pertoken的精度和fp16版本测出来差不多，

好的。我们本周在进行mixtral等新模型的支持。随后会尽快排查一下这个问题。

好的，我这边也会一直更进这个问题，感谢

我参照你的代码改写了qwen的int8推理模型，测试的是qwen的模型，对比的是transformers库，推理的时候batchsize是1，这样子对比int8的推理会比transformers库慢。 还有我想问的是这边的代码里用了cublas，和torch_int速度有差别吗

我们测试下来cublas的gemm速度比torch_int的gemm稍微快一些。请问你现在使用的是什么粒度的量化呢？ 如果使用per-token量化是会比per-tensor慢一些的。 torch_int仓库应该默认使用per-tensor量化的。

你好，请问你是按照什么代码去改写的qwen的int8量化与推理？我也想尝试量化qwen或者其他模型，但是看到autosmoothquant/models里有四种模型的文件，如果我想测评这四种以外的模型，我该如何参考代码去改写呢？非常期待您的回复！！！感谢！！！

authors: AlexMa0 AniZpZ jundolc

repo: AniZpZ/AutoSmoothQuant


text:
✨[feature request]:Wanted to replace a share button instead of Social icons

… icons
issue #428
Description
Replaced a share button to Social icons.
Type of PR

[ ] Bug fix
[X] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Screenshots / videos (if applicable)

Checklist

[X] I have gone through the contributing guide
[X] I have updated my branch and synced it with project main branch before making this PR
[X] I have performed a self-review of my code
[X] I have tested the changes thoroughly before submitting this pull request.
[X] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[X] I have commented my code, particularly in hard-to-understand areas.

@varshith257 @Anishkagupta04 please review the changes , replacement of toggle share button instead of Social Icons.

@varshith257 as u stated hover is also applied

Better if we align as below reference by adding a Follow Us Section and keeping button in a way that splitting doesn't breaks by overlapping and also reduce some size of that button to align cleanly in footer

@Anjaliavv51 I will review all of your issues and PRs by EOD

@varshith257 okay

@varshith257 please review my PR

Any image or video of changes?

Any image or video of changes?

https://github.com/Anishkagupta04/RAPIDOC-HEALTHCARE-WEBSITE-/assets/154777864/265e6c2c-02a6-4881-bea2-11e4baf058c5

@varshith257 please check it

Better if we add a Follow Us Section and align this button there as in attached image https://github.com/Anishkagupta04/RAPIDOC-HEALTHCARE-WEBSITE-/pull/459#issuecomment-2153748896


text:
是哪不对导致的呢？

电脑芯片是：M2。
MACOS：13.7.1（22H221）
软件：uvr5
错误控制台上次收到的错误：流程：VR架构出现缺失文件错误。请解决错误，然后重试。如果此错误仍然存在，请联系开发人员并提供错误详细信息。原始錯誤詳情：檔案未找到錯誤：“[Errno 2]沒有這樣的檔案或目錄：'ffprobe'”回溯錯誤：“文件“UVR.py”，第6584行，在process_start文件中“separate.py”，行1040，在separate文件中“separate.py”，行354，在final_process文件中“separate.py”，第418行，在write_audio中文件“separate.py”，第391，行save_with_message中文件“separate.py”，第365行，在save_audio_file文件中“separate.py”，第1288行，以save_format文件“pydub/audio_segment.py”，第808行，from_wav文件“pydub/audio_segment.py”，行728。from_file文件“py_初始化_文件“subprocess.py”，第1950行，在_ _执行_儿童中

Try out the latest Roformer patch:
https://github.com/Anjok07/ultimatevocalremovergui/releases/tag/v5.6


text:
[Bug]: Encryption parameters error when running mircrobenchmark for MatMul

Issue Type
Others
Modules Involved
SPU runtime
Have you reproduced the bug with SPU HEAD?
Yes
Have you searched existing issues?
Yes
SPU Version
db1e442
OS Platform and Distribution
Linux Ubuntu 18.04
Python Version
3.10
Compiler Version
GCC 11.4
Current Behavior?
运行matmul基准测试的时候，出现ValueError: encryption parameters are not set correctly的错误。
运行gelu和softmax基准测试的时候，一切正常。
由于我刚接触SPU，仅从这一报错信息上没有办法判断是哪里出了问题。下面是完整的报错信息，不知道是否包含足够有用的内容。
Standalone code to reproduce the issue
bazel run -c opt examples/python/microbench:matmul

Relevant log output
(spu) userA@ubuntu:~/project/sf/OpenBumbleBee$ bazel run -c opt examples/python/microbench:matmul
WARNING: /home/userA/project/sf/OpenBumbleBee/libspu/dialect/pphlo/IR/BUILD.bazel:150:15: in cc_library rule //libspu/dialect/pphlo/IR:dialect: Target '//libspu/dialect/pphlo/IR:dialect' violates visibility of target '//libspu/dialect/utils:utils'. Continuing because --nocheck_visibility is active
WARNING: /home/userA/project/sf/OpenBumbleBee/libspu/device/pphlo/BUILD.bazel:19:15: in cc_library rule //libspu/device/pphlo:pphlo_executor: Target '//libspu/device/pphlo:pphlo_executor' violates visibility of target '//libspu/dialect/utils:utils'. Continuing because --nocheck_visibility is active
WARNING: /home/userA/project/sf/OpenBumbleBee/libspu/device/BUILD.bazel:66:15: in cc_library rule //libspu/device:api: Target '//libspu/device:api' violates visibility of target '//libspu/device/utils:debug_dump_constant'. Continuing because --nocheck_visibility is active
WARNING: /home/userA/project/sf/OpenBumbleBee/libspu/device/BUILD.bazel:66:15: in cc_library rule //libspu/device:api: Target '//libspu/device:api' violates visibility of target '//libspu/dialect/utils:utils'. Continuing because --nocheck_visibility is active
INFO: Analyzed target //examples/python/microbench:matmul (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
Target //examples/python/microbench:matmul up-to-date:
  bazel-bin/examples/python/microbench/matmul
INFO: Elapsed time: 0.471s, Critical Path: 0.00s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
INFO: Running command line: bazel-bin/examples/python/microbench/matmul
An NVIDIA GPU may be present on this machine, but a CUDA-enabled jaxlib is not installed. Falling back to cpu.
[2024-09-17 20:54:24.960] [info] [thread_pool.cc:30] Create a fixed thread pool with size 47
[2024-09-17 20:54:25.414] [info] [cheetah_dot.cc:310] CheetahDot uses 3@2 modulus 8192 degree for 64 bit ring (packing=enabled)
[2024-09-17 20:54:27.434] [info] [cheetah_dot.cc:475] 16@32x128x256 => 32x128x2 Recv 2.822 MiB, Response 3.881 MiB Pack 1747.707 ms (interleave)
Traceback (most recent call last):
  File "/home/userA/.cache/bazel/_bazel_userA/12345/execroot/spulib/bazel-out/k8-opt/bin/examples/python/microbench/matmul.runfiles/spulib/examples/python/microbench/matmul.py", line 92, in <module>
    batch_matmul()
  File "/home/userA/.cache/bazel/_bazel_userA/12345/execroot/spulib/bazel-out/k8-opt/bin/examples/python/microbench/matmul.runfiles/spulib/examples/python/microbench/matmul.py", line 41, in batch_matmul
    z = spu_fn(x, y)
  File "/home/userA/.cache/bazel/_bazel_userA/12345/execroot/spulib/bazel-out/k8-opt/bin/examples/python/microbench/matmul.runfiles/spulib/spu/utils/simulation.py", line 171, in wrapper
    out_flat = sim(executable, *args_flat)
  File "/home/userA/.cache/bazel/_bazel_userA/12345/execroot/spulib/bazel-out/k8-opt/bin/examples/python/microbench/matmul.runfiles/spulib/spu/utils/simulation.py", line 119, in __call__
    parties = [job.join() for job in jobs]
  File "/home/userA/.cache/bazel/_bazel_userA/12345/execroot/spulib/bazel-out/k8-opt/bin/examples/python/microbench/matmul.runfiles/spulib/spu/utils/simulation.py", line 119, in <listcomp>
    parties = [job.join() for job in jobs]
  File "/home/userA/.cache/bazel/_bazel_userA/12345/execroot/spulib/bazel-out/k8-opt/bin/examples/python/microbench/matmul.runfiles/spulib/spu/utils/simulation.py", line 46, in join
    raise self.exc
  File "/home/userA/.cache/bazel/_bazel_userA/12345/execroot/spulib/bazel-out/k8-opt/bin/examples/python/microbench/matmul.runfiles/spulib/spu/utils/simulation.py", line 39, in run
    self.ret = self._target(*self._args, **self._kwargs)
  File "/home/userA/.cache/bazel/_bazel_userA/12345/execroot/spulib/bazel-out/k8-opt/bin/examples/python/microbench/matmul.runfiles/spulib/spu/utils/simulation.py", line 108, in wrapper
    rt.run(executable)
  File "/home/userA/.cache/bazel/_bazel_userA/12345/execroot/spulib/bazel-out/k8-opt/bin/examples/python/microbench/matmul.runfiles/spulib/spu/api.py", line 44, in run
    return self._vm.Run(executable.SerializeToString())
ValueError: encryption parameters are not set correctly

matmul.py 中的 matmul_with_packlwe() 和 matmul_with_interleave() 都可以正确运行，只有 batch_matmul() 会出现上面的错误

matmul.py 中的 matmul_with_packlwe() 和 matmul_with_interleave() 都可以正确运行，只有 batch_matmul() 会出现上面的错误

@fionser  您好。
我在两台不同的机器上执行 examples/microbench/matmul.py 中 batch_matmul() 的测试，都得到了相同的报错 ValueError: encryption parameters are not set correctly。
我尝试开启 enable_action_trace 选项，但似乎并没有提供更多的信息。您能帮我看看是哪里出了问题吗？
[2024-09-18 15:59:33.330] [info] [thread_pool.cc:30] Create a fixed thread pool with size 47
[2024-09-18 15:59:33.389] [TR] [B] hlo.pphlo.dot_general()
[2024-09-18 15:59:33.389] [TR] [B]   hal.batch_matmul(Value<16x64x128xSI32,s=8192,128,1>, Value<16x128x256xSI32,s=32768,256,1>)
[2024-09-18 15:59:33.389] [TR] [B]     hal.i_batch_mmul(Value<16x64x128xSI32,s=8192,128,1>, Value<16x128x256xSI32,s=32768,256,1>)
[2024-09-18 15:59:33.389] [TR] [B]       hal._batch_mmul_ss(Value<16x64x128xSI32,s=8192,128,1>, Value<16x128x256xSI32,s=32768,256,1>)
[2024-09-18 15:59:33.389] [TR] [B]         mpc.batch_mmul_ss(Value<16x64x128xSI32,s=8192,128,1>, Value<16x128x256xSI32,s=32768,256,1>)
[2024-09-18 15:59:33.389] [TR] [B]           mpc.batch_mmul_aa(Value<16x64x128xSI32,s=8192,128,1>, Value<16x128x256xSI32,s=32768,256,1>)
[2024-09-18 15:59:33.778] [info] [cheetah_dot.cc:310] CheetahDot uses 3@2 modulus 8192 degree for 64 bit ring (packing=enabled)
[2024-09-18 15:59:37.795] [info] [cheetah_dot.cc:475] 16@64x128x256 => 64x128x1 Recv 2.822 MiB, Response 7.763 MiB Pack 3535.134 ms (interleave)
[2024-09-18 15:59:37.836] [TR] [E]           mpc.batch_mmul_aa(Value<16x64x128xSI32,s=8192,128,1>, Value<16x128x256xSI32,s=32768,256,1>)
[2024-09-18 15:59:37.837] [TR] [E]         mpc.batch_mmul_ss(Value<16x64x128xSI32,s=8192,128,1>, Value<16x128x256xSI32,s=32768,256,1>)
[2024-09-18 15:59:37.837] [TR] [E]       hal._batch_mmul_ss(Value<16x64x128xSI32,s=8192,128,1>, Value<16x128x256xSI32,s=32768,256,1>)
[2024-09-18 15:59:37.837] [TR] [E]     hal.i_batch_mmul(Value<16x64x128xSI32,s=8192,128,1>, Value<16x128x256xSI32,s=32768,256,1>)
[2024-09-18 15:59:37.837] [TR] [E]   hal.batch_matmul(Value<16x64x128xSI32,s=8192,128,1>, Value<16x128x256xSI32,s=32768,256,1>)
[2024-09-18 15:59:37.837] [TR] [E] hlo.pphlo.dot_general()
Traceback (most recent call last):
  File "/home/userA/.cache/bazel/_bazel_userA/12345/execroot/spulib/bazel-out/k8-opt/bin/examples/python/microbench/matmul.runfiles/spulib/examples/python/microbench/matmul.py", line 93, in <module>
    batch_matmul()
  File "/home/userA/.cache/bazel/_bazel_userA/12345/execroot/spulib/bazel-out/k8-opt/bin/examples/python/microbench/matmul.runfiles/spulib/examples/python/microbench/matmul.py", line 42, in batch_matmul
    z = spu_fn(x, y)
  File "/home/userA/.cache/bazel/_bazel_userA/12345/execroot/spulib/bazel-out/k8-opt/bin/examples/python/microbench/matmul.runfiles/spulib/spu/utils/simulation.py", line 171, in wrapper
    out_flat = sim(executable, *args_flat)
  File "/home/userA/.cache/bazel/_bazel_userA/12345/execroot/spulib/bazel-out/k8-opt/bin/examples/python/microbench/matmul.runfiles/spulib/spu/utils/simulation.py", line 119, in __call__
    parties = [job.join() for job in jobs]
  File "/home/userA/.cache/bazel/_bazel_userA/12345/execroot/spulib/bazel-out/k8-opt/bin/examples/python/microbench/matmul.runfiles/spulib/spu/utils/simulation.py", line 119, in <listcomp>
    parties = [job.join() for job in jobs]
  File "/home/userA/.cache/bazel/_bazel_userA/12345/execroot/spulib/bazel-out/k8-opt/bin/examples/python/microbench/matmul.runfiles/spulib/spu/utils/simulation.py", line 46, in join
    raise self.exc
  File "/home/userA/.cache/bazel/_bazel_userA/12345/execroot/spulib/bazel-out/k8-opt/bin/examples/python/microbench/matmul.runfiles/spulib/spu/utils/simulation.py", line 39, in run
    self.ret = self._target(*self._args, **self._kwargs)
  File "/home/userA/.cache/bazel/_bazel_userA/12345/execroot/spulib/bazel-out/k8-opt/bin/examples/python/microbench/matmul.runfiles/spulib/spu/utils/simulation.py", line 108, in wrapper
    rt.run(executable)
  File "/home/userA/.cache/bazel/_bazel_userA/12345/execroot/spulib/bazel-out/k8-opt/bin/examples/python/microbench/matmul.runfiles/spulib/spu/api.py", line 44, in run
    return self._vm.Run(executable.SerializeToString())
ValueError: encryption parameters are not set correctly

你是用 OpenBumblebee 的代码跑的吗？这个 error 应该是 SEAL 的密文传输的过程中有哪里没对齐导致的。

checkout https://github.com/AntCPLab/OpenBumbleBee/commit/3228dd08440e81cc80768567873af60ef4b4927d

checkout 3228dd0

谢谢，现在这个测试没有任何问题了。

authors: fionser grueyg

repo: AntCPLab/OpenBumbleBee


text:
system.attribute defined in an assembly that is not referenced

so I think this is related to Windows 10's May 2018 cumulative update (three new KB's appeared in my update history, and I stripped my templates down to confirm the impact) - kb4131372 and kb4103727 are the prime candidates (the third update was for Adobe Flash).
I'm getting this error rather immediately when I try to compile/run my various cshtml's... usually the errors happen after a moment building the code.
the only attribute that I can find anywhere is RazorEngine's HasDynamicModelAttribute.
any ideas?

additionally, I hadn't changed the code prior to this error... I came back to my computer and it had rebooted.
I'm going to look at adding a reference during the build, which is an easy workaround... but also worth noting the issue in case anyone else experiences it.

so... wierdly enough, adding a reference to System.Runtime in MY app's app domain seemed to have solved the issue.
Since i'm doing this in PowerShell (which may be related to the updates causing it), it's just a quick call to System.Reflection.Assembly.Load (I use LoadWithPartialName to pull from the GAC, but a fully qualified should work too)

repo: Antaris/RazorEngine


text:
Subsistema de despliegue de código decodificado en display de 7 segmentos.

Crear un subsistema de despliegue de código decodificado en display de 7 segmentos

Tomar los datos del código binario y los despliega en el display de 7 segmentos de la placa de forma decimal.

Objetivos
Objetivo General:

Realizar los códigos correspondientes con el software Vivado para el funcionamiento del display y observar  la funcionalidad en la Nexys 4 DDR.

Objetivos Específicos:

Escribir los distintos códigos que realiza el fin deseado.
Aplicar las restricciones necesarias para que las entradas y salidas estén bien definidas.

Fecha de entrega

Hacer las pruebas antes del martes 4 de octubre del 2022

Colaborador asignado con la Nexys 4 DDR

Anthony Artavia Salazar

Colaboradores

Anthony Artavia Salazar
Diego Huertas Solorzano
Justin Segura Rodríguez

Código "Display de 7"

Toma los datos del código binario y los despliega en el display de 7 segmentos de la placa de forma decimal. Para el cual creamos distintos codigos, para el funcionamiento del mismo:

Códigos implementados "divisor_reloj"
module divisor_reloj(
    input clk, // 100 Mhz
    output reg clk_dividido
    );
    //Divisor para obtener la división de salida deseada
    localparam divisor = 4999; //Para obtener una señal dividida de 10 kHz
    //Valor_dividido = 100 Mhz/(2*Frecuancia_deseada) - 1

    //Contador
    integer contador = 0;

    always @ (posedge clk)
        begin
            if (contador == divisor)
                contador <= 0; //Resetear el valor
            else
                contador <= contador +1;
        end
    // Divisor de reloj
    always @ (posedge clk)
        begin
            if (contador == divisor)
                clk_dividido <= ~clk_dividido; //Negar la señal
            else
                clk_dividido <= clk_dividido; //Almacenar el valor
        end

endmodule

Códigos implementados "contador_actualizacion"
module contador_actualizacion(
    input reloj_actualizacion,
    output reg contador_actualizar = 0
    );

    always @ (posedge reloj_actualizacion)
        begin
            contador_actualizar <= contador_actualizar +1;
        end

endmodule

Códigos implementados "control_anodo"
module control_anodo(
    input contador_actualizar, //Cada 10 kHz
    output reg [7:0] anodo = 0
    );

    always @ (contador_actualizar)
        begin
            case (contador_actualizar)
                2'b0: anodo = 8'b11111110; //Encender digito 1 (unidades)
                2'b1: anodo = 8'b11111101; //Encender digito 2 (decenas)
            endcase
        end

endmodule

Fechas de realización
Para esta parte se estuvo trabajando en la creación de los códigos "divisor_reloj", "contador_actualizacion" y "control_anodo", los cuales se realizaron en la siguiente fecha:

Sábado 30 de octubre del 2022

Código "Display de 7"

Toma los datos del código binario y los despliega en el display de 7 segmentos de la placa de forma decimal. Para el cual creamos distintos codigos, para el funcionamiento del mismo:

Códigos implementados "control_BCD"
module control_BCD(
    input [3:0] bin, //Entrada convertida a binario
    input contador_actualizar, //Cada 10 kHz
    output reg [3:0] digito = 0 //Digito que se va a mostrar en la posicion correspondiente
    );

    always @ (bin, contador_actualizar)
        begin
            if (bin < 10)
            begin
                case (contador_actualizar)
                    2'b0: digito = bin; //Digito que se muestra en posicion 1 (unidades)
                    2'b1: digito = 4'b0000; //Digito que se muestra en posicion 2 (decenas)
                endcase
            end
            else
                case (contador_actualizar)
                    2'b0: digito = bin - 4'b1010; //Digito que se muestra en posicion 1 (unidades)
                    2'b1: digito = 4'b0001; //Digito que se muestra en posicion 2 (decenas)
                endcase
        end

endmodule

Códigos implementados "catodos_BCD"
module catodos_BCD(
    input [3:0] digito, //Digito que se va a mostrar en la posicion correspondiente
    output reg [6:0] catodos = 0 //Digito cn codigo de catodos que se va a mostrar
    );

    always @ (digito)
        begin
            case(digito)
                4'b0000: catodos = 7'b0000001; // 0 decimal
                4'b0001: catodos = 7'b1001111; // 1 decimal
                4'b0010: catodos = 7'b0010010; // 2 decimal
                4'b0011: catodos = 7'b0000110; // 3 decimal
                4'b0100: catodos = 7'b1001100; // 4 decimal
                4'b0101: catodos = 7'b0100100; // 5 decimal
                4'b0110: catodos = 7'b0100000; // 6 decimal
                4'b0111: catodos = 7'b0001111; // 7 decimal
                4'b1000: catodos = 7'b0000000; // 8 decimal
                4'b1001: catodos = 7'b0000100; // 9 decimal
                default: catodos = 7'b0000001; // 0 decimal
            endcase
        end

endmodule

Códigos implementados "display_7segmentos"
module display_7segmentos(
    input clk, //100 MHz
    input [3:0] bin,
    output [7:0] anodo,
    output [6:0] catodos
    );

    wire reloj_actualizacion;
    wire contador_actualizar;
    wire [3:0] digito;

    divisor_reloj D (clk, reloj_actualizacion); //D por divisor
    contador_actualizacion C (reloj_actualizacion, contador_actualizar); //C por contador;

    control_anodo A (contador_actualizar, anodo); //A por anodo;
    control_BCD BCD (bin, contador_actualizar, digito); //BCD
    catodos_BCD CS (digito, catodos); //CS por catodos.

endmodule

Fechas de realización
Para esta parte se estuvo trabajando en la creación de los códigos "control_BCD", "catodos_BCD" y "display_7segmentos", los cuales se realizaron entre las siguientes fechas:

Domingo 2 de octubre del 2022
Lunes 3 de octubre del 2022

Actualización
Para la ultima parte, al código "decodificador_deGray" del Subsistema 1, se tuvo que actualizar para añadirle el ultimo código implementado el código de "display_7segmentos"
Codigo Actualizado

Correcciones

Dentro de la parte del tercer segmento, encontramos ciertos errores a la hora de implementar ciertos códigos, sin embargo, se lograron resolver los mismos.

Códigos corregidos "control_anodo"

Enciende el anodo a partir del contador.

module control_anodo(
    input contador_actualizar, //Cada 10 kHz
    output reg [7:0] anodo = 0
    );

    always @ (contador_actualizar)
        begin
            case (contador_actualizar)
                1'b0: anodo = 8'b11111110; //Encender digito 1 (unidades)
                1'b1: anodo = 8'b11111101; //Encender digito 2 (decenas)
            endcase
        end

endmodule

Códigos corregido "control_BCD"

Decide en la posición donde se va a colocar el digito a partir del contador.

module control_BCD(
    input [3:0] bin, //Entrada convertida a binario
    input contador_actualizar, //Cada 10 kHz
    output reg [3:0] digito = 0 //Digito que se va a mostrar en la posicion correspondiente
    );

    always @ (bin, contador_actualizar)
        begin
            if (bin < 10)
            begin
                case (contador_actualizar)
                    1'b0: digito = bin; //Digito que se muestra en posicion 1 (unidades)
                    1'b1: digito = 4'b0000; //Digito que se muestra en posicion 2 (decenas)
                endcase
            end
            else
                case (contador_actualizar)
                    1'b0: digito = bin - 4'b1010; //Digito que se muestra en posicion 1 (unidades)
                    1'b1: digito = 4'b0001; //Digito que se muestra en posicion 2 (decenas)
                endcase
        end

endmodule

Fechas de realización
Para esta parte, se estuvo trabajando en la corrección de los dos códigos anteriores, los cuales se realizaron entre las siguientes fechas:

Lunes 3 de octubre del 2022
Martes 4 de octubre del 2022

Pruebas realizadas

Para esta se realizó la prueba de poner el numero decimal 7, y como se puede observar en la siguiente imagen, la pantalla del mismo realiza dicha acción, encendiendo el numero decimal "07"

Pruebas realizada "Display de 7 segmentos"
Para esta se realizó la prueba de poner el numero decimal 7,  a partir del formato Codigo Gray (por medio de los switches) y obtener una respuesta en la pantalla, comprobando así el subsistema.
-Ejemplo: Codigo Gray "0100", respuesta encendiendo el numero decimal "07"

authors: AnthonyAS15 ElRiquitix Justinsegurar


text:
LoRA Integration, and Model Configurations in SDP Codebase

Dear Author,
Thank you for sharing this fantastic work and for making the code publicly available. I have thoroughly enjoyed reading the paper and exploring the repository. I find your work on Sparse Diffusion Policy (SDP) truly inspiring, and I am deeply interested in learning more.
I have a few questions regarding the visualizations, LoRA integration, and the configurations of the models mentioned in your paper:

LoRA Integration:
I understand that your paper compares SDP with methods like FFT and LoRA. However, I am unsure how to adapt LoRA to your current code.

Would you be willing to provide guidance or experimental code for integrating LoRA into your framework for comparison?
This would help me better understand the interaction between different adaptation techniques in sparse policy learning.

SDP and Light SDP:
Your paper discusses two model configurations:

SDP: The full model, with relatively fewer experts, each having the same size as the original feed-forward network (FFN). Activated parameters are 53.3M.
Light SDP: A lightweight version, increasing the number of experts (e.g., from 8 to 16) while reducing the size of each expert (1/16 of the original FFN), resulting in activated parameters of 38.7M for efficiency in resource-constrained scenarios.
Are both SDP and Light SDP implementations included in the codebase? If so, could you indicate the specific locations or configurations to switch between the two?

Rou. only and Scratch Methods:
Your paper highlights the impressive efficiency of Rou. only, achieving superior task transfer with just 0.1M trainable parameters, compared to Scratch.

Could you kindly indicate where in the repository the implementations for Rou. only and Scratch are located?

Visualization:
The visualizations in the paper, such as expert sparsity, task transfer probabilities, expert selection frequency, and expert scores versus timesteps, are highly informative.

Could you kindly guide me on where in the codebase I should add or modify code to reproduce these visualizations?
Any pointers on specific files or functions where visualization hooks are implemented would be greatly appreciated.

I deeply value your time and assistance. My sole intention is to explore your excellent work further for academic interest and research purposes. Thank you for considering my request

Thanks for your interest, we plan to release code for rout. only and scratch methods probably in the last of this year or in the start of this year. For light SDP, you can modify the parameters in Task Moe class. For lora you can add lora adapter directly for transformer mlp. For visualization, you can compute in task moe, which experts is activated (or most prob) during policy testing.

authors: AnthonyHuo Ethan-Chen-plus

repo: AnthonyHuo/SDP


text:
Build fails with -Doffline=false

Version 4.2.2 fails in offline mode:
javac:
     [exec] gmake[1]: Entering directory '/wrkdirs/usr/ports/graphics/lightzone/work/LightZone-4.2.2/lightcrafts/products'
     [exec] ln -fs "../lib/ejml-simple.jar" "ejml-simple.jar"
     [exec] ln -fs "../lib/jai-lightzone-1.1.3.0.jar" "jai-lightzone-1.1.3.0.jar"
     [exec] ln -fs "../lib/jaxb-api.jar" "jaxb-api.jar"
     [exec] ln -fs "../lib/jaxb-runtime.jar" "jaxb-runtime.jar"
     [exec] ln -fs "../lib/jiconfont-font_awesome.jar" "jiconfont-font_awesome.jar"
     [exec] ln -fs "../lib/jiconfont-google_material_design_icons.jar" "jiconfont-google_material_design_icons.jar"
     [exec] ln -fs "../lib/jiconfont-swing.jar" "jiconfont-swing.jar"
     [exec] ln -fs "../lib/laf-widget.jar" "laf-widget.jar"
     [exec] ln -fs "../lib/refuel.jar" "refuel.jar"
     [exec] ln -fs "../lib/slf4j-simple.jar" "slf4j-simple.jar"
     [exec] ln -fs "../lib/substance-lite.jar" "substance-lite.jar"
     [exec] gmake[1]: Leaving directory '/wrkdirs/usr/ports/graphics/lightzone/work/LightZone-4.2.2/lightcrafts/products'
     [exec] dmesg: sysctl kern.msgbuf: Operation not permitted
    [mkdir] Created dir: /wrkdirs/usr/ports/graphics/lightzone/work/LightZone-4.2.2/lightcrafts/build
    [mkdir] Created dir: /wrkdirs/usr/ports/graphics/lightzone/work/LightZone-4.2.2/lightcrafts/javah
    [javac] Compiling 1047 source files to /wrkdirs/usr/ports/graphics/lightzone/work/LightZone-4.2.2/lightcrafts/build
    [javac] /wrkdirs/usr/ports/graphics/lightzone/work/LightZone-4.2.2/lightcrafts/src/com/lightcrafts/utils/LCMatrix.java:27: error: cannot access Matrix
    [javac]         val mat = A.getMatrix();
    [javac]                    ^
    [javac]   class file for org.ejml.data.Matrix not found
    [javac] /wrkdirs/usr/ports/graphics/lightzone/work/LightZone-4.2.2/lightcrafts/src/com/lightcrafts/utils/LCMatrix.java:35: error: cannot access DMatrixRMaj
    [javac]                 val doubleData = A.getDDRM().getData();
    [javac]                                           ^

All required jars (same as downloaded w/out the offline mode) are present:
[yuri@yv /usr/ports/graphics/lightzone]$ ls -l work/LightZone-4.2.2/lightcrafts/lib/
total 7288
lrwxr-xr-x  1 yuri  users       60 Feb  1 08:45 annotations.jar -> ../../../../../../distfiles/lightzone/annotations-17.0.0.jar
lrwxr-xr-x  1 yuri  users       60 Feb  1 08:45 ejml-simple.jar -> ../../../../../../distfiles/lightzone/ejml-simple-0.37.1.jar
lrwxr-xr-x  1 yuri  users       51 Feb  1 08:45 ivy.jar -> ../../../../../../distfiles/lightzone/ivy-2.4.0.jar
-rw-r--r--  1 yuri  users  2275240 Dec  2 05:51 jai-lightzone-1.1.3.0.jar
lrwxr-xr-x  1 yuri  users       69 Feb  1 08:45 jaxb-api.jar -> ../../../../../../distfiles/lightzone/jaxb-api-2.4.0-b180830.0359.jar
lrwxr-xr-x  1 yuri  users       73 Feb  1 08:45 jaxb-runtime.jar -> ../../../../../../distfiles/lightzone/jaxb-runtime-2.4.0-b180830.0438.jar
lrwxr-xr-x  1 yuri  users       72 Feb  1 08:45 jiconfont-font_awesome.jar -> ../../../../../../distfiles/lightzone/jiconfont-font_awesome-4.5.0.3.jar
lrwxr-xr-x  1 yuri  users       88 Feb  1 08:45 jiconfont-google_material_design_icons.jar -> ../../../../../../distfiles/lightzone/jiconfont-google_material_design_icons-2.2.0.2.jar
lrwxr-xr-x  1 yuri  users       63 Feb  1 08:45 jiconfont-swing.jar -> ../../../../../../distfiles/lightzone/jiconfont-swing-1.0.0.jar
-rw-r--r--  1 yuri  users   385826 Dec  2 05:51 laf-widget.jar
lrwxr-xr-x  1 yuri  users       55 Feb  1 08:45 lombok.jar -> ../../../../../../distfiles/lightzone/lombok-1.18.4.jar
lrwxr-xr-x  1 yuri  users       54 Feb  1 08:45 refuel.jar -> ../../../../../../distfiles/lightzone/refuel-0.1.1.jar
lrwxr-xr-x  1 yuri  users       61 Feb  1 08:45 slf4j-simple.jar -> ../../../../../../distfiles/lightzone/slf4j-simple-1.7.25.jar
-rw-r--r--  1 yuri  users   965279 Dec  2 05:51 substance-lite.jar
[yuri@yv /usr/ports/graphics/lightzone]$

OS: FreeBSD 12.2
Java 11
This is needed for package build that isn't allowed to access internet.
Source is taken from the GItHub account ktgw0316 project LightZone.

Not all the required jars are listed in lightcrafts/ivy.xml because, for instance, ivy automatically downloads ejml-core as a dependency of the ejml-simple.
The easiest way to get all the jars would be ant -f lightcrafts/build.xml resolve on a machine connected to the Internet, then copy lightcrafts/lib/*.jar to another machine.

@yurivict If this issue is already fixed, please close it by yourself.  I don't have permission here.

@ktgw0316
I am not able to build lightzone-4.2.4 without internet access.
The ant argument -Doffline=true doesn't seem to matter for some reason.
All same JARs places into lightcrafts/lib/ aren't recognized and it still fails on internet access.

@yurivict
Please use -Dno-ivy=true instead of -Doffline=true since v4.2.4.  Sorry, I should mention this change in build instructions.

With -Dno-ivy=true it fails like this:
===>  Building for lightzone-4.2.4
Buildfile: /disk-samsung/freebsd-ports/graphics/lightzone/work/LightZone-4.2.4/linux/build.xml

common:

resolve-submodule:

clean-lib:
     [exec] Removing lib/

download-ivy:

init-ivy:

BUILD FAILED
/disk-samsung/freebsd-ports/graphics/lightzone/work/LightZone-4.2.4/linux/build.xml:37: The following error occurred while executing this line:
/disk-samsung/freebsd-ports/graphics/lightzone/work/LightZone-4.2.4/lightcrafts/build.xml:72: /disk-samsung/freebsd-ports/graphics/lightzone/work/LightZone-4.2.4/lightcrafts/lib does not exist.

Total time: 0 seconds
*** Error code 1

@yurivict
Please check if c9aa0ac works.  Note that all the required jars must be exist under lightcrafts/dependencies/ (not under lightcrafts/lib/) before you execute the ant -Dno-ivy=true.
To download the required jars, you can use git submodule update command while network access is available.

@yurivict
Please check if c9aa0ac works.  Note that all the required jars must be exist under lightcrafts/dependencies/ (not under lightcrafts/lib/) before you execute the ant -Dno-ivy=true.
To download the required jars, you can use git submodule update command while network access is available.

repo: AntonKast/LightZone


text:
Computational Complexity

Hey, rather than an issue with your code I had a question. You note that you're using Montgomery reduction to achieve a better performance. However, I can't seem to find what exact form of it you are using. Could you comment on this, in terms of multiplication, what is the computational complexity. Thus how many multiplications still take place?
Next, it seems that the signing procedure is a bit slower than verification for secp256k1. Based on how ecdsa works, one would expect that it would be the other way around. Could you comment on how this is achieved?
Thanks in advance!

Actually the code uses a Montgomery Ladder to do point multiplication in a constant time manner. So the question of how many multiplications take place doesn't really make sense since it is the point multiplication algorithm.
I would guess signature verification is slightly longer because it requires two point multiplications which, even using Shamir's Trick, will make it take a little longer than signing which only requires one point multiplication.

Thanks for letting me know it uses a Montgomery Ladder, that is helpful. On the performance thing, it seems that signing is, on my machine, 0.0027 seconds while verification is 0,0023 seconds. Like you said, I'd expect verification to be slower due to the two point multiplications. However, it is faster. Any comments on why?

authors: AntonKueltz Moumi

repo: AntonKueltz/fastecdsa

license: unlicense


text:
English README

I like your app and I want to spread it all over the world!
Your application already supports English language.
I will be glad if you add English version of README.md.
If you don't want to replace the current README.md, you can make the English version a link in the header, like other projects do.
For example:
https://github.com/hiddify/hiddify-next

We are delighted to hear that you've enjoyed using this application and appreciate your eagerness to share it with a global audience. Your feedback means a lot to us, and we thank you for your support and enthusiasm.
Now, the README has been successfully updated to English, making this project more accessible to a wider community. This change will help spread the word about the app and potentially attract new contributors and users from around the world.

Thank you!
I will try to spread the application among people

authors: Anxcye killeik

repo: Anxcye/anx-reader


text:
Lidar calibration with VLP-16

Hello,
I have only a vlp-16, can I still use the calibration tool?
Thanks,

Sorry, in current version (Apollo 2.0) we only support the Velodyne HDL-64 calibration.
We now plan to update the LiDAR calibration in a few months when it should support VLP-16.

Are there any updates regarding the VLP-16 support?

authors: MadoRui agneevguin cxia30

repo: ApolloAuto/apollo


text:
Lincoln MKZ must be hybrid?

Lincoln MKZ reference vehicle must be hybrid to run apollo?
what is the detailed specifics of the car? minimum year of model and hybrid or not?

@sbhamad to answer your questions:

Lincoln MKZ reference vehicle must be hybrid to run apollo? Yes, hybrid cars offer better support for drive-by-wire systems.
what is the detailed specifics of the car? minimum year of model and hybrid or not? There is no detailed specifics except the car being drive-by-wire capable and hybrid. However, from my experience and dataspeed's website:

Lincoln MKZ, 2013 or newer
Ford Fusion/Mondeo, 2017 or newer
Hybrid model
(required for electronic brakes)
Active Park Assist feature
(required for steering control)

Hope this helps! Let me know if you have any additional questions.

Closing the issue due to no further communication. Feel free to re-open the issue if there are any follow up questions.

authors: Zhenni17 natashadsouza sbhamad


text:
sensors data sync

Hi Apollo,
请问apollo中，有哪些传感器之间需要做同步？如何实现同步的？谢谢。

谢谢,看到有一个radar,一个单目,一个双目,一个lidar,一个gps和一个imu.
这些传感器,有哪些之间需要做数据同步,如何实现数据同步?

Closed due to inactivity. If the problem persists, pls feel free to reopen it or create a new one and refer to it.


text:
Running strait away from danger

when the bot encounters danger it runs strait away from it.
it could be changed to run away in a circle towards the next objective
this should also stop some bouncing around

Sounds like a pretty neat idea. I'll have to think more about it. The old version did something very similar to that.

:D
you're actualy pretty active on here, about your code, great.
hope you are able to write such a code

There are times in the day where I am more active.

If you check the beta, this has been implemented.

authors: Apostolique Quasardian


text:
Delay in camera

Steps to Reproduce
Go to camera Screen in the demo
Expected results
The camera opens fast as default camera lib from flutter
Actual results
There is delay before camera opened. It shows loading icon
About your device

Brand
Model
OS

Android
Pixel 6a
13

Your flutter version
Run this in your command line
flutter --version
Paste the result here

Did you try running in release mode?

repo: Apparence-io/CamerAwesome