Absent Turn Right Step

After I download the soure code and Test face detection, I can see the Turn Left Step successfully,but Turn Right Step is always absent in the face dection view! No matter I add the step source code b manual or open the switch at the item.
Could you help me check why Turn right Step is absent?
void _initValues() {
_veificationSteps.addAll(
[
M7LivelynessStepItem(
step: M7LivelynessStep.smile,
title: "Smile",
isCompleted: false,
),
M7LivelynessStepItem(
step: M7LivelynessStep.blink,
title: "Blink",
isCompleted: false,
),
M7LivelynessStepItem(
step: M7LivelynessStep.turnLeft,
title: "TurnLeft",
isCompleted: false,
),
M7LivelynessStepItem(
step: M7LivelynessStep.turnRight,
title: "TurnRight",
isCompleted: false,
),
],
);

In the face detect view,only 3 steps appear(Smile,Blink,Turn Left),then face detect successfully and finished! But Turn Right Step is absent!

I change the step parameter like this put TurnRight at 1st place
M7LivelynessStepItem(
step: M7LivelynessStep.turnRight,
title: "TurnRight",
isCompleted: false,
),
M7LivelynessStepItem(
step: M7LivelynessStep.turnLeft,
title: "TurnLeft",
isCompleted: false,
),
But it seems still have some Bug. The TurnRight step just skip automatically even my head  dont move turn right. TurnLeft step work normal!

And still, if you face the issue, please let me know in the comments, I'll help you to get what you're looking for.
Just a humble request, can you please tell me from where did you hear about this package?

I search in the pub.dev. Recently the poject need face deteact in a flutter project!

I am looking the function which your package provided already! It is a very good package. I need the four functions steps:
M7LivelynessStep.turnRight,M7LivelynessStep.turnLeft,M7LivelynessStep.smile,M7LivelynessStep.blink.
Everything is fine. Just the M7LivelynessStep.turnRight seems have a little bug. It skip automatically. I have not turn my head right, it automatically pass by.
But M7LivelynessStep.turnLeft working well. Camera hold on and when I turn my head left, the verification pass by.

Sorry I dont known how to alter the code to fix this issue,so I post this topic 'Absent Turn Right Step'

same issue - Turn Right step is skipping. Any solutions for this?

???

I'm facing the same issue any solution for this?

???

Please raise the PR in this repo.


Remove the need for CORS in development

You can drop the code for CORS now that<EMAIL_ADDRESS>is released!

This is ready to be merged!

So good. Thanks @gaearon! Updating the posts today


[Keyvault] az keyvault key: Add hsm platform info in response

Related command

az keyvault key
Description

This PR bumps version for Data plane SDK azure-keyvault-keys from API version 7.4-preview.1 to 7.5-preview.1
In the new API version, key has a new property hsm_platform which will show in CLI output
Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

Keyvault


插入含有日期时间字段且日期早于1970-1-1 00:00:00 的记录会出问题

Before posting a bug report about a problem, please try to verify that it is a bug and that it has not been reported already, please apply corresponding GitHub labels to the issue, for feature requests, please apply type:feature.
DON'T post usage related questions, ask in https://gitter.im/jinzhu/gorm or http://stackoverflow.com/questions/tagged/go-gorm,
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
golang 1.9.2
Which database and its version are you using?
MariaDB 10.1
What did you do?
Insert a new record into a table
Please provide a complete runnable program to reproduce your issue.
package main

import (
	"github.com/jinzhu/gorm"
	_ "github.com/jinzhu/gorm/dialects/mysql"
)

var db *gorm.DB

type rec struct {
   ID int
   Birthday time.Time
}

func init() {
	var err error
	db, err = gorm.Open("mysql", "gorm:gorm@/dbname?charset=utf8&parseTime=True&loc=Local")
	if err != nil {
		panic(err)
	}
	db.LogMode(true)
}

func main() {
	// your code here
        r := rec{}
        r.Birthday = time.Parse("20060102","19691125")

        db.Save(&rec)//this will write a wrong record in table: '0000-00-00 00:00:00'
}

不需要处理了，这个问题是MariaDB的问题


feat: upgrade-presync subcommand

Description
Move upgrade presync to subcommand
Issue link (if applicable)
Part of #8
Checklist

[x] Are tests up-to-date with the new changes?
[x] Readme up-to-date
PR on docs repo is needed

rebased to latest dev


Handle duplicate minimal required headers

Assuming these headers are required and should be placed in this order, this change:

Sets these headers first in the right order (optionally overwritten by this.options.headers values)
Removes them from the rest of the headers that might be set after that (preventing duplicates).

Fixes #243

Thank you for the PR! Please fix the style errors reported by npm run test and I'll merge and release a new version with the changes.


New feature: add a new policy for fixing clashes

Hi,
I add an new command line option for drive clashes. Let user switch the policy between rename (the original) and trash. When I encounter the clashes, I always trash it then re-push again. Hope this also useful for other user. And the simple usage is documented in the commit message.
To be honest, I never wrote any line of golang code before I decide to add this feature. I just browsed the golang tutorial at the last Sunday afternoon. Please read my code carefully and comment. :)

Hello there @iblis17, thank you for the PR and welcome to drive!
This is awesome, your first Go code looks great!
I've made 3 comments for minor feedback otherwise we are in good shape.

README.md updated @ 283066c

Dope! One last thing, let's squash all these commits into one and then I'll merge it in. Just in
case you need to
$ git rebase -i head~6

and when prompted for the message, let's set it to something like this
clashes: add trash and no-prompt to deal with clashes

Added trash and no-prompt to clash. The default is `rename` but
in some cases it is convenient to trash duplicates. This PR makes
that possible.

Thank you!

Rebased !

Thank you, LGTM!

This change is confusing when using "drive clashes -fix -fix-mode trash [remote folder]" since is trashes both files. When doing so, I expected the newest file to be kept. Deleting both files certainly fixed the clash, but so would "rm -Rf" :wink:.

@jpambrun Trashing them all and re-pushing is just my habit. Feel free to rename it and add the feature you want.

Maybe I should notice user that it will trash both of new and old files on README.md

What is the purpose of this? It does not make a lot of sense.
Especially since in my case, I had no local copy.

There are just different use cases. And I think there are no correct one or wrong one.
If this feature is not fitting your requirement. what about adding another function or option, contributing the code back, and make drive better!
If you really want that feature and do not want to write code, please open a feature request. I can push it into my TODO stack... Maybe I will make it at some Sunday afternoon.

I'm sorry if that came out a bit harsh; that was not the intent. I don't feel very strongly about this issue/feature and the proposed changes make it clear that it is a destructive operation.
Personally, I wouldn't make any destructive operations the default behavior for this type of application. I wanted to fix clashes and I issued "drive clashes -fix -fix-mode trash" on in a clean ~/gdrive folder thinking it would fix clashes based on the documentation.
Anyway, I appreciate your contribution.

Personally, I wouldn't make any destructive operations the default behavior for this type of application. I wanted to fix clashes and I issued "drive clashes -fix -fix-mode trash" on in a clean ~/gdrive folder thinking it would fix clashes based on the documentation.

Hearing a different need is not a bad thing, and it's the source of innovation of open source. :)
I will try to add a new policy called trash-old (or something like that), if I get free time.

Having different needs is not the issue I was trying to raise. The issue is
with the expectations that my data is not going to be lost by "fixing"
clashes.
So basically,yes, having different expectations when it comes to the
potential lost of data is a bad thing.
The better solution would be to call your fix-mode trash-all and the one I
proposed trash.
The is the safest, clearest way to include your feature.
On Tue, Dec 20, 2016 at 9:16 AM Iblis Lin<EMAIL_ADDRESS>wrote:

Personally, I wouldn't make any destructive operations the default
behavior for this type of application. I wanted to fix clashes and I issued
"drive clashes -fix -fix-mode trash" on in a clean ~/gdrive folder thinking
it would fix clashes based on the documentation.
Hearing a different need is not a bad thing, and it's the source of
innovation of open source. :)
I will try to add a new policy called trash-old (or something like that),
if I get free time.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/odeke-em/drive/pull/810#issuecomment-268253509, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAr2MGzdbtP6vuLQf9F8fT_E2tlIkWCRks5rJ-NLgaJpZM4LMeGc
.

