[v6][Feature Request] Theme-agnostic menu items

Background: In https://github.com/Laravel-Backpack/CRUD/issues/5033 we made the ui namespace the fallback for all themes. That means if you do backpack_view('some_view') and that view is missing from the theme_namespace AND the theme_fallback_namespace (in the config file) then as a last resort Backpack will look into the backpack.ui namespace. That opened up the possibility of fixing a problem we have. Problem is outlined below.

Problem: right now, if an admin panel has multiple themes installed, and switches between them, they have to switch menu blade files too.
In our demo we have three themes installed, and EACH of those themes has the sidebar_content.blade.php overridden, with the exact same menu items, just a different HTML syntax. That's so ugly. What if we created a way for devs to define menu items in a GENERAL way? Then each theme would output the HTML the way it should be.
We've explored a few solutions in https://github.com/Laravel-Backpack/CRUD/issues/5033 and I think the best one we have is this one:
Solution A) PHP Objects
<?php

use Backpack\UI\MenuItem;
use Backpack\UI\MenuSeparator;
use Backpack\UI\MenuDropdown;

MenuSeparator::make('First-Party Addons');
MenuItem::make('News')->link(backpack_url('article'))->icon('la la-newspaper-o');
MenuItem::make('Categories')->link(backpack_url('category'))->icon('la la-list');
MenuDropdown::make('News', 'la la-newspaper-o')->items(
    MenuItem::make('News')->link(backpack_url('article'))->icon('la la-newspaper-o'),
    MenuItem::make('Categories')->link(backpack_url('category'))->icon('la la-list'),
);

// because you could also do stuff like:
MenuItem::make('News')->visibleWhen($is_admin); // or
MenuItem::make('News')->hiddenWhen($is_admin);

?>

Alternatively we can do:
Solution B) Blade directives with named attributes
@backpackMenuItem(title: 'Categories', icon: 'la la-list', href: backpack_url('category'), visibleWhen: $is_admin, attributes: [
    'data-custom-name' => 'smth',
    'target' => '_blank',
    'class' => 'text-bold',
])

// and in simple cases it would be
@backpackMenuItem(title: 'Categories', icon: 'la la-list', href: backpack_url('category'))

PROs:

better than blade directive with simple params:

reads better in plain english
params can be in whatever order you want

just as many features as PHP objects

CONs:

more text to write than blade directive with simple parameters
NOT as extensible as PHP objects; people (or themes) cannot create their own objects that extend these, and add extra features;

But we can also do:
Solution C) Blade components
Which would actually be Laravel's built-in solution to this problem:
<x-backpack::menu-item title="Dashboard" icon="la la-dashboard" :link="backpack_url('dashboard')" />

<x-backpack::menu-separator title="First-Party Addons" />

<x-backpack::menu-dropdown title="News" icon="la la-newspaper-o">
    <x-backpack::menu-dropdown-item title="Articles" icon="la la-newspaper-o" :link="backpack_url('article')" />
    <x-backpack::menu-dropdown-item title="Categories" icon="la la-list" :link="backpack_url('category')" />
    <x-backpack::menu-dropdown-item title="Tags" icon="la la-tag" :link="backpack_url('tag')" />
</x-backpack::menu-dropdown>

PROs:

