How to block google from indexing yourl?

How do I make search engines not to index any yourl links?

Why would you want to?
By allowing Search Engines to crawl your YOURLS site, will transfer link juice from the short url to the long one.
To prevent honest Search Engines from crawling your whole site, or even one URL, you could use robots.txt (Google robots.txt for info).
Regards,
Lan

YOURLS links are not "indexed". If Googlebot finds a YOURLS link, eg a page somewhere or a tweet contains http://sho.rt/blah, Googlebot will follow it and, if allowed by the destination, index and archive the destination page.
YOURLS links are only redirects, they are not indexed by Google.
If your question is "how do I prevent Google from following YOURLS links", answer is "make a custom plugin that checks user agent before redirection to prevent googlebot from being redirected"

Just wanted to mention here that Google is indexing yourls short links for me.
https://www.google.co.in/search?q=site%3At.broadbandforum.co
I added robots.txt file few days ago but it only seems to prevent indexing of content (on some links but not all at the moment) but the links still make it to Google search results.
Google suggest adding  to meta tags which is not applicable in case of redirected links. The other option is the X-Robots-Tag HTTP header... implementation of which is outside my area of expertise. Just wanted to post this here in case some developer would consider making a plugin that can do this?
This is not that big of a deal for me except that it seems to pollute the site search results for my domain as I am using the same domain (subdomain) for YOURLS. I am not sure if it is hurting my site's ranking/authority in Google's eyes as these links end up redirecting to other domains :) Cheers.

Indeed. I think Googlebot has changed behavior over past years.
Quick research makes me think too we may add PHP header header("X-Robots-Tag: noindex", true); to every redirection page but I'm not sure it's not outdated.

https://developers.google.com/search/reference/robots_meta_tag does not indicate that these are deprecated.

People monitoring this issue : YOURLS 1.9.2 (soon) will address this issue with a filter allowing you to use a plugin and fine tune the SEO behavior you'll like. See #3517 for more info.

I would like to filter known bots from the click statistic / analytics.
Social Media pages (i.e. YouTube) will follow the link each time it is posted in a content piece (I guess for security reasons).
That might give you large numbers of bot clicks in the stat.

@richn Click logs are an entirely separate concern from search-engine indexing. Please consult the Awesome list, in particular the plugins whose names start with "Don't Log". (Some customizations or updates might be needed to make sure a given plugin excludes the bots you want to exclude, but the foundation is there for you to build on.)


Project name and first release tag

I see that in forking Awesome Print we also got the tags. Should we tag the first release as v2.0.0 to avoid any confusion or maybe scrub the tags and start over?
While I do like the Awesomer Print name, I'm wondering if it may be a bit too close to it's ancestor and cause confusion. Since we haven't yet made our first release, now is the time to decide this. Naming things is one of the hardest things to do :slightly_frowning_face:
Possible alternative project names
We should consider any existing gems by searching https://rubygems.org
Preserving ap command and #ai method

Amazing Print amazing_print
AwePrint aweprint
AwePuts aweputs
Awesome Puts awesome_puts

Not preserving ap command and #ai method

Exploder exploder ep "string.ei
GadgetInspector gadgetinspector gp "string".gi
SweetPrint sweetprint sp "string".si

suggestion: BetterPrint and better_print
also 👍  for  AmazingPrint

👍 for AmazingPrint.
But like I said, I'm okay with AwesomerPrint too.
If #ap and #ai are not preserved, there has to be an optional compatibility layer.

OK, what about potential conflicts if someone has both AwesomePrint and this new library installed? Would having the same #ap and #ai methods defined be more or less confusing?
I think either way, we should indicate that this gem should not be used beside AwesomePrint.

Good point. Definitely indicate it. This is a replacement for the time being.

:+1:  for AmazingPrint.

Tags are gone. Org and repo are renamed


Typo

This line contains a typo: "change the many" should be "change many"
In the client, users can change the many of these settings for their workspace only by using personalization.

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

ID: 2e31ad37-068e-3007-2e46-7afc15f6b73b
Version Independent ID: cd16bd61-cd0d-be6b-0af7-c1e9d81c81f5
Content: Using Designer - Business Central
Content Source: dev-itpro/developer/devenv-inclient-designer.md
Service: dynamics365-business-central
GitHub Login: @SusanneWindfeldPedersen
Microsoft Alias: solsen

Thanks for catching this - will be fixed with the next doc refresh.


Add openshift e2e test

Adds a minimal e2e test for OpenShift (cluster stands up; nodes are ready)
TODO:

[x] generate kubeconfig on the "acs-engine host" (https://github.com/Azure/acs-engine/pull/2697)
[x] use an image that includes oc and drop quay.io/deis/go-dev:v1.9.1. (https://github.com/openshift/release/pull/782)
[ ] enable using published images (https://github.com/Azure/acs-engine/pull/2708)
[x] test that healthchecks router, registry, service catalog, template service broker
[x] test that deploys a sample app and tries to access it from a route\

@jackfrancis @jim-minter @pweil-

@jim-minter can be tested with:
docker pull registry.svc.ci.openshift.org/ci/acs-engine-tests:v3.9
docker run --rm -v ${PWD}:/go/src/github.com/Azure/acs-engine -w /go/src/github.com/Azure/acs-engine -e ORCHESTRATOR_RELEASE=3.9 -e CLUSTER_DEFINITION=examples/openshift.json -e CLIENT_ID=${CLIENT_ID} -e CLIENT_SECRET=${CLIENT_SECRET} -e TENANT_ID=${TENANT_ID} -e SUBSCRIPTION_ID=${SUBSCRIPTION_ID} -e ORCHESTRATOR=openshift -e TIMEOUT=30m -e CLEANUP_ON_EXIT=false -e REGIONS=eastus  registry.svc.ci.openshift.org/ci/acs-engine-tests:v3.9 make test-openshift

I took a read through and this is looking good.  Dependent on #2708.

Assuming the tenant id is added in circle ci and we whitelist the acs-engine ci subscription in our image, this is ready to merge.

@jackfrancis @CecileRobertMichon do you think it'd be possible to merge this today?  @kargakis is out at Kubecon this week and getting this in would help testing on our side too.  If it's clear to you that TENANT_ID is already available to the test via the environment without line 349, are you able to administratively add a one-line commit that removes that in order to progress this?  Thanks!

@jim-minter Take a look at the result from the openshift E2E run above. The provision script (cse in Azure ARM speak) exited non-zero with the outputted error. Does that suggest something you know how to fix?

We need to rollback the version of the RPMs inside our published image to a version where the images in registry.redhat.com can match
cc @kwoodson

We could also potentially switch the test to test centos and add a rhel test once we have a published image with RPMs that match with what's in the registry.

afaics this comes down to very stale testing image.  Images built using our new process should not hit this error.

@jim-minter @kargakis should I re-run the openshift E2E test following the image publications?

should I re-run the openshift E2E test following the image publications?

Please do.  @kwoodson please can you let @jackfrancis know when the new image has arrived?

@jim-minter, ack.  I suspect it will be done shortly as the origin version just completed.
@jackfrancis, Will reply back when notified.

@jackfrancis I just received the notification. Please give it a go. Thanks


feat(electron): add platform support

Platforms affected
Electron
Motivation and Context

This is required so that cordova electron can have a working file plugin

fixes #334
fixes #312
fixes #477
closes #371
closes #387
Description

The base implementation has two things.
1. Scripts to add and remove node implementations done in files cdv-electron-main.js and cdv-electron-preload.js. Since the scripts look for comments, and remove code between the comments on plugin remove, we should be good as long as the dev doesn't mess those up. These scripts are added to support Context Isloation that has been encouraged in<EMAIL_ADDRESS>The fs required can be called from window.cordovaFilePlugin.function. I had to tweak some changes because the return value objects have their methods removed.
With the help of Erisu, I was able to update the code so that it doesn't require extra scripts. The electron implementation uses the framework keyword and uses backend node-js functions to implement stuff.
Testing

I've tested them on my personal projects. Will write an exclusive test project if necessary,
Also, https://github.com/pjoriginal/cordova-file-test
Checklist

[X] I've run the tests to see all new and existing tests pass
[X] Commit is prefixed with (platform) if this change only applies to one platform (e.g. (android))
[X] If this Pull Request resolves an issue, I linked to the issue in the text above (and used the correct keyword to close issues using keywords)
[ ] I've updated the documentation if necessary

The Android & iOS tests can be ignored because there are existing issues present that is causing them to fail, and that's been happening to some time. We know it's not caused by this PR.
Lint test should pass, which it currently does.

Will write an exclusive test project if necessary

Obviously it will be nice to have actual unit tests, but I won't personally reject a PR without unit tests. It can always be added later.

I'm sorry.
I accidentally clicked on "close this issue" while trying to comment on the issue.
The test project has been created. Will add unit tests soon

@breautek added functionality and added electron stuff to tests where missing. Also fixed eslint.

When will this be committed?

Making chnages to make this compatible to electron@nightly


Add parameter to cob_hardware_config

https://github.com/ipa320/cob_driver/pull/148 introduced new parameters

max_trans_velocity
max_rot_velocity

Currently they are not set within any yaml file, thus the hasParam-check fails and the default value is used. It would be good to know in which yaml these parameters can be set (in cob_hardware_config?). There should be a respective entry in the according yaml for all robots (using the same default value as in the code)
--> reduces output when starting bringup/bringup_sim
@ipa-frm

@ipa-mig:
ping

as cob_undercarriage_ctrl is outdated and replaced by the ros_control implementation for all new bases, I'll vote for not spending effort on this issue.
can be closed then

the question remains how we will handle this. We still need this for the rob@work and CoB3 robots...
+1 for not spending too much effort on this, however, we should discuss how to proceed...

Well as #233 has been merge for a while now and no complains occurred about any robot driving too fast/slow...I think it is ok just leaving those default values...and consider this fixed...
no more effort for putting the parameter from launch file to yaml!


Further refinements for firefox (ff on os x wasnt happy with the attribute case)

Continuation of #990 re #142/#982, seems firefox on os x wasnt happy with the uppercase property (i.e. Width vs width)

Bump?

Using this is good.
Please fix whitespace changes

Closing since v2 is the main supported version now


Add Exported Functions and Classes to LHS (In This File)  Panel

Most of the logic is here but I made a slight change https://github.com/cardstack/boxel/pull/708 that affects the ast and data that this PR consumes
The purpose of this PR is to

add exported functions and classes to the LHS panel
enable field treatment on the LHS. ie show "Field Definition" rather than "Card Definition"

https://github.com/cardstack/boxel/assets/8165111/ea5d988f-873d-4eaa-8131-5932735992cd
There are some things not considered yet

named exports altho this information is available
default export. Somehow glint doesn't allow me to write a default export
non exported cards

This PR is up for review now

Apologies for a late scramble. I have added  a new feature which I missed out https://github.com/cardstack/boxel/pull/699/commits/18e27ed181825cbf945b55a240a29e7d56101b70 which is to consider exported names export Class as SomeClass
This PR now covers support for default export and named exports unlike what was mentioned in the description


fix: Allow direct debugging into typescript, fix exports

This change replaces some of the main/module/export names in order to:

Allow direct debugging into typescript when linked
Debug into the esm generated output when not linked
Use the UMD build for release builds

That is done by having the main be the esm module, the module be the typescript and the export be the umd module

why not streaming loader?

OK, added streaming image volume loader.  Tried adding adapters as well, but something isn't quite right there yet.

seems like production debugging is fine, and we should not include src in the module for package json. The local yarn link problem is probably related to the tsconfig extending the base. For those who want to use yarn link in local, you can change the module to be src/index.ts as a solution until we fix the inheritance bug for each tsconfig


@conda-forge-admin please add bot-automerge

@conda-forge-admin please add bot-automerge

@conda-forge-admin please add bot automerge

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added bot automerge in conda-forge/concurrent-log-handler-feedstock#5.


Maelstrom resource type and count shown are wrong

*Anyway, I think there is a mistake where when you jump to whirlwind and it is suppose to reduce your ammo. However it shows as reduce in fuel. * - WongTheThief

Oops, I saw this bug a few days ago but forgot to create an issue for it xD


BlvckStake.txt

Please, check our Twitter thread)
https://twitter.com/Blvck_Stake/status/1656248670994538497?s=20


Improvements to devcontainer

Engineering Improvement
This PR from @lechnerc77 added a new devcontainer that we can use for developing Radius.
Now that this is a available, we can go a bit further with this.
Area for Improvement (required)
DevContainer
Proposed Changes

(done) Remove the old "samples" devcontainer config here. This was created a long time ago for working with our samples, and can be removed.
Update our contributing documentation to highlight and recommend the devcontainer + codespaces for contributing to the repo. This is definitely the easiest way for a new contributor to get started.
Update our contributing documentation here to highlight the existing debug targets we have defined. This docs page was written before we checked in tasks.json. We should document the debugging targets we have defined and update this page, which is stale.
Add additional tools to the devcontainer. We got a good start to this, but some tools are still missing. We should aim to include everything we use regularly in Radius development tasks. This is a good list to start with.

AB#10697

@rynowak I would be happy to support with the tasks you mentioned. Especially concerning the existing devcontainer I made a proposal in https://github.com/radius-project/radius/issues/6906#issuecomment-1837509197.

Hey @lechnerc77 that would be awesome if you want to help. We'd be happy to accept contributions for the ideas mentioned above, or any other ideas you come up with 👍

Then I will start with the rad CLI as dev container feature as prerequisite for a dev container setup. After that I will check the tools you mentioned and see how to best get them into a dev container setup

@rynowak to avoid a misunderstanding from my side: the list you referenced above with tools that should be available in the devcontainer should be added to the contributors devcontainer available here, correct?
If yes should we also add/streamline the devcontainer setup from a Radius consumer perspective (probably the one in this repository: https://github.com/radius-project/samples)?

@rynowak to avoid a misunderstanding from my side: the list you referenced above with tools that should be available in the devcontainer should be added to the contributors devcontainer available here, correct?

If I understand the question, then yes I agree.
I should be able to open the contributor devcontainer and run make generate without errors.

If yes should we also add/streamline the devcontainer setup from a Radius consumer perspective (probably the one in this repository: https://github.com/radius-project/samples)?

I'd be interested to learn what you think can be streamlined there. The devcontainer in the samples repo is designed to for users to try Radius.

Thanks, then I know what to add  for the contributor devcontainer.
Concerning the one from the samples repo I would add/change the following:

Replace the scripted installation of Radius CLI and Dapr via the corresponding devcontainer features
Align the extensions and the features (e.g. install python via feature, same for C#/.NET)

PR with update of devcontainer is available with PR #6954

Thanks, then I know what to add for the contributor devcontainer.
Concerning the one from the samples repo I would add/change the following:
* Replace the scripted installation of Radius CLI and Dapr via the corresponding devcontainer features

* Align the extensions and the features (e.g. install python via feature, same for C#/.NET)

I think this makes sense to me overall.
We're using a script to install rad in the devcontainer so that it will make the branch/release being used. See here.

On a branch that's named for a specific release like v0.27 the codespace installs 0.27.X.
On any other branch the codespace installs edge.

I might be missing something, but I don't know of a way to dynamically pass data into a feature like this. If you have a better way in mind I'd be all ears 👍
This was hardcoded in the past and we don't want to go back to that model. eg: changing the version number and checking it in in each release branch.

Also for the samples devcontainer I wonder if we can switch to mcr.microsoft.com/devcontainers/base.
Right now we're using mcr.microsoft.com/devcontainers/universal which includes a lot of technologies we don't routinely use in samples. https://mcr.microsoft.com/en-us/product/devcontainers/universal/about
@AaronCrawfis you have an opinion about the right base? It feels like the tradeoff here is size/speed vs including a long tail of tools that we don't use in our samples. I'd be in favor of migrating from universal -> base and relying on features.

@lechnerc77 - FYI I've set up a prebuild for the container so it's faster in codespaces:

First run here: https://github.com/radius-project/radius/actions/runs/7212965607/job/19651786246

I've updated the status in the issue. Including an item for me to go register our feature officially.

Thanks, then I know what to add for the contributor devcontainer.
Concerning the one from the samples repo I would add/change the following:
* Replace the scripted installation of Radius CLI and Dapr via the corresponding devcontainer features

* Align the extensions and the features (e.g. install python via feature, same for C#/.NET)

I think this makes sense to me overall.
We're using a script to install rad in the devcontainer so that it will make the branch/release being used. See here.

On a branch that's named for a specific release like v0.27 the codespace installs 0.27.X.
On any other branch the codespace installs edge.

I might be missing something, but I don't know of a way to dynamically pass data into a feature like this. If you have a better way in mind I'd be all ears 👍
This was hardcoded in the past and we don't want to go back to that model. eg: changing the version number and checking it in in each release branch.

I missed that one on my quick scan. That's then not doable with the feature as we need to hardcode the version. Then the proposed "approvements" make no sense. Thanks a lot for the detailed explanation of the setup.

@lechnerc77 - FYI I've set up a prebuild for the container so it's faster in codespaces:

First run here: https://github.com/radius-project/radius/actions/runs/7212965607/job/19651786246

That's perfect, wanted to ask for that, because the container has quite some stuff in it

@rynowak : I tried a first update of the documentation in PR #6965 as mentioned in the issue namely:

Update of contributing documentation to highlight and recommend the devcontainer + codespaces for contributing to the repo.
Update of contributing documentation to highlight the existing debug targets

Thanks @lechnerc77 - the last remaining task is on me 👍 It's been awesome having your help with this.

@rynowak Thanks for the countless reviews and the feedback, it was a great experience contributing to this project!

Remaining task is out for PR: https://github.com/devcontainers/devcontainers.github.io/pull/339


Allow to place the middle label into the centre of the chart

What problem does this feature solve?
When back button is not shown and the root node appear to be in the centre, the label is not centred in the circle but a side.
What does the proposed API look like?
Maybe simple api to allow to appear automatically in the middle of the sunburst chart if there is no back button and it is a first node of the data.
In my use case, the first item of the option.levels is empty structure as I don't want the back button at all.

I didn't want to draw the graphic element because it is the external way what I would like to avoid, if this is what you meant.
But I'll use the title for this as the result is as what I'm looking for.
Only flaw I see here is that I need to set the size of the text to match the size of the middle circle.
[CodeSandbox](https://codesandbox.io/s/apache-sunburst-internal-centre-text-j5un1y

Yes, this is the expected way to do this.


[Bug] When moving an entire model the CSG sometimes doesnt update

Submitted in forum by pvloon: https://forum.unity3d.com/threads/released-realtime-csg-level-design-for-unity.427601/#post-2852128

This is fixed in 1.328!
You can download it at the update site https://prenominal.nl/updates/
Once this version is available from the asset store, I'll close this ticket


feat: what happens if we remove @[simp] from foral_const?

!bench

That's unfortunate, I was hoping to see more.


Depending on slf4j causes test worker throw ClassCastException

This issue has been existing at least since Gradle 2.0.
In our test worker, the classloader hierarchy is:
 *                       jvm bootstrap
 *                             |
 *                             |
 *                        jvm system
 *           (GradleWorkerMain, application classes)
 *                             |
 *                             |
 *                          filter
 *                    (shared packages)
 *                             |
 *                             |
 *                       implementation
 *          (SystemApplicationClassLoaderWorker, logging)

If users depends on org.slf4j:slf4j-api (no matter which version), the slf4j jar will occurs in application classloader (i.e.  jvm system). In this case, during worker startup, this line will throw ClassCastException:
OutputEventListenerBackedLoggerContext context = (OutputEventListenerBackedLoggerContext) LoggerFactory.getILoggerFactory();

LoggerFactory will try to load org.slf4j.impl.StaticLoggerBinder, in this case, LoggerFactory is loaded by application class loader, but Gradle's org.slf4j.impl.StaticLoggerBinder implementation exists in "implementation" layer in the graph above, therefore, LoggerFactory.getILoggerFactory() returns a fallback org.slf4j.helpers.NOPLoggerFactory and the ClassCastException is thrown.
It seems a bit hard to keep all Gradle logging infrastructure working in this case. However, at least we shouldn't allow the exception thrown and worker process crash.
Steps to reproduce
See samples in these bug report: #4974  #2657

This is currently a blocker for us upgrading to Java 9+ / Jigsaw. Is any workaround possible at all, short of not using slf4j at all?

Duplicate of #2657


White colour selects multiple colour

I've created a custom colour library. While selecting some light colours and white colour, if we select white colour from the material tone palette, multiple colours are selected. Please find the screenshot.

Hi @GAayushi, thanks for the report.
Can you provide a code sample including the custom MaterialColors you used?
Even without it, here is what I suspect is going on.
If you set the picker to show the "old" Material2 style palettes enebaleShadesSelection: true, I am pretty sure you can see/show that you have white color in all the above selected top level custom MaterialColor palettes.
If a selected color exists in more than one MaterialColor palette, in the same picker tab, the ColorPicker will select the main color [500], in all palettes that contains the same selected color value, to indicate which other palettes the same color value exists in. In this case you have white included in all of the 5 first MaterialColor palettes.
The actual color selection of "white" in this case, if you paste in the white value, would be selected from the first MaterialColor, where it finds it, being custom yellow[500] in this case.
If you enable the MaterialColor palette shades with these custom colors, that apparently all contain white, and select "white" in them from any other palette than yellow, you will see that it changes the sub palette to be from the yellow one, where it first finds the white color among all the white color values in this picker tab.
The situation you show above, can however be reached by selected the top blue color and then clicking on white in its tonal palette.
FlexColorPicker is still focused mainly on Material2 style palettes, where its source colors use the indexes from 50 too 900, and that do not even in a correct MaterialColor contain white or black color, unless you deal with a custom greyscale.
If you generated the custom MaterialColors used above with the "faux" ColorTools.createPrimarySwatch it may also generate MaterialColor where index [50]is white. The actual Material2 algorithm used to create the original MaterialColor palettes is not public, like the new Material3 algorithm, so it is just a fake version that produces similar styled colors. but where [50] may become whit if source [500] color is very light, and [900] can also become dark if source is very dark.
Of course making custom MaterialColor that includes same color(s) in different palettes, like white or even other colors, that clashes and contain duplicates is totally possible, but it was not a part of the original MaterialColor spec to do so. This is a part of the reason why it behaves this way when there are duplicates of same color value in other palettes.
When using Material3 tonal palettes the situation is totally different, as a tonal palette starts from index 0 and it is always fully black and ends in index 100, being fully white, with then varying Chroma and Hue on the tones in between.
Currently FlexColorPicker has very limited support for M3 tonal palettes, but it is on my todo list to add that, by adding an own Tonal Palette color picker tab. However, such a release would probably be major new version and break some pasts older features. Since I would probably clean feature to show tonal palettes at same time with MaterialColor, since that is a bit confusing and conflicting.

It might be possible to add a small fix to not show a check mark on other palettes containing selected color, when using a setup where the selected Material shades are not shown at all and showing only the Tonal Palette, like you do here, so that it would not indicate the other palettes where the color exists.
I may look into this. It might also be something I don't add until I do major feature bump on the ColorPicker. It is way over due for a major feature bump.

Hello, Please take a look of the code, I'm currently using. I'm allowing user to choose the colour form the wheel, and with those selected colour, I'm creating Swatches. Also, I've used ColorTools.createPrimarySwatch for creating user-defined colour library. Here is my code.
class NewColorPicker extends StatelessWidget {
final Function(String) _changedColor;
final RxString color;
final TextEditingController colorEditController = TextEditingController();
final ReactiveRecord model;
final designController = Get.put(DesignController());
final RxBool showCustomLibrary;
NewColorPicker(
this._changedColor,
this.color,
this.model,
this.showCustomLibrary,
);
@override
Widget build(BuildContext context) {
var customSwatchList = colorMap(designController.model.value!.colorList);
colorEditController.text = color.value;
return Obx(() => Column(
crossAxisAlignment: CrossAxisAlignment.center,
children: [
SizedBox(
width: double.infinity,
child: Padding(
padding: const EdgeInsets.all(6),
child: Card(
elevation: 2,
child: ColorPicker(
// Use the screenPickerColor as start color.
color: HexColor.fromHex(color.value) ?? const Color(0xff4C45D6),
// Update the screenPickerColor using the callback.
onColorChanged: (Color color) => changeColor(color),
width: 44,
height: 44,
heading: Text(
'select_color'.tr,
style: Theme.of(context).textTheme.headlineSmall,
),
enableShadesSelection: false,
wheelWidth: 24,
wheelSquarePadding: 8,
wheelSquareBorderRadius: 8,
enableTonalPalette: true,
enableTooltips: true,
copyPasteBehavior:
ColorPickerCopyPasteBehavior(copyFormat: ColorPickerCopyFormat.hexRRGGBB, snackBarMessage: 'Code copied successfully'),
tonalSubheading: Text('Material 3 tonal palette'),
pickersEnabled: <ColorPickerType, bool>{
ColorPickerType.wheel: true,
ColorPickerType.custom: showCustomLibrary.value,
ColorPickerType.accent: false,
ColorPickerType.primary: false
},
customColorSwatchesAndNames: customSwatchList,
showColorCode: true,
showColorName: true,
colorCodeHasColor: true,
pickerTypeLabels: <ColorPickerType, String>{ColorPickerType.custom: 'Your Colour Library'},
),
),
),
),
SizedBox(
height: 30,
),
AdminFormSubmitButtons(
onPressedAction: onPressedActionHandler,
firstButtonText: 'okay_text'.tr,
secondButtonText: GetStringUtils('cancel_text'.tr).capitalize!,
),
],
));
}
/// Buttons click handler
void onPressedActionHandler(ActionType actionType) {
switch (actionType) {
case ActionType.FirstButtonClick:
if (UIUtil().isValidColor(color.value)) _saveColor(); // On Save
break;
case ActionType.SecondButtonClick:
Get.back(); // On Cancel
break;
default:
}
}
void changeColor(Color newColor) {
color.value = newColor.toHex();
colorEditController.text = color.value;
}
void _saveColor() {
_changedColor(color.value);
Get.back();
}
Map<ColorSwatch, String> colorMap(List colorSwatchList) {
var customSwatch = <ColorSwatch, String>{};
for (var colors in colorSwatchList) {
print('colorMap $colors');
customSwatch[ColorTools.createPrimarySwatch(HexColor.fromHex(colors)!)] = '';
}
return customSwatch;
}
}

Hello, Please take a look of the code, I'm currently using. I'm allowing user to choose the colour form the wheel, and with those selected colour, I'm creating Swatches. Also, I've used ColorTools.createPrimarySwatch  for creating user-defined colour library. Here is my code.
class NewColorPicker extends StatelessWidget {
  final Function(String) _changedColor;
  final RxString color;
  final TextEditingController colorEditController = TextEditingController();
  final ReactiveRecord model;
  final designController = Get.put(DesignController());
  final RxBool showCustomLibrary;

  NewColorPicker(
    this._changedColor,
    this.color,
    this.model,
    this.showCustomLibrary,
  );
  @override
  Widget build(BuildContext context) {
    var customSwatchList = colorMap(designController.model.value!.colorList);
    colorEditController.text = color.value;
    return Obx(() => Column(
          crossAxisAlignment: CrossAxisAlignment.center,
          children: [
            SizedBox(
              width: double.infinity,
              child: Padding(
                padding: const EdgeInsets.all(6),
                child: Card(
                  elevation: 2,
                  child: ColorPicker(
                    // Use the screenPickerColor as start color.
                    color: HexColor.fromHex(color.value) ?? const Color(0xff4C45D6),
                    // Update the screenPickerColor using the callback.
                    onColorChanged: (Color color) => changeColor(color),
                    width: 44,
                    height: 44,
                    heading: Text(
                      'select_color'.tr,
                      style: Theme.of(context).textTheme.headlineSmall,
                    ),
                    enableShadesSelection: false,
                    wheelWidth: 24,
                    wheelSquarePadding: 8,
                    wheelSquareBorderRadius: 8,
                    enableTonalPalette: true,
                    enableTooltips: true,
                    copyPasteBehavior:
                        ColorPickerCopyPasteBehavior(copyFormat: ColorPickerCopyFormat.hexRRGGBB, snackBarMessage: 'Code copied successfully'),
                    tonalSubheading: Text('Material 3 tonal palette'),
                    pickersEnabled: <ColorPickerType, bool>{
                      ColorPickerType.wheel: true,
                      ColorPickerType.custom: showCustomLibrary.value,
                      ColorPickerType.accent: false,
                      ColorPickerType.primary: false
                    },
                    customColorSwatchesAndNames: customSwatchList,
                    showColorCode: true,
                    showColorName: true,
                    colorCodeHasColor: true,
                    pickerTypeLabels: <ColorPickerType, String>{ColorPickerType.custom: 'Your Colour Library'},
                  ),
                ),
              ),
            ),
            SizedBox(
              height: 30,
            ),
            AdminFormSubmitButtons(
              onPressedAction: onPressedActionHandler,
              firstButtonText: 'okay_text'.tr,
              secondButtonText: GetStringUtils('cancel_text'.tr).capitalize!,
            ),
          ],
        ));
  }

  /// Buttons click handler
  void onPressedActionHandler(ActionType actionType) {
    switch (actionType) {
      case ActionType.FirstButtonClick:
        if (UIUtil().isValidColor(color.value)) _saveColor(); // On Save
        break;
      case ActionType.SecondButtonClick:
        Get.back(); // On Cancel
        break;
      default:
    }
  }

  void changeColor(Color newColor) {
    color.value = newColor.toHex();
    colorEditController.text = color.value;
  }

  void _saveColor() {
    _changedColor(color.value);
    Get.back();
  }

  Map<ColorSwatch<Object>, String> colorMap(List<String> colorSwatchList) {
    var customSwatch = <ColorSwatch<Object>, String>{};
    for (var colors in colorSwatchList) {
      print('colorMap $colors');
      customSwatch[ColorTools.createPrimarySwatch(HexColor.fromHex(colors)!)] = '';
    }
    return customSwatch;
  }
}

I have a behavior enhancement, or fix if you so prefer to call it, for this use case. I need to test it a bit more still. I will use your sample to test it as well. Thanks for submitting it. I might bundle this improvement/fix with a few other ones before the release. Of course, if you desperately/urgently need it I can release it in its own fix version as well.

Hy, It would be great if we could have that fix earlier.

Hi @GAayushi, thanks for raising this issue. Hope you have had a chance to try it. There might be some edge cases where the solution I made for this might not be ideal. Hopefully you won't be running in to those. Anyway, let my know how the fix has worked out for you or if there is still some edge case with it for your usage.


Issue 1031 1032

Hi,
I took some time to install a VM with git, and learn how to work with it.
This pull request basically offers the 2 patches solving issues

#1031: AlpinoCorpusReader delivers words out of sequence
#1032: Brill demos fail by calling unknown method batch_test()

Hope it helps,
Len.

Thanks very much @LenRemmerswaal


Error placing order

When placing the order, regardless of the type of order, the following error appears: "Unknown" sameas "test. Did you mean" same as "?".
I'm using version 4.21, in the previous version this error doesn't happen.

This issue has already been resolved.
Please refer to the following comments.
https://github.com/boxbilling/boxbilling/issues/649#issuecomment-695334203
On Wed, Nov 4, 2020, 5:50 PM Rogério Borba<EMAIL_ADDRESS>wrote:

When placing the order, regardless of the type of order, the following
error appears: "Unknown" sameas "test. Did you mean" same as "?".
I'm using version 4.21, in the previous version this error doesn't happen.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/boxbilling/boxbilling/issues/725, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD24K7JOCM74NF725ZVRQDDSOHLD7ANCNFSM4TKT7YTA
.

I found out that was the theme and I was going to post here that I found out when I saw your post. Thanks.


Update phone number validation to be Singapore-specific

Do we want phone numbers to be necessarily Singapore specific? It's possible that we give a warning to the user instead, but parse validity based on other criterias.

Do we want phone numbers to be necessarily Singapore specific? It's possible that we give a warning to the user instead, but parse validity based on other criterias.

I think this is a fair point, we could change it to give a warning instead of outright rejection, as there are cases of customers who may reside in Singapore but primarily overseas.


Unsampled OpRoundtripTime perf investigation

Description
This implements the experimental idea for how to disable sampling, specifically for the OpRoundtripTime events. (Plus a few unrelated changes).
Impact is ~40% longer runtime when generating 500x the number of events, relatively constant across several datapoints with a different number of total ops being generated.

Reviewer Guidance
The review process is outlined on this wiki page.

Closing in favor of https://github.com/microsoft/FluidFramework/pull/16788 which is cleaner.


Some API need the final slash in the URL

referring to the forum post
It seems the problem is that some API endpoints need the trailing slash to work, while in the documentation the trailing slash is omitted. I think that for consistency this needs to be corrected.
Example with Invoice creation :
`gigawallet@server:~/gigawallet$ curl -X POST http://localhost:8081/account/dogecoinlab/invoice -H 'Content-Type: application/json' -d '{"required_confirmations":1,"items":[{"type":"item","name":"GigaWallet Test","value":"10.00","quantity":1}]}'
gigawallet@server:~/gigawallet$ curl -X POST http://localhost:8081/account/dogecoinlab/invoice/ -H 'Content-Type: application/json' -d '{"required_confirmations":1,"items":[{"type":"item","name":"GigaWallet Test","value":"10.00","quantity":1}]}'
{"id":"DRzLr3xhAYjKwRjE6fRJTSRKY2nHgNzJF2","items":[{"type":"item","name":"GigaWallet Test","sku":"","description":"","value":"10","quantity":1,"image_link":""}],"created":"2024-02-15T19:50:12.262241281+01:00","total":"10","pay_to_address":"DRzLr3xhAYjKwRjE6fRJTSRKY2nHgNzJF2","required_confirmations":1,"part_payment_detected":false,"total_payment_detected":true,"total_payment_confirmed":false,"payment_unconfirmed":false,"estimate_seconds_to_confirm":0}
`

PR #129  has been merged.


CookieStore.hydrate fails when running in Node.js env because localStorage is undefined

I am  using setupServer of msw/node to mock endpoint for tests.
I got the following error:
    TypeError: Cannot read property '_origin' of null

      at Window.get localStorage [as localStorage] (../../../../node_modules/jsdom/lib/jsdom/browser/Window.js:420:50)
      at CookieStore.hydrate (../../../../node_modules/msw/node/lib/index.js:7448:34)
      at setRequestCookies (../../../../node_modules/msw/node/lib/index.js:7549:17)
      at ../../../../node_modules/msw/node/lib/index.js:7609:21
      at ../../../../node_modules/msw/node/lib/index.js:53:71
      at __awaiter (../../../../node_modules/msw/node/lib/index.js:49:12)
      at resolver (../../../../node_modules/msw/node/lib/index.js:7583:24)
      at ClientRequestOverride.<anonymous> (../../../../node_modules/@mswjs/interceptors/src/interceptors/ClientRequest/createClientRequestOverride.ts:189:9)

The error occured because the localStorage is undefined.
I know I can mock it, but it will be good that we don't have to.
BTW, thank you for all of msw/* packages, very usefull

Hey, @neilime. Thank you for raising this and for the warm feedback!
The issue seems to be with our current safeguard against running in Node.js:
https://github.com/mswjs/cookies/blob/7865054e0a143a31f652f4eecaa20b2726ec4c4a/src/CookieStore.ts#L122-L124
We don't account for running in JSDOM, which would have the window object polyfilled but localStorage would still be missing:
https://github.com/mswjs/cookies/blob/7865054e0a143a31f652f4eecaa20b2726ec4c4a/src/CookieStore.ts#L25
I think the right approach here is to rewrite supportsPresistency to typeof localStorage !== 'undefined'. The library would still work in Node.js because it'll just skip all the persistence logic and use the internal this.store map to act as a persistence layer.

Sure I will do it today

Done @kettanaito: https://github.com/mswjs/cookies/pull/8


Improve string column dict encoding performance

What changes were proposed in this pull request?
Improve writing performance of encoded string column. Speed up by 2x
Why are the changes needed?

How was this patch tested?
I tested it with clickhouse branch: https://github.com/ClickHouse/ClickHouse/pull/68591
Query:
set output_format_orc_dictionary_key_size_threshold = 1;
select concat('gluten ', cast(rand()%1000 as String)) from numbers(10000000) into outfile 'dict.orc' truncate;

Before current optimization:
10000000 rows in set. Elapsed: 2.794 sec. Processed 10.00 million rows, 80.00 MB (3.58 million rows/s., 28.63 MB/s.)
Peak memory usage: 9.07 MiB.

After current optimization:
10000000 rows in set. Elapsed: 1.423 sec. Processed 10.00 million rows, 80.00 MB (7.02 million rows/s., 56.20 MB/s.)
Peak memory usage: 9.07 MiB.

I have created a pr with current changes to upstream: https://github.com/apache/orc/pull/2010

It is probably that another PR contributed to upsteam will be merged in a few days. Let's turn this PR into draft status.


Recorder in /audio

Integrated a recorder app.
Check localhost:8000/audio

Little Buggy

Hello @svp19! Thanks for opening this PR.

In the file admin/views.py:

Line 39:1: W391 blank line at end of file

In the file audio_files/forms.py:

Line 14:1: W391 blank line at end of file

In the file audio_files/migrations/0001_initial.py:

Line 21:101: E501 line too long (114 > 100 characters)
Line 22:101: E501 line too long (167 > 100 characters)
Line 23:101: E501 line too long (124 > 100 characters)

In the file resources/bootstrap3/components.py:

Line 39:13: W503 line break before binary operator

In the file resources/bootstrap3/forms.py:

Line 125:13: W503 line break before binary operator
Line 131:17: W503 line break before binary operator

In the file resources/bootstrap3/renderers.py:

Line 419:101: E501 line too long (106 > 100 characters)
Line 534:17: W503 line break before binary operator

In the file resources/bootstrap3/templatetags/bootstrap3.py:

Line 381:101: E501 line too long (106 > 100 characters)
Line 410:101: E501 line too long (111 > 100 characters)
Line 422:101: E501 line too long (105 > 100 characters)
Line 466:101: E501 line too long (112 > 100 characters)
Line 472:101: E501 line too long (112 > 100 characters)
Line 579:101: E501 line too long (113 > 100 characters)
Line 633:101: E501 line too long (112 > 100 characters)

In the file resources/bootstrap3/tests.py:

Line 221:101: E501 line too long (103 > 100 characters)
Line 230:101: E501 line too long (110 > 100 characters)
Line 233:13: W503 line break before binary operator
Line 273:13: W503 line break before binary operator
Line 274:13: W503 line break before binary operator
Line 275:13: W503 line break before binary operator
Line 337:13: W503 line break before binary operator
Line 338:13: W503 line break before binary operator
Line 411:101: E501 line too long (106 > 100 characters)
Line 424:101: E501 line too long (107 > 100 characters)
Line 437:101: E501 line too long (103 > 100 characters)
Line 490:13: W503 line break before binary operator
Line 491:13: W503 line break before binary operator
Line 613:13: W503 line break before binary operator
Line 614:13: W503 line break before binary operator
Line 615:13: W503 line break before binary operator
Line 766:13: W503 line break before binary operator
Line 793:101: E501 line too long (112 > 100 characters)
Line 800:101: E501 line too long (112 > 100 characters)

Do see the Hitchhiker's guide to code style


Create Treemap visualisation

Create a module using plotly to allow us to visualise treemap style graphs, for logistical budgets. An example graph is here: https://coin360.io/
However, for our purposes we might want to visualise say network components over file components, or using the actor module, time over money for a given threat actor. So keep the treemap code flexible, and usable for 3 dimensions of visualisations.
Stick to the output conventions of png, html, etc as in heamps module.

The best way to approach this would probably be to add a module, say treemaps.py, which would sit alongside heatmaps.py and scorecards.py.  Then the main program, generate.py, could then be modified to add processing of command-line arguments which would trigger and control treemap generation.  Then development can proceed on the treemaps without collision with changes to heatmaps.py or scorecards.py.
Within treemaps.py, we might have a function that iterates over events in a similar manner to heatmaps.py or scorecards.py (like the code at https://github.com/Concinnity-Risks/LogisticalBudget/blob/33aee14f1fee316dfb5d441182253f46f1ae58f7/scorecards.py#L149) and pull out our desired statistics.  We probably want to parameterise the function so that the caller can choose which statistics to look at.  Once all of the events have been scanned through, we can look at generating a visualisation.
I am not seeing anything jumping out in terms of gnuplot supporting treemaps, but I shall have a look for suitable alternatives.

I just discovered that plotly supports treemaps: https://plot.ly/python/treemaps/

Thanks @StrayLightning. I just pushed my original code to a branch called "erin." I'll try what you suggested and update the branch this weekend. That plotly tutorial was what I was following when I first tried creating the treemap.

I'll have a look at this too, and thank you two for getting it started.


Scatter is not injected to iframe

We have a web page that is designed to be loaded in iframe, however "window.scatter" is always undefined within the iframe.
Our web page works perfectly fine if the client has Scatter desktop, it fails to detect scatter only if the client only has this extension.
I know this extension is deprecated, however we know many of our users only have this extension, we will appreciate if you can upgrade it to inject script to iframe when users are still transiting from extension to scatter desktop.
In order to inject the script to iframe, I believe it is as simple as adding "all_frames": true to content_scripts.
https://developer.chrome.com/extensions/content_scripts#frames

We've had quite a few developers try to get iframes to work, and have yet to have one figure it out. Iframes are generally very restrictive and don't support injections, especially since Scatter is only injecting into the uppermost level and has no knowledge of any iframes.
Your solution is possible to work, but it will not be included in the extension as it's deprecated and no updates are being applied unless absolutely necessary ( security related )


merge package template from arlac77/npm-package-template

package.json

chore(engines): update<EMAIL_ADDRESS>from template

.travis.yml

chore(travis): merge from template .travis.yml

Coverage remained the same at 69.388% when pulling 11f24fce6cf8e9f203b415ac9db12ca6b92be22e on template-sync-1 into 1455c4f0b8ac8826598e8126049490aac7badee4 on master.

Codecov Report

Merging #139 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #139   +/-   ##
=======================================
  Coverage   69.79%   69.79%
=======================================
  Files           2        2
  Lines          96       96
=======================================
  Hits           67       67
  Misses         29       29

Continue to review full report at Codecov.

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


github runnter has switched to ubuntu 22.04 based on debian bullseye

hi,
github action currently fails cause github runner has switched to ubuntu 22.04
which is based on debian/bullseye instead of debian/buster

Thank you very much!


add syncoptions for tetrateistio app

Issue #118
Enabled auto creation of namespace in argocd app for tetrateisio adds_on
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@csantanapr
Kindly review and advise if you have any comments.


[FEATURE] Publish solutions

Is your feature request related to a problem? Please describe.
Let's say we have 100 projects, how are we going to run the actions one by one for each file?
Describe the solution you'd like
Allow build by solution, and filter all the nupkg artifacts as uploadables
Describe alternatives you've considered
Copy and pasting 100 similar entries using YAML anchors (https://support.atlassian.com/bitbucket-cloud/docs/yaml-anchors/)
Additional context
This is very common if you have code autogeneration (especially when it comes to OpenAPI and Linq2db)

Hi @wizpresso-steve-cy-fan
We forked the repository publish-nuget to extend the functionality made by the original author only to fit our needs, and since we do not need this functionality we'll not implement this on our own.
You're welcome to create a pull request with the requested functionality or fork it an change it to fit your needs.


added the view code contributions page

https://github.com/ChallengeForge/TheWeeklyChallenge/assets/31693594/64c5f1b9-7267-4aeb-9760-b98fa02a18fe

Description
In this PR, I created the view code contributions page where users can view code snippets from contribution of other users, I also added a comment section and a syntax highlighter to complete the stated requirements.
Type of Change

[ x] ✨ New feature (non-breaking change which adds functionality)
[ ] 🛠 Bug fix (non-breaking change which fixes an issue)
[ ] ❌ Breaking change (fix or feature that would cause existing functionality to change)
[ ] 🧹 Code refactor
[ ] ✅ Build configuration change
[ ] 📝 Documentation
[ ] 🗑 Chore

Changes

Please which part of the project your changes affect ?

[ x] Frontend (Templates, CSS, JS)
[ ] Backend (Dancer2, api-docs, Dockerfile)

@manwar , kindly review, thanks.

Thanks for your contributions. @kemsguy7

Thanks for your contributions. @kemsguy7

You're welcome @manwar


Safaria Tab Groups

Is it possible to search all tab groups?

I'd love this feature too. And I'm willing to give it a shot myself. I'd just need some pointers because it'd be my first time developing an Alfred workflow.  How do you make a release?

I'd love this feature too。

For this to be possible, Apple would have to have implemented AppleScript support for querying tab groups, which they did not. The request needs to be directed at them, via the Feedback Assistant app.


request: timeout error

I'm getting a lot of these errors, I don't have any problem with discord.js running on the same network, although maybe they are doing retries?
2023/01/10 20:10:32 error occurred getting channel "##############": REQUEST ERROR: client "": x "###############": route: "32": resource: "": endpoint: "https://discord.com/api/v10/channels/##############": error: timeout
2023/01/10 20:11:43 error occurred sending a message to channel "##############": REQUEST ERROR: client "": x "###############": route: "40": resource: "": endpoint: "https://discord.com/api/v10/channels/##############/messages": error: read tcp4 <IP_ADDRESS>:51942-><IP_ADDRESS>:443: i/o timeout
2023/01/10 20:11:49 error occurred sending a message to channel "##############": REQUEST ERROR: client "": x "###############": route: "40": resource: "": endpoint: "https://discord.com/api/v10/channels/##############/messages": error: timeout

@montanaflynn A timeout occurs when the message is not sent within the request's timeout, which is set within the configuration. The timeout represents the amount of time a request will wait for a response.
You can adjust the bot's timeout from the Client.Config.Request.Timeout which is defined at Request. If you would like to ensure that requests occur within a certain time, but are always retried, you can adjust the amount of retries per request by setting the Client.Config.Request.Reset.
For more information, check out the Client example: Request.

@montanaflynn Please let me know if this information helped your problem. If you need more help, feel free to ask.

Note For Maintainer
discord.js sets the default timeout to 15 seconds. Consider changing the default timeout, adding the timeout error to a FAQ, or creating a TimeoutError which describes the issue.

Thanks @switchupcb, this has indeed solved the problem!


How to specify pod cidr and service cidr?

Previous versions of sealos could specify pod and service networkcidr through  sealos init -- podcidr -- servicecidr.
But for  sealos version 4.0, there is no option to specify these two network
the following is the SealOS command
Usage:
sealos run [flags]
Examples:
create cluster to your baremetal server, appoint the iplist:
sealos run labring/kubernetes:v1.24.0 --masters <IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>
--nodes <IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS> --passwd xxx
multi image:
sealos run labring/kubernetes:v1.24.0 calico:v3.22.1
--masters <IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS> --nodes <IP_ADDRESS>,<IP_ADDRESS>

https://www.sealos.io/docs/getting-started/customize-cluster

https://www.sealos.io/docs/getting-started/customize-cluster

it's useful to specify pod network，but i want specify service network, is there any idea?thanks

maybe same method
networking:
  serviceSubnet: <IP_ADDRESS>/12
  podSubnet: <IP_ADDRESS>/16

maybe same method
networking:
  serviceSubnet: <IP_ADDRESS>/12
  podSubnet: <IP_ADDRESS>/16

i have tried ,but not work

networking:
  serviceSubnet: "<IP_ADDRESS>/16"
  podSubnet: "<IP_ADDRESS>/16"
  dnsDomain: "cluster.local"
apiServer:
  certSANs:
    - "<IP_ADDRESS>"
  timeoutForControlPlane: 4m0s

I have tried like this,the Cluster cloud be created.when I tried to add --master,I got a message as followed.
error execution phase control-plane-prepare/certs: error creating PKI assets: failed to write or validate certificate "apiserver": certificate apiserver is invalid: x509: certificate is valid for <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, not <IP_ADDRESS>

Provide docs about how to add certSANs

https://github.com/labring-actions/bug-verify/actions/runs/4161615545

new version is fixed 4.1.5-rc1 test is ok.


Fix sys_futex race condition

According to the specification:

FUTEX_WAIT (since Linux 2.6.0)
This operation tests that the value at the futex word pointed
to by the address uaddr still contains the expected value val,
and if so, then sleeps waiting for a FUTEX_WAKE operation on
the futex word.  The load of the value of the futex word is an
atomic memory access (i.e., using atomic machine instructions
of the respective architecture).  This load, the comparison
with the expected value, and starting to sleep are performed
atomically and totally ordered with respect to other futex
operations on the same futex word.  If the thread starts to
sleep, it is considered a waiter on this futex word.  If the
futex value does not match val, then the call fails
immediately with the error EAGAIN.

Now the load and sleep is not an atomic operation on futex.
So if events happen as the following:
Thread A wants to wait futex. Thread B wants to wake futex.

Thread A loads the word at kernel space.
Thread B stores the word at user space.
Thread B wakes up the queue at kernel space.
Thread A sleeps at the queue at kernel space.

Then thread A will sleep forever. GG.

The current Condvar facility is incomplete and prone to racing. We need to rethink how Condvar works and how sys_{poll, select} uses it.


Saving filters in PDF format.

I would like to know if it is possible to create a function to print or export task filters in PDF format. If possible I would be very grateful!

Thanks for your suggestion! We currently don't have plans to implement a PDF export function for task filters. We'll keep this in mind for potential future updates, but can't make any promises at this time. Appreciate your interest in improving the project!


Drop gcc from build

Ideally we shouldn't need to use conda's gcc here. So, dropping it from our build requirements.

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

@jakirkham Maybe it si worth re-rendering too. (It will get rid of homebrew.)

Definitely! Done. Might want to cancel some of these extra builds (I don't have access).

CircleCi and Travis-CI do that automatically, no?

Nope. Just AppVeyor IIRC. We could look into it, but then again they are pretty well behaved. In any event, it looks like they all finished.

Ok, all passing now. Anything else you would like to see?

Thanks!

Of course.


Build native commands in parallel

This provides a very nice speedup when building. I'm not sure how many cores your VPS has, but it scales quite well on my machine (8 cores, 16 threads).

epic


Need amazon corretto jdk based on alpine 3.13

Alpine Linux 3.13 was released back in january 2021 with significant updates to kernel and other packages. There has already been 4 minor release (3.13.4 latest). It would be good to have corretto docker image based on alpine linux 3.13.

@gyanu1 Thanks for reaching out. We will looking into this and let you know once it's ready.

I believe this is required in order to remediate CVE-2021-3177 (fix applied in Alpine Linux 3.13.3).

Thanks for reaching out. We've verified that the Alpine images we currently ship are not susceptible to CVE-2021-3177 since they don't include Python installed by default. If you choose to install it, the updated version of Python (3.8.8) will be installed, which is not susceptible to CVE-2021-3177. Alpine 3.12 is supported until 2022-05-01 and upgrading to 3.13 is on our radar. We'll have more to share in the future.


⚠ Adacta-fintech.com has degraded performance

In bad4030, Adacta-fintech.com (https://www.adacta-fintech.com) experienced degraded performance:

HTTP code: 200
Response time: 1417 ms

Resolved: Adacta-fintech.com performance has improved in a599133 after 8 minutes.


Inconsistent type inference when connecting values to ports

Please ensure that you are running the latest version of Luna before reporting the bug! It may have been fixed since.
General Summary
The order in which you connect ports has an effect on the type inference. For example, if you have a node whose expressions is +, you will have two input ports, a0 and a1. If you connect an Int value to port a0 first, the type of the node will change to Int -> Int. If you connect a value to a1 first, the type will change to a3 -> *. The number of input ports also varies in each case: with a0, an input port disappears, leaving just one port. With a1, both ports remaining separate and distinct.

Steps to Reproduce
Please list the reproduction steps for your bug. For example:

Create a new project with luna init MyProject.
Enter the node editor.
Create a node with expression +.
Create an Int value node.
Connect that value first to a0.
Disconnect the value from a0.
Connect the value to a1.

Expected Result
The order of port connection should not affect the result of type inference: in both cases, the type parameter should take the Int value.
Luna Version
1.4 beta

This is really strange. It seems like backend sending wrong info in the 2nd case. Moreover in the first case the inputs disappear and don't get colored. On my 1.4 it's working correctly.

This is the first case here:

And the second:

Seems like multiple bugs - in display and type inference.

This isn't a bug, it turns out to be inherent to how the standard library + is written. Thanks for the explanation @wdanilo  - it may prompt a future conversation about the complexity of the standard library for folks new to Luna, but for now, closing this out :sparkles:

Ok, @joenash sorry for the confusion, there are few bugs here. So the type inference works as expected (and that's good), but there are some serious UI issues. First of all in your screenshot, after you connect to the first input port the node has suddenly single port visible (the second is disappearing - this is a bug). On my second screenshot, there is also a display bug, so I'm re-opening this issue. I'm assigning here @pmlodawski. Piotrek, we have to be sure these errors are not available in the new GUI and then close this issue.

I can confirm that it is backend/TC issue


Roll Engine from 5b2068872afe to ebd29af4f653 (3 revisions)

https://github.com/flutter/engine/compare/5b2068872afe...ebd29af4f653
2022-01-22<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from jN5n0Wzss... to 4jCbYGgPk... (flutter/engine#30995)
2022-01-22<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from d1Wlz-aBU... to FPHYMGiv5... (flutter/engine#30994)
2022-01-22<EMAIL_ADDRESS>Roll Dart SDK from f472e051f203 to d680aba1e21f (1 revision) (flutter/engine#30993)
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from d1Wlz-aBU1Il to FPHYMGiv55yG
fuchsia/sdk/core/mac-amd64 from jN5n0Wzssv_F to 4jCbYGgPkaa7
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


[SU-178] Support leaving workspaces

This adds a new button to the workspace menu that allows a user to remove themselves from a workspace.
Because we cannot know ahead of time if the user is actually able to leave a workspace, we rely on Sam's error messaging to clearly communicate to the user why they might be unable to leave, rather than displaying a tooltip. Specifically, there are restrictions in Sam based on factors like number of members of the owner policy, if policy membership is direct, is the resource public, etc.

<!--
Hello, friend!
Remember to mention what sort of testing/verification you performed in the course of building this PR, i.e. checking functionality in the browser locally.
Also, so if a screen recording [1] and/or screenshots would be a helpful way to communicate context, please consider including some in your PR description.
Thanks!

[1] https://support.apple.com/guide/quicktime-player/record-your-screen-qtp97b08e666/mac
--!>

@MatthewBemis can you add some simple unit test coverage to the existing WorkspaceMenu.test.js class (which verifies the state of all the other menu items)? I thinking that you just check that Leave is disabled if the workspace is not yet loaded, and enabled for both Azure and GCP workspaces.

@cahrens leave button is now disabled until workspace has loaded in 05a017f07dbc3e30c15c8cedc0628826c9308a08
unit test coverage added in cf39fb091d7370dba8c9fedc8cff8ed3b13fd4f9


mu: 1.6.10 -> 1.6.11

Description of changes
Package bump.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 176387 run on x86_64-linux 1

2 packages built:

lbdb
mu

Another mu4e user (^:


Clarify Error Messages for Type Validation

Describe the Bug
I was testing the username validation with constraints like being lowercase, alphanumeric, not matching /^admin/i, and within a size range of 3-20. The error message I received was confusing:
Expected String(being lower case,
being only alphanumeric characters,
matching /^admin/i,
having size greater than 3 and less than 20),

but got String(being not lower case,
does not match /^admin/i) (TypeError)

This message suggests the string should match /^admin/i when it should not.
To Reproduce
Steps to reproduce the behavior:

Define a username validation with the following constraints:

username = _String
  .being_lowercase
  .being_alphanumeric
  .having_size_between(3, 20)
  .not_matching(/^admin/i)

Attempt to validate "Admin":
username.validate!("Admin")

Expected Behavior
A clear and concise error message could be:
Expected String(being lowercase,
alphanumeric,
**not** matching /^admin/i,
size 3-20),

got String(not lowercase, **matches** /^admin/i)

Environment

Ruby version: ruby 3.3.6
Gem name and version: domainic-type 0.1.0.alpha.3.3.0
OS: MacOS

Additional Context
Haven't pinpointed the exact location in the codebase to fix error message

@aaronmallen closing this, added my feedback here

@aaronmallen closing this, added my feedback here

I'm reopening as this is a legitimate bug, but please continue to leave other feedback like this on the other ticket.


Rename Binary=>Bytes, FixedBinary=>BytesN

What
Rename Binary=>Bytes and FixedBinary=>BytesN.
Why
Binary is a somewhat confusing term. When I see it in the docs it doesn't scream at me that this is the type for storing byte slices or byte arrays. Doing a quick survey of Ethereum, they use the term Bytes in both Solidity and Vyper. Thinking back to whenever I have explained Binary to others or in my head, I immediately reach for the term "bytes" or "byte slice".
This change helps others gracefully update their code because is still contains the Binary and FixedBinary types, with deprecated notices to encourage folks to switch to the new types.
Close #385

Skimmed it and it looks reasonable enough. Should the spec type names change too?


waifu2x.upscaleImage is not a function

Please make a testing example (es module) I have done what is explained in the readme
import waifu2x from "waifu2x"
await waifu2x.upscaleImage()

but the response is like this
TypeError: waifu2x.upscaleImage is not a function

So, if you can, just make an example test

on javascript you probably have to use waifu2x.default. Can you try printing it and see what it is?

turns out it works, thanks for the help. I will close this issue.
But I have a suggestion for the next update, just use the Canvas Module from NPMJS because the one on GitHub has an error or can't be imported, so I'm forced to only install the old version.

on javascript you probably have to use waifu2x.default. Can you try printing it and see what it is?

turns out it works, thanks for the help. I will close this issue. But I have a suggestion for the next update, just use the Canvas Module from NPMJS because the one on GitHub has an error or can't be imported, so I'm forced to only install the old version.

What node.js version are you using? Make sure you have the latest version: https://nodejs.org/en
I can't use the one on npm because it contains a bug and I cannot compile it.

I'm already using the latest version of node.js (nodejs_21), but still can't install, like the response you see below:

What node.js version are you using? Make sure you have the latest version: https://nodejs.org/en
I can't use the one on npm because it contains a bug and I cannot compile it.

I'm already using the latest version of node.js (nodejs_21), but still can't install, like the response you see below:

and error when installing the canvas module

To build it you need to install Microsoft Visual C++ Build Tools: https://visualstudio.microsoft.com/downloads/?q=build+tools
If you still can't install it you are better off asking them as it's an issue with their repo. https://github.com/Automattic/node-canvas
Canvas is only used to get images from a PDF so if you don't want to upscale PDF's you don't need it. I will try to find an alternative way to do it since it's true that this dependency is a pain to install.

Update to 1.4.0 I dropped the canvas dependency


[Fix] fix issue: #132

issue #132:
Under Windows, relpath can't get a relative path to a path in different volume.
If there is a package installed in a volume different from where python is installed. debugtoolbar crashes.
How to reproduce:

Windows
install python in c:\python
git clone any package such as https://github.com/mgood/flask-debugtoolbar into d:\, than use pip install -e . to install it.
run flask with debug toolbar.
crash!

I replied in #130 .

I know it's been a long time, but do you still have any interest in this?
If so, it will need to catch it up with master and retest. If not, we'll probably close it out.

I'm going to suggest closing this too. Thank you.


chore: pre-commit

What I did:
poetry shell
poetry add --dev pre-commit
# copy pre-commit configuration
pre-commit install
pre-commit run --all-files

Also, I've added myself as a CODEOWNER for .pre-commit-config.yaml file.

:tada: This PR is included in version 1.91.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Another Monkey workload

Fails at RandSeed = 683
   cCommands : array [0..11] of Integer = (
      ecLeft, ecRight, ecUp, ecDown,
      ecChar,
      ecCopy, ecCut, ecPaste,
      ecDeleteChar, ecBackspace, ecUndo, ecRedo
      );
   cNBActions = 5;

and yet another workload without clipboard but more actions, fails at seed = 241
cCommands : array [0..8] of Integer = (
ecLeft, ecRight, ecUp, ecDown,
ecChar,
ecDeleteChar, ecBackspace, ecUndo, ecRedo
);
cNBActions = 10;

Fixed both issues.


phpunit: No tests executed!

Operating System: Mac OS Serria
Vagrant Version: 3.18.0
Virtual Box Version: 5.2.8
Please help me😵
the following message is output When phpunit is executed.
No tests executed!
log

vagrant@vccw:/vagrant/wordpress/wp-content/plugins/test$ phpunit
Installing...
Running as single site... To run multisite, use -c tests/phpunit/multisite.xml
Not running ajax tests. To execute these, use --group ajax.
Not running ms-files tests. To execute these, use --group ms-files.
Not running external-http tests. To execute these, use --group external-http.
PHPUnit 5.6.0 by Sebastian Bergmann and contributors.
Time: 1.25 seconds, Memory: 26.00MB
No tests executed!

But It works if I specify the path to the test file.
log

vagrant@vccw:/vagrant/wordpress/wp-content/plugins/test$ phpunit tests/test-sample.php
Installing...
Running as single site... To run multisite, use -c tests/phpunit/multisite.xml
Not running ajax tests. To execute these, use --group ajax.
Not running ms-files tests. To execute these, use --group ms-files.
Not running external-http tests. To execute these, use --group external-http.
PHPUnit 5.6.0 by Sebastian Bergmann and contributors.
.                                                                   1 / 1 (100%)
Time: 1.59 seconds, Memory: 28.00MB
OK (1 test, 1 assertion)

Sorry for delaying. 😓
Does your plugin have phpunit.xml.dist?

@miya0001
Thank you for your reply.
I fixed this issue.
"test-sample.php" excluded by default setting🙏


BUG: Alignment issue

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?

the buttons must have proper space and alignment which will make it look professional and at the same time effective!
Please assign me this task!
This will be my first contribution in GSSOC'24
Record

[X] I agree to follow this project's Code of Conduct
[X] I have checked the existing issues
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@Aanyaa26 can u give preview of that

@saurabhsingh720

Somewhat like this (the CSS will be according to the theme)
As if now it is looking quite clustered which should be aligned properly!!

@Aanyaa26 do it but u have to maintain the color that is matching the ui

Sure @saurabhsingh720


Static files with whitespaces not working

I'm serving two jpg files with KestrelHttpServer: "test.jpg" and "test with space.jpg".
The test jpg is served correctly but test%20with%20space.jpg gives me a 404.
I'm using DNX beta8 and I'm starting the server with "dnx web" where the web command in project.json is defined like this:
"commands": {
"web": "Microsoft.AspNet.Server.Kestrel"
}

This was recently fixed in RC1 to correctly un-escape the path.

Whoa, that was fast. Thanks for the reply.