Add access class for access-esm repro testing

Added an access model class (access is the name of the payu driver for the access-esm1.5 model).

Refactor extracting mom5 checksums to a separate file and function so it can be reused in access-om2 and access. I used just a helper function, rather than model class of mom5 with extract_checksums() method to easily allow for different checksums be added to access-om2/access models in future.

Added a test access.out and expected checksums to test resources so it passes the existing extract_checksums() tests for each model class.

Set default model runtime for access to 24hr for access (as the minimum runtime is day), and keep access-om2/om3 to 3hrs. This default runtime is used in the historical repro checksums tests.

Refactored the test_bit_repro_historical a little as the test was getting long with the added logic..

Added a start of an integration-like test for test_bit_repro_historical. This is still draft while I am finishing off adding tests. But if there's any feedback on the changes is welcome

Added more tests for test_bit_repro_historical. It's somewhat ironic having a lot of test code for tests.. The tests probably can be improved and broken up to test more smaller functions that are moved outside of test_bit_reproducibility.py and just have one or 2 integration style tests. In future, I want to test the other repro and config pytests, and other models rather than just access. Though that might be moving out of the scope of this PR.
Added a quick improvement to the logging when the payu run fails in test_bit_repro_historical. I could add more logging, and use the logging library but I'll save that for an PR of this issue: https://github.com/ACCESS-NRI/model-config-tests/issues/5

I've tested the code with the pre-industrial configuration: https://github.com/ACCESS-NRI/access-esm1.5-configs/tree/pre-industrial, but using the executable paths from coecms: https://github.com/coecms/access-esm/blob/main/config.yaml, as the exe paths on the current  pre-industrial branch weren't working.
Though I think the pre-industrial configuration is getting updated with spack executables, so I'll be able to do another test run.
I've tested it with the broken 025 access-om2 configs tests to see what logs are printed when things go wrong..

Ok, so the spack executables in this PR: https://github.com/ACCESS-NRI/access-esm1.5-configs/pull/26, pass the historical bit reproducibility test using checksums from the coecms executables as a reference.
Restart reproducibility fails, because the model is not in a good state to restart from after a model runtime of one day - it's minimum runtime might be a month (?). Talked with @aidanheerdegen about whether restart reproducibility should be tested as part of Reproducibility CI checks for configs (as they fail for the access-om2-bgc configs too), and decided that bit historical reproducibility was sufficient testing for now. So I've changed the test marker to checksum_slow, and will create a separate issue for refactoring the restart repro tests. Does that sound an ok plan?

Ok, so the spack executables in this PR: ACCESS-NRI/access-esm1.5-configs#26, pass the historical bit reproducibility test using checksums from the coecms executables as a reference.

Hey that's cool!

Restart reproducibility fails, because the model is not in a good state to restart from after a model runtime of one day - it's minimum runtime might be a month (?). Talked with @aidanheerdegen about whether restart reproducibility should be tested as part of Reproducibility CI checks for configs (as they fail for the access-om2-bgc configs too), and decided that bit historical reproducibility was sufficient testing for now. So I've changed the test marker to checksum_slow, and will create a separate issue for refactoring the restart repro tests. Does that sound an ok plan?

I believe ESM1.5 has never been restart reproducible. @MartinDix mentioned that CABLE (the land model embedded in the UM in ESM1.5) also prevented restart reproducibility, so best to not have it turned on as a check. Which also means we can just use 1 day runs for historical reproducibility.

I reran the historical repro test with ACCESS-ESM1.5 pre-industrial config and an ACCESS-OM2 config, just to make sure the latest changes didn't break the tests.


Support server-side streaming in json-http api

Motivation
While grpc is great and modern clients such as https://github.com/grpc/grpc-web support server-side streaming, if we plan to support the json-http gateway then it should be complete and support steaming and not just queries. Currently, the json-http code only support queries.
Changes

Update the json-http code to support server-side streaming methods
Add integration tests to all json-http server-side streaming methods in go-spacemesh

I think we should phase out the json-http api gateway altogether for the next major release of the API (version 2.0 for Spacemesh node 0.3).
Light clients (which don't have a good GRPC client lib) can just use grpc-web and public spacemesh API endpoints can choose to add grpc-web support at runtime via an Envoy Proxy or at compile time by compiling the grpc server in the node to support grpc-web (some grpc server libs provide this functionality today. See: https://github.com/improbable-eng/grpc-web)
So, once grpc-web is supported by the server, http/1.1 clients that can't open a socket (such as browser clients) can easily consume the api. I think that the grpc ecosystem is moving to this direction and away from http-json gateways and we should adopt this strategy.
@lrettig @moshababo @antonlerner @noamnelke


.ReadFrom.Configuration(Configuration) does not load  serilog.sinks.mssqlserver (dotnetcore 2.0)

serilog.sinks.mssqlserver\5.1.0
\serilog.settings.configuration\2.5.0
\serilog.aspnetcore\2.1.0
\serilog\2.6.0
public void Configure( ...
var logger  = new LoggerConfiguration()
.ReadFrom.Configuration(Configuration)
.CreateLogger();
appsettings
"Serilog": {
"MinimumLevel": "Debug",
"WriteTo": [
{
"Name": "RollingFile",
"Args": { "pathFormat": "D:\IS2009\Service\MediaPortal.Events.Api\logs\mediaportal\events-{Date}.txt" }
},
{
"Name": "MSSqlServer",
"Args": {
"ConnectionString": "Data Source=...",
"TableName": "FullLog"
}
}
]
},
"RollingFile" is loaded but "MSSqlServer" is not , what am I doing wrong ?
}

if I do
var logger  = new LoggerConfiguration()
.WriteTo.MSSqlServer(connectionString, tableName, columnOptions:  columnOptions)
.CreateLogger();
It does work ?!
thank you
enrico

Hi,
the name of the keys of the Args section in the json configuration file are the names of the parameters of the method ... but it is case-sensitive
In this case, the underlying method is :
public static LoggerConfiguration MSSqlServer(
            this LoggerSinkConfiguration loggerConfiguration,
            string connectionString,
            string tableName,
            LogEventLevel restrictedToMinimumLevel = LevelAlias.Minimum,
            int batchPostingLimit = MSSqlServerSink.DefaultBatchPostingLimit,
            TimeSpan? period = null,
            IFormatProvider formatProvider = null,
            bool autoCreateSqlTable = false,
            ColumnOptions columnOptions = null,
            string schemaName = "dbo"
)

so your config file should look like :
... stuff before ...
{
  "Name": "MSSqlServer",
  "Args": {
    "connectionString": "Data Source=...",
    "tableName": "FullLog"
 }
}
... stuff after ...

Thank you, that was the problem ..
Wheere can I find a sample about settings columns options by json configuration ?
thank you
Enrico

I believe it is not supported in json configuration at the moment ...
See #109 ; #74

thank you .
BTW : it seems I cannot redefine the name of basic columns such as
StandardColumn.Message
StandardColumn.MessageTemplate
StandardColumn.Level
StandardColumn.TimeStamp
StandardColumn.Exception
StandardColumn.Properties
only remove them E.G. : columnOptions.Store.Remove(StandardColumn.Properties);
but not rename them ..
is it true ?
thank you
enrico


How to use SEOstats In Laravel 5

How to use SEOstats In Laravel 5, Please help me to setup SEOstats in Laravel 5.2

Add to composer.json in require section :

"seostats/seostats": "dev-master"

Run command "composer update"

In your model add this code use SEOstats\Services\Google;

Have fun ;)
dd(Google::getSerps('Hack Google', 10));

Still not working its giving this error
"Class 'SEOstats\Services\Google' not found"

Anyone can help us how to use this package inside laravel ? I'm getting this error as well :
"Class 'SEOstats\Services\Google' not found"

@MimonCopitman have you found a solution?

anyone found a solution ?


Hello, can you publish the misaligned dataset used in the project?

Hi, please check the onedrive link in the readme

Thank you!


Datagrid current page not rendered correctly in IE 11

Describe the bug
In version 1.2.x the current page in the pagination footer is rendered correctly:

However, in version 2.x the current page in the pagination footer is not rendered correctly:

How to reproduce
Expected behavior
The current page number should render correctly.
Versions
App

Angular: 8.2.3
Node: 12.9
Clarity: 2.1.2

Device:

Type: Dell Latitude
OS: Windows 7 Pro
Browser IE 11
Version 11.0.9600.19403

Additional notes
Add any other notes about the problem here.

@hippee-lee that's true. actually, the pagination number has a line-height of 1rem. With 0.75. fits perfectly.


Can MMseq2 complete the template  search now?

If it is supported, how can i set up the database of templates

I updated the scripts on how to setup the template server in the colabfold repository https://github.com/sokrypton/ColabFold/tree/main/MsaServer.


rewrite arche-ingest workflow

[x] run filechecker via acdhch/arche-filechecker and upload report to artifact

https://github.com/KfNGOe/ferdinand-I-arche/commit/1de7e715cc803d26e1b758124ffb9030b181f6d3


Fix the problem of deselecting rows in the action table in Saas Integration Manager

When a row of the table is selected it is changed to the first row always
The following video shows the error
https://images.zenhubusercontent.com/275993885/b7be6c57-e580-43dd-a946-2e40dc6cce8d/video2994857732.mp4
Possible error:

I should investigate how to keep the row that is selected until I click on another.

The action table seems to be working fine. Hence, moving this issue to needs qa.

@felixsuarez0727 : Unable to test this as the Saas Manager App - API Manager Page - displays an error (Page does not get loaded )

Moving to Blocked PR.


yii\rbac\Rule serialization issue

Consider the following example.
class FooRule extends yii\rbac\Rule
{
    public $name = 'foo';
    private $dependentClassName;

    public function __construct($dependentClassName, $config = [])
    {
        $this->dependedClassName = $dependedClassName;
        parent::__construct($config);
    }

    public function execute($user, $item, $params)
    {
         $dependentClass = Yii::$container->get($this->dependentClassName);
         // logic
    }
}

Using this class with yii\rbac\DbManager causes unserialize(): Error. I made a little bit of research and it seems the error caused by the private field unserialization.
From http://php.net/en/serialize.

Object's private members have the class name prepended to the member name; protected members have a '*' prepended to the member name. These prepended values have null bytes on either side.

...

Note that this is a binary string which may include null bytes, and needs to be stored and handled as such. For example, serialize() output should generally be stored in a BLOB field in a database, rather than a CHAR or TEXT field.

