Create benchmarks for proof generation and verification

Addresses issue #160

i'm getting warnings about code unrelated to the PR which is making the build check not pass.  Should i fix these warnings?

looks like the issue is directly related to this PR
error[E0554]: `#![feature]` may not be used on the stable release channel
  --> ssz-rs/src/lib.rs:86:12
   |
86 | #![feature(test)]
   |            ^^^^

For more information about this error, try `rustc --explain E0554`.

and it seems like the issue is that the "native" rustc support for benchmarks is not on a stable version of the compiler yet
it looks like a common alternative is Criterion, e.g https://github.com/bheisler/criterion.rs?tab=readme-ov-file#quickstart
I think it will also be nicer if we have the benchmarks collected outside of the src files, say in a top-level benches directory

looks like the issue is directly related to this PR
error[E0554]: `#![feature]` may not be used on the stable release channel
  --> ssz-rs/src/lib.rs:86:12
   |
86 | #![feature(test)]
   |            ^^^^

For more information about this error, try `rustc --explain E0554`.

and it seems like the issue is that the "native" rustc support for benchmarks is not on a stable version of the compiler yet
it looks like a common alternative is Criterion, e.g https://github.com/bheisler/criterion.rs?tab=readme-ov-file#quickstart
I think it will also be nicer if we have the benchmarks collected outside of the src files, say in a top-level benches directory

This was what i was referring to:
warning: the item `Ordering` is imported redundantly
   --> ssz-rs/src/list.rs:337:17
    |
336 |     use super::*;
    |         -------- the item `Ordering` is already imported here
337 |     use crate::{lib::cmp::Ordering, serialize, U256};
    |                 ^^^^^^^^^^^^^^^^^^
    |
    = note: `#[warn(unused_imports)]` on by default

looks like the issue is directly related to this PR
error[E0554]: `#![feature]` may not be used on the stable release channel
  --> ssz-rs/src/lib.rs:86:12
   |
86 | #![feature(test)]
   |            ^^^^

For more information about this error, try `rustc --explain E0554`.

and it seems like the issue is that the "native" rustc support for benchmarks is not on a stable version of the compiler yet
it looks like a common alternative is Criterion, e.g https://github.com/bheisler/criterion.rs?tab=readme-ov-file#quickstart
I think it will also be nicer if we have the benchmarks collected outside of the src files, say in a top-level benches directory

This was what i was referring to:
warning: the item `Ordering` is imported redundantly
   --> ssz-rs/src/list.rs:337:17
    |
336 |     use super::*;
    |         -------- the item `Ordering` is already imported here
337 |     use crate::{lib::cmp::Ordering, serialize, U256};
    |                 ^^^^^^^^^^^^^^^^^^
    |
    = note: `#[warn(unused_imports)]` on by default

I see a different error, need to update the MSRV


Pressing return in text fields yields error

