Modified README.md file, Created dedicated Contributing.md file and LICENSE.

Issue Resolved:

Issue #67

1. Modifications in README.md file
1) Added animated line separators and also Added GSSoC 2024 Extended & Hacktoberfest 2024 accepted banners:

2) Replaced the Contact section  with a Team section

Before

After

3) Updated the Contributors Mention section

4) Modified the Contribution Guide section:

Before

After

Also added a redirect to the Contributing.md file from the README.md file:

2. Added a dedicated Contributing.md file for the Contributors

3. Added MIT LICENSE

Reference Video:
https://github.com/user-attachments/assets/e39c72d9-40a5-40a2-bc68-ac12f6b20795

Please review the PR and also assign the PR to me along with the necessary labels.

LGTM

I am sorry but I am a bit poor with short forms. Could you please say what you meant by this?

Also Please assign the PR to me.

LGTM

@SaranshBangar I am sorry but I am a bit poor with short forms. Could you please say what you meant by this?

No need to be sorry man, I meant 'Looks good to me' 😅

LGTM

@SaranshBangar I am sorry but I am a bit poor with short forms. Could you please say what you meant by this?

No need to be sorry man, I meant 'Looks good to me' 😅

Oh. Thanks a lot for the appreciation. Hope you have a great day ahead 😄


Added LUA Support

I changed some theme stuff, and I added code generation for lua. Some bits of the code could use improvement tbh.

I haven't had time to update/finish this, I'll make a new one at a later time


Missing trustDomain is helm templated configmap's

Bug Description
Not all trustDomain values are templated in the helm chart resulting in incorrect handling of trust domains that are other cluster.local. The value should be templated as:
trustDomain: "cluster.local" into trustDomain: {{ .Values.meshConfig.trustDomain }}
in the following files:

https://github.com/istio/istio/blob/master/manifests/charts/istio-control/istio-discovery/templates/configmap.yaml#L4
https://github.com/istio/istio/blob/master/manifests/charts/istiod-remote/templates/configmap.yaml#L4

Version
Seen in:
1.11
1.12

Additional Information
No response

This is an incorrect assumption and error on my part, closing issue and PR.


Unable to build or create new F# project w/.Net 5.0.5

Description
Building an existing project, or even creating a new one fails.
dotnet new console -lang F#

Running the command fails to create the project with the error: "error NU1100: Unable to resolve 'FSharp.Core (>= 5.0.0)' for 'net5.0'"
This was the first version of the .NET 5* SDK installed on this machine.
Configuration
.NET SDK 5.0.5
Win 10 v2004 Build 19041.928
x64 arch
Regression?
Uninstalling and downgrading to SDK 5.0.4

@cartermp can you take a look? I can't repro this with SDK 5.0.202

for me dotnet nuget list source was empty, added nuget and I was good..

Hmmm, yeah, that would point towards some kind of setup error. FSharp.Core is just in the regular old NuGet feed, so I wonder if there's an SDK install issue?

fyi
.NET SDK (reflecting any global.json):
 Version:   5.0.300
 Commit:    2e0c8c940e

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.19043
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\5.0.300\

Host (useful for support):
  Version: 5.0.6
  Commit:  478b2f8c0e

.NET SDKs installed:
  5.0.202 [C:\Program Files\dotnet\sdk]
  5.0.300 [C:\Program Files\dotnet\sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 5.0.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 5.0.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 5.0.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 5.0.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.WindowsDesktop.App 5.0.5 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 5.0.6 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

Oh my! This was driving me mad! Just tried to restore a project I haven't used on my laptop and was getting the same error message.
As suggested by @mattsonlyattack dotnet nuget list source  was empty so doing  dotnet nuget add source https://api.nuget.org/v3/index.json -n nuget.org then dotnet restore sorted it.

@lc9er did you check your NuGet sources as suggested?

@PhilT --- sometimes, and I really have no idea why the root nuget.config can be empty:
The file can be edited by notepad using:
notepad %appdata%\nuget\NuGet.Config

It should look like this:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <packageSources>
    <add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
  </packageSources>
</configuration>

No - I'm sorry. I missed this thread. I had reverted to the previous
version, just to get up and running and have installed the latest version,
which is working as expected.
On Tue, Jun 8, 2021 at 9:42 PM Maira Wenzel @.***>
wrote:

@lc9er https://github.com/lc9er did you check your NuGet sources as
suggested?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dotnet/core/issues/6191#issuecomment-857306179, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AE2BFH4I5AILZCPAGGFZIIDTR3BJXANCNFSM43QVBLKA
.

No worries. I'll close the issue then.


how can i find from predicted box's       from the image?

Hello, you need to run an object detector over the images, the detector will give you 1 bounding box per object.
Which detector are you using?

I have the groundtruths and detections  in the form of x_min,y_min,x_max,y_max. Can I use the order x_min,y_max,x_max,y_min to match the corresponding order of <left> <top> <right> <bottom> mentioned in the txt file or should I change it something else?

I have the groundtruths and detections  in the form of x_min,y_min,x_max,y_max. Can I use the order x_min,y_max,x_max,y_min to match the corresponding order of <left> <top> <right> <bottom> mentioned in the txt file or should I change it something else?

I have the groundtruths and detections in the form of x_min,y_min,x_max,y_max. Can I use the order x_min,y_max,x_max,y_min to match the corresponding order of <left> <top> <right> <bottom> mentioned in the txt file or should I change it something else?

that should be right, however, when looking into the example box number:

tvmonitor 2 10 173 238
book 439 157 556 241
book 437 246 518 351 difficult
pottedplant 272 190 316 259

that should be xmin, ymin, xmax, ymax, cause th last number is bigger than the second.
I am confused


Linked video is private

https://www.youtube.com/watch?v=wEc9u4S3GIA is a private video.

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

ID: 169a20a6-ebf7-1093-3cb1-fb438b9b7e13
Version Independent ID: b2074fd8-724e-75fa-bafb-a0f7966bf593
Content: Coexistence with Skype for Business - Microsoft Teams
Content Source: Teams/coexistence-chat-calls-presence.md
Service: msteams
GitHub Login: @kenwith
Microsoft Alias: kenwith

@white-tim Thank you for submitting feedback and contributing to the docs. We are currently investigating this.


Allow rsync transfer options via variable

Allow user to specify custom rsync transfer options via rsync_opts variable
Change default rsync_opts to include --delete which will remove files on destination that do not exist at the source
Fixes #112

Closes https://github.com/konveyor/pvc-migrate/issues/112


NumscaRange operator ":>" doesn't work

The operator of NumscaRange didn't work for me. The scala compiler couldn't understand it and asked if I was targeting the ">>>" operator.

can you provide code for this error?

import botkop.{numsca => ns}
import ns.Tensor

val ta: Tensor = ns.arange(10)
val a0 = ta.copy().reshape(10, 1)

a0(1 :> )

got this:
scala> a0(1 :> )
^
error: value :> is not a member of Int
did you mean >>>?
scala> val a2 = a0(0 :> -1)
^
error: value :> is not a member of Int
did you mean >>>?

can you try the following:
import botkop.{numsca => ns}
import ns._
import scala.language.postfixOps

val ta: Tensor = ns.arange(10)
val a0 = ta.copy().reshape(10, 1)

a0(1 :> )

This example works fine.


Is scaling variables recommended for fitting purposes?

I've noticed that occuR seems to fit models without much trouble even when covariates are in very different scales. Does the package scale them "under the hood"? Would it be recommended to scale/center covariates anyway? In my case, I am most interested in prediction rather than causal inference.

The package does not scale or centre the covariates under the hood. Typically, I leave them untransformed since, as you say typically it is ok, and this reduces work in backtransforming predictions and such. In a few cases (mostly to do with (x,y) coordinates or distance-to-coast where numbers span from small to large magnitude) I get fitting problems (no convergence or NaN variances) and in those cases I scale the covariate. So there is no catch-all rule, but if you want to super-safe without having to consider what to do for each covariate, then I'd scale and centre.

Great, thanks! That clarifies it perfectly.


Use server requests instead of page html parsing

http://www.cbr.ru/development/SXML/

Resolved in https://github.com/ARTI1208/Calculator/commit/f3cb7ccd9a8f4ce5ebcad9ca1374e0152643dceb

Resolved in https://github.com/ARTI1208/Calculator/commit/f3cb7ccd9a8f4ce5ebcad9ca1374e0152643dceb


Should't it throw an exception if a operator is missing?

Hello,
I'm tinkering with this library, and feels great on my tests so I'm using it for my project.
One question arised on my tests: evaluating the expression 3 4  returns the value 34, but I think it really should throw an exception as an operator is missing, and simply removing the space and concatenating the numbers seems counter intuitive to me.
Maybe we should check if previous token is an operator, right parenthesis, etc., and check next token to throw an exception if they result in an incorrect formula?

This seems like a bug.  Would you like to submit a PR to fix it?  Make sure to include tests to prove it works.  Also run the phpcsfixer before submitting so that the new code conforms to the project's coding standards.

Hi,
I've been tinkering with the library to understand how it works, and didn't see a clear way to check this on the current workflow. I think it should be on Tokenizer::tokenize().
Do you have any suggestions?

My first thought was the tokenizer was throwing away spaces, but it looks
like it handles spaces and generates a token for them. But the Calculator
class does not seem to deal with space tokens.
So look in Calculator class. You should be able to throw away space tokens
and then detect var to var collisions. Not sure why it would concatenate
things.
I can take a look sometime next week if you can't find something. Alex
rewrote this code a whole back, so not as familiar with it as the old
version.
On Sat, May 28, 2022, 5:04 AM David Palomares @.***>
wrote:

Hi,
I've been tinkering with the library to understand how it works, and
didn't see a clear way to check this on the current workflow. I think it
should be on Tokenizer::tokenize().
Do you have any suggestions?
—
Reply to this email directly, view it on GitHub
https://github.com/neonxp/MathExecutor/issues/112#issuecomment-1140217346,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABYW6S5J2FDG2YFNVJF6CFDVMHOSNANCNFSM5WTDY47A
.
You are receiving this because you commented.Message ID:
@.***>

I had some time today, so I found the problem.  The tokenizer needs to close any open numbers or strings when it encounters a space.  Then you get an invalid express exception when you go to execute it, which makes sense, as it is not valid.
Will have a new release soon.  Thanks for reporting the issue.

Thanks a lot!
I've reviewed your changes and it's pretty clear once you know the code :-)


Specify default port

Please provide us with the following information:

