versions/lua53 install header files to wrong path

While lua52 installs header files to /usr/local/include/ , versions/lua53 installs them to /usr/local/include/lua5.3.
When I build HAProxy-1.6, it can not find lua  which I installed with homebrew.

This is intentional, and the same behaviour that applies to lua51, otherwise all the header files would ram into each other and cause conflict.
The pkg-config file points at the right directory, so anything that can use pkg-config should be fine. Otherwise you can pass the install stage an extra CFLAGS pointer to the path.


This code of  Dutch National Flag Algorithm . please accept my pull request

give this repo a star and follow me for follow back😊


:white_check_mark: Added angle encoding with norm relevance distance …

…test
Added angle encoding with norm relevance distance test and deleted all the amplitude encoding norm relevance tests as norm relevance only applies to  angle encoding

Codecov Report

Merging #21 (30b7153) into main (b56a064) will increase coverage by 1.36%.
The diff coverage is 96.00%.

@@            Coverage Diff             @@
##             main      #21      +/-   ##
==========================================
+ Coverage   65.85%   67.21%   +1.36%
==========================================
  Files           3        3
  Lines         776      735      -41
==========================================
- Hits          511      494      -17
+ Misses        265      241      -24

Impacted Files
Coverage Δ

qmeans/qkmeans.py
52.67% <80.00%> (+5.66%)
:arrow_up:

tests/test_simulator.py
97.14% <100.00%> (-1.47%)
:arrow_down:

Continue to review full report at Codecov.

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


made first commit

As a friendly suggestion...don't use live public projects to learn how to use git/github


command palette

Hi!
Is it possible to make it accessible by the command palette too? Even if we use "grammar", instead of "syntax", which is the word Sublime uses, is a lot better to have everything in one place, specially while learning how to use Atom.
Thank you.

My bad! I'm sorry!


Add ClientName to LogutMessage and LogoutRequest

Add ClientName to LogutMessage and LogoutRequest so the AccountServices can set it to the LoggedOutViewModel.ClientName and show the client name, instead of client id in the UI.

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

Thanks for this. Mind adding a fallback to ClientId if ClientName is null/empty?

@brockallen.   Do you mean at the AccountServices?   I thought the  ClientId is normally a non-human readable string and the client should always have a name.
I check the spec, it says the authorization server MAY display to client_id if client_name is omitted.

client_name
Human-readable name of the client to be presented to the user
during authorization.  If omitted, the authorization server MAY
display the raw "client_id" value to the user instead.  It is
RECOMMENDED that clients always send this field.

As it just say MAY and it RECOMMEDED that clients always send the client_name, I don't do it.
Also, the AccountServices in the QuickStart is provided as the sample codes only, right?   People can change it to what they want.
If you guys think it should fallback, I can put it as
            var vm = new LoggedOutViewModel
            {
                AutomaticRedirectAfterSignOut = AccountOptions.AutomaticRedirectAfterSignOut,
                PostLogoutRedirectUri = logout?.PostLogoutRedirectUri,
                ClientName = logout?.ClientName ?? logout?.ClientId,
                SignOutIframeUrl = logout?.SignOutIFrameUrl,
                LogoutId = logoutId
            };

What do you think?

Yes to all of the above :)

??  null-coalescing operator does not check the string for empty.  I change it to:
ClientName = string.IsNullOrEmpty(logout?.ClientName) ? logout?.ClientId : logout?.ClientName

Looks good, thanks!


Fail the TravisCI build if a dependency isn't shrinkwrapped

I ran into an issue earlier that was ultimately caused by me forgetting to add new dependency to a npm-shrinkwrap.json file. Adding this line to the TravisCI build script marks the build as failed if someone forgets to do this in the future, so I thought it'd be useful for y'all as well.

@ggilmore Thanks for closing it! 👍


Coalesce all variant-specific dependency advice with plugin advice at the project level.

Pretty sure there's more old cruft I can delete.

Build failed


IOError: Unable to open file (unable to open file: name = 'weights/mobilenet_weights.h5'

Describe the bug
IOError: Unable to open file (unable to open file: name = 'weights/mobilenet_weights.h5'
when running:
python evaluate_mobilenet.py -dir dir_with_single_jpg_file

To Reproduce
Steps to reproduce the behavior:

See description

Desktop (please complete the following information):

OSX
keras 2.2.2

As you can from error description file  mobilenet_weights.h5 not found. It is just weights from pretrained NN, which can be googled or can be found here on github.
For example here:
https://github.com/titu1994/neural-image-assessment/tree/master/weights
Please reopen issue, if you are still facing problems


Document "cluster-admin" role requirement for Minikube

As a user, I'm attempting to helm install SCDF on Minukube, but the installation fails with access permission errors as shown below.
io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: GET at: https://kubernetes.default.svc/api/v1/namespaces/default/pods/scdf-server-869d56967c-97lsd. Message: Forbidden!Configured service account doesn't have access. Service account may have been revoked. pods "scdf-server-869d56967c-97lsd" is forbidden: User "system:serviceaccount:default:default" cannot get pods in the namespace "default".

See this StackOverflow thread for background.
Acceptance:
Document how to create cluster-admin role in minikube.

with a clean install of k8s 1.10 on minikube 0.26.1 and following the helm install directions at: https://docs.spring.io/spring-cloud-dataflow-server-kubernetes/docs/1.4.0.RELEASE/reference/htmlsingle/#_helm_installation
i.e.:
$ helm init
$ helm repo add incubator https://kubernetes-charts-incubator.storage.googleapis.com
$ helm repo update
$ helm install --name my-release --set server.service.type=NodePort incubator/spring-cloud-data-flow

i was unable to reproduce any error on install and didn't need to run kubectl create clusterrolebinding add-on-cluster-admin --clusterrole=cluster-admin --serviceaccount=kube-system:default. i was also able to run ticktock without issue.

I do not know how I ended up in this state, but I couldn't reproduce it either. I tried it with and without kubeadm bootstrappers, but nothing on that either.


Set mocks before browser.open

it should be possible to setup mocks before brwoser opens

a "preserveMocks" options on open could fix this


Fix preprocessor output

Error message is mixed into the output of the preprocessor.
Message of "#warning" should be output to stderr.
[1] pry(main)> require 'cast'
=> true
[2] pry(main)> cpp = C::Preprocessor.new
=> #<C::Preprocessor:0x007fd42a5c16f0 @include_path=[], @macros={}>
[3] pry(main)> C::Preprocessor.command = 'clang -P -E'
=> "clang -P -E"
[4] pry(main)> cpp.preprocess("#warning user warning")
=> "/Users/user/src/cast/cast-preprocessor-input.20140507-11854-hpifho.c:1:2: warning: user warning [-W#warnings]\n#warning user warning\n ^\n\n1 warning generated.\n"

cpp.preprocess("#warning user warning") should be empty string.

Merged -- thanks!


set the correct plugin name

Executing will this command will fail
cordova plugin add ms-azure-mobile-apps
Since the name of the plugin is cordova-plugin-ms-azure-mobile-apps according to the npm registry

Hi @oliverguhr, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no contribution license agreement is required at this point. Real humans will now evaluate your PR.

TTYL, AZPRBOT;

Related to this issue #5873

@oliverguhr Thanks for taking the time to fix this doc bug. We appreciate your contribution to improving Azure docs.


ES2015 features not transpiled in ng.js files

Hi!
The transparent functionality of transpiling .js files with the escmascript package in Meteor 1.2 works with .js files but it doesn't work with .ng.js files.
It would be awesome if this functionality would work for .ng.js files seamlessly without adding other babel packages or additional configuration.
<EMAIL_ADDRESS><EMAIL_ADDRESS>
Thanks!

Will be coming soon in<EMAIL_ADDRESS>

In the meantime, use can use this package:
https://github.com/pbastowski/angular-meteor-babel/

Cool, thank you!

<EMAIL_ADDRESS>has been released


[QUESTION] How to Inject current request into request scoped provider?

Goal
I'm building a multi-tenant SaaS app where each tenant's data is housed in a separate DB.  I'd like to be able to inject a DB connection on a per-request basis.  My thinking here is to consolidate the DB selection logic to avoid polluting the application logic with tenant DB selection logic.  The DB connection will be selected based on the hostname in the request.
Current challenge
I have a request scoped provider set up and it currently does execute on every request.  However, I can't seem to figure out how to inject the current request into the factory function.  When inject PlatformRequest, it seems to be an object with a $ctx property, but everything else under $ctx are undefined.
I've seen a similar example in NestJs where a request scoped provider is able to grab the current request in order to construct a DB connection. I was hoping that something  similar is possible in tsed.
From the docs, I know it's possible to inject context or request into methods using decorators, but that doesn't seem possible here since the factory function is not a method and decorators can't be used here.
What class or token do I need to specify in the deps property in order to get the current request into my factory function?
Example
registerProvider({
    provide: CONNECTION,
    scope: ProviderScope.REQUEST,
    type: ProviderType.FACTORY,
    useFactory (req: PlatformRequest) {
        console.log('creating DB connection');

        // TODO: how do we get the request context injected here?

        return  someDbConnections;
    },
    deps: [PlatformRequest]
});

Acceptance criteria

[ ] Ability to inject request context into a request scoped provider

Information

Version: 6.121.1
Packages:

Hello @supercoffee
$ctx cannot be injected like that because it use the async_hook from nodejs. You have to use the getContext() function to retrieve it :)
registerProvider({
    provide: CONNECTION,
    scope: ProviderScope.REQUEST,
    type: ProviderType.FACTORY,
    useFactory () {
        console.log('creating DB connection');
        const $ctx = getContext():
        const {request} = $ctx

        // TODO: how do we get the request context injected here?

        return  someDbConnections;
    }
});

See you
Romain

I see you trying to build a multi tenant app using Scope request. Use Scope Request on every class will cause a performance issue.
The PlatformContext and async_hook can help you to design a multi tenant app. You don't need to declare each controllers and services with the scope Request annotation. You just need to use a class that will be responsible to use the correct database connection by using the $ctx object.
Example:
import {PlatformContext} from "@tsed/common";
import {deserialize} from "@tsed/deserialize";
import {Inject, Injectable, InjectContext} from "@tsed/di";
import {BadRequest} from "@tsed/exceptions";
import {Property} from "@tsed/schema";
import {Connection, createConnection} from "my-orm";
import {TENANT_DB_CONNECTION} from "../connections/TenantDBConnection";

export class TenantMetadata {
  @Property()
  id: string;

  @Property()
  dbName: string;

  connection: Connection;
  ///  other metadata stored in your DB
}

@Injectable()
export class TenantManagerClient {
  @InjectContext()
  protected $ctx: PlatformContext;

  @Inject(TENANT_DB_CONNECTION)
  protected tenantDbConnection: TENANT_DB_CONNECTION;

  /**
   * Hook which is always called by Ts.ED, when a request is handled.
   */
  $onRequest() {
    return this.init();
  }

  get() {
    return this.$ctx.get(TenantMetadata);
  }

  async init(): Promise<TenantMetadata> {
    if (!this.$ctx.has(TenantMetadata)) {
      const tenantId = this.$ctx.request.get("x-tenant-id"); // or other discriminant from the request (domain, query, pathparams);

      const tenant = await this.tenantDbConnection.table("tenants").findOne({ id: tenantId });

      if (!tenant) {
        throw new BadRequest("Unable to find the tenant ID");
      }
      const tenantMetadata = deserialize(tenant, { type: TenantMetadata });
      tenantMetadata.connection = await createConnection(tenantMetadata.dbName);

      this.$ctx.set(TenantMetadata, tenantMetadata);
    }

    return this.$ctx.get(TenantMetadata)!;
  }
}

@Injectable()
export class ClientsRepository {
  @Inject()
  protected tenantManagerClient: TenantManagerClient;

  get table() {
    const tenantMetadata = this.tenantManagerClient.get();

    return tenantMetadata.connection.table("clients");
  }

  async get(id: string) {
    return this.table.findOne({ id });
  }
}

Here the TenantManagerClient use the $ctx to retrieve the tenantId and retrieve metadata and create automatically the connection.
I hope this example will help you ;)
See you
Romain

