Problems with more than one feed

I'm having problems with one of the latest paket binaries (1.3.8). It seems that 0.4.2 doesn't show those problems.

BUG1 and BUG2 may be inappropriate usages of paket or bugs (I'm not sure).
WEBAPI fixes the problem (encountered by BUG1 and BUG2) by clearing paket.dependencies file.
BUG3 scenario seems to be a bug.
3a. SANITYCHECK confirms that Newtonsoft.Json is available on the internal feed.

Unfortuantely I am not able to send you a repro because of the internal feed involved.
BUG1
Given:
paket.references EMPTY
paket.dependencies with one line (source https://nuget.org/api/v2)
paket.lock EMPTY
When:
paket add nuget Microsoft.AspNet.WebApi project PaketSandbox
Then:
Paket version <IP_ADDRESS>
Adding Microsoft.AspNet.WebApi to C:\Users\user\Documents\Visual Studio 2013\Projects\PaketSandbox\paket.dependencies
Resolving packages:
Paket failed with:
Could not find versions for package Microsoft.AspNet.WebApi in any of the sources in [].
BUG2
Given:
paket.references EMPTY
paket.dependencies with one line (source https://nuget.org/api/v2)
paket.lock ABSENT
When:
paket add nuget Microsoft.AspNet.WebApi project PaketSandbox
Then:
Paket version <IP_ADDRESS>
Adding Microsoft.AspNet.WebApi to C:\Users\user\Documents\Visual Studio 2013\Projects\PaketSandbox\paket.dependencies
Resolving packages:
Paket failed with:
Could not find versions for package Microsoft.AspNet.WebApi in any of the sources in [].
WEBAPI
Given:
paket.references EMPTY
paket.dependencies EMPTY
paket.lock EMPTY
When:
paket add nuget Microsoft.AspNet.WebApi project PaketSandbox
Then:
Paket version <IP_ADDRESS>
Adding Microsoft.AspNet.WebApi to C:\Users\user\Documents\Visual Studio 2013\Projects\PaketSandbox\paket.dependencies
Resolving packages:

Microsoft.AspNet.WebApi 5.2.3
Microsoft.AspNet.WebApi.WebHost 5.2.3
Microsoft.AspNet.WebApi.Core 5.2.3
Microsoft.AspNet.WebApi.Client 5.2.3
Newtonsoft.Json 6.0.8
Microsoft.Net.Http 2.2.29
Microsoft.Bcl 1.1.10
Microsoft.Bcl.Build 1.0.21
Locked version resolutions written to C:\Users\user\Documents\Visual Studio 2013\Projects\PaketSandbox\paket.lock
Dependencies files saved to C:\Users\user\Documents\Visual Studio 2013\Projects\PaketSandbox\paket.dependencies
Adding Microsoft.AspNet.WebApi to C:\Users\user\Documents\Visual Studio 2013\Projects\PaketSandbox\PaketSandbox\paket.references
References file saved to C:\Users\user\Documents\Visual Studio 2013\Projects\PaketSandbox\PaketSandbox\paket.references
4 seconds - ready.

BUG3
Given:

WEBAPI performed successfully
Modify paket.dependencies so it looks like this:
source http://internalfeed/NugetWebFeed/nuget //Add this line (internalfeed contains Newtonsoft.Json)

nuget log4net 1.2.0 //Add this line (internalfeed contains log4net)
source https://nuget.org/api/v2 //Created by WEBAPI
nuget Microsoft.AspNet.WebApi //Created by WEBAPI
When:
paket add nuget log4net project PaketSandbox
Then:
Paket version <IP_ADDRESS>
C:\Users\user\Documents\Visual Studio 2013\Projects\PaketSandbox\paket.dependencies contains package log4net already. ==> Ignored
Resolving packages:

Newtonsoft.Json 6.0.8
Paket failed with:
Couldn't get package details for package Newtonsoft.Json on any of ["http://internalfeed/NugetWebFeed/nuget"].

SANITYCHECK
Given:
paket.references EMPTY
paket.lock EMPTY
paket.dependencies:
source http://internalfeed/NugetWebFeed/nuget //(feed contains Newtonsoft.Json)
nuget Newtonsoft.Json
When:
paket add nuget Newtonsoft.Json project PaketSandbox
Then:
Paket version <IP_ADDRESS>
C:\Users\user\Documents\Visual Studio 2013\Projects\PaketSandbox\paket.dependencies contains package Newtonsoft.Json already. ==> Ignored
Resolving packages:

Newtonsoft.Json 6.0.6
Locked version resolutions written to C:\Users\user\Documents\Visual Studio 2013\Projects\PaketSandbox\paket.lock
Dependencies files saved to C:\Users\user\Documents\Visual Studio 2013\Projects\PaketSandbox\paket.dependencies
Adding Newtonsoft.Json to C:\Users\user\Documents\Visual Studio 2013\Projects\PaketSandbox\PaketSandbox\paket.references
References file saved to C:\Users\user\Documents\Visual Studio 2013\Projects\PaketSandbox\PaketSandbox\paket.references
Newtonsoft.Json 6.0.6 unzipped to C:\Users\user\Documents\Visual Studio 2013\Projects\PaketSandbox\packages\Newtonsoft.Json
1 second - ready.

paket.lock:
NUGET
remote: http://internalfeed/NugetWebFeed/nuget
specs:
Newtonsoft.Json (6.0.6)

BUG1, BUG2 are confirmed as bugs and resolved in current version.
Is there any chance for me to get private access to your internal feed?

I am afraid it's not possible. It's an internal company feed.
However I can provide a sample that was the reason why I decided to make a repro:
BUG4
Given:
paket.references: A lot of them filled with various entries
paket.lock:
NUGET
remote: http://internalfeed/NugetWebFeed/nuget
specs:
Internal_1
Newtonsoft.Json (>= 6.0.0 < 6.1.0)
log4net (1.2.10)
Newtonsoft.Json (6.0.6)
remote: https://www.nuget.org/api/v2
specs:
Microsoft.AspNet.WebApi (5.2.3)
Microsoft.AspNet.WebApi.WebHost (>= 5.2.3 < 5.3.0)
Microsoft.AspNet.WebApi.Client (5.2.3)
Microsoft.Net.Http (>= 2.2.22) - framework: portable-wp80+win+net45+wp81+wpa81
Newtonsoft.Json (>= 6.0.4) - framework: portable-wp80+win+net45+wp81+wpa81, >= net45
Microsoft.AspNet.WebApi.Core (5.2.3)
Microsoft.AspNet.WebApi.Client (>= 5.2.3)
Microsoft.AspNet.WebApi.WebHost (5.2.3)
Microsoft.AspNet.WebApi.Core (>= 5.2.3 < 5.3.0)
paket.dependencies:
source http://internalfeed/NugetWebFeed/nuget
nuget Internal_1
nuget log4net 1.2.10
nuget Newtonsoft.Json
source https://www.nuget.org/api/v2
nuget Microsoft.AspNet.WebApi
nuget Microsoft.AspNet.WebApi.Core
When:
paket install
Then:
Paket version <IP_ADDRESS>
Resolving packages:
...

Newtonsoft.Json 6.0.6
Microsoft.AspNet.WebApi 5.2.3
Paket failed with:
Couldn't get package details for package Microsoft.AspNet.WebApi on any
of ["http://internalfeed/NugetWebFeed/nuget"].

INFO1
Given:
paket.references: Same as BUG4
paket.dependencies: Same as BUG4
paket.lock ABSENT
When:
paket install
Then:
Succeeds
INFO2
Given:
paket.references: Same as BUG4
paket.dependencies: Same as BUG4
paket.lock Sane as BUG4
paket version 0.4.2
When:
paket install
Then:
Succeeds

So the question is: Why paket tries to get package details of WebApi (official nuget) on internal_feed (which hosts WebApi's dependency: Newtonsoft.Json)?

could you please try to align the paket.lock correctly?

hint: use editor and insert 4 spaces before every line of your code. then copy into comment.

NUGET
  remote: http://internalfeed/NugetWebFeed/nuget
  specs:
    Internal_1
      Newtonsoft.Json (>= 6.0.0 < 6.1.0)
    log4net (1.2.10)
    Newtonsoft.Json (6.0.6)
  remote: https://www.nuget.org/api/v2
  specs:
    Microsoft.AspNet.WebApi (5.2.3)
      Microsoft.AspNet.WebApi.WebHost (>= 5.2.3 < 5.3.0)
    Microsoft.AspNet.WebApi.Client (5.2.3)
      Microsoft.Net.Http (>= 2.2.22) - framework: portable-wp80+win+net45+wp81+wpa81
      Newtonsoft.Json (>= 6.0.4) - framework: portable-wp80+win+net45+wp81+wpa81, >= net45
    Microsoft.AspNet.WebApi.Core (5.2.3)
      Microsoft.AspNet.WebApi.Client (>= 5.2.3)
    Microsoft.AspNet.WebApi.WebHost (5.2.3)
      Microsoft.AspNet.WebApi.Core (>= 5.2.3 < 5.3.0)

Done

is there a version given after Internal_1 ?

Yes, there is. I updated the lock file. I also noticed that there's Internal_2 that also requires Newtonsoft.Json.

Please note that I haven't published the entire lock and dependencies file. Just the relevant parts (dealing with Json and WebApi)

I think I found the issue.

Glad to hear that :) Is it fixable? :)

sure
2015-05-06 10:32 GMT+02:00 Jedrzej Grabowski<EMAIL_ADDRESS>
Glad to hear that :) Is it fixable? :)
—
Reply to this email directly or view it on GitHub
https://github.com/fsprojects/Paket/issues/814#issuecomment-99379514.

please verify if the thing works now.

Unfortunately it doesn't... I'm going to give you some details shortly...

BUG3: The same error: Nothing's changed.
BUG4: There's a slight change (previously it stopped at WebApi, not WebApi.Client):
Paket version <IP_ADDRESS>
Resolving packages:

Newtonsoft.Json 6.0.6
Microsoft.AspNet.WebApi 5.2.3
Microsoft.AspNet.WebApi.Client 5.2.3
Paket failed with:
Couldn't get package details for package Microsoft.AspNet.WebApi.Client
on any of ["http://internalfeed/NugetWebFeed/nuget"].

ok I see.

sorry playing ping pong here, but since I can't access the feed it's just guessing what's wrong. Anyways there is a new version available.

I don't mind the ping pong :)
Still problems:
BUG3:
Paket version <IP_ADDRESS>
Adding Newtonsoft.Json to C:\Users\user\Documents\Visual Studio 2013\Projects\PaketSandbox\paket.dependencies
Resolving packages:

Microsoft.AspNet.WebApi 5.2.3
Microsoft.AspNet.WebApi.Client 5.2.3
Microsoft.AspNet.WebApi.Core 5.2.3
Microsoft.AspNet.WebApi.WebHost 5.2.3
Microsoft.Net.Http 2.2.29
log4net 1.2.0
Paket failed with:
Couldn't get package details for package log4net on any of ["http://internalfeed/NugetWebFeed/nuget"].