Of course, I can use public field instead, but it looks like treating the symptom, not the cause. Anyway, at least corresponding docs should be improved.

Using this class with yii\rbac\DbManager causes unserialize(): Error

can you be more specific about how you use the class and also provide the stacktrace of the error?

Config
return [
    // ...
    'components' => [
        'authManager' => [
            'class' => 'yii\rbac\DbManager',
        ],
        // ...
    ],
];

AuthorRule
class AuthorRule extends yii\rbac\Rule
{
    private $activeRecordClass;

    public function __construct($activeRecordClass, $config = [])
    {
        $this->activeRecordClass = $activeRecordClass;
        parent::__construct($config);
    }

    public function execute($user, $item, $params)
    {
         $class = $this->activeRecordClass;
         $ar = $class::findOne($params['id']);

         if (!$ar) {
             throw new yii\web\NotFoundHttpException();
         }

         return $user === $ar->user_id;
    }
}

AccessFilter
class AccessFilter extends \yii\base\ActionFilter
{
    public function beforeAction($action)
    {
        if (Yii::app()->user->can($action->getUniqueId(), ['id' => Yii::app()->request->get('id'))) {
            return true;
        }
        throw new yii\web\ForbiddenHttpException();
    }
}

Controller
class PostController
{
    public $allowUnauthorized = ['index'];

    public function behaviors()
    {
        return [
            // 401
            'auth'   => [
                'class'      => QueryParamAuth::class,
                'tokenParam' => 'token',
                'except'     => $this->allowUnauthorized,
            ],
            // 403
            'access' => [
                'class'  => AccessFilter::class,
                'except' => $this->allowUnauthorized,
            ],
        ];
    }