An alternative to $onRequest can be used if you don't want to create a tenant connection for all routes. You can use a middleware:
@Middleware()
class InitTenantConnectionMiddleware {
 @Inject()
 protected tenantManagerClient: TenantManagerClient;

 async use() {
     await this.tenantManagerClient.init()
 }
}

// then

@Controller('/clients')
@UseBefore(InitTenantConnectionMiddleware)
class ClientsController {

}

See you
Romain

@Romakita Thank you for the detailed suggestions.  I like the idea of using middleware or a connection manager instead of reconstructing controllers on each request.

@Romakita I followed your first example and I can't get the context.  When $onRequest is called, this.$ctx is always undefined.   I also tried calling getContext inside the $onRequest() method which also returns undefined.   Am I missing something here?
I worked around this by making the get method async and creating a new connection every time, but that approach implies that a new connection would be created multiple time in the same request context.

import {getContext, Injectable, InjectContext} from "@tsed/di";
import {Context, Inject, PlatformContext} from "@tsed/common";
import {APP_DATA_SOURCE} from "./database/app-data-source";
import {DataSource} from "typeorm";
import {NotFound} from "@tsed/exceptions";
import {Property} from "@tsed/schema";
import {SiteModel} from "./database/models/SiteModel";
import {getSiteDbConnection} from "../database/site-db-connection";

export class TenantMetadata {

    @Property()
    id!: number;

    @Property()
    dbName!: string;

    connection!: DataSource;
}

@Injectable()
export class TenantManager {

    @InjectContext()
    $ctx?: Context

    @Inject(APP_DATA_SOURCE)
    protected appDataSource!: DataSource;

    $onRequest() {
        console.log('$onRequest');
        console.log(this.$ctx); // context is undefined
        console.log('getContext()=', getContext()); // also undefined
    }

    // called in controller method
    async get(): Promise<TenantMetadata> {
        const tenant = await this.init();

        if (!tenant) {
            throw new NotFound('Site does not exist.');
        }

        return tenant;
    }

    async init() {

        console.log(`this.$ctx=`, this.$ctx); // context is injected at this point

        const context = getContext()!;
        const tenantDomain = context.request.host;

        if (!tenantDomain) {
            return;
        }

        if (!context.has(TenantMetadata)) {
            const sitesRepo = await this.appDataSource.getRepository(SiteModel);
            const site = await sitesRepo.findOneBy({domain: tenantDomain});
            if (!site) {
                throw new NotFound('Site does not exist.');
            }
            const tenantMetadata = new TenantMetadata();
            tenantMetadata.dbName = site.databaseName;
            tenantMetadata.id = site.id;
            tenantMetadata.connection = await getSiteDbConnection(site.databaseName);
            context.set(TenantMetadata, tenantMetadata);
        }

        return context.get(TenantMetadata);
    }
}

Info

node 14
typescript: 4.4.3
tsed 6.126.1
"ts-node": "^10.9.1"
"ts-node-dev": "^1.1.8"

Context is alvailable by this because async hook isn’t executed. The context is given as the first parameter:
$onRequest($ctx: Context) {
}


HBASE-28819 CanaryTool: Create canary tables in different RSgroup and…

https://issues.apache.org/jira/browse/HBASE-28819

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 41s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
hbaseanti
0m  0s

Patch does not have any anti-patterns.

_ master Compile Tests _

+1 :green_heart:
mvninstall
5m  0s

master passed

+1 :green_heart:
compile
4m 24s

master passed

+1 :green_heart:
checkstyle
0m 46s

master passed

+1 :green_heart:
spotbugs
2m 13s

master passed

+1 :green_heart:
spotless
1m  5s

branch has no errors when running spotless:check.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
4m 37s

the patch passed

+1 :green_heart:
compile
4m 44s

the patch passed

+1 :green_heart:
javac
4m 44s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
1m  2s

the patch passed

-1 :x:
spotbugs
2m 40s
/new-spotbugs-hbase-server.html
hbase-server generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)

+1 :green_heart:
hadoopcheck
17m  7s

Patch does not cause any errors with Hadoop 3.3.6 3.4.0.

+1 :green_heart:
spotless
1m 14s

patch has no errors when running spotless:check.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
2m 55s

the patch passed

+1 :green_heart:
compile
0m 58s

the patch passed

+1 :green_heart:
javac
0m 58s

the patch passed

+1 :green_heart:
javadoc
0m 29s

the patch passed

+1 :green_heart:
shadedjars
5m 16s

patch has no errors when building our shaded downstream artifacts.

_ Other Tests _

+1 :green_heart:
unit
224m 43s

hbase-server in the patch passed.

249m 40s

Subsystem
Report/Notes

Docker
ClientAPI=1.47 ServerAPI=1.47 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6235/1/artifact/yetus-jdk17-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/6235

Optional Tests
javac javadoc unit compile shadedjars

uname
Linux 59a9391a1fbf 5.4.0-186-generic #206-Ubuntu SMP Fri Apr 26 12:31:10 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 6107dff14ac96ced76f96a5c01680d4a729e3f69

Default Java
Eclipse Adoptium-17.0.11+9

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6235/1/testReport/

Max. process+thread count
4642 (vs. ulimit of 30000)

modules
C: hbase-server U: hbase-server

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6235/1/console

versions
git=2.34.1 maven=3.9.8

Powered by
Apache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.


Admin Template: Menu does not open intermittent in Blazor Server Mode and IOS Safari

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
Only in Blazor Server RenderMode and when opening with IOS Safari:
After some time, the Burger Menu will not open the Menu or the input fields e.g. on profile page become unresonsive as well.
The problem may arise only after some clicks and after entering some random keystrockes into a field on the profile page without the need of saving data.
When hosting as WebAssembly or Maui Blazor Hybrid RenderMode , there is no such issue. Still within IOS, when using any other Browser like Chrome, Edge, Safari and Opera, the issue does not exist.  Is is solely an Issue with IOS  & Safari & Server Rendering.
The problem only comes up with pages which have at least one EditForm with at least one Input component like the InputText. The result is the same using bit components or the standard Asp.Net Blazor InputText component.
Expected Behavior
Menu and input fields are expected to be responsive.
Steps To Reproduce
Setup:

Create a new Admin Panel Template with Bit.Boilerplate 8.9.0
Standard settings
debug in Blazor Server mode
open page with an IOS (ipad, iphone) Safari client (a tunnel to the hosted debugging environment may be required in order to reach the site)

Variant 1)

Swipe to another app to hide safari
wait a minute and and come back to safari
try to open the menu by clicking on the burger menu

Variant 2)

open page with an IOS (ipad, iphone) Safari client (a tunnel to the hosted debugging environment may be required in order to reach the site)
login with default user
navigate to the profile page
some clicks navigation changes are required to reproduce the problem.

Variant 3)
Further tips to eventually reproduce the problem:

enter some random data in any field
save the data
try to open the menu
scroll up/down left/right
click outside of fields
close and reopen safari
restart with any action a listed above

Note:
In case the issue is reproduced, it can be seen that the IOS Safari Client does not fire any Server-Action. e.g. Header.razor.cs->ToggleMenu is not called.
So it looks like that just the ISO Safari client does not react on user input and thus the call to open the Burger Menu is not performed.
Exceptions (if any)
No exception is thrown at all.
Blazor Server:

No Exception thrown on the Server
The Client seems to simply not react, thus interaction with Server is not shown

IOS Safari Client:

No Exception thrown on the Client (inspected with java console Webinspector safari extension plugin does not show any error; further debugging by connecting the IOS device to a Mac has not yet been performed).

.NET Version
8.0.301
Anything else?
No response

to add:
The issue may have come up in combination of the following safari extension:
"Web Inspector"
https://apps.apple.com/us/app/web-inspector/id1584825745

@techscx
Thanks for contacting us. We're investigating this issue.
We'll let you know if it's possible to work on this issue.

Hello,
thank you for your quick response!
Please let me know if you have any further questions. I will add now some additional info at github.
Mit freundlichen Gruessen
Best Regards
Christian Rommel