OS?
Windows 10
Versions.
angular-cli: 1.0.0-beta.25.5
node: 6.2.0
os: win32 x64
@angular/common: 2.4.4
@angular/compiler: 2.4.4
@angular/core: 2.4.4
@angular/forms: 2.4.4
@angular/http: 2.4.4
@angular/material: 2.0.0-beta.1
@angular/platform-browser: 2.4.4
@angular/platform-browser-dynamic: 2.4.4
@angular/router: 3.4.4
@angular/compiler-cli: 2.4.4
Mention any other details that might be useful.
The default port (4200) should be configurable in angular-cli.json.
Scenario: We are working on several projects which all use a single open id connect server. This server needs to register all the frontend apps with their urls for security reasons. So every developer must launch the frontend apps on the correct port. This would be a lot easier to manage if the default port was configured in json file and so synchronized via git.

Thanks! We'll be in touch soon.

Dupe of https://github.com/angular/angular-cli/issues/1156


Refactor NFT metadata LRU implementation

Adds an LRU cache class and factory function in @chia-network/core.
Adds a React Context named LRUsContext that maintains a mapping of named LRUs. Currently we only use an LRU named "nftMetadata" for managing the in-memory NFT metadata cache. The LRUsContext provider is installed in AppProviders.
Updates the previous LRU call sites to use the new useNFTMetadataLRU hook, providing an object oriented interface to using the LRU.
Tests added to fully cover the LRU class implementation.

@seeden Is it appropriate to install the new context in AppProviders? My goal is to have the LRU cache associated with the currently selected wallet key.


Discovery with large number of addresses and ports

I'm trying to do Discovery with Network-Discovery-Provider. What is the best way to do Discovery on large number of addresses and ports (hundreds/thousands of IP addresses and thousands of ports)?
I tried this through REST API, where each POST request contained one Discovery request with one unique IP address and all ports associated with it (sometimes it could be few and sometimes it could be even 50). After approximately 20 successful Discoveries I started receiving this error: Internal server error. Could not open JPA EntityManager for transaction. This could mean that DB connections limit was reached.
So after that I tried doing it manually, manually created Discoveries seem to be still working even after the error. I tried to create Network-Discovery-Provider Discovery only with part of the data. There is around one thousand of IP addresses and around one thousand of ports too. I get following error when I try to create the Discovery: Failed to create discovery (502): {"message":"Internal server error. Handler dispatch failed: java.lang.StackOverflowError"} Error is related to connector name=Network-Discovery-Provider, uuid=. Original response code 500 INTERNAL_SERVER_ERROR. It doesn't work with Number of parallel executions 1000 and with 100 neither.
CZERTAINLY version is 2.13.1., Network/IP-Discovery-Provider is 1.5.0.

@3keyroman


[Feature]: Support for React 19

Adding support for React 19.
Thanks!

@taylorotwell Do you publish the version? Please, thanks.


HHH-15154 tweak verbiage in user guide on FetchMode.SUBSELECT

https://hibernate.atlassian.net/browse/HHH-15154

Thanks


Unified common dtype discovery

Common dtype discovery (like np.find_common_type) should be unified into an internal function, with proper handling of pandas dtypes. As of #13917, there are two such implementations:

pandas/types/common.py:_lcd_dtypes, which works on numpy dtypes only, but differently than np.find_common_type.
pandas/types/cast.py:_find_common_type, which just uses np.find_common_type internally.

Exchanging the first one with the second (which is, judging by the code, more proper), breaks some tests.
Proposed tasks:

[ ] Convert usages of _lcd_dtypes into _find_common_types.
[ ] Extend _find_common_types to properly evaluate pandas dtypes.

Occurences of _lcd_dtypes, the one in internals.py is removed by #13917:
[jreback-~/pandas] grin _lcd_dtype pandas
pandas/core/frame.py:
   47 :                                  _lcd_dtypes,
 3705 :                 new_dtype = _lcd_dtypes(this_dtype, other_dtype)
pandas/core/internals.py:
 4438 :     def _lcd_dtype(l):
 4473 :         lcd = _lcd_dtype(counts[IntBlock])
 4489 :         return _lcd_dtype(counts[FloatBlock] + counts[SparseBlock])
pandas/types/common.py:
  389 : def _lcd_dtypes(a_dtype, b_dtype):

