Breaks with Flutter 3.11

Description
../../../../../.pub-cache/hosted/pub.dev/macos_ui-1.12.2/lib/src/fields/text_field.dart:108:35: Error: The parameter 'details' of the method '_TextFieldSelectionGestureDetectorBuilder.onSingleTapUp' has type 'TapUpDetails', which does not match the corresponding type, 'TapDragUpDetails', in the overridden method, 'TextSelectionGestureDetectorBuilder.onSingleTapUp'.
 - 'TapUpDetails' is from 'package:flutter/src/gestures/tap.dart' ('../../../../../bin/flutter/packages/flutter/lib/src/gestures/tap.dart').
 - 'TapDragUpDetails' is from 'package:flutter/src/widgets/tap_and_drag_gestures.dart' ('../../../../../bin/flutter/packages/flutter/lib/src/widgets/tap_and_drag_gestures.dart').
Change to a supertype of 'TapDragUpDetails', or, for a covariant parameter, a subtype.
  void onSingleTapUp(TapUpDetails details) {
                                  ^
../../../../../bin/flutter/packages/flutter/lib/src/widgets/text_selection.dart:2198:8: Context: This is the overridden method ('onSingleTapUp').
  void onSingleTapUp(TapDragUpDetails details) {
       ^
../../../../../.pub-cache/hosted/pub.dev/macos_ui-1.12.2/lib/src/fields/text_field.dart:130:42: Error: The parameter 'details' of the method '_TextFieldSelectionGestureDetectorBuilder.onDragSelectionEnd' has type 'DragEndDetails', which does not match the corresponding type, 'TapDragEndDetails', in the overridden method, 'TextSelectionGestureDetectorBuilder.onDragSelectionEnd'.
 - 'DragEndDetails' is from 'package:flutter/src/gestures/drag_details.dart' ('../../../../../bin/flutter/packages/flutter/lib/src/gestures/drag_details.dart').
 - 'TapDragEndDetails' is from 'package:flutter/src/widgets/tap_and_drag_gestures.dart' ('../../../../../bin/flutter/packages/flutter/lib/src/widgets/tap_and_drag_gestures.dart').
Change to a supertype of 'TapDragEndDetails', or, for a covariant parameter, a subtype.
  void onDragSelectionEnd(DragEndDetails details) {
                                         ^
../../../../../bin/flutter/packages/flutter/lib/src/widgets/text_selection.dart:2886:8: Context: This is the overridden method ('onDragSelectionEnd').
  void onDragSelectionEnd(TapDragEndDetails details) {
       ^
Target kernel_snapshot failed: Exception

FAILURE: Build completed with 2 failures.

Steps To Reproduce

flutter channel main; flutter upgrade or wait until tomorrow for the Flutter team to push it to everybody

Flutter 3.11.0-2.0.pre.81 • channel main • https://github.com/flutter/flutter.git
Framework • revision a153d6da84 (2 hours ago) • 2023-05-09 14:21:52 -0500
Engine • revision 824cd09b8c
Tools • Dart 3.1.0 (build 3.1.0-87.0.dev) • DevTools 2.23.1

@fennelhans Also affects the flutter stable channel v3.10.0

Yes, it does.

any plans to update this soon? or is there any way to use the adaptive_dialog with this issue?

Sorry folks, I'm just really overwhelmed with life right now. I'm going to try and get to the Dart 3 stuff, but I can't really give a timeline.

#422 seems to fix this issue 👀

@GroovinChip it is totally fine, and I wish you all the best in your personal life. We will switch to some custom fork in the meanwhile as it always happens in the flutter ecosystem, it's fine.
But to be fair, this issue was brought to your attention on February the 18th, in other terms, 3 months ago.
In this issue: https://github.com/macosui/macos_ui/issues/361 , which you closed and replied:

Eventually the changes causing this issue will come to stable and macos_ui will account for them once they do.

Would you agree on saying that you made a bad call back then?
3 months passed by, maybe back in the past it would have been less stressful for you, you could have worked on it over a longer period of time, don't you think?
Also, don't you think that one of the main purpose of betas is giving devs the chance to test their software so that when a beta become stable, potential issues are already addressed, hence acting as an issue in beta is not an issue at all, is not a forward-looking approach?
Best!

Yeah, the thing is, I've been pretty constantly overwhelmed since that time. In February I was laid off from my dream job, and I was heartbroken (and still am, really) and focused on finding another. It took two months for that to happen, and during all that time I was very  depressed, distressed and overwhelmed. I've now been employed for about a month, and am no longer salaried - I'm hourly, and so I must work longer hours. My personal life is generally overwhelming as well, since I am a  husband, father, dog owner, homeowner, and responsible for many things that come with all that. Not to mention I have many hobbies, and not enough time for them all, and in order to stay sane, literally, I need to engage with some of those hobbies regularly as they give me some relief from all of my stress and responsibilities. Oh, and hey, my grandfather passed away recently, and that came with a humongous pile of complicated things that needed balancing. There's also a ton more personal things I'm dealing with that I'm not going to mention. And as if all of that isn't enough, there's still more! I have ADHD! Which makes literally existing in minimum possible terms a humongous, painful, and exhausting daily chore!
I am acutely aware of my responsibility to the community. I really, really am. Flutter fundamentally changed my life for the better, and much of that has been the way our wonderful community has embraced me. Creating and shepherding this project forward is a tremendous honor and privilege, and I'm very grateful for support and recognition it has received. It is very dear to me, and every moment that I'm unable to work on it because of everything I talked about before is distressing. But I can't do everything. Right now, and for several months going, I've been really overwhelmed and dealing with a lot of stuff on top of all the regular things I deal with, personally and professionally, and so while I appreciate your kind words regarding my well-being, I very much do not appreciate your criticism of my handling of this project during an exceptionally difficult period of my life. I am doing the best that I can. Unfortunately, right now, my best isn't very much. It won't always be that way, and I can't say when things will start looking up, but eventually they will. You're very fortunate that this is a free and open-source project, because I have poured literal blood, sweat, and tears, into it, and spent many hours of my very busy and complex life doing so.
Thank you again for your kind wishes for my well-being, and I apologize again for the delays my situation is causing.

@mariopepe Please be kind; your comment was abrasive and unhelpful. This is a free, community-driven project. Nobody "owes" anybody anything, and nothing is stopping you from forking the project.
@GroovinChip I'm sorry you're going through these things. I have, recently, been in a similar situation - as a single father and homeowner, losing my job, struggling with many other things which I won't go into here - and also somebody afflicted with ADHD. Believe me when I say: I hear you. I'm particularly sad to hear about your grandfather passing. I hope it was peaceful and he was surrounded by those he loves. My condolences for your loss.
We all very much appreciate the hard work you've put into this project. Perhaps you've got a wishlist of things you'd like to accomplish here that you can post in the project's README so other contributors can help out?
If you're looking for a community of Flutter devs who just like to be around other Flutter devs, reach out to me and I'll get you connected. Stay strong.

@GroovinChip Wow, I wasn’t aware of what you were going through. I noticed that our communication abruptly cut off, and assumed you were “just busy,” so to speak ¹. I had just started a new semester at my university and between my studies and other personal matters I also found myself too overwhelmed and mentally drained to dedicate much time to open-source development — life comes first, after all.
I don’t think I have ADHD, but being an Aspie I think there’s a significant overlap between the way we experience obligations, and I can very much relate to being overwhelmed when multiple responsibilities demand our attention at the same time.
I cannot offer much more than kind words, but I really hope we’ll soon get to a point where we can continue working with each other. Cheers. :)

¹For reference to other people reading this: We were currently working on a rather big update that was supposed to provide major improvements regarding color accuracy, and so far we are nowhere done, yet.

@GroovinChip I hope you are doing well now!

When will the new version be released to pub.dev?

When will the new version be released to pub.dev?

I don't know when, but my plan is to release a beta to pub, rather than a regular release, given that the current version in dev is a beta.

When will the beta version be released?

When will the beta version be released?

any progress at this issue i am facing problem after upgrading to flutter 3.10.x

Folks, the first beta of version 2 is now available on pub. Please try it out and let me know if this resolves your issues.
https://pub.dev/packages/macos_ui/versions/2.0.0-beta.1

2.0.0-beta.1

Forks fine for me 👍

Cool! Thank you! Appreciated this much.


Internationalization of documentation

Feature description:
I'd like to translate our project documents (such as the code of conduct, contributing guidelines, and readme) from English to Ukrainian language.
Describe the solution you'd like
Translate docs to another language to help developers, who understand Ukrainian, analyze our docs way faster.
I'd like to work on this issue

Hey @alienqqe thanks for contributing to Focusly. Issue assigned.

Closed.


YSorting for 2D Games

In order so sort the player properly in front or behind other objects based on position, Godot has the YSort Node.
Example:

Without YSort:

For the ZoneLoadingSystem, that can be almost achieved by converting the World, ZoneLoader and Root Nodes of the Zones to YSort Nodes. But:
Issue: The zones get attached to the trigger-Area2Ds, which breaks a potential YSort tree-connection to the player.
Proposed Solution:that could be fixed by reworking the structure to attach both the trigger-Area and the zone to a YSort-Node, which is a child of the ZoneLoader.
Why this isn't a pull request yet: But since that is not needed in 3D, that would split the script or add a layer of not needed nodes in 3D.
An alternative Solution would be to reparent the Player from the World to the Zone they are currently in.
I do not have enough experience to judge which is the best approach with Godot. I just assume that keeping the script identical for 2D and 3D if possible is desired.
Edit: i just realized that this is pretty much a "i don't know what path to take" issue, which i usually try to avoid and just make a pull request. But i haven't worked on a demo like this yet, so i am pretty much unsure on how generalized this should be kept, versus just tailoring it to my personal project.

Hello!
Thank you for the detailed explanation, I think I understand the problem, but I need to play with the example to be sure there is not a better solution.
I want to keep the basic example as simple as possible (it is already quite complex). Since this is for a specific need, what I propose is to create a new example 2D_with_ysort with your demo and specific scripts, is it ok for you? I have nothing against splitting the scripts, it was just easier for updates, but if it is not possible, so be it.
Did you create the graphics? Are you ok to release them under CC0?
(btw red is acting very sus, I think he might be a sneaky little impostor)
Can you create a pull request?
Thank you!

Hi.
The demo shown above doesn't use the ZoneLoadingSystem, it was just made to highlight what YSorting does.
I'll rebuild it with using the ZoneLoadingSystem and the solution i came up for my personal project, so i can actually pull request something as an extra demo for the ZoneLoadingSystem. Which i then would also be fine with releasing under CC0.

Ok, if you need assets I propose to use this tileset: https://0x72.itch.io/16x16-dungeon-tileset
It is CC0 so we can use it in the demo.

Hello.
I want to tell you I just started working on a 2D example with ysort. Tell me if you already had something ready.
Thanks.

I was away for most of the weekend till now.
What i have: the idea to just add a YSortNode where currently the ZoneTrigger Area2Ds are, and have both the Area and then the actual zone as children to the YSortNode. I figured that i can move the ZoneTrigger-Script to the YSort-Node, and only leave the configuration warning and the signal connection in a script for Area2D.
I have nothing that works, though, i was just picking apart the current demo so far.

I think i have it working, ill need to build demo zones, test it, and clean it up, then ill open a pull request.
if you want to have a look already, it's https://github.com/Wrzlprnft/ZoneLoadingSystem
basically did what i described in the comment above, just very... not nice, lots of get_parent() spliced in there atm

I tested your demo, but it is weird, the player disappears when at the centre of a zone, it guess it goes below the zone.
Here is a video:
https://www.dropbox.com/s/sq10z3kuefzbb4k/Zone Loading System 2020-10-22 18-35-42.mp4?dl=0

Yes! That is acutally the correct behaviour, since the zones are not adapted at all yet. And it sorts based on the Y Position, and one the player is "above" the center, it gets sorted to the back. Don't worry, that will go away once the zones are changed, and a proper background is included.

Updated the demo zones in my fork. They now work as intended. Set the Z-Index of the colored polygons, so they are always below the player. Added "NPC's the Player can go in front of, or behind. Also added some provisory tilemaps as placeholders for now. Code and structural cleanup still standing out before ready to PR.

Ok, I integrated your pull request, that is awesome, thank you very much for improving this template, nice work :)
I have not yet looked into the code/structure, but I have renamed topdown to 2D and angled to ysort, I think it is simpler and less confusing that way.


Implement all different resolutions

Pull request details
Describe the changes made in this pull request
WIP

List of related issues or pull requests
Closes #344
Collaboration confirmation
As a contributor I confirm

[ ] I read and followed the instructions in README.dev.md
[ ] The documentation is up to date with the changes introduced in this Pull Request (or NA)
[ ] Tests are passing
[ ] Lint is passing

@datejada, do you see anything obviously wrong in these short 15k lines: https://gist.github.com/abelsiqueira/91889edd1b9b065dbe396e355185a9e1

This is the feasibility report:
  consumer_balance[demand,1,23:23] : flow[(ocgt, demand), 1, 23:23] + flow[(ccgt, demand), 1, 23:23] + flow[(wind, demand), 1, 23:23] + flow[(solar, demand), 1, 23:23] … => 2.27374e-13
  consumer_balance[demand,3,14:14] : flow[(ocgt, demand), 3, 14:14] + flow[(ccgt, demand), 3, 14:14] + flow[(wind, demand), 3, 14:14] + flow[(solar, demand), 3, 14:14] … => 1.13687e-13
  consumer_balance[demand,1,8:8] : flow[(ocgt, demand), 1, 8:8] + flow[(ccgt, demand), 1, 8:8] + flow[(wind, demand), 1, 8:8] + flow[(solar, demand), 1, 8:8] + flow[(en… => 1.13687e-13
  consumer_balance[demand,1,12:12] : flow[(ocgt, demand), 1, 12:12] + flow[(ccgt, demand), 1, 12:12] + flow[(wind, demand), 1, 12:12] + flow[(solar, demand), 1, 12:12] … => 1.13687e-13
  consumer_balance[demand,2,11:11] : flow[(ocgt, demand), 2, 11:11] + flow[(ccgt, demand), 2, 11:11] + flow[(wind, demand), 2, 11:11] + flow[(solar, demand), 2, 11:11] … => 1.13687e-13
  consumer_balance[demand,1,20:20] : flow[(ocgt, demand), 1, 20:20] + flow[(ccgt, demand), 1, 20:20] + flow[(wind, demand), 1, 20:20] + flow[(solar, demand), 1, 20:20] … => 2.27374e-13
  consumer_balance[demand,1,15:15] : flow[(ocgt, demand), 1, 15:15] + flow[(ccgt, demand), 1, 15:15] + flow[(wind, demand), 1, 15:15] + flow[(solar, demand), 1, 15:15] … => 1.13687e-13
  consumer_balance[demand,1,21:21] : flow[(ocgt, demand), 1, 21:21] + flow[(ccgt, demand), 1, 21:21] + flow[(wind, demand), 1, 21:21] + flow[(solar, demand), 1, 21:21] … => 2.27374e-13

@datejada, now a more reasonable comparison: https://gist.github.com/abelsiqueira/92c975ec412848246ffd7ac4545f9017
Old and New are different, because of the resolution of the hub and conversion. And possibly something else.
I used https://meldmerge.org to compare these two files more easily.

@abelsiqueira I expect it to be different since we are changing the strategies. For instance, the hub was previously defined in the lowest resolution and will now be in the highest. So, let me check it with @g-moralesespana tomorrow in the office and let you know an answer.
BTW: Can this branch be in the main repo to do a benchmark? Since we are creating more constraints, I would like to see the impact on the performance. Thanks!

When I manage to fix it I will push to the main repo.

Hi @abelsiqueira, I have reviewed the LP files. The new one is according to the table in #344. So, the changes in the hub balance, conversion balance, and the phs output and input limits are expected 😄
This means that the objective function in the Tiny case study with the variable resolution must change. The Norse objective function will also change. But, the Tiny and the EU benchmark cases cannot change the objective functions compared to the existing ones.
German is on holiday for the rest of the week, but we can show him the LP on Monday.
Thanks!

But it's infeasible for the variable resolution case. So something is wrong, no? I am (trying) to finalise the aggregation changes as well, but if I did it right, it is still infeasible!?
Anyway, some exclamation marks for drama, but the question is whether the model has some issue or the code has some issue.

In particular, as an example, what should be the constraints max_output_flows_limit for wind?

Ah! ok, sorry, I didn't understand that it was infeasible 😞
So, it is more challenging then. Let me see it in more detail and come back to you. It will take more time than I thought

@abelsiqueira The problem is that this constraint shouldn't have the duration multiplying the transport flow (or you multiply the duration in the RHS).
max_transport_flow_limit[(balance,demand),1,1:3] : 3 flow[(balance, demand), 1, 1:3] <= 200
In the old file was:
max_transport_flow_limit_(balance,demand),1,1_3_: 3 flow_(balance,_demand),_1,1_3 <= 600
Fixing this will make it feasible 😄

@abelsiqueira Sorry, I might not have been totally clear in my previous comment. The equation that we expect is the following:
max_transport_flow_limit[(balance,demand),1,1:3] : flow[(balance, demand), 1, 1:3] <= 200
The thing is that in the previous version, it was ok because it is equivalent to the one in this comment. Only because the durations on both sides were cancelled.
I hope this comment make it more clear 😄

I've updated the model but it is still infeasible. The latest version is new.lp on https://gist.github.com/abelsiqueira/92c975ec412848246ffd7ac4545f9017
There are more changes than just this last duration change. I also change the aggregation of the flows for some cases - When you have power, right?
Anyway, I will make the PR cleaner soon, so we can discuss it Monday if we can't find anything today.

@abelsiqueira, The implementation is according to what we defined, so thanks for that.
We need to review what we defined @g-moralesespana on Monday, especially the conversion balance. By doing the conversion balance in power, the problem can become infeasible because it is too restrictive (and it might be wrong?), and the conversion balance would make more sense to do it in energy, but let's discuss it.
These are the constraints that are making it infeasible:
 consumer_balance_demand,1,1_3_ : flow_(balance,_demand),_1,_1_3_ == 85
 consumer_balance_demand,1,4_6_ : flow_(balance,_demand),_1,_4_6_ == 69.99999999999999
 hub_balance_balance,1,3_3_ : flow_(ccgt,_balance),_1,_3_3_ + flow_(wind,_balance),_1,_3_6_ + flow_(phs,_balance),_1,_1_4_ - flow_(balance,_demand),_1,_1_3_ == 0
 hub_balance_balance,1,4_4_ : flow_(ccgt,_balance),_1,_4_4_ + flow_(wind,_balance),_1,_3_6_ + flow_(phs,_balance),_1,_1_4_ - flow_(balance,_demand),_1,_4_6_ == 0
 conversion_balance_ccgt,1,3_3_ : flow_(H2,_ccgt),_1,_1_6_ - flow_(ccgt,_balance),_1,_3_3_ == 0
 conversion_balance_ccgt,1,4_4_ : flow_(H2,_ccgt),_1,_1_6_ - flow_(ccgt,_balance),_1,_4_4_ == 0

If one starts replacing the constraints, the resulting constraints in the hub balance are:
 hub_balance_balance,1,3_3_ : flow_(H2,_ccgt),_1,_1_6_ + flow_(wind,_balance),_1,_3_6_ + flow_(phs,_balance),_1,_1_4_  == 85
 hub_balance_balance,1,4_4_ : flow_(H2,_ccgt),_1,_1_6_ + flow_(wind,_balance),_1,_3_6_ + flow_(phs,_balance),_1,_1_4_  == 69.99999999999999

Which clearly is infeasible 😞
Having the conversion balance in energy and keeping the output limit in power is the solution.

@abelsiqueira, small fix: would you mind adding a name to the storage level max limit constraint? currently, it doesn't have a name, so it appears as cXX in the lp file. Thanks!

Done


[HELP] What is the factor used in plotting and how is it calculated?

Question
In examples/data_collections.ipynb, the factor argument for plot_image is given a value of 3.5 / 255. What is this factor and how is it calculated? Is it only used for the sake of visualization?

As you suspected, it is used only for visualization purposes. Without it the images are often darker than what we're used to and it makes it harder to see details. For some lighter areas (deserts) you can probably reduce it a bit.

Thank you for the clarification. Do you normally clip very high values? For example, ESA suggests that the saturation level of 255 digital counts correspond to a level of 3558 for L1C products or 2000 for L2A products in this document: https://sentinels.copernicus.eu/web/sentinel/user-guides/sentinel-2-msi/definitions.

Depends on the usecase. For visualizations we often multiply with 3.5 and then clip back down to 255 (or divide by 255 and clip to 0 and 1).


Named exports as default export

native-url exposes methods thorugh named exports. To get default Node url behavior you would need to import entire module contents
import * as url from 'native-url'; // or 'url' if aliased`

This is fine for your own code, but dependencies will throw error since they can’t find default export by default, and most 3rd party code using Node url depend on that default export to be available.
To fix this, it’s best to make changes to code at compile time to expose every named export as property of object which should be default export.
Here is a Babel plugin code which achieves that:
const babel = require('@babel/core');

const plugin = babel.createConfigItem(({ types: t }) => {
	return {
		visitor: {
			ExportNamedDeclaration(path, parent) {
				const properties = path.node.specifiers.map((node) => ({
					exported: node.exported.name,
					local: node.local.name
				}));
				path.insertAfter(
					t.exportDefaultDeclaration(
						t.objectExpression(
							properties.map((prop) =>
								t.objectProperty(
									t.identifier(prop.exported),
									t.identifier(prop.local)
								)
							)
						)
					)
				);
			}
		}
	};
});

And here is how you apply it with Webpack:
{
	test: /\.m?js$/,
	include: /node_modules\/native-url/,
	use: [
		{
			loader: 'babel-loader',
			options: {
				plugins: [plugin]
			}
		}
	]
};

After that you can use both modules’ named exports as default export.
Is this something which should be documented for both Webpack and Rollup, or should native-url expose default export by default?

The exports are the same as the default node-url library which webpack uses when bundling for client
I'm assuming everyone developed their libraries based on node-url's export interface (which is the same as url) coupled with babel and Webpack/rollup to handle the resolution? If thats the case this won't be an issue.
I'm curious to know cases when people have used the default import, since both url and node-url don't support it?
Please let me know

@janicklas-ralph using require doesn’t throw warning, but using import does:
Hash: 30643d8377069131206c
Version: webpack 4.43.0
Time: 113ms
Built at: 2020-05-20 11:16:05
 Asset      Size  Chunks             Chunk Names
out.js  14.4 KiB       0  [emitted]  main
Entrypoint main = out.js
[./index.js] 125 bytes {0} [built]
    + 5 hidden modules

WARNING in ./index.js 4:0-3
"export 'default' (imported as 'url') was not found in 'url'

WARNING in ./node_modules/dependancy/index.js 3:0-3
"export 'default' (imported as 'url') was not found in 'url'
 @ ./index.js

This happens because the module is being imported as ESM. node-url is only published as CJS, so it always triggers emulated exports.default in Webpack.
@janicklas-ralph - It might be worth removing the module entry to make it exactly the same as node-url?

@developit maybe export object as default export and rely on tree-shaking from bundlers for any unwanted exports?


Add object type conversion when calling / returning Generic Object methods.

Generic Object relationships are defined and implemented for AR objects.
Generic Object methods are defined as for AR objects and implemented in automate model.
Converting the object into AR model object when calling the generic object methods from automate as these methods are defined as AR model methods.
Converting the object into service model object when returning the generic object method results back to automate.
Fix #11728.
cc @gmcculloug @bzwei @mkanoor

@bzwei Updated.

LGTM

@gmcculloug Anything to update?

@miq-bot add_label euwe/yes

Validated changes.  Thanks!

@lfu is there a BZ for this?

@simaishi There is no BZ for it.

BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1410920

Euwe backport details:
$ git log -1
commit 98ccfa5427f48df0ce80e951c7badbedee0e7496
Author: Greg McCullough<EMAIL_ADDRESS>Date:   Mon Nov 28 09:59:17 2016 -0500

    Merge pull request #11811 from lfu/go_service_model_convert_11728

    Add object type conversion when calling / returning Generic Object methods.
    (cherry picked from commit 66240adf46bfb28e0c40594e525068fec3b90518)

    https://bugzilla.redhat.com/show_bug.cgi?id=1411357


AAD group member not logged as external_user_s

As outlined in Azure MySQL Audit Logs and Azure AD Authentication Learnings, it should be possible to log the individual user if that user logged in with the AAD group name and the access token obtained previously.
However, in my case, external_user_s is either b677c290-cf4b-4a8e-a60e-91ba650a4abe (Cloud Shell App ID) or 04b07795-8ddb-461a-bbee-02f9e1bf7b46 (CLI App ID).
Is there any guidance on how to make the actual user appear as external_user_s (or any other logging attribute)?
--

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

ID: 0b2910bd-55dc-3618-b128-2ac858829ec0
Version Independent ID: a9cab8cc-fb10-f3f3-6dbc-ce657609258d
Content: Use Azure Active Directory - Azure Database for MySQL
Content Source: articles/mysql/howto-configure-sign-in-azure-ad-authentication.md
Service: mysql
GitHub Login: @lfittl-msft
Microsoft Alias: lufittl

@FelixS90 Thank you for the feedback. We are actively investigating and will get back to you soon.

@FelixS90 We really appreciate bringing these queries upfront but GitHub is mostly used to track specific document related queries.
We’d be happy to answer this on the Microsoft Q&A or  StackOverflow and walk you through whatever might be giving you trouble.
Doing this on the forums allows us to help out other people who may have the same questions as you.

@FelixS90 We will now proceed to close this thread. If there are further questions regarding this matter, please comment and we will gladly continue the discussion.

@AnuragSharma-MSFT Re-posted as suggested.


Guest account

The SID S-1-5-32-546 is referred as Guest account when it is the group of Guest accounts

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

ID: 74d32ee6-c7ff-9328-97d6-40ad82c73392
Version Independent ID: 01f10cbb-4cae-077f-8245-7b0ada8305d7
Content: Local Accounts (Windows 10)
Content Source: windows/security/identity-protection/access-control/local-accounts.md
Product: w10
GitHub Login: @Justinha
Microsoft Alias: justinha

@iWdGo Thanks for citing this. I made the correction.


Add a dockerfile for jekyll website

This dockerfile is different than the one for my website, but does basically the same thing.
This one uses ubuntu, so the commands look just about the same as when you built the jekyll template on your computer. Take a close look at all the stuff in there and a lot of the commands should look familiar.


Updated Plasma Cash page to remove duplicate text

It looks like the text in the first paragraph or two were duplicated in the Plasma Cash page. Suggesting to remove one of the sections.

Good catch. Merging!


@nestjs/core vulnerable to Information Exposure via StreamableFile pipe #22

Context
Moderate dependabot issue
https://github.com/US-EPA-CAMD/easey-camd-services/security/dependabot/22
Private Zenhub Image
Private Zenhub Image

Has been resolved.


Disable Hypothesis deadlines in spreadsheet tests

By default, Hypothesis imposes a 0.2s deadline on tests and treats them as failing if they exceed this (https://hypothesis.readthedocs.io/en/latest/settings.html).
However, these spreadsheet tests can be slow - they're manipulating spreadsheets after all! So the tests sometimes fail because they slightly exceed the deadline. For example, https://github.com/alphagov/digitalmarketplace-utils/runs/1880009563?check_suite_focus=true and https://github.com/alphagov/digitalmarketplace-utils/runs/2467835277?check_suite_focus=true.
Disable the deadline for these tests so that they stop being flaky.
Fixes failure seen in https://github.com/alphagov/digitalmarketplace-utils/pull/610

I don't know enough about our use of Hypothesis to be able to answer you on that. I suspect they're useful, though, in saving us from having to list all the edge cases ourselves.

I think Github's having trouble. I merged this PR - https://github.com/alphagov/digitalmarketplace-utils/commit/33af50bc00db79ff7347731e1c93ff9af19e1f9f. But it doesn't seem to have linked it to this PR :shrug:


Feature/6 remove activeresource

WIP
REF #6

Added a generic Resource module without AR
Added middleware for parsing XML & handling errors.

Tasks:

[x] Add Faraday
[x] Update existing classes to work with Faraday

[x] Remove any usage of ActiveResource namespace.
[x] Remove any usage of active_support (e.g. String#underscore, String#constantize)
[x] Replace any usage of save with update

[x] Update tests & fix bugs until tests are green

[x] Add tests for Faraday middleware
[x] Add tests for Resource module & friends

[ ] Add YARD docs
[ ] Update docs

cc @DragosIorgulescu
It's stable now (tests are passing).  If you have time can you take a look over it and see if you agree with the approach and implementation here?

@raymond-wells I like the overall approach you took. Nice work

Ready to merge, broke out TODO comment to a separate issue.


clang-tidy complains about a catch handler catching a pointer value

Description
When analysing tests using the CHECK_THROWS_AS or REQUIRE_THROWS_AS macros, clang-tidy reports "catch handler catches a pointer value; should throw a non-pointer value and catch by reference instead [cert-err61-cpp]".
Steps to reproduce
Minimum reproduction code:
#include "catch.hpp"
#include <vector>
#include <stdexcept>

TEST_CASE("foo")
{
  std::vector<int> vec;
  CHECK_THROWS_AS(vec.at(42), std::out_of_range);
}

Extra information
I tried adding "nolint" comments to some place I believed were relevant but to no avail.

Catch version: v1.9.6
Operating System: Fedora 25
Compiler+version: clang-tidy 3.9.0

I am fairly sure you have wrong Catch version there 😉
Anyway, the underlying reason is that Catch 1 uses specified type verbatim, so to catch by const& you have to specify exception type with const&, like so
#include "catch.hpp"
#include <vector>
#include <stdexcept>

TEST_CASE("foo") {
  std::vector<int> vec;
  CHECK_THROWS_AS(vec.at(42), std::out_of_range const&);
}

In Catch 2, we will be adding the const& unconditionally, because it seems to be catching many people off-guard. See #955 for details.

Right, there was a "4" leftover in the version number from the template :)
Thank you for the explanation.


Compiler conformance: Quantum declaration

This pull request conforms QASM3-MLIR conversions of quantum declarations with the latest QASM3 grammar. Relevant to #190

Would such syntax be also valid:
qubit [4] q1, q2[3]
@amccaskey

Good question. My initial thought is no. You should be consistent in single line comma separated declarations. In the case you specify, I think qubit[4] implies a specific type (namely an array of 4 qubits) and that should be for all variables in the comma separated declaration.

sounds good 👍
I also think allowing both kind of declarations for qreg would make the grammar and the implementation simpler. Given that we are not planning to adhere exactly to the openqasm 3 grammar.
So have both:
qreg[4] q0;
and
qreg q0[4];.
It is obvious why this would make the grammar simpler. Regarding the implementation I either have to make two visitors or have a single visitor with and std::variant identifier list vector(one variant for 'qubit' identifier list and the other for 'qreg' identifier list). One would feel like an overkill and the other wouldn't be so clean. Atleast these are the implementations that I have in mind... @amccaskey


Updating to latest version of concourse

Updating packer build to use latest version of Concourse
Signed-off-by: Max Knee<EMAIL_ADDRESS>

Hey @maxknee and thanks for the PR! Looks good, just need to update the e2e tests so they expect Concourse 5.6.0 and worker version 2.2:
https://github.com/telia-oss/terraform-aws-concourse/blob/master/test/module_test.go#L35-L37

done!


Bump up timeout to reduce occasional timed out jobs.

E.g.
https://k8s-gubernator.appspot.com/build/istio-prow/pull/istio_istio/6494/e2e-simpleTests/5360/?

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

Test name
Commit
Details
Rerun command

prow/e2e-dashboard.sh
b25674bc9e930fb2ef3e4278540e40ec39483999
link
/test e2e-dashboard

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

/lgtm

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: hklai, kyessenov
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

tests/OWNERS [hklai,kyessenov]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

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

Test name
Commit
Details
Rerun command

prow/e2e-dashboard.sh
b25674bc9e930fb2ef3e4278540e40ec39483999
link
/test e2e-dashboard

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


ESXI static IP setup on all ports fails now

ESXI static IP setup on all ports fails now after this commit:
https://github.com/RackHD/on-http/commit/bbfb7fd52fce29fcc5d2b0690997d56da6b60172
I suggest to revert the changesat : https://github.com/RackHD/on-http/commit/bbfb7fd52fce29fcc5d2b0690997d56da6b60172#diff-18c4b1cfd6087ff2dd6ec5b5d5fc57a0L35
for ESXI by adding the postlookup back to the KS script.

@keedya We can move setting static IP to %post, and make curl callback file  work before the part of setting static IP. And we will create a story to solve the problem for all other OSes except Windows, which I think @uppalk1 will take it.
Thanks.

@keedya , @lanchongyizu's PR only on master, but NOT in the EMC internal release branch.
aka, in EMC internal release branch, ESXi static IP setup should be all set .
please confirm.
@lanchongyizu will work on the improvement later ( not urgent impact to EMC internal release.)


drift

how to make one to many relation ship?? and encode it to json???

You can define one-to-many relationships just like you would define them with SQL too: Reference the "one" table from a column in the "many" table. To query those relationships, use joins. There's no builtin way to encode join results to json, but you can encode the two tables and combine the results into a new map.

please can you write in docs how to make relationship like one to one one
ot many?
because in docs field "relationship" is not understandable
On Wed, Feb 16, 2022 at 4:52 PM Simon Binder @.***>
wrote:

You can define one-to-many relationships just like you would define them
with SQL too: Reference the "one" table from a column in the "many" table.
To query those relationships, use joins. There's no builtin way to encode
join results to json, but you can encode the two tables and combine the
results into a new map.
—
Reply to this email directly, view it on GitHub
https://github.com/simolus3/moor/issues/1688#issuecomment-1041359773,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMSEAKU5SDYEAZIKIRJL5VLU3N6X7ANCNFSM5ORDFUBA
.
You are receiving this because you authored the thread.Message ID:
@.***>

dear friend*
On Wed, Feb 16, 2022 at 4:52 PM Simon Binder @.***>
wrote:

You can define one-to-many relationships just like you would define them
with SQL too: Reference the "one" table from a column in the "many" table.
To query those relationships, use joins. There's no builtin way to encode
join results to json, but you can encode the two tables and combine the
results into a new map.
—
Reply to this email directly, view it on GitHub
https://github.com/simolus3/moor/issues/1688#issuecomment-1041359773,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMSEAKU5SDYEAZIKIRJL5VLU3N6X7ANCNFSM5ORDFUBA
.
You are receiving this because you authored the thread.Message ID:
@.***>


Greg contact

add social media icons to contact page. Issue #1543

Konstantin took care of this with a new social-share class.


New border type tool: solid line, dashes, dots and dashes + bug-fixes

Functionality that disables Mirador comment popup and tooltips and notifies external applications
Bug-fix: change implementation of resize function because latest merges assosiated with image coordinates doesn't work fine. It can be reproduced with the only image from http://oculus-dev.harvardx.harvard.edu/manifests/drs:48309543
Bug-fix: #764
CSS customization

A few more things:

The three drop downs for border color, fill color, and border type should all be drop downs that are triggered by hover/mouse enter.  It is inconsistent for two of them to have the downward caret but require clicking, while the third one does not require clicking but has no indicator that is a dropdown menu.  Following #784, all three should be dropdown menus that are triggered using hover/mouse over.  The border type menu does not need the pencil icon again, but instead needs the downward caret.
Since the border type and border color are related, they should be next to each other.
Compared to the border color and fill drop down menus, the border type drop down menu has space between the icon and the actual menu.  These all need to be perfectly consistent.
The texts for Cancel, Choose, and the border type names all need to use i18n, and cannot be hardcoded to English.

I think the only think that I haven't worked on is the background URL. This type of URLs exist before my commit and I don't know what to do with them.

The way we are currently handling background URL is to do something like this in the JS: https://github.com/IIIF/mirador/blob/master/js/src/viewer.js#L42.  It's not pretty and we will refactor it using LESS at some point in the future, but at least doing this guarantees that the images won't be broken for people who must put the images folder in a non-standard location.

Done.

A small typo in the English translation file: it needs to be &, otherwise it doesn't display the text properly for the border types.
I'm also getting weird behavior where the color pickers still stay half visible when I hover away from the drop down menus:

The border drop down doesn't have the same problem.  I can make it hidden by either clicking Choose/Cancel or moving my mouse onto a different icon in the annotation selection of icons.
Also, I'm encountering this weird behavior:

I click a shape to edit it
It's border and fill colors are different than the colors set in the two drop down menus
I hover over the two color drop down menus and hover away (I do not click Choose)
My shape's colors get changed to those that were in the drop down menus despite not actively Choosing them for that shape
I do not get this behavior with the border type drop down.

Everything else is working as expected.

Weird effect was removed and hover effect over the color pickers works fine.

I found something else that is inconsistent:

I refresh Mirador in my broswer and I go to each of the drop down color menus and click on one of the pre-populated colors, but I don't click Choose.  The color in the icon changes so it looks like I have selected those colors for my shape.
I draw a shape - it retains the original border color/fill (deepSkyBlue for border, no fill) despite the fact that the drop down menus show different colors.
If, after choosing the color, I click Choose, then I get the correct colors when I draw the shape.

I compared this to release2.1 and it properly changes the color if a user clicks on a color and doesn't click on Choose.

Yes, that is because I removed changing color on close (the previous weird effect).

I've added some modifications and the result is as described below:

the only way to change the color of selected shape is by click on 'Choose' button.
if user selects different color from default palette or by changing transparency, or color the color of selected shape is not updated by the next created shape will have the new changes.
I think that is the most flexible solution.

There are couple of lines that fail when the window/object config has "annotationCreation" set to false:
https://github.com/stanislavkostadinov/mirador/blob/master/js/src/widgets/contextControls.js#L62
https://github.com/stanislavkostadinov/mirador/blob/master/js/src/widgets/contextControls.js#L118
since fillPicker.find(".sp-cancel") is empty when "annotationCreation" is false.

Closing this since it will be redone as a PR to annotation-work per @beaudet


Typos flagged by the IBM Quantum Platform automatic spellchecker

Summary
As part of its build, IQP now has an auto-spellchecker, and it flagged several minor typos in the API refs that are surfaced in IQP from the Qiskit/qiskit repo.  Fixing them in this PR; hope this is the best way to contribute this kind of fix!--feedback welcome!
Details and comments
🍎 "Low-hanging fruit" 🍎

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
10 unchanged lines in 3 files lost coverage.
Overall coverage increased (+0.02%) to 87.273%

Files with Coverage Reduction
New Missed Lines
%

crates/qasm2/src/expr.rs
1
93.76%

crates/qasm2/src/lex.rs
3
91.39%

crates/qasm2/src/parse.rs
6
97.6%

Totals

Change from base Build<PHONE_NUMBER>:
0.02%

Covered Lines:
74279

Relevant Lines:
85111

💛  - Coveralls


Devcluster image build

I define a new image build task called daisy-build-derivative-images.yaml which don't require var iso and google_cloud_repo. This could also be used  by bare metal workflow.
Rename devcluster to dev or development for workflow name and bucket name.

/assign @zmarano

/assign @zmarano


device_tracker.icloud_lost_iphone service doesn't work since 0.85.1

Tracking the iPhone is working well, since Home Assistant Version 0.85.1 i am getting the following error:
2019-01-17 20:35:29 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.1944567632] Error handling message: {'type': 'call_service', 'domain': 'device_tracker', 'service': 'icloud_lost_iphone', 'service_data': {'account_name': 'richard'}, 'id': 21}
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/websocket_api/decorators.py", line 17, in _handle_async_response
    await func(hass, connection, msg)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/websocket_api/commands.py", line 148, in handle_call_service
    connection.context(msg))
  File "/usr/local/lib/python3.6/site-packages/homeassistant/core.py", line 1121, in async_call
    self._execute_service(handler, service_call))
  File "/usr/local/lib/python3.6/site-packages/homeassistant/core.py", line 1145, in _execute_service
    await self._hass.async_add_executor_job(handler.func, service_call)
  File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/device_tracker/icloud.py", line 104, in lost_iphone
    ICLOUDTRACKERS[account].lost_iphone(devicename)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/device_tracker/icloud.py", line 448, in lost_iphone
    if str(device) == str(self.devices[devicename]):
KeyError: None

Same here, using 0.88.1. got this error call stack when trying to call device_tracker.icloud_lost_iphone service:
Traceback (most recent call last):
  File "/usr/src/app/homeassistant/core.py", line 1142, in _safe_execute
    await self._execute_service(handler, service_call)
  File "/usr/src/app/homeassistant/core.py", line 1155, in _execute_service
    await handler.func(service_call)
  File "/usr/src/app/homeassistant/components/script/__init__.py", line 115, in service_handler
    context=service.context)
  File "/usr/src/app/homeassistant/components/script/__init__.py", line 173, in async_turn_on
    kwargs.get(ATTR_VARIABLES), context)
  File "/usr/src/app/homeassistant/helpers/script.py", line 131, in async_run
    await self._handle_action(action, variables, context)
  File "/usr/src/app/homeassistant/helpers/script.py", line 210, in _handle_action
    action, variables, context)
  File "/usr/src/app/homeassistant/helpers/script.py", line 299, in _async_call_service
    context=context
  File "/usr/src/app/homeassistant/helpers/service.py", line 85, in async_call_from_config
    domain, service_name, service_data, blocking=blocking, context=context)
  File "/usr/src/app/homeassistant/core.py", line 1133, in async_call
    self._execute_service(handler, service_call))
  File "/usr/src/app/homeassistant/core.py", line 1157, in _execute_service
    await self._hass.async_add_executor_job(handler.func, service_call)
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/app/homeassistant/components/device_tracker/icloud.py", line 104, in lost_iphone
    ICLOUDTRACKERS[account].lost_iphone(devicename)
  File "/usr/src/app/homeassistant/components/device_tracker/icloud.py", line 448, in lost_iphone
    if str(device) == str(self.devices[devicename]):