ok, I got it. (~I think I am quite used to fix them via C4~


Allow modules to handle BeginBlock and EndBlock events

Feature description
Currently there is no way for modules to correctly handle BeginBlock and EndBlock events. This should be fixed in order to allow a better handling in the case of events that are not emitted by actions performed by the users (eg. slashing, rewards distribution, etc).
Implementation proposal
We can define a new interface:
type BlockEventsModule interface {
  HandleEvents(height int64, txsResults []ResponseDeliverTx, beginBlockEvents, endBlockEvents []abci.Event) error
}

Then, while parsing each block, we call the client.BlockResults module in order to get the info, and then we pass it to each module.

Done with 90ae63739f7ce9dad3c4625af108687499eb305c


add subversion project detection

This PR adds subversion project detection.

For me the tests fail locally, because of missing svn binary. Why are they even passing on github? Does github has the svn binary installed on the github action container? Or is the test not run at all?
Would be good, if you check this. Regarding binary, we might need to add it to the codebase. How big is this one? If it is in testdata folder, it won't be included in the final built binary.

We use ubuntu 18.04 and there's svn client installed on it as you can see in this documentation https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu1804-README.md
The svn binary is 31kb in size but it's compiled per operation system. Because of that I can't simply copy it to testdata folder. What about skipping tests locally when the binary is not found?

Skipping test conditionally sounds good to me.


monitoring: fix the tps metric

fix #1679

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Add option to mark different types of tags

Since there are different types of tags like engine, perspective, pacing etc. it would be great to have an option to add the type to the name of the tag - for example "[Perspective] First-person" or "[Engine] Unreal Engine 4". That way the tags can be sorted by type and are easier to grasp.

Added in v1.0.3


cmd: implement chromecast scanner

This PR adds a utility to do a little scan for chromecast devices. I'm using qubes os which has certan network restrictions, and having a hard time getting mDNS/avahi to function properly and find chromecast devices.
Examples
$ go run . --cidr <IP_ADDRESS>/24  scan
Scanning...  scanned 0, current <IP_ADDRESS>:8009
Found (potential) chromecast at <IP_ADDRESS>:8009
Scanned 256 uris in 1.605169203s

$ go run . --cidr <IP_ADDRESS>/24  scan
Scanning...  scanned 0, current <IP_ADDRESS>:8009
Scanned 256 uris in 1.606679062s

This is very cool, thanks @holiman . Just curious what kind of restrictions are imposed that make the mDNS library we use not work?

I don't know what the exact nature of it is. According to https://github.com/QubesOS/qubes-issues/issues/8444

LLMNR is enabled by default in Fedora’s systemd-resolved. mDNS is disabled by default in Fedora ...  Disabling mDNS and LLMNR in systemd-resolved is also consistent with Qubes OS disabling Avahi by default.

An additional problem might be that qubesos uses an internal virtual network for the qubes (but I have tested from my sys-net qubes too. I suspect it's a set of nftables rules which drop it, but haven't gotten around to debugging the nft rules, I wrote the scanner instead.


Slim 2 and Maxmind GeoIP2

Hi,
I am trying to integrate Slim2 and MaxMind GeoIP2 database however I am running into issues in a sense that geoip lookups don't work at all and the scipt/API times out. geoip api is set up in a separate folder and installed via composer as instructed @ https://github.com/maxmind/GeoIP2-php .  Slim works fine by itself, geoip2 works fine by itself it's just the integration between the two that gives me headache. Am i running into a bug here ?
Thank you
In the route file I have:
defined('DIRECT') OR exit('No direct script access allowed');
require_once 'geo/vendor/autoload.php';
use GeoIp2\Database\Reader;
use GeoIp2\Exception\AddressNotFoundException;
$app->get("/table/blacklistgeo(/)", function() use($app)
{
$info = array();
    // DB user/password settings
    include_once 'lib/DB.php';

    // count number of matches
    $total = $db->get_count( 'blacklist' );
    if ( $total > 0 )
    {

            $results = $db->get_all( 'blacklist' );

            $country = "UNK";

            $geoIPdb = "/etc/GeoLite2-City.mmdb";
            if (!file_exists($geoIPdb)){
                throw new \Exception("Geo database file does not exist");
            }

            // GeoIP2 database handler
            $reader = new Reader($geoIPdb);

            foreach( $results as $row)
            {
                    $ip      =  inet_ntop($row['sourceip']);
                    $type    =  ip_type($ip);

                    $record = $reader->city($ip);
                    $country = $record->country->isoCode;

                    $info[] = array(
                                     'sourceip'     => $ip,
                                     'type'         => $type,
                                     'country'      => $country
                                   );
            }
            json(200, 0, $info );
    } else {
            $info = array("response" => "table: 0 rows");
            json(200, 1, $info );
    }

});
?>

What is the actual problem in here?

Issue found in the geoIP code. Sorry.


CFP: Ability to inject received BGP routes

Cilium Feature Proposal
Support injecting received BGP routes into the kernel routing table.
Is your proposed feature related to a problem?
When running Cilium in native routing mode with the BGP Control Plane in a multi-zone setup, it is not possible to have same-zone traffic routed over L2 as each node is not aware of each others pod CIDR so it needs to use its default gateway, bottlenecking same-zone traffic.
Kube-router supports this out-of-the-box, but since kube-router only can be used with kubernetes IPAM mode it cannot be rolled to existing clusters (with cluster IPAM) without causing issues.
Describe the feature you'd like
Cilium BGP control plane would inject received routes via BGP.
(Optional) Describe your proposed solution
Extend the existing CiliumBGPPeeringPolicy definition to include a injectReceivedRoutes field that would be disabled by default.
apiVersion: "cilium.io/v2alpha1"
kind: CiliumBGPPeeringPolicy
metadata:
  name: a
spec:
  virtualRouters:
    - localASN: 64516
      exportPodCIDR: true
      injectReceivedRoutes: true # <- this is new
      serviceSelector:
        matchExpressions:
          - { key: somekey, operator: NotIn, values: [ 'never-used-value' ] }
      neighbors:
        - peerAddress: <IP_ADDRESS>/32
          peerASN: 64515

Since the routes received in Cilium don't seem to effect behaviour on each node, then routes injected would be managed by the peering routers policies controlling which routes are advertised down to each node.

If your purpose is just to make nodes reachable, then auto-direct-node-routes.

@YutaroHayakawa all nodes aren't in the same L2 network.

But, then, how BGP works? What kind of route (prefix + nexthop) is expected to be injected in your proposal? Which KubeRouter's option do you want to replace?

With KubeRouter, by default it will install BGP routes into the linux routing table so each node is aware of every other nodes pod CIDR range allowing for L2 networking in the same zone.
For example, if node A has an IP <IP_ADDRESS>/16 and node B has an IP of <IP_ADDRESS>/16 and each pod CIDR is <IP_ADDRESS>/24 and <IP_ADDRESS>/24 respectively, then for node A it would have this route installed via BGP advertisements:
<IP_ADDRESS>/24 via <IP_ADDRESS> dev eth0 proto 17

The main issue right now with Cilium and its BGP control plane is that if you have multiple subnets for your nodes, then it's impossible to have any L2 networking unless you added static routes installed across every node in the cluster. KubeRouter fixes that issue as it installs BGP routes, but unfortunately only works in Kubernetes IPAM mode.

BGP is not a suitable solution for this problem. Even if we advertise the PodCIDRs with BGP among nodes, we still need L2 reachability between nodes to make the advertised routes reachable. For example, when there are NodeA (NodeIP: <IP_ADDRESS>/24, PodCIDR: <IP_ADDRESS>/24) and NodeB (NodeIP: <IP_ADDRESS>/24, PodCIDR: <IP_ADDRESS>/24), NodeA advertises the route like <IP_ADDRESS>/24 via <IP_ADDRESS> and NodeB advertises the route <IP_ADDRESS>/24 via <IP_ADDRESS>. While we can advertise these routes, they are still unreachable because, from NodeA's perspective, <IP_ADDRESS> is not in the same network. NodeA sends the packet to its default gateway, but the default gateway doesn't know how to route traffic to <IP_ADDRESS>/24.
A suitable solution could be

As you said, make auto-direct-node-route work even if part of the nodes in the cluster are not in the same L2 domain.
Use tunnel mode.
Implement a brand-new routing mode that mixes tunnel and direct routing.

Which KubeRouter's option do you want to replace?

You didn't answered to this question. It is still helpful to know what the option is.

I'm not suggesting that Cilium changes how it advertises routes out via BGP, rather that cillium could install routes into the linux routing table for the routes it receives over BGP. That would solve the problem.

Which KubeRouter's option do you want to replace?

KubeRouter does what I describe by default. I'm not looking to replace a KubeRouter feature, more so replicate it installing received BGP routes into the linux routing table.

Ok, but still, in my opinion, we should improve auto-direct-node-routes

Thanks @YutaroHayakawa, that solution would fix our problem and it makes sense re BGP complexities.

Thanks！　Let me close this issue. Please feel free to open another issue for auto-direct-node-routes.


Compose Api Conventions & Individual Action Attributes

This issue is in the context of asp net core web api development.
Is your feature request related to a problem? Please describe.
Api conventions are not applied to any action that also specifies its own [ProducesResponse...] attributes. I understand that documentation states that multiple conventions don't compose, that's another story, but I would like to see individual attributes applied to actions compose with conventions. This would allow us to easily extend our api documentation to include things like response model types that aren't consistent across controllers and actions, and therefore couldn't be included in api conventions.
Describe the solution you'd like
I would like to use conventions to specify broadly common error response types. e.g.
public static class ApiControllerConventions
{
    [ProducesResponseType(typeof(ValidationProblemDetails), StatusCodes.Status400BadRequest)]
    [ProducesResponseType(typeof(ProblemDetails), StatusCodes.Status404NotFound)]
    [ApiConventionNameMatch(ApiConventionNameMatchBehavior.Prefix)]
    public static void Find([ApiConventionNameMatch(ApiConventionNameMatchBehavior.Suffix)] string id)
    { }
}

BUT, I would also like to be able to specify more specific success response types on individual actions. e.g.
public class FoldersController : ApiControllerBase
{
    [HttpGet("{id}")]
    [ProducesResponseType(typeof(FolderDto), StatusCodes.Status200OK)]
    [ApiConventionMethod(typeof(ApiControllerConventions), nameof(ApiControllerConventions.Find))]
    public async Task<IActionResult> FindFolderAsync([FromRoute] string id)
    {
        ...
    }
}

Instead of the composition resulting in all attributes being applied to the action, only the attributes specified directly on the action are included.
Describe alternatives you've considered
The alternative I am currently using is to not use api conventions. This stinks because api conventions really clean up the code.
Additional context
I am especially interested in this because we are using Swagger to document our API.

@DrakeLambert ApiConvention will use the action's returned type for 200 \ 201 status code if it's able to infer it. If your convention and action were changed to look like so:
public static class ApiControllerConventions
{
    [ProducesResponseType(StatusCodes.Status200Ok)]
    [ProducesResponseType(typeof(ValidationProblemDetails), StatusCodes.Status400BadRequest)]
    [ProducesResponseType(typeof(ProblemDetails), StatusCodes.Status404NotFound)]
    [ApiConventionNameMatch(ApiConventionNameMatchBehavior.Prefix)]
    public static void Find([ApiConventionNameMatch(ApiConventionNameMatchBehavior.Suffix)] string id)
    { }
}
...
public class FoldersController : ApiControllerBase
{
    [HttpGet("{id}")]
    [ApiConventionMethod(typeof(ApiControllerConventions), nameof(ApiControllerConventions.Find))]
    public async Task<ActionResult<FolderDto>> FindFolderAsync([FromRoute] string id)
    {
        ...
    }
}

things should just work.
Ideally we want attributes to specifically apply only if you're doing something unconventional and have the conventions work for you in all other cases. The analyzer \ codefixes in the Api.Analyzers package are there to reduce the manual boiler plate work in the event you have an unconventional action to document.

Thanks @pranavkm! This solution worked perfectly. Is this behavior documented?

@DrakeLambert doesn't look like it: https://docs.microsoft.com/en-us/aspnet/core/web-api/advanced/conventions?view=aspnetcore-2.2. I'd be happy to review a PR if you'd like to contribute a doc update.

@pranavkm That was exactly what I was thinking. I'll give it a shot soon.

Closing since there's a resolution to the question.


Add RSS feeds

The baseline low, baseline high, and monthly view would be very nice as RSS feeds too, so that subscribers receive updates in their RSS clients whenever something becomes available or advances through its implementation cycle.

Couple of requests for an RSS feed here: https://mas.to/<EMAIL_ADDRESS>

More interest for this here: https://indieweb.social/@thorgal/113123601302031381

To anyone interested in this: if you have some time on your hands that you'd like to offer to a good cause, and if you know a little bit of eleventy and how RSS feeds work, then your help is more than welcome!
Let me know here and I can help with context and setup.

As a temporary workaround, I used web scraping in my RSS aggregator FreshRSS, producing this workable feed of https://web-platform-dx.github.io/web-features-explorer/recent/:

Screenshot

If you also use FreshRSS, you can import the feed definition using this file: f_155 Baseline Newly Available.opml.xml.txt (remove .txt, GH didn't allow uploading .xml)

opml.xml source
<?xml version="1.0" encoding="UTF-8"?>
<opml xmlns:frss="https://freshrss.org/opml" version="2.0">
  <head>
    <title>FreshRSS</title>
    <dateCreated>Thu, 12 Sep 2024 11:58:22 +0300</dateCreated>
  </head>
  <body>
    <outline text="Baseline Newly Available" type="HTML+XPath" xmlUrl="https://web-platform-dx.github.io/web-features-explorer/recent/" htmlUrl="https://web-platform-dx.github.io/web-features-explorer/recent/" description="RSS feed of Web Features: Baseline Newly Available" frss:xPathItem="//div[contains(@class, 'baseline-low')]" frss:xPathItemTitle="descendant::h2" frss:xPathItemContent="descendant::p" frss:xPathItemUri="descendant::a/@href" frss:xPathItemTimestamp="normalize-space(descendant::div[contains(@class, 'availability')]/text())" frss:xPathItemCategories="descendant::div[contains(@class,'tags')]//span/text()" frss:xPathItemUid="@id"/>
  </body>
</opml>

If your RSS reader supports manual scraping, you can check out these definitions.

I thought the release notes page should have RSS, so I created a PR.

#23

📝 Baseline has no concept of date, so it is a little difficult to handle as RSS.

This is awesome. Thank you so much for working on this. I'll take a look at the PR in a bit.
As for the Baseline newly available and widely available pages, they do have a concept of date:

Newly available means "all browsers that are part of the baseline core browser set" now support this feature. So the date for this is the release date of whichever browser implemented the feature last. For example, the mutually exclusive details element feature got implemented in Firefox recently, when version 130 came out, on 2024-09-03.
Widely available means 30 months after that. So in 30 months from now, the above feature will be considered Baseline Widely Available.

But, let's start with the release notes pages, as it's probably the most useful and go from there.

One more idea posted in #23: having a RSS feed per feature as well. This way you can subscribe to a feature you're interested in and get interesting updates as things move forward.


Uniformly use "sequence_number" for sequence numbers in logging and e…

…xception messages.
This will make searching and analyzing logs easier.
I gladly update the pull request to use a different identifier.

Thanks for the cleanup!


[Question] How can i get CaptureScreenshot image as base64 string

Hi, i am trying to get screenshot as a base64 string format.
chromedp.CaptureScreenshot(&buf),
	); err != nil {
		log.Fatal(err)
	}

	if err := ioutil.WriteFile("google-iphone7.png", buf, 0o644); err != nil {
		log.Fatal(err)
	}

in this example we can save image as png but i want to take base64 string and return it to user or displaying on html as base64. How can i do that?
Thank you :)

Just use the captured byte slice buf, and then do a base64 encode of it.

I'm not able to do a working example at the moment, but basically, it'd look something like this:
var buf []byte
if err := chromedp.Run(ctx, chromedp.CaptureScreenshot(&buf)); err != nil { /* ... */ }
enc := make([]byte, base64.StdEncoding.EncodedLen(len(buf)))
base64.StdEncoding.Encode(enc, buf)
os.Stdout.Write(append(enc, '\n'))

Thank you


Support for Kubernetes v1.27

How to categorize this PR?

/area open-source usability
/kind enhancement
/topology garden seed shoot
What this PR does / why we need it:
Support for Kubernetes v1.27
Which issue(s) this PR fixes:
Part of https://github.com/gardener/gardener/issues/7783
Special notes for your reviewer:

I didn't vendor new k8s.io/* Golang sources yet as we usually do this together with a new sigs.k8s.io/controller-runtime upgrade.
⚠ This PR only contains the Gardener part for supporting 1.27 - there will/must be follow-up PRs for each extension repository where individual support gets added.
Code changes have been tested in the following scenarios:

Create/Delete a new Shoot cluster with 1.27.1
Upgrade an existing Shoot cluster to 1.27.1
Register a 1.27.1 as a Seed cluster

Release note:

Static token kubeconfig is not available for Shoot clusters using Kubernetes version >= 1.27.

KCM `--node-monitor-grace-period` is defaulted to 40s.

Deprecated CLI flag `--pod-eviction-timeout` CLI is removed.

`Kubelet`: removed deprecated flag `--container-runtime`.

/test all

/test pull-gardener-e2e-kind-upgrade

/test pull-gardener-e2e-kind-upgrade

/test all

/test pull-gardener-integration
/test pull-gardener-e2e-kind-upgrade

/assign

No further comments for now. Let's make the tests pass so that we can go ahead.

Is 1.27 version available for envtest, if yes, please update https://github.com/gardener/gardener/blob/74020278eabec42dd107577462844b43b1b857ff/hack/prepare-envtest.sh#L21

From https://storage.googleapis.com/gardener-prow/pr-logs/pull/gardener_gardener/7883/pull-gardener-e2e-kind-upgrade/1656270097435594752/artifacts/gardener-local/gardener-local-control-plane/containers/gardenlet-77b4dffb68-7s2q6_garden_gardenlet-9a75e2c14f6dd40b28716014083e74dccf2052c79507b7d6d774fc1defeafdef.log ,
2023-05-10T12:21:08.77986011Z stderr F panic: failed during bootstrapping: unable to bootstrap client from bootstrap kubeconfig: error discovering kubernetes version: unsupported kubernetes version "v1.27.1"

Maybe we should use v1.26 shoots in the upgrade tests for now and update it in the next release.

/test pull-gardener-unit


[ISSUE] Combat tracker won't advance

Describe the bug
When players are logged in and a combat is active, when you hit the right arrow to advance to the next actor's turn, the tracker briefly advances, then immediately reverts to the first actor in the tracker.
To Reproduce
Steps to reproduce the behavior:

I can only duplicate the problem while other players are logged in.  When I'm logged in alone as GM, I don't see the error.
Put the players in a combat with some NPCs, roll initiative, and begin combat.  For my testing, to keep the actions consistent during using Find the Culprit, I did not use quick combat to start combats.  I selected tokens, right clicked them and added them to combat via the sword and shield icon on the bottom right, then clicked "roll all" on the combat tracker to roll initiative, then hit "begin combat" at the bottom of the tracker.
Advance to the next person in initiative by clicking the right arrow at the bottom of the combat tracker and the tracker will briefly move to the next person before reverting to the first person on the tracker.

Expected behavior
Obviously, I would expect it to advance to the next actor and stay there.
Screenshots
Static screenshots aren't helpful and I don't think I have video capture software installed.
Version Information

Quick Combat: 0.4.9
FoundryVTT: 10.291
System: PF2e 4.10.3 (also tested a different world with D&D5e 2.1.5 with similar results)
Other Modules: Tested alone

Additional context

There is no error in the console.
The bug only happens while other players are logged in.
It happens with only quick combat enabled and the problem goes away when I disable quick combat (with or without my usual mods)
Intuitively to me, it doesn't feel like the culprit should be quick combat, but I tried isolating it to a different cause and couldn't replicate it with quick combat disabled.

this has been fixed, just a note that there is currently an issue with the turn markers doing applying a ton of the animations for the first turn on the first round, with the next rounds being fine


crash when hashmap_create

env: vscode2019+luasrc
the hashmap_create modiy the pointer which point to a global gM，the fuction modify the pointer to point to a memory not init succ, the data point is broken.

What is the type of gM in your initPS call?

What is the type of gM in your initPS call?

Need more info to be able to help you here, please reopen if you can provide!

Need more info to be able to help you here, please reopen if you can provide!


Software Update 2<IP_ADDRESS>

A few changes in this software update:

Diagnostics now displays more user friendly information when values aren't available
Diagnostics now colour codes weather it is relayed or not
Temporarily disable error reporting on diagnostics software to stop issues with sentry
Bumps helium miner to latest GA.

No issues reported from testnet,


Bug in DropdownActions on Click

Bug in DropdownActions on Click
Describe the bug
When using DropdownActions as an action class for a grid, there's a bug. The table grid design displays the grid table in a buggy way, and the dropdown menu does not display properly. Please refer to the GIF image below.
use OpenAdmin\Admin\Grid\Displayers\Actions\DropdownActions;
$grid->setActionClass(DropdownActions::class);

GIF:

SCREENSHOTS:

Proposed Solution

Correct the table layout issue when the DropdownActions button is clicked, and ensure proper display of the dropdown menu for action selection. It should be displayed correctly.

Ensure that the DropdownActions button remains positioned on the right side of the grid table, even when scrolling the table horizontally from left to right or vice versa, like the behavior of the normal action.

System
- Open-admin Version: Latest version
- PHP Version: 8.1.12
- Laravel Version: 10.28.0
- OS: Windows 10
- Browser: Microsoft Edge

any update?


Missing update datasource by UID.

What Grafana API endpoint the library is missing?
There is no update_datasource_by_uid function, only update_datasource, which takes the ID rather than UID. Using the ID is deprecated.
See Update an existing data source Grafana API documentation.
Quick work-around until implemented:
  update_datasource = f"/datasources/uid/{uid}"
  grafana.client.PUT(update_datasource, json=datasource)

Dear Michael,
thanks for your suggestion. It got implemented with #36 and will be part of the next release.
With kind regards,
Andreas.


Initializing interface type with empty initializer results in invalid HLSL code

When you have a interface type IHitInfo and try to empty initialize it directly as IHitInfo hit = {}; or indirectly by storing it in struct PathState and then empty initialize that PathState path = {}, Slang generates an invalid HLSL code dxc errors out.
Ideally Slang compiler would report an error, to make it easier to address.

There's a workaround currently, so it's not currently blocking, but should be tightened up for quality purposes.

Working on this now.


Adding placeholder file so Android doesn't crash on require statement

Fixes #5

great! thank you

@yonahforst No worries, any plans for an update to the NPM version?

hecho! done

Perfect! Thank you sir


Incompatibility with gcc 8

Compilation with gcc 8 fails after commit 483f220. The error is:
  scope-lite.hpp:831:27: error: invalid use of ‘this’ at top level
           scope_noexcept_op(this->exit_function())
                             ^~~~

Thanks @Pesa, hopefully fixed now.

The error is different now (see below) but it still fails :(
Maybe just drop the noexcept altogether for gcc < 9 ?
scope-lite.hpp:832:46: error: there are no arguments to ‘exit_function’ that depend on a template parameter, so a declaration of ‘exit_function’ must be available [-fpermissive]
           scope_noexcept_op( scope_noexcept_op(exit_function()) )
                                                ^~~~~~~~~~~~~
[...]
scope-lite.hpp:832:46: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
           scope_noexcept_op( scope_noexcept_op(exit_function()) )
                                                ^~~~~~~~~~~~~

Works fine now. Tested with gcc 8 through 13 and clang 7 through 18. Thanks a lot for the quick fix!


Set up the docs to be published on gh-pages automatically if tests pass

https://docs.travis-ci.com/user/deployment/pages/

Do this after the move to the central repo.

Not sure this is necessary due to the fact that the docs are built for each push to RubyGems.


Add simple asp-net-core implementation

Add simple asp-net-core implementation

Sorry we don't accept backend code submission


add contentDxOffset

Could you add contentDxOffset for popover?

I need this too please.

@felipecs81 @kasyanyukd1995
Is there anything that's holding you back from implementing it and submitting a pull request?

I'll do it soon)

@minikin  Could help me with merging my PR?


installation problem

Hello,
I want to know how can i install teachable machine v1 in my vps server on my domain name.. do you have any browser based code which can directly be put on my server..? Please guide me for installation ...

isn't this supposed to run in the browser ?


Select 控件在nzOpenChange方法异步更新数据源  列表滚动会出现渲染问题

Reproduction link
https://codesandbox.io/s/ng-zorro-antd-ivy-ltc0m
Steps to reproduce
滚动列表
What is expected?
正常渲染
What is actually happening?
列表项出现空白

Environment
Info

ng-zorro-antd
9.2.1

Browser
Chrome

+1 遇到同样的问题

We are also facing the same issue after upgrading to 9.2.x. Looks like the issue is not reproducible with 9.1.2

+1

Hi @superjulius
you are right, there is an error in #5425, I will fix it soon.


Make data available to the dashboard

So right now events are being written to disk on the instance. The data dashboard needs to get a hold of them somehow, though. I see a few distinct options...
a) Upload the events files to S3 overnight every night, accepting that we just won't have live bus or CR. (lame)
b) Every time we append an events.csv on disk, upload the entire thing to S3. (maybe, but like...no)
c) Serve live events over http that the dashboard can request on-demand.
My hunch is that we want to do (c), with some (a) sprinkled in. It's cool when things are live, and we shouldn't give that up. So rough steps:

In a new process, create an express server that serves up events from ./output.

Maybe add pre-shared key auth, since this is for internal use only?

FAQ
a) Why cannot the dashboard talk to the EC2 instance via its private IP, such that we can keep the EC2 instance off the public internet? That's possible, but it's a pain
b) If the EC2 instance has a public IP address, can the dashboard lambda just talk to that? Yes, it could. But the load balancer option lets us easily add https using the wildcard cert, which, even with no private data involved is good citizenry.

I think there's also another option
d) Upload from disk at a steady interval that is close to live

Oh, yeah, lol—that could work! if you do that, please keep it separate from the MBTA-provided events (maybe use a new key, Events-ours instead of Events inside the bucket?). Also could be handy to keep track of uploaded sha256 hashes so things that aren't changed don't get uploaded again.
Also e) Dynamo?

@hamima-halim @mathcolo I won't have time in the next few weeks to work on this so feel free to grab it. Personally I think s3 upload will be the easiest to work with on the dashboard side

I can take this! PR incoming, will do the extremely chill thing of 30-minute-interval scheduled upload jobs.


Bug in Table formatting since 2.1.3 ?

it looks like, table formatting is broken after installing 2.1.3 instead of 2.1.0.
htmltotext.fromString('

Key	Value

status	edit

'));

results in
KeyValuestatusedit

Ok, i have to use the tables option. The difference between 2.1.0 and 2.1.3 is that the single fields in a table where separated by spaces in 2.1.0 and are now not separated.


vscode command 'PowerShell.RunSelection' not found

hello all,
i'm trying to execute part of script in powershell from vscode, but when i click on F8, or try to run the selection i get the following messages:
command 'PowerShell.RunSelection' not found
Client Windows 10
VSCode 1.43.1

This issue needs to be filed against
https://github.com/powershell/vscode-powershell/issues
Would you mind filing the issue there? (Unfortunately, the issue-transfer tool only works with write access on both repos, which I haven't)


Fix a bunch of concurrency related warnings

Fixed Sendable warnings
Motivation:
Get SPM ready to adopt swift 6 mode
Modifications:
Added Sendable annotations to several clearly Sendable/safe types
Result:
Fewer warnings that will be errors in Swift 6

@swift-ci test


Multiple countries support

all eu, us + ca and others which use the same api

added in newest update


Set correct line numbers for tags inside jade-interpolation

Currently all interpolated tags return with a line number of 1, so I've set the line number for the child elements based on the parent's line number.
Closes https://github.com/jadejs/jade-parser/issues/4

Excellent work, thanks.  I love how line numbers are now included in the tests, makes it so much easier to track changes in this functionality over time.
Would you like to be added as a collaborator on this project, to help review and merge pull requests?

Definitely, I'd be happy to help


Cleanup and optimize inserts

What should be done?
Currently, both PostgreSQL and SQLite backends insert documents one by one: the insert command handler calls Collection.InsertAll with one document. We should pass more documents in one call. The trick is with error handling and ordered inserts: if InsertAll returned an error, we should retry those documents one by one to understand which one caused a problem. We already should have integration tests and benchmarks for that, but it is worth checking them.
Once this is done, we should optimize Collection.InsertAll methods themselves to insert multiple (say, 100) documents with a single INSERT statement.
See references to this issue in the code.
Where?
https://github.com/FerretDB/FerretDB/blob/9475382b5923d1e3745f02903a3ca33e06bc3962/internal/handlers/sqlite/msg_insert.go#L140-L141
https://github.com/FerretDB/FerretDB/blob/9475382b5923d1e3745f02903a3ca33e06bc3962/internal/backends/postgresql/collection.go#L127-L128
https://github.com/FerretDB/FerretDB/blob/9475382b5923d1e3745f02903a3ca33e06bc3962/internal/backends/sqlite/collection.go#L116-L117
Definition of Done

new handler updated;
integration/compatibility tests checked.

Will pick this up.
Thanks

I checked and there is neither benchmark test nor IT exist for testing this method. I was able to find only UTs for this. Can you please let me know if i missed something ?
cc: @AlekSi

https://github.com/FerretDB/FerretDB/blob/d8ac329267a3dd5751d6c124d7c61af9e19ef423/integration/benchmarks_test.go#L133

https://github.com/FerretDB/FerretDB/blob/d8ac329267a3dd5751d6c124d7c61af9e19ef423/integration/benchmarks_test.go#L133

Sorry but i think i am missing something. This method calls insertMany, how it is testing insertAll method ? Might be a naive question but can't help myself.
Thanks,
Prince

InsertMany is a MongoDB driver's method. It, along with other methods like InsertOne, call insert MongoDB command. FerretDB implements this command there. The implementation calls Collection.InsertAll there.

Got it. Thanks

@AlekSi, for inserting documents, do we want this size to be controlled in handler or backend.
For example

handler calls InsertAll with all documents, then each backend inserts say batches of 100.
hanlder creates batches of 100 documents and calls InsertAll, then the backend inserts all of them.

Both (just like the description says)


Update kpt alpha to use porchctl

Restoring https://github.com/nephio-project/docs/pull/110

@electrocucaracha
@efiacor it seems like there is a rebase conflict on this PR, and could you include a porchctl as part of the prerequisites?
Done. I will need to update the porch docs to include an install guide asap. Linked to the release page on gh for now. We also need to do an official release as it is still in pre release state.

/lgtm

/lgtm
/approve


Support custom sqlite builds

This PR lays the foundation for using custom native SQLite builds in place of the version of SQLite bundled with Android and introduces the squidb-sqlite-bindings project.
From the perspective of the public API, very little has changed. The main difference is that any of the hooks in SquidDatabase that returned/used android.database.sqlite.SQLiteDatabase as a parameter now use a new SquiDB interface, SQLiteDatabaseWrapper. If you use/override these hooks (e.g. onUpgrade()) you'll have to update the method signature to use the new interface. The wrapper itself exactly duplicates the public API of Android's SQLiteDatabase, so it should be usable interchangeably. The wrapper allows us to swap in instances of things like org.sqlite.database.sqlite.SQLiteDatabase from the Android SQLite Bindings Project wrapped in an adapter class.
By default, SquidDatabase will still use the version of SQLite that ships with android and the standard SQLite classes in the android.database.sqlite namespace. However, subclasses can override a new method getDatabaseOpenHelper to return a DatabaseOpenHelper that can control binding to a different SQLite binary.
A squidb-sqlite-bindings project has been introduced that provides a standard stock SQLite build and the three small adapter classes to integrate it with SquiDB. It's easiest to see how simple this API is in an example:
public class MyDatabase extends SquidDatabase {
    ...

    @Override
    protected DatabaseOpenHelper getDatabaseOpenHelper(Context context, String databaseName,
            DatabaseOpenHelperDelegate delegate, int version) {
        return new SQLiteBindingsDatabaseOpenHelper(context, databaseName, delegate, version);
}

That's it! By depending on the squidb-sqlite-bindings project and overriding this one method, the SquidDatabase will connect to the latest version of SQLite instead of the stock build shipped with Android.
In future work, we will introduce another small bindings project to facilitate using SQLCipher as an underlying database (#36).

Whoops. I opened this against master instead of dev_2.0.


services instances view, table columns names are in wrong order

Author Name: Edouard Bourguignon (Edouard Bourguignon)
Original Redmine Issue: 5469, https://dev.opennebula.org/issues/5469
Original Date: 2017-10-18

The columns name are :
ID > NAME > OWNER > GROUP > STATE
But the data are in this order :
ID > OWNER > GROUP > NAME > STATE
This is just a minor display bug.

@tinova PR to approve:
-ONE: https://github.com/OpenNebula/one/pull/3807
-Docs: https://github.com/OpenNebula/docs/pull/792


expose more knobs

Regex currently has two constructors, Regex::new and Regex::with_size_limit. The latter is the same as the former, except it allows one to bound the size of the compiled program. The idea is here to control how much memory is used if a regex is compiled from an untrusted source.
There are other knobs that seem useful for exposing to the user:

The recursion limit used in regex-syntax for recursively simplifying a regex. (It'd be nice to move this to a stack on the heap, but it seems tricky.)
The cache size used in the lazy DFA. For regexes that create lots of distinct states, it's possible to realize big gains if you're willing to spend the memory to do it. Currently, it is set to a constant of ~2MB.

There are other knobs that maybe shouldn't be exposed, but could:

Control the budget for extracting literal prefixes.
Control whether the DFA is used. (There exists regexes and inputs where avoiding the lazy DFA is actually faster, but it's probably hard to know when this is without some experience with the internals of this crate.)
Control whether common suffixes are factored out of compiled programs. This could reduce compilation times at the expense of bigger programs.

It's not clear what, if any, of these things should be exposed. I feel like the knobs that control memory bounds should be accessible to callers, because when you need them, you really need them.

I've given this some thought, and this is where I'm currently at:

There should be a struct with no public fields that permits setting various knobs that can be applied to the construction of a Regex. Knobs can be set using methods. This permits expanding the set of the knobs in the future in an API compatible way.
We should probably start with just two knobs: the existing compile size limit and a new knob that controls how much cache the lazy DFA is allowed to use.
This probably means that Regex will continue to need an alternate constructor, much like how Vec or HashMap have alternate constructors. For example, Regex::with_config or something.


[WBIOS 2769] - Adding new analytics event for tutors redirect message.

Adding new analytics event for tutors redirect message

@nick-softwaredev please create release 1.0.10 and change base branch to it for this PR


cumulative_filtering not working as expected on demo page, not filtering previous columns

http://yadcf-showcase.appspot.com/cumulative_filtering.html
If you begin with selecting "Tag 5" in the last column, the first column is not filtered to the only remaining selections (you get all values as selectable)
Is this a one way cumulative? (col1 first, then col2 then col3), or should the cumulative affect all other columns in the process forward and backward?
posted to SO here: https://stackoverflow.com/questions/76111492/yadcf-cumulative-filtering-not-filtering-previous-column

please provide a jsfiddle page with a similar behavior and I will check it out

please provide a jsfiddle page with a similar behavior and I will check it out

https://jsfiddle.net/myc05td2/
Select Tab 2 in the last column and "Some Data 11" is available still in the first column

Found out the reason,
You had an explicit cumulative_filtering: false for the first column, while the global was set to true.
Once I removed that explicit false, the problem was solved
{
	column_number : 0,
	filter_type: "multi_select",
	select_type: 'select2',
	cumulative_filtering: false
},

jsfiddle sample: https://jsfiddle.net/vedmack/2aLntwkf/
Here is the complete code:
var oTable;

$(document).ready(function () {
    'use strict';

    oTable = $('#example').DataTable();

    yadcf.init(oTable,
		[
			{
				column_number : 0,
				filter_type: "multi_select",
				select_type: 'select2'
			},
			{
				column_number: 3,
				filter_type: "auto_complete",
				text_data_delimiter: ","
			},
			{
				column_number : 4,
				filter_type: "multi_select",
				select_type: 'select2',
				column_data_type: "html",
				html_data_type: "text",
				filter_default_label: "Select tag"
			}
		],
		{
			cumulative_filtering: true
		}
	);
});


Interfacing the github Client

Hi,
I'm about to start writing tests for some code that uses the github Client and I realised that the Client isn't interfaced and requires accessing the exported fields directly, which are also not interfaced. This makes it very difficult to mock the Client for testing purposes. I can, and probably will, just mock the http request for the client but that's definitely more work then just mocking out the functions that my tests are using and it also means that I can't take advantage of the parameter verification that testing tools like testify provide.
It would be nice if future iterations moved towards interfacing the client.

I write unit tests against this repo frequently and make a new interface in my client code for just the functions that I want to mock.
We purposefully don't write interfaces on the repo side because then your client code that you are trying to test would need to implement mocks for every method within the interface which would be a huge drag.
So this is working as intended.
Closing.

hello


[ITEM] Trumps Fist Weak?

I was playing a tiny against a lifestealer. I was beating him (with difficulty) with the lvl 2-3 skadi and desolators. After I upgraded to the trumps fists, I was significantly weaker. Couldnot do bosses anymore, Lifestealer just wrecked me and i was overall useless after that. Maybe it is intentional because of the ability but should it make me weaker against a lifestealer. Atleast let me disassemble it.

Trump's Fists is actually considered one of the stronger items against bosses, given that they regenerate a nontrivial amount of health each second. We'll see about it.

We've actually needed to nerf the item.


[Snyk] Upgrade react-spinners from 0.11.0 to 0.13.4

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade react-spinners from 0.11.0 to 0.13.4.

:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 21 versions ahead of your current version.
The recommended version was released 2 months ago, on 2022-07-30.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Codecov Report
Base: 94.02% // Head: 94.02% // No change to project coverage :thumbsup:

Coverage data is based on head (9dcaacf) compared to base (7db429a).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #224   +/-   ##
=========================================
  Coverage     94.02%   94.02%
  Complexity      475      475
=========================================
  Files            96       96
  Lines          1607     1607
  Branches        122      122
=========================================
  Hits           1511     1511
  Misses           56       56
  Partials         40       40

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


⚠ Minecraft has degraded performance

In 0e7126e, Minecraft (https://www.minecraft.net) experienced degraded performance:

HTTP code: 200
Response time: 896 ms

Resolved: Minecraft performance has improved in 781c9b1.


Change default govuk-content-schemas branch

Change the branch from master to deployed-to-production. This will help
prevent changes being merged in to the Finder Frontend app that don't
work with the currently deployed govuk-content-schemas (this changes
comes from GOV.UK RFC 59).

👍


ProcessInfo is empty when invoking carton test

I am trying to figure out how to detect, at runtime, from SwiftWASM, if it's being run from carton test, but ProcessInfo arguments and environment are totally empty. I was hoping to be able to see something like ["carton", "test", "--environment", "node"] and use this.
(I can't rely on arguments passed by the user, since this is library code.)

The CommandLine.arguments (as well ProcessInfo also IIRC) follow the WASI arguments concept, which cannot see the host environment arguments. For example, when you are running a WASI app with wasmtime and run the following command:
$ wasmtime run main.wasm -- --help

The WASI runtime passes only ["main.wasm", "--help"] and don't pass ["wasmtime", "run"] to the guest WASI process. So it's impossible to detect it from given arguments.
That being said, we can consider injecting some environment variables that appear only for testing. Does it help your scenario?

That would definitely help, yup! This is a reliable way to detect XCTest runs from both Linux/Windows SPM and Xcode, so a way of doing the same for WASM would be great.

(Also, just to confirm, is there any other existing way for Swift code to detect if it executing from carton tests? The subject of the issue is just one way I attempted to do so.)

There's no way for now as far as I remember.


Consent

This issue is imported from pivotal - Originaly created at Jan 4, 2021 by Okke Harsta
TODO:  specs

(Okke Harsta - Jan 4, 2021)

Final design (Okke Harsta - Feb 16, 2021)

The goal for now is to support the POC of Student mobility. That means: Get something to show and have a working consent implementation.

There is no restriction for an RP to request a scope
Scopes are registered with the RS
An RS can only introspect tokens if they are in the 'aud' claim
We should be able to enable or disable consent per RP. Default is off
When enabled, we show the picture as shown. The logo is the logo as registered in manage for the RS
For the time being, the SURFconext admin team makes sure that scopes stay unique (however, some visual feedback is appreciated when a scope is added twice in Manage)
(Bart Geesink - Mar 4, 2021)


Update README and userguide for Security-proxy-setup component.

With security-proxy-setup integrated into edgex-go, the document needs to be updated to include the latest changes of command and usage.
This is being worked under #1978.

PR #1978 merged, so close this issue.


ISPN-15916 Certificate reloading

https://issues.redhat.com/browse/ISPN-15916

@tristantarrant This is breaking CI, there's also @wburns comment that needs addressing.

@tristantarrant This is breaking CI, there's also @wburns comment that needs addressing.

The first few runs of this PR in CI were broken because the PolarionJUnitXMLWriter imported a TestNG class, and since I cleaned up the dependencies a bit, this was cause a CNFE.
Now it's hanging in the BackupIT :)

Test failures are unrelated.

Thanks @tristantarrant


Upgrade to lotus v0.10.0

Merging in a tentative way. We cannot run CI due to Lotus node syncing issues so I will not release until then


Doc comment standardization

Pull Request
This work addresses a slew of inconsistencies I've noticed in this projects documentation. These were found while trying to establish a basis to abide to for new doc comments coming soon to resolve #372
Related issue
Partially addresses #372
What does this PR do?

hide client instantiation from example view. It was 50/50 throughout the project so I push the 'hide' strategy. I personally believe it cleans up the method examples, but if you'd like to have it visible everywhere instead I can totally make that change 😄. I just think it would be beneficial to have some consistency here for users. (making the docs more predictable and all)
removed a few ```rust annotations (not the code!!). Per the docs stating rust is the default language.
made assertions visible where possible in the docs. This was 50/50 throughout and I believe that rounding out an example with a print or assert command is a better user experience.
implemented clippy recommendations in every existing doc comment in the project. Not ALL suggestions, but most. Lots of tab corrections, which I think make the comments much nicer to read.
fixed spacing inconsistencies in assert(s). E.g. .len()>0 changed to .len() > 0
bolded Default declarations (a trend I've noticed in other libraries).
did my best to split up paragraphs of text where I believe the intention was for the text to be separated but markdown puts new lines together if they are just one line return apart. Some were using the backtick method, but I changed them all to be double returns.
added a handful of missing references: [Key], [Index], ext
hid additional references making examples more concise
hid certain missed comments and closures that resulted in jarring or inaccurate examples

PR checklist
Please check if your PR fulfills the following requirements:

[X] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
[X] Have you read the contributing guidelines?
[X] Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!
Criticism Welcome
I thought being a little opinionated about this first pass at a general "clean up" could prove fruitful if it sparked discussions about what YOU want to see in this project. I'd be more than happy to make any necessary changes to get this the way you'd like. If you have any questions about decisions I made, please let me know! I'm new to Rust and always trying to understand the dos and don'ts better 😄
Thanks for the feedback!
p.s. I am aware that this PR is everything BUT what the linked ticket is requesting 😅. I call it 'Preliminary work' 😆

bors merge


Is less-vars-to-js needed after all?

I just upgraded to v1.0.6 of next-plugin-andt-less. I manually removed less-vars-to-js from my package.json and re-built on Heroku. The build failed because the build process didn't know how to handle the @ character in .less files. Such as @primary-color: green;.  I was not able to reproduce this with a production build locally. After re-adding less-vars-to-js , the Heroku build succeeds.
My next.config is pretty stripped down as I'm storing my less variables in the Less files themselves:
const withPlugins = require('next-compose-plugins');
const withAntdLess = require('next-plugin-antd-less');

const lessPlugin = withAntdLess({
  cssLoaderOptions: {
    // https://github.com/webpack-contrib/css-loader#object
    sourceMap: true,
  // Other Config Here...
  },
  webpack(config) {
    return config;
  },
});

module.exports = withPlugins([lessPlugin], {
  images: {
    domains: ['...imgDomain...']
  },
  async redirects() {
    return [...myRedirects...];
  },
});

Note, I am importing @import '~antd/lib/style/themes/default.less'; in my global.less file:
@import '~antd/lib/style/themes/default.less';
@import '~antd/dist/antd.less';

@primary-color: #ff0000;
...

hey, @nring, In my project I delete less-vars-to-js is ok, can you do a test to help me make sure? I actually haven't developed with nextjs for a long time, so I don't have a project to test.

Apologies! My storybook configuration still depended on less-vars-to-js, my mistake. Removing that configuration or re-adding less-vars-to-js makes the build on Heroku succeed again.


Research

setting up this https://github.com/wynddao/wynddex/pull/15

Can you please add some description here?


Trying to run_training_pipeline.py, got RuntimeError: No CUDA GPUs are available

After creating my own pipeline as described in README, I've got
python run_training_pipeline.py fine_ex
...
Traceback (most recent call last):
File "/home/joe/tmp/IMS-Toucan/run_training_pipeline.py", line 71, in
pipeline_dict[args.pipeline](gpu_id=args.gpu_id,
File "/home/joe/tmp/IMS-Toucan/TrainingInterfaces/TrainingPipelines/finetuning_example.py", line 52, in run
russian_datasets.append(prepare_fastspeech_corpus(transcript_dict=build_path_to_transcript_dict_putin01(),
File "/home/joe/tmp/IMS-Toucan/Utility/corpus_preparation.py", line 40, in prepare_fastspeech_corpus
aligner_datapoints = AlignerDataset(transcript_dict, cache_dir=corpus_dir, lang=lang, phone_input=phone_input, device=torch.device("cuda"))
File "/home/joe/tmp/IMS-Toucan/TrainingInterfaces/Text_to_Spectrogram/AutoAligner/AlignerDataset.py", line 96, in init
speaker_embedding_func_ecapa = EncoderClassifier.from_hparams(source="speechbrain/spkrec-ecapa-voxceleb",
File "/home/joe/tmp/env/lib/python3.10/site-packages/speechbrain/pretrained/interfaces.py", line 374, in from_hparams
return cls(hparams["modules"], hparams, **kwargs)
File "/home/joe/tmp/env/lib/python3.10/site-packages/speechbrain/pretrained/interfaces.py", line 786, in init
super().init(*args, **kwargs)
File "/home/joe/tmp/env/lib/python3.10/site-packages/speechbrain/pretrained/interfaces.py", line 187, in init
module.to(self.device)
File "/home/joe/tmp/env/lib/python3.10/site-packages/torch/nn/modules/module.py", line 989, in to
return self._apply(convert)
File "/home/joe/tmp/env/lib/python3.10/site-packages/torch/nn/modules/module.py", line 641, in _apply
module._apply(fn)
File "/home/joe/tmp/env/lib/python3.10/site-packages/torch/nn/modules/module.py", line 688, in _apply
self._buffers[key] = fn(buf)
File "/home/joe/tmp/env/lib/python3.10/site-packages/torch/nn/modules/module.py", line 987, in convert
return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking)
File "/home/joe/tmp/env/lib/python3.10/site-packages/torch/cuda/init.py", line 229, in _lazy_init
torch._C._cuda_init()
RuntimeError: No CUDA GPUs are available
It's kind of strange, because in the same environment I have

import torch
torch.cuda.device_count()
1
torch.cuda.is_available()
True
torch.cuda.get_device_name()
'NVIDIA GeForce RTX 3060 Laptop GPU'

Could you tell me please, what is a possible problem here?

@Hardog4 did you try to reinstall nvidia drivers and Pytorch with cuda support ? Have a look at this it could help you https://stackoverflow.com/a/62361395/6351897

did you add the --gpu_id 0 to your start command?
The GPU has to be set explicitly, even if it's the only one available. If no GPU is specified, all GPUs will be made invisible to prevent processes accidentially running on the wrong GPUs on multi-GPU servers.

did you add the --gpu_id 0 to your start command?
The GPU has to be set explicitly, even if it's the only one available. If no GPU is specified, all GPUs will be made invisible to prevent processes accidentially running on the wrong GPUs on multi-GPU servers.

It helped,  thank you!


Mention 'gem install' needs a sudo. (at least it did on my Linux laptop)

Thank you for your contribution! Twitter has decided to stop supporting scala-bootstrapper as an open source project. Sorry that your pull requests was not reviewed earlier.
We're now formally archiving this project but please feel free to fork and resurrect.


backport: fix tstamp explanation

Same as music-encoding/music-encoding/pull/1552

Thank you.
Backporting this fix would require a new release for v4 and v5, otherwise there would be inconsistencies at least with the v5 PDF.
Fixing this in dev (=5.1) in the main repo should be sufficient.

I agree, I don't think fixing this small typo justifies a new release on Zenodo. However, why shouldn't this be fixed online anyway?


Update mtus-and-throughput.md - Compute Credit details

Proposed changes
Customers often ask questions regarding what counts as a compute credit and this information did not already exist in the documentation.
Merge timing

ASAP once approved?

Per Esteban's response on this KCS JIRA this PR is not needed.

this breakdown of credits corresponds to the old pricing model. The new pricing does not have the concept of credits any more. The new pricing model is the one shown in the RunBook.


[PE-D][Tester D] Relocation of the trip after mark command

After I mark a trip, it gets shifted directly down to the bottom, I understand it to be because the list is being sorted but it can be quite unnerving for the user? This may or may not be a bug, just that it would be nice if it stays at the original position rather than shifting it down to the bottom especially since this behavior is not stated under the mark command.

Labels: type.FeatureFlaw severity.Medium
original: seanflyyy/ped#4

Behaviour has been explained.


Update README.md

Thanks for submitting this.  Changes to this repo (even trivial ones) have to go through cr.joyent.us (see CONTRIBUTING.md).  I went ahead and put that together under #68.  Thanks.


Error when migration using "char" type

Laravel Version: 5.7.10
PHP Version: 7.1.17-1+ubuntu16.04.1+deb.sury.org+1
Database Driver & Version: MySQL Ver 14.14 Distrib 5.7.17, for Linux

Description:
Got error when tried create migration script, creating new table using char column type
Steps To Reproduce:

Create or modify any new table
In this new table, try create new column using "char" type.

example code:
        Schema::table('foo', function (Blueprint $table) {
            $table->char('currency', 3)->change();
        });

Execute the migration with command php artisan  migrate and i got error with message
In DBALException.php line 267:

  Unknown column type "char" requested. Any Doctrine type that you use has to be registered with \Doctrine\DBAL\Types\Type::addType(). You can get a list of all the known types with \Doctrine\DBAL\Types\Type::getTypesMap(). If this error occurs during database i
  ntrospection then you might have forgotten to register all database types for a Doctrine Type. Use AbstractPlatform#registerDoctrineTypeMapping() or have your custom types implement Type#getMappedDatabaseTypes(). If the type name is empty you might have a prob
  lem with the cache or forgot some mapping information.

Have you tried to do what the error description says?
Did you tried to add a char column with your database manager?

Have you tried to do what the error description says?
Did you tried to add a char column with your database manager?

@jmarcher Not yet, i was under impression this work out of the box with Laravel framewok.

It does, but only if your database engine configured is properly.

Don't add ->change() to new columns:
Schema::table('foo', function (Blueprint $table) {
    $table->char('currency', 3);
});

I don't think this related with database engine. CMIIW.
My database engine is innoDB, and when i create or alter the column manually using query to char(3). It work fine.
If i look at \Doctrine\DBAL\Types\Type::getTypesMap() source code, there is no char type. So i'm thinking if char is probably Laravel/Eloquen custom type that will be mapped into Docrine DBAL types. And this config probably missed somewhere in Laravel globally or only in my codebase.

Don't add ->change() to new columns:

@staudenmeir my example code is when i'm altering an existing column. So i think ->change() is needed? 🤔
Anyway, i think ->change() is not related with the error?

You wrote that you were adding a new column to an existing table.
It's not possible to change an existing column to char. From the documentation:

Only the following column types can be "changed": bigInteger, binary, boolean, date, dateTime, dateTimeTz, decimal, integer, json, longText, mediumText, smallInteger, string, text, time, unsignedBigInteger, unsignedInteger and unsignedSmallInteger.

See also #9636.

use Doctrine\DBAL\Types\StringType; use Doctrine\DBAL\Types\Type;
public function up() {
if (!Type::hasType('char')) {
Type::addType('char', StringType::class);
}
Schema::table('tablename', function (Blueprint $table) {
    $table->char('field', 1)->nullable()->change();
});

}

Why isn't this fixed yet in Laravel 8? Thanks for the answer works like a charm!

Because you didn't fixed it
Juha Vehnia @.***> schrieb am So., 6. März 2022, 02:16:

Why isn't this fixed yet in Laravel 8? Thanks for the answer works like a
charm!
—
Reply to this email directly, view it on GitHub
https://github.com/laravel/framework/issues/27518#issuecomment-1059897296,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFHV635GDCH6D3TA7XOCP3U6Q5PRANCNFSM4GXC4LXA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>


initial windows ci setup

Picking up the work done on #557 with a new PR. Seeing if I can get this working.

This is really exciting! Thanks so much for looking into this.
I'm interested in moving CI for this repo over to GitHub Actions, so I'd be fine with you getting this to work as an Action rather than through Travis. If you can get it working in Travis though I'll happily land that and figure out how to convert that to GitHub Actions later on.

Ok, so it's been a while but I think I'm making progress. The good news: I have come up with a configuration change for running the tests on Windows on GitHub Actions.  I think this is due to Windows file IO and sqlite in a lot of cases, so I'm working through it. I will eventually clean up this PR.


Make BoVW extractor rotation invariant

[x] Use the Upright flag in BagOfFeatures class as a parameter to create BoVW.

[ ] Recompute the SURF features with Uright flag set to 0.

ocabulary for image training data store # 1 out of 5
Creating Bag-Of-Features.

Image category 1: BuiltUp

Image category 2: Mixed

Image category 3: NonBuiltUp

Image category 4: Slum

Selecting feature point locations using the Detector method.

Extracting SURF features from the selected feature point locations.
** detectSURFFeatures is used to detect key points for feature extraction.

Extracting features from 1974 images...done. Extracted 1704412 features.

Keeping 70 percent of the strongest features from each category.

Balancing the number of features across all image categories to improve clustering.
** Image category 4 has the least number of strongest features: 41049.
** Using the strongest 41049 features from each of the other image categories.

Using K-Means clustering to create a 250 word visual vocabulary.

Number of features          : 164196

Number of clusters (K)      : 250

Initializing cluster centers...100.00%.

Clustering...completed 32/100 iterations (~0.83 seconds/iteration)...converged in 32 iterations.

Finished creating Bag-Of-Features

Encoding images using Bag-Of-Features.

Image category 1: BuiltUp
Image category 2: Mixed
Image category 3: NonBuiltUp
Image category 4: Slum
Encoding 1974 images...done.
Elapsed time is 462.176249 seconds.

Creating Visual Vocabulary for image training data store # 2 out of 5
Creating Bag-Of-Features.

Image category 1: BuiltUp

Image category 2: Mixed

Image category 3: NonBuiltUp

Image category 4: Slum

Selecting feature point locations using the Detector method.

Extracting SURF features from the selected feature point locations.
** detectSURFFeatures is used to detect key points for feature extraction.

Extracting features from 3098 images...done. Extracted 1641367 features.

Keeping 70 percent of the strongest features from each category.

Balancing the number of features across all image categories to improve clustering.
** Image category 4 has the least number of strongest features: 45881.
** Using the strongest 45881 features from each of the other image categories.

Using K-Means clustering to create a 125 word visual vocabulary.

Number of features          : 183524

Number of clusters (K)      : 125

Initializing cluster centers...100.00%.

Clustering...completed 21/100 iterations (~0.81 seconds/iteration)...converged in 21 iterations.

Finished creating Bag-Of-Features

Encoding images using Bag-Of-Features.

Image category 1: BuiltUp
Image category 2: Mixed
Image category 3: NonBuiltUp
Image category 4: Slum
Encoding 3098 images...done.
Elapsed time is 506.558481 seconds.

Creating Visual Vocabulary for image training data store # 3 out of 5
Creating Bag-Of-Features.

Image category 1: BuiltUp

Image category 2: Mixed

Image category 3: NonBuiltUp

Image category 4: Slum

Selecting feature point locations using the Detector method.

Extracting SURF features from the selected feature point locations.
** detectSURFFeatures is used to detect key points for feature extraction.

Extracting features from 5585 images...done. Extracted 1559813 features.

Keeping 70 percent of the strongest features from each category.

Balancing the number of features across all image categories to improve clustering.
** Image category 2 has the least number of strongest features: 41427.
** Using the strongest 41427 features from each of the other image categories.

Using K-Means clustering to create a 84 word visual vocabulary.

Number of features          : 165708

Number of clusters (K)      : 84

Initializing cluster centers...100.00%.

Clustering...completed 18/100 iterations (~0.68 seconds/iteration)...converged in 18 iterations.

Finished creating Bag-Of-Features

Encoding images using Bag-Of-Features.

Image category 1: BuiltUp
Image category 2: Mixed
Image category 3: NonBuiltUp
Image category 4: Slum
Encoding 5585 images...done.
Elapsed time is 649.923009 seconds.

Creating Visual Vocabulary for image training data store # 4 out of 5
Creating Bag-Of-Features.

Image category 1: BuiltUp

Image category 2: Mixed

Image category 3: NonBuiltUp

Image category 4: Slum

Selecting feature point locations using the Detector method.

Extracting SURF features from the selected feature point locations.
** detectSURFFeatures is used to detect key points for feature extraction.

Extracting features from 12662 images...done. Extracted 1374853 features.

Keeping 70 percent of the strongest features from each category.

Balancing the number of features across all image categories to improve clustering.
** Image category 2 has the least number of strongest features: 22674.
** Using the strongest 22674 features from each of the other image categories.

Using K-Means clustering to create a 63 word visual vocabulary.

Number of features          : 90696

Number of clusters (K)      : 63

Initializing cluster centers...100.00%.

Clustering...completed 30/100 iterations (~0.40 seconds/iteration)...converged in 30 iterations.

Finished creating Bag-Of-Features

Encoding images using Bag-Of-Features.

Image category 1: BuiltUp
Image category 2: Mixed
Image category 3: NonBuiltUp
Image category 4: Slum
Encoding 12662 images...done.
Elapsed time is 926.951382 seconds.


Add a feature to change difficulty of falabracman activity

fixed #695
added three buttons in setting screen for slecting easy, medium and hard difficulty
updated locale.ini
updated tutorial.js
difficulty is also stored in journal
improved responsiveness of setting screen

alternative: instead of the buttons in setting screen a toolbar can have a palette for selecting difficulty

Looks good . Just one thing , the current difficult can be highlighted. For example after setting difficulty as medium and play game and then again come back to set difficulty then one should see medium as highlighted . This will help user to compare difficulty levels .

Yep, you are right. I'll add that

Not an issue.


[modify] uploader views and crumbs

Coverage decreased (-15.06%) to 69.346% when pulling da2cee622aa02fb460b351e084cc788757c70b1e on itowtips:fix-uploader into af0fbc6eff82cafd5e4a726ae4d494ea0bd45734 on shirasagi:master.


update path for careers pages

@pennyandrews this fixes the failing test in cypress where the job pages were going to a 404 page