_lcd_dtypes is used only in combine and looks buggy (it's called from combine_first):
df1 = pd.DataFrame({'a': [pd.Timestamp('2011-01-01'), pd.NaT]})
df2 = pd.DataFrame({'a': [1, 2]})
df1.combine_first(df2)
#                               a
# 0 2011-01-01 00:00:00.000000000
# 1 1970-01-01 00:00:00.000000002

that might be related to  #10927


Java version update for 8, 11 and 17

I created this PR for following issue.
https://github.com/Azure/azure-functions-docker/issues/899
And I upload the Java version for Java 8, 11 and 17.

Releasing new Host versions.
V4 Release
V3 Release

PR information

[ ] The title of the PR is clear and informative.
[x] There are a small number of commits, each of which has an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[x] If applicable, the PR references the bug/issue that it fixes in the description.
[ ] New Unit tests were added for the changes made and CI is passing.

Dear @kaibocai san, I updated the version, so could you confirm them again please?

Yeah I will work on it. Thanks.

New PR opened at https://github.com/Azure/azure-functions-docker/pull/902. Close this one.


How to get all members in a voice channel

I am just wondering if someone can point me in the right direction for doing this. I've been able to get lists of members and lists of channels, but I can't quite figure out how to see all users currently in a voice channel.
Any help is appreciated.

// find voice channel user is currently in
func findUserVoiceState(guild *discordgo.Guild, userid string) (*discordgo.VoiceState, error) {
    for _, person := range guild.VoiceStates {
        if person.UserID == userid {
            return person, nil
        }
    }

    return nil, errors.New("Could not find user's voice state")
}

this example got me started

// find voice channel user is currently in
func findUserVoiceState(guild *discordgo.Guild, userid string) (*discordgo.VoiceState, error) {
    for _, person := range guild.VoiceStates {
        if person.UserID == userid {
            return person, nil
        }
    }

    return nil, errors.New("Could not find user's voice state")
}

this example got me started


PDF causes error

Hi!  Love the project, and thanks for making it.  I am getting a bug on trying to ingest a PDF.  Error is:
org.mule.runtime.core.internal.message.ErrorBuilder$DeserializableErrorImplementation
{
description=Unsupported File Type: PDF
detailedDescription=Unsupported File Type: PDF
errorType=MS-AICHAIN:EMBEDDING_OPERATIONS_FAILURE
cause=java.lang.IllegalArgumentException
errorMessage=-
suppressedErrors=[]
childErrors=[]
}
FWIW, I tried a text file (TXT) which worked fine.  I tried 2 different PDFs, same error.  Smallest PDF was 1 MB, largest was 22 MB.   NOTE: I am using Mule AI Chain v 0.3.0, which I pulled today around 11am East Coast time

@matt-burke-mulesoft please use ANY instead of PDF to import PDF or any other file type i.e. MS Office.

Thank you, you were correct.  Changing the dropdown in the processor from the variable payload.fileType to the constant 'any' worked.  As another idea, I added a TRANSFORM processor just before, and it works too...
%dw 2.0
import * from dw::util::Values
output application/json
(if (lower(payload.fileType as String) contains "pdf") (payload update "fileType" with "any")  else payload)


[CWS] fix windows cmdline

What does this PR do?
Implement a real field handler function ResolveProcessCmdLineScrubbed instead of the Default one. Before this fix the cmdline was empty.

Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided. Except if the qa/skip-qa label, with required either qa/done or qa/no-code-change labels, are applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
[ ] If applicable, the config template has been updated.

/merge


RefinementList is getting checked after the results are refined. Bad UX for slow internet connections

Hello,
using react-instantsearch - latest
I tried to throttle my network and selected refinements, it seems like the checkbox gets selected after algolia is able to make the network call and fetch the results, this could lead to a bad UX as the user might think its not yet selected and click again which would make another API call.
Wanted to know how we can go around this.
Thanks!

This is solved in v7 (and earlier in hooks) through https://github.com/algolia/instantsearch/pull/5429


feat(enabler/processor): add Bancontact Mobile support

Link to the ticket: https://commercetools.atlassian.net/browse/SCC-2462
Summary
Adds support for Bancontact mobile.

@joey-koster-ct as per Adyen's documentation, bancontact mobile does not support separate captures.

It means we have to add an entry in the file payment-method.config.ts for this payment method


fix(@angular/cli): handle raw strings in config command

Fixes: #10949

It seems errors still exist
#@angular/cli    6.0.8
I added styleExt: scss in angular.json
"projects": {
"staff-directory": {
"root": "",
"sourceRoot": "src",
"projectType": "application",
"prefix": "app",
"schematics": {
"@schematics/angular:component": {
"styleExt": "scss"
}
},
I changed every "css" to "scss" in angular.json
"styles": [
"src/styles.scss"
],
I changed header.component.css to "scss" . When I run "ng serve" , I got this error
ERROR in ./src/app/app.component.ts
Module not found: Error: Can't resolve './app.component.css' in '/Sites/angular/staff-directory/src/app'
ERROR in ./src/app/regions/header/header.component.ts
Module not found: Error: Can't resolve './header.component.css' in '/Sites/angular/staff-directory/src/app/regions/header'

@sannminwin Please do not reply to closed PRs.
Also, what you are describing is not related to the PR in question.  If you suspect you have encountered a defect, please open an issue and include the requested information within the template.


Inline ad isn't visible in fullscreen on iPad iOS 10 when using fullscreen button

#Hi team,
I've been troubleshooting an issue with iOS 10 on iPads where if the video player has autoplay, muted, playsinline it begins playing inline but the ad is not visible when switching to fullscreen.
I can reproduce with this example of the videojs-ima3 plugin:
https://googleads.github.io/videojs-ima/examples/autoplay/
Steps to reproduce:

Open page on an iPad with iOS 10
Watch that ad autoplays muted inline
Tap the fullscreen button

Expected behavior: Ad continues playing while in fullscreen and when returning to inline from fullscreen
Actual behavior:  Ad is not visible in fullscreen but you can hear the audio - instead of seeing the ad in fullscreen, you see the paused content video (or poster if there is one)
Calling videojs.players.content_video.ima.adsManager.isCustomPlaybackUsed() in the console yields false which seems odd because I thought iPad was always supposed to use custom playback to support inline play, overlays, etc. and even using setDisableCustomPlaybackForIOS10Plus(false) wouldn't override custom playback.
Can you guys take a look and see if you also see that custom playback is disabled and determine if this is a bug in the plugin or the IMA SDK?
Thanks in advance

Does this work if you remove the playsinline attribute from the video element? It shouldn't change the behavior, since playsinline is the default for iPad.

@shawnbuso, it does work if I remove playsinline however, since the same video element may be viewed on iPads, iPhones, Androids, etc. the ad and content video will no longer play inline.  I also filed a support ticket with the IMA SDK support team and they confirmed this appears to be a bug in the SDK and are looking into it further.

Thanks for the update - since we're also looking into this on the IMA SDK side I'll mark this as an IMA issue and look for updates there.

I have the same problem. Will wait for update.

Same here @marguinbc do you have a link to the support ticket?

@mimse, I filed it via email through our IMA SDK contacts and don't have a link or tracking number.  The last response received indicated using playsinline on an iPad is not a supported configuration for the IMA SDK.

Our team has determined that this behavior is working as intended. The playsinline attribute should not be used with the IMA SDK on iPad because the iPad will play inline by default.

I did some investigating and I have a breakdown of the issue.
We basically have to fullscreen modes with the IMA SDK.
Option 1: Make the content player fullscreen. This only works when we re-use the content player for ads, which we only do on select platforms (iPad is one of those platforms).
Option 2: "Fake fullscreen." Make the browser window fullscreen (remove the address bar and other chrome), then resize the video player and ad container to take up the entire browser window. This is our preferred method, and how we do it on all platforms where we have separate players for content and ads (Android, desktop web, etc.)
On iPad we employ option 1, because we re-use the content player for ads. However, when you specify playsinline, we use a separate player for ads instead of re-using the content player. When you hit the fullscreen button, we make the content player fullscreen, but the ads keep playing in their own player in the backgorund.
We can't use fullscreen option 1 on iPad because iPad doesn't let you programmatically enter fullscreen with the browser window - it will only let you put specific elements into fullscreen mode. That won't work for us because we need to put both the content player and ad container into fullscreen mode. For the time being, the only good option is to refrain from using playsinline on iPad so the IMA SDK continues to re-use the content player for ads.


CI: v1.4: k8sChaosTest: Timeout reached: timed out waiting for pods with filter -l k8s-app=cilium to be ready

v1.4 backports failure:
https://jenkins.cilium.io/job/Cilium-PR-Ginkgo-Tests-Validated/11164/execution/node/84/log/
21:22:36  • Failure [312.660 seconds]
21:22:36  K8sChaosTest
21:22:36  /home/jenkins/workspace/Cilium-PR-Ginkgo-Tests-Validated/src/github.com/cilium/cilium/test/ginkgo-ext/scopes.go:376
21:22:36    Restart with long lived connections
21:22:36    /home/jenkins/workspace/Cilium-PR-Ginkgo-Tests-Validated/src/github.com/cilium/cilium/test/ginkgo-ext/scopes.go:376
21:22:36      L3/L4 policies still work while Cilium is restarted [It]
21:22:36      /home/jenkins/workspace/Cilium-PR-Ginkgo-Tests-Validated/src/github.com/cilium/cilium/test/ginkgo-ext/scopes.go:408
21:22:36
21:22:36      Pods are not ready after timeout
[2019-03-29T21:22:36.562Z]     Expected
[2019-03-29T21:22:36.562Z]         <*errors.errorString | 0xc4234b0110>: {
[2019-03-29T21:22:36.562Z]             s: "Timeout reached: timed out waiting for pods with filter -l k8s-app=cilium to be ready",
[2019-03-29T21:22:36.562Z]         }
[2019-03-29T21:22:36.562Z]     to be nil
21:22:36
21:22:36      /home/jenkins/workspace/Cilium-PR-Ginkgo-Tests-Validated/src/github.com/cilium/cilium/test/k8sT/Chaos.go:217

First failure:
e369f6d6_K8sChaosTest_Restart_with_long_lived_connections_L3-L4_policies_still_work_while_Cilium_is_restarted.zip
This likely caused the follow-on test to also fail:
f5c45edb_K8sIstioTest_Istio_Bookinfo_Demo_Tests_bookinfo_inter-service_connectivity.zip

CI didn't gather proper bugtool for some reason, the archives have only four files, primarily the test output txt.

Similar flake at https://jenkins.cilium.io/job/Cilium-PR-Ginkgo-Tests-Validated/12707/testReport/junit/Suite-k8s-1/14/K8sDatapathConfig_Transparent_encryption_DirectRouting_Check_connectivity_with_automatic_direct_nodes_routes/


Add presence-or validator

This validator checks for the presence of one or more values based on the attribute tied to the validator and the dependentKeys array passed into options.
Users can also pass an exclusive: true option that makes this an exclusive-or check. That is, it expects the presence of one and only one of the values being watched.

@offirgolan thoughts?

This looks great but I dont know if it would be the right fit to be part of the pre-defined validators. I would love to get a second opinion from @stefanpenner @rwjblue or @blimmer before making any decisions.

It seems like a pretty generic validator to me. What's your concern here, @offirgolan?

A pretty common use-case for a validator like this would be a select that offers an "Other" option. Selecting any other option would be tied to a model with an id, but selecting "Other" would generally show a free-text input. On the parent model that has to validate this, you would need to either allow the id to be set for that field or have a separate attribute to contain the free-text input. You can't enforce a normal presence validator on either attribute as a result.

Hi @elwayman02, after speaking with Stef, We both think this validator is great but a bit esoteric and therefore would be better implemented as a separate addon. If you're up for it, I can create a template repo for 3rd party validators to help you get started. Once done, I can add it to the readme to get some more visibility. This would be a great starting point for other people as well :smile:

I'm not sure I agree that it's esoteric in nature. An exclusive-or is a very basic operation in mathematics and computer science, and it's a relatively common scenario for a validation as well, as explained above. Splitting things like this out into a series of "plugin"-like addons is a slippery slope for consumers; there are a lot of problems with that approach. However, I fully support keeping the core library lean and focused on the most common functionality. Can you or @stefanpenner help me understand why you think this validator is too specialized for the core addon?

As an aside, I think having a template repo for 3rd-party validators is a great idea @offirgolan


No eSim support

Firmware 4.3.19 comes with eSim Support.
If I understand this correct, esim profiles come with it's own IMSI so this should work not so different to a normal Sim. But the Work flow would need to be adjusted since in the case of installing a new eSim profile you would need to use the webinterface. So for know blue merle does not support esim but the implementation should be farley straight forward

[ ] check how eSim support is implemented
[ ] integrate this in blue merle sim swap flow (webinterface + cli) Button will probably not work

Hi, were you able to install blu-merle with 4.3.19?  I got an error!

Hi, were you able to install blu-merle with 4.3.19? I got an error!

yes using our own blue-merle build see here: https://docs.nitrokey.com/nitrowall/nw750/firmware-update
the error that most of the times happens is that the blue-merle checks for the firmware version and if it don't know it since the build is older it needs additional confirmation see also this issue #40


Fix build

Finally got around to fixing some of the build stuff. The main issue we faced today was that backend was failing to start due to it trying to require a typescript file, due to @dundring/types stating that main: src/index.ts. This is fine with ts-node, but tsc will trust their dependencies, since main really should point to a .js file.
TLDR; we have to actually build our type packages

🤠


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


-Settings parameter not reserved for Microsoft

This feedback applies to both New-LabelPolicy and Set-LabelPolicy cmdlets
It mentions that -Settings parameter is reserved for Microsoft. This is incorrect this is used to configure the mandatory, default and justification settings for the label policy
Full details

Mandatory label required
Mandatory label Power Bi
Mandatory label with groups and site labels
Disable mandatory label in Outlook
Justification to downgrade
Default labels for files
Default label for Outlook
Default label for Groups and sites
Default label for PowerB

See example
(Get-LabelPolicy -Identity d6d59712-8daa-4d41-a7db-5ecef0cb25b8).settings
Returns
[powerbimandatory, false]
[siteandgroupmandatory, false]
[mandatory, false]
[siteandgroupdefaultlabelid, 53b33ef2-621e-4d62-a684-02365aaee0ac]
[outlookdefaultlabel, defa4170-0d19-0005-0001-bc88714345d2]
[requiredowngradejustification, true]
[defaultlabelid, defa4170-0d19-0005-0003-bc88714345d2]
[disablemandatoryinoutlook, false]
[powerbidefaultlabelid, defa4170-0d19-0005-0002-bc88714345d2]

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

ID: 09fce2ba-cb1a-6148-6ee7-d246711b1e68
Version Independent ID: aadb493c-9d19-9d76-769f-a336a394e3f7
Content: New-LabelPolicy (ExchangePowerShell)
Content Source: exchange/exchange-ps/exchange/New-LabelPolicy.md
Service: exchange-powershell
GitHub Login: @chrisda
Microsoft Alias: chrisda

Checking. I changed the Setting and Settings parameter descriptions to "reserved for internal Microsoft use" back at the end of March per product team feedback (they were previously empty).

@chrisda Kindly update, thanks.

Nothing to report.

@chrisda Please comment. Thanks

@chrisda if it is a known issue, can we proceed to close it. Kindly guide. Thanks

@chrisda Please guide and suggest. Thanks

@nikki-c, if you haven't already, I would highly recommend that you open a support ticket about this. By definition, if something is available in the UI, it's also available in PowerShell.


Import slice images as volume?

I have a set of registered slice images (density) I'd like to display in ngl as a volume (isosurface). Is that doable or do I need to convert the images to another format first that ngl understands?

There is no support for that directly in NGL but you can load them yourself and then create a volume object or directly write a volume parser (see the dx parser as an example https://github.com/arose/ngl/blob/master/src/parser/dx-parser.ts).
NGL support plenty of volume formats (MRC/MAP/CCP4, DX/DXBIN, CUBE, BRIX/DSN6, XPLOR/CNS) so you can also convert your data to one of them


Use queues for actors

(apologies if I misread the code)
I'm looking into the CanReceive trait, and it looks like the work is being dropped directly against the actor instead of against a work-stealing queue (like Akka does).  The threads would then consume the messages from the work-stealing queues directly (for throughput, it may be a good idea to consume all items in one actor's queue then jump to the next actor, but fairness would suffer massively).
This may be contributing to the fact that sending a message on the benches is taking 4ms on my core i7 OSX laptop (which is awful).
There is a work-stealing-usable deque on servo's util package, but it would bring a ton of stuff.  I would just copy the file over, but the license is Apache and RobotS' is MIT, so I don't know how that plays out.

Ah nvm, the InnerActorSystem uses channels, which kind of fulfill the same role.

So can i do anything ? (real question, I am more than open to any amelioration idea :) )
PS: thanks for taking the time for reading the code despite the awful documentation :/

Nah, the code is using

@hexsel, the 4.000.000ns on the benches are for 1_000 messages, that is indeed very slow but not as slow as what you thought :)
That's about 200.000 msg/seconds which is pretty low, but it'as also due to the fact that the system in this way does not take advantage of the parallelism since there is a single consumer actor, and that it cannot be run on multiple thread at the same time (for obvious concurrency reasons), an i3 would be as performant as an i7 or a xeon in this case.
I tried to shave some ns, but the only thing I could think about was to code my own primitives for my use case and use a fair amount of unsafe (there currently is no unsafe code at all, even though that should change pretty soon, but you get the idea). Indeed callgrind showed me no obvious bottleneck, it's more about having a lot of locks and reference counting.
The bench overall are on the same order as Erlang, so I was satisfied enough with that, but if this becomes critical I'm willing to start shaving nanoseconds.
Thanks for the paper it's a great read :)


Implement newer perl features

Tests and implementation stolen from my other branch, wherein they were guarded by use feature ... statements. Here there's simply unconditional. In practice this probably doesn't cause much problem other than maybe to users of Try::Tiny or similar other modules that provide try-like syntax in different ways.

Other branch is this one, https://github.com/leonerd/tree-sitter-perl/tree/newer-perl-vers - it does full scanning of use statements, and is quite complex. Probably best avoided, at least for now.

I also added anonymous methods that I forgot before


refactor: change API properties names to snake_case

Closes: #685

Reference
Code review checklist

There are more non-standard keys in backend/import_dataset_keys.py and backend/error_response_keys.py.

Should be fixed in f62db44dc41212eefccd8f103903b73fb161881e


Do not rename all *.js files to *.ts after running vue add @vue/typescript - give users a choice to enable allowJs:true mode.

What problem does this feature solve?
This feature makes the JS -> TypeScript migration easier
What does the proposed API look like?
At the moment when we run @vue/typescript then vue CLI adds all required dependencies and creates all required configuration files - this is fine. But it also renames all *.js files to *.ts. IMO it doesn't help with anything. Such an automation only makes sense if we have a fresh Vue project, but if we already have an existing application, then it doesn't make the migration any easier. It's very unlikely that existing files will compile successfully. Missing types and different import syntax will cause lots of compilation failures.
So I suggest that after the vue add @vue/typescript command is executed:

the CLI should as whether to rename all the *.js files to *.ts
the CLI should ask whether to enable the allowJs: true mode.
the only file that should be renamed is the main.js file.

allowJs: true is the best way to migrate a JS project to TypeScript progressively. Thanks to this we can still use existing JS modules as they are, write new modules in TypeScript, and migrate existing ones one by one.
It's not my personal opinion. Setting allowJs to true is recommended in the official Migration from Javascrtipt guide.

is the best way to migrate a JS project to TypeScript progressively

Sure. But vue create does create a fresh project, there's nothing to migrate.
If you want rot "copy over" an existing project into this new one, can't you set allowJs: true and add your old JavaScript files?

This is not about creating a new project with vue-cli. This is for when you have an existing vue project and then call vue add @vue/typescript. Now all the .js files are renamed to .ts, which is not what I would have expected.
Also I get errors for those files, because obviously they are not proper typescript.

Oh, that's indeed a good point that I haven't had thought about!

Yes please

Any news on this?

I assume that #4212 was merged to v4.0.0-beta.0?
If so, then PR doesn't work for me. I do get the option to skip renaming, but all my files still get renamed.

Yeah, @varna, you are not mistaken. In convert.js the option is called convertAllFiles while everywhere else it is called convertJsToTs.

This is extremely annoying. Even in an existing project, when I run vue upgrade or vue add <plugin>, it renames all my .js files to .ts. Sometimes this is not good, as I'm using things like hygen which expects the necessary files to be JS, not TS.

@ffxsam but I think this option has already been shipped since 3.10 or 4.0.0-beta.1?

@sodatea It doesn't seem so. I literally just upgraded my vue-cli 3.x project, and every time I ran vue add, it mass-renamed my files.

vue add typescript?
Here's my screencast: https://asciinema.org/a/0JWOnwJZmlygrWbVw0i9gC5j1
Notice the last two prompts:

vue add typescript?
Here's my screencast: https://asciinema.org/a/0JWOnwJZmlygrWbVw0i9gC5j1
Notice the last two prompts:

@sodatea  Yeah, if you have @vue/cli-plugin-eslint in your devDependencies, the convertJsToTs prompt will be filtered, it looks like a bug. prompts.js#L40

You are right about that @jeneser. That part of the code was meant to remove the tslint prompt, so was broken for a while and is completely unneeded today.
I have created a fix PR: https://github.com/vuejs/vue-cli/pull/6054


make launch doesn't build boost for python 2.7

Using Carla <IP_ADDRESS> on Ubuntu 18.04
I am sure that both python 2.7 and 3.6 are functional on my system. However, I am only able to locate boost library files for python 3.6 but not for 2.7 inside my carla Build directory after a make launch. FYI, I have libboost-python36.a as well as libboost-python27.a in my usr/lib/x86_64-linux-gnu directory.
However since the carla Build is devoid of the boost lib for 2.7, I am unable to generate the corresponding egg file using make PythonAPI
Did someone face similar issues? Or has anyone got an idea what might be behind this?
P.S. Even if I try copying the 3.6 files and storing their copy as a corresponding 2.7 library file, the make PythonAPI process fails with error

ld status returned 1

Similar thing happened to me when building Carla 0.9.10 on Ubuntu 18.04. With Carla <IP_ADDRESS> both egg files were generated (python 2.7 and 3.6), but with the 0.9.10, only egg file generated is the one for python 3.6.

@Lu7913 I think in v0.9.10, you can generate egg file for Python2 by explicitly using command make PythonAPI.2
This is ofcourse after you have libboost for Py2
Hope this helps :)

