ENH: add r wrapper for glmnet solver

@tomMoral is it the correct way to specify the python install command

I guess CIs need to be updated

@tomMoral one failure: assert solver_class.install_cmd in [None, 'pip', 'bash']:
I install glmnet with a python script. Should I change the install command to bash and prefix my command with python -c ?

I need rpy2 to be installed before installation with bash (which is somehow a fake bash given it's really python, but I don't mind having it this way).
I have changed the code so that even if cmd is bash, some python packages can be installed before if need be.
However this approach fails and I can't understant why. According to CI, this script failed while it looks reasonable:
        script     = 'source ./.venv//benchopt_test_env/bin/activate\npip install -qq rpy2'

@mathurinm how does a meaningful benchmark look like with this?

So, how would you do it ? Not by installing r in bash before rpy2 ?
(Actually an issue since the order is r, rpy2, glmnet in r, corresponding
to bash, python, bash)
Le mar. 12 mai 2020 à 17:42, Thomas Moreau<EMAIL_ADDRESS>a
écrit :

@tomMoral commented on this pull request.
The error comes from the fact that you need to install R before running
this.
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
This is why I think using conda instead of for deps would help as it
would allow installing R or julia or compiler seemlessly.
In benchmarks/lasso/solvers/glmnet.py
https://github.com/benchopt/benchOpt/pull/45#discussion_r423833491:

+class Solver(BaseSolver):

name = "glmnet"

install_cmd = 'bash'
install_script = 'install_glmnet.sh'
requirements_import = ['rpy2']

def set_objective(self, X, y, lmbd):

   self.X, self.y, self.lmbd = X, y, lmbd

   self.lmbd_max = np.max(np.abs(X.T @ y))

def run(self, tol):

   numpy2ri.activate()

   rpackages.importr('glmnet')

   glmnet = robjects.r['glmnet']

I would put this in set_objective as this is doing imports that can take
time while not related to the benchmark in itself.
In benchopt/base.py
https://github.com/benchopt/benchOpt/pull/45#discussion_r423834302:

@@ -132,6 +132,10 @@ def install(cls, env_name=None, force=False):
pip_install_in_env(*cls.requirements_install,
env_name=env_name)
elif cls.install_cmd == 'bash':

               # eventually install other packages needed

               if hasattr(cls, "requirements_import"):

This should be requirements, requirements_import is a hook for when the
name of the import is different from the name of the requirement.
In install_scripts/install_glmnet.sh
https://github.com/benchopt/benchOpt/pull/45#discussion_r423834670:

@@ -0,0 +1,4 @@
+python -c 'import rpy2.robjects.packages as rpackages; \

utils = rpackages.importr("utils"); \
utils.chooseCRANmirror(ind=1); \
utils.install_packages("glmnet", dependencies=True);'

nice
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/benchopt/benchOpt/pull/45#pullrequestreview-410170307,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACETTQV45HQYJ636LWTE33LRRFU7ZANCNFSM4M6E6GUQ
.

So, how would you do it ? Not by installing r in bash before rpy2 ? (Actually an issue since the order is r, rpy2, glmnet in r, corresponding to bash, python, bash)

You could do everything in bash by just calling pip install r2py instead of using deps.
However, I am reluctant to installing stuff on the user system and not in an env. I would rather use conda for this, to have isolated env that works on all platforms with binaries.

From what I see online, conda install r-base should install R.
But I am not unsure, are we using conda at the moment ? I see pip everywhere except in CI

Ok so it was surprisingly easy to do now that we have conda.
The tests pass on linux though rpackages is not defined; we don't test that the solvers run @tomMoral, is it on purpose bc it would take a lot of time ?

Yes this is mostly that and also that we need to install all the solvers to make this run.
As before, we were testing the uninstall after the install, it was very inconvenient but maybe we should now try to make the solver run (and not skip them).

plots do make sense for you?

plots do make sense for you?
…

which plot? could you attach what you get here?

@josephsalmon

and there is an error for scipy sparse matrices. I am looking into it

The sampling strategy for tol yields values which are too high for glmnet to improve the objective, causing premature stop of the runner because it sees no improvement.
Reproduce with
import numpy as np
from numpy.linalg import norm

from benchmarks.lasso.solvers.glmnet import Solver
from benchmarks.lasso.datasets.boston import Dataset

sol = Solver()
dataset = Dataset()

p, data = dataset.get_data()
X, y = data['X'], data['y']

lmbd_max = np.max(np.abs(X.T @ y))

lmbd = lmbd_max / 2
sol.set_objective(X, y, lmbd)

for tol in np.geomspace(1, 1e-7, num=7):
    sol.run(tol=tol)
    w = sol.get_result()
    print(norm(y - X @ w) ** 2 / 2 + lmbd * norm(w, ord=1))

output:
118738.32751256222
118738.32751256222
118738.32751256222
118738.32751256222
118734.00209545472
118733.22737053409
118733.10199692092

Hi, I have a question regarding the management of the regularization parameter.
glmnet tries a range of values (set by lambda.min.ratio) instead of just a single one and returns the corresponding vector of estimates.
I guess it is different from other methods where you can properly choose a lambda. However, I cannot find where the lambda grid is managed in benchOpt?
Thanks

@gdurif it is managed here: https://github.com/benchopt/benchOpt/pull/45/files#diff-33ad2912da3474749cfba930bae18b09R29   with
fit_dict = {"lambda.min.ratio": self.lmbd / self.lmbd_max}
then we get back only the coefficients corresponding to the last lambda, with
coefs = np.array(as_matrix(results["beta"], "matrix"))
self.w = coefs[:, -1]

@mathurinm : don't you think it would be fairer to use: nlambda = 1 (or 2)?
nlambda is the number of λ values in the sequence. Default is 100.
so I presume 100 lambdas are computed in the process, right?
see: https://web.stanford.edu/~hastie/glmnet/glmnet_alpha.html

@mathurinm ok thanks, why choosing the last one?

@gdurif because it's the one we're interested in from an optimization point of view, we want to solve a single problem fit lambda so we solve a path of 100 values from lambda max to lambda, and pick the coefs for the last problem
@josephsalmon actually since warm start is used it should help to use a grid. When a single lambda is fitted with glmnet.fit, I believe this is the policy used by glmnet. (which amounts to working sets in spirit)

@josephsalmon you're right. And glmnet code is optimized to more efficient when using the default lambda vector instead of giving a user-defined lambda value.

ok sounds fair then, let's try that way for a start.
my experience is none with glmnet, so my insights from other solvers (costly to compute 100 values even if warm start helps) will not help here. But for large X matrix, there might a big overhead though.

@mathurinm ok I understand.

@mathurinm glmnet can manage sparse matrix from R package Matrix:
# sparse matrix
library(glmnet)
library(Matrix)

x = matrix(rnorm(100 * 20), 100, 20)
y = rnorm(100)

sparse_x = Matrix(x * (abs(x) < 0.5), sparse = TRUE)
fit1 = glmnet(sparse_x, y)
print(fit1)

There should be a way to convert scipy sparse matrix to Matrix sparse matrix, I will look into it.

@gdurif yes, I am the author of the question :smile:
I tried locally
    def set_objective(self, X, y, lmbd):
        self.X, self.y, self.lmbd = X, y, lmbd
        self.lmbd_max = np.max(np.abs(X.T @ y))

        if sparse.issparse(X):
            # py2ri does not handle sparse
            X = X.tocoo()
            r_Matrix = importr("Matrix")
            self.X = r_Matrix.sparseMatrix(
                i=robjects.IntVector(X.row + 1),
                j=robjects.IntVector(X.col + 1),
                x=robjects.FloatVector(X.data),
                dims=robjects.IntVector(X.shape))

but I ended up with high memory consumption on my laptop so I decided to address it in a subsequent PR. We have a mechanism to state that a solver does not support sparse X in the meantime.

@mathurinm ok, good question then :sweat_smile: I'll try to dig into this.
Regarding the number of lamdas, I guess we could find a hack based on the default values for nlamda (i.e. 100) and lambda.min.ratio which is, according to the doc:

Smallest value for lambda, as a fraction of lambda.max, the (data derived) entry value (i.e. the smallest value for which all coefficients are zero). The default depends on the sample size nobs relative to the number of variables nvars. If nobs > nvars, the default is 0.0001, close to zero. If nobs < nvars, the default is 0.01. A very small value of lambda.min.ratio will lead to a saturated fit in the nobs < nvars case.

We can deduce the number of lambdas that would correspond to the same grid step for a chosen lambda. I'll try it.

We should maybe protect rpy2 imports to avoid a hard dependency on R

They are protected no ? The helper need to be used in the import_ctx.

ok we're good then

one more down !


inference error

when i'm using a photo of my own(1080p)， it gives me an error
RuntimeError: The size of tensor a (640) must match the size of tensor b (1920) at non-singleton dimension 3

You should change the H, W. If you use the 1080 * 1080 resolution, you should resize your image to 512 * 512 or changing the H, W into 1080 * 1080.


Cant break blocks constantly and the progress of breaking a block will be "saved" on 1.20.4

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Get into a server
Try to break a block
Then the move away your crosshair before you completely break the block, the block seems frozen and the progress of breaking a block will be "saved", after a few seconds, you can still continue your breaking progress of the block and it just takes few seconds to block it (if you have almost break the block before this). Also, everytime you click the mouse, you are only able to break one block.

Expected behavior
play game normally
Screenshots

Desktop (please complete the following information):

OS: [Windows 11]
Minecraft [1.20.4]
Fabric [e.g. fabric 0.15.3]
Mods [only midnight control]
Version [e.g. 1.9.1]

Additional context
Add any other context about the problem here.

Can confirm, and this is much worse on MCC island where trying to break crates on dynaball does not trigger.

Did you change any settings related to touch?


Push new Version

Can you push a new version with the ARM binary so I can test?

ARM Android?
Sorry...
Done.
To many talks today with you about the different problems and I forgotten about this task.


Understanding of Datahub

After researching on datahub for a while, I have some understandings but also some confusions.
Here is what I think datahub is. Datahub extracts metadata from data, and stores them independently. It dosen't changes how the data are stored, but instead keeps it the same way it is, and indicates the data information (titles, schemas, where it is stored...) with metadata. When I have written a Mysql script for example, I can reuse it later because the storing of data is not changed. Datahub is more of a data management and discovery system, less of a data storage system.
Here is what I am still confused. Datahub applies on big data scenerio, where storing is also a key point. When we need to ingest a large amount of data, for example from Mysql source into Mysql sink (in my understanding datahub just copy data into the same type of database), how can datahub overcomes the problems in big data.

Focus on the metadata, not bigdata

Datahub can extract schema info from json files, however, does it support json files like the one bellow?

More generally, when users are uploading random json files, how does datahub deal with them

DataHub currently does not support ingesting arbitrary json files.
I would recommend you check out the Features page, it should help you get a better sense of what DataHub does and does not do.

Closing the ticket as not an issue. @Cascol-SCUT please contact us on slack for further questions in this regard.
Thanks
John


Update to the Application Intent policy

Application Intent = Read Only for VM is not a thing, and I added more information on how this data is stored in LA.