KeyError: None

I am working on an iCloud component upgrade, I'll take a look at it at the same time.

The issue is not resolved yet.
Regards
Richard

Happens to me as well.


[Tests] Increase yeoman generator timeout

The tests were failing on my MBP till I increased the timeout... this should help Travis without making the tests too slow in case there is a real issue. The timeout is now 5 seconds (15sec for Android). If the generator completes before then, the test will proceed. Otherwise the tests will just move on and probably fail (which is what's currently happening).

The timeout was fine... looks like there is a problem with writing to the yeoman tmpdirs.


Char callback and release event

Is there any particular reason that there isn't key release event available under GLFWcharfun?
It's really hard to me to distinguish when for example simple question mark is released. On my english keyboard '?' is  Shift+/, on other layout is Shift+,. While getting lowercase of normal alpha keys is simply determined with keypress callback and determining if shift is pressed, all characters that are invoked with pressing shift, alt and some key if almost impossible to determine if key is released.
Or is there any workaround for this kind of problem?

The character callback is intended for receiving textual input, as there isn't always a direct relationship between keys and characters (e.g. for languages that use don't use the English alphabet). See https://en.wikipedia.org/wiki/Input_method.
If you care about particular key press/release events, then you want the key callback. In this case your problem will be identifying which glfw keycode maps to a particular key in a particular keyboard layout. Maybe glfwGetKeyName is of use?