From: Saleh Yusefnejad @.>
Sent: Friday, June 14, 2024 6:34 PM
To: bitfoundation/bitplatform @.>
Cc: Christian Rommel @.>; Mention @.>
Subject: Re: [bitfoundation/bitplatform] Admin Template: Menu does not open intermittent in Blazor Server Mode and IOS Safari (Issue #7784)
@techscxhttps://github.com/techscx
Thanks for contacting us. We're investigating this issue.
We'll let you know if it's possible to work on this issue.
—
Reply to this email directly, view it on GitHubhttps://github.com/bitfoundation/bitplatform/issues/7784#issuecomment-2168378381, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AREXB5WNSNWT5JABFEPXRATZHMLP3AVCNFSM6AAAAABJJ4TCYKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRYGM3TQMZYGE.
You are receiving this because you were mentioned.Message ID: @.***>

To add (short notice, has to be prooven on longer tests the next days):
It looks like I have found one reason for the issue:
Once, I place another Burger-Menu Button on the right of the Header, the Method is invoked every time correctly.
So, my assumption is:
On IOS Safari, the NavMenu Component is not always correctly completely removed via the applied css segment part ".main-container--closed...display: none". It is not visible, but somehow seems to block the underlying area of the Header Component and thus, the Burger-Menu button cannot be reached again to invoke the process of unhiding the Menu again.

@techscx Thanks for the extra information.
We are investigating this problem, but in our initial tests, we couldn't reproduce this problem. We are trying the new information you've provided to try to see the same issue.

@techscx Thanks for the extra information. We are investigating this problem, but in our initial tests, we couldn't reproduce this problem. We are trying the new information you've provided to try to see the same issue.
Just a reminder:
It is crucial to host the Template as Server-rendered (I have forced the Rendemode to that on Release Configuration as well) and to access through IOS & Safari.

@techscx
could you please provide a screenshot of this issue?

@techscx we couldn't find the problem in our investigations. could you please provide a screenshot or a screen record of this issue?

I will prepare a host for you to evaluate the behaviour.

I have prepared a screen capture from  IOS-Safari (iphone). The host is rendering (IComponentRenderMode Current = BlazorServer).
https://github.com/bitfoundation/bitplatform/assets/71921910/d6ba37ed-3668-4733-97f4-228773e367dc
To add:

Once the problem comes up, it is more consistent.
The (miss)behaviour is only seen in IOS-Safari. And some cases, the problem dissapears for some time after clearing the safari cache but comes back at a later point.
The bit-icon on the header (which is just a href to home) is not reachable also one the problem arises

@techscx Thanks for the new information.
We will continue our investigations with the information you gave us.

@techscx Are you experiencing this problem anywhere other than the dev tunnels?

@techscx Are you experiencing this problem anywhere other than the dev tunnels?
for example in a GitHub Codespace, on a simulator, or even in a published app?

Yes, as described the problem only exists with IOS ans Safari. It can be seen published on IIS without VS/devtunnel.
In any other case, thus WASM on the web or as hybrid in Maui, there is no issue.

You can easily have public version of our project template running in blazor server mode by following these instructions
I did the same and then I tested on iOS 15 (iPhone 6S) and saw no issue.
Could you please check the same?
Could you please let me know the iOS version you're testing on?
Note that we don't recommend blazor server in production, kindly let me know why you're trying to use that in your production publish? @techscx

Hello there,
I tested the app in VS Dev Tunnel and GitHub Codespaces with my iOS 17.5 device, and the only thing I found in both of them was how slow it was on Blazor Server.
But it worked just well in the local network. I advise you to give it a shot as well to see whether the issue persists.
Here's where you can get instructions on using your local network to test the app on your phone:
How can I access my localhost from my Android device? - Stack Overflow
https://github.com/bitfoundation/bitplatform/assets/42671084/acc47ad1-649b-4098-9b3a-5f94621018aa

hello,
You can easily have public version of our project template running in blazor server mode by following these instructions
I did the same and then I tested on iOS 15 (iPhone 6S) and saw no issue.
Could you please check the same?
Could you please let me know the iOS version you're testing on?
Note that we don't recommend blazor server in production, kindly let me know why you're trying to use that in your production publish? @techscx

Hello,
thank you! I know, that the menu issue does not necessarily is present in the first place and thus hard to debug. Once, I started implementing editforms with at least one input element, it started spontaneously to be unable to rech the menu.
The tests were done on multiple IOS devices (iphone, ipad) with version 17.5.1.
I understand that WASM is the recommended publishing render mode. But i always test the server mode as well since it was a valid fallback if there goes anything wrong with WASM. For instance, I have caching problems with browsers not loading the latest WASM binaries until manually deleting the cache. And, as soon as I find any issue I have to assure, that there is not a more significant issue under the hood of my whole implementation.
Thank you all so much for your efforts in this. Fortunately it is possible to hide/unhide the menu by re-rendering while keeping the style. So from my side there is no pressure in tracing down further.
I will prepare an official endpoint for you to test these next days.

Hello there,
I tested the app in VS Dev Tunnel and GitHub Codespaces with my iOS 17.5 device, and the only thing I found in both of them was how slow it was on Blazor Server.
But it worked just well in the local network. I advise you to give it a shot as well to see whether the issue persists.
Here's where you can get instructions on using your local network to test the app on your phone:
How can I access my localhost from my Android device? - Stack Overflow
https://github.com/bitfoundation/bitplatform/assets/42671084/acc47ad1-649b-4098-9b3a-5f94621018aa

Hello there,
thank you!
I will test this scenario as well and keep you informed these days.

@techscx Since you're using the devtunnels in the video you've posted, there is a possibility that the slow connection causes this issue.
We strongly recommend testing the app on the local network to make sure the problem exists in the app.

@techscx Since you're using the devtunnels in the video you've posted, there is a possibility that the slow connection causes this issue.
We strongly recommend testing the app on the local network to make sure the problem exists in the app.

Hello, I have the same behavior on the fully published site on a high performance server. The devtunnel is not in use here and was just another example for the same behavior on my side. I understand that it seems not be possible to reproduce on you side and I will prepare an official published endpoint incl. source code.

Update:
I am stil trying to deliver a consistent setup i order to allow the behaviour to be easily reproduced.
Still, after wrapping the menu completely in a if-clause, whether it should be visible or not, I still get sometimes nor invocation from the header. The emer-button on the right side is working any time. All this only in IOS-Safari. And right now I am getting the same behaviour in WASM mode as well.  If I open the same site split screen Safari/Chrome one can see that Chrome is working as expected, while Safari is not. The maui-hybrid app in IOS works still correctly.

adminpanel is hosted in blazor wasm mode, do you face the issue there as well? On which version of safari?

The devices are all at IOS 17.5.1 with the delivered Safari bound to the OS.
With your deployed adminpanel the issue comes up very rare after high number of clicks, navigation changes and form field selections.
On my implementation I have the issue sometimes instantly and sometimes only after some time as well.
But yes, I get the issue on you published sample at https://adminpanel.bitplatform.dev/ as well after some time..

I have testet your official admin panel also in IOS simulators. At least with a simulated iphone 15 pro max I was able to reproduce it:

boot a fresh and clean simulator in portrait mode
open safari and navigate to https://adminpanel.bitplatform.dev/
sign in with test account
navigate to profile
rotate to landscape mode
click in fullname field without entering any data
finger-scroll up to the burger menu button
try to click

Yes, this is a very special procedure. I have this issue in several other situation which I'm unable to reproduce. But all of them may eventually link together.

@techscx Thanks for the new information.
I've tested your scenario and can confirm that this issue exists on Safari on iOS. the source of this issue comes from the auto zoom feature of the safari when you focus an input after the on-screen keyboard opens up.
to disable this auto-zoom feature we can simply add maximum-scale=1.0 to the viewport meta tag in the App.razor file.
I'm going to apply this change so we can both test the result.

The issue is accepted and planned. Resolving it will start ASAP.

Resolving this issue has started. It will be announced when this issue is resolved.

I've added the missing attributes and tested the app again, and it seems the issue is resovled.

This issue has been resolved and it will be available in the next pre-release version. It will be announced when the pre-release becomes ready.

Could you please check adminpanel?
@techscx

Hello, I did a short test and it works now. I will do further tests on other devices in order to get more confident experience. And I hope that this change will solve my menu-problem in all other cases as well.
Thank you!

Could you please check adminpanel again? @techscx


Can't upgrade

It is not possible to upgrade. I'm guessing you reinstall over the top. Yet it claims there's nothing to do.
Any guidance?
di@MacPro downloads % gdown --version
gdown 4.0.2 at /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages
di@MacPro downloads % pip install gdown
DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
Requirement already satisfied: gdown in /usr/local/lib/python3.9/site-packages (3.12.2)
Requirement already satisfied: requests[socks] in /Users/di/Library/Python/3.9/lib/python/site-packages (from gdown) (2.25.1)
Requirement already satisfied: filelock in /usr/local/lib/python3.9/site-packages (from gdown) (3.0.12)
Requirement already satisfied: six in /usr/local/lib/python3.9/site-packages (from gdown) (1.15.0)
Requirement already satisfied: tqdm in /usr/local/lib/python3.9/site-packages (from gdown) (4.60.0)
Requirement already satisfied: chardet<5,>=3.0.2 in /Users/di/Library/Python/3.9/lib/python/site-packages (from requests[socks]->gdown) (4.0.0)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /Users/di/Library/Python/3.9/lib/python/site-packages (from requests[socks]->gdown) (1.26.4)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.9/site-packages (from requests[socks]->gdown) (2020.12.5)
Requirement already satisfied: idna<3,>=2.5 in /Users/di/Library/Python/3.9/lib/python/site-packages (from requests[socks]->gdown) (2.10)
Requirement already satisfied: PySocks!=1.5.7,>=1.5.6 in /usr/local/lib/python3.9/site-packages (from requests[socks]->gdown) (1.7.1)

di@MacPro downloads %

Probably you need to do like this pip install --upgrade gdown.

Got it, thanks for the hand-hold.

Keep forgetting the upgrade flag. For people like me with a mind of a goldfish could you add a few lines on the project's home page :)

A nice idea! Will be added by https://github.com/wkentaro/gdown/pull/150


Linking XInput

I'm trying to get xinput-sys working, and I'm having trouble getting linking setup. The changes I've made can be found on my fork, the important files are Cargo.toml and build.rs. When I try to build with the current setup I get the error ld: cannot find -lxinput.
I appreciate any help you can offer.

Are you using a full MingW-w64 setup or are you relying on the toolchain bundled with Rust? The bundled toolchain only comes with a few libraries and if you need something that isn't there you have to ditch the bundled toolchain and setup a full MingW-w64 instead.

Yeah, I'm just using the bundled rust distribution. Would that matter for linking against Windows libraries, though? Does the full MingW distribution do extra stuff to help find the libraries?

In order to link to a library, even a Windows system library, you cannot link to a .dll directly, there needs to be a .lib or .a to link to. Thus when using MingW we depend on the .a libraries provided by MingW. Rust bundles the libraries that are necessary for the standard library, but things like xinput are not bundled and must be provided by a full MingW installation.

Ah, that's good to know. I'll give it a shot and see if that's where the problem was coming from.

I got a similar error ld: cannot find -ld3d9, which was later solved by installing the MSVC version of Rust (found here), and running cargo from VS2015 x64 Native Tools Command Prompt.

The current Rust MSVC nightly should actually be able to auto-detect your VS installation so that it can find the libraries without having to use the VS command prompt.
To fix the issue on -gnu, the approach I'm taking is to bundle import libraries from mingw so that it will work with Rust out of the box. I just haven't done that for d3d9 yet.


[Bug] when reuse tab is enabled and response saved, tab is not appearing

fixed via https://github.com/cedric05/dothttp-runner/commit/cffd717156527f757050c14524d6fbbde65e3fa2


feat(stripe): support embedded UI mode when topping up balance

Please Describe The Problem To Be Solved
Stripe allows for embedded checkout experiences as oppose to the default hosted. This allows devs to keep stripe checkout within their app as opposed to opening a separate URL.
(Optional): Suggest A Solution
The payment-service will need to support ui-mode as a query param or something similar when creating the checkout-session.

While this doesn't solve all stripe integration issues - we'll close this specific ticket with the release of https://github.com/ardriveapp/turbo-sdk/releases/tag/v1.4.0


Add Pen tests

Spotted these in https://github.com/dotnet/corefx/commit/fc68efe69fe86793956debbaf2c04ec971cfa9f3#diff-27fd4c118b54b06e4c8b864275a3c06aR644

@hughbe,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by .NET Foundation. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

By the way, I'm laptopless for the next 3-4 weeks so I'm not going to be able to respond to PR feedback. Hopefully this is simple to review as it is a test only change

By the way, I'm laptopless for the next 3-4 weeks [..]

Have fun and see you on the other side ❤ Thanks!


Remove version: Tencent.WeChat version <IP_ADDRESS>0

Version downloaded is <IP_ADDRESS>
Microsoft Reviewers: Open in CodeFlow

URL: https://dldir1v6.qq.com/weixin/Windows/WeChatSetup_x86.exe
Status Code: 200
(Automated message - build 788)

Hi @PckgrBot,
This manifest has the highest version number for this package. Is it available from another location? (This might be in error if the version is switching from semantic to string, or string to semantic.)
(Automated response - build 788.)

URL: https://dldir1v6.qq.com/weixin/Windows/WeChatSetup_x86.exe
Status Code: 200
(Automated message - build 788)

URL: https://dldir1v6.qq.com/weixin/Windows/WeChatSetup_x86.exe
Status Code: 200
(Automated message - build 788)

Hi @PckgrBot,
This manifest has the highest version number for this package. Is it available from another location? (This might be in error if the version is switching from semantic to string, or string to semantic.)
(Automated response - build 788.)

It looks like a display version issue:

This PR seems to have the right version https://github.com/microsoft/winget-pkgs/pull/140200

Hi @PckgrBot,
This manifest has the highest version number for this package. Is it available from another location? (This might be in error if the version is switching from semantic to string, or string to semantic.)
(Automated response - build 788.)


MacOS 10.15 boxes cannot upgrade all packages with brew

ref https://github.com/adoptium/infrastructure/pull/3045
MacOS 10.15 is out of support https://endoflife.date/macos. As a temp fix for the sake of preventing playbook crashes I have skipped the upgrade_all task on our macos 10.15 and under boxes but we need a better solution
TASK [Common : Upgrade installed packages] *************************************
fatal: [test-macstadium-macos1015-x64-1]: FAILED! => {"changed": false, "msg": "Warning: You are using macOS 10.15.\n
We (and Apple) do not provide support for this old version.\n
It is expected behaviour that some formulae will fail to build in this old version.\n
It is expected behaviour that Homebrew will be buggy and slow.\n
Do not create any issues about this on Homebrew's GitHub repositories.\n
Do not create any issues even if you think this message is unrelated.\n
Any opened issues will be immediately closed without response.\n
Do not ask for help from Homebrew or its maintainers on social media.\n
You may ask for help in Homebrew's discussions but are unlikely to receive a response.\n
Try to figure out the problem yourself and submit a fix as a pull request.\n
We will review it but may or may not accept it.\n\n
Error: Your Xcode (10.3) is too outdated.\nPlease update to Xcode 12.4 (or delete it).\n
Xcode can be updated from the App Store."}

@sxa Are we able to have these boxes upgraded?
Our 10.14 and 10.15 boxes make up 7/9 of our x64 mac machines, the other 2 being 12.01

@andrew-m-leonard Any feelings on this. Are there reproducibility/compatibilty issues that you're aware with if we were to update the build machines to a later macos?

@sxa I don't believe so for reproducibility, as that is dependent purely on the Xcode version used.
Compatibility, can't say for sure, but i'd hope the Xcode compatibility shoud at least support Apple supported levels?

Note that https://github.com/adoptium/temurin-build/blob/3c6f770e3dcb5bb79a8b201a7a03a75ae63e2467/build-farm/platform-specific-configurations/mac.sh#L47 explicitly targets 10.9 (Does that need a C flag as well as C++?) although only for JDK17+ on x64, so it may be ok on those versions, but not for earlier ones.
I think we'll need to test this before moving up. @Haroon-Khel can you run a build on a JDK17/x64 machine with a later OSX and see if it can still run (via a grinder or other test run) on the earlier versions? It may not matter since it's out of support but it would be good to have the data on whether there would be a potential impact to customers before moving. Same test on 8 should be done too but it seems more likely that it won't work there.

I suspect that will need changing to whatever the new Apple min supported version is? Wondering whether we could just remove it, now 10.9 is deprecated?


[Bug] updateSearchAttribute with an non-existant attribute cause hard to diagnose WFTTimedOut

Describe the bug
In a workflow, calling updateSearchAttribute with an non-existant attribute cause the server to refuse the WFTCompletion with gRPC status 3 (ie. InvalidArgument) and message Namespace default has no mapping defined for search attribute <search attribute name>.
From a user perspective, what happens at that point is:

Core logs the following message at warn level:

Network error while completing workflow activation

In Workflow history, the workflow is stuck with a WorkflowTaskTimedOut
The WFT is being replayed in loop

Note that none of the above will help the user understand why his workflow is blocked. Only if the user has access to the server's log (which is not the case in TCloud and probably difficult to reach in most production setup) will he find out the following error message:
{"level":"info","ts":"...","msg":"history client encountered error","service":"frontend","error":"Namespace default has no mapping defined for search attribute <search attribute name>","service-error-type":"serviceerror.InvalidArgument","logging-call-at":"metric_client.go:90"}

We really need to find a way to make these kind of errors easier to diagnose for users.
Expected behaviour
Core should probably include the incoming gRPC error message into the reported warning (see pertinent code). Assuming that Workflow Workers' logs are accessible to the developper (which is much more likely than them having access to server's log), this would provide better visibility on the cause of the failure.
Another thing to be considered (not sure if possible) would be to have the worker report a WFTFailure to the server if it receives a user-need-to-be-aware error to its WFTCompletedRequest.

@mjameswh Including the grpc message in the error is easy and I'll do that - reporting the WFT failure seems wrong for us to need to do SDK side. Server could/should just fail the workflow task itself in this specific case, seemingly.

I tried thinking this one through. I'm finding myself coming to a conclusion similar to @mjameswh -- I'm thinking that the best solution would be for the SDK to fail the workflow execution. I don't think it's the server's responsibility to fail it because the server has to allow for the possibility that the SDK will send a second completion request with valid input. Here's my thinking:
Facts

upsertSearchAttribute can be called from a workflow.
The requested attributes are included in the WFTCompletion.
The requested attributes may be invalid (by design)
If a user calls upsertSearchAttribute with an invalid attribute then Frontend refuses to accept the WFTCompletion
That causes a WorkflowTaskTimedOut event
The worker retries (? If it does, it shouldn’t, because the server response is saying invalid input, which shouldn’t be retried by a client)
The workflow will not progress further.

Core problem
The user needs to understand why their workflow is not progressing and how to fix the situation.
Solution
How should we help the user? What does the user need to do to fix the situation?
They need to modify and redeploy their workflow code so that it no longer requests invalid search attributes; existing wf executions that are blocked due to this problem will need to be canceled/terminated.
Therefore the most helpful outcome for the user would be for the workflow to report a failure in their application code with a helpful error message:  the workflow execution is going to need to be terminated anyway, and an error in their application code is a more direct way for them to be alerted to the problem than a workflow that never makes progress, causing them to need to look at worker logs to understand why.
That suggests that the SDK should send a FailWorkflowExecution command to the server when it receives the InvalidArgument response from Frontend.

I think this is mostly right - though we don't want to fail the whole workflow, rather we want to fail the workflow task.
I'm fine with the SDK being the one that initiates the failure. In principle,. this is unnecessary, since server has all the information and we can obtain the same outcome. However, there is one important reason that it probably makes sense to do it SDK side, which is we have existing mechanisms that avoid spamming WFT failures in the event we're encountering that same failure over and over. (Though, thinking about it, server could handle that case here too, but this is code we already have written in SDK).
So I'm fine proceeding with making this fail the WFT from the SDK side with a reasonable message.

@dandavison Cool, so looks like they went with my original idea serve side. Works for me.

OK thanks all, closing this.


Possibility use unsafe string

Similar to html/template, it would be amazing to be able to render unsafe string ( html template from database for example)
template.HTML("
Paragraph
")

it will be great to be able do it somehow like :

					{ templ.UnsafeString(content) }

or there is some way how to do it ?

There is a way to do it, it's discussed in https://github.com/a-h/templ/issues/175#issuecomment-1742205959
The question we haven't decided on is whether to include the capability to do it, as per React's dangerouslySetInnerHTML.
In templ, at the moment, all Go strings are classed as "unsafe" and therefore need escaping before output, because it's not possible to identify which Go strings are under the programmer's control.

@a-h thanks for pointing me at least :) Hopefully you will include it also to templ with better ergonomics :)