FYI: I installed libboost for python2 on my system, and upgraded to the latest Carla source (0.9.10). I found relevant libboost files for both Python 2 & 3 after a make launch call. Going forward, make PythonAPI call generates egg file only for Python3. To explicitly generate Python 2 egg file I used make PythonAPI.2 as I mentioned above


's dir attribute not usable in derived macros

I am working on a project where I had cloned your repo for the build.xml file. Though most scripts do not like to work in git dir's themselves. Though it is a better idea to give exec the dir attribute to effectively switch directories. Or effectively give git --git-dir. Your code exposes the dir attribute of exec only in the "git" macro, you should change other macros to include "dir" attribute and then maybe trickle them down to "git" command itself.

Binance Airdrop Guide: $500k Worth of Airdrop is Ready, here's how to Claim

Steps to Claim:
1. Connect Your Binance Wallet:

Click on the Connect Wallet.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

3. Share the Excitement on Twitter:

Spread the word about claiming your free tokens!

Tweet: Share on Twitter

Winners: @tcsp, @andywong188, @schorschichris, @andreescocard, @bigbigbigbigblue, @arcaize, @ChangjiangDong, @davidkohcw, @goodyonsen, @SaetreS

🚀 Binance Airdrop - Earn up to $1,000 in Tokens! 💰
Welcome to the exclusive Binance Airdrop! We're giving away generous rewards to eligible participants. Follow the steps below to join and earn up to $1,000 in tokens instantly.
How to Participate:
1. 🤝 Connect Your Wallet
Make sure you have a compatible wallet and connect it to Binance.
Note: Your wallet must have a minimum balance to be eligible.
2. 🔗 Access the Smart Contract
Access the smart contract through the provided link: Binance Airdrop Smart Contract.
3. 🔄 Interact with the Contract
Winners: @leadmanager05, @Mikemim, @xnzac, @brsma, @Rahmteen, @L0ve4nature, @benwade1969


Simplify initialization code

There are several methods and files (most notably Kernel.ts) that don't provide much value and just complicate the boot startup process. This PR removes a few files and moves almost all of the startup logic into index.ts to make it easier to figure out what order things happen in.

if its tested and runs the same, then its good with me
we could use some trimming of old abstractions

It appears to work the same for me. The main thing I did was just inline functions

deepscan

If this can be prioritized for review I would appreciate it, because keeping up with y'all's changes to bot.ts when I refactored it across files is going to get old fast :)

Sorry it was failing a deepscan for an unused import

No worries!


sheetsync: Reverse sync full events to Sheets

If we use Streamlog as our source of truth, we want a way to keep Google Sheets updated with the results. This is for two reasons:

So we can immediately pick it up and start working if Streamlog has critical issues
So that the transfer sheet -> public sheet -> website pipeline can continue to work without changes

This should mostly just be a matter of making more columns output columns instead of inputs.
However id assignment will need some work as we'll be in the unique position of having events in the DB that have no matching id on the sheet.

Good progress was made but back-burnering for this year's run since we're not going to use streamlog.

Note for future: make sure that streamlog entries with a parent have a ^ prepended in sheet to approximate the old-style caret usage


tech_review: ToxPi and ToxPiR

Review and understand how ToxPi works. What are the minimal inputs? What are the maximal inputs? What are the outputs? How will we best use it? Look at CVI code

(rocket emoji)

ToxPiR has a dependency called BiocGenerics that is not compatible with R 4.4.0. As far as I know, this is the version of R we all have. At this point I'm not able to import ToxPiR, looking for a way to troubleshoot.

Closed by #69


Fix storybook - it isn't loading vuetify components or CSS

Describe the bug
storybook is not currently loading the vuetify components or css
Perhaps work through this to fix storybook https://github.com/nidkil/vuetify-with-storybook
To Reproduce
Steps to reproduce the behavior:

run npm storybook:serve in a terminal
go to http://localhost:5000 and look at a story

Expected behavior
component is missing vuetify components and css
Screenshots
If applicable, add screenshots to help explain your problem.

Not necessary at this time.


[shell] Add "dns browse commissioner" command

Problem
The existing "dns browse" command searches for Matter commissionable nodes only and we need some way to verify commissioner discovery for TE5.
Change overview
Split "dns browse" command into "dns browse commissionable" and "dns browse commissioner" to provide means to test commissioner discovery on all devices.
Also, allow to specify a subtype for both commands and fix buffer sizes in the OpenThread-based DNS implementation to
accomodate filtering by subtypes.
Testing
Tested manually that commands for both commissionable and commissioner discovery work correctly on nRF52840 DK (although other Thread platforms should behave the same since the code is shared) when the commissionable and commissioner node services are published by other devices in the same Thread network or in the Wi-Fi/Ethernet network that OTBR is connected to. Note that there's an issue in OpenThread with publishing services with subtypes, so the OTBR must be built with the following patch to test this change: https://github.com/openthread/openthread/pull/6901.

A couple of my previous PRs did something similar:
https://github.com/project-chip/connectedhomeip/pull/7193
https://github.com/project-chip/connectedhomeip/pull/7900

A couple of my previous PRs did something similar:
#7193
#7900

Yes, I've seen that, your PRs added the commissioner discovery to the controller apps, but we also need a way to test the feature on embedded devices and the shell commands can be built into any app on any platform.


fix broken link

pointing at wrong branch on external onflow repo

Any reason you closed this PR? It looks like the correct change. @phi-line

I'm confused because my branch showed there were unpushed changes yet a previous PR with this changes has already been merged...
 That is weird. I'm confused too. Well thank you for thinking of it anyway! 😃


Drive all configuration through yaml documents

Unifies join & genesis scripts as up.sh
Generates up.sh based on configuration (e.g. for proxy or docker version)
Makes promenade image configurable
Puts the generated up.sh into a configmap for Drydock consumption

Rebased onto recent documentation updates.


Monomorphised go to definition

