Accessing a runway model from a non-runway collection

Description
I'm trying to access a runway belongsTo relation from a non-runway Collection. I can see the "ID" if the belongsTo relation, but I cannot access any of the properties on that model.
Steps to reproduce
Setup a Collection that has a belongsTo field to a runway model.
tabs:
  main:
    display: Main
    sections:
      -
        fields:
          -
            handle: title
            field:
              type: text
              required: true
              validate:
                - required
          -
            handle: content
            field:
              type: markdown
              localizable: true
          -
            handle: soothsayer
            field:
              max_items: 1
              mode: default
              resource: soothsayer
              create: true
              type: belongs_to
              display: Soothsayer
              listable: hidden
              instructions_position: above
              visibility: visible
              replicator_preview: true
              hide_display: false
              relationship_name: soothsayer
              title_format: Soothsayer
              with:
                - user
              validate:
                - required
          -
            handle: tarot_card
            field:
              options:
                tarot_card_1: 'Card 1'
                tarot_card_2: 'Card 2'
                tarot_card_3: 'Card 3'
                tarot_card_4: 'Card 4'
              taggable: false
              push_tags: false
              multiple: false
              clearable: false
              searchable: true
              cast_booleans: false
              type: select
              display: 'Tarot Card'
              listable: hidden
              instructions_position: above
              visibility: visible
              replicator_preview: true
              hide_display: false
  sidebar:
    display: Sidebar
    sections:
      -
        fields:
          -
            handle: slug
            field:
              type: slug
              localizable: true
              validate: 'max:200'
title: 'Featured Soothsayer'

Model Config:
    'resources' => [
        \App\Models\Soothsayer::class => [
            'name' => 'Soothsayers',
            'blueprint' => 'soothsayer',
            'title_field' => 'name',
            'read_only' => true,
        ],
    ],

 {{ collection:featured_soothsayers limit="3" as="featured" with="soothsayer" }}
                        {{ featured | dump }}

                            {{ partial:components.featured_soothsayer img="assets/{{tarot_card}}.png" name="{{title}}" bio="{{content}}" photo="{{featured:soothsayer:first_photo}}" }}

                    {{ /collection:featured_soothsayers }}

Environment
Environment
Application Name: Soothsayers
Laravel Version: 10.44.0
PHP Version: 8.2.16
Composer Version: 2.7.1
Environment: local
Debug Mode: ENABLED
URL: soothsayers.test
Maintenance Mode: OFF

Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED

Drivers
Broadcasting: log
Cache: statamic
Database: mysql
Logs: stack / single
Mail: smtp
Queue: sync
Session: file

Filament
Packages: filament, forms, notifications, support, tables
Version: v3.2.34
Views: NOT PUBLISHED

Livewire
Livewire: v3.4.4

Statamic
Addons: 2
Antlers: runtime
Sites: 1
Stache Watcher: Enabled
Static Caching: Disabled
Version: 4.49.0 PRO

Statamic Addons
statamic-rad-pack/runway: 6.3.0
tapp/filamentlink: dev-main

The screenshot of the dump is just showing the entry's data, which will just be the raw ID. I'm guessing you've tried something like this?
{{ soothsayer:title }}

Ok, I figured this out. I was accessing a property that didn't exist on the runway model yet. I addition, the as piece was messing things up. Here is the final version that works:
{{ collection:featured_soothsayers limit="3" }}

                            {{ partial:components/featured_soothsayer :img="tarot_card" :name="title" :bio="content" :photo="soothsayer:profile_picture" }}

                    {{ /collection:featured_soothsayers }}


testing codeowners

cc @AndrewGable

yup! worked here too

yup! worked here too

Sorry for all the auto assigned stuff @marcaaron, pls ignore.

Sorry for all the auto assigned stuff @marcaaron, pls ignore.


[FEATURE] Add support for adding basic queries to create-workload

Is your feature request related to a problem? Please describe.
Currently, when users create workloads using the OSB subcommand create-workload, the resulting workload only has a few operations, which are delete index, create index, check cluster health, and bulk ingestion. It requires users to manually add the queries themselves. Example provided below:
{% import "benchmark.helpers" as benchmark with context %}
{
  "version": 2,
  "description": "Tracker-generated workload for movies-2000",
  "indices": [
    {
      "name": "movies-2000",
      "body": "movies-2000.json"
    }
  ],
  "corpora": [
    {
      "name": "movies-2000",
      "documents": [
        {
          "target-index": "movies-2000",
          "source-file": "movies-2000-documents.json.bz2",
          "document-count": 2000,
          "compressed-bytes": 15061,
          "uncompressed-bytes": 287917
        }
      ]
    }
  ],
  "schedule": [
    {
      "operation": "delete-index"
    },
    {
      "operation": {
        "operation-type": "create-index",
        "settings": {{index_settings | default({}) | tojson}}
      }
    },
    {
      "operation": {
        "operation-type": "cluster-health",
        "index": "movies-2000",
        "request-params": {
          "wait_for_status": "{{cluster_health | default('green')}}",
          "wait_for_no_relocating_shards": "true"
        },
        "retry-until-success": true
      }
    },
    {
      "operation": {
        "operation-type": "bulk",
        "bulk-size": {{bulk_size | default(5000)}},
        "ingest-percentage": {{ingest_percentage | default(100)}}
      },
      "clients": {{bulk_indexing_clients | default(8)}}
    }
  ]
}

Describe the solution you'd like
It would be nice if OSB create-workload came with a default match_all query and users could override this default by specifying a JSON file with queries they would like to use. OSB would use this JSON file to and incorporate it into the workload.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Working on this

Made changes for criteria 1 (add default match_all query). Ran both test in test mode and without test mode

   ____                  _____                      __       ____                  __                         __
  / __ \____  ___  ____ / ___/___  ____ ___________/ /_     / __ )___  ____  _____/ /_  ____ ___  ____ ______/ /__
 / / / / __ \/ _ \/ __ \\__ \/ _ \/ __ `/ ___/ ___/ __ \   / __  / _ \/ __ \/ ___/ __ \/ __ `__ \/ __ `/ ___/ //_/
/ /_/ / /_/ /  __/ / / /__/ /  __/ /_/ / /  / /__/ / / /  / /_/ /  __/ / / / /__/ / / / / / / / / /_/ / /  / ,<
\____/ .___/\___/_/ /_/____/\___/\__,_/_/   \___/_/ /_/  /_____/\___/_/ /_/\___/_/ /_/_/ /_/ /_/\__,_/_/  /_/|_|
    /_/

[INFO] You did not provide an explicit timeout in the client options. Assuming default of 10 seconds.
[INFO] Preparing file offset table for [/Users/hoangia/Desktop/workloads/movies-queries/movies-2000-documents-1k.json] ... [OK]
[INFO] Executing test with workload [movies-queries] and provision_config_instance ['external'] with version [1.1.0].

[WARNING] merges_total_time is 152490 ms indicating that the cluster is not in a defined clean state. Recorded index time metrics may be misleading.
[WARNING] indexing_total_time is 1650657 ms indicating that the cluster is not in a defined clean state. Recorded index time metrics may be misleading.
[WARNING] refresh_total_time is 61271 ms indicating that the cluster is not in a defined clean state. Recorded index time metrics may be misleading.
[WARNING] flush_total_time is 98744 ms indicating that the cluster is not in a defined clean state. Recorded index time metrics may be misleading.
Running delete-index                                                           [100% done]
Running create-index                                                           [100% done]
Running cluster-health                                                         [100% done]
Running bulk                                                                   [100% done]
Running search                                                                 [100% done]

------------------------------------------------------
    _______             __   _____
   / ____(_)___  ____ _/ /  / ___/_________  ________
  / /_  / / __ \/ __ `/ /   \__ \/ ___/ __ \/ ___/ _ \
 / __/ / / / / / /_/ / /   ___/ / /__/ /_/ / /  /  __/
/_/   /_/_/ /_/\__,_/_/   /____/\___/\____/_/   \___/
------------------------------------------------------

|                                                         Metric |   Task |       Value |   Unit |
|---------------------------------------------------------------:|-------:|------------:|-------:|
|                     Cumulative indexing time of primary shards |        |     27.5105 |    min |
|             Min cumulative indexing time across primary shards |        |           0 |    min |
|          Median cumulative indexing time across primary shards |        | 0.000133333 |    min |
|             Max cumulative indexing time across primary shards |        |     6.06973 |    min |
|            Cumulative indexing throttle time of primary shards |        |           0 |    min |
|    Min cumulative indexing throttle time across primary shards |        |           0 |    min |
| Median cumulative indexing throttle time across primary shards |        |           0 |    min |
|    Max cumulative indexing throttle time across primary shards |        |           0 |    min |
|                        Cumulative merge time of primary shards |        |      2.5415 |    min |
|                       Cumulative merge count of primary shards |        |          16 |        |
|                Min cumulative merge time across primary shards |        |           0 |    min |
|             Median cumulative merge time across primary shards |        |           0 |    min |
|                Max cumulative merge time across primary shards |        |      0.5262 |    min |
|               Cumulative merge throttle time of primary shards |        |           0 |    min |
|       Min cumulative merge throttle time across primary shards |        |           0 |    min |
|    Median cumulative merge throttle time across primary shards |        |           0 |    min |
|       Max cumulative merge throttle time across primary shards |        |           0 |    min |
|                      Cumulative refresh time of primary shards |        |     1.02115 |    min |
|                     Cumulative refresh count of primary shards |        |         579 |        |
|              Min cumulative refresh time across primary shards |        |           0 |    min |
|           Median cumulative refresh time across primary shards |        | 8.33333e-05 |    min |
|              Max cumulative refresh time across primary shards |        |      0.2147 |    min |
|                        Cumulative flush time of primary shards |        |     1.64573 |    min |
|                       Cumulative flush count of primary shards |        |          51 |        |
|                Min cumulative flush time across primary shards |        |           0 |    min |
|             Median cumulative flush time across primary shards |        |           0 |    min |
|                Max cumulative flush time across primary shards |        |    0.348717 |    min |
|                                        Total Young Gen GC time |        |           0 |      s |
|                                       Total Young Gen GC count |        |           0 |        |
|                                          Total Old Gen GC time |        |           0 |      s |
|                                         Total Old Gen GC count |        |           0 |        |
|                                                     Store size |        |     2.67243 |     GB |
|                                                  Translog size |        | 0.000401229 |     GB |
|                                         Heap used for segments |        |    0.214874 |     MB |
|                                       Heap used for doc values |        |   0.0306549 |     MB |
|                                            Heap used for terms |        |    0.139618 |     MB |
|                                            Heap used for norms |        |   0.0149536 |     MB |
|                                           Heap used for points |        |           0 |     MB |
|                                    Heap used for stored fields |        |   0.0296478 |     MB |
|                                                  Segment count |        |          58 |        |
|                                                 Min Throughput |   bulk |     1894.69 | docs/s |
|                                                Mean Throughput |   bulk |     1894.69 | docs/s |
|                                              Median Throughput |   bulk |     1894.69 | docs/s |
|                                                 Max Throughput |   bulk |     1894.69 | docs/s |
|                                        50th percentile latency |   bulk |     458.591 |     ms |
|                                       100th percentile latency |   bulk |     476.749 |     ms |
|                                   50th percentile service time |   bulk |     458.591 |     ms |
|                                  100th percentile service time |   bulk |     476.749 |     ms |
|                                                     error rate |   bulk |           0 |      % |
|                                                 Min Throughput | search |       17.77 |  ops/s |
|                                                Mean Throughput | search |       17.77 |  ops/s |
|                                              Median Throughput | search |       17.77 |  ops/s |
|                                                 Max Throughput | search |       17.77 |  ops/s |
|                                        50th percentile latency | search |     358.462 |     ms |
|                                       100th percentile latency | search |     383.457 |     ms |
|                                   50th percentile service time | search |     358.462 |     ms |
|                                  100th percentile service time | search |     383.457 |     ms |
|                                                     error rate | search |           0 |      % |