Show Events on Organization detail page

only published

organizer
only root/parent event from event

visible for anon user


Release 0.6.2

Changelog

Fixed issue where the client version is not set in the user agent

Do we need to bump the version and add to the changelog as part of this?

Do we need to bump the version and add to the changelog as part of this?

just did


Fixed a typo at line 40

Coverage remained the same at 100.0% when pulling 7b197ce3176472b2cc0eb6fb325d7a9c306139e6 on fuczak:patch-1 into e63546f20a3bb293c0dad0b0e88cc74aa9968c4d on clux:master.

Thank you. Likely CTRL-S failure. :)

No worries, man. Thank you for this awesome library.


[SPARK-47384][BUILD] Upgrade RoaringBitmap to 1.0.5

What changes were proposed in this pull request?
The pr aims to upgrade RoaringBitmap from 1.0.1 to 1.0.5.
Why are the changes needed?
Release notes: https://github.com/RoaringBitmap/RoaringBitmap/releases/tag/1.0.5
This version includes some bugs fixed, eg:

fix roaringbitmap - batchiterator's advanceIfNeeded to handle run lengths of zero by
fix RangeBitmap#between bug in full section after empty section

Does this PR introduce any user-facing change?
No.
How was this patch tested?
Pass GA.
Was this patch authored or co-authored using generative AI tooling?
No.

Let it run through GA first, and then I will add the benchmark(org.apache.spark.MapStatusesConvertBenchmark) results.

Just for the record, new the benchmark(org.apache.spark.MapStatusesConvertBenchmark) results.
JDK17: https://github.com/panbingkun/spark/actions/runs/8282758077
JDK21: https://github.com/panbingkun/spark/actions/runs/8282763722

Merged to master for Apache Spark 4.0.0.


Fix error message in auditing s3 buckets

Change ; e to ; {} at https://github.com/duo-labs/cloudmapper/blob/cb9a167881882e172b47e409cc3925ef355c82e4/commands/audit.py#L34

This code no longer exists.