all the benefits of PHP classes (we can add methods like isVisible() or visibleWhen())
just as readable as blade directives
just as Laravelly as blade directives
just as embeddable as blade directives (doesn't need @php and @endphp blocks like Classes would)
super-simple implementation (CRUD provides MenuItem.php object, which upon rendering does backpack_view('components.menu-item') so then each theme can override that view if they want;
developers (or theme developers) can create their own objects that extend these to add extra features; or bind to these classes to override them;

CONs:

x-syntax isn't pretty in my opinion; but it's ok... I guess 😔

I've gone full Pedro on this one 😅 I started off creating a POC for Solution C and ended up doing 80% of it. In my defense, it was pretty easy... and fun 😅 Let's continue the conversation in https://github.com/Laravel-Backpack/CRUD/pull/5135 - if we decide that's not a good way forward we'll reopen this.


Update msi-tutorial-linux-vm-access-arm.md

Wrong port number in the initial curl call.

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@neumanndaniel : Thanks for your contribution to the Azure documentation! The author, @elkuzmen, has been notified to review your proposed change.

Hi @neumanndaniel - We fixed these shortly after the MSI release so we will close this PR, but thanks very much for your feedback!
@MicrosoftDocs/apex-docs-pr-reviewers - #please-close


StackExchange.Redis from version 2.2.88 to 2.6.80 in HotChocolate.Stitching.Redis

Summary

StackExchange.Redis from version 2.2.88 to 2.6.80 in HotChocolate.Stitching.Redis

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


Fixed broken aarch64-apple build by swapping cty::c_char with os::raw::c_char

The current master doesn't build examples with arm64 rust toolchains because there is a conflict between the way std::os::raw::c_char and cty::c_char define their values. The compilation will fail with a series of errors such as these (pointing to sys:igGetVersion() and str_id.as_ptr()):

error[E0308]: mismatched types
--> imgui/src/lib.rs:80:36
|
80 |         let bytes = CStr::from_ptr(sys::igGetVersion()).to_bytes();
|                                    ^^^^^^^^^^^^^^^^^^^ expected i8, found u8
|
= note: expected raw pointer *const i8
found raw pointer *const u8
error[E0308]: mismatched types
--> imgui/src/lib.rs:350:35
|
350 |         unsafe { sys::igOpenPopup(str_id.as_ptr(), 0) };
|                                   ^^^^^^^^^^^^^^^ expected u8, found i8
|
= note: expected raw pointer *const u8
found raw pointer *const i8
...

The root of this seems to be imgui-sys/src/bindings.rs using cty::c_char values. When these values are used with functions such as CStr::from_ptr() there will be a conflicting type.
My solution to this was to replace occurrences of cty::c_char with std::os::raw::c_char at the binding level instead of using casts throughout all calling code. AFAIK, this approach doesn't have a down side.
This PR compiles with stable-aarch64-apple-darwin 1.49.0 on a new MacBook Air and examples run as expected. I also tested the PR under stable-x86_64-pc-windows-msvc without issues.
This is my first PR in a long while (possibly ever, I don't remember) and my first PR for a rust project so feel free to drop constructive criticism if I've gone about this the wrong way.

This sounds like a cty bug, and I'd prefer it be fixed there if possible. I also have built this code on aarc64-apple-darwin, and it seemed to work then?

This sounds like a cty bug, and I'd prefer it be fixed there if possible. I also have built this code on aarc64-apple-darwin, and it seemed to work then?

I filed https://github.com/japaric/cty/issues/18. I'd prefer to fix it there so the sys crate works under no_std.

I filed https://github.com/japaric/cty/issues/18. I'd prefer to fix it there so the sys crate works under no_std.

Fixing this with #442 instead. Thanks for the PR though, it's just there was a reason we weren't using those to begin with.


Fix misc

Fix misc async client issue

Newer tokens don't necessarily end with token (it happened on me)

Understand that this is merely logging, happy to revert back if we need this message

async_setup() should initialize client first
Use back old regex for SNlM0e, the updated version throw me error, however by reverting to the old regex format, it works fine for me, sorry if this is a breaking thing, I guess we can check both if we want to be safe.

Description
Mentioned above.
Related Issue

N/A

Motivation and Context
I updated to the latest version and it was breaking.
How Has This Been Tested?

installing bardapi

poetry add --no-cache git+https://github.com/jjkoh95/Bard-API.git#fix-misc
# or
pip install git+https://github.com/jjkoh95/Bard-API.git#fix-misc

my code snippet

        bard_client = BardAsync(bard_cfg.psid)
        if bard_cfg.psidts: bard_client.cookie_dict["__Secure-1PSIDTS"] = bard_cfg.psidts
        if bard_cfg.psidcc: bard_client.cookie_dict["__Secure-1PSIDCC"] = bard_cfg.psidcc
        await bard_client.async_setup()

        result = await bard_client.ask("Hello")
        print(i, result.drafts[0].text)

result

Screenshots (if appropriate):
Mentioned above
Thank you once again to all the contributors. Your efforts are greatly appreciated!

Thank you for your contributions. I will check and make some modifications.


updated gulpfile.coffee

to remove watchDelay and add watchOptions/aggregateTimeout/poll.
This fixes issue  #26

Great work debugging this! Thanks!


Refactor and simplify request handlers to further divide API and library

overview
The request handlers in opentrons.server.endpoints contain a good amount of code that should be moved to the opentrons install-able package.
Examples

the move function in control.py should be moved out to the shared library. Interacting with the motion lock is too much intimate knowledge of the hardware for a request handler.

take_picture should call a method in the library rather than invoking ffmpeg.

[ ] All request handlers make simple function calls into opentrons library. (ie take_pictiure() etc.)

[ ] API has no knowledge of feature flags or any other internal configuration of opentrons library

Most, if not all, of this split was accomplished with the #4963 epic


Edge case: buses depart even when some passengers haven't boarded yet; not allowed!

This is very unlikely with vanilla buses because of its small vehicle size, but if you use it with mods e.g. Realistic Walking Speed, it becomes much more obvious.
This is a problem with me currently using a fixed value as the wait timer to achieve no-unbunching.
Fix by checking why the bus cannot depart yet, and carefully determine/signal if it could depart.

This has already been fixed now and deployed to Steam.
Closing this.


Fix a log message formatting issue

A log message was written incorrectly which is causing an error creating noise in app logs.
Signed-off-by: Tejas Parikh<EMAIL_ADDRESS>

/lgtm


Update Get-SPEnterpriseSearchResultItemType.md

Format example

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-server/Get-SPEnterpriseSearchResultItemType.md
:white_check_mark:Succeeded
View (sharepoint-ps)

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


Simplify gql remove data

Simplify GraphQL API
Closes:
https://github.com/tinacms/product-roadmap/issues/107
https://github.com/tinacms/product-roadmap/issues/89
https://github.com/tinacms/product-roadmap/issues/90
https://github.com/tinacms/product-roadmap/issues/91
schema must be supplied to the <TinaCMS> component
Previously the .tina/schema.ts was only used by the Tina CLI to generate the GraphQL API. However it's now required as a prop to <TinaCMS>. This allows you to provide runtime logic in the ui property of field definitions. See the documentation on "Extending Tina" for examples.
The GraphQL API has been simplified
get<collection name> is now just the collection name
# old
{
  getPostDocument(relativePath: $relativePath) { ... }
}

# new
{
  post(relativePath: $relativePath) { ... }
}

get<collection name>List is now <collection name>Connection
The use of the term connection is due to our adherence the the relay cursor spec. We may offer a simplified list field in a future release
# old
{
  getPostList { ... }
}

# new
{
  postConnection { ... }
}

getCollection and getCollections are now collection and collections
# old
{
  getCollection(collection: "post") {...}
}
{
  getCollections {...}
}

# new
{
  collection(collection: "post") {...}
}
{
  collections {...}
}

No more data property
The data property was previously where all field definitions could be found. This has been moved on level up:
# old
{
  getPostDocument(relativePath: $relativePath) {
    data {
      title
    }
  }
}

# new
{
  post(relativePath: $relativePath) {
    title
  }
}

The type for documents no longer includes "Document" at the end
# old
{
  getPostDocument(relativePath: $relativePath) {
    data {
      author {
        ...on AuthorDocument {
          data {
            name
          }
        }
      }
    }
  }
}

# new
{
  post(relativePath: $relativePath) {
    author {
      ...on Author {
        name
      }
    }
  }
}

Meta fields are now underscored
Aside from id, other metadata is now underscored:
# old
{
  getPostDocument(relativePath: $relativePath) {
    sys {
      relativePath
    }
    values
  }
}

# new
{
  post(relativePath: $relativePath) {
    _sys {
      relativePath
    }
    _values
  }
}

dataJSON is gone
This is identical to _values
form is gone
form was used internally to generate forms for the given document, however that's now handled by providing your schema to <TinaCMS>.
getDocumentList is gone
It's no longer possible to query all documents at once, you can query for collection documents via the collection query:
{
  collection {
    documents {
      edges {
        node {...}
      }
    }
  }
}

@jeffsee55 the two cypress screenshots can probably be removed.
https://github.com/tinacms/tinacms/pull/2823/files#diff-7318ec19642f620477966b552fd9962513b874b33bbde286bea747f77207d745


[🐛] HEIC files picked on Android have a .jpg extension

Description
Some modern Android devices (Samsung Galaxy S10e for example) have an option to use HEIC as the default image format.
When picking one of those images, the temp file has a .jpg extension (rn_image_picker_lib_temp_ca0eee34-ab17-44d0-b1b3-a8dd12094a64.jpg), but the content is in the HEIC format.
I am not sure about the returner MIME type, I do not have a real Android device with this feature to test it.
How to repeat issue and example

Take a picture with an HEIC-compatible phone (Samsung 10 series?) and JPG conversion disabled
Pick this picture with react-native-image-picker
Look at the response object and see that the filename extension (and mime type maybe?) are JPG, not HEIC

Solution
The proper extension (and mime type?) should be used
Additional Information

Image Picker version: 4.8.4
React Native version: 0.69.2
Platform: Android
Development Operating System: MacOS
Dev tools: Android SDK 32

I did encountered the same issue on both Android and iOS.
Both simply don't include native code to detect heic. Same goes for webp.
Concerning iOS, it can be fixed rather quickly in ./utils/ImagePickerUtils.m
In
+ (NSString*) getFileType:(NSData *)imageData
Add
 const uint8_t firstByteJpg = 0xFF;

 const uint8_t firstBytePng = 0x89;

 const uint8_t firstByteGif = 0x47;

 const uint8_t firstByteWebp = 0x52;

 const uint8_t firstByteHeic = 0x00;

Note: I don't like much the heic test on 00, I think it can gives false results, might be better to test longer patterns.
In
+ (NSString*) getFileType:(NSData *)imageData
Add
  case firstByteJpg:

    return @"jpg";

  case firstBytePng:

    return @"png";

   case firstByteGif:

     return @"gif";

  case firstByteWebp:

    return @"webp";

  case firstByteHeic:

    return @"heic";

   default:

     return @"jpg";

Concerning Android, it relies on
https://developer.android.com/reference/android/graphics/Bitmap.CompressFormat
https://android.googlesource.com/platform/frameworks/base/+/61ae88e/core/java/android/webkit/MimeTypeMap.java
Both don't have anything about heic.
So, I assume the changes are going to be heavier.
I'm likely going to test the first bytes of the base64 returns by this library, then going to apply the same kind of snippet iOS does to force / ensure the "jpg" is really jpg, otherwise convert it to heic.
I'm quite surprised it's not even part of the mime types, maybe I'm missing something here. Or simply that's the heic vs webp thing.

Any solution on this?

For me this is a feature, not a bug! 😄
this helps me.


Highcharts 5 is out

@kirjs Just a heads-up: Highcharts 5 is out, with a new build system and built-in support for CommonJS: http://www.highcharts.com/news/236-highcharts-5-0

Could you please publish v10.0.2?

yes, a released version with updated Highcharts would be very useful... :)

Thanks @aldendaniels and everybody, I'll figure it out over the weekend.

<EMAIL_ADDRESS>Thanks everybody


spHttpClient AddValidateUpdateItemUsingPath() returns status code 200 instead of 500 even though there are errors in the response and the item is not added to the list

Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
Windows
What browser(s) / client(s) have you tested

[ ] 💥 Internet Explorer
[ ] 💥 Microsoft Edge
[X] 💥 Google Chrome
[ ] 💥 FireFox
[ ] 💥 Safari
[ ] mobile (iOS/iPadOS)
[ ] mobile (Android)
[ ] not applicable
[ ] other (enter in the "Additional environment details" area below)

Additional environment details

browser version: 100.0.4896.127
SPFx version: 1.14.0

Describe the bug / error
When a invalid short URL is sent in the spHttpClient AddValidateUpdateItemUsingPath() request, it is returning status code 200 even though there are errors in the response and, the list item is not added to the list.
If the URL is too long, returns the status code 500 and working as expected.
Here are my request and response details:
Request Headers:

:method: POST
:path: /sites/group/_api/web/GetListUsingPath(DecodedUrl=<EMAIL_ADDRESS>:scheme: https
accept: application/json
accept-encoding: gzip, deflate, br
accept-language: en-US,en;q=0.9
cache-control: no-cache
content-length: 1400
content-type: application/json

Payload for this Request is:
{
  "listItemCreateInfo": {
    "FolderPath": {
      "DecodedUrl": "https://somespo.sharepoint.com/sites/group/Lists/Test Excel Import"
    }
  },
  "formValues": [
    {
      "FieldName": "Amount_x0020_in_x0020_Local_x002",
      "FieldValue": "125000",
      "HasException": false,
      "ErrorMessage": null
    },
    {
      "FieldName": "Match_x0020_Fee",
      "FieldValue": "25000",
      "HasException": false,
      "ErrorMessage": null
    },
    {
      "FieldName": "Website_x0020_Link",
      "FieldValue": "1234",
      "HasException": false,
      "ErrorMessage": null
    }
  ],
  "bNewDocumentUpdate": false,
  "checkInComment": null,
  "datesInUTC": true
}

Here is field details from above payload in which I'm sending the invalid URL:
{
  "FieldName": "Website_x0020_Link",
  "FieldValue": "1234",
  "HasException": false,
  "ErrorMessage": null
}

Response Code: 200

And the Response is
{
<EMAIL_ADDRESS>"https://somespo.sharepoint.com/sites/group/_api/$metadata#Collection(SP.ListItemFormUpdateValue)",
"value": [
{
"ErrorCode": 0,
"ErrorMessage": null,
"FieldName": "Amount_x0020_in_x0020_Local_x002",
"FieldValue": "125000",
"HasException": false,
"ItemId": 0
},
{
"ErrorCode": 0,
"ErrorMessage": null,
"FieldName": "Match_x0020_Fee",
"FieldValue": "25000",
"HasException": false,
"ItemId": 0
},
{
"ErrorCode": -2146232832,
"ErrorMessage": "Invalid URL: 1234.",
"FieldName": "Website_x0020_Link",
"FieldValue": "1234",
"HasException": true,
"ItemId": 0
},
{
"ErrorCode": 0,
"ErrorMessage": null,
"FieldName": "Id",
"FieldValue": "0",
"HasException": false,
"ItemId": 0
}
]
}

Here is the field level response details from the above in which we see error for invalid URL:
{
"ErrorCode": -2146232832,
"ErrorMessage": "Invalid URL: 1234.",
"FieldName": "Website_x0020_Link",
"FieldValue": "1234",
"HasException": true,
"ItemId": 0
}

Steps to reproduce

Create a list with URL field.
Send a spHttpClient request to add list items to the list using AddValidateUpdateItemUsingPath()
Observe that list item is not added but the status code is 200 when a invalid short URL is sent. This is not Expected.
Observe that list item is not added but the status code is 500 when a invalid long URL is sent. This is Expected.
Observe that list item is added with the status code is 200 when a valid URL is sent. This is expected.

Expected behavior

Response code should be 200, only if list item is added to the list whether or not the response contains field level errors as described above.
In the above scenario where the list item is not added because of field level error, the response code should have been 500.

@NewGHUser4321 - thank you for reporting this one.
Does the behavior of spHttpClient differ form plain REST call?

What do you mean by plain REST call? I haven't tested anything else.

spHttpClient is the helper class (wrapper) for SharePoint REST API.
If you use standard fetch or post browser function and send the appropriate request to the REST endpoint - will that return the same result as spHttpClient?

Just tested it, same response with browser fetch also. Returns status code 200 but list item is not added.

Thanks @NewGHUser4321 for testing that! It helped triage the issue correctly.


Add text to the Quick Reference Guide clarifying the URL to cite and bookmark

See https://github.com/tdwg/dwc/issues/312#issuecomment-762976489 and related comments for background.

While we do this one, it might be a good idea to also add a link to the Darwin Core Questions & Answers site (https://github.com/tdwg/dwc-qa).

Done in 571d0056b58c874c696d62759394415d6f54cf82.


Layout try 3

Based on #6, I'd like to explore OO with implicits, but so far haven't had it compiles.
A major pursue in my mind is to have a single (instead of two) object identity to facilitate customizable html page template, by providing self (likely super too) reference to all methods of a single record-of-functions.
@TimWhiting do you think this direction could be feasible?

I like this API, I think the only thing that it lacks is the ()() syntax for getting a function value from the struct and then calling it.
There is a good reason for it - for example, in the following you are wanting to return a closure and not necessarily immediately apply it.
fun main()
  val y = 1.dox
  y()

fun dox(x: int): (() -> int)
 fn() x + 1

Since struct accessors are just desugared to a function that matches on the value and gets the appropriate field, they have the same behavior, though I think we should desugar functions fields a bit differently in Koka. For now I think we should merge this one if it looks good to you.

nice to see this compiles and actually works! yeah, we can figure out how to polish the ()() syntax later, it's already acceptable to me by far. pls merge it.


BSoD when keyboard smart card was redirected on Windows 10 and virt-viewer

We have a rule for virt-viewer to redirect on connect all usb devices and a BSoD image always happens to this smartcard keyboard https://unykach.com/es/perifericos/teclado/teclado-sck-818-inteligente-50530/ when we connect a virtual machine.
It was tested with other smart card keyboards and it worked fine.
Important data:

Memory dump file: https://tinyurl.com/y5sqhlj4

Smartcard keyboard product: https://unykach.com/es/perifericos/teclado/teclado-sck-818-inteligente-50530/

Windows 10 version: 2h20

BSoD:

If I uninstall the usbdk package:

@FutureKidBuu  We can't access the memory dump link, can you please make it available?
Which version of UsbDk you use?

@ybendito UsbDk is the last one, v1.00-22.
Please, test link again, https://tinyurl.com/y5sqhlj4

@FutureKidBuu Can't access, tried with 2 different Microsoft  accounts (it requires sign-in with Microsoft). Tyhe test as always the same: We're sorry, but  can't be found in the activacionteknoservice-my.sharepoint.com directory. Please try again later, while we try to automatically fix this for you

@ybendito sorry for that,I upload it to my drive https://drive.google.com/uc?id=15RVxvR5wKQEOjo43-JKnFdyK6-fqGx2K&export=download
I hope you can!

@FutureKidBuu The dump downloaded. Next time you share large binary files, please zip them. For size as well as to prevent a corruption.
Please try previous release https://www.spice-space.org/download/windows/usbdk/UsbDk_1.0.21_x64.msi
(uninstall 1.0.22 first, then install it). Does it solve the problem?

@ybendito with version 1.0.21 it works! should we use that version as the last stable?

Latest stable is 1.0.22 but it causes the problem with this specific device USB\VID_058F&PID_9540 (EMV Smartcard Reader)
If you use 1.0.22 you need to exclude this device (smartcard reader) from the redirection (you can do that via configuration file of remote viewer or via its command line or on spice server side, i.e. in qemu command line (if you use qemu)
I think if you disable power save on this device (uncheck 'allow the computer to turn off this device ...') this will also solve the problem.

same problem with the bluescreen here, but we need the Smartcard in the virtual machine forwarded by remote viewer
i can't tell with update, but before a specific Windows Update forwarding went smoothly

@celevra At the moment I see 2 things to try:

Use 1.0.21 if possible
Disable USB selective suspend (Control Panel - Power - Current power plan)


Setting cache: true causing 'NoneType' object has no attribute 'get' error

System Health details
System Information

version
core-2024.5.4

installation_type
Home Assistant OS

dev
false

hassio
true

docker
true

user
root

virtualenv
false

python_version
3.12.2

os_name
Linux

os_version
6.6.28-haos-raspi

arch
aarch64

timezone
America/New_York

config_dir
/config

Home Assistant Community Store

GitHub API
ok

GitHub Content
ok

GitHub Web
ok

GitHub API Calls Remaining
5000

Installed Version
1.34.0

Stage
running

Available Repositories
1398

Downloaded Repositories
10

HACS Data
ok

Home Assistant Cloud

logged_in
false

can_reach_cert_server
ok

can_reach_cloud_auth
ok

can_reach_cloud
ok

Home Assistant Supervisor

host_os
Home Assistant OS 12.3

update_channel
stable

supervisor_version
supervisor-2024.05.1

agent_version
1.6.0

docker_version
25.0.5

disk_total
28.5 GB

disk_used
6.0 GB

healthy
true

supported
true

board
rpi4-64

supervisor_api
ok

version_api
ok

installed_addons
Terminal & SSH (9.14.0), Studio Code Server (5.15.0)

Dashboards

dashboards
4

resources
7

views
4

mode
storage

Recorder

oldest_recorder_run
May 8, 2024 at 5:18 PM

current_recorder_run
May 17, 2024 at 11:45 PM

estimated_db_size
34.96 MiB

database_engine
sqlite

database_version
3.44.2

Checklist

[X] I have enabled debug logging for my installation.
[X] I have filled out the issue template to the best of my ability.
[X] This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
[X] This issue is not a duplicate issue of currently previous issues..

Describe the issue
chime_tts was erroring for me when using the google_cloud platform when the cache is enabled.
Here is the action step that is part of my automation:
       - service: chime_tts.say
          data:
            cache: true
            chime_path: mario_coin
            message: testing testing one two three
            offset: 450
            tts_platform: google_cloud
          target:
            entity_id: media_player.office_speaker

I debugged on and off for a couple of days before looking at the full chime logs and found that the error occurred right after "Checking Chime TTS audio cache". I commented out the cache line and it all worked.
The following error/traceback is what I see in the logs for the issue:
Error executing script. Unexpected error for parallel at pos 1: 'NoneType' object has no attribute 'get'
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 501, in _async_step
    await getattr(self, handler)()
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 736, in _async_call_service_step
    response_data = await self._async_run_long_action(
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 699, in _async_run_long_action
    return await long_task
           ^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2738, in async_call
    response_data = await coro
                    ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2779, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/chime_tts/__init__.py", line 116, in async_say
    result = await queue.add_to_queue(async_say_execute, service, is_say_url)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/chime_tts/queue_manager.py", line 33, in async_process_queue
    result = await asyncio.wait_for(
             ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/asyncio/tasks.py", line 520, in wait_for
    return await fut
           ^^^^^^^^^
  File "/config/custom_components/chime_tts/__init__.py", line 138, in async_say_execute
    audio_dict = await async_get_playback_audio_path(params, options)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/chime_tts/__init__.py", line 716, in async_get_playback_audio_path
    audio_dict = await async_get_cached_audio_data(hass, filepath_hash)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/chime_tts/__init__.py", line 1287, in async_get_cached_audio_data
    audio_dict = await async_retrieve_data(hass, filepath_hash)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/chime_tts/__init__.py", line 1267, in async_retrieve_data
    return _data[DATA_STORAGE_KEY].get(key, None)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get'

I've only really starting working to customize homeassistant for a month now, so it is entirely possible I am missing something as far as where the cache is being stored, but I haven't been able to figure it out from the chime_tts nor general homeassistant docs.
Reproduction steps

Create a script or automation with chime_tts and include the cache: true data property

...
Debug logs
2024-05-18 21:13:01.635 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration chime_tts 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
2024-05-18 21:13:10.443 DEBUG (ImportExecutor_0) [custom_components.chime_tts.queue_manager] Queue reset
2024-05-18 21:13:10.450 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to import_module with args ('custom_components.chime_tts',) in /usr/src/homeassistant/homeassistant/loader.py, line 1041: ComponentProtocol, importlib.import_module(self.pkg_path) inside the event loop
2024-05-18 21:13:10.454 DEBUG (MainThread) [custom_components.chime_tts.queue_manager] Queue reset
2024-05-18 21:13:10.456 INFO (MainThread) [custom_components.chime_tts] The Chime TTS integration is set up.
2024-05-18 21:13:10.457 DEBUG (MainThread) [custom_components.chime_tts] Chime TTS Configuration Values:
2024-05-18 21:13:10.457 DEBUG (MainThread) [custom_components.chime_tts] - queue_timeout: 60
2024-05-18 21:13:10.457 DEBUG (MainThread) [custom_components.chime_tts] - tts_platform_key: ''
2024-05-18 21:13:10.457 DEBUG (MainThread) [custom_components.chime_tts] - offset: 0
2024-05-18 21:13:10.458 DEBUG (MainThread) [custom_components.chime_tts] - temp_chimes_path: '/media/sounds/temp/chime_tts/chimes/'
2024-05-18 21:13:10.458 DEBUG (MainThread) [custom_components.chime_tts] - temp_path: '/media/sounds/temp/chime_tts/'
2024-05-18 21:13:10.458 DEBUG (MainThread) [custom_components.chime_tts] - www_path: '/config/www/chime_tts/'
2024-05-18 21:13:10.458 DEBUG (MainThread) [custom_components.chime_tts] - media_dir: 'local'
2024-05-18 21:13:10.458 DEBUG (MainThread) [custom_components.chime_tts] - custom_paths:
2024-05-18 21:13:10.458 DEBUG (MainThread) [custom_components.chime_tts] - custom_chime_path_1:
2024-05-18 21:13:10.458 DEBUG (MainThread) [custom_components.chime_tts] - custom_chime_path_2:
2024-05-18 21:13:10.458 DEBUG (MainThread) [custom_components.chime_tts] - custom_chime_path_3:
2024-05-18 21:13:10.458 DEBUG (MainThread) [custom_components.chime_tts] - custom_chime_path_4:
2024-05-18 21:13:10.458 DEBUG (MainThread) [custom_components.chime_tts] - custom_chime_path_5:
2024-05-18 21:13:10.463 WARNING (MainThread) [py.warnings] /usr/local/lib/python3.12/asyncio/base_events.py:1989: RuntimeWarning: coroutine 'ChimeTTSQueueManager.queue_processor' was never awaited
2024-05-18 21:14:00.408 DEBUG (MainThread) [custom_components.chime_tts] ----- Chime TTS Say Called. Version v1.0.0 -----
2024-05-18 21:14:00.409 DEBUG (MainThread) [custom_components.chime_tts.queue_manager] Adding service call to queue
2024-05-18 21:14:00.447 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player]  players found: [{'entity_id': 'media_player.office_speaker', 'should_change_volume': False, 'initial_volume_level': 0.07000000029802322, 'group_members_supported': False, 'announce_supported': False, 'resume_media_player': True}]
2024-05-18 21:14:00.448 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ----- General Parameters -----
2024-05-18 21:14:00.448 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * entity_ids = ['media_player.office_speaker']
2024-05-18 21:14:00.449 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * chime_path = mario_coin
2024-05-18 21:14:00.449 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * cache = True
2024-05-18 21:14:00.449 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * offset = 450.0
2024-05-18 21:14:00.449 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * final_delay = 450.0
2024-05-18 21:14:00.450 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * message = testing testing one two three
2024-05-18 21:14:00.450 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * tts_platform = google_cloud
2024-05-18 21:14:00.450 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * tts_speed = 100.0
2024-05-18 21:14:00.450 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * tts_pitch = 0
2024-05-18 21:14:00.450 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * announce = False
2024-05-18 21:14:00.451 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * volume_level = -1.0
2024-05-18 21:14:00.451 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * join_players = False
2024-05-18 21:14:00.451 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * unjoin_players = False
2024-05-18 21:14:00.452 DEBUG (MainThread) [custom_components.chime_tts] *** Checking Chime TTS audio cache ***
File "/config/custom_components/chime_tts/__init__.py", line 116, in async_say
File "/config/custom_components/chime_tts/queue_manager.py", line 33, in async_process_queue
File "/config/custom_components/chime_tts/__init__.py", line 138, in async_say_execute
File "/config/custom_components/chime_tts/__init__.py", line 716, in async_get_playback_audio_path
File "/config/custom_components/chime_tts/__init__.py", line 1287, in async_get_cached_audio_data
File "/config/custom_components/chime_tts/__init__.py", line 1267, in async_retrieve_data
File "/config/custom_components/chime_tts/__init__.py", line 116, in async_say
File "/config/custom_components/chime_tts/queue_manager.py", line 33, in async_process_queue
File "/config/custom_components/chime_tts/__init__.py", line 138, in async_say_execute
File "/config/custom_components/chime_tts/__init__.py", line 716, in async_get_playback_audio_path
File "/config/custom_components/chime_tts/__init__.py", line 1287, in async_get_cached_audio_data
File "/config/custom_components/chime_tts/__init__.py", line 1267, in async_retrieve_data

Diagnostics dump
No response

Same error here

I was receiving the same error in 1.0.0, but the 1.1.0-beta6 release seems to have resolved it.

The fix has been included in the latest stable release, v1.1.0.


fix: updated deps

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Error: call: argument fn is undefined or null

Error: call: argument fn is undefined or null
    at check (io-1d6eccda.js:37)
    at validateFnDescriptor (io-1d6eccda.js:459)
    at call (io-1d6eccda.js:528)
    at _callee$ (common.js:146)
    at tryCatch (runtime.js:45)
    at Generator.invoke [as _invoke] (runtime.js:271)
    at Generator.prototype.<computed> [as next] (runtime.js:97)
    at next (redux-saga-core.dev.cjs.js:1161)
    at currCb (redux-saga-core.dev.cjs.js:1255)
    at redux-saga-core.dev.cjs.js:485

After updating the ReactNative I am getting this error.
My package.json file
{
"dependencies": {
"add": "^2.0.6",
"apisauce": "^1.1.1",
"moment": "^2.24.0",
"native-base": "^2.13.8",
"prop-types": "^15.7.2",
"react": "16.13.0",
"react-native": "0.61.5",
"react-native-action-button": "^2.8.5",
"react-native-animatable": "^1.3.3",
"react-native-device-info": "^5.5.3",
"react-native-dropdownalert": "^4.2.1",
"react-native-facebook-account-kit": "^2.1.0",
"react-native-fbsdk": "^1.1.2",
"react-native-fcm": "^16.2.4",
"react-native-gesture-handler": "^1.6.0",
"react-native-google-places": "^3.1.2",
"react-native-image-picker": "^2.3.0",
"react-native-image-progress": "^1.1.1",
"react-native-linear-gradient": "^2.5.6",
"react-native-maps": "0.26.1",
"react-native-maps-directions": "^1.7.3",
"react-native-modal": "^11.5.4",
"react-native-permissions": "^2.0.9",
"react-native-progress": "^4.0.3",
"react-native-reanimated": "^1.7.0",
"react-native-screens": "^2.0.0-beta.13",
"react-native-spinkit": "^1.5.0",
"react-native-star-rating": "^1.1.0",
"react-native-step-indicator": "^0.0.11",
"react-native-swiper": "^1.6.0-nightly.5",
"react-native-vector-icons": "^6.6.0",
"react-navigation": "^3.11.1",
"react-navigation-redux-helpers": "^1.0.6",
"react-redux": "^7.2.0",
"react-timer-mixin": "^0.13.4",
"redux": "^4.0.5",
"redux-logger": "^3.0.6",
"redux-persist": "^6.0.0",
"redux-saga": "^1.1.3",
"redux-thunk": "^2.3.0",
"socket.io-client": "^2.3.0",
"yarn": "^1.22.0"
},
"devDependencies": {
"@babel/core": "^7.8.4",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-proposal-decorators": "^7.8.3",
"@babel/plugin-transform-flow-strip-types": "^7.8.3",
"@babel/runtime": "^7.6.2",
"@react-native-community/eslint-config": "^0.0.5",
"babel-jest": "^25.1.0",
"eslint": "^6.5.1",
"jest": "^25.1.0",
"metro-react-native-babel-preset": "^0.58.0",
"react-test-renderer": "16.13.0"
},
}

Hey @wasif-shehzad
This is happening because you have passed an undefined function in call(), can you please cross check it or share a code snippet.

Hi, @achillesoo7  Thanks for your reply. I figured it out myself
I was using
call(delay, timeout )
but it should be like
call( delay(timeout)) .

Hey @wasif-shehzad
Did you export delay? I met this problem and found solution for that
but it's just my mistake because of not exporting from sagas.js
I think you need to test like below code as official instruction of saga
call(delay, timeout)

and you just need to export delay function in sagas.js, I think

Hey @wasif-shehzad Did you export delay? I met this problem and found solution for that but it's just my mistake because of not exporting from sagas.js
I think you need to test like below code as official instruction of saga
call(delay, timeout)

and you just need to export delay function in sagas.js, I think

me too~

yeah


optional load modes for iCE40

This makes the two load modes for the iCE40 optional and represents therefore a workaround for #77983.

based upon #80846

I really like the direction it is taking, but wonder if it would be interesting to split this in 2 drivers in the same file, using two different compatibles:

Interesting idea, and the breaking change should not be a big issue as the driver is still experimental. @cfriedt Preferences from your side?

Yeah, until we have better support for deinitializing SPI controllers, I guess anything is better than not having multi-instance.
Let's try two DT compats - why not?

Yeah, until we have better support for deinitializing SPI controllers, I guess anything is better than not having multi-instance.
Let's try two DT compats - why not?

Okay, I will do so. But I'm gonna wait until #81212 is merged to avoid a conflict.

I've separated the drivers into a SPI and GPIO bitbang implementation, with two different compatibles. I've kept the original binding as it is to avoid necessary changes downstream.

Added a bullet point in the release notes for the change in the binding.


Revert license year.

According to this post you shouldn't change your MIT license year.

So, to summarize:
if you made changes that year, do include the year in a comma-separated list in your copyright notice.
if did not make copyrightable changes that year, do not include that year in your copyright notice.

So, to summarize:
if you made changes that year, do include the year in a comma-separated list in your copyright notice.
if did not make copyrightable changes that year, do not include that year in your copyright notice.

You never see licenses with that many years separated by commas. As long as the software was changed this year, which it was, there is no need to revert this

You never see licenses with that many years separated by commas. As long as the software was changed this year, which it was, there is no need to revert this


parallels access dmg fix

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} reports no offenses.
[x] The commit message includes the cask’s name and version.

Closes #26872.
Cask fails when extracting from the dmg to the staged path.
This uses container type: :naked to move the dmg to the staged path then mount and run the installer using preflight.
I don't know if this is an acceptable fix or not.

Whatever works!
But please add a short comment above the container line to explain why this is needed, with a link to the original discussion.


ExtractorError: YouTube said: This video contains content from SME, who has blocked it in your country on copyright grounds.

from  US-based IP:
$ youtube-dl -k --verbose --no-cache-dir https://www.youtube.com/watch?v=OLzK_ewEilE
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-k', u'--verbose', u'--no-cache-dir', u'https://www.youtube.com/watch?v=OLzK_ewEilE']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.08.09
[debug] Python version 2.7.10 - Darwin-12.4.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 2.3.3, ffprobe 2.3.3
[debug] Proxy map: {}
[youtube] OLzK_ewEilE: Downloading webpage
[youtube] OLzK_ewEilE: Downloading video info webpage
ERROR: OLzK_ewEilE: YouTube said: This video contains content from SME, who has blocked it in your country on copyright grounds.
Traceback (most recent call last):
File "/Users/msyang/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 655, in extract_info
ie_result = ie.extract(url)
File "/Users/msyang/bin/youtube-dl/youtube_dl/extractor/common.py", line 286, in extract
return self._real_extract(url)
File "/Users/msyang/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1063, in _real_extract
expected=True, video_id=video_id)
ExtractorError: OLzK_ewEilE: YouTube said: This video contains content from SME, who has blocked it in your country on copyright grounds.

Can you watch this video in browsers without relays like proxies or VPNs?

No.  I was wondering if there's an option to spoof an ip.
On Thu, Aug 13, 2015, 1:20 AM Yen Chi Hsuan<EMAIL_ADDRESS>wrote:

Can you watch this video in browsers without relays like proxies or VPNs?
—
Reply to this email directly or view it on GitHub
https://github.com/rg3/youtube-dl/issues/6547#issuecomment-130538341.

--proxy may be helpful.

i had the same error /what i did ?just copy the youtube link in tor browser ,run the link ,then copy the download link to ffmpeg /for me was working

i had the same error /what i did ?just copy the youtube link in tor browser ,run the link ,then copy the download link to ffmpeg /for me was working

Can you please explain what do you mean by that? I tried the same thing but it didn't work out I copied the link from my default browser to tor and press enter it is still showing

This video contains content from SME, who has blocked it in your country on copyright grounds.

I want to download this video https://www.youtube.com/watch?v=APY-dar9c10

@yan12125 I tried using VPN & multiple proxies still can't download it nor I can watch it any help
this is the video https://www.youtube.com/watch?v=APY-dar9c10

I don't think copyrighted videos can be downloaded. If you can watch it in browsers with some VPN or proxy and are not sure how to make youtube-dl to the same VPN/proxy, ask on IRC.


[mesheryctl]: Improve the logging of the utility used to start meshery ui in browser

See mesheryctl Command Tracker for current status of commands.
Current Behavior

After starting meshery using the mesheryctl system start command, mesheryctl tries to
open the UI on the browser unless it succeeds. And, in case there are any errors while doing so,
those are logged into the terminal in a not-so-user-friendly fashion.
Sample:
Opening Meshery (http://localhost:9081) in browser.
[nladha@nladha ~]$ Opening in existing browser session.
[770630:770630:0100/000000.273173:ERROR:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process.

Desired Behavior

The error logging could be improved in case the utility fails to start meshery UI using the obvious method.
Environment

Host OS: Linux (Fedora 34)
Meshery Server Version: v0.6.0-rc-3
Meshery Client Version: v0.6.0-rc-3
Platform: Docker

Contributor Resources

mesheryctl Contributing Guide
Beginner's guide to contributing to Meshery and mesheryctl
mesheryctl Command Tracker
Meshery CLI Commands and Documentation
🙋🏾🙋🏼 Questions: Layer5 Discussion Forum and Layer5 Community Slack

@piyushsingariya ^^

I'd like to give it a shot 😁

Sorry, I'm unable to fix this bug. I'll remove my assignment so that someone else can take this up 😅

Though I wanted to share a few resources which I came across while I was researching for this issue.
This seems a known issue with the Linux systems and browser's GPU acceleration. Moreover, I think that the error is not printed by the browser pkg but printed by the Linux system due to some internal problem with opening the browser. So not sure whether we can actually solve this problem on our side.
https://simpleit.rocks/linux/ubuntu/fixing-common-google-chrome-gpu-process-error-message-in-linux/
https://bugs.chromium.org/p/chromium/issues/detail?id=264818
https://github.com/kubernetes/minikube/issues/12687
Also wanted to ask one thing, can we implement something like this: https://github.com/kubernetes/minikube/blob/master/cmd/minikube/cmd/dashboard.go#L122
https://github.com/kubernetes/minikube/blob/v1.25.1/pkg/minikube/browser/browser.go
wherein we check if the system is Linux and if xdg-open cmd is installed then call browser.OpenURL(url) otherwise simply print some error message(or link to the URL) and if the system is not Linux then call browser.OpenURL(url) as other systems are not facing this error message
// @piyushsingariya

@theBeginner86 we won't able to do that implementation that you suggested. the current implementation works irrespective of an OS, and that's what we want for a long time, it though opens a stream after executing the operation, maybe the package itself provides an option to not open these streams, did you check in this direction?

Hey @leecalcote  Should I try on this one? @Nikhil-Ladha @piyushsingariya @theBeginner86 @blake @lucj

sure!

Can you tell me which File should I work on @piyushsingariya
I am just trying to start learning about the file structure of the project

@ashutosh887
You need to check out the mesheryctl folder for working and improving mesheryctl.
For this particular issue, the error comes from this line: https://github.com/meshery/meshery/blob/b2ca6e4af20d268bda36813882f7960b17490e20/mesheryctl/internal/cli/root/system/dashboard.go#L103

Thanks @theBeginner86


Previous version documentation

The documentation for react-unity-webgl version 8.x is great. However, all links to documentation for all previous version points to the wiki which no longer documents the older versions.
Because of this, I don't know what features are available from older versions, nor how to properly configure anything.

Hi! It's not the best solution, but you can dive back into older versions of the documentation.

Hi! It's not the best solution, but you can dive back into older versions of the documentation.

Yeah I definitely tried haha. Apart from the quick-start sections, all older documentation provides links to the wiki. The issue with this is that the wiki is not current. Unless I am missing some way to see previous versions of the wiki?

You're referring to the readme in the repository, right? The Wiki itself is just like a repository, is has its own commit history. But it is still, not the best solution. I hope this helps!

By the way, the link above is the history of all the pages combined. Each page has its own list of commits, which can be found by clicking on the "x revisions" text on the top of the page. I little bit of a hidden feature by GitHub imo.

Oh wow this is EXACTLY what I was looking for. You're definitely right that this appears very hidden haha. Thanks a ton!

No problem, best of luck with your project!

Hey @jeffreylanters I've been looking forever but can't find any legacy docs. Where are these located?

Hi, sorry for the confusion. The documentation has been moved over to its respective version tag. I hope this helps you, happy coding.


webpackJsonp is not defined

Bug Report or Feature Request (mark with an x)
- [x] bug report
- [ ] feature request

Versions.
Output from: ng --version.
@angular/cli: 1.4.6
node: 6.11.3
os: darwin x64
@angular/animations: 4.4.4
@angular/cdk: 2.0.0-beta.12
@angular/common: 4.4.4
@angular/compiler: 4.4.4
@angular/core: 4.4.4
@angular/forms: 4.4.4
@angular/http: 4.4.4
@angular/material: 2.0.0-beta.12
@angular/platform-browser: 4.4.4
@angular/platform-browser-dynamic: 4.4.4
@angular/router: 4.4.4
@angular/cli: 1.4.6
@angular/compiler-cli: 4.4.4
@angular/language-service: 4.4.4
@angular/service-worker: 1.0.0-beta.16
typescript: 2.3.4
macOS  Sierra 10.12.6
Android Devices :

Samsung Galaxy S7 Edge, Android 7.0, Chrome 61.0.3163.98
Motorola Moto E4, Android 7.1.1, Chrome 61.0.3163.98
Pixel C, Android 8.0,  Chrome 61.0.3163.98

Repro steps.
I have a webapp with a SW (generate by CLI), I build it with the "ng build --prod" command.

Open the webapp in Chrome on Android Device
Close Chrome
Repeat open (the webapp opened previously reload)/close Chrome few times, and the error happen

Important : I can't reproduce it without a registered SW.
OR

Install app on Android Device
Repeat open/close the app few times, and the error happen

I can't reproduce the error on my Mac.
The log given by the failure.
 Uncaught ReferenceError: webpackJsonp is not defined at sw-register.cddb6ecf3e30717910a9.bundle.js:1

Desired functionality.
Webapp launch & display OK.
Mention any other details that might be useful.
I've already find this similar issue : https://github.com/angular/angular-cli/issues/4998
But my uglify version is 3.

webpackJsonp is not defined usually mean you are not loading the javascript bundles in the right order. They must be loaded in the order present in the index.html that the CLI generates.
Can you setup a minimal repro please? You can read here why this is needed. A good way to make a minimal repro is to create a new app via ng new repro-app and adding the minimum possible code to show the problem. Then you can push this repository to github and link it here.

@filipesilva
I meet the same issue after add jquery and bootstrap in webpack.config.js ,
you can see the code here
thank you!

Having the same issue here... building with -aot (dev) works fine. Prod compiles without complaint but when loading the app on the browser, it returns the following errors:
polyfills.900aaf0d520c2ec873a7.bundle.js:1 Uncaught ReferenceError: webpackJsonp is not defined
    at polyfills.900aaf0d520c2ec873a7.bundle.js:1
(anonymous) @ polyfills.900aaf0d520c2ec873a7.bundle.js:1
vendor.b3b1073e85b443c9b6c3.bundle.js:1 Uncaught ReferenceError: webpackJsonp is not defined
    at vendor.b3b1073e85b443c9b6c3.bundle.js:1
(anonymous) @ vendor.b3b1073e85b443c9b6c3.bundle.js:1
main.dfb485d3367f26ac4251.bundle.js:1 Uncaught ReferenceError: webpackJsonp is not defined
    at main.dfb485d3367f26ac4251.bundle.js:1
(anonymous) @ main.dfb485d3367f26ac4251.bundle.js:1

I have same issue only on IE 11

Same issue here.

Same issue here, ng serve works fine, but ng build to deploy the app in bluemix is not working properly

Same issue. Local build works fine loading both the localhost:4200 and localhost:4200/[viewcomponent]. As soon as I push it live, the base url is working but not loading any other page returns Uncaught SyntaxError: Unexpected token < polyfills.900aaf0d520c2ec873a7.bundle.js:1 Uncaught ReferenceError: webpackJsonp is not defined     at polyfills.900aaf0d520c2ec873a7.bundle.js:1 (anonymous) @ polyfills.900aaf0d520c2ec873a7.bundle.js:1 vendor.945e35d73f0e55b0c5f4.bundle.js:1 Uncaught SyntaxError: Unexpected token < main.bd9155fd1f2baada6b7b.bundle.js:1 Uncaught SyntaxError: Unexpected token <

@filipesilva :
Time pass, I was using Workbox in production and then I try again with the release of Angular 5.
I now use Angular 5.1, with Angular CI 1.6 and Angular Service Worker 5.0.
The issue seems to be fix with my use case.
I proceed to a lot of tests in the same conditions than before with previouses versions, and all is working as expected.

@fabienbranchel :
Could you send me a example of your package.json file, please?
Thanks a lot.

@luizptm :
{   "name": "test",   "version": "1.0.0",   "scripts": {     "ng": "ng",     "start": "npm run branchel-modernizr && ng serve --aot",     "build": "ng build",     "test": "ng test",     "lint": "ng lint",     "e2e": "ng e2e",     "compodoc": "./node_modules/.bin/compodoc -p tsconfig.json"   },   "private": true,   "dependencies": {     "@angular/animations": "^5.2.0",     "@angular/cdk": "^5.0.0",     "@angular/common": "^5.2.0",     "@angular/compiler": "^5.2.0",     "@angular/core": "^5.2.0",     "@angular/forms": "^5.2.0",     "@angular/http": "^5.2.0",     "@angular/material": "^5.0.0",     "@angular/platform-browser": "^5.2.0",     "@angular/platform-browser-dynamic": "^5.2.0",     "@angular/router": "^5.2.0",     "@ngx-translate/core": "^8.0.0",     "@ngx-translate/http-loader": "^2.0.0",     "core-js": "^2.4.1",     "rxjs": "^5.5.2",     "zone.js": "^0.8.14"   },   "devDependencies": {     "@angular/cli": "1.6",     "@angular/compiler-cli": "^5.2.0",     "@angular/language-service": "^5.2.0",     "@angular/service-worker": "^5.2.0",     "@compodoc/compodoc": "^1.0.5",     "@types/jasmine": "~2.5.53",     "@types/jasminewd2": "~2.0.2",     "@types/node": "~6.0.60",     "codelyzer": "~4.0.1",     "jasmine-core": "~2.6.2",     "jasmine-spec-reporter": "~4.1.0",     "karma": "~1.7.0",     "karma-chrome-launcher": "~2.1.1",     "karma-cli": "~1.0.1",     "karma-coverage-istanbul-reporter": "^1.2.1",     "karma-jasmine": "~1.1.0",     "karma-jasmine-html-reporter": "^0.2.2",     "protractor": "~5.1.2",     "ts-node": "~3.2.0",     "tslint": "~5.3.2",     "typescript": "^2.6"   } }

Thanks, @fabienbranchel.
I am still having this issue. I changed the angular dependencies to version 5 as above and it not worked.
Could someone help me, please?

@luizptm : have you tried with the exact same versions of all depencies as above ?

Yes, I tried it and nothing happen. It shows the same error.

I had the same problem a while ago, turned out it was a problem with my browser (chrome). I cleaned the cache and then it worked great.

Hi Len0re,
I was using another browser (Maxthon) and I tried now on Chrome for the first time and I received the same error.
The first generated file that was showed was style.ac1cb6d1ddd09746eac0.js.
Thanks for your help.

I had the same kind of error in production only, on a NodeJS server...
Turns out I just forgot to restart the server !

Could you be more specific? How ca I do this?
Thanks for helping.

I'm getting the same problem showing up when I put a CDN in front of express...goes away when I invalidate the cache.  Any reason this would pop up with the way a CDN stores/ distributes the files?

Getting the same problem only sometimes though when loading production build in browser.

looks like this is the same issue. It happens after I bundled my Angular app using browsserify and embedded it on page where webpackJsonp was already added.
Is there any way I can conditionally remove it from execution?

Closing as no reproduction was provided.
If the problem persists, please open a new issue following our submission guidelines.
A good way to make a minimal repro is to create a new app via ng new repro-app and adding the minimum possible code to show the problem. Then you can push this repository to github and link it here.

@filipesilva
I am also getting this error in Prerenderer.RenderToString

new JavaScriptModuleExport(
request.HttpContext.RequestServices.GetRequiredService().ContentRootPath + "/ClientApp/dist/main.bundle")

and getting error NodeInvocationException: Prerendering failed because of error: ReferenceError: webpackJsonp is not defined in main.bundle.js file


Update installation docs with redeployment lessons learned.

Probably, prevention being preferable to cure.

Actually it's already there:
https://github.com/lsst-sqre/phalanx/blob/651417ed1b3f3b962dec6f736ff5ea7b55063782/docs/admin/requirements.rst?plain=1#L52


Search doesn't appear to look inside of codefences

What You Are Seeing?
Someone mentioned having issues upgrading in discord, so I tried to find the document regarding fixing The registered delegate for type IEnumerable<ICommand> threw an exception. by searching for terms delegate and then ienumerable. The correct result did not appear at all.
What is Expected?
https://docs.chocolatey.org/en-us/licensed-extension/compatibility#troubleshooting is found as it contains a codefence with that error in it.
How Did You Get This To Happen? (Steps to Reproduce)
See above.

This might be of use: https://discourse.algolia.com/t/experience-and-advice-for-dealing-with-indexing-of-code-in-software-documentation/8307


Fix reporting errors when handling events

Change the event system to use container spawn and make sure that
any rejected message is reported to container error hook.

+1


Failed to extract version when parsing asset //datastores/inference/paths... of type codes as arm id. Version must be provided

I'm encountering an issue with the ModelBatchDeployment class, specifically when using the parameter of type CodeConfiguration and providing a path from a datastore. The error I'm facing indicates that a version must be provided.
If I provide a local path it works perfectly, and also, I am providing datastore path in others parameters as the model and works as well.
Thanks in advance!

Hi @sjLeonGalan, can you provide some further details around the package being used, some code that can reproduce the issue, python version etc. so that I can assign to the right folks to help you out.
Thanks


Convert createArray and createObject function calls to array and object literals, respectively.

This PR adds support for dynamically created arrays and objects to the decompiler. Previously, createArray and createObject function calls would be preserved as function expressions in decompiler-generated bicep, which resulted in an invalid template.
Fixes #5621
Microsoft Reviewers: Open in CodeFlow

Thanks for doing createObject also!


Monaco editor has removed viewModel in the latest version

Now there seems to be no way to get the line count including line wraps.
Before we had editor.viewModel.getLineCount()
Is there any plan to add this feature in the future? Why was it removed?
Calculating it on our end is very hard, as we need to take into account the font size, font family, and size of the editor.

You can still access it from editor._modelData.viewModel.


Do not error out on serv bind deactivation if no sbox is found

If the nw sbox is not there, then there is nothing to deactivate.
This will silence unnecessary error/warning logs which divert the attention from the problem root cause

all green \o/


Cassandra integration with Schema Support

@tweise please review and merge

@ishark Can you please review this

This has been merged so closing it.


ERROR: inviteByName is not defined

Issue Summary
Then i try to add new team member, by sending email invite:
ReferenceError: inviteByName is not defined
   at eval (lodash.templateSources[16]:17:10)
   at /var/www/site/www/core/server/mail/utils.js:30:27
   at tryCatcher (/var/www/site/www/node_modules/bluebird/js/release/util.js:16:23)
   at Promise._settlePromiseFromHandler (/var/www/site/www/node_modules/bluebird/js/release/promise.js:512:31)
   at Promise._settlePromise (/var/www/site/www/node_modules/bluebird/js/release/promise.js:569:18)
   at Promise._settlePromise0 (/var/www/site/www/node_modules/bluebird/js/release/promise.js:614:10)
   at Promise._settlePromises (/var/www/site/www/node_modules/bluebird/js/release/promise.js:693:18)
   at Promise._fulfill (/var/www/omgubuntujs/www/node_modules/bluebird/js/release/promise.js:638:18)
   at /var/www/site/www/node_modules/bluebird/js/release/nodeback.js:42:21
   at tryToString (fs.js:456:3)
   at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:443:12)

Steps to Reproduce

Open team page
Click on "Invite people" button
Add email adress
Click on "send invitarion now" button

Technical details:

Ghost Version: 0.11.8
Node Version: 6.10.2
Browser/OS: Chrome/Linux
Database: sqlite3

Hey @hichnicksemen 👋 Sorry to hear you are having trouble.
This error only happens if the target email template (core/server/mail/templates/invite-user.html) does not contain the variable invitedByName. But it does on 0.11.8.
Did you update your blog to a 0.11.8 lately? I assume that something went wrong when upgrading to a newer version?

Hey @kirrg001 thanks for reply!
I made fresh install of ghost v. 0.11.8 and i checked core/server/mail/templates/invite-user.html it contain the invitedByName variable.

Thanks for your fast reply. This error only happens if either the template has a missing variable (which is not the case) or a template variable is not forwarded at all.
Could you please swing by our slack channel?
We can leave the issue open for now and update it with relevant information.

@hichnicksemen I'm closing this issue for now. We can re-open as soon as figure out if it's a bug or related to your setup. Come say hello on slack 🙃


Two Isssues

Describe the bug
Daily match results are no longer reflected in my profile since 6/20.
And Pro.Tracker started to do strange recordings.
Please refer to Screenshot.

To Reproduce
Nothing special.

Also, do you have tracker updated to latest version?

I see the same issues, 2:2-recordings when a match ended 2:1 and the weird "Was first"-Icon.
Here's my profile: https://mtgarena.pro/u/Mianthril

I see it's connected to bo3 issue, we will investigate

Update: patch for incorrect matches scores applied, checking if it's consistently fixed.
Missing icons are fixed.

I can see from the database that issue is resolved.


Cmdlet for Get-Sessions

Summary of the new feature / enhancement
Much like the capabilities of qwinsta.exe, quser, it would be benifical to have cmdlets to get all the sessions on the machine. The issue with qwinsta/quser is that the output is not parsable as its in a string format. An object format would be easy to filter
Proposed technical implementation details (optional)
No response

If this is going to be feasible it will need to be something that works across Windows Linux & MacOS & as such wouldn't just be limited to how qwinsta works
Have you searched in the PowerShellGallery for any community modules that do this of which from this search  I found a few already published to the Gallery
There is also this Stack Overflow answer that points to other possible ways that you can work around this for windows for now

On Windows: Get-CimInstance win32_session | Get-CimAssociatedInstance -ResultClassName win32_userAccount
Not about the feasibility of a cross platform one. Can't speak for the other members of the WG, but my take would be this can come from the community without adding a cmdlet for it.

@jhoneill your command gives me odd output and not the info that quser gives.
@kilasuit Pretty much all of the community solutions i've seen were using some form of regex to parse stuff and had edge cases where the parsing is incorrect which made it less robust. I am looking for a more native approach

@blackops786187 - I didn't close it because I understood your ask, though was giving you potential options that may work for now because what you are asking by a Get-Sessions cmdlet is in my mind not fleshed out enough. Does it need RDP sessions, SSH, WinRM or other sessions. All of these points were missed in your Feature request and are ones that I would want if there was a generic get-sessions cmdlet bundled in with PowerShell. Also please bear in mind what you are asking for with the info provided is in my view unlikely to be taken on by the PowerShell team due to there being some community solutions out there, which if there are issues with then these should have issues raised to them as they may be able to fix them quicker and then you can use them without fear of them being brittle. Also I'm a big believer that the community is needed to provide these solutions too especially as every other programming/scripting language uses community tooling somewhere, as does just about every OS too, even those used in locked down secure environments

The cmdlet WG has discussed this. Tools like quser.exe target operating system-specific features that do not translate easily to other operating systems. That's why PowerShell supports both cmdlets and native commands (for example, Stop/Restart-Computer for generic cross-platform functionality and shutdown.exe covering operating-system specific extra functionality). Applications by nature return unstructured text which can be a disadvantage compared to cmdlets. To overcome, you can either use PowerShell's text-parsing features (i.e. (quser).TrimStart('>') -replace '\s{2,}', ',' | ConvertFrom-Csv), or use object-oriented .NET API calls in the first place, then incorporate this into your own cmdlets and modules. We believe the requested functionality should not be part of the standard set of cmdlets that ship with PowerShell but encourage you and other community members to implement and share functions like this via the PowerShell Gallery.


OSFS JSON to FTP CSV fails & OSFS JSON to OSFS CSV too . Implies JSON to CSV fails

the route is -
['odo.CSV', 'pandas.DataFrame', 'numpy.ndarray', 'list', 'odo.Temp(JSON)', 'odo.Temp(URL(JSON))']
Some observations:
odo({"a":1, "b":2}, list)
['a', 'b']

odo(r'C:\xxxxxx\del1.json', list)
{'a': 1, 'b': 2, 'c': 3}

More observations
json file with [{...}] to csv works
json file with {...} to csv DOES NOT work


Draw a square scanning frame at center

Hi @nisrulz , can lib have an option that can display scanning frame at full screen mode or just a square scanning frame at center ?

How you design your layout it something you decide. The lib scans everything thats captured by the camera.
Closing as issue is outdated. Please open a new issue if the issue still persists.


pipenv lock -r no longer works

Issue description
I installed Pipenv 2022.8.14
we run pipenv lock -r > requirements.txt to generate output of the lockfile as per the documentation.
Expected result
We expect the creation of requirements.txt file with dependencies information.
Actual result
Error: No such option: -r

I see that it's replaced by pipenv requirements > requirements.txt but in this section of the documentation, it says it's working . I think it should be removed from the documentation.

Maybe the error message could state something like "replaced/deprecated by pipenv requirements"


Optionally disable the 'next' control button

Relates to issue: https://github.com/leecade/react-native-swiper/issues/530
If something is off or I missed anything  just let me know, thanks!

I have tested this, by the way, it works nicely!

Thanks @SSTPIERRE2
I'll take a look on monday if no one has done it yet.
If you want to do it faster, you could create a quick example with the list to test your new feature.

Hehe thank you very much!

@arribbar Quick question does this change make it into master right away? Or is there maybe a release schedule that this gets added to?

A new release will be made today.

That's so cool, I figured by looking at the branches. Really well organized project!

I using version 1.5.12, but it not working

@arribbar I tried installing the latest version but I don't seem to see my change, am I missing something? Thanks!

@arribbar @leecade  should I just fork the project and make my change? I don't see it having made it to master. Thanks!

Weird, I might have made a mistake. I'll publish a new version on Monday
Sorry...

@arribbar Hey no problem, thanks for your time! Much appreciated.

How about disable prev button ?

@HoangTran1601 I just created a new pull request (#749)  to disable prev button


[darknet] Fix static build

Cherry-pick @cenit 's fix to build darknet statically.

I propose an update from upstream. I already fixed it there

We can also clean up a little bit the patch set in this way. I can do it in a few minutes

sorry got stuck in meetings&work
just opened it


iOS build failing (cocoapods)

Describe the bug
ios build fails as the build tools cannot find/build the frameworks installed via cocoapods.
To Reproduce
this is restoring a platform after removing the plugins, platforms and node_modules directories.
cordova prepare ios

it looks like it has installed the plugin correctly.
but when it runs the podify.js hook 'after_prepare' it hasn't found any pods to install. if i cd into the xcode project dir and run pod install manually, still cannot find them as the pod file is still empty.

if i run cordova prepare ios a second time, podify.js does find the pods and installs them.

then, when i try to build cordova run ios --noprepare --device --debug it looks like it errors trying to use the dependencies of the dependencies listed in the pod file.

but looking back through the console log...

the linker cannot find any of the frameworks. i checked those paths in 'DerivedData' dir and there is nothing there. interestingly, the path to the xcode project pod dir has a nested '/Pods/' that isn't meant to be there. e.g. /platforms/ios/Pods/Pods/Crashlytics/iOS.
i hope someone can point me in the right direction where it's going wrong. i've been looking at this for a couple of days now and i'm stumped. any help is greatly appreciated.
for android, it works totally fine!
Expected behavior
install plugin and setup/install pod file dependencies after the first time run cordova prepare ios, so ios app builds successfully.
Plugin Version
cordova-plugin-firebasex 3.0.8 "Google Firebase Plugin"
other stuff:
xcode 10.1
cordova 8.0 & 9.0
cordova-ios 4.3.1
node 8.12.0
npm 6.4.1

I suggest cloning and trying to build this example project.
It builds and runs fine in my (and other dev's) environments so you should be able to use it to validate your build environment. If that works OK, then it's likely to be something specific in your other project causing the issue e.g. a conflict with another plugin.

i tried building your example project, but it failed to build through the cli for some reason - unrelated to this issue though. it did build in xcode, and so does my project, as it turns out.
since we were using an old version of cordova-ios, i figured i'd try out the latest version of it (5.0.1). using the latest version works. not sure if anyone else has had success building with cordova-ios 4.3.1? is anyone even using that version anymore? we still need ios 8 support, unfortunately. so we can't update to the latest version just yet.
looks like the plugin is all good!
i just want to say thanks for replying and for maintaining this plugin. it really helped us out getting our android build working again 👍

There is an outstanding issue with building iOS from the CLI: https://github.com/dpa99c/cordova-plugin-firebase/issues/22
I hope to be able to resolve it while retaining the ability to support user-overridable versions for the Firebase SDK component version on iOS.


trivial - reduce log spamming about artifact-repositories

I see this message printed in my argo-workflows-workflow-controller pod logs about 15 times every hour:
time="2022-06-30T11:03:40.245Z" level=warning msg="Non-transient error: configmaps \"artifact-repositories\" not found"
perhaps controller can change to only look for the configmap on startup of the pod?
argo version is 3.3.8
https://github.com/argoproj/argo-workflows/blob/v3.4.7/workflow/artifactrepositories/artifactrepositories.go#L89

@dpadhiar can you take a look?

@sarabala1979 I think this is low impact and therefore low priority. I don't think it is a bug either, tech debt.

For other transient errors (not related to artifact-repositories configmap), this info is useful for users to know what is being retried so I am not sure if we want to make it debug level.

For other transient errors (not related to artifact-repositories configmap), this info is useful for users to know what is being retried so I am not sure if we want to make it debug level.

In that case, we can leave as is and come to another solution if necessary.

not sure why but in v3.4.8 this line is being printed every few seconds!

Could it make sense that the IsTransient function does not log non-transient errors? Given that transient errors yield retries, it seems reasonable to try again. However, a non-transient error doesn't warrant retrying. If so, it could let the caller propagate the error properly further up in the stack by silently proceeding.
Either way, I believe it makes sense to keep the logging for the transient errors, @terrytangyuan. It seems that this issue is specifically for the non-transient issue of "damn, there's no config map! oh well, default it is!".
Would a PR making transient errors silent be welcome, @alexec?
Alternatively, there could be a separate IsTransient that's silent.

This is the only case so I am fine with even hard-coding it to silence this specific error

@terrytangyuan I've submitted #13516, let me know if you'd like it simpler than that.


PDF direct link to Kyoto University Research Information Repository (KURENAI) changed

Due to the availability of the version of record, the URL has been changed as follows:
Old URL: https://repository.kulib.kyoto-u.ac.jp/dspace/bitstream/2433/269148/1/5.0083209_AM.pdf
New URL: https://repository.kulib.kyoto-u.ac.jp/dspace/bitstream/2433/269148/1/5.0083209.pdf

See https://github.com/YIsoda/yosuke-isoda.com/pull/31


Other scripting language projects in Rust

https://github.com/murarth/ketos

https://github.com/jonathandturner/rhai
https://github.com/fitzgen/oxischeme
https://github.com/TyOverby/ares
https://github.com/TyOverby/ares-2


Add warning if there is no TEST_APPS folder

Print warning if current folder does not contain TEST_APPS folder. Fix for https://github.com/ARMmbed/mbed-os/issues/8120

This is definitely odd, but I don't see any issues with it.


merge from template-sync/template-arlac77-github

package.json

chore(scripts): add tsc --allowJs --declaration --emitDeclarationOnly --declarationDir types --resolveJsonModule --target es2024 --lib es2024 --lib dom -m esnext --module nodenext --moduleResolution nodenext --rootDir src ./src**/.mjs (scripts.prepare:typescript)
chore(scripts): add tsc --allowJs --checkJs --noEmit --resolveJsonModule --target es2024 --lib es2024 --lib dom -m esnext --module nodenext --moduleResolution nodenext ./src**/.mjs (scripts.lint:typescript)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>8
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>7:
0.0%

Covered Lines:
96

Relevant Lines:
96

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>8
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>7:
0.0%

Covered Lines:
96

Relevant Lines:
96

💛  - Coveralls


Auto slim enhance

Type of Change
Documentations & bugfix
Description
Fix error links for auto slim examples.
Add a supplemental function to exclude final linear layer automatically.
Expected Behavior & Potential Risk
User can use auto slim feature more easily.
How has this PR been tested?
PreCI, unit tests.
Dependency Change?
None

Will validate its functionality on Whisper and Bloom later.

Will validate its functionality on Whisper and Bloom later.

Solved, current auto slim can locate ffn2 in Whispers and Blooms


cannot set client_id & client_secret in calls to OAuth2::authenticate()

For a grant_type='password', I don't see a way to pass a client_id and client_secret, alongside username and password, per RFC 6749 section 2.3.1. This is preventing me from interfacing with a node-oauth2-server, because an Authorization header is not being sent, or no client_id/client_secret fields in the JSON payload.
Note that the GooglePlus Authenticator in examples/7-multiple-external-providers.html has to provide these fields, but if I'm not mistaken this support is needed for all back-ends, and a GooglePlus specific authenticator should not have been necessary.

client_id and client_secret don't add any additional security for public clients (which Ember apps are) as they cannot be trusted to actually identify the client on the server side (once you deploy your app,client_id and client_secret are publicly available in the app's source) and especially using client_secret gives a false sense of security (even worse if the client_secret is used in a public client that secret must never be used anywhere else again as it's publicly accessible in the app's source - see above).
However, if you really want to/have to use client_id and client_secret you can easily extend the default OAuth 2.0 authenticator and override the makeRequest method to add these values, as described e.g. here.

The fields are designated as mandatory in the RFC. So it is about interoperability.

That part of the spec just makes no sense for public clients.
We had endless discussions around this topic and the solution is to make it easy to add if people want it (as described above) but don't implement it in the library.


Selection is changed when using Find and Replace panel

When using the Find and Replace panel, the Selection is changed without user intervention.
This is a bug of high importance (for any editor) because you cannot trust the result of the replacement.
For example, if you have the "misake" text in the file several times and you are trying to fix it, you cannot trust the result after using Replace, that it actually replaced all the results you requested. Because there may be a situation where the selection that the user has made does not match the one used by the Find panel (after some operations, even though the selection has not changed by user).

VSCode Version: 1.36.0
Commit: 0f3794b38477eea13fb47fbe15a42798e6129338
Date: 2019-07-03T13:20:56.241Z
Electron: 4.2.5
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Linux x64 5.1.16-200.fc29.x86_64

Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:

Start VSCode without extensions code --disable-extensions, open new file and paste this code:

aaa aaa aaa aaa
bbb aaa aaa bbb
aaa aaa ccc ddd

Select entire second line bbb aaa aaa bbb including line break (the cursor should be in front of the first character of the third line).
Open Find panel CTRL+F.
Type aaa
Turn off "Find in selection"
Turn on "Find in selection"

Bug: Selection for replacement was changed without user intervention.
Any use of Find Panel should not change the original selection. The standard expectation is that the Find panel finds two occurrences of the string "aaa" (in line 2) but the active selection has changed to the first text "aaa" on line #3 if you would now start the replacement, only first occurrence of "aaa" on last line would be replaced and not what you expect (that is, all occurrences in the last selection entered by user)
The proposed behavior is described in https://github.com/microsoft/vscode/issues/76856 request.

It's arguable whether the current behavior is as expected as in the steps, we intentionally turn on and off Find in selection. When Find in selection is turned off the first time, the cursor selection is updated based on the search result of find widget: it's changed to the first aaa of the second line.
However when turning off editor.find.cursorMoveOnType, the selection will not be updated when toggling Find in selection.


Workaround embedded null character

Workaround embedded null characters in strings.  This fixes #17.

Good stuff, thanks.

Are you going to update basic pip installation to include this workaround?

@HWiese1980 yes. I'll release a new version in a couple of hours.

Did I say "few hours"? I meant "I'll forget about it and remember it later" :) releasing now.


every codesandbox example is something wrong..

Describe the bug
do Authenticate plz

Your minimal, reproducible example
..
Steps to reproduce

click 'Open in CodeSandbox' button on website

Expected behavior
I just wanna see the code samples
How often does this bug happen?
No response
Screenshots or Videos
No response
Platform
macOS
react-table version
7.8
TypeScript version
4.72
Additional context
No response
Terms & Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.

all the examples on the v7 site are fine. This is probably a problem with you not being signed into github correctly. Try re-signing into code sandbox or opening the docs in an incognito window.


Spec reporter issue with cursor.CR()

I would like to have an option to disable cursor.CR() somehow.
Otherwise terminals that don't support it (like writing to file, piping, etc.) look like the following mess:
https://travis-ci.org/AlexeyKupershtokh/node-v8-clone/jobs/3843420#L147

This should only happen if the process is a tty https://github.com/mochajs/mocha/blob/630156d35a19bf5dfe722899084c3f7edaee764a/lib/reporters/base.js#L34


Epic: State queries

Contributes to #10 #11.
Steps:

#20
Inspector integration: Jump to previous/next change
Series explorer

At some point, optimization will be needed in order to only trigger changes to the UI when there was actually a change in a historic value.

[dump] Inefficient query for jumping to the first occurrence of a NewBalloonMorph in the world after recording the (see #18):
self doStep:
	[self cursor timeIndex:
		((1 to: self cursor maxTimeIndex)
			findBinaryFirstIndex: [:time |
				((self cursor rootTrace object: World atTime: time)
					findA: NewBalloonMorph)
						notNil]
			ifNone: [self error: 'not found'])]


Errors in inference on my table

Hello,
I want to know why this error happened? Is this because the table data format or the missing data in table ?
Traceback (most recent call last):
File "my_test.py", line 91, in
code, ret_v = infer("how much dollar signed in 2021?")
File "my_test.py", line 86, in infer
output = inferer._infer_one(model, data_item, preproc_data, beam_size=1, use_heuristic=True)
File "/Users/Documents/gap-text2sql-main/rat-local-version/seq2struct/commands/infer.py", line 97, in _infer_one
model, data_item, preproc_item, beam_size=beam_size, max_steps=1000, from_cond=False)
File "/Users/Documents/gap-text2sql-main/rat-local-version/seq2struct/models/spider/spider_beam_search.py", line 21, in beam_search_with_heuristics
inference_state, next_choices = model.begin_inference(orig_item, preproc_item)
File "/Users/Documents/gap-text2sql-main/rat-local-version/seq2struct/models/enc_dec.py", line 133, in begin_inference
enc_state, = self.encoder([enc_input])
File "/Users/anaconda3/envs/chat/lib/python3.6/site-packages/torch/nn/modules/module.py", line 550, in call
result = self.forward(*input, **kwargs)
File "/Users/Documents/gap-text2sql-main/rat-local-version/seq2struct/models/spider/spider_enc.py", line 1416, in forward
padded_token_lists, att_mask_lists, tok_type_lists = self.pad_sequence_for_bert_batch(batch_token_lists)
File "/Users/Documents/gap-text2sql-main/rat-local-version/seq2struct/models/spider/spider_enc.py", line 1556, in pad_sequence_for_bert_batch
max_len = max([len(it) for it in tokens_lists])
ValueError: max() arg is an empty sequence

Have you checkout the notebook here https://github.com/awslabs/gap-text2sql/blob/main/rat-sql-gap/notebook.ipynb ?
If you can provide more details on the implementation of your my_test.py, it would be more helpful.


When opening new data tabs they all have the same default name

Desired Behaviour (for feature requests only)
Suggestion only - Give each new tab a unique name e.g. Untitled.csv then Untitled2.csv then Untitled3.csv by default
This is to avoid errors and possible confusion later on.
Current Behaviour
Each time a new tab is opened it is given the same name "Untitled.csv" by default.
Steps to Reproduce
Applies to all 3 methods of opening a new data tab

Select File > Select new
or 2. Press Ctrl + N
or 3. Click on the + next to the open tabs

Your Environment
Data Curator version 0.2.3
Windows 7

Thanks for the suggestion @albreez
I think it's a good idea. I've already dropped the file extension from the tab name https://github.com/ODIQueensland/data-curator/commit/8f21ef044aa637cdc97b12df98ba79d9688af9a6
I'll add the idea to the feature for future implementation

Fixed in release 0.3.0 for macOS

Fixed for Windows in release 0.3.0


demo pleese

thanks for this

ok. we will working on it, will update demo soon.

you can check our demo on http://dharmeshpipariya.github.io/md2-datepicker/
it is not updated, will update soon.


DAC testing

[x] check all pwms
[x] check all DACs
[x] check all TEC outputs
[x] check that all pwm limits actually limit

All channels checked and working.


[SPARK-44984][PYTHON][CONNECT] Remove _get_alias from DataFrame

What changes were proposed in this pull request?
Remove _get_alias from DataFrame
Why are the changes needed?
_get_alias was added in the initial PR, but seems unneeded

field alias in plan.Project is always None;
_get_alias takes no parameter, but is used to replace a specify column name, the logic is weird when the column name varies;

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

cc @grundprinzip @HyukjinKwon

merged to master


⚠ Bofrost.de has degraded performance

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

HTTP code: 200
Response time: 1706 ms

Resolved: Bofrost.de performance has improved in db33bda.


Fix closing the dropdown menu after clicking the country-selector

What has been done

Fixed  dropdown closing by clicking on the selector button
Removed the useOnClickOutside hook
Removed raw calls of userEvent in tests

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Db mutex

disclaimer: the only code change is in bosh_scan.go, adding a mutex.

In the future please run gofmt in a separate commit


Add ability to carry over open items from yesterday to today

Need to think this issue out...could be very fragile.
What if there is no yesterday?
What if they want the failed things?
What if they want to combine it with a template?
All very important questions!

Went with adding notes to the first section, and continuing as it normally would if there is no yesterday.
Failed things will also come along, all things that are !== "complete"
No idea what i meant by "combine it with a template" ...


Small cleanup Bazel build system

Hello !
I was exploring Bazel build system and noticed several insignificant select constructions.
Let me know if you need them for anything.\
My goal is to make project cleaner!

These are intentional. The code you see on GitHub is the result of exporting Abseil from our internal codebase. Prior to export some of our internal selects are removed, resulting in the empty select. These need to remain.


SVGView views should return an intrinsic content size and use height/width attributes

SVGView views currently don't have an intrinsic content size.
Furthermore SVGView (SVGParser) doesn't evaluate the [width](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/width and height attributes of the SVG root element at all - those attributes could be used for the intrinsic content size.
Providing an intrinsic content size for the SVGView would allow a proper auto layout handling depending on the content and would provide a similar behavior to UIImageView.

Thanks for reporting! We're going to make some work related to SVG parser in this milestone. Will take a look at this issue as well.

https://github.com/exyte/Macaw/pull/128

Hello, I created a PR for this: https://github.com/exyte/Macaw/pull/139
Would be great if it can be merged. Thanks!

Tagging @ystrot. Thanks!

Closing this issue, because content layout supported now and available in the release version.


Use file extension from content disposition header instead of giving up

Currently, when a source file's content-disposition response header has a file extension that disagrees with the content-type response header we give up and use .txt, which causes confusion later in the download/conform pipeline.
Instead of giving up, this switches to use the file extension calculated from the content-type.
This is meant to handle the errors seen in https://github.com/openaddresses/openaddresses/pull/6925

In the linked PR, the content-type header gave us .json and the content-disposition header gave us .geojson. They diagreed, but resolve to essentially the same thing.


Timeseries.setPoint should also set the startTime

https://github.com/bogdandrutu/opencensus-java/blob/master/api/src/main/java/io/opencensus/metrics/export/TimeSeries.java#L96

I think only cumulative metrics have start time, and per proto definition:
  // Must be present for cumulative metrics. The time when the cumulative value
  // was reset to zero. Exclusive. The cumulative value is over the time interval
  // (start_timestamp, timestamp]. If not specified, the backend can use the
  // previous recorded value.
  google.protobuf.Timestamp start_timestamp = 1;

It seems start time is the time when aggregation begins. So you're suggesting Timeseries.setPoint resets the cumulative metrics?

"SetPoint" is a helper function to skip validation of the label values. If the initial Timeseries had a startTime that should be preserved.


fix: fix parse diff logic

Coverage report
 Click to see coverage of changed files
FileStatementsMissingCoverageCoverage(new stmts)Lines missing

  codecov
  coverage.py242, 263-293
  main.py73

Project Total

This report was generated by [CI-codecov]


Markdown tables not being converted

Tables doesn't get converted.
Is there any way to turn on and off these options for markdown/showdown?

Hi @guzzd,
This web part uses showdown JS (https://github.com/showdownjs/) to render the markdown. I checked in the showdown documentation, and to support tables we need to add a specific option (see doc about tables here: https://github.com/showdownjs/showdown/wiki/Showdown's-Markdown-syntax).
Today, the web part does not use this option. I will add it the next release.
Thanks you for this bug report, regards,
Olivier

Hi @guzzd,
I can confirm that the next version of the package will contain the fix. If you are using the prepackaged file, I will pushing it very soon. If you are using the code version directly, you can get the fix here (line 116): https://github.com/OlivierCC/spfx-40-fantastics/blob/master/src/webparts/markdown/MarkdownWebPart.ts
Olivier

Excellent, thanks for that!


Add more options to Intensivregister.py

You can now get  the occupancy rate for emegency beds by Landkreis and Stadt. It's also possible to use a "area-example.json" file to  print out  data from multiple locations. Intensivregister uses Amtliche-Gemeinde-Schlüssel as an ID, so I had to add a dict for them as well.

Closed because I didn't see you updated your version. Going to refactor so there won't be any merge conflicts.

Closed because I didn't see you updated your version. Going to refactor so there won't be any merge conflicts.


Adds license header

This PR adds the license header
Please @FPerezP could you review? Thanks

Looks good!


support for elastic beanstalk

Please consider support for exporting elastic beanstalk configurations. Very useful tool, thank you.

+1

+1

+1

+1

+1

+1

+1

Specifically trying to use this for Beanstalks. Tool looks promising but not for my current project/use-case.

Is this something that's at least being considered? First post was ... 1.5 years ago. :)

+1 please

+1


Update amazon-kinesis-producer to 0.15.6

About this PR
📦 Updates com.amazonaws:amazon-kinesis-producer from 0.15.5 to 0.15.6
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.amazonaws", artifactId = "amazon-kinesis-producer" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.amazonaws", artifactId = "amazon-kinesis-producer" }
}]

labels: library-update, early-semver-minor, semver-spec-patch, commit-count:1

Superseded by #482.


Blank page after revisiting the demo

First encountered by @tchmnn.

This occured since the CONTENT_API_SLUG was added in the current version of the starterkit.
The following note has been added to the README already:

⚠ Don't change the CONTENT_API_SLUG once you deployed your app publicly and thus a service worker is installed on clients. Otherwise fetch requests will fail and a blank page will show until the new service worker is activated, which then is only possible by closing the tab/PWA.


Upgrade Armory to version 0.93.3

You need to update the SHA256, not delete it.
You also need to update the commit message to include the name of the cask your updating.

Ok. I updated it to include the sha256. I was under the impression the system automatically put it in (was what I was told for brew).

Thank you for the contribution. It needed some fixes, so they were made in 0dfe88e8f8923e5a5e1fb1cdea2617182d162f60. Your contribution is still included (and still credited to you), with the appropriate modifications. Please feel free to ask about any of the changes.


support POST /data_compliance/deletion/invitees

As of May 2021, following api hasn't been released.
After it will be released, this library plan to support it.
ENDPOINT
POST /data_compliance/deletion/invitees
https://calendly.stoplight.io/docs/api-docs/reference/calendly-api/openapi.yaml/paths/~1data_compliance~1deletion~1invitees/post

I realized that the API page was changed the following.
I'm thinking about supporting it.
https://developer.calendly.com/api-docs/b3A6Nzc0NTc3Mg-delete-invitee-data

This endpoint requires an Enterprise subscription.

I have released it as version 0.10.0.
Like This:
client = Calendly::Client.new 'YOUR_TOKEN'
client.delete_invitee_data<EMAIL_ADDRESS>