--------------------------------
[INFO] SUCCESS (took 11 seconds)
--------------------------------

Will try using a separate template for custom queries but afterwards will try the inheritance template feature that Jinja offers

All Queries from official workloads have these three parameters for each operation that's a search operation

name
operation-type
body


🐛 fix bold text on /join page

Description
Fix bold text on /join page.
before:

after:

Looks good... but why doesn't the double asterisk work here?

might be the mdx parser.  should work all the time though.


[ISSUE] Dubbo+nacos throw classNotFound

Dubbo 2.7.2 + Nacos 1.0.0 works well, but Nacos 1.0.1 failed as following:

I'd like to create a PR for this issue.
Should I simply remove the reference to om.alibaba.nacos.client.naming.utils.StringUtils ?

https://github.com/apache/dubbo/pull/4308

#4308


Unable to locate a class or view for component [heroicon-s-exclamation-circle].

InvalidArgumentException
Unable to locate a class or view for component [heroicon-s-exclamation-circle].
:dart: Illuminate\View\Compilers\ComponentTagCompiler::componentClass
:page_facing_up: /app/vendor/laravel/framework/src/Illuminate/View/Compilers/ComponentTagCompiler.php
309          }
310
311*         throw new InvalidArgumentException(
312              "Unable to locate a class or view for component [{$component}]."
313          );

Open in Flare
Related issues

https://flareapp.io/errors/1895997
https://flareapp.io/errors/1895999

@marvinroman @JureUrsic @litenull I think the recent PR (#1231) may have caused an issue with the icon cache, which presented itself in a recent deploy. I've attached the Flare errors to this ticket— thanks in advance.


Clarify extra / must_understand language

xref https://github.com/zarr-developers/zarr-specs/issues/316#issuecomment-2407162818: clarifies that extra keys are allowed in the node metadata, they just must have this must_understand field set to false.

thanks!


Env variable to hide yaml submission from UI

Would be great to hide this button
https://github.com/argoproj/argo-workflows/blob/v3.4.8/ui/src/app/workflows/components/workflow-creator.tsx#L79-L84
Then can allow SSO users to just submit workflows from existing templates but not submit arbitrary new code!

You can use the Workflow Restrictions feature to only allow users to submit via existing templates.
Removing the UI button would not necessarily suffice, as the API can still be accessed (e.g. someone could make a request from within their browser console). API permissions are based off RBAC, which is not specific enough to only allow certain kinds of Workflows.
If not using Workflow Restrictions, another way to workaround that would be to use policies / admission controllers to create more granular logic.

would workflow restrictions prevent an adhoc run of a cronworkflow that doesn't use a template?

I believe it should apply to CronWorkflows as well, yes.
I've never tried submitting a CronWorkflow with no template though, so that's a good question and as such I'm not 100% confident of that.
But if Workflow Restrictions didn't apply to CronWorkflows, I would consider that to be a bug. Can tag me if you find such a bug and I'd look into fixing it 🙂

Ah right, I forgot, a CronWorkflow just creates Workflows (see also the code here), so yes, it will go through the same validation as a Workflow.

This seems to have been a duplicate of #7326

This seems to have been a duplicate of #7326

Wrong issue, sorry


chore: allow links in to be clickable

When the error messages are printed to a terminal the period at the end prevents the URL to be turned to an anchor for easier navigation.

Closing for now as it's been more than 2 week without action.


bytesToString / stringToBytes seems destructive

Thanks for your fantastic code, really helpful!
I have this issue: stringToBytes(bytesToString(input)) != input
When I run this CTR example, everything works nicely:
var key = aesjs.util.convertStringToBytes("Example128BitKey");

// Convert text to bytes
var text = 'Text may be any length you wish, no padding is required.';
var textBytes = aesjs.util.convertStringToBytes(text);

// The counter is optional, and if omitted will begin at 0
var aesCtr = new aesjs.ModeOfOperation.ctr(key, new aesjs.Counter(5));
var encryptedBytes = aesCtr.encrypt(textBytes);

// The counter mode of operation maintains internal state, so to
// decrypt a new instance must be instantiated.
var aesCtr = new aesjs.ModeOfOperation.ctr(key, new aesjs.Counter(5));
var dec:ryptedBytes = aesCtr.decrypt(encryptedBytes);

// Convert our bytes back into text
var decryptedText = aesjs.util.convertBytesToString(decryptedBytes);
console.log(decryptedText);
// "Text may be any length you wish, no padding is required."

However, when I add these lines in the middle (just above 'The counter mode of operation...'), the output is garbled:
var encryptedBytesString = aesjs.util.convertBytesToString(encryptedBytes);
var encryptedBytes = aesjs.util.convertStringToBytes(encryptedBytesString);

So apparently, converting to string and then back to bytes, somehow changes the original bytes.
I compared the two byte strings, and they differ at most positions, so it's not going wrong with just the first or last byte.
Background: I would like to convert the encrypted bytes your nice library creates to strings in some form of storage within an element in the DOM, and later use your stringToBytes function on these strings to get back the arrays of encrypted bytes that I can then decrypt.
But in any case, I think stringToBytes(bytesToString(input)) should be equal to input.
Thanks again for your great work on this library!

This question comes up quite a bit, so I have just linked to the previous issues:

https://github.com/ricmoo/aes-js/issues/11
https://github.com/ricmoo/aes-js/issues/13

UTF-8 is not a means to encode binary data, and most binary data will be invalid UTF-8 encoded content. In general, this is false: decode_utf8(encode_utf8(arbitraryData)) (regardless of language, library, etc. In many languages, such as Python, this would almost always throw an exception). If you want to get into the specifics, it has to do with ordinal bits, the moment any number in your data is > 127, very specific rules begin to apply to your input, which most arbitrary data will fail.
I just thought of a more obvious way to demonstrate the issue:
input = '45duckDuckGoose';
intEncoding = parseInt(a)
originalInput = String(a)

Obviously we can expect originalInput != input. Because the parseInt can only handle certain types of input. With UTF-8, it just isn't as obvious that this is what would happen.
If you wish to store strings, you have to convert your binary data to an encoding that supports arbitrary binary data; the only one I provide in the library is hex. So, the following will work:
var input = ... some binary data ...;
var hexString = bytesToString(input, 'hex');
var originalInput = stringToBytes(hexString, 'hex);

I have not implemented base64 in this library, but that is another common way to encode arbitrary binary data.

Thank you kind sir for your rapid and concise response! Very educational. People like you are making open source great 👍.
Feeling like a noob for not catching this and not even finding the earlier issues.
I would like to add to these issues:
In issue #11, @fresheneesz says something:

Might be a good idea to rename these to something like convertUTFBytesToString, cause the name makes me think its more general.

I think this is correct. Another option could be, to default to Hex instead of UTF8 for the regular functions, so that your generically named functions work on all sorts of data, and then create specific and descriptively named UTF functions.
In issue #13, you say:

I am considering removing the functions altogether

I hope you don't! Clearly users of your library are in need of these functions and they work nicely, as long as they're being understood properly. Hopefully, just a name change or extra documentation will do.
With regard to base64 support; you could consider simply adding calls to atob() and btoa()? This will exclude IE9 and lower, but it seems like any other modern web browser supports them. But of course it's trivial adding it myself, so it's definitely not a game breaker as much as removing the existing bytesToString and stringToBytes functions would be.

Closing this, but will open a new task to rename the functions in the next major version update.


Update .gitignore

During the development, I noticed that the var/cache folder appears and I suggest excluding it from the project to avoid accidental commit it.

@SergiX44 Could you please provide any feedback here?


SeekThermalPro

Hi, how connect SeekThermal CompactPro with PySeek?
CompactPro:
Bus 001 Device 020: ID 289d:0011
I have changed idvendor and idProduct, but return this error:
FIle: seek.py line 95, in get_image
self.send_msg(0x41, 0x53, 0, 0, '\xC0\x7E\x00\x00')
do you have any idea?

Seek-Pro python2: https://github.com/hntuan94/libPySeek.git


feat(url.ts): addition to play custom URLs in the terminal

Playing of custom urls in the terminal to use own livestream links
BREAKING CHANGE: Addition of a command

Oh yeah,
one thing.
i tried to implement changing auf Volume. Its desperatly needed.
Im half dying everytime i use this because of Volume


Option to open folder after save

I will love to see an setting for open the destination folder after save.

Thanks for the issue @xenio.
@sindresorhus @skllcrn Perhaps we could send a desktop notification after save that, when clicked, opens the destination?

Yeah, that could be useful. Could use the click event on the notification: https://github.com/electron/electron/blob/master/docs/api/notification.md#event-click

I am looking for a first PR on a project that is not my own. Do you have any guidance on where to start and could I take this issue?

@BrandonKlotz nice, yes. I'd start by cloning and running master, then read about the plugin arcitechture here, and when you get that, we have the "default save to file" service code here: https://github.com/wulkano/kap/blob/master/app/src/main/save-file-service.js in which this one should be implemented.
As the issue title says to add an option to do this, you will need need to read about how to enable config to a plugin here: https://github.com/wulkano/kap/blob/master/docs/plugins.md#config
Hope that points you in the right direction 👍 Feel free to ask more if I missed something.


mobile: fix indentation in EngineBuilder.kt

Commit Message:
Additional Description:
Risk Level: Low
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

/assign @caschoener

LGTM, thanks for catching this!  Sadly I don't think I can approve as I'm not a maintainer 😄


move hooks into package

@salieflewis getting this error after having moved all the hooks into packages.  I believe it could be related to issues im having with husky install on all 3 levels (/frontend + /frontend/packages + frontend/apps) which may be caused by the fact there isnt a git repo instantiated in the frontend folder (on-purpose). it looks like the ap-hooks package is getting exported + imported correctly (no typescript errors) but yea on build/run im getting these issues


Add check for empty object string in claims request parameter

This PR checks whether the object passed to the claims parameter is not an empty object. This prevents unnecessary cache skips when the empty object is provided, as we are only required to skip if additional claims are requested.

Coverage increased (+12.2%) to 96.024% when pulling c90fcff1e9f383a90f1d388266954319121ebbda on claims-empty-object-check into f3f0488efb6b4f498ce0fc5545a00445400dfb2a on dev.


Allow for hidden lock/ban spoiler proof message

This allows for staff to add a proof field that is hidden from the user but on the same line in the modlog for their lock/ban reason.

not read sec

Updated

Looks good, thanks!


Fecundity/Maturity table needs units of kg

Table 16 - should we add kg for fecundity in the caption or table header?

Also right-justify the number of samples column.

Good question. We could definitely add "(kg)" to the "Mean weight" column, but it's not clear if that should also be used for fecundity. The assumption is that the eggs produced are proportional to the body weight of mature individuals, but the proportionality is unknown, and effectively estimated via the log(R0) parameters. So it's not quite right to say the units of fecundity are eggs, but I'm not sure it's quite right to call it kg either.

Suggestion to add the total sample size  - easier to add into caption of Table 16.

I'll add kg to the mean weight column (but not to fecundity), right-justify the sample size column, and either add a new row with the total sample size or add that calculation to the caption.


Theme setup

How can I achieve this syntax using doom themes?

currently it looks like this:

I changed some of the colors and type's color in doom-gruvbox theme. but don't know how i can highlight usleep and cout

Has nothing to do with this package. c++-mode does not highlight these keywords, so you'll have to do so yourself.
(font-lock-add-keywords
   'c++-mode `((,(regexp-opt '("usleep" "cout")) . font-lock-keyword-face)))