Does ghauri run on Windows?

How to run it on Windows?

Yes. This is cross platform you can install it like any other python module.

Yes. This is cross platform you can install it like any other python module.

Yes. This is cross platform you can install it like any other python module.

I've done various commands to install, but still can't.
python3 -m pip install --upgrade -r requirements. txt
python3 setup.py
python3 -m pip install -e .
"python setup.py install --user"
Can you help me?

python is installed and added to env variables right? if so it should work as i have tested it on windows OS


Run build action on push or pull_request

The PR makes the "Build Native" github action run on push and on pull request.
This is useful for a number of reasons:

it verifies that a pull request does not break the build
it makes it easy to test the result of a PR by grabbing the resulting artifacts
it effectively creates "snapshot" releases for people who want to try the latest version, but can't build themselves

Yes please!

Will this cause me to use more server time w/ GitHub?
Currently, I'm low-traffic enough that I can get by without having to pay; not sure if this would push me over if it were being charged against my account.

You can set limits so it won't take more than you want. In the docs they say that they are 2000min for free per month. If you'll use it only for this repo it's like over 100 pull requests monthly.

I believe that it might be configured only to run this after the pull request is merged. It might help with the cost optimization

Will this cause me to use more server time w/ GitHub?

Yeah, that's something to be careful of. Particularly since the Mac build is slow, and github counts Mac minutes 10x. You can set PR actions to require approval, though, so you can maintain control.
"push" triggers are actually probably more of a concern if you are pushing to main a lot. A weekly scheduled build might be better.

I believe that it might be configured only to run this after the pull request is merged. It might help with the cost optimization

That's a lot less useful, though. The main point (from my perspective) of build-on-PR is to easily verify that the PR builds properly.

Yup, that's right. I have the same thoughts about it. Unfortunately in GitHub the owner of the repo "pays" the minute cost for each pull request :/ If it's possible it's a very nice thing to have a build check before merge.

BTW. @mikeoliphant do you know why it takes so long to build it? I'm from the frontend world and  the time of the build for me looks like something that can be improved. Of course I may be wrong because I haven't worked with C++ a lot.

BTW. @mikeoliphant do you know why it takes so long to build it?

Keep in mind that the build has to set up the environment and pull the code (including dependencies) before it even can start.

I've checked that. The longest task is compilation.

After that, it's compiling the files.
"Building targets in manual order is deprecated - check "Parallelize build for command-line builds" in the project editor, or set DISABLE_MANUAL_TARGET_ORDER_BUILD_WARNING in any of the targets in the current build to suppress this warning" - I'm not sure what it does, but parallel build seems like optimization.

I switched it from building on every push, to building every Tuesday at 8am UTC (1am Pacific, 4am Eastern).

I was looking at the GitHub billing a bit closer, and it says:
"GitHub Actions usage is free for standard GitHub-hosted runners in public repositories, and for self-hosted runners. For private repositories, each GitHub account receives a certain amount of free minutes and storage for use with GitHub-hosted runners, depending on the product used with the account. Any usage beyond the included amounts is controlled by spending limits."
Pretty sure that means that there are no limits for public repos.

Awesome! I missed that sentence. Thanks!

I was looking at the GitHub billing a bit closer, and it says:
"GitHub Actions usage is free for standard GitHub-hosted runners in public repositories, and for self-hosted runners. For private repositories, each GitHub account receives a certain amount of free minutes and storage for use with GitHub-hosted runners, depending on the product used with the account. Any usage beyond the included amounts is controlled by spending limits."
Pretty sure that means that there are no limits for public repos.

Well then! That answers my question!
Sounds great!


(Core i18n): Translations update from StudioCMS i18n

Translations update from StudioCMS i18n for StudioCMS/Core i18n.
Current translation status:

Thank you for submitting your Pull Request, the following links will become available for preview shortly:

StudioCMS Documentation

StudioCMS Demo (node-playground) (Also deployed with package changes)

StudioCMS Ui Demo (ui-playground)


Failed to train Multi-Tasks of the same Modality

Previously, there was a big for training the different modailites  #336, but it did work with multi-tasks of the same modality.
Now after upgrading to latest commit, not even tasks from the same modality works !!!
Right now it only work for the same task only !!
Software:
Tensor2tensor: last commit 'a836d66'
Tensorflow: 1.3
Command:
t2t-trainer   --data_dir=~/t2t_data   --TMP_DIR=~/tmp/t2t_datagen   --problems=sentiment_imdb-translate_encs_wmt32k   --model=multi_model   --hparams_set=multi
model_tiny   --output_dir=~/t2t_train/multimodel_tiny_trans_sent

Error:
WARNING:tensorflow:RunConfig.uid (from tensorflow.contrib.learn.python.learn.estimators.run_config) is experimental and may change or be removed at any time, and without warning.
INFO:tensorflow:Creating experiment, storing model files in /home/ahmed/t2t_train/multimodel_tiny_trans_sent
INFO:tensorflow:datashard_devices: ['gpu:0']
INFO:tensorflow:caching_devices: None
INFO:tensorflow:Using config: {'_model_dir': '/home/ahmed/t2t_train/multimodel_tiny_trans_sent', '_session_config': gpu_options {
  per_process_gpu_memory_fraction: 0.95
}
allow_soft_placement: true
graph_options {
  optimizer_options {
  }
}
, '_tf_config': gpu_options {
  per_process_gpu_memory_fraction: 0.95
}
, '_tf_random_seed': None, '_save_checkpoints_secs': 600, '_master': '', '_save_checkpoints_steps': None, '_num_ps_replicas': 0, '_is_chief': True, '_environment': 'local', '_cluster_spec': <tensorflow.py
thon.training.server_lib.ClusterSpec object at 0x7f2647353278>, '_save_summary_steps': 100, '_keep_checkpoint_max': 20, '_log_step_count_steps': 100, '_task_type': None, '_task_id': 0, '_evaluation_master
': '', '_num_worker_replicas': 0, '_keep_checkpoint_every_n_hours': 10000}
WARNING:tensorflow:RunConfig.uid (from tensorflow.contrib.learn.python.learn.estimators.run_config) is experimental and may change or be removed at any time, and without warning.
WARNING:tensorflow:From /home/ahmed/tensor2tensorp3/lib/python3.5/site-packages/tensorflow/contrib/learn/python/learn/monitors.py:269: BaseMonitor.__init__ (from tensorflow.contrib.learn.python.learn.moni
tors) is deprecated and will be removed after 2016-12-05.
Instructions for updating:
Monitors are deprecated. Please use tf.train.SessionRunHook.
INFO:tensorflow:batching_scheme = {'min_length': 0, 'window_size': 180, 'boundaries': [8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 33, 36, 39, 42, 46, 50, 55, 60, 66, 72, 79, 86,
 94, 103, 113, 124, 136, 149, 163, 179, 196, 215, 236, 259, 284, 312, 343, 377, 414, 455, 500], 'max_length': 512, 'shuffle_queue_size': 540, 'batch_sizes': [60, 45, 45, 45, 36, 36, 36, 30, 30, 30, 20, 20
, 20, 20, 20, 18, 18, 15, 15, 12, 12, 12, 10, 10, 9, 6, 6, 6, 6, 5, 5, 4, 4, 4, 3, 3, 3, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1]}
INFO:tensorflow:Reading data files from /home/ahmed/t2t_data/sentiment_imdb-train*
INFO:tensorflow:batching_scheme = {'min_length': 0, 'window_size': 180, 'boundaries': [8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 33, 36, 39, 42, 46, 50, 55, 60, 66, 72, 79, 86,
 94, 103, 113, 124, 136, 149, 163, 179, 196, 215, 236, 259, 284, 312, 343, 377, 414, 455, 500], 'max_length': 512, 'shuffle_queue_size': 540, 'batch_sizes': [60, 45, 45, 45, 36, 36, 36, 30, 30, 30, 20, 20
, 20, 20, 20, 18, 18, 15, 15, 12, 12, 12, 10, 10, 9, 6, 6, 6, 6, 5, 5, 4, 4, 4, 3, 3, 3, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1]}
INFO:tensorflow:Reading data files from /home/ahmed/t2t_data/translate_encs_wmt32k-train*
INFO:tensorflow:datashard_devices: ['gpu:0']
INFO:tensorflow:caching_devices: None
INFO:tensorflow:This model_fn took 4.027 sec.
Traceback (most recent call last):
  File "/home/ahmed/tensor2tensorp3/bin/t2t-trainer", line 96, in <module>
    tf.app.run()
  File "/home/ahmed/tensor2tensorp3/lib/python3.5/site-packages/tensorflow/python/platform/app.py", line 48, in run
    _sys.exit(main(_sys.argv[:1] + flags_passthrough))
  File "/home/ahmed/tensor2tensorp3/bin/t2t-trainer", line 92, in main
    schedule=FLAGS.schedule)
  File "/home/ahmed/tensor2tensorp3/lib/python3.5/site-packages/tensor2tensor/utils/trainer_utils.py", line 353, in run    hparams=hparams)
  File "/home/ahmed/tensor2tensorp3/lib/python3.5/site-packages/tensorflow/contrib/learn/python/learn/learn_runner.py", line 209, in run
    return _execute_schedule(experiment, schedule)
  File "/home/ahmed/tensor2tensorp3/lib/python3.5/site-packages/tensorflow/contrib/learn/python/learn/learn_runner.py", line 46, in _execute_schedule
    return task()
  File "/home/ahmed/tensor2tensorp3/lib/python3.5/site-packages/tensorflow/contrib/learn/python/learn/experiment.py", line 502, in train_and_evaluate
    self.train(delay_secs=0)
  File "/home/ahmed/tensor2tensorp3/lib/python3.5/site-packages/tensorflow/contrib/learn/python/learn/experiment.py", line 280, in train
    hooks=self._train_monitors + extra_hooks)
  File "/home/ahmed/tensor2tensorp3/lib/python3.5/site-packages/tensorflow/contrib/learn/python/learn/experiment.py", line 672, in _call_train
    hooks=hooks)
  File "/home/ahmed/tensor2tensorp3/lib/python3.5/site-packages/tensorflow/python/estimator/estimator.py", line 241, in train
    loss = self._train_model(input_fn=input_fn, hooks=hooks)
  File "/home/ahmed/tensor2tensorp3/lib/python3.5/site-packages/tensorflow/python/estimator/estimator.py", line 630, in _train_model
    model_fn_lib.ModeKeys.TRAIN)
  File "/home/ahmed/tensor2tensorp3/lib/python3.5/site-packages/tensorflow/python/estimator/estimator.py", line 615, in _call_model_fn
    model_fn_results = self._model_fn(features=features, **kwargs)
  File "/home/ahmed/tensor2tensorp3/lib/python3.5/site-packages/tensor2tensor/utils/model_builder.py", line 348, in wrapping_model_fn
    return model_fn(model, features, mode, hparams, **kwargs)
  File "/home/ahmed/tensor2tensorp3/lib/python3.5/site-packages/tensor2tensor/utils/model_builder.py", line 163, in model_fn
    max_idx=len(hparams.problems) - 1)
  File "/home/ahmed/tensor2tensorp3/lib/python3.5/site-packages/tensor2tensor/utils/input_fn_builder.py", line 184, in cond_on_index
    lambda: cond_on_index(fn, index_tensor, max_idx, cur_idx + 1)
  File "/home/ahmed/tensor2tensorp3/lib/python3.5/site-packages/tensorflow/python/util/deprecation.py", line 296, in new_func
    return func(*args, **kwargs)
  File "/home/ahmed/tensor2tensorp3/lib/python3.5/site-packages/tensorflow/python/ops/control_flow_ops.py", line 1828, in cond
    orig_res_f, res_f = context_f.BuildCondBranch(false_fn)
  File "/home/ahmed/tensor2tensorp3/lib/python3.5/site-packages/tensorflow/python/ops/control_flow_ops.py", line 1694, in BuildCondBranch
    original_result = fn()
  File "/home/ahmed/tensor2tensorp3/lib/python3.5/site-packages/tensor2tensor/utils/input_fn_builder.py", line 184, in <lambda>
    lambda: cond_on_index(fn, index_tensor, max_idx, cur_idx + 1)
  File "/home/ahmed/tensor2tensorp3/lib/python3.5/site-packages/tensor2tensor/utils/input_fn_builder.py", line 179, in cond_on_index
    return fn(cur_idx)
  File "/home/ahmed/tensor2tensorp3/lib/python3.5/site-packages/tensor2tensor/utils/model_builder.py", line 131, in nth_model
    features, skip=(skipping_is_on and skip_this_one))
  File "/home/ahmed/tensor2tensorp3/lib/python3.5/site-packages/tensor2tensor/utils/t2t_model.py", line 520, in model_fn
    transformed_features)
  File "/home/ahmed/tensor2tensorp3/lib/python3.5/site-packages/tensor2tensor/models/multimodel.py", line 145, in model_fn_body_sharded
    hparams.hidden_size)
  File "/home/ahmed/tensor2tensorp3/lib/python3.5/site-packages/tensor2tensor/utils/expert_utils.py", line 222, in __call__
    outputs.append(fns[i](*my_args[i], **my_kwargs[i]))
  File "/home/ahmed/tensor2tensorp3/lib/python3.5/site-packages/tensor2tensor/models/slicenet.py", line 229, in embed_target_space
    target_space_id, 32, hidden_size, name="target_space_embedding")
  File "/home/ahmed/tensor2tensorp3/lib/python3.5/site-packages/tensor2tensor/layers/common_layers.py", line 196, in embedding
    embedding_var = tf.get_variable("kernel", [vocab_size, dense_size])
  File "/home/ahmed/tensor2tensorp3/lib/python3.5/site-packages/tensorflow/python/ops/variable_scope.py", line 1065, in get_variable
    use_resource=use_resource, custom_getter=custom_getter)
  File "/home/ahmed/tensor2tensorp3/lib/python3.5/site-packages/tensorflow/python/ops/variable_scope.py", line 962, in get_variable
    use_resource=use_resource, custom_getter=custom_getter)
  File "/home/ahmed/tensor2tensorp3/lib/python3.5/site-packages/tensorflow/python/ops/variable_scope.py", line 360, in get_variable
    validate_shape=validate_shape, use_resource=use_resource)
  File "/home/ahmed/tensor2tensorp3/lib/python3.5/site-packages/tensor2tensor/utils/expert_utils.py", line 183, in daisy_chain_getter
    var = getter(name, *args, **kwargs)
  File "/home/ahmed/tensor2tensorp3/lib/python3.5/site-packages/tensorflow/python/ops/variable_scope.py", line 352, in _true_getter
    use_resource=use_resource)
  File "/home/ahmed/tensor2tensorp3/lib/python3.5/site-packages/tensorflow/python/ops/variable_scope.py", line 682, in _get_single_variable
    "VarScope?" % name)