BUG4:
We've got a new actor coming to the stage: Internal_3!
Let's do a brief introduction:
paket.dependencies:
nuget Internal_3 ~> 1.0
paket.lock:
Internal_3 (<IP_ADDRESS>32) //No dependencies
Then (outcome):
Paket version <IP_ADDRESS>
Resolving packages:
...

Internal_3 <IP_ADDRESS>56
...
Newtonsoft.Json 6.0.6
Microsoft.AspNet.WebApi 5.2.3
Microsoft.AspNet.WebApi.Client 5.2.3
Microsoft.AspNet.WebApi.Core 5.2.3
Microsoft.AspNet.WebApi.WebHost 5.2.3
...
log4net 1.2.10
...
Paket failed with:
Could not find compatible versions for top level dependency:
"Internal_3 <IP_ADDRESS>32 (from C:...\paket.dependencies)"
Available versions:

<IP_ADDRESS>56
Try to relax the dependency or allow prereleases.

BUG4:
Neither Internal_1 nor Internal_2 depend on Internal_3.
Internal_3 has no dependencies at all.
When you delete paket.lock and run paket install, then there are no errors.

Yes it's still a bug with the "smart" install. Will try to look deeper
2015-05-06 12:18 GMT+02:00 Jedrzej Grabowski<EMAIL_ADDRESS>
BUG4:
Neither Internal_1 nor Internal_2 depend on Internal_3.
Internal_3 has no dependencies at all.
When you delete paket.lock and run paket install, then there are no errors.
—
Reply to this email directly or view it on GitHub
https://github.com/fsprojects/Paket/issues/814#issuecomment-99408018.

Regarding Bug 3: didn't you say log4net is on the internal feed? It seems to look into the correct feed.

I did. So as Newtonsoft.Json (the original error). Let me run sanity check with log4net to prove that log4net is accessible from internal feed...