As I see it should help, but it doesn't. Key callback returns same key and scancode if I press either 'A' or 'a', so the result from glfwGetKeyName is always A. Same for / and ?, result is always /.

Key callback returns same key and scancode if I press either 'A' or 'a'

Surely this is desired behaviour, since they are actually the same key? The mods parameter should tell you if Shift was held when the key was pressed.
Unfortunately I don't know of a keyboard-layout agnostic way of detecting "the key with '?' on it was released". Can someone else weigh in?

Surely this is desired behaviour, since they are actually the same key? The mods parameter should tell you if Shift was held when the key was pressed.

yea I saw that scancode is only used in key callback if GLFW_KEY_UNKNOWN is got in key parameter.
I would like to go back to my first question.
I understand that key callback is useful in its own way. You can get several keys pressed, you can ignore caps, you can get shift, ctrl, alt and all other keys pressed/released.
I don't understand why there isn't released/repeat event fired in char callback function. It is useful also. With key function I'm not sure that even lowercaps a is pressed if you press A. I just presume that SHIFT+A is uppercaps A. With key callback I can tell if shift is pressed/released and if 'a' is pressed/released. With char callback I should have only get 'A' char. But also there should be release event.
It's a bit crazy that I need to hack, just to get if any char is released. It's basic behavior that should be available and easily implementable.