@AlainDormehlMSFT : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Hi @AlainDormehlMSFT - This pull request was opened in the public repo. PMs should work in the private repo, per the Microsoft Docs contributor guide. We can keep this PR open for review and merge, but would you make future content updates in the private repo? Thank you!

Ahhh, I always forget about that :( sorry I don't do this very often. Just figured I would make the update while it was fresh in my mind.
Sent via the Samsung Galaxy S20 5G, an AT&T 5G smartphone
Get Outlook for Androidhttps://aka.ms/ghei36

From: Kristine Toliver @.>
Sent: Wednesday, April 7, 2021 11:44:22 AM
To: MicrosoftDocs/azure-docs @.>
Cc: Alain Dormehl @.>; Mention @.>
Subject: Re: [MicrosoftDocs/azure-docs] Update to the Application Intent policy (#73393)
Hi @AlainDormehlMSFThttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAlainDormehlMSFT&data=04|01|Alain.Dormehl%40microsoft.com|0976fbf85f6840664e6108d8f9e465d0|72f988bf86f141af91ab2d7cd011db47|1|0|637534106652478440|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=shAvcaOOd%2BfQXrkVbLsdeGAHhqHRXnqR3ACUQXeSK%2Bs%3D&reserved=0 - This pull request was opened in the public repo. PMs should work in the private repo, per the Microsoft Docs contributor guide. We can keep this PR open for review and merge, but would you make future content updates in the private repo? Thank you!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fpull%2F73393%23issuecomment-815062657&data=04|01|Alain.Dormehl%40microsoft.com|0976fbf85f6840664e6108d8f9e465d0|72f988bf86f141af91ab2d7cd011db47|1|0|637534106652478440|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=dSPKjiD%2BpaQRJCSc5YRt%2FcdeLkYNVroak8Ckcv8Dbkw%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAHGFHD4VRSITMYELDEOKQBTTHSDWNANCNFSM42Q6YPWQ&data=04|01|Alain.Dormehl%40microsoft.com|0976fbf85f6840664e6108d8f9e465d0|72f988bf86f141af91ab2d7cd011db47|1|0|637534106652488396|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=Bkf%2B2YYOyTvZZATl8LoXes7tZtMjeVjjVS%2BVrtVTJa8%3D&reserved=0.

@AlainDormehlMSFT No worries. :) To make a quick edit in the private repo, after you click the Edit button in an article and the editing pane opens, edit the URL in the address bar to point to the private repository. The browser page reloads and you're working in the new repository.

#sign-off


Bump the level of Jersey for Eureka server to at least 1.13 due to loading static resources issue.

Cannot load non-REST static resources such as CSS, images and JS on WebSphere Application Servers.
Attempting to load these static resources (i.e. a redirect to http://localhost/eureka/jsp/status.jsp or http://localhost/eureka/css/main.css for example) gives back a 404. The issue is described in JIRA at the following:
https://java.net/jira/si/jira.issueviews:issue-html/JERSEY-880/JERSEY-880.html
This issue was identified in Jersey v1.11, which is what the Eureka server is currently being built on. The issues item identifies that this is fixed in Jersey v1.13. I've rebuilt and tested Eureka with Jersey v1.18 and it is able to successfully load these static resources.
Requesting for the level of Jersey be bumped up to at least v1.13.

Jersey Version needs to be updated in build.gradle

Thanks for pointing this out. We have to make a few other changes to bump to higher version, as eureka-client is a direct or transitive dependency in other projects. We are working right now on this.
For the meantime, you have to overwrite the version in your gradle config.

Latest release (1.2.0) has bumped jersey version to 1.19. Apologies for how long this took!


Send multiple messages in Whatsapp

Fixes #124
This extends the Whatsapp API to support sending multiple messages or images to a given contact or group.
The chosen approach is to accept either a single value or a list of values in the existing API. While this does not affect current users, it seemed more convenients that having to remember the corresponding versions with "s" - like sendwhatmsgs_instantly.
One question that araises from such as change is the support for images. What makes an image to send is the tuple (image_path, caption). However, the API currently accepts each argument separately.
For now, I introduced a second method and rebind the existing method to it. Unfortunately, it was not possible to give the same names to the two methods.
I also added a samples directory. Firstly, it was convenient for me to simply run some commands from the CLI without having to rewrite the same code in the Python REPL. Secondly, it may be useful to illustrate API usages as well as provide convient ready-to-use scripts.
I am waiting for the opinions of the usual contributors on that, as I just recently discovered this API.
This is still a draft as I have several items on my todo-list before making it final. Yet, I wanted, if possible, some feedback on the chosen design direction.

Todos

[x] Do not open a new tab for each message.

cool I will check it

When is this going to be merged?

Hey @DevGab5, we are currently working on fixing existing bugs before merging any new features. Just to inform that this will be surely merged. Thanks for bearing with us!


EF6 to EF Core porting guide

A comprehensive guide to porting from EF6 to EF Core. This will address #1180.

@dotnet/efteam this is in draft status ready for your review.
I'll tag some other individuals after this first round.

Adding @ryanbrandenburg and @jinujoseph for review and feedback.

Hi @dotnet/efteam and @ErikEJ ... I made a pass at updates, waiting for an approval or another round of edits. Goal is to get this out early next week. Thanks!


Ehealth 1233 Declaration Verification

Additional verification logic for Create Declaration Request
https://github.com/edenlabllc/ehealth.api/issues/1233

Changes Unknown when pulling 54a65507f0c26b8e696ad252e719d1931b07a3b8 on EHealth-1233-Declaration-Verification into ** on master**.

Changes Unknown when pulling b5e6378a9225c9b27d8b8488c51e9e24a1b3ba20 on EHealth-1233-Declaration-Verification into ** on master**.

Changes Unknown when pulling efe6b82f167420711de8b0a5314f61b045b72c99 on EHealth-1233-Declaration-Verification into ** on master**.

Changes Unknown when pulling da88831e7192ddb46325647639f3ded1feaa41df on EHealth-1233-Declaration-Verification into ** on master**.

Coverage increased (+0.1%) to 90.088% when pulling e1678126cdd9c18d96514fe459fa981739639f09 on EHealth-1233-Declaration-Verification into cca914490d3843ed94178863e25ce755f15cde82 on master.

Changes Unknown when pulling 73c4afa5f64927a5e9d61e6147fd7cdcc30c533c on EHealth-1233-Declaration-Verification into ** on master**.

Changes Unknown when pulling b5631683b0ed46498afd4148fb0cc46867709e18 on EHealth-1233-Declaration-Verification into ** on master**.

Changes Unknown when pulling 5b994558d96803a9890e150a9131faec1f88e9fe on EHealth-1233-Declaration-Verification into ** on master**.

Changes Unknown when pulling 3f41dabb3f71e6fb81789aa431c9110fbf300155 on EHealth-1233-Declaration-Verification into ** on master**.

Changes Unknown when pulling 0c5801900efdf8e8ed4f24e58b8a9a6d43426841 on EHealth-1233-Declaration-Verification into ** on master**.

Changes Unknown when pulling d9b44eb1b9d1913899db88e3c7f767fd05d97e88 on EHealth-1233-Declaration-Verification into ** on master**.


Zotero.searches() not found

General
Platform:  OS X
Python version:  Python 3.6.4
Pyzotero version: latest
Problem description
'Zotero' object has no attribute 'searches'
If possible, paste the full traceback in a code block below, and fill in the summary
''Traceback (most recent call last):
File "zapi.py", line 121, in
run()
File "zapi.py", line 117, in run
main(sys.argv[1:])
File "zapi.py", line 110, in main
zotero_searches(args.api_key, args.library_id, args.library_type)
File "zapi.py", line 87, in zotero_searches
items = zot.searches()
AttributeError: 'Zotero' object has no attribute 'searches'
''

Other search methods do not work either - e.g. saved_search. What am I doing wrong?

I can't reproduce this. Can you paste or link the complete script you're trying to use?

See here: https://gist.github.com/bjohas/46231fa0a476c054617b91a1f12fc4d6
Run as:

python3 searches.py API_KEY GROUP_LIB_ID

Traceback (most recent call last):   File "searches.py", line 25, in <module>     run()   File "searches.py", line 21, in run     main(sys.argv[1:])   File "searches.py", line 18, in main     zotero_searches(sys.argv[1], sys.argv[2], "group")   File "searches.py", line 13, in zotero_searches     items = zot.searches() AttributeError: 'Zotero' object has no attribute 'searches'
I'm just starting to explore the library - many thanks for writing it, and apologies if this is my mistake!

Hm. Can you confirm which version of Pyzotero you've installed? It should be 1.3.15, and any version lower than 1.3.10 doesn't have saved-search functionality…

Yep - that's the problem. I just did a pip install pyzotero (on OS X, 10.11.6) and it only gives me 1.3.7.:

pip show pyzotero
Name: Pyzotero
Version: 1.3.7

I'll install directly from git!

Hmm that's very odd – 1.3.15 is definitely available on PyPI, so pip should work just fine.

I had installed a tool that somehow had 1.3.7 as requirement - hence that version was installed. I've now uninstalled that tool, and then uninstalled pyzotero, and reinstalled it: Now on 1.3.15. So that's all good.
However, with the same source as above, I now get:

Traceback (most recent call last):
File "searches.py", line 9, in
from pyzotero import zotero
ImportError: cannot import name 'zotero'

Can you verify that import zotero works in a bare python repl?

Do you mean in the interpreter?

python3

...
import pyzotero

works, but

from pyzotero import zotero

Thanks for the replies!

There's almost certainly something wrong with your path or virtual environment:
(venv) sth:~/dev/pztest $ python
Python 3.6.1 (v3.6.1:69c0db5050, Mar 21 2017, 01:21:04)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from pyzotero import zotero
>>>

That's 3.1.15, freshly installed from PyPI in a new virtualenv…

THANK YOU! THANK YOU!
Yes, it was an issue with the path setting for python 3.6. Not sure why that happened, but it seems to work now!

In case it's helpful to anybody else: Seems something was wrong with my python installation. In the end, I installed python3.7 from brew, installed pyzotero via pip and set the path in .profile to include /Library/Frameworks/Python.framework. Now everything works as advertised.


Dockerize

Add a Dockerfile with the current ruby version and build steps (bundle install primarily).

Check out this one for reference:
https://github.com/switzersc/api-in-a-box/blob/master/api/Dockerfile

We'll just want to make sure the Ruby image in line one is for our version of Ruby (2.5.3)

Closed by #37


Looks good but errors

I keep getting asked what port.

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

ID: b7fe5aca-0d89-a75b-56e0-68abfa11e846
Version Independent ID: 36b16f53-b0b5-fe6d-e819-b4778ecf8035
Content: Invoke-WsusServerCleanup (wsus)
Content Source: docset/windows/wsus/invoke-wsusservercleanup.md
Product: w10
GitHub Login: @brianlic-msft
Microsoft Alias: brianlic

Hello, @62Hank  thank you for providing feedback.
Note that the feedback section you have submitted this feedback from is intended for product documentation issues only.
Please consider checking with PowerShell community for your problem so that it gets resolved quickly.
PowerShell Community Links
For bug reports specific to PowerShell, please visit, PowerShell at GitHub.
Thanks again.

@officedocsbot close


[minor][mysql] Filter databases that do not need to be read

We can filter out unnecessary databases before executing the "show full table" statement

@Paddy0523 Thanks. Could you rebase the master branch?

@Paddy0523 Thanks. Could you rebase the master branch?

done.
@ruanhang1993


Javascript Version

Will there be a javascript version of this?
I tried to look for this API with the Visual Studio 2017 intellisense but I was unable to get it
with the Empty AppTemplate

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

ID: 9554b9f2-2f49-1833-1143-0103c18c37c8
Version Independent ID: ef28f9ce-bd72-0435-6238-95d574eabee1
Content: Create a multi-instance Universal Windows App - UWP app developer
Content Source: windows-apps-src/launch-resume/multi-instance-uwp.md
Product: windows
GitHub Login: @TylerMSFT
Microsoft Alias: twhitney

Hi Angel,
Multi-instancing works with Javascript/WWA apps. You'll need the manifest attribute:

…

Multi-instancing redirection does NOT work with WWA.

The commenting system consumed the attribute I tried to paste. See the topic regarding desktop4:SupportsMultipleInstances="true"

Thanks @TylerMSFT , I did try what you said. I'm going to try again and publish a sample repo in case I can't make it work

@TylerMSFT
I've done the XML part
but most likely what I don't fully get is how to do this part
 // First, get a list of all running instances of this app.
instances = AppInstance.GetInstances();
// Next, we'll get our rich activation event args.
IActivatedEventArgs activatedArgs = AppInstance.GetActivatedEventArgs();

When I try to check on the Javascript version I don't find any information related to Appinstance
on a recent try I even got this warning in the console

this is a new clean app with the javascript empty template
you can check my repro case here (https://github.com/AngelMunoz/multi-instance-uwp-js-repro)

Hi, @AngelMunoz, apologies for the delay in responding. This feels like a support issue rather than a documentation issue. I'll pass along your repro case to the product team, and I'll reopen this issue if there turns out to be anything that I can do to improve the docs here.
Some other options: the Windows developer feedback site is the right place to file a product bug; the Developer Community; for issues, or suspected product bugs, there's Microsoft Support; a support engineer will look at the repro and see whether the issue is a product bug or something else.
~Steve

Thanks @stevewhims Should it be noted in the documentation that there doesn't seem to be support for javascript apps yet?
in any case, I will try the other options provided

If that turns out to be the case, then I'll definitely fix the docs. I'm sending a link to this issue to the product owners, and I'll await their instructions. Thanks, @AngelMunoz! ~Steve

Hi, @AngelMunoz, it seems that the answer was actually given in the thread above, although it's very easy to miss, and it didn't make its way into the documentation.
Multi-instancing is supported for JavaScript applications, with the exception of multi-instancing redirection (which is NOT supported for JavaScript applications). Therefore, for JavaScript applications, the AppInstance API is not useful, and this explains why it's not working for you. I'll update this topic immediately; the fix should be live within the next 24 hours.
~Steve

ah I see, thank you! I also made a support question here
https://developercommunity.visualstudio.com/content/problem/339674/multi-instance-javascript-uwp-app.html
However would it be too much to ask for a javascript sample? I find it a bit confusing
Thank you for your support @stevewhims !

AFAIK, we don't plan to add a JavaScript sample at this time. But I'll pass your ask along to the product team. ~Steve

I understand, thank you


Question about the C++ API--Help no longer needed, please ignore

@jdinius-dev  you got this figured out?


Tool could generate summary reports (.pdf. or similar) for public consumption - T

Part of Emergency Response - would this be only during events/emergency or is this in general?


Spelling mistake

Hello,
I was reading this page, and I think I spotted a spelling mistake.
On this page there is a sentence that says, " If your user looses admin access during the run of the sync flows", I think it's meant to be  If your user loses admin access during the run of the sync flows.

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

ID: 2d61c7e5-8eda-2412-1bef-ffc9b74887bb
Version Independent ID: 45d039f7-eb71-efdb-334e-2dad2db5aac1
Content: Limitations - Power Platform
Content Source: power-platform/guidance/coe/limitations.md
Service: power-platform
GitHub Login: @manuelap-msft
Microsoft Alias: mapichle

Fixed, thank you for letting us know

Fixed, thank you for letting us know


IFrames not working anymore

Looks like cloning iframes is not implemented in the latest?

Need to investigate better. The issue is related to iframes with an onload handler.

Nope, iframes don't work anymore. I have been trying to follow the code but for now will revert to alpha 1.

In v1.0.0-rc.1 still worked. After that the code to handle it has been commented out in changes. I think that the author knows more about that.

Any solution on capturing iframe screenshot?

Check the element that passed to the html2canvas. That might be the reason. I solved this problem by catching the document of iframe correctly.
const element = document.getElementById(       'my-iframe'     ).contentWindow.document.getElementById('inner-content');     html2canvas(element, {       useCORS: true,       scrollY: document.body.scrollTop     }).then(canvas => {       const img = canvas.toDataURL();     });
FYR: https://stackoverflow.com/questions/3999101/get-iframes-document-from-javascript-in-main-document

2023, the latest version is not working...I have a page that includes iframes and html2canvas will output an empty element. It's because html2canvas dosen't render iframe's content

problem is not creating individual iframe to canvas problem is getting ALL the content along with the iframes.
how to capture the body and have the iframes replaced with images?


support for matl version 1.5

Hey there !
I was wondering. I'm trying to import files from a dump of the arcade game taiko nijiiro, that uses lumen files.
Everything works besides material import (since it uses numatb version 1.5).
It's completely unrelated to smash in particular but do you happen to have documentation or ideas on how i could add support for those?
Thanks a ton !

I checked and it looks like ssbh_lib supports version v1.5 but ssbh_data does not. I've made an issue for this in https://github.com/ultimate-research/ssbh_lib/issues/153. ssbh_data_py is based off of ssbh_data, so it doesn't support v1.5 yet. It looks like the rasterizer and blend state structs for the older version are completely undocumented.
If you don't need Python, you can just use ssbh_lib from Rust or use ssbh_lib_json from terminal. It's a bit of a hack, but you could even call ssbh_lib_json as a process and work with the JSON data from Python.

This is implemented in ssbh_data now on the latest commit. The plan is to do a minor release for ssbh_data_py that adds support for matl v1.5.


setState raised error

After build the React 16  app  with preact-compat, I received this error when calling a function with setState for onClick event

Preact doesn't support createPortal currently. It is on the to-do list of preact-compat though. This issue is more suitable to be in preact-compat repo.

Closing in favor of developit/preact-compat#481. Cheers!


Highlighting is broken in strings containing the = character

Description
I believe that the syntax is broken when a string contains quotes after the = character. When this happens, the editor thinks that the string ends after the first quote.
Screenshots

[Run]
Filename: {sys}\sc.exe; Parameters: "create dotnetcorewinservice binPath= ""{app}\bin\Release\net451\win7-x64\WinServiceDemo.exe"" start= auto" ; Flags: runhidden

Yeal, I will try to fix this problem


[FEATURE] Network Variable with MySQL

Hello, it would be good to add a network variable system with MySQL (or other database) because all the other addons that do that, it doesn't work very correctly so if you can add this system, I think what would be good for the users.
I know it's complex but I think it would be good for the addon.

i have no clue how to use databases lmao

Ah okay it's alright

otherwise do you have the possibility to store the network variables on a bungeecord/velocity?

nah idk how to use proxys
ill maybe learn and try to add it

ok take your time to learn, don't worry this addition can wait while you learn how to use proxies. after you can look in the code of other addons that do it to learn in short good learning.


Can we use animators with child view controllers?

In my current app, I'd like to use the Fold animations when transitioning between two child view controllers. From what I know about the animators, I don't think we can. For example, for a fade transition, I will have the following code (approximately):
        oldViewController.willMoveToParentViewController(nil)
        addChildViewController(newViewController)
        addSubview(newViewController.view, toView:self.containerView!)
        newViewController.view.alpha = 0
        newViewController.view.layoutIfNeeded()
        UIView.animateWithDuration(animationDuration, animations: {
            newViewController.view.alpha = 1
            oldViewController.view.alpha = 0
        }, completion: { finished in
            oldViewController.view.removeFromSuperview()
            oldViewController.removeFromParentViewController()
            newViewController.didMoveToParentViewController(self)
        })

But that's a bit sad to have to rewrite it since we already did it in FadeAnimator, or if I wanted to use a more complex transition... any suggestions about this?
That issue may be related to #187

@tbaranes Have you seen this article before, https://www.objc.io/issues/12-animations/custom-container-view-controller-transitions/ it looks like something similar to your requirements. Because all ***Animators conform to UIViewControllerAnimatedTransitioning it will work with the container ViewController uses - (id <UIViewControllerAnimatedTransitioning>)containerViewController:(ContainerViewController *)containerViewController animationControllerForTransitionFromViewController:(UIViewController *)fromViewController toViewController:(UIViewController *)toViewController;

Right, I'm gonna give a try. Thanks!

I finally get it working using your links, thanks to you. IBAnimatable is only missing a Container, it should be more or less similar to Navigator by abstracting all the stuff related to the transition.
That doesn't follow the main goal: a library for the designers, but I think, that will be definitely worth it for every developers!
If you are ok with it, I will create a PR next week 💭


move dns_alt_names up into master, placed by puppet::common

should fix #50

Looks like the test just needs to be moved on this - could you move that so I can merge it?

sorry about that, looks good now!

Thanks!  I should have waited for this to do a release, I'll bump it really quick again.


Refs #32260 -- Made admindocs and technical 404 debug page use view_func.view_class.

In reference to the discussion here about changing the __name__ and __qualname__ of wrapped views: https://github.com/django/django/pull/14124#discussion_r595871313

@adamchainz Thanks :+1:


CommandNotFound default to tags get before silently ignoring

Before any CommandNotFound exceptions were completely ignored, now it will first try to find a tag by invoking tags get before ignoring. If it finds a tag it posts it.
This would act as a shortcut for all tags that don't overlap with command names

Yeah I like this. Let's do it.


Is there a way to also highlight 8-digit hex colors?

Hi. Thank you for this great plugin.
I was wondering if it would be possible to also highlight 8-digit hex colors (and perhaps its shorthand form, the 4-digit hex colors)?
Thank you in advance.

Thank you for your suggestion! I've just added support for 8-digit and 4-digit hex formats. They should work in the next release :)


Evaluate enabling multi-targeting for track2 Azure SDKs wherever needed.

We have seen instances where Key Vault, Monitor Ingestion Log behave differently across different frameworks. As of now we have worked around the differences via reflection.
We need to evaluate what parameters should we use to decide whether an SDK should be enabled for multitargeting and which of our SDKs would benefit from this.

Can you please provide more context around what "behave differently" means?   There is not enough information to understand what action needs to be taken or how to make the requested evaluation.

We have different APIs support between the different frameworks in case of Keyvault. In case of monitor log - some of the Gzipstream methods behave differently in .NetFramework vs .Net Core
There is conversation on the teams channel for it. I created the issue so we do not lose track of it and continue to follow-up. Let me know if you want more details here.

Closing this issue as duplicate of https://github.com/Azure/azure-sdk-for-net/issues/28577, but @pallavit, feel free to reopen if you feel they're distinct, or add any additional context you'd like to track on https://github.com/Azure/azure-sdk-for-net/issues/28577 for that investigation.

Ah, cool, thanks @pallavit!  Would you mind filling in the thinking behind the decision not to do this, so we can document it here in case we ever decided to revisit the question?


Best way to retrofit stair code into another controller?

I'm using an FPS controller and am trying to figure out the best way to retrofit this into it, but the move_and_slide() function is right in the middle of the stair test. Is it possible for this to be refactored so it could work with potentially any character controller? The one I currently use works like this:
velocity += extra_vel
stairs(velocity,delta)
move_and_slide()

So the stairs function does all the stair stepping, and the controller finishes up with move_and_slide. Is this possible?

I think if you copy most of the character controller's code into your own character controller and then call move_and_climb_stairs() instead of stairs() and move_and_slide(), it would probably work? If I'm remembering right, this is the relevant section of code: https://github.com/wareya/GodotStairTester/blob/4ba2e4e552ce15beae670fd15f148414826e19c7/player/SimplePlayer.gd#L53C1-L243C1

I think if you copy most of the character controller's code into your own character controller and then call move_and_climb_stairs() instead of stairs() and move_and_slide(), it would probably work? If I'm remembering right, this is the relevant section of code: https://github.com/wareya/GodotStairTester/blob/4ba2e4e552ce15beae670fd15f148414826e19c7/player/SimplePlayer.gd#L53C1-L243C1

This actually worked too well, haha, I didn't expect that!


Video: Overview of v0.2

Show the main changes and improvements to the project, and share a few insights on the development process, code design decisions...
Invite people who'd be interested in contributing to give a hand.

I'll work on it tomorrow

Recorded, sent to edit, coming out soon


Links to Gaia Datasets in documentation not correct

In https://github.com/maartenbreddels/vaex/blob/master/docs/source/datasets.ipynb
There are 2 errors:

'Gaia data release 2 (DR1)'  => Gaia data release 2 (DR2)
The link to 'Full Gaia DR2 - 1.7 billion rows 1.2TB' points to the  '[Only with radial velocities - 7 million - 5.2GB]' file: gaia-dr2-rv-sort-by-source_id.hdf5  and not the full Gaia DR2 dataset file

Hi Leanne,
Good catch! Thanks for reporting, the docs will be up to date as soon as readthedocs builds it.
cheers,
Maarten


[Bug] 0.15.2 upgrade - padrino tags rendering to html entiries in templates

Do you want to request a feature or report a bug?
A bug! (but so happy we've upgraded padrino to 0.15.2 and upgrade looking good so far.  =] ).
What is the current behavior?
In padrino with haml/sass as rendering engine, padrino tags such as = form_tag url and = favicon_tag etc and all nested haml code below render as thei html entiries (eg. lt& rather than <).
What is the expected behavior?
Expected behaviour is to have them render as < or similar.
Example
!!! 5
%html{:lang => 'en'}
  %head

    %meta{:content => 'text/html; charset=utf-8', 'http-equiv' => 'Content-Type'}
    %meta{:name => :viewport, :content => 'width=device-width,initial-scale=1'}
    %title= @title.present? ? "#{@title} | AArk Admin" : "#{pat('login.title')} | AArk Admin"
    =favicon_tag "favicon.ico"
    %link{:href => 'http://fonts.googleapis.com/css?family=Varela', :rel => :stylesheet}
    %link{:href => "https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css", :rel => :stylesheet}
    %link{:href => "https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css", :rel => :stylesheet}
    %link{:href => "https://cdn.datatables.net/1.10.13/css/dataTables.bootstrap.min.css", :rel => :stylesheet}
    =stylesheet_link_tag 'app'
  %body
    .modal.fade
    = form_tag url(:sessions, :create), :class=>'login form-horizontal' do
      .modal-header

renders as:
<!DOCTYPE html>

<meta content='text/html; charset=utf-8' http-equiv='Content-Type'>
<meta content='width=device-width,initial-scale=1' name='viewport'>
<title>Login | AArk Admin</title>
<link href="/admin/images/favicon.ico?1672408286" rel="icon" type="image/ico" />
<link href='[http://fonts.googleapis.com/css?family=Varela](view-source:http://fonts.googleapis.com/css?family=Varela)' rel='stylesheet'>
<link href='[https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css](view-source:https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css)' rel='stylesheet'>
<link href='[https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css](view-source:https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css)' rel='stylesheet'>
<link href='[https://cdn.datatables.net/1.10.13/css/dataTables.bootstrap.min.css](view-source:https://cdn.datatables.net/1.10.13/css/dataTables.bootstrap.min.css)' rel='stylesheet'>
<link href="/admin/stylesheets/app.css?1672408286" rel="stylesheet" type="text/css" />

<form action="/admin/sessions/create" accept-charset="UTF-8" class="login form-horizontal" method="post">&lt;div class=&#39;modal-header&#39;&gt;
&lt;div class=&#39;login-logo&#39;&gt;&amp;lt;img src=&amp;quot;/admin/images/logo_text.png?1672408286&amp;quot; alt=&amp;quot;Amphibian Ark&amp;quot; height=&amp;quot;118&amp;quot; width=&amp;quot;200&amp;quot; /&amp;gt;&lt;/div&gt;
&lt;div class=&#39;base-text&#39; id=&#39;login-text&#39;&gt;
&lt;h3&gt;
&lt;em&gt;Ex Situ&lt;/em&gt;
Program progress login
&lt;/h3&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&#39;modal-body&#39;&gt;
&lt;/div&gt;

Which versions of Ruby, Padrino, Sinatra, Rack, OS are you using? Did this work in previous versions?
Ruby 3.1.3
Padrino 0.15.2
Sinatra 3.0.5
Rack 2.2.5
Haml 6.1.1 (in case it's relevant).
(and worked like a charm in previous versions)
y viva padrino!

Thanks for reporting! Unfortunately that seems like a pretty critical bug, unfortunately that was able to sneak past our test coverage.
If @jkowens or any contributor has the time to investigate and submit a patch, I am happy to rush out a fix. Would be great if we could also add a regression test

@wakatara @nesquena this is due Haml 6. It now escapes html by default, similar to Hamlit.
See:
https://github.com/sinatra/sinatra/pull/1820
https://github.com/k0kubun/hamlit/issues/109

@nesquena @jkowens
Apologies gentlemen... you are indeed correct. The issue seems to be haml 6 (though disbaling html safety with a set and trying the != trick did not seem to work to fix the problem in haml code with a do loop at the end - still getting entities).
I've deprecated to 5.2.2 for now and the system seems to be working as expected so, seriously... super impressed that 0.15.2 is rocking things and seems to be working for a pretty complex app. I'll try to update things to haml 6 over the next little while as I upgrade other things in the app from 4 years back.  8-//  I'll repoen the ticket if anything in haml 6 is causing issues with tags.
Will kick the tires some more over the next few days... but, really... well done. Padrino does indeed ride again... =]

Excellent news, thanks again for testing, and glad that it was a known issue with HAML 6 with a straightforward workaround

@wakatara thanks for testing all of this out 😄 I don't really have clear in mind what the Haml 6 changes mean for Sinatra/Padrino use. I was hopeful just using != was the answer. I wonder if you possibly found a Haml bug? Might be worth creating an issue over there.


remove redundant "caseless" references

About the PR

Why / Balance

Technical details

Media

[ ] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

Changelog

I forgor what this is waiting on but smug mentioned merge conflicts


opt: avoid re-compute pk of agg circuit each time

It seems that this is fixed in PR https://github.com/scroll-tech/scroll-zkevm/pull/156.


APK size before decoding and after re-encoding

Information

Apktool Version (apktool -version) - 2.2.2 (edit: 2.2.4 also).
Operating System (Mac, Linux, Windows) - Linux x86_64
APK From? (Playstore, ROM, Other) - Play store / apkmirror. Facebook (non-beta) from 7/25/17, Android 4.0.3.

Steps to Reproduce

apktool d -s facebook.apk -o whatever
apktool b whatever -o facebook-repacked.apk
Compare sizes of facebook.apk and facebook-repacked.apk

It seems like when rebuilding an APK file, apktool generates a file that's ~20MB larger than the source APK. I suspect compression settings are the main culprit here, since manually repacking the APK with full ZIP compression (zip -9) results in a substantially smaller file (even compared to stock).
This isn't directly causing any kind of malfunction per se, but it raises suspicion of introduction of rogue code (by end users of published modded APKs), as well as increases storage requirements.

Please before to post issues check latest apktool version and use it.
You version is outdated.
The latest was 2.2.3 and from yesterday 2.2.4.

Thank you. The same behavior is observed on 2.2.4. Repacked APK is approximately 22MB larger than source.

Just to make my life easier, it seems to be this build - http://www.apkmirror.com/apk/facebook-2/facebook/facebook-134-0-0-25-91-release/facebook-134-0-0-25-91-4-android-apk-download/
I'll look into it soon.

Indeed. You want the ARM version. This is what I used:
http://www.apkmirror.com/apk/facebook-2/facebook/facebook-134-0-0-25-91-release/facebook-134-0-0-25-91-android-apk-download/download/
Thanks!

There are json files in /assets that are both STORED and DEFLATED. Apktool first encounters a STORED json file and thus records that extension as STORED.
This causes all jsons to be STORED. There is no support for this feature enhancement yet. Similar extensions that are stored differently is not something we have support for currently. This cannot be fixed until #1272 is solved, as this would amplify and make matters worse for that platform as this fix would require storing the relative file path to all individuals files in order to remember STORED vs DEFLATED at the file level instead of extension level.
I don't have a "blocked on" tag, so I'll just tag as bug for now.

All of the stored/compressed code was overhauled many times. This ticket is 4+ years old and many many releases have changed this. Going to close.


Translation `How to contribute' to Korean

Translation `How to contribute' to Korean

Sorry, My mistake this pull request.. please cancel and close this PR

Hey, no worries. I'm glad to see there's a Korean translation in the works!
Would you be up for opening an issue as described in the translation docs from #295 so others can track progress on it?

@bkeepers Thank you for your kind comment. I will look for more and open the issue.  I'm a newbie..
while translating this project,  I am learning about contributions.

@Blinders that's great!  We're so excited to have you helping here!
If you ever have any questions, want help with anything, or just want feedback, don't hesitate to ping me.


Obsolete template not handled

I'm getting the following error during the template searching step:
W0829 10:33:02.973526<PHONE_NUMBER>8224 templates.py:131] Template structure not in release dates dict: 4zon
I0829 10:33:02.973682<PHONE_NUMBER>8224 templates.py:716] Reading PDB entry from /net/scratch/datasets/alphafold//pdb_mmcif/mmcif_files/4zon.cif. Query: MRAAEPPSSTSGTRLSATVVTVRAMAEVTIVDESTGGAAPSTWTLEFLEERITVRELIRRRVYQEVGEYHASGGEFRGLVRPTARERALNGSPVGHGRVDWEEQADLAEKAFTRNGLVILVGDRQLVELDEEVDLTVHTEVTFLRLVALVGG, template: LAADADVDRMCRLLEEDGAFILKGLLPFDVVESFNRELDV
Traceback (most recent call last):
  File "/app/alphafold/run_alphafold.py", line 310, in <module>
    app.run(main)
  File "/opt/conda/lib/python3.7/site-packages/absl/app.py", line 312, in run
    _run_main(main, args)
  File "/opt/conda/lib/python3.7/site-packages/absl/app.py", line 258, in _run_main
    sys.exit(main(argv))
  File "/app/alphafold/run_alphafold.py", line 292, in main
    random_seed=random_seed)
  File "/app/alphafold/run_alphafold.py", line 129, in predict_structure
    msa_output_dir=msa_output_dir)
  File "/app/alphafold/alphafold/data/pipeline.py", line 187, in process
    hits=hhsearch_hits)
  File "/app/alphafold/alphafold/data/templates.py", line 882, in get_templates
    kalign_binary_path=self._kalign_binary_path)
  File "/app/alphafold/alphafold/data/templates.py", line 718, in _process_single_hit
    with open(cif_path, 'r') as cif_file:
FileNotFoundError: [Errno 2] No such file or directory: '/net/scratch/datasets/alphafold/pdb_mmcif/mmcif_files/4zon.cif'

However, this specific PDB ID is present in the obsolete.dat file:
OBSLTE    02-JUN-21 4ZON

I wonder why the app didn't handle this obsolete structure properly. Or, maybe, I missed something...

Hi Pawel, you are right, this is indeed a bug. I have a fix, we will try to push it soon. I will update this issue once it is submitted.


Menu item for textbox is always "Mark done" regardless of behavior

In the node menu, all of my nodes have the item "Mark done" regardless of whether they have a checkbox or not.
Selecting "Mark done" does the correct context-specific behavior: adding a checkbox, marking it as done, etc.
I'm not sure what the behavior should be if it's already marked done - selecting "Mark done" doesn't do anything in that case.

@progrium did we intentionally remove this functionality from the node menu?

oh that's why you were saying is stuff gone. yes, I removed non-core node operations from the menu because I was just adding it willy-nilly before. we need to determine criteria for being in menu vs usable via palette.

makes sense, that menu was getting quite long. will close this.


Log value that is written to cgroup file

Codecov Report

Merging #562 (30f5a7c) into main (e646b93) will decrease coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #562      +/-   ##
==========================================
- Coverage   61.15%   61.13%   -0.03%
==========================================
  Files          85       85
  Lines       12563    12564       +1