ValueError: Variable body/target_space_embedding/kernel does not exist, or was not created with tf.get_variable(). Did you mean to set reuse=None in VarScope?

The problem still exists with the new release 1.2.6.

@lukaszkaiser  Any idea when you are going to fix this issue along with issue number #338 ?
Without fixing these we cannot regenerate Google algorithm result or test it with other problems.

The problems still exists with the new release 1.2.7


Translate glossary/cncf into Japanese

This is a Feature Request

What would you like to be added
Translate glossary/cncf into Japanese.
Why is this needed
This glossary has not been translated.
/docs/tasks/administer-cluster/coredns/ (translated in #21902) refers to this glossary.
Comments
/language ja
/assign

/lgtm

/close


Support textarea

https://user-images.githubusercontent.com/30236552/122628286-a7d94e00-d08b-11eb-8b72-3636f4758ac7.mp4
I started to think of a way to add the textarea
I managed to get a result but I don't know if it is the path they would like to follow.
When I add the textarea to get for line breaks I only stop at the last occurrence of \n
but this breaks the input test.
Is allowing line breaks in an input really a problem? if yes, how can we get around ?

to IO.gets work with textarea I made the adjustment below in the file io_proxy.ex
  defp line_from_input(input) do
    case :binary.match(input, ["\r\n", "\n"]) do
      :nomatch ->
        {input, ""}

      {pos, len} ->
        size = byte_size(input)
        line = binary_part(input, 0, pos + len)
        rest = binary_part(input, pos + len, size - pos - len)

        {line_tail, rest_tail} = line_from_input(rest)
        {line <> line_tail, rest_tail}

    end
  end

As other input options will appear, you might want to change radio button by select
if it is within the design proposal, it would look like this:

@jeantux we want to change it to a select and I also would:

Move it to the top
Keep the elements in the select ordered

But it is probably best to do it as a separate PR. Can you please submit that? Thanks! :heart:

For the text area, we probably shouldn't change the semantics of IO.gets. Instead we should use IO.getn("Textarea", 1000) and implement the relevant operation in the io_proxy.

In any case, it is important to highlight that textareas are not that portable to IO devices. Because you can only end a getn by reaching the limit or by calling ctrl+d, which effectively closes the device for all future inputs.

I can send yes, so I will make a first PR, changing to select.
Should I move the selection to the top and sort the elements alphabetically, is that it?

I don't know if the layout will be as desired
after this change the render_radios method will no longer be used, I will remove it

I applied the changes of input select in PR #373

I thought a little about textarea and I think it will behave a little differently than getn on the command line.
I made some changes and got a good result
Example
If the length specified in the second argument of the IO.getn function is less than the number of characters in the textarea, it returns only the defined number of characters.
by default it will return one character, if not specified (In this case it is ok)
And if the second argument is bigger, I'm returning all characters to textarea.

I think it is important to keep the semantics. So we should just pass a long number by default, for example: IO.getn("Textarea", 10_000).

I will also change Elixir to support getn("Textarea", :infinity), so we can read the whole thing at once.

https://github.com/elixir-lang/elixir/pull/11081 - Elixir v1.13 only though. :)

Closing this in favor of the PR!


Adds a generic Terraform task which uses mapped variables

Adds a generic Terraform task which performs init/plan/apply and outputs variables
Refactors the old AKS template to use the new generic template

Note this needs testing.

Does it fix any issue? Could link the issue in the PR so we can identify what is the reason for this change.
Thanks

@guibirow I'm not sure if there's an issue, it's something @williamayerst asked to me done.

@guibirow  the reason for this change is so that we can have a single unified terraform template for deploying any kind of resource, rather than needing to create unique steps/jobs for each grouping of resources (i.e. for AKS we need to supply cluster size, so we would need to support it directly in the step for every single TF deployment job).
This way, we reduce duplication.


Design project logo

Changelog
Added

Designed and added new project logo to aristotle-ws.com:

[!TIP]
The design file is docs/static/img/graph.ai. Feel free to enhance the design with your UI or design friend if you are interested. Adobe Illustrator is required.

Changed

Enhanced campaign message on front page by emphasizing the graph database support

Deprecated
Removed

Delete obsolete images that are no longer used

Fixed
Security
Checklist

[ ] Test
[ ] Self-review
[ ] Documentation

👍


Updated styles to match changes in neetoUi

Fixes #637
Description

Changed: custom styles to match updated neetoUi color contrast

Checklist
- [ ] I have made corresponding changes to the documentation.

[x] I have added the necessary label (patch/minor/major - If package publish is required).

Reviewers
@AbhayVAshokan _a

@AbhayVAshokan I have tested the editor in neetoDesk and neetoKb and everything is working as expected.
The main changes were changing color --neeto-ui-gray-700 to --neeto-ui-gray-600 and --neeto-ui-gray-800 to --neeto-ui-gray-700 to maintain the expected contrast, other braking changes to neeoUi does not affect editor.

@AbhayVAshokan _a Conflicts have been resolved.

@AbhayVAshokan Can you please confirm if i have to change the backgrounds of slash commands and mentions.

(--neeto-ui-gray-700)

(--neeto-ui-gray-600)

@gaagul let's keep the first one.

@AbhayVAshokan _a I have improved the color contrast and everything looks readable now, Please let me know if I have to make further changes.


Gmail Signatures

Hello,
More of a question than an issue. Now that Gmail allow for multiple signatures, is it possible to create more than one signature using EmailSettings?
Right now when I create a new signature GAM generate one named "My signature" and when I do it again, GAM simply overwrite it. Is there a way to create a new one keeping the previous signature?
Thanks in advance

Pretty please? 🎁 🎄 🎅 🤶
:D

You're pleading to the wrong people. GAM (Jay's and mine) use Google supplied APIs, if the API doesn't support a feature, there's nothing GAM can do.
Talk to Google, ask them to add multiple signature support to the Gmail API.
Ross
<EMAIL_ADDRESS>
On Dec 22, 2020, at 5:03 PM, regexaurus<EMAIL_ADDRESS>wrote:
Pretty please? 🎁 🎄 🎅 🤶
:D
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/jay0lee/GAM/issues/1280#issuecomment-749858891, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYLZT5A7RSSNFN7VX673SWE6VXANCNFSM4TLTRKVA.

Got it. Thank you, Ross!

Got it. Thank you, Ross!


updating json files topic and test from production to transgender

there were few changes that Melika made in those, and needs to be done in transgender like:
Hepatitis C
Hepatitis C additional information
In liver

confirm with @nrosh052 and @melikaeft and work on it.

there is a difference between the excel sheets

@nrosh052  has to check with @melikaeft for the updated json files...
We have the files so we can compare it also by ourselves
https://drive.google.com/drive/u/1/folders/1LIsTj8L2F9uVbIIySDUbWf3bAxNucP6K