From http://www.glfw.org/docs/latest/input.html#input_key:

GLFW supports text input in the form of a stream of Unicode code points, as produced by the operating system text input system. Unlike key input, text input obeys keyboard layouts and modifier keys and supports composing characters using dead keys.

The keywords are that text input is a stream of characters. It's one character, followed by another, followed by another.
There is no explicit relationship to keys, presses, or releases, it's just a series of characters. They can be produced by a keyboard, a joystick, or a microphone with a voice-to-text system; that's up to the operating system.
If you're building a user-level application and you want to support text entry, you should use text input API of GLFW to get characters, and key presses/releases do not apply. If you want physical keyboard button presses/releases, use key input, which has no notion of keyboard layout.
If you're building a low-level systems application and you want to do something custom, then it's likely you'd want to use the key input and build your own text abstraction engine on top of that.
GLFW's API is optimized for user-level applications that follow UI principles of the underlying OS, which is why it exposes the information as described above.
Does that help answer your question?

@tombsar and @shurcooL explained the issue very well. Closing this.


Pons translator only returns the first word

deep_translator version: 1.1.3
Python version: 3.8.5
Operating System: Linux

Description
The Pons translator only returns the first word of the translation - even if the first entry of the list of all results contains multiple words.
What I Did
deep_translator.PonsTranslator(source='german', target='english').translate('laufen') returns 'to ' (expected would be 'to run' which is the first entry in the list returned by deep_translator.PonsTranslator(source='german', target='english').translate('laufen', return_all = True)).