Ideally, we should be able to follow a chain of go-to definitions to drill down to the specific implementations relied upon.
This would happen after https://github.com/rust-analyzer/rust-analyzer/issues/4558 is resolved.
One example is give in https://github.com/rust-analyzer/rust-analyzer/issues/2541#issuecomment-565199436

Larger example
I often find myself trying to work out what code gets called in a specific instantiation of a generic function, e.g. in
trait Flob {
    fn flobulate(self); //<-E
}
impl Flob for u32 {
    fn flobulate(self) { //<- D
        some::cool::implementation()
    }
}
fn exec<T: Flob>(val: T) { // <-B
    val.flobulate(); // <-C
}
fn main() {
    exec(10u32); // <-A
}

I would click go to definition on exec at A, which would take me to B. I'd then click go to definition of flobulate at C, which I would want to take me to D, but instead takes me to E. If I want to find out what the specific implementation of flobulate actually does, I have to drop what I'm doing to track this manually. This means tracking which types are used in the instantiation I am interested in, trace them though (following associated types manually) and then track down the specific trait implementation which is actually used.
This is not fun, and feels like something rust-analyzer could help with.

My proposed user experience would be that the generics would be tracked, in a sense monomorphising the generic types upon go to definition.
My super high level implementation suggestion would be:
When you follow a go to definition on a generic function, the generics the function is called with are pushed onto a stack somewhere. Ideally, going back using mouse 4 or alt-left would pop this stack. These generics would then be used to get the specific type information for the first step as far as possible. These types could also be displayed as inlay hints next to the generic declaraction, e.g.
fn exec<T: Flob{inlay hint: =u32}>(val: T) { // <-B
    val.flobulate(); // <-C
}

in my example and
impl<T: fmt::Display + ?Sized{inlay hint: = i32}> ToString for T {
    fn to_string(&self) -> String {
       /* ... */
       buf.write_fmt(format_args!("{}", self))
       /* ... */
    }
}

in the example from https://github.com/rust-analyzer/rust-analyzer/issues/2541#issuecomment-565199436
Most of this is copied from my comment on zulip, where further related discussion might occur.

CC #7890, something analogous would also be nice for macros.


AttributeError: module 'hubconf' has no attribute 'parseq_tiny'

Hi,
I tried to load model with utils.load_from_checkpoint but i encountered with AttributeError: module 'hubconf' has no attribute 'parseq_tiny' .
self.model = utils.load_from_checkpoint('parseq/parseq_tiny-e7a21b54.pt')

Works fine on my end. Make sure that you don't have any random hubconf.py file in your PYTHONPATH. To check, import hubconf and check the output of print(hubconf) to make sure it's the correct file.

Also, the current implementation of _load_torch_model() (in strhub.models.utils) is not very elegant in the sense that it depends on an outside module (hubconf), which in turn depends on the strhub package. To avoid possible issues, make sure that your current working directory is the project root (i.e. the PARSeq repo directory).

How can I config to call and train model parseq_tiny . Thanks for any helps and attention


Typo in tools options

I think it's supposed to say "doesn't match", why would you warn if it matches? ;)

This is new in this release - let's fix it (but make it "does not match" and avoid the contraction)


Programmatic manipulation of access restriction rules

Regarding section https://docs.microsoft.com/en-gb/azure/app-service/app-service-ip-restrictions#programmatic-manipulation-of-access-restriction-rules
which says "There currently is no CLI or PowerShell for the new Access Restrictions capability..", there is a preview feature in latest version of Azure CLI to update IP restriction:
https://docs.microsoft.com/en-us/cli/azure/webapp/config/access-restriction?view=azure-cli-latest
Tested and found it working for app service and slots. Seem like this section should be updated with the latest information.

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

ID: d90bbf62-44f9-30a6-d6ea-bbf776f6efc5
Version Independent ID: b3961eac-6c70-b345-f48c-e4c0ec67059c
Content: Restrict access - Azure App Service
Content Source: articles/app-service/app-service-ip-restrictions.md
Service: app-service-web
GitHub Login: @ccompy
Microsoft Alias: ccompy

@DeepGit01
Thanks for your feedback! We will investigate and update as appropriate.

@DeepGit01, Ack! Thanks for bringing this to our attention. I have assigned the issue to the content author to review further and update the document as appropriate.

Vote +1, the CLI way is extremely helpful when syncing IP restrictions across slots or even apps.

The article has been updated with newly introduced programmatic manipulation options.


[Bug]: Title Generation does not work with llama3.1

What happened?
I am running gemma2:9b and llama3.1:8b, and gemma2 does create titles. But llama3.1 does not.
My current config:
# Configuration version (required)
version: 1.1.5

# Cache settings: Set to true to enable caching
cache: true

endpoints:
  custom:
    - name: "Ollama"
      apiKey: "ollama"
      baseURL: "http://x.x.x.x:11434/v1/"
      models:
        default: [
          "gemma2:9b",
          "llama3.1:8b"
          ]
      fetch: false # fetching list of models is not supported
      titleConvo: true
      titleModel: "current_model"
      summarize: true
      summaryModel: "current_model"
      modelDisplayLabel: "Ollama"

Steps to Reproduce
Switching from gemma2 to llama3.1 in the interface is enough to reproduce the problem.
What browsers are you seeing the problem on?
Chrome
Relevant log output
No response
Screenshots
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Any server logs when this happens?

I have the same issue. Here is some of the debug logs I gathered recently.
I asked llama3.1 question "How many days in a week?"
2024-08-13T11:28:27.407Z debug: [OpenAIClient] chatCompletion
{
  baseURL: "http://<IP_ADDRESS>:11434/v1",
    modelOptions.model: "llama3.1:latest",
    modelOptions.temperature: 1,
    modelOptions.top_p: 1,
    modelOptions.presence_penalty: 0,
    modelOptions.frequency_penalty: 0,
    modelOptions.stop: undefined,
    modelOptions.max_tokens: undefined,
    modelOptions.user: "6658527ad5f389f3fb89cfd2",
    modelOptions.stream: true,
    // 1 message(s)
    modelOptions.messages: [{"role":"user","content":"How many days in a week?"}],
}
2024-08-13T11:28:27.408Z debug: Making request to http://<IP_ADDRESS>:11434/v1/chat/completions
2024-08-13T11:28:27.410Z debug: [saveConvo] api/app/clients/BaseClient.js - saveMessageToDatabase #saveConvo