We need to ask Dr.Cleo for the changes that we saw

In Main but not in Transgender
vaccines"
elderly"
"Finances"
"Mental Health"
"Apps"
"Do you need help with food, shelter or finances?"
"Screening  during COVID-19"
Heart "Smoking"
Needle in Arm  "COVID vaccines"
Liver "Alcohol" "Drug Abuse" "Hepatitis C" "Hepatitis C additional information"
https://www.diffchecker.com/16k7WeRE

The transgender is in sync with the traditional application

you are currently Working on the links that dr dr cleo provided

its done


⚠ Bofrost.de has degraded performance

In a554f55, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1133 ms

Resolved: Bofrost.de performance has improved in 9ed5668 after 19 minutes.


Add support for CSP nonce on GSI script & inline styles

Implements suggestions from #229.
Allow passing nonce to GoogleOAuthProvider in order to have it propagated to GSI script & inline styles

@MomenSherif can you please take a look? Thanks!

Thanks for your effort!
Can you add nonce to the dependency array of the useEffect
And run changeset locally with yarn changeset mark it as patch
And push the generated file so I can merge

Done, @MomenSherif.
Can you please check it again? I've never used changeset before, so feel free to correct anything on the message


Create Folk Heritage Special Collection Page

[ ] Create collection page in markdown
[ ] Fix method validation errors for ingest:
Method validation errors: '#special_collections_hash' failed: 'folk-heritage' is not a valid path under '/var/www/openvault/releases/20170309133018/app/views/collections'; Expected one of ["advocates", "american-archive-of-public-broadcasting", "boston-tv-news", "from_the_vault", "march_on_washington", "new_television_workshop", "press_people", "rock_roll", "say_brother", "stock-sales", "vietnam", "war_peace"]
[ ] Re-ingest xml and swap server

The deliverable here is creating the text and image for the collection page

released a long time ago


Cobol Property Group Path Wildcarding

