orthogonal initialization

Failing build due to [http://bugs.python.org/issue3271](bug in Python).

That's not a bug in Python, it was a bug in the Python 3 docs. There's no iter.next() in Python 3, climin has to be changed to use next(iter) instead of iter.next() at https://github.com/BRML/climin/blob/8ab1df0/test/test_stops.py#L32. This works both in Python 2 and 3.

@f0k thanks for pointing that out. My remark is there just as protection from the failing build in travis. Bug fixing should be done via another PR.


CDN Front Door does not expose AnomalyScoring as an ENUM value

Please see Terraform issue for full details. The issue is that with Front Door adopting DRS 2.0+ OWASP model they do not expose the ENUM value AnomalyScoring as an ENUM value in the swagger so the CLI tools which need to implement this functionality need to hard code this value in their code base and create their own validation rules based on the DRS version.

Added the ENUM via https://github.com/Azure/azure-rest-api-specs/pull/21947/files


[CC scenario] table count is imbalance

What did you do?

When cdc sink write, check table count.

Sometimes it's like this:

Restart all cdc pod, when cdc sink write, check table count.

What did you expect to see?
No response
What did you see instead?
As above
Versions of the cluster
Upstream TiDB cluster version (execute SELECT tidb_version(); in a MySQL client):
v5.4.0

Upstream TiKV version (execute tikv-server --version):
v5.4.0

TiCDC version (execute cdc version):
v5.4.0

TiCDC does not try to rebalance tables when there are tables that have pending operations on it, such as when it is being added to a capture. To ensure safety, we do not consider an adding table operation as complete, unless its table-level resolved-ts is larger than or equal to the global resolved-ts. But the global resolved-ts can be considerably larger than the global checkpoint-ts, especially after a capture fail-over. This means that, if there is a table whose delta scan is not yet finished, sometimes the owner will consider the adding table operation as ongoing, until the delta scan has finished. During this period, the owner consider the table's replication as "uninterruptable", which prevents an attempt to rebalance the workload.

Close it since it is stale. It has been fix in > v6.1.0.


SAK-32242: Portal loads tool.css and print.css twice for inlined tools

https://jira.sakaiproject.org/browse/SAK-32242
For tool content that is inlined into portal, adds a reference to
tool.css and print.css, even though these will already be included on
the page. This results in the styles being loaded and parsed twice by
the browser, which slows down page render time and causes issues when
trying to debug CSS live on a page.
The issue occurs because of the two #parse directives at the top of
includeStandardHead.vm. The first one adds the content of the tool's
header (which portal also contributes to) when the tool is inlined. The
second one just always adds tool.css and print.css.
This patch will address the issue by having portal only add the
tool.css/print.css references to the tool's header if it is not being
inlined.

This seems good to me. @jonespm ?

Updated per comments. I kept the second param as a boolean because ToolUtils.isInlineRequest() is expensive to check multiple times.

Okay @jonespm can you approve if you're okay with this?


Compose Multiplatform UI View in Flutter

Is it possible to use Compose Multiplatform UI in Flutter?

Technically it would be possible but the question is why...?

Our library (SDK) is completely written in Kotlin and uses   Compose Multiplatform to provide complex UI, which is the main focus of our library. Currently we can use the platform native wrapper to expose the UI to android and iOS separately. But it would be much easier to directly expose the UI from common code to flutter instead of writing glue code for Android and iOS.

Hm that's definitely an interesting challenge. I can look into it but currently I have very little time and I still need to finish a few things for the coming release.
Would it be possible to create a minimal example of your project that I can tinker with?

No hurry, this was only an idea and your library is already a great help 👍.
Unfortunately our library is closed source but there are official Compose Multiplatform demo projects which can be used for testing.

Out of curiosity, are you using Klutter in a production level app?

Not jet, but we are considering using it in our production SDK if the manual mapping becomes unfeasible to maintain. But the flutter binding has low priority for us and we have other bindings with higher priority.

Cool! Please let me know if you decide to use Klutter in production. And if you need more structural help on your project, I do freelance work. 😉

Theoretically this is possible, because kotlin has interoperability with swift: https://www.jetbrains.com/help/kotlin-multiplatform-dev/compose-ios-ui-integration.html#use-compose-multiplatform-inside-a-swiftui-application

Our priorities shifted and we may start working on this soon.

I'm working on the 2024 release which supports protobuf. Also refactoring the dart components to make it more reliable and easier to use. Could start work on this after that.


various minor fixes

call update on machine after providerID change to ensure it is
called on change
call update on machine when already provisioned to reflect
the update that triggered the reconcile
add bmh in the machine controller tests
add status to BMO fake CRs

/cc kashifest
/cc Jaakko-Os

/lgtm


Demo docs: Architecture picture fit

The demo architecture picture has quite large spaces around it. The picture would work better with removed extra spaces from the top, bottom, and side (if possible).
Using a preview of https://github.com/open-telemetry/opentelemetry.io/pull/2275
https://deploy-preview-2275--opentelemetry.netlify.app/docs/demo/current_architecture/

looks like an issue with mermaid, the space comes from the rendered SVG?

One more item to the wish list for the architecture picture: Zoom-in.
The main arch picture contains so much details that a feature to enlarge the picture with one click would be very useful when presenting / screen sharing.

Thanks for the continue feedback @mviitane. Yeah, I had seen the issue with the Mermaid-generated image, but didn't find a way to address it on first investigation. I'd dig deeper.

Sigh, #2318 doesn't fix it for Safari and Firefox so I'm reopening this.


SkiaSharp vs System.Drawing DrawRectangle and AddArc

Description
Path -> DrawArc and SKRect seems not working as they should if compared to System.Drawing
Code
LinqPad File:
SkiaSharp.zip
	int Width = 300;
	int Height = 200;
	int x = 2;
	int y = 3;
	int GapSize = 6;
	int width = Width - x * 2;
	int height = Height - y * 2;
	float MinValue = 0;
	float MaxValue = 100;
	float fromAngle = 135F;
	float toAngle = 405F;

	System.Drawing.Bitmap bmps = new System.Drawing.Bitmap(Width, Height);
	System.Drawing.Graphics g = System.Drawing.Graphics.FromImage(bmps);
	System.Drawing.Rectangle rectImg = new System.Drawing.Rectangle(x, y, width, height);
	g.FillRectangle(new System.Drawing.SolidBrush(System.Drawing.Color.Aqua), 0, 0, bmps.Width, bmps.Height);
	float recommendedValueGreen = 85;
	float thresholdGreen = 30;
	GapSize = 15;

	System.Drawing.Pen Pen_color = new System.Drawing.Pen(System.Drawing.Color.FromArgb(100, System.Drawing.Color.LawnGreen), (float)(width * .06));
	System.Drawing.Rectangle rectg = new System.Drawing.Rectangle(rectImg.X + GapSize, rectImg.Y + GapSize, rectImg.Width - GapSize * 2, rectImg.Height - GapSize * 2);

	float val = MaxValue - MinValue;
	val = (100 * (recommendedValueGreen - MinValue)) / val;
	val = ((toAngle - fromAngle) * val) / 100;
	val += fromAngle;
	float stAngle = val - ((270 * thresholdGreen) / 200);
	if (stAngle <= 135) stAngle = 135;
	float sweepAngle = ((270 * thresholdGreen) / 100);
	if (stAngle + sweepAngle > 405) sweepAngle = 405 - stAngle;

	g.DrawArc(Pen_color, rectg, stAngle, sweepAngle);
	Console.WriteLine("X:" + rectg.X + ", Y:" + rectg.Y + ", W:" + rectg.Width + ", H:" + rectg.Height + ", SA:" + stAngle + ", SW:" + sweepAngle);
	MemoryStream ms = new MemoryStream();
	bmps.Save(ms, System.Drawing.Imaging.ImageFormat.Png);

	Util.Image(ms.GetBuffer()).Dump();

SKIA
	SKImageInfo image = new SKImageInfo(Width, Height);
	SKBitmap bmp = SKBitmap.FromImage(SKImage.Create(image));
	SKSurface surface = SKSurface.Create(image);
	SKCanvas canvas = surface.Canvas;
	canvas.Clear(SKColors.Aqua);

	recommendedValueGreen = 85;
	thresholdGreen = 30;
	GapSize = 15;
	SKRect rect = new SKRect(rectImg.X + GapSize, rectImg.Y + GapSize, rectImg.Width - GapSize * 2, rectImg.Height - GapSize * 2);
	//rect.Size = new SKSize() { Height = rect.Size.Height + rect.Location.Y, Width = rect.Size.Width + rect.Location.X};
	Console.WriteLine("X:" + rect.Location.X + ", Y:" + rect.Location.Y + ", W:" + rect.Width + ", H:" + rect.Height + ", SA:" + stAngle + ", SW:" + sweepAngle);
	val = MaxValue - MinValue;
	val = (100 * (recommendedValueGreen - MinValue)) / val;
	val = ((toAngle - fromAngle) * val) / 100;
	val += fromAngle;
	stAngle = val - ((270 * thresholdGreen) / 200);
	if (stAngle <= 135) stAngle = 135;
	sweepAngle = ((270 * thresholdGreen) / 100);
	if (stAngle + sweepAngle > 405) sweepAngle = 405 - stAngle;

	canvas.DrawArc(rect, stAngle, sweepAngle, new SKPaint()
	{
	 Color = SKColors.LawnGreen.SetAlpha(100),
	 Style = SKPaintStyle.Stroke,
	 StrokeWidth = (float)(width * .06)
	});

	// save the file
	SKImage img = surface.Snapshot();
	SKData data = img.Encode(SKEncodedImageFormat.Png, 100);

	MemoryStream stream = new MemoryStream();

	Util.Image(data.ToArray()).Dump();

Expected Behavior
The sweepAngle of the Path.AddArc is sometime shorter/smaller or larger than the one in
System.Drawing for example if set start angle at 90 with 45 sweepangle
The SkRect rectangle is smaller than the Rectangle in System.Drawing have to resize it manually such as
rect.Size = new SKSize() { Height = rect.Size.Height + rect.Location.Y, Width = rect.Size.Width + rect.Location.X};
Actual
Not able to draw an Arc identical to the one in System.Drawing
Not able to draw a rectangle of the same size as in System.Drawing without resizing the SKRect with new SKSize
Basic Information

Version with issue:  1.60.1
Last known good version:
IDE:  Visual Studio , LinqPad
Platform Target Frameworks: 4.5

Android:
iOS:
Linux:
macOS:
Tizen:
tvOS:
UWP:
watchOS:
Windows Classic:  Windows 10

Target Devices:

Windows .Net Framework 4.5 and dotnet core 2.1

Screenshots

Reproduction Link

VS bug #736292

I had a look at this and I also see the difference. Most notably when the oval is stretched - circles appear to match almost exactly. The more elongated, the more off.
SkiaSharp was never supposed to match, so that is why this is a low priority. Upon closer inspection, I would say that System.Drawing was wrong. I did a test from 0 degrees to 90 degrees and System.Drawing did not have right angles.

Closing this as SkiaSharp is not meant to exactly match System.Drawing, and it appears that SkiaSharp was more correct.


Remove feature = "nightly" gate where unneeded

The nightly feature hides some testing helpers and macros, and all tests using any of them need to be hidden behind the nightly feature too.
This isn't great (see #228) and I want to increase the amount of tests that can be run without unstable and/or nightly compiler features. The tests modified in this PR are low-hanging fruit, they don't require any nightly feature at all.

Just saw this after I added my comment on the previous thread. This will be helpful!

Thanks for this!


The multi-entry vite application with embedded iframe reports that require is not defined

The multi-entry vite application with embedded iframe reports that require is not defined, which should be caused by the insertion of vite-plugin-electron-renderer into external

我确认正确配置了，没有iframe是没有任何问题的，也是正常注入的，但是用了iframe后，iframe加载的html就没有node api环境；我可以整一个复现环境，能帮忙看下么

iframe加载的html的html我不知道怎么使用nodeIntegration

Ensure the nodeIntegration option is set correctly in yourt project. https://github.com/electron-vite/vite-plugin-electron/blob/036e52cf1d5f21d850673690694a07cb8743d674/examples/multiple-window/electron/main.ts#L20

nodeIntegrationInSubFrames: true


Issue1

fixes #1

Integrated, although I am not sure about the SET( CXX_STANDARD 11 ) line in older versions of CMake.


Made tests run on any change.

Codecov Report

Merging #5 (a74781d) into master (c7bd778) will increase coverage by 0.00%.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master       #5   +/-   ##
=======================================
  Coverage   82.47%   82.47%
=======================================
  Files         162      162
  Lines       43414    43414
=======================================
+ Hits        35805    35806    +1
+ Misses       7609     7608    -1

Impacted Files
Coverage Δ

parquet/src/encodings/encoding.rs
95.05% <0.00%> (+0.19%)
:arrow_up:

Continue to review full report at Codecov.

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


[AnimComponent] Fix for transitions

The anim controller now uses the currently active state as the new previous state in all state transitions, irregardless of whether the transition was from the active state, previous state or ANY state. In the instance where the controller is forcing a new state rather than transitioning between states, the previousState is cleared.
I confirm I have read the contributing guidelines and signed the Contributor License Agreement.

Updated this fix as I noticed another related bug. This issue was arising both when transitioning from the ANY state and when an already active transition was interrupted by a transition associated with the previous state.


F5 in file dialog refreshes AND runs

F5 is used both to start playing a scene and to refresh files in a file dialog. When F5 is pressed in a file dialog, it should not also be used to start playing the scene.

Still valid in the current master branch (commit dde6396).


app doesn't run on Mac

run the following commands on v23 branch 23.0.4 causes error:

mvn install
mvn -pl main-ui install -Prun
(then navigate to localhost:8181)

OS: Mac OS
 [ERROR] Failed to execute goal org.apache.karaf.tooling:karaf-maven-plugin:4.3.1:run (run) on project main-ui: Can't start container: Error installing bundle listed in startup.properties with url: mvn:org.apache.karaf.features/org.apache.karaf.features.extension/4.3.6 and startlevel: 1: Could not create bundle object. Unable to add extension bundle. -> [Help 1]

we found the reason for this error is Java 17. which is the same issue #65


Added funder acknowledgement

This was briefly mentioned by @CaptainSifff in the last Zoom meeting. Everyone was invited to provide their funding information, if I recall correctly. Was the idea for everyone to push their commit here, and thus avoid a multitude of PRs and merge conflicts?

Ah, good point @jngrad, I was assuming this would just get merged and anyone else wanting to add acknowledgements could simply push an update with additional text.
However, maybe it makes more sense to leave this open, at least for a little while, and everyone can then add their acknowledgements into this PR and we can merge the updates as one block?

Yes, right. Maybe we should ping everybody and/or add a list for everyone to tick if they added acknowledgements (or don't need to)

It is a little strange to see two unrelated commits in one merge request, but both look fine.

I get that, but I thought it still related enough to not open a new PR when we talk about funding
and employment anyways. Especially, since we don't squash as far as I know.

Acknowledgements
Pinging all contributors - if you have acknowledgements you'd like to add, it would be great if you could push them to this PR (#77) and then update the table below. Many thanks. (...I hope I haven't missed anyone but my apologies if I have.)

None required from my end ✅

Acknowledgements
Pinging all contributors - if you have acknowledgements you'd like to add, it would be great if you could push them to this PR (#77) and then update the table below. Many thanks. (...I hope I haven't missed anyone but my apologies if I have.)

