Is Spyder designed to be conda installed in more than one environment?

Related:  #1415, https://stackoverflow.com/q/69688113/6609896
A user may want to install a version of spyder in a second environment; in my case it is so that I can upgrade to >=5.1.0 to test out the new lsp which I cannot do in the base environment where spyder is currently installed owing to conflicts.
Now I know I can conda install spyder in a new environment. But this is also described as the naïve approach elsewhere in documentation. Ordinarily conda should allow me to install the same package multiple times safely, however since spyder is a full program and needs to store data like preferences in global places like the registry or User's documents, I thought I should check whether multiple installations are:

A design requirement which you actively test.
A design objective in the back of your minds as you develop; so likely to be supported but not rigorously tested.
A thing that might work but use at your own risk.

Since spyder is not contained purely to the conda env directory, I have to conclude it is partly responsible for managing its own presence in the filesystem and deal with multiple installations without the support of the environment manager. Just wondering what the philosophy is on this.

Closing due to lack of response.


[gyb_syntax_support] Remove Python code specific to SwiftSyntaxBuilder

These functions/definitions have been migrated to the SwiftSyntax repository.

@swift-ci Please smoke test


Turn README into an RST

Current README is just a md file. For publishing to pypi we should generate an RST (spark uses a package to do this).

You can find the PR for this in https://github.com/nteract/coffee_boat/pull/46

@holdenk I think we can close this issue.

Yup, thanks for the fix!


Add Unit Tests for Request Redirect and Retry Methods

Added unit tests for Redirect methods (withRedirectPolicy, withMaxRedirects) and Retry methods (withRetryPolicy, withMaxRetries)
Resolves: https://github.com/gavv/httpexpect/issues/91

Thanks for the PR!
In these tests, you're checking that fields like req.redirectPolicy, req.retryPolicy, etc. are set correctly. While this is a valid check, it's not really helpful. What is really important is how these fields are used later to construct http.Request struct (not to be confused with httpexpect.Request) - as described in the issue.
When you call Expect(), it will look into redirection parameters and set CheckRedirect and GetBody fields of the http.Request (see setupRedirects()). It will also look into retry parameters and perform retries when request is failed (see retryRequest()).
To test this, we need to develop a mock http client (mockClient may help), pass it instead of a real client (see Config), create httpexpect.Request, configure some redirection/retry parameters, and call Expect(). After that we should inspect how Expect() interacted with our mock client - what were the fields of the generated http.Request, did it perform retries, etc.
If you search for mockClient, you can find examples of other tests using the same approach.