Let’s say I have a directory structure where my copybooks are in nested folders, split by application like so:
globalCopybooks/APP1/CPY/app1.cpy
globalCopybooks/APP2/CPY/app2.cpy
Am I able to wildcard the path in the cobol property group location property to pick up all the above folders? For example:
"wazi.cobol.propertygroup": [
    {
      "name": "copylibs",
      "locations": [
        "../globalCopybooks/*/CPY"
      ],

I would expect the above path to pick up all the copylibs in that directory structure. Instead, it seems that wazi can’t find any of my copybooks now. I have to explicitly specify the path. This would be useful functionality to have as interfaces likely won't exist in just one folder.

@pwawrzoszek we added this now for local files in v.0.3.11 of the IBM Z Open Editor in the VS Code Marketplace. Try it out and let us know how it works for you. The docs are here https://ibm.github.io/zopeneditor-about/Docs/setting_propertygroup.html


external docs are missing for the 'zeroctl describe snapshot' command

When the new zeroctl describe snapshot was introduced in PR #511, the external docs for this commands were forgotten. These should be added.

I was wrong. Apparently it does already exists as https://github.com/zero-os/0-Disk/blob/master/docs/zeroctl/commands/describe.md.


Revert "Communication identity api redesign (#16420)"

This reverts commit 30b917b2b377e7fadbd66c478209b3ab7427ca78.

/azp run python - communication - tests


Save window size and position.

Window size can be still set using macgap.window.resize(), but if it's not,
last known window size and position is used. This gives more control to the
end user, who can now resize and reposition the window as they wish.
To test, open a MacGap app, move and resize the window, close the app and start it again.

does this still work?  I've just tried building an app with no macgap.window.resize() , opened it, resized it, closed the app, and re-opened.  It keeps going back to the default size?
Tbh the only line of code in my app is
window.location.href = 'http://my.web.site';
so is something there messing with it?


recoverylog: less noisy FSM playback warnings

FSM warnings happen frequently as part of normal operation, even when playing back from hints produced by the current recorder.
They're confusing to operators, who want to see warnings only if something abnormal is going on (such as frequent hand-off of a shard).

Resolved by https://github.com/LiveRamp/gazette/commit/b4183567888c194df96d2e887bffec969ba66104


with microbit V2 it is not working on windows nor mac

hi I tried to post this to forum topic about microbit V2, but when submitting some f... crazy thing stopped me becasue of "CMSIS-DAP" word but then it was also impossible to submit after edits, I am starting to hate entire microbit thing deeply....
I tried microbit V2 (CP 7.1.0 beta 1 and nightly build too) on windows and also on mac but its frustrating - on mac I was able to go to editor once but then it hanged after first save&run too (actually then impossible to shutdown mac because of chrome, I must force switch it off).
On windows in chrome I tested chrome://bluetooth-internals, where lots of "Unknown or Unsupported Devices with different MAC started to occur - this also happened once from webeditor in "pairing dialog" - stream of unsupported devices after powering up microbit. Also on windows I see immediately after power-up in connected devices (so without any pairing activation with reset during fast yellow leds) device "BBC microbit CMSIS-DAP." and when I try to add, CIRPY shows as possible. (Here I mostly don't paired and removed also the CMSIS-DAP thing before trying webeditor connecting)
On Mac, I am now trying also chrome://bluetooth-internals and here is CIRCUITPY531b device but trying to inspect it from here to show services, means rotating circle only (and just after inspect, it was red message unsupported device also - the same trying to connect). On CIRPY device services are inspectable here. Now after trying to Pair CIRPY from webeditor, I see again only blue animated gif and latest chrome asi again totally hung.

With windows, you have to add it to your system bluetooth devices first, otherwise it just won't work. I've heard it works with Edge browser too, but haven't tested that myself. I'll have to check on Mac. It sometimes takes a few tries to get it initially connecting, but is usually pretty stable once you do get it working.

I got it working fine on mac. I was unable to get it working on either chrome nor edge on windows.

thanks for info... I have here similar format board with rp2040, so will try this (maybe add to boards)

 hi I tried to post this to forum topic about microbit V2, but when submitting some f... crazy thing stopped me becasue of "CMSIS-DAP" word but then it was also impossible to submit after edits, I am starting to hate entire microbit thing deeply....
I tried microbit V2 (CP 7.1.0 beta 1 and nightly build too) on windows and also on mac but its frustrating - on mac I was able to go to editor once but then it hanged after first save&run too (actually then impossible to shutdown mac because of chrome, I must force switch it off).
On windows in chrome I tested chrome://bluetooth-internals, where lots of "Unknown or Unsupported Devices with different MAC started to occur - this also happened once from webeditor in "pairing dialog" - stream of unsupported devices after powering up microbit. Also on windows I see immediately after power-up in connected devices (so without any pairing activation with reset during fast yellow leds) device "BBC microbit CMSIS-DAP." and when I try to add, CIRPY shows as possible. (Here I mostly don't paired and removed also the CMSIS-DAP thing before trying webeditor connecting)
On Mac, I am now trying also chrome://bluetooth-internals and here is CIRCUITPY531b device but trying to inspect it from here to show services, means rotating circle only (and just after inspect, it was red message unsupported device also - the same trying to connect). On CIRPY device services are inspectable here. Now after trying to Pair CIRPY from webeditor, I see again only blue animated gif and latest chrome asi again totally hung.

I have the same problem on Windows 10.

@beaufortfrancois may be interested in following along.

There has been a major rewrite of the bluetooth component. As such, many error messages have changed. Issue #40 has some more recent error messages, so I'm closing this in favor of that issue as it should be easier to spot. If it turns out to be unrelated, I can always reopen this issue.


[FEATURE] Have UI support to identify non-default instance manager image of each volume in the volume list

Is your feature request related to a problem? Please describe
As per https://github.com/longhorn/longhorn/issues/2144#issuecomment-976337603, it will be helpful for users to identify what volumes still using the non-default instance manager image from the volume list page. Please also be careful with any performance concerns when dealing with tons of volumes.
Describe the solution you'd like
Besides users can check which engine image is used from the volume page, it's better to have a way (ex: icon w/ tip) to let users know what image a volume is using.
Describe alternatives you've considered
N/A
Additional context

https://github.com/longhorn/longhorn/issues/2144
https://longhorn.io/kb/troubleshooting-some-old-instance-manager-pods-are-still-running-after-upgrade/

cc @shuo-wu @smallteeths @khushboo-rancher

@smallteeths I think @innobead was refering to the instance-manager image, for the volume instead of the engine image.
Also don't show the engine-image as part of the volume overview, instead create ui like this for the im-images.
You can build the data add hoc via the api resources, when this component is opened.

Ok thanks for the heads up. I'll look into how to implement it. @joshimoo

@smallteeths we also need to backport this to 1.1.x.

Validation - PASSED
Tested with master-head images (pre-v1.3.x).
Instance-manager pods will be all display under the page:

After refresh can see the updated state of each instance managers:

Click on the instance user will now able to see which volume is being managed by the instance pod.

@kaxing Can we see which instance manager is the default one in the page?


Could this script also update the haproxy certificate

Hey,
Thanks for the script, I got it working.
I use the haproxy package in pfsense. Could the script change the haproxy settings so that is also uses the imported certificate?

Thanks!

+1

Probably, I'll try to add that when I get a chance.  It normally just takes setting a config value to the cert fingerprint.

@stompro I have a PR to do this here: https://github.com/stompro/pfsense-import-certificate/pull/8


Update module.json

vtt logs are throwing warnings about still using systems in modules.json
[warn] Package itemmacro is using the old "systems" manifest key where a "system" key is expected

Will be update with next patch.

Updated in new version.


is possible to write also exif information to the files?

I'd imagine it would be a threat to the lightweight nature of this project, as integrity and proper IO for files can get bloated. I'm am curious however as to if it's a design decision, something that is never planned to change.


bundle with rollup instead of esbuild

Alternative to #6855, which is itself an alternative to #6797.
With this PR, we bundle adapter-node apps with Rollup instead of esbuild. It's slower, but avoids https://github.com/evanw/esbuild/issues/1921 which doesn't look like it'll be fixed any time soon (even though there's a PR — https://github.com/evanw/esbuild/pull/2067), and means that we can deal with both ESM and CJS dependencies without adding more configuration.
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

[x] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
[x] This message body should clearly illustrate what problems it solves.
[ ] Ideally, include a test that fails without this PR but passes with it.

Tests

[ ] Run the tests with pnpm test and lint the project with pnpm lint and pnpm check

Changesets

[x] If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpm changeset and following the prompts. All changesets should be patch until SvelteKit 1.0

True. I feel like it adds some more moving parts though, since Vite does a lot of stuff on top of what you get with Rollup. With Rollup everything is very straightforward and predictable


Documenting code

Breaking change

Proposed change

Type of change

[ ] Dependency upgrade
[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (which adds functionality to an existing integration)
[ ] Breaking change (fix/feature causing existing functionality to break)
[ ] Code quality improvements to existing code or addition of tests

Additional information

This PR fixes or closes issue: fixes #
This PR is related to issue:
Link to documentation pull request:

Checklist

[ ] The code change is tested and works locally.
[ ] Local tests pass. Your PR cannot be merged unless tests pass
[ ] There is no commented out code in this PR.
[ ] I have followed the [development checklist][dev-checklist]
[ ] The code compiles without warnings (code quality chek)
[ ] Tests have been added to verify that the new code works.

If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated for www.home-assistant.io

Codecov Report

Merging #598 (7f91ab4) into app_model (bcd94cb) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           app_model     #598   +/-   ##
==========================================
  Coverage      85.96%   85.96%
==========================================
  Files            111      111
  Lines           3035     3035
  Branches         323      323
==========================================
  Hits            2609     2609
  Misses           285      285
  Partials         141      141

Flag
Coverage Δ

unittests
85.96% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...mmon/Extensions/IConfigurationBuilderExtensions.cs
96.77% <ø> (ø)

...el/Common/Extensions/ServiceCollectionExtension.cs
100.00% <ø> (ø)

...on.AppModel/Common/Settings/AppLocationSettings.cs
100.00% <ø> (ø)

...nt/Common/Extensions/ServiceCollectionExtension.cs
97.61% <ø> (ø)

...on/HomeAssistant/Extensions/HassEventExtensions.cs
80.00% <ø> (ø)

...t/Extensions/IHomeAssistantApiManagerExtensions.cs
100.00% <ø> (ø)

...t/Extensions/IHomeAssistantConnectionExtensions.cs
90.47% <ø> (ø)

...t/NetDaemon.HassClient/Common/Settings/Settings.cs
100.00% <ø> (ø)

Continue to review full report at Codecov.

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


upgrade to 15.04 chroot for crosscompile armhf

This PR gets rid of ubuntu 14.10 for building the chroot -> eol reached in favour of 15.04
makes use of Ubuntu.Components 1.2 and minor changes to main.qml

Thank you for this! :smile:
From looking at it, it looks good. :+1:
I'll test it later today or tomorrow and if it works, I will merge it. :smile:
Thanks again!

I'm testing this right now. So far things look good! :+1:

Works great! Thanks a lot for this! :smiley:

For your information, I also went ahead and bumped the QtQuick version to 2.4. Most times when there is a new Ubuntu release, it ships with a new release of Qt and thus also with a new release of QtQuick. :wink:
This is the respective commit: https://github.com/nikwen/ubuntu-go-qml-template/commit/b5a2ab5bae644675ba6e7afc1b514098dd4a76a6


Missing dependency on tf2_geometry_msgs

Please refer issue #27 which was only partially resolved.
This commit 935f87d0c9ed3581a9984ccc5f95c305f9d344eb has a dependency on the package tf2_geometry_msgs.
The fix for #27 (https://github.com/ensenso/ros_driver/commit/fd0cd04120639f9738340f56c366eff84d0bb5b2) added dependencies ontf2 and tf2_ros but neither include tf2_geometry_msgs.

Hello athish-t,
thanks again for the hint. I also added some other missing dependencies in the CMakeLists.txt and package.xml in the ensenso_camera package.
Best regards
Yasin


Only showing owned, original repository.

HI @ChoukseyKhushbu!
The Gitzilla webapp only showing owned repository, i.e. repository type: Sources, rather than all (forked, owned, archived, mirrored), like it was showing originally before?
Regards,
Tushar Nankani

Hi @ming-tsai!
This fix on PR #36 fixes small bugs.
What I meant was:

The Gitzilla webapp only showing owned repository, i.e. repository type: Sources, rather than all (forked, owned, archived, mirrored), like it was showing originally before?

So, currently it is just showing: type: Sources.
@ChoukseyKhushbu
So, maybe I would like to propose a feature enhancement similar to that of the picture. Let me know if it is feasible!
Regards,
Tushar Nankani

Hi @tusharnankani,
Take a look at this PR # 41, if this is the feature you wanted, but I don't know that GitZilla will cover fork projects.

Ok, @tusharnankani.
Maybe you should change the issue title😆


[Coverity CID :190966]Error handling issues in /samples/net/sockets/echo_async_select/src/socket_echo_select.c

Static code scan issues seen in File: /samples/net/sockets/echo_async_select/src/socket_echo_select.c
Category: Error handling issues
Function: main
Component: Samples
CID: 190966
Please fix or provide comments to square it off in coverity in the link: https://scan9.coverity.com/reports.htm#v32951/p12996

Looks like it needs to be 1ULL instead of 1U

https://github.com/zephyrproject-rtos/zephyr/pull/13967


Avoid unecessary responsive calculs when already done

Hey!
I just had a if else statement that avoid to override calculs done by onWidthChange(). It settled one of the issue I had when sending a new width through props. This is related to issue 208. I'll add more code asap to correct the others problems I told you at the beginning in this issue.
Let me know what you think of it.

This is good, thanks. In general, please don't commit built files - I only recalculate them at tagged releases to avoid diff churn.


DPL-303 As a Mgr (Tom) I would like to prevent duplicate plate barcodes being created within SequenceScape and the MLWH stock_resource table so that we do not break Heron reporting to the HSA

Describe the bug
DPL-303 As a Mgr (Tom) I would like to prevent duplicate plate barcodes being created within SequenceScape and the MLWH stock_resource table so that we do not break Heron reporting to the HSA.
It seems duplicate plate barcodes can be created by SequenceScape receiving multiple requests from the lighthouse / cherry track applications.
When this happens the reporting assumptions used by CoTrack are broken and their report will fail to generate. It also creates difficult to unpick data within SequenceScape as duplicate plates are then processed through the pipeline.
It seems historically this was allowed to happen, however we should not allow new instances of this problem to arise.
RT Ticket Number
744564
To Reproduce
TBD
Expected behaviour
I would expect a request to create a new resource with an already used plate barcode to either:
Fail with a suitable error message - this can be problematic in messages systems that are lossey (in practice all message systems). In that if the client sends an initial request to create the resource that succeeds but never receives the server response and then the client attempts a retry it will see a FAIL response. This can create complex client side logic to handle this situation.
OR
Use something like an Idempotency-Key   to make resource creation safe to retries.
The concept of Idempotency is described here. In general creation requests are not Idempotent, but can be made so using the technique above.

Moving this item to the bottom of the list based on inputs from @TWJW-SANGER in https://docs.google.com/spreadsheets/d/14Rh3Q1l_d1tqcxZy6wploMXQV_kSiBfamkaJzwgjt8E/edit#gid=0


Detect testcase regressions

Adds a workflow for detecting regressions against the latest collected harness results.
Some notes:

This also catches things that aren't "true" regressions, e.g. a result going from SKIPPED to a PASS/FAIL state. I could specialize some more to handle these, but I figure there's value in alerting on them as well.
The current label change detection is slightly off, since workflows can't trigger other workflows via the default GITHUB_TOKEN. The "correct" way to do this is to use a GitHub App or PAT instead of a workflow's token, but that's a bit overkill.

Closes #197.

I think this is good as an MVP -- I've removed label-checks.yml for now since it's incomplete and needs more thought, and I'll try and do it in a follow-up.


Workerfix

the times keep on changing...

sorry, I was just trying to use browser UI to merge this locally and acted in haste (lesson learned)


Is the API for self-supervised models changed recently?

I want to use pytorch-lightning to train SimCLR and SwAV model using my own data set and transformation functions. I did this about 6 months by initializing the SimCLR model like below:
simclr_model = SimCLR(batch_size=batch_size, num_samples=train_size, lr=lr) trainer = pl.Trainer(...) trainer.fit(model=simclr_model, train_dataloader=my_train_loader, val_dataloaders=my_val_loader)
However, today I realize that the API for SimCLR model has been changed and it requires the following arguments:
SimCLR(gpus, num_samples, batch_size, dataset)
where the argument dataset can only be selected from stl10, cifar10 and imagenet. So does this mean I can no longer train the SimCLR model using my own data set? Or can I install an old branch of pytorch-lightning-bolts to enable this feature?

Or to be more specific, I think the gpus and dataset argument might be redundant in the constructor in some of the self-supervised models, since we can specify the number of available GPUs in pl.Trainer and the dataset argument is only used in cli_main(), not in the class itself.


What is the best way to train the rasa bot?

Rasa Core version: 0.9.0a3
Python version: 3.6.5
Operating system (windows, osx, ...):10
Issue: I know you guys have given in docs the way to train a bot in rasa. But i am not able to understand it pretty well because of less content. I am using dialogflow agent data for my rasa core bot . It was working fine at first then i updated the bot with new intent's like i added some faq's in my bot. On adding that my welcome intent started misbehaving. The phrases of welcome intent like "Hi" catches an faq intent instead of welcome intent.  I don't want my bot to work in a specific flow. I just want it to act as an intent classifier and for entity extraction.
I am sending you guys my stories.md snippet hope you can understand. I have just limiting it to welcome and faq intent only for now!
https://gist.github.com/NikhilBansal21/6be660f125b24e5fe5832331a6064543
Content of domain file (if used & relevant):

If you only want intent detection then I believe you don't need the Rasa Core part, only the Rasa NLU will be enough. I think you can use the /parse endpoint to achieve this. I don't think you'll stories in this case.

i know nlu can do the same thing which i actually wanted but i am using slots for storing values. I don't want my client to handle storing entity  part

if your intent is being misclassified, this is more of an nlu problem no? what classifier are you using?

@akelad  i am using these pipeline configs for nlu
"pipeline":

name: "nlp_spacy"
name: "tokenizer_spacy"
name: "intent_featurizer_spacy"
name: "intent_classifier_sklearn"
name: "ner_crf"
name: "ner_synonyms",

I'm not sure how much training data etc you have, but it sounds like you probably have to little, if those intents are getting confused. Also are you using the medium spacy model?


Release 2.7.x

This updates the version to 2.7.0 and adds release notes.
CC @bmesuere @Silox

:heart:


Docs Broken - series page

https://uber.github.io/react-vis/documentation/api-reference/series

ArcSeries for radial arcs such as might be found in pie charts.
AreaSeries for area charts;
BarSeries for discrete bar charts, covers (covers HorizontalBarSeries and VerticalBarSeries);
ContourSeries for making contour density plots;
HeatmapSeries for heat maps.
LabelSeries for adding annotations to charts
LineMarkSeries is a shorthand to place marks (e.g. circles) on lines;
LineSeries for lines;
MarkSeries for scatterplots;
PolygonSeries for arbitrary SVG shapes
RectSeries for arbitrary histograms and other continuous variable boxes. (covers HorizontalRectSeries and VerticalRectSeries)

All the links in the quoted text above land the user on an empty page

Should be good now ;) Thanks