Thanks for noticing this. I will work on fixing it ;)

Fixed in the new release == 1.1.4


io.netty.channel.ChannelException when trying to connect to a local instance

Hi, I'm trying to start a MysqlAsyncContext driver to connect to localhost SQL running in a Docker container (I am using sbt-docker-compose to set up integration tests).
I am getting the error

The future returned an exception of type: io.netty.channel.ChannelException, with message: Unable to create Channel from class class io.netty.channel.socket.nio.NioSocketChannel.

Any advice on how to go about debugging it?
Version: 2.3.2
Module: MysqlAsyncContextD
Database: mysql:5.6
@getquill/maintainers

@eugenemiretsky Hello,
Have you followed example setup in http://getquill.io/#contexts-sql-contexts-quill-async-mysql ?
It'd be also helpful if you'd share reproducible example

Closing due to inactivity


Add Sphinx for automatic documentation

Combine that with #36

I'd like to keep it separate sub-task of #36.


Python GIL: Drop token race condition

PR https://github.com/dora-rs/dora/pull/568 drastically reduced some drop token timeouts to work around a "drop token race condition with the GIL". To reproduce the issue, the following example was posted: https://github.com/dora-rs/dora/pull/568#issuecomment-2205162981
The goal of this issue is to find the root cause of this bug so that we can increase the mentioned timeouts again. The problem with the reduced timeouts is that slower receivers (or receivers with larger queue sizes) might not be able to read the the last outputs of nodes after they exit.

@haixuanTao I reverted the changes of #568 on my machine and tried the example shown in https://github.com/dora-rs/dora/pull/568#issuecomment-2205162981 and I can reproduce the grace period kills. However, once I increase the grace period to 15 seconds, all nodes stop properly after a few seconds when I do a ctrl-c. Could you try whether this works for you too?

I see.
So a quick way to probably reproduce the problem, is to try to delete the node before the
git clone git@github.com:dora-rs/dora-benchmark.git --branch simple-drop-token-example
cd dora-rs/py-latency
dora up
dora start dataflow_node.yml
# Check the logs of having a warnings
vim node_2.py
# Go to end of file and try Example 2 and notice no warnings.

This should work with #568 change reverted.


[DWARF/Swift] All the mangled names are now in DWARF.

No need to do an AST lookup.
rdar://problem/48277264

@swift-ci test and merge


ARTEMIS-2508 Crititical analyser trigger shutdown if removeAllMessages

The crititical analyser trigger the broker shutdown if try to
removeAllMessages with a huge queue. The iterQueue is split so as
not to keep the lock too time.

@wy96f what about not use the page Executor for the delete?
The page executor was meant for cleanup and paging, not for deleting references on the queue.

I don't understand why we are using an executor now for removing? why not just remove the locks and keep the change simple?

hold a future waiting for the result has the same result as using the main thread anyway, right?

I used the page Executor because the iteration on paged queue seemed like quite similar to depage. Now I see your points of views so I'll just remove the locks and I'll keep it in the caller thread.

@wy96f what about not use the page Executor for the delete?
The page executor was meant for cleanup and paging, not for deleting references on the queue.

Yes, that's what i thought :)


Add a style option

This better handles high bit-depth images.
The style option is an optional json-encoded parameter.  It is either an object with "bands" followed by a list or a single entry as from that list.  Each entry is an object with all optional parameters.  These are:

band: either a number or a string.  If -1 or None, unspecified, the same as "gray".  If a number, a 1-based numerical index into the channels of the image.  If a string, one of ('red', 'green', 'blue', 'gray', 'alpha').  Note that 'gray' on an RGB or RGBA image will use the green band, and all colors on a greyscale image will use the luminance band.

min: the value to map to the first palette value.  Defaults to 0.  'auto' to use 0 if the reported minimum and maximum of the band are between [0, 255] or use the reported minimum otherwise.  'min' or 'max' to always uses the reported minimum or maximum.

max: the value to map to the last palette value.  Defaults to 255.  'auto' to use 0 if the reported minimum and maximum of the band are between [0, 255] or use the reported maximum otherwise.  'min' or 'max' to always uses the reported minimum or maximum.

palette: a list of two or more color strings, where color strings are of the form #RRGGBB, #RRGGBBAA, #RGB, #RGBA (or anything else PIL can parse).

nodata: the value to use for missing data.  null or unset to not use a nodata value.

composite: either 'lighten' or 'multiply'.  Defaults to 'lighten' for all except the alpha band.  Bands are composited in the order listed.

clamp: either True to clamp values outside of the [min, max] to the ends of the palette or False to make outside values transparent.

As part of this PR, this adds support for small OME TIFF images that aren't tiled.  Strips are aggregated together to make a minimum size, as serving individual strips is inefficient.
Add a histogram method and endpoint.

This has been field-tested, and new features will need to build on this.  Merging.


Any plans to allow package upgrade from module itself

Description of problem
Is your feature request related to a problem? Provide a clear and concise description of the problem.
Description of solution
Provide a clear and concise description of what you want to happen.
Description of alternatives considered
Provide a clear and concise description of any alternative solutions or features you have considered.
Screenshots
If applicable, provide screenshots to help explain your problem and/or feature.
Additional context
Add any other context about the feature that may be helpful with implementation.
Affected browser

[ ] Chrome
[ ] Firefox
[ ] Safari
[ ] Internet Explorer
[ ] Edge

This is a place for issue reporting, please utilize the community forums for questions/help.

I know there is no such a feature in latest DNN, Its a Feature request.


refactored splunkforwarder_version fact

Pull Request (PR) description

This Pull Request (PR) fixes the following issues