==========================================
- Hits         7683     7681       -2
- Misses       4880     4883       +3


Unticking Vary for the lattice parameter makes the spectra shift back to it's previous state

When performing a refinement, if I allow the a lattice parameter to change such that the diffraction peaks shift, and then untick the Vary-button, the spectra shifts back to it's previous state without updating the lattice parameter. See a movie of this issue below, starting from a blank project.
A related issue is that I can't seem to reliably load an existing project. The project description does not load, although it is defined in the project.cif file, but the model is loaded correctly. I also cannot save the project after adding the experimental data.
See the files appended below for my project structure, and experimental data which is in another directory.  Experimental data is taken from the example files.
whatever.zip
experimental.zip


The screen will blink when switching sources

As the video shows, when I switch sources (using the prev/next_source command), the content of a buffer comes out of the screen uninterruptedly, but soon it disappears, and since the interval between the "appear" and "disappear" events is very short, what I see visually is that the screen flickers.
I can't provide any more useful information at this time because I don't have a clue yet. If there's anything to add, please alert me and I'll be sure to be the first to look! Thanks again for all your work!
Here is my environment:
wsl2 ubuntu-22.04

NVIM v0.10.0-dev
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3

Here is my attempted:

Disable all extraneous configurations and keep only the minimal configuration of the neo-tree