also none required from me


Batch mode driver work (almost usable?)

This includes the remaining batch mode driver components from the prototype cleaned up to the point where I think they're credible to land.
It's very lightly fiddled-with; I wouldn't even say tested yet. But it's also disabled by default in its disabled state, appears not to perturb tests (at least on linux -- checking macos now). I just wanted to get all this in place so David has something he can play with (since it appears I might get pulled off again to do other things for another few days next week).
It's also missing, of course, support for writing OFMs to frontends, or randomizing batch partition, or probably a dozen forms of failure management I haven't covered yet.

@swift-ci please test

@swift-ci please test

@jrose-apple pushed update with review commentary addressed (I think!), with particular emphasis on 91aa7e4 which was actually quite a serious problem -- those seemingly-redundant calls to formBatchJobsAndAddPendingJobsToTaskQueue were not-very-thoroughly compensating for PendingExecution jobs being dropped on the floor in the outer loop -- but I believe I have set it right now. Added a bunch of commentary; let me know if it's not clear.
(The remaining changes are mostly tidying, commenting and splitting functions up as sensibly requested by @davidungar; again, I don't really know that the batching code works at the moment since there isn't frontend code quite ready to connect it to, and it's disabled by default anyways; but it seems about as logically reasonable as it was in its previous iteration which we did manage to test in prototype form, and it at least compiles?)

Build failed
Swift Test OS X Platform
Git Sha - c93497e4677a681362c04b5b808616a6d5324c04

@swift-ci please test

Build failed
Swift Test OS X Platform
Git Sha - c93497e4677a681362c04b5b808616a6d5324c04

@jrose-apple fixed issues discussed so far, squashed and rebased.

Build failed
Swift Test Linux Platform
Git Sha - c93497e4677a681362c04b5b808616a6d5324c04


Support parallel tsc processes that build the same dependency project

Suggestion

🔍 Search Terms

parallel build, getBuildInfo Unexpected end of JSON input
✅ Viability Checklist

My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.

⭐ Suggestion
Please support running multiple parallel tsc processes, each building a different composite project, however sharing common dependencies.
📃 Motivating Example
We have a rather large monorepo. Some of the packages in the repo reference others via typescript composite projects. When we validate typescript files in all packages, we run tsc (and various other package level validations like linters, jest etc.) in parallel to speed things up. However, when handling composite projects, we occasionally get failed builds because one tsc tries to read .buildinfo files that is being written at the exact same time by another process.
The exact error we usually see is
SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at Object.getBuildInfo (/workdir/node_modules/typescript/lib/tsc.js:81380:21)
    at getUpToDateStatusWorker (/workdir/node_modules/typescript/lib/tsc.js:92604:45)
    at getUpToDateStatus (/workdir/node_modules/typescript/lib/tsc.js:92638:22)
    at getNextInvalidatedProject (/workdir/node_modules/typescript/lib/tsc.js:92369:26)
    at build (/workdir/node_modules/typescript/lib/tsc.js:92741:38)
    at Object.build (/workdir/node_modules/typescript/lib/tsc.js:92904:67)
    at performBuild (/workdir/node_modules/typescript/lib/tsc.js:93325:73)
    at Object.executeCommandLine (/workdir/node_modules/typescript/lib/tsc.js:93270:24)
    at Object.<anonymous> (/workdir/node_modules/typescript/lib/tsc.js:93551:4)

The big issue is that build fails, though of course if would be even better if the parallel builds also made sure they don't start building a dependency if another build is already working on that. Atomic writes might solve might solve the build failing and some sort of cross process locking could avoid parallel rebuilds.
💻 Use Cases
Running parallel tsc processes on build agents so that shared dependencies are built only once as needed.

This seems external / out of scope to me. Many, many tools will fail if you run them concurrently targeting the same operation, and tsc intentionally doesn't try rely on any host IPC primitives like would be needed here. Your parallelization launcher should ingest the project graph, invoking tsc without --build, and only parallelize at locations where this conflict isn't going to occur. The only "fix" we'd do here would be effectively to implement #30235.

This seems external / out of scope to me. Many, many tools will fail if you run them concurrently targeting the same operation, and tsc intentionally doesn't try rely on any host IPC primitives like would be needed here. Your parallelization launcher should ingest the project graph, invoking tsc without --build, and only parallelize at locations where this conflict isn't going to occur. The only "fix" we'd do here would be effectively to implement #30235.

@RyanCavanaugh What about changing emits to be atomic writes (likely via renaming)? If buildinfo is written after the outputs are written, atomic writes would ensure that parallel tsc processes would not see invalid state on the disk - both would happily build in parallel and write the files twice - but the primary goal would be achieved as there wouldn't be an error of tsc trying to read file that is being written at the same moment.

@RyanCavanaugh What about changing emits to be atomic writes (likely via renaming)? If buildinfo is written after the outputs are written, atomic writes would ensure that parallel tsc processes would not see invalid state on the disk - both would happily build in parallel and write the files twice - but the primary goal would be achieved as there wouldn't be an error of tsc trying to read file that is being written at the same moment.

Though atomic emit was deemed out of scope in #38690 - perhaps TSC itself throwing error instead of an external watcher would be a reason to reconsider?

Though atomic emit was deemed out of scope in #38690 - perhaps TSC itself throwing error instead of an external watcher would be a reason to reconsider?

Atomic writes introduce other problems (file watchers from other processes see the temp file, for example, and you'd have to design the atomic write operation to also be resistant to two processes doing this at the same time which is another set of tradeoffs). You can host tsc from the API and pass it a custom host that implements writeFile as an atomic write if this unblocks your scenario.

Atomic writes introduce other problems (file watchers from other processes see the temp file, for example, and you'd have to design the atomic write operation to also be resistant to two processes doing this at the same time which is another set of tradeoffs). You can host tsc from the API and pass it a custom host that implements writeFile as an atomic write if this unblocks your scenario.

yes, I will have to write a wrapper (or monkey patch tsc) with atomic write at least for buildinfo.. Eh, if only node exposed api to open files with locks..

yes, I will have to write a wrapper (or monkey patch tsc) with atomic write at least for buildinfo.. Eh, if only node exposed api to open files with locks..


[FR]: Used in 2D scenes

Is your feature request related to a problem? Please describe
I want to use it in 2D scenes to draw points, text, lines, and curves
Describe the solution you'd like
Visualization of large-scale scenes with millions of points/edges
Describe alternatives you've considered
like deckgl

or regl

We already have the ability in the engine-core level to draw points, text, lines, and curves. But there is no good samples, docs and APIs for the end users. We will plan to finish this part in the near future.
You could check the source code here:
https://github.com/Orillusion/orillusion/blob/main/samples/graphic/Sample_Shape3D.ts
https://github.com/Orillusion/orillusion/blob/main/samples/graphic/Sample_Shape3DPath2D.ts
https://github.com/Orillusion/orillusion/blob/main/samples/graphic/Sample_Shape3DPath3D.ts
Thanks a lot!

Thank you. Could you tell me about the performance when displaying 1 million dots?

We currently have no test about the 2D dots scenario. But we will add this feature in the future.


⚠ Bofrost.de has degraded performance

In b4c999f, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 861 ms

Resolved: Bofrost.de performance has improved in 93c2671 after 21 minutes.


how to port micro-ros on new os? like QNX rtx openharmony and so on,Has it guidline?

https://docs.vulcanexus.org/en/latest/rst/tutorials/micro/custom_platforms/custom_platforms.html


Fix errors after turning off cppcoreguidelines-rvalue-reference-param-not-moved  suppression

Came up as part of #2201 moving CI to ROCm 5.7
investigate and fix warnings errors that arise when turning off cppcoreguidelines-rvalue-reference-param-not-moved
Turn off suppression here: https://github.com/ROCmSoftwarePlatform/AMDMIGraphX/pull/2201/commits/c013210d1a06e447564ef08e408dabc89b1cf517

Can you show the error messages in the issue?

Yes will do

 [ 91%] clang-tidy: Running clang-tidy on target /data/test/ref/atanh.cpp...
59364 warnings generated.
Warning: rvalue reference parameter 'op_names' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved,-warnings-as-errors]
    auto test_case = [&](std::vector<std::string>&& op_names) {
                                                    ^

CMake Error at tidy-target-test_ref-_data_test_ref_add_cpp.cmake:82 (message):
  Clang tidy failed.

I think we can change it to take by value instead of rvalue ref.


Windows support potentially broken

Hi again! Now that I have it building it seems like something is broken on windows, I configured llvm with:
cmake -GNinja -DCMAKE_TOOLCHAIN_FILE=LLVMToolchain.cmake -DCMAKE_BUILD_TYPE=Debug -DLLVM_ENABLE_PROJECTS="clang;lld" -DLLVM_TARGETS_TO_BUILD=Native ..\llvm

with n2 installed as ninja in the path.
When running just ninja it complains about the all target and if I run ninja lld it will print the includes on the terminal and then hang and not progress. So it seems like parsing the include files doesn't work correctly?
I am using clang-cl to build llvm.

Coincidentally (before I noticed this bug) I had just updated the docs on Windows to try to better reflect that it doesn't really work.  :(
I have been poking at Windows a bit this week, so maybe it just needs a little bit more effort to make work.
PS Has it ever worked for you?  I think it's never worked, but just wanna double-check I didn't regress anything.

I am using clang-cl to build llvm.

I think clang-cl emulates Windows /showIncludes behavior, so this will not work right until we implement that.
Filed #77 about that specific issue.

I could swear I had it working on Windows at some point, but maybe I misremembered. I'll wait for more updates when you have time to work on it since Windows is my main development environment. Thanks for your work on this so far!

I pushed a change to handle the includes printing.  Could you try again and report back?  I don't have a great Windows dev environment to get an LLVM build going.

It seems like something is wrong. Every time n2 tries to execute a subprocess, it exits with CreateProcessA: The parameter is incorrect. this happens already when running cmake, and also when trying to build a small build.ninja without involving cmake.

Oh no!  Let me open a new bug and dig through this with you, just to help keep the history clearer.


Release Google.Cloud.Workflows.Common.V1 version 2.3.0

This library has no dedicated release history. Changes are typically recorded in other libraries, or are just dependency updates.

Created release for Google.Cloud.Workflows.Common.V1-2.3.0


Cannot read parquet with duplicate column names

Describe the bug, including details regarding any error messages, version, and platform.
If use_legacy_dataset=False in use_legacy_dataset then Exception is raised.
If we specify the schema, the read succeeds, but the values of the duplicate columns are null.
Using use_legacy_dataset=True there are no issues reading the single file (but we can only rename_columns after reading the whole file).
Alternatively the columns param of read_table should allow reading using index, not just column names.
Component(s)
Parquet, Python

Can you print the schema for Parquet file? Or just upload the file that I can debug?

import pyarrow as pa
import pyarrow.parquet as pq

t = pa.Table.from_arrays([[1,2],[3,4]], names=['colA', 'colA'])
pq.write_table(t,'/tmp/a.parquet', store_schema=False)
pq.read_table('/tmp/a.parquet')

vs
import pyarrow as pa
import pyarrow.parquet as pq

t = pa.Table.from_arrays([[1,2],[3,4]], names=['colA', 'colA'])
pq.write_table(t,'/tmp/a.parquet', store_schema=False)
pq.read_table('/tmp/a.parquet', use_legacy_dataset=True)

And
import pyarrow as pa
import pyarrow.parquet as pq

t = pa.Table.from_arrays([[1,2],[3,4]], names=['colA', 'colA'])
pq.write_table(t,'/tmp/a.parquet', store_schema=False)
t2 = pq.read_table('/tmp/a.parquet', schema=pa.schema([pa.field('col1', pa.int64()),pa.field('col2', pa.int64())]))
print(t2)

Not sure if this should raise, but also makes it impossible to filter on the duplicate column names:
import pyarrow as pa
import pyarrow.parquet as pq

t = pa.Table.from_arrays([[1,2],[3,4],[5,6]], names=['colA', 'colA', 'colB'])
pq.write_table(t,'/tmp/a.parquet', store_schema=False)
t2 = pq.read_table('/tmp/a.parquet', schema=pa.schema([pa.field('col1', pa.int64()),pa.field('col2', pa.int64()),pa.field('col3', pa.int64())]), filters=[('col3', '=', 5)])
print(t2) # no error, empty result

vs
import pyarrow as pa
import pyarrow.parquet as pq

t = pa.Table.from_arrays([[1,2],[3,4],[5,6]], names=['colA', 'colA', 'colB'])
pq.write_table(t,'/tmp/a.parquet', store_schema=False)
t2 = pq.read_table('/tmp/a.parquet', schema=pa.schema([pa.field('col1', pa.int64()),pa.field('col2', pa.int64()),pa.field('col3', pa.int64())]), filters=[('colB', '=', 5)])
print(t2) # filter applied

Firstly, you'd better not using same name here. Parquet uses name or fieldId to detect a field. And arrow usally uses name. So firstly I think we'd better using name
Then whats the expected behavior here? Maybe finally we can achieve some read result if FIELD_ID is applied. (Though still I think same name is a bad idea...)

I agree that it's an annoying edge case. I'm not generating the files, I've just created the examples above so it's easier to reproduce the regression. Maybe it's a non-issue, but maybe we want to fix the above before removing the deprecated use_legacy_dataset flag. I don't have enough knowledge on this topic.
Naively I think using the column order indexes might be a faster and more simple approach than using field id or column name maps.

I think long term, ideally, the new dataset API based reading would also support duplicate column names. I assume it will be hard to fully support that throughout a fully query in Acero, but at least supporting it in a Scan node so you can rename them afterwards would be useful.
One thing to note is that even if we would remove the use_legacy_dataset=True option in the near future, you can still use the single-file pq.ParquetFile(..).read() interface that does support this.
The difference in support is between the pure Parquet reader vs the Parquet-format Dataset reader. The unfortunate aspect from a user point of view is that the most used pq.read_table function mixes both cases, and because it has historically supported reading multiple files through the legacy pq.ParquetDataset, we updated pq.read_table to read using the new dataset API. But for some cases, the single-file reader actually works better (and duplicate column names is one such example, but eg selecting fields of nested columns is another).


it did not understand when I asked it to turn off prelaunch "waiting for..."  I don't want that showing up

Type: Bug
I am doing embedded programming and I have a prelaunch task to wait for the debugger to start up.  This seems to trigger a new pop-up that says waiting for prelaunch task... and I know this and I don't want to see this pop-up.  I would like to have it turned off.  When I asked copilot to turn this off it took me to a setting that did not impact the pop-up.
I would love to figure out how to turn this pop-up off... it is not needed and I don't wish to have it.
Extension version: 0.21.1
VS Code version: Code 1.94.0 (d78a74bcdfad14d5d3b1b782f87255d802b57511, 2024-10-02T13:08:12.626Z)
OS version: Windows_NT x64 10.0.19045
Modes:

System Info

Item
Value

CPUs
AMD Ryzen 7 Microsoft Surface (R) Edition (16 x 1996)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabledwebnn: disabled_off

Load (avg)
undefined

Memory (System)
15.45GB (7.88GB free)

Process Argv
--crash-reporter-id 114a894a-a9e4-4018-8946-bd9bb51920b9

Screen Reader
yes

VM
0%

A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
vscrpc:30673769
962ge761:30959799
pythongtdpath:30769146
pythonnoceb:30805159
asynctok:30898717
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
accentitlementsc:30995553
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
724cj586:31013169
a69g1124:31058053
dvdeprecation:31068756
dwnewjupyter:31046869
newcmakeconfigv2:31071590
impr_priority:31102340
nativerepl2:31139839
refactort:31108082
pythonrstrctxt:31112756
flightc:31134773
wkspc-onlycs-t:31132770
wkspc-ranged-t:31151552
cf971741:31144450
autoexpandse:31146404
iacca1:31150322
notype1cf:31151524
5fd0e150:31146321

@roblourens
Hello,
The reason I wish to have these types of things turned off is the fact that I am low vision and use both a screen reader (NVDA), and a very low screen resolution.  Since this was added here is what happens now for me:

The pop-up now covers what I would want to see and it adds a screen reader output that I don't need to / wish to hear.
It would be great if there was a way to tune those messages that show up.


Publish snupkgs.

My understanding is that this does nothing and is not necessary. nuget push automatically picks up a similarly named snupkg when it finds a nupkg. Interesting to note that my mac test setup can be flaky though.

So I had that inclination too. However, when I looked at the docs regarding publishing snupkgs it showed an explicit push of .snupkg files.

Yes, I can see that the symbols packages are already being pushed. You can see the "Download symbols" link on the right of the page, for example here. So if anything this change is presumably going to actually fail because it will try to overwrite them.

Yes I just checked that too. Fine. As we were.


Error: Variables must be length 1 or 1.

I have an Amazon EMR cluster with RStudio 1.0.136, sparklyr <IP_ADDRESS>00 (installed via devtools::install_github() today, so I believe it's at commit 78bbbf0162d8), and EMR release emr-5.3.0 (including Spark 2.1.0 and R 3.2.2).
In a fresh RStudio session, I get the following error when I try to read from an S3 bucket:
> library(sparklyr)
> library(dplyr)
> sc <- spark_connect(master = "local")
> cv <- spark_read_csv(sc, path='s3://wl-applied-math-dev/solar-forecasting/pi_data', name='pidata', memory=FALSE, infer_schema=FALSE)
Error: Variables must be length 1 or 1.
Problem variables: 'database'

I also get a dialog box that pops up when the call finishes:

The returned value cv is an object of class "tbl_spark" that I can get data out of.  It reports dimensions of 22,619,520 x 4 and has the columns I expect.
Through interactive debugging in RStudio, it looks like the errors are emitted inside the spark_read_csv -> spark_partition_register_df -> on_connection_updated call.  Looks like it's trying to update RStudio's listing of tables maybe?

Any chance you can provide an example that reproduces the issue with a local Spark cluster running?
I'm fairly sure this is an issue caused by the tibble package; does updating / reinstalling that package make a difference?
What's your sessionInfo()?

In the above example I used master="local", do you mean something else by "local Spark cluster"?
Here's my sessionInfo():
> sessionInfo()
R version 3.2.2 (2015-08-14)
Platform: x86_64-redhat-linux-gnu (64-bit)
Running under: Amazon Linux AMI 2016.09

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C               LC_TIME=en_US.UTF-8
 [4] LC_COLLATE=en_US.UTF-8     LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                  LC_ADDRESS=C
[10] LC_TELEPHONE=C             LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] dplyr_0.5.0         sparklyr_0.5.3-9000

loaded via a namespace (and not attached):
 [1] Rcpp_0.12.9     withr_1.0.2     digest_0.6.12   rprojroot_1.2   assertthat_0.1  mime_0.5
 [7] R6_2.2.0        jsonlite_1.2    xtable_1.8-2    DBI_0.5-1       backports_1.0.5 magrittr_1.5
[13] httr_1.2.1      rstudioapi_0.6  config_0.2      tools_3.2.2     shiny_1.0.0     parallel_3.2.2
[19] yaml_2.1.14     httpuv_1.3.3    base64enc_0.1-3 htmltools_0.3.5 tibble_1.2

I'm at version 1.2 of tibble, which is the latest release.  Would you recommend a GitHub install?

Sorry, I misread that! I'll try your repro case and see if I can figure out what's going on.

Looks like I can trigger the same error by doing this:
.Call("rs_connectionUpdated", "Spark", "local - sparklyr", "pidata")

My "Spark" pane in RStudio shows a "local" connection, but not a "local - sparklyr" connection, so I'm thinking that's the mismatch?

@kevinushey this seems to only repro with Spark 2.1.0, the problem seems to be somewhat related with sdf_collect since one of the columns returns a character(0) for the database field while the others return entries, I have not looked into this further than this. I think this is enough to reproduce:
sc <- spark_connect(master = "local", version = "2.1.0")
copy_to(sc, iris)

Okay, I've found the issue -- it's indeed a problem in sparklyr whereby a column containing a single empty string is turned into an empty vector. I'll get this fixed!

Should be fixed with https://github.com/rstudio/sparklyr/commit/355810e3e2bdc74cb79ce30835876be007b69e35 -- thanks for reporting!

Cool, thanks for the quick turnaround.

@javierluraschi Is there a reason that this fix isn't implemented in any of the releases? When I download the releases (0.5.5, 0.5.6, or bugfix/hotfix-0.5.6) and install them manually (or use install.packages("sparklyr") to download sparklyr 0.5.5 from cran directly) the old version of sdf_collect is still being used (I've been manually fixing it so far with assignInNamespace when using one of these versions), but when I pull the current dev version from master the correct version of the function is being used.
devtools::install_github("rstudio/sparklyr", ref = "bugfix/hotfix-0.5.6", force = TRUE)
library(dplyr)
library(sparklyr)
sc <- spark_connect(master = "local")
mt_tbl <- copy_to(sc, mtcars)
# Error: Column `database` must be length 1 or 1, not 0

# Popup error: "R code execution error"

spark_disconnect_all()

detach("package:sparklyr", unload = TRUE)

devtools::install_github("rstudio/sparklyr", ref = "master", force = TRUE)
# commit 14a8bb332d24161f67089e6762b9d8d66e102e4c
library(dplyr)
library(sparklyr)
sc <- spark_connect(master = "local")
mt_tbl <- copy_to(sc, mtcars)
# No error or popup occurs

spark_disconnect_all()

Note: This error only occurs when using RStudio, not when using the console. I'm assuming because it is trying to update the spark connection view panel.

Hello, I am getting the same error by simply using spark_read_csv. I have the latest version of sparklyr coming from Cran. My csvs contain text and yes, they may contain missing values. How can I fix that? I tried to get the current master but I only see a zip file (I am on linux with limited admin rights)


Login form submit problem

I want to submit login with my account, but there is a problem, i can't login any websites.
var config = Configuration.Default.WithDefaultLoader().WithCookies();
var browsingContext = BrowsingContext.New(config);

await browsingContext.OpenAsync("http://www.metalstorm.net/users/login.php");
browsingContext.Active.QuerySelector<IHtmlFormElement>("form[action='login.php']").Submit(new
{
    login_email = "*********",
    login_password = "*********"
});
await browsingContext.OpenAsync("http://www.metalstorm.net/");

Why don't you wait until Submit has finished? Any reason for that?

I updated code. There is "await" in my code.

Are you sure yet this is a problem with AngleSharp? (Most of the time it isn't).
Troubleshooting to boil down the problem at first:

Does the form submit work?
Are you sure you are logged-in after the form submit? (check the returned page!)
Does the page require any JavaScript for the login to work (some pages may require this, e.g., to set some validation tokens or to retrieve third-party content)?

If the previous points (and related items) can be excluded and a MWE beyond specific pages (such as the one provided above) can be supplied, then this is indeed an issue with AngleSharp.

i submited form and logged in on website. I submited form with AngleSharp, checked returned document I'm not logged in.
i can login with web client like that.
http://stackoverflow.com/questions/11118712/webclient-accessing-page-with-credentials

Then something went wrong with your request. Potentially you are not filling out the right form fields. Again, the problem is too specific. If you can boil it down to a MWE (that is independent of that specific homepage) I can help you. Before that I am sorry - this is a free project and my resources are limited.
Logging-in / submitting arbitrary forms works in all tested scenarios for me (and others). Therefore, if anything fishy is happening (and that could definitely be) please try to distill the problem.
Remark: Since you seem not to be logged-in in the first place the problem seems to be with your form submission. Of course subsequent requests won't magically have you logged-in.
What to do next? Try another method with AngleSharp. Instead of using the convenience method of providing an anonymous object you could also explicitly select the required form fields and set their values. This way we can exclude that the decomposition of the AO into fields does not work as expected.

Potentially related to #274 / #280, otherwise not reproducible. Closed for the moment.


Use version for action azure/webapps-deploy instead of hash

Why:
When changing to version instead of specific commit the action runs as expected.
Closes: https://github.com/github/docs/issues/25780

What's being changed (if available, include any code snippets, screenshots, or gifs):
Remove specific commit and use version instead.

Check off the following:

[X] I have reviewed my changes in staging, available via the View deployment link in this PR's timeline.

For content changes, you will also see an automatically generated comment with links directly to pages you've modified. The comment won't appear if your PR only edits files in the data directory.

[X] For content changes, I have completed the self-review checklist.

@samuel-coderhead Thanks for submitting a PR! I've edited your post slightly to connect it to your issue.
I'll get this triaged for review! :zap:


Fixed a typo in showDate example

Coverage remained the same at 46.639% when pulling e2cde915d5fd931725b7122d2d2ba17c1d26195b on varemenos:patch-1 into 9141ee9938f5d53e221fcd7be014120ad63f87a3 on benbria:master.


Design: Find better way of providing a price without focusing on the manufacturer.

I would like to find a solution for the Price Comparison aspect of our service that does not rely too heavily on showing manufacturers on vital pages.
We should change the provider logos to plain text, make it bold and add a tool tip icon to besides the name. The idea is to take away the focus on the provider but still allow customers to get more information about the manufacturer.
We want to have a focus on price comparisons. Momondo has a good way of not keeping focus on WHO carries out your booking:

https://www.uswitch.com/gas-electricity/current-plan
https://www.uswitch.com/mobiles/iphone-xr-deals/

Closed because of #1307


MFRC522 - Problem reading Tag

Describe the bug
I have two different typs of tags, a chip card and stickers. When I use the chip card, the behavior is as expected. When I try to use the stickers I get the error "mfrc522: wrong number of bits 4" with changing number of bits between 4 and 7.
I build a small example to show my settings. I tried "commands.PICC_AUTHENT1B" as well as "commands.PICC_AUTHENT1A" for authentication mode.
With my smartphone I'm able to read both tags, with the MIFARE Classic Tool from IKARUS Projects. So the default key (FFFFFFFFFFFF) seem to be correct. I'm also able to write data to both tags with this app.
I already tried a lower and a higher antenna gain without success.
I also tried to use a different reader on another raspberry with the same result.
I will be happy for any help, thanks.
To Reproduce
Steps to reproduce the behavior:

Run program

package main

import (
	"fmt"
	"periph.io/x/periph/conn/gpio"
	"periph.io/x/periph/conn/gpio/gpioreg"
	"periph.io/x/periph/conn/spi"
	"periph.io/x/periph/conn/spi/spireg"
	"periph.io/x/periph/experimental/devices/mfrc522"
	"periph.io/x/periph/experimental/devices/mfrc522/commands"
	"periph.io/x/periph/host"
	"time"
)

// mfrc522 rfid device
var rfid *mfrc522.Dev

// spi port
var port spi.PortCloser

// pins used for rest and irq
const (
	resetPin = "P1_22" // GPIO 25
	irqPin   = "P1_18" // GPIO 24
)

/*
Setup inits and starts hardware.
*/
func setup() {
	var err error

	// guarantees all drivers are loaded.
	if _, err = host.Init(); err != nil {
		fmt.Println(err)
	}

	// get the first available spi port (empty string).
	port, err = spireg.Open("")
	if err != nil {
		fmt.Println(err)
	}

	// get GPIO rest pin from its name
	var gpioResetPin gpio.PinOut = gpioreg.ByName(resetPin)
	if gpioResetPin == nil {
		fmt.Println("Failed to find %v", resetPin)
	}

	// get GPIO irq pin from its name
	var gpioIRQPin gpio.PinIn = gpioreg.ByName(irqPin)
	if gpioIRQPin == nil {
		fmt.Println("Failed to find %v", irqPin)
	}

	rfid, err = mfrc522.NewSPI(port, gpioResetPin, gpioIRQPin, mfrc522.WithSync())
	if err != nil {
		fmt.Println(err)
	}

	// setting the antenna signal strength, signal strength from 0 to 7
	rfid.SetAntennaGain(5)

	fmt.Println("Started rfid reader.")
}

func stringIntoByte16(str string) [16]byte {
	var data [16]byte
	copy(data[:], str) // copy already checks length of str
	return data
}

func main() {
	setup()

	// trying to read UID
	data, err := rfid.ReadUID(5 * time.Second)
	if err != nil {
		fmt.Println(err)
	} else {
		fmt.Println(data)
	}

	// trying to write data
	err = rfid.WriteCard(5*time.Second, byte(commands.PICC_AUTHENT1B), 2, 0, stringIntoByte16("Hallo Welt"), mfrc522.DefaultKey)
	if err != nil {
		fmt.Println(err)
	} else {
		fmt.Println("Write OK")
	}

	// trying to read data
	data, err = rfid.ReadCard(5*time.Second, commands.PICC_AUTHENT1A, 2, 0, mfrc522.DefaultKey)
	if err != nil {
		fmt.Println(err)
	} else {
		fmt.Println(data)
	}

}

Run it.
See error

Started rfid reader.
mfrc522: wrong number of bits 4
mfrc522: wrong number of bits 5
mfrc522: wrong number of bits 4

Expected behavior
Started rfid reader.
[18 100 14 52 76]
Write OK
[72 97 108 108 111 32 87 101 108 116 0 0 0 0 0 0]

Platform (please complete the following information):

OS: Raspbian GNU/Linux 10 (buster)
Board: Raspberry PI 3B+

Additional context
I read out the information of both tags, the only difference I see is the UID.

I changed the power supply and it worked, sorry for opening an issue.

Wow thanks for the detailed report.
Two requests:

I'd recommend to switch to v3, as improvements are only done there now. See https://periph.io/news/2020/a_new_start/
Would you mind submit a PR to add documentation under https://periph.io/device/ for the mfrc522 as it seems to be a popular device and you could add a note on how to diagnose when there's insufficient power? It's a matter of adding a new file under https://github.com/periph/website/tree/master/site/content/device and an image under https://github.com/periph/website/tree/master/site/static/img.

Thanks for the hint, I changed to v3.
I also added documentation as far as my knowledge goes.
Tried to upload a picture as well, but get message "Uploads are disabled. File uploads require push access to this repository."
To be honest, I do not know if it really was the power supply, just read somewhere on the web, that some hardware can be sensitive.  So it was just a guess, I changed it and it worked. So I have no way for diagnose.
But still, I added a hint in the documentation.


the color is grey?

hello, I train your code, but the color is grey.  the following code is wrong?
/utils/util
(np.transpose(image_numpy, (1, 2, 0)) + 1) / 2.0

I have tried to train the code to confirm the color is normal color, is it possible that you run the environment problems?
I've uploaded my runtime environment in the ``requirements.yaml'' file so you can compare it.
By the way the code you listed it is only for visualization and is not involved in training.

Thank you!

I have tried to train the code to confirm the color is normal color, is it possible that you run the environment problems? I've uploaded my runtime environment in the ``requirements.yaml'' file so you can compare it. By the way the code you listed it is only for visualization and is not involved in train

谢谢你！

你好 你完整的复现出来了吗


[Feature Request]: Support CrateDB data sources

What would you like to happen?
We'd like to add this new type of data source, in order to write via the native JDBC driver and take advantage of its customisation from PostgreSQL JDBC driver.
Issue Priority
Priority: 3
Issue Component
Component: Database

Just for reference, there is this quick tutorial https://community.cratedb.com/t/using-apache-hop-with-cratedb/1754 on how to use the standard PostgreSQL driver with Apache Hop to read from and write to CrateDB.

cool! thanks for sharing, @hlcianfagna!

done by #3791


Emit Event for Page Change;

Added an event when changing page.

Can you please merge this change?

Can we get this merged in please?

Also interested in this.

+1
This change looks quite simple, but could have large impact on development process for all of us.

+1

Guys any news on that one? It is something essential with a very simple change

+1 please! This is long overdue...

+1 we need this too!

I made a PR for this feature without conflicts in order to be easier to merge. #1152


Sync unified change-streams tests

sorry, I closed this PR by accident. I intended to close another one.


Hosts file should not be used on Windows 10, will break Internet

Windows nearly chokes on hosts files of 1MB, and it seems this issue is exponential, because blockconvert's 50MB hosts file appears to break Windows perpetually.
If you put the 50MB hosts file in c:/windows/system32/drivers/etc/hosts, the DNS Client service will begin using 25% CPU perpetually. No DNS lookups will work. You can't even open the start menu to search for a program because apparently that relies on network lookups too.

You cannot replace/revert your changes to the hosts file, because it's locked by the haywire DNS Client service
You cannot stop the DNS Client service to free the lock, because Microsoft has a whole class of services that they don't even let you stop anymore even if you are admin. You will get "Access Denied" if you try this.
You cannot go to Services and disable the DNS Client service so it doesn't launch at startup. Microsoft prevents you from disabling this service even if you are an admin.
You cannot reboot in Safe Mode with Command Prompt and revert the hosts file, because Windows shows you the default files in c:/windows/system32/drivers/etc/hosts in safe mode, not the 50MB one. I don't understand this one, I'm sure a more experienced Windows user can explain how to fix this.  (Oh, and did I mention I needed to use a Bitlocker recovery key to enter Safe Mode? As if it wasn't annoying enough.)

A working fix if you opened this can of worms:

open regedit, go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Dnscache, and change the value of the Start key from 2 to 4, then reboot. (Note: now a difference service will begin using 100% CPU, WinHTTP Proxy whatever, ignore it)
Now the DNS Client shouldn't be running. Open a command prompt with admin rights, replace the hosts file (you kept a backup right?). Create an empty file if you have to.
In regedit, change the Start value back to 2, and reboot. You should be back to normal.

Really sorry you had to go through that. I've added a warning next to the download link.
Would booting into a different OS allow you to edit and repair the file without needing to enter safe mode?

Possibly, I don't know.
The SecureBoot security feature makes it non-trivial to boot into a different OS. I failed to boot a Ubuntu from USB. To achieve this I had to disable Bitlocker (Windows' built in full-disk-encryption that is enabled by default these days, and which also integrates SecureBoot).
To disable Bitlocker (which btw I also had to do when I tried rebooting in Windows safe mode to remove the hosts file), you can't just go in UEFI and change asetting. After you do this, you will be asked to enter the decryption key, which is saved on Microsoft's website. So gotta go on a different computer, go to https://aka.ms/recoverykeyfaq, log in with MS account (not sure how people without a Microsoft account can do it), write down a huge decryption key, enter it on the target Windows computer which cannot boot now. Then SecureBoot is disabled, and you can boot another OS.

https://github.com/mkb2091/blockconvert/blob/master/output/hosts.txt

Is opening as empty for me for some reason; is there a reason why?

@mkb2091
I was going to use this via AdAway on Android but I can't because it was emptied as part of a CSS commit?

https://github.com/mkb2091/blockconvert/commit/7f619d481aaaea6e59a5152c0dde649b70c9fbf8


Make friendlier CLI

This PR makes the CLI a bit friendlier, without adding any dependencies, nor any significant complexity. It also opens up the possibility for writing to other formats, via the "format" flag.

If we want a non-trivial CLI, we could place it in its own create (e.g. under examples), then we can have dependencies for it without adding dependencies to the library crate.

an arg parsing crate could be useful for generating the help text for example, it is easy to forget updating or make an error

If we want a non-trivial CLI, we could place it in its own create (e.g. under examples), then we can have dependencies for it without adding dependencies to the library crate.

I would consider this quite trivial, though. It closely mirrors that of the Lua and Javascript implementation, and will be a bit more flexible for using directly on the command line or in scripts.
Such a simple implementation should be easy to maintain. I don't see us changing much of the features, so I don't think we really need an external crate for arg parsing.

an idea: I have accidentally run "cargo run" without any arguments a few times and got confused for a few seconds. Perhaps require using "-" to indicate stdin instead of always waiting for stdin by default? Running the binary without a file argument would then immediately return an error.

Perhaps require using "-" to indicate stdin instead of always waiting for stdin by default? Running the binary without a file argument would then immediately return an error.

I considered this as well, but it is quite common practice to just use the binary directly when piping. If asked how they'd do piping, I think users of jotdown would quite naturally guess cat <file> | jotdown. Feel free to challenge this notion, though!

Perhaps require using "-" to indicate stdin instead of always
waiting for stdin by default? Running the binary without a file
argument would then immediately return an error.

I considered this as well, but it is quite common practice to just use
the binary directly when piping. If asked how they'd do piping, I
think users of jotdown would quite naturally guess cat <file> | jotdown. Feel free to challenge this notion, though!

True, when piping it would be preferable to not have to type '-'. It is
possible to detect piping and not require it then. But then I think we
get into platform specific stuff, e.g. isatty in unistd.h. I don't think
rust std has support for this so that may require a crate or unsafe FFI
code.

All comments resolved now! I also expanded the help text to inform that you can omit file or use a - to read from stdin.
With that, I guess we're ready to merge, or what do you think @hellux?

All comments resolved now! I also expanded the help text to inform that you can omit file or use a - to read from stdin.
With that, I guess we're ready to merge, or what do you think @hellux?

Yes, looks good, thanks for the contribution!
When merging I noticed you used some things from after the targeted Rust version (1.56). Specifically "std::io::read_to_string" and format variables from the scope. But I updated those while merging.
I need to setup CI that builds with the targeted version..


How to train IP-Adapter with ControlNet?

In most cases, IP-Adapter can be trained independently, and works well with ControlNet

Thanks, I did find this to be the case in the experiment, but the conditional embedding of controlnet is added to the text embedding. Will there be some gain if the condition is directly added to the Image prompt?

Hi, are there any good tutorials in how to train your own IP Adapter models? Thanks


Fix bug in Prometheus output

Think this fixes #923 - at least looking over the output it looks correct. Before it looked like:
mqtt_puback_received{node="VerneMQ@<IP_ADDRESS>",mqtt_version="5",,,reason_code="payload_format_invalid"} 0

Which now looks like:
mqtt_puback_received{node="VerneMQ@<IP_ADDRESS>",mqtt_version="5",reason_code="payload_format_invalid"} 0

Seems there's also an issue with the help lines:
 text format parsing error in line 109: second HELP line for metric name "mqtt_auth_received"

Nevermind that - I was running an old version of prometheus which seemed to have issues with HELP lines repeated for each metric with different labels... upgrading fixed that issue.

But it does seem like this is forbidden: Only one HELP line may exist for any given metric name. (https://prometheus.io/docs/instrumenting/exposition_formats/). So I'll have to fix that after all - even if their newer prometheus implementations are more lenient.


Crash on injection?

After injecting Osiris in csgo it immediately crashes

use "Load Library" method to inject, it should work

use "Load Library" method to inject, it should work

it works with manual map too


Trilinos 12.10 has been released

Trilinos 12.10 has been released. This release may fix the problem we had with STK mesh. So we should update the container and try again.

What is the STK mesh problem? Can you reference it?

I don't remember exactly what the problem is but it is related to this https://github.com/trilinos/Trilinos/issues/62

OK, let's update our base image.  What else would we like to update in it?
I see that:

NetCDF had a new maintenance release.
Libmesh is working on a 1.1.0 release.
Moab has a tagged a 4.9.2 release.

Fixed in #139.


Heap Datastructure completed

We need to fix this -> https://github.com/animeshk874/data-structures-in-js/issues/17
Merging for now


Add sensor API calls to get sensor info

This is the new PR I promised. It contains the sensor API calls (at least some of the basic ones). The package references have been renamed to your original ones. When I add / change additional stuff, I can now easily share it.

Sick!

Sick!

Thanks!


Installing SAP HANA, express edition Server + Apps, with Docker

There are at least two issues currently with this docker image:
1/ FAIL: process hdbxsexecagent HDB XS Execution Agent not running as described in the issue https://answers.sap.com/questions/539188/hxe-server-apps-on-docker-not-able-to-start-contai.html
2/ Getting into infinite loop with some master passwords (in my case I tried to use the same as for my other HXE instances on AWS or GCP:
Invalid password: too short, missing uppercase letter, missing lowercase
letter, missing a number.

Password must meet all of the following criteria:
- 8 or more letters
- At least 1 uppercase letter
- At least 1 lowercase letter
- At least 1 number

Special characters are optional; except \ (backslash), ' (single quote),
" (double quotes), ` (backtick), and $ (dollar sign).

Before getting into this loop log says:
Change telemetry technical user (TEL_ADMIN) password on SystemDB database...
===============================================================================
Change telemetry technical user password on "SystemDB" database
===============================================================================

Password must be at least 8 characters in length.  It must contain at least
1 uppercase letter, 1 lowercase letter, and 1 number.  Special characters
are allowed, except \ (backslash), ' (single quote), " (double quotes),
` (backtick), and $ (dollar sign).

Invalid password: it is based on a dictionary word

Invalid password: it is based on a dictionary word

Could you try latest HXE docker image 31?
store/saplabs/hanaexpress:<IP_ADDRESS>.20180712.1
i hit this issue with image 30 befere, but disappeared with image 31.

Issue 1: please try to switch Docker storage driver to devicemapper.
/etc/docker/daemon.json
{
"storage-driver": "devicemapper"
}
https://store.docker.com/images/sap-hana-express-edition-incl-application-services/plans/6e81dee1-5032-4e3a-b227-80175d70eeb5
If your host file system is xfs, you can recommend the storage driver through the devicemapper in Docker. Add -s devicemapper to the DOCKER_OPTS property in the dockerfile.
The minimum recommended storage size is 50G. For example:
DOCKER_OPTS="-s devicemapper --storage-opt dm.basesize=50G"
For Ubuntu and Debian, the DOCKER_OPTS property can be found at /etc/default/docker.
For Fedora, SuSE, and Centos, the DOCKER_OPTS property can be found at /etc/sysconfig/docker.
2 , Could you try latest 31 image?  store/saplabs/hanaexpress:<IP_ADDRESS>.20180712.1

Closing issue due to inactivity.


Table Per Concrete - Inheritance

This document describes how to do a Table Per Concrete: https://docs.microsoft.com/en-gb/ef/ef6/modeling/code-first/fluent/types-and-properties#mapping-the-table-per-concrete-class-tpc-inheritance
But this page is missing the details on how to implement, or the considerations.

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

ID: a10898c5-abee-1843-cfff-b2707f8a079a
Version Independent ID: d9399618-488e-20b1-f707-35a191b95cc1
Content: Inheritance - EF Core
Content Source: entity-framework/core/modeling/inheritance.md
Product: entity-framework
Technology: entity-framework-core
GitHub Login: @AndriySvyryd
Microsoft Alias: avickers

Duplicate of #3764

@skywalkerisnull note that your link above points to the EF6 page - we won't be updating that, only the EF Core docs.


CICD core services and networking automation in GCP

As a DevOps engineer I would like to have automation tools for core services provisioning so I can deploy core Legion platform services (Jenkins, Nexus) at empty cloud account (AWS or GCP).
This may require terraform scripts which will create VPC (if possible), subnets, security groups, S3 buckets, etc.
subtasks:

#492 - Automate Jenkins setup and configuration for CI infrastructure in GCP
#491 - Automate Nexus setup and configuration for CI infrastructure in GCP
#907 - Move core infrastructure to GCP

Moved to the ci-cd repo


PHP Warning:  The use statement with non-compound name 'Flow' has no effect

when i used in hyperf
after composer require mayvenstudios/flow-php-sdk
when i import the class at the beginning of my PHP with use Flow;
i get PHP Warning:  The use statement with non-compound name 'Flow' has no effect

What version of Laravel are you using? If you're not using Laravel, you need to load the library with the full namespace I think.


Smooth shading issues

We've noticed that spheres (and cylinders) aren't rendering correctly in ParaView + OSPRay. Digging into the issue, I noticed that they look alright if "vertex.normal" is not provided.
To factor ParaView out of the equation, I reproduced the issue with some edits to ospTutorial.cpp (see gist link). I put in mesh data for a sphere (sourced from OpenSCAD) including vertex normals. I added a single directional light. (Point lights exhibit the same issue.)
https://gist.github.com/fogleman/62167b02df359a187ca8e91ad65eef60
Below are renders with "vertex.normal" left out and with it provided. Note the pole in the first image and note the bottom in the second image.
Is this a bug?

Hi,
This definitely looks like a bug in OSPRay. We will look into it and get it fixed ASAP.
Thanks,
Jeff

This issue is actually from shadows. The model in question is too low polygon for hard shadows, you are simply seeing some faces being shadowed behind the polygon above them.  You can fix this by turning off shadows or increasing the resolution of the sphere.  We do not currently have a notion of occlusion intersections taking into account displaced surfaces.

Just an additional note: I think the best solution would be to directly use OSPRay's sphere and cylinder geometries instead of triangle meshes. These will then be perfectly round (analog to infinitesimal fine tessellation) and thus that artifacts will be gone. Not sure however how difficult this is to implement in ParaView's OSPRay integration.

good point johannes, and for most cases of creating sphere representations in VTK we support that (points), however this is not possible when VTK is sending polygonal geometry and unfortunately this will also pop up in any low polygon model we run into.


isolate strings.Builder for printer

to fix builds on go 1.7, 1.8, 1.9
https://travis-ci.org/kamilsk/tracer/jobs/575204658

won't do


How to use mapzen?

Hi,
I would like to load mapzen's vector maps with openlayers:
I tried this:
var layer =  new ol.layer.Vector({
             source: new ol.source.Vector({
                 url: 'http://vector.mapzen.com/osm/roads/{z}/{x}/{y}.json?api_key=mykey',
                 format: new ol.format.GeoJSON()
             })
             });

Then:
    var map = new ol.Map({
          layers: [layer],

But it's not working. Please, could you put me in the right way :$ Thanks a lot!!

Do you get an error or nothing is displayed?

FYI, this is is configured the vector tile examples:
https://github.com/openlayers/ol3/blob/master/examples/osm-vector-tiles.js

Hi, I tried your example with a more basic code:
	var format = new ol.format.TopoJSON();
	var tileGrid = ol.tilegrid.createXYZ({maxZoom: 19});
	var roadStyleCache = {};
	var roadColor = {
	  'major_road': '#776',
	  'minor_road': '#ccb',
	  'highway': '#f39'
	};
	var landuseStyleCache = {};
	var buildingStyle = new ol.style.Style({
	  fill: new ol.style.Fill({
		color: '#666',
		opacity: 0.4
	  }),
	  stroke: new ol.style.Stroke({
		color: '#444',
		width: 1
	  })
	});

	var online_layer = new ol.layer.VectorTile({
      source: new ol.source.VectorTile({
        format: format,
        tileGrid: tileGrid,
        url: 'http://vector.mapzen.com/osm/roads/{z}/{x}/{y}.topojson?api_key=my-key'
      }),
      style: new ol.style.Style({
        fill: new ol.style.Fill({
          color: '#9db9e8'
        })
      })
    });

But nothing happen, no errors. Thanks!

@costales anything showing up in the network tab?

@icholy Nothing in firebug Network.

I copy&pasted your code in a JSFiddle and it seems to work:
http://jsfiddle.net/fmu2tnq3/1/

@tsauerwein Yes, it's working. I'm so sorry, maybe I missed something.
Thanks a lot mates!!

Sorry about ask again :$
Any idea how apply a scene in openlayers?
https://github.com/tangrams/tangram

@tsauerwein Q: the jsfiddle you linked works nicely, I also added my own mapzen url and changed it to json, but I am wondering if because it uses ol.source.OSM() , am I now using actual geojson vector data or am I using OSM .png data? http://codepen.io/Penderis/pen/bwNQay

@Penderis Your examples shows only the OSM png tiles.
Here is an improved version: http://codepen.io/anon/pen/vyGLpo
A more complete example: https://github.com/aAXEe/online_chart_ol3/blob/master/src/javascripts/config/layers/basemapVector.js#L88
Online version: http://aaxee.github.io/online_chart_ol3/#/?lat=54.1910&lon=12.0561&zoom=14&layers=B10001010

Closing due to lack of activity.


Remove interaction and accessibility namespaces

Recently in v5, we removed extract and prepare internal namespaces. I would also like to remove interaction and accessibility namespaces as well. These are not useful for organizing the code since they only contain a small number of classes and it simplifies the code and documentation. Internal namespacing is only really useful for utils (which would pollute the root PIXI object with lots of generic functions). It should also make it easier for users importing types in the future.
Documentation
https://pixijs.download/dev-namespace-deprecation/docs/index.html

Codecov Report

Merging #6681 into dev will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               dev     #6681   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           15        15
  Lines          672       671    -1
=========================================
- Hits           672       671    -1

Impacted Files
Coverage Δ

bundles/pixi.js/test/index.js
100.00% <ø> (ø)

Continue to review full report at Codecov.

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


New paper(s) on machine unlearning applications

Learning and Unlearning to Operate Profitable Secure Electric Vehicle Charging
https://ieeexplore.ieee.org/abstract/document/10541863

A Decision-Making Process to Implement the ‘Right to Be Forgotten’ in Machine Learning
https://link.springer.com/chapter/10.1007/978-3-031-61089-9_2

Included in our survey paper.


Updated readme

Added readme, @yoichitgy, @jakubvano please make sure nothing is missing.
Otherwise - I think we are ready for the release.

👍 Looks good to me

Looks good to me too👍


Spring provider default context path

All our spring APIs have a default context path of /api and there doesn't seem to be a way to add these in the pact-jvm-provider-spring.
Traditional integration tests would simply ignore the context path but our consumers are hard coded to use it and therefore write it into our pacts.
Is there a way to make a custom spring context with this, configure the pact provider for it or is it a missing feature?

Doesn't look like there is a way to set the context path at the moment, but it should not be too hard to do.

You can use a request filter to remove the /api from the path.
    @TargetRequestFilter
    public void stripContextPathRequestFilter(HttpRequest request) throws URISyntaxException {
        String rawUri = request.getRequestLine().getUri();
        ((HttpRequestBase) request).setURI(new URI(rawUri.replaceFirst("/api/", "/")));
    }


Support Visual Studio .vssettings 0xABGR format

Extension Version: 2.3.0
VS Code Version: 1.15.1
OS Version: macOS Sierra
Node.js Version (result of command node -v):
NPM Version (result of command npm -v):

Visual Studio .vssettings file uses 0xABGR format. Can this format be supported also?
Steps to Reproduce:

Log (All lines):
(Click menu of VS Code "Help > Toggle Developer Tools", and click "Console" tab)

Hi @uday0408, thank you for the comment.
Yes, of course I will consider supporting that if many requests come.
Also, you can convert the format with supported format.
For example, a case of #RRGGBB and XBGR.

After loading a file, replace 0x00([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2}) with #$3$2$1. (use RegExp)
Before saving a file, replace #([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2}) with 0x00$3$2$1. (use RegExp)

No reply came. I close this issue.

I am following your temporary solution for picking colors. For coloring the
hex code itself, I have written my own extension.
thanks
Uday
On Tue, Sep 12, 2017 at 9:45 PM, anseki<EMAIL_ADDRESS>wrote:

No reply came. I close this issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/anseki/vscode-color/issues/57#issuecomment-329057474,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEvHDVTtBg8jtZu2k5JlDBE9eYO7ba4-ks5sh134gaJpZM4PQmae
.


Yocto Thud support in balena-intel

This is a draft PR because it needs merged and released support in meta-balena: https://github.com/balena-os/meta-balena/pull/1351
Tested on:

RaspberryPi3
fin3
Generic X86

@balena-ci retest


Mark for modified file in the top bar

You show - [ M] filename, but it's weird, why not to show star-char?
Like *filename with star-char.

fixed


Homepage: Mack Truck Builder Form/CTA (MVP-static) Block

MVP = New Block using only one static image as shown in the screenshot. Future enhancements to make more interactive.

As decide in stand up we will use V2 columns blocksfor MVP


Adding support for multiple bitrate streams

Going to re-open this PR since the scope has changed a bit


Update Supported Operating Systems

While the supported operating systems include Gen 2 VM SKUs it should be noted that only one time assessment and update installs are supported. For automated assessments and scheduled install schedules the Virtual Machine update configuration needs to be set to "AutomaticByPlatform" which is only supported on Gen 1 VM SKUs

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

ID: 7a6eada9-2fd6-c8a4-4d7c-c9b6647642c8
Version Independent ID: 9a18fe92-8ab3-90c7-5495-98ae3299a451
Content: Update management center (preview) support matrix
Content Source: articles/update-center/support-matrix.md
Service: automation
Sub-service: update-management
GitHub Login: @SnehaSudhirG
Microsoft Alias: sudhirsneha

@RyanLWilliams
Thanks for your comment. We will review the issue and get back to you shortly

Assigning to content author  @SnehaSudhirG for review.

@RyanLWilliams - Thank you for your patience and as confirmed by the Engg team UMC is supported for the images which are mentioned in - https://learn.microsoft.com/en-us/azure/virtual-machines/automatic-vm-guest-patching#supported-os-images

#please-close


Hope tbox supports more compilation tools

Current situation
I'm not sure if tbox can only be integrated through xmake, but when I installed it using xmake source code and tried to compile a demo using gcc, I got the following error
/bin/ld: /tmp/ccgXEPCN.o: in function `main':
main.c:(.text+0x28): undefined reference to `tb_init_'
/bin/ld: main.c:(.text+0x51): undefined reference to `tb_trace_done'
/bin/ld: main.c:(.text+0x56): undefined reference to `tb_exit'
collect2: error: ld returned 1 exit status

However, the installation documentation was compiled and used with xmake to obtain the correct results
platform

ubuntu24.04
x86-64

Installation command
xmake
xmake install

hope

I hope it can be installed directly on the system, compiled and linked directly for use
If possible, I hope to support Conan

Finally, thank you very much for your efforts and dedication

you need add -ltbox flags to linker. I don't know how do you use it in your project.

@waruqi

-lm

Thank you very much, you can now work normally.


Create an app page for an app installed on a thing

This is yet ANOTHER component that a developer would have to make in order to be compatible with Manifold, although we could probably default to using their card one if this isn't provided. I think this component should be the defaulted to/required component that developers must write, and the snapshot that goes in the cards is an optional component.

@KandareJ  and I created this page and added easy navigation between each view. Now we need to make the form work...

We got the safe and mine form working. We added a signalEvent prop to the manifoldappcomponent, so that any developer can easily signal events that feels somewhat like doing it in KRL. Closing this issue so we can track improvements in separate issues.


I can't see the TRP profiles of people from other servers

Describe the issue
Give us a clear and concise description of what the issue is.
The addond does not pick up other people who use the addon if their from another server unless I'm invited to their group and they can't see mine in return. I don't know if it's supposed to be that you can only see the profiles of those in your server or group but I don't like it. Especially considering I play in a server with a very low population.
Expected behaviour
Give us a clear and concise description of what you expected to happen.
I expect to be able to see the profiles of other people from other servers.
Issue checklist
Please select any applicable options from the below list.

You can replace the "[ ]" with "[x]" for each option below to tick it.

[ x] The issue occurs with the latest version of the addon.
[ ] The issue occurs with Total RP 3 as the only enabled addon.
[ ] The issue occurs only with other addon(s) enabled (please provide a list).

Steps to reproduce
Give us a list of steps to reproduce the issue with.

Go to '...'
Click on '....'
Scroll down to '....'
See error

Additional files
Please attach any additional applicable files such as screenshots, error logs, or profile data files. Files can be dragged and dropped into this report to attach them for upload.

I'm sure you don't like it, but that restriction is on Blizzard, we cannot do anything about it. Your only alternative is adding players as B.net friends to see their profiles without being in a group.


Dynamic Routing with Webpack

Hi,
I have a problem with navigationStrategy. I load only the first time moduleId, then when I change the route the moduleId remains the same even if the route  #has the right name . (No error)
I use aurelia with webpack.
Thanks
PLATFORM.moduleName('./tipologia/CALDAIA/dettagli');
PLATFORM.moduleName('./tipologia/REFRIGERATORE/dettagli');
PLATFORM.moduleName('./tipologia/SCAMBIATORE/dettagli');
PLATFORM.moduleName('./tipologia/COMPONENTE/dettagli');
PLATFORM.moduleName('./tipologia/BRUCIATORE/dettagli',);
PLATFORM.moduleName('./tipologia/UIR/dettagli');
@autoinject()
export class Installati {

    constructor(private router: Router) { }

    configureRouter(config: RouterConfiguration, router: Router) {
        this.router = router;

        const navStrat = (instruction: NavigationInstruction) => {
            instruction.config.moduleId = './tipologia/' + instruction.params.TipologiaInstallato + '/dettagli';
            instruction.config.href = instruction.fragment;
        };

        config.map([
            { route: '', name: 'no-selected', moduleId: PLATFORM.moduleName('assistenza/utilities/no-selected') },
            { route: ':TipologiaInstallato/:IdInstallato/*', name: 'dettagli', navigationStrategy: navStrat },
        ]);
    }

}

It's a bit complicated guessing what you want to achieve. Can you help create a small repro describing what the issue? I've prepared a gist https://gist.dumber.app/?gist=5dfee522d31bab9df9bd7c03bf4567f8

how many modules do you have for this pattern?

I can't replicate the error, but thanks for repro. Webpack is the problem, it doesn't load files correctly.
I want webpack to load 6 modules and not just the first one used so that through the router parameters I can identify which one I have to use to  achieve correct navigation.


What are the requirements and costs for Windows Analytics solutions?

in Device Health under column number 3 "Diagnostic data requirements" should be written "enhanced" and not "windows 10"

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

ID: f20e3377-fdbc-ac87-239e-7184db24a685
Version Independent ID: 0464da82-efa4-b147-bba9-d6802cf9d273
Content: Frequently asked questions and troubleshooting Windows Analytics
Content Source: windows/deployment/update/windows-analytics-FAQ-troubleshooting.md
Service: unspecified
GitHub Login: @jaimeo
Microsoft Alias: jaimeo

This is fixed.


Rename MEME2000 to EME2000

To improve consistency with other existing software, all instances of MEME2000 should be renamed to EME2000.

Done in #54.


I2C/SPI require device type in constructor

In most cases we already have the required Device information at construction, there's no reason to do it later (manual set_device_type() calls). This is another minor simplification to the drivers and a small flash savings.
We're very close to being able to remove CDev from the Device (I2C/SPI) hierarchy entirely.

With the test rack I've confirmed all device ids are consistent with master except for the lsm303d where DRV_MAG_DEVTYPE_LSM303D was migrated to DRV_IMU_DEVTYPE_LSM303D. The accel and mag on the ST LSM303D are the same physical device.


Update about-github-pages.md

Why:

Lately i'm working on an unofficial Chinese translation of GitHub Pages docs due to the incompletion of the original and currently there is no way to contribute translations to the docs. So, I hope that's ok to you guys.
What's being changed:

The thing is, I'm seeing that this document is using both <user> and <username> as subdomain pronouns among the context. It's not a big problem, but in my opinion, this might cause some unnecessary confusion to some users.
If it was intended to be so, I'd like to know why?
Thank you!
Check off the following:

[x] All of the tests are passing.
[x] I have reviewed my changes in staging.
[x] For content changes, I have reviewed the localization checklist
[x] For content changes, I have reviewed the Content style guide for GitHub Docs.

👋 Thanks for opening a PR @jw-12138! This is now triaged for review. Sorry about the delay, I somehow missed this PR 💛

@jw-12138 - Thank you for this pull request. That's a good change. Currently were not merging pull requests, but we'll start doing so again very soon and I'll get this merged. Thanks again for helping to improve GitHub's documentation. 👍
You're right about the non-English versions of pages. Unfortunately, we're not currently able to accept pull requests for translated content. Our translation process involves an integration with an external service at crowdin.com, where all translation activity happens. We hope to eventually open up the translation process to the open-source community, but we're not there yet.

@jw-12138 - Thank you for this pull request. That's a good change. Currently were not merging pull requests, but we'll start doing so again very soon and I'll get this merged. Thanks again for helping to improve GitHub's documentation. 👍
You're right about the non-English versions of pages. Unfortunately, we're not currently able to accept pull requests for translated content. Our translation process involves an integration with an external service at crowdin.com, where all translation activity happens. We hope to eventually open up the translation process to the open-source community, but we're not there yet.

Thanks for replying!
This is in fact the first official PR I did, looks like it's a good start!
I'll keep doing my best as you guys doing out there! 👍
Also, about Crowdin, It might be offensive to say so, a good translation should use both experiences and skills, I don't think every Crowdin user is actually using the product they translate...do they? (🤣 that's a lot on me). But hey, it's a very cool platform! I've registered my account and hoping to get started to do something very soon.
Anyway, Thank you!


How to dynamically choose output topics

Is it possible to dynamically set output topic of StreamingDataFrame pipeline? I need the output topic name to be derived from message content.
Something like this:  sdf.to_topic(lambda value: str(value["target_topic"]))
Native Kafka streams API supports it and its the last thing that keeps me away from using this library. https://developer.confluent.io/confluent-tutorials/dynamic-output-topic/kstreams/
Thank you!

Hi @Tobo7 , thanks for creating the issue!
What you're asking about makes sense.
I'll see what it would take to implement it.
In your case, do you know the expected number of topics upfront?
Or is it completely dynamic?

In our case, approximately 50-100 topics, but the number will increase in the future.
We collect all DML changes from all database schemas and their tables into one topic. We need to split the messages into multiple topics per schema... so it's highly dynamic.
Thank you for your interest!


Bump next

Verifying and Bumping Nextjs https://github.com/reactjs/reactjs.org/pull/4157

Hmm. Somehow this broke http://localhost:3000/reference locally.

Can you dig into what happened here?

next 12.0.5:
props passed to codeBlocks:
 {
  parentName: 'pre',
  className: 'language-js',
  originalType: 'code',
  mdxType: 'code',
  children: 'class MyComponent extends React.Component {\n' +
    "  state = {value: ''};\n" +
    '  handleChange = (e) => {\n' +
    '    this.setState({value: e.target.value});\n' +
    '  };\n' +
    '}\n'
}

CodeBlocks Children
 [ undefined, false, undefined, undefined ]

Once I upgraded to next 12.0.9
props passed to codeBlocks:
 {
  parentName: 'pre',
  className: 'language-js',
  originalType: 'code',
  mdxType: 'code',
  children: 'class MyComponent extends React.Component {\n' +
    "  state = {value: ''};\n" +
    '  handleChange = (e) => {\n' +
    '    this.setState({value: e.target.value});\n' +
    '  };\n' +
    '}\n'
}

CodeBlocks Children
 class MyComponent extends React.Component {
  state = {value: ''};
  handleChange = (e) => {
    this.setState({value: e.target.value});
  };
}

Seems like in the version 12.0.5 the children value (prop) is not the value passed from the parent component. Tried to upgrade to newer next version and it fixed it. 🤔

Ok. Bump it again in another PR?


Apache Thrift dep fix

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Coverage remained the same at 83.94% when pulling 24f039a829b7c64591d91f1085a24989a8a93bcf on diegofernandes:patch-1 into e56cc8236bd0a97ea71ddc12ff2150327d9290c8 on uber:master.

Are there any references to official announcements from Apache? Why https://git-wip-us.apache.org/repos/asf/thrift.git ?  Evidently there's also  http://git.apache.org/thrift.git/


PowerRename not showing up on WinSCP Menu

Environment
Windows build number: Microsoft Windows [Versión 10.0.18363.959]
PowerToys version: 0.19.2 with administration rights
PowerToy module for which you are reporting the bug (if applicable): PowerRename

Steps to reproduce
When I want to change a local file in the application WinSCP and I use the systems commands, PowerRename doesn't show up. I understand that is another applications not related with PowerToys, but the systems commands should show the PowerRename command.
Expected behavior
PowerRename should show up in the context menu when I click on Systems Commands (WinSCP).
Actual behavior
PowerRename doesn't show up in the context menu when I click on Systems Commands (WinSCP).
Screenshots

I took a look.  Looks like this is because the WinSCP is a 32-bit application.  Only 32-bit context menu shell extensions are included in this menu.  PowerToys only builds for 64-bit.


Bikeshed should require security and privacy considerations sections.

As discussed in https://w3ctag.github.io/security-questionnaire/#considerations, it would be lovely if Bikeshed would fail to compile specifications that don't contain a header labeled "Security Considerations" and a header labeled "Privacy Considerations".
WDYT, @tabatkins?
/cc @npdoty @mnot

I'm not down with requiring this for all Bikeshedded documents; Bikeshed is used outside the W3C, and can be used for non-spec things (I'm doing so privately), both of which don't need this.
But I am happy to maintain a list of groups that are W3C, and trigger the check/warning whenever a spec is generated for one of those groups.

Ok. What do you think about the approach in https://github.com/tabatkins/bikeshed/pull/514?

Should we also check for a "Privacy and Security Considerations" section? It seems like some groups are combining them, which seems like a reasonable practice we should support. Or was there a particular reason to prompt for separate sections entitled "Privacy Considerations" and "Security Considerations"?

I don't have strong feelings about it. I'd be happy to support both in one section if that's a common practice.

Done.


Error with language server for standalone files

Lsp doesn't start for standalone files and using the :RustStartStandaloneServerForBuffer command gives the following error.
Spawning language server with cmd: rust-analyzer failed. The language server is either not installed, missing from PATH, or not executable.
However everything works fine for a file in cargo project.
local status_ok, lsp_installer = pcall(require, "nvim-lsp-installer")
if not status_ok then
    return
end

local lspconfig = require("lspconfig")

local servers = { "jsonls", "sumneko_lua", "pyright", "rust_analyzer"}

lsp_installer.setup {
    ensure_installed = servers
}

for _, server in pairs(servers) do
    local opts = {
        on_attach = require("zawed_lsp.handlers").on_attach,
        capabilities = require("zawed_lsp.handlers").capabilities,
    }
    --local has_custom_opts, server_custom_opts = pcall(require, "lsp.settings." .. server)
    if server == "rust_analyzer" then
        require('rust-tools').setup({})
    else
        lspconfig[server].setup(opts)
    end
end

It is pretty much a copy of the configuration from https://github.com/LunarVim/Neovim-from-scratch/blob/master/lua/user/lsp/configs.lua.
Another slightly unrelated issue, how do I prevent rust-tools from overwriting the default behaviour? I only want to use rust-tools for support for standalone files and the inline hints. However like goto definition now also highlights the keywords. I am pretty sure it has something do with the if server == "rust_analyzer" part as it is not using the opts anymore, where all my mappings and all lie. But I cannt really figure out a way to use them together.

Error with the rust-analyzer installation caused this issue


grow trgs vector based on size of def

Should fix aircraft.hvm2? cc @FranchuFranchu (I don't know where that file is)

Should fix aircraft.hvm2

Yes, just tested it and it works out of the box.


Increase productivity and encourage work from other organization members.

[ ] Contact @LtWilhelm to explain our current state of progress and starting their collaboration with @obscuredcode and @SireNuke.
[ ] Inviting other developers to assist. (Who else is there?)

See later issue with similar title. (How to delete this?)
Duplicate of #5.


fix bad reverse-proxying behaviour

Motivation:
teapot contained a bug where the AsyncClient was closed after generating the StreamingResponse object but before the content had been sent to teapot's client.  Closing the AsyncClient also closes the connection pool, which closes all the connections, including the connection behind the (ongoing) request to StoRM WebDAV.  This means that any attempt to read data (from the network connection) after the AsyncClient has closed will fail.
However, some requests are observed to succeed.  To explain this, we need to dig into some details on how this is working.
First, StoRM has some "quirky" behaviour.  Here is a non-exhaustive list, covering the most important aspects:

For GET requests targeting files 256 KiB (or less), StoRM WebDAV sends an HTTP response with a Content-Length header.  There is no chunked encoding takes place.

For GET requests targeting files larger than 256 KiB, StoRM WebDAV send an HTTP response using chunked encoding.

For PUT requests, StoRM WebDAV always responds using chunked encoding.  The response is zero-length, though, so the response contains only the terminating final/empty chunk.

For GET requests where StoRM WebDAV returning an error (e.g., status code 404, 500) the response also uses chunked encoding.

For DELETE requests, StoRM WebDAV responses using chunked encoding.

In summary, unless downloading a relatively small file, StoRM WebDAV will use chunked encoding when sending the HTTP response entity.
teapot uses the httpx/httpcore/h11 framework to build and send the requests to StoRM WebDAV, and to parse the corresponding responses.
When teapot makes the request to StoRM WebDAV (await client.send), the httpx/httpcore/h11 framework will wait to receive the headers of the response before returning.  When fetching data from the network, the framework accepts all the data in a single SSL/TLS "application data" frame, which accept a maximum of 16 KiB of data.  HTTP response headers are generally smaller than 16 KiB, so fit in a single SSL/TLS frame. Moreover, it's both possible and desirable for HTTP servers to include some or all of the HTTP response entity (e.g., the file's content in a GET request) in this HTTP-header-bearing SSL/TLS frame.
If the first SSL/TLS frame contains some of the HTTP response entity then h11 will cache that data and use it when providing the entity of the HTTP response.
For StoRM WebDAV responses that are not chunk encoded (i.e., GET requests <=256 KiB) the server will include as much of the HTTP response entity as will fit in the initial SSL/TLS frame.  If the file is small enough, this could be the entire file's content.  Empirically, a 15 KiB file will fit in a single SSL/TLS frame but fetching a 16 KiB file will result in two SSL/TLS frames being sent.
For StoRM WebDAV responses that are chunked encoded, each chunk appear in its own SSL/TLS frame.  The first SSL/TLS frame of any chunked response will contain only the HTTP response headers.  As a concrete example, the response to all PUT requests will always be split into two TLS frames.  The second SSL/TLS frame will contain only the empty/final chunk.
The result is that the StoRM WebDAV's response to to GET requests targeting files < 16 KiB will seem to work because the contents has been cached when reading the HTTP response headers.  All other responses (those that use chunked encoding) will fail, even though many responses contain only headers (having zero-length entities).
Modification:
Have a single AsyncClient that is used for all requests.  This will also support connection pooling/reuse.
The shutdown code is updated to close the client on shutdown.
Result:
Many failing transfers will now succeed.


[jenkins_builds] Changing Builds to run on Jenkins instead of CircleCI

Integrated .git-revision file which contains info on the SHA when the build
was run.

Please hold off on this for the moment - I want it to reflect as correct through Jenkins, rather than CircleCI, so I'm experimenting...

Can one of the admins verify this patch?