@posteingang thanks for the PR. Can you take a look at the failing spec tests?


Mobile gap rendering issue by CSS

From the get-go I made this plugin to work on mobile devices because their browsers disable the CSS property background-attachment: fixed;.
I've discovered smartphones have some rendering issues with the clip: rect(); property in CSS (tested on iOS). The current code spawn white gaps (or bg color) between parallax containers because it doesn't manage to draw fast enough, I think. I've been working on a fix for this, but given display: fixed; puts elements outside the DOM order, I'll maybe have to revamp the code to make it work with i.e. overflow: hidden; without performance decrease.
If anyone know how to iron this out pls let me know or submit a pull request :)

Found out this was not directly a phone issue, but a Safari browser issue.
Rendering now works properly on iOS phones with this added css 🎉
@media screen and (-webkit-min-device-pixel-ratio:0) {
  .parallax__container {
    clip: auto;
    -webkit-mask-image: -webkit-linear-gradient(top, #fff 0%, #fff 100%)
  }
}


Validate a modifier when submitting to methods

I am wondering, how can we validate a modifier with check() or schema.newContext()?

you must call check() in the method or perform your own validation since a user could bypass the client side validation.

That method will be called with three arguments:

document: the document resulting from the form submission.
modifier: the modifier object.
documentId: when updating an existing document, that document's _id (optional).

Thanks!

check(modifier, schema)

Thanks !


Add analytics

We should add our Google Analytics code to the page so we can continue to check interest categorized by region, browsers, etc.

For analytics, do you want the same identifier as on the main site? UA-19280770-1


'No conflict' configuration to avoid conflict between two swiper versions.

This is a (multiple allowed):

[ ] bug

[x] enhancement

[ ] feature-discussion (RFC)

Swiper Version: 4.5.0

Windows/Chrome 80.0.3987.132 (64-bit)

What you did
Tried to import two different Swiper versions.
Expected Behavior
Use a function like jQuery does to avoid conflict between versions and multiple imports.
https://api.jquery.com/jquery.noconflict/
Actual Behavior
Conflict between two swiper versions, the one that I import in my site and the other one that a plugin imports.

This won't landed and you shouldn't include 2 swipers into your codebase


[Enhancement] Add Void Damage To Combat Condition

Describe the solution you'd like
I think taking damage from void should be counted as in combat

Or rather a setting if environment damage should trigger combat


kube-anywhere doesn't work with multiple resource pools

I have a VC deployed with multiple clusters and hence multiple resource pools. I deployed the "KubernetesAnywhereTemplatePhotonOS" in one of the ESX boxes present in one of the clusters.
when I did make deploy, kube-anywhere fails to deploy and reports the following errors.
Error applying plan:

2 error(s) occurred:

* vsphere_virtual_machine.kubevm2: vm 'KubernetesAnywhereTemplatePhotonOS' not found
* vsphere_virtual_machine.kubevm1: vm 'KubernetesAnywhereTemplatePhotonOS' not found

Terraform does not automatically rollback in the face of errors.
Instead, your Terraform state file has been partially updated with
any resources that successfully completed. Please address the error
above and apply again to incrementally change your infrastructure.

Right now kube-anywhere doesn't take into consideration the resource pools as a config parameter that must provided to the user to be entered. This is in contrast with kube-up which needs a resource pool to be configured in order for kubernetes cluster to be created.
kube-anywhere right now works with single resource pool.
@abrarshivani  @kerneltime @pdhamdhere

Since there is no default resource pool in place, the user must provide in which resource pool to look for the template "KubernetesAnywhereTemplatePhotonOS" inorder to create the cluster.

This error was due to KubernetesAnywhereTemplatePhotonOS not found since it was located in folder Discovered virtual machine and this was not mentioned in the config file. I moved template to root VM folder and then it was not able to resolve resource pool due to multiple instance of same. Hence, I got different error which is as follows,
Error applying plan:

2 error(s) occurred:

* vsphere_virtual_machine.kubevm2: default resource pool resolves to multiple instances, please specify
* vsphere_virtual_machine.kubevm1: default resource pool resolves to multiple instances, please specify

Terraform does not automatically rollback in the face of errors.
Instead, your Terraform state file has been partially updated with
any resources that successfully completed. Please address the error
above and apply again to incrementally change your infrastructure.

While filling the config..
It asks for the - Template Name (phase1.vSphere.template) [KubernetesAnywhereTemplatePhotonOS]. This doesn't specify anything. Does the user have enough information that has be to path where the template is there on VC?
Can you add more information to READ me for this.

Fixed in https://github.com/kubernetes/kubernetes-anywhere/pull/293.


MVE, change Estimation to Expansion

Interestingly the PDF names the algorithm "Model-Based Value Expansion (MVE)", but the top page has "Model-Based Value Estimation". I think the algorithm is actually called as in the PDF.

Nice catch!


Sync dev with main

Fixes #332

LGTM. Maybe we should also update the RELEASE.md file with the changelog for the release.

Yes, we should definitely. But this is beyond the scope of this PR as it just merges commits from main into dev

Alright! Sorry about that and consider it approved then :)

Alright! Sorry about that and consider it approved then :)

Thanks for reviewing, nothing to be apologetic here, that's a good suggestion, we should update RELEASE.md soon.


Aurora DC failover scenario

Investigate how a cross-DC failover for a Aurora database works.
Possibly summarize the finding in a single slide and present it to the team. Investigate on how this can be scripted for an automated test.

Postponed for a later sprint.

Aurora Global DB deployments
Aurora Failover

Interesting read on Aurora High Availability in a single-DC-but-multiple-AZ setup, and Aurora global database and the concepts of "switchover" (manually planned) and "failover" (unplanned outage of primary) with their different "recovery time objectives" (RTO) and "recovery point objective" (RPO).
https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.AuroraHighAvailability.html / https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database-disaster-recovery.html

https://github.com/aws-samples/amazon-aurora-global-database-endpoint-automation

jFTR I tested failover and it takes around 8 minutes to switch from 1 region to another


Tweener replacement v1

not done yet

do we still need this now that conor is working on his own?

delet this


feat(front): download project[MARXAN-1477]

Download project
Overview
We are waiting for the call /api/v1/projects/{projectId}/export to return a userId so we can identify which user is downloading it.
In addition, I find a problem when downloading the project from the list, since the blocking screen of the async process would not appear in that list, since there are more projects.
Right now I have removed the stopPropagation on handleDownload function so that it can access the project dashboard, but it looks a bit strange.
Feature relevant tickets
MARXAN-1477

@anamontiaga  I don't know what I did... but having 122 commits and 377 files to merge is not ok to me. I'm going to close this PR and open a new one with your 6 commits you did... SORRY


⚠ UdeS website (prod) has degraded performance