Indeed paket is not able to get the information. However when I launched NuGet (via VS's Manage NuGet Packages) with the internal feed I could install log4net successfully:
------- Installing...log4net 1.2.10 -------
Installing 'log4net 1.2.10'.
Added file 'log4net.dll' to folder 'log4net.1.2.10\lib\1.0'.
Added file 'log4net.xml' to folder 'log4net.1.2.10\lib\1.0'.
Added file 'log4net.dll' to folder 'log4net.1.2.10\lib\1.1'.
Added file 'log4net.xml' to folder 'log4net.1.2.10\lib\1.1'.
Added file 'log4net.dll' to folder 'log4net.1.2.10\lib\2.0'.
Added file 'log4net.xml' to folder 'log4net.1.2.10\lib\2.0'.
Added file 'log4net.1.2.10.nupkg' to folder 'log4net.1.2.10'.
Successfully installed 'log4net 1.2.10'.
Adding 'log4net 1.2.10' to PaketSandbox.
For adding package 'log4net 1.2.10' to project 'PaketSandbox' that targets 'net451',

Assembly references are being added from 'lib\2.0'
Added reference 'log4net' to project 'PaketSandbox'
Added file 'packages.config'.
Added file 'packages.config' to project 'PaketSandbox'
Successfully added 'log4net 1.2.10' to PaketSandbox.

I have no idea how to debug this one.

I spotted a file NuGet local cache (C:\Users\user\AppData\Local\NuGet\Cache): log4net.1.2.0.s2000701002.json.failed. Its content:
System.Exception: Could not retrieve data from http://internal_feed/NugetWebFeed/nuget/Packages(Id='log4net',Version='1.2.0')
Message: The remote server returned an error: (404) Not Found.
at Paket.Utils.getFromUrl@187-4.Invoke(String message)
at Paket.Utils.getFromUrl@182-3.Invoke(Exception _arg2)
at Microsoft.FSharp.Control.AsyncBuilderImpl.callA@803.Invoke(AsyncParams1 args)System.Exception: Error file for log4net exists at C:\Users\user\AppData\Local\NuGet\Cache\log4net.1.2.0.s2000701002.json.failed    at Paket.NuGetV2.getDetailsFromNuget@293-2.Invoke(String message)    at Paket.NuGetV2.getDetailsFromNuget@292-1.Invoke(Unit unitVar)    at Microsoft.FSharp.Control.AsyncBuilderImpl.callA@803.Invoke(AsyncParams1 args)System.Exception: Error file for log4net exists at C:\Users\user\AppData\Local\NuGet\Cache\log4net.1.2.0.s2000701002.json.failed
at Paket.NuGetV2.getDetailsFromNuget@293-2.Invoke(String message)
at Paket.NuGetV2.getDetailsFromNuget@292-1.Invoke(Unit unitVar)
at Microsoft.FSharp.Control.AsyncBuilderImpl.callA@803.Invoke(AsyncParams1 args)System.Exception: Error file for log4net exists at C:\Users\user\AppData\Local\NuGet\Cache\log4net.1.2.0.s2000701002.json.failed    at Paket.NuGetV2.getDetailsFromNuget@293-2.Invoke(String message)    at Paket.NuGetV2.getDetailsFromNuget@292-1.Invoke(Unit unitVar)    at Microsoft.FSharp.Control.AsyncBuilderImpl.callA@803.Invoke(AsyncParams1 args)System.Exception: Error file for log4net exists at C:\Users\user\AppData\Local\NuGet\Cache\log4net.1.2.0.s2000701002.json.failed
at Paket.NuGetV2.getDetailsFromNuget@293-2.Invoke(String message)
at Paket.NuGetV2.getDetailsFromNuget@292-1.Invoke(Unit unitVar)
at Microsoft.FSharp.Control.AsyncBuilderImpl.callA@803.Invoke(AsyncParams`1 args)
Does it help?

yes please delete the whole cache or retry with -f

I found the problem. My mistake.
I had invalid version in dependencies file: 1.2.0 instead of 1.2.10. Sorry for that.
BUG3 fixed.

Ok all bugs mentioned in this ticket have been fixed (verified with <IP_ADDRESS>).
Thank you very much for such a quick fix!

was a bit like:

but I'm glad it works now

Actually I'm having a problem. I think we need to reopen this one...
Given:
BUG3 performed successfully //we have dependencies file with 2 feeds (internal first)
When:
paket add nuget Moq project PaketSandbox //Moq is NOT present on the internal feed
Then:
Paket version <IP_ADDRESS>
Adding Moq to C:\Users\user\Documents\Visual Studio 2013\Projects\PaketSandbox\paket.dependencies
Resolving packages:

Newtonsoft.Json 6.0.8
Microsoft.AspNet.WebApi 5.2.3
Microsoft.AspNet.WebApi.Client 5.2.3
Microsoft.AspNet.WebApi.Core 5.2.3
Microsoft.AspNet.WebApi.WebHost 5.2.3
Microsoft.Net.Http 2.2.29
log4net 1.2.10
Microsoft.Bcl 1.1.10
Microsoft.Bcl.Build 1.0.21
Paket failed with:
Couldn't retrieve versions for Moq.

please try 1.3.26

I'll try tomorrow when I come to work and have access to the internal feed.

I am delighted to confirm that the above bugs have been fixed!


Recording configurations

Add remaining configurable options: bitrate and AVSession category. Send options via an object rather than tons of parameters.

Implemented on master.


Support IntelliJ 2021,3

As you probably have noticed, this plugin is still only compatible with IntelliJ 2021.2.
I am aware of the issue, but we currently can't update to 2021.3, because of https://github.com/Kotlin/kotlinx.serialization/issues/993#issuecomment-983690794

Thank you !


Migrate documentation and schemas to catalogapi

Move documentation and metadata schemas from data-catalog to catalogapi.

@Castronova and @igarousi I assume we decided to rename the repo catalogapi to catalog. From the data-catalog repo it seems we just need to copy 2 folders -  schema and examples to the new docs folder in catalog repo. Is the main branch of data-catalog up-to-date or are we waiting for any PRs to be merged?

@pkdash Yes, this is correct. I'm working with Irene to take care of the migration.

@Castronova and @igarousi - did this get done, or can I have @pkdash do this? I want to close out the issues tagged for this release.

@Castronova - I added this to the next milestone because I think we want to have the GitHub repositories fully sorted out as soon as we can so we don't have pieces spread all over.


Update third-party-software-updates.md

Fixing the following >[!NOTE] > in the content.

Review and approve the catalog certificate. >[!NOTE] > When you subscribe to a third-party software update catalog, the certificate that you review and approve in the wizard is added to the site. This certificate is of type Third-party Software Updates Catalog. You can manage it from the Certificates node under Security in the Administration workspace.

@sccmentor : Thanks for your contribution! The author, @aczechowski, has been notified to review your proposed change.


Safe to delete member of ossl_record_layer_st: read_iv?

    /* static read IV */
    unsigned char read_iv[EVP_MAX_IV_LENGTH];

This member variable is never assigned nor read. Safe to remove?

Yes, this is safe to remove.


chore: python upgrade now clones testeng-ci from its actual github lo…

This is in response to a github alert to the effect that the weekly python upgrade job for this repo was failing.
Learned from Jeremy Bowman that this error is an instance of a handful of repos that had their python upgrade scripts corrupted by an automated URL update job. This is a one-line fix to restore the reference to the testeng-ci dependency to its correct home (edx, not openedx).

I'm surprised to see that this change reduced coverage for the project, and am looking at how to remedy this. I'll post a follow-up commit once I've figured it out. No review necessary/appropriate yet.

Approved, but it would be superior for this workflow to use https://github.com/openedx/.github/blob/master/workflow-templates/upgrade-python-requirements.yml

Change already merged in the PR https://github.com/openedx/xblock-sdk/pull/249 so this PR is not needed anymore.


Abrupt Component Change

Describe the bug
The SignUp component gets switched up to SignIn component, abruptly.
To Reproduce
Steps to reproduce the behavior:

Login to the app for the first time. You will able to see blue colored notification.
Click on 'Sign Up' button before the notification ends. (Within 2 secs)
See error

Possible Solution
The state of notification is in queue which is to be cleared, when the component has changed.
Or
Put the Notification in parent component and manage the state of Notification globally in parent component, by dispatching an action.

Can I work on this?

I am not able to sign up. Not getting any OTP. How to sign up?

Can I work on this issue under GSSoC'21? Kindly assign it to me.

Will fix that OTP issue. Well this issue doesn't require login. Try replicating it and let me know if @GuptaTanisha if you would like to work on this issue ?

@ashishnagpal2498 I would like to work on this.

I am not able to sign up. Not getting any OTP. How to sign up?

Maybe token got expired. I will re-generate it.


Update index.html consistently use https

Load angular router with https like other script refs, so that it can be loaded from an app hosted on https, such as hosting the entire app in WCH CDN.

@jbooth1 @jlidaka @llpomerl  This one should be pull-able separate from the Readme changes which we're going to hold on until we have a better answer for the login portion.  Please review this and pull if it looks ok (and works) for you.


Add Kinect driver to OpenNI2 port

Add Kinect driver to OpenNI2 port.
OpenNI2 port generate Kinect driver when Kinect SDK has been installed in your system.

@UnaNancyOwen,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by Microsoft. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

It might be better to create the Kinect SDK port and use it, than using the Kinect SDK installed on the system.
What do you think about it?

I tried to make the Kinect SDK v1 port (#1349).
If Kinect SDK v1 port to be merged, the replace_environment_variable.patch are not needed.

Thanks for making #1349, it looks great and I've merged it.
If the Kinect SDK is the primary way to use OpenNI2, would you like to simply make it an unconditional dependency?

@ras0219-msft I think that it is necessary to settings the include path and library path of vcpkg to Kinect.vcxproj.

@ras0219-msft @alexkaratarakis I think ready to merge this pull request. Please review and merge. Thanks,

Merging this. Thanks (and sorry for the delay)!


$ref name conflicts for OAS 3

Create new names by adding _{number} to new ref name if a conflict would occur.

Hi, @joeljons is this a bug that's being fix, or a better way of handling the same names in the schemas? :)

This is a bug fix for the case when an already existing schema has the same name as an externally referred schema. This collision wasn't handled.


BFM with Neck

Hi, Is there any way for this to output with a Neck?
EDIT: Ideally, a model with a complete head and neck.
Thanks,
Eric

Thank you for your support and your professional guidance. I will seriously consider your suggestions and do my best to meet your requirements (I am currently busy applying for a PhD position, but I will update as soon as possible). However, before I make updates, I suggest that you refer to this for reconstruction results that include the neck and to this for results that include the entire head. I believe this shouldn't be too difficult, but please note that 3DDFA-v3 was not trained on scenarios involving the neck or full-head models, so accuracy outside the face area cannot be guaranteed.

Hi, thanks for responding. The accuracy for regions outside of the face isn’t really important. It’s that the cropped face model leads to rendering artifacts in the use case I’m researching. I need a full head model with proper UV layout to avoid those artifacts.
I tried using BFM-to-FLAME, but that repo doesn’t support this specific BFM.

Hi, thanks for responding. The accuracy for regions outside of the face isn’t really important. It’s that the cropped face model leads to rendering artifacts in the use case I’m researching. I need a full head model with proper UV layout to avoid those artifacts.
I tried using BFM-to-FLAME, but that repo doesn’t support this specific BFM.

Could you please describe your issue in more detail? If you need accurate UV mapping coordinates, I can provide them, but I didn't understand the difficulties you are encountering.

If you watch this video, you can see the process that I'm using:
https://www.youtube.com/watch?v=uSxgt5mcbXM
When you unwrap and rewrap the UV Pass with the BFM, the edges of the face leave artifacts in the final image.
3DDFA-V3's head tracking is a lot more accurate than EMOCA, but the BFM can't be used because of these rendering artifacts.

If you watch this video, you can see the process that I'm using: https://www.youtube.com/watch?v=uSxgt5mcbXM
When you unwrap and rewrap the UV Pass with the BFM, the edges of the face leave artifacts in the final image.
3DDFA-V3's head tracking is a lot more accurate than EMOCA, but the BFM can't be used because of these rendering artifacts.

I watched your video, but I am not very familiar with face retouching. Here are my suggestions:

I think you might be using the third column of the first row from the default result image as your output. However, this is incorrect in the context of retouching applications, as this column represents the PCA texture estimation results (not the UV unfolding from the face image). Your retouching operations should be applied to the uv_color_img。
Artifacts might arise from the texture blending process. I suggest considering smooth transitions, such as Poisson Image Editing.
Although I believe my method is quite good, I still recommend considering other FLAME-based algorithms (for your requirements), such as smirk.

Base Footage

Face Unwrapped

Face Re-Wrapped with artifacting around the edges of the BFM.

Unwrapped FLAME 2020 model

Rewrapped FLAME 2020 model

Hi, thanks for responding. The accuracy for regions outside of the face isn’t really important. It’s that the cropped face model leads to rendering artifacts in the use case I’m researching. I need a full head model with proper UV layout to avoid those artifacts.
I tried using BFM-to-FLAME, but that repo doesn’t support this specific BFM.

Hello, have you solve this issue?

Not by a long shot. Try SMIRK for a whole head solve, and if you want it to work on anything but closeups/selfies, swap out RetinaFace (used here as well) for MediaPipe in the mediapipe_utils.py files.

Base Footage

Face Unwrapped

Face Re-Wrapped with artifacting around the edges of the BFM.

UVW Pass

When you use the FLAME model for this workflow, you don't get these edge artifacts.

The UV mapping of your model has an issue: all the points along the upper edges of the UVs have not been unwrapped and are positioned at the (0,0) point. This causes the stretching and deformation of all triangles along the edges. （ “”2. Face Unwrapped”）
In the context of 3D modeling and texturing, "UV" refers to the two-dimensional texture coordinates that are applied to a three-dimensional model's surface. When these coordinates are not properly laid out, it can lead to visual artifacts in the texture appearance when rendered or displayed.

This issue most likely occurred either before or during the texture projection process, although I'm not familiar with your specific workflow. It's also possible that it was overlooked during the masking phase. I believe it would be better to complete the texture projection accurately before proceeding with masking, as I've noticed problems with the projected texture itself.
To elaborate: The problem you're encountering could stem from several points in the texturing process:

Pre-projection Preparation: If the UV unwrapping wasn't done correctly before texture projection, this can lead to issues like the ones you're describing. Proper UV layout is crucial for accurate texture application.

During Texture Projection: Errors can occur if the texture isn't properly aligned or if there are issues with the way textures are being mapped onto the 3D model during the projection process.

Masking Phase: If masking was applied without ensuring the underlying texture projection was correct, any errors in the UV mapping or texture projection might have been ignored or exacerbated by the masking process.

It's advisable to ensure that the texture is fully and correctly projected onto the model first. This means checking that the UVs are laid out properly and that the texture aligns well with the geometry of the model before applying any masks or additional details. By doing so, you can avoid complications and ensure that any subsequent steps, such as masking, do not hide or worsen existing issues.


Terminal scrolled to top unexpectedly immediately after opening

VSCode Version: 1.40 (but has been for a while now)
OS Version: Windows (might be on Linux too but cannot remember... definitely on Windows)

Steps to Reproduce:

Work for a while
Close terminal
Open terminal
The terminal will be scrolled to the top, and show the last thing you saw. When you attempt to scroll up, however, that doesn't work. If you scroll to the bottom, you will see the same thing you saw on the top.

You cannot tell... but the terminal is scrolled to the top after I opened it even though there is a lot of stuff in the terminal.

Does this issue occur when all extensions are disabled?: Not sure. I only use remote development (I don't have a way to use VSCode without that feature).

a gif or screencast or multiple screenshots would be nice to help understand the issue.
maybe its because I don't use the built-in terminal in any app. I will, once they get good enough.

regards ratatoeey

Related: Integrated terminal resets scroll position to top when emacs is closed

Confirm that it appeared after 1.40

Merging into https://github.com/microsoft/vscode/issues/84145


[WIP, dont merge it yet] deterministic ids

initial implementation of what we proposed in a https://github.com/seek-oss/html-sketchapp-cli/issues/18#issuecomment-371527736
TODOs:

[ ] get rid of generateId in ./html2asketch folder (makeImageFill and fixFont)
[ ] get rid of generateId in ./html2asketch.sketchplugin sketch plugin folder

what do you think? we are open for suggestion and constructive critique
PS. i use "we", because i am pair programming it with @rikardgehlin

Test 😍Discussion 😍Oh wow, so much going on here! Thank you @iamstarkov for contributing 👏

ID setter will be officially available in 3.2.0 ( https://github.com/brainly/html-sketchapp/pull/98 ). Using this setter anyone consuming html-sketchapp library will be able to provide deterministic ID themselves. As far as I understand this covers the main problem we were trying to solve here, so I'm closing this PR. Please let me know if this is not the case!


chore: bdd-gh-1587545302 to 0.0.1

chore: Promote bdd-gh-1587545302 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Add the support for unified snax docker and add test-integration-sw

Add the support for unified snax docker
This change is related to the compilation dir for the host system.
Add the test-integration-sw
This change is related to the addition of the test-integration-sw. This sw will test the data path from L3->Cluster0 L1 ->Cluster1 L1. Specifically, C0 will issue a DMA transaction copy data from L3 -> C0 TCDM. Then the C1 will copy the same data from C0 TCDM to C1 TCDM. Finally, C0 and C1 will check if the data is the same as in the L3.
Add the support for clusters with different cores
This change is related to the change in the occamy sw headers. Previously the occamy system was homogeneous and each cluster had the same number of cores. Now by changing the hw generation and sw headers, we can support the clusters with different numbers of cores.
Remove hard-coded cluster offset
This change is related to the change of the cluster address offset. Previously the cluster address offset is hardcoded to 256KB. Now by adding the tmp file, we can safely adjust the cluster_base_offset in cluster_cfg

Add another change on the make clean at the root Makefile

Manually clean the bender file at the end of make clean. By doing so, there will be no fetching of the gitrepo during the cleaning process


[AutoPR monitor/resource-manager] Add extra description for Subscribe API

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/2820

This PR has been merged into https://github.com/Azure/azure-sdk-for-python/pull/2226


Migrate from text-format to formatting

See details here:

https://github.com/serokell/universum/issues/157

Seems like a good idea. PRs are welcome or I can do it myself at some point but no idea when (I have a shitload of things to read about at $newjob)

What would be the best strategy here?
The Buildable class from formatting looks like it is a drop-in for the one from text-format, so that is an easy replacement.
How should the other functionality from text-format be carried over?
I imagine that delegating to formatting and then the wrapping corresponding functions (e.g. left, right, expt) in a Formatting.bprint is not ideal as they would perhaps have a performance cost over the current implementation. Should  the relevant few functions be directly lifted from text-show into this codebase? I am also not sure how the FormatType class would be adjusted from the Data.Text.Format to the Formatting.Format type.
Taking #13 into consideration, I am not sure what the desired path forward here is.
Unfortunately, the dependency on text-format is also keeping this package from building on ghc-8.4.

Dammit, formatting ships the sources of text-format but doesn't expose them :unamused:

https://github.com/chrisdone/formatting/issues/37

@brandonhamilton Sorry, I underestimated the amount of work that needs to be done.
I have a branch where I started porting fmt to Buildable from formatting. It relies on my fork of formatting (I'll make a PR to formatting when that branch compiles).
That branch is here: https://github.com/aelve/fmt/pull/18. I have given you commit rights: https://github.com/aelve/fmt/invitations.
The Format type from Formatting is completely different from the one in Data.Text.Format, they just happen to share a name. You would have to copy the implementation of Format and the corresponding logic into smth like Fmt.Internal.Format and reexport it where necessary.

Oh, and the branch above contains a stack.yaml which points to GHC 8.4 so if you use stack you'll be able to check whether it compiles on 8.4 or not.

As for #13: ultimately we probably want our own class, because doing UTF8 -> UTF16 whenever you want a Text is (likely) unacceptable, but at the same time being able to go via bytestring builder when e.g. writing to a file would bring a performance benefit so we shouldn't give that up either.
I'm not sure how such a class would look like. The simplest solution is to have two methods for Text and ByteString builders, but it's not very good. Having an IsBuilder class with two instances (and a polymorphic build :: IsBuilder a => a with necessary specialization pragmas) might be better. I'm not sure the specialization will actually work; if it doesn't work, we'll lose lots of performance.


Spectra curation: move advanced settings cut-offs to dropdownbutton

Convert the "Show advanced settings" checkbox to a dropdownbutton (gears icon) in the box header, like in the "Choose analyte quality criteria" box.

Moved to "Discussions"


New lessons weren't added to previous work.

Issue Description

I started yesterday with 116 completed lessons and did 54 more.  The 54 did not show up in my completed history.  In the screenshot, please note the 116 below my name and the 54 at the right.
How the issue developed:  I had used this early in the year and tried to login again and continue.  When I logged in, it showed me at [0] under my name.  Following advice from others in the forum, I navigated to the last lesson I had completed using the "Map" feature and began completing exercises.  The number went up to 54 as I completed lessons, however if I click on the "54", it still shows 116 under my name and does not show the other 54 added to that.  Also of note, when I login now it DOES direct me to the correct lesson (i.e. I am not on lesson number 55.)
Thank you!
Browser Information

Browser Name, Version:  Version 63.0.3239.84 (Official Build) (64-bit)
Operating System: Windows 10
Mobile, Desktop, or Tablet: Laptop

Screenshot

Please note that the lessons are not numbered, those are your brownie points, https://forum.freecodecamp.org/t/free-code-camp-brownie-points/18380
Seems this is related to #16147

@JanetShuman Sorry for the inconvenience this bug has caused!  We are working on fixing this. I will close this issue in favor of our discussion about this bug on #16147


Tag 1.0.0 in github

We don't even have an official 1.0.0 release yet ¯_(ツ)_/¯
(but yeah, I want to have one, if I find the time to clear it all up, merge remaining PRs and just damn release it)

Haha, I thought it is released because readme in master branch said about 1.0.0. Anyway I have more problems with python hiredis than this module.

cough yeah, I once planned a 1.0 release cough I never did, sorry for that (master branch is more or less the development branch)


Separately apply maxConcurrentBuilds to different target branches

Dude, this was an awesome find.
I literally told people this would be a crazy complex change that's just not doable and you did it in one line. Amazing


Improve feature spec login

Improves login method to speed up tests and stop random failures on my computer :/

Going to wait and rebase this after 9689 is merged


Keep subscribe connection alive

Currently, the subscribe connection appears to get closed after about a minute or less of inactivity. This is fine for 99% of our API calls, but for subscribe, we need to keep this open longer, as it might be quite a long time between updates. The alternative here is that we let it close, but then reopen at regular intervals?

This was fixed with https://github.com/textileio/go-threads/pull/392


check(controller): Check controller http server health probes.

check(controller): Check controller http server health probes.
Checks controller http server health probes for
the health of the osm-controller pods.
Signed-off-by: Johnson Shi<EMAIL_ADDRESS>

@SanyaKochhar // @draychev // @jaellio - Should we add some checks of /metrics from osm-controller's http server as well? I see lots of potentially useful metrics that we can obtain from /metrics. Example: https://pastebin.com/B06MeZwY


Update apim fork to 1.4.4

Updating fork to 1.4.4 version
Please check OpenApiParameterRules and OpenApiWriterSpecialCharacterTests for problems as there was merge conflicts.
OpenApiParameterRules  was fixed according to previous commits (removed parameters mismatch validation)
Merge conflicts was as well in Microsoft.OpenAPI.csproj and MIcrosoft.OpenAPI.Readers.csproj
Please look in the last three commits as there are changes around fixing compilation errors and tests plus removing of some project not needed in the fork

Abandoning as new version was released


How do i add material theme to webpack  project?

i am using     "@angular/material": "^2.0.0-beta.2".
i want to add material  theme to my project.
if i add     <link<EMAIL_ADDRESS>rel="stylesheet"> to my index.html , then i'm getting error  ```
Failed to load resource:
the server responded with a status of 404 (Not Found)
core.es5.js:3137 Template parse warnings:
The <template> element is deprecated. Use <ng-template> instead ("[WARNING ->]<template cdkPortalHost></template>"): ng:///MdSnackBarModule/MdSnackBarContainer.html@0:0
Console.warn @ core.es5.js:3137

i'm using webpack .How do i add material  theme to my app?

Please keep GitHub issues for bug reports / feature requests. Better avenues for troubleshooting / questions are Stack Overflow, gitter, mailing list, etc.

ok bro!..


Fix TD's detail label becoming crushed due to a large title

This PR fixes a bug in which large titles inside a TitledDescription would shrink the detail label up to a point that it would not longer be readable.
In order to fix this, the content compression resistance priority of the label itself was simply lowered from defaultHigh to defaultLow.

Can you please make the same fix to DetailedDescription in Bento?
Also, IMO we should take this opportunity to remove TitledDescription from BentoKit and move it to BabylonUI.


protonvpn-cli: 2.2.4 -> 2.2.6

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 110340 run on x86_64-darwin 1

1 package marked as broken and skipped:

protonvpn-cli

Result of nixpkgs-review pr 110340 run on x86_64-darwin 1

1 package marked as broken and skipped:

protonvpn-cli

This is a semi-automatic executed nixpkgs-review which is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
If you have any questions or problems please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 110340 run on x86_64-linux 1

2 packages built:

protonvpn-cli
protonvpn-gui

The following issues got detected with the above build packages.
Please fix at least the ones listed with your changed packages:
protonvpn-gui:

Zero tests run by pytest got detected: 'Ran 0 tests in 0.000s'
You have the following options to fix this:

Tell pytest(CheckHook) where to find the tests included in the package
Check if the GitHub Repo contains tests but they are not shipped with Pypi. If so please switch to fetchFromGitHub.
If the Packages does not contain any tests add 'doCheck = false;' and a pythonImportsCheck.

This is a semi-automatic executed nixpkgs-review which is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
If you have any questions or problems please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 110340 run on x86_64-linux 1

2 packages built:

protonvpn-cli
protonvpn-gui

The following issues got detected with the above build packages.
Please fix at least the ones listed with your changed packages:
protonvpn-gui:

Zero tests run by pytest got detected: 'Ran 0 tests in 0.000s'
You have the following options to fix this:

Tell pytest(CheckHook) where to find the tests included in the package
Check if the GitHub Repo contains tests but they are not shipped with Pypi. If so please switch to fetchFromGitHub.
If the Packages does not contain any tests add 'doCheck = false;' and a pythonImportsCheck.

Result of nixpkgs-review pr 110340 run on x86_64-darwin 1
1 package marked as broken and skipped:

Indeed, protonvpn-cli targets linux; platforms.linux should be set rather than unix. Can you make this change @SCOTT-HAMILTON, please? Do not hesitate to add yourself to the maintainers' list.

Result of nixpkgs-review pr 110340 run on x86_64-darwin 1
1 package marked as broken and skipped:

Indeed, protonvpn-cli targets linux; platforms.linux should be set rather than unix. Can you make this change @SCOTT-HAMILTON, please? Do not hesitate to add yourself to the maintainers' list.

This is a semi-automatic executed nixpkgs-review which is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
If you have any questions or problems please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 110340 run on x86_64-linux 1

2 packages built:

protonvpn-cli
protonvpn-gui

The following issues got detected with the above build packages.
Please fix at least the ones listed with your changed packages:
protonvpn-gui:

Zero tests run by pytest got detected: 'Ran 0 tests in 0.000s'
You have the following options to fix this:

Tell pytest(CheckHook) where to find the tests included in the package
Check if the GitHub Repo contains tests but they are not shipped with Pypi. If so please switch to fetchFromGitHub.
If the Packages does not contain any tests add 'doCheck = false;' and a pythonImportsCheck.

This is a semi-automatic executed nixpkgs-review which is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
If you have any questions or problems please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 110340 run on x86_64-linux 1

2 packages built:

protonvpn-cli
protonvpn-gui

The following issues got detected with the above build packages.
Please fix at least the ones listed with your changed packages:
protonvpn-gui:

Zero tests run by pytest got detected: 'Ran 0 tests in 0.000s'
You have the following options to fix this:

Tell pytest(CheckHook) where to find the tests included in the package
Check if the GitHub Repo contains tests but they are not shipped with Pypi. If so please switch to fetchFromGitHub.
If the Packages does not contain any tests add 'doCheck = false;' and a pythonImportsCheck.

It looks like the protonvpn-gui package is missing a doCheck = false; line. Can we merge this change first and take care of the latter in a subsequent pull request, please? @SuperSandro2000

It looks like the protonvpn-gui package is missing a doCheck = false; line. Can we merge this change first and take care of the latter in a subsequent pull request, please? @SuperSandro2000


How is authentication scheme selected?

Docs say nothing how scheme is probed. For the jwt token one must properly set Authorization header, for Cookies it's another header.
Does it work the other way around? That is we either define default scheme, or specify required scheme in [Authorize] attribute? But before the controller is hit I'd expect request be already authenticated:
app.UseRouting();

app.UseAuthentication();
app.UseAuthorization();

 // Execute the matched endpoint.
app.UseEndpoints(endpoints => ...);

Yet while playing with the project I found out that authentication scheme handler gets activated based on AuthenticationSchemes in [Authorize] attribute. For me it's a weird backward functionality: endpoints middleware affect authentication middleware.  How is it even possible? Explanation would not hurt, I assume.
My mental model is the following:

Select the scheme to be used for authentication. (maybe multiple schemes)
Authenticate. (maybe with multiple handlers each returning authentication ticket resulting in a principal with multiple identities)
Map request to controller, check required auth schemes,
Profit!

IMO, you should document this part in more details. Also it is not obvious that absence of default scheme requires setting AuthenticationShemes property of [Authorize] attribute.

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

ID: 393b3379-6061-50a4-0975-b3d1d82b660b
Version Independent ID: 48e4e204-ea22-c225-0cbc-0d811bdb90ed
Content: Overview of ASP.NET Core Authentication
Content Source: aspnetcore/security/authentication/index.md
Product: aspnet-core
Technology: aspnetcore-security
GitHub Login: @mjrousos
Microsoft Alias: riande

@Rick-Anderson I added more comments to the text.

https://github.com/dotnet/aspnetcore/issues/26002 uses multiple

@Rick-Anderson You may add multiple schemes, but nothing seems to be responsible for selecting a set of them other than the list in Authorize attribute

@HaoK can you document this please? Thanks!

I'm not sure what the best way to document this is @Rick-Anderson so I'll just add my explanation here to start, and we can figure out if we are missing anything.
So the basic idea is there Authentication is responsible for providing the ClaimsPrincipal for Authorization to make permission decisions against.  That is what AuthenticationSchemes are used for, selecting which authentication handler is responsible for generating the correct set of claims.  The default authentication scheme is one mechanism for determining the scheme.  Another way is via specifying the AuthenticationSchemes of the authorize property (which is described in https://docs.microsoft.com/en-us/aspnet/core/security/authorization/limitingidentitybyscheme?view=aspnetcore-5.0). Yet another way is to just directly set HttpContext.User.  But there is no automatic probing of schemes, if you don't specify a default scheme, you must specify it in the authorize attribute or you will get an error saying as much.

I'm not sure what the best way to document this is @Rick-Anderson so I'll just add my explanation here to start, and we can figure out if we are missing anything.
So the basic idea is there Authentication is responsible for providing the ClaimsPrincipal for Authorization to make permission decisions against.  That is what AuthenticationSchemes are used for, selecting which authentication handler is responsible for generating the correct set of claims.  The default authentication scheme is one mechanism for determining the scheme.  Another way is via specifying the AuthenticationSchemes of the authorize property (which is described in https://docs.microsoft.com/en-us/aspnet/core/security/authorization/limitingidentitybyscheme?view=aspnetcore-5.0). Yet another way is to just directly set HttpContext.User.  But there is no automatic probing of schemes, if you don't specify a default scheme, you must specify it in the authorize attribute or you will get an error saying as much.


Remove IO module import

Description:
Currently, this is only used to construct an error message. We can use string template instead.

This is already fixed. hence closing


Add python 3.12 support

What's the reason for testing Linux with the dimod, dwave-processing and dwave-system dependency constraints but not for MacOS/Windows?

Twofold:

we test package version compatibility, and that's something that should be identical/reproducible on any OS, as we're operating in python/pip land, with the OS more or less abstracted
the assumption from the first bullet is not 100% correct for binary packages, obviously, but it's pretty close. So, we can save some time/resources/CO2 by skipping those practically redundant jobs from which we could gain very little. We chose Linux for obvious reasons :laughing:


Adding navigation title to Exhibit view

Related issue: https://github.com/mjarvis/Exhibition/issues/6

Just an aesthetics comment but I think this would look better with .navigationBarTitleDisplayMode(.inline)


<EMAIL_ADDRESS>email

Hey JP, I think you originally got us set up with this. It seems it may have gotten borked in the email migration. Can you help us find out who is now getting these emails? Prior to the email migration, it was set up to email all of us--me, Dan, Erin, and Ryan. I think we also had a<EMAIL_ADDRESS>and maybe also a<EMAIL_ADDRESS>email set up.
Thanks for any info on this.

https://bugzilla.mozilla.org/show_bug.cgi?id=1122202
Checking!

looks like we're all set up! thanks, JP.


[#NON] #BUGFIX wrong environment name passed as appsettings suffix

Merged and released in 1.5.0-beta.20210326.2.


fix typo in mergeSplitFiles example

the documentation uses a non existing api mergeZipFile.

Thanks for fixing it.


[WIP] Cleaning up Fonts and CLS Issues

Please always provide the GitHub issue(s) your PR is for, as well as test URLs where your change can be observed (before and after):
Fix #
Test URLs:

Before: https://main--sling--aemsites.aem.live/drafts/km/marquee-image
After: https://302-fonts--sling--aemsites.aem.live/drafts/km/marquee-image
Before: https://main--sling--aemsites.aem.live/drafts/km/marquee-video
After: https://302-fonts--sling--aemsites.aem.live/drafts/km/marquee-video
Before: https://main--sling--aemsites.aem.live/drafts/km/marquee
After: https://302-fonts--sling--aemsites.aem.live/drafts/km/marquee

I think there is supposed to be some space between the image and the text

Picture is getting cut off around 900-1000 px wide, but I understand why you did the height. I don't recall if the live page did this on their site, maybe it's not a big deal.


Move docs CI into release and update doc files

What about also building the doc for each PR to avoid a failure during the release process?

You mean building but not deplolying ?


add show highlighted information during new rental

Implemented #443
Unfortunately it is not easily possible to specify which colour the item/customer has been highlighted :-/ i'd love to include that in the notification itself, but I found no easy solution for that.

Additionally, it would be great to show the hints also when any rental is edited! Currently we do not see any warnings or information when the item is returned, only when it is entered for the first time.
Do you know how this could be done? I'm not sure where to enter the hook for this

Now it will also show which color the highlight was :) additionally, it will display the note or description that goes with the color. I put the descriptions into the ColorDef.js, let me know if you think I should move it to input.js


Renderer Brakes when compiling most basic app

Hi I tried to compile and run the basic app:
import SwiftTUI
struct MyTerminalView: View {
var body: some View {
Text("Hello, world!")
}
}
Application(rootView: MyTerminalView()).start()
and broke at runtime;
/// Draw a specific area, or the entire layer if the area is nil.
func draw(rect: Rect? = nil) {
if rect == nil { layer.invalidated = nil }
let rect = rect ?? Rect(position: .zero, size: layer.frame.size)
for line in rect.minLine ... rect.maxLine {                                           (Fatal error: Range requires lowerBound <= upperBound)
for column in rect.minColumn ... rect.maxColumn {
let position = Position(column: column, line: line)
if let cell = layer.cell(at: position) {
drawPixel(cell, at: Position(column: column, line: line))
}
}
}
}

Hi @devinhayward, it works fine for me. Which terminal are you using?

I am using standard macOS Sonoma 14.5 Beta, with Xcode 15.3.
Builds fine but when it runs I get the crash (Fatal error: Range requires lowerBound <= upperBound) for the draw func in your Renderer Class.

It doesn't work in the Xcode console, you need to use a proper terminal emulator. For example, open the built-in macOS Terminal app, change to the directory of your package and run
swift run


Install Sqlite3 from sources in the Sematic Docker image

The minimum required version of Sqlite3 is 3.35.0, but our Docker base image comes with 3.34.1.
This updates the Sematic Docker image build to install the latest version from scratch.

Closing in favor of #461.


srcds local host game crash with "-reuse"

Just wanted to mention that the launch option "-reuse" will crash the game to desktop when attempting to join a Source Dedicated Server hosted from the same device. Might be helpful to point out in the docs since I had no pointers online and had to figure it out on my own.
Crashes when connecting with internal and external IP. Default port was used

Honestly, reuse should be removed from the launch options.

edit: The error message it gives is: " Couldn't allocate any server ip port."

Fixed in https://github.com/mastercoms/mastercomfig/commit/af99b679344315e09f4bed25030100d1c74121de.


v1.12 backports 2023-07-28

[ ] #27029 -- ipsec, auth: Avoid out-of-order events that lead to inconsistent node IDs (@pchaigno)

Commits bbeda92bcf3816e54df0edd8b4cb1c28dab09df6, c1f4a63aac4d54252445e81aec11a50b7f7acf2b, b761470cbbdb2fac01007998593f213ad91af110, 4e06802b40d72c34ce8bf4e8151834a0355cd35c, 52b0430c9ef7701d2a57cad91455cea382c7010f, and fc8da7266ab03b6813cb7469e2fd217187308acc were skipped because the node ID map doesn't use the hive framework, the BPF unit tests for IPsec weren't backported, and Mutual Auth feature is only in v1.14.

Once this PR is merged, you can update the PR labels via:
$ for pr in 27029; do contrib/backporting/set-labels.py $pr done 1.13; done

/test-backport-1.12

/test-1.20-4.9


will npm download the newest subversion by default?(support needed)

apologise that copy node-sass's  official hints  into following table

version name
command
my version

NPM version
npm -v
6.11.3

Node version
node -v
v12.11.1

Node Process
node -p process.versions
node: '12.11.1',v8: '7.7.299.11-node.12',uv: '1.32.0',zlib: '1.2.11',brotli: '1.0.7',ares: '1.15.0',modules: '72',nghttp2: '1.39.2',napi: '5',llhttp: '1.1.4',http_parser: '2.8.0',openssl: '1.1.1c',cldr: '35.1',icu: '64.2',tz: '2019a',unicode: '12.1'

Node Platform
node -p process.platform
linux

Node architecture
node -p process.arch
x64

node-sass version
node -p "require('node-sass').info"
node-sass	4.14.1	(Wrapper)[JavaScript]libsass  	3.5.5	(Sass Compiler)	[C/C++]

npm node-sass versions
npm ls node-sass
<EMAIL_ADDRESS>/home/appleyuchi└──<EMAIL_ADDRESS>

package.json is:
https://paste.ubuntu.com/p/7QNx7qPjrr/
My question is :
why did npm cichoose  linux-x64-72_binding.node which has been deleted in the following link?
https://github.com/sass/node-sass/issues/2648
I mean,why the 72above is selected?
just newest by default or set by somewhere?
aplogise that if github is not the right place to ask question,
point this to me please and I'll ask it on quora/stackoverflow,etc...

72 is V8 module version for node 12. See the table at the top of the readme.


feat: create dir for output file

Describe the bug
When the output-file contains a path, then the generation fails.
I want to place the result of the sbom not in the root directory, but in a dedicated build folder for further processing in the pipeline.
To Reproduce
The following call
cyclonedx-npm --output-file build/reports/sbom.json

will cause an ERROR and no sbom is generated.
Error: ENOENT: no such file or directory, open '<path>/build/reports/sbom.json'

Process finished with exit code 254

Expected behavior
The folders are generated if the --output-file argument contains a path.
Environment

@cyclonedx/cyclonedx-npm version: 1.19.3
NPM version: 10.9.0
Node version: v23.1.0
OS: mac

this is not a bug, but intended behavior.
if the directory of the target file does not exist, the creation of the target file fails.
could you elaborate why this "feature" would be needed?
why don't you create the folder yourself, if it does not exist? don't you have control over your own file system?

the following worked for me:
mkdir -p dist/foo/bar
cyclonedx-npm --output-file dist/foo/bar/bom.cdx.json

this is not a bug, but intended behavior. if the directory of the target file does not exist, the creation of the target file fails.
I agree that is not a bug, but an enhancement.

could you elaborate why this "feature" would be needed? why don't you create the folder yourself, if it does not exist? don't you have control over your own file system?
For sure, I can create a folder myself. But it is easier for the caller, if the library supports the creation of a directory if needed.

But it is easier for the caller [...]

I understand.
This would sound like a nice-to-have feature, but in fact, I'd consider it a breaking change:
current behavior is to fail if target folder does not create, yet.
This comment is a remark, not a blocker.


Split into fabric-loader and fabric-base

fabric-loader should rely solely on launchwrapper and the mixin library as to be includeable in Weave and versioned outside of Minecraft itself; fabric-base should depend on it and provide "essential" Minecraft-related functionality (kicking players on fatal mod list mismatches, for example).

Why would loader need to be included in Weave, or anything outside of -base itself? Maybe if it was a general loading system, but it's not, it's very closely tied to Fabric's model of how mods work.

Actually, that was changed. It was needed for the mixin applier, as it also
has to load mods, but I just integrated the mixin applier into -base.
The idea was to be able to fix bugs/add improvements to the Loader separate
from the Minecraft-specific support code.
2016-10-04 18:19 GMT+02:00 Shadowfacts<EMAIL_ADDRESS>
Why would loader need to be included in Weave, or anything outside of
-base itself? Maybe if it was a general loading system, but it's not, it's
very closely tied to Fabric's model of how mods work.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/FabricMC/fabric-base/issues/21#issuecomment-251437481,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAG7ag5ULLemMDMKTqv_RvWIvbEClBWeks5qwnyggaJpZM4KNprI
.

So does base depend on loader?

Base would just be another module, with a few special privileges if needed.

This is effectively happening, with dynamic class resolution (thanks to FyberOptic's idea) being used for the few things which do require a "-base" module. Therefore, -loader and -base will still be one thing, just relatively Minecraft-independent.


Axes x and y coordinates cannot be integers, but standard doesn't prohibit this

I'm creating CoverageJSON objects with coordinates from a UTM coordinate system, where the coordinates are whole numbers. As far as I can tell from the standard section <IP_ADDRESS> it is not a requirement for these coordinates to be float, in fact the word int or float is never mentioned.
However the code for the Axes class states:
class Axes(CovJsonBaseModel):
    x: Optional[Union[ValuesAxis[float], CompactAxis]] = None
    y: Optional[Union[ValuesAxis[float], CompactAxis]] = None
    ...

Shouldn't it be:
class Axes(CovJsonBaseModel):
    x: Optional[Union[ValuesAxis[Union[float, int]], CompactAxis]] = None
    y: Optional[Union[ValuesAxis[Union[float, int]], CompactAxis]] = None
    ...

The same goes for CompactAxis:
class CompactAxis(CovJsonBaseModel):
    start: float
    stop: float
    ...

Thank you for reporting. I think you may be right. They specify "number", which I think should be interpreted as float or int. JSON itself doesn't make a clear distinction between the two.
I think the specs are even saying the Axis object values may be strings. However CompactAxis start and stop can be numbers, num should be an integer.
I've opened a PR: https://github.com/KNMI/covjson-pydantic/pull/15

After some more careful consideration, we believe that ValuesAxis[int] is not a correct type to have.
CoverageJSON is in the first place a specification on top of the JSON specification. JSON specifies numbers to contain an integer component that may be  prefixed with an optional minus sign, which may be followed by a fraction part and/or an exponent part. The most correct representation of this type in Python would be float.
Could you explain why there would be an issue with representing your coordinates as float type? If you're worried about precision, this should not be an issue. All integers in the range [-(2**53)+1, (2**53)-1] can be represented exactly in the float type (i.e 1.0 == 1).
We have added ValuesAxis[str] in PR #15.

Could you explain why there would be an issue with representing your coordinates as float type?

There is not a problem in doing so, my coordinates are integers within the range you provide. But since my coordinates actually are integers, and both JSON and CoverageJSON allows for using integers, I would expect that I would be able to return CoverageJSON with integers in coordinates.
The coordinates in question is the Danish National Grid, which is based on EPSG:32632 / UTM zone 32N and only uses coordinates that are integers / no decimals.
If including int is deemed out of scope, feel free to close the issue.


add extra check for compiler time

Description
minor change to add extra check for compiler time to prevent bad config

Test Steps

Related Issue

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

What is that change that you are trying to make? I only see sub-module pointer update in the PR which is not what the description says.


error when initializing farm on own deployment

deployed my own version of gem bank and gemfarm, added a config with new program ids to the front end, imported, and when i go to do it i get
Transaction simulation failed: Error processing Instruction 0: Cross-program invocation with unauthorized signer or writable account
Program myprogramid invoke [1]
Program log: Instruction: InitFarm
Program<PHONE_NUMBER>1111111111111111111111 invoke [2]
Program<PHONE_NUMBER>1111111111111111111111 success
3HQyqaCUvN31zbMLBoDrcaHFzWsybpV38Uf3ZKmhvZWe's signer privilege escalated
Program myprogramid consumed 26457 of 200000 compute units
Program myprogramid failed: Cross-program invocation with unauthorized signer or writable account

Awesome project, thank you for releasing it! Anyway, I'm facing the exact same issue, any clue will be much appreciated 😉

@devtonic0 I think I solved my problem by following this other issue: #65.
You can find my forked repo (not a fork really, more a new repo altogether, but maybe I will create an official fork) here which is more recent than the other fork


ReverseDiff support

This PR implements ReverseDiff support which uncovered a spooky bug. Here is a reproducer that gives a wrong gradient. I will explain the spooky part and how to get the correct gradient in a comment.
using Revise, SimpleChains, ForwardDiff, ReverseDiff

x = [0.7, -0.5]
p = [-0.3, 0.6]
sc = SimpleChain(static(2), TurboDense{false}(identity, 1))
f(p) = SimpleChains.call_chain(sc, x, p)[1]
f(p)
f(p)

ForwardDiff.gradient(f, p)
ReverseDiff.gradient(f, p)

I would suggest taking this approach:
https://github.com/JuliaSIMD/LoopVectorization.jl/blob/8fe27b9014f16b356e09d0b108968402253fde90/src/LoopVectorization.jl#L265C1-L268
That is, in Julia versions without package extensions, LoopVectorization.jl loads the extension files.
In versions with package extensions, they'll instead be loaded lazily as an extension (while still benefiting from precompilation).

yes I will do that as soon as it works well


Feature: Add to list README

Hey, I'd like you to judge my README and allow me to add to your list if you like it ;)
link

Try making a PR


unable to instal sdk

Problem encountered on https://dotnet.microsoft.com/learn/dotnet/hello-world-tutorial/install
Operating System: Linux Ubuntu 18.04
Provide details about the problem you are experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

We need to know some details in order to try and help. If you are still having trouble, reopen this issue and please provide details about the problem you are experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.


XBee S2C didgimesh support

Hi, is there any chance of you guys adding digmesh protocol support?

I have no interest in doing it, but feel free to contribute!

As a note, if you look at the api frames used by s2c digimesh, there is only a couple of unimplemented frames for the frame parser (that you may not even need):

0x8d: Trace Route or NACK Data
0x8e: Aggregate Addressing Update
0xA0: Over-the-Air Firmware Update Status (ZigBee)

Implementing any of these is done by:

Adding the constants for the frame types (and possible response values) to constants.js
Writing a test for the frame to be implemented in xbee-api_test.js. For these packets, all being packets from the module, add the tests under 'API Frame Parsing'. The bytes in rawFrame can be inspired by the examples given on the digi website, and in the frame callback, you test if the object properties are what you expect them to be.
Implementing the in frame-parser.js (as you can see, the to be parsed frame starts after the frame type byte, and does not contain the checksum byte at the end.

And finally, if you look at the last four commits in this branch of @docwelch, you will find that somebody already did the work. but according to issue #32, he just couldn't test it, yet.


Implement Cache API

We need Cache API to improve a performance in client side.
If client developer uses the API, most of static pages should be cached automatically.
So, we might need the following requirements for the API.

Developer doesn't (or shouldn't) know ServiceWorker concept.
Developer just includes and uses the API in main thread.
(In other words, there is no reason to handle the API in worker thread).
At least, should caches all static pages.

@sapzape is already working on this work.


Weird issue possibly related to rendering that causes crashes

It's clear some other mod is causing it, but what mod is doing it is unknown.
I have sent @danikingrd some resources to help find a fix.

Issue is likely Sodium. Christ.

https://pastebin.com/4bi7Y1Dy


Add a way to control other properties of an Explosion

Currently we expose many of the properties of an explosion, some unusual ones such as yield (used when explosions determine the probability of a block drop, sound, and control over particle effects are not exposed. I will add these properties unless someone has an objection to their addition.

I remember Yield being exposed in some form, can't seem to find where or when though.

I though it was too. But I don't see a patch or anything. If it's that hard to find that I'm searching the implementation, then it needs to be exposed better.

Exposing whether or not the explosion creates fire would be a plus. This is missing in contrast to Bukkit (as well as the ability to offer a new/modified Explosion to PrimedTNT).

The radius (yield) and whether or not it can create fire is in the API. I don't think this needs to remain open.


[Feature Request] Constrain Available Languages when Autodetecting Language

Currently Faster-Whisper only allows you to specify a single language or attempt to detect the language out of a pool of 94 languages. I would like to be able to limit what languages can be detected. Something like the following to limit autodetection to only English, Spanish and French.
model.transcribe("audio.mp3", beam_size=5, language=["en", "es", "fr"])

You can already do this, detect_language function retrns the probability of all languages, you can then exclude ll languages except these 3 and choose the one with the highest probability and pass it manually to transcribe

I see, I don't think the version of Faster-Whisper I was using (1.0.3) allowed you to return language probabilities like this. I wrote some code to return the desired languages. It works fine but I still think it would simpler for the user if you could just pass in a language list in the transcribe function. I'll let you decide to close this issue or not.
from scipy.io import wavfile

def limit_languages(audio, allowed_languages):
    sampling_rate, audio_data = wavfile.read(audio)

    model = WhisperModel("large-v2", device="cpu", compute_type="int8")
    language, language_probability, all_language_probs = model.detect_language(audio_data)

    score = 0
    for language_code, language_prob in all_language_probs:
        for allowed_language in allowed_languages:
            if language_code == allowed_language:
                if language_prob > score:
                    score = language_prob
                    detected_language = language_code

    return detected_language```

You can already do this, detect_language function retrns the probability of all languages, you can then exclude ll languages except these 3 and choose the one with the highest probability and pass it manually to transcribe

Hi, what if multilingual=True? It does not seem possible here to limit the possible languages in a code-switched setting?

Yes, it's not possible


prevents sliver app bar from changing semantics tree when it is not n…

…ecesaary
Description
When ios swipe up to focus a collapsed sliver app bar, the semantics tree suddenly change its shape and ios accessibility api can not handle it. The root cause is in the native ios side. This pr is a workaround to prevent this situation by not changing the shape of semantics tree when it is not necessary.
Related Issues
Fixes https://github.com/flutter/flutter/issues/60331
Tests
I added the following tests:
existing test coverage
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[ ] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[ ] I signed the CLA.
[ ] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[ ] I read the Tree Hygiene wiki page, which explains my responsibilities.
[ ] I updated/added relevant documentation (doc comments with ///).
[ ] All existing and new tests are passing.
[ ] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[ ] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Did any tests fail when you ran them? Please read Handling breaking changes.

[ ] No, no existing tests failed, so this is not a breaking change.
[ ] Yes, this is a breaking change. If not, delete the remainder of this section.

[ ] I wrote a design doc: https://flutter.dev/go/template Replace this with a link to your design doc's short link
[ ] I got input from the developer relations team, specifically from: Replace with the names of who gave advice
[ ] I wrote a migration guide: https://flutter.dev/go/breaking-changes-template Replace this with a link to a pull request that adds the migration guide to https://flutter.dev/docs/release/breaking-changes

The root cause is in the native ios side.

What is the root cause there? Can we fix it in the bridge?
Also, did you double check that this does not break anything with regards to implicit a11y scrolling on Android?

Looks like some test is failing on cirrus as well.

The bridge is working correctly. The issue only happened when ios a11y focus on the sliver list content and then framework sends semantics updates to the a11y bridge that change the shape of the tree due to the excludeFromSemanticsScrolling has change its value. I have verified the tree is updated correctly in the a11y bridge. I have also verified the a11y scroll continues to work in android

the cirrus is happy after rerun, the previous failure is a flake


Replace t.co URLs in user profile API responses.

When using the API to fetch a user profile, links in the user's description are not currently being replaced in the same way that links in tweets are.
This fixes that.
Example, Before:
{
  "code": 200,
  "message": "OK",
  "user": {
    "url": "https://twitter.com/Distortion_2",
    "id": "723759170638491648",
    "followers": 33288,
    "following": 317,
    "likes": 581,
    "tweets": 471,
    "name": "Distortion2 🕐 Elden Ring DLC",
    "screen_name": "Distortion_2",
    "description": "https://t.co/LBHicdG5wf\nhttps://t.co/CDtsMJrd74        \nBusiness:\ndistortion2<EMAIL_ADDRESS>    "location": "Wisconsin, USA",
    "banner_url": "https://pbs.twimg.com/profile_banners/723759170638491648/1545479486",
    "avatar_url": "https://pbs.twimg.com/profile_images/1145084267455811584/w3zPQZfL_normal.jpg",
    "joined": "Sat Apr 23 06:23:27 +0000 2016",
    "website": null
  }
}

After:
{
  "code": 200,
  "message": "OK",
  "user": {
    "url": "https://twitter.com/Distortion_2",
    "id": "723759170638491648",
    "followers": 33288,
    "following": 317,
    "likes": 581,
    "tweets": 471,
    "name": "Distortion2 🕐 Elden Ring DLC",
    "screen_name": "Distortion_2",
    "description": "http://twitch.tv/distortion2\nhttp://youtube.com/dist2gaming        \nBusiness:\ndistortion2<EMAIL_ADDRESS>    "location": "Wisconsin, USA",
    "banner_url": "https://pbs.twimg.com/profile_banners/723759170638491648/1545479486",
    "avatar_url": "https://pbs.twimg.com/profile_images/1145084267455811584/w3zPQZfL_normal.jpg",
    "joined": "Sat Apr 23 06:23:27 +0000 2016",
    "website": null
  }
}

Hey, thank you very much for the PR! Already reviewed your code and made sure it works so merging now!


TS Server fatal error:  Cannot read properties of undefined (reading 'charCount')

Type: Bug
❗❗❗ Please fill in the sections below to help us diagnose the issue ❗❗❗
TypeScript Version: 5.6.2
Steps to reproduce crash

Ask any code to Copilot
Accept changes

TS Server Log
❗ Server logging disabled. To help us fix crashes like this, please enable logging by setting:
"typescript.tsserver.log": "verbose"

After enabling this setting, future crash reports will include the server log.
VS Code version: Code 1.94.0 (d78a74bcdfad14d5d3b1b782f87255d802b57511, 2024-10-02T13:08:12.626Z)
OS version: Windows_NT x64 10.0.22631
Modes:
Remote OS version: Linux x64 <IP_ADDRESS>-microsoft-standard-WSL2

System Info

Item
Value

CPUs
11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz (8 x 2995)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabledwebnn: disabled_off

Load (avg)
undefined

Memory (System)
31.66GB (16.21GB free)

Process Argv
--crash-reporter-id d7917043-bb1a-45f2-b575-db198c1db849

Screen Reader
no

VM
0%

Item
Value

Remote
WSL: Ubuntu-20.04

OS
Linux x64 <IP_ADDRESS>-microsoft-standard-WSL2

CPUs
11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz (8 x 0)

Memory (System)
15.46GB (13.65GB free)

VM
0%

Extensions (15)

Extension
Author (truncated)
Version

vscode-sql-formatter
adp
1.4.4

aws-toolkit-vscode
ama
3.27.0

atlascode
atl
3.0.10

vscode-jest-runner
fir
0.4.73

copilot
Git
1.235.0

copilot-chat
Git
0.21.0

rest-client
hum
0.25.1

git-graph
mhu
1.30.0

vscode-xml
red
0.27.1

vscode-yaml
red
1.15.0

es7-react-js-snippets
dsz
4.4.3

theme-monokai-pro-vscode
mon
1.3.2

remote-wsl
ms-
0.88.4

material-icon-theme
PKi
5.11.1

material-theme
zhu
3.17.5

(1 theme extensions excluded)

A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
vscrpc:30673769
2i9eh265:30646982
962ge761:30959799
pythongtdpath:30769146
welcomedialogc:30910334
pythonnoceb:30805159
asynctok:30898717
pythonmypyd1:30879173
2e7ec940:31000449
pythontbext0:30879054
accentitlementst:30995554
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
945dj816:31013170
a69g1124:31058053
dvdeprecation:31068756
dwnewjupytercf:31046870
newcmakeconfigv2:31071590
impr_priority:31102340
nativerepl1:31139838
refactort:31108082
pythonrstrctxt:31112756
flighttreat:31134774
wkspc-onlycs-t:31132770
wkspc-ranged-t:31151552
cf971741:31144450
autoexpandse:31146404
iacca1:31150322
notype1:31151523
5fd0e150:31146321

Please try collecting the TS Server log from the crashed instance:

Set "typescript.tsserver.log": "verbose"

Restart VS Code and reproduce the problem

Open the TypeScript section of the output panel

At the very top, find the first line that prints to path to the semantic error log file. It should look something like:
[Info  - 19:54:59.247] <semantic> Log file: /Users/matb/Library/Application Support/Code - Insiders/logs/20200213T104930/exthost55/vscode.typescript-language-features/tsserver-log-ZT2zau/tsserver.log

That file contains the typescript logs.

Look through that log file for the first error or stack trace you see. If you can share the log, I can also take a look to see if anything stands out

⚠Warning: The TypeScript log may include information from your workspace, including file paths and source code. If you have any concerns about posting this publicly on Github, just let me know and we can arrange something else. On our side, we only use these logs to investigate issues like this


Simple unclosed tags are flagged by no-jquery-raw-elements

TSLint failure: Replace complex HTML strings with jQuery API: $('<div>').
The full line is:
html: "<pre>" + $("<div>").text(message).html() + "</pre>",

...so it's important to know which part is being complained about.

This is strange because this test passes:
it('should pass on string literals that is not a tag', () : void => {
    const script : string = `
        $("div");
    `;

    TestHelper.assertViolations(ruleName, script, [ ]);
});

good find. The regex was slightly wrong


[Feature Request] All columns which combine date and tag features

It would be helpful to have columns that, for example, combined "undated" and "untagged" or certain date characteristics with certain tags.  Thank you!

Hi @dubyasqrd - thank you!  Since adding the ability to setup more flexible date columns, I have been mulling how to make things even more flexible so this is useful feedback!!
If you have any more examples in mind, it would be really handy if you (or anyone else of course) could add them as this will help me shape something that will be useable, useful, and practical to implement!
Thank you again


Embedded service.

It would be of great utility to have opendal read only interface over rust binary embedded dirs. That way we can package a readonly snapshot of an object store into rust binaries, and access them through opendal.
rust_embed, and include_dir crates can take care of embedding a directory.

Failed to find a way to test a service that powered by rust_embed or include_dir, let's close until we have an actionable solution.


Version 1.29.0

Update changelogs and version numbers.

Do these cabal files need their versions bumped too?
./bench/tx-generator/tx-generator.cabal
./bench/locli/locli.cabal

Updated, although I'm not sure there's terribly much call for aligning them.

bors merge


compilers: prefer gcc 5 on linux, select brewed compiler when defined

Fixes #10170 by preferring gcc@5 on linux (by using the PREFERRED_GCC const)
This makes sure ENV.cc and ENV.cxx is correctly set:

If a formula does not depend explicitely on a brewed gcc, ENV.cc is set to gcc-5 (system gcc-5 or brewed gcc-5)
evend if other gcc versions are installed on the system

Use fails_with as a way to remove all other compilers from the list of available compilers.
This avoids having to set any fails_with on linux.
A small workaround is present for the current setup where gcc == version 5 on linuxbrew-core,
and we do not want to remove gcc-5 from the list unless explicitely specified. That workaround
can be removed once https://github.com/Homebrew/linuxbrew-core/pull/21380 is merged

[ ] Have you followed the guidelines in our Contributing document?

[ ] Have you checked to ensure there aren't other open Pull Requests for the same change?

[ ] Have you added an explanation of what your changes do and why you'd like us to include them?

[ ] Have you written new tests for your changes? Here's an example.

[ ] Have you successfully run brew style with your changes locally?

[ ] Have you successfully run brew typecheck with your changes locally?

[ ] Have you successfully run brew tests with your changes locally?

[ ] Have you successfully run brew man locally and committed any changes?

Review period will end on 2021-01-29 at 21:25:38 UTC.

Review period will end on 2021-01-29 at 21:25:38 UTC.

Review period ended.

Review period ended.

I opened a separate PR, where I extracted the first part of the logic, to simplify the discussion: #10512

This change is not needed after all.


OTAPIv3 Client; Windows launcher: Cannot paste text.

Describe the bug
It is possible to copy or cut text from the game, but not to paste text.
Attempting to copy or paste text does not do anything, cutting simply deletes the text.
To Reproduce
Steps to reproduce the behavior:

Download the windows launcher from https://github.com/DeathCradle/Open-Terraria-API/releases/tag/launcher-windows.
Extract it, and run OTAPI.Client.Launcher.exe.
Press the "Build OTAPI" button, and wait until the operation finishes.
Press the "Launch modded Terraria (otapi)" button.
Once the game has loaded, join a singleplayer/multiplayer world.
Once in the world, copy text from the chat/a sign using Ctrl+C.
Attempt to paste it in the chat/a sign using Ctrl+V
->Nothing happens.

Expected behavior
It is possible to paste text in game, just as it is possible in vanilla.
Platform and patch info (please complete the following information):

OS: Windows 8.1
Assembly and version you are patching: Terraria.exe <IP_ADDRESS>
Version of OTAPI/git commit: 8f0437f
.NET runtime: .NET 6

I have not tested but i can basically confirm this is a bug since System.Windows.Forms has been shimmed to nothing; i need to redirect those Get/Set clipboard calls to a library that works cross platform.
on the list 👍

Edited it, because actually no, copying and cutting doesn't work either.
As for a possible library, looked it up a bit, and found https://github.com/jtanx/libclipboard.
Would this suit your need?

Edited it, because actually no, copying and cutting doesn't work either.
As for a possible library, looked it up a bit, and found https://github.com/jtanx/libclipboard. Would this suit your need? Would have to do a C# wrapper though so uh lol

yeh i suppose that would work, but a less effort package i stumbled across might be: https://github.com/CopyText/TextCopy


Update to use Perlin noise instead of Olsen noise in badphotocopy.

To increase the speed, i changed the noise generating algorithm to Perlin noise, it is adapted from here:
https://github.com/pvigier/perlin-numpy
In my machine, it took around 2-3 seconds for each image, and here are some of the examples:

Next step would be adding different type of noises (similar with hash type in previous code).

Can you revert this commit, pull the latest changes from the main repository, and then add your changes to badphotocopy again?
I just pushed the big update for issue #108

This comment explains the new changes to the project.


Bug Report: Quick start on amundsen raised some error.

When following steps mentioned here https://github.com/amundsen-io/amundsen/blob/master/docs/installation.md#bootstrap-a-default-version-of-amundsen-using-docker i got following error in connecting test tables itself
2021-03-07T03:19:26+0000.852 [ERROR] v0._get_table_metadata:149 (10:MainThread) - Encountered exception: {'columns': {0: {'col_type': ['Field may not be null.']}}}
amundsenfrontend    | Traceback (most recent call last):
amundsenfrontend    |   File "/app/amundsen_application/api/metadata/v0.py", line 143, in _get_table_metadata
amundsenfrontend    |     results_dict['tableData'] = marshall_table_full(table_data_raw)
amundsenfrontend    |   File "/app/amundsen_application/api/utils/metadata_utils.py", line 109, in marshall_table_full
amundsenfrontend    |     table: Table = schema.load(table_dict).data
amundsenfrontend    |   File "/usr/local/lib/python3.7/site-packages/marshmallow/schema.py", line 588, in load
amundsenfrontend    |     result, errors = self._do_load(data, many, partial=partial, postprocess=True)
amundsenfrontend    |   File "/usr/local/lib/python3.7/site-packages/marshmallow/schema.py", line 711, in _do_load
amundsenfrontend    |     raise exc
amundsenfrontend    | marshmallow.exceptions.ValidationError: {'columns': {0: {'col_type': ['Field may not be null.']}}}
amundsenfrontend    | 2021-03-07T03:19:26+0000.853 [DEBUG] action_log_callback.on_post_execution:70 (10:MainThread) - Calling callbacks: [<function logging_action_log at 0x7ff77f7c68c0>]

similar issue as reported in https://github.com/amundsen-io/amundsen/issues/939 , we are looking into this.

@dkunitsk has updated the docker compose script version. This issue should be fixed now.

i meet the same wrong!
amundsenfrontend    | During handling of the above exception, another exception occurred:
amundsenfrontend    |
amundsenfrontend    | Traceback (most recent call last):
amundsenfrontend    |   File "/app/amundsen_application/api/metadata/v0.py", line 63, in popular_tables
amundsenfrontend    |     response = request_metadata(url=url)
amundsenfrontend    |   File "/app/amundsen_application/api/utils/request_utils.py", line 46, in request_metadata
amundsenfrontend    |     data=data)
amundsenfrontend    |   File "/app/amundsen_application/api/utils/request_utils.py", line 112, in request_wrapper
amundsenfrontend    |     return s.get(url, headers=headers, timeout=timeout_sec)
amundsenfrontend    |   File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 555, in get
amundsenfrontend    |     return self.request('GET', url, **kwargs)
amundsenfrontend    |   File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 542, in request
amundsenfrontend    |     resp = self.send(prep, **send_kwargs)
amundsenfrontend    |   File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 655, in send
amundsenfrontend    |     r = adapter.send(request, **kwargs)
amundsenfrontend    |   File "/usr/local/lib/python3.7/site-packages/requests/adapters.py", line 516, in send
amundsenfrontend    |     raise ConnectionError(e, request=request)
amundsenfrontend    | requests.exceptions.ConnectionError: HTTPConnectionPool(host='amundsenmetadata', port=5000): Max retries exceeded with url: /popular_tables/?limit=4 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f2d31edec10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
amundsenfrontend    | 2021-03-17T07:17:16+0000.621 [DEBUG] connectionpool._new_conn:231 (10:MainThread) - Starting new HTTP connection (1): amundsenmetadata:5000


Add separate release workflow

Summary of changes
Adds a separate release workflow that is triggered by pushing a tag.  You can also run the integration tests by manually triggering the run.
This avoids a race condition in workflow runs which caused the release job to be canceled.
Part of #3093
Pull Request Checklist

[x] Changes have tests
[ ] News fragment added in changelog.d/.  N/A
(See documentation for details)

Hi @blink1073 thank you very much for providing this PR!
I was trying to go through GitHub's docs trying to understand this config with release: types: [published].
Does this solve the problem with tests never running discussed in https://github.com/pypa/setuptools/issues/3093#issuecomment-1041535777?

The latest commit effectively restores the original behavior before concurrency limiting as much as possible.   The only difference is that we don't run the unit tests explicitly before release.

I was not expecting how more annoying PyPy+Windows tests can be...
It is like they are just waiting to fail in different ways...

Yeah, it is pain squared

Okay, with the latest change I believe we have what we want.  We avoid canceling subsequent pushes and pushes that are to different git references, refs/head/main vs refs/tags/foo.

Closing in favor of #3116


on branch refactor-flow-cell, code cell input does not render

broken at e6fd0eebe076270278e45ad74ccdba21e308193f on 2/20

working at 645d1ce29b1cc83d4e4024ecf6323013441ce222 on 2/20

broken at d1baa2a1f6ee39501376d6535ecd292ae61bffa2 on 2/20


API Signature for addLevel()

Current signature for addLevel() stands at:
LGR.prototype.addLevel =
    function(levelName, weight, style, dispPrefix, logFormat, stream, tsFormat, vars, bufferSize, flushTimeInterval){

Shouldn't we be doing better than this?

Should have opts also and like nodejs gives for its functions .. Functions can have more than 1 signatures


Can't use a PickList on a modal

When trying to use a PickList on a modal, the picklist will never open its overlay/menu.

I'm trying to press the picklist inside the modal, but nothing happens. Iced actually has a modal example that has a picklist inside the modal that works.
I was hoping to use iced_aw's one so that I wouldn't have to maintain the code for the modal itself, because the one on iced example is a custom widget and any futures changes that mess with it would require me to make the same changes on my implementation, while using iced_aw would be fixed simply by updating the crate.

Code for reproduction using the modal example
use iced::{
    alignment::{self, Horizontal},
    font,
    widget::{container, text, pick_list, Button, Container, Row, Text},
    Alignment, Application, Command, Element, Length, Settings, Theme,
};

use iced_aw::{modal, Card};

fn main() -> iced::Result {
    ModalExample::run(Settings::default())
}

#[derive(Clone, Debug)]
enum Message {
    OpenModal,
    CloseModal,
    CancelButtonPressed,
    OkButtonPressed,
    ChangeTheme(Theme),
    #[allow(dead_code)]
    Loaded(Result<(), String>),
    FontLoaded(Result<(), font::Error>),
}

#[derive(Debug)]
enum ModalExample {
    Loading,
    Loaded(State),
}

#[derive(Default, Debug)]
struct State {
    show_modal: bool,
    last_message: Option<Message>,
    theme: Theme,
}

async fn load() -> Result<(), String> {
    Ok(())
}

impl Application for ModalExample {
    type Message = Message;
    type Theme = Theme;
    type Executor = iced::executor::Default;
    type Flags = ();

    fn new(_flags: ()) -> (ModalExample, Command<Message>) {
        (
            ModalExample::Loading,
            Command::batch(vec![
                font::load(iced_aw::graphics::icons::BOOTSTRAP_FONT_BYTES).map(Message::FontLoaded),
                Command::perform(load(), Message::Loaded),
            ]),
        )
    }

    fn title(&self) -> String {
        String::from("Modal example")
    }

    fn update(&mut self, message: Self::Message) -> Command<Message> {
        match self {
            ModalExample::Loading => {
                if let Message::Loaded(_) = message {
                    *self = ModalExample::Loaded(State::default())
                }
            }
            ModalExample::Loaded(state) => {
                match message {
                    Message::OpenModal => state.show_modal = true,
                    Message::CloseModal => state.show_modal = false,
                    Message::CancelButtonPressed => state.show_modal = false,
                    Message::OkButtonPressed => state.show_modal = false,
                    Message::ChangeTheme(ref t) => state.theme = t.clone(),
                    _ => {}
                }

                state.last_message = Some(message)
            }
        }

        Command::none()
    }

    fn view(&self) -> Element<'_, Self::Message> {
        match self {
            ModalExample::Loading => container(
                text("Loading...")
                    .horizontal_alignment(alignment::Horizontal::Center)
                    .size(50),
            )
            .width(Length::Fill)
            .height(Length::Fill)
            .center_y()
            .center_x()
            .into(),
            ModalExample::Loaded(state) => {
                let underlay = Container::new(
                    Row::new()
                        .spacing(10)
                        .align_items(Alignment::Center)
                        .push(Button::new(Text::new("Open modal!")).on_press(Message::OpenModal))
                        .push(
                            pick_list(Theme::ALL, Some(&state.theme), Message::ChangeTheme)
                        )
                        .push(Text::new(format!(
                            "Last message: {}",
                            match state.last_message.as_ref() {
                                Some(message) => match message {
                                    Message::OpenModal => "Modal opened",
                                    Message::CloseModal => "Modal closed",
                                    Message::CancelButtonPressed => "Modal canceled",
                                    Message::OkButtonPressed => "Modal accepted",
                                    Message::ChangeTheme(_) => "Changed Theme",
                                    _ => "None",
                                },
                                None => "None",
                            }
                        ))),
                );

                let overlay = if state.show_modal {
                    Some(
                        Card::new(
                            Text::new("My modal"),
                            Text::new("This is a modal!"), //Text::new("Zombie ipsum reversus ab viral inferno, nam rick grimes malum cerebro. De carne lumbering animata corpora quaeritis. Summus brains sit, morbo vel maleficia? De apocalypsi gorger omero undead survivor dictum mauris. Hi mindless mortuis soulless creaturas, imo evil stalking monstra adventus resi dentevil vultus comedat cerebella viventium. Qui animated corpse, cricket bat max brucks terribilem incessu zomby. The voodoo sacerdos flesh eater, suscitat mortuos comedere carnem virus. Zonbi tattered for solum oculi eorum defunctis go lum cerebro. Nescio brains an Undead zombies. Sicut malus putrid voodoo horror. Nigh tofth eliv ingdead.")
                        )
                        .foot(
                            Row::new()
                                .spacing(10)
                                .padding(5)
                                .width(Length::Fill)
                                .push(
                                    pick_list(Theme::ALL, Some(&state.theme), Message::ChangeTheme)
                                )
                                .push(
                                    Button::new(
                                        Text::new("Cancel")
                                            .horizontal_alignment(Horizontal::Center),
                                    )
                                    .width(Length::Fill)
                                    .on_press(Message::CancelButtonPressed),
                                )
                                .push(
                                    Button::new(
                                        Text::new("Ok").horizontal_alignment(Horizontal::Center),
                                    )
                                    .width(Length::Fill)
                                    .on_press(Message::OkButtonPressed),
                                ),
                        )
                        .max_width(500.0)
                        //.width(Length::Shrink)
                        .on_close(Message::CloseModal),
                    )
                } else {
                    None
                };

                modal(underlay, overlay)
                    .backdrop(Message::CloseModal)
                    .on_esc(Message::CloseModal)
                    .align_y(alignment::Vertical::Center)
                    .into()
            }
        }
    }

    fn theme(&self) -> Theme {
        match self {
            ModalExample::Loading => Theme::Light,
            ModalExample::Loaded(state) => state.theme.clone(),
        }
    }
}

give this a try with the tabsfix branch. I believe it is fixed now just the menu acts a bit differently.

Hector told me that was a feature for the dropdown so its ok. building up a few updates before i push it to main and push a new updated crate to crates.io

this is now fixed in the last PR #218

I'm having the same problem with 0.9.2, though without in menu. Perhaps a similar change can fix that issue too?

Can you post that in a new issue as even though it is a similar issue it's for something different.

On 03/07/24 10:46, Andrew Wheeler(Genusis) wrote:

Can you post that in a new issue as even though it is a similar issue it's for something different.

Sure!


Dropdown SelectedItem Set is not accessible

Need to set the selected item when dropdown appears. So need to set the selected item as public

Changed the selected item to public


Please consider adding you adapter to iobroker repositories

Feel free to request addition of this adapter to ioBroker repositories if it is working for users.
Please fix isses reported by adapter checker and add tstandard github testing (test-and-release workflow) before.
If you need any help or suggestions, please feel free to ask.

Fixed