Just answer and that's all

https://github.com/rauenzi/BetterDiscordApp/blob/master/js/main.js
https://github.com/rauenzi/BetterDiscordApp/blob/master/js/main.min.js
https://github.com/rauenzi/BetterDiscordApp/blob/master/src/modules/v2.js
why the token is used?

Token is not used, that adds protections against potential malicious plugins that was to access your token.
You can see here https://github.com/rauenzi/BetterDiscordApp/blob/master/src/modules/v2.js#L23 that it causes calls to getToken to return undefined instead of the user's actual token.


Please invite me to the GitHub Community Organization

Name
Bereket Godebo
Discord Username (if applicable)
bereketg#4430
Additional Context
I was invited by VasudevJaiswal. I would like to learn to collaborate on GitHub. Problem solving is my thing and want to help out.

You have received an email to join, or press this link - https://github.com/JaidevStudio - , and you'll see a banner, for you to join the organisation! 🎉
You can also show that you are part of this org, by making yourself public. This will show our profile org on your profile:
Follow This:

After you join the organisation, search your name in the list of people. 🔍
Follow this below: ⬇

🎉🎊Welcome to Jaidev Studio🎉🎊!!

Why not contribute to...
Unique-Github-Profiles!

If you need anything- help or support - please reopen this issue. Thank you.


Replace Flow-Parser with Babylon

Hi,
I'm not sure if you're interested in this, already planning on it, or have already decided not to implement.
Now that Babylon can produce an ESTree-compliant AST, its output could be used in place of the current OCaml parser. This might reduce redundant efforts (eg; in fixing parser edge-cases) and make it easier for Flow to add new ES7 features in the future.
Performance might be worse (FFI overhead, JS speed, serialization, etc), and there might be advantages to parsing within OCaml that I'm not aware of.
Is this something the team is interested in?

Performance is extremely important and I think that the cost of a parser running in JS would be unacceptable.
Plus, it would complicate the install process for end users. Most people using Flow probably have node installed, but we would have to make sure, and we would also have to worry about node versioning issues.

Makes sense! Thanks @nmote !


devops-iac-eks-policy.json role question

Regarding devops-iac-eks-policy.json, our customer is asking what are the following two roles used for and can they be omitted:
iam:CreateOpenIDConnectProvider
iam:CreateDBInstance

The customer commented that they need some information / documentation regarding the purpose of the required roles so that they can submit for approval to use them temporarily assuming they cannot be omitted.  Appreciate any insights that can be provided.  Thanks.

Repeating the answer provided elsewhere for background information.
For the two policies listed, iam:CreateOpenIDConnectProvider is the only one I found in the referenced json file.
The IaC AWS terraform source uses two modules, aws_autoscaling and aws_ebs_csi. Both of them reference the iam_assumable_role_with_oidc terraform module to create roles which are needed to grant permissions via service accounts in the K8S cluster.
The iam_assumable_role_with_oidc module requires the oidc provider as an input argument in order to be able to create the assumable roles.
The OIDConnectProvider resource is created by the EKS module which can be seen when IaC for AWS runs the plan or apply phases
module.eks.aws_iam_openid_connect_provider.oidc_provider[0] will be created

resource "aws_iam_openid_connect_provider" "oidc_provider" {

For iam:CreateOpenIDConnectProvider, I'd expect that omitting that policy would cause the step above to fail without the necessary permissions and would result in a plan or apply failure.


[bug] incorrect node count with grafana agent

Describe the bug
Then metric up{job="node-exporter"} does not exist with Grafana agent, and so the total number of nodes is reported as 0.

How to reproduce?

Use Grafana Agent
Load dashboard

Expected behavior
Should show the total number of nodes (5 in this case).
Additional context
No response

:tada: This issue has been resolved in version 1.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Add the --simplebuiltin compiler option

This option forces the compiler to use a minimal builtin package instead of the real package. This is intended for debugging purposes only.

windows and linux pass, there is a long backlog for osx on travis. we just merge.


Can I use sub_filter in proxy host advanced config?

Checklist

[x] Please read the setup instructions
[x] Please read the FAQ

What is troubling you?
I'm trying to specify a sub_filter directive for a location within a proxy host, but it doesn't seem to work. By the nginx documentation, it seems the module must be enabled separately during Nginx build: is it enabled in your build?

Looks like I already ha

Same question!


CI: Tests upgrade and downgrade from a Cilium stable image to master

When running k8s CI tests locally with ginkgo, first having started the the k8s VMs with test/vagrant-local-start.sh:
K8sUpdates
  Tests upgrade and downgrade from a Cilium stable image to master
  /Users/jarno/go/src/github.com/cilium/cilium/test/ginkgo-ext/scopes.go:430
STEP: Deleting Cilium, CoreDNS, and etcd-operator...
STEP: Waiting for pods to be terminated..
=== Test Finished at 2020-02-27T12:22:57-08:00====
===================== TEST FAILED =====================
...
• Failure [281.629 seconds]
K8sUpdates
/Users/jarno/go/src/github.com/cilium/cilium/test/ginkgo-ext/scopes.go:395
  Tests upgrade and downgrade from a Cilium stable image to master [It]
  /Users/jarno/go/src/github.com/cilium/cilium/test/ginkgo-ext/scopes.go:430

  Unable to install helm repository
  Expected command: helm repo add cilium https://helm.cilium.io
  To succeed, but it failed:
  Exitcode: 1
  Stdout:

  Stderr:
   	 Error: Couldn't load repositories file (/home/vagrant/.helm/repository/repositories.yaml).
  	 You might need to run `helm init` (or `helm init --client-only` if tiller is already installed)

Also:
$ git grep HELM_VERSION
test/provision/k8s_install.sh:export HELM_VERSION="2.14.2"

This is confusing as Documentation now expects helm 3:
Documentation/gettingstarted/k8s-install-download-release.rst:`Install Helm`_ version 3.0.0 or higher to prepare generating the deployment

This was from a local CI, so no packaged artifacts.

Logging on to the VM:
vagrant@k8s1:~$ helm version
Client: &version.Version{SemVer:"v2.14.2", GitCommit:"a8b13cc5ab6a7dbef0a58f5061bcc7c0c61598e7", GitTreeState:"clean"}
Error: could not find tiller
vagrant@k8s1:~$ helm repo add cilium https://helm.cilium.io
Error: Couldn't load repositories file (/home/vagrant/.helm/repository/repositories.yaml).
You might need to run `helm init` (or `helm init --client-only` if tiller is already installed)
vagrant@k8s1:~$ helm init
Creating /home/vagrant/.helm
Creating /home/vagrant/.helm/repository
Creating /home/vagrant/.helm/repository/cache
Creating /home/vagrant/.helm/repository/local
Creating /home/vagrant/.helm/plugins
Creating /home/vagrant/.helm/starters
Creating /home/vagrant/.helm/cache/archive
Creating /home/vagrant/.helm/repository/repositories.yaml
Adding stable repo with URL: https://kubernetes-charts.storage.googleapis.com
Adding local repo with URL: http://<IP_ADDRESS>:8879/charts
$HELM_HOME has been configured at /home/vagrant/.helm.
Error: error installing: the server could not find the requested resource
vagrant@k8s1:~$ helm repo add cilium https://helm.cilium.io
"cilium" has been added to your repositories
vagrant@k8s1:~$

So it looks like running helm init as part of the VM provisioning would help?

It's easy enough to add helm init (without tiller) to the provisioning steps:
diff --git a/test/provision/k8s_install.sh b/test/provision/k8s_install.sh
index<PHONE_NUMBER>..2ec428efe3 100755
--- a/test/provision/k8s_install.sh
+++ b/test/provision/k8s_install.sh
@@ -48,6 +48,7 @@ if [[ ! $(helm version | grep ${HELM_VERSION}) ]]; then
   tar xzvf helm-v${HELM_VERSION}-linux-amd64.tar.gz
   mv linux-amd64/helm /usr/local/bin/
 fi
+su - vagrant -c 'helm init --client-only'

 # Install serial ttyS0 server
 cat <<EOF ><EMAIL_ADDRESS>
But then the tiller would be needed for helm install:
• Failure [411.833 seconds]
K8sUpdates
/Users/jarno/go/src/github.com/cilium/cilium/test/ginkgo-ext/scopes.go:395
  Tests upgrade and downgrade from a Cilium stable image to master [It]
  /Users/jarno/go/src/github.com/cilium/cilium/test/ginkgo-ext/scopes.go:430

  Cilium clean state "1.7-dev" was not able to be deployed
  Expected command: helm install cilium cilium/cilium --version=1.7-dev --namespace=kube-system  --set operator.enabled=false   --set global.pprof.enabled=true  --set global.bpf.preallocateMaps=true  --set global.k8s.requireIPv4PodCIDR=true  --set global.ipv6.enabled=true  --set global.ipv4.enabled=true  --set global.cleanState=true  --set global.registry=docker.io/cilium  --set global.debug.enabled=true  --set global.logSystemLoad=true  --set global.etcd.leaseTTL=30s  --set managed-etcd.registry=docker.io/cilium  --set agent.sleepAfterInit=true  --set operator.image=operator  --set global.tag=v1.7  --set agent.image=cilium
  To succeed, but it failed:
  Exitcode: 1
  Stdout:

  Stderr:
   	 Error: could not find tiller

Installing without tiller as helm init on k8s1 fails otherwise:
vagrant@k8s1:~$ helm init
$HELM_HOME has been configured at /home/vagrant/.helm.
Error: error installing: the server could not find the requested resource

@jrajahalme the helm being executed for the upgrade tests is the one that is installed in your laptop, not in the VMs. I don't even know why helm is being installed in test/provision/k8s_install.sh


Unable to get Socially app working on iOS and Android simulators - stuck on Loading...

I downloaded the following Socially tutorials on August 4th, 2016.
meteor-angular2.0-socially-step_18
meteor-angular2.0-socially-step_21
meteor-angular2.0-socially-step_22
All the web views work fine when launching with

meteor

However when launching the iOS or Android simulators, it appears to get stuck on the "Loading ..." screen. See attached screen shots.

meteor run ios
meteor run android

I'm running this locally on my Mac.  I've cleared out all my simulation data, rebooted my machine etc., updated all components to latest versions, etc.., but nothing seems to work.

the tutorial was updated and deployed.
Please open another issue if it doesn't work for you


Use shallow copy of context object for DVS RPC

The RPC call for bind_port modifies the context object
to pass the port group name. A shallow copy of the context
object should be used instead, so that the original context
object isn't modified.
This closes #189
Signed-off-by: Thomas Bachman<EMAIL_ADDRESS>

Provided update, addressing reviewer comments.


Job logs area is so wide

Hi, logs area is so wide and spills out. Maybe it can be in scrolling area. Please can you fix it?

I'll take a look at adding a container for this!

Thanks for the report @ibalat - this is fixed in main and I'll create a release for it soon.
If you'd like to test before that release is out, set the image tag to sha-bcee26b to grab the latest build from main, which also contains some performance enhancements.

Thank yo so much. I'll test it and wait the release 🎉


Refer to SPARQL Update

The spec says it's based on LDP, and LDP prefers LD-PATCH and that document lists a number of alternatives, namely Sparql UPDATE, SparqlPatch, TurtlePatch, and RDF Patch. @kjetilk also proposed RDF-merge in #120.
However, https://github.com/solid/solid-spec/blob/master/api-rest.md#alternative-using-sparql-1 quotes an example that has 'DELETE DATA' and 'INSERT DATA', and it looks like that's Sparql Update. So should we explicitly say that:

Although Solid servers need to support LDP basic containers, they don't need to support LD-PATCH
Solid servers do need to support https://www.w3.org/TR/sparql11-update/

Node-Solid-Server also implements n3-patch which seems to be different from RDF patch, and relies on http://www.w3.org/ns/solid/terms#inserts, http://www.w3.org/ns/solid/terms#deletes, and http://www.w3.org/ns/solid/terms#where which seems pretty custom and undocumented?

SPARQL 1.1 Update is a major requirement on servers. As a SPARQL fan, I'd love to say yes, but it also puts some stress on the WAC implementation. So, I'm not sure we could do it.

I'm not sure we could do it.

So indeed it wasn't easy, but I managed to do it in wac-ldp, now using three different RDF libraries (rdf-ext for the basics, comunica for sparql GET queries, and rdflib.js for sparql-update).

The discussion should now continue in the new issue autolinked above. :-)