Hi,
I have been trying to implement some contextual menu with input fields and I have found an error that also appears in the "input command" demo page.
If you right click, write some text in any of the 3 areas and press return the console outputs:
"Syntax error, unrecognized expression: textarea"
I think that I have isolated where the problem could be. By inserting console.log messages in jquery.contextMenu.js, I have found that the error is yield when line 396 is executed:
if (opt.$selected && !opt.$selected.is(':textarea, :select')) {
Best regards and thank you for your nice work.
Biel

Fixed in v1.5.8


CTS tests failed on spirv-val check since size of kernel arguments are more than 255

The failed tests: CTS_api min_max_constant_args, CTS_api min_max_parameter_size, CTS_api min_max_read_image_args,
CTS_api min_max_samplers, CTS_api min_max_write_image_args and CTS_device_execution enqueue_multi_queue.
Minimum limit for OpFunctionCall actual arguments is 255 according to
https://www.khronos.org/registry/SPIR-V/specs/unified1/SPIRV.html#_universal_limits

Drafted patch https://github.com/KhronosGroup/OpenCL-CTS/pull/1372 for the fix.
Could you please review it?
Thanks very much.

The correct link would be https://www.khronos.org/registry/SPIR-V/specs/unified1/SPIRV.html#_universal_limits, to point to Table 3 which contains that information.
Last time I checked, the OpenCL specification only defines a minimum limit on how much space all arguments to a kernel can take, but not how many arguments there can be. Given that the minimum amount is 1024 bytes, a kernel taking 1024 char values should be valid under the OpenCL specification.
My take would be that the OpenCL SPIR-V Environment Specification should be updated to specify a higher minimum number of argument to OpFunctionCall, or the OpenCL (C) Specification should include a limit on the number of arguments.

+@bashbaug, @AlexeySachkov

I left a comment on the PR also.
I agree with @pierremoreau that we should either add a (queryable?) limit on the number of function arguments to an OpenCL spec or we should figure out how to support more function arguments in SPIR-V, or perhaps both.
Either of these would be a rather significant change, although do note that there is currently a special-case limit of 128 function arguments for the smallest supported value for CL_DEVICE_MAX_PARAMETER_SIZE:

For this minimum value, only a maximum of 128 arguments can be passed to a kernel

I did a bit of spec archaeology to figure out where the current limit of 255 comes from but I was unsuccessful.  If we wanted to support more SPIR-V function arguments than 255, how high would we want to go?

although do note that there is currently a special-case limit of 128 function arguments for the smallest supported value for CL_DEVICE_MAX_PARAMETER_SIZE:

For this minimum value, only a maximum of 128 arguments can be passed to a kernel

I misremembered and thought that special case only applied to custom devices when it’s in fact the opposite.

I did a bit of spec archaeology to figure out where the current limit of 255 comes from but I was unsuccessful. If we wanted to support more SPIR-V function arguments than 255, how high would we want to go?

It would be interesting to know what the current maximum is for different existing implementations. If they do support a larger amount and some applications have been making use of it, then picking one of those higher values might make sense. Otherwise 255 sounds reasonable to me.

Hi, @bashbaug, @bashbaug. The CL_DEVICE_MAX_PARAMETER_SIZE is 3840 bytes for intel OpenCL CPURT. The tests passed without spirv-val check.

It would be interesting to know what the current maximum is for different existing implementations. If they do support a larger amount and some applications have been making use of it, then picking one of those higher values might make sense. Otherwise 255 sounds reasonable to me.
Hi, @pierremoreau , @bashbaug . I don't know if some applications have been making use of it, it seems that such condition is rare, although some existing implementations support large amount arguments currently. Hi, @AlexeySachkov, could you please comment current limit of 255 coming from SPIRV? Is it necessary to support more function arguments in SPIR-V?
Thanks very much.
+@hewj03, +@cdai2, +@fzou1

Hello @haonanya, do you know if Intel’s OpenCL CPURT has any limits on how many kernel arguments it supports? Would it support a kernel taking 960 32-bit integers as argument, for example?

Hello @haonanya, do you know if Intel’s OpenCL CPURT has any limits on how many kernel arguments it supports? Would it support a kernel taking 960 32-bit integers as argument, for example?

I think yes,  kernel tests with 958 int arguments (3832 bytes) and one cl_mem (8 bytes) for 3840 bytes total and kernel test with 479 long arguments (3832 bytes) and one cl_mem (8 bytes) for 3840 bytes total work on OCL CPURT.

Thank you for the data point! Are there any known OpenCL applications which relies on more than 255 kernel arguments being supported?


Rebalancing is slow

In combination with recycle_workers we're seeing multi-minute long disruptions to jobs due to the disruption from rebalancing. There is a setting session.timeout.ms which is set on the consumer and defaults to 30s which we should probably expose so that we can adjust it from the job.

No longer valid.


make up changelogs for fields change

make up changelog for https://github.com/VictoriaMetrics/operator/pull/688 and https://github.com/VictoriaMetrics/operator/pull/689

these fields need to be modified to oauth2 before upgrade.

They can't be changed "before updating" because they won't pass CRD validation.
That's the thing, they'd have to do something like that:

Stop the operator
Update the CRD (at which time they will lose the current values of the disappeared fields)
Update the value of the new fields
Start the operator

these fields need to be modified to oauth2 before upgrade.

They can't be changed "before updating" because they won't pass CRD validation. That's the thing, users have to do something like that:

Stop the operator
Update the CRD (at which time they will lose the current values of the disappeared fields)
Update the value of the new fields
Start the operator

Right, then I think the step should be:

backup all the vmalert objects in files, modify those fields locally
upgrade the opeartor
re-apply those files

But how do we describe those steps in changelog, do we need to? This sounds like a standard upgrade procedure for crd.

Refer to some changelogs in kubernetes.


Add support to update .nvmrc

To use dependabot to update Dockerfile like:
FROM node:16.13.1

we also need to be able to update .nvmrc automatically (and preferably in the same MR)
So developers can locally use the same node version as we use in production

Yeah updating language versions outside of a Dockerfile is not something we have a good story for right now, it would be cool to support but we don't have any immediate plans for it.

Maybe I can help... any thoughts how can it be done? Some custom rules, plugins?

We're not really in a position to accept such contributions right now, more context here

I'm going to close this as partially a dupe of https://github.com/dependabot/dependabot-core/issues/4234 and partially "wontfix".
Managing .nvmrc versions might be doable, see #4234 for that. But managing it in conjunction with another ecosystem update such as a dockerfile update just isn't something that I see being very feasible without a ton of broken edge cases... to the point that I'd question if we're adding value or just confusion.


New 申请

😀 申请人 Applicant

GitHub: luthor

🌏 领养宠物 Adopt pets

unicorn

pets

最近有事，一周后会进行邀请，见谅。

Invited. Please check your email. 😄

Invitation expired. User did not accept this invite for 7 days.
Closed. If have any questions, free to leave a comment below.


Is this project still being developed?

Looks like a really great project!
I got it partially running after updating a bunch of it to express 4 but am getting a bunch errors I need to work through on the dashboard page.
Are you still planning on working on this? Do you want contributors?

Thank you !
I know I must give it an update, but my freelance contracts are taking me too much of my time for the moment.
I would really appreciate some help on that. I really want to keep this project updated on the long term and implement the last Doku features. I'm open to any kind of contribution. Do you want more information about the roadmap I have established a few month ago ?

Yes please.
Happy to help out as time allows.
On Fri, Feb 20, 2015 at 1:55 AM, HECKEL Maxime<EMAIL_ADDRESS>wrote:

Thank you !
I know I must give it an update, but my freelance contracts are taking me too much of my time for the moment.
I would really appreciate some help on that. I really want to keep this project updated on the long term and implement the last Doku features. I'm open to any kind of contribution. Do you want more information about the roadmap I have established a few month ago ?
Reply to this email directly or view it on GitHub:
https://github.com/MaximeHeckel/HarborJS/issues/11#issuecomment-75047217

1.Replace ssh-exec with a simple exec. I wanted first to host the client on another server, but it wasn't worth it. A simple exec will do the job.
2.Update to express 4.
3.Adding Angular as a front end framework could be nice and make things run smooth. I don't know if you're familiar with Angular, but I am so I could do that when I have some free time ( soon ). It's not that important, it's just to have a cleaner, more organised project.
4.Monitoring : memory, cpu graphs. I know that Docker 1.5 implements the docker stats command and allows you to get stats from each running container.
5.Deleting images from the server. That means that there must be and "image-list" array in the database.
And that's pretty much it. Of course I'm open to any kind of ideas :)

Ok,
hmm so your intention is to have the app running on the same server as dokku is running? I was pretty keen to have remote client and was thinking it might then be nice to allow adding multiple hosts in future and manage them all from a central location. Thats not a direction you want to head in though?
I can probably start by getting it running as is and then upgrading to express 4.
I'm familiar with angular and ember, prefer ember but happy to go with whatever there. Agreed it would be a nice SPA instead of server side.
Monitoring and image list stuff sounds awesome!

Oh yes great idea ! I didn't think about it but it could be extremely interesting.
Yes beginning  with express 4 is a good start.
As I'm not that familiar with ember ( yet ) I would prefer Angular to keep track on the project. We could also think about a redesign in order to do something more beautiful and more useful at the same time. But that's not important now :)
Happy to find people interested to participate in this project !

Cool, yup angular is all good!
The splash screen is really nice and the bootstrap components work pretty well for now!

I have some ansible scripts for provisioning a machine with dokku. Perhaps a pie in the sky idea for some time down the road would be to provision boxes from the HarborJS web ui. ie. put in a couple server details and harbor could run ansible scripts to spin up an instance... could be kinda cool!
but for now im mentally busy so i'll try to help out with small things!

That would be awesome indeed !
Yes start with whatever you want when you have the time, and do some PR's ! It would be awesome to give a great update of this project.

Hi guys, is this still active?

Is project kill? It's been almost a year...

Hi, sadly I haven't had and probably won't have the time to work on this project, it's really far from being up to date (on the node side and on the docker api side)


[BUG] Pymongo 4.9 is not supported

