ocaml-top: 1.1.4 -> 1.1.5

Motivation for this change
Compatibility with OCaml 4.06
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[x] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

Success on x86_64-linux (full log)
Attempted: ocaml-top
Partial log (click to expand)
Processing file ocaml-top.install as ocaml-top.
post-installation fixup
moving /nix/store/z7287ic5aj1q9ympjhnkgj41la50dvyh-ocaml-top-1.1.5/doc to /nix/store/z7287ic5aj1q9ympjhnkgj41la50dvyh-ocaml-top-1.1.5/share/doc
shrinking RPATHs of ELF executables and libraries in /nix/store/z7287ic5aj1q9ympjhnkgj41la50dvyh-ocaml-top-1.1.5
shrinking /nix/store/z7287ic5aj1q9ympjhnkgj41la50dvyh-ocaml-top-1.1.5/bin/ocaml-top
strip is /nix/store/4qvrxzxa535y8304mk195x50b6p9607d-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/z7287ic5aj1q9ympjhnkgj41la50dvyh-ocaml-top-1.1.5/lib  /nix/store/z7287ic5aj1q9ympjhnkgj41la50dvyh-ocaml-top-1.1.5/bin
patching script interpreter paths in /nix/store/z7287ic5aj1q9ympjhnkgj41la50dvyh-ocaml-top-1.1.5
checking for references to /build in /nix/store/z7287ic5aj1q9ympjhnkgj41la50dvyh-ocaml-top-1.1.5...
/nix/store/z7287ic5aj1q9ympjhnkgj41la50dvyh-ocaml-top-1.1.5

Success on aarch64-linux (full log)
Attempted: ocaml-top
Partial log (click to expand)
Processing file ocaml-top.install as ocaml-top.
post-installation fixup
moving /nix/store/y905lz3dvxhlfvfikal1nyqmpkppz8n8-ocaml-top-1.1.5/doc to /nix/store/y905lz3dvxhlfvfikal1nyqmpkppz8n8-ocaml-top-1.1.5/share/doc
shrinking RPATHs of ELF executables and libraries in /nix/store/y905lz3dvxhlfvfikal1nyqmpkppz8n8-ocaml-top-1.1.5
shrinking /nix/store/y905lz3dvxhlfvfikal1nyqmpkppz8n8-ocaml-top-1.1.5/bin/ocaml-top
strip is /nix/store/0pjsgkxz0rp5baycq5sp2s72lrr5q9sg-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/y905lz3dvxhlfvfikal1nyqmpkppz8n8-ocaml-top-1.1.5/lib  /nix/store/y905lz3dvxhlfvfikal1nyqmpkppz8n8-ocaml-top-1.1.5/bin
patching script interpreter paths in /nix/store/y905lz3dvxhlfvfikal1nyqmpkppz8n8-ocaml-top-1.1.5
checking for references to /build in /nix/store/y905lz3dvxhlfvfikal1nyqmpkppz8n8-ocaml-top-1.1.5...
/nix/store/y905lz3dvxhlfvfikal1nyqmpkppz8n8-ocaml-top-1.1.5


Automated Package Upgrade

:tada: This PR is included in version 25.3.216 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


gpg-agent

Is there a gpg-agent plugin?

Currently, no.

@beckend what should the plugin provide?

Something like:
# Add the following to your shell init to set up gpg-agent automatically for every shell
if [ -f ~/.gnupg/.gpg-agent-info ] && [ -n "$(pgrep gpg-agent)" ]; then
    source ~/.gnupg/.gpg-agent-info
    export GPG_AGENT_INFO
else
    eval $(gpg-agent --daemon --write-env-file ~/.gnupg/.gpg-agent-info)
fi
export SSH_AUTH_SOCK=$HOME/.gnupg/S.gpg-agent.ssh

I see. We'll need to adjust this a bit to also make it work for gpg v 2. This gives me: gpg-agent[xxx]: WARNING: "--write-env-file" is an obsolete option - it has no effect
Think we should use gpgconf in that case

Why not just use the oh-my-zsh gpg-agent plugin or this?

You could probably use a plugin manager and do something like this zplug "plugins/gpg-agent",   from:oh-my-zsh, at least if you're using https://github.com/zplug/zplug

@ericbn @Eriner, can we close this now that #257 is merged?


Issue 23: pack command cannot detect the appropriate builder

pack should execute relative to the root of the code repo
Closes #23

This should be incorporated in the latest releases of the action. Thanks for the help with it!


GoogleMap can now be changed in time

Currently map component cannot be changed, e.g. center cannot be moved, markers cannot be added. I'm attaching simple fix for that, with a demo

nice :+1:  , thank you :)


Feature: Keyboard Control

Now that Gnome-Pie is working flawless on Arch Linux I'll start asking some features :D
Is it possible to include some Keyboard controls? Let me explain... Suppose that I pressed A to call the application pie, is it possible to "navigate" through the slices using only the keyboard?
A nice approach (at least for me) would be, when the pie is displayed if I hold  and Gnome-Pie shows some numbers near the slices and when I press - lets suppose - 5 (with the  key still hold) it launches Firefox. With this approach you can attract many keyboard users and not disturb the mouse users.
Of course you can also use the arrow keys to navigate throughout the slices and enter to launch, but I think it takes more time and more key presses to find what I'm looking for.
Thanks again

It's implemented!
Here's what I did:

mouse usage did not change
you can select a slice with the arrow keys and press Return to activate it
when a pie is open, you can press a hot-key for each slice in order to activate it - hot-keys are clockwise assigned (0-9, A-Z) for the first 36 slices (enough ugh?)
when you press ALT while a pie is open, these hot-keys are displayed

Nice - very much appreciated!

In these 8 long years since I started using GNU/Linux and others FOSS (Free Open Source Software) I've never seen a developer so engaged with the interest of their users.
Thank you so much. All these features seems to be what I needed. Now, I just need to figure out how to compile it at Gnome 3.2.

Well, kind words, thanks!
I can hardly test it with Gnome 3.2 (3.1 here...) When I find the time I'll setup a virtual machine... But if you could create patch... would be awesome! When the only problem is gmenu, it'll be easily fixed, won't it? Maybe some cmake-tweaks?

I'm trying to figure out a solution here, but as Python developer I know little about cmake and etc :)

Okay, I made some progress around here but I don't have good news. Based on this thread (https://bbs.archlinux.org/viewtopic.php?id=126887) I found out that the libgnome-menu is also provided by the package gnome-menus2 (available at AUR) but it conflicts with the existing /usr/lib/libgnome-menu.so (provided by the package gnome-menus). Since it's just a symbolic link to libgnome-menu-3.so.0.0.0 I've renamed it and installed the gnome-menus2 package. After that Gnome-Pie compiled successfully.
Since I'm a little afraid that this library may be used by many things I've restored the old symbolic link. Gnome-Pie seems to be running flawless whit this setup.

I just had a quick view at the gmenu-tree.h from gnome-menus-3.0 --- it seems to be pretty different from my version. The only purpose I need this library for is the main menu slice group. An easy workaround would be to disable this group if libgmenu wasn't found. And make this library an optional dependency.
But this is only the last solution. Would be better if I could make cmake find gnome-menus-3.0 as well. And, if the interface changes a lot between these versions, I'll have to write to versions of this slice group :)
We'll get fixed!

Will it land in your PPA soon?

I plan to release version 0.2 "officially" by the end of this week. Some changes to my new homepage are still needed and I want to fix the gmenu-issue mentioned above. But then it will come to the PPA!

@ magnunleno: It should work now! At least, for me it does. It was quite hard (involved creating a new vala-binding for libgnome-menu-3 and many preprocessor symbols) but hopefully it does what it is supposed to do!
Cmake checks now whether libgnome-menu-3 is available and falls back to libgnome-menu2 if not.

GREAT! :D


Noted in tutorial that HTML is incomplete

This comes from this question on the forums: https://forum.djangoproject.com/t/are-html-tags-needed-in-templates/806


Vendor in latest storage, image and runtime-tools

Need to pull in the latest containers/storage and containers/image to fix lots of
issues.  Also want to update runtime-tools to take advantage of newer generate
code.
Signed-off-by: Daniel J Walsh<EMAIL_ADDRESS>

@mheon @baude @umohnani8 @TomSweeneyRedHat PTAL

LGTM and all happy green buttons.

Ok I am going to merge since this is required to move some of the other PRs forward, and it is all vendoring.

@rh-atomic-bot r+


Set the rofi prompt text

Right now running clipmenu with Rofi results in the prompt text just saying dmenu:. But by passing in -p clipmenu into Rofi it will be changed to clipmenu: which is a lot nicer.

Thanks, merged 04b71fb7a9b076b88959c71760a973efe6b399c5 which passes this only for rofi, since in dmenu it takes space that otherwise wouldn't be taken.


Account deleted from org. Terraform fails.

TL;DR
Org with accounts, groups, etc, managed through Terraform (terraform apply working fine)
An user had his account removed from the organization (through Admin panel). This user was in a group managed through Terraform, using this module.
Terraform fails with:
│ Error: Error when reading or editing CloudIdentityGroupMembership "groups/xxxxxxx/memberships/1231233333333331123123": googleapi: Error 403: Error(2028): Permission denied for resource groups/xxxxxx/memberships/12312312321 (or it may not exist).

Expected behavior
Terraform (and this module) identify the missing resource and offer to recreate or remove from the state file.
Observed behavior
Terraform fails and blocks the module usage.
Terraform Configuration
module "group" {
  source  = "terraform-google-modules/group/google"
  version = "~> 0.3"

  id           = var.iam_group.group_id
  display_name = var.iam_group.display_name
  description  = var.iam_group.description
  domain       = var.groups_domain
  owners       = var.iam_group.owners
  managers     = var.iam_group.managers
  members      = var.iam_group.members
}

   team_xpto = {
     group_id     =<EMAIL_ADDRESS>     display_name = "(TF) Team XPTO Team",
     description  = "Terraform managed group for Team XPTO team",
     owners       = [],
     managers     = [],
     members      = [
<EMAIL_ADDRESS>
<EMAIL_ADDRESS>
<EMAIL_ADDRESS>
<EMAIL_ADDRESS>       <<<--- user removed, for example
                    ],
   },

variable "group_obj"{
  type = map(object({
    group_id     = string
    display_name = string
    description  = string
    owners       = list(string)
    managers     = list(string)
    members      = list(string)
  }))
}

Terraform Version
Terraform v1.0.9
on linux_amd64
+ provider registry.terraform.io/hashicorp/google v3.90.1
+ provider registry.terraform.io/hashicorp/google-beta v3.90.1
+ provider registry.terraform.io/hashicorp/null v3.1.0

and

source  = "terraform-google-modules/group/google"
version = "~> 0.3"

Additional information
No response