Hello @gavv ! Apologies for interfering here. I was experimenting with writing those tests and noticed that in setupRedirects a type assertion on the Client interface takes place at the first line.
func (r *Request) setupRedirects() {
	httpClient, _ := r.config.Client.(*http.Client)

	if httpClient == nil {
		if r.redirectPolicy != defaultRedirectPolicy {
			r.chain.fail("WithRedirectPolicy can be used only if Client is *http.Client")
			return
		}
        ....

Mocking the client while setting a redirect policy other than the default, would make the function return before setting the CheckRedirect and GetBody fields, as the httpClient would be nil after the type assertion. I may miss something here, any thoughts?

@svaloumas oh, I see, you're right. We have to use http.Client here. However there is still a place where we can insert mock: we can set http.Client.Transport to our own implementation of http.RoundTripper interface. It is used to actually send request, and there we can check what requests are generated and produce fake responses.

I'm closing this PR, but keeping the issue open (#91). Also I updated the issue text.


Close tab on middle click

Just about every browser I've used recently has supported closing a tab by middle-clicking on it in the tab bar; could this behavior be added to Min?

At the moment, middle click allows for editing the url, however right click also does this, so I agree that the behavior should be changed to closing the tab.

On my copy (a fresh install of Min v1.1.1), right click on a tab actually doesn't do anything, though I'd prefer that behavior moving to right click so middle click can be used consistently with other browsers and apps. (I hadn't actually noticed at first that there was any difference between left click and middle click, but I can see how switching whether or not the URL is pre-selected can be useful)


Fix bug where job matrices with leading numbers generated duplicate job names

Fixes #2932

Fix bug where job matrices with leading numbers generated duplicate job names
Fail matrix generation when config path or import paths are not found

@JimSuplizio this was that weird issue we were seeing when I was demoing the matrix generator to you.

The following pipelines have been queued for testing:java - templatejava - template - testsjs - templatenet - templatenet - template - testspython - templatepython - template - tests You can sign off on the approval gate to test the release stage of each pipeline. See eng/common workflow

The following pipelines have been queued for testing:java - templatejava - template - testsjs - templatenet - templatenet - template - testspython - templatepython - template - tests You can sign off on the approval gate to test the release stage of each pipeline. See eng/common workflow


Are any string operations possible for this?

Typically a project name is going to be something like Fabrikam.Sales.AccountsManagement.CustomRules or something like that pattern. If using this project name in the template I'd only want to pick out CustomRules and use that for a few file name prefixes, and still use the full project name for namespaces, etc. Is that possible?

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

ID: 5f4a0078-1a87-6e3a-791e-d3068fb7032c
Version Independent ID: 1d2d976d-2698-88d6-fac4-4d34e3855e2a
Content: Project and item template parameters - Visual Studio
Content Source: docs/ide/template-parameters.md
Product: visual-studio-windows
Technology: vs-ide-general
GitHub Login: @TerryGLee
Microsoft Alias: tglee

@StingyJack Thanks for your question. It looks like you're having an issue with the product itself, rather than an issue with the documentation. Here are a few options where you might consider asking your question:

https://social.msdn.microsoft.com/Forums/vstudio
https://www.stackoverflow.com
https://www.reddit.com/r/VisualStudio/

As well, you might also consider using the Report a Problem tool to report the issue.
I am closing this issue now.  You are welcome to @ mention me for any followup.
We hope to hear from you again.


Gradle: Use Java bundled with Android Studio

The Gradle-based build process currently requires either JAVA_HOME to be set or that java is in your path. It would be nice if Gradle could just use the Java version that comes bundled with Android Studio (C:\Program Files\Android\Android Studio\jre).
Especially on platforms that don't ship with java by default (e.g. Windows), that would simplify the setup instructions to get started (e.i. remove the need to download and install stand-alone Java).
/cc @jakobr-google @mit-mit

How does this affect install instructions?
On Wed, Mar 1, 2017, 4:13 PM Michael Goderbauer<EMAIL_ADDRESS>wrote:

The Gradle-based build process currently requires either JAVA_HOME to be
set or that java is in your path. It would be nice if Gradle could just
use the Java version that comes bundled with Android Studio (C:\Program
Files\Android\Android Studio\jre).
Especially on platforms that don't ship with java by default (e.g.
Windows), that would simplify the setup instructions to get started (e.i.
remove the need to download and install stand-alone Java).
/cc @jakobr-google https://github.com/jakobr-google @mit-mit
https://github.com/mit-mit
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/8515, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAVZ6Lt5R4KDopVnoqmTUPHjYABnffJks5rhgmmgaJpZM4MQYYV
.

Currently, people on Windows need to do one of the following:

Download and install the ~200MB Java run-time from Oracle after accepting Oracle's License Agreement, or
Add the Java version bundled with Android Studio to their PATH (a multi-step process on Windows).

If Flutter were smart enough to just use the bundled Java version, we could skip those steps. With less setup steps, there are fewer chances for miss-configuration, and people can get started quicker with writing apps!

That would be super nice, yeah. It's actually the version of Gradle that's bundled with Android Studio that requires Java (and apparently doesn't think to look in the jre directory right next to itself...).
We could get Flutter Tools to detect this situation and set JAVA_HOME when calling Gradle.

I just verified this under Windows: when I uninstall stand-alone Java and manually set my JAVA_HOME to the bundled JRE directory, flutter works still as expected.

Sounds really nice if we could get rid of that extra install!

Hello,
Is it hard-coded in flutter to use Java bundled with Android Studio or can I change it to my JDK installation? I have my JAVA_HOME correctly setup and when I run java -version, it reports the version from my JDK installation, but flutter always uses the Java bundled with Android Studio even though it is not in my PATH and even when running from Powershell or Visual Studio Code. Is there anyway that I can tell flutter to use the JDK version of Java?
Thanks.


How to setup it through the omni function?

If you set this to false, nvim-cmp will not perform completion automatically. You can still use manual completion though (like omni-completion via the cmp.mapping.complete function).

I tried something like this:
  local function buf_set_option(...) vim.api.nvim_buf_set_option(bufnr, ...) end

  buf_set_option('omnifunc', "lua require'cmp'.mapping.complete")

But, I get the follow error as soon as I try to use the omni:

Thank you.

The require('cmp').mapping.complete() is not a omni function.
nvim-cmp isnt' provide omni function you should use <C-x><C-o> mapping instead.
local cmp = require('cmp')
cmp.setup {
  mapping = {
    ['<C-x><C-o>'] = cmp.mapping.complete()
  }

or you can create omni function wrapper.
function _G.MyOmniFunc(findstart, prefix)
  if findstart == 1 then
    return vim.fn.col('.')
  end
  require('cmp').complete()
  return {}
end
}


Improve cache cost to handle heterogenous historicals

Adding support for cache cost to handle heterogeneous clusters. Without this smaller size historicals get full a lot faster than bigger size historicals

@jihoonson This has been running on our clusters for about 3 weeks, things look much better with this change

@niketh thanks, it sounds nice.

If you can, would you share some numbers like the min/max ratio of the used capacity to the total storage capacity? It would be greatly helpful to understand the benefit of this PR.

@jihoonson Before the change, we have n historicals with 250G and m historicals with 500G. All the n historicals would reach 100% disk utilisation.
Before PR
min: 0.74 max: 1
After PR
min: 0.86 max:0.92

@niketh awesome!

@niketh how this change relates to DiskNormalizedCostBalancerStrategy? Also is there a reason why it uses integer division instead of floating point?


Start a new session once it expires

CloudFlare only lets you perform a certain number of requests until the session expires. Can we use response hooks to check if the page is the challenge page, and if so, start a new session?
Or is there another reason why this isn't possible (I see this has been asked before)?

I'll look into this.

I changed the code to just constantly re-check for the challenge page headers, rather than checking if we have a cookie set. I believe my initial reason for not doing so was potential performance impact, but the overhead should be so minuscule that it really doesn't matter.
Can you try now?


'#aNaNaN' colors returned with small (but acceptable) nshades

> colormap({colormap: 'YIGnBu', nshades: 12})
[ '#081d58',
  '#253494',
  '#aNaNaN',
  '#225ea8',
  '#1d91c0',
  '#aNaNaN',
  '#41b6c4',
  '#7fcdbb',
  '#aNaNaN',
  '#c7e9b4',
  '#edf8d9',
  '#aNaNaN' ]

The minimum number of colors should be updated or the code altered to allow fewer shades — it is stated that the minimum for YIGnBu is 9.
Thanks.

This is caused by arraytools issue #1.

wow I totally missed these issue! Super sorry.

fixed in arraytools and bumped dep version here. Thanks!


Background Image is not visible when deployed on github.

I was creating a login page, and I've added an image for the background. But when i tried to deploy the website, the background image is not displaying on the website. Please help.
My repo: https://github.com/chriz-ty/Flipping-Card
hosted link: https://chriz-ty.github.io/Flipping-Card/index.html

ok


Remove index merging code from src/htsjdk

Use the code from htsjdk when it's available there. See https://github.com/samtools/htsjdk/pull/1263

Updated the Disq branch (https://github.com/tomwhite/disq/tree/htsjdk-index-merging). The htsjdk side still needs to be reviewed.

Fixed in #121


edgelength proportional to weight

Description
I am trying to create a physics direct network graph using Dash Cytoscape. I have tried using Cose, Cose-Bilkent and now Cola, but my issue is that I cannot get the edge lengths to be clearly directly proportional to the weight.
In JS in Cola you can in the layout parameters for 'edgeLength' set to a function e.g. function(e){ return params.edgeLengthVal / e.data('weight'); }, but in Python I can't work out the alternative. Passing a defined function doesn't work, nor does passing a dict to layout, or specifying the EdgeLength for each element within the data dict.
If I could achieve something like this but in Python that would be ideal. I want to do it in Python as this is one of a series of Dash graphs which are part of a larger project entirely built in Python, and I am not familiar with JS.
Steps/Code to Reproduce
Example:
import json

import dash
import dash_html_components as html

import dash_cytoscape as cyto
cyto.load_extra_layouts()
app = dash.Dash(__name__)
server = app.server

app.scripts.config.serve_locally = True
app.css.config.serve_locally = True

# Load Data
with open('data.json', 'r') as f:
    elements = json.loads(f.read())

nodes = [{"data":{"id":"1",'name':'1','score':1},"group": "nodes"},
         {"data":{"id":"2",'name':'2','score':0.1},"group": "nodes"},
         {"data":{"id":"3",'name':'3','score':0.1},"group": "nodes"},
         {"data":{"id":"4",'name':'4','score':0.1},"group": "nodes"}]

edges = [
    {"data":{"id":"1-2","source":"1","target":"2","weight":1},"group": "edges"},
    {"data":{"id":"1-3","source":"1","target":"3","weight":0.1},"group": "edges"},
    {"data":{"id":"1-4","source":"1","target":"4","weight":0.1},"group": "edges"},
    {"data":{"id":"2-3","source":"2","target":"3","weight":0.1},"group": "edges"},
    {"data":{"id":"2-4","source":"2","target":"4","weight":0.1},"group": "edges"},
    {"data":{"id":"3-4","source":"3","target":"4","weight":0.1,"edgeLength":20000},"group": "edges"}
]
elements = nodes + edges
print(elements)

with open('cy-style_2.json', 'r') as f:
    stylesheet = json.loads(f.read())

def length(edge):
    distance = 100/edge['data']['weight']
    return distance

# App
app.layout = html.Div([
    cyto.Cytoscape(
        id='cytoscape',
        elements=elements,
        stylesheet=stylesheet,
        style={
            'width': '100%',
            'height': '100%',
            'position': 'absolute',
            'left': 0,
            'top': 0,
            'z-index': 999

        },
        layout={
            'name': 'cola',
            'EdgeLength': length,
            'maxSimulationTime': 8000,
            'convergenceThreshold': 0.001,
            'nodeOverlap': 20,
            'refresh': 20,
            'fit': True,
            'padding': 30,
            'randomize': True,
            'componentSpacing': 100,
            'nodeRepulsion': 400000,
            'edgeElasticity': 100000,
            'nestingFactor': 5,
            'gravity': 80,
            'numIter': 1000,
            'initialTemp': 200,
            'coolingFactor': 0.95,
            'minTemp': 1.0
        }
    )
])
print(app.layout)
if __name__ == '__main__':
    app.run_server(debug=True)

It would also be great to be able to make the attractive force proportional to the weight


Update Ui.png for v1.2

Description
Update Ui.png with latest screenshot of LeadsForce

Type of change

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

Checklist

[X] I have updated the documentation

Codecov Report

Merging #83 (b6774a2) into master (e0d25b9) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #83   +/-   ##
=========================================
  Coverage     70.86%   70.86%
  Complexity      587      587
=========================================
  Files            98       98
  Lines          1819     1819
  Branches        224      224
=========================================
  Hits           1289     1289
  Misses          438      438
  Partials         92       92

Continue to review full report at Codecov.

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


Include host header in nginx conf

Coverage remained the same at 99.458% when pulling dc18703921118c5ae134233490c2dab32252b796 on JorgeMartinezG:proxy_header into 63fd37f4b8663f806bbcd284dce5a714f2af7025 on boundlessgeo:master.


Pipeline as code for Azure DevOps

This is literally about 5 clicks. I just set-up an Azure DevOps CI Pipeline for my forked copy from my phone. Not sure if I am allowed to do same on master or need Admin / permissions.

This is literally about 5 clicks. I just set-up an Azure DevOps CI Pipeline for my forked copy from my phone. Not sure if I am allowed to do same on master or need Admin / permission


bench: sync before benchies

the first benchmark repeatedly fails:
https://neon-github-public-dev.s3.amazonaws.com/reports/main/10743838300/index.html#behaviors/b1a8273437954620fa374b796ffaacdd/6e88523163820fdd/
Earlier attempt: #8919

Seems the problem reproduced here, either the sync is being done at the wrong host, or then this just isn't the right way to go.

Wouldn't it make sense to do this between each test? (unless we already do that elsewhere?)
That could be done from neon_fixtures.py

We have sync_after_each_test(), I guess we can make it call os.sync() before and after each test (in this case we'll need to rename the method)


Jw 499 signwin

Retest this please

Retest this please

Retest this please

Retest this please

Retest this please

Retest this please

Retest this please

Retest this please


Ecommerce: adds activation and expiration dates to discount codes

Pre-Flight checklist

[X] Migrations

[X] Migration is backwards-compatible with current production code

[X] Testing

[X] Code is tested
[X] Changes have been manually tested

What are the relevant tickets?
Fixes #832
What's this PR do?
Adds an optional activation and expiration date to discount codes. If set, the discount code cannot be applied if the current date/time is before the activation date or after the expiration date. This applies to user discounts and flexible pricing discounts as well.
How should this be manually tested?
All automated tests should pass.

In Django Admin, create or modify a discount code such that it has an activation date or an expiration date (or both).
Attempt to redeem the discount through the cart. If today's date is before the activation date, or if it's past the expiration date, it should fail.

https://github.com/mitodl/mitxonline/pull/848/commits/19eab06ec4e000b82bb1662b0cf38f602e74b589 adds in clean up and updates the checkout code to make sure the discounts are valid before proceeding. At the moment, if this check fails, you get a notification banner and it clears your discounts (and reapplies any user/flex pricing discounts you may have).

Codecov Report

Merging #848 (19eab06) into main (ea62d7a) will increase coverage by 0.15%.
The diff coverage is 96.00%.

@@            Coverage Diff             @@
##             main     #848      +/-   ##
==========================================
+ Coverage   85.13%   85.29%   +0.15%
==========================================
  Files         132      132
  Lines        5868     5888      +20
  Branches      967      973       +6
==========================================
+ Hits         4996     5022      +26
+ Misses        715      710       -5
+ Partials      157      156       -1

Impacted Files
Coverage Δ

ecommerce/api.py
81.45% <92.30%> (+1.27%)
:arrow_up:

ecommerce/models.py
91.21% <100.00%> (+0.27%)
:arrow_up:

ecommerce/views/v0/__init__.py
87.50% <100.00%> (+1.36%)
:arrow_up:

main/constants.py
100.00% <100.00%> (ø)

ecommerce/discounts.py
77.19% <0.00%> (+5.26%)
:arrow_up:

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

https://github.com/mitodl/mitxonline/pull/848/commits/ec4b16b61b5ae5486e4345f07de46893c393b0d2 updates determine_courseware_flexible_price_discount to factor in the tier discount dates (if they exist), which is ultimately where the ProductDetailEnrollApp amongst others gets that data.


Upgrade BeautifulSoup→4.5.1; restore html5lib import

It seems that #2842 was a temporary measure. BeautifulSoup 4.5.1 fixes the html5lib dependency itself, see https://bugs.launchpad.net/beautifulsoup/+bug/1603299. This change removes the temporary html5lib explicit version specification.

Merged in ae3fba183aa8c879f592bb70c9cef71a946b9126 - thanks!


Redirect from where the login was initiated is not working

Problem description
Downloading works, but when the Item is in the collection where the user cannot access the user is redirected to the login page, but from there it is redirected to the login instead of item page.
E.g. the collection Wikitonques Item: Meninet speaking Tigrigna
PR: https://github.com/dataquest-dev/dspace-angular/pull/404
Test:

[ ] Try to download some restricted bitstream and you will be redirected to the login page. Choose **local** -> login -> you should be redirected to the downloading page instead of home page.
[ ] Try to download some restricted bitstream and you will be redirected to the login page. Choose **Shibboleth login** -> login -> you should be redirected to the downloading page instead of home page.
[ ] Try to access to the some Item which is stored in the Restricted collection (anonymous user cannot access to it) -> you will be redirected to the login page -> choose **local** -> login -> you should be redirected to the Item which is hidden for the Anonymous user. For this test scenario you must find out/update collection for the Item which not allowed to see by ANONYMOUS user.
[ ] Try to access to the some Item which is stored in the Restricted collection (anonymous user cannot access to it) -> you will be redirected to the login page -> choose Shibboleth login -> login -> you should be redirected to the Item which is hidden for the Anonymous user. For this test scenario you must find out/update collection for the Item which not allowed to see by ANONYMOUS user.

Test:

**Test at http://dev-5.pc:82/home: **
Step3: Try to access to the some Item which is stored in the Restricted collection (anonymous user cannot access to it) -> you will be redirected to the login page -> choose local -> login -> you should be redirected to the Item which is hidden for the Anonymous user. For this test scenario you must find out/update collection for the Item which not allowed to see by ANONYMOUS user.

I created new person by Access Control -> Person
I created new collection. In mark Assign Roles -> Default item read access and Default bitstream read access I pushed the buttons Restrict. In mark `Authorization I added new authorization for created person.
In Access Control -> Person I added created person to group `COLLECTION_[created collection uuid]_ITEM_DEFAULT_READ.
I created item in this collection with public available license.

Result: When you are log in as person, whose is not member of ITEM_DEFAULT_READ group and the items have public available license and these items were created after added restricted use for collection, you cannot see these items. RIGHT

Result: When you create items in collection and after that you will add restricted use for collection, you will see these items without collection despite that you shouldn't have policies! ERROR

Result: When you are  member of ITEM_DEFAULT_READ group, but you are not assigned in collection Authorization, you can see  items but without collection. (Items were created after added restricted use for collection) ERROR?

Result: When you follow the descripted steps and you are log in, you can see items with collection. (But you don't see items created before added restricted use) RIGHT?


Update AIBS dandisets' license fields

Originally posted by @satra in https://github.com/dandi/dandiarchive/issues/858#issuecomment-1002669465:

we need to fix their published dandiset records (they gave us permission), but they changed all their licenses to CC-BY

@satra, can we generate a list of the dandisets that need to be updated?

the two returned by this search: https://gui.dandiarchive.org/#/dandiset/search?search=CC-BY-NC published


Implemented a show_type function for nightly playbot.

This change also defaults #![feature(core_intrinsics)] on --nightly
One question one should ask before merging is if it is viable to include an intrinsics function in this project, as intrinsics are currently unstable.
Thanks to user albel727 on irc for the idea.

The reasons for this is because using () == T or let _:() = T when teaching users on irc doesn't show what the type is in the output as it is a compile time error.


feat: add sorting to catalog page

Description
This PR fixes #
Notes for Reviewers
Signed commits

[ ] Yes, I signed my commits.

@sudhanshutech I have confusion with rebasing so I had to create a new PR


Introducing Alluxio Guru on Gurubase.io

Hello team,
I'm the maintainer of Anteon. We have created Gurubase.io with the mission of building a centralized, open-source tool-focused knowledge base. Essentially, each "guru" is equipped with custom knowledge to answer user questions based on collected data related to that tool.
I wanted to update you that I've manually added the Alluxio Guru to Gurubase. Alluxio Guru uses the data from this repo and data from the docs to answer questions by leveraging the LLM.
In this PR, I showcased the "Alluxio Guru", which highlights that Alluxio now has an AI assistant available to help users with their questions. Please let me know your thoughts on this contribution.
Additionally, if you want me to disable Alluxio Guru in Gurubase, just let me know that's totally fine.

Hi everyone,
Have you had a chance to check this out?
Additionally, I’d like to update you on the release of the Maintainer Panel feature on Gurubase. With this panel, you can add, remove, or update data sources, as well as change the logo and more. You can find the details here.
In the near future, I’m planning to include analytics insights in this panel, such as the number of questions asked, the most frequently asked ones, and more. I’ll be sure to update this thread once it’s available. However, in case I miss it, I highly recommend joining our Discord channel to stay updated.
If you’d prefer that I don’t update this thread anymore, please let me know.


Hosting .NET Core APP V2.2 to IIS Error 500

I have recently tried obfuscar tool to obfuscate .NET core v2.2 project , the project runs successfully by Kestrel but doesn't run on IIS , however , it runs on IIS without obfuscation. I see error code 500 as response but there weren't any details.
I have downloaded .NET Core Hosting bundle and checked the logs but there were no details about the error.
Any help to find out the problem , or how to even show the detailed error?

I already answered on Stack Overflow.

@lextm doesn't work


No more paused projects in index

Allows for the confusing situation where you could have a live: true project that was also state: paused. This adds a scope to the serializer call to force Project.where(state: nil) if ?state=live is passed as a param. Hacky also, but this is exactly why we need to consolidate all of these.
Review checklist

[ ] First, the most important one: is this PR small enough that you can actually review it? Feel free to just reject a branch if the changes are hard to review due to the length of the diff.
[ ] If there are any migrations, will they the previous version of the app work correctly after they've been run (e.g. the don't remove columns still known about by ActiveRecord).
[ ] If anything changed with regards to the public API, are those changes also documented in the apiary.apib file?
[ ] Are all the changes covered by tests? Think about any possible edge cases that might be left untested.

Is this good to merge?

@simoneduca

camallen approved these changes 3 days ago


Upgrade to axum-core 0.5

Thanks for the feedback. I'll clean this up when I have a minute to focus on it.


Close Editor Keybinding on pinned tab should not move to next editor

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.93.1 (Universal)
OS Version: macOS 14.6.1 (23G93)

I remember permatabs in Firefox and desire to get VSCode's pinned tabs operating more like that, which I find very intuitive. VSCode's pinned tab system is unfortunately somewhat awkward.
First, the pinned tab button is clickable. It resides in the exact same place that the close tab button normally resides. If I click on it twice, then the pinned tab closed. So I want an option to disable the click event altogether on the pin icon. I want to restrict VSCode to unpin only via the chord hotkey or the tab context menu. I cannot figure out how to accomplish this from the VSCode API documentation.
For now, I am hiding the close button and using the ordinary close tab hotkey as the primary way of closing my (unpinned) tabs. That way, I am less tempted to click on the pin/close button area.
Second, when I press the ordinary hotkey to close the hotkey  (Command+W  in macOS, Control+W elsewhere), then I expect absolutely nothing to happen. But if there are other non-pinned tabs open, then the navigation changes to the most recently used non-pinned tab. Not only is the event being mishandled in terms of taking an action, but it's not even respecting a semi-related preference to close and navigate left to right, instead of by recency. So at the end of the day, I don't want the active tab changed at all when using the hotkey on a pinned tab.
I tried some different when condition snippets for the second problem, but they either had no effect on application behavior, or prevented non-pinned tabs from closing.
I also tried showing an event log of stock VSCode button click events, in order to gather more information and build towards a settings.json configuration that would address these UX problems. But none of the Google results show how to debug VSCode's own DOM tree, only user project DOM trees.
Finally, there is a subtle width margin or width padding difference between pinned vs non-pinned tabs. This is revealed by quickly toggling between the two states, when the unpin button is hidden. I have not activated the setting to compact pinned tabs into just icons. I have activated the setting to apply fixed tab widths regardless of filename. So I wouldn't expect a tab width difference based on the pinned vs unpinned state alone.
TL;DR. I would be satisfied with the addition of one more boolean options, to control whether the pin button is clickable, and a patch to the close tab handler so that it behaves as NO-OP whenever the tab is pinned.

@bpasero What is the reason for moving to the next tab when using the close editor keybinding?
https://github.com/microsoft/vscode/blob/d66eb6b82f4fd73db17a4b7cc0799f90a09207bc/src/vs/workbench/browser/parts/editor/editorCommands.ts#L706
@mcandre we are not planning on making the pin/unpin action unclickable. You are able to hide it with workbench.editor.tabActionUnpinVisibility if that helps. It is also possible to move the action to the left of the tab with workbench.editor.tabActionLocation

@bpasero What is the reason for moving to the next tab when using the close editor keybinding?

So that you can quickly close all tabs when pressing the keybinding multiple times and not get stuck on a pinned one.

To get the desired behaviour with Ctrl + W you can set the when clause to !activeEditorIsPinned.
Closing as we already have issues open regarding the other issues or are not planning to make any changes in the short term


Sending screen breaks when you leave one of the fields empty

If we're gonna replace the screens this is not a big issue of course, but I'm mentioning it regardless

#47 fixes this, we now have a simple error notification.


Rewrite module extension

Thanks to @sergey-chechaev for this issue.
Because extending a klass with the Dry::Initializer defines #initialize directly, later redefinition of the #initialize causes warning like this:
warning: method redefined; discarding old initialize
rvm/gems/ruby-2.3.0/gems/dry-initializer-1.4.0/lib/dry/initializer/dsl.rb:35: warning: previous definition of initialize was here

Instead of direct addition, we need to isolate that methods inside another module.

@sergey-chechaev fixed in v1.4.1


The justification of text in about-us page

Describe your Proposal
I think that the text in the about-us page should be justified from both the sides it may increase UI of the website .
Additional context

Have you read the Code of Conduct?
Write your answer here.
yes

@Ayushmaanagarwal1211  i don't see it a bug as its intentionally kept it in this way


feat: verify network system configuration during preflight

What this PR does / why we need it:
Make sure the user deliberately sets up a few sysctl parameters. K0s sets these automatically but we want to make users deliberately enable them anyways. The goal is to let users aware that these configurations are necessary. These parameters were copied from k0s source code.
Which issue(s) this PR fixes:
https://app.shortcut.com/replicated/story/110749/preflight-for-ip-forwarding
Does this PR require a test?
TO BE IMPLEMENTED
Does this PR require a release note?
Start to verify more sysctl configuration prior to installation.

We have decided to postpone this work (see Shortcut). Closing this one.


bug(mat-chip-option): Cursor should be "pointer" on hover

Is this a regression?

[ ] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
No response
Description
When using "Basic chips" as shown in the documentation at https://material.angular.io/components/chips/overview, (v15.0.0) I think the mouse cursor be styled as "pointer" instead of the "default" cursor.
Reproduction
Steps to reproduce:

Use the link in the issue description.
Hover the mouse over each of the first example chips in this overview section, i.e. "One fish", "Two fish", etc.
Notice the mouse cursor does not change when hovering over these "clickable" chips.

Expected Behavior
Cursor to change to "pointer" when hovering over clickable chips.
Actual Behavior
The cursor remains as "default" when hovering over clickable chips.
Environment

Angular: 15.0.0
CDK/Material: 15.0.0
Browser(s): Chrome, Firefox, Edge
Operating System: Windows 10

Adding this overly specific selector to the global styles.css is a workaround:
button[matchipaction][role="option"][aria-disabled="false"][type="button"] {
  cursor: pointer;
}


Anonymous Message - PR for issue #119

Anonymous Message - PR for issue #119

Thanks for this PR, can you remove the unwanted files modification in this PR and squash your commit if possible ? We would gladly accept this PR with that done, ty

Thanks for this PR, can you remove the unwanted files modification in this PR and squash your commit if possible ? We would gladly accept this PR with that done, ty

Sorry, I don't know how this happened. It is now fixed.

Ca a été mergé ref https://github.com/SOZ-Faut-etre-Sub/SOZ-FiveM-Server/commit/34094e084d8f2a393bab5690eaf25d93e7a3d5fb merci énormement ❤


fix(Phaser.Actions.GetLast): fix the incorrect logic about GetLast fu…

…nction
Closes fix 6513
Please do not update the README or Change Log, we will do this when we merge your PR.
This PR (delete as applicable)

Fixes a bug

Describe the changes below:

The GetLast function is not implemented correctly, try to fix it now.

👍


Client Allocation Request for: liangdao

Client Allocation Questions
Core Information

Name: liangdao
Website / Social Media: https://liangdao.ai
Region: Greater China
DataCap Requested: 20TiB
Addresses to be Notarized: f1lusc7rktephp6o4w5mpvvz43mmv62ubmcy3niri
Notary Requested: neogeweb3

@hyunsoo12 Please subscribe to notifications for this Issue to be aware of updates. Notaries may request additional information on the Issue.

hello.
Request to add datacap.
Please.
https://github.com/filecoin-project/filecoin-plus-client-onboarding/issues/1100
https://github.com/filecoin-project/filecoin-plus-client-onboarding/issues/1171
liangdao-0504.xlsx

Hey @hyunsoo12, thanks for the request. I have some questions regarding your request. Please describe answers as much specificity as you can.

Can you introduce yourself? Where can I find you online? (Github, Twitter, Linkedin handle, Wechat, etc.)
If you represent an organization, what is the name, nature, registration country, time since inception, and named officers of your organization?
In which region(s) do you intend to use the DataCap?
What is your use case for the DataCap being requested?
Do you plan to specify advanced features when utilizing a DataCap in your storage deal? If so, please specify the feature.
How many miners do you plan on allocating the DataCap? If you have a specific miner(s) you would like to allocate a DataCap, please specify.
Do you agree on providing transparency of DataCap allocation decisions & execution details in public to prevent excessive/unfair (20% of DataCap allocation) self-dealing?

Moreover, I encourage you to take a look of my allocation strategy  and flow which shows how I utilize the assessment. Thanks.
Also, can you provide some proof of you are working for liangdao? What would be the best email I could reach out to you, I will need a work email under the domain liangdao.ai, thanks.


failed build on armv7l raspberry pi

hi!
cant build on armv7l.
tried this:
cd /path/to/working/dir
git clone https://github.com/stella-cv/FBoW.git
cd FBoW
nano CMakeLists.txt
	option(USE_AVX "Set on/off" OFF)
	option(USE_SSE3 "Set on/off" OFF)
	option(USE_SSE4 "Set on/off" OFF)
mkdir build && cd build
cmake \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX=/usr/local \
    ..
make -j4 && make install

but got error:
Scanning dependencies of target fbow
[ 33%] Building CXX object CMakeFiles/fbow.dir/src/fbow.cpp.o
In file included from /home/pi/FBoW/include/fbow/fbow.h:34,
                 from /home/pi/FBoW/src/fbow.cpp:27:
/home/pi/FBoW/include/fbow/vocabulary.h:40:10: fatal error: immintrin.h: No such file or directory
 #include <immintrin.h>
          ^~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/fbow.dir/build.make:63: CMakeFiles/fbow.dir/src/fbow.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:77: CMakeFiles/fbow.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

if comment out  immintrin.h in file mentioned building crashes.
help a bit, please.

if comment out immintrin.h in file mentioned building crashes.

Please provide logs of that time. Also, is there enough memory?

as i comment out this:
//#if !defined(__ANDROID__) && !defined(__arm64__) && !defined(__aarch64__)
//#include <immintrin.h>
//#endif

i see next errors:
pi@base:~/FBoW/build $ make -j1
[ 33%] Building CXX object CMakeFiles/fbow.dir/src/fbow.cpp.o
In file included from /home/pi/FBoW/include/fbow/vocabulary.h:42,
                 from /home/pi/FBoW/include/fbow/fbow.h:34,
                 from /home/pi/FBoW/src/fbow.cpp:27:
/home/pi/FBoW/include/fbow/cpu.h:49:5: error: #error "No cpuid intrinsic defined for processor architecture."
 #   error "No cpuid intrinsic defined for processor architecture."
     ^~~~~
^Cmake[2]: *** [CMakeFiles/fbow.dir/build.make:63: CMakeFiles/fbow.dir/src/fbow.cpp.o] Interrupt
make[1]: *** [CMakeFiles/Makefile2:77: CMakeFiles/fbow.dir/all] Interrupt
make: *** [Makefile:130: all] Interrupt

What OS are you using?

rapbian buster

Try https://github.com/stella-cv/FBoW/tree/feature/arm

got this:
pi@base:~/FBoW/build $ make
Scanning dependencies of target fbow_lib
[  9%] Building CXX object src/CMakeFiles/fbow_lib.dir/fbow.cpp.o
c++: error: unrecognized command line option ‘-msse3’
c++: error: unrecognized command line option ‘-msse4.1’
c++: error: unrecognized command line option ‘-mavx’; did you mean ‘-marm’?
make[2]: *** [src/CMakeFiles/fbow_lib.dir/build.make:63: src/CMakeFiles/fbow_lib.dir/fbow.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:168: src/CMakeFiles/fbow_lib.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

ok. fixed it!
git clone https://github.com/stella-cv/FBoW.git --branch feature/arm
cd FBoW && mkdir build && cd build
cmake .. -DBUILD_TESTS=ON -DBUILD_UTILS=ON -DUSE_SSE3=OFF -DUSE_SSE4=OFF -DUSE_AVX=OFF
make && sudo make install

thanks!


Helm repo is down

 helm repo add spark-operator https://googlecloudplatform.github.io/spark-on-k8s-operator
Error: looks like "https://googlecloudplatform.github.io/spark-on-k8s-operator" is not a valid chart repository or cannot be reached: failed to fetch https://googlecloudplatform.github.io/spark-on-k8s-operator/index.yaml : 404 Not Found

Workaround: helm repo add spark-operator https://kubeflow.github.io/spark-operator/ see #1926.

The documentation wasn't updated for the new location. Can we do that before closing another ticket about this?

Duplicate of https://github.com/kubeflow/spark-operator/issues/1929


Drop downs fail to show in chrome / chromium

Rancher Version: 1.2.0-pre2
Docker Version: 1.11.2
Ubuntu 15.10 / VPS host
Single node internal DB
Chromium version 52.0.2743.116-1
Chrome version 53.0.2785.92-1
After upgrading to 1.2.0-pre2 from 1.1.2 the drop downs in the UI (environemnt / stacks / infrastructure) no longer function in Chrome or Chromium, Firefox works as expected.
Here is a screenshot of me hovering over the environment menu item (chromium):

Testes with RancherOS host and 1.2.0-pre2. Same problem. Downgrade rancher server solved the dropdown problem.

Same with pre3

We all use Chrome and have not seen this... Is there anything in the browser console?

I get the same as pwFoo since upgrading to 1.2 series, and have had to use Firefox as a workaround. It's reproducible in Chromium...
Version 52.0.2743.116 Built on Ubuntu , running on Ubuntu 16.04 (64-bit)

Checked the console. Just see the websocket connect successfully... No errors. No dropdowns.

Can confirm I still see this on v1.2.0-pre3-rc1 with a fresh database. Same as @pwFoo - the only console messages are about the websocket.
What version of chrome @pwFoo?

Tested with Chrome 52.0.2743.116 m (64-bit) and  53.0.2785.101 m (64-bit) @ Win10

Same error with Chrome 53.0.2785.101 (64-bit) on ubuntu 15.10 (no dropsdown, no error message in the console)

Tested with official Chrome Version 53.0.2785.116 (64-bit) and I'm seeing the drop-downs.

I'm pretty sure this is to do with having a touch screen enabled desktop. I'm using chrome 53.0.2785.116 m and I can see the dropdown when hovering. But in Firefox it works. The difference is that chrome detects my touchscreen and tags the body element with the 'touch' class where as firefox does not.
the ui/app/mixins/hover-dropdowns.js on line 21 looks for the touch class and then basically thinks chrome is a large tablet. Maybe there needs to be another breakpoint to detect a desktop vs tablet?

I can concur that I am having the problem when running a touchscreen enabled laptop, but it works fine on another machine with an ordinary screen.

I have a touch screen laptop as well.
If you are like me and don't use the touch screen much you can force chrome to disable touch events in chrome://flags ('Enable touch events' -> disabled). Just tested it and the drop downs work again.

Thanks @blueo @rossigee @kbrownlees, that was the missing piece of info and why nobody with a normal laptop/VM could reproduce.

Version - master 11/10 UI - 1.2.21
@westlywright
The drop-down for environment no longer works on the iphone/ipad.  When I first get into the app, it takes me to Manage environment, and if I try to select the environment drop-down it just keeps taking me to Manage environment.

Version - master 11/15
Still going to manage environment instead of User stack when starting or selecting a environment from the drop-down.

@tfiduccia That is a bug in iOS9 Safari that is causing some of the API calls made on load to fail somewhat randomly.  Triggered by a change since 1.1.x to make multiple calls in parallel on initial load instead of 1 at a time.
When one of them fails you're currently sent to the Environments page (which is a separate problem, it should really be sending you to the error screen here...)
Added in hack to limit loading to 1 request at a time for Safari on iOS <= 9.

Version - master 11/18
Verified fixed


Following tests failed, but could not be found in the source files:

How to debug "Following tests failed, but could not be found in the source files:"
I see something like this
These are all the test results I was able to find from your jest-junit reporter

55 tests were completed in 22.371s with 55 passed heavy_check_mark and 0 failed heavy_multiplication_x tests.

Following tests failed, but could not be found in the source files:

    ComponentBeta ComponentBeta - renders without error
    ComponentBeta ComponentBeta - should render post load
    ComponentBeta ComponentBeta - making a successful action
    TipAmount > matches snapshot
    AmountBeta > matches snapshot
...

And not the same as the screenshot shown in the readme

I presume either the test file or the test name could not be found. You should check if the junit file has the right paths to the test files relative to the working directory option and if the test name matches a test within the test file itself.

Sorry for the delayed response

I presume either the test file or the test name could not be found. You should check if the junit file has the right paths to the test files relative to the working directory option and if the test name matches a test within the test file itself.

Sorry for the delayed response

I was getting the same issue. Here's what I did to resolve the issue:
Add this block into the package.json file. My test file App.test.jsx is located in the src folder (I'm using the default demo create react app).
"jest-junit": {
    "suiteNameTemplate": "src/{filename}"
  },

Execute your npm command to run the test. This produces a junit.xml file in the root directory. The test suite name now contains the test file name along with the path from the root directory where the junit file is located to the test file.
<testsuite name="./src/App.test.jsx">

I'm not 100% sure and convinced why this approach is preferred. Without the setting above, it is still able to run the test, but not able to locate the file, which is weird because it must have had to find the file to run the test? Anyway, hope this helps.

Just as an FYI for anyone who, like me stumbles upon this issue: The error may also be displayed, if the test fails without a stacktrace. This happend to me in an integration test when the database was not set up correctly.


Default to mp4 output

currently defaults to avi

change .avi to .mp4 in the output name(settings)

change .avi to .mp4 in the output name(settings)

I think he means you should switch to mp4 in default because it's a superior container

AFAIK mp4 doesn't support XVID, to do this most likely you would need ffmpeg exporter on by default AND to bundle ffmpeg with it, which could get problematic with licensing.

AFAIK mp4 doesn't support XVID, to do this most likely you would need ffmpeg exporter on by default AND to bundle ffmpeg with it, which could get problematic with licensing.

mp4 works for me.

XVID is one codec for MPEG-4 Visual ASP. Anyhow it's GPL'd so if you use it then you shouldn't have any qualms with ffmpeg which is also GPL.


App catalog in web UI should recognize if an app is already installed in the current cluster

To reproduce, on an SSO installation

Navigate to a details page of a workload cluster that has some apps installed
Go to the Apps tab
Click Install app
Open the app detail page for an app that is already installed in the cluster

This install button will appear:

This is confusing to users, as it indicates that the app is not installed in the current cluster (the cluster navigating from).
I'm sure we had a mechanism in place in the past to not show the install button in this case. Looks like a regression to me.

I don't think we had this feature actually (or at least there isn't anything in the codebase to suggest we did) though it definitely sounds like we should!
Coming from the cluster detail > apps tab, it would involve fetching the list of apps installed in the current selected cluster.
In the case where a user navigates directly to the app installation page (i.e. no cluster has been selected), we display a list of clusters in the modal for them to choose from. Here, we would have to fetch the lists of installed apps from every cluster to determine which clusters already have the app installed. Depending on the number of clusters the user can see, it could have some performance implications.

Hii @kuosandys,
Cool, specs :+1:

I have a preference for: If the app is already installed in the cluster, we display the button as disabled, with the text "Installed in cluster foo12". In a single view action you can see the app is already installed and not need to  hover to see the tool tip.
I am also thinking to show "Uninstall App" if it is already install, if this makes sense to have it here.
Install app in other clusters is very handy as well.

Question please:

Do we have check boxes on the cluster selection form so as to select more than one cluster on which I want to install the app ? Then in one go, as a happa user I can install the app in all the selected clusters.
Do we know what will be the checks we are doing to know the app is installed ?

@PrashantR31

I am also thinking to show "Uninstall App" if it is already install, if this makes sense to have it here.

Right now, we display the uninstall button for an app in cluster details > Apps tab, in the expanded details for each app. The app catalog’s purpose is to allow users to browse apps to install - displaying an uninstall button without the full context of a cluster deviates from this goal, and IMO could potentially be confusing.

Do we have check boxes on the cluster selection form so as to select more than one cluster on which I want to install the app ? Then in one go, as a happa user I can install the app in all the selected clusters.

The flow after selecting a cluster from the list is to bring users to a form where they can configure the app being installed. If they select multiple clusters, and would like to configure the app differently for each, how would we display this? After confirming the installation, we also redirect the user to the cluster details > Appa tab showing the installed app. Which cluster do we choose to redirect to?
I think if we wanted to add this functionality, we would have to rethink “batched” actions within happa. It could be interesting to explore this, but I think it’s outside the scope of this issue.

Do we know what will be the checks we are doing to know the app is installed ?

We would execute a request to list all the App CRs in a Cluster’s namespace. Then we would iterate through them to find the App whose name and catalog matches the AppCatalogEntry’s name and catalog. If there’s a match, the selected app is installed. If there is no “current cluster” selected, we would have to do this in every Cluster’s namespace.
I hope that answers your questions, please let me know if I could clarify anything further!

Thanks for the clarifications, @kuosandys , I agree to all the arguments you have added.

as agreed during the Product SWH of March 3rd March, this task will temporarily remain in Rainbox until the teams "UX enablement" first iteration steps would be defined and implemented

Hii @marians , please give @kuosandys a feedback on the Specs.

@kuosandys and I discussed the spec and made some updates.
Displaying the selected cluster
When installing an app in the web UI, we are working with the concept of a selected cluster. A cluster is selected in two ways:

on a cluster details page, in the Apps tab, clicking the Install app button
in the Install modal, click "Pick a different cluster" and choose a cluster to install an app into

Currently it's not visible on the app details page if there is a selected cluster and which one it is.
To make users aware of the selected cluster, we are introducing a new bar on the top of the app details page, right below the < Back to apps link, which appears only if the user has a selected cluster.

The bar provides an × icon on the right. When clicked, the selected cluster is reset/erased/removed and the bar disappears. The page adapts to a mode where no cluster is selected.
App details page
As the two wireframes below show, the app detail page header will appear different depending on the current app being installed in the selected cluster or not.
App not installed

App installed

Apps list page
Out of scope for this issue, but certainly an improvement, would be to

also show the selected cluster bar on the apps list page
Indicate on the app car whether an app is installed in the selected cluster

OMG, I just love the paper sketch and some scissors work there and also the collaborative work that Figma brings. You are man @marians .

I agree with the proposed spec, great work thank you! @giantswarm/team-honeybadger any feedback on this spec? cc @piontec @rossf7

Looks reasonable.


Springboot condition bug

Bug Report
For English only, other languages will not accept.
Before report a bug, make sure you have:

Searched open and closed GitHub issues.
Read documentation: ShardingSphere Doc.

Please pay attention on issues you submitted, because we maybe need more details.
If no response more than 7 days and we cannot reproduce it on current information, we will close it.
Please answer these questions before submitting your issue. Thanks!
Which version of ShardingSphere did you use?
branch dev
Which project did you use? Sharding-JDBC or Sharding-Proxy?
Sharding-JDBC
Expected behavior
in class
org.apache.shardingsphere.shardingjdbc.spring.boot.sharding.ShardingRuleCondition
it should be
    return isMasterSlaveRule || isEncryptRule ? ConditionOutcome.match("Have found master-slave or encrypt rule in environment") : ConditionOutcome.noMatch();

Actual behavior
    return isMasterSlaveRule || isEncryptRule ? ConditionOutcome.noMatch("Have found master-slave or encrypt rule in environment") : ConditionOutcome.match();

Reason analyze (If you can)
Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
Example codes for reproduce this issue (such as a github link).

Any reason for close this issue?


Is this statement correct?

Is this statement correct? We're trying to provide proper admin permissions for our team in WVD.
We have no issue with Contributor role, but this statement I'm not clear on:
"You must be assigned the User Access Admin role on an app group to publish app groups to users or user groups"
Isn't the User Access Admin role only enabled when flipping the switch per this article?
https://docs.microsoft.com/en-us/azure/role-based-access-control/elevate-access-global-admin
I don't see any other way - nor am I not sure its even "necessary" - to add the User Access Administrator role for a user who is managing WVD in Azure.

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

ID: 058c0a6a-4f3c-fe33-247e-276ac9c66342
Version Independent ID: 84fb92b3-df7b-a7ae-626d-069c2a0dc51d
Content: Windows Virtual Desktop FAQ - Azure
Content Source: articles/virtual-desktop/faq.md
Service: virtual-desktop
GitHub Login: @Heidilohr
Microsoft Alias: helohr

Thanks for the feedback! We are currently investigating and will update you shortly.

Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

Thanks for the feedback, and sorry for the delay - this RBAC role isn't just used by a global admin to elevate access to all subscriptions and management groups, as per the article you linked. While it can be used for that, in this case you don't use that process in the directory to toggle that switch.  Like other RBAC roles, User Access Management can be assigned to a subscription, resource group, or resource. In this case, you could assign the role to the application group.
#please-close


Need to support DEBUGGER.ENABLESQLTRACE method

In AL Language need to support DEBUGGER.ENABLESQLTRACE to read the SQL Tracing setting and to set the SQL Tracing as in C/AL code.  This is a very important debugging command to expose the application user to SQL Environment.  At lease this should be enabled for on-Prem environment.
See attachment for more detail of the error we get.

Hi! The attachment you mentioned is missing. I am not sure I understand the problem you are facing. Could you clarify?

Hi Alex,
My request is to support DEBUGGER.ENABLESQLTRACE method in AL code.
I have to say a lot of things are missing compared to C/AL. Other notable missing show stopper features are not able to create new index on standard table against standard fields, not able to create new SIFT on standard table on fields leading our NAV business almost stop selling BC wave 2 update. Please fix it. For goodness sake.
Get Outlook for Androidhttps://aka.ms/ghei36

From: Alexandru Toader<EMAIL_ADDRESS>Sent: Saturday, December 14, 2019 2:55:32 PM
To: microsoft/AL<EMAIL_ADDRESS>Cc: Rama-M<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [microsoft/AL] Need to support DEBUGGER.ENABLESQLTRACE method (#5537)
Hi! The attachment you mentioned is missing. I am not sure I understand the problem you are facing. Could you clarify?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/AL/issues/5537?email_source=notifications&email_token=ALIGJVKDJDKGAYHJIYDSDKLQYTXWJA5CNFSM4JZK77H2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEG4EMYQ#issuecomment-565724770, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALIGJVP22Y4F5Q5EYMLH24LQYTXWJANCNFSM4JZK77HQ.

I checked and the method is available in AL. Did you mean that you want it to be enabled for Cloud development? If yes, we will evaluate if it is safe to expose this method or if there are alternatives. Have you considered using the SQL tracing available in the debugger window?
For the other show stopper features, the only way you could achieve those in C/AL was by performing a code customization, that is still possible. If you are referring to the ability of adding new indexes via table extensions, please vote it up on BCIdeas so that it gets put in scope for the next release.
As stated on the first page of this repository, its main purpose is to track issues regarding the AL compiler and the Developer Tools for the latest developer preview environment for Dynamics 365 Business Central.

This issue has been closed because it needs more information and has not had recent activity. Please open a new issue if you believe this has not been resolved and reference the current issue.


API versioning and docker releases

Ok, here my thoughts about api versioning.

Using semver notation for docker
Using vMAJOR.MINOR or even vMAJOR as version for api
Different subrouters for different api versions: /v1.1/logs, /v1.2/logs...
Different codebases(including unittests, which is very important in that
case) for different api versions, for example all stable api functions in
api/server have _<version> suffix.
Not breaking api in patch or may be even in minor versions
Different branches for fixing and for development. I'm pretty excited about
gitflow
More sophisticated release procedure. For example using gitflow:

copy current development api with version bump in routes
mark api as stable(add suffix to functions)
deprecate very old api versions(may be three releases from now or so, dunno)
create release branch from develop
make beta packages for volunteer's testing
fix bugs in release branch
merge release branch in master and develop
make tag from master
RELEASE THE MOBY DOCK

Hotfixes procedure. Hotfixes doesn't bring any new features. If we want new
feature very much(for example someone want it and ready to pay 1 million :)) we
just do new release. Hotfixes bumps patch version.

What are you think about it?
ping @discordianfish @shykes @crosbymichael @vieux

looks like old


Experiment: Remove stdin from the ExecCommand call in tests

We don't use stdin to path data, so there is no need to open the stream.
This should improve stability of the Exec call.
On my environment I noticed that sometimes ExecCommand returns empty output during the test.
Detaching of the stdin stream fixed this issue on my setup.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
4429

Relevant Lines:
12359

💛  - Coveralls


Add project metadata to the gemspec

Add project metadata to the gemspec file. This'll allow people to more easily access the source code, raise issues and read the changelog. These bug_tracker_uri, changelog_uri, documentation_uri, mailing_list_uri and source_code_uri links will appear on the rubygems page at https://rubygems.org/gems/rspec-core after the next release.

The metadata attribute is described here https://guides.rubygems.org/specification-reference/#metadata

Ok. The previous informations were set by hands on RubyGems. But it is now deprecated.

I think this proposition is ok, except maybe the documentation link. I don't know if we want to change it.

Thanks, do you feel like updating the other gems too?

Thanks!
Yes, I'll get some PRs together.


lib_lightgbm.dll crashes with Exception code: 0xc0000005

Description
My environment was working fine but suddenly started to fail when I try to run my python program on my Windows machine.
The symptom is that I try to run my application, then it crashes without any error message to the terminal. I was able to find this from Event Viewer.
Faulting application name: python.exe, version: <IP_ADDRESS>3, time stamp: 0x651ac086
Faulting module name: lib_lightgbm.dll, version: <IP_ADDRESS>, time stamp: 0x64ff9c15
Exception code: 0xc0000005
Fault offset: 0x00000000000ea73c
Faulting process id: 0x49f0
Faulting application start time: 0x01da06d630c3542c
Faulting application path: C:\...\AppData\Local\Programs\Python\Python312\python.exe
Faulting module path: d:\Repos\<myApp>\.venv\Lib\site-packages\lightgbm\bin\lib_lightgbm.dll
Report Id: 7f6e8b89-ff49-48d5-ba95-a500c63c1371
Faulting package full name:
Faulting package-relative application ID:

Additional Comments
I've tried to create an entirely new virtual environment and pip install lightgbm and other modules but that did not help. I've also tried to reinstall Python and that did not help either.
This was literally working earlier today so I'm puzzled. The only think I can think of is my machine probably installed some Windows update.

nvm, found out the problem, my saved model file somehow got corrupted and is causing the crash. This is resolved.


PowerShell example would be beneficial for Export to File API.

[Enter feedback here]

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

ID: a7b2a51d-0025-3209-a1c1-db3362b909bb
Version Independent ID: a952e5a8-acf6-31cc-43ff-77cef73b2a9e
Content: Export Power BI reports API - Power BI
Content Source: powerbi-docs/developer/embedded/export-to.md
Service: powerbi
Sub-service: powerbi-developer
GitHub Login: @KesemSharabi
Microsoft Alias: kesharab

oops, no feedback included.  Closing.


Missing file docs/sources/layers/writing-your-own-keras-layers.md when building documentation

When running mkdocs build on a up to date Keras repo (c9f7d970e97d5a) following the instructions in docs/README.md the following error happens:
FileNotFoundError: [Errno 2] No such file or directory: '[..]/keras/docs/sources/layers/writing-your-own-keras-layers.md'
In addition, there could be a small error in the example in http://keras.io/layers/writing-your-own-keras-layers/:
super(Layer, self).__init__(**kwargs) is supposed to be super(mylayer, self).__init__(**kwargs) on line 7 in function __init__.

[X] Check that you are up-to-date with the master branch of Keras. You can update with:
pip install git+git://github.com/fchollet/keras.git --upgrade --no-deps

[X] If running on Theano, check that you are up-to-date with the master branch of Theano. You can update with:
pip install git+git://github.com/Theano/Theano.git --upgrade --no-deps

[X] Provide a link to a GitHub Gist of a Python script that can reproduce your issue (or just copy the script here if it is short).

I can confirm I'm missing this file too (i.e. not autogenerated or in templates).

Thanks @fchollet - 36a829c20d5dcd4d8ba120781235c278588b6bb7


Error attempting to install the .NET Upgrade Assistant

Problem encountered on https://dotnet.microsoft.com/en-us/platform/upgrade-assistant/tutorial/install-upgrade-assistant
Operating System: windows 10 Pro, version = 21H1
Steps to reproduce:

Installed the .NET 6 SDK 64bit
Executed dotnet from cmd and all seems fine.
Executed dotnet tool install -g upgrade-assistant

Got the following errors:
C:\Program Files\dotnet\sdk\6.0.101\NuGet.targets(130,5): error : Failed to retrieve information about 'upgrade-assistant' from remote source 'https://nuget.org/FindPackagesById()?id='upgrade-assistant'&semVerLevel=2.0.0'. [C:\Users\mmuresan\AppData\Local\Temp\ovampbs0.5fx\restore.csproj]
C:\Program Files\dotnet\sdk\6.0.101\NuGet.targets(130,5): error :   Response status code does not indicate success: 404 (Not Found). [C:\Users\mmuresan\AppData\Local\Temp\ovampbs0.5fx\restore.csproj]
The tool package could not be restored.
Tool 'upgrade-assistant' failed to install. This failure may have been caused by:

You are attempting to install a preview release and did not use the --version option to specify the version.
A package by this name was found, but it was not a .NET tool.
The required NuGet feed cannot be accessed, perhaps because of an Internet connection problem.
You mistyped the name of the tool.

For more reasons, including package naming enforcement, visit https://aka.ms/failure-installing-tool

I had the same issue, the following worked for me:
If you follow the link at the bottom of your issue, or this one: https://docs.microsoft.com/en-gb/dotnet/core/tools/troubleshoot-usage-issues#nuget-feed-cant-be-accessed and go to the 401 (Unauthorized) section, it will advise to try running the command with the following additional arguments:
dotnet tool install -g --ignore-failed-sources <toolName>
This will ignore any other NuGet feeds that are erroring and will continue until the Microsoft feed processes the request to install.

@mmuresan Like @nhiorns suggested please try with --ignore-failed-sources to see if it helps.

The issue for me was that I had add extra "non-standard" nuget repositories.
For example I had a reference to our own Azure DevOps Nuget Feed.
It was the reference to our Azure DevOps feed that was throwing the unauthorized error, as obviously you need to be authenticated to be able to access the private Azure DevOps Nuget feed.
To fix I did the following:

opened a project in Visual Studio
choose manage nuget packages
click on the settings icon
untick any non standard nuget feeds
click ok

After doing this run the command and it all worked


Tensorboard histogram onehot operation causing ResourceExhauseError: OOM

Click to expand!
Issue Type
Bug
Have you reproduced the bug with TF nightly?
Yes
Source
source
Tensorflow Version
2.8
Custom Code
Yes
OS Platform and Distribution
Linux Ubuntu 20.04
Mobile device
No response
Python version
3.9
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current Behaviour?
I'm trying to train a VGG16 model. I'm using a sample dataset of 4000 300x300 images in 14 classes, and running my code on a Google VM using an Nvidia L4 GPU with 20gb of memory. I am running python 3.7, tf version 2.11, and cuda version 12.1. My data is stored in GCS.
When I run the model with the following TensorBoard callback:
tensorboard_callback = tf.keras.callbacks.TensorBoard(log_dir=log_dir, histogram_freq=1)
I get this error at the end of the first epoch:
2023-06-14 19:51:21.248476: W tensorflow/tsl/framework/bfc_allocator.cc:479] Allocator (mklcpu) ran out of memory trying to allocate 22.97GiB (rounded to<PHONE_NUMBER>0)requested by op OneHot
If the cause is memory fragmentation maybe the environment variable 'TF_GPU_ALLOCATOR=cuda_malloc_async' will improve the situation.

ResourceExhaustedError: {{function_node _wrapped__OneHot_device/job:localhost/replica:0/task:0/device:CPU:0}} OOM when allocating tensor with shape[102760448,30] and type double on /job:localhost/replica:0/task:0/device:CPU:0 by allocator mklcpu [Op:OneHot]

The error traces back to the tensorboard histogram object:

--------------------------------------------------------------------------
ResourceExhaustedError                    Traceback (most recent call last)
/var/tmp/ipykernel_5723/1753739100.py in <module>
      1 # Fit model
----> 2 history = model.fit(train_ds, validation_data=val_ds, epochs=5, callbacks=[tensorboard_callback])

/opt/conda/lib/python3.7/site-packages/keras/utils/traceback_utils.py in error_handler(*args, **kwargs)
     68             # To get the full stack trace, call:
     69             # `tf.debugging.disable_traceback_filtering()`
---> 70             raise e.with_traceback(filtered_tb) from None
     71         finally:
     72             del filtered_tb

/opt/conda/lib/python3.7/site-packages/tensorboard/plugins/histogram/summary_v2.py in histogram(name, data, step, buckets, description)
    198             tensor=lazy_tensor,
    199             step=step,
--> 200             metadata=summary_metadata,
    201         )
    202

/opt/conda/lib/python3.7/site-packages/tensorboard/util/lazy_tensor_creator.py in __call__(self)
     64                 elif self._tensor is None:
     65                     self._tensor = _CALL_IN_PROGRESS_SENTINEL
---> 66                     self._tensor = self._tensor_callable()
     67         return self._tensor
     68

/opt/conda/lib/python3.7/site-packages/tensorboard/plugins/histogram/summary_v2.py in lazy_tensor()
    192         @lazy_tensor_creator.LazyTensorCreator
    193         def lazy_tensor():
--> 194             return _buckets(data, buckets)
    195
    196         return tf.summary.write(

/opt/conda/lib/python3.7/site-packages/tensorboard/plugins/histogram/summary_v2.py in _buckets(data, bucket_count)
    291             )
    292
--> 293         return tf.cond(is_empty, when_empty, when_nonempty)

/opt/conda/lib/python3.7/site-packages/tensorboard/plugins/histogram/summary_v2.py in when_nonempty()
    288
    289             return tf.cond(
--> 290                 has_single_value, when_single_value, when_multiple_values
    291             )
    292

/opt/conda/lib/python3.7/site-packages/tensorboard/plugins/histogram/summary_v2.py in when_multiple_values()
    257                 # See https://github.com/tensorflow/tensorflow/issues/51419 for details.
    258                 one_hots = tf.one_hot(
--> 259                     clamped_indices, depth=bucket_count, dtype=tf.float64
    260                 )
    261                 bucket_counts = tf.cast(

ResourceExhaustedError: {{function_node __wrapped__OneHot_device_/job:localhost/replica:0/task:0/device:CPU:0}} OOM when allocating tensor with shape[102760448,30] and type double on /job:localhost/replica:0/task:0/device:CPU:0 by allocator mklcpu [Op:OneHot]

Interestingly it seems to be calling tf.one_hot and blowing up the gpu memory with a massive tensor regardless of whether I train the model with integer labels and spare categorical cross entropy or if I train it with one hot labels and cross entropy. I don't really understand what the tensor contains because its dimensions neither relate to the number of training examples or classes that I am using.
Standalone code to reproduce the issue
tensorboard_callback = tf.keras.callbacks.TensorBoard(log_dir=log_dir, histogram_freq=1)

I get this error at the end of the first epoch:

2023-06-14 19:51:21.248476: W tensorflow/tsl/framework/bfc_allocator.cc:479] Allocator (mklcpu) ran out of memory trying to allocate 22.97GiB (rounded to<PHONE_NUMBER>0)requested by op OneHot
If the cause is memory fragmentation maybe the environment variable 'TF_GPU_ALLOCATOR=cuda_malloc_async' will improve the situation.

ResourceExhaustedError: {{function_node _wrapped__OneHot_device/job:localhost/replica:0/task:0/device:CPU:0}} OOM when allocating tensor with shape[102760448,30] and type double on /job:localhost/replica:0/task:0/device:CPU:0 by allocator mklcpu [Op:OneHot]

Relevant log output
No response

The problem still exists with histogram_freq=0. I will look into making the code having large tensor computations.

If the problem exists with histogram_freq=0 then the problem might be related to memory intensive computations due to higher input tensors.With large input tensors this is expected behaviour. However providing the code snippet shall confirm the same.

Setting histogram_freq=0 did solve the problem to some extent, but I am still surprised by the very high memory requirements for the histogram computations.

@vrunm ,
Setting histogram_freq=1 needs storage of all weights into memory and for Larger models the weights are more and takes more memory as well. As you are using VGG16 model which has 138 million parameters which itself takes higher memory resource to store them. Any additional computations like histograms will add more load on memory.
Thanks!

For these kind of computations what should be the value of histogram_freq? It worked for VGG16 but for models like ResNet and EfficientNet it did not work. What should be the value for those models?

Hi @vrunm ,
It's all depends upon the Inputs sizes and Memory resources available. OOM errors are depends upon the input sizes and the Memory resources. Tensorflow can't have control on this. It has to be taken care by the users.
May be you can reduce batch_size in model.fit which is by default 32(you may try batch_size=16) . Also use the below code before importing Tensorflow in your code block.This may help if the OOM is due to Memory fragmentation.
import os
os.environ[‘TF_GPU_ALLOCATOR’] = ‘cuda_malloc_async’

I tried using a smaller batch size and using the above code but still ran into this error. I am also experimenting with smaller CNN networks to reduce memory computations and also make the model train faster.

Hi @vrunm ,
Could you please confirm the batch_size you used and let us knothe error. Maybe you can check with smaller networks since one_hot encoding is a large Tensor and may cause OOM error.

I had tried using a batch size of 16 and 8 and still ran into this error.

Could you please update the issue thread here https://github.com/keras-team/keras/issues/18243

Sure will update it there.


Support Defining PartitionSpec and SortOrder without field-ids in create_table

Feature Request / Improvement
Currently, create_table API only supports defining partition fields and sort fields by using PartitionSpec and SortOrder respectively.
PartitionField and SortField have the constraint that their fields are defined using field-ids.
With #305 we now allow users to define new table schema for create_table operation without field-ids. This aligns with the usage pattern in Spark Iceberg DDLs, and allows users to use a PyArrow schema that may not have field-ids in creating an Iceberg Table.
Similarly, we would like to support defining PartitionSpec and SortOrder without field_ids when we call create_table.
One early idea involves making changes to create_table API and perhaps the underlying functions (like assign_fresh_partition_spec_ids and assign_fresh_sort_order_ids) to allow users to define partition specs and sort order on create_table without field IDs (since new field IDs are generated for these tables anyways).
Another idea includes creating the schema first without committing the table creation using stage-create, and then using the generated schema and Partition Evolution to commit the new table.

Hi @syun64 How is this issue going? I have been tormented by this restriction for several days and still haven't figured it out. 😓

Hi @syun64 How is this issue going? I have been tormented by this restriction for several days and still haven't figured it out. 😓

This will be a new feature that will be released in the upcoming 0.7.0 release, and will be supported on all currently supported catalogs.
Reference PR: https://github.com/apache/iceberg-python/pull/498

Hey @sungwy, just thought I'd chase this as well. The PR you linked is merged and 0.7.1 is now out, so does that mean there is a new way of specifying sort order we can use with pyarrow schemas? I've been trying to do it the way recommended by the doco and still running into ValueError
import polars as pl
from pyiceberg.catalog.glue import GlueCatalog
from pyiceberg.table.sorting import SortField, SortOrder
from pyiceberg.transforms import IdentityTransform

# Using the arrow schema as per https://py.iceberg.apache.org/#write-a-pyarrow-dataframe
df = pl.DataFrame({"a": [1, 2, 3, 4, 5], "b": [5, 4, 3, 2, 1]}).to_arrow()

glue_catalog = GlueCatalog(name="", properties={"write.parquet.compression-codec": "snappy"})
table = glue_catalog.create_table(
    identifier="dev-cleaned.tmp_iceberg",
    schema=df.schema,
    location="s3:///mybucket/tmp",
    sort_order=SortOrder(SortField(source_id=1, transform=IdentityTransform())),
)

Gives:
Exception has occurred: ValueError
Could not find in old schema: 1 ASC NULLS FIRST
  File "/home/sam/arenko/flows-datalake/tmp_arrow.py", line 10, in <module>
    table = glue_catalog.create_table(
            ^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: Could not find in old schema: 1 ASC NULLS FIRST

Hi @Samreay thank you for chasing up!
We are now able to express partition spec updates without referencing a field_id by using the create_table_transaction method on a catalog. This will create a new transaction that can be used with a builder pattern to add schema or partition spec updates as noted in the last paragraph of the API documentation on Create a Table.
Unfortunately, we don't yet have similar support for updating the sort order without field_ids, and it is partially because PyIceberg as a library doesn't yet make use of a sort_order even if it is defined on a table. But I can see how it might still be useful to support that, so that the sort_order can be set through PyIceberg, but be used by other engines.
Would you be interested in making a contribution, to enable updating the sort_order through PyIceberg?

We are now able to express partition spec updates without referencing a field_id by using the create_table_transaction method on a catalog.

If you're interested, this is being tracked in https://github.com/apache/iceberg-python/issues/1284
Looking at the docs, should we get rid of the first example? In general, I think it is best to show a single example to the user, instead of confusing them with multiple ways of doing the same thing. WDYT?


Add _GO_NO_CD_ROOTDIR environment variable

I noticed while developing https://github.com/mbland/certbot-webroot-setup that it was annoying not to be able to issue commands with file paths relative to the current directory because the framework unconditionally issues a cd "$_GO_ROOTDIR" command. This behavior makes sense for ./go scripts intended to manage project tasks, or for programs that need not take arbitrary file path parameters. But now that it appears the framework can be used for more general programs, it'd be good to introduce a mechanism to disable this default behavior.

This is actually morphing into a more far-reaching _GO_STANDALONE mode. The forthcoming pull request will contain the details.


Branchv1.4 user guide6

Sort the images into their folders

Codecov Report

Merging #319 (af03d7b) into master (24f991d) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #319   +/-   ##
=========================================
  Coverage     66.16%   66.16%
  Complexity      889      889
=========================================
  Files           139      139
  Lines          3216     3216
  Branches        541      541
=========================================
  Hits           2128     2128
  Misses          976      976
  Partials        112      112

Continue to review full report at Codecov.

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


Fix: update deployment scripts to align to Az CLI graph breaking changes

Type of PR

Code changes

Purpose

This updates the Parking Sensor Databricks and Synapse versions deployment script to account for changes to the az cli: https://github.com/Azure/azure-cli/issues/22580

Does this introduce a breaking change? If yes, details on what can break
Author pre-publish checklist

[ ] Added test to prove my fix is effective or new feature works
[X] No PII in logs
[ ] Made corresponding changes to the documentation

Validation steps

...

Issues Closed or Referenced

Closes #issue_number

References #issue_number

LGTM! Now that we have this change in place, we don't need #532 and can close it.


ES theme display issue , whether internal screen or external screen

Recently, I modified an ES theme and found that the image display in svg format would be very blurred. I have tried to change other themes, the same situation .

compared with JelOS : left-arkos , right-jelos
besides，in gamelist page , If the game description is in Chinese, only one line can be displayed, and it is incomplete.

compared with JelOS : left-arkos , right-jelos
I love ArkOS，I hope to be able to fix these display problems , just a small suggestion.

Did you verify that the theme configuration is in 4:3 mode in the start menu?

This theme was originally made for use by RETROPIE. It has no options and is adaptive to screen ratio. When used on jelos, the image display is normal and not blurred

Did you verify that the theme configuration is in 4:3 mode in the start menu?

This theme was originally made for use by RETROPIE. It has no options and is adaptive to screen ratio. When used on jelos, the image display is normal and not blurred

Then unfortunately, I can't help with this one as the themes used with ArkOS are tuned for the fcamod of emulationstation which is different.  It could be that theme is not compatible with this emulationstation.  Take care.

maybe the theme setup from here may give some clues on how you can alter the theme to work but I don't know.


Use bunchee build output

This PR mainly do two things:

Use bunchee to build outout and Support both commonjs and es module package
Enhance types

Ref: https://github.com/suhaotian/xior/issues/11

Released as 0.1.0

Just few minutes, Wow so fast!
Another small types fix PR:
https://github.com/Audiu/xior-auth-refresh/pull/3


Still not ALL apps appear?

The tweak is awesome by the way and in settings I can go to add/remove apps but the list still is not complete of all the apps I have on my phone and would like to incorporate? Would be even more awesome if I can use any app I want if you can allow any and all apps someone has one their phone? Thank you

System/Stock apps won't work, only third party apps from the appstore


feat: add the template files provided by vscode

Add the launch.json file since it was not committed.
Refs: #1

Closes #1


This commit lets a user upload a file with a content_encoding: "",(no encoding).

Before this commit, the canister could store a file with a content-encoding: "" , but it returned a 404 not found when asked for it.

This commit also trims the leading and trailing whitespace of every content_encoding string stored with the files for the consistency.

I'm not 100% sure swallowing incorrect content-encodings is a good idea.
As far as I know, "identity" is the default encoding, and an empty value is not a valid one (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Encoding, https://httpwg.org/specs/rfc7231.html#rfc.section.<IP_ADDRESS>).
Which tool do you use to upload assets? Does dfx upload assets with empty content-encoding?

I'm not 100% sure swallowing incorrect content-encodings is a good idea.

An empty value for the content-encoding is valid in the browsers. if someone passes an incorrect content-encoding: "kjnmlmlkm" then the asset canister will give back a 404.
This is from that that mozilla link:

The lines:
"Content encoding is mainly used to compress the message data without losing information about the origin media type."
and "Compressing a compressed media type such as a zip or jpeg may not be appropriate, as this can make the payload larger."

last-line: "Note that the server is not obligated to use any compression method. Compression highly depends on server settings and used server modules."

Which tool do you use to upload assets?

I am making a direct call to the "store" public-method  with this dart-agent.

Does dfx upload assets with empty content-encoding?

I dont use dfx but i dont think so because if it would try, the asset-canister would give back a 404 and the service-worker a 500.


Fixed a couple of typo errors

Fixes https://github.com/tensorflow/tensorflow/issues/35809

Hey, @ManishAradwad your branch is having conflicts. It usually happens when your branch is not synced with the upstream. Kindly, sync your branch to resolve the merge conflicts.


How to convert pth file to onnx for SCRFD model

on the repo https://github.com/deepinsight/insightface/tree/master/detection/scrfd. readme contains filw weight pth but not onnx, how do I find onnx files

You can get weight onnx in here https://github.com/SthPhoenix/InsightFace-REST?tab=readme-ov-file#list-of-supported-models


Add support for Windows 11

This issue is created to track progress for the work to enable Windows 11 support for .NET Core 3.1 and .NET 5.

Supported Architectures: x86, x64, and Arm64. Also add support for x64 emulation on Arm64

Product and Test updates

[ ] [All teams] Do a compatibility check for the product with the new OS
[ ] [CoreCLR/CoreFX] Runtime / RID Support update
~- [ ] [Infra] Ensure that the correct Docker images used by teams are built in the dotnet-buildtools-prereqs (if applicable)~
~- [ ] [Infra] Replace docker tags used in builds across repos and branches~
~- [ ] [CLI team] Update CI legs to latest updated Dockerfile~
[ ] [All teams] Update test infrastructure to support the new version
~- [ ] [Acquisition] Add support within nightly repos~
~- [ ] [Acquisition] Deploy to master (GA) during next patch release cycle~

Release team:

[x]  Notify .NET Core teams regarding new OS release
[ ]  Update release manifest files
[ ] Update the supported OS content on GitHub and marketing sites.

Document updates:

[ ] Add OS prerequisites to the dependencies document
[ ] Update distro install page

Windows Docker images are only being provided for Windows Server, not Windows client.  So I'm removing the Docker-related tasks.

Please clarify (for this and other similar "Add support" issues) that we need to add support for x86, x64, and Arm64. In this particular case, we also need to support x64 emulation on Arm64. So, that's four architectural scenarios.

I take it this ticket indicates why my Windows 11 machine didn't get a .NET Core update via Windows Update yesterday (2021-10-12), but my Windows 10 machine did when manually checking for updates?

There are many such issues open. What is our policy on them?
https://github.com/dotnet/core/labels/os-support

Supported, resolving this one.


Fix toString's handling of multi-line text literals

The implementation of toString (taking an expression and writing it back to Dhall code as a string) is currently pretty rough and needs some attention in general, but in particular it doesn't serialize text literals containing newlines correctly. toString hasn't been a high priority for me so far, but the newline issue at least needs to be fixed before the 0.1.0 release.

This particular issue and some related toString problems are fixed in 02bd09195214f346cf07c426ca24e08a59ad3157. It's now possible to load the unnormalised Prelude, print it with toString, parse it again, and get the same result:
scala> import org.dhallj.syntax._
import org.dhallj.syntax._

scala> val Right(prelude) = "./dhall-lang/Prelude/package.dhall".parseExpr.flatMap(_.resolve)
prelude: org.dhallj.core.Expr = {`Bool` = ...

scala> val Right(fromToString) = prelude.toString.parseExpr
fromToString: org.dhallj.core.Expr = {`Bool` = ...

scala> prelude.hash
res0: String = ce1b587ca440b150fdc5d892f6a0a54873d0f6ec89a4fcff5b4d698a9ea45189

scala> fromToString.hash
res1: String = ce1b587ca440b150fdc5d892f6a0a54873d0f6ec89a4fcff5b4d698a9ea45189

scala> prelude.diff(fromToString)
res2: Option[(Option[org.dhallj.core.Expr], Option[org.dhallj.core.Expr])] = None

The toString implementation is still a terrible mess, but I think this round of fixes unblocks 0.1.0.


Work on User UI/Redux and other Redux Stores

In this branch, I worked on:

API requests ✅
Configuring Redux Store/Slice and Reducer for User, Meeting, and Reservation. ✅
User login/register UI ✅

@Donard97 Thanks for approving my pull request.


Fixing 'no implicit any' TypeScript error

This fixes the 'no implicit any' error if you have noImplicitAny set in tsconfig.json. As far as I could see, leaveBreadcrumb() never returns any value.

Thanks for this. Looks good. I'll merge as soon as I figure out what is making travis unhappy.


refactor the redirect_when_disallowed method in grades_controller.rb

Sub-Issue of #2 for easier division of work, please see that issue for description.
This issue is focused on the redirect_when_disallowed  method in the grades_cointroller.

This can likely be separated into two methods one for redirecting and one for checking if the action is allowed

Deemed obsolete and removed from the class.


Add additional date case

Adds support for deciseconds and microseconds.
First mentioned on https://github.com/hyperoslo/Sync/issues/253

@smartjx does this fixes your problem?

Yes, your new commits of deciseconds and microseconds fix my problem perfectly.
Thank you for your sync framework, now it's runs great in my app:)


Multiple service registrations, when restarting registrator running in a container.

Registrator prepends its hostname to the service id.
When running registrator in a container, that hostname is by default the hostname of the docker container, which will change when the container is restarted.
It will then no longer recognise previously registered services and it will then reregister them, causing multiple registrations of the same service (at least in consul).
While the documentation example shows passing the -h $HOSTNAME parameter, this effect is not documented.

I have just run into this when trying to debug the Address getting <IP_ADDRESS> Now I have a ton of zombies. Not sure what registrator should do in this case. How is it supposed to know that it created those services under different settings?

@d23: I had this problem and use the -h option successfully when running through docker. (To be precise, I use -h %H because registrator is started through a fleet unit on CoreOS. This way, the host  machine's hostname is automatically interpolated.)
Are you using -h $HOSTNAME? If $HOSTNAME is set correctly to the machine's name, this should really work.

Yep. Let me know if these docs are any better:
http://gliderlabs.com/registrator/latest/user/run/
But that's the way to go using -h $HOSTNAME.


composer: logging tracking issue

A rolling to-do list of things that need to be logged in the composer:
### Tasks
- [ ] Mapping between rollup transactions to sequencer transactions

from #409:

[ ] log when a tx is dropped due to backpressure

from #599:

[ ] log when a tx is dropped due to being too big


Streaming response body with cancellation example.

Please provide an example on how to stream a response body in a future. How would I cancel it mid-way after a certain number of bytes have been read, or based on inspection of the data so far.

I created a short example program that should help you: https://github.com/sagebind/isahc/blob/f31de5d6f3027c4e95e36c81fc89492c137189bc/examples/stream_cancellation.rs
Feel free to ask if you have more questions!


Add more subscribe() tests

Not sure why these fail, while the ones before testing the oldValue aren't.

@ai I think there is a bigger question of how would we know if the handler is being called upon initialization or if the value has actually changes. In my use case, I need the current value, and I need to know if that value has actually changes, so that I can make the decision about the course of action. Currently, I would need to introduce some local state to keep track of that.
Perhaps it would make sense to make value = oldValue, that way you would at least be able to tell that this is an initial cal to the handler.

I need the current value, and I need to know if that value has actually changed

If the value hasn't changed the subscriber callback won't be called, https://github.com/hypeJunction/nanostores/blob/89be3938f13a46670307fc24a09ea5d94fcb4f48/atom/index.js#L65-L69

I understand. My problem is the opposite. When the callback is called I don't know if it's because value has changed from undefined or if it's an initial call.

Just use store.listen(cb). It doesn't have initialisation calls, only on value changes

But I need the current value.
I am watching a connection status when my component mounts. The connection could have been established already or it might be established in the future. I think I need subscribe rather than listen.

I think I will just switch to using events for this, otherwise it gets all very convoluted

function cb (value, initialization) {}
cb(store.get(), true)
store.listen(value => {
  cb(value, false)
})

Elegant, thanks. I have been overcomplicating the problem

I tested behavior and everything works as expected


Training error

I am trying to train PSPNet on a particular dataset.

Can someone please tell me the exact steps to be followed to train a dataset.

Closed.


Scheduler doesn't activate sleeping threads on native_posix

Describe the bug
I have the following code built to run as a native_posix application:
#include <kernel.h>
#include <iostream>

constexpr int kStackSize = 1024;
K_THREAD_STACK_DEFINE(thread_stack, kStackSize);

bool _dummy_running = true;
void DummyThread(void*, void*, void*) {
  while(_dummy_running) {
    k_yield();
  }
}

void main(void)
{
  std::cout << "Create the thread." << std::endl;
  struct k_thread dummy_thread;
  k_tid_t ret = k_thread_create(&dummy_thread, thread_stack, K_THREAD_STACK_SIZEOF(thread_stack), DummyThread, NULL, NULL, NULL, 1, 0, K_NO_WAIT);

  std::cout << "About to sleep." << std::endl;
  k_msleep(10);
  std::cout << "Finished sleeping." << std::endl;

  _dummy_running = false;
  k_thread_join(&dummy_thread, K_FOREVER);
  std::cout << "Exiting." << std::endl;
}

The code stops on the k_msleep(10); and has the following output:
*** Booting Zephyr OS build zephyr-v2.4.0-1789-g47ebde30b9ea  ***
Create the thread.
About to sleep.

Expected behavior
The code reaches the line to  std::cout << "Exiting." << std::endl;
Environment (please complete the following information):

OS: Linux, application running inside a docker container

@Tehieh That while loop is an infinite loop in that case. You need to be aware that in native_posix, code executes in 0 simulated time. So the code calls k_yield(), there is nothing to yield to, and continues looping, all in zero time.
You need to do something that causes it to spend time on that while loop. For example a k_busy_wait(some_time);

Closing assuming the issue has been clarified with the previous answer. If that is not the case, please reopen.


[trivial] Clean up extra spaces

What this PR does / why we need it:
Clean up extra spaces, although these errors are not important, they affect the code specification.
Which issue this PR fixes(if applicable):
fixes #
Special notes for reviewers:

Release note:

NONE

/ok-to-test

/lgtm
/approve

Any change in charts require bump in version and I dont see much need for this change


⚠ UdeS website (prod) has degraded performance

In e477b7c, UdeS website (prod) (https://www.usherbrooke.ca/) experienced degraded performance:

HTTP code: 200
Response time: 2207 ms

Resolved: UdeS website (prod) performance has improved in df5d8ab.