    /*
    |---------
    | Actions
    |---------
    |
    */
}

Command for building rbac tree
$auth = Yii::$app->authManager;

// add the rule
$rule = new AuthorRule(Post::class);
$auth->add($rule);

// permissions
$createPost = $auth->createPermission('post/create');
$auth->add($createPost);

$updatePost = $auth->createPermission('post/update');
$auth->add($updatePost);

$updateOwnPost = $auth->createPermission('post/update:own');
$updateOwnPost->ruleName = $rule->name;
$auth->add($updateOwnPost);
$auth->addChild($updateOwnPost, $updatePost);

// roles
$author = $auth->createRole('author');
$auth->add($author);
$auth->addChild($author, $createPost);
$auth->addChild($author, $updateOwnPost);

$admin = $auth->createRole('admin');
$auth->add($admin);
$auth->addChild($admin, $updatePost);
$auth->addChild($admin, $author);

// assigning roles to users
$auth->assign($author, 2);
$auth->assign($admin, 1);

RBAC tree saved in DB without any error. The following error occurs when access control is executed.
{
    "name": "PHP Notice",
    "message": "unserialize(): Error at offset 77 of 81 bytes",
    "code": 8,
    "type": "yii\\base\\ErrorException",
    "file": "/var/www/myapp/api/vendor/yiisoft/yii2/rbac/DbManager.php",
    "line": 573,
    "stack-trace": [
        "#0 /var/www/myapp/api/vendor/yiisoft/yii2/rbac/BaseManager.php(206): yii\\rbac\\DbManager->getRule()",
        "#1 /var/www/myapp/api/vendor/yiisoft/yii2/rbac/DbManager.php(192): yii\\rbac\\BaseManager->executeRule()",
        "#2 /var/www/myapp/api/vendor/yiisoft/yii2/rbac/DbManager.php(206): yii\\rbac\\DbManager->checkAccessRecursive()",
        "#3 /var/www/myapp/api/vendor/yiisoft/yii2/rbac/DbManager.php(126): yii\\rbac\\DbManager->checkAccessRecursive()",
        "#4 /var/www/myapp/api/vendor/yiisoft/yii2/web/User.php(661): yii\\rbac\\DbManager->checkAccess()",
        "#5 /var/www/myapp/api/core/http/filters/AccessFilter.php(53): yii\\web\\User->can()",
        "#6 /var/www/myapp/api/vendor/yiisoft/yii2/base/ActionFilter.php(71): app\\core\\http\\filters\\AccessFilter->beforeAction()",
        "#7 /var/www/myapp/api/vendor/yiisoft/yii2/base/Component.php(541): yii\\base\\ActionFilter->beforeFilter()",
        "#8 /var/www/myapp/api/vendor/yiisoft/yii2/base/Component.php(541): ::call_user_func:{/var/www/myapp/api/vendor/yiisoft/yii2/base/Component.php:541}()",
        "#9 /var/www/myapp/api/vendor/yiisoft/yii2/base/Controller.php(263): yii\\base\\Component->trigger()",
        "#10 /var/www/myapp/api/vendor/yiisoft/yii2/web/Controller.php(108): yii\\base\\Controller->beforeAction()",
        "#11 /var/www/myapp/api/vendor/yiisoft/yii2/base/Controller.php(149): yii\\web\\Controller->beforeAction()",
        "#12 /var/www/myapp/api/vendor/yiisoft/yii2/base/Module.php(455): yii\\base\\Controller->runAction()",
        "#13 /var/www/myapp/api/vendor/yiisoft/yii2/web/Application.php(84): yii\\base\\Module->runAction()",
        "#14 /var/www/myapp/api/vendor/yiisoft/yii2/base/Application.php(375): yii\\web\\Application->handleRequest()",
        "#15 /var/www/myapp/frontend/app/api/index.php(25): yii\\base\\Application->run()",
        "#16 {main}"
    ]
}

Can you get what's stored in DB and post here?

namedatacreated_atupdated_at
authorO:40:"app\modules\permissions\rules\AuthorRule":4:{s:4:"name";s:6:"author";s:53:"14490513441449051344

Aha. Seems you have it trimmed. What's type of the data column?

The type is text. BTW, I use PostgreSQL.

Then it's not the case and the reason for trimming is elsewhere. PostgreSQL text could hold about 4GB w/o problems.

@akireikin did you solve your problem?

@SilverFire I stopped using private and protected fields in Rule classes.

@akireikin Did it fix serialization trimming in DB?

I'm closing the issue because @akireikin is inactive and the problem is not verified.

Found, that it's a PHP peculiarity
https://github.com/yiisoft/yii2/issues/10823#issuecomment-183631269


Update Github Workflow

Hi @yaronzz  I hope you are doing fine.
There are some warnings appearing in Github Actions about moving from Node.js 12 to Node.js 16, this commit will use Node.js 16.
Thanks in advance.
Enjoy your weekend!

@yaronzz when you have time can you please check my question #224 ?
Thanks in advance.

@yaronzz when you have time can you please check my question #224 ?
Thanks in advance.

next update


ValueError: setting an array element with a sequence.

i got this error,someone knows?

Hi @tigerdhl, not entirely sure what you mean.  Some piece of code where the error is occurring?

same error here
~/work/.localenv/lib/python3.5/site-packages/Augmentor/Pipeline.py in keras_generator(self, batch_size, scaled, image_data_format)
538
539             if scaled:
--> 540                 X = X.astype('float32')
541                 X /= 255.  # PR #126
542
ValueError: setting an array element with a sequence.

Same here. I can see there's TODO to fix that, any ETA?
https://github.com/mdbloice/Augmentor/blob/master/Augmentor/Pipeline.py#L460

Fixed it by setting the parameter scaled to False. However I have a new issue related to #164


After I installed DiasyUI in large project with NuxtJS I got ERROR (Javascript heap out of memory)

After I installed DiasyUI in large project with NuxtJS I got ERROR (JavaScript heap out of memory)
like every 15 mints
and I should do yarn dev the project again
any help !

Make sure you're using the latest version of Nuxt.js
Here's an example repo: https://stackblitz.com/edit/daisyui-nuxtjs

let me know if you have any questions

yeah I used it with Nuxt V2, not Nuxt V3,
I can't switch to nuxt3 now

I put it here because it's only happened when I install DaisyUI in my project, but ok I'm gonna ask at Nuxt Repo
Thanks!


Automated testing

tools

Cypress
Cucumber

test steps

[ ] home page lists multiple users
[ ] click on first/random user and check the data display is correct according to their json file

* ser and check the data display is correct according to their json file

Yes this will be required. I have never added any test or never worked with it but will like to work this time. Will you please guide me Eddie

automated testing 💯 💯
Quick question: is there a URL these tests would use? I couldn't test the deployed version on  linkfree.eddiehub.org/

automated testing 100 100
Quick question: is there a URL these tests would use? I couldn't test the deployed version on linkfree.eddiehub.org/

The deployed version is running on LinkFree Please have a look !

I had a look @rohan-kulkarni-25, but the app doesn't show up. Only a list of links to other sites like Netflix...
Also the link isn't with https, but even inputting it manually doesn't work.

I had a look @rohan-kulkarni-25, but the app doesn't show up. Only a list of links to other sites like Netflix...
Also the link isn't with https, but even inputting it manually doesn't work.

You need to refresh the ads will go

do you need to have it in cucumber?

https://github.com/EddieHubCommunity/LinkFree/pull/305

@eddiejaoude is this closed by #380 ?

I think this is to be closed 🤔


Refactor chart to update options when using Keycloak

Overview
Update the chart to use Keycloak manifests or sub-chart to enable the correct communication when terminating TLS sessions with Nginx when using AWS NLB + Nginx.
Requirement
This is the standard ingress-controller manifest for NLB. We used the same settings, except for one minor change:
For the Service update the targetPort for the http to use to tohttps instead of http.
Before:
...
spec:
  type: LoadBalancer
  externalTrafficPolicy: Local
  ports:
    - name: http
      port: 80
      protocol: TCP
      targetPort: http
    - name: https
      port: 443
      protocol: TCP
      targetPort: https
  selector:
...

After:
...
spec:
  type: LoadBalancer
  externalTrafficPolicy: Local
  ports:
    - name: http
      port: 80
      protocol: TCP
      targetPort: tohttps
    - name: https
      port: 443
      protocol: TCP
      targetPort: https
...

The ingress resource is specified below. Notice the annotations and the secretName to specify the TLS secret. This TLS secret should be located in the same namespace as the ingress resource.
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: keycloak
  namespace: keycloak
  annotations:
    nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
    nginx.ingress.kubernetes.io/ssl-redirect: "true"
    nginx.ingress.kubernetes.io/rewrite-target: "/"
    nginx.ingress.kubernetes.io/server-snippet: |
      if ( $server_port = 80 ) {
         return 308 https://$host$request_uri;
      }
spec:
  tls:
    - hosts:
      - test-nlb.illumidesk.com
      secretName: tls-secret
  rules:
  - host: test-nlb.illumidesk.com
    http:
      paths:
      - backend:
          serviceName: keycloak
          servicePort: 8080

This is the Keycloak Deployment/Service:
apiVersion: v1
kind: Service
metadata:
  name: keycloak
  namespace: keycloak
  labels:
    app: keycloak
spec:
  ports:
  - name: http
    port: 8080
    targetPort: 8080
  selector:
    app: keycloak
  type: ClusterIP
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: keycloak
  namespace: keycloak
  labels:
    app: keycloak
spec:
  replicas: 1
  selector:
    matchLabels:
      app: keycloak
  template:
    metadata:
      labels:
        app: keycloak
    spec:
      containers:
      - name: keycloak
        image: quay.io/keycloak/keycloak:12.0.3
        env:
        - name: KEYCLOAK_USER
          value: "admin"
        - name: KEYCLOAK_PASSWORD
          value: "admin"
        - name: PROXY_ADDRESS_FORWARDING
          value: "true"
        ports:
        - name: http
          containerPort: 8080
        - name: https
          containerPort: 8443
        readinessProbe:
          httpGet:
            path: /auth/realms/master
            port: 8080

Steps to Replicate the Setup (ingress-nginx with TLS + AWS NLB):

Create a new namespace, called ingress-nginx: kubectl create namespace ingress-nginx
Deploy ingress-nginx with the AWS NLB option as documented here. To confirm the command to deploy is kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v0.44.0/deploy/static/provider/aws/deploy.yaml
(Optional) Add custom Apple annotations to the ingress-nginx manifests in the file above.
Create TLS private key, root, and certificate for the nginx resource. This section of the docs has an example of how you could create a cert with the openssl command.
Create the secret in the namespace where the application is deployed: kubectl create secret tls ${CERT_NAME} --key ${KEY_FILE} --cert ${CERT_FILE} -n {namespace-where-app-is-deployed}
Deploy the ingress resource and the app itself.

@Abhi94N in case you need an additional reference I pushed the POC changes to the keycloak-poc repo.

@Abhi94N I'm going to re open this issue in the illumidesk/enterprise repo since we are deprecating Keycloak from this chart.


Request to add information about Action/Connector deprecations

Recently the 'Send an HTTP Request' Action from the 'Office 365 Groups' Connector was deprecated, which has resulted in some unforeseen delays in our development.
This page is related to Power Platform deprecations, but it does not appear to contain changes to Connector Actions.
How/where does Microsoft release information about upcoming/new deprecations for Action/Connector for developers to proactively plan for the impacts? Would you please add information about Action/Connector deprecations to this page?

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

ID: 1a241829-ba79-0d2e-d061-cedb8978fbeb
Version Independent ID: 867a90ce-0a3e-0a82-0458-acf7e783e961
Content: Important changes (deprecations) coming in Power Platform - Power Platform
Content Source: power-platform/important-changes-coming.md
Service: power-platform
Sub-service: admin
GitHub Login: @sericks007
Microsoft Alias: sericks

Thanks for your comment, @GreciaWu888. This issue has been assigned to the doc author for review.


Add config spec for S1810 Subject Table

This file is used to specify the configuration used for processing the data from US Census, similar to features.json already existing.
The Table to imported
Import doc
This file acts as input to data loader script that is yet to be merged. The dataloader script will create the mcf, tmcf and cleaned csv files
The enumSpecialisation section is empty because of different mechanism followed by the new script.


Sync build.format with trailing_slash config

Hi 👋
I have had some problems when deploying a project with Astroplate in Cloudflare Pages due to this configuration.
Apparently there are some known issues regarding the differences between generating pages as single files or as directories with an index.html inside, depending on the hosting provider. [1]
Additionally, in Astro's own documentation, It is recommended to synchronize build.format with the trailingSlash option to avoid inconsistencies between the development environment and build time. [2]
Before the changes
For example, the blog page is generated as /blog/index.html.
After the changes
The same page is generated as /blog.html.
References

[1] https://github.com/slorber/trailing-slash-guide
[2] https://docs.astro.build/en/reference/configuration-reference/#buildformat

While opening a later PR I noticed that the project uses double quotes instead of single ones.
Please feel free to change them if necessary for the sake of consistency. :smiley_cat:


disconnect is deprecared in pymongo 3

I just replaced the synonym and it works on my setup.
Let me know if you have any question or remarks

Thanks for the pull request! mongo-connector doesn't support PyMongo 3 yet. Support for it will come after the release of PyMongo 2.9, which makes the transition easier. close has been around since PyMongo 2.1, so I think this change is fine. Thanks!


Update trim to match Postgres/duckdb

Is your feature request related to a problem or challenge?
I'm not sure if this is a bug or not, but generally, the trim function does not behave as I'd expect (or the same way postgres/duckdb handle it)...
E.g. in postgres:
SELECT trim('test.com', '.com');
btrim
-------
 test

I.e. it seems to be using btrim and removing the second argument.
This behavior is the same in duckdb:
SELECT TRIM('test.com', '.com');
test

In datafusion, the following happens:
❯ SELECT TRIM('test.com', '.com') AS t;
+----------+
| t        |
+----------+
| test.com |
+----------+
1 row in set. Query took 0.021 seconds.

Calling btrim directly does work as expected...
❯ SELECT BTRIM('test.com', '.com') AS t;
+------+
| t    |
+------+
| test |
+------+
1 row in set. Query took 0.003 seconds.

Describe the solution you'd like
I'd like trim to work on whatever the second parameter is without using btrim directly.
Describe alternatives you've considered
No response
Additional context
No response

It should be a bug.
https://github.com/apache/arrow-datafusion/blob/f3836a53122e86f2b73c25557deaa5b800e488e9/datafusion/physical-expr/src/functions.rs#L733-L741

Cool, I can't change the GitHub issue, but I'll look into it. I think the issue is upstream as the second arg isn't making it into btrim...
❯ SELECT TRIM('test.com', '.com');
calling trim with: [StringArray
[
  "test.com",
]]
+------------------------+
| trim(Utf8("test.com")) |
+------------------------+
| test.com               |
+------------------------+
1 row in set. Query took 0.002 seconds.

I added a debug statement to show the args, and note the inferred column name.

Hmmm... maybe not supported in sqlparser, except for snowflake and bigquery? Maybe wroth raising an issue there?
https://github.com/sqlparser-rs/sqlparser-rs/blob/5da66adda99d8cf7a36c1512d41815d94ce542b5/src/ast/mod.rs#L571-L582

Made a draft PR here that I think fixes the bug: https://github.com/apache/arrow-datafusion/pull/9521


Ci/fix release docs

Make some fixes regarding the release workflow:

Install needed tool to generate documentations based on JSON schema;
Make the release fail in case a prepare command fails;

size-limit report 📦

Path
Size

target/wasm32-unknown-unknown/release/cw_storage.wasm
313.22 KB (0%)

target/wasm32-unknown-unknown/release/cw_law_stone.wasm
620.49 KB (0%)


Need vaccination data from publish date 2021-04-19 until 2021-04-15

Need vaccination data from publish date 2021-04-19 until 2021-04-15

Wont fix


Fix refresh on activity

Pulls updates from portals when receiving "invalidated" events.

Seeding as 0.2.1


[RFC/RDY] flent: add manpage + init http-getter

Motivation for this change
without at least netperf the program is useless since it is an interface to netperf.
http-getter is a small utility used just by flent so I addded it to the flent default.nix.
NB: for those testing it, I kept the stable release but there is a nasty bug that was solved there
https://github.com/tohojo/flent/issues/137 so you might need to override the src to sthg more recent.
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: flent
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: flent
Partial log (click to expand)
test_create_timeseries (unittests.test_plotters.TestPlotters) ... ok
test_create_timeseries_combine (unittests.test_plotters.TestPlotters) ... ok
test_load_tests (unittests.test_tests.TestTests) ... ok

----------------------------------------------------------------------
Ran 26 tests in 4.563s

OK
postPatchMkspecs
/nix/store/5z6i0bd4r248jahlhl9fmbl9b19m6c9d-flent-1.2.2

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: flent
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Failure on x86_64-linux (full log)
Attempted: flent
Partial log (click to expand)
checking for references to /build in /nix/store/y1071aid72sabrhllhdgrallsixw8ncx-qtwebkit-5.9.1-dev...
postPatchMkspecs
fixQtModulePaths: Fixing module paths in `/nix/store/y1071aid72sabrhllhdgrallsixw8ncx-qtwebkit-5.9.1-dev/mkspecs/modules/qt_lib_webkitwidgets.pri'...
fixQtModulePaths: Fixing module paths in `/nix/store/y1071aid72sabrhllhdgrallsixw8ncx-qtwebkit-5.9.1-dev/mkspecs/modules/qt_lib_webkitwidgets_private.pri'...
fixQtModulePaths: Fixing module paths in `/nix/store/y1071aid72sabrhllhdgrallsixw8ncx-qtwebkit-5.9.1-dev/mkspecs/modules/qt_lib_webkit.pri'...
fixQtModulePaths: Fixing module paths in `/nix/store/y1071aid72sabrhllhdgrallsixw8ncx-qtwebkit-5.9.1-dev/mkspecs/modules/qt_lib_webkit_private.pri'...
postPatchMkspecs
cannot build derivation '/nix/store/4yfavrkhw7q1g4qf2sznm17kzpps0jja-python3.6-PyQt-5.10.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/lrvl9x8rp803rwd51bi96n4jdk38nzcc-flent-1.2.2.drv': 1 dependencies couldn't be built
error: build of '/nix/store/lrvl9x8rp803rwd51bi96n4jdk38nzcc-flent-1.2.2.drv' failed

In the end I removed the wrapping since it might pull too much otherwise and wouldn't work in python development mode which was my interest.  The PR juste enables the manpage and add http-getter to cover some tests in flent.
So people should keep using it describing the necessary dependencies nix-shell -p flent iperf http-getter etc

Success on x86_64-linux (full log)
Attempted: flent, http-getter
Partial log (click to expand)
test_create_timeseries_combine (unittests.test_plotters.TestPlotters) ... ok
test_load_tests (unittests.test_tests.TestTests) ... ok

----------------------------------------------------------------------
Ran 26 tests in 4.700s

OK
postPatchMkspecs
/nix/store/sa3zqh70l8g6ija2dqb1ki26vyp6q0aq-flent-1.2.2
/nix/store/53kfkpf2b2mfhcm9xshyd97a6ix3mf2v-http-getter

Failure on aarch64-linux (full log)
Attempted: flent, http-getter
Partial log (click to expand)
[4565/17529] CXX obj/third_party/icu/bundled_icui18n/precision.o
[4566/17529] CXX obj/third_party/WebKit/Source/platform/wtf/wtf/BitVector.o
[4567/17529] CXX obj/third_party/icu/bundled_icui18n/nfsubs.o
[4568/17529] CXX obj/third_party/icu/bundled_icui18n/quant.o
[4569/17529] CXX obj/third_party/icu/bundled_icui18n/regexst.o
[4570/17529] CXX obj/third_party/icu/bundled_icui18n/region.o
building of '/nix/store/lssdkibmydaff326bfilmdkgzmhbdz7k-qtwebengine-5.10.1.drv' timed out after 3600 seconds
cannot build derivation '/nix/store/cdkfra7xdjkzw6gnvhyj8jbsxsv7m2ib-python3.6-PyQt-5.10.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/ijhxi08w5pq520wi5v0lshlpi32ww625-flent-1.2.2.drv': 1 dependencies couldn't be built
error: build of '/nix/store/ijhxi08w5pq520wi5v0lshlpi32ww625-flent-1.2.2.drv' failed

In the end I removed the wrapping since it might pull too much otherwise and wouldn't work in python development mode which was my interest.

hey @teto what ddi you mean by python-development mode, do you recall? Maybe we should do 2 packages here, flent and flent-full or something? I'd like to have all the needed tools depended on and brought in somehow.

@mmlb I meant I was using flent in a nix-shell (equivalent to python setup.py develop).  So the executable is not wrapped (maybe there is some trick to wrap it).
I think we should add an extraLibs settings like in i3pystatus
https://github.com/NixOS/nixpkgs/blob/47b551c6a854a049045455f8ab1b8750e7b00625/pkgs/applications/window-managers/i3/pystatus.nix#L1 , default it to a full setting that people can override.


Set version with build flags

Hello,
Trying to set version when building with:
## FreeBSD port
DISTVERSION=    1.1.5
GO_BUILDFLAGS=  -ldflags "\
                -w -s \
                -X github.com/b4b4r07/gomi/Version=${DISTVERSION}"

but gomi --version:
unset (unset)
I use this go buildflags on other projects successfully, e.g.:
## gomplate port (https://github.com/hairyhenderson/gomplate)
DISTVERSION=    3.11.4
GO_BUILDFLAGS=  -ldflags "\
                -w -s \
                -X github.com/hairyhenderson/gomplate/v3/version.GitCommit=${GH_TAG_COMMIT} \
                -X github.com/hairyhenderson/gomplate/v3/version.Version=${DISTVERSION}"

Am I missing something?
Thanks

@nunotexbsd
go build -ldflags "-s -w -X main.Version=v12.34.56 -X main.Revision=foobar"

@b4b4r07
Fixed!
Does "Revision" have some special meaning or should it be set to "" (empty instead of "unset")?

no problem not to set it. Just friendly info

Thanks again.
https://cgit.freebsd.org/ports/commit/?id=311096e3602e2ff957b95da4ef74fbf3497e29ab


feat: Refactor + API v2 support

#74  👈 (View in Graphite)
main

This stack of pull requests is managed by Graphite. Learn more about stacking.


adding vertical hyperlinks in sidebar

I'm looking to add hyperlinks to the sidebar which, I was able to do. However, the links are horizontal and I'm looking to make them vertical. I configured the sidebox-item for example to display: block; and nothing happens. Is there a way to add hyperlinks and make them vertical?

Not sure what this means, please file a new with screenshots or more context if this is still a problem.


pull request for e2e test at 11/07/2016 02:26:08

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

Details

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


fix(global): fix broken and missing imports

:tada: This PR is included in version 4.1.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Discover projects inside of project home (previously named whitelist)

Recursively look for all repositories. Put this behavior behind a configuration flag. Also put it behind a timed cache (perhaps).

https://github.com/prrrnd/atom-git-projects
@prrrnd Would you like to merge efforts here?

Hi @mehcode,
I don't have so much free time to maintain atom-git-projects, but feel free to dig into the code and extract things you need. It's under the MIT license.

What would be your criteria / feature list that project-plus does not do that git-projects does? I'm looking to create a single project package. As projects are such an important part of most users' workflow -- it'd be awesome if we can get all the eyes in one place.

From looking at your project, I get the following:

[ ] Discover projects via recursive searching for (git) repositories
[ ] Git information on the project finder


[SPARK-31935][SQL][FOLLOWUP] Hadoop file system config should be effective in data source options

What changes were proposed in this pull request?

This is a followup of https://github.com/apache/spark/pull/28760 to fix the remaining issues:

should consider data source options when refreshing cache by path at the end of InsertIntoHadoopFsRelationCommand
should consider data source options when inferring schema for file source
should consider data source options when getting the qualified path in file source v2.

Why are the changes needed?

We didn't catch these issues in https://github.com/apache/spark/pull/28760, because the test case is to check error when initializing the file system. If we initialize the file system multiple times during a simple read/write action, the test case actually only test the first time.
Does this PR introduce any user-facing change?

No
How was this patch tested?

rewrite the test to make sure the entire data source read/write action can succeed.

cc @gengliangwang @liancheng @dongjoon-hyun

Oh, thanks, @cloud-fan .

@cloud-fan, thanks for fixing this! We should probably backport this one to 2.4 as well.

Yea, I'll open a new PR for 2.4 after this one gets merged.

Test build #124651 has started for PR 28948 at commit 2d7975e.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/29268/
Test PASSed.

Hi, @liancheng and @cloud-fan .
@gengliangwang 's original SPARK-31935 was Improvement and landed only at branch-3.0.
To have this in branch-2.4, could you adjust the JIRA issue into Bug and add 2.4.x into Affected Versions first?
Please note that I'm not against backporting of SPARK-31935 and this following in branch-2.4.
Also, cc @gatorsmile

@gengliangwang Can you open a new PR to backport https://github.com/apache/spark/pull/28760 to 2.4?

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/124651/
Test FAILed.

@cloud-fan  it is already back ported in https://github.com/apache/spark/pull/28771

retest this please.

Test build #124742 has started for PR 28948 at commit 2d7975e.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/29355/
Test PASSed.

@dongjoon-hyun, thanks for remind. Didn't see your comment at first, but I've already updated the "Affects Version/s" field in the Jira ticket. Also saw that it's already marked as a bug.

Test build #124742 has finished for PR 28948 at commit 2d7975e.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/124742/
Test FAILed.

retest this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/29386/
Test PASSed.

Test build #124776 has started for PR 28948 at commit 2d7975e.

Thank you all!

Test build #124776 has finished for PR 28948 at commit 2d7975e.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/124776/
Test PASSed.

Thanks, merging to master/3.0/2.4

@cloud-fan  there are a lot of conflicts when merging this one to branch-2.4. We will have to do it manually.


I am facing Reading error when I run cartoview

I have installed cartoview in virtual Envireonment locally.
python version 2.7.12
I have followed the instructions available in cartoview for ubuntu
the output looks like

please install Shapely1.5.17 using this command :
pip install Shapely==1.5.17


Import e4ed2e6b4f: DRYed up the priority sorting bypass, beginnings of priority items (by Caity)

This is an automated proposal to look at a commit made by Caity and import it into Overte

Commit:
e4ed2e6b4fefe17e10cbb8b29d32a663995e9a9e

Author:
Caity

Date:
Thu, 23 Jan 2020 18:31

DRYed up the priority sorting bypass, beginnings of priority items

Stats:

Filename
Stats
Lines
Added
Removed
Lines in blame

libraries/entities-renderer/src/EntityTreeRenderer.cpp

27
8
19
2

1 files
-
27
8
19
2

To work on this, please assign the issue to yourself, then look at the commit and decide whether this would be a good addition to Overte.

If the commit is useful, tag it with "Tivoli: Keep", and keep it open until it's merged.
If the commit is not useful, tag it with "Tivoli: Discard", and close it.
If the commit is not useful right now, but might be later, tag it with "Tivoli: Maybe later", and close it.
If it's hard to decide, tag it with "Tivoli: Discuss", and keep it open.

Useful commits should be submitted as a PR against Overte. Tag this issue in PR, so that it's automatically closed once the PR is merged.
You can cherry-pick this issue with this command:
git cherry-pick e4ed2e6b4fefe17e10cbb8b29d32a663995e9a9e

zone culling


"needs to install" linter when atom-ide installed

I get the following dialog:

I have atom-ide installed. The README says either atom-ide or linter, so it shouldn't be asking me to install linter if the other option is installed.

Actually, readme you're looking at is for as-of-right-now unreleased version. Sorry about the confusion. Readme for the latest released version is on https://atom.io/packages/atom-typescript
But a fair point, we really should avoid this.

@guncha, I'm wondering if we should default to atom-ide-ui actually if neither that nor linter is installed. Thoughts? I'll whip up a PR detailing proposed changes and rationale in a bit, but just in case asking here as well.

What action should I take when I get this dialog?   I have atom-ide-ui installed.   Do I need to install linter or not?

atom-ide-ui provides all the features that linter does. So you won't have to install linter. I believe atom-ide-ui provides additional features though. You can safely dismiss the dialog.
I click "No Thanks" every time I launch Atom to make sure this bug gets fixed eventually. You can click "Never" to not be bugged by it again.


FEATURE REQUEST

I would like to thank for this work, and is very helpful.
I have a request/question concerning about output generation. Currently, the sequences/output are generated with their support(count) at the right hand side, eg [ ['A', 'B', 3], ['C', 'D', 'A' 6]], whereby 6 and 3 represent support (count) of generated sequence respectively.
Is there a means of generating that support(count) in terms of %? instead of raw integer?
Or the best option will be if the entered support is in %, then the output support should be in %. Also if if the entered support is in raw integer then the output support should be in raw integer.
Thank you.

Thanks @Choneke for your interests! Notice that the issue is just closed. Sorry for the late reply but I just would like to share my thinking on this.
Regarding your question, I think the easiest way to get the support in % for now would still be a post processing step, given that we know the total number of sequences.
Besides, another thought around not returning % would be that it might be a little nonintuitive to distinguish the support of two patterns with similar frequency. In that case, we might need to choose how many decimal places to keep in the returns, e.g. 9.9% vs 9.92%, then using one decimal place makes the two to be the same.
So hopefully transforming the integer support to % would be an easy thing to do and it won't be a blocker to solve the problem.


Missing Windows Package

Hi CF CLI Team,
The cf-cli-6-windows package is missing from the release. We currently package this into the cf-smoke-tests-release, but it would be great if it could be included here so that we can rely on a colocated cf-cli-release instead, just as we do for Linux.
Thanks in advance,
Dave
cc @vitreuz @Changdrew @acosta11 @Syerram

Placeholder story in tracker here:
https://www.pivotaltracker.com/story/show/167111311

On the garden windows team, we are looking to use the cf-cli as part of two bosh releases (hwc-offline-buildpack-release and windows-stacks-release.) They both have cf-cli packages with different versions but due to the naming, we are seeing collision fails at deploy time. If we could have both releases point to a colocated cf-cli-release with a cf-cli that works on windows, that would be ideal.


Support for variables in JSON configuration files like 'fhir-server-config.json'

Is your feature request related to a problem? Please describe.
Currently variables are supported in XML configuration files such as server.xml or oauthResourceServer.xml only.
Describe the solution you'd like
It would be great if variables could be supported in JSON configuration files like fhir-server-config.json as well to be able to define them in a central place and (re)use them in both XML and JSON configuration files.
As an example you can find an excerpt from fhir-server-config.json with variables used in a datasource definition:
"datasources": {
    "default": {
        "type": "postgresql",
        "connectionProperties": {
            "serverName": "${postgres_hostname}",
            "portNumber": "${postgres_portnumber}",
            "databaseName": "${postgres_database_name}",
            "user": "${postgres_username}",
            "password": "${postgres_password}",
            "currentSchema": "${postgres_database_schema}"
          }
    }
}

Describe alternatives you've considered
Currently all property values need to be hard-coded in JSON configuration files (resulting in duplicate efforts and chances to introduce errors). A very hacky (and wacky) workaround to this is to employ variables in the JSON files anyway and replace them "on-the-fly" with sed.
Additional context
n/a

I've always wanted this too.  We've used the described workaround to get by in various deploys.
Another approach we've used with our kubernetes deployments is to mount a persistent store (e.g. via https://cloud.ibm.com/docs/containers?topic=containers-object_storage) at fhir-server/config and keep the tenant configs in there.
In terms of implementing this one, I don't think it would be so bad.
My thought was to support resolving these values from environment variables via some simplistic usage of the Apache Commons StringSubstitutor.
The liberty "server.xml" config file is more flexible than this, but I don't think that we need full parity with that.

In terms of implementing this one, I don't think it would be so bad.

Yes, you are right: I checked the code and if you want to keep the change simple then only in the class ConfigurationService the method public static PropertyGroup loadConfiguration(InputStream is) needs to be changed.

My thought was to support resolving these values from environment variables via some simplistic usage of the Apache Commons StringSubstitutor.

So if this "simplistic" approach is acceptable then basically all you would need to add/change in ConfigurationService is:
import org.apache.commons.io.IOUtils;
import org.apache.commons.text.StringSubstitutor;

import java.io.StringReader;
import java.nio.charset.StandardCharsets;

public static PropertyGroup loadConfiguration(InputStream is) throws Exception {
    String templatedJson = IOUtils.toString(is, StandardCharsets.UTF_8);
    String resolvedJson = StringSubstitutor.replace(templatedJson, System.getenv());
    try (JsonReader reader = JSON_READER_FACTORY.createReader(new StringReader(resolvedJson))) {
        JsonObject jsonObj = reader.readObject();
        reader.close();
        return instantiatePropertyGroup(jsonObj);
    }
}

...and add the dependencies to the pom.xml:
<dependency>
    <groupId>commons-io</groupId>
    <artifactId>commons-io</artifactId>
    <version>2.8.0</version>
</dependency>
<dependency>
    <groupId>org.apache.commons</groupId>
    <artifactId>commons-text</artifactId>
    <version>1.9</version>
</dependency>

@holger-stenzhorn Please open a pull request with your proposed solution along with some unit tests.


🎉 Good news! Inserting icons to Aegis will be easier at the future.

See here: https://github.com/beemdevelopment/Aegis/issues/509

Any updates on this?

Not much, here's draft pull request related to it: https://github.com/beemdevelopment/Aegis/pull/539

Okay, lot has happen lately, but finally there's beta version of Aegis that supports icon packs.
You can test the beta version with pre-release pack (there's also icon pack by Aegis team, that automatically makes icons from Simple Icon's logos/colors).

Aegis v2.0 is out of beta and available at Play Store and Github. F-Droid version isn't up yet.
First proper icon pack release can be found here: https://github.com/aegis-icons/aegis-icons/releases/tag/2021-05-24


The corners of the quick settings panel is not rounded enough

Hey,
I am running on AEX 5.3 on my Xiaomi Redmi Note 4 and I am on Android P-ify version 0.2.0_40 build.
I noticed that the the corners of the quick settings panel are not rounded enough like Android P, so please take a look on that 😊

It is already rounded in build 41.

Sir, I can't find build #41 any where, I am on #40, will you please send
link ?
On Mon, Apr 2, 2018, 5:03 AM paphonb<EMAIL_ADDRESS>wrote:

Closed #28 https://github.com/paphonb/AndroidP-ify/issues/28.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/paphonb/AndroidP-ify/issues/28#event-1551284396, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AkOIshH-0CynIjRBz5lL_R11C83VLjXBks5tkWO3gaJpZM4TC2qK
.

https://github.com/paphonb/AndroidP-ify/releases/download/0.2.0_41/AndroidPify-0.2.0_41.apk


nixel: 4.1.0 -> 5.1.1 + Add Update Script

Things done
Enabled basic update script then ran it on my computer :+1:

Adapted rustPlatform bindgen dependency for using clang16 or I encountered exactly the same issue as #331240

➜ nix-shell -I nixpkgs=$HOME/Documents/nixpkgs -p nixel --run 'nixel --version'
NixEL 5.1.1

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)

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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Please split the commit into two

nixel: add update script
nixel: 4.1.0 -> 5.1.1

Please split the commit into two
* nixel: add update script

* nixel: 4.1.0 -> 5.1.1

Was done :+1:
rebased + separated changes in 2 commits


feat: List only pods for current node

Towards https://github.com/hubblo-org/scaphandre/pull/174

Any change to get this merged?

Due to the delay on my side this pr has merge conflicts. I'll put it.on.top.of the pile to merge this in the next weeks.
Thanks


Add icons to electron builder / installer

The icon files cupcakes.icns, cupcakes.ico and cupcakes1024x1024.png should be moved to the content/icons directory. The icon locations updated for these paths and icons added to electron builder configuration in package.json.

@fajabird I am happy to do this, but did not want to tread on your toes if you are planning to do it?

no, please go ahead - I have no other plans right now.

added in pull request #134


Red Gi - Think about design

Ok, Red Gi. The original version was
"You can discard your first Skill drawn this combat. If you do, gain 1 Str and lose 1 Dex."
Which is weaker than Vajra.

The relic's spirit is "risky offense, less defense". Which is good, but the version above

Is risky;
Doesn't have enough offense.
Removes defense.

Also, the relic is common, so it's effect should trigger only once. All that considered...
all that considered, Red Gi should be uncommon, because it's weird that clothing only give you effects once. -_-

Gain one "Risky Offensive". Risky Offensive is a buff that discards the next Skill drawn to raise your next Attack damage by 3.

At combat start pre-draw, discard the next X (0 to 3) Skills drawn. Your next attack has +2X Str.

At combat start pre-draw, discard the next X (0 to 3) non-Attacks drawn. Your next attack has +2X Str.

At combat start pre-draw, discard the next X (0 to 3) non-Attacks drawn. Your next X attacks has +3 Str.

Can be used once per combat. Discard your hand. In the next turn, gain +X Str where X is the number of cards discarded.

Can be used once per combat. Discard your hand and energy not spent. In the next turn, gain +X+Y Str where X is the number of cards discarded and Y is the energy not spent.

Can be used once per combat. Discard your hand and energy not spent. In the next turn, your next Y attacks gain +X Str where X is the number of cards discarded and Y is the energy not spent.

Gain one "Risky Offensive". Risky Offensive is a buff that discards the next Skill drawn to raise your next Attack damage by 3.

Boring.

At combat start pre-draw, discard the next X (0 to 3) Skills drawn. Your next attack has +2X Str.

At combat start pre-draw, discard the next X (0 to 3) non-Attacks drawn. Your next attack has +2X Str.

At combat start pre-draw, discard the next X (0 to 3) non-Attacks drawn. Your next X attacks has +3 Str.

Interesting. It gives a choice for the player - risk or not? Still, only one risk. What if it made risky fighting more interesting?
Hohohoho... what if Ken relics are the opposite of Guile? In other words, making attacks interesting instead of defense?

Can be used once per combat. Discard your hand. In the next turn, gain +X Str where X is the number of cards discarded.

Can be used once per combat. Discard your hand and energy not spent. In the next turn, gain +X+Y Str where X is the number of cards discarded and Y is the energy not spent.

Can be used once per combat. Discard your hand and energy not spent. In the next turn, your next Y attacks gain +X Str where X is the number of cards discarded and Y is the energy not spent.

Nope. Easily exploitable. And more suited for a card instead of a relic.

Following the logic above...

Twice per battle, if you used two Attack cards, your third attack gain +3 Str.
Once per battle, if you attack thrice and haven't blocked, your third attack is doubled.
Once per battle, if you break an enemy's Block, gain 1 Energy.
Gain Risky Offensive power. (It gives you Str+2 until you play a Skill card.)

Ok, I like Risky Offensive. Risky Offensive it will be then.


[Task]: PR Bot - Only push commit if non-empty

What needs to happen?
Right now, we push a number of non-empty commits for our PR bot - https://github.com/apache/beam/blob/ead2d2e8025874ad5c3f09ea0fda06caf027e18c/scripts/ci/pr-bot/shared/persistentState.ts#L43 - we can be a little smarter about this and only push commits if they are meaningful.
Issue Priority
Priority: 3
Issue Component
Component: infrastructure

hey @damccorm ,i would like to work on this issue. Please assign it to me.
Also could you please elaborate what i need to do .

Hey @ayushthe1 - right now, our PR bot (which is backed by GitHub Actions) stores its state, it checks it in as a file to the branch pr-bot-state (this is done here - https://github.com/apache/beam/blob/ead2d2e8025874ad5c3f09ea0fda06caf027e18c/scripts/ci/pr-bot/shared/persistentState.ts#L43). Right now, we will produce a commit any time we call save state, even if there are no changes to commit.
The goal of this issue is to check if there have been any changes before producing a commit. One way to do this would be running something like git diff-index --quiet HEAD before adding the files to be committed; this should produce output only if there are changes.

I assigned you as well. For future reference, you can self-assign issues by commenting .take-issue

I assigned you as well. For future reference, you can self-assign issues by commenting .take-issue

Thanks ! I will look into all the details you provided. :smile:

hey  @damccorm i am running into some issues . I used git diff-index HEAD and saw it produces some output if there are any changes made in repo .It also don't produces any output if no changes are made or if the last commit was an empty commit.
However on using the --quiet flag ,no output is produced in both cases . So how can i use this command with --quiet flag if no output is produced whether or not  any changes are made in repo.
My idea initially was to use some kind of if-else statement on condition if git diff-index --quiet HEAD produces any output or not and then putting the current git add ,commit ,push under it.

A slightly cleaner approach than inspecting the output is probably to use the quiet flag and then inspect the exit code. There are usually tighter guarantees around exit codes than outputs. If there are changes, git diff-index --quiet HEAD will have an exit code of 1, if not it will have an exit code of 0.
So if you do, for example, git diff-index --quiet HEAD || (git add * && git commit -m "Message" && git push), the add, commit, and push steps will only run if there are changes. Alternatively, you can use the exec client we are already using to inspect the exit code of the command and then move the if/else logic into the javascript


Can I add className or style on Provider and Router

Such as
ReactDOM.render(
  <Provider store={store} className="example">
    <Router history={history} className="example">...</Router>
  </Provider>,
  targetEl
)

But it seems not work

Pretty sure the answer is "no".  As far as I know, both of those simply pass along their children, and do not directly render any HTML themselves.  Therefore, there is no tag to apply "className" or "style" to.
What are you trying to accomplish?

You would need to add them to the actual root component that renders some DOM instead. Usually that would be the component corresponding to the top-level route.


Setting up Tailwind CSS for Storybook in the Cleanest Way Possible

I'm trying to get Storybook to apply Tailwind CSS styles globally to the stories, but the documentation refers to using the base.css file with Tailwind CSS imports. However, I'm wondering if there's another way to achieve this since, by default, this addon doesn't expose such a .css file.
I would appreciate any guidance on this matter.
I have currently only added both plugins and configured them to the Nuxt.js project.

Thanks for opening an issue and this has given a great idea for enhancement for documentation and possible integration between this module and @nuxtjs/storybook.
To answer your question regarding an exposed CSS, we use the default  tailwindcss/tailwind.css file that Storybook should be able to resolve. For any CSS file this module may create, you will find it in your project's .nuxt directory that you can point to using the #build alias. Let me know if you still have questions!

tailwindcss/tailwind.css file that Storybook should be able to resolve. For any CSS file this module may create, you will find it in your project's

What is 'I have tried it.
But it seems that it cannot find the path, and I get the following error: "Error: Cannot find module '#build/tailwind/tailwind.css'"
I also tried accessing it through regular navigation, but I encountered the following error: "Error: Cannot find module '../.nuxt/tailwind/tailwind.css'"
On exploring the directory (.nuxt), it appears that such a directory does not exist. However, I do see the tailwind.config directory with two files inside (index.mjs and viewer-config.cjs).

You need not add #build there; and remember that the npm package is tailwindcss (not tailwind, without the css), so you should just import 'tailwindcss/tailwind.css'; this will resolve to node_modules/tailwindcss/tailwind.css.

You need not add #build there; and remember that the npm package is tailwindcss (not tailwind, without the css), so you should just import 'tailwindcss/tailwind.css'; this will resolve to node_modules/tailwindcss/tailwind.css.

First of all, thank you for your prompt response!
It seems that importing it in the preview.js as indicated here: https://storybook.js.org/recipes/tailwindcss#2-provide-tailwind-to-stories and making reference to the .css file in node-modules still does not load the styles.
The preview file now looks like this:
/** @type { import('@storybook/vue3').Preview } */
import 'tailwindcss/tailwind.css';

const preview = {
  parameters: {
    actions: { argTypesRegex: "^on[A-Z].*" },
    controls: {
      matchers: {
        color: /(background|color)$/i,
        date: /Date$/i,
      },
    },
  },
};

export default preview;

Hi, sorry I'm responding to you later - I took some time to take a look at setting up Storybook (I personally haven't used it much, though I should!)
First, I'm not aware of the context of your project so I'll be making some fair assumptions like you're using this module without much configuration, i.e., using default Tailwind CSS file, no extras to your tailwind config (just whatever content config the module adds), etc.
Second, I'm not aware how you've setup Storybook. I went over the Nuxt Storybook module and I can't say that module is quite optimised (in my opinion) as currently in its latest stage, it's a wrapper for another package while older versions are for Nuxt 2. So as you linked earlier as well, we will refer to the docs and set up Storybook normally without any Nuxt modules for now.
Here's the thing, the Tailwind config isn't available to the Storybook server, so we will add a quick and simple module to our Nuxt project that'll solve it all:
import { resolve, dirname } from 'pathe'

import { defineNuxtModule, addTemplate } from '@nuxt/kit'

import { buildDevStandalone } from '@storybook/core-server'

import sbMain from '../.storybook/main'

export default defineNuxtModule({

  setup (_options, nuxt) {

    nuxt.hook('tailwindcss:config', (config) => {

      addTemplate({

        filename: 'tailwind.config.mjs', // gets prepended by .nuxt/

        getContents: () => `export default ${JSON.stringify(config, null, 2)}`,

        write: true

      })

    })

    const { dst } = addTemplate({

         filename: '.storybook/main.js',

         getContents: () => `

         import { mergeConfig } from 'vite'

         import twPostcssPlugin from 'tailwindcss/lib/plugin'

         import twConfig from '../tailwind.config.mjs'

         const config = ${JSON.stringify(sbMain, null, 2)};

         config.core = { builder: '@storybook/builder-vite' }

         config.viteFinal = (viteConfig) => mergeConfig(viteConfig, { css: { postcss: { plugins: [twPostcssPlugin(twConfig)] } } })

         export default config;

         `,

         write: true

     })

     addTemplate({

        filename: '.storybook/preview.js',

        src: resolve('.storybook/preview.js'),

        write: true

     })

    nuxt.hook('app:templatesGenerated', () => {

        buildDevStandalone({ packageJson: { version: '' }, configDir: dirname(dst) || resolve(nuxt.options.rootDir, '.storybook') })

    })

  }

})

You can put this code in modules/my-custom-storybook-module.ts and it should start the server along with Nuxt - neat! Infact if you switch to the nightly release of this module or wait for 6.11, you need not have to use the hook at the start to make the template but use editorSupport.generateConfig instead. Anyway, let me know if this helps, and thank you for bringing this to my notice as this gives an idea on what to focus on next, so I'll leave this issue open for now.

Thank you again for your efforts. I am incredibly grateful. But even with this, I still can't visualize tailwindcss styles in my stories. I think that since the testing of the project is just in the configuration phase, if you want I leave you this link to the: Repository , in case you want to try it here and maybe you can move forward with more clarity. Don't feel like I'm trying to get you to do it, I just want to give you a chance to see what might be going on. Whether you contribute here or not, I'm already enormously grateful for your cooperation in this thread.

Yes, sorry I forgot to mention that the paths in .storybook/main.js need to be relative to .nuxt/.storybook, so you'll need to prepend ../ to your paths, and it should work.
Probably best you can add this line to the setup function of the module (and before addTemplate({ filename: '.storybook/main.js' ... }))  I mentioned above:
sbMain.stories = sbMain.stories.map((p) => `../${p}`)

I'll close this issue for now, but will reopen if something comes up.


As a developer, if I'm using serialport data, I want to ensure a microcontroller is available at all times and to automatically reconnect if it loses connection

In #79 there was talk about implementing a handshake protocol to initially make sure that an Arduino was connected and available for Stele to talk to, however, in talking with @tnordberg, it seems that the port refresh code to reconnect after a disconnect was never further pursued.
I've come up with the idea of moving towards a "pinging" style operation, where the app that stele is pointing to, continuously sends a message to the Arduino to ensure it's still connected. After a series of failed "pings", the app will set its handshake state to false and trigger stele to try and refresh its port list and reconnect.

We've opted to accomplish this via the underlying app the stele wraps around. See app-template and arduino-base for more information on that process.


Self Explanatory notes Python-DSA

congratulations on your hactoberfest contribution. if you like this repo then give it a star. Happy hacking..


Elements must have sufficient color contrast - QIT About Link

👣 Steps to reproduce
Run the aXe Accessibility Test on the main page of the site: https://qit.cloud or http://localhost:3000
⚛ Element(s) with issue
qit
💥 Impact rating
serious
📚 Reference information
https://dequeuniversity.com/rules/axe/3.0/color-contrast?application=AxeChrome

According to the  Tanaguru Contrast-Finder we should switch the text color in the header from white to black if we want to keep the green/blue background color.
If we want to keep the white text, here are some recommended background color changes.


PTRACE on rust proof of concept

Just a simple POC to show off extracting syscall numbers and results from a child process. I essentially rewrote the example at https://nullprogram.com/blog/2018/06/23/, then added a syscall number -> syscall name translation using the syscalls crate so it's more readable. Here's the tail end of some example output (notice the calls to write to stdout with a 12 (strlen) return value, and then the ones to close stdout and stderr). The registers could be printed in a prettier way but this is just for POC purposes anyway.
$ cargo run --release -- 'echo hello world'
// ...
mmap(0, 6720464, 1, 2, 3, 0) =<PHONE_NUMBER>68096
close(3, 6720464, 10973, 2, 3, 0) = 0
newfstatat(1,<PHONE_NUMBER>48531,<PHONE_NUMBER>34832, 4096,<PHONE_NUMBER>849, 1) = 0
hello world
write(1,<PHONE_NUMBER>3472, 12, 4096,<PHONE_NUMBER>849, 1040) = 12
close(1,<PHONE_NUMBER>3472,<PHONE_NUMBER>01760, 4096, 0, 1040) = 0
close(2, 1,<PHONE_NUMBER>01760, 4096, 0, 1040) = 0
exit_group(0,<PHONE_NUMBER>3709551496, 231,<PHONE_NUMBER>34976,<PHONE_NUMBER>35216,<PHONE_NUMBER>35103) = ?
Error: Child exited, terminating trace.

This is forking and turning the child into the attachee just to make it easier to test one-off, quick binaries, but it should be just as easy to attach to an external process when we build this into an actual probe :).