Describe the bug
Using the motor library (dependency) will install the latest pymongo (4.9). Which is not yet supported in the library
Traceback (most recent call last):
  File "/usr/app/src/main.py", line 1, in <module>
    from beanie import init_beanie
  File "/usr/local/lib/python3.12/site-packages/beanie/__init__.py", line 1, in <module>
    from beanie.migrations.controllers.free_fall import free_fall_migration
  File "/usr/local/lib/python3.12/site-packages/beanie/migrations/controllers/free_fall.py", line 4, in <module>
    from beanie.migrations.controllers.base import BaseMigrationController
  File "/usr/local/lib/python3.12/site-packages/beanie/migrations/controllers/base.py", line 4, in <module>
    from beanie.odm.documents import Document
  File "/usr/local/lib/python3.12/site-packages/beanie/odm/documents.py", line 69, in <module>
    from beanie.odm.interfaces.aggregate import AggregateInterface
  File "/usr/local/lib/python3.12/site-packages/beanie/odm/interfaces/aggregate.py", line 7, in <module>
    from beanie.odm.queries.aggregation import AggregationQuery
  File "/usr/local/lib/python3.12/site-packages/beanie/odm/queries/aggregation.py", line 12, in <module>
    from motor.core import AgnosticCommandCursor
  File "/usr/local/lib/python3.12/site-packages/motor/core.py", line 30, in <module>
    from pymongo.cursor import _QUERY_OPTIONS, Cursor, RawBatchCursor
ImportError: cannot import name '_QUERY_OPTIONS' from 'pymongo.cursor' (/usr/local/lib/python3.12/site-packages/pymongo/cursor.py)

To Reproduce
from beanie import init_beanie

pip install beanie
Expected behavior
normal library operation without ImportError

Opened PR with temporary fix (limit max version of pymongo)


Windows host configuration fails starting the Wired AutoConfig service

Partly this is due to the info method:
C:/Users/foo/.vagrant.d/gems/gems/landrush-1.1.0.beta.2/lib/landrush/cap/host/windows/configure_visibility_on_host.rb:147:in `info': undefined method `[]' for #<Vagrant::Environment:0x3ec4b70> (NoMethodError)

Another problem is that the retry method does not work anymore after the switch to host capabilities which made ConfigureVisibilityOnHost effectively a static class.

Fixed by pull request #228


console: deploy failing

Deploy is failing and doesn't provide enough information for me to debug. Any ideas?

I just nuked everything and created a new workspace. I'm not seeing this issue anymore.


Deprecated arguments

Hi,
We are getting this warning whenever we run a plan/apply on TFE due a deprecated argument:

I'd like to suggest replacing the argument by private_endpoint_network_policies_enabled and private_link_service_network_policies_enabled.
Reference: https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/subnet#private_endpoint_network_policies_enabled
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/subnet#private_link_service_network_policies_enabled

Closed by #51.


Unable to remove Remote Event Receivers

What type of issue is this?
Question
What SharePoint development model, framework, SDK or API is this about?
SharePoint CSOM
Target SharePoint environment
SharePoint Online
What browser(s) / client(s) have you tested

[ ] 💥 Internet Explorer
[ ] 💥 Microsoft Edge
[ ] 💥 Google Chrome
[ ] 💥 FireFox
[ ] 💥 Safari
[ ] mobile (iOS/iPadOS)
[ ] mobile (Android)
[X] not applicable
[ ] other (enter in the "Additional environment details" area below)

Additional environment details

.net core 2.2
PnP.Framework 1.6
-https://contoso.sharepoint.com/sites/pwa/projectcode/_api/web/lists/getByTitle('List Name')/eventreceivers('receiver-id')/deleteobject

Issue description
We have multiple sites, where we created Remote Event Receivers using CSOM. Something basic like this:
_receivers.ApplyEventReceivers(context.Web);
await context.ExecuteQueryAsync();
All the receivers are in place.
Some of the event receivers stopped working and no longer calling the url we provided (same url for all receivers). We found on other blogs that we have to recreate the list (not applicable) or remove and re add the receivers.
Unfortunately, we are getting System.UnauthorizedAccessException when we try to remove the event receivers.
We tried using CSOM, PnP PowerShell, calling the built in rest endpoint from browser, from JS and also from Power Automate.
We tried with different users with full control and site collection admin roles. We also tried with CilentId - ClientSecret that has full control, but no luck.
Can anyone please provide a solution to remove these Event Receivers?
Many thanks!

@daniel-kukucska-arm I have seen this happen when a Remote Event Receiver has been added by using ClientId/ClientSecret and then trying to remove it using ordinary user credentials or a different ClientId. It doesn't matter what permissions the user or app has. If it has been added by using ClientId it must be removed using the same ClientId or else you will get an Unauthorized exception.
Not sure if this is what you are seeing but make sure to use the same ClientId.

@patrikhellgren We used the same ClientId and ClientSecret that we used for creation. (Azure AD app reg delegated permission)

Yes, we used the same credentials.
Is there any forced way to remove them? (Like with a tenant admin or something)

@daniel-kukucska-arm I haven't found any way of forcibly removing them.


The plugin is not working: somehow end is not being inserted

I am having a hard time making this plugin working. :TSModuleInfo shows endwise is loaded and active for the current filetype (lua, ruby, etc.), but it is not inserting end automatically for me. What am I doing wrong or how can I troubleshoot?
I am on neovim 0.7.0 nightly, NVIM v0.7.0-dev+953-gd0493d110 (tried on 0.6.2 but it's the same).
In my treesitter config, I have endwise enabled:
require'nvim-treesitter.configs'.setup {
 -- one of "all", "maintained" (parsers with maintainers), or a list of languages
  ensure_installed = "maintained",

  -- List of parsers to ignore installing
  ignore_install = { },

  highlight = {
    enable = false,
  },
  playground = {
     ...
  },

  -- nvim-treesitter-endwise
  endwise = {
    enable = true,
  },
}

I have ruby, lua, vimscript parser for treesitter installed, and confirm that TS is working fine from :TSPlaygroundToggle.
Given the plugin/module activated, however, I never see this working: on a new ruby file, I type module Foo and then hit <CR>. I expect end would be inserted, but nothing happened.
module Foo
    |

Any hints or insight on how I could troubleshoot/debug the plugin?

@RRethy Why did you close this issue?

Mate, you gotta learn to talk with respect, don't use this plugin. Fork it or make your own.
Reference: https://github.com/RRethy/nvim-treesitter-endwise/issues/10#issuecomment-1030972919


Fix build on linux by adding a missing #else

I really like your approach to this problem and hope you can continue it. I noticed however that with your last commit #b4ea08c1db90532e62e1d2ea44d1c7b630b45350 that you accidentally removed an #else causing the linux build to fail for no reason.
Could you agree wit this simple fix?

Oh, what a silly mistake ;)
Thanks for pointing it out to me!


Updates status of the project

@dylanesque : lol, not too pedantic for now. If this is good enough we can start with this and debate more language later. I may also point you at other folks to discuss wording who are more in tune with that kind of thing.

