Enhancement Request: Support for Sending Data to Multiple Mixpanel Projects

I would like to request an enhancement to the mixpanel_api_ex library to support sending data to multiple Mixpanel projects based on specific criteria. Currently, the library is designed to interact with a single Mixpanel project using a configured token.
Use Case:
In certain scenarios, it is necessary to send data to different Mixpanel projects based on the data itself, such as distinguishing between projects for different clients or segments.
Requested Functionality:
This enhancement request aims to enable the library to send data to multiple Mixpanel projects simultaneously. Ideally, this functionality would allow developers to configure and manage multiple instances of the mixpanel_api_ex client, each with its own Mixpanel project token, and direct data to the appropriate instance based on specific criteria, such as the data content.
Example:
A potential use case is an application that serves multiple clients, and each client has its own Mixpanel project. Based on the client associated with a user’s action, the application should send the data to the corresponding Mixpanel project.
config :mixpanel_api_ex, :config,
   project_name: : project_one,
   project_token: "<Put Project Token here>",
   active: true

config :mixpanel_api_ex, :config,
   project_name: : project_two,
   project_token: "<Put Project Token here>",
   active: true

Mixpanel.track(: project_one, event, properties, opts)
Mixpanel.track(: project_two, event, properties, opts)

Performance and resource implications:
Providing the ability to manage multiple Mixpanel clients should be done in a way that is efficient and does not introduce significant overhead.
Please consider this enhancement request to make the mixpanel_api_ex library even more versatile for handling diverse use cases involving multiple Mixpanel projects. 🚀
Thank you for your attention to this request.

This feature has been already implemented actually. I'm going to release a new version soon.

Will try tomorrow and let you know asap 🔥🔥🔥 Many thanks!

@asakura Well, I was able to setup new version and run multiple instances. It works like a charm and sending events accordingly 👏 🥳 💯 🚀
Only one issue I had when I should always explicitly define an adapter for each config, as it does not pick Mixpanel.HTTP.HTTPC by default  like it was before. If I am not providing the adapter for config :mixpanel_api_ex, then it compiles fine, but producing the error as soon an event being triggered
** (UndefinedFunctionError) function HTTP.HTTPC.get/3 is undefined (module HTTP.HTTPC is not available)
......
......

@Vitaly-A-Ivanov just let you know that it was fixes in 1.2.1

@asakura thanks for the update! Just to let you know that new your VERSION file has not released for some reason and it causing the bug:
** (File.Error) could not read file "VERSION": no such file or directory
    (elixir 1.15.5) lib/file.ex:358: File.read!/1

@Vitaly-A-Ivanov I hope that 1.2.2 fixes that :)

@asakura I can confirm all issues has been resolved in 1.2.2 version 🚀 Thanks so much!


List php required extensions in readme

Hi!
Nice job on daux.io.
I've been trying to install it on a clean ubuntu server, and got some cryptic error messages.
Perhaps it would be nice to list the dependencies on php-mbstring and php-xml
Best,
Daan

Hi, Thanks :D
I added the extension requirements in the README and on the Getting Started page.


Web Application Sitemaps

Extend the web application provisioner to generate and attach sitemaps corresponding to the infrastructure being deployed. See sitemap-cli

This is related to another repo


getMessageLink raise BOT_METHOD_INVALID

send report to @tdlib_bot

This error printed in log doesn't affect request response in any way.

If only it doesn't get worse when you fix it. I wrote it down for myself. :-)

Fixed in master. Thanks.


Update bootstrap-icons to 1.7.0

Updates org.webjars.npm:bootstrap-icons from 1.6.1 to 1.7.0.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.webjars.npm", artifactId = "bootstrap-icons" } ]

labels: library-update, early-semver-minor, semver-spec-minor

Superseded by #42.


406 Not Acceptable application/vnd.elasticsearch+json

Hi

Software
Version

PHP
8.1

Elasticsearch
7.10.2

Laravel
9.26.1

Laravel Scout
9.4

After setup this package and the elastic-migrations the php artisan elastic:migrate command  gave this error

Migrating: 2022_09_25_163212_create_event_index

Elastic\Elasticsearch\Exception\ClientResponseException

406 Not Acceptable: {"error":"Content-Type header [application/vnd.elasticsearch+json; compatible-with=8] is not supported","status":406}

My elasticsearch is 7.10.2 because I use the AWS OpenSearch
thanks.

I have the same problem


Cannot use SupabaseClient without dart:html or dart:io in Supabase Edge functions

