Always On listener connection fails

PHP Driver version or file name
[ExtensionVer] => 5.6.1+11919
SQL Server version
SQL Server 2016 Build 13.0.5081.1
Client operating system
Windows 7 Enterprise
PHP version
7.1.30
Microsoft ODBC Driver version
[DriverDllName] => msodbcsql17.dll
[DriverODBCVer] => 03.80
[DriverVer] => 17.04.0001
Table schema
dbo
Problem description
When using Always On, connecting to the listener of an Availability Group we observe the following error message:
Array ( [0] => Array ( [0] => IMSSP [SQLSTATE] => IMSSP [1] => -46 [code] => -46 [2] => An error occurred translating the query string to UTF-16: No mapping for the Unicode character exists in the target multi-byte code page. . [message] => An error occurred translating the query string to UTF-16: No mapping for the Unicode character exists in the target multi-byte code page. . ) ) 1
The webpage throwing the error has no access control (open to everyone) and is hosted on Windows Server 2016 IIS in the UK. The error is returned only for a single user in India but works for everyone else (Europe, US, India). So far we have tested only on Google Chrome as the webpage does not work on Win7's version of Internet Explorer.
We are limited to the sqlsrv driver and can not use PDO for internal reasons.
Expected behavior and actual behavior
Expected behavior:
Connections - using PHP - work for every user visiting the webpage.
Actual Behavior:
Connecting to both servers in the AG directly works fine for all users.
When connecting via the AG listener however, for a single user the error message above is returned.
Repro code or steps to reproduce
$server = "aglistener.company.com";
$database = array
(
        "Database" => "dbs_MyDatabase",
        "UID"=> "svc_account",
	"PWD"=> "supersecretpasswort",
	"TransparentNetworkIPResolution" => "enabled",
	"MultiSubnetFailover" => "yes",
	"CharacterSet" => "UTF-8"
);
$conn = sqlsrv_connect($server, $database);
if ($conn === false) die("<pre>".print_r(sqlsrv_errors(), true));

@irreleph4nt the message indicated that something went wrong when translating the query string to UTF-16, not the connection string. Please make sure that certain user in India did not use any invalid Unicode characters in the query string.
If you like you may want to provide ODBC trace for us to investigate further.

@yitam thanks for getting back. I was out of the office so I am sorry for the delay in response time.
Please note that this is for SQL code executed by PHP directly on a webserver. The user has no control over the SQL code and the same code is executed for every user that accesses the page.
Furthermore, it is the connection to the database that is throwing the error. I have tested this by adding statements right after the connection code that never get executed for that one particular user. The connection code is also right at the top of my .php file, so it's the first thing to run.
I'll provide an ODBC trace if I can. Is this something a user with no administrative privileges can obtain?

Hi, if this happens only to one user, does this user connect with any specific login credentials different from the other users? Can this user connect to the same SQL Server using SQL Server Management Studio or sqlcmd?
What's the typical connection string for those that work? What's the php script or SQL code that gets executed?
Please provide ODBC trace if possible, this shows you how to do it.

I am closing this as a code rewrite has "solved" the problem for me.
I still don't know however why the sqlsrv connection would fail for no obvious reason for a single person. Keep in mind again that the code in question here is located in a .php file and executed by IIS with an integrated user account. Hence the code should behave the same for any person looking at the website, as who that person is has no effect on the code at all.

Thanks for your feedback, @irreleph4nt. Without more details or ODBC trace it's difficult for us to investigate the issue, unless you want to share how rewriting your code (assuming you meant php scripts) has solved your problem. Anyway, please feel free to get back to us if necessary.


Pass uploadcare secret key

The uploadcare secret key is not being passed correctly, leading to a whole breaking of the website if logged in. 😅
This needs to be fixed in deploys on Heroku - development builds work

It specifically refers to the use in generateSignature.

Not fixed after all 🐛
This is an odd bug - will keep trying to fix this...

just leaving this here and closing the issue...


Levenberg Marquardt implementation

Addresses #44

Regarding https://github.com/silx-kit/silx/pull/72/commits/4e307899ea5c8f4e74b3165f4d6db067f0a20dea#diff-3ce44ff7792abd000958391cf1b58b70L2, the Sphinx dochttp://www.sphinx-doc.org/en/stable/domains.html#directive-py:currentmodule says::

in situations where documentation for things in a module is spread over multiple files or sections – one location has the py:module directive, the others only py:currentmodule.

My .. pymodule::directive was wrong, I meant .. py:module::.

if I understand correctly the line 26 :
"_logger = logging.getLogger(name)"
this is ok if we use this file as a module. But if we use it as a "single file" / demo we will get a warning.

Thanks to Thomas it s look like a call to "logging.basicConfig()" before _logger = logging.getLogger(name) is needed when we call it as a "single file"


Tsify without wasm_bindgen

Hello, I was just wondering if it's possible to decouple this from wasm_bindgen.
I understand that the original purpose of the library was to focus on wasm_bindgen but I was wondering if this could become a more generalised library for creating cross-language type definitions, similar to https://github.com/1Password/typeshare

Judging from the readme, the intent seems to be that this library is used with wasm bindgen
https://github.com/madonoharu/tsify#crate-features

If you put a "web" feature in your crate, you can do
#[cfg(feature = "web")]
use tsify::Tsify;
#[cfg(feature = "web")]
use wasm_bindgen::prelude::*

#[derive(Debug, Clone, Serialize, Deserialize)]
#[cfg_attr(feature = "web", derive(Tsify))]
pub struct MyStruct {
   ...
}

then compile with wasm-bindgen and copy out the types. Not exactly what you want, but you can maintain a non-wasm version of your crate.


fix: trigger events on metadataReplace call

Adds a triggerEvent to allow piping on generic:document:afterWrite as it was possible before KZLPRD-323

do not merge please, 2-dev was not aligned when I branched


[hotfix] user migrate script issue fix

Coverage remained the same at 51.488% when pulling 38b368d7836cfb7cae8929121e2322a64ee3a258 on yuye/bg-fix into 8160d740f617572730422a14150b9a7cc2f2f74a on pai-0.14.y.


Added missing trailing slash on robot and ros sections

I am building this in AWS to test it with their Linux setup.

Looks good on AWS.


Bug/demo

Addressed key concerns and bugs after demoing Olli to other members of the Visualization Group. One of the big changes are all adapters now only require the specification object and the adapters can then obtain the rest of the information needed to create the OlliVisSpec, but are now asynchronous functions. The configuration object is now optional where developers only need to call olli(...) with the returned OlliVisSpec from the adapter.
The documentation site was also updated to reflect the code changes. All the examples were updated, the tutorial is written with less technical language, and the quickstart is now easier to plug-and-play with Olli (along with live codepen examples). Along with other small fixes typos and grammar.

http://localhost:4000/olli/gallery/barChart.html
bug: 1 values should be 1 value
maybe bug?: is there something missing after bottom axis?

https://codepen.io/matt-blanco/pen/abYQOEM
codepen (linked from quickstart) does not appear to render olli output (firefox on mac)

http://localhost:4000/olli/gallery/lineChart.html
bug: Range ,0, 0 values in interval
also: can root level description access axis titles?

http://localhost:4000/olli/gallery/lineChart.html
ObervableAdapter

http://localhost:4000/olli/gallery/scatterplot.html
observable scatterplot has no olli output

http://localhost:4000/olli/gallery/multiSeriesLine.html
bug in multi-series line vega example: all values grouped under AMZN symbol

http://localhost:4000/olli/gallery/facet.html
observable adapter facet, NaNs in first and last ranges

re: example page code, i think you asked me about this and i was maybe unclear, but i still think we should strive for these to be complete, copy/pastable examples (so, put the full spec in instead of { ... }). for readability, we can try having the specs in a separate code block.

just a thought, should we link to an example working observable workbook somewhere?


Add warning message when no connections

Hi there,
can we add a message somewhere like "No connections, synchonize computer time and open port 32749" if connecions = 0? I guess it will help newbies more than a tiny symbol showing "no connections" that you have to find with your mouse.
Kind Regards, Quez

I think something is shown in red text on overview screen when the wallet is offline. But #114.

wondering what should be done about this. from what i see is the connection icon show a x on it which has tool tip saying 0 active connection to gridcoin network . Error messages show Offline; is that enough?

Closing. I think we are good enough here.


Azure Shapes

Thank you for making them available as SVG shapes. It makes it easier to convert them to Visio shapes. Other MS products have produced "Visio shapes", but they are just bitmaps. They should have had their "shapes" reviewed by the Visio team. Visio shapes are more than just clipart they have smarts and can retain data. I hope some one takes the next step and creates Visio shapes with the extras.

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

ID: 6624d44c-f9f6-02f8-2c67-0f0637fed62e
Version Independent ID: 9346a8ff-bab5-be2c-9dc1-d546fda1efa9
Content: Azure Icons - Azure Architecture Center
Content Source: docs/icons/index.md
Service: architecture-center
GitHub Login: @adamboeglin
Microsoft Alias: pnp

Thanks for reporting - this issue is under review.  This is a Microsoft Internal DevOps Bug ID AB#271372

@JohnVisioMVP Thanks for the feedback. I have assigned the issue to the content author to evaluate this further.

Visio shapes are in the roadmap.  We are working with the Visio team.  No timeline to mention here though.  A new zip file with additional Icons have been published through https://github.com/MicrosoftDocs/architecture-center-pr/pull/1999/