@bruno-pison have you opened an issue in the provider repo (https://github.com/hashicorp/terraform-provider-google)? It looks like additional logic needs to be implemented for the google_cloud_identity_group_membership resource to handle this error when refreshing the terraform states.

Hello @xingao267 , I've not.
Right now, I'm trying to migrate from terraform-google-group to google_cloud_identity_group_membership and will check how it work there.


The TODO MVC VueJS Application does not save a change to a TODO item once created.

Example from here: https://xstate.js.org/docs/examples/todomvc.html#todomvc-with-vue
Description
Open the CodeSandbox via the link above.
Add a new TODO Item.
Double click on the newly created TODO item and attempt to modify the name.
Press enter to save.
Expected Result
The TODO item should be updated with the newly entered name.
Actual Result
The TODO item name reverts back to the previously entered value.
Reproduction
https://codesandbox.io/s/blue-fire-zd796?from-embed (as linked from the website).
Additional context
No other context.

The current example of the todo-mvc for Vue has different problems and is outdated with Vue 2. It's currently not even working for me :(
In this PR I've created a new version of it with everything working and updated to Vue 3:
https://github.com/davidkpiano/xstate/pull/2351


Minor: Fix compilation error

Which issue does this PR close?

Closes #.
Rationale for this change

Current CI reports the error as follow:
error[E0061]: this method takes 3 arguments but 2 arguments were supplied
   --> datafusion/optimizer/src/test/mod.rs:131:42
    |
131 |         Analyzer::with_rules(vec![rule]).execute_and_check(plan, &options)?;
    |                                          ^^^^^^^^^^^^^^^^^---------------- an argument is missing
    |
note: associated function defined here
   --> datafusion/optimizer/src/analyzer/mod.rs:83:12
    |
83  |     pub fn execute_and_check<F>(
    |            ^^^^^^^^^^^^^^^^^
84  |         &self,
85  |         plan: &LogicalPlan,
    |         ------------------
86  |         config: &ConfigOptions,
    |         ----------------------
87  |         mut observer: F,
    |         ---------------
help: provide the argument
    |
131 |         Analyzer::with_rules(vec![rule]).execute_and_check(plan, &options, /* observer */)?;
    |                                                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

https://github.com/apache/arrow-datafusion/actions/runs/4715203170/jobs/8362040848?pr=5980
What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

cc @alamb

Thanks @yjshen

Thanks @scsmithr too

Thanks @viirya  -- sorry about that. Maybe it is time to enable github merge queue to avoid such problems 🤔


How to include stylesheets of packages?

Hi, I am using react-select and I had to copy&paste the stylesheet to make it work.
I'd prefer to somehow load/include it somewhere, but didn't find any info on that.

@hakunin Good question. However, this is better suited for http://forum.shakacode.com/
The short answer is that you could do a relative reference to the node modules folder. Maybe you can configure your webpack to add that to some SCSS search paths. I think that could be an option for node-sass loader. This also depends on whether or not you're using our way of using CSS modules vs the older way of just keeping the asset pipeline separate from the webpack dev server technique.

Thanks, I'll give it a read. I tried to do @import form the after bootstrap scss file, but as I found there are no useful files in the node_modules, just empty folders (or so it seems).

@hakunin Please see how we load scss from other npm packages here: https://github.com/shakacode/bootstrap-loader.

I ended up adding sass loader and a relative path to the node module style file. It was easy, but it would be nice to have a bit of info for guys like me who have no previous experience with it.

@hakunin can you give me more detail instruction please. I met same problem.

Sorry, I am no longer using the gem.


Add prometheus operator ServiceMonitor samples

[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

@howardjohn: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio
4255defadfc40841eb5600b492a92e5e92c5448a
link
/test lint_istio

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.

In response to a cherrypick label: new pull request created: #25953


updates on readme

@all-contributors please add @shyamexe  for code,doc

https://github.com/all-contributors please add @shyamexe for code

@all-contributors please add @shyamexe for code,doc

@all-contributors please add @shyamexe for data


Failed prop type: Invalid props.style key userSelect supplied to Image when using custom Thumb Image

Hi! When I supply a custom Thumb Image to the slider, the warning "Failed prop type: Invalid props.style key userSelect supplied to Image" shows up.
My code of the slider:
<Slider
style={{
width: "90%",
height: 20,
backgroundColor: "transparent",
justifyContent: "flex-start",
}}
thumbImage={require("../icon/bright1.png")}
thumbSize={50}
thumbTintColor="transparent"
minimumValue={0}
maximumValue={1}
value={0.65}
onValueChange={(value) => setLight(value)}
minimumTrackTintColor="white"
maximumTrackTintColor="white"
/>
The full error message is:
Warning: Failed prop type: Invalid props.style key userSelect supplied to Image.
Bad object: {
"width": 45,
"height": 45,
"backgroundColor": "grey",
"zIndex": 1,
"borderRadius": 22.5,
"overflow": "hidden",
"userSelect": "none"
}
Valid keys: [
"display",
"width",
"height",
"start",
"end",
"top",
"left",
"right",
"bottom",
"minWidth",
"maxWidth",
"minHeight",
"maxHeight",
"margin",
"marginVertical",
"marginHorizontal",
"marginTop",
"marginBottom",
"marginLeft",
"marginRight",
"marginStart",
"marginEnd",
"padding",
"paddingVertical",
"paddingHorizontal",
"paddingTop",
"paddingBottom",
"paddingLeft",
"paddingRight",
"paddingStart",
"paddingEnd",
"borderWidth",
"borderTopWidth",
"borderStartWidth",
"borderEndWidth",
"borderRightWidth",
"borderBottomWidth",
"borderLeftWidth",
"position",
"flexDirection",
"flexWrap",
"justifyContent",
"alignItems",
"alignSelf",
"alignContent",
"flex",
"flexGrow",
"flexShrink",
"flexBasis",
"aspectRatio",
"zIndex",
"direction",
"shadowColor",
"shadowOffset",
"shadowOpacity",
"shadowRadius",
"transform",
"transformMatrix",
"decomposedMatrix",
"scaleX",
"scaleY",
"rotation",
"translateX",
"translateY",
"resizeMode",
"backfaceVisibility",
"backgroundColor",
"borderColor",
"borderRadius",
"overflow",
"tintColor",
"opacity",
"overlayColor",
"borderTopLeftRadius",
"borderTopRightRadius",
"borderBottomLeftRadius",
"borderBottomRightRadius"
]
Would you kindly check what is the problem please? Thanks!

Oh, ok, I didn't use yet the thumbImage prop. So, notice that it's just a warning. It should not have any impact on your code. I'm gonna fix the warning. If you have issues with your usage of thumbImage, don't hesitate to report here, as I didn't test it yet.

Fixed in 6.0.2
Open a new issue for problems with the thumbImage

I used sharcoux 5.6.1 before, but the thumb freezed, cannot moved at all. And when I upgraded to 6.0.2, it crashed with below message:
Invariant Violation: "cursor" is not a valid style property.
StyleSheet view: {
"flexGrow": 1,
"flexShrink": 1,
"flexBasis": "auto",
"alignItems": "center",
"cursor": "pointer",
"userSelect": "none"
}
And also below error message that I assume is a red herring related to the problem of the cursor:
Invariant Violation: "main" has not been registered. This can happen if:

Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project.
A module failed to load due to an error and AppRegistry.registerComponent wasn't called.

Here is a list of dependencies if it helps:
"dependencies": {
"@babel/core": "^7.17.5",
"@react-native-async-storage/async-storage": "~1.15.0",
"@react-navigation/drawer": "^6.1.6",
"@react-navigation/native": "^6.0.4",
"@react-navigation/stack": "^6.0.11",
"@sharcoux/slider": "^6.0.2",
"expo": "^44.0.0",
"expo-ads-facebook": "~11.1.0",
"expo-app-loading": "~1.3.0",
"expo-asset": "~8.4.6",
"expo-brightness": "^10.1.1",
"expo-camera": "^12.1.2",
"expo-cli": "^5.3.1",
"expo-dev-client": "~0.8.4",
"expo-image-manipulator": "~10.2.0",
"expo-in-app-purchases": "^12.1.1",
"expo-keep-awake": "~10.0.1",
"expo-linking": "~3.0.0",
"expo-media-library": "~14.0.0",
"expo-navigation-bar": "~1.1.1",
"expo-sharing": "~10.1.0",
"expo-splash-screen": "~0.14.1",
"expo-status-bar": "~1.2.0",
"expo-store-review": "~5.1.0",
"react": "17.0.1",
"react-dom": "17.0.1",
"react-native": "0.64.3",
"react-native-applovin-max": "^3.0.2",
"react-native-gesture-handler": "~2.1.0",
"react-native-onboarding-swiper": "^1.2.0",
"react-native-reanimated": "~2.3.1",
"react-native-safe-area-context": "3.3.2",
"react-native-screens": "~3.10.1",
"react-native-web": "0.17.1"
},
I am using Expo and this is the babel.config.js:
module.exports = function(api) {
api.cache(true);
return {
presets: ['babel-preset-expo'],
plugins: ['react-native-reanimated/plugin'],
};
};
I wonder if you have time to look into it. Thanks!

This was fixed in version 6.0.3. Thanks a lot for your comments and help. Don't hesitate if you notice other issues.

Hi, have updated to 6.0.3. iOS works fine. But Android custom thumb is sticky, non-responsive. Need to push and poke many times and maybe the thumb jumps once.  I use both a horizontal and a vertical slider. The funny thing is that only horizontal slider in Android has this problem. Thanks!

Are there other gesture handler in your code around your slider? Otherwise, try to add a padding around the slider. It should work. I'll try to add a snack demo later.

Yes, there is another pressable nearby that interfered with the thumb. Once the presable is moved away, it works perfectly!! Thanks a lot!


Suricata doesn't seem to detect test case when IPS is ON

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

[x] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[x] I have searched the existing issues and I am convinced that mine is new.

Describe the bug
I have been following the video here:  https://www.youtube.com/watch?v=_yIq3GM4gjA
Things go well. I start to configure things, starting at 13:15 or so. But soon things start to go wrong.
As per the webinar:
13:20: I click "enabled", then Apply.  Only my LAN interface is selected, as expected.
13:48: I select OPNsense-App-detect/test, and click the "Enable" orange button.
14:09: I click "Download and apply rules".  I see the date/time and checkmark. There is nothing in the "Filter" column, as expected.
14:50: I setup the schedule, accept the default.
15:38: I open a command prompt and use curl to download test file:
c:\users\myself> curl http://pkg.opnsense.org/test/eicar.com.txt
X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*

(as expected)
16:00: I go to the alert section, and indeed I see the alert:

Now things go wrong.
To make sure I am not crazy, I first start fresh by deleting my log file, by pressing the little trash icon. The alerts list says: "No Alerts Found!", as expected.
18:08: In Administration Settings,  click "IPS mode", and Apply.   I click the shortcut to go to Interface settings, and I confirm that Hardware CRC, TSO, LRO are disabled.  Hardware VLAN dropdown is also disabled.

19:16: I click on the "Download" tab, I select the test rule again, press the orange button "Enable (drop filter)", and "Download & Update Rules"

19:43: I go to my console, try to download the file again.
Unexpectedly I can download the file.

I go to my alerts section: and I don't even get an alert.

(and I can no longer follow the instructions on the webinar).
To make sure I am not crazy, I go to Administration Settings, and UNCHECK IPS mode, and Apply.
I go to my console and use curl to download the file again.
If I go to my alerts tab, I now see the following

Notice it still says "Allowed", even though It was set to dropped (the only thing I changed was to unchecked IPS mode):
Thus, on my router, choosing IPS does not seem to work correctly to block traffic.
I have performed the same steps many times before filing the report, and there does not seem to be a workaround.
I have also noticed strange behavior when adding my WAN interface (some rules can be set to drop, others still remain allowed even though I can clearly see they are meant to be set to drop), but this will be another topic for another day.
My system:
OPNsense 20.7.8_4-amd64
FreeBSD 12.1-RELEASE-p12-HBSD
OpenSSL 1.1.1i 8 Dec 2020
My OPNsense runs on the following device:
https://www.aliexpress.com/item/4000266234442.html
I3-5010U
4 GB RAM
6x LAN intel i211AT Gigabit ethernet.
I hope this was detailed enough, thank you.

hi
do you use vlans? any clues in logs when switch IDS to IPS?


Fix slow leak in traffic_manager caused by un-freed capabilities.

@zwoop we should back port this.

[approve ci]

clang format successful! https://ci.trafficserver.apache.org/job/clang-format-github/540/

RAT check successful! https://ci.trafficserver.apache.org/job/RAT-github/553/

AU check successful! https://ci.trafficserver.apache.org/job/autest-github/538/

FreeBSD11 build failed! https://ci.trafficserver.apache.org/job/freebsd-github/2234/

Intel CC build successful! https://ci.trafficserver.apache.org/job/icc-github/667/

Linux build successful! https://ci.trafficserver.apache.org/job/linux-github/2130/

Is FreeBSD succeeding against master or did I break it somehow?

clang-analyzer build successful! https://ci.trafficserver.apache.org/job/clang-analyzer-github/796/

@zwoop it's consistently inconsistent. I think we should do a different PR to normalize this usage.


Refactor SourceFileGrouping to remove provider logic

I felt like the logic in the SourceFileGroupingBuilder was becoming overly complex, with the introduction of concerns about how to parse and interpret provider declarations. This refactor moves provider interpretation logic into DeclarationVisitor, and keeps the responsibility of the SourceFileGroupingBuilder focused on obtaining the full set of source files + files that need to be restored from the registry.
Microsoft Reviewers: Open in CodeFlow

Please make sure https://github.com/Azure/bicep/pull/13495 gets merged first, in case there are conflicts.

Please make sure #13495 gets merged first, in case there are conflicts.

Will do! And I'm sure there will be :(

LGTM, ship it! 🚀

Hey @anthony-c-martin , can this wait for https://github.com/Azure/bicep/pull/13537?

Hey @anthony-c-martin , can this wait for #13537?

Sure, happy to wait


Website not showing icons

Describe the bug
Website showing icon names instead of icons.
I have done multiple hard refresh.

Reproduction
Go to https://nuxtseo.com
System / Nuxt Info
MacOS 15.0.1,
Chrome Version 129.0.6668.91 (Official Build) (arm64)

same here

Will fix shortly, thanks for flagging.

Partially fixed, the home page is throwing an error I'm investigating.

Seems fixed


Hello World example keeps connection left intact

Just tested the super-simple Hello World example from Readme.md and the following command:
curl -H "Connection:close" localhost:8080/hello -i -vvv1
returns:
* Connection #0 to host dev.dzaba.os.mall.local left intact
It keeps the connection open even though the Connection:close is sent. I should correctly generate:
* Closing connection 0
but it does not. How can it be achieved?
Version: Deno 1.16.2
ABC version<EMAIL_ADDRESS>

Ok, let´s answer my own question. Adding the Connection: close header to the response does the trick.

Looks like this is an issue with the std/http module
In nodejs, res.end() will get some useful information from req.headers and merge it into res.headers, while in deno new Response() will create a new headers.
In Abc, you can use middleware:
app.pre(h => {
     return c => {
         const connection = c.request.headers.get("Connection");
         if (connection) {
             c.response.headers.set("Connection", connection);
         }
         return h(c);
     }
})

app
     .get("/hello", (c) => {
         return "Hello, Abc!";
     })
     .start({ port: 8080 });

Or meet more custom functions through CustomContext

This is my output, make sure you have local proxy turned off.
*   Trying ::1:8080...
* connect to ::1 port 8080 failed: Connection refused
*   Trying <IP_ADDRESS>:8080...
* Connected to localhost (<IP_ADDRESS>) port 8080 (#0)
> GET /hello HTTP/1.1
> Host: localhost:8080
> User-Agent: curl/7.77.0
> Accept: */*
> Connection:close
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
HTTP/1.1 200 OK
< content-length: 11
content-length: 11
< connection: close
connection: close
< content-type: text/plain; charset=UTF-8
content-type: text/plain; charset=UTF-8

<
* Closing connection 0
Hello, Abc!

I do think there may be an issue in place here because if I switch this hello world for, for example, a native Deno router, the connection is closed properly. Switching back to the hello world keeps the connection open.


[INFINITY-1140] Add steps to CanaryStrategy constructor

cc @mbdcos since you commented on the JIRA.

LGTM after all tests are green.  Instead of waiting getCandidates() to setup the object, you do that in constructor. So, isInterrupted() returns true before getCandidates() call.


Update Mesh.js documentation around panZ

Please do not update the README or Change Log, we will do this when we merge your PR.
This PR (delete as applicable)

Updates the Documentation

Describe the changes below:
This adds warnings about orthographic and perspective cameras, documents setOrtho & panZ with sane (ish) default values for the default projection matrix, and updates the example code in the file.
These changes could go further; I would love it if the default mechanisms "agreed" (so that feeding it z=0 vertex values "just worked"), but that's probably a difficult backwards facing change so I did not make it here.
Inspired by https://github.com/photonstorm/phaser/issues/5380 ; fyi @MadDogMayCry0

👍

👍


Update TS for the New Programmer.md

Please don't spam https://github.com/microsoft/TypeScript-Website/pull/3277


Candidate photos are not added when first adding them via the extension

How it works
Add any candidate and the photo is not visible, even after waiting for a bit and reloading the page. When you add the same candidate a second time, the photo appears immediately.
How it should work
The photo should appear after adding a candidate the first time.

@wrmk The photo is now added fine, however I also see the alert "Reload the page and try again" on the profile page. The profile is imported correctly without having to click the extension button another time. Can you reproduce? Is this related? If so, please reopen and fix. If not, please create a new issue.

I can't reproduce this alert for the freeats helper (and for helper for the internal project too)
also this message "Reload the page and try again" is used only in the internal project.
are you sure that you see an alert with this message when using freeats helper?

I couldn't reproduce this now either, was likely some weird interaction between different extensions.


How to change the text "Please select..."?

Can this text be chenged?

Yes.
Please give a defaultValue. Refer to the props API here.

Thanks! I thought that would be for a value within the options.


Stuck looping on file with Getattr

What is the problem you are having with rclone?
A loop bug trying to use GetAttr on two files that do not exist anymore.
What is your rclone version (eg output from rclone -V)
Tried on both 1.41 and 1.14-074(beta)
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Win10 64bit
Which cloud storage system are you using? (eg Google Drive)
Gdrive
The command you were trying to run (eg rclone copy /tmp remote:tmp)
rclone mount EDUcrypt:/ X: --rc --log-file="test.txt" -vv --dir-cache-time=9999h --cache-info-age=9998h --buffer-size=64M --vfs-cache-poll-interval=1m --vfs-read-chunk-size 128M --vfs-read-chunk-size-limit 1G
A log from the command with the -vv flag (eg output from rclone -vv copy /tmp remote:tmp)
https://pastebin.com/uYL6aZFS
(Produced a 135mb file between 2018/05/30 22:40:45 -  2018/05/30 22:40:55 (10 seconds))
I have no idea how to fix this at all or what the reason is.
Thanks!

If someone ever finds this issue with the same problem, i apparently had a COM surrogate running at 20% CPU doing something... killing it solved the problem!


Cache persists when eslint rules have changed

The eslint-loader cache is only ever invalidated when a file is changed. This means that if you make changes to your eslint rules, the last cached lint result will still be output by eslint-loader and not the outcome based on the updated rules. The only way to fix this is to either modify each file being linted or manually delete the cache.
The entire cache should be invalidated if the eslint rules have changed.

Indeed. What to make a PR for this?

I started work on a fix last night. I'll submit a PR later today for initial review so you can check my solution isn't completely crazy.

Resolved by #151


Setup sanity check fails with "MQTT integration is not available"

As I'm new to Home Assistant I can't determine what's the main reason behind this, what's wrong/different with my configuration and why the sanity check (introduced in 704919c682b86969b617515cdd255c8b93c64b7a) fails. Maybe the filtering by mqtt.DOMAIN is to optimistic?
A little research though shows that I get two entries during the setup from async_entries, the second (I think) is the one that is expected and not the one at index [0].
First entry
{"entry_id": "3207631bce4bed1e1bc8a5aed05053e1", "version": 1, "domain": "mqtt", "title": "MQTT", "data": {}, "options": {}, "pref_disable_new_entities": false, "pref_disable_polling": false, "source": "ignore", "unique_id": null, "disabled_by": null}

Second entry
{"entry_id": "9da04d74c231c5c8e1de355bb8d9a006", "version": 1, "domain": "mqtt", "title": "192.168.???.???", "data": {"broker": "192.168.???.???", "port": 1883, "username": "???", "password": "???", "keepalive": 60, "tls_insecure": true, "protocol": "3.1.1", "transport": "tcp", "discovery": true, "discovery_prefix": "homeassistant", "birth_message": {"topic": "homeassistant/status", "payload": "online", "qos": 0, "retain": false}, "will_message": {"topic": "homeassistant/status", "payload": "offline", "qos": 0, "retain": false}}, "options": {}, "pref_disable_new_entities": false, "pref_disable_polling": false, "source": "user", "unique_id": null, "disabled_by": null}

Hmmm, that sounds strange. Have you added the MQTT integration to your Home Assistant setup?

Yes, I have added the MQTT integration.
My setup is working fine if I change this line to use index 1 instead of 0.
In my .storage/core.config_entries file there is an (orphan) entry, corresponding to my index 0, with an empty data section that I think is the problem here. Unfortunately I can't tell how it got there.
Please let me know how you would like to proceed:

I remove my first orphan entry and then forget about this.
I create a pull request that handles my strange config situation.
Any other solution you like...

Really strange. Do you have two config entries for MQTT in the UI (integrations-page) as well? If so, what happens if you remove the one which is not configured correctly? We can't default to 1 since most people won't have more than one config-entry I would say.

That code is a straight copy-paste from one of the built-in integrations from HA and was added by one of the MQTT integration maintainers so I would expect that to be correct.

Nice!

Could you create a PR with a relevant message-change?


Set precisions for token and vesting in Golos startup script

Use precisions is the same as in Golos.
For token: 3 decimal places
For vesting: 6 decimal places

PR #249


Breaking changes for auto increment/pk fields

The commit eab1a9e introduces breaking changes.
Click to see diff for the commit
diff --git a/bulk_insert.go b/bulk_insert.go
index ee09f01..cae9d99 100644
--- a/bulk_insert.go
+++ b/bulk_insert.go
@@ -103,7 +103,7 @@ func extractMapValue(value interface{}, excludeColumns []string) (map[string]int
                _, hasForeignKey := field.TagSettingsGet("FOREIGNKEY")

                if !containString(excludeColumns, field.Struct.Name) && field.StructField.Relationship == nil && !hasForeignKey &&
-                       !field.IsIgnored && !(field.DBName == "id" || fieldIsAutoIncrement(field)) {
+                       !field.IsIgnored && !fieldIsAutoIncrement(field) {
                        if field.Struct.Name == "CreatedAt" || field.Struct.Name == "UpdatedAt" {
                                attrs[field.DBName] = time.Now()
                        } else if field.StructField.HasDefaultValue && field.IsBlank {
@@ -125,5 +125,5 @@ func fieldIsAutoIncrement(field *gorm.Field) bool {
        if value, ok := field.TagSettingsGet("AUTO_INCREMENT"); ok {
                return strings.ToLower(value) != "false"
        }
-       return field.IsPrimaryKey
+       return false
 }

If you use the default gorm.Model for your ID/primary key the field won't have the tag AUTO_INCREMENT. Since the field is missing the tag fieldIsAutoIncrement will always return false and thus not be ignored. This will result in a duplicate key error. The field does however have the primary_key tag:
type Model struct {
    ID        uint `gorm:"primary_key"`
    CreatedAt time.Time
    UpdatedAt time.Time
    DeletedAt *time.Time `sql:"index"`
}

I know that a field doesn't auto increment by default just because it's a primary key but even if the table is created with gorm migrates or not I think it's common to use gorm.Model for your ID field and want it to be auto incremented.
Code to reproduce
package main

import (
	"github.com/jinzhu/gorm"
	_ "github.com/jinzhu/gorm/dialects/postgres"
	gormbulk "github.com/t-tiger/gorm-bulk-insert"
)

type MyType struct {
	gorm.Model
	Value string
}

func main() {
	// docker run -it --rm -p 5432:5432  -e POSTGRES_PASSWORD=pass postgres
	db, _ := gorm.Open(
		"postgres",
		"host=localhost port=5432 user=postgres dbname=test password=pass sslmode=disable",
	)

	defer db.Close()

	toInsert := []interface{}{
		MyType{Value: "first"},
		MyType{Value: "second"},
	}

	if err := gormbulk.BulkInsert(db, toInsert, 3000); err != nil {
		panic(err)
	}
}

Proposed fix
diff --git a/bulk_insert.go b/bulk_insert.go
index fb49a8b..dc38b05 100644
--- a/bulk_insert.go
+++ b/bulk_insert.go
@@ -124,5 +125,5 @@ func fieldIsAutoIncrement(field *gorm.Field) bool {
        if value, ok := field.TagSettingsGet("AUTO_INCREMENT"); ok {
                return strings.ToLower(value) != "false"
        }
-       return false
+       return field.DBName == "id" && field.IsPrimaryKey
 }

Thank you for your feedback. Actually, I was aware this potential problem will be occurred. Therefore I set the Release Tag, previous version is v1.0.0 and this time is v1.1.0. (Sorry, there is not enough announcement)
Let me explain why I made this modification.
In previous code, there was a problem that insertion was not possible unless the primary key is auto_increment. Because when the column is primary_key, the return value of fieldIsAutoIncrement is always true (unless AUTO_INCREMENT is explicitly set false), and the column will not be targeted of insertion.
There is no problem with auto_increment columns.  But what about natural keys that aren't surrogate keys? if it's a natural key, it will fail to insert because this will not be the target of insertion for the reason of primary_key, even though the value will be set by manually.
After all, in my opinion, only way to make both natural key and surrogate key compatible is to set the AUTO_INCREMENT tag explicitly for the surrogate key.
But if there are other good ideas, I'd like to adopt them. I'd be glad to know that there was such a context for this change.

Thank you for your response!
Regarding the new release tag I did a similar mistake myself recently which made me re-visit semver.org. If you're doing any changes that's not in a backwards compatible manner (which this isn't) you should probably bump your major version and release v2.0.0. All code relying on the previous behaviour is now broken.
I'm currently not really too familiar with the gorm source code but it's obvious that there are underlying mechanics to figure out which field(s) are primary and that seems to be based on the name id like your previous commit. I would guess that the loop here somehow filters out blank primary key fields. At least when using gorm.AutoMigrate() the primary key id will be set to auto increment without the tag.
Regarding the issue you had, see my proposed solution. That is, not only look for primary key but also ensure the name of the field is id. If you create a custom field named something other than id and set it to primary key the function would still return false.
I'm not sure I fully understand your thoughts around surrogate keys. If I would need a surrogate key I would specify it manually, definitely not name it id and manually set the AUTO_INCREMENT tag (which would exclude it from your columns to let the DBM allocate it). This is an example:
type MyType struct {
	gorm.Model      // Gives me PRIMARY KEY id
	Value           string
	CustomSurrogate int    `gorm:"AUTO_INCREMENT"`
	PrimaryValue    string `gorm:"PRIMARY_KEY"`
}

With your current version this gives me a duplicate key error, with the proposed diff this works as intended and allocates an ID both for my ID field (from gorm.Model) and for CustomSurrogate.
MySQL only supports one primary key but PostgreSQL supports multiple so I'm using multiple primary keys in my example to show that you can set a value to PrimaryValue and ensure it's preserved while inserting.

With the change you made, what's your proposed solution for people using gorm.Model?
Don't you think this is the preferred and recommended way?
Do you think everyone should duplicate gorm.Model just to add the AUTO_INCREMENT tag?
Should I manually populate my ID field in the struct?
If so, how do I avoid duplicates?
In my opinion I think it's of importance to support embedding gorm.Model out of the box and I'll gladly discuss ideas and help with implementation if you wish. :)

Thank you for your ideas about the release version and auto_increment. I agree with all of these.
I think this library should follow the gorm ecosystem, and respect the default behavior. In that viewpoint, my perception was not enough.
I don't have enough time today because of my private situation, so I will think about it carefully and reply tomorrow. I'm grateful for your continuous effort.

I confirmed the gorm behavior again and I came up with one idea for this issues. To explain why it was introduced, I'd like to summarize the point of issues.
gorm.Model behavior
Again, if you embed gorm.Model, it will behave as follows.

ID, CreatedAt, UpdatedAt, DeletedAt are assigned
ID tag is attached to primary_key and auto_increment tag does not exist
There is no auto_increment tag, but when AutoMigrate is executed, a table with auto_increment is created

For this reason, forcing to add the auto_increment tag brought about by the change of the other day is against gorm's idea, we want to abolish it. This is due to my lack of awareness.
Previous problem
On the other hand, the previous version had the following problems.

Return value of the fieldIsAutoIncrement function is true event for the primary_key that is not actually auto_increment.
Then, the column is not subject to insertion from if statement condition.
There is no problem when the value is set automatically like auto_increment, but when the value is set manually like natural key, error occurs because required value is missed by above reason.

My idea
Both current and previous versions have some issued. But I came up with the following solution.

If the column is primary_key and the value is empty, it will not be insertion target. (this is for auto_increment)

If the column is primary_key and if the value is present, it will be insertion target. (this is for natural key)

Specifically, example code is as follows.
if! containString (excludeColumns, field.Struct.Name) && field.StructField.Relationship == nil &&! hasForeignKey &&
   ! field.IsIgnored &&! fieldIsAutoIncrement (field) && !fieldIsPrimaryAndBlank (field) {
    // ~~
}

func fieldIsPrimaryAndBlank (field * gorm.Field) bool {
   return field.IsPrimaryKey && field.IsBlank
}

In this case, the compatibility will not be broken, and it is in line with the behavior of gorm.
Please let me know your thoughts about this.

I think it looks good! The only difference here is that you'll also leave out blank primary keys even if it's not the id field. I think this is OK because a blank primary key would be set to it's default value (e.g. 0 or "") and then it would error on duplicate primary key either way.
This might not be the perfect solution but on the other hand I don't see any use case where you would use this package and omit your primary keys. At least I wouldn't expect that to work.

Thank you for confirmation. (Sorry for the late reply🙏)
As you say, there is an issue that primary_key it's not the ID field is also excluded, but such a case should not be assumed originally.
I will implement this fix today. If you don't mind, would you please review at that time?

Sounds great, just tag me when ready and I'll review your implementation!

Closing this, solved in cd88f55. Thanks!


Fix file creation - remove log wow

#29  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @ksharma-xyz and the rest of your teammates on  Graphite


[frontend-tutorial] move map into its own little corner

An initial stab at re-configuring mrxl so that it can optionally take a flag to use a custom implementation of map rather than our artisanal in-house option. I also adjusted some of the prose to reflect this addition but left all the existing text intact, so it's more of an optional thing.
Anyway leaving this up so that other people have a chance to look this over. The one wrinkle is that the dummy version of my_map_impl can generate potentially invalid programs per the ongoing discussion in #1526. Currently if the program is just a map, cider will run forever since it thinks it's a fully functional component (with no continuous assignments). This is an easy fix, but also potentially not relevant? I'm unsure.

@anshumanmohan @priyasrikumar @rachitnigam Gonna merge this today if there are no further comments

Please do!


Splash screen on startup

Is your feature request related to a problem? Please describe
As everyone knows wpf does not support splash screens with XAML, it only supports images PNG, JPG, GIF,...
Since instantiating a new window object seems to take too long, I want something like the way Microsoft Word does it.
I tried doing a few things but it didn't work as expected
private void OnStartup(object sender, StartupEventArgs e) {     var splashScreen = new SplashScreenWindow();     splashScreen.Show();     _host.StartAsync();     this.LoadCompleted += (object sender, System.Windows.Navigation.NavigationEventArgs e) =>     {         splashScreen.Close();     }; }
After launching, the main window has a strange color:

Describe the solution you'd like
I want to be able to add a custom loading page instead of an image
Describe alternatives you've considered
No response
Additional context
No response

Just start a small window before initializing your application, What is the problem?

Just start a small window before initializing your application, What is the problem?

After start a new window, you can see color in my main window on the describe

Just start a small window before initializing your application, What is the problem?

After start a new window, you can see color in my main window on the describe

Do it in App


Html suggesttion doesnt work

Type: Bug
when pressing ctrl+space suggestion should show, it works in css, js files but in html it doesn't, it shows three things:
#region
#endregion
HTML sample
i tried everything that may cause the problem but still nothing worked.
i installed a defective extension called html snippet by Muhamed Abusaid,
i think it did the problem
VS Code version: Code 1.81.1 (6c3e3dba23e8fadc360aed75ce363ba185c49794, 2023-08-09T22:22:42.175Z)
OS version: Windows_NT x64 10.0.22621
Modes:

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-8500 CPU @ 3.00GHz (6 x 3000)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
7.90GB (1.80GB free)

Process Argv
--crash-reporter-id 10189e64-d8cc-46be-98e7-2f76aecc2248

Screen Reader
no

VM
0%

Extensions (21)

Extension
Author (truncated)
Version

npm-intellisense
chr
1.4.4

path-intellisense
chr
2.8.4

postcss
css
1.0.9

es7-react-js-snippets
dsz
4.4.3

vscode-html-css
ecm
1.13.1

prettier-vscode
esb
10.1.0

restore-terminals
Eth
1.1.8

code-runner
for
0.12.0

rest-client
hum
0.25.1

remote-ssh
ms-
0.102.0

remote-ssh-edit
ms-
0.86.0

remote-explorer
ms-
0.4.1

vscode-versionlens
pfl
1.5.0

LiveServer
rit
5.7.9

vscode-field-lights
sve
0.0.11

tabnine-vscode
Tab
3.7.0

intellicode-api-usage-examples
Vis
0.2.7

vscodeintellicode
Vis
1.2.30

vscode-postcss
vun
2.0.2

quokka-vscode
Wal
1.0.555

JavaScriptSnippets
xab
1.8.0

(1 theme extensions excluded)

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
pythonvs932:30410667
vsclangdc:30486549
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
vsccc:30803844
3biah626:30602489
f6dab269:30613381
2i9eh265:30646982
showlangstatbar:30737416
03d35959:30757346
pythonfmttext:30731395
pythoncmvfstrcf:30756944
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
gsofb:30804716
pythonnosmt12:30797651
pythonidxpt:30805730
pythonnoceb:30805159
dsvsc013:30795093
dsvsc014:30804076
diffeditorv1:30812748

i think it did the problem

Not sure I understand what you mean by that. Do you say that the extension was the cause of the problem?
Please run VS Code with all extensions disabled and see if the problem is still there. If not, please find out which extension caused the issue and file an issue there.

even with all extension disabled the problem is still there,
what I mean earlier when I checked the Html snippet extension by Muhamed Abusaid in GitHub it says that he extension conflicts with existing vs code HTML extensions( https://github.com/abusaidm/html-snippets ), even after I totally removed the conflicting extension, the problems is still there.
I reinstalled vs code and installed vs code insider and the problem is still there.
any solution please.


Response Headers support for protocols

This is followup from #2 where you can find all the details. Below quote is short summary:

Response Headers - Things don't seem all that great here either. From what I understood there is logic branching based on whether url.scheme is http(s)  and if so that is where channel is casted to nsIHttpChannel. It was suggested to add another interface like nsIHttpHeadersChannel that would be able to provide HTTP headers, after which we can update earlier mentioned logic branch to support headers on non http(s) protocols as well. As with Request Headers it seems to require C++ changes which makes it more difficult and requires landing it in Firefox. Although necko team seemed 👍 on accepting such changes.

Migrate to https://bugzilla.mozilla.org/show_bug.cgi?id=1572215


Unify naming - to WaniKani Knowledge Guide

Changes proposed in this pull request:

Change User guide to Knowledge Guide on homepage and README

The credentials to view the Netlify deploy is the following:

username: crabigator
password: googlebegone

Deploy preview for wanikani-knowledgebase processing.
Building with commit e979a8984f5042b9675dad9924909c071a9e1e26
https://app.netlify.com/sites/wanikani-knowledgebase/deploys/5f7261913150000008c113d6


Add paths to make CI strict

add on.(push|pull_request).paths

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (3dd4f3f) 100.00% compared to head (2af02d7) 98.33%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff             @@
##            master     #398      +/-   ##
===========================================
- Coverage   100.00%   98.33%   -1.67%
===========================================
  Files           21       21
  Lines         2276     2276
===========================================
- Hits          2276     2238      -38
- Misses           0       38      +38

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


Updating to latest of Strimzi 0.23, with its v1beta2 APIs

Signed-off-by: Matthias Wessendorf<EMAIL_ADDRESS>Proposed Changes

as per title

Release Note

Docs

/cc @scholzj

/lgtm


Add missing languages

I think these languages should be added

[ ] Go
[ ] Rust
[ ] Ruby
[ ] C#
[ ] Flutter
[ ] Cordova
[ ] Java
[ ] React
[ ] Swift
[ ] TypeScript
[ ] SCSS

I'll see if I can find the time to add those sometime in the future, but if anybody wants to add PRs it would be cool to track the languages in one issue.

Thanks for pitching in!


Bug: add_ssh_keys not accepted when doing an import

Is there an existing issue for this?

[X] I have searched the existing issues

Current behavior
The regular add_ssh_keys is not accepted by the VCE.

Minimum reproduction code
https://gist.github.com/mathaeus/972c9e4ee827077b1a24d64a0e043978
Steps to reproduce
Import config with add_ssh_keys
Expected behavior
The import of existing valid circleCI config files should just work.
Workaround
Changing
add_ssh_keys

to
add_ssh_keys: {}

fixes the problem.
BUT, such things are quite annoying when one once to get started with the VCE. Especially if one triple checked that the current manually written config is valid via
> circleci config validate
Config file at .circleci/config.yml is valid.

CircleCI Config SDK version
Whatever the online editor gave me:
# This configuration has been automatically generated by the CircleCI Config SDK.
# For more information, see https://github.com/CircleCI-Public/circleci-config-sdk-ts
# SDK Version: 0.9.0-alpha.16
# VCE Version: v0.10.5
# Modeled with the CircleCI visual config editor.
# For more information, see https://github.com/CircleCI-Public/visual-config-editor

Node.js version
No response
In which operating systems have you tested?

[X] macOS
[ ] Windows
[ ] Linux

Other
No response

This is actually a Config SDK issue, and I've closed this in https://github.com/CircleCI-Public/circleci-config-sdk-ts/pull/145
Thanks for raising!

Thanks @Jaryt 👍

Thanks @Jaryt 👍

No problem! I'll actually reopen this until we have the updated version of the parser in the VCE.


SNOW-1367016: How can a Snowflake Job be started using the CLI?

SnowCLI version
2.2.0
Python version
3.11.7
Platform
macOS-14.4.1-arm64-arm-64bit
What happened
Previously it was possible to start a Job using
snow snowpark jobs create this was removed in a previous version.
The CLI has the hidden snow spcs job create ... command.
Is this the intended way to create a Job?
Is it intended that this is hidden?
Console output
❯ snow spcs job --help

 Usage: snow spcs job [OPTIONS] COMMAND [ARGS]...

 Manages Snowpark jobs.

╭─ Options ────────────────────────────────────────────────────────────────────╮
│ --help  -h        Show this message and exit.                                │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ───────────────────────────────────────────────────────────────────╮
│ create   Creates a job to run in a compute pool.                             │
│ logs     Retrieves local logs from a job container.                          │
│ status   Returns the status of a named Snowpark Container Services job.      │
╰──────────────────────────────────────────────────────────────────────────────╯

### How to reproduce

run `snow spcs job --help`

In order to conform to the tutorials I added a PR #1036 that introduces the name parameter and creates the Job using execute job service ... .
If snow spcs job create ... is the intended way to create jobs this might be helpful.

Hi,
thanks for reporting the issue. It is hidden by design- jobs api is going through some changes, and the previous implementation used is deprecated. We will reintroduce it with new syntax in one of the next versions.


feat: export types

...

[x] I have read the CONTRIBUTING document.

Closed as I realised this is already accessible through ohdear.types 🤦🏻


Syntax error

No matter how I call the path. I always get a syntax error:
SyntaxError: invalid syntax
File "DepthEstimationPipeline.py", line 27
depth_image.save(C:Users\mail\Desktop\TransformDepth-main\output)
Your video tutorial is very unclear how to write a correct path for single and batch processing.

No matter how I call the path. I always get a syntax error: SyntaxError: invalid syntax File "DepthEstimationPipeline.py", line 27 depth_image.save(C:Users\mail\Desktop\TransformDepth-main\output)
Your video tutorial is very unclear how to write a correct path for single and batch processing.

Hello @herrartist,
The error you're encountering is due to an incorrect path format. In Python, file paths must be enclosed in quotes and use either double backslashes (\\) or forward slashes (/). Here's how you can correctly specify the path:
depth_image.save("C:\\Users\\mail\\Desktop\\TransformDepth-main\\output")

or
depth_image.save("C:/Users/mail/Desktop/TransformDepth-main/output")

Make sure to use the correct syntax for both single and batch processing. Here’s an example command for processing a single image:
python DepthEstimationPipeline.py --single "C:\\path\\to\\your\\image.png" --output "C:\\path\\to\\output\\directory"

And for batch processing:
python DepthEstimationPipeline.py --batch "C:\\path\\to\\your\\image_directory" --output "C:\\path\\to\\output\\directory"

Remember to always enclose your paths in quotes and use the correct path separators.
Additionally, please ensure your repository is up to date, since I've updated the model to depth-anything-v2 by running:
git pull
pip install -r requirements.txt

If the issue persists, you can start fresh by creating a new Python environment with the following commands:
conda create -n depth-anything-2 python=3.11.9
conda activate depth-anything-v2

I will provide a video tutorial soon to further assist with these steps.


Some potential bug and improvements

If my understanding is correct, the current implementation has a bug that may evict more objects than needed. I believe it should return at this line instead of continuing to evict because an object has already been evicted from the main queue https://github.com/maypok86/otter/blob/main/internal/s3fifo/small.go#L62

As you have mentioned (https://github.com/Yiling-J/theine-go/issues/29), it is better to store a fingerprint instead of the full object in the ghost. Storing data in the ghost defeats the purpose of using a ghost queue...

the size of the ghost queue does not need to be accurate, so you can estimate using the total cache size divided by the mean object size. VMware found that the ghost queue size has little impact between 40% and 200% of the main queue size (in terms of #objects).

there are multiple if statement seems not necessary, e.g., https://github.com/maypok86/otter/blob/main/internal/s3fifo/small.go#L55

Awesome work! :)
About scalability, I think if you want to improve scalability, one easy change is to make read, write, and eviction concurrent using atomics.

@1a1a11a Speed is otter's best feature by a huge margin so far, so for me the higher priority for now is

Add normal support for deleting random items
Improve expiration policy
Improve hit ratio on S3, DS1 and similar traces (I even agree to be a guinea pig 😁).
Thinking about whether eviction for O(n) in the worst case is so terrible

Make sense!

If you are interested in an advanced expiration technique, we have designed Segcache, which removes expired objects within one second after expiration (more details are here https://www.usenix.org/conference/nsdi21/presentation/yang-juncheng). But more likely a simple strategy would suffice because short-lived data will be removed at the small queue boundary.
If your target audience and workload are web applications (not serving page cache traffic), I would not worry too much about S3 and DS1. If you are interested, we can also find a way to collaborate on this.
The worst case O(n) is indeed one concern, I like Ben's suggestion on evicting a random object if some number (e.g., 10 or 20) of objects are re-inserted. This number will probably depend on your tail latency SLA.
Love to chat more if you are interested! :)

The problem with the expiration policy is that I would like to have a proactive expiration policy that has an amortized complexity of O(1) and requires less than 16 bytes per object. So far I'm leaning towards the timer wheel, even though it requires 16 bytes per object (prev and next pointers), but using this solution makes it easy to make a separate policy for a constant ttl using a regular fifo queue (which is the most common need when using a cache library). The segcache expiration policy looks suitable, except for the possibility to remove a random element from the expiration policy (I seem to know how to solve this, but it will have a very small memory footprint advantage in the end) and it is not clear how to make a nice expiration policy for constant ttl from this solution. Right now I've so far implemented the expiration policy from the https://dl.acm.org/doi/fullHtml/10.1145/3422575.3422797 paper, but it relies too heavily on the randomized algorithm from Redis and doesn't make it easy to implement an expiration policy for constant ttl.

This is an ambiguous point. The main target audience of otter is really web applications. But various database engines are written in Golang more and more often lately and they even more need out of the box cache library solutions because they unlike normal web applications can't use redis or memcached. For example, ristretto was written specifically for dgraph and badger databases and it is also being used by vitess and spicedb.

Sounds like a simple and efficient solution, yes.

Although I doubt such DBs would have traffic similar to DS1 or S3 traces...

I think I've corrected all the comments. It is better to talk about S3-FIFO in another issue.

About the expiration policy, I might have missed something. It looks like you would need to re-distribute all items (with lock) when the timing wheel turns every time. Is that correct?

A standard timer wheel implementation would require this, but there are variants that guarantee amortized O(1) time complexity.
I plan to use a hashed hierarchical timing wheel.
Original paper
Article from the Kafka developers on how they use this data structure
Article comparing different types of timing wheels

HI @maypok86, Thank you for sharing these blogs! I am aware of hashed and hierarchical timing wheels. But they are two different timing wheels (hashed timing wheel and hierarchical timing wheel) with different tradeoffs. What do you mean by hashed hierarchical timing wheel?
My guess most people will go for hierarchical timing wheel because the per-tick time complexity for hashed timing wheel is too high. But as I mentioned earlier, the problem with hierarchical timing wheel causes high tail latency (when the upper level timing wheel move by one tick and it requires a locking). For example, when the minute wheel tick by 1, all events belong to the next minute will be distributed to the second timing wheel. It is worse when the day timing wheel ticks, because all expired objects in the next day will be moved to the "hour timing wheel", this requires holding the hold for a very long time.

Oh @1a1a11a, I apologize for the confusion. I was of course referring to the hierarchical timer wheel, "hashed" just refers to the fact that this wheel doesn't need sorting and uses hashing instead of comparing.
The day wheel expiration thing is something to think about. Sounds like something really nasty, especially since I see setting ttl to 1 day quite often in my work.😞

Maybe there are some approximations can be done to address the problem. Or we can use the Memcached's approach that uses a dedicated thread to move 100 (number is made up) entries each time, and then releases lock and sleep for some time before next operation.
But I think even the hourly timing wheel will be an issue. Assuming a 256GB cache with mean object size of 256 bytes,  256GB / 256B = 1billion objects are stored. If we assume the expiration time is evenly distributed in a week, then there are 1 billion / (7 * 24) = 7 million objects expire each hour, so each time the hourly wheel ticks, you need to process 7 million objects, which would take 10s to 100s milliseconds.

Hi @maypok86, it was great to see the hackernews post attracts a lot of attention!
I was reviewing the figures on readme. The first thing that comes to me is the weird results on Zipf workloads, do you mind explaining how they were generated? On my end, I am seeing S3-FIFO outperforming ARC on almost all sizes (although not by a large margin).
This uses a Zipf 1.0 trace of 0.72 million objects and 10 million requests.
ARC cache size     1000, 10000000 req, miss ratio 0.4970
ARC cache size     5000, 10000000 req, miss ratio 0.3872
ARC cache size    10000, 10000000 req, miss ratio 0.3405
ARC cache size    50000, 10000000 req, miss ratio 0.2344
ARC cache size   100000, 10000000 req, miss ratio 0.1900
ARC cache size   500000, 10000000 req, miss ratio 0.0905
ARC cache size   100000, 10000000 req, miss ratio 0.1900
ARC cache size   200000, 10000000 req, miss ratio 0.1470
S3FIFO-0.1000-2 cache size     1000, 10000000 req, miss ratio 0.4952
S3FIFO-0.1000-2 cache size     5000, 10000000 req, miss ratio 0.3851
S3FIFO-0.1000-2 cache size    10000, 10000000 req, miss ratio 0.3380
S3FIFO-0.1000-2 cache size    50000, 10000000 req, miss ratio 0.2320
S3FIFO-0.1000-2 cache size   100000, 10000000 req, miss ratio 0.1884
S3FIFO-0.1000-2 cache size   500000, 10000000 req, miss ratio 0.0922
S3FIFO-0.1000-2 cache size   100000, 10000000 req, miss ratio 0.1884
S3FIFO-0.1000-2 cache size   200000, 10000000 req, miss ratio 0.1465

Given this is the first public repo (except RedPanda, SurrelKV, and Spica, which use S3-FIFO as part of the system or library) that uses S3-FIFO, I am more than happy to make Otter better whenever you need help. And we will help advocate Otter together with S3-FIFO if you do not mind.
*We were planning to build an open-source caching library for different languages, but it has been on the backlog for too long, so we are shifting focus to help people understand and adopt S3-FIFO.

Hi @1a1a11a, I wasn't even worried about that :). The main thing for me was that S3-FIFO showed a good result.
Actually, there might be something wrong here, because I just took zipf parameters from ristretto benchmarks and didn't check them in any way. Here are the parameters of zipf distribution , and here is the description of these parameters and this is run with 1000000 requests.
I tested otter along with a similar s3-fifo implementation https://github.com/scalalang2/golang-fifo and they seem to have about the same results.
Zipf:
        Capacity: 500
                ARC ratio: 24.19
                Otter ratio: 24.29
                S3FIFO ratio: 24.33
        Capacity: 1000
                ARC ratio: 28.60
                Otter ratio: 28.42
                S3FIFO ratio: 28.48
        Capacity: 2000
                ARC ratio: 32.94
                Otter ratio: 32.64
                S3FIFO ratio: 32.76
        Capacity: 5000
                ARC ratio: 38.12
                Otter ratio: 37.65
                S3FIFO ratio: 37.88
        Capacity: 10000
                ARC ratio: 41.92
                Otter ratio: 41.10
                S3FIFO ratio: 41.14
        Capacity: 20000
                ARC ratio: 44.94
                Otter ratio: 43.93
                S3FIFO ratio: 43.90
        Capacity: 40000
                ARC ratio: 47.42
                Otter ratio: 46.38
                S3FIFO ratio: 46.36
        Capacity: 80000
                ARC ratio: 49.83
                Otter ratio: 48.80
                S3FIFO ratio: 48.90

Hi @maypok86, Thank you for the explanations! How was the miss ratio of ARC obtained?

@1a1a11a in the usual way. If the item was in the cache, we increment the number of hits, otherwise we increment the number of misses. And then we calculate the hit ratio using the formula: 100 * (hits / (hits+misses))

Oh, my comment may be confusing, I was wondering where is the ARC implementation

Oh, it uses the most famous implementation from hashicorp https://github.com/hashicorp/golang-lru/blob/main/arc/arc.go

Thank you! The implementation matches the libCacheSim results. :)


cpx adapter two logos are added

Signed-off-by: gunjanmimo<EMAIL_ADDRESS>

@gunjanmimo thanks for this. Ideally, what we want here is an SVG of the black (or blue) Citrix circle logo. I don't see this available from Citrix's brand resources. I'll reach out to their marketing team for a logo in this format.

sir here is a new logo I have just found it on google

fixes #566

@gunjanmimo thank you very much for this. Given the recent change to white / off-white logos, let's close this PR in lieu of citrix-light-gray and citrix.svg


Oracle JDK no longer installable due to missing downloads

Issue description
oracle did lots of updates, the old files cant be found
$ nixos-version
16.09.741.354fd37 (Flounder)

pinging @grahamc as requested on irc

userconfig:
{
allowUnfree = true;
firefox = {
jre = true;
enableGoogleTalkPlugin = true;
enableAdobeFlash = true;
};
chromium = {
jre = true;
enablePepperFlash = true; # Chromium's non-NSAPI alternative to Adobe Flash
enablePepperPDF = true;
};
}

Don't you have to pre-fetch the Oracle JDK yourself?
Oracle does not delete builds, they just move them into the Archive section of the website. The download URL should not change.

the download url was not given and from the website i could not find them, simply changing the url with a few experiments did not help

If I try to install Oracle JDK, it looks like this:
~> nix-env -i oraclejdk
installing ‘oraclejdk-8u102’
these derivations will be built:
  /nix/store/95nbz2hv1mkbagnixrqi55cnw7dbr0il-jdk-8u102-linux-x64.tar.gz.drv
  /nix/store/mp4gl0l9hgi7ybybsahmv6f6j8k2zmr8-oraclejdk-8u102.drv
these paths will be fetched (2.99 MiB download, 8.28 MiB unpacked):
  /nix/store/3spv495g80l4fzavczl8bahnkzi2nxi3-libav-0.8.17
  /nix/store/5ap0w9wvx3lx8im1x6k0kqq2hzrib4lm-pango-1.40.2-bin
  /nix/store/mlqr12j3yc032vn7ac5yjzhjyw4r91as-libav-0.8.17-bin
  /nix/store/x5rzzvpcf9sj29h6b55q4wpqgqg5szdq-libxslt-1.1.29-bin
fetching path ‘/nix/store/3spv495g80l4fzavczl8bahnkzi2nxi3-libav-0.8.17’...
fetching path ‘/nix/store/x5rzzvpcf9sj29h6b55q4wpqgqg5szdq-libxslt-1.1.29-bin’...
fetching path ‘/nix/store/5ap0w9wvx3lx8im1x6k0kqq2hzrib4lm-pango-1.40.2-bin’...
building path(s) ‘/nix/store/yx27ad4sn2l3bvzyyilyxhy2w254bjdg-jdk-8u102-linux-x64.tar.gz’

***
Unfortunately, we cannot download file jdk-8u102-linux-x64.tar.gz automatically.
Please go to http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html to download it yourself, and add it to the Nix store
using either
  nix-store --add-fixed sha256 jdk-8u102-linux-x64.tar.gz
or
  nix-prefetch-url --type sha256 file:///path/to/jdk-8u102-linux-x64.tar.gz

***

builder for ‘/nix/store/95nbz2hv1mkbagnixrqi55cnw7dbr0il-jdk-8u102-linux-x64.tar.gz.drv’ failed to produce output path ‘/nix/store/yx27ad4sn2l3bvzyyilyxhy2w254bjdg-jdk-8u102-linux-x64.tar.gz’
killing process 11742
killing process 11741
killing process 11740
cannot build derivation ‘/nix/store/mp4gl0l9hgi7ybybsahmv6f6j8k2zmr8-oraclejdk-8u102.drv’: 1 dependencies couldn't be built
error: build of ‘/nix/store/mp4gl0l9hgi7ybybsahmv6f6j8k2zmr8-oraclejdk-8u102.drv’ failed
exit 1

You can find 8u111 there. I agree it is a little confusing because 8u102 is nowhere on that page (the page always points to the latest Oracle JDK).
If you go to http://www.oracle.com/technetwork/java/javase/downloads/index.html you can find 8u102 in the Java Archive

@NeQuissimus I'm facing the same issue when I try to install Oracle JDK. So how can I fix the issue?

@pradeepcheers: as written above, the files are still there but in the archive: http://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html
In any case, nix can't download the sources automatically, due to Oracle requiring you to agree with an EULA.

@vcunat, Then whats the easy way to install oracle jdk 8 on nixos? I'm new to nixos.

There's nothing easier for oracle jdk; you have to download the tarball manually.

@pradeepcheers manual download, then nix-prefetch-url

I have seen plenty of Dockerfiles (Puppet scripts, etc) downloading Oracle JDK using wget --header 'Cookie: oraclelicense=accept-securebackup-cookie'
Any legal restriction to do the same?
https://github.com/search?q=accept-securebackup-cookie&ref=simplesearch&type=Code&utf8=✓

You can download like that but not re-distribute.

When I run nix-env -i oraclejdk I get:
error: selector ‘oraclejdk’ matches no derivations

Is this the expected behavior?
I'm running macOS Sierra and nix-env --version returns "nix-env (Nix) 1.11.6".

Oracle Linux is marked as only functional on Linux systems: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/compilers/oraclejdk/jdk-linux-base.nix#L195

@NeQuissimus Thanks; this is expected then. It would then be a separate issue to ask for macOS support for the Oracle JDK.

Can this be applied to oracle's  Java server jre ?


[Addition]: Spoofer try to fool all of us with acting himself as BLACKMAIL VICTIM

Hotspot b58 Addresses
Raspy Ginger Raven
Dapper Mustard Jay
Mean Obsidian Beaver
Quaint Brunette Pig
Shambolic Butter Opossum
Skinny Candy Gazelle
Powerful Pistachio Giraffe
Lucky White Jay
Radiant Admiral Cheetah
Boxy Tweed Reindeer
Long Marmalade Mallard
Small Ultraviolet Moth
Soft Graphite Otter
Calm Seaweed Wallaby
Discord Handle
No response
Reason(s)
here is his story.
https://github.com/helium/denylist/issues/3070
this guy try to act like victim of blackmail,
in fact he is spoofer, he assert his miners nearby,

every beacon sent out almost majority received by his miners.
very suspicious if you check his signal data.
he know admin will come after him one day,
so he try to get whitelist first from admin by acting blackmail victim.
attached all his miner witness photo

he stole 4 hnt every day from us by spoofing, no wonder someone want to blackmail him.

I'm  found out his deception after he post this photo, how come someone know his WhatsApp number by helium miner id?

Mr. vsanjuan1983, you should thanks to me for expose you deception, because i'm already get whitelist from admin by this post.

send to my metamask wallet if you appreciate my help

Where is this comming from? incredible... I was being blackmailed yesterday and now im being reported????
The town is in a valley and surrounded by montains. The hotspots have only the original antenna. so thats the reason why they only see each ther.....
Its obvious that im focus of a plot and i was asking for help and you come and you are probably part of the scammers to put so much time and effort in to this.

Where is this comming from? incredible... I was being blackmailed yesterday and now im being reported????
The town is in a valley and surrounded by montains. The hotspots have only the original antenna. So, these are the reason why they only see each other.....
Its obvious that im focus of a plot, and I was only asking for you kind help or advice.
Thanks.

hey , i didn't see any money in my metamask wallet, so i have no choice to expose your another wallet address begin with 14XXL7???????????????????

you can take it this is my blackmail, i dont think my act it's wrong when blackmailer VS spoofer


Cross environment support

Search terms
mobile app
react native
native script
web worker
electron
node
deno
Is your feature request related to a problem? Please describe.
The package will not work in the above environments
Describe the solution you'd like
Get the package ready for other environments and tested in other environments.
Describe how this would benefit the project/others
They would be able to use the package in the above mentioned environments
Describe alternatives you've considered
not applicable
Additional context
document, fetch are not availbale in the above environments
https://nodejs.org/api/packages.html

fetch is coming to node (currently experimental) https://github.com/nodejs/node/commit/6ec225392675c92b102d3caad02ee3a157c9d1b7
document can be checked under globalThis

Platform
Compatibility

Node
✅ ensured by tests

Web Workers
✅ have access to everything the package might need

Electron
✅ Embeds node binary

Deno
✅ compatible with npm and node modules

NativeScript
User has to ensure compatibility

React Native
✅ Supported by default


EBI submission status should include date

Right now, it indicates its status (e.g., 'failed') but it would also be useful to include the date of when the submission was attempted. This is particularly useful for cross referencing with log files etc

Solved in #1451. Note that we are logging every single step in the submission and part of the log is the timestamp.


fancyzones -- incorrect screen resolution

Microsoft PowerToys version
"0.51.1"
Running as admin

[X] Yes

Area(s) with issue?
FancyZones Editor
Steps to reproduce
I have two screens: 1920x1080 and 3840x2160 --- but fancyzones editor recognizes only 1536x834 and 2560x1409.

✔ Expected Behavior
correct resolution : 1920x1080 and 3840x2160
❌ Actual Behavior
incorrect resolution 1536x834 and 2560x1409
Other Software
No response

/reportbug

PowerToysReport_2021-12-31-14-03-51.zip
Pls find attached .zip file. Thank you !!

I have reproduced the problem.
FancyZones Editor:

In real life, screen #1 (1080x1920) is located to the right of screen #2 (2560x1440). I use screen #2 as the primary display so the Windows taskbar is located on screen #2 and not displayed on screen #1. Screen #1 is in a portrait orientation and screen #2 is in a landscape orientation.
Screenshot:

Bug Report ZIP:
PowerToysReport_2022-01-03-18-03-14.zip

Any chance the monitors are DPI zoomed? only way i can repro this is if i scale

note: both my monitors are same size

Yes, you are right !!
If I scale back to 100%, then the resolution is all right.
Case closed. Thank you @crutkas :)


Add a safeguard to prevent infinite loop

Once I messed up group assignments and ended up in an infinite loop because the group assignment solver would not find a solution.
Have you encountered this issue before?
Here I'm not sure about the proper fix: I definitely want compscript to complain if groups are not feasible, but at the same time an infinite loop does not sound good.
For now I've simply added a break with a log, which may not be bothering enough (or let's say one could miss it), do you have a suggestion on how to return a proper error from this part of the code?

Yes, this has happened many times to me... :/
This is an improvement for now. When I start working on NAC groups I'll try to make this more resilient.


Check for Symptoms of CloudTrail Tampering

Look for new KMS keys
Check KMS key bypass-policy-lockout-safety-check flag
Attempt to generate and then read a CloudTrail event to validate everything is working.

This is a perfect fit for the plugin model.  Someone could easily write this in our plugin pattern to query cloudtrail for this info.


[Search functionality] Unable to search alternate zip codes

Browser: Chrome
Browser location services: Accepted/turned on
Problem: Unable to search zip codes. When I hit enter, the screen stays in same place. I can only zoom and pan to get to a different location
Screenshot: Map is in Seattle but when I search California 96161 nothing happens. Alternatively, if I search for Seattle while map shows CA nothing happens.

Actually this is a not a bug, when there is data, it would jump immediately, however, I agree it's less obvious to users to know the data flow behind the scene, so I would recommend to show up a message  saying 'No data from this zipcode', we can jump to the area as well if it's better user experience, we need discuss this, let us know, thanks!


GrumPHP 0.18 support

Hi,
When using this package with GrumPHP >= 0.18, I get this error:
PHP Fatal error:  Uncaught GrumPHP\Exception\TaskConfigResolverException: Your configuration contains an old task implementation for "php_cs_auto_fixer".
This task cannot be used in current setup.
Please upgrade your extension(s) or fall back to a previous version of GrumPHP.
More information about the new task system:
https://github.com/phpro/grumphp/blob/master/doc/tasks.md#creating-a-custom-task

 in /home/devlin/dev/git/b4/cas-lib/vendor/phpro/grumphp/src/Exception/TaskConfigResolverException.php:29
Stack trace:
#0 /home/devlin/dev/git/b4/cas-lib/vendor/phpro/grumphp/src/Configuration/Compiler/TaskCompilerPass.php(99): GrumPHP\Exception\TaskConfigResolverException::deprectatedTask('php_cs_auto_fix...')
#1 /home/devlin/dev/git/b4/cas-lib/vendor/symfony/options-resolver/OptionsResolver.php(1032): GrumPHP\Configuration\Compiler\TaskCompilerPass::GrumPHP\Configuration\Compiler\{closure}(Object(Symfony\Component\OptionsResolver\OptionsResolver), 'php_cs_auto_fix...')
#2 /home/devlin/dev/git/b4/cas-lib/vendor/symfony/options-re in /home/devlin/dev/git/b4/cas-lib/vendor/phpro/grumphp/src/Exception/TaskConfigResolverException.php on line 29
GrumPHP can not sniff your commits! (invalid-exit-code)

Are there any plan to support GrumPHP 0.18 ?

I confirm this issue :-(

Looking at the doc https://github.com/phpro/grumphp/blob/master/doc/tasks.md#creating-a-custom-task maybe changing on https://github.com/wearejust/grumphp-extra-tasks/blob/master/src/Task/PhpCsAutoFixer.php#L14 the class with TaskInterface maybe will fix it.

Nope I was wrong, the tasks now have a different syntax but there are different other projects that implement new grump tasks in different ways.

Any news on this? Or this is dead?

I have a local similar package for phpcsfixer and phpcs, i need to work on them...

@drupol thank you!! You are amazing!

Grumphp 0.19.1 has now some features to fix issues. I then choose to not continue the development of this and not use it in the next version of drupol/php-conventions.


Using the Win key in keybindings that focus windows causes the start menu to appear

I'd like to use the Win key for my keybindings (which works fine for the most part), but I've noticed that any actions that involve focusing a window will end up showing the start menu immediately, thereby taking the focus away from the window. E.g. try assigning FocusNextWindow()/FocusPreviousWindow() to Win + Left/Right and you'll see this issue.

Having looked through the code a bit, I think the issue is happening on this line in FocusStealer:
Win32.keybd_event(0, 0, 0, UIntPtr.Zero);

As I've found that commenting it out stops the start menu from triggering, however it also prevents the FocusStealer from actually stealing the focus. The commit message for this line is "switched to new keybd_event hack for FocusStealer", perhaps this is a side-effect of that?

See my comment on #231 for a current workaround using Open-Shell.

Should we add a "Troubleshooting" section including this? There's a way to disable Win + L but It won't let you lock Windows ever again unless you edit the registry.

I came up with another workaround for this using AutoHotKey. In the workspacer configuration, I map the desired action to some alternative key binding (e.g. Win+Alt+J) and then in AHK I bind the desired Win key binding (e.g. Win+J) to the other one. It's not completely flawless, but it gets the job done. In my experience, AHK usually handles Win key bindings better than alternative software. This hack won't work for all keys though (e.g. Win+L).
Here is some example code:
KeyModifiers modA  = KeyModifiers.Win | KeyModifiers.Alt;
k.Subscribe(modA, Keys.J, () => w.FocusedWorkspace.FocusNextWindow(),     "focus next window");
k.Subscribe(modA, Keys.K, () => w.FocusedWorkspace.FocusPreviousWindow(), "focus previous window");

AHK:
#j::SendInput #!j
#k::SendInput #!k


MauiXamlBluetoothLe builds on Mac but only runs for Android platform.

Guys: Update.  I apologize, I have been working and reviewing so many code repos searching for a solution to solve my MAUI cross platform requirements that I got my wires crossed on which sample app I was commenting on.  In my case, I had downloaded a very neat and tidy sample Application called MauiXamlBluetoothLE which show cases Plugin.BLE for Maui.
Below is my experience with trying to run the application on a Mac in iOS Simulator (and tethered too). Maybe you can provide some guiadance....maybe not.  Maui is very new and I am looking at it as a replacement for our Aging Xamarin forms application which is completely dependenty on Cross-Platform BLE support.
Thanks.
Steps to reproduce

Install Visual Studio 2022 for Mac (17.3.7)

Clone THIS repo and open in VS.

Build and run on ios simulator

Expected behavior
The App should load and display the landing page in iOS Simulator (Works fine for Android Simulator and Real Android device)
Actual behavior
code blows up and throws exception. Main message is the following:
This functionality is not implemented in the portable version of this assembly.  You should reference the NuGet package from your main application project in order to reference the platform-specific implementation.
Crashlog
at Plugin.BLE.CrossBluetoothLE.get_Current()
at MauiXAMLBluetoothLE.Services.BluetoothLEService..ctor() in /Users/fjb/Projects/MauiXAMLBluetoothLE-master/MauiXAMLBluetoothLE/Services/BluetoothLEService.cs:line 13
at System.Reflection.RuntimeConstructorInfo.InternalInvoke(Object obj, Object[] parameters, Boolean wrapExceptions)
at System.Reflection.RuntimeConstructorInfo.DoInvoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor2[[Microsoft.Extensions.DependencyInjection.ServiceLookup.RuntimeResolverContext, Microsoft.Extensions.DependencyInjection, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60],[System.Object, System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].VisitCallSiteMain(ServiceCallSite callSite, RuntimeResolverContext argument)    at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)    at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor2[[Microsoft.Extensions.DependencyInjection.ServiceLookup.RuntimeResolverContext, Microsoft.Extensions.DependencyInjection, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60],[System.Object, System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].VisitCallSite(ServiceCallSite callSite, RuntimeResolverContext argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor2[[Microsoft.Extensions.DependencyInjection.ServiceLookup.RuntimeResolverContext, Microsoft.Extensions.DependencyInjection, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60],[System.Object, System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].VisitCallSiteMain(ServiceCallSite callSite, RuntimeResolverContext argument)    at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)    at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor2[[Microsoft.Extensions.DependencyInjection.ServiceLookup.RuntimeResolverContext, Microsoft.Extensions.DependencyInjection, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60],[System.Object, System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].VisitCallSite(ServiceCallSite callSite, RuntimeResolverContext argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor2[[Microsoft.Extensions.DependencyInjection.ServiceLookup.RuntimeResolverContext, Microsoft.Extensions.DependencyInjection, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60],[System.Object, System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].VisitCallSiteMain(ServiceCallSite callSite, RuntimeResolverContext argument)    at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)    at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor2[[Microsoft.Extensions.DependencyInjection.ServiceLookup.RuntimeResolverContext, Microsoft.Extensions.DependencyInjection, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60],[System.Object, System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].VisitCallSite(ServiceCallSite callSite, RuntimeResolverContext argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)
at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(Type serviceType)
at System.Collections.Concurrent.ConcurrentDictionary2[[System.Type, System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.Func2[[Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope, Microsoft.Extensions.DependencyInjection, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60],[System.Object, System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].GetOrAdd(Type key, Func`2 valueFactory)
at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.GetService(Type serviceType)
at Microsoft.Maui.MauiContext.WrappedServiceProvider.GetService(Type serviceType)
at Microsoft.Maui.Controls.ShellContent.<>c__DisplayClass19_0.<Microsoft.Maui.Controls.IShellContentController.GetOrCreateContent>b__0()
at Microsoft.Maui.Controls.ElementTemplate.CreateContent()
at Microsoft.Maui.Controls.Internals.DataTemplateExtensions.CreateContent(DataTemplate self, Object item, BindableObject container)
at Microsoft.Maui.Controls.ShellContent.Microsoft.Maui.Controls.IShellContentController.GetOrCreateContent()
at Microsoft.Maui.Controls.Platform.Compatibility.ShellSectionRootRenderer.LoadRenderers()
at Microsoft.Maui.Controls.Platform.Compatibility.ShellSectionRootRenderer.ViewDidLoad()
at UIKit.UIApplication.Main(String[] args, Type principalClass, Type delegateClass)
at MauiXAMLBluetoothLE.Program.Main(String[] args) in /Users/fjb/Projects/MauiXAMLBluetoothLE-master/MauiXAMLBluetoothLE/Platforms/iOS/Program.cs:line 13
Configuration
Version of the Plugin:  2.1.3
Platform: e.g. iOS 15.5 / Android 12

Hi @jdg3k92,
I'm the friendly issue checker.
Thanks for using the issue template :star2:
I appreciate it very much. I'm sure, the maintainers of this repository will answer, soon.

I am facing this exact issue with my application. I am very interested in this solution. Only hitting android users for beta testing will limit the usefulness of my beta testing!

I have not had a look at MauiXamlBluetoothLe yet.
In general it should be noted that this library does not support MAUI yet, but it should once #614 is merged.

This problem should hopefully be fixed by https://github.com/dotnet-bluetooth-le/dotnet-bluetooth-le/pull/638.
@jdg3k92 @TimoKinnunen, can you confirm that the problem is gone on current master? (using the nupkg from here: https://github.com/dotnet-bluetooth-le/dotnet-bluetooth-le/actions/runs/3470893880#artifacts)

I have acquired iPhone 10 but lacking Apple developer account can only test for Android and Windows. I see how hard you are solving and developing and want to say thank you!

I have acquired iPhone 10 but lacking Apple developer account can only test for Android and Windows.

Well, yeah. The Apple universe is not exactly developer friendly. Everything is very much locked-in, and you basically cannot do anything without Apple's approval. Anyway, setting up a basic developer account is free, after all, so maybe you might create one anyway.
In any case, maybe @jdg3k92 can help out here? (If not, I might try to look into it soon.)

I will buy Apple developer account soon.  What can I do with dotnet-bluetooth-le? I have code in Visual Studio but what then?

I am also close to deploying the latest nuget from: https://github.com/dotnet-bluetooth-le/dotnet-bluetooth-le/actions/runs/3470893880#artifacts
I just got my apple developer account activated (it takes 48 hours from purchase😒).
My app scans, connects, and subscribes to ble notify events and receives raw data packets. Fully functional on Android.
I'll update here when I get some time to do this integration and testing.

I will buy Apple developer account soon.

In fact it's not free (contrary to what I claimed above), but for simple on-device testing you might even get away with an Apple ID only (which is free).

What can I do with dotnet-bluetooth-le? I have code in Visual Studio but what then?

Sorry, I don't understand the question? What do you mean?

My app scans, connects, and subscribes to ble notify events and receives raw data packets. Fully functional on Android. I'll update here when I get some time to do this integration and testing.

@tmuskopf, yes, please let us know how it goes ...

I don't know how to make Plugin.BLE from code. I use Plugin.BLE in my Visual Studio solution. I get Plugin.BLE from NuGet as package. This is new to me.

I don't know how to make Plugin.BLE from code. I use Plugin.BLE in my Visual Studio solution. I get Plugin.BLE from NuGet as package.

Actually you don't need to build a nupkg yourself, you can just download the one from this link:
https://github.com/dotnet-bluetooth-le/dotnet-bluetooth-le/actions/runs/3470893880#artifacts
Then you can simply put Plugin.BLE.2.2.0-pre5-34-g17221bc.nupkg into some folder on your build machine, and configure that folder as a "local package source" in VS. After that you should be able to update to that version via the VS package manager.

Actually by now I was able to verify myself that the problem is gone. With Plugin.BLE.2.2.0-pre5-23-g0f2abde, I still get the exception, but with Plugin.BLE.2.2.0-pre5-34-g17221bc it is gone and MauiXamlBluetoothLe starts up without error on my iPhone 🎉
Therefore I'll close this issue.

I have hope. Thank you Janus Weil for hard work.