Disabling Refreshing state for tabs

@ihadeed you should consider disabling this log messages.

Commenting lines 332, 336, 345 and 373 solved the issue.

Sorry I forgot to take them out


S4 | Create a /processes route

Story

As an API, I should have a way to see process status
So that I can debug them

Acceptance Criteria

a image-api/routes/process.js file that exports an express router
Has a /processes get route that for now, only res.json([{id: 1, status: 'pending'}])

@nasklar

#69 done


Azure oAuth leading to 431 REQUEST_HEADER_FIELDS_TOO_LARGE in NextJS on Vercel

Bug report

[ ] I confirm this is a bug with Supabase, not with my own application.
[x] I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug
I've been putting together an application which uses Azure oAuth for the past week or so. Everything has been running smoothly, but I recently began receiving 431 REQUEST_HEADER_FIELDS_TOO_LARGE errors. Removing some scopes was working for a while, but at this point, even minimal scopes hits this issue. Ideally I'm trying to request my dynamics environment + offline_access scope to get a refresh token.
I haven't 1000% been able to rule out user error here, but everything I can tell matches up with what's in the docs. I've seen some similar issues from others, mainly using Svelte, and those recommended using the chunk helped functions, but theres no documentation on those.
For reference, I'm using the following while signing in:
export async function signInWithAzure() {
  const supabase = createClient();

  const { data } = await supabase.auth.signInWithOAuth({
    provider: "azure",
    options: {
      scopes: `${process.env.DATAVERSE_BASE_URL}.default offline_access`,
      redirectTo: `${process.env.BASE_URL_FOR_REDIRECT}/auth/callback`,
    },
  });

  if (data.url) {
    redirect(data.url);
  }
}

and the following middleware
import { createServerClient } from "@supabase/ssr";
import { NextResponse, type NextRequest } from "next/server";

export async function updateSession(request: NextRequest) {
  let supabaseResponse = NextResponse.next({
    request,
  });

  const supabase = createServerClient(
    process.env.NEXT_PUBLIC_SUPABASE_URL!,
    process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!,
    {
      cookies: {
        getAll() {
          return request.cookies.getAll();
        },
        setAll(cookiesToSet) {
          cookiesToSet.forEach(({ name, value, options }) =>
            request.cookies.set(name, value)
          );
          supabaseResponse = NextResponse.next({
            request,
          });
          cookiesToSet.forEach(({ name, value, options }) =>
            supabaseResponse.cookies.set(name, value, options)
          );
        },
      },
    }
  );

  // IMPORTANT: Avoid writing any logic between createServerClient and
  // supabase.auth.getUser(). A simple mistake could make it very hard to debug
  // issues with users being randomly logged out.

  const {
    data: { user },
  } = await supabase.auth.getUser();

  if (
    !user &&
    !request.nextUrl.pathname.startsWith("/login") &&
    !request.nextUrl.pathname.startsWith("/auth")
  ) {
    // no user, potentially respond by redirecting the user to the login page
    const url = request.nextUrl.clone();
    url.pathname = "/login";
    return NextResponse.redirect(url);
  }

  // IMPORTANT: You *must* return the supabaseResponse object as it is. If you're
  // creating a new response object with NextResponse.next() make sure to:
  // 1. Pass the request in it, like so:
  //    const myNewResponse = NextResponse.next({ request })
  // 2. Copy over the cookies, like so:
  //    myNewResponse.cookies.setAll(supabaseResponse.cookies.getAll())
  // 3. Change the myNewResponse object to fit your needs, but avoid changing
  //    the cookies!
  // 4. Finally:
  //    return myNewResponse
  // If this is not done, you may be causing the browser and server to go out
  // of sync and terminate the user's session prematurely!

  return supabaseResponse;
}

It's quite odd that this seems to be getting worse over time. I had no issues for the past week+, began having issues in my production deployment but only with all scopes, and now can't access anything in the prod deployment or my local, even with minimal scopes.
Hoping this isn't basic user error, but If it is, I'm not seeing where!
Any help greatly appreciated!
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:

Create a supabase application
Follow the docs for setting up an oauth app with azure
Add user_impersonation to your app registration API permissions in azure
authenticate with the scopes mentioned aboce
Run it for a while? 🤷♂

Expected behavior
Supabase Azure oauth does not lead to 431 REQUEST_HEADER_FIELDS_TOO_LARGE.
Screenshots

System information

OS: MacOS
Browser (if applies): Any
Version of supabase-js: 2.45.5
Version of Node.js: 20.11.1 (Vercel), running 20.9.0 on my local

Additional context
Think that covers it!

I have had this happen locally when I had multiple supabase sessions in cookies causing the header to be too large, or when I parsed an error message in the header which caused it too become too long. Hope that helps..

This has been happening to me for about the past 3 weeks as well. Can't get logs from Vercel as it doesn't execute my middleware and can't get a stable reproduction. Only happens for some users, but it's persistent.

This had happened to me, I had to manually remove the user from the authentication tab in Supabase, and when they reauthenticated again everything was fine.
For some reason there was more auth-tokens being sent from my supabase than there should of been, which made the header too large. Not sure what causes it (as this error also occured for me after a while of it just working fine) but its at least a temporary fix for now if it happens again.


feature: boots

characters should be able to use boots, magical or not, to cloth their feet

[ ] boots as item
[ ] wearing and taking off boots
[ ] ui for boots wearing
[ ] flying as movement mode
[ ] boots of flying

Boots will have damage reduction, just like armour. Unlike armour, the damage reduction is only applied for damage done to legs (caltrops, mines, underground enemies). They will also slow down player.


New Version For Laravel 5.8 ?

just want to know when will b release of wpb new version for laravel 5.8

@gurinder-xyrintech branch 3.8 supports Laravel 5.8

@gurinder-xyrintech branch 3.8 supports Laravel 5.8

Thanku So much, i really need this


Create a job in Travis to run test whitout need create a pull request

Needs Info. Travis runs CI procedure whenever a commit is pushed to the repo, or a forked project elevates a PR for merging.

Important note
CI only runs on the main repo as it's so configured. NOT on forked projects as they need individual configuration as far as i'm aware.

Since CI seems to work as intended i'll close this issue until further information is provided.


Guide not saving properly if there are Actions