Emacs manual: font-lock-mode

Please post questions like these on r/emacs in the future. Our issue tracker is a place for bugs and feature requests, not how-to help.


Error when downloading dataset

I tried to download the dataset in the dataset homepage.
But, following error occurred when I clicked the each dataset link.
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<Error>
PublicAccessNotPermitted
<Message>Public access is not permitted on this storage account. RequestId:f11eb78c-a01e-000e-3bae-9dc1e2000000 Time:2023-06-13T04:19:31.5518598Z</Message>
</Error>

Is there any other way to download the dataset?

adding the string "?sv=2022-11-02&ss=b&srt=o&sp=r&se=2033-06-08T16:48:15Z&st=2023-06-08T08:48:15Z&spr=https&sig=a9VXrihTzbWyVfaIDlIT1Z0FoR1073VB0RLQUMuudD4%3D" to the end of the current URL will be ok.

@wolfshow
It works 👍  Thank you!


Running MVC Tutorial not possible -- ModuleNotFoundError: No module named 'pkg_resources'

I´ve tried to run the tutorial "Getting started with the MVC project template". Therefore I´ve cloned the repo, created a new venv (python 3.10) installed the deps.
When running ./start.sh I get the following error:
❯ ./start.sh
INFO:     Will watch for changes in these directories: ['/home/ubuntu/Projects/00__Playground/blacksheep/BlackSheepMVC']
INFO:     Uvicorn running on http://<IP_ADDRESS>:44777 (Press CTRL+C to quit)
INFO:     Started reloader process [121323] using StatReload
Process SpawnProcess-1:
Traceback (most recent call last):
  File "/home/ubuntu/mambaforge/envs/base3.10/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap
    self.run()
  File "/home/ubuntu/mambaforge/envs/base3.10/lib/python3.10/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/home/ubuntu/Projects/00__Playground/blacksheep/BlackSheepMVC/.venv/lib/python3.10/site-packages/uvicorn/_subprocess.py", line 76, in subprocess_started
    target(sockets=sockets)
  File "/home/ubuntu/Projects/00__Playground/blacksheep/BlackSheepMVC/.venv/lib/python3.10/site-packages/uvicorn/server.py", line 61, in run
    return asyncio.run(self.serve(sockets=sockets))
  File "/home/ubuntu/mambaforge/envs/base3.10/lib/python3.10/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "uvloop/loop.pyx", line 1517, in uvloop.loop.Loop.run_until_complete
  File "/home/ubuntu/Projects/00__Playground/blacksheep/BlackSheepMVC/.venv/lib/python3.10/site-packages/uvicorn/server.py", line 68, in serve
    config.load()
  File "/home/ubuntu/Projects/00__Playground/blacksheep/BlackSheepMVC/.venv/lib/python3.10/site-packages/uvicorn/config.py", line 473, in load
    self.loaded_app = import_from_string(self.app)
  File "/home/ubuntu/Projects/00__Playground/blacksheep/BlackSheepMVC/.venv/lib/python3.10/site-packages/uvicorn/importer.py", line 24, in import_from_string
    raise exc from None
  File "/home/ubuntu/Projects/00__Playground/blacksheep/BlackSheepMVC/.venv/lib/python3.10/site-packages/uvicorn/importer.py", line 21, in import_from_string
    module = importlib.import_module(module_str)
  File "/home/ubuntu/mambaforge/envs/base3.10/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/home/ubuntu/Projects/00__Playground/blacksheep/BlackSheepMVC/server.py", line 14, in <module>
    from app.program import configure_application
  File "/home/ubuntu/Projects/00__Playground/blacksheep/BlackSheepMVC/app/program.py", line 4, in <module>
    from blacksheep.server import Application
  File "/home/ubuntu/Projects/00__Playground/blacksheep/BlackSheepMVC/.venv/lib/python3.10/site-packages/blacksheep/__init__.py", line 28, in <module>
    from .server.application import Application as Application
  File "/home/ubuntu/Projects/00__Playground/blacksheep/BlackSheepMVC/.venv/lib/python3.10/site-packages/blacksheep/server/__init__.py", line 1, in <module>
    from .application import Application as Application
  File "/home/ubuntu/Projects/00__Playground/blacksheep/BlackSheepMVC/.venv/lib/python3.10/site-packages/blacksheep/server/application.py", line 46, in <module>
    from blacksheep.server.errors import ServerErrorDetailsHandler
  File "/home/ubuntu/Projects/00__Playground/blacksheep/BlackSheepMVC/.venv/lib/python3.10/site-packages/blacksheep/server/errors.py", line 7, in <module>
    from blacksheep.server.resources import get_resource_file_content
  File "/home/ubuntu/Projects/00__Playground/blacksheep/BlackSheepMVC/.venv/lib/python3.10/site-packages/blacksheep/server/resources.py", line 3, in <module>
    import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'```

Hi @legout
Thank You for creating this issue. I needed to do some maintenance. Even though I pinned the dependencies there, some non backward compatible changes in pip in the last months required updating some dependencies.
Please try again, I updated the project template to use the latest versions of packages and verified it works again. I used Python 3.11 to test.


ex10 submission

