Version 1.1.1 is broken on chef 11/opsworks

Version 1.1.1 is broken on chef 11. It is related to the line https://github.com/awslabs/awscli-cookbook/blob/master/metadata.rb#L8
Check out this issue: https://github.com/parallels-cookbooks/cookbook-logstash-forwarder/issues/3

Exact error message is:
[2015-09-11T13:27:54+00:00] ERROR: Could not read /opt/aws/opsworks/current/merged-cookbooks/awscli into a Chef object: undefined method `source_url' for #<Chef::Cookbook::Metadata:0x007fd5bbdc09b8>
[2015-09-11T13:27:54+00:00] ERROR: #<NoMethodError: undefined method `to_hash' for nil:NilClass>

Sorry about the delay. I uploaded 1.1.2 which should fix this issue.

Closing per nickryand@'s comment above.


Activity not getting displayed on emulator

Activity sent by bot service isn't showing up on emulator (4.12/ 4.13) on my machine. Am able to log into bot.

@barnabaskim95, can you elaborate more on what you are trying to do? If you can follow the below bug template and add all the details, it would be really helpful:
Version
What version of the Emulator are you using.
Describe the bug
Give a clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
Give a clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
[bug]

Closing the issue. Please feel free to reopen if the issue persists.


In Firefox the cart icon is too small

In Firefox:

in Chrome:

The red box around the cart icon should be the same size in Firefox as in Chrome

verified in firefox, safari, opera, chrome on mac
need to check windows


update hyprland specs to 0.42.0

especially with 0.42 being the first release not depending on wlroots anymore this seems fitting

thank you for this awesome website!


Create Project “wherewego-landing-page”

Automatically generated by Netlify CMS

👷 Deploy Preview for ninahorne processing.
🔨 Explore the source changes: be03efcb35699f78a0217849076bd3a0e89ff606
🔍 Inspect the deploy log: https://app.netlify.com/sites/ninahorne/deploys/615b917b042a5800087c30d9


Update with small changes

Increase clarity, fix small typos

Given https://github.com/opendevstack/ods-documentation/issues/42, I'd say we hold off on this. But thanks for the changes - I will merge them into the docs after the revamp.

Done in https://github.com/opendevstack/ods-core/commit/fafd5c2f47f9859234e81ecb4bc063b727e96b47.


Won't download R-18 images

Prerequisites

[ ] Did you read FAQ section?
[ ] Did you test with the latest releases or commit ?

Description
[Description of the bug or feature]
Steps to Reproduce

[First Step]
[Second Step]
[and so on...]

Expected behavior: [What you expected to happen]
Actual behavior: [What actually happened]
Versions
You can get this information from executing PixivUtil2.py --help.