Try using other terminal emulators or gui's

Here is my minimal cfg:

  use {
    "nvim-neo-tree/neo-tree.nvim",
    branch = "v2.x",
    requires = {
      "nvim-lua/plenary.nvim",
      "nvim-tree/nvim-web-devicons",
      "MunifTanjim/nui.nvim",
      {
        's1n7ax/nvim-window-picker',
        tag = "v1.*",
        config = function()
          require'window-picker'.setup({
            autoselect_one = true,
            include_current = false,
            filter_rules = {
              bo = {
                filetype = { 'neo-tree', "neo-tree-popup", "notify" },
                buftype = { 'terminal', "quickfix" },
              },
            },
            other_win_hl_color = '#e35e4f',
          })
        end,
      }
    },
  }

vim.g.neo_tree_remove_legacy_commands = 1

vim.fn.sign_define("DiagnosticSignError", {text = " ", texthl = "DiagnosticSignError"})
vim.fn.sign_define("DiagnosticSignWarn", {text = " ", texthl = "DiagnosticSignWarn"})
vim.fn.sign_define("DiagnosticSignInfo", {text = " ", texthl = "DiagnosticSignInfo"})
vim.fn.sign_define("DiagnosticSignHint", {text = "", texthl = "DiagnosticSignHint"})

require("neo-tree").setup({
  use_default_mappings = false,
  window = {
    position = "left",
    width = 40,
    mapping_options = {
      noremap = true,
      nowait = true,
    },
    mappings = {
      ['<CR>'] = 'open_with_window_picker',
      ['>'] = 'prev_source',
      ['<'] = 'next_source',
    }
  }
}

https://github.com/nvim-neo-tree/neo-tree.nvim/assets/38415769/4a1d61e5-d63f-4948-b6ae-7a66e40159c7

The screen flicker when switching between sources has been a topic of discussion for a little while, it's a known issue that no one has resolved yet. This is a duplicate of #713.
See #752 for more information.


Agent unit tests fail on router stats and broker configuration tests

I've seen this twice in 2 separate PRs yesterday and today: https://travis-ci.org/EnMasseProject/enmasse/builds/428626428?utm_source=github_status&utm_medium=notification
[INFO]   193 passing (31s)
[INFO]   8 failing
[INFO]
[INFO]   1) broker configuration
[INFO]        "after each" hook:
[INFO]      Uncaught Error: connect ECONNRESET <IP_ADDRESS>:45036
[INFO]       at Object._errnoException (util.js:992:11)
[INFO]       at _exceptionWithHostPort (util.js:1014:20)
[INFO]       at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1186:14)
[INFO]
[INFO]   2) router stats
[INFO]        retrieves stats for an anycast address from a single router:
[INFO]      TypeError: Cannot read property 'populate' of undefined
[INFO]       at Context.<anonymous> (test/router_stats.js:264:16)
[INFO]
[INFO]   3) router stats
[INFO]        retrieves stats for a queue from a single router:
[INFO]
[INFO]       AssertionError [ERR_ASSERTION]: 4 == 2
[INFO]       + expected - actual
[INFO]
[INFO]       -4
[INFO]       +2
[INFO]
[INFO]       at /home/travis/build/EnMasseProject/enmasse/agent/test/router_stats.js:317:20
[INFO]       at <anonymous>
[INFO]       at process._tickCallback (internal/process/next_tick.js:188:7)
[INFO]
[INFO]   4) router stats
[INFO]        retrieves stats for an anycast address from multiple routers:
[INFO]
[INFO]       AssertionError [ERR_ASSERTION]: 8 == 4
[INFO]       + expected - actual
[INFO]
[INFO]       -8
[INFO]       +4
[INFO]
[INFO]       at /home/travis/build/EnMasseProject/enmasse/agent/test/router_stats.js:345:20
[INFO]       at <anonymous>
[INFO]       at process._tickCallback (internal/process/next_tick.js:188:7)
[INFO]
[INFO]   5) router stats
[INFO]        retrieves stats for a queue from multiple routers:
[INFO]
[INFO]       AssertionError [ERR_ASSERTION]: 14 == 6
[INFO]       + expected - actual
[INFO]
[INFO]       -14
[INFO]       +6
[INFO]
[INFO]       at /home/travis/build/EnMasseProject/enmasse/agent/test/router_stats.js:395:20
[INFO]       at <anonymous>
[INFO]       at process._tickCallback (internal/process/next_tick.js:188:7)
[INFO]
[INFO]   6) router stats
[INFO]        retrieves propagation for a topic from a single router:
[INFO]
[INFO]       AssertionError [ERR_ASSERTION]: 20 == 100
[INFO]       + expected - actual
[INFO]
[INFO]       -20
[INFO]       +100
[INFO]
[INFO]       at /home/travis/build/EnMasseProject/enmasse/agent/test/router_stats.js:407:20
[INFO]       at <anonymous>
[INFO]       at process._tickCallback (internal/process/next_tick.js:188:7)
[INFO]
[INFO]   7) router stats
[INFO]        updates registries with stats for a queue from a single router:
[INFO]
[INFO]       AssertionError [ERR_ASSERTION]: 16 == 2
[INFO]       + expected - actual
[INFO]
[INFO]       -16
[INFO]       +2
[INFO]
[INFO]       at /home/travis/build/EnMasseProject/enmasse/agent/test/router_stats.js:447:20
[INFO]       at <anonymous>
[INFO]       at process._tickCallback (internal/process/next_tick.js:188:7)
[INFO]
[INFO]   8) router stats
[INFO]        retrieves stats for a queue from a changing set of routers:
[INFO]
[INFO]       AssertionError [ERR_ASSERTION]: 18 == 2
[INFO]       + expected - actual
[INFO]
[INFO]       -18
[INFO]       +2
[INFO]
[INFO]       at /home/travis/build/EnMasseProject/enmasse/agent/test/router_stats.js:466:20
[INFO]       at <anonymous>
[INFO]       at process._tickCallback (internal/process/next_tick.js:188:7)
[INFO]
[INFO]

I have too, though I had merged a speculative fix that at the time completed 10 consecutive builds without any failure.
I'm actually a little puzzled by it, particularly by : "TypeError: Cannot read property 'populate' of undefined  at Context. (test/router_stats.js:264:16)", since the object it claims is undefined  (on the first line of the first test) is set as the first line of the beforeEach setup (router = new MockRouter();).
I assumed that the error on the tear down of the last broker_configuration test was having some odd knock on effect. However my speculative fix there was to ensure everything possible exception was caught.

What node version is travis running with btw?
(I have never been able to reproduce this locally, only seen in CI, and I have run the agent test suite in a loop for more than 200 iterations with no failures.)

It’s using the version defined in the top level pom.xml , currently 8.11.2 . Should be the exact same version you get if you run mvn test locally.

As I recall, the tests don't use the node executable defined via maven yet - see #1394.

@calohmn I believe this was fixed by @grs a few weeks ago, so the issue can be closed actually. There are a few references to npm_test in Makefile.common (which is not invoked) that I will get rid of.


content-type support

Description
Fix issue https://github.com/Azure/autorest.csharp/issues/2643

support content-type in CADL

Checklist
To ensure a quick review and merge, please ensure:

[ ] The PR has a understandable title and description explaining the why and what.
[ ] The PR is opened in draft if not ready for review yet.

If opened in draft, please allocate sufficient time (24 hours) after moving out of draft for review

[ ] The branch is recent enough to not have merge conflicts upon creation.

Ready to Land?

[ ] Build is completely green

Submissions with test failures require tracking issue and approval of a CODEOWNER

[ ] At least one +1 review by a CODEOWNER
[ ] All -1 reviews are confirmed resolved by the reviewer

Override/Marking reviews stale must be discussed with CODEOWNERS first

We can use this logic to extract content types: https://github.com/microsoft/cadl/blob/872a3897bb6e91269fe5b974719e6cf266e8507e/packages/openapi3/src/openapi.ts#L624-L629
To get values for accept header values, we can use HttpOperationResponse.responses[0].body.contentTypes, assuming that we support only one response content per status code.


Remove leading colons

Leading double colons are a relic of edition 2015. Attempt to remove all leading double colons (assuming I didn't miss any).

Patch 1 is done mechanically so it can be repeated by reviewers, just search-and-replace ' ::' with '::' (note the leading space).
Patch 2 does a single other instance of leading ::

Let's merge this last. It might break some other open PRs

Changes in force push: Rebased and redid patch 1 to ensure it was still correctly done mechanically as described in the commit log.

No rust to merge this, I can rebase easily any time.

Re-base and force push, still no rush to merge this one, its simple to rebase.

Rebase and fix merge conflicts.

I didn't know folks were expecting me to merge things :) I was only doing so in rust-bitcoinconsensus.

Let's go for it. I think lately we've had several active maintainers and don't need to worry too much about conflicts causing long delays.


Add Tags to module

Since the Tag items have been deprecated, all tags will be added to the PbtA tag configuration.

Armour and Weapon tags were added to the module in version 0.4.5.


goreleaser with --snapshot attempts to push docker images

The latest version of goreleaser attempts to push docker images even with snapshot enabled, which should in theory avoid publishing any artifacts. See for more details on the failure:
https://github.com/open-telemetry/opentelemetry-collector-releases/actions/runs/4131417491/jobs/7139027466

Here's a previous build which didn't try to push docker images: https://github.com/open-telemetry/opentelemetry-collector-releases/actions/runs/3877683687/jobs/6612988107

Opened https://github.com/goreleaser/goreleaser/issues/3771 to track this.

Thanks @jpkrohling!

Should be fixed by https://github.com/open-telemetry/opentelemetry-collector-releases/pull/301


ARROW-12640: [C++] Fix errors from VS 2019 in cpp/src/parquet/types.h

This resolves a problem where Visual Studio 2019 reported syntax errors in cpp/src/parquet/types.h after ARROW-11929

@github-actions crossbow submit test-build-vcpkg-win

@github-actions crossbow submit test-build-vcpkg-win

Thank you @pitrou. I will merge after CI looks green


operator fujitsu-enterprise-postgres-operator (4.1.1)

https://github.com/redhat-openshift-ecosystem/certified-operators/pull/706

update pr title


how to compute similarity of multi word tokens in pre-trained GLoVE word embeddings? Example: similarity("new york","delhi") OR similarity("united states of america","united kingdom")??

I queried the GLoVE common crawls model and i get the response that 'key doesn't exit' which basically means that multi-word tokens are not present in the vocabulary or if they are present then they are represented in some other way? Any help on this is appreciated. Thanks


posix: implement clock_getres()

Address missing POSIX functions and test #59955

Should this be closed, then?

Probably for now, but I appreciate the effort.


Maybe because I am a beginner, I would like to ask you to solve the following problems

I've solved some of the problems,

For example, your requirement file does not cover the package scikit-video,  so no matching distribution found for SKvideo is displayed:Import scikit-video:  PIP install scikit-video is required

In addition, I also appear the following error:
Traceback (most recent cali last):
File "gui.py",line 1013,in
	main()
File "gui.py",line 944,in main
	names = names.split(",")
AttributeError: 'NoneType' object has no attribute 'split'

And sometimes the following error occurs:
LOADING NEXT VIDEO
Traceback (most recent call last):
File "gui.py" , line 1013,in
main()
File "gui.py" . line 976,in main
masks = load_mask(video_path)
with open(video_path +"SegResults.pkl","rb") as handle:
FileNotFoundError : [Errno 2] No such file or directory: " /segResults.pkl'

In addition, we find that the merged. Json format you use is different from the  JSON file format VGG uses for image and video segmentation and annotation. We  don't know how to do your JSON file and video segmentation, because we want to  make our own data set, thank you。
 Can you create a pull request for things you solved? I will look into the remaining issues as soon as possible.

I just solve the fast one ,I suggest you can add pip install  scikit-video  in requirement.txt,but others I also need your help!


Flutter cant run on android getting stack on Launching lib/main.dart on HUAWEI VNS L31 in debug mode... Initializing gradle... Observatory connection never became ready. Application finished.

here is flutter doctor
Last login: Thu Jan 11 18:23:25 on ttys001
NouvellesAppss-MacBook:~ nouvellesapps$ flutter doctor
[✓] Flutter (on Mac OS X 10.13 17A405, locale en-ZA, channel alpha)
• Flutter at /Users/nouvellesapps/flutter
• Framework revision 8f65fec5f5 (4 weeks ago), 2017-12-12 09:50:14 -0800
• Engine revision edaecdc8b8
• Tools Dart version 1.25.0-dev.11.0
• Engine Dart version 2.0.0-edge.d8ae797298c3a6cf8dc9f4558707bd2672224d3e
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at /Users/nouvellesapps/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.3
• ANDROID_HOME = /Users/nouvellesapps/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)
[✓] iOS toolchain - develop for iOS devices (Xcode 9.0.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 9.0.1, Build version 9A1004
• ios-deploy 1.9.2
• CocoaPods version 1.3.1
[✓] Android Studio (version 3.0)
• Android Studio at /Applications/Android Studio.app/Contents
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)
[✓] Connected devices
• HUAWEI VNS L31 • 4TE7N16615005417 • android-arm • Android 7.0 (API 24)

I too am having this, trying to run on an android sim

You have to tell us what the stack trace is if we are to have any hope of fixing it or helping you. :-)

Please file a new bug using the templates at: https://github.com/flutter/flutter/issues/new/choose
Please include as much information as you can, including full verbose logs for when you try to run your application, the source for the application (ideally a reduced test case based on the flutter create template that still shows the problem), and anything else you can think of.


ENH: Improve Roling, Expanding and EWM

[ ] Closes #xxxx (Replace xxxx with the Github issue number)
[ ] Tests added: Please use assert_type() to assert the type of any return value

All three of these need to be made generic NDFrameT.

Merge to main as that will make the CI get past the 3.10.7 issue.

assign me as a reviewer when it's all green and not in draft status.

Think I got them all, green now.


Add adapter dispatch pattern for path extraction

Description & motivation
It can be helpful for users of the package to override the page path extraction to accommodate implementation issues. This PR applies the adapter dispatch pattern to the extract_page_path macro.
Checklist

[x] I have verified that these changes work locally
[na] I have updated the README.md (if applicable)
[na] I have added tests & descriptions to my models (and macros if applicable)
[ ] I have run dbt test and python -m pytest . to validate existing tests

There is an issue with the unit tests that we're working through. I'm going to merge this in the meantime.


153 Fix requirements issue in update model info workflow

Fixes #153 .
Description
This PR fixes the issue of missing libraries in update model info workflow.
Status
Ready
Please ensure all the checkboxes:

[x] Codeformat tests passed locally by running ./runtests.sh --codeformat.
[ ] In-line docstrings updated.
[ ] Update version and changelog in metadata.json if changing an existing bundle.
[ ] Please ensure the naming rules in config files meet our requirements (please refer to: CONTRIBUTING.md).
[ ] Ensure versions of packages such as monai, pytorch and numpy are correct in metadata.json.
[ ] Descriptions should be consistent with the content, such as eval_metrics of the provided weights and TorchScript modules.
[ ] Files larger than 25MB are excluded and replaced by providing download links in large_file.yml.
[ ] Avoid using path that contains personal information within config files (such as use /home/your_name/ for "bundle_root").

/build


fix(management): the enums not case-insensitive when an api is imported

Closes gravitee-io/issues#2995

Hi @GGui can you please add some unit tests ?

@GGui Why not having the same behavior for all enums? And not only on Api.

It should be done quite easily as proposed here: https://stackoverflow.com/a/44217670

Ok thank you. I'm going to check. Sorry i didn't have time to work on it

Done ;-)


Would like to see a progress gauge/bar for challenges.

I'm currently going though the Basic CSS challenges (as a guest, not logged in). It would be nice to see how many I've completed or how close I am to completing all of them.
Describe the solution you'd like
Perhaps a challenges completion status bar or gauge on the congratulatory screen.

This feature is only available for registered users.  There are no current plans to add such a feature for guest users.

Hi @Diacron what Randell here means is that to implement such a feature we would need to store the data locally on the browsers, which can become stale over time. We recommend a login to consistently store the progress.
We understand users may have reservations with this, and hence we do support using throw-away email addresses from mailinator, getnada, etc on our learning platform, if you do not want to use your own emails for some reason.


[FEATURE] Adding custom scroll effect

Description
adding scroll bar
Screenshots
No response
Additional information
No response

Please assign me this issue so that I can resolve it under GSSOC-23

@manoranjanonline Okay ! Assigned to you


Python3 9

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 2 committers have signed the CLA.:x: chrispbailey:x: bcwazokuYou have signed the CLA already but the status is still pending? Let us recheck it.


Must not allocated on heap. Guess bitmask over ulong could be used

https://github.com/invertedtomato/integer-compression/blob/8b0b80f1e74340b90cc9726c1bf944dbca93b24d/Library/Compression/Integers/Wave3/FibonacciCodec.cs#L75

I have made this            https://github.com/dzmitry-lahoda/NetStack/blob/4b750853edb6e4fa28d2d23b7fc22fe55bc2f702/Assets/Scripts/src/NetStack.Serialization/Coder.cs#L71
Will improve so.
Seems overall performance of you lib will be better for large arrays of numbers. My is more targeted for heteregoneus structs (e.g. per number). Also will improve instead of reading bit by bit into byte reader.

I'd love to keep an eye on how you improve it. I have never felt happy with that Fib implementation - it's always felt like there must be a better way.
I do like how you're using BitOperations. I guessed that it would be a little slower - is it?

For my case allocating array (as I do per number, not per  array) would be definitely worse possible solution. In your case may be array will be faster.
I guess I may try to use stackalloc. But we have a price of alloc and clean here. So may be bitop is slower then byteop, but because of initialization and cleanup - they may be on par.
I your case you may move alloc out of loop to share for all numbers and cleanup.  But producting GC object for each object seems no way.
Or can do ThreadStatic alloc of array.
I will test and provide numbers to chose best option (I have not thought about stackalloc earlier).

I use BitOperations.ExtractBit for writing output. But that will be replaced with byte byte bit bit bit.