Dear Prof. Dr. Koch,
I hereby submit my program (~/ex10_mk2/* ) for the APPFS module's tenth exercise. Thank you very much for extending the deadline. This gave me time to rewrite the program, which resulted in quite a speed-up. Sadly it did not remove a pesky bug that was the actual intention of my efforts. As a result the objective value is still on the high side. I continue to attempt to get to the bottom of this. Any help in this matter would be greatly appreciated. If you happen to spot something please do not hesitate to let me know. I am aware that any further changes will not count towards my mark, yet fixing this bug will be reward enough.
Best wishes,
Tri Shrive

If you find the error, just make a new pull request. Don't have the time now to look into it, but something seems to go wrong....also for the bigger graph (e.g. ssquare-1) your program seems to run forever. I would suggest to try to debug a small graph, for instance b15.


Three.js demos

Three.js demos
I developed two simple demos that show how to interface Three.js with speedy-vision, they are based on pre-existent demos there are no changes in the speedy-vision code base.
This PR derive from issue #53 and relative discussion with @alemart.
Demos
There two simple demos modified from grayscale-image.html and grayscale-video.html:

grayscale-image-with-threejs.html
grayscale-video-with-threejs.html

I think those examples are sufficient to demonstrate how to use the ImageBitmap coming from speedy vision with Three.js, but obviously i will wait for a review.

I will improve the grayscale video example (with three.js) and when i can i will post a gist link in the issue #53.
I agree with you that we can elaborate a better demo/example with three.js. I will think about in the next days/weeks for this. 🙂


Add token-refresher to default images

Description of changes:

Fixes a bug with import and download images

Testing (if applicable):
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/cherrypick release-0.11

/retest

/override codecov/patch

/lgtm


Fix return value of autojob

Summary
Regression in starlake 0.3.17 where autojobs were always in success even if an error occurs.
PR Type: Bug Fix
Status: Ready to review
Breaking change? No

Build error isnt related to the content of this PR:
[error] Failed tests:
[error] 	ai.starlake.schema.handlers.JsonIngestionJobNoIndexNoMetricsNoAuditSpec
[error] 	ai.starlake.schema.handlers.JsonIngestionJobSpecNoIndexJdbcMetricsJdbcAuditSpec

Are you sure that we want to keep returning try even when an error happen ?

Are you sure that we want to keep returning true even when an error happen ?

What you describe is the current behavior in master (0.3.17)
case "job" | "transform" =>
  TransformConfig.parse(args.drop(1)) match {
    case Some(config) =>
      if (config.compile)
        workflow.compileAutoJob(config)
      else
        workflow.autoJob(config)
      true
    case _ =>
      println(TransformConfig.usage())
      false
  }

This PR reverts to how it was before, returning true in case of success or false in case of error.
case "job" | "transform" =>
  TransformConfig.parse(args.drop(1)) match {
    case Some(config) =>
      if (config.compile) {
        workflow.compileAutoJob(config)
        true
      } else
        workflow.autoJob(config)
    case _ =>
      println(TransformConfig.usage())
      false
  }

I left true to compileAutoJob as Its use is main for test/dry-run, right?


Strip unnecessary parenthesis from template strings

Decaf wraps every template string with parenthesis.  There's nowhere in the Shopify codebase that requires this.
This transform relies on odd behaviour to strip out parenthesis; I'm guessing that recast sees a new property on the node and this forces a (good) destructive change.  There's an unsupported Node#parenthesizedExpression property that may make this less haphazard, but I couldn't get it to work any more effectively than this solution.
/cc @lemonmade

Saw this in the js-codemod repo, maybe it's a more appropriate way to force reprinting? https://github.com/cpojer/js-codemod/blob/b627c7faaacbe3cbe48050aea70ebc9aa4684c9b/transforms/trailing-commas.js#L25-L27

Code LGTM, can you add the sanity check for if ((foo === bar) && (baz === qux)) {}?


Add option for single step import via Admin Site

Problem
Add settings config value to enable import in a single step.
This can help solve issues with the two step process

Security
Containers
Duplicate db ids

This replaces the partially completed PR #1319
Solution
WIP
Note I removed test test_logentry_creation_with_import_obj_exception() from test_admin_integration.py because the monkey patching breaks the newly added tests.
The test itself is redundant because it tests calling import_data() with raise_errors=False, but this condition never occurs in the Admin import logic.
Then the test only checks that we receive HTTP 200.
Acceptance Criteria
WIP

Coverage: 100.0%. Remained the same when pulling 46e20119a197aeef8624dc2576a49892a7b703f4 on matthewhegarty:single-step-import into 1e5eb966581b37266e88a82793f5084046322789 on django-import-export:main.

I don't see anything critical here, and it mostly makes sense to me. Is this for sure merging into main, not 3.x.x? Or is main 3.x.x now and I missed it? hah :)

Yes, v3 is now the main branch


ValueError: compiling computation that requires 8 logical devices, but only 1 XLA devices are available

Description
ValueError: compiling computation that requires 8 logical devices, but only 1 XLA devices are available (num_replicas=8, num_partitions=1)
I'm trying to execute this notebook on Kaggle, which is an introduction to JAX. While trying to parallelize the augmentation on multiple TPU instances on line 24, I came across the abovementioned error. I would love to be able to understand why this happened, and what I can do to fix it.
What jax/jaxlib version are you using?
No response
Which accelerator(s) are you using?
TPU
Additional system info
Windows 11
NVIDIA GPU info
No response

What does jax.devices() show? My guess is that you aren't using a TPU machine (a machine with 8 GPUs would work also).


Add npm run toc

Closes #39.
We can use husky to auto-rerender the TOC on every commit. Shall I give it a go?

Sure! =)

This looks good as a first pass. If you have more to add, open another PR. =)


Space Delimited

Does not work with space delimited files, not a big issue. But it is to do with the csv reader we are using, would have to use someother reader.

Probaly have to use split instead of the reader

been looking to get space delimiters working as well. Having posted at stack exchange, it seems this is a limitation of the sniffer. Some have suggested using split instead as you mentioned.

I actually did make one using split before i had changed it to the sniffer. Maybe you can check if this is what you wanted:
re_separation = re.compile('[\s,;]+')
f = csv.reader(open(csv_file))
#for row in f:
for line in f:
n_col = len(line)
#print(n_col)
if n_col == 1:
result = re.split(re_separation, line[0])
self.raw_data.append(result)
#print(self.raw_data)
else:
self.raw_data.append(line)
#print(self.raw_data)

This should now work. Can someone else also confirm?

templates for delimiters should now work

Can confirm, works with template


Fix: FormData override

Problem: If callback payload already instance of FormData then createFormData function his override value to empty
Fix: An additional condition has been added that checks for payload already instance FormData

A nice fix, thanks.


Where to get ImageNet-pretrained Deformable ResNet-v1-101 model ?

I need to have ImageNet-pretrained Deformable ResNet-v1-101 model... where can i get because only ResNet-V1-101 model is available as resnet_v1_101-0000.params.
I would like to have for deformable model.. Kindly let me know.

We don't apply Deformable ConvNets to ImageNet classification, so sorry, no such model.

To train deeplab deformable CNN segmentation, how to get pretrained model? How it will run

Just use ResNet-V1-101 model as pretrained model, please refer our readme.

Thanks got the solution as per your advice


bower install ion-google-place only installs version 0.0.1

How to install the latest version?

same for me

I figured it out you need to provide full git respository path then it will
pick up the lastest build.
On Sun, Jan 31, 2016 at 6:52 PM, MKorsch<EMAIL_ADDRESS>wrote:

same for me
—
Reply to this email directly or view it on GitHub
https://github.com/israelidanny/ion-google-place/issues/66#issuecomment-177464742
.

you can in your bower.json do something like :
https://github.com/israelidanny/ion-google-place.git#COMMIT_SHA
exemple:
"ion-google-place": "https://github.com/israelidanny/ion-google-place.git#3a9a818656987af7bdc"

the git maintainer have to tag the git with newer version, currently there is only a 0.0.1 tag.


Frigate Server version is Unknown

Version of the custom_component
Component: v4.0.0
Frigate: 0.12.1-367d724
Describe the bug
My update.frigate_server entity becomes Unknown randomly. I delete the integration and set it up again and the sensor goes back to work, but after some days it becomes Unknown again. Everything else works as expected.
Debug log

2023-08-26 13:35:38.082 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration google_home which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-08-26 13:35:38.083 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration auth_header which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-08-26 13:35:38.083 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration nodered which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-08-26 13:35:38.083 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration switch_manager which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-08-26 13:35:38.083 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration govee_lan which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-08-26 13:35:38.084 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hpprinter which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-08-26 13:35:38.084 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-08-26 13:35:38.084 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration uptime_kuma which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-08-26 13:35:38.084 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration smartthinq_sensors which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-08-26 13:35:38.085 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration watchman which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-08-26 13:35:38.085 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration kia_uvo which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-08-26 13:35:38.085 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration custom_templates which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-08-26 13:35:38.085 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration frigate which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-08-26 13:35:38.086 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration webrtc which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-08-26 13:35:38.086 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration dahua which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-08-26 13:35:38.086 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration keymaster which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-08-26 13:35:38.086 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration auto_areas which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-08-26 13:35:38.087 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration proxmoxve which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-08-26 13:35:38.087 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration ui_lovelace_minimalist which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-08-26 13:35:38.087 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration holidays which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-08-26 13:35:38.087 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration dyson_local which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-08-26 13:35:38.088 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration govee which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-08-26 13:35:38.088 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration browser_mod which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-08-26 13:35:38.088 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration alarmo which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-08-26 13:35:51.059 WARNING (MainThread) [custom_components.govee] API is back online.
2023-08-26 13:35:52.756 INFO (MainThread) [custom_components.frigate]
-------------------------------------------------------------------
Frigate
Integration Version: 4.0.0
This is a custom integration!
If you have any issues with this you need to open an issue here:
https://github.com/blakeblackshear/frigate-hass-integration/issues
-------------------------------------------------------------------

2023-08-26 13:35:56.635 DEBUG (MainThread) [custom_components.frigate] Finished fetching frigate data in 3.856 seconds (success: True)
2023-08-26 13:36:00.581 WARNING (MainThread) [homeassistant.config_entries] Config entry 'Broadlink Remote' for broadlink integration not ready yet: [Errno -4000] Network timeout: No response received within 10s; Retrying in background
2023-08-26 13:36:03.057 WARNING (SyncWorker_9) [hyundai_kia_connect_api.HyundaiBlueLinkAPIUSA] hyundai_kia_connect_api - Unable to get vehicle location: {'errorSubCode': 'C400_1', 'systemName': 'IDM', 'functionName': 'validatePIN', 'errorSubMessage': 'Missing Fields: blueLinkServicePin or pinToken', 'errorMessage': 'Please check to see that all required fields are populated and try again.', 'errorCode': 400, 'serviceName': 'CheckCustomerUserPin'}
2023-08-26 13:36:03.059 ERROR (MainThread) [custom_components.kia_uvo.coordinator] Force update failed, falling back to cached: 'vehicleStatus'
Traceback (most recent call last):
  File "/config/custom_components/kia_uvo/coordinator.py", line 126, in _async_update_data
    await self.hass.async_add_executor_job(
  File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 108, in check_and_force_update_vehicles
    self.update_vehicle_with_cached_state(vehicle_id)
  File "/usr/local/lib/python3.11/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 83, in update_vehicle_with_cached_state
    self.api.update_vehicle_with_cached_state(self.token, vehicle)
  File "/usr/local/lib/python3.11/site-packages/hyundai_kia_connect_api/HyundaiBlueLinkAPIUSA.py", line 418, in update_vehicle_with_cached_state
    state["vehicleStatus"] = self._get_vehicle_status(token, vehicle, False)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/hyundai_kia_connect_api/HyundaiBlueLinkAPIUSA.py", line 165, in _get_vehicle_status
    status = dict(response["vehicleStatus"])
                  ~~~~~~~~^^^^^^^^^^^^^^^^^
KeyError: 'vehicleStatus'
2023-08-26 13:36:04.832 DEBUG (MainThread) [custom_components.frigate] Finished fetching frigate data in 3.746 seconds (success: True)
2023-08-26 13:36:06.093 WARNING (MainThread) [zigpy.application] Zigbee channel 11 utilization is 84.71%!
2023-08-26 13:36:06.095 WARNING (MainThread) [zigpy.application] If you are having problems joining new devices, are missing sensor updates, or have issues keeping devices joined, ensure your coordinator is away from interference sources such as USB 3.0 devices, SSDs, WiFi routers, etc.
2023-08-26 13:36:12.824 DEBUG (MainThread) [custom_components.frigate] Finished fetching frigate data in 3.740 seconds (success: True)
2023-08-26 13:36:20.828 DEBUG (MainThread) [custom_components.frigate] Finished fetching frigate data in 3.744 seconds (success: True)
2023-08-26 13:36:28.836 DEBUG (MainThread) [custom_components.frigate] Finished fetching frigate data in 3.751 seconds (success: True)
2023-08-26 13:36:34.352 WARNING (MainThread) [homeassistant.components.zha.core.cluster_handlers] [0xC1AB:11:0x0008]: async_initialize: all attempts have failed: [DeliveryError('Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>'), DeliveryError('Request failed after 5 attempts: <Status.NWK_INVALID_REQUEST: 194>'), DeliveryError('Request failed after 5 attempts: <Status.NWK_INVALID_REQUEST: 194>'), DeliveryError('Request failed after 5 attempts: <Status.NWK_INVALID_REQUEST: 194>')]
2023-08-26 13:36:35.113 WARNING (MainThread) [homeassistant.components.zha.core.cluster_handlers] [0xC1DB:11:0x0008]: async_initialize: all attempts have failed: [DeliveryError('Request failed after 5 attempts: <Status.NWK_INVALID_REQUEST: 194>'), DeliveryError('Request failed after 5 attempts: <Status.NWK_INVALID_REQUEST: 194>'), DeliveryError('Request failed after 5 attempts: <Status.NWK_INVALID_REQUEST: 194>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>')]
2023-08-26 13:36:36.707 WARNING (MainThread) [homeassistant.components.zha.core.cluster_handlers] [0xC1DB:11:0x0300]: async_initialize: all attempts have failed: [DeliveryError('Request failed after 5 attempts: <Status.NWK_INVALID_REQUEST: 194>'), DeliveryError('Request failed after 5 attempts: <Status.NWK_INVALID_REQUEST: 194>'), DeliveryError('Request failed after 5 attempts: <Status.NWK_INVALID_REQUEST: 194>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_CHANNEL_ACCESS_FAILURE: 225>')]
2023-08-26 13:36:36.827 DEBUG (MainThread) [custom_components.frigate] Finished fetching frigate data in 3.743 seconds (success: True)
2023-08-26 13:36:36.976 WARNING (MainThread) [homeassistant.components.zha.core.cluster_handlers] [0xC1AB:11:0x0300]: async_initialize: all attempts have failed: [DeliveryError('Request failed after 5 attempts: <Status.NWK_INVALID_REQUEST: 194>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>'), DeliveryError('Request failed after 5 attempts: <Status.NWK_INVALID_REQUEST: 194>')]
2023-08-26 13:36:37.232 WARNING (MainThread) [homeassistant.components.zha.core.cluster_handlers] [0xC1AB:11:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>'), DeliveryError('Request failed after 5 attempts: <Status.NWK_INVALID_REQUEST: 194>'), DeliveryError('Request failed after 5 attempts: <Status.NWK_INVALID_REQUEST: 194>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>')]
2023-08-26 13:36:37.608 WARNING (MainThread) [homeassistant.components.zha.core.cluster_handlers] [0xC1DB:11:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Request failed after 5 attempts: <Status.MAC_CHANNEL_ACCESS_FAILURE: 225>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>'), DeliveryError('Request failed after 5 attempts: <Status.NWK_INVALID_REQUEST: 194>'), DeliveryError('Request failed after 5 attempts: <Status.NWK_INVALID_REQUEST: 194>')]
2023-08-26 13:36:44.815 DEBUG (MainThread) [custom_components.frigate] Finished fetching frigate data in 3.731 seconds (success: True)
2023-08-26 13:36:52.820 DEBUG (MainThread) [custom_components.frigate] Finished fetching frigate data in 3.735 seconds (success: True)
2023-08-26 13:36:52.948 WARNING (MainThread) [aioesphomeapi.reconnect_logic] Can't connect to ESPHome API for control-panel @ <IP_ADDRESS>: Error connecting to ('<IP_ADDRESS>', 6053):  (SocketAPIError)
2023-08-26 13:37:00.823 DEBUG (MainThread) [custom_components.frigate] Finished fetching frigate data in 3.739 seconds (success: True)
2023-08-26 13:37:08.839 DEBUG (MainThread) [custom_components.frigate] Finished fetching frigate data in 3.754 seconds (success: True)
2023-08-26 13:37:16.831 DEBUG (MainThread) [custom_components.frigate] Finished fetching frigate data in 3.747 seconds (success: True)
2023-08-26 13:37:24.826 DEBUG (MainThread) [custom_components.frigate] Finished fetching frigate data in 3.742 seconds (success: True)
2023-08-26 13:37:32.819 DEBUG (MainThread) [custom_components.frigate] Finished fetching frigate data in 3.733 seconds (success: True)
2023-08-26 13:37:40.827 DEBUG (MainThread) [custom_components.frigate] Finished fetching frigate data in 3.743 seconds (success: True)
2023-08-26 13:37:48.823 DEBUG (MainThread) [custom_components.frigate] Finished fetching frigate data in 3.738 seconds (success: True)
2023-08-26 13:37:56.831 DEBUG (MainThread) [custom_components.frigate] Finished fetching frigate data in 3.747 seconds (success: True)
2023-08-26 13:38:04.823 DEBUG (MainThread) [custom_components.frigate] Finished fetching frigate data in 3.738 seconds (success: True)

Can you show the history of the entity?

I checked the history for the past month (didn't have any history beyond that) and it seems that I was actually wrong (sorry) it is ALWAYS Unknown.
I just deleted the integration and added it again, still Unknown, even tho on the window showing the added entities the version shows as expected:

Hey @NickM-27 do you need any more information for this?

If you run /api/stats on frigate what comes back

{
  "backyard": {
    "camera_fps": 5.1,
    "capture_pid": 699,
    "detection_enabled": 1,
    "detection_fps": 0,
    "ffmpeg_pid": 705,
    "pid": 695,
    "process_fps": 5.1,
    "skipped_fps": 0
  },
  "bedroom": {
    "camera_fps": 0,
    "capture_pid": 703,
    "detection_enabled": 1,
    "detection_fps": 0,
    "ffmpeg_pid": 775322,
    "pid": 696,
    "process_fps": 0,
    "skipped_fps": 0
  },
  "cpu_usages": {
    "1": {
      "cpu": "0.0",
      "mem": "0.0"
    },
    "15": {
      "cpu": "0.0",
      "mem": "0.0"
    },
    "17": {
      "cpu": "0.0",
      "mem": "0.0"
    },
    "24": {
      "cpu": "0.0",
      "mem": "0.0"
    },
    "25": {
      "cpu": "0.0",
      "mem": "0.0"
    },
    "26": {
      "cpu": "0.0",
      "mem": "0.0"
    },
    "27": {
      "cpu": "0.0",
      "mem": "0.0"
    },
    "28": {
      "cpu": "0.0",
      "mem": "0.0"
    },
    "29": {
      "cpu": "0.0",
      "mem": "0.0"
    },
    "30": {
      "cpu": "0.0",
      "mem": "0.0"
    },
    "31": {
      "cpu": "0.0",
      "mem": "0.0"
    },
    "32": {
      "cpu": "0.0",
      "mem": "0.0"
    },
    "41": {
      "cpu": "0.0",
      "mem": "0.0"
    },
    "42": {
      "cpu": "0.0",
      "mem": "0.0"
    },
    "79": {
      "cpu": "0.0",
      "mem": "0.0"
    },
    "81": {
      "cpu": "0.0",
      "mem": "0.0"
    },
    "82": {
      "cpu": "0.0",
      "mem": "0.0"
    },
    "93": {
      "cpu": "1.3",
      "mem": "0.0"
    },
    "109": {
      "cpu": "0.0",
      "mem": "0.0"
    },
    "111": {
      "cpu": "1.3",
      "mem": "0.7"
    },
    "117": {
      "cpu": "0.0",
      "mem": "0.0"
    },
    "134": {
      "cpu": "0.0",
      "mem": "0.0"
    },
    "135": {
      "cpu": "0.0",
      "mem": "0.0"
    },
    "136": {
      "cpu": "0.0",
      "mem": "0.0"
    },
    "140": {
      "cpu": "0.0",
      "mem": "0.0"
    },
    "150": {
      "cpu": "0.0",
      "mem": "0.0"
    },
    "158": {
      "cpu": "0.0",
      "mem": "0.0"
    },
    "172": {
      "cpu": "0.0",
      "mem": "0.0"
    },
    "173": {
      "cpu": "0.0",
      "mem": "0.0"
    },
    "174": {
      "cpu": "0.0",
      "mem": "0.0"
    },
    "182": {
      "cpu": "0.0",
      "mem": "0.0"
    },
    "186": {
      "cpu": "0.0",
      "mem": "0.0"
    },
    "195": {
      "cpu": "0.0",
      "mem": "0.0"
    },
    "201": {
      "cpu": "0.0",
      "mem": "0.0"
    },
    "202": {
      "cpu": "0.0",
      "mem": "0.0"
    },
    "211": {
      "cpu": "0.0",
      "mem": "0.0"
    },
    "216": {
      "cpu": "0.0",
      "mem": "0.0"
    },
    "679": {
      "cpu": "0.0",
      "mem": "0.1"
    },
    "685": {
      "cpu": "0.0",
      "mem": "0.0"
    },
    "686": {
      "cpu": "0.0",
      "mem": "0.2"
    },
    "688": {
      "cpu": "0.7",
      "mem": "0.2"
    },
    "691": {
      "cpu": "0.0",
      "mem": "0.0"
    },
    "693": {
      "cpu": "0.7",
      "mem": "0.2"
    },
    "694": {
      "cpu": "0.0",
      "mem": "0.0"
    },
    "695": {
      "cpu": "0.3",
      "mem": "0.2"
    },
    "696": {
      "cpu": "0.0",
      "mem": "0.1"
    },
    "697": {
      "cpu": "3.0",
      "mem": "0.2"
    },
    "699": {
      "cpu": "5.0",
      "mem": "0.2"
    },
    "703": {
      "cpu": "0.3",
      "mem": "0.1"
    },
    "705": {
      "cpu": "21.3",
      "mem": "0.2"
    },
    "785": {
      "cpu": "0.0",
      "mem": "0.0"
    },
    "786": {
      "cpu": "8.6",
      "mem": "0.2"
    },
    "788": {
      "cpu": "0.0",
      "mem": "0.0"
    },
    "775267": {
      "cpu": "0.0",
      "mem": "0.0"
    },
    "775367": {
      "cpu": "0.0",
      "mem": "0.0"
    },
    "775373": {
      "cpu": "0.0",
      "mem": "0.0"
    },
    "775378": {
      "cpu": "0.3",
      "mem": "0.0"
    },
    "%Cpu(s):": {
      "cpu": "id,",
      "mem": "0.3"
    },
    "MiB": {
      "cpu": "6928.5",
      "mem": "avail"
    },
    "PID": {
      "cpu": "%CPU",
      "mem": "%MEM"
    },
    "Tasks:": {
      "cpu": "stopped,",
      "mem": "0"
    },
    "top": {
      "cpu": "users,",
      "mem": "load"
    }
  },
  "detection_fps": 0,
  "detectors": {
    "coral_pci": {
      "detection_start": 0,
      "inference_speed": 6.03,
      "pid": 686
    }
  },
  "front_door": {
    "camera_fps": 5,
    "capture_pid": 697,
    "detection_enabled": 1,
    "detection_fps": 0,
    "ffmpeg_pid": 786,
    "pid": 693,
    "process_fps": 5,
    "skipped_fps": 0
  },
  "gpu_usages": {
    "intel-qsv": {
      "gpu": "0.0 %",
      "mem": "- %"
    }
  },
  "service": {
    "last_updated":<PHONE_NUMBER>,
    "latest_version": "0.12.1",
    "storage": {
      "/dev/shm": {
        "free": 236.8,
        "mount_type": "tmpfs",
        "total": 268.4,
        "used": 31.6
      },
      "/media/frigate/clips": {
        "free": 465394.6,
        "mount_type": "zfs",
        "total": 536870.9,
        "used": 71476.3
      },
      "/media/frigate/recordings": {
        "free": 465394.6,
        "mount_type": "zfs",
        "total": 536870.9,
        "used": 71476.3
      },
      "/tmp/cache": {
        "free": 994.2,
        "mount_type": "tmpfs",
        "total": 1000,
        "used": 5.8
      }
    },
    "temperatures": {
      "apex_0": 58.55
    },
    "uptime": 164857,
    "version": "0.12.1-367d724"
  }
}

Interesting, all of the data is there, it is not clear at all why it would be unknown

This is still an issue. Problem is still happening

having the same issue, is there any additional logs etc that i could help with?

I still have this issue, reopening.


Removing resolvconf Installation from debian and ubuntu installation

Referencing issue: #479
Most cloud providers injects their own DNS settings into /etc/resolv.conf file and/or running a separate DNS provider such as systemd-resolved. Running apt-get install resolveconf will break /etc/resolv.conf.
Tested with GCP debian-cloud/debian-12 image, both DNS proxying for clients and local DNS lookup still works.

Thanks a lot angristan for your work!
You can check my fork with some improvements, including this
https://github.com/Anatr0p/wireguard-install/


Changed OSM network port from 10010 to 10009

Signed-off-by: Efereyan Karen Simisola<EMAIL_ADDRESS>Description
This PR fixes #1547
Notes for Reviewers
Signed commits

[X ] Yes, I signed my commits.

@leecalcote @kumarabd kindly review this PR. It fixes issue 1547


tusd example with behind proxy

Currently the example https://github.com/tus/tusd/tree/master/examples/server seems to lack virtually every option the binary does, and not much info about how the binary works and no methods to build certain parts of it in the example.
Nearly 1/4th the issues posted here are proxy related, and I keep triggering this issue https://github.com/transloadit/uppy/issues/2285#issuecomment-632920770
and the best methods to config stuff seem to be block tusd and uppy and rewrite the headers aspects.
So how do I read the x-forward headers in the tusd example and respond with the location header that uppy uses?

Thank you for this report, but I am a bit confused about what you are exactly doing.

Currently the example https://github.com/tus/tusd/tree/master/examples/server seems to lack virtually every option the binary does

This example is intended as the minimal possible version to get tusd as a package running. Therefore, only the required options are used. I agree that could also benefit from more advanced examples. Was there anything specific that you were looking for?

not much info about how the binary works and no methods to build certain parts of it in the example

Do you want to rebuild the functionality from the binary?

Nearly 1/4th the issues posted here are proxy related, and I keep triggering this issue transloadit/uppy#2285 (comment)
and the best methods to config stuff seem to be block tusd and uppy and rewrite the headers aspects.

You are right that many users run into issues here. But often they missed to follow the instructions at https://github.com/tus/tusd/blob/master/docs/faq.md#can-i-run-tusd-behind-a-reverse-proxy. What error are you running into?

So how do I read the x-forward headers in the tusd example and respond with the location header that uppy uses?

tusd will do this on its own if you configure it as mentioned in https://github.com/tus/tusd/blob/master/docs/faq.md#can-i-run-tusd-behind-a-reverse-proxy.

Yes I found that page, and read all of them. I wanted to incorporate tusd into my program while also using whatever the -behind-proxy does
There is no example or seemingly any info on what that is doing. I assume it's just a few lines of code reading the actual header.. but not clear on how to do that with that tusd example. That's all I want. The exact example but reads the IP same way that the -behind-proxy does

There is no example or seemingly any info on what that is doing. I assume it's just a few lines of code reading the actual header.. but not clear on how to do that with that tusd example. That's all I want. The exact example but reads the IP same way that the -behind-proxy does

The -behind-proxy flag is directly passed to the RespectForwardedHeaders in the config struct. That is all it does. Set this config value and you will have the same behavior as the binary:
https://github.com/tus/tusd/blob/3feef174fd14d71c121c8c263c33eb08312a9296/cmd/tusd/cli/serve.go#L29

I think that's pretty unique flag of the program, as many of the others are event based and you'd do something in the for loop there, with that handler and the event etc..

Not sure I understand that entirely. The example contains a section for handling events:
https://github.com/tus/tusd/blob/3feef174fd14d71c121c8c263c33eb08312a9296/examples/server/main.go#L39-L48
Was this not sufficient for you?

Yes the event parts I specifically said I understood
Thanks for the config link


FirAuthError exceptions on IOS returning whe whole NSError information

Handling exceptions from Firebase Auth on both android and IOS using this lib works mostly as expected.
On the android side, the exceptions are handled as expected and you can use
try {
// your code here
} catch (e: Exception) {
//e.localizedMessage
}

on IOS, based on the code you create an Exception and pass NSError.toString() instead of NSLocalizedDescription.
Image for reference

Wondering if there's a way of doing the same on the IOS side and having access to the NSError properties itself.

Ideally they should be translated to the corresponding kmp/android exception like we do for js

It is also related to this issue where on iOS the exceptions always have only the most general type FirebaseAuthException and not its corresponding subclass like on android.


DRAFT: Create CEM ChangeTable

Pull Request doc
Purpose
What is the larger goal of this change?
What the code is doing
How is the purpose executed?
Testing
How did you test this change (unit/functional testing, manual testing, etc.)?
Where to look

It's helpful to clarify where your new code lives if you moved files around or there could be confusion/

What files are most important?

Usage Example/Visuals
How the code can be used and/or images of any graphs, tables or other visuals (not always applicable).
Time estimate
How long will it take for reviewers and observers to understand this code change?

@rouille @BainanXia @jenhagg
I'd like to argue that we don't actually need a CEM change table. If I remember correctly, the only features we are adding are set_build and set_retirement, and those apply to both PCM and CEM change tables. If y'all agree, I'll close this draft and start a new branch for the set_build and set_retirement work.

@rouille @BainanXia @jenhagg I'd like to argue that we don't actually need a CEM change table. If I remember correctly, the only features we are adding are set_build and set_retirement, and those apply to both PCM and CEM change tables. If y'all agree, I'll close this draft and start a new branch for the set_build and set_retirement work.

Sounds good.

@rouille @BainanXia @jenhagg I'd like to argue that we don't actually need a CEM change table. If I remember correctly, the only features we are adding are set_build and set_retirement, and those apply to both PCM and CEM change tables. If y'all agree, I'll close this draft and start a new branch for the set_build and set_retirement work.

Sounds good.

I agree

@rouille @BainanXia @jenhagg I'd like to argue that we don't actually need a CEM change table. If I remember correctly, the only features we are adding are set_build and set_retirement, and those apply to both PCM and CEM change tables. If y'all agree, I'll close this draft and start a new branch for the set_build and set_retirement work.

I agree


Circle of the Moon Druid can only wild shape once per short rest

Solasta Latest Steam version 1.5.97 (is that right? or is the top right of the main menu displaying the mod version?)
Mod version <IP_ADDRESS>
No other mods
A Circle of the Moon druid can only Wild Shape once per short rest. I started a new game just to be sure and confirmed that you can only Wild Shape once per short rest.
Step 1: Wild Shape
Step 2: Un-Wild Shape (losing Wild Shape due to damage also works to recrate the bug.)
Step 3: Try to Wild Shape and notice that you can't.
Character and save.zip
My log folder is empty and I don't know how to make a log file. I'm sorry.

Depending on shape it’ll consume 2 points. Is it happening with any shape?

Depending on shape it’ll consume 2 points. Is it happening with any shape?

On all three of the first shapes you can use yes. It shows they only use one.


(#288) GitHub Promotions for RPMs

Summary and Scope
Description:

This will wait for RPMs to exist for a given tag, and then create a GitHub release with the RPM artifacts.
PR checklist (you may replace this section):

[ ] I have run nox locally and all tests, linting, and code coverage pass
[ ] I have added new tests to cover the new code
[ ] My code follows the style guidelines of this project
[ ] If adding a new file, I have updated pyinstaller.py
[ ] I have updated the appropriate Changelog entries in README.md

Issues and Related PRs

Resolves: #288

Testing
Tested on:

This is a draft, I need to test/workout the code I have in the prerelease workflow and then I'll update the release workflow and mark this as ready to go.


Command to update all packages?

Hey,
is there a command to update everything that is installed? I find that running scoop update does not update the programs but kind of acts like apt update does in linux. Yet the there is no way for me to know if one of my scoop packages needs an update and I can kind of blind guess that they do and run "scoop update screentogif" to update screentogif.
This is obviously bad UX tho so I'm wondering if I'm missing an obvious command here or if this is not implemented.
If its not I would purpose a scoop upgrade, scoop upgrade --list or something of sorts to be able to see what packages can be updated.

scoop status will show you a list of all packages that can be updated.
scoop update * will update all items

thank you!

you should close this issue


ESP32-C3

When using in a ESP-C3 project I get this error:
lib/ESPNtpClient/src/ESPNtpClient.h:29:10: fatal error: include/time.h: No such file or directory

It works fine on standard ESP32...
I have tried #include "time.h" instead in ESPNtpClient.h, but it didn't help.
Can you suggest a work around?
UPDATE:

It turn out that include/time.h only exists in platform =<EMAIL_ADDRESS>which is too early to support ESP32-C3

Solved:
I used a project that used an earlier version of this library. Once updated, everything worked fine.


Bottom notch (iPhone X) not avoided by SafeArea when the Keyboard is open

Steps to Reproduce
The padding added by a SafeArea or calculated with a MediaQuery, correctly takes the bottom notch of an iPhone X style phone into account when the keyboard is closed.
But if the keyboard is open when the Scaffold have its parameter resizeToAvoidBottomInset set to false, the height of the bottom notch is not taken into account in the SafeArea, making the whole page shift down the size of the bottom notch.
I think the correct behavior for SafeArea/MediaQuery should be to still have a padding.bottom value the height of the notch to avoid inconsistency of the total available height depending on the keyboard state.
Example project:
void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatelessWidget {
  MyHomePage({Key key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return SafeArea(
      child: Scaffold(
        resizeToAvoidBottomInset: false,
        appBar: AppBar(
          title: TextField(),
        ),
        body: Column(children: <Widget>[
          Expanded(child: Container(color: Colors.white,),),
          Expanded(child: Container(color: Colors.red,),)
        ],),
      ),
    );
  }
}

When clicking on the TextField to open the keyboard, the whole content of the Scaffold body will shift down since the SafeArea is not compensating for the notch anymore.
Logs
Flutter doctor:
[✓] Flutter (Channel beta, v1.3.8, on Mac OS X 10.14.3 18D109, locale en-JP)
    • Flutter version 1.3.8 at /Users/guillaume/flutter
    • Framework revision e5b1ed7a7f (3 weeks ago), 2019-03-06 14:23:37 -0800
    • Engine revision f4951df193
    • Dart version 2.2.1 (build 2.2.1-dev.0.0 571ea80e11)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/guillaume/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.1, Build version 10B61
    • ios-deploy 1.9.4
    • CocoaPods version 1.6.0

[✓] Android Studio (version 3.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 33.4.1
    • Dart plugin version 182.5215
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)

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

[✓] Connected device (2 available)
    • iPhone 6  • 1F54E7BF-0551-4AEB-9CD8-F63C502A842A • ios • iOS 12.1 (simulator)
    • iPhone XS • 46D10895-1001-4801-9F7A-D65659B06914 • ios • iOS 12.1 (simulator)

• No issues found!

i found this issues too. i don't use Scaffold and Safearea, i manage page offset manually. and when the keyboard just showed up, i got the MediaQuery.of(context).padding.bottom is 0.0, and when Keyboard was hidden, it's back to 34.0 again.
all this was tested in iPhoneX
[✓] Flutter (Channel stable, v1.2.1, on Mac OS X 10.13.4 17E199, locale zh-Hans-CN)
• Flutter version 1.2.1 at /Users/wow/env/flutter
• Framework revision 8661d8aecd (10 weeks ago), 2019-02-14 19:19:53 -0800
• Engine revision 3757390fa4
• Dart version 2.1.2 (build 2.1.2-dev.0.0 0a7dcf17eb)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at /Users/gitkeer/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• ANDROID_HOME = /Users/gitkeer/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
• All Android licenses accepted.
[✓] iOS toolchain - develop for iOS devices (Xcode 9.2)
• Xcode at /Applications/Xcode9.app/Contents/Developer
• Xcode 9.2, Build version 9C40b
• ios-deploy 1.9.4
• CocoaPods version 1.5.2
[✓] Android Studio (version 3.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 31.3.1
• Dart plugin version 181.5656
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
[✓] IntelliJ IDEA Ultimate Edition (version 2018.3.2)
• IntelliJ at /Applications/IntelliJ IDEA.app
• Flutter plugin version 32.0.2
• Dart plugin version 183.4886.3
[✓] VS Code (version 1.33.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 2.25.1
[✓] Connected device (1 available)
• iPhone X • 6013C2D7-8F3F-4B54-AD21-68062DA3F717 • ios • com.apple.CoreSimulator.SimRuntime.iOS-12-1 (simulator)

We also run into this problem without Scaffold: When content is centered, it jumps because the safe area disappears when the keyboard shows.
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) => MaterialApp(home: MyHomePage());
}

class MyHomePage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Material(
      child: Column(
        children: <Widget>[
          Container(color: Colors.red, height: 120),
          TextField(),
          Expanded(
            child: Center(child: Container(width: 40, height: 40, color: Colors.green)),
          ),
          SafeArea(top: false, child: Container(color: Colors.red, height: 60))
        ],
      ),
    );
  }
}

I just ran into this too. My main page layout scales with the screen size, so I set resizeToAvoidBottomInset: false in my Scaffold to avoid the content shifting when the keyboard opens. However, on iPhone X, it still shifts because the bottom notch is accounted for when the keyboard is open, but not when it's closed. This will become a release blocker for my app in about a week.
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, v1.5.9-pre.29, on Mac OS X 10.14.4 18E226, locale en-US)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 10.2.1)
[!] Android Studio (version 3.4)
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] IntelliJ IDEA Community Edition (version 2019.1.1)
[✓] VS Code (version 1.33.1)
[✓] Connected device (1 available)

! Doctor found issues in 1 category.

Our basic problem here is that the MediaQuery loses any information about the "full screen" (media relative) safe area when the keyboard pops up.  This is the correct behavior for a bunch of use cases (such as keeping a bottom nav bar tight to the keyboard), but wrong here.
We need to pump that information down through MediaQuery so that the framework can use it and not lose that there's a safe area if it's choosing to ignore the inset.

/cc @Piinks who will probably be working on the framework side for this

Really glad this is still being worked on - release of my 4 Flutter apps on iOS is now blocked by this issue... :)

I just ran into this too. My main page layout scales with the screen size, so I set resizeToAvoidBottomInset: false in my Scaffold to avoid the content shifting when the keyboard opens. However, on iPhone X, it still shifts because the bottom notch is accounted for when the keyboard is open, but not when it's closed. This will become a release blocker for my app in about a week.

Hi @matthewlloyd, I'm working on a fix for this. Do you have a sample of this problem using Scaffold? The sample here uses SafeArea. I need to re-pro this issue with Scaffold to make sure it is working as expected and tested for regressions in the future. :)

i found this issues too. i don't use Scaffold and Safearea, i manage page offset manually. and when the keyboard just showed up, i got the MediaQuery.of(context).padding.bottom is 0.0, and when Keyboard was hidden, it's back to 34.0 again.

Hi @guopeng1994, I think you will find that MediaQuery.of(context).viewPadding is now available on the master branch, which should give you the expected behavior of bottom being 34.0 when the keyboard is open and closed.

Hi @matthewlloyd, I'm working on a fix for this. Do you have a sample of this problem using Scaffold? The sample here uses SafeArea, and SafeArea with Scaffold as a child. I need to re-pro this issue with Scaffold to make sure it is working as expected and tested for regressions in the future. :)

Hi @Piinks, yes, run this gist on iOS and notice that the field jumps down when the keyboard opens:
https://gist.github.com/matthewlloyd/e51ee11a112dd27e1b61cf30c6fc4237

is there a solution to extend the bottom bar behind the safe area? right now the scaffold has those 34 points on the bottom


Function hook

Users want to hook a function to call a method before/after forward/backward calculation.
For example, it is hard to show all values of input variables of Linear function now.

This issue is fixed via #991


Readying NCRC integration

[x] Ask about UUID for all rows
[x] Ask about including the original source URL and how it's formulated now
[x] Get access to https://docs.google.com/spreadsheets/d/1RJ_Neh1wwG6X0SkYZHjD-AEC9ykgAcya_8UCVNoE3SA/edit#gid=0 for everyone
[ ] Create a billing account for Sciety on Google Cloud Platform so it can use the APIs

Everyone should have been copied in Andrew's response but in summary:

Everyone has read-only access to the sheet now
Andrew has filled in all the missing UUIDs
Andrew suggested a basic algorithm that is used to generate the URL but as we suspected this is not part of his tech stack. It seems simple enough to recreate but we may not need to

The is already a billing account for the company credit card on GCP so no need to create a new one. If we want to separate the costs out later we can do that by project (as we do with AWS).
https://console.cloud.google.com/billing/00E6A6-97089D-1F2C55?folder=&organizationId=567577722038&project=
@giorgiosironi and I have access but we can add anyone else with an eLife address.
I suggest we create a new "sciety" project in GCP and enable the APIs etc. there. While I have used GCP a lot before I've not used it for connections to Google Sheets so am hoping the same processes apply.

New project with Google Sheets API is here: https://console.cloud.google.com/apis/api/sheets.googleapis.com/overview?project=sciety&supportedpurview=project
It still needs a service account with credentials creating so that you can use it programmatically but I see that as part of the work ticket rather than the readying ticket.


[Error] [carb.gym.plugin] Failed to resolve visual mesh '../meshes/table/robot_stand.obj'

I get the following error when running python3 teleop.py robot=allegro_sim sim_env=True. Any idea what may cause it? The directory /meshes/table/robot_stand.obj does not exist in the repo.
The procedure I followed to install Isaac gym was:

to create an environment with conda env create -f env_isaac.yml and activate it
download Isaac gym preview release from here
navigate to the python folder in it and install it via pip install -e .
then exported everything needed, as described here
finally run python3 teleop.py robot=allegro_sim sim_env=True

Error Message
python3 teleop.py robot=allegro_sim sim_env=True
***************************************************************
Starting vr detector component
***************************************************************
***************************************************************
Starting keypoint position transform component
***************************************************************
Importing module 'gym_37' (/home/fotis/Downloads/IsaacGym_Preview_4_Package/isaacgym/python/isaacgym/_bindings/linux-x86_64/gym_37.so)
Setting GYM_USD_PLUG_INFO_PATH to /home/fotis/Downloads/IsaacGym_Preview_4_Package/isaacgym/python/isaacgym/_bindings/linux-x86_64/usd/plugInfo.json
Importing module 'gym_37' (/home/fotis/Downloads/IsaacGym_Preview_4_Package/isaacgym/python/isaacgym/_bindings/linux-x86_64/gym_37.so)
Setting GYM_USD_PLUG_INFO_PATH to /home/fotis/Downloads/IsaacGym_Preview_4_Package/isaacgym/python/isaacgym/_bindings/linux-x86_64/usd/plugInfo.json
***************************************************************
Starting hand 2D plotter component
***************************************************************
PyTorch version 1.13.1+cu117
Device count 1
/home/fotis/Downloads/IsaacGym_Preview_4_Package/isaacgym/python/isaacgym/_bindings/src/gymtorch
Using /home/fotis/.cache/torch_extensions/py37_cu117 as PyTorch extensions root...
Emitting ninja build file /home/fotis/.cache/torch_extensions/py37_cu117/gymtorch/build.ninja...
Building extension module gymtorch...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
ninja: no work to do.
Loading extension module gymtorch...
tcp://<IP_ADDRESS>:10005
tcp://<IP_ADDRESS>:11005
Trying to make simulation
Not connected to PVD
+++ Using GPU PhysX
PyTorch version 1.13.1+cu117
Device count 1
/home/fotis/Downloads/IsaacGym_Preview_4_Package/isaacgym/python/isaacgym/_bindings/src/gymtorch
Using /home/fotis/.cache/torch_extensions/py37_cu117 as PyTorch extensions root...
Emitting ninja build file /home/fotis/.cache/torch_extensions/py37_cu117/gymtorch/build.ninja...
Building extension module gymtorch...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
ninja: no work to do.
Loading extension module gymtorch...
Physics Engine: PhysX
Physics Device: cuda:0
GPU Pipeline: disabled
***************************************************************
Starting allegro hand sim operator component
***************************************************************
/home/fotis/miniconda3/envs/openteach_isaac/lib/python3.7/site-packages/ikpy/chain.py:60: UserWarning: Link Base link (index: 0) is of type 'fixed' but set as active in the active_links_mask. In practice, this fixed link doesn't provide any transformation so is as it were inactive
warnings.warn("Link {} (index: {}) is of type 'fixed' but set as active in the active_links_mask. In practice, this fixed link doesn't provide any transformation so is as it were inactive".format(link.name, link_index))
/home/fotis/miniconda3/envs/openteach_isaac/lib/python3.7/site-packages/ikpy/chain.py:60: UserWarning: Link joint_3.0_tip (index: 5) is of type 'fixed' but set as active in the active_links_mask. In practice, this fixed link doesn't provide any transformation so is as it were inactive
warnings.warn("Link {} (index: {}) is of type 'fixed' but set as active in the active_links_mask. In practice, this fixed link doesn't provide any transformation so is as it were inactive".format(link.name, link_index))
/home/fotis/miniconda3/envs/openteach_isaac/lib/python3.7/site-packages/ikpy/chain.py:60: UserWarning: Link joint_7.0_tip (index: 5) is of type 'fixed' but set as active in the active_links_mask. In practice, this fixed link doesn't provide any transformation so is as it were inactive
warnings.warn("Link {} (index: {}) is of type 'fixed' but set as active in the active_links_mask. In practice, this fixed link doesn't provide any transformation so is as it were inactive".format(link.name, link_index))
/home/fotis/miniconda3/envs/openteach_isaac/lib/python3.7/site-packages/ikpy/chain.py:60: UserWarning: Link joint_11.0_tip (index: 5) is of type 'fixed' but set as active in the active_links_mask. In practice, this fixed link doesn't provide any transformation so is as it were inactive
warnings.warn("Link {} (index: {}) is of type 'fixed' but set as active in the active_links_mask. In practice, this fixed link doesn't provide any transformation so is as it were inactive".format(link.name, link_index))
/home/fotis/miniconda3/envs/openteach_isaac/lib/python3.7/site-packages/ikpy/chain.py:60: UserWarning: Link joint_15.0_tip (index: 5) is of type 'fixed' but set as active in the active_links_mask. In practice, this fixed link doesn't provide any transformation so is as it were inactive
warnings.warn("Link {} (index: {}) is of type 'fixed' but set as active in the active_links_mask. In practice, this fixed link doesn't provide any transformation so is as it were inactive".format(link.name, link_index))
***************************************************************
Starting calibration component
***************************************************************
Calibration file already exists. Do you want to create a new one? Press y for Yes else press EnterSimulation created
Loading asset 'allegro_hand_description/urdf/model_only_hand.urdf' from '/home/fotis/PycharmProjects/Open-Teach/openteach/components/environment/assets/urdf/'
[Error] [carb.gym.plugin] Failed to resolve visual mesh '../meshes/table/robot_stand.obj'
Loading Assets
Env suite is not None
***************************************************************
Starting Allegro_Sim environment component
***************************************************************
Start controlling the Simulation hand using the Oculus Headset.
End Effector Position [ 1.         1.2        0.        -0.7071068 -0.7071068  0.
0.       ]

My apologies. This was not eventually an error that prevented Isaac gym from starting. Just because the different processes printed in the console in a random order I did not see the calibration file already exists. Do you want to create a new one? Press y for Yes else press Enter prompt, which waits for enter to be pressed to start the simulation.

I am also facing the same issue with my Quest 3. In my Isaac Gym space, I can see it tracking my hand gestures in the upper left corner, but the hand in Isaac Gym doesn't move with my hands. It remains stuck with the end position:
End Effector Position [ 1.0002534e+00  8.7997133e-01  1.4123693e-04 -7.0756638e-01  7.0663381e-01  4.2378055e-03 -6.9278473e-04]

Could you please let me know how you resolved this problem? I also see the message:
Calibration file already exists. Do you want to create a new one? Press y for Yes else press Enter
However, this is immediately followed by other commands, so it doesn't wait for me to press enter. Thank you very much!

Hi, @ligerfotis . I am also facing the same issue with my Quest 3. In my Isaac Gym space, I can see it tracking my hand gestures in the upper left corner, but the hand in Isaac Gym doesn't move with my hands. It remains stuck with the end position:
End Effector Position [ 1.0002534e+00  8.7997133e-01  1.4123693e-04 -7.0756638e-01  7.0663381e-01  4.2378055e-03 -6.9278473e-04]

Could you please let me know how you resolved this problem? I also see the message:
Calibration file already exists. Do you want to create a new one? Press y for Yes else press Enter
However, this is immediately followed by other commands, so it doesn't wait for me to press enter.

Hi!
TL;DR: Just press enter when all threads are up and running.
 One of them prompts you to what I have written above. That means it just wants you to press enter.
I think you can ignore the messages for now or try to suppress them in the code.


Changed Mesos version to 0.25.0 package 0.2.70 in order to work with …

…the latest version of Docker (1.9.1)
Fixing the opened issue #37

Right now ansible-docker looks out of date somewhat. We are working to get it updated.

Ansible-Docker on Ubuntu worked just fine for me.
Took me awhile to figure out that last version of Docker was incompatible with Mesos 0.21 and then needed to update to 0.25.
cf: In the 0.25 release notes.
MESOS-2986 - Docker version output is not compatible with Mesos

I only say because docker-engine is now recommended for all distros over say lxc-docker.
i.e. for ubuntu ()
# Purge the old repo if it exists.
$ apt-get purge lxc-docker
```shell

Fyi, v0.26 is right around the corner, we better get moving :-P


onCreate method needs to be minimized

Currently we can see onCreate() method is having lots of code, it should be minimized. We need to make it neat and clean method to make it more readable and optimized one.

I'm submitting a Pull request on the development branch for my changes. Kindly review it.


Fix #1843: Do not manually manage the statesInUse in OptimizerCore.

The fix for #1515 in 00bf9f9a25301349a70ca89a07b73cb8970b6eb0 had to introduce a trampoline in withState, which basically defeated most of the purpose of our trampolines, because each withNewLocalDef had to introduce a new state.
This commit completely gets rid of withState. Instead of trying (and mostly failing) to keep track of the list of states currently in use, and remove the unused states, we simply keep them all forever. The RollbackExceptions themselves keep track of which states where in use when they were created, and restore only those. In fact, they simply record StateBackups, which keep their State themselves.
This new scheme can create some amount of "memory leak", because states that are not actually used anymore are kept in statesInUse, and backups for them are made. However, that list is thrown out with the OptimizerCore when optimize terminates anyway, so the "leak" is bound in a short period of time.

Review by @gzm0
I tested partestSuite/testOnly -- --fastOpt locally. Only run/t6246.scala fails with a linking error, which is already reported as #2021.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/2420/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/3141/
Test PASSed.

That's all. I'm assuming you don't have performance numbers, otherwise you would have posted them. IMO this is fine, the change looks very safe.

Indeed, I didn't do any kind of measurement.

Updated.

LGTM

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/2427/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/3149/
Test PASSed.


Supporting Oracle operators like '>=' or '<=' with embedded whitespace.

Added ability to have operators like '>=' or '<=' separated by a space.
This includes:

Modifying the JJT syntax to support the 'space in the middle' versions of operators (any quantity of whitespace is supported).
Modifying the various operators to inherit from a new 'ComparisonOperator' class, which handles the (previously NotEqualsTo-only) logic for capturing the form of the operator.
Giving each of the various operators a constructor that accepts the syntax used.
Modifying TestUtils to strip comments out before comparing SQL text (necessary because condition07.sql is now passing, and has a comment).
Updating SpecialOracleTest to indicate 130 tests passing now (condition7.sql now passes).
Adding a new test specifically for operators into SpecialOracleTest.

NOTE: Because the "! =" form of the 'not equals' operator means something different in PostgresSQL (factorial of previous argument + equals), we do NOT include that case.

Coverage decreased (-0.2%) to 83.377% when pulling 9886b02975d17499f8b88a667e695301be6414bb on davelindquist-egistix:whitespace-inside-oracle-operators into 5714516d314f31db15290c2797af52ffd045841b on JSQLParser:master.


Update versions, revamp config

Versions are updated almost fully to most recent versions.

Python at 3.10
pytorch is at <2.0.0

New use_cuda config allows one to use CUDA code or not.
All configs now use config/master_config.yaml and configs in config/datasets/.  All other config/*.yaml are not used.
Changed most os.path code to Pathlib.Path
Some files may not be functional / bug-checked (some os.path still remain.)

Sorry this was a goof, trying to push to my own repo.


Fix capitalization of path for newer OS versions

Fixes #3 in the code. Works on Monterey 12.0.1.

This is awesome @PTrottier! Could we have it fall back to the old capitalization if the new path fails, to make this compatible with users who haven't upgraded?

Apologies for the delay @jrmann100, the code is ready for review/testing and the commits can be squashed and merged.

Thanks so much @PTrottier!