I just finished making my Guide, went to go click Publish, and then it just sat there spinning for a long time. It never stopped. :( I opened up a new tab to OpenFarm and got an alert 'You just published a Guide!'. Huh. I went to my Guides, and sure enough it was there. Clicked it, but the only info that saved was the main image and the overview. None of my life stages, no other photos, nothing even that gave me compatibility scoring.
I pressed Edit Guide and then copied and pasted some info from my original tab (that was still spinning) and tried to save it in the new tab. It just started spinning again. I closed this second tab.
I then opened it again and tried to edit again. This time I just added life stage info (sun amount, location) and saved it. That worked.
Then I edited again and tried to add some text for one Action. Saving failed. So it has to do with the Actions info.
My guide: https://openfarm.cc/en/guides/555273e264633900031c0000

From my console:
    at https://openfarm.cc/assets/application-aca79496e6ca574a833bf1523ba469ec.js:21:27196
    at Array.map (native)
    at https://openfarm.cc/assets/application-aca79496e6ca574a833bf1523ba469ec.js:21:27142
    at Array.forEach (native)
    at t.sendStages (https://openfarm.cc/assets/application-aca79496e6ca574a833bf1523ba469ec.js:21:26617)
    at https://openfarm.cc/assets/application-aca79496e6ca574a833bf1523ba469ec.js:17:32487
    at https://openfarm.cc/assets/application-aca79496e6ca574a833bf1523ba469ec.js:4:27083
    at https://openfarm.cc/assets/application-aca79496e6ca574a833bf1523ba469ec.js:5:7563
    at c.$eval (https://openfarm.cc/assets/application-aca79496e6ca574a833bf1523ba469ec.js:5:14507)
    at c.$digest (https://openfarm.cc/assets/application-aca79496e6ca574a833bf1523ba469ec.js:5:13056)(anonymous function) @ application-aca79496e6ca574a833bf1523ba469ec.js:5 ```

Fixed by @dedesite :)


Refactor TypeScript schema generation into SchemaGen class Moved the …

Title: Refactor TypeScript schema generation into SchemaGen class
Description:
This pull request refactors the TypeScript schema generation logic into a SchemaGen class. Previously, the schema generation was done in a single file, which was not easily extendable or reusable.
The new SchemaGen class provides several methods for generating TypeScript schemas, allowing schema generation from both function definitions and OpenAPI specifications fetched from URLs. Specifically, the generate_from_func_dict method generates schemas from function definitions, and the generate_from_openapi method generates schemas from OpenAPI specifications. This versatility provides multiple ways to define and generate the necessary TypeScript schemas, increasing the flexibility and usability of the tool.
In addition, this pull request includes a Function class that encapsulates a function definition. This class is used by the SchemaGen class to handle and generate TypeScript schemas, simplifying the handling of function definitions.
This pull request introduces the following changes:

Adds the Function and SchemaGen classes, improving structure and maintainability.
Refactors the TypeScript schema generation process to use the new SchemaGen class, enabling schema generation from different sources.
Introduces unit tests to verify the functionality of the SchemaGen class and ensure reliable operation.

Thank you ! I'll review as soon as possible.

Thank you ! I'll review as soon as possible.

I will resubmit the pr in the morning ( CST ). I forgot to integrate the new method with server.py. Sorry ab that.
also, if you would like since using github issues to chat is quite inconvienent, you can add me on discord if you would like.
ufghf ig C hv#6435 ( yes I smacked the keyboard to come up with the name )

Thank you ! I'll review as soon as possible.

I will resubmit the pr in the morning ( CST ). I forgot to integrate the new method with server.py. Sorry ab that.
also, if you would like since using github issues to chat is quite inconvienent, you can add me on discord if you would like.
ufghf ig C hv#6435 ( yes I smacked the keyboard to come up with the name )


Make sass dependency work on modern OSes

Specifically on Ubuntu 20.04 there isn't Python 2 any more. Previously it seemed that the version of node-sass which was installed needed Python 2 as part of the build for node-gyp. This moves it to being a dev-dependency for clarity and then updates it to v5, which seems to avoid that issue.

node-sass is considered deprecated in favour of the Dart rewrite of sass, available on NPM under sass.

This feels like it is probably out of scope for this PR and deserves it's own issue? Breaking changes etc etc

node-sass is considered deprecated in favour of the Dart rewrite of sass, available on NPM under sass.

This feels like it is probably out of scope for this PR and deserves it's own issue? Breaking changes etc etc

@RealOrangeOne thanks for the info, I wasn't aware of the sass changes. Do you feel strongly that we should hold up this PR on that basis? Currently I would push for getting this in because it does improve things, even if not perfectly.

@RealOrangeOne thanks for the info, I wasn't aware of the sass changes. Do you feel strongly that we should hold up this PR on that basis? Currently I would push for getting this in because it does improve things, even if not perfectly.

I feel it should be done, but definitely not strongly enough to block this PR. Let's get this in, as currently I can't even build the application on my machine, and we can deal with deprecations at a later date!

I feel it should be done, but definitely not strongly enough to block this PR. Let's get this in, as currently I can't even build the application on my machine, and we can deal with deprecations at a later date!


error with simple "Hello World"

Hi everyone,
I am trying out a simple "Hello World" tweet however I am facing some errors.
I believe I am using tweepy-3.6.0 and python 2.7.9 (Can anyone suggest how do i check my version of tweepy and python?)
My codes:
import tweepy

def get_api(cfg):
  auth = tweepy.OAuthHandler(cfg['consumer_key'], cfg['consumer_secret'])
  auth.set_access_token(cfg['access_token'], cfg['access_token_secret'])
  return tweepy.API(auth)

def main():
  # Fill in the values noted in previous step here
  cfg = {
    "consumer_key"        : "I PLACED MY KEYS HERE",
    "consumer_secret"     : "I PLACED MY KEYS HERE",
    "access_token"        : "I PLACED MY KEYS HERE",
    "access_token_secret" : "I PLACED MY KEYS HERE"
    }

  api = get_api(cfg)
  tweet = "Hello, world!"
  status = api.update_status(status=tweet)

if __name__ == "__main__":
  main()

This is a list of errors i get after i run sudo python twitter.py
Traceback (most recent call last):
  File "twitter.py", line 23, in <module>
    main()
  File "twitter.py", line 19, in main
    status = api.update_status(status=tweet)
  File "build/bdist.linux-armv7l/egg/tweepy/api.py", line 194, in update_status
  File "build/bdist.linux-armv7l/egg/tweepy/binder.py", line 245, in _call
  File "build/bdist.linux-armv7l/egg/tweepy/binder.py", line 229, in execute
tweepy.error.TweepError: [{u'message': u'Timestamp out of bounds.', u'code': 135}]

Thank you in advance!!

found my solution!

@mrcrocodile556 It would be nice if you detailed what exactly your problem was and how you solved it if anybody in the future is in a similar situation.


Secure folder with password

📝 Provide a description of the new feature
So, yes windows offer some basic utilities for protecting your data. But what about password-protect folder the "simple" way? Not using any more third party programs.
What is the expected behavior of the proposed feature?  What is the scenario this would be used?
Enter a password everytime you try to access folder x.
It's perfect for user to protect data if you just use one profile including the function of the already existing enctryption-system. So for one profile or even multi-user
I mean, it's 2021 now and Microsoft still don't offer single-folder-password-protection the "easy" way.
It's not for sensitive data, just for a little bit more security for things that's not for everyone.
If you'd like to see this feature implemented, add a 👍 reaction to this post.

Something like "the vault" in OneDrive? I've seen that request before. Have to search for the issue number.

Something like "the vault" in OneDrive? I've seen that request before. Have to search for the issue number.

Something like "the vault" in OneDrive? I've seen that request before. Have to search for the issue number.

Yes, that's what i have in mind. But not as an "Issue" as Request. It's powerful to have unique folder protection.

Something like "the vault" in OneDrive? I've seen that request before. Have to search for the issue number.

Yes, that's what i have in mind. But not as an "Issue" as Request. It's powerful to have unique folder protection.

Duplicate of https://github.com/microsoft/PowerToys/issues/5205
This is not something the PowerToys team will consider implementing since it opens the door to too many data loss scenarios and we don't have the resources to test/support it, use the Windows Feedback Hub app to suggest to the Windows team.

Duplicate of https://github.com/microsoft/PowerToys/issues/5205
This is not something the PowerToys team will consider implementing since it opens the door to too many data loss scenarios and we don't have the resources to test/support it, use the Windows Feedback Hub app to suggest to the Windows team.


Toxiproxy with getSSHdImage not working

I'm using TestcontainersConfiguration.getInstance().getSSHdImage() to create a container to ssh into, and wanted to try to cut the connection after the initial handshake with proxy.setConnectionCut( true );.
If I use the same port for the proxy and the container, the connection fails even before the setConnectionCut().
If I use a different port, the connection cut has no effect.
I've created a reproducer here: https://github.com/ebramirez/toxicontainers

@ebramirez
I think this line is the problem:
https://github.com/ebramirez/toxicontainers/blob/890e4c7903b85693a857ea7651e3a7925afd2c9c/src/test/java/com/github/reproducer/toxicontainer/ge/boundary/GuidedExerciseValidatorTest.java#L54
Please see the docs on how to use the Toxiproxy container:
https://www.testcontainers.org/modules/toxiproxy/

And here too:
https://github.com/ebramirez/toxicontainers/blob/890e4c7903b85693a857ea7651e3a7925afd2c9c/src/test/java/com/github/reproducer/toxicontainer/ge/boundary/GuidedExerciseValidatorTest.java#L90

Hi @bsideup,
If you mean that the problem is the offset, I did try without it, as in this revision: https://github.com/ebramirez/toxicontainers/blob/282586f1c02b2b369fbf54b89ce06cc48f353174/src/test/java/com/github/reproducer/toxicontainer/ge/boundary/GuidedExerciseValidatorTest.java
If something else is the problem, I don't know what you mean.
Anyway, thanks for having a look at it.

@ebramirez as per docs, you should use getProxy's result to access the proxy.
But, instead, you're calling getDockerSshClient:
https://github.com/ebramirez/toxicontainers/blob/282586f1c02b2b369fbf54b89ce06cc48f353174/src/test/java/com/github/reproducer/toxicontainer/ge/boundary/GuidedExerciseValidatorTest.java#L56
which uses getFirstMappedPort:
https://github.com/ebramirez/toxicontainers/blob/282586f1c02b2b369fbf54b89ce06cc48f353174/src/test/java/com/github/reproducer/toxicontainer/ge/boundary/GuidedExerciseValidatorTest.java#L91
But the first mapped port of Toxiproxy is Toxiproxy's API endpoint.
See "Obtaining proxied host and port" in the docs.

As usual, you where right, I skimmed over that docs to fast.
Thanks!

@ebramirez I am glad that it works now 🎉


Ventura compatibility? yabai is fresh installed and working, can't get skhd to recognise any shortcuts

Just wondering if there's any known issues running on MacOS Ventura beta 6?
I have only just stumbled on both apps and have yabai running well (SIP disabled) – love it!
brew services list shows skhd running fine but no shortcuts respond. I haven't gone to any effort 'Disabling Secure Input' but as far as I'm aware, this only runs temporarily when in a password prompt? regardless, this shows no secure inputs running: ioreg -l -w 0 | grep SecureInput
Started with the example rc file and deactivated a bunch of shortcuts, changed a few others.

It seemed to be working fine for me. However, it is buggy and randomly decides to stop working. Something only a complete restart of the machine will fix. Tbh, really regretting upgrading; no good new features and the redesign of system preferences makes me want to tear my hair out.
One other thing to check is that you have a working skhdrc file. Try running brew services stop skhd and then running it manually in terminal to see if anything is printed to stdout.

Running it in the terminal, I get the following error: skhd: secure keyboard entry is enabled by (17120) 'iterm2'! abort.. Not sure if this is 100% Ventura related.
I tried the following:

Uninstalled skhd
Updated xcode tools with xcode-select --install
Updated xcode by opening xcode, then when prompted, installing the xcode update
Notice xcode is still only on version 14.0.1 even though 14.1 is out (I get the following error when installeing skhd)

brew install skhd
==> Downloading https://github.com/koekeishiya/skhd/archive/v0.3.5.zip
Already downloaded: /Users/bruno/Library/Caches/Homebrew/downloads/24a17a4e7a0e673a71aca0bae86c282978e35fcde5a4e0797de49290974c9d28--skhd-0.3.5.zip
==> Installing skhd from koekeishiya/formulae
Error: Your Xcode (14.0.1) is too outdated.
Please update to Xcode 14.1 (or delete it).
Xcode can be updated from the App Store.

Delete xcode
Installed xcode again (this time v14.1)
Installed skhd
Keep on getting the same error

After a reboot, it is working. For now.

Running it in the terminal, I get the following error: skhd: secure keyboard entry is enabled by (17120) 'iterm2'! abort.. Not sure if this is 100% Ventura related.

Ah yes, I got this same issue. What you need to do is close all apps that could possibly be enabling secure keyboard entry (usually Terminal). Then, click on iTerm in the menu bar and make sure that Secure Keyboard Entry is not checked.

Now, open Terminal (the reason why skhd stopped working randomly for me) and disabled Secure Keyboard Entry there are well. It should be in the Menu Bar for Terminal as well.

Just wondering if there's any known issues running on MacOS Ventura beta 6?

I have now got it working perfectly so not that I know of.

I haven't gone to any effort 'Disabling Secure Input' but as far as I'm aware, this only runs temporarily when in a password prompt?

This is not that case and it is enabled whenever there is a Terminal application open. Refer to my reply above to disable Secure Keyboard Entry and skhd should now work 100% of the time.


ARROW-2535: [Python] Provide pre-commit hooks that check flake8

I don't know anything about this, is it something you have to add manually to your git configuration?

When you want to use this, you need to intially run once pip install pre-commit && pre-commit install. This is not forcing it on users but is rather opt-in. I plan to add a second entry that call the clang-format docker container.

I'm checking it locally, but it LGTM.

 $ pre-commit run -a
[INFO] Initializing environment for git://github.com/pre-commit/pre-commit-hooks.
[INFO] Installing environment for git://github.com/pre-commit/pre-commit-hooks.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
 I'm wondering what is different in our setups. I'm using Python 3.6 using conda on OSX and it is silent.

Codecov Report

Merging #2810 into master will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #2810      +/-   ##
==========================================
+ Coverage   87.47%   87.48%   +0.01%
==========================================
  Files         410      410
  Lines       63486    63486
==========================================
+ Hits        55533    55540       +7
+ Misses       7879     7876       -3
+ Partials       74       70       -4

Impacted Files
Coverage Δ

go/arrow/math/uint64_sse4_amd64.go
0% <0%> (-100%)
:arrow_down:

go/arrow/math/float64_sse4_amd64.go
0% <0%> (-100%)
:arrow_down:

go/arrow/memory/memory_sse4_amd64.go
0% <0%> (-100%)
:arrow_down:

go/arrow/math/int64_sse4_amd64.go
0% <0%> (-100%)
:arrow_down:

cpp/src/arrow/csv/column-builder.cc
94.92% <0%> (-2.18%)
:arrow_down:

go/arrow/math/float64_amd64.go
33.33% <0%> (ø)
:arrow_up:

go/arrow/math/int64_amd64.go
33.33% <0%> (ø)
:arrow_up:

go/arrow/math/uint64_amd64.go
33.33% <0%> (ø)
:arrow_up:

go/arrow/math/math_amd64.go
36.84% <0%> (+5.26%)
:arrow_up:

go/arrow/memory/memory_amd64.go
42.85% <0%> (+14.28%)
:arrow_up:

... and 4 more

Continue to review full report at Codecov.

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

CI error is unrelated.

Now I get:
[INFO] Installing environment for git://github.com/pre-commit/pre-commit-hooks.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
Flake8...................................................................Failed
hookid: flake8

python/pyarrow/tests/test_convert_pandas.py:1395:37: W605 invalid escape sequence '\('
python/pyarrow/tests/test_convert_pandas.py:1396:28: W605 invalid escape sequence '\)'
python/pyarrow/tests/test_convert_pandas.py:1400:38: W605 invalid escape sequence '\('
python/pyarrow/tests/test_convert_pandas.py:1401:29: W605 invalid escape sequence '\)'

Flake8...................................................................Failed
hookid: flake8

python/pyarrow/_plasma.pyx:170:17: W504 line break after binary operator
python/pyarrow/_plasma.pyx:738:21: W504 line break after binary operator
python/pyarrow/io-hdfs.pxi:21:15: W605 invalid escape sequence '\d'
python/pyarrow/scalar.pxi:189:21: W504 line break after binary operator
python/pyarrow/scalar.pxi:192:21: W504 line break after binary operator
python/pyarrow/table.pxi:642:13: W504 line break after binary operator

@xhochy what does flake8 --bug-report says to You?

Flake8 3.6 has itroduced W605 errors

Thanks Uwe! Merging on green!

I'd rather see the warnings fixed then ignore them.


Error: Please add a title

🐛  Bug Report

🤷♀ What did you do

⛔  Error log
Command failed with exit code 1: yarn add mysql
Usage Error: The nearest package directory (/home/prasadtakale/beckn/strapi/strapi/beckn) doesn't seem to be part of the project declared in /home/prasadtakale/beckn/strapi/strapi.

If /home/prasadtakale/beckn/strapi/strapi isn't intended to be a project, remove any yarn.lock and/or package.json file there.
If /home/prasadtakale/beckn/strapi/strapi is intended to be a project, it might be that you forgot to list beckn in its workspace configuration.
Finally, if /home/prasadtakale/beckn/strapi/strapi is fine and you intend beckn to be treated as a completely separate project (not even a workspace), create an empty yarn.lock file in it.

$ yarn add [--json] [-E,--exact] [-T,--tilde] [-C,--caret] [-D,--dev] [-P,--peer] [-O,--optional] [--prefer-dev] [-i,--interactive] [--cached] [--mode #0] ...
🕵♀ Stack trace
Error: Command failed with exit code 1: yarn add mysql
Usage Error: The nearest package directory (/home/prasadtakale/beckn/strapi/strapi/beckn) doesn't seem to be part of the project declared in /home/prasadtakale/beckn/strapi/strapi.

- If /home/prasadtakale/beckn/strapi/strapi isn't intended to be a project, remove any yarn.lock and/or package.json file there.
- If /home/prasadtakale/beckn/strapi/strapi is intended to be a project, it might be that you forgot to list beckn in its workspace configuration.
- Finally, if /home/prasadtakale/beckn/strapi/strapi is fine and you intend beckn to be treated as a completely separate project (not even a workspace), create an empty yarn.lock file in it.

$ yarn add [--json] [-E,--exact] [-T,--tilde] [-C,--caret] [-D,--dev] [-P,--peer] [-O,--optional] [--prefer-dev] [-i,--interactive] [--cached] [--mode #0] ...
    at makeError (/home/prasadtakale/.npm/_npx/a642ee8303c0fc2f/node_modules/execa/lib/error.js:60:11)
    at handlePromise (/home/prasadtakale/.npm/_npx/a642ee8303c0fc2f/node_modules/execa/index.js:118:26)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async installDependecies (/home/prasadtakale/.npm/_npx/a642ee8303c0fc2f/node_modules/@strapi-community/dockerize/core/dependencies.js:21:3)
    at async /home/prasadtakale/.npm/_npx/a642ee8303c0fc2f/node_modules/@strapi-community/dockerize/index.js:63:4

🙇♀  Expected behavior/code
A clear and concise description of what you expected to happen (or code).
👩💻 Environment

📦  Node version:  v18.16.1
💻  OS: linux x64

💡 Possible Solution

📺 Additional context/Screenshots

Seems you run the tool in the wrong folder or gave it the wrong folder. Closing as it's not a bug


Image Upload

Hi,
I am trying to do the image upload functionality. In my project we are doing custom save by overriding serenity save functionality. so when i am try to save the image using custom save it is saving only the temporary path in Database and the file is not stored in the physical folder. Can anyone please help me with this?

In my project, i save only name, and tempory path of image in database. Image will convert to byte and save in other database (mongo).

is there any way to imitate the serenity image save functionality  in our custom save functionality?

How do you have it set up at the moment?

Closing due to inactivity.

Hi @sayuga/ @volkanceylan,
I have image-editor field in my form.
After uploading an image, on save click I need to bind the image to my model and I have to insert it into a table. How to do this?


Uncaught TypeError: Cannot read properties of undefined (reading '0')

Salutation
Uncaught TypeError: Cannot read properties of undefined (reading '0')
Describe the bug
While trying to run example sampleSecured.ts I get error
Uncaught TypeError: Cannot read properties of undefined (reading '0')
To Reproduce
Steps to reproduce the behavior:

Run the sampleSecured.ts as is (I just changed KNX IP Router parameters)
See error:

KNXSecureSessionRequest        	KNXSecu…SessionRequest.js:18
newKNXSecureSessionRequest     	KNXProtocol.js:102
sendSecureSessionRequestMessage	KNXClient.js:835
(anonymous function)           	KNXClient.js:548
onceWrapper                    	events.js:627
emit                           	events.js:525
afterConnect                   	node:net:1263
callbackTrampoline             	async_hooks.js:130
Async call from TCPCONNECTWRAP
init                           	node:in…pector_async_hook:25
emitInitNative                 	async_hooks.js:202
internalConnect                	node:net:1022
defaultTriggerAsyncIdScope     	async_hooks.js:464
(anonymous function)           	node:net:1134
processTicksAndRejections      	task_queues:78
Async call from TickObject
init                           	node:in…pector_async_hook:25
emitInitNative                 	async_hooks.js:202
emitInitScript                 	async_hooks.js:505
nextTick                       	task_queues:133
defaultTriggerAsyncIdScope     	async_hooks.js:464
lookupAndConnect               	node:net:1132
Socket.connect                 	node:net:1101
Connect                        	KNXClient.js:544
(anonymous function)           	knxUltimateModule.js:77
(anonymous function)           	knxUltimateModule.js:15
(anonymous function)           	knxUltimateModule.js:11
Module._compile                	node:in…odules/cjs/loader:1198
Module._extensions..js         	node:in…odules/cjs/loader:1252
Module.load                    	node:in…odules/cjs/loader:1076
Module._load                   	node:in…odules/cjs/loader:911
Module.require                 	node:in…odules/cjs/loader:1100
require                        	helpers:119
(anonymous function)           	main.js:3
Module._compile                	node:in…odules/cjs/loader:1198
Module._extensions..js         	node:in…odules/cjs/loader:1252
Module.load                    	node:in…odules/cjs/loader:1076
Module._load                   	node:in…odules/cjs/loader:911
executeUserEntryPoint          	node:in…/modules/run_main:81
(anonymous function)           	node:in…n/run_main_module:22

Hi
We’ll take a look asap.
thanks 🙏

Do you use the “secure” knx connection?
What, precisely, have you changed?
Thanks.

This is the part that I initialize client:
        const client = new KNXClient({
            ipAddr: router.ipAddr,
            ipPort: router.ipPort,
            physAddr: '15.' + (15 - pIndex) + '.' + (254 - rIndex),
            // suppress_ack_ldatareq: false,
            loglevel: config.logLevel,
            // localEchoInTunneling: true,
            hostProtocol: router.secure ? "TunnelTCP" : "TunnelUDP",
            isSecureKNXEnabled: router.secure,
            jKNXSecureKeyring: router.secure ? keyring.default.load(router.keyRing, router.password) : ""
        });
...
        client.Connect();

I fill parameters keyring and password from secureSample.ts. I receive same error when my project's export is used.

@erdemuncuoglu just to know does this used to work before 2.0.0? I never tried with knx secure so it could be a small bug regression introduced after the switch to typescript.
@Supergiovane I can take a look at this tomorrow

I tried with both 2.1.2 and 2.0.0

What is the latest version before typescript?

I tried with version 1.0.49 and received same error.

Guys, knx secure in still under development. Currently it does not work.

@Supergiovane Thank you for the library , Do you have any plans to complete the knx secure development process?

Hi,
we're working on the resilience of the Typescript version. @robertsLando did a wonderful job on that.
Then, we'll take a look at the secure part as well. It's partially done, but i have no release date.
I'm working on the KNX 3rd Party IOT API as well, so we've another layer of compatibility with such new promising (?) protocol.

I can start working on secure once I find some free time but I don't expect to have many for next couple of weeks at least

@Supergiovane I think that a good way to test it is to use it in the node-red node, maybe you could create a beta version of it and start receiving feedbacks

Do you mean the current KNXUltimate in Typescript version?

Yeah, add it as a dependency instead of using the local one you ship with the node, this: https://github.com/Supergiovane/node-red-contrib-knx-ultimate/tree/master/KNXEngine
Should be dropped IMO and installed as a dependency instead


Implement xml.Unmarshaler for map

As you may know, XML does not handle map well like JSON does because we don't know what element value will be used as a key or as a value.
We need to implement xml.Unmarshaler interface for map.
In this PR, UnmarshalXML is generated only for query protocol because I have no idea how to detect which format is used in response.
Once this PR lands, SQS's ReceiveMessage works well with MessageAttributes:clap:

Awesome work! Thank you!


Select-only Option?

Where possible I prefer to test without an Xcode project, but the Xcode selection feature of this action isn't usable without also creating an Xcode project and using xcodebuild to run the tests.
Given the name of the project I'm not sure if a select-only option would be appropriate for this action?
I have my own action that updates the Xcode version used within actions but would prefer to use only this action. If this would be an acceptable feature I'd be willing to contribute to the project.

K, so to be clear, you are asking for an option that selects an Xcode, but doesn’t run the build? Because honestly I had to read what you had written three times to assume that.

I'm sure a build action of none would be ok.


Substitution bug

Error in: Crypto_AEAD_Encrypt_encrypt
Fatal error: exception Warnings.Fatal("[AstToCStar.translate_expr]: should not be here (@1[0uint32] <- @0)") (edited)

Probably the same as #35


Use sklearn's native joblib

scikit-learn bundles joblib, so we can skip installing it separately I think.

This seems fine to me.
@nkashy1: please have a look.

@pmlandwehr : This suggestion sounds good.
Could you also remove joblib from the pip install command in image.sh?

(Ready for merge now, I think)


DownloadObjectAsync hangs

Hello. We are experiencing a problem when trying to download portion of a file with DownloadObjectAsync. The code is pretty simple:
await client.DownloadObjectAsync(bucketName, objectKey, outputStream, new DownloadObjectOptions()
{
    Range = new RangeHeaderValue(offset, length)
});

The setup however is a bit more complex: we have a distributed system of hundreds of applications running the code above, all of them downloading different parts of the same file (around 400GB in size) hosted in GCP. The problem is that some of those calls to DownloadObjectAsync hang and do not return (it is hitting 20 min timeout in different part of the system; normally 1 such call takes at most 4-5 mins, with average of under 1 minute).
Replacing the implementation with this one fixes the problem, but this solution includes implementation details to our codebase that we would like to abstract using the SDK.
Any ideas?
Environment details

Base Docker image: mcr.microsoft.com/azure-functions/dotnet:3.0
OS: Debian 10
.NET version: .NET Core 3.1
Package name and version: Google.Cloud.Storage.V1 3.7.0

Steps to reproduce
Couldn't reproduce this in an isolated environment.

It's going to be quite hard to help without being able to reproduce this, unfortunately. A few questions that might shed some light:

You mention the Azure Functions base docker image - is this actually running in Azure Functions, or are you just using that as the docker image?
Is it possible that there's an asynchronous context issue? Have you tried using .ConfigureAwait(false) on the task?
Have you tried passing an IProgress<IDownloadProgress> to log each time progress is made? That would give more of an idea of whether it's being really slow but making progress, or just stopping entirely, or perhaps not even getting a single chunk
Are you able to try passing a cancellation token in with a timeout (e.g. new CancellationTokenSource(TimeSpan.FromMinutes(10)).Token)? That might give some indication as to where things are hanging

You mention the Azure Functions base docker image - is this actually running in Azure Functions, or are you just using that as the docker image?

Yes, it is running as an Azure Function in Kubernetes. Do you think it is related in any way to the issue?

Is it possible that there's an asynchronous context issue? Have you tried using .ConfigureAwait(false) on the task?

I believe it is not, but there's a chance it is. We can easily try with ConfigureAwait. We could also try to use the synchronous API of the SDK but the may be in the asynchronous version of the API only.

Have you tried passing an IProgress to log each time progress is made? That would give more of an idea of whether it's being really slow but making progress, or just stopping entirely, or perhaps not even getting a single chunk

Will try that.

Are you able to try passing a cancellation token in with a timeout (e.g. new CancellationTokenSource(TimeSpan.FromMinutes(10)).Token)? That might give some indication as to where things are hanging

Yes, we can do that.

What is the output stream you're writing to? Is it possible that it's the write to that that is hanging?

It is a MemoryStream. I don't expect this to be able to hang. If anything we should get OutOfMemoryException, but we haven't.
I will perform those tests and I'll get back to you with the results.

Also, this might be realted to Bandwidth quota. Note that some requests may be throtled when quota is exceeded.

When a project's bandwidth exceeds quota in a location, requests to affected buckets can be rejected with a retryable 429 error or can be throttled.

See here how you can monitor your Bandwith Usage to check if this is related.

Also, this might be realted to Bandwidth quota. Note that some requests may be throtled when quota is exceeded.

When a project's bandwidth exceeds quota in a location, requests to affected buckets can be rejected with a retryable 429 error or can be throttled.

See here how you can monitor your Bandwith Usage to check if this is related.

Yes, throttling was the first thing I suspected as something that may be causing this, but it is very inconsistent - e.g. a failing request (timeouting at the 20 min mark) may be started at roughly the same time as other requests that took 5-10 seconds to finish. Moreover, the other approach with the raw HTTP client didn't see any of that.
To give more context - every request is trying to get ~100MB of data. Is throttling supposed to slow such a request that dramatically (100MB cannot be downloaded for 20 minutes)? Note that the network speed should not be a problem in that case, since it is running in a data center (and also I've seen requests for 100MB finish in under a second).

Is throttling supposed to slow such a request that dramatically (100MB cannot be downloaded for 20 minutes)?

That very much depends on the throtling strategy, which I'm not familiar with. But you did say you had hundreds of aplications running at the same time, and that is definetely in the right order of magnitude to at least blow the per region egress quota of 50Gbs. But it's easy to check whether this might be a factor or not, just follow the instructions on Bandwith Usage and see what the quoata graphs are showing. If you are reaching quota then that's, probably, at least part of the problem.

Is it possible that there's an asynchronous context issue? Have you tried using .ConfigureAwait(false) on the task?

So, allowing for continuation on a different synchronization context using ConfigureAwait did not fix the issue.

Have you tried passing an IProgress to log each time progress is made? That would give more of an idea of whether it's being really slow but making progress, or just stopping entirely, or perhaps not even getting a single chunk

The test was performed with the 10 minute timeout cancellation token. We had 12 timeouts where:

2 instances reported up to 80 MB downloaded
1 instance reported up to 70 MB downloaded
1 instance reported up to 50 MB downloaded
3 instances reported up to 40 MB downloaded
2 instances reported up to 10 MB downloaded
3 instances reported only 0 MB downloaded

Interesting fact is that on a second attempt, we had 19 more timeouts, but it didn't result in OperationCanceledException - it just continued working as normal, i.e. the method returned successfully.
Does some of that shed some light on what is it actually going on?

Interesting fact is that on a second attempt, we had 19 more timeouts, but it didn't result in OperationCanceledException - it just continued working as normal, i.e. the method returned successfully.

I don't understand what you mean here. How did you observe the timeouts, if the method returned successfully?
With the instances that did manage to download some data, were you able to observe whether they were "trickling" data all the time (just not quickly enough to complete before the end), or did they manage to download quite a lot quickly, and then stop entirely?

I don't understand what you mean here. How did you observe the timeouts, if the method returned successfully?

Maybe should've elaborated a bit more. We're measuring the time it takes for DownloadObjectAsync to finish. Using that I can see that those 19 calls took a little bit over 10 minutes to return (talking seconds over 10 minutes). Normally the times are much lower (under the 4 minute mark), so it must be because of the timeout.

With the instances that did manage to download some data, were you able to observe whether they were "trickling" data all the time (just not quickly enough to complete before the end), or did they manage to download quite a lot quickly, and then stop entirely?

Unfortunately, no. Haven't setup any network monitoring yet, nor I saved the timestamps of the progress notifications (and I should've). Do you think it can be just very severe throttling? If true, we are talking speeds under 17 KB/s for those 3 instances where that reported no higher than 0 MB.

I'm not familiar with the potential severity of the throttling - but I think it's at least plausible, yes.
One thing you might want to try - if you're able to do this on a "scheduled test" basis - is download the same object via gsutil from an Azure VM (or potentially just from your development machine) - that shows the download speed.

We've worked around the problem with a different approach that has other benefits too, so this is no longer an issue for us. Thank you and @amanda-tarafa for your support.
P.S. Personally, I would be happy to help if you decide to persue the problem.


Updates to reflect latest cumulus master

@kotfic Here are a few updates, have run setup on a clean instance so things should now work.


Large number of fields in ES index exceeds URL query parameter length

What kind an issue is this?

[] Bug report. If you’ve found a bug, please provide a code snippet or test to reproduce it below.
The easier it is to track down the bug, the faster it is solved.
[ X] Feature Request. Start by telling us what problem you’re trying to solve.
Often a solution already exists! Don’t send pull requests to implement new features without
first getting our support. Sometimes we leave features out on purpose to keep the project small.

Issue description
I have an index with many long field names. When using Spark SQL via Spark Thrift Server, if I create a temporary view and then query it, I get an authorization error.
Through trial and error, I see that if I remove fields from the end, the query works. This points to a limit in the size of the URL being sent to ES, caused by lots of fields and long field names.
My question: is there a workaround, assuming that I can't reduce the number of fields or the size of the field names? For example, is there a parameter that can be specified to not use the query string for the underlying query to ES, but to use the query DSL as JSON? Or is there a better way to formulate the query to avoid this problem?
Description
Steps to reproduce
Code:
CREATE GLOBAL TEMPORARY VIEW view1 USING org.elasticsearch.spark.sql OPTIONS (resource 'es-index');
SELECT * from view1 limit 1;
Strack trace:
failed; server[docker-prod.west.usermind.com:8200] returned [401|Unauthorized:]
at org.elasticsearch.hadoop.rest.RestClient.checkResponse(RestClient.java:488)
at org.elasticsearch.hadoop.rest.RestClient.execute(RestClient.java:446)
at org.elasticsearch.hadoop.rest.RestClient.execute(RestClient.java:436)
at org.elasticsearch.hadoop.rest.RestRepository.scroll(RestRepository.java:363)
at org.elasticsearch.hadoop.rest.ScrollQuery.hasNext(ScrollQuery.java:92)
at org.elasticsearch.spark.rdd.AbstractEsRDDIterator.hasNext(AbstractEsRDDIterator.scala:61)
at scala.collection.Iterator$$anon$11.hasNext(Iterator.scala:408)
at scala.collection.Iterator$$anon$11.hasNext(Iterator.scala:408)
at scala.collection.Iterator$$anon$11.hasNext(Iterator.scala:408)
at org.apache.spark.sql.execution.SparkPlan$$anonfun$2.apply(SparkPlan.scala:231)
at org.apache.spark.sql.execution.SparkPlan$$anonfun$2.apply(SparkPlan.scala:225)
at org.apache.spark.rdd.RDD$$anonfun$mapPartitionsInternal$1$$anonfun$apply$25.apply(RDD.scala:826)
at org.apache.spark.rdd.RDD$$anonfun$mapPartitionsInternal$1$$anonfun$apply$25.apply(RDD.scala:826)
at org.apache.spark.rdd.MapPartitionsRDD.compute(MapPartitionsRDD.scala:38)
at org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:323)
at org.apache.spark.rdd.RDD.iterator(RDD.scala:287)
at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:87)
at org.apache.spark.scheduler.Task.run(Task.scala:99)
at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:282)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
I observe that the ES query is of the form es-index/_search?sort=doc&scroll=5m&size=50&source=field1,field2,field3,...&preference=shards%3A0%7Clocal
When the length of the query string exceeds around 4200 characters, the error presents.
Version Info
OS:         :  Mac OSX 10.12.3 (16D32)
JVM         :  1.8.0_102
Hadoop/Spark:  2.6/2.1.0
ES-Hadoop   :  5.0.2
ES          :  5.0.2

Feature description

Right now there's no switch to convert the query parameters on the end of the scroll request to query DSL. I think it makes most sense to transition to submitting the search request as an HTTP body using the DSL instead of loading it all into the URL for resiliency purposes. I'll mark this as a bug until that gets resolved.

I opened #943

This issue was missed when #1154 was merged in. This has been fixed since 6.3.1 and 6.4.0.


wip: refactor root enpoints, add missing stuff

Fixes #342
Changes proposed in this PR:

Update root endpoint, add missing routes

looks good, are you still working on this? The PR says "wip"


prepare-openvpn: Switch to watching for config.json changes in order to update the VPN config

This PR is related to the key switching from #656, and allows us to use a dedicated provisioning key in order to register and get the device api key for #656.  Without this PR it is necessary to use a user-api-key as otherwise the prepare-vpn service will try to use the provisioning key (which will fail), and it will not switch to using the device key (which will work) until the device is rebooted, this PR will make the VPN switch to using the correct key as soon as it is available
 Front conversations

NIT: CHANGELOG entry should be in a separate commit

I can rename config-json.service to resin-vars.service if you want, it's just convention that the service is named the same as the .path watcher (and resin-vars.path would be pretty confusing imo).  For reading the uuid/api keys in resin-vars it would make sense - I'll need to figure out how to do defaulting in bash though

I've moved the config.json fetching stuff to resin-vars @telphan

Please have the Changelog entry in a new commit
LGTM otherwise

@agherzan @pcarranzav any other comments on this?

@Page- can you resolve the conflicts please?

Done @floion

Thanks Page.
@agherzan can this be included in the next meta-resin release?

@resin-jenkins retest this please

@agherzan @willnewton is this PR good to be merged?

I haven't had a chance to really go through @floion . Is anything depending on it?

It's something the customers are waiting for

Sure @floion . I'll try to prioritise this.

ping @agherzan

In my queue.

I think what we actually want is to be able to restart various services based on changes on the config.json file. Basically the path watcher should restart certain services when config.json was changed. Or services should device to restart when the path unit activates the respective service. @petrosagg what do you think about this?

@agherzan that's what this does?  Except that it's the dependent which registers the dependency.  Eg whenever /mnt/boot/config.json is changed (and when it's initially mounted) config-json.service is activated, and prepare-openvpn.service says that it wants to be activated whenever config-json.service is activated, same as any other dependant will do.
We could change it instead so that config-json.service had a list of every service that depends on it, but that puts the dependency in a wonky direction and will probably have issues if we were to try to do a build that didn't include the vpn (and hence prepare-openvpn.service) as then the service wouldn't exist and would presumably cause an error?

ping @agherzan

ping @agherzan

I'll try to re-review it tomorrow.

ping @agherzan

@Page- can you split out the changes for using the variables from resin-vars? I would like to merge that first and then figure out the rest. I currently didn't have time to check it out and it is a little confusing on how it works/should work.

@agherzan I can separate that out, it was only added in the first place because of previous review comments though

I've extracted that stuff to https://github.com/resin-os/meta-resin/pull/723 @agherzan

And I've rebased this PR on top of that one

@Page- would it be possible to rebase this with Signed-off-by and Changelog-entry tags please

@willnewton Could you push a force branch adding changelog-type and SOB to the commits? I'd like to merge this today.

@agherzan @Page- I've reworded the commit and force pushed it rebased on top of current master

@resin-jenkins retest this please

@agherzan what's left blocking this?

@Page- we had some issues with VB - I'll merge it


How to divide 300VW-Dataset into 3 categories

Which project are you using?
SBR
Issue description
Hi，I have noticed in the paper of SBR
"300-VW [30, 34, 6]. This video dataset contains 50 training videos with 95192 frames. The test set consists of
three categories with different levels. These three subsets (A, B and C) have 62135, 32805 and 26338 frames, respectively. C is the most challenging one."
and in many articles about face landmark detection based on video,they have also mentioned the 3 categories of 300VW and done some comparison  separately in 3 scenarios.
But for  the 300VW data set I have downloaded, neither train/test set nor category-A/ category-B/category-C is divided.
So I wanna to ask whether the 3 categories have been divided before download, or you divide it according to the requirements of the official website?
(the official website link is https://ibug.doc.ic.ac.uk/resources/300-VW/)
I have tried to divide it by myself, but the test result of my model is weird. My model's performance is better in category C.
I really hope to get your answer,because I don't have any classmates who do the same direction as me ,and there is very little information about this detail
Thx a lot!!!

Here is the video id for the three test category (1 for A, 2 for B, 2 for C): https://github.com/D-X-Y/landmark-detection/blob/master/SBR/cache_data/generate_300VW.py#L98
I found these ids somewhere three years ago, and forget the original sources. But I think you use re-use them safely.


[QUESTION] Image not showing

I have create a post in posts folder. And in front matter I have added the image name and src
resources:
  - name: "featured-image"
    src: "featured-image.webp"

But the image is not displaying. Clear the cache several times but not working.
But in the default posts images are displaying correctly.
Steps to follow

simply create a post in posts folder
copy the images in posts folder
add the below code in front matter

- name: "featured-image"
  src: "featured-image.webp"

But still not showing images even after clearing cache

May i know your specific post & image location?

My post location is exampleSite/content/posts/test/test.md
and my image location is exampleSite/content/posts/test/
and the front matter is
---
weight: 1
title: "Test Post"
date: 2020-03-06T21:29:01+08:00
lastmod: 2020-03-05T21:29:01+08:00
draft: false
author: "FeelIt"
authorLink: "https://feelit.khusika.com"
description: "Discover what the Hugo - FeelIt theme is all about and the core-concepts behind it."
# featuredImage: "featured-image"
# featuredImagePreview: "featured-image-preview.webp"
resources:
  - name: "featured-image"
    src: "featured-image.webp"
tags: ["installation", "configuration"]
categories: ["documentation"]

lightgallery: false

toc:
  auto: false
---

Some body text

and the error pics are:

My post location is exampleSite/content/posts/test/test.md
and my image location is exampleSite/content/posts/test/

Correct your post location into exampleSite/content/posts/test/index.md,
if yourimage.webp is inside post/test
resources:
  name: "featured-image"
  src: "yourimage.webp"

or
featuredImage: "yourimage.webp"

Yes, it fixes the issue. when I renamed the post to index.md
But when I use netlify cms and add title to the forexample test title it creates the post in exampleSite/posts folder with file name test-title.md.
Then it creates the problem even the images are present in exampleSite/posts folder.
Screenshot is attached below.

I think it is not working with cms then because it cms does not create index.md or if it create index.md by using post title of index then there will be only 1 index file.

Sorry, i can't answer related to the CMS configuration. You have to adapt it by yourself.


new MouseEvent performance

Could we utilize an object pool instead of creating an infinite amount of these. Theoretically you could just have one and mark it as expired. In this way the event doesn't have to be recreated each move and its lifecycle is limited to the stack consequent to calling onMouseMove.
Stage.js - 378:
var evt = new MouseEvent("onMouseMove", this.mouseX, this.mouseY, this, e);
//evt = mouseEventPool.getEvent("onMouseMove", this.mouseX, this.mouseY, this, e);
if (this.onMouseMove) { this.onMouseMove(evt); }
if (this._activeMouseEvent && this._activeMouseEvent.onMouseMove) { this._activeMouseEvent.onMouseMove(evt); }
//evt.expire()

I agree with this, and its still not implemented yet.
I also think we don't need to create a new event tick object.


Fixed the brightness issue on devices with a dark theme

Hey! I added my pull request. On iPhones with a dark theme, the app looks very strange. I added a simple line of code which makes the app to display only as light theme.

Thanks for the contribution.
Fix looks good on emulator.
I'll open an issue for dark mode.

Hey! Thanks for merging my code. I will try to add a dark theme to your app 😁


Update documentation to match driver API

Little documentation update to match the example in the documentation with the driver API.

thanks


Can't adapt type 'numpy.ndarray'  when used via polars

Hello,
I would like to use pgvector python and polars.DataFrame.write_database with pgvectors SQLAlchemy support to write data to a vectordb.
When I pass a SA engine that I initialised for use with pgvector and write
engine = create_engine(conn_string, pool_pre_ping=True, pool_recycle=300)
conn = engine.connect()
conn.execute(text("CREATE EXTENSION IF NOT EXISTS vector"))
conn.commit()
polars_df.write_database(table_name=vdb_table_name, connection=conn)

it fails with:
sqlalchemy.exc.ProgrammingError: (psycopg2.ProgrammingError) can't adapt type 'numpy.ndarray'
polars_df.write_database is using pandas.to_sql which is using sqlalchemy which is using psycopg2.
I guess that hints at problems with writing the embeddings column (array) to vectordb because pgvector is not registered correctly?
Any hints what I might be doing wrong?

Hi @jmtatsch, write_database won't know how to create a vector column, but you can create the table manually and use if_table_exists='append'.
import numpy as np
from pgvector.psycopg2 import register_vector
import polars as pl
from sqlalchemy import create_engine, text

engine = create_engine('postgresql+psycopg2://localhost/pgvector_example')
conn = engine.connect()
conn.execute(text('CREATE EXTENSION IF NOT EXISTS vector'))
conn.execute(text('CREATE TABLE items (id bigserial PRIMARY KEY, embedding vector(3))'))
conn.commit()
register_vector(conn.connection)

df = pl.DataFrame({'embedding': [np.array([1, 2, 3])]})
df.write_database(table_name='items', connection=conn, if_table_exists='append')

It looks like you can use engine_options to create a vector column.
import numpy as np
from pgvector.sqlalchemy import Vector
import polars as pl
from sqlalchemy import create_engine, text

engine = create_engine('postgresql+psycopg2://localhost/pgvector_example')
conn = engine.connect()
conn.execute(text('CREATE EXTENSION IF NOT EXISTS vector'))
conn.commit()

df = pl.DataFrame({'embedding': [np.array([1, 2, 3])]})
df.write_database(table_name='items', connection=conn, engine_options={'dtype': {'embedding': Vector(3)}})

Awesome. Thank you very much.


adjust cache control so that entry htmls are not cached, as we need them to trigger 302 in case user is not logged in

Codecov Report

Merging #1535 into master will decrease coverage by 0.04%.
The diff coverage is 0%.

@@             Coverage Diff              @@
##             master    #1535      +/-   ##
============================================
- Coverage     48.67%   48.62%   -0.05%
  Complexity     1896     1896
============================================
  Files           393      393
  Lines         11485    11495      +10
  Branches       1192     1192
============================================
  Hits           5590     5590
- Misses         5467     5477      +10
  Partials        428      428

Impacted Files
Coverage Δ
Complexity Δ

...amework/apollo/common/controller/WebMvcConfig.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

Continue to review full report at Codecov.

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

Coverage decreased (-0.05%) to 52.353% when pulling 2a537f44bb65519878e114bed879a84f37f3e2ae on nobodyiam:adjust-cache-control into a27bb73a45cda4809a8f4382cc220613aa18aeb1 on ctripcorp:master.


[API] Rename 'name' to 'names' in the parameters of /api/feature-metas

changes needed:

swagger.yaml
FeaturesMetaResource
updated the swaggen files in pazuzu using go-swagger

Also check further for other naming inconsistency problems

Can we close this? I think there were some big changes recently, including to the names parameter, and they're all merged to master already.

the feature-metas resource doesn't exist anymore. So this issue is obsolete -> closing.


Docs Grammar and Typos

Skills
Some of the skills you could see yourself learning & applying as you go along:

Git/GitHub
Markdown
English

What needs to be done
The docs site is still new so there is bound to be typos and grammatical errors. All english correction pull requests are welcome and greatly appreciated.
How to do it
If you see a URL with a typo, you can go to the content/ directory and go into the corresponding the .md markdown file to make changes. For example, if I wanted to fix a typo in https://docs.atsign.com/sdk/flutter/introduction/, the file path would be somewhere in content/docs/sdk/flutter/. Sometimes you need to go into a folder and open a index.md file.
Support
In case you need any kind of help (such as getting your environment setup or asking questions about our tech) don’t be afraid to ask in our discord.

Hello! I would like to work on this during Hacktoberfest! It would be amazing to help with the changes.
For starting:

We can start by fixing the "Getting Started" link in the ReadMe file of the project which is currently broken
On 'start' page of the website, the link doesn't work for "IOT" and "Flutter"
Proper spacing in the Atmosphere Pro's - Forking the repository.

I will be trying to find the grammar errors and typos for as many pages as I can and try to update them in issue if you want before hacktoberfest! Appreciate it if you can assign the issue to me :)

Hi There! I would like to help you with this...can you guide me on how I contribute?

There is a typo mistake on "https://docs.atsign.com/sdk/"..., can you guide me how I can fix it?

One more thing..your discord has no discord group link too

no discord group link too

Wow my fault. This link should work now.

Hello! I would like to work on this during Hacktoberfest! It would be amazing to help with the changes.
For starting:

We can start by fixing the "Getting Started" link in the ReadMe file of the project which is currently broken
On 'start' page of the website, the link doesn't work for "IOT" and "Flutter"
Proper spacing in the Atmosphere Pro's - Forking the repository.

I will be trying to find the grammar errors and typos for as many pages as I can and try to update them in issue if you want before hacktoberfest! Appreciate it if you can assign the issue to me :)

Hey! Thanks so much for your interest.
I've made the first two you mentioned into issues (which can be found here: #161 and #162). Could you please elaborate on the 3rd bullet point you mentioned?
Also if you could comment on the issues itself, I think I should be able to assign the issue to you. If you need help with anything, please ask over at our discord (or just reply to this issue, anything is fine).

Hello! I would like to work on this during Hacktoberfest! It would be amazing to help with the changes.
For starting:

We can start by fixing the "Getting Started" link in the ReadMe file of the project which is currently broken
On 'start' page of the website, the link doesn't work for "IOT" and "Flutter"
Proper spacing in the Atmosphere Pro's - Forking the repository.

I will be trying to find the grammar errors and typos for as many pages as I can and try to update them in issue if you want before hacktoberfest! Appreciate it if you can assign the issue to me :)

Hey! Thanks so much for your interest.
I've made the first two you mentioned into issues (which can be found here: #161 and #162). Could you please elaborate on the 3rd bullet point you mentioned?
Also if you could comment on the issues itself, I think I should be able to assign the issue to you. If you need help with anything, please ask over at our discord (or just reply to this issue, anything is fine).

For the third point: After each attached screenshot in the tutorial, the text starts without any line spaces! Do you want me to elaborate more?

Hello! I would like to work on this during Hacktoberfest! It would be amazing to help with the changes.
For starting:

We can start by fixing the "Getting Started" link in the ReadMe file of the project which is currently broken
On 'start' page of the website, the link doesn't work for "IOT" and "Flutter"
Proper spacing in the Atmosphere Pro's - Forking the repository.

I will be trying to find the grammar errors and typos for as many pages as I can and try to update them in issue if you want before hacktoberfest! Appreciate it if you can assign the issue to me :)