I am trying to download by tag however it will not get all the images from what I can tell is skips images with the red R-18 tag (notably it will get images with the #R-18 tag)

This also occurs when downloading by member id but it will get the gallery if directory downloaded by the id number

Apologizes I use another account for the downloader which I haven't logged into for a while it appears that the hide R-18 was on my bad sorry.


introduce enumerator

This pull request introduce Tinybucket::Enumerator to be enumerable each resources.
At v0.1.7
At v0.1.7, user can only each method like this.
bucket = Tinybucket.new(oauth_token: 'xxx', oauth_secret: 'xxx')
bucker.repos('my_name').each do |repo|
   # some thind to do with repo
end

It's not converient...
Changes
This pull request introduce Tinybucket::Enumerator which inherit ruby's Enumerator.
Tinybucket::Enumerator contains Tinybucket::Iterator instance which manage Bitbucket REST API call for pagination, insted of Tinybucket::Model::Page.
User can use enumerator feature like this.
bucket = Tinybucket.new

# only with 1 api request
p bucket.repo('hirakiuc').size
=> 5

p bucket.repos('hirakiuc', 'xxx').to_a
=> (showed repositories as array)

merged_prs = bucket.repos('hirakiuc', 'xxx').pull_requests(state: 'MERGED').map(&:title)
=> (pull request's titles array)

p bucker.repos('hirakiuc', 'xxx').size
=> 4 (show counts with only a api request)

I checked this pr by feature test with private bitbucket's sandbox repository.
Enumerator and Iterator which introduced by this pull request are LGTM.


App.resource example please

Hi, could you give example how to use async fn with App.resource?

Any news on this?

I don't personally use .resource in my stuff. Sorry if it doesn't work in that case. Good news is Actix 1.0 natively supports async fn and you can toss this crate when that's out (soon as far as I can tell).

Good news is Actix 1.0 natively supports async fn
Not sure this is correct, no mention of it anywhere

As far as I can see actix 1.0 does not support async/await out of the box.
I am not very well versed with Futures and I am struggling too: if this repo could get updated to the new actix version it would greatly simplify the story for async actix experiments.

As far as I can see actix 1.0 does not support async/await out of the box.

I think the best we can do right now is to wrap the futures like this:
#![feature(async_await, await_macro, futures_api)]

use futures::compat::{Compat, Compat01As03};

// I want to run this future
async fn my_fn_async(_req: HttpRequest) -> Result<HttpResponse, actix_web::Error> {
    Ok(HttpResponse::Ok().finish())
}

// I need to wrap it
fn test(
    req: HttpRequest,
) -> impl futures01::future::Future<Item = HttpResponse, Error = actix_web::Error> {
    Compat::new(Box::pin(my_fn_async(req)))
}

fn main() {
    HttpServer::new(|| {
        App::new()
            .service(web::resource("/test").to_async(test))
    })
    .bind("<IP_ADDRESS>:8080").unwrap()
    .run()
}

You might be interested in this example: https://github.com/actix/examples/pull/132


Remove create_if_missing from declare_resource API

That API got replaced by the better CRUD-like edit_resource/delete_resource/find_resource APIs

I believe I was the only person that ever wrote code that used this flag, although it did publicly ship without a deprecation warning for a few versions and now has a deprecation warning.


implement entity-merge-function

Select two entities and merge theme (via GUI)

remove one of the two selected entities
(re)link all related objects from the deleted to the preserved entity

optionally: allow merge of more then two entities

The TempEntityClass merge_with(entities) function implemented in  https://github.com/acdh-oeaw/apis-core/commit/3145f57e7e433c5a982415e928213e26573990c9 allows to merge the selected object with either one or a list of objects. Preserves the relations and the labels, adds the names of the objects as "legacy name (merge)" labels and the URIs as "legacy URI (merge)" labels.
The function still needs implementation in the GUI though.


Add reference to SSH key generation while configuring private key file for gitops_ssh_key variable

@sarath-p Is the goal here to improve documentation in the cluster deploy instructions?

Is this still a valid issue?

Addressed in #192.


404 Error handling code in python with sample 404 page

Related Issue
404 Error handling code in python with sample 404 page
Closes: #257
Describe the changes you've made
Give a clear description what modifications you have made
Type of change
What sort of change have you made:

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Code style update (formatting, local variables)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Mention any unusual behaviour of your code (Write NA if not)
Any unusual behaviour of your code
Additional Info (optional)
Any additional information you want to give
Checklist:

[x] My code follows the guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly whereever it was hard to understand.
[x] My changes generate no new warnings.
[ ] Any dependent changes have been merged and published in downstream modules.

@adarshvulli i had the code for handling 404 error . don't forgot to change debug = False when testing.
Currently i added a sample 404.html . when rupal's PR got merged She just have to replace this 404.html to her 404.html

hey @arpit456jain I really like the error page though good work 😃
although the color schema is out of order the rest is good! @ankitapuri  this is good to be merged

@adarshvulli this is just a sample page .
Actual page will be added by rupal she is working on it but until her PR merged this will be ok


Metadata requirements

List of requirements:

An output classification
Licensing info
Authors (identified by their ORCiD)
Author contribution (e.g. CRediT author statement), plus any important specifics (e.g. Jo Blogs may be author no 5, but wrote section 2 which forms part of his PhD. Stating that clearly will be helpful for him later when justifying its use in his thesis).
Geographical coverage (country / region)
2/3 sentences description that an FCDO country officer (NOT TECHNICAL) will understand.
Links to dependent/subsequent/associated work
Association with which WS (more than one?)

Pending issues left to be addressed:

What unique identifier should be used for:

Web page (URL?)
Social media drop (URL?)
A picture (e.g. following what needed to be done for Open Learn?)
An 'activity' - i.e. summer school / webinar etc.

Suggestion: Should we create a metadata form to be filled in for each output type?

On the list of metadata:

I'd add also acknowledgments & funding sources
points 2,3,4,5,6 are standard info for published papers (where 6 is the abstract + highlights) and we can make them standard for any upload to ResearchSquare (for written content), Zenodo (for datasets), GitHub (for code), etc. By creating a metadata form like suggested by @AgnesBelt or simply listing in the guidelines what needs to be there
points 1,7,8 are CCG-specific. These would probably have to sit in our CCG research index somehow?

I believe most of these can be satisfied with the metadata representation allowed by Zenodo, even 5. Author contribution is partly covered by the contributor field, although the vocabulary doesn’t match 1:1.  8. is probably trickier to enforce (and could be done in Zenodo through establishing a separate deposit to represent a workstream, and then using related_identifiers to group collected works.)   7. is also covered by the related_identifiers field which allows a relation to be defined such as isReferencedBy or isDerivedFrom or reviews.

One perspective on "web archiving"

Another on social media archiving


add examples:docker easy-container-env-variables

Keep the example easy. Check with me on the telegram.


Set ssl to false.

It allows MITM. Should at least be done as a switch, it is commonly called --no-check-certificate

that's right, I will add a param.


[zserge-webview] Add new port

https://github.com/zserge/webview

The CI builds are passing for all triplets, @myd7349. Let me know whether you're doing any additional testing and I can put this through. Thanks!

@grdowns Sure!

Test it with https://github.com/myd7349/Ongoing-Study/tree/master/cpp/CMake/vcpkg/webview_demo on Widows. Didn't test it on Linux and macOS.


Problem with slug identifier

I am using cviebrock\eloquent-sluggable and I setting my model Route key to slug(Laravel's default ID).
MyAwesomeModel.php
    public function getRouteKeyName()     {         return 'slug';     }
RouteServiceProvider.php
$router->model('event', Event::class);
In my route file I am using
\CRUD::resource('events', 'EventCrudController');
I getting 404 because of CRUD's default ID. Is there any chance to change ID to slug without modifying code?

This question might be best asked at stack overflow (https://stackoverflow.com/search?q=laravel+backpack).
The answer, as far as I can, tell is "no".

@emir , if I understand your question correctly, CRUD does that already. It uses as a primary key whatever you defined on your Eloquent model. So the problem should be somewhere else.
I would never recommend using the slug as a primary key, though. It's a string, so all lookups will be a lot slower. It's a lot more difficult in SQL to search within strings, that it is to search within integers. Just my 2 cents.
Hope it helps. Cheers!


Plate Set: Assay Import - Story 2: Assay Import Graphical Layouts / Formats (single measure)

Rationale
The next step in the Plate Set Assay Import epic is to support more data file formats then just the tall Table format. This means that for an assay import into an assay design with the "plate metadata" property enabled, we will try a second file parsing that looks for graphical/plate layout data matrices in the file that match the expected plate size/type of the plates for the selected plate set. This story only covers the single measure case. We will extend this to multiple measure support / parsing in the future.
Related Pull Requests

https://github.com/LabKey/platform/pull/5214

Changes

only applies when the assay has plate metadata prop enabled
data file parsing based on the plate type/size defined by the plates in the selected plate set
allows for data grids with and without a plate identifier
if any data grids have plate identifiers, only those are processed for import
if no data grids have plate identifiers, verify that the number of grids doesn't exceed the number of plates in the plate set
update PlateUtils to use LinkedHashMap to keep order of data grids when parsing
NOTE: currently only supports numeric data grid values
NOTE: currently only supports single measure data grid parsing

FYI I've observed that some of the error messages for importing data from plates are different from what the tests expect- I can address these when they cause test failures.  Also let's chat about what to cover in selenium tests

FYI I've observed that some of the error messages for importing data from plates are different from what the tests expect- I can address these when they cause test failures. Also let's chat about what to cover in selenium tests

@labkey-chrisj I have a biologics branch created with the fix for those PlateSetTest failures from the error message changes. I'll open a PR after I merge your latest changes to that fb. I'll also ping you to sync on selenium testing for this story.


json data in examples in wrong format

I was wondering why the json objects for the line charts examples are in the wrong format.
Instead of being
json = [
{"key": "Series 1",
"values" :  [{},{},{}.....]
} ];
which is what http://nvd3.org/livecode/index.html#codemirrorNav accepts
you have json  = [
{
"key": "Series 1",
"values": [ [ , ] , [ , ] , [ , ] ]
} ];
I guess the problem is that when I am using the angularjs-nvd3-directives and I pass the json objects in the first format (which is the correct one) it doesn't work.
Thanks

Same error i am  also get is you find any solution then help me,  I am using the angularjs-nvd3-directives and I pass the json objects


fix(android): trying to fix missing LifecycleScope crash by catchin…

…g startPreview

@ThibaultBee tested on my Android with on RN 0.75.3, it crash on my side

A fix has been pushed to main. This branch is no longer needed -> closing.


Issue with importing chainlink and openzeppelin

solc throws an error when brownie compiling.
import function per AdvancedCollectible.sol: (I use the .sol code and .yaml copies from github to rule out typos, but still the same)
import<EMAIL_ADDRESS>import<EMAIL_ADDRESS>
According to the docs brownie should have ensured that all remapped paths are allowed. so there's no need to declare "allow_paths"
INFO: Could not find files for the given pattern(s).
Brownie v1.16.2 - Python development framework for Ethereum

Compiling contracts...
  Solc version: 0.6.6
  Optimizer: Enabled  Runs: 200
  EVM Version: Istanbul
CompilerError: solc returned the following errors:

contracts/AdvancedCollectibles.sol:3:1: ParserError: Source<EMAIL_ADDRESS>not found: File outside of allowed directories.
import<EMAIL_ADDRESS>^-----------------------------------------------------------------------------------^

contracts/AdvancedCollectibles.sol:4:1: ParserError: Source<EMAIL_ADDRESS>not found: File outside of allowed directories.
import<EMAIL_ADDRESS>^-------------------------------------------------------------------------------------------------^

I then tried to use the actual path instead of remaps as suggested from another user on stackexchange  but no luck either.......any ideas?
import<EMAIL_ADDRESS>import<EMAIL_ADDRESS>

What do your dependencies look like in your brownie-config.yaml?

I ran into this issue because chainlink-brownie-contracts is downgraded. So, you can't copy pasta the .yaml as is. You need to use -><EMAIL_ADDRESS>

What do your dependencies look like in your brownie-config.yaml?

depencencies :

<EMAIL_ADDRESS><EMAIL_ADDRESS>compiler:
solc:
remappings:
- '<EMAIL_ADDRESS>- '<EMAIL_ADDRESS>
I'm using windows if that made any difference, I guess solidity hates windows?

Remove the @ sign from your imports:
It should be
import<EMAIL_ADDRESS>
not
import<EMAIL_ADDRESS>
It looks like you added that in by mistake?

Windows should work fine


Swagger.json file missing in stroom

swagger.json appears to be missing (or in the wrong place) in stroom
Fetch error
Not Found https://<an ip address>:443/stroom/noauth/swagger/swagger.json

also not found at http://localhost:8080/stroom/noauth/swagger/swagger.json, so not an nginx issue.

Have just tested this in a locally build stack and it works fine. Will retest in beta.28

This is still an issue in beta.28.  The swagger.json file is missing in the jar file. May be gradle order issue.

Fixed in beta.29


java.lang.UnsupportedOperationException: Implement OTraverseStatement.refersToParent()

OrientDB Version: 3.0.8
Java Version: 11
OS: Mac
Expected behavior
select from V let $type = (traverse * from $parent.$current.children) should work without any error
Actual behavior
orientdb {db=test}> select from V let $type = (traverse * from $parent.$current.children)
Error: com.orientechnologies.orient.enterprise.channel.binary.OResponseProcessingException: Exception during response processing
Error: java.lang.UnsupportedOperationException: Implement OTraverseStatement.refersToParent()

Steps to reproduce
Connect to console or Connect to Studio and try to execute this query
select from V let $type = (traverse * from $parent.$current.children)

Hi @rajgopalv
Thank you for reporting, I'll check it ASAP and let you know
Thanks
Luigi

Hi @rajgopalv
I just pushed a fix for that specific problem, it will be released with v 3.0.9
Please consider that $parent.$current.children is not allowed as a target for a query, you have to do something as follows instead:
select from V let $type = (traverse * from (SELECT expand($parent.$parent.$current.children))

Thanks
Luigi


Vitest port

Hi @Lusito, you didn't have discussions enabled so I'm opening an issue instead.
Just wanted to let you know I made a best-effort port of mockzilla to Vitest as the webextension mocking functionality implemented here is the best I've seen and I wanted to use it with Vite plugins like unplugin-auto-import.
I only modified the code and docs where it was necessary to make it compatible with Vitest, and restructured the project to use a monorepo structure.
I've licensed all of my modifications under the same license as Mockzilla itself and linked to this repo from the top-level README.md, I hope that's enough.
If you have any requests, complaints, issues or nitpicks regarding copyright/licensing/attribution etc. then I'll gladly help resolve them.
Lastly - if there's any piece of code you can think of that's obviously jest-specific (the error reporting functionality comes to mind here, I have yet to test it) it'd be nice to know.
Thanks for making this!
EDIT: forgot to link to the actual project: https://github.com/ohmree/vitezilla

Thanks for the heads up. I don't have much time at hand, so I didn't dive in, but It's always nice to see you work being used.
The only thing worth noting is the voice inside my head, which says code could be shared between the projects, but as my spare time is currently a bit limited, I better ignore that :grinning:.
Anything jest specific is probably easy to spot by the imports with jest in the name.
I'll leave this issue open for now, so others can find your project if they are interested in vitest (personally, I didn't get to try it yet, though I hear good things).
Good luck


Is that will be available for Laravel 8?

I have so many tables and I want quick implementation. When will be supported for version 8? Thanks.

maybe we can use this instead,
https://github.com/kitloong/laravel-migrations-generator


Update enterprise-mode-schema-version-2-guidance.md

Added more details on the release of Windows 10 for which schema v2 applies.
allow-redirect flag is only available starting from RS3 (v 1709)

Maybe it is best to add that warning on the allow-redirect sections (line block 197 - 206).
Please check what is the best place to add the warning, but is important to add this information.
For example:
allow-redirect
A boolean attribute of the <open-in> element that controls the behavior for redirected sites. Setting this attribute to "true" indicates that the site will open in IE11 or Microsoft Edge even if the site is navigated to as part of a HTTP or meta refresh redirection chain. Omitting the attribute is equivalent to "false" (sites in redirect chain will not open in another browser).
This feature is only available for Windows 10 v1709 and higher.

Example

<site url="contoso.com/travel">
  <open-in allow-redirect="true">IE11</open-in>
</site>

In this example, if https://contoso.com/travel is encountered in a redirect chain in Microsoft Edge, it will be opened in Internet Explorer.
Internet Explorer 11 and Microsoft Edge

@lomayor A community contributed PR is available for review. Thanks.

@e0i, can you validate this change with dev/PM? Also, "version 1709 or newer" is better phrasing, but I actually suggest explicitly listing versions known to support this.

@lomayor Thank you very much for the feedback. This is my first contribution to Microsoft Docs. So, I am very receptive to feedback on how to improve.
We (CSS) validated with PG about the allow-redirect option. You can re-check to be sure.
Also can you please check if only the allow-redirect option is available starting from v1709, or if the full v2 schema is supported only on v1709 and newer?
Just to make sure that the live version of this document is clear.

Please refer to commit f5a9f055c70053f755a9fe3407b2780a139ca16d
which adds the "allow-redirect" option to the documentation

PR Noted for validation through PM.

Also please check if the option "allow-redirect" is available for Windows 7 and 8.1. If so, it is best to reference the availability of this option in the "allow-redirect" section rather than in the header of the page (that refers to the full v2 schema)

@e0i and @lomayor any update on this?
Thanks in advance

@andrefboliveira Apologies, The delay is due to a mix-up on notes from my side. Confirming.

Hi @AndreaBarr
This should not have been merged without checking the issues raised in the comment section.
It seems that only the "allow-redirect" is available on Windows 10 versions greater than v1709.
It is not the same for the other tags.
This page needs be revised by the engineering team, to make sure that availability of every tag is clear.
@e0i and @lomayor can you help review the change?
Thanks in advance.

@andrefboliveira The PR contents have been reverted (see https://github.com/MicrosoftDocs/windows-itpro-docs/pull/4684#issuecomment-521043411)

Hi @e0i
Thanks. Now, the wrong information for all tags is fixed.
But can you please add the disclaimer for the allow-redirect tag?
Also check with Dev/PM availability of the other tags.
Please fix the allow-redirect info was son as possible.
allow-redirect seems to be only available for Windows 10 versions greater than v1709 (v1709, v1803 v1809, v1903).
Thanks in advance.

@andrefboliveira The investigation is still in progress. Thank you for your contributions and taking the time to follow-up. Much appreciated.

@e0i any update?

Based on your comment 21 days ago (https://github.com/MicrosoftDocs/windows-itpro-docs/pull/4248#issuecomment-521719161), I suggest opening a new Pull Request to have the confirmed information added where you know it belongs. Of course, if you are still waiting for some or all of the information to be confirmed, feel free to wait for necessary feedback. You could also choose to create more than one PR, separate ones for only the already confirmed information, if some of it is validated already.

@andrefboliveira
There are internal difficulties regarding re-organization that makes escalations for this specific issue difficult. It is likely that the escalations are going to take a longer time.
Thank you for taking the time to invest in fixing this issue.


Bump Twig Version Requirement

Right now I am using the latest version of Twig which at this time is 1.18 with "minimum-stability": "RC", however Expose requires 1.13 and will cause the following error when updating via composer:

Your requirements could not be resolved to an installable set of packages.

Problem 1
- Installation request for enygma/expose 2.2 -> satisfiable by enygma/expose[2.2].
- enygma/expose 2.2 requires twig/twig 1.13.* -> no matching package found.

Potential causes:

A typo in the package name
The package is not available in a stable-enough version according to your minimum-stability setting
see https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion for more details.

I can get by it by doing "twig/twig": "1.18 as 1.13" but that's not ideal in my opinion. I checked the Twig code for Expose and it does not appear to contain anything that could potentially break with this version bump. Can you verify on your end that is the case and please consider bumping it? Thank you.

See if this works :) https://github.com/enygma/expose/releases/tag/2.3

:+1:  works great now, thanks!


Improvements: Visual Definition

Improved visual definition of components in contrast and borders.

📝Changed routes:

/contact
/

(view full size)
(view full size)

/portfolio
/portfolio/project-one

(view full size)
(view full size)

/team
/template

(view full size)
(view full size)

Commit 3aa2192380b35f3e154d3c4af312f0fc6d4806aa (https://react-ventures-git-development.collectedview.vercel.app).


Tidying Up: Fix clippy warnings and run cargo fmt

Lol I was doing it myself. xD
You forgot to run cargo fmt on apply-macros and the examples, and to format the .toml files too

How would you prefer to go about the .toml formatting?
I can sort out the clippy and fmt on appy-macros quickly. Though i'm not sure how to go about .toml formatting. Is there a style guide to follow?

Spaces between curly braces and equals, mostly. Though the easiest is just to format with VSCode using CTRL+SHIFT+I.
If you don't use VSCode I don't know how to do it, but I assume there must be a CLI tool for it which relies on that standard

Yeah I don't use vscode. Let me see what I can do :)

What do you use, Neovim?

Correct, I use Neovim. Prettier has a toml plugin so I could use that?

Thanks a lot!!!


Add example of sharing code between both frontend and backend

Add some common module, or common code somewhere, that both frontend and backend has a dependency on.
I have read these two discussions:
https://discuss.kotlinlang.org/t/kotlin-to-javascript-and-kotlin-to-jvm-servlets-in-one-project/2600
https://discuss.kotlinlang.org/t/compiling-kotlin-to-both-java-and-javascript-from-the-same-module/1944
The second one contained a link to a project which modifies the main.kotlin.srcDirs by adding project(':').file('src/main/kotlin'), this however lead me to an issue with compiler errors in IntelliJ, which can be seen here: https://github.com/C06A/KUrlet/issues/1
So a clear example of how to actually share code between JS and JVM is appreciated.

See https://github.com/jetbrains/kotlinconf-app and https://github.com/yole/kxhtml-isomorphic for other example projects that demo this.


OSD-19615: Enhance backplane-cli verbose messages for login subcommand

What type of PR is this?
feature
What this PR does / Why we need it?
This commit adds some more detailed debug printouts for the ocm-backplane login command, the printouts could be used by using  --verbosity=debug.
e.g
./ocm-backplane --verbosity=debug login <cluster identification>

Which Jira/Github issue(s) does this PR fix?
OSD-19615
Resolves #
Special notes for your reviewer
Pre-checks (if applicable)

X Ran unit tests locally
X Validated the changes in a cluster
[ ] Included documentation changes with PR

Codecov Report
Attention: Patch coverage is 80.55556% with 7 lines in your changes are missing coverage. Please review.

Project coverage is 44.48%. Comparing base (30def33) to head (3c0a25c).

Additional details and impacted files

@@            Coverage Diff             @@
##             main     #360      +/-   ##
==========================================
+ Coverage   44.19%   44.48%   +0.28%
==========================================
  Files          54       54
  Lines        4116     4150      +34
==========================================
+ Hits         1819     1846      +27
- Misses       2032     2039       +7
  Partials      265      265

Files
Coverage Δ

pkg/login/kubeConfig.go
62.50% <100.00%> (+1.20%)
:arrow_up:

cmd/ocm-backplane/login/login.go
76.03% <93.10%> (+2.07%)
:arrow_up:

pkg/utils/util.go
47.45% <0.00%> (-2.10%)
:arrow_down:

LGTM in general, thanks for making it more verbose for troubleshooting!   I left a comment regarding the PrettyPrint in utils.


TypeError: decode_js.EntityDecoder is not a constructor

Vue version
3.4.14
Link to minimal reproduction
https://stackblitz.com/edit/vitejs-vite-5fafk2?file=package.json
Steps to reproduce
i upgrade vue.js version from 3.4.13 to 3.4.14 and then i run yarn workspace vue3 run dev.
but TypeError: decode_js.EntityDecoder is not a constructor is occurred.
so i downgrade vue.js version from v3.4.14 to v3.4.13, error is gone
i think vue.js v3.4.14 is something wrong
What is expected?
no errors should occur
What is actually happening?
❯ yarn workspace vue3 run dev

yarn workspace v1.22.21
yarn run v1.22.21
$ vite
failed to load config from /Users/taigenhamada/Projects/icare/www/app/frontend/vite.config.ts
error when starting dev server:
TypeError: decode_js.EntityDecoder is not a constructor
    at new Tokenizer (/Users/taigenhamada/Projects/icare/www/node_modules/@vitejs/plugin-vue/node_modules/@vue/compiler-core/dist/compiler-core.cjs.js:453:28)
    at Object.<anonymous> (/Users/taigenhamada/Projects/icare/www/node_modules/@vitejs/plugin-vue/node_modules/@vue/compiler-core/dist/compiler-core.cjs.js:2128:19)
    at Module._compile (node:internal/modules/cjs/loader:1356:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
    at Module.load (node:internal/modules/cjs/loader:1197:32)
    at Module._load (node:internal/modules/cjs/loader:1013:12)
    at Module.require (node:internal/modules/cjs/loader:1225:19)
    at require (node:internal/modules/helpers:177:18)
    at Object.<anonymous> (/Users/taigenhamada/Projects/icare/www/node_modules/@vitejs/plugin-vue/node_modules/@vue/compiler-core/index.js:6:20)
    at Module._compile (node:internal/modules/cjs/loader:1356:14)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed.
Exit code: 1
Command: /Users/taigenhamada/.asdf/installs/nodejs/18.19.0/bin/node
Arguments: /Users/taigenhamada/.asdf/installs/nodejs/18.19.0/lib/node_modules/yarn/lib/cli.js run dev
Directory: /Users/taigenhamada/Projects/icare/www/app/frontend
Output:

info Visit https://yarnpkg.com/en/docs/cli/workspace for documentation about this command.

System Info
System:
    OS: macOS 13.6.3
    CPU: (8) arm64 Apple M1 Pro
    Memory: 48.80 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.19.0 - ~/.asdf/installs/nodejs/18.19.0/bin/node
    Yarn: 1.22.21 - ~/.asdf/installs/nodejs/18.19.0/bin/yarn
    npm: 10.2.3 - ~/.asdf/plugins/nodejs/shims/npm
    bun: 1.0.5 - ~/.asdf/shims/bun
  Browsers:
    Chrome: 120.0.6099.216
    Safari: 17.2.1
  npmPackages:
    vue: 3.4.14 => 3.4.14

Any additional comments?
No response

It seems no error occurred in your reproduction, did you paste the wrong link?

Maybe you can provide a minimal reproduction by sfc-playground

Your reproduction doesn't show the error described. A proper reproduction is needed.

I get the same error.
But it doesn't help to downgrade the vue and vue/compat version.
I only have issues when i try to update my vue router from 3 to 4.
here is the installed version:
"@vue/compat": "^3.3.13",
"vue": "^3.3.13",
but the compat version it has downloaded is 3.4.14

Closing as stale due to lack of information to follow up on. Please open a new issue if a reproduction can be provided.


Inquiry About Code Implementation for Generating Text Embeddings from Vocabulary Set Using CLIP Text Encoder

Thank you for your excellent work!
While studying the code, I noticed you feed the vocabulary set into the CLIP text encoder to generate the text embedding as the category labels. However, I couldn't find the corresponding code. Could you please point out the specific code for this? Thank you very much!

Like LVVIS, we saved the text embeddings in advance to the local folder metadata, and did not use CLIP text encoder during model training and testing. You can see here for details.

Thank you so much for taking the time to explain this! The issue is now resolved, thanks again!


having trouble running N64 on ubuntu, No available video device

Am I missing a video driver? Other emulators work. Thanks

--- System audio and video info ---
Aspect ratio:  1.3333333730697632
Base width:  320
Base height:  240
Max width:  320
Max height:  240
Sample rate:  44100
FPS:  60
panic:
goroutine 17 [running, locked to thread]:
github.com/giongto35/cloud-game/pkg/emulator/libretro/nanoarch.initVideo()
/root/cloud-game/pkg/emulator/libretro/nanoarch/nanoarch.go:376 +0x993
github.com/giongto35/cloud-game/pkg/emulator/libretro/nanoarch._cgoexpwrap_58c817539c33_initVideo()
_cgo_gotypes.go:752 +0x25
make: *** [Makefile:77: dev.run] Error 2

Hi @ravelab ,
Thank you for reporting it : D. I will try checking it later.

I think this is related solely to SDL2 render route of the app if I understand the error from the message correctly: No available video device -- that's the SDL2 error.
It's similar to what I have inside WSL2:

Guess, it needs X11 server (local: DISPLAY=:0, or some remote), and since n64 emulator is hardware-accelerated -- some GPU drivers (Mesa or proprietary).
@giongto35, will it work with xvfb (in mem "goodbye gpu-acceleration" mode)? Just curious, never worked with it.
(also want to mention that it didn't work for me when I tried to run initial PR, because my CPU has only ancient GL version support)

@sergystepanov you made some good observations here. Let me try with XVFB, I think It can solve this problem on Linux Container.
regarding to
It'll be easier to debug by running glxinfo with glxgears from mesa-utils, if 'gears' are OK then n64 should work as well.

Oh, wow! WSL2 can work in direct mode:

I'm not totally get this point. Are you talking about running N64 in window environment with Ubuntu?

Yes, X Window, I mean one possible scenario that will help with OpenGL debugging for him if you are going to do so.
As always, there is no mention of his run environment, maybe he's willing to run it on a desktop.

@ravelab can I know if you are running on a cloud server or on your desktop machine?

Yay! In a meantime I made it run on WSL2 Ubuntu with Windows X Server forwarding. It runs with xvfb also (with 90% CPU utilization (:L )

@ravelab can I know if you are running on a cloud server or on your desktop machine?

cloud server, with no GPU

@giongto35, take a look at the PR.
It might be a good idea to add something into the README about minimal X Server config regarding OpenGL cores.

@ravelab, have you tried xvfb-based (hack) approach in your fork? Is it working? Will it be enough for your purposes? (:

@giongto35, I tested shared display (what I wrote additionally in the merged PR to you) and it's working.
If you want, you can try, test and update docs / Docker scripts.
xvfb :99 &
export DISPLAY=:99

@sergystepanov thanks for the PR. I pull the latest of git@github.com:giongto35/cloud-game.git, I'm not getting "no available video device", but I'm getting black screen for the streamed video. I tried changing docker-compose.yml to - DISPLAY=:99, but still not working. Am I missing something? Thanks

@ravelab, could you print your worker log after n64 game is opened?
Also, could you try these:
xvfb :99 &
export DISPLAY=:99
export MESA_GL_VERSION_OVERRIDE=3.3COMPAT

the docker-compose works!

Cool. Seems that an OpenGL compatibility profile was needed as well.
And for a desktop system like Ubuntu, it's enough to export local display export DISPLAY=:0, I think.


Fix nested SafeAreaViews

Summary
On iOS, nested safe area views do not get their padding applied. I think this is because setSafeAreaInsets overrides the existing selector - but we don't need to do that as we have safeAreaInsetsDidChange
This simplifies the logic a bit too
Test Plan
Verify it SAVs work when nested - I did this in my personal project

Wrong repo lol


Add LATEST.md

Close #737

@dkhamsing don't merge this. When we decide to merge it, I want to test it once more time.

Ok will look and leave a comment if approving.

Thx for the changes in deploy
Sent with GitHawk

Do you have README ARCHIVE APPSTORE and LATEST I can review as well?
Sent with GitHawk

@dkhamsing

README.md
LATEST.md
ARCHIVE.md
APPSTORE.md

Have to review more - will post here when done
Sent with GitHawk

Thanks for cleaning up the script, it’s too long and very hard to read - my fault!
Still reviewing.

Thanks for trying to cleanup the script. Is there a way to support LATEST with less changes. The original version is very bad but this update makes it very long as well. Any thoughts?

This is from the README you provided - something missing

I’m gonna close this PR. Could you do another one without all the changes. We should save a “refactor” of the script for a different PR instead of doing two things at once. Thx

Probably, no, I won't. I don't imagine this without refactoring and changing the code to that way. At least, I won't do this 3 times instead of 1. There is not so much code to be hard to review and fix even if rewriting it from scratch.

No worries I can work on this - thx for taking the time.
Sent with GitHawk


Error for tasks where input and output grid size do not match

Hi,
To reproduce: python main.py 39a8645d.json training
I get the following error for task id 39a8645d in training. I also get similar error in calculate_score function in other tasks as well, where input-output size do not match. Does this method work only for same input-output sizes? Thanks
Running task.solve() for #39a8645d
Initializing Frontier
Traceback (most recent call last):
  File "/Users/kartik/Desktop/ARGA-AAAI23/main.py", line 40, in <module>
    solve_task_id(task_file, task_type)
  File "/Users/kartik/Desktop/ARGA-AAAI23/main.py", line 16, in solve_task_id
    abstraction, solution_apply_call, error, train_error, solving_time, nodes_explored = task.solve(
                                                                                ^^^^^^^^^^^
  File "/Users/kartik/Desktop/ARGA-AAAI23/task.py", line 114, in solve
    stop_search = self.initialize_frontier()
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/kartik/Desktop/ARGA-AAAI23/task.py", line 230, in initialize_frontier
    self.constraints_acquisition_global()
  File "/Users/kartik/Desktop/ARGA-AAAI23/task.py", line 718, in constraints_acquisition_global
    or (data["color"] == input.background_color and self.train_output[i].graph.nodes[node][
                                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
  File "/Users/kartik/anaconda3/envs/arc/lib/python3.12/site-packages/networkx/classes/reportviews.py", line 194, in __getitem__
    return self._nodes[n]
           ~~~~~~~~~~~^^^
KeyError: (0, 3)

Thanks for the question!
You are correct that the scope of the current implementation only includes tasks with the same input/output sizes.


distribution-nixpkgs-1: Ambiguous interface for ‘Text.PrettyPrint.HughesPJClass’

This might be Cabal's fault...
cc @peti
Linking dist/build/spec/spec ...
> /tmp/stackage-build8/distribution-nixpkgs-1$ dist/build/spec/spec

src/Language/Nix/PrettyPrinting.hs:23:1: error:
    Ambiguous interface for ‘Text.PrettyPrint.HughesPJClass’:
      it was found in multiple packages:
      pretty-<IP_ADDRESS> pretty-class-<IP_ADDRESS> prettyclass-<IP_ADDRESS>

Not the fault of Cabal, but rather a loosely configured doctest test suite. I've opened https://github.com/peti/distribution-nixpkgs/pull/1 to address this.

Wow, running a doctest suite is far more involved that I thought it would be! Switching the package to a "custom" build type is particularly unpleasant, IMHO, because this means that I cannot use hpack to generate the Cabal file any longer. What a mess. :disappointed:
Anyway, thank you very much for the fix, @RyanGlScott! I'll need a day or two to think about how I'll go forward now. The way I see it, I have 3 options:

Use a custom Setup.hs to avoid this kind of issue,
avoid use of the Pretty class in my code, or
take the doctest suite out of the Cabal build and "doctest src" manually in the CI environment.

Right now, I feel like (2) is the best approach for this particular library (since I've wanted to migrate away from Pretty anyway). It's just that there's no guarantee that the exact same problem won't arise again in anther module.

Option 4: Maintain the list of doctest dependencies manually (or extract it from the package.yaml file somehow).

There's also using PackageImports
On Fri, Jun 17, 2016 at 11:01 AM, Peter Simons<EMAIL_ADDRESS>wrote:

Option 4: Maintain the list of doctest dependencies manually (or extract
it from the package.yaml file somehow).
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/fpco/stackage/issues/1616#issuecomment-226706038, or mute
the thread
https://github.com/notifications/unsubscribe/AADBBzFfO8hsYjtRcXIlASE2mRef2R6Zks5qMlROgaJpZM4I2_4l
.

Version <IP_ADDRESS> fixes this issue.


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Feature/15 community crud

Closes #14

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

49 of 53 (92.45%)  changed or added relevant lines in 7 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+15.8%) to 83.81%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/comunidades/comunidades.service.ts
21
22
95.45%

src/comunidades/entities/comunidade.schema.ts
8
11
72.73%

Totals

Change from base Build<PHONE_NUMBER>:
15.8%

Covered Lines:
83

Relevant Lines:
97

💛  - Coveralls


WIP feat: reduce number of online vats

Reducing maxVatsOnline to only 5 online vats to reduce the load on the system that is running this container.
Testing:
Tested locally to see if this SwingSet change works without a3p. Now, with PR, trying to build an image in the CI to test.

I suspect 5 is a much too aggressive number, and would result in a lot of paging in and out of vats, which is expensive. What is the problem being solved? What does "load" mean in this case?  Unused but loaded vats would at most consume memory, is that the concern?


0 viewers in a stream with multiple hundreds https://live.rbg.tum.de/w/vkmi/35283?dvr=&t=925

0 viewers are shown on tum live (https://live.rbg.tum.de/w/vkmi/35283?dvr=&t=925) even the stream definitely has at least hundred people.

P. S.: This is the mathe vorkurs
Even the professor (host) has the same number of viewers

This seems to be solved nowˋ?

Yes, this should be resolved.


Add detail to readme

Fixes #3
Problem:
README.md needs to include Contributing, Copyright and License sections.
Analysis:

Contributions section will guide folks to other repos for now since this is envisioned as an internal tool.
Filling Issues section was added with detailed request of what to include since multiple teams/repos will depend on cccl

Solution:
Added necessary setions

Err... Rich has already accepted this, so that works.  I'll default to the existing format, then


Convert
 to <button class="button">

This improves a lot of accessibility shortcomings.
Every possible instance of
 matching the command
ag '<[^ab].*?class=.*?[" ]button[ "]' templates/ | grep -v 'dropdown' has been converted when possible.
divs with the dropdown class and their children were omitted as

more analysis must be conducted whether the dropdowns still work as intended when they are a button instead of a div.
most dropdowns have divs as children. The HTML standard disallows divs inside buttons.
When a dropdown child that's part of the displayed text content is converted to a button, the dropdown can be focused twice

Further changes include that all "gitea-managed" buttons with JS code received an  e.preventDefault() so that they don't accidentally submit an underlying form, which would execute instead of cancel the action.
Lastly, some minor issues were fixed as well during the refactoring.
Future improvements
As mentioned in https://github.com/go-gitea/gitea/pull/23337#discussion_r1127277391, s without href attribute are not focusable.
They should later on be converted to <button>s.

Codecov Report

Merging #23337 (c68b47e) into main (33e556e) will increase coverage by 0.13%.
The diff coverage is 59.02%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main   #23337      +/-   ##
==========================================
+ Coverage   47.44%   47.57%   +0.13%
==========================================
  Files        1140     1143       +3
  Lines      150804   151172     +368
==========================================
+ Hits        71549    71925     +376
+ Misses      70788    70744      -44
- Partials     8467     8503      +36

Impacted Files
Coverage Δ

cmd/dump.go
0.67% <0.00%> (-0.01%)
:arrow_down:

cmd/serv.go
2.59% <0.00%> (-0.06%)
:arrow_down:

models/actions/run.go
1.72% <0.00%> (+0.01%)
:arrow_up:

models/actions/run_list.go
0.00% <0.00%> (ø)

models/actions/status.go
22.85% <0.00%> (-1.39%)
:arrow_down:

models/actions/task.go
1.69% <0.00%> (-0.01%)
:arrow_down:

models/auth/oauth2.go
60.52% <ø> (ø)

models/auth/twofactor.go
19.73% <ø> (ø)

models/db/engine.go
44.80% <ø> (ø)

models/unittest/testdb.go
12.92% <0.00%> (ø)

... and 172 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

According to https://github.com/go-gitea/gitea/blob/main/docs/content/doc/developers/guidelines-refactoring.en-us.md

If there is no objection from TOC, a refactoring PR could be merged after 7 days with one core member's approval (not the author).

😆

According to https://github.com/go-gitea/gitea/blob/main/docs/content/doc/developers/guidelines-refactoring.en-us.md

If there is no objection from TOC, a refactoring PR could be merged after 7 days with one core member's approval (not the author).

Indeed, we have now met that criteria with my +1. I will let someone else be the merger on this, although I suspect with branch rules it'll need to be a TOC member who can use 🧙 powers. Of course, if it doesn't get merged in enough time I can be the merger if needed (please ping if that is the case).

I was unable to create a backport for 1.19, please send one manually. :tea:

Does this PR really need to be backported? I am a little worried about whether it would break something, because the button behavior / focus behavior change more or less. Keep it in 1.20 for long enough time before backport?

Caught one 500 (not sure whether it's related)
http://localhost:3000/user/settings/repos
template: base/delete_modal_actions:4:11: executing "base/delete_modal_actions" at <.locale.Tr>: can't evaluate field locale in type string


User types header-only

Depends on:

eprosima/idl-parser#108

This PR includes:

User types in only header files
User types header file has extension .hpp instead of .h.
New program argument -no-typesupport
Using enable_using_explicitly_modules() on TypesHeader.stg templates.

CI passed on this manual action

CI passed on manual action


Sound don't play on iOs web-app opened from home screen.

Hi and thanx for great service.
I created a web-app with angular v1.4.5 using your ng-sound service.
All is working as expected on Mac and iPhone 4s iOs 9.1 in Chrome, Safari (normal view via address input).
When I add this app to iPhones home-screen and open it, no sound is played.
But only if using this:
meta(name="apple-mobile-web-app-capable", content="yes")
meta(name="apple-mobile-web-app-status-bar-style", content="yes")
Without sound is playing also on iOs Safari.
Is this issue known?
Maybe any idea how to fix?
Here is my app for reproducing (German but please just click the buttons ;-) sound should play): http://englishinsimple.com/#/stream?index=0
Thank you very much so far.

Hey @HerrHansen .
Thank you very much for the original research! It looks like you are the first person to attempt using this app in this context. I'd be happy to look at a pull request. It's possible that there may be no work-around other than using the correct meta, in which case the docs could be updated.
Cheers

We attempted to use our app in this same way and ran into the same issue. @HerrHansen I believe Apple actually using a slightly different browser for their home screen app. I have found no successful workaround for this yet.

@rossvz Thank you for efforts anyway. Rock on. :-)


Branch replace-libdparse: Exclude argument body of __traits(compiles

For instance
assert(!__traits(compiles, { auto _ = f(); }))

gives
Variable _ is never modified and could have been declared const or immutable.

. The developer might be interested in testing for such properties so analysis in __traits(compiles should be excluded.

On second thought, I'm not sure this particular diagnostics should be excluded in __traits(compiles, ...) or not. But there might be other code constructs BODY that shouldn't be excluded  __traits(compiles, BODY).


Remove Python::register_any

#1020 is set to remove the last internal use case of register_any. IMO it adds complexity and now doesn't have a clear use case, should we remove this API (or mark deprecated)?
Originally posted by @davidhewitt in https://github.com/PyO3/pyo3/pull/1020/files
Quick github search suggests that @programmerjake is using register_any to allow conversion of &T for a special case:
https://github.com/programmerjake/algebraics/blob/fefb5a60922a6fa1d1dcb7bd0409c5a0a0e66515/src/python.rs#L30
I don't see any other uses on the whole of github :smile:

feel free to remove it since you're doing a major version bump anyway, I'll be refactoring algebraics's API when I get around to updating it to PyO3 0.11 or later.

Thank you for the feedback!

Closed via #1020


[ICS23] add conversion checks for ProofSpec, LeafOp, and InnerSpec structs

Description
Current struct definitions for ProofSpec, LeafOp, InnerSpec lack essential conversion checks between their proto and domain types. This allows e.g. unchecked negative values for i32 fields.
Proposal
Define mirror domain types and utilize the TryFrom trait for robust conversion checks, ensuring type safety

@Farhad-Shabani Hi, could I work on this issue?

Hey @tropicaldog, thanks for being up for contributing! Sure, go ahead!


Tslint ignores typeRoots in tsconfig.json.

Bug Report

TSLint version: 5.10.0
TypeScript version: 2.9.2
Running TSLint via: CLI (via create-react-app-typescript's start script, I assume this is CLI)

TypeScript code being linted
I made a repo here: https://github.com/resurge/tslint-ignores-tsconfig-types
index.tsx
window.myGlobalVariable = "global variable value";

types/global.d.ts
interface Window {
	myGlobalVariable: string;
}

tsconfig.json
{
  "compilerOptions": {
    "baseUrl": ".",
    "outDir": "build/dist",
    "module": "esnext",
    "target": "es5",
    "lib": ["es6", "dom"],
    "sourceMap": true,
    "allowJs": true,
    "jsx": "react",
    "moduleResolution": "node",
    "rootDir": "src",
    "forceConsistentCasingInFileNames": true,
    "noImplicitReturns": true,
    "noImplicitThis": true,
    "noImplicitAny": true,
    "strictNullChecks": true,
    "suppressImplicitAnyIndexErrors": true,
    "noUnusedLocals": true,
    "typeRoots": [
      "./node_modules/@types",
      "./types"
    ]
  },
  "exclude": [
    "node_modules",
    "build",
    "scripts",
    "acceptance-tests",
    "webpack",
    "jest",
    "src/setupTests.ts"
  ]
}

with tslint.json configuration:
(Standard create-react-app-typescript configuration)
{
  "extends": ["tslint:recommended", "tslint-react", "tslint-config-prettier"],
  "linterOptions": {
    "exclude": [
      "config/**/*.js",
      "node_modules/**/*.ts"
    ]
  }
}

Actual behavior
Tslint gives the following error:

Property 'myGlobalVariable' does not exist on type 'Window'.

Even though the type definitions are defined and referfenced in tsconfig.json
Expected behavior
Tslint doesn't give any errors.
Workaround
If I use the following code in index.tsx and remove the typeRoots config it works.
declare global {
  // tslint:disable-next-line
  interface Window {
    myGlobalVariable: string;
  }
}

(The disable-next-line is because create-react-app-typsecript requires interfaces to start with I)

I am having the same problem. typeRoots in tsconfig.json is not honored by tslint.

Perhaps also related: #3931

💀 It's time! 💀
TSLint is being deprecated and no longer accepting pull requests for major new changes or features. See #4534. 😱
If you'd like to see this change implemented, you have two choices:

Recommended: Check if this is available in ESLint + typescript-eslint ✅
Not Recommended: Fork TSLint locally 🤷♂

👋 It was a pleasure open sourcing with you!
If you believe this message was posted here in error, please comment so we can re-open the issue!

🤖 Beep boop! 👉  TSLint is deprecated 👈 (#4534)  and you should switch to typescript-eslint! 🤖
🔒 This issue is being locked to prevent further unnecessary discussions. Thank you! 👋


ScanRows crashes application when context is cancelled

Your issue may already be reported! Please search on the issue track before creating one.
What version of Go are you using (go version)?
Go 1.10
Which database and its version are you using?
mysql 5.6
Please provide a complete runnable program to reproduce your issue. IMPORTANT
When the incoming context is cancelled, but the cancellation occurs after the rows.Next() check in the for loop, then ScanRows() crashes application with this error:
The error: sql: Rows are closed are caused from the context cancellation. It is not caused from the defer( ).
The application crashes with:
panic: runtime error: invalid memory address or nil pointer dereference

[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x14bf58a]

goroutine 14 [running]:
github.com/Z/Y/vendor/github.com/jinzhu/gorm.(*DB).print(0xc420320120, 0xc4200fb5a0, 0x2, 0x2)
	/Users/X/GOPATH/src/github.com/Z/Y/vendor/github.com/jinzhu/gorm/main.go:755 +0x2a
created by github.com/Z/Y/vendor/github.com/jinzhu/gorm.(*DB).AddError
	/Users/X/GOPATH/src/github.com/Z/Y/vendor/github.com/jinzhu/gorm/main.go:697 +0x371

func() X (ctx context.Context) error {

age := 27
rows, err := db.QueryContext(ctx. "SELECT name FROM users WHERE age=?", age)
if err != nil {
        log.Fatal(err)
}
defer func() {
		fmt.Println("will close rows")
		rows.Close()
}()

fakeGormDB := &gorm.DB{} // For example purposes

for rows.Next() {
        err := fakeGormDB.ScanRows(rows, &rawShift) // rawShift is a struct
		if err != nil {
			fmt.Println("error:", err) // sql: Rows are closed
			return err
		}
}
if err := rows.Err(); err != nil {
        log.Fatal(err)
}

}

It does not occur when I change from to if err := rows.Scan( ) from gorm's ScanRows( )

My mistake:
fakeGormDB := (&gorm.DB{}).LogMode(false) fixed issue.


added tqdm to feedstock

This closes issue: https://github.com/conda-forge/cleanlab-feedstock/issues/4

Checklist

[x] Used a personal fork of the feedstock to propose changes :green_circle:
[x] Bumped the build number (if the version is unchanged) Set to 2. :green_circle:
[ ] Reset the build number to 0 (if the version changed) NA.
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering) TODO :orange_circle:.
[ ] Ensured the license file is being packaged. NA.

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

noarch: python recipes are required to have a lower bound on the python version. Typically this means putting python >=3.6 in both host and run but you should check upstream for the package's Python compatibility.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

I just realized another similar PR was also added very recently. So, please disregard this one.


HOTFIX #172 Corrigindo pagina html

Pull Request Test Coverage Report for Build 294

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

Totals

Change from base Build 292:
0.0%

Covered Lines:
77

Relevant Lines:
190

💛  - Coveralls


"usage generate completion bash" doesn't work with dashes in command name

usage generate completion bash a-b-c --usage-cmd xxx generates a shell snippet with dashes in variable names, which doesn't work:
    if [[ -z ${_usage_spec_a-b-c:-} ]]; then
        _usage_spec_a-b-c="$(xxx)"
    fi

The variable name needs to be sanitised.
See also: https://unix.stackexchange.com/questions/23659/can-shell-variable-name-include-a-hyphen-or-dash

wow that was quick 😆
thanks!


keyParser headers

The OSX keychain exports RSA keys with a header -----BEGIN RSA PUBLIC KEY-----, regardless of the export format (SSH, SSH2, OpenSSL).  The private key begins -----BEGIN RSA PRIVATE KEY-----.
The keyParser doesn't anticipate this PEM armour.
Do you have any suggestions to integrate with this type of OSX export?

You need the private key, not the public key. I'm not familiar with the OS X keychain in particular, but assuming you're actually using the key for connecting with an ssh2 client, I'm guessing the OS X keychain has an ssh-agent interface somewhere? If so, you can just use that for user authentication instead (which is the most secure way of authenticating with a key anyway).

Hi @mscdex, thanks for that.
I ended up figuring out how to export from the OSX keychain in SSH2 format without the PEM armour, which produces the public key in the format that SSH2 stream utility expects.
So I have it working all together, thank you.


Tests missing in pypi sdist tarball

Hi! I'm currently starting to package python-pywlroots on Arch Linux for qtile.
We usually run tests against the build to ensure compatibility with the rest of the system. Especially when building wrappers for C libraries this is very important to detect problems as early as possible (upon rebuild).
It would be really great, if you could include the tests directory in the sdist tarball! :)

This should be available in 0.14.3, thanks for taking care of getting everything packaged! Let us know if there anything else you need there.

Thanks! 0.14.3 fixes this for me! :)


wrong behaviour with comparing operators over arrays

CREATE TABLE test_array (arr Array(Nullable(Float64))) ENGINE = Memory;
INSERT INTO test_array(arr) values ([1,2]),([3,4]),([5,6]),([7,8]);

select * from test_array where arr > [12.2] ;

Code: 43, e.displayText() = DB::Exception: Illegal types of arguments (Array(Nullable(Float64)), Array(Float64)) of function greater, e.what() = DB::Exception

select * from test_array where arr > [null, 12.2]

OK

select * from test_array where arr > [null, 12]

Code: 43, e.displayText() = DB::Exception: Illegal types of arguments (Array(Nullable(Float64)), Array(Nullable(UInt8))) of function greater, e.what() = DB::Exception

As you can see all 3 ops should work
Silviu

Of course using CAST will fix the problem but maybe clickhouse needs to be smart enough to allow this by default

Yes, these operations should be supported.

@alexey-milovidov I see you worked on this .. is this bug a priority ?

It's unfinished. This feature has low/medium priority.

Hello @alexey-milovidov  also this one was partially fixed.

@alexey-milovidov  I tested this on master and it's fine. You can close it !
Thanks,
Silviu


Combination with BLE Plugin: No disconnect when app gets closed

Description
Using this Plugin together with cordova-plugin-ble-central or capacitor-community/bluetooth-le in Android bluetooth connection doesn't get closed when app is closed.
Reproduce

Create an ionic app for Android
install background-geolocation
install cordova-plugin-ble-central or capacitor-community/bluetooth-le
connect a ble device with the app
close the app
device is still connected with phone and therefore doesn't get find when reopen the app
to verify: disable Bluetooth in phone settings after app is closed and the device will notify a disconnect

Expected behavior
Bluetooth connection should get closed when app gets closed
Smartphone

Device: Motorola moto g 5G plus, Google Pixel 2
OS: Android 10
Version 29

Additional context
I am working on a ble-sensor combined with geolocation tracker project
I opened this also as an issue at capacitor-community/bluetooth-le:
https://github.com/capacitor-community/bluetooth-le/issues/158

If you discover a fault in this plugin, please let me know.

Does the Watcher gets removed when closing the app? Or is there any option to do so?

If by "closing" you mean "killing", then yes. If by "closing" you mean "backgrounding", then no. If you only require updates in the foreground, simply omit the backgroundMessage option.

yes i mean "killing"


Correct Stern clusterrole

Hey guys, I'm on EKS
I need to create clusterrole for developers which will allow tailing logs with stern and running commands inside k8s pods. I've created this clusterrole:
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  namespace: dev-namespace
  name: exec-and-get-logs-from-pods
rules:
- apiGroups: [""]
  resources: ["pods", "pods/log"]
  verbs: ["get", "list"]
- apiGroups: [""]
  resources: ["pods/exec"]
  verbs: ["create"]

Developer can run kubectl logs, kubectl get pods and kubectl exec without any problem, but stern app fails with error: failed to set up watch: failed to set up watch: unknown (get pods). I don't want to give cluster-admin or admin role to our developers.
What's the correct clusterrole for stern?

Any updates?

gives the same error even when watch is added to pods and pods/log


ImportError: cannot import name 'WritableField'

Hi
Thank you for your library, it is just what I need for the task I am working on. Unfortunately I keep getting an import error. I am using Django 1.7 and I keep getting this error:
(venv) lee@lee ~/C/cas (master)> python manage.py runserver 9000
Traceback (most recent call last):
  File "/home/lee/Code/cas/venv/lib/python3.4/site-packages/django/core/urlresolvers.py", line 364, in urlconf_module
    return self._urlconf_module
AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "manage.py", line 10, in <module>
    execute_from_command_line(sys.argv),
  File "/home/lee/Code/cas/venv/lib/python3.4/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
    utility.execute()
  File "/home/lee/Code/cas/venv/lib/python3.4/site-packages/django/core/management/__init__.py", line 354, in execute
    django.setup()
  File "/home/lee/Code/cas/venv/lib/python3.4/site-packages/django/__init__.py", line 21, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/home/lee/Code/cas/venv/lib/python3.4/site-packages/django/apps/registry.py", line 115, in populate
    app_config.ready()
  File "/home/lee/Code/cas/venv/lib/python3.4/site-packages/debug_toolbar/apps.py", line 15, in ready
    dt_settings.patch_all()
  File "/home/lee/Code/cas/venv/lib/python3.4/site-packages/debug_toolbar/settings.py", line 238, in patch_all
    patch_root_urlconf()
  File "/home/lee/Code/cas/venv/lib/python3.4/site-packages/debug_toolbar/settings.py", line 226, in patch_root_urlconf
    reverse('djdt:render_panel')
  File "/home/lee/Code/cas/venv/lib/python3.4/site-packages/django/core/urlresolvers.py", line 522, in reverse
    app_list = resolver.app_dict[ns]
  File "/home/lee/Code/cas/venv/lib/python3.4/site-packages/django/core/urlresolvers.py", line 329, in app_dict
    self._populate()
  File "/home/lee/Code/cas/venv/lib/python3.4/site-packages/django/core/urlresolvers.py", line 269, in _populate
    for pattern in reversed(self.url_patterns):
  File "/home/lee/Code/cas/venv/lib/python3.4/site-packages/django/core/urlresolvers.py", line 372, in url_patterns
    patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
  File "/home/lee/Code/cas/venv/lib/python3.4/site-packages/django/core/urlresolvers.py", line 366, in urlconf_module
    self._urlconf_module = import_module(self.urlconf_name)
  File "/home/lee/.pyenv/versions/3.4.2/lib/python3.4/importlib/__init__.py", line 109, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
  File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
  File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1129, in _exec
  File "<frozen importlib._bootstrap>", line 1471, in exec_module
  File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
  File "/home/lee/Code/cas/cas/urls.py", line 6, in <module>
    url(r'^api/', include('api.urls')),
  File "/home/lee/Code/cas/venv/lib/python3.4/site-packages/django/conf/urls/__init__.py", line 28, in include
    urlconf_module = import_module(urlconf_module)
  File "/home/lee/.pyenv/versions/3.4.2/lib/python3.4/importlib/__init__.py", line 109, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
  File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
  File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1129, in _exec
  File "<frozen importlib._bootstrap>", line 1471, in exec_module
  File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
  File "/home/lee/Code/cas/api/urls.py", line 4, in <module>
    from api import views
  File "/home/lee/Code/cas/api/views.py", line 8, in <module>
    from api.serializers import UserSerializer
  File "/home/lee/Code/cas/api/serializers.py", line 2, in <module>
    from rest_framework_hstore.fields import HStoreField
  File "/home/lee/Code/cas/venv/lib/python3.4/site-packages/rest_framework_hstore/fields.py", line 4, in <module>
    from rest_framework.fields import WritableField
ImportError: cannot import name 'WritableField'

I tried pulling the repo locally and ran the tests:
(venv)lee@lee ~/C/django-rest-framework-hstore (master)> ./manage.py test
Creating test database for alias 'default'...
System check identified some issues:

WARNINGS:
?: (1_7.W001) MIDDLEWARE_CLASSES is not set.
	HINT: Django 1.7 changed the global defaults for the MIDDLEWARE_CLASSES. django.contrib.sessions.middleware.SessionMiddleware, django.contrib.auth.middleware.AuthenticationMiddleware, and django.contrib.messages.middleware.MessageMiddleware were removed from the defaults. If your project needs these middleware then you should configure this setting.
System check identified some issues:

WARNINGS:
?: (1_7.W001) MIDDLEWARE_CLASSES is not set.
	HINT: Django 1.7 changed the global defaults for the MIDDLEWARE_CLASSES. django.contrib.sessions.middleware.SessionMiddleware, django.contrib.auth.middleware.AuthenticationMiddleware, and django.contrib.messages.middleware.MessageMiddleware were removed from the defaults. If your project needs these middleware then you should configure this setting.
System check identified some issues:

WARNINGS:
?: (1_7.W001) MIDDLEWARE_CLASSES is not set.
	HINT: Django 1.7 changed the global defaults for the MIDDLEWARE_CLASSES. django.contrib.sessions.middleware.SessionMiddleware, django.contrib.auth.middleware.AuthenticationMiddleware, and django.contrib.messages.middleware.MessageMiddleware were removed from the defaults. If your project needs these middleware then you should configure this setting.
System check identified some issues:

WARNINGS:
?: (1_7.W001) MIDDLEWARE_CLASSES is not set.
	HINT: Django 1.7 changed the global defaults for the MIDDLEWARE_CLASSES. django.contrib.sessions.middleware.SessionMiddleware, django.contrib.auth.middleware.AuthenticationMiddleware, and django.contrib.messages.middleware.MessageMiddleware were removed from the defaults. If your project needs these middleware then you should configure this setting.
System check identified some issues:

WARNINGS:
?: (1_7.W001) MIDDLEWARE_CLASSES is not set.
	HINT: Django 1.7 changed the global defaults for the MIDDLEWARE_CLASSES. django.contrib.sessions.middleware.SessionMiddleware, django.contrib.auth.middleware.AuthenticationMiddleware, and django.contrib.messages.middleware.MessageMiddleware were removed from the defaults. If your project needs these middleware then you should configure this setting.
..........
----------------------------------------------------------------------
Ran 10 tests in 0.125s

OK
Destroying test database for alias 'default'...

Am I doing something wrong?

I think it's because you're using a 3.x version of django rest framework and it's not compatible with this module.
From: http://www.django-rest-framework.org/api-guide/fields/ you can read:
Note that the WritableField class that was present in version 2.x no longer exists. You should subclass Field and override to_internal_value() if the field supports data input.

correct, I wrote my own little custom field, if there is interest i can submit a PR, but that will break backwards compatibility

Yes, it would be nice :) I also need to add this module to my project but didn't work for the same reason as you :(

from django_hstore.dict import HStoreDict
from rest_framework import serializers

class HStoreField(serializers.Field):

    def to_representation(self, value):
        return value

    def to_internal_value(self, data):
        return HStoreDict(data)```

Thank you very much :+1:

thank you both for contributing to the discussion, follow pull request https://github.com/djangonauts/django-rest-framework-hstore/pull/6 to stay up to date with DRF 3.1 compatibility.
I'm closing this because is a duplicate of #4.


Fix deploy CI

When I added mega SMT-COMP module it stopped work. On a side note, maybe also add a disclaimer saying that cloning submodules might take some time and also use up a lot of disk space.

Now it's failing because of #239

Closed in 6fb786e5869564cb9668f5373985d50469925dc2


fix(styles): Default button styles focus => focus-visible

Overview
Our new buttons were getting an extra outline.

Ensure the outline only shows up for focus-visible

PR Checklist

[ ] Related to designs:
[ ] Related to JIRA ticket: ABC-123
[x] I have run this code to verify it works
[ ] This PR includes unit tests for the code change

🚀 Styleguide deploy preview ready!https://6009fcde3257a7368394c0c8--gamut-preview.netlify.appDeploy Logs

🚀 Styleguide deploy preview ready!https://6009fcde3257a7368394c0c8--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-illustrations@0.4.7-alpha.ca26df.0@codecademy/gamut-labs@7.10.8-alpha.ca26df.0@codecademy/gamut-styles@7.6.3-alpha.ca26df.0@codecademy/gamut@19.11.3-alpha.ca26df.0@codecademy/markdown-overrides@0.4.3-alpha.ca26df.0<EMAIL_ADDRESS>
📬Published Alpha Packages:@codecademy/gamut-illustrations@0.4.7-alpha.ca26df.0@codecademy/gamut-labs@7.10.8-alpha.ca26df.0@codecademy/gamut-styles@7.6.3-alpha.ca26df.0@codecademy/gamut@19.11.3-alpha.ca26df.0@codecademy/markdown-overrides@0.4.3-alpha.ca26df.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://600a0a11c91b4b00d393aaf7--gamut-preview.netlify.appDeploy Logs

🚀 Styleguide deploy preview ready!https://600a0a11c91b4b00d393aaf7--gamut-preview.netlify.appDeploy Logs


Inconsistent highlight widths in TreeView

If you're reporting an UI issue, make sure you take a screenshot that shows the actual bug.

In my opinion the full width selection wouldn't be that big of a deal, if you could even see which column is actually selected right now. You notice in basically all themes of FreeCAD, that you need to "right arrow" twice to open up an item, but you never see the selection actually move from the "Labels" column to the "Description" one.
As far as I am aware however, this behavior can't currently be changed by PreferencePacks. Gotta admit tho, I am not currently on top of all the changes happening around FreeCAD themeing.


[UI] Add a twisted arrow pointing to one icon of the phone at the bottom

Description
We have a mobile on our Website page which contains some icons, those icons are actually our social media link. At Pycon India 2024 , I got this feedback from a lot of people that its not clear that those links are clickable. Hence to put more focus on it we should add a twisted arrow with "click here" written on it. It should be completely responsive.
Use Case
No response
Screenshot
No response

Is it okay if i add the arrow in the mobile screen itself? as while making it responsive it would look cleaner.

Is it okay if i add the arrow in the mobile screen itself? as while making it responsive it would look cleaner.

Didn't get your point. Maybe if you could put a ss or video for demonstration,  it would be helpful.

i would like to work on this issue ..please assign this issue to me

Is it okay if i add the arrow in the mobile screen itself? as while making it responsive it would look cleaner.

Didn't get your point. Maybe if you could put a ss or video for demonstration,  it would be helpful.

Okay I will try to make an image representation for it.

this type of changes i have to do in the  mobile so the users get to know that this icons are clickable ???

 is this type of changes i have to do in the mobile so the users get to know that this icons are clickable ???

no

@DevilsAutumn I would like to work on this, please assign it to me.

@DevilsAutumn let me know if something like this is good enough. Let me know if any change in color, direction or icon is needed

@nitin-1926 I was thinking the arrow to be outside the phone pointing to the icon, this is affecting the original feel of a phone.

@DevilsAutumn Something like this?

Can we use this arrow with click here written with it?

We can, but I thought since it's already mentioned in the paragraph as "Click the icons to follow our accounts and never miss updates on upcoming events, contributions, and more!" so it may sound repetitive.
Do you want the "Click here" text to be floating?

@DevilsAutumn  Where should the text be placed?

@DevilsAutumn  Where should the text be placed?

Yess i think its perfect, just keep that orange circle a little more behind that phone and also make sure its responsive.

Cool, I will do this. The orange circle and green circle are 1 image only. If I push it up, green one will go beyond the section. I think we can let it be like this only as it is today.
Also how should it be in mobile version? I tried something but it doesn't feel that good.

Cool, I will do this. The orange circle and green circle are 1 image only. If I push it up, green one will go beyond the section. I think we can let it be like this only as it is today. Also how should it be in mobile version? I tried something but it doesn't feel that good.

Umm okay,
I think for mobile version we can move that arrow to top right corner of the phone such that it points the instagram icon?

@DevilsAutumn Like this??

I guess we can move the arrow over the phone and closer to the icon.

Is this good?

@nitin-1926 perfecr👍


[Run][Program plugin] clean up log entries

The Program plugin is a spam machine for the log, logging as exceptions things that are expected errors.
See:
https://github.com/microsoft/PowerToys/blob/7043e9672f1732dfc87c9b47c524134549344656/src/modules/launcher/Plugins/Microsoft.Plugin.Program/Logger/ProgramLogger.cs#L30-L34

@enricogior how do you want to prioritize this?

@dedavis6797
yes, it's a simple fix and it will remove a lot of noise from the PT Run log so it will be easier to search for real exceptions.
Long term fix would be to have dedicated log files for each module instead of a single file that can get easily unreadable.


how to sample tfrecord data with probability like experience replay? does tfrecord support this?

This template is for miscellaneous issues not covered by the other issue categories.
For questions on how to work with TensorFlow, or support for problems that are not verified bugs in TensorFlow, please go to StackOverflow.
If you are reporting a vulnerability, please use the dedicated reporting process.
For high-level discussions about TensorFlow, please post to<EMAIL_ADDRESS>for questions about the development or internal workings of TensorFlow, or if you would like to know how to contribute to TensorFlow, please post to<EMAIL_ADDRESS>

how to sample tfrecord data with probability like experience replay? does tfrecord support this?

This question is better asked on StackOverflow since it is not a bug or feature request. There is also a larger community that reads questions there.


Support for iPad 8th gen & iPad Air 4th gen

Can these be added please?  You all are great :)

Eventually yes, currently no. I don't think the new iPad's identifiers are out in the wild just yet. Gotta wait till October when the iPads get shipped out before we get a clue, I reckon.

Hi @vincentneo - ty for the quick reply.
Can't the identifies be seen in the Simulator?  The models are there in Xcode Version 12.0 (12A7208)

@jminutaglio you're right! One variant of the iPad's identifier can be seen from the simulator. Thanks.


feat: add juju 3.1 support

I have also question about why we could not run functional test for 3.1 on bionic? Can you provide more information here. Thanks

juju 3.1 requires the workload machine series to be greater or equal to focal.


docs(#3299): avoid to use dash for role name

Fix document to make getting started works
PR Type

Docs Pull Request

Motivation
#3299

Thank you, @xhiroga, for your contribution. I am merging this since the only test that failed is known to have problems (https://github.com/ansible-community/molecule/issues/3291).


Feature Request: Support Deno LSP

Deno has the fastest TypeScript LSP and is fully supported in nvim-lspconfig https://github.com/neovim/nvim-lspconfig/blob/master/CONFIG.md#denols
Deno LSP is a work in progress, here is the current state: https://github.com/denoland/deno/issues/8643
There are some limitations when using it with Web based code, but I have found that combined with https://github.com/evanw/esbuild you can get fantastic results. You need to make all imports deno compatible by using the .ts extension, but esbuild accepts that and bundles to js without problem.
To use DOM based code add  /// <reference lib="dom" /> to each file.
If you want to have a go, this will scaffold it for you:
#!/bin/bash

hash "deno" 2>/dev/null || {
    echo >&2 "You need to install deno from https://deno.land/manual/getting_started/installation"
}

hash "live-server" 2>/dev/null || {
    echo >&2 "You need to install live-server https://www.npmjs.com/package/live-server"
}

mkdir dist src test assets
# touch src/{main.css,index.html}

cat >"dist/index.html" <<'EOL'
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>App</title>
  </head>
  <body>
    <script type="module" src="bundle.js"></script>
  </body>
</html>
EOL

cat >"bundle.sh" <<'EOL'
#!/bin/bash

clear
npx esbuild --watch --bundle --minify --sourcemap --format=esm src/mod.ts --outfile=dist/bundle.js &
npx live-server ./dist &
wait
EOL
chmod +x bundle.sh

cat >"test.sh" <<'EOL'
#!/bin/bash

clear
deno test --allow-all test/
EOL
chmod +x test.sh

cat >".gitignore" <<'EOL'
dist
EOL

cat >"src/mod.ts" <<'EOL'
/// <reference no-default-lib="true"/>
/// <reference lib="dom" />
/// <reference lib="deno.ns" />
/// <reference lib="esnext" />

/**
 * @file Application entry point
 */

export function example(): number {
  return 42;
}
EOL

cat >"deps.ts" <<'EOL'
export {
  assert,
  assertEquals,
  assertStrictEquals,
} from<EMAIL_ADDRESS>EOL

cat >"test/mod_test.ts" <<'EOL'
import { assertEquals } from "../deps.ts";
import { example } from "../src/mod.ts";

Deno.test({
  name: "example test",
  fn(): void {
    // Arrange
    const expectedResult = 42;
    // Act
    const result = example();
    // Assert
    assertEquals(result, expectedResult);
  },
});
EOL

npm install
git init
echo "Template Generated!"

Interesting. I've never used Deno, but it looks like the language server supports the features required to handle the plugin's current functions. I'll look into it (I've wanted an excuse to give Deno a shot, anyways) and see if it's possible.

@jose-elias-alvarez Did you get a chance to have a look at Deno? It would be amazing if this plugin was compatible. There have been a lot of updates in the last two months to the LSP.

The rust module has documentation about the implementation: https://github.com/denoland/deno/tree/main/cli/lsp#custom-requests . Some of these custom requests are available in Neovim:
https://github.com/neovim/nvim-lspconfig/blob/master/CONFIG.md#denols
  Commands:
  - DenolsCache: Cache a module and all of its dependencies.
  - DenolsDefinition: Jump to definition. This handle deno:/ schema in deno:// buffer.
  - DenolsReferences: List references. This handle deno:/ schema in deno:// buffer.

Afraid I know nothing about LSP's really and can't be of much help :(
I think your best bet might be look at the official VS Code plugin https://github.com/denoland/vscode_deno which is written in TypeScript. Also, I am certain that more knowledgeable people would love to answer any of your questions on the discord channel https://discord.com/invite/deno or the Github discussion channel https://github.com/denoland/deno/discussions
There is general editor LSP integration stuff at https://deno.land/manual/getting_started/setup_your_environment#editors-and-ides , not much use, but you could look at how other IDE's are doing it other than the official plugin.

Awesome, thanks for the info. A good chunk of the complexity in this plugin is getting offloaded to another plugin, so I think there might be room to include Deno support if it's a possibility. I'll investigate and let you know.

So I've started playing around with Deno myself a bit, but as I mentioned in #87, in the future I'd like to turn this plugin into a "full-featured" language server plugin that takes care of setting up tsserver, passing down / modifying options, and handling off-spec behavior. This is mentioned in the lspconfig roadmap, and I'm waiting for the lspconfig maintainers to publish guidelines so that we can start moving in that direction.
With that in mind, I think Deno support would be out-of-scope for this plugin, so I'm going to close this issue. As I understand it, the Deno language server is more compliant with the LSP protocol and doesn't have to deal with the weirdness of a wrapper like typescript-language-server, so I think a lot of the current functionality wouldn't apply, anyways.


Failing to recognise torchsort cuda even when torch with cuda is successfully installed

Thanks for the awesome package!
system: linux (arch)
python: 3.8
So i've got a weird chicken-egg issue.
I successfully install pytorch using the suggested conda command
install pytorch torchvision torchaudio cudatoolkit=11.3 -c pytorch
and verify it recognises the gpu
a = torch.tensor([1,2,3]).cuda(device=0)
then i run the demo code
ImportError: You are trying to use the torchsort CUDA extension, but it looks like it is not available. Make sure you have the CUDA toolchain installed, and reinstall torchsort with pip install --force-reinstall --no-cache-dir torchsort to rebuild the extension.
x = torch.tensor([[8., 0., 5., 3., 2., 1., 6., 7., 9.]], requires_grad=True).cuda()
y = torchsort.soft_sort(x)

and it gives me the error
ImportError: You are trying to use the torchsort CUDA extension, but it looks like it is not available. Make sure you have the CUDA toolchain installed, and reinstall torchsort with `pip install --force-reinstall --no-cache-dir torchsort` to rebuild the extension.

...so I go to install (again) it as suggested.
this is where the first weirdness happens: torchsort tries to download pytorch again!
Collecting torch
Downloading torch-1.12.1-cp38-cp38-manylinux1_x86_64.whl (776.3 MB)
...
Attempting uninstall: torch
Found existing installation: torch 1.12.1
Uninstalling torch-1.12.1:
Successfully uninstalled torch-1.12.1
...
Successfully installed torch-1.12.1 torchsort-0.1.9 typing-extensions-4.4.0

so it succeeds, but when I got back into code the gpu is no longer recognised!
And then re-install again with the conda snippet and pytorch itself is working again (but torchsort with cuda doesn't)
Is there some procedure I'm missing? Or some python version weirdness that's breaking things?
cheers!

Hi Anthony,
Thank you for your patience! Just to be clear are you following the conda installation steps in the README?:

Install g++ with conda install -c conda-forge gxx_linux-64=9.40
Run export CXX=/path/to/miniconda3/envs/env_name/bin/x86_64-conda_cos6-linux-gnu-g++
Run export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path/to/miniconda3/lib
pip install --force-reinstall --no-cache-dir --no-deps torchsort

I also encountered this problem. The reason seems to be that setup.py detects cuda installation by trying to call the nvcc command. There can be situations where cudatoolkit is installed but nvcc is not in PATH. A quick fix could be:

Clone the repo
After you double-checked your cudatoolkit installation, change https://github.com/teddykoker/torchsort/blob/3f81bf5209e7c65ee8ffff98ab69b259f7d793f8/setup.py#L14 to always return True
cd to the root path of the repo, then run pip install -e .

@sheryc do you think is a better way of checking for cudatoolkit?

@teddykoker Is it possible to just check torch.cuda.is_available(), since torch will already be installed when running setup.py?

I thought about that, but I believe it is possible to have cuda drivers installed, without nvcc which is needed to compile the extension. It looks like torch.utils.cpp_extensions has a more thorough way of looking for the cuda installation even if it is not in the PATH. Perhaps something like:
import os
from functools import lru_cache
from subprocess import DEVNULL, call
from torch.utils import cpp_extension

@lru_cache(None)
def cuda_toolkit_available():
    try:
        nvcc = os.path.join(cpp_extension.CUDA_HOME, "bin", "nvcc")
        call(["nvcc"], stdout=DEVNULL, stderr=DEVNULL)
        return True
    except FileNotFoundErroxtr:
        return False

Which would probably work better?

Hey @teddykoker
I totally missed that in the readme!
I've tried with

... gxx_linux-64=9.40

but it gives me
collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.

PackagesNotFoundError: The following packages are not available from current channels:
Current channels:

  - https://conda.anaconda.org/conda-forge/linux-64
  - https://conda.anaconda.org/conda-forge/noarch
  - https://repo.anaconda.com/pkgs/main/linux-64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/r/linux-64
  - https://repo.anaconda.com/pkgs/r/noarch

but if i omit the version it finds something:
The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    binutils_impl_linux-64-2.38|       h2a08ee3_1         5.2 MB
    binutils_linux-64-2.38.0   |       hc2dff05_0          24 KB
    ca-certificates-2022.9.24  |       ha878542_0         150 KB  conda-forge
    certifi-2022.9.24          |     pyhd8ed1ab_0         155 KB  conda-forge
    conda-content-trust-0.1.3  |     pyhd8ed1ab_0          54 KB  conda-forge
    gcc_impl_linux-64-11.2.0   |       h1234567_1        22.2 MB
    gcc_linux-64-11.2.0        |       h5c386dc_0          25 KB
    gxx_impl_linux-64-11.2.0   |       h1234567_1        10.6 MB
    gxx_linux-64-11.2.0        |       hc2dff05_0          24 KB
    libgcc-devel_linux-64-11.2.0|       h1234567_1         2.5 MB
    libstdcxx-devel_linux-64-11.2.0|       h1234567_1        14.6 MB

So i went ahead, and exported paths as in the readme, using my own env and linking to /opt/anaconda/lib
but it gives a bunch of compile errors
ERROR: Command errored out with exit status 1: /home/ein/.conda/envs/py38bebop/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-h3jcy8sx/torchsort_81e3893b66cb4c6990aa70f634e4ac0e/setup.py'"'"'; __file__='"'"'/tmp/pip-install-h3jcy8sx/torchsort_81e3893b66cb4c6990aa70f634e4ac0e/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else
 io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-0zyu795c/install-record.txt --single-version-externally-managed --compile --install-headers /home/ein/.conda/envs/py38bebop/include/python3.8/torchsort Check the logs for full command output.

I also noticed I only have
/path/to/miniconda3/envs/env_name/bin/x86_64-conda_cos6-linux-gnu
and not
/path/to/miniconda3/envs/env_name/bin/x86_64-conda_cos6-linux-gnu-g++
(i also tried sheryc's suggestion but that failed)
i'm a bit lost :laughing:

@MushroomHunting  do you happen to have the full logs for the compile errors? Might help us narrow down the issue.

i've attached the terminal trace
trace.txt

@MushroomHunting it looks like your CXX (the c++ compiler) path is likely incomplete. I'm guessing it would be one of the following:
export CXX=/home/ein/.conda/envs/py38bebop/x86_64-conda_cos6-linux-gnu-g++
export CXX=/home/ein/.conda/envs/py38bebop/bin/x86_64-conda_cos6-linux-gnu-g++

This is evident by the trace:
File "/home/ein/.conda/envs/py38bebop/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 280, in check_compiler_ok_for_platform
        which = subprocess.check_output(['which', compiler], stderr=subprocess.STDOUT)
      File "/home/ein/.conda/envs/py38bebop/lib/python3.8/subprocess.py", line 415, in check_output
        return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
      File "/home/ein/.conda/envs/py38bebop/lib/python3.8/subprocess.py", line 516, in run
        raise CalledProcessError(retcode, process.args,
    subprocess.CalledProcessError: Command '['which', '/home/ein/.conda/envs/py38bebop/x86_64-conda_cos6-linux-gnu']' returned non-zero exit status 1.

Showing the command which failing, as the path likely does not exists (this is a check done by PyTorch before building the extension). You can verify that your CXX path is correct by running $CXX --version which should confirm that the c++ compiler is installed and runs

Got some progress!
the compiler was in the /bin/ folder and this time it successfully compiled!
Collecting torchsort
  Downloading torchsort-0.1.9.tar.gz (12 kB)
Building wheels for collected packages: torchsort
  Building wheel for torchsort (setup.py) ... done
  Created wheel for torchsort: filename=torchsort-0.1.9-cp38-cp38-linux_x86_64.whl size=85341 sha256=a455aeafab02d6c445beb2bd2033a1ab594792078c9f5a735331c732d8f3fe9d
  Stored in directory: /tmp/pip-ephem-wheel-cache-bmg93oki/wheels/be/e8/6a/e7a9207a4e2652d424aa5705c2b787a93775f32ab61c0c08a4
Successfully built torchsort
Installing collected packages: torchsort
  Attempting uninstall: torchsort
    Found existing installation: torchsort 0.1.9
    Uninstalling torchsort-0.1.9:
      Successfully uninstalled torchsort-0.1.9
Successfully installed torchsort-0.1.9

but when I run the demo code it gives error:
Traceback (most recent call last):
  File "/home/ein/.conda/envs/py38bebop/lib/python3.8/code.py", line 90, in runcode
    exec(code, self.locals)
  File "<input>", line 2, in <module>
  File "/home/ein/.conda/envs/py38bebop/lib/python3.8/site-packages/torchsort/ops.py", line 56, in soft_sort
    return SoftSort.apply(values, regularization, regularization_strength)
  File "/home/ein/.conda/envs/py38bebop/lib/python3.8/site-packages/torchsort/ops.py", line 140, in forward
    sol = isotonic_l2[s.device.type](w - s)
  File "/home/ein/.conda/envs/py38bebop/lib/python3.8/site-packages/torchsort/ops.py", line 31, in _error
    raise ImportError(
ImportError: You are trying to use the torchsort CUDA extension, but it looks like it is not available. Make sure you have the CUDA toolchain installed, and reinstall torchsort with `pip install --force-reinstall --no-cache-dir torchsort` to rebuild the extension.

When I run $CXX --version it gives x86_64-conda_cos6-linux-gnu-g++ (crosstool-NG <IP_ADDRESS>_b0863d8_dirty) 9.3.0
From the readme it sounds like it should be 9.40 ? (or is that a typo and should be 9.4.0? (I tried both but conda can't find them to install)

Okay great. I'm guessing the particular version of g++ doesn't really matter. Does the demo work without CUDA? If so, that means at least the C++ extension compiled correctly.
If it is now just the CUDA portion that is not working, I'm thinking this could now be the problem above with setup.py checking for nvcc. If you run which nvcc does anything show up?

Looking at this SO post, it appears nvcc is not actually included in cudatoolkit but can be installed with:
conda install -c conda-forge cudatoolkit-dev=<version>

nvcc should then be in your PATH, which you can verify with which nvcc, and if that all works reinstalling the extension should work.

@teddykoker  Amazing. This solved it; thank you so much!
happy days:D
tensor([[0.5556, 1.5556, 2.5556, 3.5556, 4.5556, 5.5556, 6.5556, 7.5556, 8.5556]], cuda:0', grad_fn=<SoftSortBackward>)


Android Studio image

Create an image with Android Studio and all the dependencies. Use official JDK image as source.
Images to be inspired on:

Android SDK and Gradle: https://hub.docker.com/r/jacekmarchwicki/android/
Android Studio: https://hub.docker.com/r/wolfitem/android-studio/

Work in progress at https://github.com/fmoliveira/dockerfiles/tree/develop/android-studio.
When I open Android Studio it tells me the SDK isn't installed yet and will attempt to install SDK r24 binaries and SDK r23 sources. In the next screen it throws the error "SDK Tools directory is missing".


AL0717 "either TableRelation or CalcFormula on a FlowField" does not make sense.

IMHO it does not make sense to set either TableRelation or CalcFormula on a FlowField.
As I asked on twitter: Does it make sense at all to set TableRelation?
This question was answered, but still or does not make sense. You always have to set **CalcFormula **, right?

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

ID: d5f8acf9-59b0-31ec-0ada-69e42d60d8f2
Version Independent ID: d5f8acf9-59b0-31ec-0ada-69e42d60d8f2
Content: Compiler Warning AL0717 - Business Central
Content Source: dev-itpro/developer/diagnostics/diagnostic-al717.md
Service: dynamics365-business-central
GitHub Login: @SusanneWindfeldPedersen
Microsoft Alias: solsen

Hey Luc ;-)
https://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb/issues/2544

Thanx @mitrov, abd even better then mine. Before I reported I checked in the topic View all page feedback, and there was nothing. ;-)


[AutoRelease] t2-managednetworkfabric-2023-06-17-58076(can only be merged by SDK owner)

https://github.com/Azure/sdk-release-request/issues/4254
Live test success

issue link:https://github.com/Azure/sdk-release-request/issues/4254

/azp run prepare-pipelines


SABnzbd DARK Theme issue

Hi :)
using stylus to have different themes for some app, i noticed that using the dark theme on sabnzbd the theme has a little color fault on the download bar

could this be fixed?

Yes. It must be set to Glitter light https://docs.theme-park.dev/themes/sabnzbd/#setup


doc: RELEASING.md: clarify first version for a point release

Clarity for something that came up during the October 2023 release cycle.

/thaw


update bower name in readme

Oh sorry, just saw this after I pushed the update from #32.
Thanks for the heads up!


Store all service modifications in the DB.

Create table in the database to record  all service modifications.

I will take it.