Describe the bug
The SupabaseClient constructor throws "Cannot create a client without dart:html or dart:io." error when used in Supabase Dart Edge functions with the supabase_functions package.
An error message looks like the following:
[Error] ub {
  a: "Cannot create a client without dart:html or dart:io.",
  "$thrownJsError": Unsupported operation: Cannot create a client without dart:html or dart:io.
    at Object.J (file:///home/deno/functions/dart_edge/main.dart.js:246:3)
    at Object.v (file:///home/deno/functions/dart_edge/main.dart.js:253:14)
    at Object.wV (file:///home/deno/functions/dart_edge/main.dart.js:2861:15)
    at Object.e2 (file:///home/deno/functions/dart_edge/main.dart.js:2859:14)
    at Object.Xa (file:///home/deno/functions/dart_edge/main.dart.js:2685:3)
    at e.$1 (file:///home/deno/functions/dart_edge/main.dart.js:5492:8)
    at file:///home/deno/functions/dart_edge/main.dart.js:5516:19
    at Gs.a (file:///home/deno/functions/dart_edge/main.dart.js:1401:63)
    at Gs.$2 (file:///home/deno/functions/dart_edge/main.dart.js:3545:14)
    at Object.DI (file:///home/deno/functions/dart_edge/main.dart.js:1381:11)
}

To Reproduce
main.dart:
import 'package:edge_http_client/edge_http_client.dart';
import 'package:supabase/supabase.dart';
import 'package:supabase_functions/supabase_functions.dart';

void main() {
  SupabaseFunctions(fetch: (request) {
    final supabaseUrl = Deno.env.get('SUPABASE_URL')!;
    final supabaseKey = Deno.env.get('SUPABASE_SERVICE_ROLE_KEY')!;

    // This SupabaseClient constructor throws an error:
    SupabaseClient(
      supabaseUrl,
      supabaseKey,
      httpClient: EdgeHttpClient(),
    );

    return Response('OK');
  });
}

pubspec.yaml:
name: supabase_flutter_test
description: A sample command-line application.
version: 1.0.0

environment:
  sdk: ^3.0.6

dependencies:
  edge_http_client: ^0.0.1+3
  supabase: 1.11.9
  supabase_functions: 0.0.2+4

dev_dependencies:
  lints: ^2.0.0

Steps to reproduce the behavior:

Build and serve the Edge function.
Call the dart_edge function using Postman/curl/etc.
Observe an Internal Server Error response and an error message in the functions console.

Version:
supabase_flutter_test 1.0.0
├── supabase 1.11.9
│   ├── functions_client 1.3.2
│   ├── gotrue 1.12.4
│   ├── postgrest 1.5.1
│   ├── realtime_client 1.3.0
│   ├── storage_client 1.5.3
└── supabase_functions 0.0.2+4
Additional context
flutter doctor output:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.10.6, on macOS 13.5 22G74 darwin-arm64, locale en-UA)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 15.0)
[✓] Chrome - develop for the web
[!] Android Studio (not installed)
[✓] IntelliJ IDEA Community Edition (version 2023.1.4)
[✓] VS Code (version 1.82.2)
[✓] Connected device (2 available)
[✓] Network resources

! Doctor found issues in 1 category.

It seems that this issue was caused by the 1.3.0 version of the realtime_client package, overriding it to version 1.2.3 helped.
dependency_overrides:
  realtime_client: 1.2.3

Related issue: https://github.com/supabase/supabase-flutter/issues/666


Database Creation

[x] Make a mysql Database
Needed Database elements

[x] User

User name

Profile picture (optional)

Friend List

Stream/post list

friend request list

id

login info

following list

location (server id)

[x] Posts

author

file type (markdown/plaintext/github file/etc)

privacy/privilege

date

content

image url

title/subject

id

tags?

comment list

[x] Comments *will inherit the privilege from the post

contents

author

image url

id

[x] Admin

id

login info

node id?

server list?

all posts list?

user list

wannabe user list

draft database schema
users{
id,
username PK,
pwd,
}
posts{
id PK,
author FK users,
type,
privilege,
pub_time,
content,
img_url,
}
admins{
id,
username PK,
pwd,
node_id FK nodes,
}
nodes{
id,
nodename PK,
userid FK users,
}
comments{
id PK,
author FK users,
text,
pub_time,
}
friending{
userid PK FK users,
friend_id PK FK users,
}
following{
userid PK FK users,
following_id PK FK users,
}
commenting{
post_id PK FK posts,
comment_id PK FK comments,
}
waiting{
node_id PK FK nodes,
waiting_id PK FK users,
}

do we need tags or something in our posts? I'm not sure how twitter and hash tags work really
and what are nodes here?
Otherwise looks good so far to me

We could take tags as optional, as it is not required in the spec.
The node table basically records which server(node) authors are in. It will make things easier when it comes to admin adds/deletes authors from the server. Also, it may be a good schema since we need to connect to other servers later on.

has the one Post model that is in the post.models.py file been tested and can work to create objects right now using whatever database the default is with django? I'm not sure how to test it by creating objects from the terminal right now... I tried it in ipython or python environment but am unsure. It should work just like these instructions right?: https://docs.djangoproject.com/en/1.8/topics/db/models/

Yes, I tried with the default /admin administration page, almost works well. There is a little bug though, we can fix that using custom admin page later on.

Are we still planning using MySQL instead of Postgres? The official document suggests that Postgres is the best choice. However, it is pretty easy to switch database though,  I am currently sticking to sqlite3 in development.

I personally like the way the documentation for django all supports the Postgres... and really even though we have experience with MySQL, we would have to reference most things anyways because it's been awhile I'm sure for our memories.... so maybe referencing something that is similar but well-documented within django for our use would make our lives easier


Fixed php7-pear on base-alpine

The package php7-pear has moved from testing to community.
I applied some tweaks as well on the apk commands :

apk --update doesn't  update the package index. Replaced it with `-U`` which does.
consider using --no-cache instead of `rm -rf /var/cache/apk/*``. Same behavior but is built-in Alpine.

-U could be replaced with --update-cache, see alpine's wiki.

Doubled check (and tested) the changes, everything should be fine.

Thanks @BastienM! See you used @edge instead of the @community tag. I'll close the other PR.


[jss-shorthand] Plugin for using css shorthands in a MUCH nicer way

Currently in CSS and JSS we write:
button: {
  background: 'no-repeat 50% 50%'
  backgroundSize: 'auto 22px'
}

Much nicer would be to write:
button: {
  background: {
    repeat: 'no-repeat',
    position: '50% 50%',
    size: ['auto', 22] // bonus - numeric value will allow jss-default-unit to set the default unit.
  }
}

@kof https://github.com/typical000/jss-shorthand created and published a new plugin for this purposes. But there are 2 main issues:

It doesn't work with jss-default-unit plugin;
It breaks 'fallback' feature from jss core.

@kof Maybe, if it's a good idea, I can transfer this repo from my personal repository to jsstyles organisation, if you want :)

cool @typical000, lets see if we can fix it and then add it to the org.

@kof I have no idea how to solve issue about beaking 'fallback' because there is no visual difference between writing shorthand background (for example, in my case) and fallback background. All those rules are arrays:
export default {
  container: {
    background: [
      'red',
      'linear-gradient(to right, red 0%, green 100%)'
    ]
  }
}

And about default units bug - maybe add some tests if is not only a number but an array with numbers too...

You got a visual difference, in your example above, background value is an array, it is a fallback case. If background would be an object - this is a case for shorthand (not sure shorthand is the best name)

So first of all this plugin needs to run before jss-default-unit and it needs to normalize original objects like this:
button: {
  background: {
    repeat: 'no-repeat',
    position: '50% 50%',
    size: ['auto', 22]
  }
}

to
button: {
  backgroundRepeat: 'no-repeat',
  backgroundPosition: '50% 50%',
  backgroundSize: 'auto 22px'
}

Regarding default-unit, we need to find a way to use it directly, because  'auto 22px' is not going to get a default.

Regarding fallbacks, the only case we can't have is: fallbacks inside of the expanded notation:
{
  button: {
    background: {
      color: ['black', 'white']
    }
  }
}

If background would be an object

Yes, it's the only right solution that don't break JSS 'fallback' feature - change this syntax
button: {
    background: [
      'linear-gradient(to left, #f00, transparent)',
      'linear-gradient(to top, #0f0, transparent)'
    ]
}

to
button: {
    background: {
      image: [
        'linear-gradient(to left, #f00, transparent)',
        'linear-gradient(to top, #0f0, transparent)'
      ]
    }
}

Yes, the only problem is multi-value props (don't know the right name), for e.g. background-size: auto 20px, I have suggested to use this syntax backgroundSize: ['auto', 20], to enable default unit and this is not compatible with fallbacks, that's why I have suggested something like a fallbacks property to re-enable fallbacks.

Basically this issue is about 2 features:

being able to write in the expanded way
being able to use default units everywhere

Regarding default-unit, we need to find a way to use it directly, because 'auto 22px' is not going to get a default.
I'ts a trouble. I think the only right way is just use default-unit before shorthand and, maybe, check not only if prop is a number but if it is an array that contains numbers and try add units to those numbers with plugin

So first of all this plugin needs to run before jss-default-unit and it needs to normalize original objects like this

Now, my plugin, as result, creates short rules like background, padding, margin etc. like:
background: #ccc url(image.png) no-repeat 0 0;

And if we normalize original object to separated rules as you say, like this:
button: {
  backgroundRepeat: 'no-repeat',
  backgroundPosition: '50% 50%',
  backgroundSize: 'auto 22px'
}

The resulting CSS will look as separated piceces of background shorthand rule:
background-color: #ccc;
background-image: url(image.png);
background-repeat: no-repeat;
background-position: 0 0;

So the question: @kof there is any important difference to write 'short' rules or to write them expanded?

The problem is for e.g. background-size property can't be part of background shorthand notation. Am I wrong? In this case we need to know all props with this problem to write them separately.
Another benefit would be: plugins could potentially check/modify stuff based on expanded props. Using shorthand requires string parsing, which would make the whole thing slow and error prone.

There is other problem. If we take other rule, not background but, for example, box-shadow it will look very messy if we decide to write some multiple shadow:
What we need as output:
box-shadow: 0 0 50px 10px rgba(0, 0, 0, 0.5), 10px 10px 10px 0 rgba(0, 0, 0, 0.5), inset 0 0 5px 0 rgba(255, 255, 255, 0.8);

How we can write now:
button: {
  // Very, veeeery strange code :(
  boxShadow: '0 0 50px 10px rgba(0, 0, 0, 0.5), 10px 10px 10px 0 rgba(0, 0, 0, 0.5), inset 0 0 5px 0 rgba(255, 255, 255, 0.8)';
}

In case of current version of jss-shorthand:
button: {
  boxShadow: [
    // A little better, I think :)
    '0 0 50px 10px rgba(0, 0, 0, 0.5)',
    '10px 10px 10px 0 rgba(0, 0, 0, 0.5)',
    'inset 0 0 5px 0 rgba(255, 255, 255, 0.8)'
  ];
  // OR
  boxShadow: [{
    // Too much code, but looks separated one box-shadow part from another
    x: 0,
    y: 0,
    blur: '50px',
    spread: '10px',
    color: 'rgba(0,0,0,0.5)'
  }, {
    blur: '5px',
    color: 'rgba(0,0,0,0.5)'
  }, {
    x: 0,
    y: 0,
    blur: '50px',
    spread: '10px',
    color: 'rgba(0,0,0,0.5)',
    inset: 'inset'
  }]
}

And finally, if we normalize objects before, as @kof say, it will look like this:
button: {
  // It looks like VERY STRANGE construction and it is not so usable in real life :(
  boxShadow: {
    x: [0, '10px'],
    y: [0, '10px'],
    blur: ['10px', '10px', '5px'],
    spread: ['10px', 0, 0],
    color: [
      'rgba(0, 0, 0, 0.5)',
      'rgba(0, 0, 0, 0.5)',
      'rgba(255, 255, 255, 0.8)'
    ],
    inset: [
      // Don't know what to do here, only set 'outset'
      'outset',
      'outset',
      'inset'
    ]
  }
}

And in case of box-shadow we can't make any normalizations like you described in background

Your last example is not what I ment, your second example sounds about right.
button: {
  boxShadow: [
    // A little better, I think :)
    '0 0 50px 10px rgba(0, 0, 0, 0.5)',
    '10px 10px 10px 0 rgba(0, 0, 0, 0.5)',
    'inset 0 0 5px 0 rgba(255, 255, 255, 0.8)'
  ];
  // OR
  boxShadow: [{
    // Too much code, but looks separated one box-shadow part from another
    x: 0,
    y: 0,
    blur: '50px',
    spread: '10px',
    color: 'rgba(0,0,0,0.5)'
  }, {
    blur: '5px',
    color: 'rgba(0,0,0,0.5)'
  }, {
    x: 0,
    y: 0,
    blur: '50px',
    spread: '10px',
    color: 'rgba(0,0,0,0.5)',
    inset: 'inset'
  }]
}

But second example is how it works now, but this is an array of object. And this array breaks 'fallback' feature. How can we modify this code keeping in mind:

Code must be clear and understandable as much as possible
Don't break 'fallback' feature
?

True, need to think about it more.

As for me - in jss-shorthand from syntax "point of view" it's all ok and all code is clear and understandable. As for 'fallback' feature by itself - I think, that combination prop.constructor === Array => is fallback is bad and unclear solution and can create more and more problems when JSS with plugins growth.
Maybe we need to rethink not how to adjust shorthands plugin to avoid breaking fallback but how to change or make fallback feature more clear ?  As I see it - create separated plugin, something like jss-fallback wich apllies fallbacks in this way:
button: {
  background: linear-gradient(bla-bla),
  fallback: {
    background: red
  }
}

Why plugin - because, in my case, i haven't used such fallbacks for arount 1 or more years. Although I write CSS almost every day

yep, you are right, fallbacks syntax is in the way.

However fallbacks is kinda part of css and I feel like it should be part of the core in jss ...

So currently we have ideas:
Deprecation of array values as fallbacks:
button: {
  background: linear-gradient(bla-bla),
  fallbacks: [
    {background: 'red'}
  ]
}

Keep array values for fallbacks, use a function for value formatting:

import {boxShadow} from 'css-functions'

button: {
  background: ['linear-gradient(bla-bla)', 'red'],
  ... boxShadow([{
      x: 0,
      y: 0,
      blur: '50px',
      spread: '10px',
      color: 'rgba(0,0,0,0.5)'
  }])
}

As for me - first approach is better, because:

Visually, inspecting source code (styles) you can easly identify fallbacks (because they are a separated block) and remove them in near future if you need to drop supporting old browsers
They are used not so frequently

updated examples

Yep, I agree, seems like we gonna have a breaking change soon.

but, why we need to use array and inside object?
fallbacks: [
    {background: 'red'}
  ],

maybe just:
fallbacks: {
    background: 'red',
    someOtherFallbackValue: value
},

because you may want to have not just one fallback, you can do that in css and there are practical use casees, however we can allow both, array and object literal.

So:

Fallbacks are done. Need to adapt tests of jss-shorthand and possibly improve alogrythm due to https://github.com/jsstyles/jss/commit/2bee87e051bf0982afd99120b2cc3ad0561cd6d0 or just retest.
Solve problem with using jss-default-unit and jss-shorthand together. Because default-unit grabs only props as number, in my case there are arrays or object with nested numbers. I have already created a pull request https://github.com/jsstyles/jss-default-unit/pull/6

@kof can you have a look to pull request?

Did a CR, see the PR. Regarding "jss-shorthand" plugin name. Any better suggestions? Because basically we are allowing a more expaneded syntax, maybe a better name would be "jss-unfold" or "jss-expand" ...

Ok, thanks. I'll see comments.
About name - you're right. I think that jss-expand will be better. I will rename it soon

Based on code review, added some fixes to jss-default-unit pull request https://github.com/jsstyles/jss-default-unit/pull/6
Renamed and updates jss-shorthand plugin.

New name is jss-expand https://github.com/typical000/jss-expand
Added additinal tests based on new fallback feature https://github.com/jsstyles/jss/commit/2bee87e051bf0982afd99120b2cc3ad0561cd6d0

now version 5 is released and we can continue on this

@typical000 do you want to host jss-expand under jsstyles organization?

@kof Yes. Why not. But I think it's better to add after:

https://github.com/jsstyles/jss-default-unit/pull/6 fixes to PR and merging it to master
Reorganizing code and removing now inutile functionality from jss-expand due to 5.1.0 version release

What do you plan to do in jss-expand?

@kof https://github.com/typical000/jss-expand/issues/3 this.

Maybe we can close this issue? :)

Yeah lets create more specific issues for remaining tasks.


[DEVEX-835] fix: unstable itemViewHeight

Changes:
Replaced the getIntrinsicHeight() with getCurrent().getBounds().centerY()*ICON_SIZER
This way there is a uniformity among all the icons. The default ICON_SIZER is 3 to compensate with the near-ish safe distance followed by Branch SDK as of now.
Reviewers:
@Sarkar @aaaronlopez @apeterson-branch

Does this work for non samsung phones as well?

can you PR to Staging?

@Sarkar Yes - the issue is reproducible on non-Samsung also and this fixes for all.
@aaaronlopez created a new one to Staging. Totally missed it.


parallel message flows

Great project.
I'd like to have the parallel message flows, in some way.
For the following example:
A->B:hello
B->A:hello_ack
C->D:hello
D->C:hello_ack
The communications between C and D do not depend on A and B, so communications between C and D do not necessarily happen after that between A and B. And in the generated chart,  the first hello and the second hello may be side by side, not necessary from top to down.

Big thumbs up on this.  Now that async-await is a thing in ES6, asynchronous flows are more the norm than the exception.  Being able to diagram such flows would be really slick.
If I may offer a suggestion for a possible approach to this:

Denote Async blocks using indentation, with each block starting with a :(block name) line (with block name being optional)
Async blocks flow sequentially with events above/below them
Adjacent async blocks flow in parallel to one another
Async blocks can be nested

For example:
X->B: XB
  :BA sequence
  B->A: BA
  A->B: BA_ack
  :BD sequence
  B->D: BD
    :DC sequence
    D->C: DC
    C->D: DC_ack
    :DE sequence
    D->E: DE
    E->D: DE_ack
  D->B: BD_ack
B->X: XB_ack

Would render as:
X            A            B            C           D            E
|------------|------------|------------|-----------|------------|
| > XB -----------------> |            |           |            |
|            | < BA ----< | > BD ----------------> |            |
|            | > BA_ack > |             < DC ----< | > DE ----> |
|                         |             > DC_ack > | < DE_ack <
|                         | < BD__ack -----------< |
|< XB_ack --------------< |

(Note: A nice enhancement would be to label the block if a block name is provided.)


First click on link scrolls to incorrect position

I have a navbar with 4 links with their scroll-to-component (to) and all other props defined. When I click any of the link for first-time after a page refresh, it takes me some few pixels down than the actual component. I have also set up offset for each link, still for the first time when I click on any link, it takes me to the incorrect position.
After the first click, it behaves as expected and scrolls to perfect component.
Why is it for only the first link click? Not getting any clue.
Any help will be highly appreciated.
Thank you ;)

I experienced the same behavior, but it turned out that the first child of the target scroll-to-component had a top margin.  Removing this top margin solved the problem for me.

I experienced the same behavior, but it turned out that the first child of the target scroll-to-component had a top margin. Removing this top margin solved the problem for me.

I'm still not able to solve this. I don't have any margin-top on the target element. Still, it takes me a few pixels down the intended position. Not sure why this is the case

I am having similar problem also but i am getting it on every click .
I don't know why.

I had the same issue and it turned out that my wrapper element (wrapping the target element) had negative top margin which effected the scrolling behavior. After I removed the negative top margin it worked.


error keeps showing even if net storage is removed

{
"type": "https://problems.luna.akamaiapis.net/papi/v0/validation/generic_behavior_issue.netstorage_group_not_available",
"errorLocation": {
"template": "templates/Maintenance_page_origins.json",
"variables": [
"environments/dev/variables.json"
],
"location": "children/0/behaviors/0/options/netStorage",
"value": {
"downloadDomainName": "sitemaps.download.akamai.com",
"cpCode":1111,
"g2oToken": null
}
},
"detail": "Origin Server: The NetStorage Account (sitemaps.download.akamai.com) cannot be used with this property because the NetStorage Account is not associated with this property's group. Please contact your Account Administrator to resolve this."
}
]'

not using terraform.
using command line - Akamai CLI

@tpimenta88 thank you for bringing this issue to our attention. I will try to reproduce it and contact you if I need more information.

Hello @tpimenta88,
Could you please provide more details which action you tried to perform using cli-property-manager?
Please describe steps you have performed, in order to receive error which you reported? It will help us to resolve this issue.
Regards,
Michał

Hi,
so after opening case with Akamai support, regarding this they found that the Netstorage cpcode in question was created erroneously.
It worked with the Akamai portal but when used via API, permissions were missing hence the error.
They didn't elaborate on which permission but made the change so CLI no longer complains on cpcode.
It now complains/error on the following issue also reported titled :
DXE-2447 command >> update-local | incomplete , possible missing arguments

Hi @tpimenta88,
Could this issue be closed?
Best regards,
Tatiana Slonimskaia


Add renovate to keep javascript dependencies up to date

This seems to be done considering the number of blocked PRs due to the emscripten issue


Add --yes flag to delete commands to prevent unintentional deletions

Current behavior
For example, the vault delete command will ask for confirmation on tty's, but won't prevent the user from deleting a vault on non-tty's.
Desired behavior
We should add a --yes flag to delete commands so that:

TTY: ask for confirmation if --yes is not passed
Non TTY: fail if --yes is not passed

A similar approach is done in the ockam reset command.

Can i take this task?

@rjtch Sure! it's all yours!

I added the --yes flag to all delete methods of all commands. Or are  there  any specific delete where i should add the flag to?

Adding the --yes flag to all existing delete methods is fine. We don't have any special case in any specific delete command right now.

Fixed with https://github.com/build-trust/ockam/pull/5289


Adapt ServiceCatalog to handle connector state

A new attribute is needed by Service Catalog to display the general health of each nuvlabox.

check edition of that simple attribute works
agree with UI on its name
adapt Service Attribute resource for its metadata.
avoid represent this attribute in Service Catalog

Part of US https://github.com/SixSq/NuvlaBox/issues/115

[ ] Agreed on schema name for attributes
[ ] agree on state and last-online attributes (impact on UI)


Banners Should Support Videos

Banners on pages should support auto-playing videos (like the Project Sidewalk webpage). Videos will obviously have to be carefully selected for this.

This seems to require modifications to the Banner model. Should we exclude this from Hackerthon Task?

Good point. Yes. Tag removed.

Here's a test video we can try: https://www.dropbox.com/scl/fi/jgz279kqv4cbm59fpi1mi/SoundWatch_720p.mp4?rlkey=ddr30zn6tazytx19ly9w2zcwv&dl=0

From Bing Chat:
To serve a video as a background in an HTML banner, you can use the HTML5 <video> tag. Here's a simple example:

    <video autoplay loop muted playsinline>
        <source src="path_to_your_video.mp4" type="video/mp4">
    </video>

In the CSS, you can make the video fill the banner like this:
.banner {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 500px; /* Adjust as needed */
}

.banner video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
}

This will ensure that the video always covers the entire banner, regardless of its aspect ratio.
To optimize the video for web use, you can consider the following:

Video Format: Use MP4 format as it is widely supported and offers good quality for smaller file sizes.
Video Length: Keep your video short. A shorter video means a smaller file size.
Video Quality: You don't need a high-resolution video for a background. Reducing the quality will significantly decrease the file size.
Video Bitrate: Lowering the bitrate reduces the file size but also reduces video quality. Find a balance that maintains an acceptable quality.
Use a Video Converter: There are many online tools and software that can help you optimize your videos for web use.

Remember to include a fallback image for browsers that do not support the <video> tag:

    <video autoplay loop muted playsinline poster="fallback.jpg">
        <source src="path_to_your_video.mp4" type="video/mp4">
    </video>

In this case, fallback.jpg will be displayed if the video cannot be loaded. The poster attribute specifies an image to be shown while the video is downloading, or until the user hits the play button.
Please note that autoplaying videos might not work on some mobile devices due to data-saving features. Always test on multiple devices and browsers to ensure compatibility.

There are some JavaScript libraries that support interfacing with YouTube videos--again, this is all from Bing Chat.
The mb_YTPlayer is a part of the jquery.mb.YTPlayer library¹. This is an open-source jQuery component that allows you to easily build your custom YouTube® player or use a YouTube® video as a background for your page¹.
It's also available as a WordPress plugin called mb.YTPlayer for background videos². This plugin lets you play any YouTube® video as the background of your WordPress® page or post².
You can find more details and usage examples on the GitHub page of the jquery.mb.YTPlayer library¹.
Source: Conversation with Bing, 10/21/2023
(1) GitHub - pupunzi/jquery.mb.YTPlayer: use a custom yutube player for a .... https://github.com/pupunzi/jquery.mb.YTPlayer.
(2) mb.YTPlayer for background videos - WordPress plugin. https://wordpress.org/plugins/wpmbytplayer/.
(3) GitHub - pupunzi/jquery.mb.YTPlayer: use a custom yutube player for a .... https://github.com/pupunzi/jquery.mb.YTPlayer.
(4) jQuery mb.YTPlayer | jQuery Plugin Registry. https://plugins.jquery.com/jquery.mb.YTPlayer.
(5) undefined. https://github.com/pupunzi/jQuery.mb.vimeo_player.
(6) undefined. http://candidio.com/blog/how-to-remove-ads-from-your-youtube-videos.
(7) undefined. http://www.youtube.com/watch?v=V2rifmjZuKQ.
And some alternatives:
Here are some alternatives to the jquery.mb.YTPlayer library:

Vide: This is a jQuery plugin that allows you to add video backgrounds or cover images to your pages. It's easy to use and offers a lot of customization options¹.
BigVideo.js: This library makes it easy to add fit-to-fill background video to your website. It can play silent ambient background video, and also has the option to choose a preferred YouTube video².
Vidage: Vidage is a helper library for fullscreen background video. It automatically handles the creation of necessary additional DOM elements³.
Coverr: Coverr offers beautiful, free videos for your homepage background. You can download and integrate the videos easily with their script⁴.
YTPlayer for WP: If you're using WordPress, mb.YTPlayer for background videos is a WordPress plugin that lets you play any YouTube® video as the background of your WordPress® page or post⁵.

Please note that while these libraries offer similar functionality, there might be differences in terms of usage, customization options, and browser compatibility. Always check the documentation for each library to ensure it fits your specific needs.
Source: Conversation with Bing, 10/21/2023
(1) jquery.mb.YTPlayer - Libraries - cdnjs - The #1 free and open source .... https://cdnjs.com/libraries/jquery.mb.YTPlayer.
(2) GitHub - pupunzi/jquery.mb.YTPlayer: use a custom yutube player for a .... https://github.com/pupunzi/jquery.mb.YTPlayer.
(3) mb.jquery.components | Pupunzi. https://pupunzi.open-lab.com/mb-jquery-components/.
(4) undefined. http://pupunzi.open-lab.com/mb-jquery-components/jquery-mb-ytplayer/.
(5) undefined. https://cdnjs.cloudflare.com/ajax/libs/jquery.mb.YTPlayer/3.3.9/jquery.mb.YTPlayer.min.js.
(6) undefined. https://cdnjs.cloudflare.com/ajax/libs/jquery.mb.YTPlayer/3.3.9/cover.png.
(7) undefined. https://cdnjs.cloudflare.com/ajax/libs/jquery.mb.YTPlayer/3.3.9/jquery.mb.YTPlayer.js.
(8) undefined. https://cdnjs.cloudflare.com/ajax/libs/jquery.mb.YTPlayer/3.3.9/css/jquery.mb.YTPlayer.min.css.
(9) undefined. https://cdnjs.cloudflare.com/ajax/libs/jquery.mb.YTPlayer/3.3.9/css/font/ytp-regular.eot.
(10) undefined. https://cdnjs.cloudflare.com/ajax/libs/jquery.mb.YTPlayer/3.3.9/css/font/ytp-regular.ttf.
(11) undefined. https://cdnjs.cloudflare.com/ajax/libs/jquery.mb.YTPlayer/3.3.9/css/font/ytp-regular.woff.
(12) undefined. https://cdnjs.cloudflare.com/ajax/libs/jquery.mb.YTPlayer/3.3.9/css/images/raster.png.
(13) undefined<EMAIL_ADDRESS>(14) undefined. https://cdnjs.cloudflare.com/ajax/libs/jquery.mb.YTPlayer/3.3.9/css/images/raster_dot.png.
(15) undefined<EMAIL_ADDRESS>(16) undefined. https://github.com/pupunzi/jQuery.mb.vimeo_player.

This is now implemented and on production!


Cells submitted to the interactive window from a Python script don't have timer in the cell status bar

Originally reported by @greazer

Fixed via https://github.com/microsoft/vscode-jupyter/commit/2b3fdb7ef5eae0bae50adf1b126060b09b857278


React to deprecation of UserSecrets repo

https://github.com/aspnet/dotnet-watch/pull/163
https://github.com/aspnet/UserSecrets/pull/107
cc @pranavkm @Eilon

:shipit:

Does this affect 1.0.0 release in anyway?

For the moment, we are leaving aspnet/UserSecrets so we could build 1.0.x version. If we want to delete aspnet/UserSEcrets for real, we would move the 1.0.0 source code to the "master" branches of aspnet/Configuration and aspnet/DotNetTools


New version: Anki.Anki version 23.12.1

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.5 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Hi @fabio-muramatsu,

This PR's version number 23.12.1 has 3 parameters (sets of numbers between dots - major, minor, etc), which is greater than the current manifest's version 23.12, which has 2 parameters.

Is this intentional?
(Automated response - build 508)


fix: use company.name instead of app.company_name

Description :sparkles:
HL-1524
Use application.company.name instead of application.company_name as the latter is not always present.
Issues :bug:
Testing :alembic:
Screenshots :camera_flash:
Additional notes :spiral_notepad:

API branch is deployed to platta: https://helsinkilisa-pr3449.api.dev.hel.ninja/healthz :rocket::rocket::rocket:

APPLICANT branch is deployed to platta: https://helsinkilisa-ui-pr3449.dev.hel.ninja :rocket::rocket::rocket:

HANDLER branch is deployed to platta: https://helsinkilisa-ui-handler-pr3449.dev.hel.ninja :rocket::rocket::rocket:

TestCafe applicant result is failed for https://helsinkilisa-ui-pr3449.dev.hel.ninja :crying_cat_face::anger::boom::boom:

TestCafe handler result is failed for https://helsinkilisa-ui-handler-pr3449.dev.hel.ninja :crying_cat_face::anger::boom::boom:


HadGEM3-GC31-MM tasmin

We decided to run this one eventually and I created a new card by mistake : #587


Support speech recognition with whisper models and seq2seq.

What does this PR do?
Adds examples of running speech recognition with different datasets and the whisper with seq2seq transformer models.

Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[X] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@emascarenhas Can you run the following from the root of the repo to make the code style check pass please?
pip install -U ruff
make style

@emascarenhas Can you run the following from the root of the repo to make the code style check pass please?
pip install -U ruff
make style

Yes this shows no errors now.

@regisss , Let me know if there any additional actions for me.

@emascarenhas can you add ci test also?

I can. Can you provide an example of someone adding it like a specific commit? It will make it lot faster to add it with an example.

@emascarenhas can you add ci test also?

I can. Can you provide an example of someone adding it like a specific commit? It will make it lot faster to add it with an example.

I'll add the test in test_examples.py as this script has become big and hard to apprehend.
What I would need is a new JSON file called whisper_large.json in optimum-habana/tests/baselines such as this one: https://github.com/huggingface/optimum-habana/blob/main/tests/baselines/wav2vec2_large_lv60.json
Basically this compiles hyperparameters (batch size, learning rate), metrics to check (throughput, accuracy, etc) and the training args to pass.
If you cannot run the example on Gaudi1, that's fine and I'll run it.

@emascarenhas can you add ci test also?

I can. Can you provide an example of someone adding it like a specific commit? It will make it lot faster to add it with an example.

I'll add the test in test_examples.py as this script has become big and hard to apprehend. What I would need is a new JSON file called whisper_large.json in optimum-habana/tests/baselines such as this one: https://github.com/huggingface/optimum-habana/blob/main/tests/baselines/wav2vec2_large_lv60.json Basically this compiles hyperparameters (batch size, learning rate), metrics to check (throughput, accuracy, etc) and the training args to pass. If you cannot run the example on Gaudi1, that's fine and I'll run it.

@regisss ,
Thanks for the tip.
How do I decide which of the several parameters to specify from among the ones in the README.md. The whisper large has these parameters for training and evaluation, and I'm wondering if I should specify all of them in the extra_arguments in the json file? Is it ok to do only an inference test, or need both inference and training?
python ../gaudi_spawn.py
--world_size 8 --use_mpi run_speech_recognition_seq2seq.py
--model_name_or_path="openai/whisper-large"
--dataset_name="mozilla-foundation/common_voice_11_0"
--dataset_config_name="hi"
--language="hindi"
--train_split_name="train+validation"
--eval_split_name="test"
--gaudi_config_name="Habana/whisper"
--max_steps="5000"
--output_dir="./results/whisper-large-hi"
--per_device_train_batch_size="16"
--gradient_accumulation_steps="2"
--per_device_eval_batch_size="16"
--logging_steps="25"
--learning_rate="1e-5"
--warmup_steps="500"
--evaluation_strategy="steps"
--eval_steps="1000"
--save_strategy="steps"
--save_steps="1000"
--generation_max_length="225"
--preprocessing_num_workers="16"
--length_column_name="input_length"
--max_duration_in_seconds="30"
--text_column_name="sentence"
--freeze_feature_encoder="False"
--gradient_checkpointing
--group_by_length
--bf16
--overwrite_output_dir
--do_train
--do_eval
--predict_with_generate
--use_habana
--use_hpu_graphs_for_inference

Yeah it's a bit tricky without knowing the structure of the test folder sorry :slightly_frowning_face:
Can you let me know the results you get for the following metrics with the command you gave?

train_runtime
train_samples_per_second
eval_samples_per_second
eval_wer

Yeah it's a bit tricky without knowing the structure of the test folder sorry 🙁 Can you let me know the results you get for the following metrics with the command you gave?

train_runtime
train_samples_per_second
eval_samples_per_second
eval_wer

Perhaps you can use these results for now. I think this is only inference and I can get the numbers for training & inference on gaudi2 later this week, and these can be added subsequently in another PR.
***** eval metrics *****
eval_loss                   =     0.7318
eval_runtime                = 0:57:04.04
eval_samples                =       2894
eval_samples_per_second     =      0.845
eval_steps_per_second       =      0.053
eval_wer                    =     2.2266

With Synapse 1.14.0 we have to set  --preprocessing_num_workers=1 (with 1.13 were were able to set this to 16). I see that you already made this change.
Training takes a really long time, so perhaps you can set some of the options so that the run takes less time.
For example running this:  python ../gaudi_spawn.py --world_size 8 --use_mpi run_speech_recognition_seq2seq.py --model_name_or_path=openai/whisper-large --dataset_name=mozilla-foundation/commoset_config_name=hi --language=hindi --train_split_name=train+validation --eval_split_name=test --gaudi_config_name=Habana/whisper --max_steps=1000 --output_dir=/home/t/whisper-large-hi --per_device_train_batch_size=16 --gradient_accumulation_steps=2 --per_device_eval_batch_size=16 --logging_steps=25 --learning_rate=1e-5 --warmup_ste_strategy=steps --eval_steps=500 --save_strategy=steps --save_steps=500 --generation_max_length=225 --preprocessing_num_workers=1 --length_column_name=input_length --mnds=30 --text_column_name=sentence --freeze_feature_encoder=False --gradient_checkpointing --group_by_length --bf16 --overwrite_output_dir --do_train --do_eval --prediuse_habana --use_hpu_graphs_for_inference --use_lazy_mode
Capturing some of the output here:
[INFO|trainer.py:726] 2024-02-29 17:20:15,657 >> ***** Running training *****
[INFO|trainer.py:727] 2024-02-29 17:20:15,657 >>   Num examples = 6,540
[INFO|trainer.py:728] 2024-02-29 17:20:15,657 >>   Num Epochs = 39
[INFO|trainer.py:729] 2024-02-29 17:20:15,657 >>   Instantaneous batch size per device = 16
[INFO|trainer.py:732] 2024-02-29 17:20:15,657 >>   Total train batch size (w. parallel, distributed & accumulation) = 256
[INFO|trainer.py:733] 2024-02-29 17:20:15,657 >>   Gradient Accumulation steps = 2
[INFO|trainer.py:734] 2024-02-29 17:20:15,657 >>   Total optimization steps = 1,000
[INFO|trainer.py:735] 2024-02-29 17:20:15,660 >>   Number of trainable parameters = 1,541,384,960
Result:
epoch                       =      38.46
max_memory_allocated (GB)   =      94.59
memory_allocated (GB)       =      26.61
total_memory_available (GB) =      94.62
train_loss                  =     0.0485
train_runtime               = 2:35:01.97
train_samples               =       6540
train_samples_per_second    =     27.521
train_steps_per_second      =      0.108
I eventually got a memory allocation failure on this run in the prediction step.

I also updated the commands in the README and added two things to speed up the runs:

a label_features_max_length training argument that enables to specify a padding size for label features defined here, otherwise they have many different shapes that regularly trigger compilations
--dataloader_num_workers 8 as data loading is often a bottleneck for image and audio inputs, it helps a lot

I also decreased the batch size for evaluation as I also noticed an out-of-memory error otherwise.
I'm going to add a test in the CI (even though the WER may be bad, I'll find better hyperparameters later) and merge this PR today.

@regisss , Thanks for your help on this!

LGTM!
I added regression tests for Gaudi1 and Gaudi2. We can probably find better hyperparameters to get a much better WER but we can do that later.

Yes. Thank you!


Make nft drop contracts use custom contract page

We'll test in testjam

📝 Changed routes:

…on-drop/[edition-drop]
…s]/nft-drop/[nft-drop]

(view full size)
(view full size)

…-drop/[signature-drop]
…oken-drop/[token-drop]

(view full size)
(view full size)

Commit 071c3410b9cee02bb9b6cb6ba580ae8b7aecf901 (https://thirdweb-em6l5gvnz-thirdweb.vercel.app).


Cannot input character "∎" (U+220E END OF PROOF)

The character "∎" (U+220E END OF PROOF) is necessary to end equational reasoning blocks, but there is no ASCII input sequence to type this character using agda-mode.  It appears that the emacs version of agda-mode uses \qed for this purpose.  Would it be possible for this package to do the same?

@danilkolikov has also addressed this in #44 earlier this week.
After some investigation, I found that, along with 5 other symbols (\geq, \leq, \bullet, \qed, par and newline), they were all excluded by the keymap generator for some reason I have yet to recall XD


Support Spring Boot 2.4 (generally, but especially for AzureAD authentication)

Hi
I'm upgrading my app to Spring Boot 2.4.1 but have unfortunately hit a dependency issue.
I've downgraded the nimbus library to 7.1 as per other posts, but it seems that spring security itself is relying on a different version. There wasn't a ticket about this per-se and keen to see if there's an easy resolution whilst (#17808  or #17986 are being worked on). I wasn't sure that #17808 definitely fixes the problem - but is there a solution in the meantime?
Relevant parts from my pom files:
    <parent>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-parent</artifactId>
        <version>2.4.1</version>
        <relativePath/>
    </parent>

  <dependency>
            <groupId>com.microsoft.azure</groupId>
            <artifactId>azure-active-directory-spring-boot-starter</artifactId>
            <version>2.3.5</version>
        </dependency>
        <dependency>
            <groupId>com.microsoft.azure</groupId>
            <artifactId>azure-spring-boot-starter</artifactId>
            <version>2.3.5</version>
        </dependency>
        <!-- adding to ensure compatibility -->
        <dependency>
            <groupId>com.nimbusds</groupId>
            <artifactId>nimbus-jose-jwt</artifactId>
            <version>7.9</version>
        </dependency>

The app now starts up (didn't without the downgrade to 7.9 nimbus) but it now fails on the authentication/authorisation process:
java.lang.NoSuchMethodError: 'void com.nimbusds.jose.proc.JWSVerificationKeySelector.<init>(java.util.Set, com.nimbusds.jose.jwk.source.JWKSource)'
	at org.springframework.security.oauth2.jwt.NimbusJwtDecoder$JwkSetUriJwtDecoderBuilder.jwsKeySelector(NimbusJwtDecoder.java:333)
	at org.springframework.security.oauth2.jwt.NimbusJwtDecoder$JwkSetUriJwtDecoderBuilder.processor(NimbusJwtDecoder.java:348)
	at org.springframework.security.oauth2.jwt.NimbusJwtDecoder$JwkSetUriJwtDecoderBuilder.build(NimbusJwtDecoder.java:361)
	at org.springframework.security.oauth2.client.oidc.authentication.OidcIdTokenDecoderFactory.buildDecoder(OidcIdTokenDecoderFactory.java:167)
	at org.springframework.security.oauth2.client.oidc.authentication.OidcIdTokenDecoderFactory.lambda$createDecoder$3(OidcIdTokenDecoderFactory.java:129)
	at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1705)
	at org.springframework.security.oauth2.client.oidc.authentication.OidcIdTokenDecoderFactory.createDecoder(OidcIdTokenDecoderFactory.java:128)
	at org.springframework.security.oauth2.client.oidc.authentication.OidcIdTokenDecoderFactory.createDecoder(OidcIdTokenDecoderFactory.java:66)
	at org.springframework.security.oauth2.client.oidc.authentication.OidcAuthorizationCodeAuthenticationProvider.createOidcToken(OidcAuthorizationCodeAuthenticationProvider.java:235)
	at org.springframework.security.oauth2.client.oidc.authentication.OidcAuthorizationCodeAuthenticationProvider.authenticate(OidcAuthorizationCodeAuthenticationProvider.java:154)
	at org.springframework.security.authentication.ProviderManager.authenticate(ProviderManager.java:182)
	at org.springframework.security.oauth2.client.web.OAuth2LoginAuthenticationFilter.attemptAuthentication(OAuth2LoginAuthenticationFilter.java:192)
	at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:222)
	at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:212)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.oauth2.client.web.OAuth2AuthorizationRequestRedirectFilter.doFilterInternal(OAuth2AuthorizationRequestRedirectFilter.java:178)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103)
	at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90)
	at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:110)
	at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:80)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:211)
	at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:183)
	at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:358)
	at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:271)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.springframework.session.web.http.SessionRepositoryFilter.doFilterInternal(SessionRepositoryFilter.java:141)
	at org.springframework.session.web.http.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:82)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:93)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:103)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374)
	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:888)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1597)
	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.base/java.lang.Thread.run(Thread.java:829)

Hi, @chrisburrell , now the azure-spring-boot-starter does not support spring-boot-2.4.x well, could you please use spring-boot2.3.5 for now?
After https://github.com/Azure/azure-sdk-for-java/pull/17808 merged, we will release a new GA version, then the problem will be fixed.
Next GA version will be released before the end of 2021.01.

@chenrujun as ticket which you mentioned is probably not valid (those versions are incompatible) do you have some workaround for now how to use spring-boot 2.4.x with azure spring boot (we are using currently azure-spring-boot-bom 2.3.5)?

@chenrujun as ticket which you mentioned is probably not valid (those versions are incompatible) do you have some workaround for now how to use spring-boot 2.4.x with azure spring boot (we are using currently azure-spring-boot-bom 2.3.5)?

@bilak , We just release 3.0.0, please  try this:
       <dependency>
            <groupId>com.azure.spring</groupId>
            <artifactId>azure-spring-boot-starter-active-directory</artifactId>
            <version>3.0.0</version>
        </dependency>

Refs: https://repo.maven.apache.org/maven2/com/azure/spring/azure-spring-boot-starter-active-directory/

@bilak , We just release 3.0.0, please  try this:
       <dependency>
            <groupId>com.azure.spring</groupId>
            <artifactId>azure-spring-boot-starter-active-directory</artifactId>
            <version>3.0.0</version>
        </dependency>

Refs: https://repo.maven.apache.org/maven2/com/azure/spring/azure-spring-boot-starter-active-directory/

@chenrujun I've just write to this issue because It has in name general spring boot 2.4 and I want to upgrade to spring boot 2.4. It's shame that I can't, even when spring boot 2.4 is out for more than 2 months :-1:

@chenrujun I've just write to this issue because It has in name general spring boot 2.4 and I want to upgrade to spring boot 2.4. It's shame that I can't, even when spring boot 2.4 is out for more than 2 months :-1:

@bilak
Sorry that we faced some problem when upgrade to spring boot 2.4.0.
Refs: https://github.com/Azure/azure-sdk-for-java/pull/17905
You can choose one of the options:

Try azure-spring-boot-starter-active-directory, check whether it work well with spring-boot 2.4.
Wait for next release. we will release azure-spring-boot-starter-xxx 3.2.0 in this month. which is work for spring-boot 2.4.

Hi,
azure-spring-boot-starter-active-directory 3.0.0 does not work either...
You're my last step to have a production ready reactive have in prod :-)
Best regards,

Hi,
azure-spring-boot-starter-active-directory 3.0.0 does not work either...
You're my last step to have a production ready reactive have in prod :-)
Best regards,

Hi, @Tcharl .

You're my last step to have a production ready reactive have in prod :-)

Do you mean you are using Web on Reactive Stack? We do not support reactive for our starters now.

Hi, @Tcharl .

You're my last step to have a production ready reactive have in prod :-)

Do you mean you are using Web on Reactive Stack? We do not support reactive for our starters now.

However, I succeed to use spring-boot-oauth2-client instead of azad dedicated library (what's the added value of the microsoft one?). App Insight  sdk is the last problematic one...

However, I succeed to use spring-boot-oauth2-client instead of azad dedicated library (what's the added value of the microsoft one?). App Insight  sdk is the last problematic one...

@Tcharl

what's the added value of the microsoft one?

We support other functions like:

Authorize multiple authorizedClient in one time.
Support on-demand consent.
Validate issuer and audience in JWT.
Support on-behalf-of flow.
etc..

Refs:

https://github.com/Azure/azure-sdk-for-java/tree/master/sdk/spring/azure-spring-boot-starter-active-directory#web-app-authenticate-in-web-app
https://github.com/Azure/azure-sdk-for-java/tree/master/sdk/spring/azure-spring-boot-samples/azure-spring-boot-sample-active-directory-webapp
https://github.com/Azure/azure-sdk-for-java/tree/master/sdk/spring/azure-spring-boot-samples/azure-spring-boot-sample-active-directory-resource-server

@Tcharl

what's the added value of the microsoft one?

We support other functions like:

Authorize multiple authorizedClient in one time.
Support on-demand consent.
Validate issuer and audience in JWT.
Support on-behalf-of flow.
etc..

Refs:

https://github.com/Azure/azure-sdk-for-java/tree/master/sdk/spring/azure-spring-boot-starter-active-directory#web-app-authenticate-in-web-app
https://github.com/Azure/azure-sdk-for-java/tree/master/sdk/spring/azure-spring-boot-samples/azure-spring-boot-sample-active-directory-webapp
https://github.com/Azure/azure-sdk-for-java/tree/master/sdk/spring/azure-spring-boot-samples/azure-spring-boot-sample-active-directory-resource-server

+1 on this. Spring Boot 2.4.2 with Azure SDK results in the following classnotfound exception (oidc version used in Azure is too old):
2021-01-25, 07:30:36 ERROR java.lang.ClassNotFoundException: com.nimbusds.oauth2.sdk.http.CommonContentTypes
	at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:471)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589)
	at org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(LaunchedURLClassLoader.java:151)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
	at com.microsoft.aad.adal4j.AdalTokenRequest.toOAuthRequest(AdalTokenRequest.java:158)
	at com.microsoft.aad.adal4j.AdalTokenRequest.executeOAuthRequestAndProcessResponse(AdalTokenRequest.java:86)
	at com.microsoft.aad.adal4j.AuthenticationContext.acquireTokenCommon(AuthenticationContext.java:930)
	at com.microsoft.aad.adal4j.AcquireTokenCallable.execute(AcquireTokenCallable.java:70)
	at com.microsoft.aad.adal4j.AcquireTokenCallable.execute(AcquireTokenCallable.java:38)
	at com.microsoft.aad.adal4j.AdalCallable.call(AdalCallable.java:47)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)

Please upgrade the following dependencies:
      <dependency>
        <groupId>com.nimbusds</groupId>
        <artifactId>oauth2-oidc-sdk</artifactId>
        <version>${oauth2-oidc-sdk.version}</version>
      </dependency>
      <dependency>
        <groupId>com.nimbusds</groupId>
        <artifactId>nimbus-jose-jwt</artifactId>
        <version>${nimbus-jose-jwt.version}</version>
      </dependency>

+1 on this. Spring Boot 2.4.2 with Azure SDK results in the following classnotfound exception (oidc version used in Azure is too old):
2021-01-25, 07:30:36 ERROR java.lang.ClassNotFoundException: com.nimbusds.oauth2.sdk.http.CommonContentTypes
	at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:471)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589)
	at org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(LaunchedURLClassLoader.java:151)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
	at com.microsoft.aad.adal4j.AdalTokenRequest.toOAuthRequest(AdalTokenRequest.java:158)
	at com.microsoft.aad.adal4j.AdalTokenRequest.executeOAuthRequestAndProcessResponse(AdalTokenRequest.java:86)
	at com.microsoft.aad.adal4j.AuthenticationContext.acquireTokenCommon(AuthenticationContext.java:930)
	at com.microsoft.aad.adal4j.AcquireTokenCallable.execute(AcquireTokenCallable.java:70)
	at com.microsoft.aad.adal4j.AcquireTokenCallable.execute(AcquireTokenCallable.java:38)
	at com.microsoft.aad.adal4j.AdalCallable.call(AdalCallable.java:47)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)

Please upgrade the following dependencies:
      <dependency>
        <groupId>com.nimbusds</groupId>
        <artifactId>oauth2-oidc-sdk</artifactId>
        <version>${oauth2-oidc-sdk.version}</version>
      </dependency>
      <dependency>
        <groupId>com.nimbusds</groupId>
        <artifactId>nimbus-jose-jwt</artifactId>
        <version>${nimbus-jose-jwt.version}</version>
      </dependency>

@jloisel .
We are working on it. Please wait for next release.
Refs: https://github.com/Azure/azure-sdk-for-java/blob/feature/core/reactorupgrade/eng/versioning/external_dependencies.txt#L224

@jloisel .
We are working on it. Please wait for next release.
Refs: https://github.com/Azure/azure-sdk-for-java/blob/feature/core/reactorupgrade/eng/versioning/external_dependencies.txt#L224

You can upgrade to Nimbus 9.4.1 and oidc 8.34.2. Your "upgraded" dependencies are already out of date.

You can upgrade to Nimbus 9.4.1 and oidc 8.34.2. Your "upgraded" dependencies are already out of date.

@jloisel
Thank you for your information.

Your "upgraded" dependencies are already out of date.

They are just patch version update. It's easy to us to update patch version.

@jloisel
Thank you for your information.

Your "upgraded" dependencies are already out of date.

They are just patch version update. It's easy to us to update patch version.

@chenrujun any news with release compatible with spring boot 2.4.x?

@bilak
If everything goes well, we will release new version with compatible with spring-boot 2.4.x at the end of this month.
Here are more details:

When we upgrade to spring-boot 2.4.x, we found a bug of netty: https://github.com/reactor/reactor-core/issues/2579
We need wait netty's next release. Here is netty's milestone: https://github.com/reactor/reactor-core/milestone/97?closed=1

reactor-core 3.4.3 is now available.

@jloisel
Thank you for your information.
This month's regular release have finished for some modules in this repo.
To keep the modules use the same version, reactor-core 3.4.x can be used from next month.
So we can not support spring-boot 2.4.x until next month's regular release.
Please wait.
Sorry for bring you trouble.

@chenrujun so we have next month, what is the status please? Are we going to wait next mont? :D

@bilak
Current plan is that we will release azure-spring-boot-starter-active-directory:3.3.0 before 2021-03-11, which will work with spring-boot:2.4.3

@chenrujun what about other libraries? azure-spring-boot-bom mainly.

@bilak other libraries will be released, too. For spring-boot 2.4.

Hey @chenrujun, are you folks still on target for a March release or are we looking at mid-April now?

@raniemi , on March release.

Looks like 3.3.0 was released 🎉
https://mvnrepository.com/artifact/com.azure.spring/azure-spring-boot-starter-active-directory/3.3.0

Closing this issue because 3.3.0 is released, which support spring-boot:2.4.3.

This is not solved as other azure artifacts rely on adal4j:
https://mvnrepository.com/artifact/com.microsoft.azure/adal4j/1.6.6
Which in turn is still depending on an old version of oauth2-oidc-sdk.

@jloisel
Sorry I can't get your point.
Could you please check our sample project?

It does not depends on adal4j:

There is no conflict about oauth2-oidc-sdk:

Same to nimbus-jose-jwt:

Standalone Azure client still does depend on it:
https://mvnrepository.com/artifact/com.microsoft.azure/adal4j/1.6.4/usages?p=1
We're using Azure client:
      <dependency>
        <groupId>com.microsoft.azure</groupId>
        <artifactId>azure</artifactId>
        <version>1.40.0</version>
      </dependency>

And it still transitively depends on adal4j, which in turn depends on old versions of oidc and nimbus.

Hi, @jloisel
Why are you using com.microsoft.azure:azure? I mean what do you use it for?
I think you should use com.azure.resourcemanager:xxx.

Seems like we need to use client 2.x.

Do you mean now you want to use com.azure.resourcemanager:xxx?

Hi,
We thought it was the right client to use, but we were wrong. I have migrated our codebase to use  azure-resourcemanager-compute along with azure-identity.
We use Azure client to start / stop instances on Azure automatically based on our client needs.

We use Azure client to start / stop instances on Azure automatically based on our client needs.

Hi, @saragluna .
IMU,
azure is track 1 library,
we should avoid using track 1 library.
Do we have track 2 library to start / stop instances on Azure?

@jloisel

We use Azure client to start / stop instances on Azure

Is the Azure client you referred to the azure-resourcemanager-compute library?

We used track 1 library until now. That's why we had issues with nimbus / oidc conflicts in Spring boot:
@Override
  public AzureClient newClient(final AzureAccount account) {
    final ApplicationTokenCredentials credentials = new ApplicationTokenCredentials(
      account.getClientId(),
      account.getTenantId(),
      account.getClientSecret(),
      ENVS.getOrDefault(account.getEnvironment(), AZURE));

    final Authenticated auth = Azure.authenticate(credentials);

    final Azure c = auth.withSubscription(account.getSubscriptionId());
    return new ImmutableAzureClient(
      c.disks(),
      c.networks(),
      c.virtualMachines(),
      c.publicIPAddresses(),
      c.networkInterfaces(),
      c.galleries()
    );

Now we use track 2 client:
@Override
  public AzureClient newClient(final AzureAccount acc) {
    final TokenCredential credential = new ClientSecretCredentialBuilder()
      .clientId(acc.getClientId())
      .clientSecret(acc.getClientSecret())
      .tenantId(acc.getTenantId())
      .build();
    final AzureEnvironment env = ENVS.getOrDefault(acc.getEnvironment(), AZURE);
    final AzureProfile profile = new AzureProfile(acc.getTenantId(), acc.getSubscriptionId(), env);

    final ComputeManager compute = ComputeManager
      .configure()
      .withLogLevel(BASIC)
      .authenticate(credential, profile);

    final NetworkManager network = NetworkManager
      .configure()
      .withLogLevel(BASIC)
      .authenticate(credential, profile);

    return new ImmutableAzureClient(
      compute.disks(),
      network.networks(),
      compute.virtualMachines(),
      network.publicIpAddresses(),
      network.networkInterfaces(),
      compute.galleries()
    );

We switched from using azure artifact to azure-resourcemanager-compute library.

@jloisel
After you use track 2 library, do you have any problem?

It's working fine now. :+1:

hi all, sorry I might be missing something here but I am facing same issue with spring boot 2.6.6. Could anyone please summarize whats the fix ?

Hi, @rahul-mb .
Thanks for reaching out. Could you please create a new issue and provide a sample app to reproduce the problem?


refactor(conductor): remove sync-completed signal

Summary
Removes the sync-completed signal from the sequencer reader.
Background
In the new implementation of syncing there is no need for reporting the sync status back to conductor because the celestia and sequencer readers can run concurrently.
Changes

Remove the sync-completed signal.

Related Issues
Part of https://github.com/astriaorg/astria/pull/691

i'm guessing we now don't distinguish between syncing and not in the DA reader?

Yes, the distinction is effectively removed. Syncin'ing and normal operation will the the same thing, but implemented in https://github.com/astriaorg/astria/pull/695 and ultimately https://github.com/astriaorg/astria/pull/699


 Godot doesn't support HTTP proxies yet, see #6100.
Also, double-check there's not a firewall blocking access to http://godotengine.org/asset-library/api/asset (try loading that URL in your browser).

No proxy, exceptions in Firewall are in place. The URL works in browser, yes.
Could my HMA-VPN be causing this?

https://godotengine.org/asset-library/api/asset (worked)
https://godotengine.org/asset-library/api/ (didn't work)

https://godotengine.org/asset-library/api/ (didn't work in browser)

This is expected, as that URL is the base API URL. The resource URL (such as /asset) is appended to that URL

https://godotengine.org/asset-library/api/ (didn't work in browser)
above address is what is displayed in Godot. Can I add /asset to it or is it done automatically?

Could my HMA-VPN be causing this?

Well, maybe, try disabling it and we'll know. Maybe another case of #27864 ?

No, disabling VPN didn't work.

I see, can you run the editor in verbose mode (via --verbose) and post the console output after clicking on the assetlib tab? Should give more informations about the network failure.
Can you also post the output of ifconfig in your machine (with VPN disabled)

Thanks Faless, could you elaborate on what I need to do? I'm kind of to Linux so I could use some help to give you what you need.

@affemannen

Open a terminal, type ifconfig press enter. Copy paste the result here.
Open a terminal, type /path/to/godot.bin --verbose -e --path /path/to/your/project. Change /path/to/godot.bin to the path of the godot binary, and /path/to/your/project with the path of your project folder.

The ifconfig gives:
`enp5s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
ether c8:60:00:4a:38:03  txqueuelen 1000  (Ethernet)
RX packets 0  bytes 0 (0.0 B)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 0  bytes 0 (0.0 B)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
inet <IP_ADDRESS>  netmask <IP_ADDRESS>
inet6 ::1  prefixlen 128  scopeid 0x10
loop  txqueuelen 1000  (Local Loopback)
RX packets 2597  bytes 231100 (231.1 KB)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 2597  bytes 231100 (231.1 KB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
tun0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>  mtu 1500
inet <IP_ADDRESS>  netmask <IP_ADDRESS>  destination <IP_ADDRESS>
inet6 2001:db8:123::2  prefixlen 64  scopeid 0x0
inet6 fe80::c2ae:7f96:6c24:5e1  prefixlen 64  scopeid 0x20
unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 100  (UNSPEC)
RX packets 1023752  bytes<PHONE_NUMBER> (1.3 GB)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 526950  bytes 34825539 (34.8 MB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
wlp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
inet <IP_ADDRESS>  netmask <IP_ADDRESS>  broadcast <IP_ADDRESS>
inet6 fe80::8aad:6f8b:763b:f753  prefixlen 64  scopeid 0x20
inet6 fdaa:bbcc:ddee:0:a0d1:428b:96f5:3f2b  prefixlen 64  scopeid 0x0
inet6 fdaa:bbcc:ddee:0:3dd5:c868:6242:98e5  prefixlen 64  scopeid 0x0
inet6 fdaa:bbcc:ddee:0:c460:316c:848:1fbe  prefixlen 128  scopeid 0x0
ether 00:08:ca:f3:ac:74  txqueuelen 1000  (Ethernet)
RX packets 1991575  bytes<PHONE_NUMBER> (2.5 GB)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 1025126  bytes 179129388 (179.1 MB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
Without the VPNenp5s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
ether c8:60:00:4a:38:03  txqueuelen 1000  (Ethernet)
RX packets 0  bytes 0 (0.0 B)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 0  bytes 0 (0.0 B)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
inet <IP_ADDRESS>  netmask <IP_ADDRESS>
inet6 ::1  prefixlen 128  scopeid 0x10
loop  txqueuelen 1000  (Local Loopback)
RX packets 2599  bytes 231178 (231.1 KB)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 2599  bytes 231178 (231.1 KB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
wlp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
inet <IP_ADDRESS>  netmask <IP_ADDRESS>  broadcast <IP_ADDRESS>
inet6 fe80::8aad:6f8b:763b:f753  prefixlen 64  scopeid 0x20
inet6 fdaa:bbcc:ddee:0:a0d1:428b:96f5:3f2b  prefixlen 64  scopeid 0x0
inet6 fdaa:bbcc:ddee:0:3dd5:c868:6242:98e5  prefixlen 64  scopeid 0x0
inet6 fdaa:bbcc:ddee:0:c460:316c:848:1fbe  prefixlen 128  scopeid 0x0
ether 00:08:ca:f3:ac:74  txqueuelen 1000  (Ethernet)
RX packets 1992811  bytes<PHONE_NUMBER> (2.5 GB)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 1025853  bytes 179288579 (179.2 MB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
`
I don't understand your second request as I've just installed Godot and was about to start using it when this problem occurred. I've made a project but it doesn't contain much.

Wrap the pasted text in triple backticks (```).

Ok, that's better :-)

Mmhhh, might be a case of broken dual stack?  Can you try those 2 commands in terminal? (I hope they are installed)

ping -c 5 godotengine.org
ping6 -c 5 godotengine.org

and post the result?

PING godotengine.org (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from web.tuxfamily.net (<IP_ADDRESS>): icmp_seq=1 ttl=47 time=59.0 ms
64 bytes from web.tuxfamily.net (<IP_ADDRESS>): icmp_seq=2 ttl=47 time=56.2 ms
64 bytes from web.tuxfamily.net (<IP_ADDRESS>): icmp_seq=3 ttl=47 time=60.3 ms
64 bytes from web.tuxfamily.net (<IP_ADDRESS>): icmp_seq=4 ttl=47 time=58.8 ms
64 bytes from web.tuxfamily.net (<IP_ADDRESS>): icmp_seq=5 ttl=47 time=59.0 ms

--- godotengine.org ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4005ms
rtt min/avg/max/mdev = 56.240/58.708/60.312/1.354 ms

Clearly, it has something to do with my VPN. I shut it down for the command but I don't want to not have it up and running, it has to. Maybe there is something in the VPN script that can be edited?

@affemannen oh, so it does work without your VPN? I thought it still didn't work :confused:
Anyway, what about the second command?
ping6 -c 5 godotengine.org
What does that output?

~$ ping6 -c 5 godotengine.org
connect: Network is unreachable

However, with VPN active this came up:
~$ ping6 -c 5 godotengine.org
PING godotengine.org(web.tuxfamily.net (2a02:2178:1000:201::4)) 56 data bytes

--- godotengine.org ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 4084ms

Yep, that's what a broken dual stack network looks like.
Probably something to do with the VPN tunnels tricking the engine into thinking there is an IPv6 network thus resolving the address as IPv6.
Not much we can do here unless someone wants to implement Happy Eyeballs into HTTPClient (which is the standardized hack to deal with broken dual stack network).
I wish we could finally call IPv4 dead and move on :sob:

I'll contact the HMA support on this and see what they come up with... probably nothing.
Thanks for all your help anyway, very much appreciated.

I wonder if you can use some /etc/hosts hackery to force that particular domain to resolve to an ipv4 addr

See also here: https://godotengine.org/qa/21458/https-request-failing-on-a-request-that-acts-weird

I just managed to work around this problem on my end, so posting here to help fellow Google users, as as of 3.3.4 stable the fix is not merged yet.
I managed to solve it by setting up a IPV6 DNS override on my network adapter, as apparently the one provided my my ISP wasn't working. (I used OpenDNS). Try this before cherry-picking a commit!

Workarounds are good, but Ideally the engine can work around broken
networks in general since it's not feasible to ensure that all users can
fix their broken dual stack themselves :)
On Mon., Oct. 4, 2021, 3:32 a.m. Pedro Ciambra, @.***>
wrote:

I just managed to work around this problem on my end, so posting here to
help fellow Google users, as as of 3.3.4 stable the fix is not merged yet.
I managed to solve it by setting up a IPV6 DNS override on my network
adapter, as apparently the one provided my my ISP wasn't working. (I used
OpenDNS). Try this before cherry-picking a commit!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/36418#issuecomment-933354184,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFGVIXFADEF4VI4NEWOGOLUFF7CRANCNFSM4KZCYPCA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


Error : Internal server 500 when download

Please help me !!!

I get 500 errors (which i think are incorrectly logged) as its actually a 204 in my case, you need to catch these errors so your app doesnt crash. Anyone else got any thoughts on this?

Encountered the same problem. Is nuts no longer supported?

you could try my fork, https://github.com/dopry/pecans I'm also on the look out for additional maintainers.

you could try my fork, https://github.com/dopry/pecans I'm also on the look out for additional maintainers.

Count me in, still pretty new to most thing, but I would love to try my hand.


HtmlPage.executeJavaScript() encoding issue

When trying to execute a Javascript function into a local HTML file test.txt it is not returning correctly.
Code example:
webClient = new WebClient(BrowserVersion.CHROME);
webClient.getOptions().setThrowExceptionOnScriptError(false);
webClient.getOptions().setCssEnabled(false);
webClient.getOptions().setAppletEnabled(false);
webClient.getOptions().setDownloadImages(false);

htmlPage = this.webClient.getPage("file:/" + htmlFile.getAbsolutePath());

ScriptResult scriptResult = htmlPage.executeJavaScript(expression);

The expression could be something like:
title = document.querySelector('#productTitle').textContent.trim()
or
category =  document.querySelector('#wayfinding-breadcrumbs_feature_div > ul > li > span > a').textContent.trim().
According this sample file, the results are:
"title": "Producto Uno Con AcentuaciÃ³n Para Probar Encoding. InterÃ©s y Otras Palabras Como AÃ±adir o BaterÃa"
and
"category": "ElectrÃ³nica"

The problem here is the file source. There is information about the used encoding when reading a plan file from disk. HtmlUnit handles this case the same way as the situation that the server does not provide any encoding information as part of the response. In these cases HtmlUnit (like real browsers) reads the file using the StandardCharsets.ISO_8859_1 encoding.
As simple solution write your file ISO_8859_1 encoded.
Please report if this is a possible for you your case, if not we have to build a more complex solution.

Perfect @rbri! Thanks for your support!


Error: "value" required in setHeader("cookie", value)

node bittrex.websockets.listen.example.js
Connecting ....
_http_outgoing.js:502
throw new Error('"value" required in setHeader("' + name + '", value)');
^
Error: "value" required in setHeader("cookie", value)
at validateHeader (_http_outgoing.js:502:11)
at ClientRequest.setHeader (_http_outgoing.js:511:3)
at new ClientRequest (_http_client.js:171:14)
at Object.request (http.js:39:10)
at Object.request (https.js:233:15)
at Object.get (https.js:237:21)
at negotiateProxies (/private/tmp/node.bittrex.api/node_modules/signalr-client/signalR.js:154:37)
at getBindings (/private/tmp/node.bittrex.api/node_modules/signalr-client/signalR.js:161:5)
at Object._client.getBinding (/private/tmp/node.bittrex.api/node_modules/signalr-client/signalR.js:756:9)
at clientInterface.client.start (/private/tmp/node.bittrex.api/node_modules/signalr-client/signalR.js:440:1

I believe this has been fixed earlier today - please make sure your package/repo is up-to-date and let me know

@paveltaran I had the same problem, then updated using the new NPM package and it works like a charm. Thanks @dparlevliet for being so on top of the game 🙏

No problem. Always happy to help my crypto brothers and sisters!

Oh yeah! 😃


Add edge support for cfgLogStreamDefault

fix missing support for edge when using scope run --cribldest[1]
the similar solution was already presented for the UNIX destination path
[2]

Link: 227e82c [1]
Link: 5e395d3 [2]
This Pull Request is an additional fix (post fix) for functionality introduced for the issue: #670 in Pull Request #688
QA Instructions:
Scenario:
Goal: Verify that when using:

AppScope cli
edge transport type as cribl destination

Terminal 1 - start server listening on UNIX socket /opt/cribl/state/appscope.sock
docker run --rm -it cribl/scope:<VERSION_ID>
apt update && apt install netcat -y
mkdir -p /opt/cribl/state/
nc -lU /opt/cribl/state/appscope.sock

Terminal 2 - start scoping ls using cribldest
docker exec -it <AppScope_container> bash
scope run -c edge ls

Observe that you were able to see events and metrics on Terminal 2.

I tested the following scenarios:
nc -lU appscope.sock
scope run -e appscope.sock -- ls

I receive events as expected ✅
nc -lU appscope.sock
scope run -m appscope.sock -- ls

I receive metrics as expected ✅
nc -lU appscope.sock
scope run -c appscope.sock -- ls

I receive a connection header, metrics, and events, as expected ✅
configuring cribl edge to listen on $CRIBL_HOME/state/appscope.sock
scope run -c appscope.sock -- ls

I see metrics and events in my capture window in logstream edge, as expected ✅

Looks good to me!  Merging.


unl0kr: 2.0.0 -> 2.0.3

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/unl0kr/versions.
meta.description for unl0kr is: Framebuffer-based disk unlocker for the initramfs based on LVGL
meta.homepage for unl0kr is: https://gitlab.com/cherrypicker/unl0kr
Updates performed

Version update

To inspect upstream changes
Impact
Checks done

built on NixOS
Warning: a test defined in passthru.tests did not pass
found 2.0.3 in filename of file in /nix/store/0ypz1a6286k53w0zra9q19fscwh9sih4-unl0kr-2.0.3

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
unl0kr

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/0ypz1a6286k53w0zra9q19fscwh9sih4-unl0kr-2.0.3 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A unl0kr https://github.com/r-ryantm/nixpkgs/archive/1d69c43e1c6562e190b89902162ba8695efc5e2a.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/1d69c43e1c6562e190b89902162ba8695efc5e2a#unl0kr

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/0ypz1a6286k53w0zra9q19fscwh9sih4-unl0kr-2.0.3
ls -la /nix/store/0ypz1a6286k53w0zra9q19fscwh9sih4-unl0kr-2.0.3/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

unl0kr

Maintainer pings
cc @tomfitzhenry for testing.

note that upstream unl0kr has been consolidated into the BuffyBox project. 2.0.3 remains the latest release at the moment though.

Can this be merged? I was thinking about creating a PR and then found this draft. Related: https://github.com/NixOS/nixpkgs/issues/298164

see https://github.com/NixOS/nixpkgs/pull/319126 which is working for me on actual hardware (x86_64 laptop, aarch64 pinephone, armv7 chromebook). i tried to run the nix tests with nix-build -A nixosTests.systemd-initrd-luks-unl0kr, but nix says i need a builder with the kvm feature for that. pretty low on my own priorities to figure that one out and show that it works in a virtual environment when i already have it working on the device in my hand...

Superseded by #319126


Dotcom shell + ToC – heading hidden under ToC

Detailed description

Describe in detail the issue you're having.

Because the masthead is not scrolling out of the viewport and the Masthead and ToC are stacking, the headings are hidden behind the ToC when the user selects one of the links in the ToC
Desktop

Medium & small

Is this a feature request (new component, new icon), a bug, or a general
issue?

Bug
Hoping this would be a non-issue if we could implement the scroll behavior of the masthead + toc #5573

Is this issue related to a specific component?

ToC Horizontal

What did you expect to happen? What happened instead? What would you like to
see changed?

Headings cannot be hidden, impacts the readability for the user.
If #5573 is prioritized we could possibly close this one

What browser are you working in?

Chrome

What version of Carbon for IBM.com are you using?

Referencing deploy preview of ToC Horizontal within dotcom shell stories

What offering/product do you work on? Any pressing ship or release dates we
should be aware of?

Steps to reproduce the issue

Step one
Step two
Step three
etc.

Additional information

Screenshots or code
Notes

Closing as (#5573 ) is now closed.


Add Quick Start guides for SQL and snd-s7 clients

Having commented on issue #521, it occurs to me that there are no Quick Start guides for the SQL and snd-s7 clients. I should add them before I forget how to use them. Some information about them is in the associated issues and PRs but a Quick Start guide would be easier for others to find.

Added:

https://github.com/Olical/conjure/wiki/Quick-start:-snd‐s7-(stdio)
https://github.com/Olical/conjure/wiki/Quick-start:-SQL-(stdio)

Oh nice, thank you very much!


fix windows wasm compilation with packages

cmake.lua error: couldn't find CMAKE_MAKE_PROGRAM
platform.lua error: toolchains was empty with wasm selected
wasm-test.zip


Reanimated 2 integration not working

Hi there,
I am attempting to get the following Reanimated 2 example working but although the Rect gets rendered, there is no animation.
I am using v0.1.107-alpha.
https://shopify.github.io/react-native-skia/docs/animations/reanimated

That works! Thank you :-)


Fix typo in docs for wasm proxy configuration

Signed-off-by: Anuraag Agrawal<EMAIL_ADDRESS>The reference doesn't match the API spec
https://github.com/proxy-wasm/spec/blob/56ef3547de853d4d989a5b866f510d3ae713d8d4/abi-versions/vNEXT/README.md#proxy_on_configure

/retest

@anuraaga looks like there is a branch conflict

@markdroth would you mind stamping this one

/lgtm api


Incompatibility between Firebase Auth 1.0.0 and Sentry 4.0.6

Platform:

[ ]  Dart
[ ]  Flutter Android or iOS
[X]  Flutter Web

IDE:

[X]  VSCode
[ ]  IntelliJ/AS
[ ]  XCode
[ ]  Other, which one?

split-debug-info and obfuscate (Flutter Android or iOS) or CanvasKit (Flutter Web):

[ ]  Enabled
[ ]  Disabled

Platform installed with:

[X] pub.dev
[ ] GitHub

Output of the command flutter doctor -v below:
[√] Flutter (Channel stable, 2.0.0, on Microsoft Windows [versÃ£o 10.0.19042.804], locale pt-BR)
• Flutter version 2.0.0 at C:\Flutter
• Framework revision 60bd88df91 (18 hours ago), 2021-03-03 09:13:17 -0800
• Engine revision 40441def69
• Dart version 2.12.0
[X] Android toolchain - develop for Android devices
X Unable to locate Android SDK.
Install Android Studio from: https://developer.android.com/studio/index.html
On first launch it will assist you in installing the Android SDK components.
(or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).
If the Android SDK has been installed to a custom location, please use
flutter config --android-sdk to update to that location.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[!] Android Studio (not installed)
• Android Studio not found; download from https://developer.android.com/studio/index.html
(or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).
[√] VS Code (version 1.53.2)
• VS Code at C:\Users\renan\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.20.0
[√] Connected device (2 available)
• Chrome (web) • chrome • web-javascript • Google Chrome 88.0.4324.190
• Edge (web)   • edge   • web-javascript • Microsoft Edge 88.0.705.68
! Doctor found issues in 2 categories.
The version of the SDK (See pubspec.lock):
4.0.6

I have the following issue:
Incompatibility between Firebase Auth 1.0.0 and Sentry Flutter 4.0.6 due to:
Because firebase_auth 1.0.0 depends on firebase_auth_web ^1.0.0 and no versions of firebase_auth_web match >1.0.0 <2.0.0, firebase_auth 1.0.0 requires firebase_auth_web 1.0.0.
And because firebase_auth_web 1.0.0 depends on http_parser ^4.0.0 and http >=0.11.3+17 <0.13.0-nullsafety.0 depends on http_parser >=0.0.1 <4.0.0, firebase_auth 1.0.0 is incompatible with http >=0.11.3+17 <0.13.0-nullsafety.0.
And because sentry_flutter >=4.0.0 depends on sentry ^4.0.0 which depends on http ^0.12.0, firebase_auth 1.0.0 is incompatible with sentry_flutter >=4.0.0.
So, because client depends on both sentry_flutter 4.0.6 and firebase_auth 1.0.0, version solving failed.
pub get failed (1; So, because client depends on both sentry_flutter 4.0.6 and firebase_auth 1.0.0, version solving failed.)
exit code 1
Since http 0.13.0 implements Null Safety and no breaking changes, upgrading Sentry http to 0.13.0 should fix the issue if there is no problem with it.
Steps to reproduce:

Use both Sentry Flutter and Firebase Auth on latest versions.

Actual result:

Version solving failed.

Expected result:

No version solving problems.

http 0.13.0 uses Uri's everywhere instead of String for urls, so don't think it's just a pubspec change, but indeed, having the same issue here...

You can track the progress on this issue and this branch.

dup of #247


Fancy zones - Maximize video in zone

Description of the new feature / enhancement
When you snap a window to a zone and you want to maximize a video in the window, it would be very nice if the maximized video would respect the zone.
Scenario when this would be used?
open a browser and snap it to a zone
Browse to https://docs.microsoft.com/nl-nl/windows/powertoys/
maximize video
Keep the maximized video to the zone.
Supporting information
No response

Duplicate of #279

Thanks for your suggestion! This issue is a duplicate.
I'm linking this issue to #279 to centralize the discussion thread, please go to that thread for discussion.
Thanks for your help to make PowerToys a better piece of software!


Added instructions for qprof TEST_MODE

TEST_MODE is not for qprof only but to install VerticaPy from the latest master. So you should say something like: "you can try VerticaPy latest features by setting  TEST_MODE as followed:

Feel free to word it better.
TEST_MODE is for internal use. Also once the image is updated users won't need to set it to have access to the UI, so I don't want them to think that this env var is related to the qprof UI.


change mount.rs find_parent_mount from pub to private

The current find_parent_mount method is only in impl Mount use, we can change to private fn from pub fn.
https://github.com/containers/youki/blob/4d4ce7c3710d1ed8f155adf23fb62dc672197043/crates/libcontainer/src/rootfs/mount.rs#L614

Note that this change would likely be a breaking change, so PR should be labeled accordingly, along with changelog info.

@Mossaka Do you use this function in runwasi?

No, it's not used in runwasi. However, I would be more careful in making breaking changes if we don't have a strong motivation.

Thanks every body suggestion, we can hold this issue, keep watch, and then decide how to resolve.

Hey, I think we should make a decision on this, primarily because I feel this is cluttering the issue list without any clear way to resolve.
I see two possible paths for this -

keep the function public : I don't think there will be any significant overhead for this, we can continue to let things be as-is.
mark the function as deprecated, and remove it after 2 releases. This way if anyone is using this function will get a deprecation warning at compile time, and if they mention their use to use we can revert the deprecation back and keep it pub. Else we can remove the pub after 2 releases.

I'm fine with either, but would prefer to choose one and close this issue.

@YJDoc2 Thanks for your suggestion. Leave it public as we are not troubled by this and it does not affect performance. It is not productive to do this sort of organisation now for all methods.

Feel free to reopen it.