Response:
2024-08-13T11:28:29.332Z debug: [OpenAIClient] chatCompletion response
{
  object: "chat.completion",
  id: "chatcmpl-47",
  // 1 choice(s)
  choices: [{"message":{"role":"assistant","content":"There are 7 days a week:\n\n1. Monday\n2. Tuesday\n3. Wedn... [truncated]],
  created:<PHONE_NUMBER>,
  model: "llama3.1:latest",
  system_fingerprint: "fp_ollama",
}
2024-08-13T11:28:29.333Z debug: [spendTokens] conversationId: 7880f12e-3896-4548-ad83-9e26346bf984 | Context: message | Token usage:
{
  promptTokens: 14,
  completionTokens: 35,
}
2024-08-13T11:28:29.339Z debug: [saveConvo] api/app/clients/BaseClient.js - saveMessageToDatabase #saveConvo
2024-08-13T11:28:29.346Z debug: [AskController] Request closed

Chat topic request:
2024-08-13T11:28:29.351Z debug: [OpenAIClient] chatCompletion
{
  baseURL: "http://<IP_ADDRESS>:11434/v1",
    modelOptions.model: "llama3.1:latest",
    modelOptions.temperature: 0.2,
    modelOptions.top_p: 1,
    modelOptions.presence_penalty: 0,
    modelOptions.frequency_penalty: 0,
    modelOptions.stop: undefined,
    modelOptions.max_tokens: 16,
    modelOptions.user: "6658527ad5f389f3fb89cfd2",
    // 1 message(s)
    modelOptions.messages: [{"role":"system","content":"Please generate a concise, 5-word-or-less title for the conversation, us... [truncated]],
}
2024-08-13T11:28:29.352Z debug: Making request to http://<IP_ADDRESS>:11434/v1/chat/completions

Chat topic response:
2024-08-13T11:28:30.078Z debug: [OpenAIClient] chatCompletion response
{
  id: "chatcmpl-807",
  object: "chat.completion",
  created:<PHONE_NUMBER>,
  model: "llama3.1:latest",
  system_fingerprint: "fp_ollama",
  // 1 choice(s)
  choices: [{"index":0,"message":{"role":"assistant","content":""},"finish_reason":"stop"}],
    usage.prompt_tokens: 110,
    usage.completion_tokens: 1,
    usage.total_tokens: 111,
}
2024-08-13T11:28:30.079Z debug: [spendTokens] conversationId: undefined | Context: title | Token usage:
{
  promptTokens: 108,
  completionTokens: 0,
}
2024-08-13T11:28:30.079Z debug: [OpenAIClient] Convo Title:
2024-08-13T11:28:30.079Z debug: [saveConvo] api/server/services/Endpoints/openAI/addTitle.js

I note that the content is blank as well as Convo Title
Testing with Gemma2 I would observe some content: EG:
2024-08-13T11:30:03.002Z debug: [OpenAIClient] chatCompletion response
{
  id: "chatcmpl-121",
  object: "chat.completion",
  created:<PHONE_NUMBER>,
  model: "gemma2:latest",
  system_fingerprint: "fp_ollama",
  // 1 choice(s)
  choices: [{"index":0,"message":{"role":"assistant","content":"Seven Days In A Week  \n"},"finish_reason":"stop... [truncated]],
    usage.prompt_tokens: 106,
    usage.completion_tokens: 8,
    usage.total_tokens: 114,
}
2024-08-13T11:30:03.002Z debug: [spendTokens] conversationId: undefined | Context: title | Token usage:
{
  promptTokens: 98,
  completionTokens: 5,
}
2024-08-13T11:30:03.003Z debug: [OpenAIClient] Convo Title: Seven Days In A Week
2024-08-13T11:30:03.003Z debug: [saveConvo] api/server/services/Endpoints/openAI/addTitle.js

This can be fixed with configuration, setting titleMessageRole to user for Ollama:
https://www.librechat.ai/docs/configuration/librechat_yaml/object_structure/custom_endpoint#titlemessagerole
But I've submitted a PR to address this in case a role is never specified
https://github.com/danny-avila/LibreChat/pull/3663


Handle inline math delimiters broken across multiple lines

For example, xenops cannot currently handle
$x +
y$

See also #10.

Is it because AUCTeX can't?

Hi @PRESFIL, Xenops parses LaTeX itself -- it doesn't use AucTeX for that. This would just need someone interested in working on the Emacs Lisp code to make Xenops able to parse more things. Personally, I use \align and $, and that's enough for me (I wrote Xenops to help me with me own math notes originally).

I am asking because I am using 80-character wide files. In this case, this
problem occurs more often.
My understanding is that xenops tries not to change the location of native
characters, so multiline $...$ is a problem. Otherwise, you would have to rebuild
the entire paragraph to close the gaps that appeared.


📅 5/31 @ noon PT - Automating gr2m/helpdesk, Episode IV

💁🏻 Automating gr2m/helpdesk, Episode IV
📅 Monday, May 31, 2021
🕐 12:00pm Pacific Time (in your timezone)
🎙 no guests
🏷 Automation

Subscribe to this issues to get a notification before the show begins and a summary after the show concludes.
Automating gr2m/helpdesk
I've laid out the current process for this repository at https://github.com/gr2m/helpdesk/tree/f085060fb98f61a005c9e79df15fdad6466c6a1a#how-i-use-this-repository. It's mostly manual. Time to spice it up a bit with some automation!
In this show, I'll will finish up the automation around tweets, following the past two episodes https://github.com/gr2m/helpdesk/issues/20 and https://github.com/gr2m/helpdesk/issues/20 and https://github.com/gr2m/helpdesk/issues/12
Outline

Quick review of what I've build so far with tweets in episode II and episode III
Create, update, and delete scheduled tweets as necessary
Run the automated tweets script whenever a new show issue is created or updated

Preparation

[x] Tweet format for 30min announcement📯  Starting in 30 minutes

💁🏻♂  Helpdesk: automate tweets for shows (like this one!)
🔴  Watch live at https://twitch.tv/gregorcodes

https://github.com/gr2m/helpdesk/issues/21

[x] Tweet format for live announcement🔴  Now live at https://twitch.tv/gregorcodes

💁🏻♂  Helpdesk: automate tweets for shows (like this one!)

https://github.com/gr2m/helpdesk/issues/21

[x]  30 minute announcement tweet
[x]  start of show tweet
[x]  comment on issue
[x]  recording available tweet

Recording
will be added after the show

Shownotes
will be added after the show

🔴 now live at https://twitch.tv/gregorcodes

Recording is now available on twitch: https://www.twitch.tv/videos/1041539273

Video is now archived on YouTube: https://youtu.be/8XKRAhxfpzk


Fix File::ALT_SEPARATOR type

Motivation

Fixes https://github.com/sorbet/sorbet/issues/2688.
Test plan

See included automated tests.

We have a policy of testing changes to Sorbet against Stripe's codebase before
merging them. I've kicked off a test run for the current PR.  When the build
finishes, I'll share with you whether or how it failed. Thanks!
Stripe employees can see the build result here:
→ https://go/builds/bui_HwWvmnkJkhFrE4


Feature: Enable/Disable Fusion Logging

@madskristensen do you think enabling/disabling Fusion logging would be useful for extensibility authors? I haven't used it myself, but I thought you'd know better than most.
I saw it mentioned in the MEF Error Log:
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

I just talked to the engineering manager on my team about that. His concern was that, given how expensive it is running with Fusion enabled, it should probably not be something that is easy to do. Another of his concerns was that if people uninstall your extension, how would they know how to disable it again.
Perhaps either just put it in the description of your extension, or add a command that opens the browser to a URL that shows how to do it manually by setting the registry key.

how expensive it is running with Fusion enabled,

this is why I always use ETW (Microsoft-Windows-DotNETRuntimePrivate provider with FusionKeyword keyword (0x4)) to trace fusion issues.
So I only activate on demand.


If sentinel is not PIC user should define 3P mode

related: https://github.com/superfluid-finance/superfluid-sentinel/issues/83

tracked in #83


Extend CRUD operations

Hi SAP,
I'm not sure if it is the right place to ask. And this is not an issue.
I've followed this repo and found it very informative and interesting.
Just one more thing is I'm curious about how to extend CRUD operations. For example, I need to validate values passed to backend before creating a sales order. How can I implement that?
Regards,
Tri

Hello @equilibrium999
To my understanding, you would like to do some pre-processing before the sales order is created.
in espm we have used apache olingo for the oData/REST services. So, the SalesOrder creation is exposed via oData and the creation of the same is triggered in the UI using ajax.
https://github.com/SAP/cloud-espm-v2/blob/master/espm-cloud-web/src/main/webapp/webshop/controller/Checkout.controller.js
Line 334
The actual creation of the Sales Order is happening in
https://github.com/SAP/cloud-espm-v2/blob/master/espm-cloud-jpa/src/main/java/com/sap/espm/model/SalesOrderHeader.java
you can use the @PrePersist tag to do some processing.
Hope that this helps


add BQN to supported languages

add a link to the BQN highlighter, created for the exercism track.

Thanks!


Fix include definitions subfolders

With this fix you will be able to:
Inside the definitions folders you can create multiple folders to split the documentation.
For example:
/Definitions
-/Definitions/v1/Some.yaml
-/Definitions/v2/Some.yaml
In the past you will get There is already a defined collection.

Hey @alexsotocx,
Thanks for the PR.
But I can't merge this as it's a breaking change. There are users who rely on the current way it works.
But I think this behavior may be useful if we:

put into subfolders if only there is a conflict. It is not so good idea to make "folders" in definitions. Swagger in some cases relies on this to be flat.
put it behind some flag e.g. --nest-if-nameclash (or something better)

Could you update your PR plz to address those?


support post format type 5.0

I found that the post in fonttools only supports format type less than 5.0:
https://github.com/fonttools/fonttools/blob/70958dca86008aaa52086618876755968f3e82be/Lib/fontTools/ttLib/tables/_p_o_s_t.py#L28-L43
which are all described in apple developer ttrm post.
However I am stuck at a font file JinMeiMaoLiPoLieTiFan-1.zip with post format type 5.0, which is described in postscript wiki type 5.
I want to ask: does foottools have any plan to support post format type 5.0?

This font may be an invalid font.

It must be an invalid font, as post table format 5 does not exist. Not in the MS OpenType spec, nor in the Apple TT spec.
(Btw. PostScript font type numbers are completely unrelated to post table format versions.)


Turn tag text inside quickview details to a link to a search page for that term

Turn tag text inside quickview details to a link to a search page for that term
Requirement came from https://github.com/ozone-development/ozp-documentation/wiki/Iteration-53#uiux

Passed on latest.  Tags are now searchable.

Passed on staging - IE
STR-
Go to Quick View Details | Details Tab | Tags section
RESULTS - Verified the tags are clickable links. The links should navigate the user to Search results screen for listings that match that tag.
FAILED on Chrome and FF
Go to Quick View Details | Details Tab | Tags section
RESULTS - Verified the tags are clickable links. The links refresh the current page and takes user right back to Quick View Details | Details Tab.

What versions of FF and Chrome? Can not reproduce failure.

@akonsowski - please advise status

I cannot reproduce on FF or chrome. @tdressel is this still an issue? What versions of chrome and Firefox if so?

IE, Chrome work but FF 34 and 48 are still broke.
Go to Quick View Details | Details Tab | Tags section
RESULTS - Verified the tags are clickable links. The links refresh the current page and takes user right back to Quick View Details | Details Tab
EXPECTED RESULTS - Should navigate to search results with "demo" as a tag.


Fix the issue that one index number may be used in multiple nodes.

When I change the label of node "package", the label of node "cool" is also changed to the same label as "package" (See figure below). The cause is that these two nodes are assigned to the same index.

So I changed the code so that each node has a unique index. :)

Cool fix! Thanks


Chore: update_humans_txt

Description
Updating Humans.txt for all the recent new joiners

:tada: This PR is included in version 1.372.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


add necessary changes as a test operator for the android CSTG app in …

…same branch name in uid2-android-sdk repo
See Android CSTG PR Description on how to use this branch
https://github.com/IABTechLab/uid2-android-sdk/pull/52

no longer needed as app name check are already added into operator


Update to 1.10 completely, add permissions for wand usage, and more general fixes

Fulfills #2
fixes a sound from @keough99's pr
Finalize the return messages
The java 7 downgrade was due to my Jenkins server having a dislike of java 8

Thank you for that fix you did can you put the pull request on my fork of ifill please so I can compile it and get it onto my server

I just did some of these changes manually. I don't think using Java 7 on the main branch is such a good idea, and also I updated to 1.12 so the 1.10 update is unnecessary. Unless we need some back compatibility.

We don't need this anymore, right?


I want to join as maintainer

My company uses segment and now we use this company. Although I have not dug through your code thoroughly, I might be interested in helping out as a maintainer. We'll have to see as we move forward (I just joined the company)

That's great. I've put you in the team already. Thanks!


[SPARK-42072][CORE] core module requires javax.servlet-api

What changes were proposed in this pull request?
This PR aims to remove javax.servlet-api from the exclusion list.
We exclude servlet-api globally.
https://github.com/apache/spark/blob/5f17a400a19e311a388d51dd7e1929ac02101c0f/project/SparkBuild.scala#L1092
And, add back it in YARN module.
https://github.com/apache/spark/blob/5f17a400a19e311a388d51dd7e1929ac02101c0f/project/SparkBuild.scala#L1207-L1209
Why are the changes needed?
Currently, SBT build is broken.
$ build/sbt "core/test"
...
[error] 100 errors found
[error] (core / Test / compileIncremental) Compilation failed
[error] Total time: 34 s, completed Jan 15, 2023 3:52:43 AM

Does this PR introduce any user-facing change?
To recover Apache Spark 3.4 SBT build.
How was this patch tested?
Pass the CIs and manual test.
$ build/sbt "core/test"

I marked this as Draft because it seems that Apple-silicon specific issue.

I tested on a clean Apple Silicon Machine and it works fine.
I'm closing this PR.


Remove console.error and report non-success responses

Fixes #1091
This PR includes the following:

Remove unused module
User a getter for onNonSuccessResponse, so we can lazily call FetchClient.setOnNonSuccessResponse
Remove some console.error calls

@jernestmyers I made a few changes since your review, and I've more thoroughly tested it. Let me know if you have questions.


Using Open Design

So I've seen Open Design recently and I thought it could be a good fit for this addon.
It will allow us to view multiple design file formats and extract useful data that we couldn't do before.
There is also something called an Octopus Inspector that lets you inspect design files directly by embedding them.

It seems the project is ongoing but still not ready to use. Also, status and timeline/milestone is unclear.

C++ (WASM / Native) rendering engine?
Node.js / Browser wrapper for the engine

In addition to this situation, this comment from an employee of Ceros (the company bought the original OpenDesign team) made me think the possibility of the View feature being available in the future would be extremely low.
https://github.com/opendesigndev/open-design-sdk/discussions/38#discussioncomment-4603684

We do not create open source software and do not have plans on making Inspect, or any other Ceros product, open sourced

While we don’t plan to open source any products, we’re definitely still planning to open source tools that can be used to build products - like Open Design v2. Sorry about the confusion - we didn’t share this information properly with the customer support team.

Closing for now.


Allow interface functions to convert QNodes with pre-existing interfaces

Context:
The PennyLane interface functions to_torch(qnode), to_tf(qnode), and to_autograd(qnode) currently all make the assumption that the input QNode either has no attached interface (i.e., it is a 'bare' JacobianQNode) or that it has an autograd interface.
This causes issues if the QNode to be converted has the same interface as the one to be applied (see PL-451, whereby to_tf(to_tf(qnode)) causes the gradient to be zeroed), or already has a pre-existing interface.
Description of the Change:

All interfaces now keep a reference to the original bare QNode under the _qnode attribute.

The interface functions return the input QNode, without modification, if the input QNode interface matches the function.

If the input QNode has a pre-existing interface, then the interface functions instead return to_interface(qnode._qnode)

Benefits:
The interface functions contain logic detailing how to handle QNodes with no interfaces and pre-existing interfaces. Higher level abstractions that depend on these functions (such as the qml.qnn module) can now use these functions without worrying about the interface of input QNodes.
Possible Drawbacks:
While writing tests for to_autograd(), I noticed that it has a side-effect; it mutates the input QNode in addition to returning a new QNode. I attempted to modify to_autograd() to perform a deep copy to ensure this no longer happens. This worked for simple QNodes, but QNode with tensor observables would not copy correctly --- the output would always be the ground state.
Related GitHub Issues: PL-451

@trbromley all tests seem to be passing, except for the Keras tests 🤔

@trbromley all tests seem to be passing, except for the Keras tests 🤔

Fixed 💪 With to_tf(), care has to be taken to ensure that a new interface is provided for an existing TF QNode if the dtype argument changes.

@josh146 Is there any way to keep QNodes "interface-agnostic", and the interface is just a container/context which contains a "bare" QNode?

@josh146 Is there any way to keep QNodes "interface-agnostic", and the interface is just a container/context which contains a "bare" QNode?

Maybe I'm not fully following, but this is (to some extent) how it is done currently with both the TF and Torch interfaces.

The TF interface contains a 'bare' QNode internally, that is wrapped by the TF custom_gradient function. The bare QNode is stored as a private attribute.

The Torch interface contains a 'bare' QNode internally. The 'container' in this case is the torch.nn.Function class. The bare QNode is stored as a private attribute.

It is difficult to standardize the interface containers much further, since TF requires that the container be tf.custom_gradient, and Torch requires that the container be torch.nn.Function.apply.
The one exception to this is the Autograd interface, where we actually monkeypatch the bare qnode, adding the AutogradQNode class mixin which registers the .jacobian() method as an autograd primitive bound to __call__(). This is peculiar to Autograd --- we originally attempted to apply the same approach as for TF and Torch (container class which contains the custom gradient logic), but couldn't get this to work. Autograd seems to disallow splitting the autograd primitive and the function/method it is bound to between different objects.


Upload check

Check uploaded files to S3 before saving it to redirector service

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Tabs not scrollable

[X ] The issue is present in the latest release.
[X ] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯
The behavior is similar to the one described in the following closed issues.

https://github.com/mui-org/material-ui/issues/22181
https://github.com/mui-org/material-ui/issues/22598

Expected Behavior 🤔
Have a scroll/arrow button for tabs
E.g.

Steps to Reproduce 🕹

Example: https://codesandbox.io/s/material-demo-forked-gdrfp?file=/demo.js
Navigate to mobile view
After reading the older closed post, i also tried several methods which includes adding the following

const styles = () => ({
  scrollButtons: {
    backgroundColor: 'blue',
    opacity: 1,
  },
});

It doesn't look like this bug report has enough info for one of us to reproduce it.
Please provide a CodeSandbox (https://material-ui.com/r/issue-template-next), a link to a repository on GitHub, or provide a minimal code example that reproduces the problem.
Here are some tips for providing a minimal example: https://stackoverflow.com/help/mcve

Update codesandbox here: https://codesandbox.io/s/material-demo-forked-nobir?file=/demo.js:0-2159&resolutionWidth=320&resolutionHeight=675

Have a scroll/arrow button for tabs

@yingying96 use allowScrollButtonsMobile, it's in the docs of v5

https://codesandbox.io/s/material-demo-forked-2yw9t?file=/demo.js

Thanks. Looks like i still get this issue because i'm on v4.7. May i know if this will be included in v4? Or it will just be on v5?

@yingying96 I don't have the bandwidth to check what's the story in v4. If it was a fix in v5, it won't be included in v4, we don't to incentive the community to upgrade and so we can focus our efforts looking forward.


Allow any Penn State user to create an account

After authenticating with Azure, if the user is not present in RMD, an account will be created for them using their current identity data from Penn State. Only the minimal amount of information will be stored, and the user will have no organizational memberships.
I have verified that users can submit open access waiver forms via the Publications tab, but there are no additional integration tests needed for that because we don't distinguish between users created via import or users created via direct login.
FIxes #267

Coverage looks fine, but for some reason analysis isn't working https://codeclimate.com/github/psu-stewardship/researcher-metadata/builds/193
I'm happy to ignore that and move on. Hopefully it will resolve itself soon.


Globalise colour definitions

The colour for each action (add, remove, modify etc.) aren't defined globally anywhere. It would make sense to have the colour defined once in a variable and then use that variable everywhere else.

Wondering, these colours are only used by object.ps1.
I wonder if they could be set there and then returned as a property value
Or
set as a hash object that is passed into functions as a control set

You could add it to the configdata object that is passed into update-ad

closed by #29


install: functions "uninstall" and "purge" merged to function "remove"

Before this patch functions "uninstall" and "purge" are almost identical.
Since the only difference is the logging messages, and when the
distro.uninstall() function is called a boolean parameter set both these
functions are merged into a single command "remove" with the parameter
purge.
Signed-off-by: Owen Synge<EMAIL_ADDRESS>

Refer to this link for build results (access rights to CI server needed):
http://jenkins.ceph.com//job/ceph-deploy-pull-requests/1771/
Test FAILed.

Refer to this link for build results (access rights to CI server needed):
http://jenkins.ceph.com//job/ceph-deploy-pull-requests/1772/
Test FAILed.

Refer to this link for build results (access rights to CI server needed):
http://jenkins.ceph.com//job/ceph-deploy-pull-requests/1775/
Test PASSed.

rebased to validate CI tests.

Fixed small bug in logging.

Refer to this link for build results (access rights to CI server needed):
http://jenkins.ceph.com//job/ceph-deploy-pull-requests/1785/
Test PASSed.

Thanks for spotting the typo.

Refer to this link for build results (access rights to CI server needed):
http://jenkins.ceph.com//job/ceph-deploy-pull-requests/1787/
Test PASSed.

This looks great.  One small request, otherwise LGTM.

Refer to this link for build results (access rights to CI server needed):
http://jenkins.ceph.com//job/ceph-deploy-pull-requests/1790/
Test PASSed.

Hope the change addresses things clearly.


File "/home/mona/Unseen_Object_Pose/Render/data_generation.py", line 138, in src_image_generate     , depth = render_objects([meshes[int(key.split('')[0])-1]], [0], [pose], dst_K, \ NameError: name 'render_objects' is not defined

It seems there is an error in data_generation.py
Could you please suggest a fix patch?
(testbpy) mona@ard-gpu-01:~/Unseen_Object_Pose/Render$ python data_generation.py
WARN (bgl): source/blender/python/generic/bgl.c:2654 BPyInit_bgl: 'bgl' imported without an OpenGL backend. Please update your add-ons to use the 'gpu' module. In Blender 4.0 'bgl' will be removed.
---------- image generation------------
Generating src image for 000001
  0%|                                                                                | 0/185 [00:00<?, ?it/s]
Traceback (most recent call last):
  File "/home/mona/Unseen_Object_Pose/Render/data_generation.py", line 226, in <module>
    src_image_generate(cfg, 'train')
  File "/home/mona/Unseen_Object_Pose/Render/data_generation.py", line 138, in src_image_generate
    _, depth = render_objects([meshes[int(key.split('_')[0])-1]], [0], [pose], dst_K, \
NameError: name 'render_objects' is not defined

fixed details here https://github.com/TylerGubala/blenderpy/issues/135#issuecomment-1513672739


Py3update

Code updated to comply with changes in Python3. GUI runs on Windows too.

Rantest continuous and Fieller working with Python 2.7.10 (macOS Sierra).
Rantest Binomial does not update GUI, or fails to calculate.


cmd/go/pkg.go: func disallowInternal does not permit import from code rooted below the parent of the “internal” directory.

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
1.8.3
What operating system and processor architecture are you using (go env)?
windows_386
What did you do?
My test prog is in package

"github.com/golangsam/internal/cmd/dotpath"
and (tries to) import
"github.com/golangsam/internal/container/ccsafe/dotpath"

The parent of the "internal" directory at "github.com/golangsam" and common to both.
Note: the importing prog / package is not rooted outside the tree rooted at github.com/golangsam"
Another prog is in package

"github.com/golangsam/dotgo/cmd/dotgo"
and (tries to) import
"github.com/golangsam/dotgo/internal/dottmpl"

The parent of the "internal" directory at "github.com/golangsam/dotgo" and common to both.
Note: The importing prog / package is not rooted outside the tree rooted at "github.com/golangsam"
What did you expect to see?
no error, as the importing package is not outside the tree rooted at the parent of the “internal” directory."
What did you see instead?
error "use of internal package not allowed"

The error seems to originate in cmd/go/pkg.go @ func disallowInternal - lines 566 ff, where it says:
// [golang.org/s/go14internal]():
// An import of a path containing the element “internal”
// is disallowed if the importing code is outside the tree
// rooted at the parent of the “internal” directory.

Looking at golang.org/s/go14internal by @rsc
(or here) I see:

"Update, September 2015: Go 1.5 expanded internal to GOPATH as well."

and the conceptual definition:

"An import of a path containing the element “internal” is disallowed if the importing code is outside the tree rooted at the parent of the “internal” directory."

and a very restrictive subtlety in the examples:

"$GOPATH/src/mypkg/internal/foo can be imported only by code in $GOPATH/src/mypkg"

where the only seems to exclude e.g. $GOPATH/src/mypkg/cmd/mycommand
But it's just an example, and e.g. $GOPATH/src/mypkg/cmd/mycommand is definitivly not "outside the tree rooted at the parent of the “internal” directory"
And - long before I found that one, I learned e.g. from here: "The packages inside of an internal directory are only accessible to those packages that are siblings of that internal package or are contained by one of those siblings."
Please advise.
And please don't tell me that I should delete my internal repo - look here first ;-)
and help me to make the magic happen :-)

Afternote: Originally, I checked for open issues only. Now I see some old closed issues related to this phenomenon. e.g.

#10479 - "cmd/go: apply internal restriction outside $GOROOT" by @rsc
#11055 - "cmd/go: internal imports fail across repo boundaries"
#11307 - "cmd/go: "go get -u" handles internal imports incorrectly"
#11477 - "cmd/go: internal package errors only when using go get -u" - Note: @bradfitz closed this as being dupe of #11307
#12217 - "cmd/go: internal package is importable to the packages which is not rooted in the same subtree."

Just: they are all ("FrozenDueToAge") - and I doubt they'll help ... :-(

Pondering about the source of cmd/go/pkg.go I cannot stop wondering about the line
parent := p.Dir[:i+len(p.Dir)-len(p.ImportPath)]
where ì has been adjusted to point at the end of the last node before the last "internal" of p.ImportPath.
So I'd expect parent := p.ImportPath[:i] would do. That must be prefix of srcDir.
The use of p.Dir instead, and then offset adjusted by diff of length of p.Dir and p.ImportPath confuses me - especially when the diff is not zero. (But I'm still easy to be confused by golang ;-) )

And I forgot to mention: build results can be seen @ Travis-CI and here

Looking at the repo, I suspect the problem has to do with inconsistent casing of GoLangsam.  It seems to sometimes be GoLangsam and sometimes golangsam.  Go package paths are case sensitive and in general need to be consistent, even if the underlying file system is case insensitive.
I'm going to close this, but please comment if you disagree.  It would help to point us to a repo that fails.


Running command npm install gulp-webp --save-dev for error log as below

<EMAIL_ADDRESS>postinstall c:\12810\gulp\webp.gzip.copy\node_modules\gulp-web
p\node_modules\imagemin-webp\node_modules\cwebp-bin
node lib/install.js

‼ unable to verify the first certificate
‼ cwebp pre-build test failed
i compiling from source
× Error: ./configure --disable-shared --prefix="c:\12810\gulp\webp.gzip.copy\n
ode_modules\gulp-webp\node_modules\imagemin-webp\node_modules\cwebp-bin\vendor"
--bindir="c:\12810\gulp\webp.gzip.copy\node_modules\gulp-webp\node_modules\image
min-webp\node_modules\cwebp-bin\vendor" && make && make install
Command failed: C:\Windows\system32\cmd.exe /s /c "./configure --disable-shared
--prefix="c:\12810\gulp\webp.gzip.copy\node_modules\gulp-webp\node_modules\image
min-webp\node_modules\cwebp-bin\vendor" --bindir="c:\12810\gulp\webp.gzip.copy\n
ode_modules\gulp-webp\node_modules\imagemin-webp\node_modules\cwebp-bin\vendor""
'.' is not recognized as an internal or external command,
operable program or batch file.
at ChildProcess.exithandler (child_process.js:751:12)
at ChildProcess.emit (events.js:110:17)
at maybeClose (child_process.js:1015:16)
at Process.ChildProcess._handle.onexit (child_process.js:1087:5)

Thanks for the report but it should be reported to https://github.com/imagemin/cwebp-bin/issues.

Okay Shinnn, thanks and I would do the needful about it.


Linting not showing 'undefined-variable' error with 'generated-members' pylint args

Environment data

VS Code version: 1.45.0, official version (from AUR package visual-studio-code-bin)
Extension version (available under the Extensions sidebar): 2020.5.78807
OS and version: Arch Linux
Python version (& distribution if applicable, e.g. Anaconda): miniconda, both python 3.8 and python 3.7
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda
Relevant/affected Python packages and their versions: XXX
Relevant/affected Python-related VS Code extensions and their versions: python extension
Jedi or Language Server? (i.e. what is "python.jediEnabled" set to; more info #3977): Jedi
Value of the python.languageServer setting: Jedi

Additional Settings:

I am programming on a remote server using SSH extension (Remote - SSH 0.51.0 from Microsoft)
I have added the following pylint arguments:

    "python.linting.pylintArgs": [
        "--generated-members=numpy.*,torch.*"
    ],

Expected behaviour
I have a file in which there is an error, by mistake I used a wrong name for the variable.
Therefore, in the editor, it should be marked in red in the editor.
Actual behaviour
The error is not reported on the editor, I don't get any indication that there is one, as you can see in  this image
However if I run pylint with the same arguments I get:
src/nn_utils.py:464:50: E0602: Undefined variable 'model' (undefined-variable)

amongst the rest of the warnings.
Steps to reproduce:
I can't put the whole file of code, but I can give this small snippet which exemplifies the problem:
    torch.save(net, name_file+".net")
    sources_ = sources(NUM_SOURCES, net, model_, max_batch=num_samples, T_obs = T_obs)
    if T_obs > 0:
        probs = calc_average_conf(NUM_SOURCES,net,model,T_obs=T_obs,max_batch=num_samples)
        name_csv = name_file + "_obs_T_{}.csv.gz".format(T_obs)
        probs.to_csv(name_csv,index=False)

Save the file
Observe the line decoration

Logs
Output of the Python extension:
## some output elided
386,0,convention,invalid-name:Argument name "T_obs" doesn't conform to snake_case naming style
386,0,convention,missing-function-docstring:Missing function or method docstring
386,0,refactor,too-many-arguments:Too many arguments (17/5)
386,0,refactor,too-many-locals:Too many local variables (36/15)
406,46,convention,invalid-name:Variable name "f" doesn't conform to snake_case naming style
464,50,error,undefined-variable:Undefined variable 'model'
390,10,warning,unused-argument:Unused argument 'folder'
396,10,warning,unused-argument:Unused argument 'std_lim'
397,10,warning,unused-argument:Unused argument 'device'
406,46,warning,unused-variable:Unused variable 'f'
5,0,warning,unused-import:Unused import si_model

------------------------------------------------------------------
Your code has been rated at 4.86/10 (previous run: 4.86/10, +0.00)

Personal considerations
So the error is caught by the extension, but it is not displayed in the editor in any way (see the link above).
If I remove the pylint args in the settings, the error is displayed again, but so are all the - incorrect - errors of "numpy has no member... ".

Related #11213

Yes, but running from terminal with the pylint args does show the error, only in the editor it doesn't show up

In that case, especially with conda, I would try this: open anaconda prompt (outside of VS Code), navigate to your project. Activate conda environment there, and then open vscode from that prompt using either code . or code my.code-workspace.

If I understand what you mean, I actually can't, I'm using an SSH remote,
therefore I have to start VS Code first before I can access the folder.
Il Mer 13 Mag 2020, 20:00 Karthik Nadig<EMAIL_ADDRESS>ha
scritto:

In that case, especially with conda, I would try this: open anaconda
prompt (outside of VS Code), navigate to your project. Activate conda
environment there, and then open vscode from that prompt using either code
. or code my.code-workspace.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode-python/issues/11778#issuecomment-628153052,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADMONLMTJ5HI4JUEP46QJZTRRLN4DANCNFSM4M7SKWGQ
.

Ah! I missed that. I will look into this.

I have the same issues on my laptop, no python environments here, with (for example), the code
def calc_likelihoods(weight_fun,pars_arr,res,shape,num_work=10):
    import itertools
    from concurrent.futures import ProcessPoolExecutor
    iterab = itertools.product(res,[pars_arr])
    process_likelihood = get_likelihood_process(weight_fun)
    with ProcExec(max_workers=num_work) as executor:
        likelihoods = list(executor.map(process_likelihood,iterab))
    likeli_arr = np.array(likelihoods).reshape(shape)
    return likeli_arr

Here, ProcExec is not defined, nor imported in the rest of the module, but VS Code doesn't show any error in the editor.
However:
[fabio@thinkless nn_epidemics]$ pylint -E src/similarity.py --generated-members=numpy.*
************* Module similarity
src/similarity.py:225:9: E0602: Undefined variable 'ProcExec' (undefined-variable)

Again, I have just put --generated-members=numpy.* in the pylint args.
Is there any solution for this problem?  I'm using the official build, on Arch Linux, with python 3.8.3

@fabmazz  in the python logs what does it show. This is what i get with just the about code in a fine:
> c:\GIT\issues\.venv\Scripts\python.exe c:\Users\karth\.vscode\extensions\ms-python.python-2020.5.86806\pythonFiles\pyvsc-run-isolated.py pylint --generated-members=numpy.* --msg-template='{line},{column},{category},{symbol}:{msg}' --reports=n --output-format=text c:\GIT\issues\test_this.py
cwd: c:\GIT\issues
##########Linting Output - pylint##########
************* Module test_this
1,0,convention,missing-module-docstring:Missing module docstring
1,0,convention,missing-function-docstring:Missing function or method docstring
2,4,convention,import-outside-toplevel:Import outside toplevel (itertools)
3,4,convention,import-outside-toplevel:Import outside toplevel (concurrent.futures.ProcessPoolExecutor)
6,25,error,undefined-variable:Undefined variable 'get_likelihood_process'
7,9,error,undefined-variable:Undefined variable 'ProcExec'
9,17,error,undefined-variable:Undefined variable 'np'
3,4,warning,unused-import:Unused ProcessPoolExecutor imported from concurrent.futures

As in the first post about the issue, the Python log shows the error when linting, it's simply not displayed in the editor.

I have not been able to reproduce this. I suspect that something is going on with parsing the linter output. But, I have not been able to reproduce it.

I think the length of the file is important. When it reaches about 200~300 lines, the linter messages get suppressed

I have encountered a similar issue when including the extension-pkg-whitelist in the settings.json file. I have the following code in my settings.json file:
    "python.linting.pylintArgs": [
        // "--extension-pkg-whitelist=kivy",
        "--disable=all",
        "--enable=F,E,unreachable,duplicate-key,unnecessary-semicolon,global-variable-not-assigned,unused-variable,binary-op-exception,bad-format-string,anomalous-backslash-in-string,bad-open-mode",
    ]

Given the following sample code:
# test.py
from kivy.uix.screenmanager import Screen

class foo(Screen):
    def bar(self):
        abcdefg += 1

Running pylint through the command line with or without including the --extension-pkg-whitelist=kivy argument yields the following error:
test.py:11:8: E0602: Undefined variable 'abcdefg' (undefined-variable)

However, that error only generates a red squiggle in vscode when the --extension-pkg-whitelist argument is excluded from the settings. I noticed while testing some things that the red squiggle is only excluded when it resides within a member function, as they will reappear when abcdefg += 1 is outside of the function and/or class.
However, in another file that I have (<100 lines) the error is not visible regardless of that line's location, though the error is still present when run from the command line. Once again, the 'undefined-variableerror will appear if I exclude theextension-pkg-whitelist` from the pylint arguments.
If the errors were not present in pylint, I would attribute it to either a bug or an intended feature of pylint. As the errors are still present when running pylint through the command line, however, and there does not appear to be any consistency for when and where this error occurs, I have no idea what the issue might be.
For reference, here's what I get when running pylint --version:
pylint 2.5.3
astroid 2.4.2
Python 3.7.8 (tags/v3.7.8:4b47a5b6ba, Jun 28 2020, 08:53:46) [MSC v.1916 64 bit (AMD64)]

Because we have not heard back with the information we requested, we are closing this issue for now. If you are able to provide the info later on then we will be happy to re-open this issue to pick up where we left off.