@dylanesque : lol, not too pedantic for now. If this is good enough we can start with this and debate more language later. I may also point you at other folks to discuss wording who are more in tune with that kind of thing.

The suggestions, which I think are subjectively better, but am not married to:
"you're taking home less in all" --> "you're taking home less overall"
"you don't make the cutoff for some of those benefits."  --> "you have gone past the cutoff..."
"Some benefits drop to nothing, or almost nothing." --> "Some benefits get drastically reduced, or disappear entirely." ( I feel like this is stronger if the consequences of the cliff effect are escalated upwards through the passage.)

@dylanesque : Those sound like great discussion items. I'll add @todo in here. If you want, you can add them as an issue and it'll probably be easier to keep track of them there. In the meantime, since those aren't crucial, is this ready for merging?


webrtc-audio-processing: Enable RISC-V

Motivation for this change
Adds definitions necessary to build the package on RISC-V. A patch is also submitted upstream here.
Things done

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

[x] NixOS
[ ] macOS
[ ] 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 nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

/rebase staging

The rebase script was brutally murdered (RIP, but it didn't really work that well), and I just rebased myself.


🚀 | Skip the manual interaction during installation

Feature Description
What functionality would you like to see in your phoniebox?
As a phoniebox developer, I need a possibility to skip the manual interaction during installation, so that I can speed up my development and/or enable automated tests
How do you envision the feature to work from a users perspective?
This feature will enable faster manual development of fixing bugs and new features. In the next step, this could help to enable automated installation tests for the projects

From my perspective this is directly related to #827


expr: Handle correctly the minimum value of integers.

Otherwise we underflow.

See https://github.com/servo/rust-bindgen/pull/245 and https://github.com/servo/rust-bindgen/issues/244 for context.

@homu: r+ 4d5fcf7

:zap: Test exempted - status


how to display view on top of navigation header

Hello,
For some reason I cannot display overlay on top of navigation header. Even when I use large zIndex value, it still shows under. My use case -I need to display in-app notification.
Thank you.

Are using Android or iOS?

iOS

?

In order to overlay the header, you have to render not inside the scene, but outside, in the parent, that renders your navigator.
render() {
  return (
     <View>
         <Navigator />
         {this.state.hasNotification && <DisplayNotification />}
     </View>
  );
}

So, basically, in the component that renders navigator, render another component that will display in-app notification. To trigger it, you can use e.g. redux & dispatch action showNotification.

@grabbou that's what I did, but it's inconvenient since I need to do this for all types of overlays that I may have in the app. I would say this is a design issue that should be addressed.

Use a portal. Closing this issue because it's not specific to react navigation

@satya164 I disagree, it's very specific to react navigation.

Since the title of this issue is about views, not in-app notifications specifically, I'd like to point out that the proposed solution is indeed fine for notifications, but the problem remains for anything else unless someone can think of a nested navigators scenario that works for the following example:
Let's say we've got a set of screens in a StackNavigator, one of which with a 'drag and drop' or 'swipe up/bottom' elements that need to cover the header when moved. How would we tackle that?

Let's say we've got a set of screens in a StackNavigator, one of which with 'drag and drop' or 'swipe up/bottom' elements that need to cover the header when moved. How would we tackle that?

You'd have a parent navigator which shows these items and wraps your normal stack navigator. It's not different from how you'd use drawer navigator to draw on top of the header.

Tip: in some cases it's necessary to set zIndex and elevation > 4 to the view that should cover the header.

@grabbou
Hi Mike
Slight aside but: Should your example from February still work?
I am trying to do as you suggest with a StackNavigation, but the navigation disappears when I put it inside a view?
Thanks
AM

Hi,
I solve this problem using Modal on React Native. Modal will cover all screen.

What if I want to break an element out of it's current view hierarchy using position: absolute and/or zIndex: {someBigNumber}? Doesn't seem possible since the <Header> is lower in the view hierarchy than the scene <Card>.

We want to show toast/banners that come down from the top. we can (and were) using redux to solve this. However it is a hassle and couples together parts of our that otherwise would be decoupled. I prefer to keep redux as sparse as possible, and I don't want my root component responsible for our different banners just to work around react-navigation.  Modal doesn't work because we still want the user to be able to interact with the rest of the screen. Would love to see support for this, thanks!


Composer pack handler error

The library (1.3), via composer, has a lost s in Indonesian JSON.
composer require juanantoniodelgado/stopwords
In this file on Line 3 - \src\words\indonesian.json
{
    "name": "Indonesian",
    "handler": [
        "indonesian",
        "ind",
        "id"
    ],
    "words": [
        "ada",
        "adanya",
        "adalah",
        ...

Sorry haven't seen this here fda0f19

Fixed on https://github.com/juanantoniodelgado/StopWords/issues/14.
Thank you for your support and apologies for the delay.


Add 1.2.latest branch to scheduled test matrix

Description
For our scheduled release branch testing, we need to add 1.2.latest to the branch matrix
Checklist

[ ] I have read the contributing guide and understand what's expected of me
[ ] I have signed the CLA
[ ] I have run this code in development and it appears to resolve the stated issue
[ ] This PR includes tests, or tests are not required/relevant for this PR
[ ] I have opened an issue to add/update docs, or docs changes are not required/relevant for this PR
[ ] I have run changie new to create a changelog entry

@emmyoop that's a great suggestion. I created an issue to track that going forward


Flow does not report type missmatches with recursive types that use $ObjMap

Here is an example illustrating an issue:
/* @flow */

export type Lift<value, mapper> = $PropertyType<
  $ObjMap<{ value: value }, mapper>,
  "value"
>

export type Concat<left, right> = Lift<
  right,
  {
    <xs, x>(Concat<xs, [x]>): Concat<Concat<left, xs>, [x]>,
    ([]): left
  }
>

const xs: Concat<[], [number]> = [{x:1}]

Here is another more complete example which instead of not reporting an error reports one when it does not needs to:
/* @flow */

export type Lift<value, mapper> = $PropertyType<
  $ObjMap<{ value: value }, mapper>,
  "value"
>

export type Concat<left, right> = Lift<
  [left, right],
  {
    ([[], []]): [],
    <a> ([[], [a]]):[a],
    <a> ([[a], []]):[a],
    <a, b>([[], Concat<a, b>]): Concat<a, b>,
    <a, b>([Concat<a, b>, []]): Concat<a, b>,
    <a, b, c, d>(
      [Concat<a, b>, Concat<c, d>]
    ): Concat<Concat<Concat<a, b>, c>, d>
  }
>

const x0:Concat<[], []> = []
const x1: Concat<[], [number]> = [1]
const x2: Concat<[], Concat<[], [number]>> = [2]
const x3: Concat<Concat<[], [number]>, Concat<[], [number]>> = [1, 2]

Ok so I figured out how to fix above problem as well, but run into even more confusing problem down the line:
/* @flow */

export type Lift<value, mapper> = $PropertyType<
  $ObjMap<{ value: value }, mapper>,
  "value"
>

export type Concat<left, right> = Lift<
  [left, right],
  {
    ([[], []]): [],
    <a> ([[], [a]]):[a],
    <a> ([[a], []]):[a],
    <a, b> ([[a], [b]]):[a, b],
    <a, b>([[], Concat<a, b>]): Concat<a, b>,
    <a, b>([Concat<a, b>, []]): Concat<a, b>,
    <a, b, c, d>(
      [Concat<a, b>, Concat<c, d>]
    ): Concat<Concat<Concat<a, b>, c>, d>
  }
>

export interface Route<out> {
  parse(string[]): ?out,
  format(params: out): URL,
  segment(path?: string): Route<out>,
  param<a>(Route<[a]>): Route<Concat<out, [a]>>,
}

declare var String:Route<[string]>
declare var Number:Route<[number]>
declare var Router:Route<[]>

const c = Router.segment("user")
    .param(String)
    .segment("comments")
    .param(Number)

c.format(["Jack", 17]) // <-- error

const c2:Route<Concat<Concat<[], [string]>, [number]>> = c
c2.format(["Jack", 17]) // <-- not an error

Even though flow infers c as type assigned to c2 it still somehow expects c.format to be passed tuple with just number. But then if I assign type manually in c2 and do the same it seems fine O_o


[ISSUE]The basic authenticator is not displayed in the login page when the user is redirected to the multi-option login page after authentication failure due to account locking.

Describe the issue:
The basic authenticator is not displayed in the login page when the user is redirected to the multi-option login page after authentication failure due to account locking.
How to reproduce:

Set up a multi-option login page with a basic and federated authenticator.
Enable account locking and Lock the account of a user.
Try to log in the locked user, on failure, the basic authenticator is not displayed in the login page

Product Version: IS 5.8.0
Cause
The authenticatorNames[1] is not URL encoded when creating the redirect URL.
[1]https://github.com/wso2-support/carbon-identity-framework/blob/support-5.12.387/components/authentication-framework/org.wso2.carbon.identity.application.authentication.framework/src/main/java/org/wso2/carbon/identity/application/authentication/framework/handler/step/impl/DefaultStepHandler.java#L764

The public fix is done with https://github.com/wso2/product-is/issues/7961


[BUG]Industrial Insulation updates

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
Industrial Insulation works like an infinite sponge for water, however in its current state seems to provide block updates to the water, as when the water is removed, the water tries to flow into the sponge and gets removed again, in large quantities this could cause a ton of unnecessary block updates if it can be fixed.
Expected Behavior
No response
Steps To Reproduce
No response
Environment
- OS:
- Java version:
- Minecraft version:
- Version:

Anything else?
No response

While true, this behaviour is the same as a sponge, only a sponge can do it only ones. Not sure how we can do it without doing the same thing (Or making it only active one time you place it)

Could always make it so once it has collected fluid it drops as an item again as it's "finished"?

This mod does this without BE tick if I remember correctly. Could be a useful reference.
https://www.curseforge.com/minecraft/mc-mods/hydrophobe
https://github.com/62832/Hydrophobe

This mod does this without BE tick if I remember correctly. Could be a useful reference. https://www.curseforge.com/minecraft/mc-mods/hydrophobe https://github.com/62832/Hydrophobe

I'd not be super satisfied with using Mixins to provide this behaviour.
I think I'm going to close this issue - if we receive a Spark profile (or similar) demonstrating a real-world performance detriment then we can revisit this :)


implement uid shifting

The Idmap type is used by a new program fuidshift, which can shift
the userids on disk from host into container.  The same class can
later be used by the lxd container creation code.
The program must be called by root to shift uids, but has a test
mode which can be called by non-root users to show what uid/gid
conversions would be done.
add a fuidshift test
Signed-off-by: Serge Hallyn<EMAIL_ADDRESS>

Manually merged (makefile conflicts).


Read a QR code displayed on Windows screen

Description of the new feature / enhancement
I'd like to see the PowerToys providing a feature to read on-screen QR code in this way:

User triggers the keyboard shortcut to activate the QR reader function
PowerToys captures the entire screen into the clipboard memory
PowerToys analyzes the screen image to find one or many QR code
If there's only 1 code then PowerToys shows the string to the user, if that is a hyperlink it should be clickable to launch the browser to it
If there are multiple codes then PowerToys could display many strings accordingly.

Scenario when this would be used?
While it is universally easy to scan a QR code from a mobile device today, it remains cumbersome trying to read a QR code displayed on screen, i.e. in Outlook email or on a web page. You'd have to capture the QR code into an image file then submit it to an online QR code reader in order to translate it to a string. That is too many steps to do so I often just ignore the code.
I can certainly pull the phone up to scan it, but then it would open the URL on my phone which I still have to send to the computer somehow, still cumbersome.
I wish it is as simple to read QR code on screen as it is from a phone.
Supporting information
An email invitation or email survey that include only a QR code but without a URL string that can be copied/pasted to the computer browser.

/dup https://github.com/microsoft/PowerToys/issues/4859


Add in config.guess and config.sub from depends

To build berkeleyDB on arm64 and ppc64el a more recent set of config.sub and config.guess are needed

This pull request is now managed with CodeReviewHub. Refresh.


new Github action for diff-cover

Hi there!
As we heavily use diff_cover, we are also a big fun of this repo!
It helped us to improve our programming skills, find bugs faster, increase our coverage and our motivation to write tests :)
My colleague Asaf recently release a new Tests Coverage Report Github actions based on this great repo.
He would like to get feedback and help more users to use this great diff coverage capability!
Thanks

You have used diff-cover a lot, would like to ask if you have encountered the same problem as #346, please help


Make LoRA text-to-image compatible with new weights

Such as the ones in https://huggingface.co/sayakpaul/dreambooth
This should be compatible with diffusers 0.16.1, which is the version pinned in the requirements.

The failing test looks unrelated, but I'll wait a few hours to retry another run.

Totally unrelated. Docker tests work fine. For some reason in the runner it has a harder time stop the docker container, which triggers failure..


Add documentation for disable-force-detach-on-timeout

Adding documentation for the new disable-force-detach-on-timeout flag.
The associated k8s PR can be found here: https://github.com/kubernetes/kubernetes/pull/120344
This is a new flag that is being added to disable force detach behavior when the 6 minute node unhealthy timer expires in kube-controller-manager in favor of non-graceful node-shutdown.
While I was able to test out most of this change by running make serve, I wasn't able to get any of the  static redirects working as a part of my local testing (including testing redirects I didn't add without my change). Is this expected?

@bswartz @msau42 @saad-ali @liggitt @jingxu97 @carlory for visibility.

While I wasn't able to test the static redirect on my local machine, it seems to working just fine here...
https://deploy-preview-44931--kubernetes-io-main-staging.netlify.app/docs/node-disable-force-detach-on-timeout/ correctly redirects to https://deploy-preview-44931--kubernetes-io-main-staging.netlify.app/docs/concepts/architecture/nodes/#disable-force-detach-on-timeout.

@rohitssingh https://github.com/kubernetes/kubernetes/pull/120344 will be part of k8s v1.30, So this PR needs to be against dev-1.30

@rohitssingh kubernetes/kubernetes#120344 will be part of k8s v1.30, So this PR needs to be against dev-1.30

Thanks for the feedback @Shubham82...
Should this not go in main first, but in dev-1.30?
Should I then backport from dev-1.30 to main?

@rohitssingh kubernetes/kubernetes#120344 will be part of k8s v1.30, So this PR needs to be against dev-1.30

Thanks for the feedback @Shubham82...
Should this not go in main first, but in dev-1.30?
Should I then backport from dev-1.30 to main?
I'm used to a workflow where things go to main first and then are propagated to other branches as appropriate.

yes, this PR goes to the dev-1.30 branch not the main(as upstream PR will merge in v1.30), and you don't need to backport it to the main branch as we sync the dev-[future-release] (dev-130) branch with the main branch to keep the dev-[future-release]  branch up to date.

We use continous deployment for our documentation; a push to main triggers a publish to the live documentation. Changes around features for the v1.30 release should target dev-1.30 which we will merge into main on release day.

/hold
It sounds like this PR is not yet against the right branch. OK to unhold once that's addressed.

/reopen
Misclick, sorry.

At lot of these behaviors are specific to persistent storage, because, well, persistent storage isn't ephemeral and has to survive a pod migration.

We should add text or hyperlinks to the pages about persistent storage to help people learn that there is advice available to read elsewhere.

Closing this PR in lieu of https://github.com/kubernetes/website/pull/45119.


Playground fails to connect to server on Safari when connecting via localhost

This issue pertains to the following package(s):

[ ] GraphQL Playground - Electron App
[ ] GraphQL Playground HTML
[ ] GraphQL Playground
[X] GraphQL Playground Express Middleware
[ ] GraphQL Playground Hapi Middleware
[ ] GraphQL Playground Koa Middleware
[ ] GraphQL Playground Lambda Middleware

What OS and OS version are you experiencing the issue(s) on?
macOS 13.2, Safari 16.3 (186<IP_ADDRESS>.5)
What version of graphql-playground(-electron/-middleware) are you experiencing the issue(s) on?
express middleware 1.7.23
What is the expected behavior?
Playground can be reached via localhost and make queries/check schema
What is the actual behavior?
Playground loads fine, but can't connect to server. Error below. This does not happen when connecting via <IP_ADDRESS>
What steps may we take to reproduce the behavior?
Connect to Playground via localhost on Safari
Please provide a g

if or image of the issue for a quicker response/fix.

This sounds like an issue I've run into too. My problem is that render-playground-page.js uses URLs without specifying the protocol and fetches using "http" vs. "https" fail.
Note, until/unless this is fixed in the repo you will have to make this change every time you delete node_modules or reinstall all packages and overwrite your manual change.
In the following code change the URL after "void 0 ? ' from '//cdn.jsdelivr..' to 'https://cdn.jsdelivr...'
var getCdnMarkup = function (_a) {
    var version = _a.version, _b = _a.cdnUrl, cdnUrl = _b === void 0 ? 'https://cdn.jsdelivr.net/npm' : _b, faviconUrl = _a.faviconUrl;
    var buildCDNUrl = function (packageName, suffix) { return filter(cdnUrl + "/" + packageName + (version ? "@" + version : '') + "/" + suffix || ''); };
    return "\n    <link\n      rel=\"stylesheet\"\n      href=\"" + buildCDNUrl(reactPackageName, 'build/static/css/index.css') + "\"\n    />\n    " + (typeof faviconUrl === 'string' ? "<link rel=\"shortcut icon\" href=\"" + filter(faviconUrl || '') + "\" />" : '') + "\n    " + (faviconUrl === undefined ? "<link rel=\"shortcut icon\" href=\"" + buildCDNUrl(reactPackageName, 'build/favicon.png') + "\" />" : '') + "\n    <script\n      src=\"" + buildCDNUrl(reactPackageName, 'build/static/js/middleware.js') + "\"\n    ></script>\n";
};


[RFC] rustpython-batteries crate

Summary
Split up the vm into a pure vm part, and a batteries crate containing the standard library
Detailed Explanation
In order to make the vm usable in other projects, it might be good to split the crate into the vm and all object types, and another crate, which contains a lot of builtin modules. Suggestion to create new crates named rustpython-batteries with all modules, or rustpython-stdlib-asyncio, rustpython-stdlib-core, rustpython-stdlib-threading, etc..
Drawbacks, Rationale, and Alternatives
Drawbacks are the crate explosion. This might not be nice.
Unresolved Questions
Is this a good or bad idea? Please vote. Should we go for a single batteries crate, or split it into groupable features?

Just a bit of bikeshedding: maybe just rustpython-stdlib?

Would this be a feature flag on rustpython or something loaded in at runtime? Because the latter is very difficult; we'd need to do Rust:Rust ffi, which is very unstable ATM, while the former is just separation of concerns á la splitting compiler off of vm, which I'd support.


docs(readme): remove greenkeeper badge

This page contains the following errors:
error on line 1 at column 1: Document is empty
Below is a rendering of the page up to the first error.

https://badges.greenkeeper.io/meiblorn/ngx-fullpage.svg
😢

Fixed


Add expired AT removal code on the MSAL WriteCredential call.

Proposed changes
Added code that removes expired AT for apple storage.
(removeExpiredCredentialsWithQuerys). This method is called from deleteAccessTokens which in turn is called from writeCredentials. Note that  is only called from MSAIStorageManagerImpl.m so it will not be part of any other IdentityCore code paths. It relies on the addition getCredentialsWithQuery and matchesWithRealm relying on new value MSIDAny in MSAIMSIDComparisonOptions to return all entries for homeAccountId, environment, realm and clientId in cache query. The returned entries are then tested for expiration. Expired tokens are deleted using removeAllCredentials call.
Here is an MSAL draft PR that shows end to end changes with both XPLAT and apple storage changes.
https://github.com/AzureAD/microsoft-authentication-library-for-cpp/pull/3612
Type of change

[x] Feature work
[ ] Bug fix
[ ] Documentation
[ ] Engineering change
[ ] Test
[ ] Logging/Telemetry

Risk

[ ] High – Errors could cause MAJOR regression of many scenarios. (Example: new large features or high level infrastructure changes)
[ ] Medium – Errors could cause regression of 1 or more scenarios. (Example: somewhat complex bug fixes, small new features)
[ ] Small – No issues are expected. (Example: Very small bug fixes, string changes, or configuration settings changes)

Additional information

Yes. Once we have the change in IdentittyCore the MSAL subtree update will replace those changes.

In reply to:<PHONE_NUMBER>


Support Kitty Terminal Desktop Notifications

Kitty has support for desktop notifications built in.
Additionally, terminal-notifier seems to hang when using -sender with Kitty.

This would be great if meged!

Thank you for the pull request!


Expand torch.compile feature set, including new backends

(Issue migrated from https://github.com/nod-ai/SHARK-Turbine/issues/94)

In general, the torch.compile path could use some attention and new features.
dynamo/backends/ currently only includes cpu.py, which is registered here: https://github.com/iree-org/iree-turbine/blob/bd6ebc63208d4c146c278df10a338f102c75b74c/setup.py#L101-L105
Would other backends be added as separate registrations, or as a single registration with options?
Does Dynamo even offer a way to pass options to custom backends? I see mode and option parameters on torch.compile (https://pytorch.org/docs/stable/generated/torch.compile.html), but those look overly specific to Inductor, Triton, etc. The contract between torch.compile and custom backends doesn't seem to include options? See also https://pytorch.org/docs/main/torch.compiler_custom_backends.html :

A backend function has the contract (gm: torch.fx.GraphModule, example_inputs: List[torch.Tensor]) -> Callable.

Oh, the options parameter dictionary looks freeform enough that we could pass through our own flags there. I see some sample code online of people using options similar to those at https://pytorch.org/TensorRT/py_api/ts.html, for example. The torch.compile documentation just says "Some notable ones to try out are" and focuses on the in-tree backends.


Lack of generics is getting me mad

I know that many people posted this kind of issue but it really is getting me mad!:
Go is a great programming language and I love the simplicity of it but something is getting me mad and that is lack of generics in this language that probably caused lack of map(), reduce(), filter() and other functions that are needed for functional programming and are great tools for reducing code size and make code more clear. at least add these functions as built in functions in next versions or please add generics to this great language.

We understand that the lack of generics make certain use cases more painful and are aware of the issue. For now, I'm closing this as a duplicate of #15292

@riwogo http://www.thedotpost.com/2015/11/francesc-campoy-flores-functional-go


Android - turn on EN button is available before Play Services finishes updating

Adding this as an edge case and something to note for support issues around the "Turn on EN button" on the home screen not working.

Factory reset Android phone
Install Covid Alert
OS Prompts that Play Services needs to be updated for Covid Alert to work
Press to update Play Services (updating...)
Onboard into the App
Receive message saying EN is off -> button shows to turn on -> button doesn't do anything
Close the app
Play services finishes update
Open app -> EN prompt to turn on
The app at this point ends up in the normal state

In this case the button would end up working after Play Services fully updates.

Added to the backlog under "Create more detailed error messaging".


How to prevent PVCs from being deleted when uninstalling a Helm release

Greetings,
I'm dealing with bringing a deployed Helm release (Hazelcast) to Argo CD, and in order to do that, I must first uninstall the release with Helm and reinstall it using Argo CD.
The thing is that when I uninstall the release, the Management Center PVC is also removed, and that's something I do not desire because this PVC contains data that I need to keep. My intention is to keep this PVC and redeploy Hazelcast with Argo CD configuring the values.yaml to use the existing PVC instead of generating a new one.
Things that I have already tried:

Using the Helm annotation helm.sh/resource-policy, it works well when the release has been deployed with this annotation, but it is useless if the release has not. Please note that our Hazelcast releases have been all deployed without this annotation.
Remove Helm labels and annotations from the PVC metadata. I supposed that Helm uses this kind of metadata for taking ownership of the Kubernetes resources it manages, but removing this metadata does not do the trick, and the PVC is also removed. With this in mind, I cannot guess the way Helm takes ownership of the resources if not using this metadata.

Additional info that could be of interest:

My Helm version is 3.10.2
My Kubectl version is 1.25.2
My Kubernetes platform is an on-premise Kubeadm cluster with version 1.20.15
The Management Center application version is 3.12.6 and is based on a Statefulset, however the PVC is not generated using a volumeClaimTemplates section, but using a traditional volumes section

Thank you very much beforehand.

What about adding the helm.sh/resource-policy to the pvc, running an update manually, then uninstalling?
You could probably just delete the release secrets and let helm reclaim ownership of the resources.
You could add a finalizer to the PVC to prevent it being deleted.
That's what I've got off the top of my head. LMK if any of that's helpful.

Looks like the bot is right. Closing.


Add loader of 3D shapes

Add a loader that can handle the 3d shapes dataset
https://github.com/deepmind/3d-shapes

Not needed


Suggestion to include max volume name length

Hi Geert and Sean,
I believe ANF Volume Name support 256 characters, but please confirm. My customer is asking for max characters limit for volume name.
Documentation says name must be at least 3 characters long but does not mention the max limit. It might be a good idea to put max character limit as well.
Thanks,
Jayesh Bhakta

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

ID: 0137f22d-29a2-f8f6-2dcb-5b44ac11f516
Version Independent ID: d7d5a7a0-4e24-15bb-2cdc-293510994f69
Content: Create an NFS volume for Azure NetApp Files
Content Source: articles/azure-netapp-files/azure-netapp-files-create-volumes.md
Service: azure-netapp-files
GitHub Login: @b-hchen
Microsoft Alias: anfdocs

@gvanteylingen
Thanks for your feedback! We will investigate and update as appropriate.

Thanks Geert and Jayesh. Volume naming has been updated in the 3 topics where it is mentioned. These topics point to conventions on character limits (1-64):
Create an NFS volume, Create an SMB volume, Create a dual-protocol volume
#please-close


Conditinally execute statements.

An if...fi block to execute statements conditionally can be added. For example:
script
    .If(script.File("key.txt")=="")
    .Then()
        .Echo(token)
        .WriteFile("key.txt")
    .Fi()

Please let me know if this can be useful.

I can give a try implementing it

@bitfield What's the status of this? Is it still something we want to add to the package?

I haven't yet seen any evidence that the lack of this feature is a significant problem for a large group of users. I think until we have that, there are probably higher priority things to work on.


zooming into macro with large offset, they disappear from view

Describe the bug
This is a follow up of #3998.
When zooming in, the contents of macros with large offset disappears from view.
Same behavior whether top references macros for a, b and c or whether it's hierarchical def.
It seems that the "is in view" calculation doesn't properly take offset into account.
Expected Behavior
Display should always show the macro contents.
Environment
v2.0-10398-gecc03c290 Sept 23
M1 compiled with mpl2/par patch

To Reproduce
make or
and then zoom into macro b or c and you eventually get a blank screen.
test_origin_hier.tgz
Relevant log output
No response
Screenshots
No response
Additional Context
No response

@stefanottili
In block.def you are setting the ORIGIN pt and the OBS RECT for each of your BLOCKS using as reference the top.def die area ( 0 0 1000 1000 ), but each BLOCK has its own die and its ORIGIN and OBS should be set accordingly.
As a result:
Even though the blocks are being drawn in their desired position, they are misplaced. So when we zoom, and the viewer can no longer see the real position of the macro, its blockage disappears.
Using your block.def:

Setting origin and obs according with its own die:

Having large negative origin is unusual, but perfectly legal.
The blocks are not misplaced.
The lef/def input data is correct and OR displays's them correctly when doing a fit too.
As you notices correctly, the bbox calculation for b and c is wrong.
It doesn't take the ORIGIN into account and thus the bboxes of b and c are not correct.
That's the reason why zooming into them makes the disappear.

If that's truly the case, apparently this is not an issue related to the gui, but to odb.

it seems that LAYER  TYPE OVERLAP ; RECT/POLYGON  define the "valid" area of the MACRO.
I've attached the fixed testcase, even though OR currently doesn't support non square DIEAREA or MACRO.
test_origin_hier.tgz


[FLINK-27734][web] Fix checkpoint interval in WebUI

What is the purpose of the change
fix checkpoint interval in WebUI , which is described in FLINK-27734
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (no)

Thanks @Myasuka , done.

LGTM, could you please squash all commits into one?

Thanks @yangjunhan and @Myasuka , I tried  this proposal and it works. I had updated this PR.


--ignore_fragments is not supported (but documented)

$ bundle exec rawler --ignore_fragments http://google.com
Error: unknown argument '--ignore_fragments'.
Try --help for help.

$ bundle exec rawler --ignore_fragments http://google.com
Error: unknown argument '--ignore_fragments'.
Try --help for help.

--help doesn't print the option, despite it being documented on GitHub.
$ bundle exec rawler --help
Rawler is a command line utility for parsing links on a website

Usage:
      rawler http://example.com [options]

where [options] are:
  --username, -u <s>:   HTTP Basic Username
  --password, -p <s>:   HTTP Basic Password
      --wait, -w <f>:   Seconds to wait between requests, may be fractional
                        e.g. '1.5' (default: 3.0)
           --log, -l:   Log results to file rawler_log.txt
   --logfile, -o <s>:   Specify logfile, implies --log (default:
                        rawler_log.txt)
           --css, -c:   Check CSS links
      --skip, -s <s>:   Skip URLs that match a pattern
     --iskip, -i <s>:   Skip URLs that match a case insensitive pattern
   --include, -n <s>:   Only include URLS that match a pattern
  --iinclude, -d <s>:   Only include URLS that match a case insensitive
                        pattern. Equivalent to '--include
                        ^http://mysite.com/*'.
         --local, -a:   Restrict to the given URL and below
       --version, -v:   Print version and exit
          --help, -h:   Show this message

$ gem list --local rawler

*** LOCAL GEMS ***

rawler (0.1.8)

@oscardelben So this gem is dead, right?

@matkoniecz I think it is. In the meantime I switched to this one which also has more features: https://www.npmjs.com/package/broken-link-checker

@agross Thanks for a recommendation!

Hi,
It's not actively maintained. Sorry about that.


SDL2 now has vulkan support

So, PySDL2 updated:
https://github.com/marcusva/py-sdl2
News Article:
https://www.pygame.org/news.html
Now uses SDL2 2.0.6, which has vulkan support, as in it can now create a vulkan instance attached to a window "for you".
Should the SDL2 example be updated to use this functionality? Or should the old way be kept to show how this might be done with other frameworks that don't have out of the box support?
It should be noted I haven't tried this yet. So I don't know if this vulkan manages to wrap the sdl2 references correctly and therefore if you even can use the new sdl2 stuff without using cffi in the application.

Hello @Berserker66, as you say, I think it's better to show the detailed code. Maybe we could write both of the version but it's redundant. What is your opinion about it ?

Since it is meant to serve as an example, I think it is important to preserve the "old" step by step method, but at the same time, it is also important to show the "proper" way to do it.
I'm not sure what the best way to accomplish that is. The two obvious ways, I think, are to either have two examples (at least for a time), showing both ways.
Or, the example gets restructured to a more object oriented design, where you could have two methods for either way of doing it and giving some comments about how each method has their place.

Indeed @Berserker66, If you want to fully manage your Vulkan instance, you need the current example. Using the pysdl2 is not the goal of this sample so we can stay as is. Still it was a good remark and we keep the trace in this ticket history.
Thanks @Berserker66 .


Unable to generate OTP

As can be seen in the below-attached screenshot, there's some error in generating the OTP. Was working fine until yesterday afternoon.
Steps to reproduce the error -

cd src
python covid-vaccine-slot-booking.py
Enter your phone number.

use the latest version it will work

Tried using the latest pull, working now. Closing the issue.


Broken output of containers

See example below.
https://godbolt.org/z/vnxaqq
#include <dbg.h>

int main()
{
    std::vector<std::pair<std::string, int>> container = {
        {"30+2", 32}, {"30-2", 28}, {"30*2", 60}
    };
    dbg(container);
}

Here we have a vector of pairs of strings. Despite the library has pretty_print overloads for std::pair, std::string, and container they don't fully work with each other. It seems that the reason is the fact, that pretty_print overloads for std::pair and std::string are defined just after container overload and thus they aren't visible from pretty_print overload for containers.
A possible solution is adding declarations for all the pretty_print overloads before their definitions. For e.g. in my example, adding declarations for pair and string overloads before container overload fixes the problem.
inline bool pretty_print(std::ostream& stream, const std::string& value);

template <typename T1, typename T2>
inline bool pretty_print(std::ostream& stream, const std::pair<T1, T2>& value);

template <typename Container>
inline typename std::enable_if<detail::is_container<const Container&>::value,
                               bool>::type
pretty_print(std::ostream& stream, const Container& value) {

Thank you for reporting this. That should be fixed.
If there is a solution without duplicating all declarations, that would be great. But I guess that's actually the right thing to do.

I think that alternative is using one big function pretty_print with constexpr_if branches. I used it in another project. Easy to maintain, easy to understand. But need to bump std to c++17. I think that for this project it's unwanted.

Yes. I would like to maintain C++11 backwards compatibility.