https://gitlab.com/dzmitry-lahoda/dotnet-csharp-patterns/tree/master/sequential-bitmask
So best option is custom bit set and byte reversal from mask.

u8 - table.
u16 -  cast into u32.
u32 - u64 mask.
u64 - a. stackallock with bit unrolled write loop for case when write many numbers once. b. (u64, u32) mask when write per number or no direct access(not desirable) to storage bit index. for 64 bit platforms.
for 64bit platforms storage as byte array may appear wrong. I.e. u8[] should be replaced with u32[] so the (index, bitoffset) a maxed out.
for 128 bit platforms (future target of big data) - seems u64 may have 128 not mask and storage could be u64.

In your code above, you're using a UInt64 (map) as your buffer. It's nice and simple, but am I missing something? That won't work for encoding UInt64.MaxValue-1, as it needs 88bits of buffer space which won't fit in 64 bits.

Yes. I know. That was for quick test. I have made that working in edge cases via https://github.com/ricksladkey/dirichlet-numerics , but guess fastest way to have custom operations on 64 bit unsigned integer and another one 32 or 64 bit (consider 96 bit pair as single mask). But in this case performance may  be marginally better of array usage (or stackalloc array usage for GC free). Give in current code buffer is allocated once for whole loop and arrays passed as parameters are of big length (may be 10000+ elements) than allocation may be neglectable.


feat: support a vite entry point (export condition / main field)

Description
After speaking with @yyx990803, we're looking for a way to better support local packages (via monorepo/workspaces) without a build step. The current suggestion is to set resolve.aliases, but what if we leaned on the package ecosystem more?
This PR adds support for a vite condition for package exports, and a vite main field (when not using exports). Both patterns can point to a source file, instead of a built file. These vite entry points will only be resolved for local packages, and not packages found in node_modules.
Furthermore, for backwards compatibility, I wrapped this in a vitePackageEntryPoints experiment for now.
For more information, look at the docs in this PR.
Additional context

What is the purpose of this pull request?

[ ] Bug fix
[x] New Feature
[x] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines, especially the Pull Request Guidelines.
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[x] Update the corresponding documentation if needed.
[x] Ideally, include relevant tests that fail without this PR but pass with it.

I'm not a fan of introducing Vite-specific metadata to the package.json. Even if it's local-only, the fields are also likely to be published and would be exposed and even point to a non-existing source file?
I think publishConfig could be used instead for this case: pnpm docs and npm docs. You can then split out your dev and publish-only fields this way.

so the vite condition would only be used during development? wouldn't it be easier to use the existing development condition then? https://nodejs.org/api/packages.html#community-conditions-definitions
I agree with @bluwy  that we should not add a new top-level Field to package.json. This feature will only be used by new projects/adopted, so if it is only supported via exports maps that should be fine. Resolving via top level package.json fields is basically a legacy option today, no need to add new fields to it.

@bluwy Interesting suggestion, but I don't see how publishConfig would work for something that is local/dev only. I'd also argue that export conditions are the preferred way to support tool-specific logic. It's exactly why custom conditions are allowed.
@dominikg The development condition kind of assumes a JS file that can be evaluated at runtime. Throwing in TS files, or .vue files (maybe), or something else, kind of breaks that guarantee. It also just exists for NODE_ENV checks.
I'm cool with removing the top-level vite but the exports condition is still viable.

@bluwy Interesting suggestion, but I don't see how publishConfig would work for something that is local/dev only. I'd also argue that export conditions are the preferred way to support tool-specific logic. It's exactly why custom conditions are allowed.

You can configure it like this:
{
  "name": "lib",
  "main": "./src/index.js",
  "publishConfig": {
    "main": "./dist/index.js"
  }
}

Conditions are indeed the more reliable way to declare them, but I don't think it's best for a tool that pushes towards standards. Encouraging the vite condition feels like the start of introducing proprietary APIs in libraries that we had always refrained from.

Also not keen about adding on to the pile of custom conditions. The landscape there is messy already and instead of adding more ways we should focus on enabling projects to migrate towards clean esm and providing tooling on top of existing conditions to make it work.
case in point: Webpack made the "module" condition a thing https://webpack.js.org/guides/package-exports/#conditions and appearantly wmr also made "esmodules". ugh.
All this does is creating more fragmentation some sort of lock-in mechanism where either all bundlers are forced to support each others inventions or projects will be tied to the one they started on forever.
If you are using exports conditions, regardless of vite or an existing one, you would have to ship the referenced files in published packages too, as you have no control over the conditions used on the consumers side. So for public packages i think publishConfig is the way to go. For local only packages i think the development or production condition can work.

@yyx990803 @bluwy @dominikg
Took a step back to reimplement this. I agree, exports add a lot of weird overhead. It's also a lot for consumers to configure, so I thought, why can't we just automate this?
And that's exactly what I did. With my previous attempt, we were able to determine which packages are local or not. So I expanded this to automatically resolve source files of local packages, with no configuration from the consumer! This actually worked really with in the playground.

Let's wait and see what Evan's thoughts on this are. I was tasked in finding a way to make monorepo setups "just work" without extra configuration (this includes alias mapping). I think for the majority of consumers, the automatic sources will work just fine. For others, they can just disable it, something like:
resolve: {
  localSources: false
}

We could even expand the config and give consumers more control. But I feel like this is getting away from the original goal.
resolve: {
  localSources: ['package-a', 'package-b'],
  srcDirs: ['lib', 'app'],
}

Closing this as the Vite team had discussed with Evan and this isn't the way we want to go for now.


Add documentation for ST7789-based displays

Hi, I've got an AdaFruit 1.3" TFT Bonnet with Joystick and am learning how to drive the display. I've had a bit of a learning curve with this and wanted to include the ST7789 module to the readthedocs site for this repo so that anyone else googling for information for this display might find these docs a bit quicker than I did :)
I think I've made the right changes, I bumped the version number and build the docs locally which look fine in a browser on my machine (famous last words!). Apologies if I've missed anything or changed something I shouldn't. I'm happy to make any required modifications to this PR.

looks good! lets see how it goes :)

looks good! lets see how it goes :)

Thank you! :)

Thank you! :)


Shortcut works in other apps, not Xcode

This question likely has nothing to do with InjectionApp itself and more with OSX (I'm on 10.11.6). I enabled the Inject Source keyboard shortcut with a binding of shift-cmd-]. When my frontmost app is something like Chrome, the shortcut works. If I have Xcode open, I get the standard OSX "failure" sound, and nothing is injected. Within Xcode, I saw that shortcut was bound to "Show Next Tab", so I unbound that key combination, but still no luck.
I also tried a number of other shortcut combinations, all of them gave me the same result.
Any idea what I might be running up against? How can I debug?

Chances are you’re clashing with another shortcut in Xcode. Key trying differrent combinations.

I opened up the Xcode Key Bindings settings and tried setting a command to a keybinding until I found a combo that wasn't taken. For example, cmd-shift-9 is not used by anything. I then removed that key combo from the Xcode keybindings, and tried setting cmd-shift-9 to be the Inject Source shortcut. Still no go. Others tried include ctrl-cmd-\, cmd-shift-], ctrl-cmd-d, and several more.
I'm curious what key binding you use? Are you on 10.11 or 10.12? Perhaps I should update to Sierra.
Thanks for your help, and great plugin/app, it saved me a ton of time when Alcatraz worked without needing to break Xcode's signature. Hoping I can get the shortcut within Xcode working, or a close work around.

I’m still on El-Cap. I use cmd-shift-} for injection shortcut for testing. Seems to work.


Test to ensure that the bridge ip is excluded from the allocator pool

Relates to #9986
The test creates a bridge with a small IP range, then checks none of the assigned ones equals the bridge IP.
Signed-off-by: Federico Gimenez<EMAIL_ADDRESS>

BTW, thanks for the PR. good one.

ping @mavenugo is your question answered by https://github.com/docker/docker/pull/17012#discussion_r42052160?

ping @mavenugo @vdemeester PTAL, also wrt the comment mentioned above, thanks!

ping @mavenugo
is it ok for you now?

LGTM

LGTM 🐶


Missing -Xms

There is double -Xmx in JAVA_OPTS. I think you meant -Xms.
https://github.com/kochetkov-ma/allure-server/blob/master/Dockerfile#L11

omg. thx!


Add TypeScript worker extension to Monaco Editor for custom diagnostics

Currently expansion rule authoring does not validate numeric ranges for commands because TypeScript type definitions do not support numeric range validation, or regex validation.
This issue is to add support for custom diagnostics (e.g. numeric range validation, regex string validation, etc.) via a custom TypeScript worker in Monaco. We previously attempted to solve this by forking the main TypeScript worker, and adding custom diagnostics. But this solution turned out to be too brittle. It is not easy to use the forked TypeScript worker in the client in an isolated manner. All TypeScript editors needed to use it which is overkill. Also we had worries of keeping the fork up to date with the latest TypeScript worker.
We later found there is a way to create a local custom worker. But there is a PR for a bug that needs to be merged.
We need to:

See about getting the PR merged

Are we still even blocked by this PR?

Add a custom inline worker with custom diagnostics to the UI for the command expansion editor

Did some experimenting but this is still not working properly, loading the custom worker throws errors that I can't resolve until that PR is merged.
Uncaught (in promise) TypeError: Failed to execute 'importScripts' on 'WorkerGlobalScope': Module scripts don't support importScripts().
    at create (ts.worker.js?type=module&worker_file:161653:7)
    at EditorSimpleWorker._foreignModuleFactory (ts.worker.js?type=module&worker_file:161668:12)
    at EditorSimpleWorker.loadForeignModule (editorSimpleWorker.js?v=eebc8560:448:40)
    at SimpleWorkerServer._handleMessage (simpleWorker.js?v=eebc8560:357:65)
    at Object.handleMessage (simpleWorker.js?v=eebc8560:342:51)
    at SimpleWorkerProtocol._handleRequestMessage (simpleWorker.js?v=eebc8560:149:38)
    at SimpleWorkerProtocol._handleMessage (simpleWorker.js?v=eebc8560:118:29)
    at SimpleWorkerProtocol.handleMessage (simpleWorker.js?v=eebc8560:111:14)
    at SimpleWorkerServer.onmessage (simpleWorker.js?v=eebc8560:347:24)
    at self.onmessage (editor.worker.js?v=eebc8560:17:22)

Wooo!!! The core of this now works. It turns out, that PR is not relevant due to minutia with how the monaco build process works, and the above error was caused by a bad but intentional behavior of Vite in development mode. This has been fixed by directly using Esbuild to build our worker scripts and later loading them in! PR incoming.


cargo update --offline can downgrade dependencies

Problem
I want to use cargo update --offline instead of cargo update because I know that my local registry is update to date, and it should be faster. It is faster, but when I tried it, I got a package downgrade.
Steps
Here is what I did:
$ cargo download -x serde_json
INFO: cargo-download v0.1.2
INFO: Latest version of crate serde_json=* is 1.0.79
INFO: Crate `serde_json==1.0.79` downloaded successfully
INFO: Crate content extracted to ./serde_json-1.0.79/
$ cd serde_json-1.0.79/
$ cargo update
    Updating crates.io index