Hey! Thanks so much for your interest.
I've made the first two you mentioned into issues (which can be found here: #161 and #162). Could you please elaborate on the 3rd bullet point you mentioned?
Also if you could comment on the issues itself, I think I should be able to assign the issue to you. If you need help with anything, please ask over at our discord (or just reply to this issue, anything is fine).

For the third point: After each attached screenshot in the tutorial, the text starts without any line spaces! Do you want me to elaborate more?

Perfectly elaborated, @krupalitrivedi .
I'll make the issue. Thanks a lot :)

hey, @TylerTrott can I please work on this issue?
assign me!
I will try to find the typos for as many pages as possible and update them in issue if you want before hacktoberfest! Appreciate it if you could assign the issue to me :)
Thank you!

Hey @JeremyTubongbanua, I would like to help out with this throughout hacktoberfest.
For starters, I found an issue with the Flutter and IoT link on this page. Page - https://docs.atsign.com/start/

On clicking the above links it seems to be redirecting to the same page. Are you also seeing this issue?
If yes, hope I can work on it and resolve it.
Thanks :)


Keyboard should go over FloatingActionButton instead of pushing it up

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce

Create any project with FloatingActionButton and TextField.
Tap TextField

Expected results
FloatingActionButton remains at its position.
Actual results
FloatingActionButton is positioned above the keyboard.
This is awkward, what is the use case for it? If I tapped a TextField in which I want to type stuff in there is chance of FAB covering up part of the TextField or parts of other UI... it is not a functional problem but for sure not pleasant to look at.
Moreover, this kind of behavior does not exist on native Android (example Compose "Reply" sample app) and I assume it is not according to Material guidelines.
I am aware there are tricks to hide it but point of this issue is should this behavior be there in the first place?
Code sample
Code sample
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});
  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  int _counter = 0;

  void _incrementCounter() {
    setState(() {
      _counter++;
    });
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
        title: Text(widget.title),
      ),
      body: LayoutBuilder(
        builder: (context, constraints) => SingleChildScrollView(
          child: ConstrainedBox(
            constraints: BoxConstraints(
                minHeight: constraints.maxHeight,
                minWidth: constraints.maxWidth),
            child: IntrinsicHeight(
              child: Column(
                mainAxisAlignment: MainAxisAlignment.center,
                children: <Widget>[
                  const Spacer(),
                  for (int i = 0; i < 3; i++) ...[
                    Padding(
                      padding: const EdgeInsets.symmetric(horizontal: 16.0),
                      child: TextField(
                        maxLines: 5,
                        decoration: InputDecoration(
                            hintText: 'Textfield $i', filled: true),
                      ),
                    ),
                    const SizedBox(height: 16),
                  ],
                  const Text(
                    'You have pushed the button this many times:',
                  ),
                  Text(
                    '$_counter',
                    style: Theme.of(context).textTheme.headlineMedium,
                  ),
                  const Spacer(flex: 3),
                ],
              ),
            ),
          ),
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: const Icon(Icons.add),
      ),
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration

Logs
No response
Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.16.0, on macOS 14.1.1 23B81 darwin-arm64, locale en-US)
    • Flutter version 3.16.0 on channel stable at /Users/djordje/Development Tools/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision db7ef5bf9f (13 days ago), 2023-11-15 11:25:44 -0800
    • Engine revision 74d16627b9
    • Dart version 3.2.0
    • DevTools version 2.28.2

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/djordje/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/djordje/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A240d
    • CocoaPods version 1.14.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