Closing this as superseded by #23


Gitter.im may be a better group.

Gitter may be a better group.
The talk history can be seen by new users. It is free.
The Dingtalk and WeChat are not popular chat tool.

Thanks for your suggestions.


Spyder 4.0.1 does not launch from Anaconda on MacOs

Issue Report Checklist

[x] Searched the issues page for similar reports
[x] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
[x] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
[ ] Could not reproduce inside jupyter qtconsole (if console-related)
[x] Tried basic troubleshooting (if a bug/error)

[x] Restarted Spyder
[x] Reset preferences with spyder --reset
[ ] Reinstalled the latest version of Anaconda
[x] Tried the other applicable steps from the Troubleshooting Guide

[x] Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description
What steps reproduce the problem?

Open Anaconda-Navigator
Change to the environment I want to open spyder from (with python 3.7.6)
Launch spyder 4.0.1 from Anaconda-Navigator

What is the expected output? What do you see instead?
The expected output is the launch of spyder without issues. Instead an error message appears with the following Traceback:
Paste Traceback/Error Below (if applicable)

Traceback (most recent call last):
File "/opt/anaconda3/envs/dedalus/bin/spyder", line 11, in
sys.exit(main())
File "/opt/anaconda3/envs/dedalus/lib/python3.7/site-packages/spyder/app/start.py", line 201, in main
from spyder.app import mainwindow
File "/opt/anaconda3/envs/dedalus/lib/python3.7/site-packages/spyder/app/mainwindow.py", line 167, in
from spyder.utils.environ import WinUserEnvDialog
File "/opt/anaconda3/envs/dedalus/lib/python3.7/site-packages/spyder/utils/environ.py", line 19, in
from spyder.plugins.variableexplorer.widgets.collectionseditor import (
File "/opt/anaconda3/envs/dedalus/lib/python3.7/site-packages/spyder/plugins/variableexplorer/widgets/collectionseditor.py", line 57, in
from spyder.plugins.variableexplorer.widgets.collectionsdelegate import (
File "/opt/anaconda3/envs/dedalus/lib/python3.7/site-packages/spyder/plugins/variableexplorer/widgets/collectionsdelegate.py", line 31, in
from spyder.plugins.variableexplorer.widgets.objectexplorer.attribute_model \
File "/opt/anaconda3/envs/dedalus/lib/python3.7/site-packages/spyder/plugins/variableexplorer/widgets/objectexplorer/__init__.py", line 19, in
from .attribute_model import DEFAULT_ATTR_COLS, DEFAULT_ATTR_DETAILS
File "/opt/anaconda3/envs/dedalus/lib/python3.7/site-packages/spyder/plugins/variableexplorer/widgets/objectexplorer/attribute_model.py", line 29, in
import numpy as np
File "/opt/anaconda3/envs/dedalus/lib/python3.7/site-packages/numpy/__init__.py", line 142, in
from . import core
File "/opt/anaconda3/envs/dedalus/lib/python3.7/site-packages/numpy/core/__init__.py", line 107, in
from . import _internal
File "/opt/anaconda3/envs/dedalus/lib/python3.7/site-packages/numpy/core/_internal.py", line 20, in
IS_PYPY = platform.python_implementation() == 'PyPy'
File "/opt/anaconda3/envs/dedalus/lib/python3.7/platform.py", line 1264, in python_implementation
return _sys_version()[0]
File "/opt/anaconda3/envs/dedalus/lib/python3.7/platform.py", line 1225, in _sys_version
repr(sys_version))
ValueError: failed to parse CPython sys.version: '3.7.6 (default, Jan 8 2020, 13:42:34) \n[Clang 4.0.1 (tags/RELEASE_401/final)]'

Versions

Spyder version: 4.0.1
Python version: 3.7.6
Qt version: 5.9.7
PyQt version: 5.9.2
Operating System name/version: MacOS 10.14.6

Dependencies

PASTE DEPENDENCIES HERE

Please report this problem here:
https://github.com/ContinuumIO/anaconda-issues/issues/
There's nothing we can do about it here.
It could be solved by running in Terminal.app
conda update python

but I'm not really sure.

Please try to uninstall Matplotlib and see if Spyder starts. Also what is the HW you are running?


[IFRAMES] has_selector? and wait_for_selector? dont seem to work for iframes

The helper functions added by site prism do not appear to work for iFrames.
For example, say I have the following section:
class MySection < SitePrism::Section
  class PreviewIframe < SitePrism::Page
  end
  iframe :preview, PreviewIframe, "#preview"
end

This is returning false even if the preview is displayed on the page.
my_section.has_preview?

wait_for_preview doesn't appear to work either.
I verified that the iframe works in that I can do actions within it. It's just the wait_for_preview and has_preview? methods that aren't behaving.
Is this as designed? It'd be great to have these working for iframes also. Thanks!

Sorry, only just noticed this. Still a problem?

Hi there. Just a quick bump. Could you provide an SSCCE where this is falling over so we can triage this.
Thanks

So I've re-created this and compared to the unit / feature tests we have and think I've spotted the problem (Although why some of the helpers work I'm not sure). I managed to get a similar example passing.
You're code example has the references defined incorrectly. You've namespaced your iFrame inside your other class, and as such need to reference the ClassName accordingly.
It could be something that's causing some of the helpers to work and others not. But essentially it wouldn't be looked into unless you've got a valid SSCCE
Reference Cuke that calls both of your failing methods: https://github.com/natritmeyer/site_prism/blob/master/features/step_definitions/iframe_steps.rb#L4-L6


Cannot export the model to .onnx file with brevitas FINNManager.export

Hello,
Currently, I am developing a custom model for my own research. I would like to make my model able to inference faster when it is deployed on my xilinx PYNQ Z2 board. So far, I have read FINN project website and other resources and currently following the instruction from this page: https://finn.readthedocs.io/en/latest/end_to_end_flow.html
To be more specific, I am currently struggling with the model export step. The model is trained with brevitas and can be exported to .pth file successfully. However, the error arises when I export the model to .onnx file with FINNManager.export below:
FINNManager.export(model, export_path='model_weights_finn.onnx', input_t=in_tensor)
  File "/home/oskar/.local/lib/python3.8/site-packages/brevitas/export/onnx/base.py", line 57, in export
    return cls.export_onnx(module, input_shape, export_path, input_t, **kwargs)
  File "/home/oskar/.local/lib/python3.8/site-packages/brevitas/export/onnx/base.py", line 105, in export_onnx
    torch.onnx.export(module, input_t, export_path, **kwargs)
  File "/home/oskar/.local/lib/python3.8/site-packages/torch/onnx/__init__.py", line 225, in export
    return utils.export(model, args, f, export_params, verbose, training,
  File "/home/oskar/.local/lib/python3.8/site-packages/torch/onnx/utils.py", line 85, in export
    _export(model, args, f, export_params, verbose, training, input_names, output_names,
  File "/home/oskar/.local/lib/python3.8/site-packages/torch/onnx/utils.py", line 647, in _export
    proto, export_map = graph._export_onnx(
RuntimeError: ONNX export failed: Couldn't export operator aten::upsample_bilinear2d

Followed with this information:
Defined at:
/home/oskar/.local/lib/python3.8/site-packages/torch/nn/functional.py(3151): interpolate
/home/oskar/.local/lib/python3.8/site-packages/torch/nn/modules/upsampling.py(141): forward
/home/oskar/.local/lib/python3.8/site-packages/torch/nn/modules/module.py(709): _slow_forward
/home/oskar/.local/lib/python3.8/site-packages/torch/nn/modules/module.py(725): _call_impl
/home/oskar/CARLA/CARLA_<IP_ADDRESS>/autonomous-vehicle/deeplearning/archq.py(1837): forward
/home/oskar/.local/lib/python3.8/site-packages/torch/nn/modules/module.py(709): _slow_forward
/home/oskar/.local/lib/python3.8/site-packages/torch/nn/modules/module.py(725): _call_impl
/home/oskar/.local/lib/python3.8/site-packages/torch/jit/_trace.py(116): wrapper
/home/oskar/.local/lib/python3.8/site-packages/torch/jit/_trace.py(125): forward
/home/oskar/.local/lib/python3.8/site-packages/torch/nn/modules/module.py(727): _call_impl
/home/oskar/.local/lib/python3.8/site-packages/torch/jit/_trace.py(1148): _get_trace_graph
/home/oskar/.local/lib/python3.8/site-packages/torch/onnx/utils.py(342): _trace_and_get_graph_from_model
/home/oskar/.local/lib/python3.8/site-packages/torch/onnx/utils.py(379): _create_jit_graph
/home/oskar/.local/lib/python3.8/site-packages/torch/onnx/utils.py(409): _model_to_graph
/home/oskar/.local/lib/python3.8/site-packages/torch/onnx/utils.py(632): _export
/home/oskar/.local/lib/python3.8/site-packages/torch/onnx/utils.py(85): export
/home/oskar/.local/lib/python3.8/site-packages/torch/onnx/__init__.py(225): export
/home/oskar/.local/lib/python3.8/site-packages/brevitas/export/onnx/base.py(105): export_onnx
/home/oskar/.local/lib/python3.8/site-packages/brevitas/export/onnx/base.py(57): export
train2q.py(991): main
train2q.py(1053): <module>

Graph we tried to export:
graph(%0 : Float(1:327680, 20:16384, 128:128, 128:1, requires_grad=0, device=cpu)):
  %165 : Float(1:327680, 3:16384, 128:128, 128:1, requires_grad=0, device=cpu) = onnx::Slice[axes=[1], ends=[3], starts=[0]](%0) # /home/oskar/CARLA/CARLA_<IP_ADDRESS>/autonomous-vehicle/deeplearning/archq.py:1779:0
  %166 : Float(3:0, 255:1, requires_grad=0, device=cpu) = onnx::Constant[value=<Tensor>]() # /home/oskar/.local/lib/python3.8/site-packages/brevitas/export/onnx/finn/handler/act.py:144:0
  %167 : Tensor = onnx::MultiThreshold[domain="finn.custom_op.general", out_dtype="UINT8"](%165, %166)
  %168 : Float(requires_grad=0, device=cpu) = onnx::Constant[value={-128}]()
  %169 : FloatTensor = onnx::Add(%167, %168)
  %170 : Float(requires_grad=0, device=cpu) = onnx::Constant[value={0.00686275}]()
  %171 : Float(1:49152, 3:16384, 128:128, 128:1, requires_grad=0, device=cpu) = onnx::Mul(%169, %170) # /home/oskar/.local/lib/python3.8/site-packages/brevitas/export/onnx/finn/handler/act.py:144:0
  %172 : Double(16:27, 3:9, 3:3, 3:1, requires_grad=0, device=cuda:0) = onnx::Constant[value=<Tensor>]() # /home/oskar/.local/lib/python3.8/site-packages/brevitas/export/onnx/finn/handler/parameter.py:173:0
  %173 : Tensor = onnx::Conv[dilations=[1, 1], group=1, kernel_shape=[3, 3], pads=[1, 1, 1, 1], strides=[1, 1], weight_qnt="INT8"](%171, %172)
  %174 : Float(1:16, 16:1, 1:1, 1:1, requires_grad=0, device=cpu) = onnx::Constant[value=<Tensor>]()
  %175 : FloatTensor = onnx::Add(%173, %174)

the rest is omitted......

Yes, my model contains an upsampling layer and It seems that the export module has an issue with it. I have also tried the brevitas QuantUpSampling layer but I also got an issue.
Do you have any suggestions for me? I need to export my model to .onnx file so that I can continue to the next step described in https://finn.readthedocs.io/en/latest/end_to_end_flow.html
thank you in advance

Hi Oskar, in general, export issues should be reported in the Brevitas repository and not in the FINN compiler repo.  But I can add that the FINN compiler unfortunately does not support upsampling layers at the moment. You would have to add your own export and HLS conversion flow to FINN to support this, which is not yet documented.

I see. thanks


Update link UI and add linkchecker support

Group link commands together in quickpick menu (link-controller).
Add conditional linkchecker support (show command if linkchecker extension is installed, hide if not installed or disabled).
Update version and changelog.

Reference open issue #30


[locale] ko: Add trailing dot to L and l

fixes https://github.com/moment/moment/issues/4070

@YenalTuran - is the trailing dot ever not present?

@marwahaha  it is present only after year and month, but not day.

@YenalTuran

how often do you use the format 2017.12.29 ?
how often do you use the format 2017.12.29. ?

@marwahaha currently we show our Korean customers their logistics' booking dates in 2017.12.29 format, but since the correct format is 2017.12.29. I would like to use moment library (without any workaround) and show the expected format :) many thanks for your support!


Add missing required field

The API contract requires name to be
provided and this is currently missing
from the docs

!deploy


docs(policies): add guide for metrics collection with opentelemetry

Fixes: #1677
It would be nice if someone do this guide and check if everything works as expected

Rendered: https://deploy-preview-1718--kuma.netlify.app/docs/dev/guides/otel-metrics/


Fixed #30602 ExtractYear optimizations with DurationFields

Hello @cecedille1!
Thank you for your contribution but I don't think ExtractYear is meant to work with DurationField, at least it's not tested. I wouldn't be against adding support for it on all backends but it should probably be done but it involves more work.
It will probably be easy to add for PostgreSQL as this patch demonstrates but it will be harder on other backends that don't have native DurationField support. We should probably add support for extracting months and days as well and maybe even expose __years, __months, and __days lookup.

Hello @charettes, I thank you for the review
I agree that the behavior is not tested, but ExtractYear and the Extract family are meant to be used with DurationFields. The base Extract class has code that specificaly targets DurationFields
Backends without support for DurationFields will break with the ValueError Extract requires native DurationField database support. that is already raised in this case.
ExtractDay and ExtractMonth work fine because they don't have the special case implemented by ExtractYear to optimize the use of DB indices.
The generated SQL is broken for every case of ExtractYear + DurationField on every backend because of a special case, so broken support in some uncommon backends is still better that no support at all.

Well it looks like you are right, partial DurationField support for Extract was added in https://github.com/django/django/commit/43a4835edf32c57eb74c0eb207c276734a34abcf, thanks for correcting me.
In this case this PR makes sense as as bugfix.

DurationField is modeled in Python by timedelta (see documentation), so even with this fix it will always return 0 for ExtractYear, ExtractYear, ExtractMonth or ExtractWeek which is unexpected. I think we should raise ValueError in such cases.

I discovered the bug by doing this request
Contact.objects.annotate(
    age=ExtractYear(Func('birthdate', function='age', output_field=DurationField())
).filter(
   age__gte=18,
)

and the generated SQL is incorrect, that really is unexpected. With an extra Cast arround ExtractYear as a workarround, the correct behaviour is restored.
    age=Cast(ExtractYear(Func('birthdate', function='age', output_field=DurationField()), IntegerField())

Maybe I should add a note to the documentation that query on the DB on intervals with years won't work because they are not representable in Python.

I would raise ValueError for set of lookups like that don't work properly (e.g. datetime.py).


How to install cityflow

Getting trouble in installation of cityflow... please help
I tried to used installation  of cityflow  documentation and follow that but unable to install it please guide. thanks...

Could you please describe the error in detail?


Unable to launch terminal Tabby

Tabby Version: 1.0.201 (fresh Install)
Xpipe Version: 1.7.2 (fresh Install)
Windows 11 (fresh install)
java.io.IOException: Unable to launch terminal Tabby: Unable to find installation of Tabby.
Maybe try to use a different terminal in the settings.
at io.xpipe.app.util.TerminalHelper.open(TerminalHelper.java:38)
at io.xpipe.ext.base.action.LaunchAction$Action.execute(LaunchAction.java:31)
at io.xpipe.app.comp.store.StoreEntryWrapper.executeDefaultAction(StoreEntryWrapper.java:201)
at io.xpipe.app.comp.store.StoreEntryComp.lambda$createSimple$0(StoreEntryComp.java:101)
at io.xpipe.app.util.ThreadHelper.lambda$runFailableAsync$1(ThreadHelper.java:33)
at java.lang.VirtualThread.run(VirtualThread.java:309)
Caused by: java.io.IOException: Unable to find installation of Tabby
at io.xpipe.app.prefs.ExternalTerminalType$WindowsType.launch(ExternalTerminalType.java:157)
at io.xpipe.app.util.TerminalHelper.open(TerminalHelper.java:35)
... 5 more

How is Tabby installed? Did you use the Windows setup or the portable from here https://github.com/Eugeny/tabby/releases/tag/v1.0.201?
For now, you can just use the Custom Terminal setting with tabby run $CMD

Just wanted to chime in that I am experiencing the same issue - Tabby installed via the normal windows setup, default location.

I managed to resolve this by manually adding Tabby to my windows PATH env variable. A bit odd that Tabby didn't do that on install in my opinion.

I think it has something to do with system-wide installations. Currently we only check for per-user installations here: https://github.com/xpipe-io/xpipex/blob/239cc9ee51da6a782b1bdd2088089de72ed5b9ba/app/src/main/java/io/xpipe/app/prefs/ExternalTerminalType.java#L179
I will try to adapt this check for both cases. But yes, adding the executable to the PATH manually will fix this issue for now.

Can you try whether v1.7.3 in https://github.com/xpipe-io/xpipe-ptb works for you?

I will be happy to test this after I get off work.

This should now be fixed in the latest 1.7.3 release


Bump to zig 0.9.0-dev

Update stdlib method calls to match updated spec
zig fmt core/src

tested on mc 1.16.5 client

I think that it would be better for laddercraft to follow stable zig.

I think that it would be better for laddercraft to follow stable zig.

Hi, it supports 0.8 - I'll update the pr naming.


feat: add terraform grammar

Added language support for tf and tfvars used in Terraform, an IaC tool.

What's the difference between HCL and Terraform? According to GitHub Linguist, it seems to be an alias of HCL?
https://github.com/github-linguist/linguist/blob/559a6426942abcae16b6d6b328147476432bf6cb/lib/linguist/languages.yml#L2654-L2670

hcl and tf have slightly different uses, but in a grammatical sense they may be almost identical.
I'm no expert on *tmGrammar.json, but I checked the diff between hcl tmGrammar and terraform tmGrammar and found that there were some differences. So I treated them as different syntaxes.
If hcl, tf, and tfvars should be treated as the same syntax, I will fix this PR.
Thank you for review!


Pixelated screen and ram reset when launching C programs and usb drive.

When I try to open the usb drive or a program written in C, it shows a pixelated screen and then does a RAM reset.

Do you have the latest libraries and Cesium.

I downloaded the new C libraries and that fixed it. Thank you!


tests/genesis: Sample random subset of addresses to validate.

SUMMARY
The genesis state test takes a long time to run (~5-10m), primarily bottlenecked by validating every account in the staking backend has the correct balance. This problem will get unwieldy soon as the number of accounts continues to increase, we start needing to validate paratime accounts, etc.
We should modify this test to more generically select a (configurable size) random sample of accounts (or other primitives) and validate them
ISSUE TYPE

Feature Idea

COMPONENT NAME
tests

It's called "genesis state", but really it just means asking the node to give a snapshot of balances at a certain abitrary height. See API.
It is too expensive to ask the node for that. Instead, choose a few addresses and ask the node for the balance of each of them in turn.
This test is currently disabled in CI/prod, but you can run it locally.

Alternatively: Keep the test as-is, but run it not too frequently. E.g. daily or weekly or just after a release. Depends on how long the "genesis" dump takes.


Redirect to show after update Partner

Resolves #1924
Description
Change the redirect path to show when partner updates.
How Has This Been Tested?
The test on update was inconsistent for an unsuccessful.

Awesome!


Use render instead of repaint

After getting the error this.$clusterObject.repaint is not a function, I have search for a solution and found this. Replacing the function call render() instead of repaint() solves this issue.

Hello @patrickbitzer ! Sorry to ping you, as we were talking in this issue, it seems that this repo is not being maintained. I forked and I'm trying to keep it healthy, can you please send this PR to my fork? :)

@NathanAP if the owner of this PR will not answer. ping me. I will do PR with this fix. But I didn't get this issue on my end

I could find this info. Maybe this is anwer to this PR
https://github.com/googlemaps/js-markerclusterer/issues/130
Will use map cluster in my project but not soos. in 2-3 month

@NathanAP if the owner of this PR will not answer. ping me. I will do PR with this fix. But I didn't get this issue on my end

Ok, thanks!

I could find this info. Maybe this is anwer to this PR
googlemaps/js-markerclusterer#130
Will use map cluster in my project but not soos. in 2-3 month

No worries! If someone else get this problem we can give more priority to this situation.