$ cargo update --offline
    Updating psm v0.1.18 -> v0.1.17

Possible Solution(s)
No response
Notes
No response
Version
Reproduces on latest stable and nightly

cargo 1.62.0-nightly (edffc4a 2022-04-19)
release: 1.62.0-nightly
commit-hash: edffc4ada3d77799e5a04eeafd9b2f843d29fc23
commit-date: 2022-04-19
host: x86_64-unknown-linux-gnu
libgit2: 1.4.2 (sys:0.14.2 vendored)
libcurl: 7.80.0-DEV (sys:0.4.51+curl-7.80.0 vendored ssl:OpenSSL/1.1.1m)
os: Arch Linux Rolling Release [64-bit]

cargo 1.60.0 (d1fd9fe 2022-03-01)
release: 1.60.0
commit-hash: d1fd9fe2c40a1a56af9132b5c92ab963ac7ae422
commit-date: 2022-03-01
host: x86_64-unknown-linux-gnu
libgit2: 1.3.0 (sys:0.13.23 vendored)
libcurl: 7.80.0-DEV (sys:0.4.51+curl-7.80.0 vendored ssl:OpenSSL/1.1.1m)
os: Arch Linux Rolling Release [64-bit]

What happens if you do a build between cargo update and cargo update --offline?  I'm wondering if --offline is taking into account what .crate files are already downloaded which is what is forcing the downgrade.

Yup, no downgrade after a build. ARGH. I suppose this is actually desirable if you're trying to use cargo offline, instead of me who's just trying to generate thousands of lockfiles.

Yes, --offline looks at whether you have everything for the build to work. If you just want to skip the git fetch then you want -Zno-index-update.

Appreciate the advice, hopefully my misunderstanding helps others who come across this behavior too :)


The routes classification should be improved

I'm submitting a ...

[ ] bug report
[ ] feature request
[x] refactor request

Current behaviour:
The routes are not properly classified
Expected behaviour:
There should be separates routes for these

signup
events
users
admin

They should be mounted on their own urls. And the current functions should be moved to their corresponding files.

I would love to work on this issue, but i'm a beginner, any pointers please?

@abdulsamad234, good to see your interest in the project.
You can consider these resources.

Express documentation
Node Lectures (Especially the express part in this)

Okay sir

can i work on this.  i have worked a lot with nodejs and express and this seems like a easy thing to do.

@abhanshgiri21, sure have a go at it. But make sure you update the API calls from the views too.

ya sure,  i will test everything out too,  making sure anything doesnt break. Will update when i am ready to make a pull request.

can you do one favpur,  there are different routes in admin.js as well as index.js .  Can you make a tree kinds of,  starting from app.js and then classifying all the routes and mount points. you can use coggle,  its a great tool for doing such work.

Can I work on this?


Country specific data

Please, how can one implement it for Country specific cases?

You can query the API with the country name. For example:
{{baseUrl}}/active?country={{country}}
Just change {{country}} with a country name, and you get all the cases count for this country.


Issues with error splash bar.

VSCode Version: 1.3.0
OS Version: Win 10 Ent Version 1511

Steps to Reproduce:

Open some js file in VS Code
Make sure you have ESLint package installed and no .eslint in project folder.
Start typing something in the editor and getting an error splash with no way to close it.
See attached gifs for more info.

This issue was moved to Microsoft/vscode-eslint#98

This is an issue with the eslint extension. Moving


Update for v3

update the CFTs to use the v3 images and Senzing build.
Also use Senzing Data V3.  See https://github.com/Senzing/docker-compose-demo/issues/253

PR merged


Set project name for CI build

This change will allow me to deploy properly spring-composed JAR on repo.spring.io.

Merci


Update to new factory interfaces

TypeScript has updated their api and most of the generated code is marked deprecated
I currently run it like this:
ts-creator input.ts --no-color | \
        sed 's/ts.create/ts.factory.create/g' | \
        sed 's/createParameter/createParameterDeclaration/g' | \
        sed 's/createCall/createCallExpression/g' | \
        sed 's/createPropertyAccess/createPropertyAccessExpression/g' | \
        sed 's/createReturn/createReturnStatement/g' | \
        sed 's/createElementAccess/createElementAccessExpression/g' | \
        sed 's/createSpread/createSpreadElement/g'

But I'll bet there are many more changes...

up


Add a script for updating domain data and update it

This adds a script for downloading domain info.
Testing notes

hdev run update-data

Yeah I don't know. Ideally, but honestly, I suspect we can get away with doing anything about this very infrequently. The domains that change are generally more obscure.
tldextract does it once whenever you start using it, which we might either directly use their implementation, or do something similar.


glBindFramebuffer raise GLError 1280

Describe the error
When i run manimgl xxx.py xxx everything is good
and when there's only code self.wait() and run manimgl xxx.py xxx -w it will be fine too,
but when my code add some mobject in the output screen
and run manimgl xxx.py xxx -w or manimgl xxx.py xxx -o, it raise GLError 1280
Code and Error
Code:
from manimlib import *

class S1(Scene):
    def construct(self):
        c = Circle()
        self.wait()
        self.add(c) # error

when i remove the error code and it will run perfectly(but i can't do nothing)
Error:
  File "/Library/Frameworks/Python.framework/Versions/3.11/bin/manimgl", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/manimlib/__main__.py", line 22, in main
    scenes = manimlib.extract_scene.main(config)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/manimlib/extract_scene.py", line 140, in main
    scenes = get_scenes_to_render(all_scene_classes, scene_config, config)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/manimlib/extract_scene.py", line 103, in get_scenes_to_render
    fw_config["total_frames"] = compute_total_frames(scene_class, scene_config)
                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/manimlib/extract_scene.py", line 87, in compute_total_frames
    pre_scene.run()
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/manimlib/scene/scene.py", line 94, in run
    self.tear_down()
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/manimlib/scene/scene.py", line 111, in tear_down
    self.file_writer.finish()
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/manimlib/scene/scene_file_writer.py", line 195, in finish
    self.save_final_image(self.scene.get_image())
                          ^^^^^^^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/manimlib/scene/scene.py", line 164, in get_image
    return self.camera.get_image()
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/manimlib/camera/camera.py", line 277, in get_image
    self.get_raw_fbo_data(),
    ^^^^^^^^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/manimlib/camera/camera.py", line 264, in get_raw_fbo_data
    gl.glBindFramebuffer(gl.GL_READ_FRAMEBUFFER, self.fbo_msaa.glo)
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/OpenGL/platform/baseplatform.py", line 415, in __call__
    return self( *args, **named )
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/OpenGL/error.py", line 230, in glCheckError
    raise self._errorClass(
OpenGL.error.GLError: GLError(
	err = 1280,
	description = b'invalid enumerant',
	baseOperation = glBindFramebuffer,
	cArguments = (GL_READ_FRAMEBUFFER, 3)
)

Environment
OS System: MacOS Sonoma 14.1.1

It still doesn't work. I tried doing this and it works when i pass argument -w but normally it doesn't.

It still doesn't work. I tried doing this and it works when i pass argument -w but normally it doesn't.

Please show me as many error messages as possible when you try to rendering normally, that can help to determine where to modify the program.

Yeah, this is what I got :

Yeah, this is what I got :

In the error messages, you can find which file and which line raised this error from the bottom to the top, just add gl.glGetError() before this line. And if that won't work, try another error message until it will. XD

@INFO-studio  Thanks a lot.

@INFO-studio  seems that it works for me, could you help explain why this can fix the issue? Since it is just get the last error from OpenGL

@INFO-studio seems that it works for me, could you help explain why this can fix the issue? Since it is just get the last error from OpenGL

Well, I guess that's just because some non-fatal errors happened, which I didn't find why. OpenGL can just draw it and continue working, but when the code start to clear the cache and prepare to write the next frame, the error was still in the todo queue and OpenGL will stop the script and draw error. That's also why it can work in preview mode(because that needn't to clear the cache).


linux: add rtnetlink ifinfomsg attribute enumerals

Updated to use c_int.
The kernel declares these symbols within enums (if.h) without specifying specific values, so it seems unlikely they'll exceed u8::MAX.  I think the compiler has some liberty to determine the underlying size of integer to use, but c_int is more consistent with the other symbols in this file.
Thanks for the review

Thanks! @bors r+

:hourglass: Testing commit 22e6b1c6fa3bfc10f94aed24c252609a9024fd65 with merge 44cfc0e6f4079c68b1d4d5b2d5a49289594e0f59...

:boom: Test timed out

@bors retry

:hourglass: Testing commit 22e6b1c6fa3bfc10f94aed24c252609a9024fd65 with merge 155478cd0f16ebe597f4935f07a057f11ad674fe...

:broken_heart: Test failed - checks-actions

@bors r+

:pushpin: Commit bfc1543c5504aedba9d1b1b97a6ce55692f5a65b has been approved by JohnTitor
It is now in the queue for this repository.

:hourglass: Testing commit bfc1543c5504aedba9d1b1b97a6ce55692f5a65b with merge df0520122048607e48a491f34d21095899635954...

:broken_heart: Test failed - checks-actions

Some items need to be excluded on sparc64 test.

Thank goodness for CI.  I Think we've finally got this pull request through the checks.  Thanks for your help.

👍 @bors r+

:pushpin: Commit 1abdc6158a5d200189fccb2f89c1b703ec86253e has been approved by JohnTitor
It is now in the queue for this repository.

:hourglass: Testing commit 1abdc6158a5d200189fccb2f89c1b703ec86253e with merge 78cfe04247f4b3f08eca739afcb1ed6bb2b59c72...

:broken_heart: Test failed - checks-actions

It looks like the sparc64 target is still failing, but I can't tell from the logs what's wrong.  Do you have any suggestions?

It's a timeout failure, so @bors retry

:hourglass: Testing commit 1abdc6158a5d200189fccb2f89c1b703ec86253e with merge a11d63a0c747c8991bb488e62de0ebd14b86bae9...

:sunny: Test successful - checks-actions, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13, checks-cirrus-freebsd-14
Approved by: JohnTitor
Pushing a11d63a0c747c8991bb488e62de0ebd14b86bae9 to master...


Added embeds to phases

added some video embeds to phases.

Don't merge... I put wrong values in iframes... fixing

@rishabkumar7 ok I fixed embeds, review please.

looks good @madebygps ✅


Ob3 switch

The article https://devblogs.microsoft.com/cppblog/msvc-backend-updates-in-visual-studio-2019-preview-2/ states that there were (or there is) /Ob3 switch, but it not mentioned in the documentation.

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

ID: b8753fc2-5ab9-47ad-f52b-ae878986bc0f
Version Independent ID: 47c6098b-17b4-a22d-b21a-8d8032b0df78
Content: /Ob (Inline Function Expansion)
Content Source: docs/build/reference/ob-inline-function-expansion.md
Product: visual-cpp
Technology: cpp-tools
GitHub Login: @corob-msft
Microsoft Alias: corob

@Kojoley
It's not unusual for the docs to lag the product, unfortunately. I've updated the content and the engineering team is reviewing it. It should be visible by tomorrow sometime.

It's live now.