In 8126882, UdeS website (prod) (https://www.usherbrooke.ca/) experienced degraded performance:

HTTP code: 200
Response time: 1289 ms

Resolved: UdeS website (prod) performance has improved in 70132c6.


StartServerCommand.class ,line 139 ,has a bug

Configuration configuration = readConfigFromFile(_configFileName);
if (configuration == null) {
if (_configFileName != null) {
LOGGER.error("Error: Unable to find file {}.", _configFileName);
return false;
}
configuration = new PropertiesConfiguration();   //useless

@dongyanfeng Can you elaborate why line 139 is useless? Code execution will reach line 139 iff configuration == null. And if it is null, you would need to create a new object. Please let me know if I am missing something.


Temporarily disable UT's to get a master build.

Codecov Report
Attention: 332 lines in your changes are missing coverage. Please review.

Comparison is base (15afc31) 61.02% compared to head (c605698) 47.48%.
Report is 3 commits behind head on master.

Files
Patch %
Lines

src/lib/logstore/log_dev.cpp
0.00%
185 Missing :warning:

src/lib/logstore/log_store_service.cpp
12.61%
96 Missing and 1 partial :warning:

src/lib/logstore/log_store.cpp
0.00%
17 Missing :warning:

.../lib/replication/log_store/home_raft_log_store.cpp
0.00%
13 Missing :warning:

src/lib/replication/repl_dev/solo_repl_dev.cpp
0.00%
7 Missing :warning:

src/lib/replication/repl_dev/raft_repl_dev.cpp
0.00%
5 Missing :warning:

src/lib/homestore.cpp
62.50%
1 Missing and 2 partials :warning:

src/include/homestore/homestore.hpp
0.00%
1 Missing and 1 partial :warning:

src/include/homestore/logstore/log_store.hpp
0.00%
1 Missing :warning:

src/lib/logstore/log_dev.hpp
0.00%
1 Missing :warning:

... and 1 more

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff             @@
##           master     #303       +/-   ##
===========================================
- Coverage   61.02%   47.48%   -13.55%
===========================================
  Files         109      107        -2
  Lines        9180     9275       +95
  Branches     1184     1197       +13
===========================================
- Hits         5602     4404     -1198
- Misses       3055     4406     +1351
+ Partials      523      465       -58

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Tool environment link is broken

the "tool environment" link near the bottom of this page does not go anywhere

Thx! Will fix that in the next push of the docs site.

Fixed in sync (https://github.com/UKGovernmentBEIS/inspect_ai/commit/210e5fa7d8e07547f99d34ffc1caa3f03dbe8252). Note the doc site will be redeployed when we push PyPI (next 2-3 days).


Simpler 4844 prove method

Previously I was against changing the 4844 code due to it already been auditted, however the code has changed quite a lot since we added 7594 methods, so it may be feasible to change that code given it will likely need to be auditted again.

Testing the difference:
BenchmarkOpenMonomial-10    	     100	  10691245 ns/op	  406979 B/op	     180 allocs/op
BenchmarkOpenLagrange-10    	     124	  10653541 ns/op	  799451 B/op	     163 allocs/op

Lagrange is what we currently do and monomial is the change proposed. The difference here is 10.69 vs 10.65 milliseconds

Strangely open monomial uses ~49% less memory

Higher level benchmarks have been collected in #97, #98, #99


Fix segfault when input is corrupted

Avoid accessing elements of NULL pointers

While I cannot yet do a technical review of these changes, please squash cosmetics of your own changes into the commit that introduced those parts of code (you can rebase and force-push the branch in order to update the contents of the pull request).
Cheers.

Thanks for the tip. I pushed the cosmetic change back into the original commit.

I think this is correct.
It should perhaps be merged with a title akin to timeline: Add proper NULL checks or something.
@VFR-maniac has last word.

4037946
Applied. Thanks


Countdown.JS fires onload, then disappears.

So when first come to my app, the countdown will display. The application is a SPA and has multiple state changes. If I leave the page that the countdown is on, then return it is gone. I have to refresh it to bring it back.

I fixed it, so I was using the jquery
$(window).on('load', function() {        code code code }
Which only works once, and when you leave the page and come back its gone. I have to refresh the page again for it to work. So I removed it and made my own and invoked it immediately afterwards.
function fireCount(){  code code code } fireCount();


[Go SDK]: Infer field names from struct tags

Implements a function structx.InferFieldNames which takes a struct type and a tag key, and returns a slice of field names based on this. Fixes #24465.
Updates bigqueryio.Read and spannerio.Read to make use of structx.InferFieldNames when constructing select statements.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @lostluck

Run Go PostCommit

LGTM. Thank you for clearing out that TODO!
Please note that neither of those two IOs are currently incredibly performant. They work, but they are unable to scale to multiple machines presently. I go into why a bit in a recent reply: #24364 (comment)

Thanks for the reference! I was thinking of developing a new IO connector and will bear it in mind


fix: use lock for subsummary to get its values

There is a race condition listed in https://github.com/swift-server-community/SwiftPrometheus/issues/79
Checklist

[x] The provided tests still run.
[-] I've created new tests where needed.
[-] I've updated the documentation if necessary.

Motivation and Context
That solves race-condition and corresponding crash from https://github.com/swift-server-community/SwiftPrometheus/issues/79

Uhm, wrong target branch -- we're developing on main, I'll pick it over though 🍒 ⛏ :)


fix section.word_count is not a number

I was trying to setup the theme in a blank installation and found the error in template/index.html that section.word_count is not a number
If it helps I propose this change
Steps to reproduce the error
zola init name
cd themes
git clone https://github.com/codeandmedia/zola_easydocs_theme

Set theme name in global config.toml in first section vars
# The site theme to use.
theme = "zola_easydocs_theme"

Then run
zola serve

And the error  appears

I see, thanks for catching this. I tested and it turns out that is because if you follow the step provided there are not sections so section is not defined. I didn't catch it in my testing because I always had pages. Only problem is the current fix actually disables the table of contents code because if the word count is 0 then it will not evaluate to true. I will write a new version of the code that handles this case.
You can confirm that 0 values evaluate to false on the tera playground or see screenshot below.

Code used in test that shows it evaluates to false when my_var is 0
{% set my_var = 1 %}

{% if my_var %}
    {{ my_var }}
{% else %}
    Sorry, my_var isn't defined.
{% endif %}

{% set my_var = 0 %}

{% if my_var %}
    {{ my_var }}
{% else %}
    Sorry, my_var isn't defined.
{% endif %}


Support Riverpod > 0.6.0

Riverpod has recently been updated and with this has introduced breaking changes (https://pub.dev/packages/riverpod/changelog) would it be possible to update the version of Riverpod used by this library?

Yes, top priority! Thanks for reporting

Released 0.5.2


OCPBUGS-12437: Update OWNERS for CFE team

Description
Update OWNERS for CFE after our conversation with @dinhxuanvu

/assign @dinhxuanvu

/lgtm

/jira refresh

/jira refresh


current_value function not available at compile time in Chef 14

Description
If a custom resource is using the current_value function in an action and that action is set to run at compile-time by the user, the operation fails with a NameError.
I am wondering if this is intended behavior in Chef 14 or if it is a bug. This function could be used in Chef 13 during the compile time phase of a Chef run.
Chef Version
Latest Stable: 14.3.37
Also found in earliest Chef 14 version (14.0.190)
Platform Version
CentOS 7.5.1804
Replication Case
Please see my issue in the chef-vault cookbook for how to replicate: https://github.com/chef-cookbooks/chef-vault/issues/70
Client Output
Normal run Gist output: https://gist.github.com/petracvv/221a00f91c5b72e7d35ddc5ddaeda978
Stacktrace
Gist with stacktrace: https://gist.github.com/petracvv/d146f1ab637f9749d84d759bbd08b76a

Doesn't have anything to do with compile_time and actions need to use current_resource and not current_value and this was a breaking change in Chef-14.

OK thanks! Must have missed that in the changelogs.


Selbonyka patch 1

Found a lot of mistakes in the code.
Changes include:
Renaming variables,
Fixing spelling mistakes,
Removing semicolons at the end of the sentences

@YaroslavKSE pull request opened!


Give examples in powershell

[Enter feedback here]
Please provide API endpoint call examples and responses in PowerShell.

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

ID: 8edc25af-c904-8cc0-061f-44ac9ac52880
Version Independent ID: 8edc25af-c904-8cc0-061f-44ac9ac52880
Content: Upload files to the live response library
Content Source: microsoft-365/security/defender-endpoint/upload-library.md
Product: m365-security
GitHub Login: @mjcaparas
Microsoft Alias: macapara

@mjcaparas Please help us in resolving this issue. Thanks

To make it easier for you to submit feedback on articles on learn.microsoft.com, we're transitioning our feedback system from GitHub Issues to a new experience.
As part of the transition, this GitHub Issue will be moved to a private repository. We're moving Issues to another repository so we can continue working on Issues that were open at the time of the transition. When this Issue is moved, you'll no longer be able to access it.
If you want to provide additional information before this Issue is moved, please update this Issue before December 15th, 2023.
With the new experience, you no longer need to sign in to GitHub to enter and submit your feedback. Instead, you can choose directly on each article's page whether the article was helpful. Then you can then choose one or more reasons for your feedback and optionally provide additional context before you select Submit.
Here's what the new experience looks like.
Note: The new experience is being rolled out across learn.microsoft.com in phases. If you don't see the new experience on an article, please check back later.
First, select whether the article was helpful:

Then, choose at least one reason for your feedback and optionally provide additional details about your feedback:

Article was helpful
Article was unhelpful

Finally, select Submit and you're done!


Codec string for IMSC1 Text should have ...ttml... (lower case)

Have you read the FAQ and checked for duplicate open issues?
yes
What version of Shaka Player are you using?
v2.5.9 (uncompiled)
Can you reproduce the issue with our latest release version?
yes
Can you reproduce the issue with the latest code from master?
yes
Are you using the demo app or your own custom app?
demo app
If custom app, can you reproduce the issue using our demo app?
yes
What browser and OS are you using?
Ubuntu linux + firefox
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
x
What are the manifest and license server URIs?
https://demo.unified-streaming.com/video/tears-of-steel/tears-of-steel-ttml.ism/.mpd
What did you do?

add dash manifest in player
press play (video plays, audio works)

What did you expect to happen?

subtitles begin after approx 20s
be able to select subtitle track
(subtitles work in dash.js)

What actually happened?

no subtitles
no subtitle tracks to select from

The subtitle adaptation set looks like:
<AdaptationSet
      id="6"
      group="3"
      contentType="text"
      lang="es"
      mimeType="application/mp4"
      codecs="stpp.ttml.im1t"
      startWithSAP="1">

It works only after changing codecs="stpp.ttml.im1t" to codecs="stpp.TTML.im1t", but this "fix" is probably incorrect.
There has been some confusion about whether the correct syntax uses TTML or ttml and unfortunately the official ref isn't very helpful. However, Apple (after fueling the initial confusion) has adjusted their spec to include:

Note that if a Variant Stream specifies one or more Renditions that include IMSC subtitles, the CODECS attribute MUST indicate this with a format identifier such as "stpp.ttml.im1t".

DVB says:

Valid examples include:
•"stpp.ttml.etd1"-TTML content suitable for presentation by an EBU-TT-D renderer
•"stpp.ttml.etd1|im1t"or "stpp.ttml.im1t|etd1"-TTML content suitable for presentation by an EBU-TT-D or IMSC1

and the imsc1 spec mentions in example:

Example 1
The use of the mimeType="application/mp4" and codecs="stpp.ttml.im1t" attributes in a [MPEGDASH] Manifest signals a track that consists of [ttml-imsc1.0.1] Text Profile documents. In this case the Manifest is part of the document interchange context, and the default processor profile is extracted from the codecs attribute and dereferenced via the [ttml-profile-registry].

IMHO the only change needed would be the registration in shaka-player/lib/text/mp4_ttml_parser.js + adjustment of a couple of test cases.

It's possible that codec strings should all be normalized to lowercase on output from the manifest parsers.  Then the TTML parser registration can be lowercase, too.
I'm struggling to find the RFC or spec that will say for certain if codec strings should be case sensitive or not.  It seems that RFC 1341 says that MIME type parameters have case-insensitive keys, but case-sensitive values, unless a specific key is spec'd somewhere to have case-insensitive values, too.
I think I'm confident enough, though, to make the change in the master branch and wait to see what breaks.  Are you interested to send a PR for this?
Another thing we could do for the short-term is register the TTML parser for both uppercase and lowercase variants of the codec strings.  This would be safe enough to cherry-pick to the v2.5.x release branch.  Are you interested to send a PR for this, too?

Thanks for your quick response! I had a look at RFC 6381 and a bunch of other resources but could not find a conclusive answer either way..
Sure I can make a pull request (may take a couple of days). Bear with me.

@joeyparrish PR #2381, implements you second suggestion (to register both uppercase and lowercase variants of the codec strings) and adjust the unit test in favour of lower case (to align with rfc8216bis).
This is likely a pragmatic mid/long term solution as well, as the stpp.TTML.im1t variant is presumably to stick around for a while in legacy content.


distance_kinemat : 'break' in if statement

Error: File: distance_kinemat.m Line: 20 Column: 2
File location: biomechZoo\Toolbox\KineMat\distance_kinemat.m
BREAK in the if statement caused the error. I tried using RETURN instead seems to work.

This function belongs to the "KineMat" toolbox of Reinschmidt and Van Den Bogert [1] and was included in biomechZoo as part of the kinematics validation. This particular function is not used by any biomechZoo function. Users are encouraged to use magnitude.m instead. Nonetheless, function has been updated in v1.7.3.
[1] C. Reinschmidt, T. Van Den Bogert, KineMat: a MATLAB toolbox for threedimensional
kinematic analyses, 1997 . http://isbweb.org/software/movanal/
kinemat/.

function updated in v1.7.3.


CAMEL-11282 : RestletComponent changed to extend DefaultComponent and…

… implement HeaderFilterStrategyAware. Testcase added to verify that HeaderFiltering.
This is a proposed fix for https://issues.apache.org/jira/browse/CAMEL-11282. Maybe HeaderFilterStrategyComponent could be changed to extend DefaultComponent in version 3.0.0, to catch all other HeaderFilterComponents.

Its likely better to keep the component as-is if its extending that header filter component. There are plenty of other components you can migrate.

Ah well okay, lets get this merged. Thanks. I polished the code a little bit so the @Metadata annotation is one line like the others. Keep em coming, now that you know how to do PRs now. Thanks for the contribution!


upgrade core to include libp2p enhancements

@michaeldjeffrey  This seems to constantly brake the same tests

Would you change this to a Draft PR until done with pushing changes, please?
while playing whack-a-mole can be fun, but...


Slow URL extract on Linode

I'm using youtube-dl on a linode server and having issues only with youtube, the other sites such as vimeo work fine. I used a profiler to check where it takes the most time:
$ python -m cProfile __main__.py -v -j https://www.youtube.com/watch?v=gLg6qxkQ94A
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', '-j', 'https://www.youtube.com/watch?v=gLg6qxkQ94A']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.03.06
[debug] Git HEAD: 5d583bd
[debug] Python version 3.5.1 - Linux-4.4.0-x86_64-linode63-x86_64-with-arch
[debug] exe versions: none
[debug] Proxy map: {}
...
  ncalls  tottime  percall  cumtime  percall filename:lineno(function)
...
     6   24.074    4.012   24.074    4.012 {method 'connect' of '_socket.socket' objects}
...

Vimeo, for example, is much faster:
  ncalls  tottime  percall  cumtime  percall filename:lineno(function)
...
     4    0.005    0.001    0.005    0.001 {method 'connect' of '_socket.socket' objects}
...

This issue is present just on linode. Maybe youtube "blocks" linode IPs? Any ideas?

Try -4 option.

It works now. Thanks!

FYI your ipv6 is broken.

What do you mean exactly? The network interface has both ipv4 and ipv6 assigned.

Without -4 it most likely uses ipv6 that does not function properly at your side.


[Bug]: Joaopaulolndev\FilamentPdfViewer\Forms\Components\PdfViewerField::getFileUrl(): Return value must be of type string, null returned

What happened?
If I edit a record and remove the file, the PDF Viewer still renders. If I then try to upload a new file I get the error
Joaopaulolndev\FilamentPdfViewer\Forms\Components\PdfViewerField::getFileUrl(): Return value must be of type string, null returned
How to reproduce the bug

Create new record
Edit record and remove file
Try to upload new file and the error should appear

Package Version
1.0.6
PHP Version
8.2.0
Laravel Version
11.30.0
Which operating systems does with happen with?
macOS
Notes
No response

Hello, I tried to fix the issue
This is what I did:
Modified the PdfViewerField class to handle null state values and prevent errors when uploading new files after removing the existing one. Updated the getFileUrl method to return an empty string instead of null when the state is empty.
I also created pull request: https://github.com/joaopaulolndev/filament-pdf-viewer/pull/13

[!CAUTION]
Disclaimer: This fix was created by Latta AI and you should never merge before you check the correctness of generated code!
The fix provided by Latta AI might not be complete and it can serve as an inspiration.

This bug was fixed for free by Latta AI - https://latta.ai/ourmission
If you no longer want Latta AI to attempt fixing issues on your repository, you can block this account.

yes, i have the same issue, here,
PHP 8.3.10 — Laravel 11.31.0

Im havinf the same issue too.


Publish to AWS: I could not deploy to an existing cloud app

In Publish to AWS, the Existing Targets list did not show my project. I expected to see it there.

Toolkit: <IP_ADDRESS>
Visual Studio: 17.4.4

Hi @ronaldmontero123456 , can you please provide details about the project you are trying to deploy, and what you were expecting to see as a deployment target in the Publish to AWS experience?


StdlibIntKit

I want to test some ordinary Swift.BinaryInteger stuff. A StdlibInt<T> type would enable it. Swift.BinaryInteger is approximately a trapping Ultimathnum.FiniteInteger, so it should be simple to implement. The only thing I haven't covered yet is binary floating-point conversions, which I'll get to eventually.

Hm. I might need two types since Swift does not have a notion of infinity. Alternatively, I could settle on a big integer type that wraps InfiniInt<IX>. That would cover most things I have in mind.

I settled on a big, signed, StdlibInt. It uses also TextInt because Swift does not have an arbitrary decoding method.


Add separate icon theme, plasma theme and so on

I think that yin-yang could be improved by not only changing the Look & Feel but also the window manager theme, the icon theme and the plasma theme separately.

AFAIK there isn't a command to switch icons, Plasma theme, widget themes and color palettes independently, there is only lookandfeeltool that switch Look&Feel package and it's what Yin-Yang uses.

I have looked into this and while it is possible to change the Icon theme it is not possible to let KDE accept those changes via the API they expose. In theory it would be possible but we probably need to wait for future KDE releases. Or you could simply use the workaround mentioned above.

Here's what I found (systemsettings5 source code) - this is the way KDE developers did it.
So in theory, it is possible to do, we just have to do some digging.


Question about Ocelot and Consul

Hello! I´m using ocelot with consul service discovery, but I dont know how to configure ocelot to not request a service in consul that have two instance, but one of them is down.
In consul I have created a check to verify any instance and one of them is down...but ocelot continue to send request in LoadBalance mode to that service instance!
Someone could help me?
Coul be a link or a explanation...´cause I dont know if there are problem with ocelot or consul or a bad configuration!
Tnks

Duplicate of #1041

Hi @cinqart1 !
Your issue is the same as #1041. But this issue has no open PR to fix it.
How did you solve the problem?
Unfortunately Ocelot has no Health Check feature to monitor all route downstream services.
But Consul has native health checks feature: Define health checks
And it would be a dilemma which feature to use: Consul native or Ocelot's one?
As a team, we will discuss this situation.
@ggnaegi FYI

Will be fixed by #1041


Statement about .def files incorrect?

"Many export directives, such as ordinals, NONAME, and PRIVATE, can be made only in a .def file, and there is no way to specify these attributes without a .def file."
This contradicts the docs for a /EXPORT specification:
https://docs.microsoft.com/en-us/cpp/build/reference/export-exports-a-function?view=vs-2017
/EXPORT:entryname[,@ordinal[,NONAME]][,DATA]
It seems that PRIVATE is the only thing that requires a .def file.

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

ID: 52bf50ef-a7ff-7f3f-7620-885b533cfe78
Version Independent ID: d6911dcd-92e4-ef92-27a0-e2daf3ba7594
Content: Exporting from a DLL Using __declspec(dllexport)
Content Source: docs/build/exporting-from-a-dll-using-declspec-dllexport.md
Product: visual-cpp
Technology: cpp-tools
GitHub Login: @corob-msft
Microsoft Alias: corob

We are in the process of moving away from GitHub issues for C++ documentation (we still accept pull requests). For details, please see Announcing a new way to give feedback on Microsoft Learn This issue will be closed after it is copied to an internal tracking system.


Extruding multiple faces at once behaves unintuitively

Steps to reproduce:

Create a sphere
Switch to the modify tool and select several adjacent faces
Extrude them while holding the left trigger to enable "snapping mode"

Expected behaviour: each face should extrude by the same amount
Actual behaviour: faces extrude by different amounts
I suspect the mount of extrusion for each face is based on a vector to the primary faces position (or something like that)

@naam00 - thoughts?

Ah sirry didn't see this one. Yes, thoughts! Played with it, it leads to an issue, see Issues:
https://github.com/icosa-foundation/open-blocks/issues/43
(I'll just press comment, not reopen with comment, hope that works)


Add sync: true for Redis, Kafka, and logger.close

I noticed "sync: true" is set in spec/spec_helper.rb for testing, so perhaps it's required when sending to those systems. I add here primarily for the benefit of quick testers, not as an optimization.
I also added an explicit logger.close at the end of the example script, which achieves the same effect by implicitly flushing output. I briefly considered using a method with a yield statement so writes could flush themselves when they go out of scope, but I'll leave that as a comment / suggestion for down the road.

It's usually not a good idea to specify sync: true or to explicitly call logger.close unless you're testing. I'll definitely clean up the Readme a little bit and explain more about the available configuration options and how devices implement the IO interface.
LogStashLogger provides a #flush method you can call if you need to flush log messages, but it should usually be unnecessary. If you have a short-lived logger that goes out of scope (an unusual requirement in my experience), I would expect the logger to flush its messages automatically when it is garbage collected. If this isn't happening, please let me know because that sounds like a bug.

It's definitely not flushing in a short-lived scope - at least, using the Redis driver. If I write a script that sends 5 events, and the script immediately ends, it does not flush. If I change that script to send 50 events (the same as the batch_events default, I believe, in the Redis device,) it flushes. It also flushes if I write 5 events and then sleep for 5 seconds in my script (the default batch_timeout, I believe, in the Redis device.)
I'm coming at this from the perspective of someone sending quick test events to Logstash, so I'm just throwing things together from the README; I agree that forcing flushes on long-lived processes should not be the default. I thought going out of scope would call logger.close, but that doesn't appear to be the case - maybe a one-line comment to that effect is sufficient? Thanks!

I definitely think a Ruby logger ought to flush its messages before it goes out of scope. You shouldn't have to remember to call close. This is probably only an issue with the "special" devices that are not based on Ruby IO classes. I'll definitely be taking a closer look at this.


[BEAM-6120] Support retrieval of large gbk iterables over the state API.

Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

It will help us expedite review of your Pull Request if you tag someone (e.g. @username) to look at it.


[RELEASE] rapids-dask-dependency v24.12

❄ Code freeze for branch-24.12 and v24.12 release
What does this mean?
Only critical/hotfix level issues should be merged into branch-24.12 until release (merging of this PR).
What is the purpose of this PR?

Update documentation
Allow testing for the new release
Enable a means to merge branch-24.12 into main for the release

Before we release, we need to pin pynvml due to a distributed bug, which is not yet resolved
xref: https://github.com/rapidsai/rapids-dask-dependency/pull/74
xref: https://github.com/dask/distributed/issues/8961


Tutorials: Steps TO DO

[x] rewrite technical framework (done by @kepper)
[x] review wording and terminology of the march tutorial (done by @margrethesb )
[x ] add small quickstart tutorials linked to march tutorial

[x] xml basic & minimum MEI structure
[x] rests
[x] chords

[ ] release on master branch

The following will not be part of the first tutorial release. Moved them to #88

[ ] scoreDef (structure)
[ ] measure
[ ] staff
[ ] layer
[ ]  lyrics
[ ] beams
[ ] dotted rhythm & tuplets (advanced notes)