The link is broken - 404
John…
From: absheik<EMAIL_ADDRESS>Sent: Friday, November 6, 2020 12:18 PM
To: MicrosoftDocs/architecture-center<EMAIL_ADDRESS>Cc: JohnVisioMVP<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/architecture-center] Azure Shapes (#2250)
Visio shapes are in the roadmap. We are working with the Visio team. No timeline to mention here though. A new zip file with additional Icons have been published through MicrosoftDocs/architecture-center-pr#1999https://github.com/MicrosoftDocs/architecture-center-pr/pull/1999
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/architecture-center/issues/2250#issuecomment-723198390, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABPHK6S2XP2QPFW3OE5Z3T3SOQVTLANCNFSM4PD7453Q.


ValueError: URL must include a 'scheme', 'host', and 'port' component (ie 'https://localhost:9200')

Thank you very much for your outstanding contribution! Running 'train Py 'file: valueerror: URL must include a'scheme','host', and'port' component (ie ' https://localhost:9200 ')。 How to solve it? Thank you again.

We did not use the elastic search module. Just ignore it.

我是将elasticUtil.py文件里的self.es = Elasticsearch('<IP_ADDRESS>:9200')改为self.es = Elasticsearch('https://<IP_ADDRESS>:9200')，这一部分就不报错了。但是model中的118行”loss = model.train(sess, [user, tgt, hist, mask, label, LEARNING_RATE])“，报错tensorflow.python.framework.errors_impl.InvalidArgumentError: Incompatible shapes: [256] vs. [252]
[[{{node gradients/logistic_loss_3/mul_grad/BroadcastGradientArgs}}]]


Support for AR Foundation in Mediapipe.

Plugin Version or Commit ID
v0.10.3
Unity Version
2021.3.0f1
Your Host OS
Windows 10
Target Platform
Android, iOS
Description
Hello Homuler, I am new to mediapipe and I want to use mediapipe's handtracking scene with AR camera. I did go through the basics & getting started steps, I do understand that I have to supply camera input to the input_stream. For this I was checking the handtracking scripts did manage few lines which seemed related but they all seemed very confusing as i could find similar code in other scripts too like solution, handtrackinggraph,.
Code to Reproduce the issue
eg
public void AddTextureFrameToInputStream(TextureFrame textureFrame)
    {
      AddTextureFrameToInputStream(_InputStreamName, textureFrame);
    }

This piece of code gives me NativeArray<byte> then which script shall i did to pass this imageframe?
// From NativeArray<byte>: XRCpuImage
using UnityEngine.XR.ARFoundation;
using UnityEngine.XR.ARSubsystems;

// ARCameraManager arCameraManager
pixelData = new NativeArray<byte>(width * height * 4, Allocator.Persistent,
                                  NativeArrayOptions.UninitializedMemoery);

if (arCameraManager.TryAcquireLatestCpuImage(out var image))
{
  var conversionParams = new XRCpuImage.ConversionParams(image, TextureFormat.RGBA32);
  var ptr = (IntPtr)NativeArrayUnsafeUtility.GetUnsafePtr(pixelData);
  image.Convert(conversionParams, ptr, pixelData.Length);
  image.Dispose();

  // NOTE:
  //   As long as you can guarantee that `pixelData` won't be overwritten while being referenced,
  //   you can reuse it.
  //   In that case, you don't need to implement `Deleter`.
  imageFrame = new ImageFrame(format, width, height, 4 * width, pixelData);
}

Additional Context
I am currently in the process of learning and researching, and I would greatly appreciate your assistance in connecting AR with Mediapipe. By doing so, I can better understand the feasibility of this solution. While I have reviewed other comments (#803) you've provided on this topic, I would kindly request a detailed explanation to ensure my understanding is accurate.

This piece of code gives me NativeArray<byte> then which script shall i did to pass this imageframe?

I'm sorry, I'm not sure what you're asking (I don't know how TextureFrame is related here).
Please see https://github.com/homuler/MediaPipeUnityPlugin/issues/343#issuecomment-1096698719.
Though this code does not work with the latest plugin, it is an almost standalone script (so you don't need to read HandTrackingGraph to know how it works).
See also https://github.com/homuler/MediaPipeUnityPlugin/issues/803#issuecomment-1351141965 to know how to modify the script.

This piece of code gives me NativeArray<byte> then which script shall i did to pass this imageframe?

I'm sorry, I'm not sure what you're asking (I don't know how TextureFrame is related here).
Please see #343 (comment). Though this code does not work with the latest plugin, it is an almost standalone script (so you don't need to read HandTrackingGraph to know how it works). See also #803 (comment) to know how to modify the script.

TextureFrame  this was just an example of me trying to understand how the whole sample works bcs i was trying to find away to get the ARcamera as input. Nonetheless #343 I couldn't get the solution at #803  IntPtr ARCameraManagerTest.OutputCallback(IntPtr, int, IntPtr)' has the wrong return type  however I did manage to modify this piece of code but it doesnt detect faces.
//
// Use of this source code is governed by an MIT-style
// license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT.

using Mediapipe;
using Mediapipe.Unity;

using System;
using System.Collections;

using Unity.Collections;
using Unity.Collections.LowLevel.Unsafe;
using UnityEngine;
using UnityEngine.XR.ARFoundation;
using UnityEngine.XR.ARSubsystems;

using Stopwatch = System.Diagnostics.Stopwatch;

public class ARCameraManagerTest : MonoBehaviour
{
  [SerializeField] private ARCameraManager _cameraManager;
  [SerializeField] private TextAsset _configText; // attach `face_detection_gpu.txt`

  private CalculatorGraph _calculatorGraph;
  private NativeArray<byte> _buffer;
  private Stopwatch _stopwatch;
  private ResourceManager _resourceManager;
  private GpuResources _gpuResources;

 private OutputStream<FrameAnnotationPacket, FrameAnnotation> _faceDetectionsStream;
  private IEnumerator Start()
  {
	_cameraManager.frameReceived += OnCameraFrameReceived;
	_stopwatch = new Stopwatch();

	_resourceManager = new StreamingAssetsResourceManager();
	yield return _resourceManager.PrepareAssetAsync("face_detection_short_range.bytes");
	yield return _resourceManager.PrepareAssetAsync("face_detection_full_range_sparse.bytes");

	_gpuResources = GpuResources.Create().Value();
	_calculatorGraph = new CalculatorGraph(_configText.text);
	_calculatorGraph.SetGpuResources(_gpuResources).AssertOk();

	_faceDetectionsStream = new OutputStream<FrameAnnotationPacket, FrameAnnotation>(_calculatorGraph, "lifted_objects");
	_faceDetectionsStream.AddListener(OutputCallback);

	// _calculatorGraph.ObserveOutputStream("face_detections", 0, OutputCallback, true).AssertOk();

	var sidePacket = new SidePacket();
	sidePacket.Emplace("input_rotation", new IntPacket(0));
	sidePacket.Emplace("input_horizontally_flipped", new BoolPacket(false));
	sidePacket.Emplace("input_vertically_flipped", new BoolPacket(true));
	sidePacket.Emplace("model_type", new IntPacket(0));

	_calculatorGraph.StartRun(sidePacket).AssertOk();
	_stopwatch.Start();
  }

  private void OnDestroy()
  {
	_cameraManager.frameReceived -= OnCameraFrameReceived;

	var status = _calculatorGraph.CloseAllPacketSources();
	if (!status.Ok())
	{
	  Debug.Log($"Failed to close packet sources: {status}");
	}

	status = _calculatorGraph.WaitUntilDone();
	if (!status.Ok())
	{
	  Debug.Log(status);
	}

	_calculatorGraph.Dispose();
	_gpuResources.Dispose();
	_buffer.Dispose();
  }

  private unsafe void OnCameraFrameReceived(ARCameraFrameEventArgs eventArgs)
  {
	if (_cameraManager.TryAcquireLatestCpuImage(out var image))
	{
	  InitBuffer(image);

	  var conversionParams = new XRCpuImage.ConversionParams(image, TextureFormat.RGBA32);
	  var ptr = (IntPtr)NativeArrayUnsafeUtility.GetUnsafePtr(_buffer);
	  image.Convert(conversionParams, ptr, _buffer.Length);
	  image.Dispose();

	  var imageFrame = new ImageFrame(ImageFormat.Types.Format.Srgba, image.width, image.height, 4 * image.width, _buffer);
	  var currentTimestamp = _stopwatch.ElapsedTicks / (TimeSpan.TicksPerMillisecond / 1000);
	  var imageFramePacket = new ImageFramePacket(imageFrame, new Timestamp(currentTimestamp));

	  _calculatorGraph.AddPacketToInputStream("input_video", imageFramePacket).AssertOk();
	}
  }

  private void InitBuffer(XRCpuImage image)
  {
	var length = image.width * image.height * 4;
	if (_buffer == null || _buffer.Length != length)
	{
	  _buffer = new NativeArray<byte>(length, Allocator.Persistent, NativeArrayOptions.UninitializedMemory);
	}
  }

  [AOT.MonoPInvokeCallback(typeof(CalculatorGraph.NativePacketCallback))]
  private void OutputCallback(object stream, OutputEventArgs<FrameAnnotation> eventArgs)
  {
	Debug.Log(eventArgs.value);
  }
}

but it doesnt detect faces.

Please read the log.

_faceDetectionsStream = new OutputStream<FrameAnnotationPacket, FrameAnnotation>(_calculatorGraph, "lifted_objects");

FaceDetectionGraph doesn't have a stream called lifted_objects, so this line should fail.
https://github.com/homuler/MediaPipeUnityPlugin/blob/7679fad3d7ab2f78b659eca9ed7ff2afc251cdb0/Assets/MediaPipeUnity/Samples/Scenes/Face Detection/FaceDetectionGraph.cs#L40
P.S. the following line is redundant.

[AOT.MonoPInvokeCallback(typeof(CalculatorGraph.NativePacketCallback))]

I did realize it later and did the following changes
private const string _FaceDetectionsStreamName = "face_detections";
private OutputStream<DetectionVectorPacket, List<Detection>> _faceDetectionsStream;

_faceDetectionsStream = new OutputStream<DetectionVectorPacket, List<Detection>>(_calculatorGraph, _FaceDetectionsStreamName);

// _faceDetectionsStream.AddListener(OutputCallback);

and the logs don't help either
2023/02/26 12:14:55.564 13610 13777 Error native E0000 00:00:1677393895.564322   13777 vio_initializer.cc:811] INTERNAL: [SSBA Initialization] Failed to initialize the network.;
2023/02/26 12:14:55.564 13610 13777 Error native  Initializer's SSBA failed to produce a valid output.
2023/02/26 12:14:55.564 13610 13777 Error native === Source Location Trace: ===
2023/02/26 12:14:55.564 13610 13777 Error native third_party/redwood/perception/odometry/visual_inertial_initialization/bundle_adjustment_initializer.cc:159
2023/02/26 12:14:55.564 13610 13776 Error native E0000 00:00:1677393895.564600   13776 motion_tracking_context.cc:1879] NOT_FOUND: Failed to find an image with the requested timestamp.
2023/02/26 12:14:55.564 13610 13776 Error native === Source Location Trace: ===
2023/02/26 12:14:55.564 13610 13776 Error native third_party/redwood/perception/feature_processing/image_buffer.cc:41
2023/02/26 12:14:55.564 13610 13776 Error native third_party/arcore/ar/perception/feature_track_ml_depth_provider.cc:168
2023/02/26 12:14:55.717 13610 13777 Error native E0000 00:00:1677393895.717680   13777 bundle_adjustment_initializer.cc:769] SSBA does not get enough landmarks. Found 14 < 16
2023/02/26 12:14:55.717 13610 13777 Error native E0000 00:00:1677393895.717944   13777 vio_initializer.cc:811] INTERNAL: [SSBA Initialization] Failed to initialize the network.; ```

and the logs don't help either

This is the ARFoundation error log, right?

yes, but not sure if
2023/02/26 12:14:55.717 13610 13777 Error native E0000 00:00:1677393895.717680   13777 bundle_adjustment_initializer.cc:769] SSBA does not get enough landmarks. Found 14 < 16 this is mediapipe or AR Foundation

and the logs don't help either

This is the ARFoundation error log, right?

please review my ARhandtracking script
using Mediapipe;
using Mediapipe.Unity;
using System.Linq;
using System;
using System.Collections;
using System.Collections.Generic;
using Unity.Collections;
using Unity.Collections.LowLevel.Unsafe;
using UnityEngine;
using UnityEngine.XR.ARFoundation;
using UnityEngine.XR.ARSubsystems;

using Google.Protobuf;
using Stopwatch = System.Diagnostics.Stopwatch;

public class ARHandtracking : MonoBehaviour
{
  [SerializeField] private ARCameraManager _cameraManager;
  [SerializeField] private TextAsset _configText; // attach `hand_tracking_gpu.txt`

  private CalculatorGraph _calculatorGraph;

  private NativeArray<byte> _buffer;
  private Stopwatch _stopwatch;
  private ResourceManager _resourceManager;
  private GpuResources _gpuResources;

  private const string _HandLandmarksStreamName = "hand_landmarks";

  private OutputStream<NormalizedLandmarkListVectorPacket, List<NormalizedLandmarkList>> _handLandmarksStream;

  private IEnumerator Start()
  {
	_cameraManager.frameReceived += OnCameraFrameReceived;
	_stopwatch = new Stopwatch();

	_resourceManager = new StreamingAssetsResourceManager();
	yield return _resourceManager.PrepareAssetAsync("hand_landmark_lite.bytes");
	yield return _resourceManager.PrepareAssetAsync("hand_landmark_full.bytes");

	_gpuResources = GpuResources.Create().Value();
	_calculatorGraph = new CalculatorGraph(_configText.text);
	_calculatorGraph.SetGpuResources(_gpuResources).AssertOk();

	_handLandmarksStream = new OutputStream<NormalizedLandmarkListVectorPacket, List<NormalizedLandmarkList>>(_calculatorGraph, _HandLandmarksStreamName);

	// _handLandmarksStream.AddListener(OutputCallback);

	var sidePacket = new SidePacket();
	sidePacket.Emplace("input_rotation", new IntPacket(0));
	sidePacket.Emplace("input_horizontally_flipped", new BoolPacket(false));
	sidePacket.Emplace("input_vertically_flipped", new BoolPacket(true));
	sidePacket.Emplace("num_hands", new IntPacket(2));
	sidePacket.Emplace("model_type", new IntPacket(0));

	_calculatorGraph.StartRun(sidePacket).AssertOk();
	_stopwatch.Start();
  }

  private void OnDestroy()
  {

	_cameraManager.frameReceived -= OnCameraFrameReceived;

	var status = _calculatorGraph.CloseAllPacketSources();
	if (!status.Ok())
	{
	  Debug.LogErrorFormat("Failed to close packet sources: {0}", status);
	}

	status = _calculatorGraph.WaitUntilDone();
	if (!status.Ok())
	{
	  Debug.LogErrorFormat("Failed to wait until done: {0}", status);
	}

	_calculatorGraph.Dispose();
	_gpuResources.Dispose();
	_buffer.Dispose();
  }

  private unsafe void OnCameraFrameReceived(ARCameraFrameEventArgs eventArgs)
  {
	if (_cameraManager.TryAcquireLatestCpuImage(out var image))
	{
	  InitBuffer(image);

	  var conversionParams = new XRCpuImage.ConversionParams(image, TextureFormat.RGBA32);
	  var ptr = (IntPtr)NativeArrayUnsafeUtility.GetUnsafePtr(_buffer);
	  image.Convert(conversionParams, ptr, _buffer.Length);
	  image.Dispose();

	  var imageFrame = new ImageFrame(ImageFormat.Types.Format.Srgba, image.width, image.height, 4 * image.width, _buffer);
	  var currentTimestamp = _stopwatch.ElapsedTicks / (TimeSpan.TicksPerMillisecond / 1000);
	  var imageFramePacket = new ImageFramePacket(imageFrame, new Timestamp(currentTimestamp));

	  _calculatorGraph.AddPacketToInputStream("input_video", imageFramePacket).AssertOk();
	}
  }

  private void InitBuffer(XRCpuImage image)
  {
	var length = image.width * image.height * 4;
	if (_buffer == null || _buffer.Length != length)
	{
	 	_buffer = new NativeArray<byte>(length, Allocator.Persistent, NativeArrayOptions.UninitializedMemory);
	}
  }

  private void OutputCallback(NormalizedLandmarkListVectorPacket packet)
  {
	Debug.Log("Received hand landmarks.");
  }
}

logs
2023/02/26 13:51:30.512 27133 27352 Error Unity StreamingAssetsResourceManager: /storage/emulated/0/Android/data/com.SAE.AR_Handtracking/files/palm_detection_full.bytes is not found
2023/02/26 13:51:30.512 27133 27352 Error Unity Mediapipe.Unity.StreamingAssetsResourceManager:GetResourceContents(String, IntPtr)
2023/02/26 13:51:30.512 27133 27352 Error Unity
2023/02/26 13:51:30.565 27133 27272 Info native I0000 00:00:1677399690.565818   27272 logger.h:28] DataSourceMetrics: kFirstGlCallback: 330.73545ms
2023/02/26 13:51:30.621 27133 27357 Info native I0000 00:00:1677399690.621720   27357 timebase_helpers.cc:169] Timebase offset intialized to 0
2023/02/26 13:51:30.621 27133 27357 Info native I0000 00:00:1677399690.621815   27357 logger.h:28] DataSourceMetrics: kFirstImageCallback: 386.732226ms
2023/02/26 13:51:30.646 27133 27251 Warn native W0000 00:00:1677399690.645971   27251 feature_matcher_and_filter_utils.cc:260] INVALID_ARGUMENT: integration window start at 0
2023/02/26 13:51:30.646 27133 27251 Warn native === Source Location Trace: ===
2023/02/26 13:51:30.646 27133 27251 Warn native third_party/redwood/perception/imu_processing/imu_integrator/imu_integrator_utils.cc:96
2023/02/26 13:51:30.646 27133 27251 Warn native  Use identity R.
2023/02/26 13:51:30.648 27133 27248 Info native I0000 00:00:1677399690.648051   27248 model_inference_cpu.cc:106] Successfully started the ArDepthCalculator graph.
2023/02/26 13:51:30.649 27133 27357 Error native E0000 00:00:1677399690.649406   27357 feature_frame_selector.cc:52] Unknown old image at:<PHONE_NUMBER>193243 ns
2023/02/26 13:51:30.650 27133 27357 Warn native W0000 00:00:1677399690.649960   27357 session.cc:1212] INVALID_ARGUMENT: Sensor timestamps must be strictly monotonically increasing.; Failed to add timestamp info to external data synchronizer.
2023/02/26 13:51:30.650 27133 27357 Warn native === Source Location Trace: ===
2023/02/26 13:51:30.650 27133 27357 Warn native third_party/arcore/ar/video/external_data_sync.cc:32
2023/02/26 13:51:30.652 27133 27357 Error native E0000 00:00:1677399690.650674   27357 feature_frame_selector.cc:52] Unknown old image at:<PHONE_NUMBER>193243 ns
2023/02/26 13:51:30.655 27133 27358 Info native I0000 00:00:1677399690.654632   27358 jni_util.cc:41] GetEnv: not attached
2023/02/26 13:51:30.689 27133 27358 Info tflite Replacing 118 node(s) with delegate (TfLiteXNNPackDelegate) node, yielding 1 partitions.
2023/02/26 13:51:30.757 27133 27152 Error Unity MediaPipeException: FAILED_PRECONDITION: Graph has errors:
2023/02/26 13:51:30.757 27133 27152 Error Unity Calculator::Open() for node "handlandmarktrackinggpu__palmdetectiongpu__palmdetectionmodelloader__LocalFileContentsCalculator" failed: Failed to read /storage/emulated/0/Android/data/com.SAE.AR_Handtracking/files/palm_detection_full.bytes
2023/02/26 13:51:30.757 27133 27152 Error Unity   at Mediapipe.Status.AssertOk () [0x00000] in <00000000000000000000000000000000>:0
2023/02/26 13:51:30.757 27133 27152 Error Unity   at ARHandtracking.OnCameraFrameReceived (UnityEngine.XR.ARFoundation.ARCameraFrameEventArgs eventArgs) [0x00000] in <00000000000000000000000000000000>:0
2023/02/26 13:51:30.757 27133 27152 Error Unity   at UnityEngine.XR.ARFoundation.ARCameraManager.InvokeFrameReceivedEvent (UnityEngine.XR.ARSubsystems.XRCameraFrame frame) [0x00000] in <00000000000000000000000000000000>:0
2023/02/26 13:51:30.757 27133 27152 Error Unity   at UnityEngine.XR.ARFoundation.ARCameraManager.Update () [0x00000] in <00000000000000000000000000000000>:0
2023/02/26 13:51:30.757 27133 27152 Error Unity
2023/02/26 13:51:30.786 27133 27152 Error Unity MediaPipeException: FAILED_PRECONDITION: Graph has errors:
2023/02/26 13:51:30.786 27133 27152 Error Unity Calculator::Open() for node "handlandmarktrackinggpu__palmdetectiongpu__palmdetectionmodelloader__LocalFileContentsCalculator" failed: Failed to read /storage/emulated/0/Android/data/com.SAE.AR_Handtracking/files/palm_detection_full.bytes
2023/02/26 13:51:30.786 27133 27152 Error Unity   at Mediapipe.Status.AssertOk () [0x00000] in <00000000000000000000000000000000>:0
2023/02/26 13:51:30.786 27133 27152 Error Unity   at ARHandtracking.OnCameraFrameReceived (UnityEngine.XR.ARFoundation.ARCameraFrameEventArgs eventArgs) [0x00000] in <00000000000000000000000000000000>:0
2023/02/26 13:51:30.786 27133 27152 Error Unity   at UnityEngine.XR.ARFoundation.ARCameraManager.InvokeFrameReceivedEvent (UnityEngine.XR.ARSubsystems.XRCameraFrame frame) [0x00000] in <00000000000000000000000000000000>:0
2023/02/26 13:51:30.786 27133 27152 Error Unity   at UnityEngine.XR.ARFoundation.ARCameraManager.Update () [0x00000] in <00000000000000000000000000000000>:0

Again, please read the log.

StreamingAssetsResourceManager: /storage/emulated/0/Android/data/com.SAE.AR_Handtracking/files/palm_detection_full.bytes is not found

You need to load all the dependent resources before running the CalculatorGraph.
https://github.com/homuler/MediaPipeUnityPlugin/blob/7679fad3d7ab2f78b659eca9ed7ff2afc251cdb0/Assets/MediaPipeUnity/Samples/Scenes/Hand Tracking/HandTrackingGraph.cs#L145-L147

yes i am using mediapipe-all.zip so i have all the resources in the streaming assets. once please guide me a bit in depth. as i still dont fully understand what are the dependences to run handtracking. I want to visualize the hand landmarks.
so here's my scene, let me know what's missing.

here's the changes i did from the above comment.
private const string _HandLandmarksStreamName = "hand_landmarks";
private const string _PalmDetectionsStreamName = "palm_detections";
 private const string _HandednessStreamName = "handedness";

private OutputStream<DetectionVectorPacket, List<Detection>> _palmDetectionsStream;
private OutputStream<NormalizedLandmarkListVectorPacket, List<NormalizedLandmarkList>> _handLandmarksStream;
private OutputStream<ClassificationListVectorPacket, List<ClassificationList>> _handednessStream;

  private IEnumerator Start()
  {
	_cameraManager.frameReceived += OnCameraFrameReceived;
	_stopwatch = new Stopwatch();

	_resourceManager = new StreamingAssetsResourceManager();
	yield return _resourceManager.PrepareAssetAsync("hand_landmark_lite.bytes");
	yield return _resourceManager.PrepareAssetAsync("hand_landmark_full.bytes");
	yield return _resourceManager.PrepareAssetAsync("handedness.txt");
	yield return _resourceManager.PrepareAssetAsync("palm_detection_lite.bytes");
	yield return _resourceManager.PrepareAssetAsync("palm_detection_full.bytes");

	_gpuResources = GpuResources.Create().Value();
	_calculatorGraph = new CalculatorGraph(_configText.text);
	_calculatorGraph.SetGpuResources(_gpuResources).AssertOk();

	_handLandmarksStream = new OutputStream<NormalizedLandmarkListVectorPacket, List<NormalizedLandmarkList>>(_calculatorGraph, _HandLandmarksStreamName);
	_palmDetectionsStream = new OutputStream<DetectionVectorPacket, List<Detection>>(_calculatorGraph, _PalmDetectionsStreamName);
	_handednessStream = new OutputStream<ClassificationListVectorPacket, List<ClassificationList>>(_calculatorGraph, _HandednessStreamName);
	// _handLandmarksStream.AddListener(OutputCallback);

	var sidePacket = new SidePacket();
	sidePacket.Emplace("input_rotation", new IntPacket(0));
	sidePacket.Emplace("input_horizontally_flipped", new BoolPacket(false));
	sidePacket.Emplace("input_vertically_flipped", new BoolPacket(true));
	sidePacket.Emplace("num_hands", new IntPacket(2));
	sidePacket.Emplace("model_complexity", new IntPacket(0));

	_calculatorGraph.StartRun(sidePacket).AssertOk();
	_stopwatch.Start();
  }

So what is the result and what is the problem now? What does the log say?
Note that this support is voluntary for me and I'm not going to bother to run the code at hand.

Apologies for bothering you, just bear with me :(
so the logs don't specifically say much

How did you fix the problem? @pinak1999


How to handle click events in cell_content_layout.xml?

How to solve it?

yes.. i am not getting how to handle click events on textview in cell_content_layout.xml.


Plotting and hyperparameters

Refactored the hyperparameters, similar to the flowMC PR. Also showed in GW150914.py how to make use of the new plotting functionalities implemented in flowMC.

Closing this PR to align with the hyperparameter treatment of flowMC


Revamp: Add netlify build for gridsome version

@rwfeather I added a netlify toml in and the site now builds and deploys if we make a git commit. it's still failing if we trigger a normal build because that looks at the gridsome-main branch which doesn't currently have the site in it. once we merge minimum-viable-gridsome into gridsome-main it should work perfectly.
As with all things, please check to make sure I'm not wrong about that! But it seems all set up correctly.


Feature Request: Enable ngram_range and max_features for transformers

Description
I am using the ktrain's Transformer interface.
Browsing the source code I found out that the ngram_range and max_features arguments are omitted for the Transformer constructor and ngram_range is ignored in the TransformersPreprocessor.
Proposal
I do not see an obvious reason for those parameters to be disabled. Therefore I want to propose to reveal them in the Transformer interface.

Hi @HaaLeo,
The reason they are missing or ignored is because they aren't really applicable to pretrained Transformer-based models.   For instance, the max_features argument is for when the vocabulary is learned from the training set (which is what happens with models like fasttext and nbsvm).  Pretrained  Transformer models, on the other hand, have pretrained vocabularies of words and subwords, so the max_features argument doesn't apply.  (Transformer methods like BERT can make better sense of new, never-before-seen words in test set for these reasons.)   Similarly , the ngram_range feature only makes sense for "bag of words" models like fasttext and nbsvm, not transformer models (or LSTM/RNN/GRU for that matter).

Hi @amaiya, thank you for the quick response.
I agree with your comment. However, those parameter are also used in the preprocess_* methods. Maybe the preprocess methods should then receive those parameters as arguments?

Those parameters are not used in preprocess_* methods for classes associated with Transformers or BERT.  They are accepted in the constructor right now for consistency, but ignored. They are only used in StandardTextPreprocessor

Thank‘s for the clarification 👍🏼


Dependecy resolve wrong version

The elasticsearch dependency below in gradle would relove
compile "org.elasticsearch.client:transport:5.5.1" to version 5.4.1

otherwise ,the maven would resolve

the correct version
Gradle repos

maven repos

That's not what I see with Gradle 4.0.2 and the following build script:
apply plugin: 'java'

repositories {
    mavenCentral()
    maven {
        url 'https://repo.spring.io/snapshot'
    }
    maven {
        url 'https://repo.spring.io/milestone'
    }
}

dependencies {
    compile "org.elasticsearch.client:transport:5.5.1"
}

Output of gradle dependencies --configuration compile is the following:
compile - Dependencies for source set 'main' (deprecated, use 'implementation ' instead).
\--- org.elasticsearch.client:transport:5.5.1
     +--- org.elasticsearch:elasticsearch:5.5.1 <-
     |    +--- org.apache.lucene:lucene-core:6.6.0
     |    +--- org.apache.lucene:lucene-analyzers-common:6.6.0
     ...

Do you maybe force a specific version org.elasticsearch:elasticsearch somewhere in your build script? I'd need to see the rest of your code.

This is all
buildscript {
	ext {
		springBootVersion = '2.0.0.M2'
	}
	repositories {
		mavenCentral()
		maven { url "https://repo.spring.io/snapshot" }
		maven { url "https://repo.spring.io/milestone" }

    }
	dependencies {
		classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
	}
}

apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'

version = '0.0.1-SNAPSHOT'
sourceCompatibility = 1.8

jar {
	baseName = 'face-recognition'
	version =  '0.1.0'
}

repositories {
	mavenCentral()
	maven { url "https://repo.spring.io/snapshot" }
	maven { url "https://repo.spring.io/milestone" }

}

dependencies {
	compile "org.elasticsearch.client:transport:5.5.1"
    compile("org.apache.logging.log4j:log4j-core:2.8.2")
    compile('org.springframework.boot:spring-boot-starter')
	compile("org.springframework.boot:spring-boot-starter-web")
	testCompile('org.springframework.boot:spring-boot-starter-test')
}

With command gradle dependencies  will get the follow logs

The env :

I am pretty sure that's something the Spring Boot Gradle plugin does internally. The command gradle dependencyInsight --dependency org.elasticsearch:elasticsearch --configuration compile gives me the following output:
org.elasticsearch:elasticsearch:5.4.1 (selected by rule)

org.elasticsearch:elasticsearch:5.5.1 -> 5.4.1
\--- org.elasticsearch.client:transport:5.5.1
     \--- compile

In fact I should found a lengthy discussion about it here plus a proposed solution. I am going to close this issue.

Still not solved for me after overriding rule as well? Any proposed solution?


[Scene] Loading Screen

Implement a loading screen. Can just make use of the existing Preload scene.
Checklist

[ ] Wallpaper
[x] Progress Bar
[ ] (Optional) Loading Tips

Add images to scene before preload


[10.x] Add standalone boolean validation methods

Abstract
Since PHP now supports both true and false as standalone types, this PR adds each of these to the validation methods.
Example
/** @var string|false|null */
'headerText' => 'nullable|string|false',

Thanks for your pull request to Laravel!
Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.
If possible, please consider releasing your code as a package so that the community can still take advantage of your contributions!
If you feel absolutely certain that this code corrects a bug in the framework, please "@" mention me in a follow-up comment with further explanation so that GitHub will send me a notification of your response.


fix: WWWL multipler too high when burned in pixels are present

Burned in Pixels often use pixel values above the BitsStored. This results in a multiplier which is way higher than what you would want in practice.

@sedghi added the inline comment ready for merge!


_posts/0000-01-02-Jpinka.md

Created a branch, created a file and made a commit, and opened a pull request

Fixed the name on my pull request

idk what step this is

Am I responding to a review?


Modified client cron directory permission

Signed-off-by: dhaneshr<EMAIL_ADDRESS>This change is in address to the issue reported. #9780
Modified the permission of the directory created by the client
Description
The solution can solve the directory permission for client.
Related Issue

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Chore (non-breaking change that does not add functionality or fix an issue)

Checklist:

[ ] I have read the CONTRIBUTING document.
[ ] I have run the pre-merge tests locally and they pass.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.
[ ] All commits have been signed-off for the Developer Certificate of Origin.

Thanks for the fix @DhaneshRaghavan

@tas50 - Happy to contribute.


added findAllByNode to Obms

This is to support the GET route for nodes/id/obm
@brianparry @RackHD/corecommitters @BillyAbildgaard @srinia6 @dalebremner @keedya

Please add the unit-testing for the new function.

:+1:

:+1: after changing unit-testing to verify all obms.

looks good to me :+1:


[1.19 Fabric] [Bug] [Mod: Artifacts] [Vanilla] The effect of invisibility

When I am under the effect of invisibility, logically I do not want to see messages on top of me, because I will give out my location. In the Artifacts fashion, there is an invisible scarf, when players write to the chat, an inscription appears above them and they are found. Please make a check of the invisibility effect so that the chat does not appear from above.

Thanks for reporting this, will fix it when I have time for modding again

talkbubbles-1.0.3.zip
Can you test this pls

Reopen if still exist with latest version


Remove sentences from current sentences_input that do not contain a gene name

Basically for speed. This should cut our sentences_input size by a factor of 8.

@Colossus as long as we keep the original data somewhere e.g. another table
am fine w this
On Fri, Jul 17, 2015 at 12:36 PM Colossus<EMAIL_ADDRESS>wrote:

Basically for speed. This should cut our sentences_input size by a factor
of 8.
—
Reply to this email directly or view it on GitHub
https://github.com/HazyResearch/dd-genomics/issues/45.

@ajratner Run ./run.sh only_sentences_with_genes after ./run.sh new_sentences to do the join on gene mentions. I finally joined on all of gene_mentions, the reason being that we also negatively supervise gene mentions where a parenthesis occurs before the gene name and so on, which I wanted to keep.


Add dotnet/buildtools release/1.0.0 to CI

/cc @ellismg @mmitche @weshaggard

LGTM.

@mmitche Do we have to do anything special before merging this?  The CI definitions for buildtools are already branchified.

nope, it's good to merge.


Allow (more) special characters in document name

Currently VscCoq fails on documents containing special characters, like a -. ?, $, etc. Most of these are conceivable, but especially a normal dash seems allowable for a file name. It fails with the following error message:
[Error - ] Request textDocument/documentSymbol failed.
Message: Document does not exist
Code: -32803
How to reproduce:

Create a .v file containing a dash, e.g. test-special-characters.v.
Open the file with VsCoq installed
See error message

This is not a VsCoq issue

This is not a VsCoq issue


Playbook hangs on [Enable and check K3s service]

I'm running the playbook with  ansible-playbook site.yml -i inventory/sample/hosts.ini -k -K -vv.
It runs successfully up to [Enable and check K3s service] in /node/tasks/main.yml, then it hangs indefinitely. I've run this with varying levels of verbosity and debugging on.
Running this on Raspberry Pi 4Bs, all of which have Raspberry Pi OS Lite.

hosts.ini

I had the same problem.
For me the problem was the Firewall. Port 6443 was blocked on the master node.

I had the same problem. For me, the master IP wasn't set properly. Anything that stops the k3s-node service from starting will cause that.
I was able to see the error by running systemctl status k3s-node on the node itself.

thanks for the info, as I  had the same problem
I assume JohnTheNerd is referring a feature of when using a hostname for the control node, the installation fails to append that info with its IPaddr to the nodes' /etc/host file
I was using a hostname in the [master] section and it failed.  Switch to an explicit  IPaddr and it installed fine.
alternate solution is to use ansible to spray out an update to the nodes' /etc/hosts file

I also had the same problem, and I was able to fix it by opening the port 6443 using ufw on the master node.
sudo ufw allow 6443

I also had the same problem, and I was able to fix it by opening the port 6443 using ufw on the master node.
sudo ufw allow 6443

Thanks for the pointers in people that figured this out for their distros. Was able to resolve on Centos 7 by doing:
firewall-cmd --zone=public --add-port=6443/tcp

I had the same problem.
I changed the inventory for the IPaddress instead of the names i set in my .ssh/config file.
that solved it!

I changed inventory/hosts.ini to point to IP addresses instead of configured hostnames and the install worked. hostnames are listed when  I do kubectl get nodes:
NAME              STATUS   ROLES    AGE     VERSION
control-plane-0   Ready    master   3h18m   v1.17.5+k3s1
compute-node-1    Ready    <none>   4m28s   v1.17.5+k3s1
compute-node-2    Ready    <none>   4m28s   v1.17.5+k3s1
compute-node-0    Ready    <none>   4m28s   v1.17.5+k3s1
compute-node-3    Ready    <none>   4m28s   v1.17.5+k3s1

I had this same problem, changing the hostname from "raspberrypi" to something unique seemed to make it work.

I had the same issue. I'm trying to deploy to a series av VPSs and it seems like the playbook is trying to use the private IP of the master node when launching the worker nodes.

Many thanks @b-m-f
I also had the firewall / port problem identified above and the following fixed it for me on Pi4s running Raspberry Pi OS 64-bit Bullseye Lite with ufw:
sudo ufw allow proto tcp from <IP_ADDRESS>/24 to any port 6443
(obviously adjust the from details to whatever you need for your network)

I had the same issue also using Raspberry Pi OS 64-bit Bullseye Lite. Not until I was running with both IPs instead of hostnames and followed @nmstoker suggestion did it work.
Many thanks!

Just in case someone comes across this issue running Ubuntu version > 20.04: There's an issue on the k3s project regarding kernel modules: https://github.com/k3s-io/k3s/issues/4234#issuecomment-947954002
Installing the necessary kernel modules helped me, the playbook ran successfully without hanging

@Lechindianer You absolute champion, that was my issue! TY so much!

the task Enable and check K3s service is to restart / enable k3s-node service in nodes
- name: Enable and check K3s service
  systemd:
    name: k3s-node
    daemon_reload: yes
    state: restarted
    enabled: yes

the problem is related to the setting here:
in file roles/k3s/node/templates/k3s.service.j2
ExecStart=/usr/local/bin/k3s agent --server https://{{ master_ip }}:6443 --token {{ hostvars[groups['master'][0]]['token'] }} {{ extra_agent_args | default("") }}

But the variable master_ip is not always master's IP, it is from inventory/my-cluster/hosts.ini.  If you put IP in hosts.ini, then you get IP address, if you put hostname in it, you get hostname
inventory/my-cluster/group_vars/all.yml:master_ip: "{{ hostvars[groups['master'][0]]['ansible_host'] | default(groups['master'][0]) }}"

But in my case, I set the hostname, not IP in the hosts.ini, as poster, like this:
[master]
kubernetes-master

So when check in node, I got
ExecStart=/usr/local/bin/k3s agent --server https://kubernetes-master:6443 --token xxx

But there is no /etc/hosts to resolve its IP address, so the playbook is wait to join to the master, never finish

Thanks @ozbillwang for the detailed info, I however fixed this by slightly modifying your suggestion.
In the hosts.ini file I added a new variable
[master]
HOST_NAME ansible_host_ip=192.168.xxx.xxx

then in the /group_vars/all.yml file, I changed how the variable master_ip is being resolved by replacing ansible_host with ansible_host_ip which is already set above.

Editing the nodes password at /etc/rancher/node/password to match the master node worked for me

Closing this as discussion seems to have ended. It is recommended that

All nodes have static IPs OR an external load balancer is configured with a fixed registration address. See https://docs.k3s.io/datastore/ha#4-optional-configure-a-fixed-registration-address and https://docs.k3s.io/datastore/cluster-loadbalancer
Firewalls be disabled. I have another issue open to track attempting to open the firewall ports. https://github.com/k3s-io/k3s-ansible/issues/234


Windows: problems with network drives

In the Gui version all the File/Open dialogs do not accept network drives.
I got around this by typing N:\ into the Output Folder box. Plotting starts and can be stopped and restarted correctly, until the program is exited.
Again, I enter all the parameters manually, but when clicking Start all I get is:
Engraver 2.4.0 - PoC2 Plotter CPU: Intel(R) Core(TM) i5-2500 CPU @ 3.30GHz [using 2 of 4 cores + AVX]
In the bottom right corner it says "(idle) Plotting ended"
I'm now unable to resume plotting.

Update: I have successfully resumed with the CLI version.
I think the problem is that in Windows network drives are user-specific and the GUI always runs under the admin user, which has no net drives mapped.


Engine -> Framework roll blocked on dart fix test failure.

dart fix tests are blocking the Engine -> Framework roll:
https://ci.chromium.org/ui/p/flutter/builders/try/Windows framework_tests_misc/20038/overview from https://github.com/flutter/flutter/pull/105633 that includes the Dart roll https://dart.googlesource.com/sdk.git/+log/6a7e6decee92..68fd70178cbf, and only one other unrelated change.

I see changes to dart fix in the commit log from @pq

Two of my changes could potentially be the root of this: https://github.com/dart-lang/sdk/commit/3290d7a137031205ca475ead56b62323dcb4d066 or https://github.com/dart-lang/sdk/commit/467a1b05c03878fa9f94779a3af18dcf368254da. My guess is the former but will look a bit closer.

Curiously, the flutter-engine try bot runs were clean for both changes...
https://dart-review.googlesource.com/c/sdk/+/246160 and https://dart-review.googlesource.com/c/sdk/+/246663

This can be downgraded when the roll here lands: https://github.com/flutter/flutter/pull/105650

The affected test works on my Windows setup if I revert the other dart fix patch (https://dart-review.googlesource.com/c/sdk/+/246160)

Oh!  OK, that surprises me.  I'll go ahead and revert that.  Apologies!  And thanks for the catch @jason-simmons!

It works on Windows with https://dart-review.googlesource.com/c/sdk/+/246160 if I patch _getTarget to use the directory path normalization from before that PR:
  io.FileSystemEntity _getTarget(List<String> arguments) {
    var argumentCount = arguments.length;
    if (argumentCount > 1) {
      usageException('Only one file or directory is expected.');
    }
    io.Directory dir =
        argumentCount == 0 ? io.Directory.current : io.Directory(arguments[0]);
    var normalizedPath = path.canonicalize(path.normalize(dir.absolute.path));
    return io.FileSystemEntity.isDirectorySync(normalizedPath)
        ? io.Directory(normalizedPath)
        : io.File(normalizedPath);
  }

Ah!  Funny.  I'd expect that to have been caught on our windows bots...  Will have to dig in.  Thanks!

Thanks a million @jason-simmons!  I'm building w/ your fix locally now.  (I'll take a look at adding some more tests too...)

New patch: https://dart-review.googlesource.com/c/sdk/+/247608. 🦅

Fix landed.  https://github.com/dart-lang/sdk/commit/8d9009d610a21641154346b6b862c38f1e7a6fe5 should unblock the roll.
Sorry for the noise!


Make hardware sets configurable via dialog

It would be useful to let users define their own hardware sets (possibly basing them on the default FINESSE/UNIRAS configuration settings). The problem with only providing built-in configurations is that if a single property changes (e.g. the user changes the type of temperature monitor used in the rig or wants to modify a device parameter), it will not be able to incorporate these changes into a hardware set without modifying FINESSE's source code.
Some of this code can likely be cannibalised from the existing DeviceControl implementation.

NB: This task will probably take a while.


closed PRs can create a patch check task on every commit

Description
This is an issue introduced by https://github.com/go-gitea/gitea/pull/23324
Steps to reproduce:

Create a pull request to merge the default branch into another branch
Close the pull request
Every time a commit is pushed to the default branch a task will verify the patch

Although the above scenario is unlikely, it will never stop creating a workload. At scale the number of such cases keep growing, specially when importing projects from other forges.
Gitea Version
v1.19
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
https://codeberg.org
Database
None

Should be fixed by #24231

Cannot reproduce it anymore, should be fixed by #24231


form validate with multiple buttons or submits

Hi., I need to have multiple buttons or submits for the form with validation. you can assume as i need two button's 'save' and 'modify' on same form with validation on both buttons

I am facing the same problem... Are there any updates?


Improve GitHub workflow

The following improvements should be made to provide a more robust and verified package:

Move linting to its own workflow: at present it lints for every build, but really we only need it to lint once, so would be better to move it to its own build pipelines to make the other ones a little faster
Create integration pipelines:

at present we have build and test pipelines for each version of node we are supporting, but this doesn't actually prove it would be fully functional across the different operating systems
Windows is the notable one which may work differently than Mac and Linux, so having integration pipelines which run a set of integration tests across the varying node versions on each platform ensures that we don't miss any users (3 x 3)
This should be doable by creating a really basic integration test using the existing fixtures and the local command

Good shout.
Linting step makes perfect sense and Windows pipelines would be a nice addition.

Good shout.
Linting step makes perfect sense and Windows pipelines would be a nice addition.


CH RAD-Order Caveat Type (Roeland Luykx (RALY GmbH))

ch.fhir.ig.ch-rad-order#2.0.0-ballot /StructureDefinition-ch-rad-order-qualifier-value.html
Title is not correct: CH RAD-Order Caveat Type
Should it not be:  CH RAD Order Qualifier Value
Roeland Luykx (RALY GmbH)

and also the description is wrong (copy/paste?)

The title and description have been corrected: Extension: CH RAD-Order Qualifier Value
Changelog


waitForElement not responding to text-only updates to the markup.

react-testing-library version: 4.1.2
react version: 16.1.0
node version: 8.11.3
npm (or yarn) version: 5.6.0

Relevant code or config:
Test
test('render error message if products fail to load', async () => {
  axios.get.mockReturnValue(new Promise((resolve, reject) => reject('some error')));

  const { queryByText, getByText, debug } = renderComponent();

  expect(queryByText('Loading…')).toBeInTheDOM();
  expect(queryByText('Failed to load products')).not.toBeInTheDOM();

  await waitForElement(() => getByText('Failed to load products'));
  expect(queryByText('Failed to load products')).toBeInTheDOM();
});

React component segment
render() {
    const {
      loading,
      error,
      products,
      favourites,
      sortedBy
    } = this.props;
    if (loading) return
Loading…

    if (error) return
Failed to load product

What you did:
Testing a component error state
What happened:
When test is executed the component remains in loading state, even when error flips to true and loading false (confirmed by console logging).
However when I wrap the text "Failed to load product" inside of an additional element such as a  the test passes.
It appears to me that waitForElement is expecting a change in the markup shape rather than just text in this instance…
Reproduction:
Repository
run yarn test:reactTestingLibrary
Watch all the tests pass.
Then remove the  from Products.js L39
The test should fail.
Problem description:
I'm having to change the shape of the returned JSX in order to satisfy tests.

You're right, the default mutationObserverOptions = {subtree: true, childList: true}, while the textual content monitoring seems to require a separate option, characterData: true.
For now, you can pass waitForElement(() => getByText('Failed to load products'), { mutationObserverOptions = {subtree: true, childList: true, characterData: true} }).
I'll defer to @kentcdodds the decision if we want to make it the default. I think we should, otherwise it's counter-intuitive as not every possible type of change that may affect the result of the queries is monitored. We might also want to add attributes: true to monitor attribute values.

@rbrtsmith Would you like to submit a PR to change these default mutationObserverOptions and add tests for them?

:tada: This issue has been resolved in version 3.0.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Custom Splash Screen size - without default margin

Problem description
In addition to the default themes, the splash screen can not be customized in terms of 'size', it is not adaptive.
Expected behavior
Is it possible to have the splash screen image that fits the size of the screen, ie without the default margins?
Environment

Tabris.js version: 2.1.3
Device: Samsung Galaxy S7 Edge
OS: Android 7.0

Screenshot

Do you have a xxxhdpi splash screen specified in your config.xml?

Yes, my config.xml is this:
<?xml version='1.0' encoding='utf-8'?>
<widget id="example.test.app" version="0.0.1">
<name>{APP_NAME}</name>
<description>Example Tabris.js App</description>
<author email="{MY_EMAIL}">{MY_NAME}</author>
<preference name="EnableDeveloperConsole" value="$IS_DEBUG" />
<preference name="Fullscreen" value="true"/>
<preference name="splashscreen" value="screen"/>
<preference name="Orientation" value="portrait"/>
<platform name="android">
    <splash density="ldpi" src="res/android/drawable-ldpi/screen.png" />
	<splash density="mdpi" src="res/android/drawable-mdpi/screen.png" />
	<splash density="hdpi" src="res/android/drawable-hdpi/screen.png" />
	<splash density="xhdpi" src="res/android/drawable-xhdpi/screen.png" />
	<splash density="xxhdpi" src="res/android/drawable-xxhdpi/screen.png" />
	<splash density="xxxhdpi" src="res/android/drawable-xxxhdpi/screen.png" />
	<preference name="ThemeSplash"<EMAIL_ADDRESS>/>
</platform>
<plugin name="tabris-plugin-maps" spec="3.0.0">
	<variable name="ANDROID_API_KEY" value="{MY_ANDROID_API_KEY}" />
</plugin>

PS: the stackoverflow question is obviously mine, but has no response.
Thanks in advance!

There are no default margins for the splash. you should not try to fill the entire screen with an image but only rely on a graphical element to be placed in the center.

I had the same problem, and like @mpost said, the only working solution was to theme the android app with a colour background on splash, and put a logo on center from cordova config. How can I do the same on iOS? I cannot find theming info for iOS apps

@maoamid Great to hear that it worked for you. This is actually not "the only solution" but "the right solution". :) More details here: https://material.io/guidelines/patterns/launch-screens.html
For iOS the regular cordova splash screen configuration applies.

As last comment of @cookieguru on StackOverflow, I'll close it as resolved.
Thanks to all! :)
StackOverflow Comment: link

😳 It was all @mpost


Adding Nine Patch center mode

This keep the texture centered (but clips if patch smaller than texture). Useful for control handles, tooltips with arrows, etc.

Only OpenGL ES 3 since ES2 only supports default stretch mode.

Would be nice to also have this option on StyleRectTexture, as it also uses nine-patching.

Remember to squash these commits: https://docs.godotengine.org/en/3.1/community/contributing/pr_workflow.html#mastering-the-pr-workflow-the-rebase

For the reference, this hasn't been merged yet because it's specific to GLES3, and it would make rebasing the vulkan branch on master more difficult (or this feature would simply not work on vulkan as is).
It's now too late for 3.2 which is in release freeze, but if there's a lot of interest in this feature we could see to get it implemented for 4.0 with Vulkan and GLES2, and possibly backport a GLES2 + GLES3 implementation to the 3.2 stable branch, if it doesn't break compatibility.

@Lisapple Is this still desired? If so, it needs to be rebased on the latest master branch, and might need to be redesigned to work with Vulkan.
Otherwise, abandoned pull requests will be closed in the future as announced here.

I think it could be an useful addition, but since the current OpenGL ES 2.0 implementation does not support any NinePatch mode (neither Vulkan yet), it demands too much effort for this to work on Godot 4.0 for now.

I think it could be an useful addition, but since the current OpenGL ES 2.0 implementation does not support any NinePatch mode (neither Vulkan yet), it demands too much effort for this to work on Godot 4.0 for now.


osx_arm64

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Hi @zklaus; this PR seems to fix the issues with #2. I fixed this by a forced copy of the config.* files, which are indeed required (see https://conda-forge.org/blog/posts/2020-10-29-macos-arm64/). My suggestion is that you merge this change set onto #2 and close this PR to allow https://conda-forge.org/status/#armosxaddition do its thing and keep track of the ARM OSX migration. I could open PR to the other fork/branch but I'm not sure if that would cause additional hick ups.

Done. Thanks for figuring this out!
Btw: You can, when creating a new pull request, choose the regro-cf-autotick-bot version of the repo as a target and the PR related branch in there. This way, you get a PR that merges directly into the other (main) PR. Though I have to admit that I have not tested this yet with the conda-forge setup.


Is it possible to use wildcard subdomains in combination with GitHub as OAuth provider?

I was wondering if oauth2_proxy in combination with GitHub as Oauth provider allows the possibility of using wildcard subdomains for a single GitHub Oauth app?
AFAIK that's most of the time done through the state arg, but I don't think there's a way to add custom values to state at the moment.
Also, the wildcard/whitelisted subdomains functionality from #464 doesn't seem to work for this use case, probably because github always redirects to the Authorization callback URL, which is not subdomain specific.
Is this simply not possible or am I missing something?

The work in #464 is for using one oauth2_proxy to protect multiple internal websites.
You are correct indeed that GithHub will only let you set one redirect URL and that should be the URL of your oauth2_proxy. To then protect multiple internal sites you need to start the authentication flow by directing users to https://oauth2.yourdomain.com/oauth/start?rd=https://subdomain.yourdomain.com (when you have the whitelist-domain set as .yourdomain.com)
We do this within our Kubernetes Ingress so I can't really advise how else you might do this if that isn't your use case. Although, ig you put Nginx in front of any website you want to protect and use the auth request method you should be able to protect multiple internal sites with a single oauth2_proxy.

@JoelSpeed Thx! I'll give the code in your PR a try.

You are correct indeed that GithHub will only let you set one redirect URL and that should be the URL of your oauth2_proxy. To then protect multiple internal sites you need to start the authentication flow by directing users to https://oauth2.yourdomain.com/oauth/start?rd=https://subdomain.yourdomain.com (when you have the whitelist-domain set as .yourdomain.com)
We do this within our Kubernetes Ingress so I can't really advise how else you might do this if that isn't your use case. Although, ig you put Nginx in front of any website you want to protect and use the auth request method you should be able to protect multiple internal sites with a single oauth2_proxy.

@JoelSpeed Trying to understand the flow you currently have: Does the Kubernetes ingress you use redirect (301?) to https://oauth2.yourdomain.com/oauth/start?rd=https://subdomain.yourdomain.com and the flow starts from there?
If so, how can the user access the app running on the subdomain since nothing is proxying it?
Or does the Kubernetes ingress do the equivalent of nginx's auth_request and send of a call to oauth2_proxy? If so to which url/hostname? The publicly accessible https://oauth2.yourdomain.com/oauth/auth isn't going to work, right? And where would you then pass the redirect to https://subdomain.yourdomain.com in that case?

@simonvanderveldt Our ingress object proxies to the app as it normally would with any service.
To protect it with the oauth_proxy we simple add the following annotations to the ingress object and as you say, it uses nginx's auth_request directive.
We have the oauth2_proxy publicly accessible at https://auth.yourdomain.com/oauth2/ but it doesn't ever actually do any proxying, we just use the auth and start endpoints to check if the user is presently authenticated and then redirect them if not.
Note that we are using the Nginx ingress controller for this, I don't think other controllers support these annotations out of the box
  annotations:
    ingress.kubernetes.io/auth-url: "https://auth.yourdomain.com/oauth2/auth"
    ingress.kubernetes.io/auth-signin: "https://auth.yourdomain.com/oauth2/start?rd=https://$host$request_uri"

@JoelSpeed Awesome, thanks a lot!
I'll have a look at the nginx ingress controller. It seems auth_request doesn't support URL's by default, will have a look into how that's solved with the ingress controller.

@JoelSpeed I've tried your way but having issue with cyclic redirects (Github oauth2).
Did you had similar issue?
github:
Homepage URL: auth.mydomain.com/oauth
Authorization callback URL: auth.mydomain.com/oauth/callback
When trying to auth dashboard.mydomain.com with your ingress annotations getting cyclic redirects after Github auth

Managed to make it work
The issue was that I have auth url via internal k8s service nginx.ingress.kubernetes.io/auth-url: http://oauth2-proxy.kube-system.svc.cluster.local:4180/oauth2/auth
Fixed this issue by adding --cookie-domain=mydomain.com to oauth2-proxy args


metrics: add min_safe_ts, min_safe_ts_region and min_safe_ts_gap

What is changed and how it works?

Issue Number: ref #15082
What's Changed:

metrics: add min_safe_ts, min_safe_ts_region and min_safe_ts_gap

Related changes

PR to update pingcap/docs/pingcap/docs-cn:
Need to cherry-pick to the release branch

Check List
Tests

Manual test

Side effects
Release note
None

I really wish we could switch to the grafonnet way 😓

/test

/test

/merge

/test


Import-CsvtoSql Improvements - 32-bit shell & Lumenworks

Do you want to request a feature or report a bug?
feature
What is the current behavior?
 But then I found out about this and this is how we should it plus splatting
http://community.idera.com/powershell/powertips/b/tips/posts/running-32-bit-code-on-the-same-machine
Also, initially, all I cared about was speed, and didn't account as much for stability. This means the CSV had to be perfect and couldn't use quoted stuff. I'd like to support a wider variety of CSVs and this would require a better reader like Lumenworks.
Perhaps if the first super fast method throws an exception, instead of showing a big ol message about perfect CSVs, we could show a warning saying that we're attempting a slower import, then use either OLE or LumenWorks (but at some point LumenWorks becuase Ive seen a lot of cases where OLE doesn't work, either)
I recently added /bin/LumenWorks.Framework.IO.dll to the dev directory. Perhaps if the fast one fails, we can just default to that and get rid of OLE all together? Tho I think that OLE is pretty fast, perhaps faster than Lumenworks. That's the shell that uses 32-bit.

Where is the source code for the LumenWorks.Framework.IO.dll?
I am a newbie--just discovered this project--so I apologize if this is thew wrong place to ask this question.
I was wondering whether this project is closed or open source, and I saw that the license says GPL, which usually means that source is included, but I am too much a newbie to understand yet where to find the source. I apologize if this is the wrong place to post this question?

hey @SharePointPog - sorry I didn't see this. The code can be found at https://github.com/phatcher/CsvReader/tree/master/code/LumenWorks.Framework.IO

omg this command is like 1000 lines too long to mess with on a Sunday Funday 👎

Gonna just switch to bcp which microsoft has graciously allowed us to include. just need the time.


if elsif and instance variables

crystal --version
Crystal 0.23.1 (2017-07-17) LLVM 4.0.1

Changing an instance variable inside an if doesn't work in this code.
The variable direction should be 135 at the end.
https://play.crystal-lang.org/#/r/2elg
class Ball
  getter direction : UInt64 = 45_u64

  def collision_vertical
    if @direction == 45_u64
      puts @direction
      @direction += 90_u64
      puts @direction
    end
    if @direction == 135_u64
      @direction -= 90_u64
    end
    if @direction == 225_u64
      @direction += 90_u64
    end
    if @direction == 315_u64
      @direction -= 90_u64
    end
    puts @direction
  end
end
a = Ball.new
a.collision_vertical
pp a.direction

Output:
45
135
45
a.direction # => 45

But when I use one big if with elsif it works.
https://play.crystal-lang.org/#/r/2elh
class Ball
  getter direction : UInt64 = 45_u64

  def collision_vertical
    if @direction == 45_u64
      puts @direction
      @direction += 90_u64
      puts @direction
    elsif @direction == 135_u64
      @direction -= 90_u64
    elsif @direction == 225_u64
      @direction += 90_u64
    elsif @direction == 315_u64
      @direction -= 90_u64
    end
    puts @direction
  end
end
a = Ball.new
a.collision_vertical
pp a.direction

Output:
45
135
135
a.direction # => 135

It is because if @direction == 135_u64 branch triggers and decrements direction back to 45.

omg, I totally overlooked that. I think I have read this code way too often, I should take a break.
@konovod thanks for your help

@petoem Please close the issue then.


Gyro moving error: Gravity/Angle both only display Gyro moving

Describe the bug
I re-flashed(wiped flash) one of my previously working iSpindle running GravityMon, went through initial setup, reset power, then went back to calibrate. Gravity and Angle are only displaying "Gyro moving" now and cannot calibrate. I have tried setting the iSpindle on different surfaces including my floor to make sure it is not moving at all, but only see Gyro moving messages. I have tried calibrating multiple times but seems to lockup with solid blue light on D1 Mini. I have let it sit for 5+ minutes with no change.
Note: This device was previously running GravityMon successfully but I flashed and wiped due to a change in Wifi credentials and wanted to start from scratch anyways. Hardware has not changed.
Log Shows:
GYRO: No valid calibration values, please calibrate the device.
GYRO: No valid calibration values, please calibrate the device.
GYRO: No valid calibration values, please calibrate the device.
GYRO: No valid calibration values, please calibrate the device.
CFG : Configuration file does not exist.
Firmware v1.0.0 from Releases section
To Reproduce
Steps to reproduce the behavior:

Turn on device and allow it to connect to Wifi
Place device horizontal
View web GUI. Gravity/Angle display Gyro moving
Click Configuration
Click Calibrate device
D1 Mini light turns solid blue
Device hangs and web gui is no longer responding
Must power cycle to return to gui

Expected behavior
Expect gyro to read properly and calibrate device as expected

I was able to re-flash once more, go through the initial setup, and calibrate at without a power cycle. Complete guess here, but I'm guessing if you don't calibrate during the initial setup, a power cycle may cause the issue I ran into. I will try and test more tomorrow with another device.

I just followed your steps on one of my devices and cannot really reproduce the issue. I did a clean install, configured wifi and opened up the gui. I get an angle (as expected) and also the error message that its not calibrated.
The reason you get the text gyro moving is that the device is not able to get a valid reading from the gyro, either read error or if the values are varying too much.
Gan you use the feature "gather support information" on the main page and post that result here, I want to check the configuration options if something there has been corrupted so it does not have the normal behaviour. It's possible to tweak the gyro read settings.
Another thing that could be helpful is if you hook up a serial monitor and post any messages that contain the text GYRO: This output could contain some sensive data like wifi password so please remove those before posting. I would expect to find this message for instance; GYRO: Sensor is moving

Closing this since no new information has been provided to replicate the issue.


Blade compilation issues with Tailwind container queries

Laravel Version
10.45.0
PHP Version
8.3.1
Database Driver & Version
No response
Description
When using Tailwind's container queries plugin with the @class directive, Blade either throws exceptions about unexpected endif or simply doesn't compile the classes correct. Using Arr::toCssClasses directly works as expected.
The following examples are in the reproduction repo. (Note: Tailwind isn't installed and configured, but it isn't necessary to show the issues with the Blade compiler.)
Code that works
/success shows everything working as expected with the Arr::toCssClasses

I suspect this is working due to Blade wrapping everything in e().
Here's a snippet of the code that works (full example in the repo):
@if (filled($heading))
    <h1
        class="{{
            Illuminate\Support\Arr::toCssClasses([
                'font-bold tracking-tight text-gray-900 @xs:text-4xl @md:text-6xl',
                'mt-10' => filled($callout),
                '@xs:mt-24 @md:mt-32 @xl:mt-16' => blank($callout)
            ])
        }}"
    >
        {{ $heading }}
    </h1>
@endif

@if (filled($description))
    <div
        class="{{
            Illuminate\Support\Arr::toCssClasses([
                'text-lg/8 text-gray-600',
                'mt-6' => filled($heading),
                'mt-10' => filled($callout) && blank($heading),
                '@xs:mt-24 @md:mt-32 @xl:mt-16' => blank($callout) && blank($heading),
            ])
        }}"
    >
        {{ $description }}
    </div>
@endif

Code that throws an exception
/failure shows the exception (though this may be compounded by wrapping the HTML in conditionals)

Here's a snippet of the code that throws an exception (full example in the repo):
@if (filled($heading))
    <h1
        @class([
            'font-bold tracking-tight text-gray-900 @xs:text-4xl @md:text-6xl',
            'mt-10' => filled($callout),
            '@xs:mt-24 @md:mt-32 @xl:mt-16' => blank($callout)
        ])
    >
        {{ $heading }}
    </h1>
@endif

@if (filled($description))
    <div
        @class([
            'text-lg/8 text-gray-600',
            'mt-6' => filled($heading),
            'mt-10' => filled($callout) && blank($heading),
            '@xs:mt-24 @md:mt-32 @xl:mt-16' => blank($callout) && blank($heading),
        ])
    >
        {{ $description }}
    </div>
@endif

Code that compiles incorrectly
/incorrect is the same thing as /failure but without the conditionals (you can see that the content of the @class call is simply output on the page)

Here's a snippet of the code that compiles incorrectly (full example in the repo):
<h1
    @class([
        'font-bold tracking-tight text-gray-900 @xs:text-4xl @md:text-6xl',
        'mt-10' => filled($callout),
        '@xs:mt-24 @md:mt-32 @xl:mt-16' => blank($callout)
    ])
>
    {{ $heading }}
</h1>

<div
    @class([
        'text-lg/8 text-gray-600',
        'mt-6' => filled($heading),
        'mt-10' => filled($callout) && blank($heading),
        '@xs:mt-24 @md:mt-32 @xl:mt-16' => blank($callout) && blank($heading),
    ])
>
    {{ $description }}
</div>

Steps To Reproduce
https://github.com/agentphoenix/class-directive-bug

I've hit a similar issue in the past where there was a directive defined in the Laravel app that matched one of Tailwinds @ things, e.g, an @container blade directive interfering with Tailwind's @container CSS thing.
I had to use Blade's escaping mechanism @@container when referencing the Tailwind version.
Not sure what exactly is causing the issue here, though.

@timacdonald thanks for the suggestion! I gave it a try and unfortunately no change. The compiled output still has the same issues.
I even tried changing the compileClass method to wrap everything in the e function (since that's what happens when echoing out the Arr::toCssClasses in the successful test) and it still breaks. I'm just not sure where the actual problem is coming from to even start working on a PR that fixes the issue.

I've narrowed this down to the following regex in the compileStatements method of the BladeCompiler.
preg_match_all('/\B@(@?\w+(?:::\w+)?)([ \t]*)(\( ( [\S\s]*? ) \))?/x', $template, $matches);

I've been trying to work on tweaking this regex to ignore anything that has a single colon, but retains the double colons. If anyone has any suggestions for ways to accomplish that, I'd love the input.

It seems to be related to https://github.com/laravel/framework/pull/45490 and further updates of BladeCompiler::compileStatements()

@aguingand thanks for the heads up on that one. Not sure that changes the fix that I have, but I'll give it another pass and see.
@altamisatmaja curious how the Tailwind CDN is addressing the issue for you?

@agentphoenix I tweaked the regex so that it ignores anything with a single colon but retains the double colons:
preg_match_all('/\B@(@?\w+(?:[ \t]*::[ \t]*\w+)?)([ \t]*)(\( ( [\S\s]*? ) \))?/x', $template, $matches);
Not tested but might help?

I believe the regex is fine. I suspect the issue could be related to vite/tailwind installation because if you change the last @xl to @lg it works without errors. That's where I stopped for now.

Hi all. Since there's no action on this issue any more we're closing this. We'd still appreciate a PR that could potentially fix this one. Thanks


Benchmarks for Log4j and Logback do not use buffering.

The vast majority of users will use buffering on their files as writing is extremely slow otherwise.

The benchmarks support buffering for Log4j and Logback:
https://github.com/pmwmedia/tinylog/blob/v2.0/benchmarks/src/main/java/org/tinylog/benchmarks/logging/Log4j1Benchmark.java#L134
https://github.com/pmwmedia/tinylog/blob/v2.0/benchmarks/src/main/java/org/tinylog/benchmarks/logging/Log4j2Benchmark.java#L108
https://github.com/pmwmedia/tinylog/blob/v2.0/benchmarks/src/main/java/org/tinylog/benchmarks/logging/LogbackBenchmark.java#L161

Unless I misunderstand, these only support buffering when using asynchronous logging.  Buffering should not be related to async logging.

You are right, I have published only a synchronous unbuffered (typical development environment) and an asynchronous buffered benchmark (typical production environment) on https://tinylog.org/v2/benchmark/. I know that there also many other common configurations. However, I don't want to overflow the benchmark page. A synchronous buffered logging will be between the both published benchmark and change not much about the order.
I have published the benchmark program as open source and have made is parameterizable to ensure that everybody can benchmark also custom settings.

Is tinylog's synchronous benchmark using unbuffered i/o? If not then you are comparing apples to oranges.

All logging frameworks including tinylog uses unbuffered i/o in the synchronous benchmark (yellow bars) and buffered i/o in the asynchronous benchmark (blue bars). For me, this looks like fair and same conditions for all of them. Why do you think this is like comparing apples to oranges?


Add COVID Pipeline vs Universal Pipeline logic to the Data Dashboard Redirection

Problem statement
As we onboard more receivers to the UP, they are still being shown the Data Dashboard page. But the Data Dashboard page does not work with data sent through the UP, and therefore any receivers that are connected to the UP should be shown the Daily Data page instead of Data Dashboard.
What you need to know

Topics that are being used in BE
Private Zenhub Image

Example User Workflow Issue:

I am part of CA-DPH
CA-DPH has several receiver services
Some of those receivers services are connected to UP, some are connected to the COVID pipeline
The UP receiver services do not work with Data Dashboard, only COVID pipeline services work on the Data Dashboard
So, if I log in as a CA-DPH rep, not all of my receiver services will work on Data Dashboard, even though I can select them. I have no way of knowing when/how to access Daily Data to see the services that are working on the UP.

Expected Response

If an organization has any receivers connected to the UP, or is part of the list of existing receivers we are currently redirected to the Daily Data page, we should redirect them to the Daily Data page instead of Data Dashboard.

Possible Solution
If you are part of an organization that has AT LEAST one receiver service active on the UP, we just show you Daily Data. This is determined by the “Topic” of the receiver.
In other words, check to see if ANY receiver of an organization is connected to topics other than COVID-19 or MPOX, then show them Daily Data. Otherwise, show them Data Dashboard.
Acceptance criteria

[ ] Receiver Org that has any receiver services connected to the UP is redirected to the Daily Data page instead of Data Dashboard.
[ ] If a Receiver Org is already being redirected to the Daily Data page, they should continue to be redirected to the Daily Data page instead of Data Dashboard.

Easiest solution may just be to hardcode this in to our existing logic as we migrate receivers over to the UP. This also ensures that we are not doing work that may be negated by rectifying our two dashboards next quarter.

Closing as a long term (backend) solution is no longer necessary since the two dashboards will likely not coexist in the second half of the year. So the short term solution should be fine until then.


Support the hive?

Can you provide some more context on this? Are you referring to Apache Hive?

Closing due to insufficient context.


fix memory leak issue in agg operator

Proposed changes
      0x60300a396150, size 32, strack trace:
0#  Allocator<true, false, false>::alloc_impl(unsigned long, unsigned long)
1#  phmap::priv::raw_hash_set<phmap::priv::FlatHashSetPolicy<unsigned long>, phmap::Hash<unsigned long>, phmap::EqualTo<unsigned long>, doris::vectorized::Allocator_<unsigned long> >::initialize_slots(unsigned long)
2#  phmap::priv::raw_hash_set<phmap::priv::FlatHashSetPolicy<unsigned long>, phmap::Hash<unsigned long>, phmap::EqualTo<unsigned long>, doris::vectorized::Allocator_<unsigned long> >::resize(unsigned long)
3#  phmap::priv::raw_hash_set<phmap::priv::FlatHashSetPolicy<unsigned long>, phmap::Hash<unsigned long>, phmap::EqualTo<unsigned long>, doris::vectorized::Allocator_<unsigned long> >::raw_hash_set(phmap::priv::raw_hash_set<phmap::priv::FlatHashSetPolicy<unsigned long>, phmap::Hash<unsigned long>, phmap::EqualTo<unsigned long>, doris::vectorized::Allocator_<unsigned long> > const&, doris::vectorized::Allocator_<unsigned long> const&)
4#  doris::HyperLogLog::merge(doris::HyperLogLog const&)
5#  doris::vectorized::IAggregateFunctionDataHelper<doris::vectorized::AggregateFunctionHLLUnionAggImpl<doris::vectorized::AggregateFunctionHLLData>, doris::vectorized::AggregateFunctionHLLUnion<doris::vectorized::AggregateFunctionHLLUnionAggImpl<doris::vectorized::AggregateFunctionHLLData> > >::deserialize_and_merge(char*, char*, doris::vectorized::BufferReadable&, doris::vectorized::Arena*) const
6#  doris::vectorized::IAggregateFunctionHelper<doris::vectorized::AggregateFunctionHLLUnion<doris::vectorized::AggregateFunctionHLLUnionAggImpl<doris::vectorized::AggregateFunctionHLLData> > >::deserialize_and_merge_vec(char* const*, unsigned long, char*, doris::vectorized::ColumnStr<unsigned int> const*, doris::vectorized::Arena*, unsigned long) const
7#  doris::Status doris::pipeline::AggSinkLocalState::_merge_with_serialized_key_helper<false, false>(doris::vectorized::Block*)
8#  doris::pipeline::AggSinkLocalState::Executor<false, true>::execute(doris::pipeline::AggSinkLocalState*, doris::vectorized::Block*)
9#  doris::pipeline::AggSinkOperatorX::sink(doris::RuntimeState*, doris::vectorized::Block*, bool)
10# doris::pipeline::PartitionedAggSinkOperatorX::sink(doris::RuntimeState*, doris::vectorized::Block*, bool)
11# doris::pipeline::PipelineTask::execute(bool*)
12# doris::pipeline::TaskScheduler::_do_work(unsigned long)
13# doris::ThreadPool::dispatch_thread()
14# doris::Thread::supervise_thread(void*)
15# ?
16# __clone

*** SIGABRT unknown detail explain (@0x19f60) received by PID 106336 (TID 108616 OR 0x7fc25dbbc700) from PID 106336; stack trace: ***
0# doris::signal::(anonymous namespace)::FailureSignalHandler(int, siginfo_t*, void*) at /root/doris/be/src/common/signal_handler.h:421
1# 0x00007FCC48CA2090 in /lib/x86_64-linux-gnu/libc.so.6
2# raise at ../sysdeps/unix/sysv/linux/raise.c:51
3# abort at /build/glibc-SzIz7B/glibc-2.31/stdlib/abort.c:81
4# 0x0000562FDDDBA07D in /mnt/ssd01/pipline/OpenSourceDoris/clusterEnv/P0/Cluster0/be/lib/doris_be
5# google::LogMessage::SendToLog() in /mnt/ssd01/pipline/OpenSourceDoris/clusterEnv/P0/Cluster0/be/lib/doris_be
6# google::LogMessage::Flush() in /mnt/ssd01/pipline/OpenSourceDoris/clusterEnv/P0/Cluster0/be/lib/doris_be
7# google::LogMessageFatal::~LogMessageFatal() in /mnt/ssd01/pipline/OpenSourceDoris/clusterEnv/P0/Cluster0/be/lib/doris_be
8# doris::MemTrackerLimiter::~MemTrackerLimiter() in /mnt/ssd01/pipline/OpenSourceDoris/clusterEnv/P0/Cluster0/be/lib/doris_be
9# doris::ThreadMemTrackerMgr::detach_limiter_tracker(std::shared_ptr<doris::MemTrackerLimiter> const&) at /root/doris/be/src/runtime/memory/thread_mem_tracker_mgr.cpp:57
10# doris::ThreadContext::detach_task() at /root/doris/be/src/runtime/thread_context.h:175
11# doris::AttachTask::~AttachTask() at /root/doris/be/src/runtime/thread_context.cpp:61
12# doris::pipeline::_close_task(doris::pipeline::PipelineTask*, doris::Status) at /root/doris/be/src/pipeline/task_scheduler.cpp:95
13# doris::pipeline::TaskScheduler::_do_work(unsigned long) at /root/doris/be/src/pipeline/task_scheduler.cpp:186
14# doris::ThreadPool::dispatch_thread() at /root/doris/be/src/util/threadpool.cpp:551
15# doris::Thread::supervise_thread(void*) at /root/doris/be/src/util/thread.cpp:499
16# start_thread at /build/glibc-SzIz7B/glibc-2.31/nptl/pthread_create.c:478
17# __clone at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall


Support for www.instagram.com URLs

Hi there, first off thanks for writing this package!
I was using this in a side project and I noticed that my Instagram URLs were not matching the item.MatchUrl() even though Instagram is a supported provider of Oembed in the providers.json
I assume at some point that Instagram started using www. as the canonical URL because all https://instagram.com URLs now redirect to the https://www.instagram.com equivalent.
ex: https://instagram.com/p/BUHouXdgTWv -> https://www.instagram.com/p/BUHouXdgTWv
The regex used to check for Instagram likely needs amended to have an optional www. value (similar to how it's done with http vs https).
I went and printed out a list of every regex generated for the providers.json (I'll add that in a second comment below).
Here are the ones generated for Instagram:
^https?://instagram.com/p/.*$
^https?://instagr.am/p/.*$

Full list of generated regexes:
^https://alpha.app.net/.*?/post/.*$
^https://cacoo.com/diagrams/.*$
^https://gmep.org/media/.*$
^https://infogr.am/.*$
^https://photos.app.net/.*?/.*$
^https://portfolium.com/entry/.*$
^https://rapidengage.com/s/.*$
^https://sketchfab.com/.*?/folders/.*$
^https://sketchfab.com/models/.*$
^https://speakerdeck.com/.*?/.*$
^https://theysaidso.com/image/.*$
^https://www.circuitlab.com/circuit/.*$
^https://www.isnare.com/.*$
^https://www.reverbnation.com/.*?/songs/.*$
^https://www.reverbnation.com/.*$
^https://www.shortnote.jp/view/notes/.*$
^https?://[^/]*?.blip.tv/.*?/.*$
^https?://[^/]*?.channel.geographs.org/.*$
^https?://[^/]*?.deviantart.com/.*?#/d.*$
^https?://[^/]*?.deviantart.com/art/.*$
^https?://[^/]*?.flickr.com/photos/.*$
^https?://[^/]*?.geograph.co.uk/.*$
^https?://[^/]*?.geograph.ie/.*$
^https?://[^/]*?.geograph.org.gg/.*$
^https?://[^/]*?.geograph.org.je/.*$
^https?://[^/]*?.geograph.org.uk/.*$
^https?://[^/]*?.nfb.ca/film/.*$
^https?://[^/]*?.polldaddy.com/poll/.*$
^https?://[^/]*?.polldaddy.com/ratings/.*$
^https?://[^/]*?.polldaddy.com/s/.*$
^https?://[^/]*?.rdio.com/artist/.*$
^https?://[^/]*?.rdio.com/people/.*$
^https?://[^/]*?.smugmug.com/.*$
^https?://[^/]*?.ustream.com/.*$
^https?://[^/]*?.ustream.tv/.*$
^https?://[^/]*?.wikimedia.org/.*?_geograph.org.uk_.*$
^https?://[^/]*?.yfrog.com/.*$
^https?://animoto.com/play/.*$
^https?://api.embed.ly/.*$
^https?://audiosnaps.com/k/.*$
^https?://channel-islands.geograph.org/.*$
^https?://channel-islands.geographs.org/.*$
^https?://chirb.it/.*$
^https?://clyp.it/.*$
^https?://clyp.it/playlist/.*$
^https?://coub.com/embed/.*$
^https?://coub.com/view/.*$
^https?://crowdranking.com/.*?/.*$
^https?://dotsub.com/view/.*$
^https?://edocr.com/docs/.*$
^https?://embedarticles.com/.*$
^https?://fav.me/.*$
^https?://flic.kr/p/.*$
^https?://geo-en.hlipp.de/.*$
^https?://geo.hlipp.de/.*$
^https?://germany.geograph.org/.*$
^https?://gty.im/.*$
^https?://huffduffer.com/.*?/.*$
^https?://ifttt.com/recipes/.*$
^https?://instagr.am/p/.*$
^https?://instagram.com/p/.*$
^https?://learningapps.org/.*$
^https?://live.amcharts.com/.*$
^https?://meetu.ps/.*$
^https?://meetup.com/.*$
^https?://moby.to/.*$
^https?://official.fm/playlists/.*$
^https?://official.fm/tracks/.*$
^https?://on.aol.com/video/.*$
^https?://public.chartblocks.com/c/.*$
^https?://roomshare.jp/en/post/.*$
^https?://roomshare.jp/post/.*$
^https?://rwire.com/.*$
^https?://shoud.io/.*$
^https?://shoudio.com/.*$
^https?://sketchfab.com/models/.*$
^https?://soundcloud.com/.*$
^https?://speakerdeck.com/.*?/.*$
^https?://sta.sh/.*$
^https?://ted.com/talks/.*$
^https?://videofork.com/oembed/([0-9]+)$
^https?://videos.sapo.pt/.*$
^https?://vimeo.com/.*$
^https?://vimeo.com/groups/.*?/videos/.*$
^https?://wordpress.com/.*$
^https?://www.23hq.com/.*?/photo/.*$
^https?://www.collegehumor.com/video/.*$
^https?://www.dailymile.com/people/.*?/entries/.*$
^https?://www.dailymotion.com/video/.*$
^https?://www.dipity.com/.*?/*/$
^https?://www.funnyordie.com/videos/.*$
^https?://www.hulu.com/watch/.*$
^https?://www.ifixit.com/Guide/View/.*$
^https?://www.kickstarter.com/projects/.*$
^https?://www.mixcloud.com/.*?/*/$
^https?://www.mobypicture.com/user/.*?/view/.*$
^https?://www.ora.tv/.*$
^https?://www.polleverywhere.com/free_text_polls/.*$
^https?://www.polleverywhere.com/multiple_choice_polls/.*$
^https?://www.polleverywhere.com/polls/.*$
^https?://www.quiz.biz/quizz-.*?.html$
^https?://www.quizz.biz/quizz-.*?.html$
^https?://www.screenr.com/.*?/$
^https?://www.scribd.com/doc/.*$
^https?://www.slideshare.net/.*?/.*$
^https?://www.topy.se/image/.*$
^https?://www.viddler.com/v/.*$
^https?://www.videojug.com/film/.*$
^https?://www.videojug.com/interview/.*$
^https?://www.youtube.com/.*$
^https?://yfrog.us/.*$

Hi, thanks for pointing this out.
I've got providers from the official oembed list, it seems outdated now: http://oembed.com/providers.json
Will test and fix it tomorrow!

Thanks again for quick response.
After the update to the providers.json I can confirm that twitter is working great ( #3 is definitely fixed!), unfortunately the instagram schema still does not seem to support www..
I'll also open an issue on the official oembed repo :)

Added: https://github.com/dyatlov/go-oembed/commit/e70c966aad993efddb9ba5fa3f1dc1e5766fd035


Alluxio v1.8.1  reflected xss vulnerability

A reflected XSS vulnerability was found in Allusio V1.8.1.
An attacker can inject arbitrary web script or HTML through the "path" parameter in the Browse board, causing a reflected XSS attack and stealing cookies.
POC:
msgbox("foo")";

Will close it for now, feel free to reopen it and contact us if this is a strong request.


Select multiple options UX is inconsistent

Package
filament/filament
Package Version
v2.17.41
Laravel Version
v10.11.0
Livewire Version
v2.12.3
PHP Version
PHP 8.2.6
Problem description
Select multiple hides an option once it is selected. This is expected.
But, when editing and selected options are loaded from a relationship, those options are still shown in the dropdown.
Expected behavior
Selections loaded on hydration should act the same way as selections made during edit
Steps to reproduce

Edit a product
click category select
see selected categories are shown in option dropdown (bug)
select a category option
see the selection is removed from the options list (expected)

Reproduction repository
https://github.com/TappNetwork/filament-demo/tree/multiselect-bug
Relevant log output
No response

Duplicate of #2363.


Use same YAML library as conda?

Checklist

[X] I added a descriptive title
[X] I searched open reports and couldn't find a duplicate

What happened?
This requires PyYAML, it would be "prettier" to use the same one conda uses.
Conda Info
No response
Conda Config
No response
Conda list
No response
Additional Context
No response

Good idea!

ruamel.yaml provides all the same functions and exceptions, or we could import it from conda.serialization.


Improve UX for Adjust Scheduling tool

Note: We should also update "fast forward" to move forward, I know its currently in parity with DTV but it just doesn't make sense.

Totally agree
On Thu, Apr 11, 2024 at 3:58 PM markdavella @.***>
wrote:

Note: We should also update "fast forward" to move forward, I know its
currently in parity with DTV but it just doesn't make sense.
image.png (view on web)
https://github.com/chrisbenincasa/tunarr/assets/6005331/e4d83f3b-4027-4159-aa8b-d2d5647f9feb
—
Reply to this email directly, view it on GitHub
https://github.com/chrisbenincasa/tunarr/issues/278, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMQRX3FJXFZUW2G2HAIOXDY43TQFAVCNFSM6AAAAABGC5KQB2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGIZTQNBWGU3TENA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Fixed in #311 311


Remove workaround for older Pythons

importlib.import_module is available since Python 2.7.

Coverage increased (+0.1%) to 92.52% when pulling 6ae408c2763dfe77f38c6e8af83029dfad7521d1 on jdufresne:all-pythons into ec568b5ad9414a300a1c3d99c9ee63c9255ed2e1 on django-import-export:master.

thanks!


Miz logo

Looks good to me

reduce space line between logos if possible, @tillprochaska

reduce space line between logos if possible, @tillprochaska

@FrauCsu Done.

Lo es prefecto!