[✓] VS Code (version 1.84.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.76.0

[✓] Connected device (6 available)
    • sdk gphone64 arm64 (mobile)          • emulator-5554                        • android-arm64  • Android 14 (API 34) (emulator)
    • Android SDK built for arm64 (mobile) • emulator-5556                        • android-arm64  • Android 8.0.0 (API 26) (emulator)
    • Android SDK built for arm64 (mobile) • emulator-5558                        • android-arm64  • Android 9 (API 28) (emulator)
    • iPhone 15 (mobile)                   • 7D809D8E-5386-4185-9E43-7E1EBE1A7D75 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-17-0 (simulator)
    • macOS (desktop)                      • macos                                • darwin-arm64   • macOS 14.1.1 23B81 darwin-arm64
    • Chrome (web)                         • chrome                               • web-javascript • Google Chrome 119.0.6045.159

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Hi @DjordjeMancic97

I assume it is not according to Material guidelines.

I don't see this mentioned in the M3 specs. If you see it, please share it.
For the main issue, you can try below code to solve it:
floatingActionButton: Visibility(
	visible: MediaQuery.of(context).viewInsets.bottom == 0.0,
	child: FloatingActionButton(
		onPressed: _incrementCounter,
		tooltip: 'Increment',
		child: const Icon(Icons.add),
	),
),

Hi @DjordjeMancic97

I assume it is not according to Material guidelines.

I don't see this mentioned in the M3 specs. If you see it, please share it.
For the main issue, you can try below code to solve it:
floatingActionButton: Visibility(
	visible: MediaQuery.of(context).viewInsets.bottom == 0.0,
	child: FloatingActionButton(
		onPressed: _incrementCounter,
		tooltip: 'Increment',
		child: const Icon(Icons.add),
	),
),

Hi, I am aware of the solution - and it works, all good. BUT if you google this behaviour you will find tons of questions on how to remove it. Material guidelines do not specify wether FAB should be above keyboard, so we can neither confirm nor deny that. However, I asked on their Github so let me get back to you once we get a response.
Since Compose is doing this differently and they also follow Material design - someone is not doing it right then 😄 . It could be the case that both are correct behaviours but then Material guidelines should specify what is considered a "default" behaviour. Because, what are the guidelines for if everyone does as they wish with it..
Anyway, thank you for response, will share here once I find out more.

I read the linked issue https://github.com/material-components/material-components-android/issues/3876, perhaps we need to have someone from UX team for the insights.
From a perspective from Flutter, I wonder how this should be designed in the related API, should it be proposed as an optional parameter of Scaffold, or is implementation with Visibility as above sufficient?

Since Compose is doing this differently and they also follow Material design - someone is not doing it right then

Could you take a look at Compose source there and check if it's a default behavior or the example implements it manually?

Just checked with the Material UX, FAB should not be pushed by the keyboard, when it enters. Neither Views or Compose implementation have this as the default behavior. The UX rationale is "when people are typing in the keyboard, their key intent/user goal is not using the FAB".

I read the linked issue material-components/material-components-android#3876, perhaps we need to have someone from UX team for the insights.
From a perspective from Flutter, I wonder how this should be designed in the related API, should it be proposed as an optional parameter of Scaffold, or is implementation with Visibility as above sufficient?

Since Compose is doing this differently and they also follow Material design - someone is not doing it right then

Could you take a look at Compose source there and check if it's a default behavior or the example implements it manually?

Scaffold parameter would be handy for sure, fix with Visibility is definitely not a valid solution for this. While it works in simple examples we exchanged here, it will not work in more complex / nested situations and then we must resort to doing this with keys, state management or plugins like keyboard_visibility.. I can always share example code where its just not enough to use Visibility and ViewInsets if needed.
As @pekingme said it is indeed not intended behaviour so what I see as a solution is removing it and possibly add Scaffold flag to enable it (which is off by default). But again if Material doesn't recognize this behaviour as valid, I guess adding a Scaffold flag for it would kinda be an anti pattern for Material based framework.

I see as a solution is removing it and possibly add Scaffold flag to enable it (which is off by default)

Thank you for the update.  Labeling this as a feature request.

New updates from UX:
There are some new internal discussions about whether the FAB should be pushed when keyboard shows up (or leave that as an option for makers). We can hold on changing the default behavior for now.


New icon for mixed operation results

What's the Problem?
Currently if there a mix of successful and failed (not sure if it also does it during active ones) it will show the badge as failed.
Solution/Idea
Add a new badge colour orange with a tilde (~) icon
Alternatives
None
Priorities
No response
Files Version
<IP_ADDRESS>
Windows Version
10.0.19043.1387
Comments
No response

Merging with #4811.


Issue 7: Landing page: Carousel and Hero Carousel

Please always provide the GitHub issue(s) your PR is for, as well as test URLs where your change can be observed (before and after):
Fix Issue 7 (partial).
Test URLs:

Before: https://main--caesars-careers--hlxsites.hlx.page/drafts/mathern/carousel
After: https://issue-7-carousel--caesars-careers--hlxsites.hlx.page/drafts/mathern/carousel
Before: https://main--caesars-careers--hlxsites.hlx.page/drafts/mathern/hero
After: https://issue-7-carousel--caesars-careers--hlxsites.hlx.page/drafts/mathern/hero

Features:

Moves over carousel from https://github.com/hlxsites/caesars
Adds the overlay for the carousel images when the carousel is in a hero section
Handles the carousel having 2 images + text, 1 video/alt image+text or only 1 image+text (for easier authoring)
Renames chevron to arrow

https://github.com/hlxsites/caesars-careers/issues/7


Bump ROSA, osdctl, ocm and Velero versions

Bumps versions for ROSA, osdctl, ocm and Velero to their latest
releases.
Signed-off-by: Christopher Collins<EMAIL_ADDRESS>

LGTM


Passing localstorage is necessary while using supabase-js in a deno runtime

Improve documentation
Link
This page could be improved
Describe the problem
While using supabase-js using deno, I ran into an issue: the client was not saving the session. I figured out this comes from the client meant to be used in a browser and then using local storage. Indeed manually passing the storage while initializing the client fixed the issue:
const supabase = createClient(env.API_URL, env.SUPABASE_KEY, {
  auth: {
    storage: localStorage,
  },
});

I struggled to find the solution and had to test things based on function signatures, and other people would like to be able to use the client on a server.
Describe the improvement
The above page should mention this and provide a solution for Deno and nodejs. Tho for nodejs a third-party package might be necessary.
Related issues
I believe supabase/supabase-js#683 is related to the same issue, tho with nodejs.

You should also be able to set the client's auth > persistSession option as false. This will cause the session to be stored in memory.
Either way, you are correct - it needs some documentation.

Yes, indeed, and this is a particularly useful (and probably widely needed) use-case for edge functions performing actions on the DB.

You should also be able to set the client's auth > persistSession option as false. This will cause the session to be stored in memory.
Either way, you are correct - it needs some documentation.

Setting persistSession to false doesn't work. It is still not creating the in-memory session.

You should also be able to set the client's auth > persistSession option as false. This will cause the session to be stored in memory.
Either way, you are correct - it needs some documentation.

Setting persistSession to false doesn't work. It is still not creating the in-memory session.

What makes you say this? Unless code has recently changed, it's one or the other. If true, it attempts to use local storage; if false, it uses memory via variables in the client.

Hey, I have been struggling with this problem for hours and setting that flag to false alone didn't make any difference.
This worked for me though:
this.clientInstance = createClient(
  this.configService.get('SUPABASE_URL'),
  this.configService.get('SUPABASE_KEY'),
  {
    global: {
      headers: {
        Authorization: this.request.headers.authorization,
      }
    }
  }
);

Glad you got it working.
There are some links to examples, which talk about passing global headers.
https://supabase.com/docs/guides/functions
👇
https://github.com/supabase/supabase/blob/master/examples/edge-functions/supabase/functions/select-from-table-with-auth-rls/index.ts#L26

For Cloudflare Workers, this was the solution:
const supabase_client = createClient(c.env.SUPABASE_URL, c.env.SUPABASE_KEY, {
  auth: {
    persistSession: false
  }
})

Thanks to https://github.com/supabase/supabase-js/issues/684#issuecomment-1376620014 for explaining it! (Just writing this comment so that I and others will find it indexed on Google in the future.)


Remove Silex as a dependency

Now that Silex is in maintenance mode and Symfony 4 is recommended instead—I would suggest that Silex is removed as a dependency in dev.
This PR also updates the psr/log and symfony/polyfill-mbstring libraries.

The functional test could be replaced by a symfony kernel.


Inconsistency between geometry.wkt and wkt.dumps(geometry)

Correct me if I am wrong, but I think there is still an inconsistency in the wkt/shapely-object/wkt roundtrip.
If I do not set WKTWriter.defaults['trim'] = False and then say:
from shapely import geometry
line = geometry.LineString([(13.51039642756912, 52.598912814414675), (13.525173800277184, 52.60620240344557)])
print line.wkt
print wkt.dumps(line)

I am getting two different results:
LINESTRING (13.51039642756912 52.59891281441467, 13.52517380027718 52.60620240344557)
LINESTRING (13.5103964275691197 52.5989128144146747, 13.5251738002771837 52.6062024034455717)

A side question: Why is it that even in the wkt.dumps version of the result, the value of the original wkt coordinate has some added digits (52.598912814414675 --> 52.5989128144146747) ?

@rajanski I don't understand why setTrim(FALSE) in GEOS removes one non-zero zero compared to the undefined trim case. I'm going to make line.wkt and wkt.dumps(line) consistent, defaulting to trim=False for each.

@rajanski I just pushed some tests to verify that .wkt and wkt.dumps() produce the same results. I think that round tripping decimals through WKT with GEOS is just not perfect and will close this up if you don't mind.