mmlspark.lightgbm._LightGBMClassifier does not exist

Describe the bug
mmlspark.lightgbm._LightGBMClassifier does not exist
To Reproduce
I git cloned the repo and sys.path.append the mmlspark python path, import mmlspark has no issue, but the classifier inside can't be used
There is no clear instruction on how to install mmlspark for python.
spark = pyspark.sql.SparkSession.builder.appName("MyApp") \
            .config("spark.jars.packages", "com.microsoft.ml.spark:mmlspark_2.11:1.0.0-rc1") \
            .getOrCreate()
from mmlspark.lightgbm import LightGBMClassifier
model = LightGBMClassifier(learningRate=0.3,
                           numIterations=100,
                           numLeaves=31).fit(train)
spark.stop()

Expected behavior
from mmlspark.lightgbm import LightGBMClassifier should work
Info (please complete the following information):

MMLSpark Version: from latest repo
Spark Version 2.4.4
Spark Platform: custom platform not on azure

** Stacktrace**
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-9-1b16cbc5ea7e> in <module>
      5             .config("spark.jars.packages", "com.microsoft.ml.spark:mmlspark_2.11:1.0.0-rc1") \
      6             .getOrCreate()
----> 7 from mmlspark.lightgbm import LightGBMClassifier
      8 model = LightGBMClassifier(learningRate=0.3,
      9                            numIterations=100,

/mnt/user-home/git/mmlspark/src/main/python/mmlspark/lightgbm/LightGBMClassifier.py in <module>
      9     basestring = str
     10
---> 11 from mmlspark.lightgbm._LightGBMClassifier import _LightGBMClassifier
     12 from mmlspark.lightgbm._LightGBMClassifier import _LightGBMClassificationModel
     13 from pyspark import SparkContext

ModuleNotFoundError: No module named 'mmlspark.lightgbm._LightGBMClassifier'

Additional context
I tried this on Jupyter on a Linux machine. Does this only work on Azure?

@goodwanghan sorry about the trouble you are having.  You need to run the autogen to autogenerate the wrappers, _LightGBMClassifier is automatically generated from the scala API.
" I tried this on Jupyter on a Linux machine. Does this only work on Azure?"
LightGBM is open source and works anywhere, linux, windows, macos.  The mmlspark integration can be run anywhere, Azure, Cloudera, AWS, etc.  If it's not running somewhere then that's unexpected and probably a bug.

@imatiach-msft
Instead of generating the wrappers, because of restrictions on my business laptop, I usually extracted the wrappers from the JAR package that I got through maven. The problem is that for version 1.0-rc1 I can't download the file (while it worked fine for version 0.18.x). See https://github.com/Azure/mmlspark/issues/715#issuecomment-544462083
Also, if I look here https://search.maven.org/search?q=g:com.microsoft.ml.spark the last version is 0.18.1. Why can't I find version 1.0-rc1?
Thank you

@candalfigomoro see the fix i posted in #715 apologize for the confusion!

facing similar issue with the LightGBMRegressor module as well

Looks like in version 0.17, the name has changed from mmlspark.lightgbm to specific module name repeated. It worked for me by using: from mmlspark.LightGBMRegressor import LightGBMRegressor
Please update the sample in the documentation.
Also could not find vowpalWabbit module in the latest package from https://github.com/Azure/mmlspark/archive/bba5c10ff774a7541be4cde7438ba710bd51f5e6.zip
Although could find it in the master : https://github.com/arijeetm1/mmlspark/blob/master/src/main/python/mmlspark/vw/VowpalWabbitRegressor.py
Wondering if it's released yet? maybe in latest version 0.18 but could find it https://spark-packages.org/package/Azure/mmlspark

@goodwanghan sorry about the trouble you are having. You need to run the autogen to autogenerate the wrappers, _LightGBMClassifier is automatically generated from the scala API.
" I tried this on Jupyter on a Linux machine. Does this only work on Azure?"
LightGBM is open source and works anywhere, linux, windows, macos. The mmlspark integration can be run anywhere, Azure, Cloudera, AWS, etc. If it's not running somewhere then that's unexpected and probably a bug.

I do not understand what this means. Can you please explain step-by-step, on a linux machine with Python 3.7 Jupyter + Spark 2.4.5, how can I run the autogen?

I realized the usual method of loading with Pyspark didn't work for me because we use a company internal maven repo. To fix this, I suggest making available the .jar and pom.xml file for mmlspark in the releases and metion this in the README.

run the autogen to autogenerate the wrappers

Hi, would you please give me more details about how to autogenerate the wrappers?

ModuleNotFoundError: No module named 'mmlspark.lightgbm._LightGBMRegressor'
Developers, can you help us?

Getting the same error as others on this thread. I was going through the LightGBM example here:

106 - Quantile Regression with LightGBM

from mmlspark.lightgbm import LightGBMRegressor
model = LightGBMRegressor(objective='quantile', alpha=0.2, learningRate=0.3, numLeaves=31).fit(train)

---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-25-064a17bb600b> in <module>
----> 1 from mmlspark.lightgbm import LightGBMRegressor
      2 model = LightGBMRegressor(objective='quantile', alpha=0.2, learningRate=0.3, numLeaves=31).fit(train)

/opt/conda/anaconda/lib/python3.7/site-packages/mmlspark/lightgbm/LightGBMRegressor.py in <module>
      9     basestring = str
     10
---> 11 from mmlspark.lightgbm._LightGBMRegressor import _LightGBMRegressor
     12 from mmlspark.lightgbm._LightGBMRegressor import _LightGBMRegressionModel
     13 from pyspark import SparkContext

ModuleNotFoundError: No module named 'mmlspark.lightgbm._LightGBMRegressor'

So is there any solutions for this problem?

Where are support? We are wait much time

Having this issue, please help.

@MarsXDM @MacJei @vinhdiesal  @bkowshik not sure why you are having this issue.  I need to understand more about your environment to try and reproduce the issue and diagnose it.  What cluster are you running this code in - is it yarn, spark standalone, mesos, or databricks which runs its own version of spark standalone?  How are you adding the package?  Clearly this is actually not even getting to the scala code, there is some issue with importing the python wrappers.  Somehow the python files in the maven jar are not getting registered in pyspark.

if you download the jar, you can run on linux:
jar xvf mmlspark_2.11-1.0.0-rc1.jar
this will extract the jar.  Note there is one "com" folder where all of the scala code is at, and an "mmlspark" folder for all of the python code.  It seems the python code is not getting registered properly on your environment.  I've seen this happen with cloudera clusters before, and the workaround, as I recall, was to specify the python files as a zip file either in the pyspark command or load it via the code.

I think this was the question for the cloudera cluster:
https://github.com/Azure/mmlspark/issues/311
There was also an external azure customer who had this issue and we were able to work around the problem by extracting the zip file and specifying it in the --py-files command, see relevant doc:
https://spark.apache.org/docs/latest/submitting-applications.html
I'm also happy to go on a call with anyone to resolve their issue.
As you can probably guess it's usually something very environment/cluster specific, I mostly run code on azure databricks so I can't possibly fix all cluster configurations/cluster types out there, but contributions are definitely welcome.

So is there any solutions for this problem?

I met this issue because the import sentence (from mmlspark.lightgbm import LightGBMClassifier) is running before sparksession create...
my SparkSession object is created as follow:
ss.master('local[*]').appName("My App")
.config("spark.jars.packages", "com.microsoft.ml.spark:mmlspark_2.11:1.0.0-rc1")
.config("spark.jars.repositories", "https://mmlspark.azureedge.net/maven")
.getOrCreate()
when I put the import sentence after this ,  no more this issue.

from mmlspark.lightgbm import LightGBMRegressor
ModuleNotFoundError: No module named 'mmlspark.lightgbm._LightGBMRegressor'
Please, help!

@romario076 what version of mmlspark are you running in?  How are you loading the mmlspark jar and the lightgbm jar?  Have you tried specify spark.jars.packages or some other parameters?  What cluster are you running in (azure databricks, cloudera, etc)?  The problem seems to be with not loading the python files in the jar.

spark = SparkSession.builder
.appName("Churn Scoring LightGBM")
.master("local[4]")
.config("spark.jars.packages","com.microsoft.ml.spark:mmlspark_2.11:0.18.1")
.getOrCreate()
this worked for me. Spark 2.4.5 Ubuntu, python3.6

@romario076 what version of mmlspark are you running in? How are you loading the mmlspark jar and the lightgbm jar? Have you tried to specify spark.jars.packages or some other parameters? What cluster are you running in (azure databricks, cloudera, etc)? The problem seems to be with not loading the python files in the jar.

.config("spark.jars.packages","com.microsoft.ml.spark:mmlspark_2.11:0.18.1") works but
.config("spark.jars","/home/erkan/spark/mmlspark_jars/com.microsoft.ml.spark_mmlspark_2.11-0.18.1.jar") doesn't work

@erkansirin78
.config("spark.jars","/home/erkan/spark/mmlspark_jars/com.microsoft.ml.spark_mmlspark_2.11-0.18.1.jar") doesn't work
this doesn't work because you are missing the lightgbm jar, you actually need to have two jars specified there

Hello, I have the same problem
`from mmlspark.lightgbm import LightGBMRegressor
ModuleNotFoundError: No module named 'mmlspark.lightgbm._LightGBMRegressor'`
Cluster runs on GCP Dataproc.
mmlspark is installed from PIP
gcloud dataproc clusters create "models-cluster"
--num-secondary-workers=0 --num-workers=0
--region=europe-west2
--metadata 'PIP_PACKAGES=scikit-learn lightgbm google-cloud-storage PyYAML mmlspark'
--initialization-actions gs://goog-dataproc-initialization-actions-europe-west2/python/pip-install.sh
--image-version=1.4
SparkSession looks that way (configs copied from mmlspark repo)
spark = SparkSession.builder.appName('Models')
.config("spark.jars.packages", "com.microsoft.ml.spark:mmlspark_2.11:1.0.0-rc3")
.config("spark.jars.repositories", "https://mmlspark.azureedge.net/maven")
.getOrCreate()
@imatiach-msft could you please help?

@erkansirin78
.config("spark.jars","/home/erkan/spark/mmlspark_jars/com.microsoft.ml.spark_mmlspark_2.11-0.18.1.jar") doesn't work
this doesn't work because you are missing the lightgbm jar, you actually need to have two jars specified there

I think the problem is not the lightgbm jar. When I use the option spark.jars.packages, the mmlspark can auto generate and register the wrapper correctly. But when I use the option spark.jars, the mmlspark.jar can not auto generate the wrapper. Is there something we need to modify when we import the jar?

@MarsXDM ,
thanks for the tip. Actually, this is what worked for me below...
import pyspark
spark = pyspark.sql.SparkSession.builder.appName("MyApp")\
    .config("spark.jars.packages", "com.microsoft.ml.spark:mmlspark_2.11:1.0.0-rc1")\
    .config("spark.jars.repositories", "https://mmlspark.azureedge.net/maven")\
    .getOrCreate()
import mmlspark

Run this in a jupyter notebook after you've installed pyspark

@MarsXDM ,
thanks for the tip. Actually, this is what worked for me below...
import pyspark
spark = pyspark.sql.SparkSession.builder.appName("MyApp")\
    .config("spark.jars.packages", "com.microsoft.ml.spark:mmlspark_2.11:1.0.0-rc1")\
    .config("spark.jars.repositories", "https://mmlspark.azureedge.net/maven")\
    .getOrCreate()
import mmlspark

Run this in a jupyter notebook after you've installed pyspark

@goodwanghan sorry about the trouble you are having. You need to run the autogen to autogenerate the wrappers, _LightGBMClassifier is automatically generated from the scala API.

Has this been resolved? Looking at the github there is no _LightGBMClassifier or _LightGBMRegressor modules, which are called in the program. I am trying to use this in Databricks and have not found a solution anywhere. Advice? Thanks

Nothing works for me. Databricks, Spark 2.4.5, Python 3.7.3
ModuleNotFoundError: No module named 'mmlspark.lightgbm._LightGBMRegressor'

@anivlam please try this walkthrough with pictures on databricks:
https://docs.microsoft.com/en-us/azure/cognitive-services/big-data/getting-started#azure-databricks
for spark 2.4.5 you can use rc1 to rc3 releases.  For latest spark 3.0 you will need to use a build from master:

For example:
Maven Coordinates
com.microsoft.ml.spark:mmlspark_2.12:1.0.0-rc3-76-aad223e0-SNAPSHOT
Maven Resolver
https://mmlspark.azureedge.net/maven

Has anyone gotten this to work in Jupyter notebook? I've tried all the above spark session create statements, nothing works. Still stuck with the same error:
from mmlspark.lightgbm import LightGBMRegressor
ModuleNotFoundError: No module named 'mmlspark.lightgbm._LightGBMRegressor'
Using pyspark 2.4.3

@imatiach-msft I installed mmlspark lightgbm by pip and the issue happeded. I move the lightgbm files in mmlspark/lightgbm to site-packages/mmlspark/lightgbm, then the issue is gone. Following the guide here : https://www.pythonf.cn/read/177095


Emoji shortcodes different after updating to Hugo 0.120.x

I'm not sure if this really qualifies as a bug report, but it severely breaks a lot of blog posts of my website (and potentially others as well). I believe Hugo changed the emoji extension for the markdown parser with 0.120.0, which just uses a different set of emoji shortcodes.
Some examples:

:information: → :information_source: (for ℹ)
:downcast_face_with_sweat → :sweat: (for 😓)

To be honest, I don't even know if there is a "standard" for emoji shortcodes, but that's still a breaking change if you heavily rely on emojis on your website.
Was this intended? Maybe this should be added as a breaking change in the release notes? Or is there some other solution out there that could help with the migration from the old shortcodes to the new ones?
What version of Hugo are you using (hugo version)?

$ hugo version
hugo v0.120.3-a4892a07b41b7b3f1f143140ee4ec0a9a5cf3970+extended darwin/arm64 BuildDate=2023-11-01T17:57:00Z VendorInfo=brew

Does this issue reproduce with the latest release?
Yes.

Yes, we made a breaking change to emoji processing in v0.120.0. Although referenced in the release notes, the effects of the change are not enumerated. I apologize for the change, but it was necessary for reasons unrelated to shortcode interpretation.
While emojis are somewhat standardized through the Unicode Consortium (https://home.unicode.org/emoji), the shortcodes used to represent them are not. The mapping of shortcode to character depends on the implementation, resulting in (globally) multiple  shortcodes mapped to the same character, and the possibility of name collisions. To give you an idea of the size of this mess, our prior implementation included 1675 aliases, which is both absurd and unmanageable.
The closest thing we have to an emoji shortcode standard is GitHub's implementation.
In v0.120.0 we transitioned emoji processing to the goldmark-emoji extension for Goldmark, Hugo's default markdown renderer. Goldmark is fast, accurate, and well-maintained. It adheres to the CommonMark specification, and is compatible with GitHub Flavored Markdown (GFM).
Hugo supports GitHub's emoji shortcodes, with the exception of shortcodes that are unique to GitHub (e.g., :octocat:).
Here is the the list of supported shortcodes:
https://github.com/ikatyang/emoji-cheat-sheet/#readme
There are 1877 shortcodes (including 43 aliases), 22 of which are unique to GitHub.
Again, sorry for the change, but it was necessary.

No worries, thank you for the detailed explanation and references. They help me a lot for the transition.


Build fail for iOS: library not found for -lAppAuth

I know this isn't a bug with Flutterfire, but I was hoping someone here has run into the same issue that I have. I am trying to build a Flutter app that uses Firestore, Cloud Functions, and Auth to upload to the App Store. I can use Flutter to build for iOS without problems, but finishing the build in Xcode fails. I have opened Runner.xcworkspace and built from there as well as using Fastlane. The build fails in the link stage with the error ld: library not found for -lAppAuth after a whole bunch of warnings such as
ld: warning: directory not found for option '-L/Users/jpsheehan/Library/Developer/Xcode/DerivedData/Runner-dbsrfhxjslbqvrhhrsdoiilfifvz/Build/Products/Release-production-iphoneos/AppAuth'
ld: warning: directory not found for option '-L/Users/jpsheehan/Library/Developer/Xcode/DerivedData/Runner-dbsrfhxjslbqvrhhrsdoiilfifvz/Build/Products/Release-production-iphoneos/BoringSSL-GRPC'
ld: warning: directory not found for option '-L/Users/jpsheehan/Library/Developer/Xcode/DerivedData/Runner-dbsrfhxjslbqvrhhrsdoiilfifvz/Build/Products/Release-production-iphoneos/FirebaseAuth'
...

Does anyone have recommendations for how to fix this?

Hi @mentoc3000
This platform is not meant for assistance on personal code.
Please see https://flutter.dev/community for resources and asking questions like this, you may also get some help if you post it on Stack Overflow.
Closing, as this isn't an issue with Flutter itself,
if you disagree please write in the comments and I will reopen it
Thank you


Spruce up ASSERT macros

Use pretty function printing to show what func it failed in.

Changing wording to more closely match built in assert().

Make DASSERT simply define to built in assert(), which has the
advantage compiling without warnings and running correctly with Cuda!
The ASSERT (works in debug mode as well) and [D]ASSERT_MSG macros
still are not Cuda friendly because they specifically mention stderr.

Updated to address @fpsunflower's comments.

better now?

LGTM!


fix: prevent getServerURLPromise from being resolved more then once

fix A promise was resolved even though it had already been resolved. error when AV.init called more then once.

[Current coverage][cc-pull] is 65.39%

Merging [#330][cc-pull] into [master][cc-base-branch] will increase coverage by <.01%

@@             master       #330   diff @@
==========================================
  Files            29         29
  Lines          2942       2945     +3
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           1924       1926     +2
- Misses         1018       1019     +1
  Partials          0          0

Powered by Codecov. Last updated by [dafc245...d50c3fe][cc-compare]
[cc-base-branch]: https://codecov.io/gh/leancloud/javascript-sdk/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/leancloud/javascript-sdk/compare/dafc2459e8bd0be0a8cd884e3be7444daa7f5f22...d50c3feff500a47e0fe19de22e9c082d3312b83c?src=pr
[cc-pull]: https://codecov.io/gh/leancloud/javascript-sdk/pull/330?src=pr


Image Path Not Found. Native Exception Error Nativescript Android

From @maniacube on February 23, 2017 14:28
Tell us about the problem
When we are uploading images using "nativescript-imagepicker" & "nativescript-background-http", selecting images from gallery and binding to imageView control and then uploading is working fine in iOS but we are getting native exception error  in android. We are done it with the following code.
selected.getImage().then(function(imagesource){
                    let folder = fsModule.knownFolders.documents();
                    let path = fsModule.path.join(folder.path, "Test"+new Date().getTime()+".png");
                    let saved = imagesource.saveToFile(path, "png");

                    if(saved){
                       console.log("New image path:"+path);
                       let newPath="file://"+path;
                    }
                });

Please help us to resolve it. Thanks.
Platform(s)
Android
Copied from original issue: NativeScript/NativeScript#3699

Hi @maniacube,
I tested your case with sample-ImageUpload sample app, however, was unable to reproduce any issues while using nativescript-imagepicker and nativescript-background-http plugins.
Regard to that It will help if you could give us more info about your problem and the exception, which you receive.


Bug: first event is always executed regardless of scheduled time

Sometimes if the events are very sparse, no events should happen in the duration of the simulation.
However, I think there is currently a bug and always the first event is executed.
Example
julia> clock = Clock()
Clock 1: state=:idle, t=0.0, Δt=0.01, prc:0
  scheduled ev:0, cev:0, sampl:0

julia> event!(clock, () -> @info("Hi there"), 5) # event that shouldn't happen

julia> run!(clock, 3)
[ Info: Hi there #event happened however
"run! finished with 1 clock events, 0 sample steps, simulation time: 3.0"

Tested with
(jl_nMF7ya) pkg> st
Status `/tmp/jl_nMF7ya/Project.toml`
  [127e53a7] DiscreteEvents v0.3.5
  [1986cc42] Unitful v1.17.0

See: https://github.com/JuliaDynamics/DiscreteEvents.jl/issues/54

Okey I close this as duplicate.


Omit parameters and annotations unless specified for package create/update.

Description
When using package create/update, omit the parameters and annotation fields unless specified explicitly. This avoid overwriting previously saved values.
Related Issue
Closes #77.

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] I have signed the Adobe Open Source CLA.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

LGTM


If @RefreshScope is added, @Scheduled does not work any more

The code works fine if @RefreshScope is not added on top of class, but when I add it under @Component annotation the method is not called any more.
I use spring boot 1.2.4.RELEASE. Also, tried with 1.3.1.RELEASE. Same result.
//@RefreshScope //Uncomment to break the runner
@Component
class Runner1 {

    @Value('${developer:Runner1}')
    private String developerName;

    public String getDeveloperName() {
        return developerName
    }

    @Scheduled(fixedDelayString = '${runner1.sleep:1000}', initialDelayString = '${runner1.initialDelay:1000}')
    public void main() {
        println("In runner one: developer name: $developerName")
    }
}

Notice: application.properties has:
spring.aop.proxyTargetClass=true
spring.aop.proxy-target-class=true

Attached is the sample project. To recreate the issue uncomment @RefreshScope
spring-config-client-sample.zip
Please let me know if you need anything else.

Not sure if there was any traction on this. Still seems to be an issue with spring boot 1.4.2.

@edeandrea if you think there is a bug, please open a new issue, not one that was closed last year.


eth_feeHistory pending block tag fix

Jira ticket
I discovered that the error happens in this line when the height parameter is greater than the current SC height which always happens in the last iteration when input block tag is pending.  As a result, a block is null and NullPointerException happens when we try to access the block header. My proposed solution includes block null check and in the last iteration uses previously computed requestedBlock which contains information on pending block.

@saratnt Done, feeHistory returns default value now (new EthereumFeeHistoryView()) on input block pending
Maybe we could solve the issue then by not including the pending block in the rewards array, and keep the rest till that block

@ddrvar About your comment "Maybe we could solve the issue then by not including the pending block in the rewards array, and keep the rest till that block", it is a possibility but I think it is clearer for the user that we cannot provide info for "pending" if we don't return nothing. In addition, I think the same result can be obtained requesting "latest", so it is not like the user doesn't have other way to obtain the same info. But this is just my opinion. Maybe we can check what other blockchains do in this case or ask Victor what is his opinion.

I checked a couple of other blockchains and from what I understood none of them support pending input block, and compute it as the latest tag.

Erigon - get pending block and its receipts returns null (source). Also, the tests concerning pending functionality are commented out (source)
Geth - it was difficult to determine, but it seems to depend on backend it is connected to, not exactly sure (source). One of them returns null for pending blocks and receipts, while others return correct result and include rewards as well (source1, source2, source3). Additionally, they have tests that cover pending block tag case (source)
Hyperledger - they compute pending tag as if it latest (source). Also, the tests don't cover the pending tag at all (source)

@ddrvar Good analysis! Now we can ask Victor his opinion.

As per Victor's comment, we decided to return the same result as the latest for the pending block. Tests updated accordingly.
I realize that I have not been clear in my description of how Erigon handles pending block tag, but they do it in the same way as Hyperledger. I updated Victor about it just to be on the same page with the solution which he confirmed.

@davehorizen extended python test with specific block number test case, as well as 'earliest' block tag


iOS 13.4.1 Blank Screen after the splash screen

Please provide all the information requested. Issues that do not follow this format are likely to stall.
Description
The app shows a blank screen after the initial splash screen is loaded. It's happening for iOS 13.4 and above, this issue does not happen in iOS v10.3.1 and iOS v11.4.

React Native version:
System:
OS: macOS 10.15.3
CPU: (4) x64 Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz
Memory: 354.32 MB / 16.00 GB
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 12.16.2 - /usr/local/bin/node
Yarn: 1.22.4 - /usr/local/bin/yarn
npm: 6.14.4 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.9.1 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 13.4, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
Android SDK:
API Levels: 23, 28, 29
Build Tools: 28.0.3, 29.0.2, 29.0.3
System Images: android-28 | Google Play Intel x86 Atom, android-29 | Google APIs Intel x86 Atom
Android NDK: Not Found
IDEs:
Android Studio: 4.0 AI-193.69<IP_ADDRESS>26763
Xcode: 11.4.1/11E503a - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_252 - /usr/bin/javac
Python: 2.7.16 - /usr/bin/python
npmPackages:
@react-native-community/cli: Not Found
react: 16.11.0 => 16.11.0
react-native: 0.62.2 => 0.62.2
npmGlobalPackages:
react-native: Not Found
Steps To Reproduce
Expected Results
The app loads as expected
Snack, code example, screenshot, or link to a repository:

Update: It was fixed after turning off "Supports multiple windows"


Page and entry for New-CsOnlineSession missing

Hello,
wanted to raise an issue/question for New-CsOnlineSession as it was now added to MicrosoftTeams.
It is not linked in this page, nor is available as a separate page:
https://docs.microsoft.com/en-us/powershell/module/teams/new-csonlinesession?view=teams-ps
My question has been added to the Skype variant, which may not be the best thing, my apologies:
https://github.com/MicrosoftDocs/office-docs-powershell/issues/6997
Can this be rectified please?
Cheers,
David

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

ID: 6804423b-8e08-5916-9355-6bebe8bb08b0
Version Independent ID: aa669763-6470-cc61-ea8d-52aee886f986
Content: MicrosoftTeamsPowerShell Module
Content Source: teams/teams-ps/teams/teams.md
Service: teams-powershell
GitHub Login: @SerdarSoysal
Microsoft Alias: serdars

Hello @DEberhardt David,
How are you?
I will propose adding the cmdlet to this index article, and if it gets approval, it will be reflected on the published version of the article.
Thanks for your feedback.

Thank you :)
Get Outlook for Androidhttps://aka.ms/ghei36

From: Kateyanne<EMAIL_ADDRESS>Sent: Monday, December 28, 2020 9:06:53 PM
To: MicrosoftDocs/office-docs-powershell<EMAIL_ADDRESS>Cc: David Eberhardt<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/office-docs-powershell] Page and entry for New-CsOnlineSession missing (#6998)
Closed #6998https://github.com/MicrosoftDocs/office-docs-powershell/issues/6998 via #7005https://github.com/MicrosoftDocs/office-docs-powershell/pull/7005.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/office-docs-powershell/issues/6998#event-4153068263, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKR5CJBPWW6GBXX6NLLXYBLSXDXO3ANCNFSM4VCRHLFQ.

No, bit, this can stay closed^^


Crashes consistently on Sankey diagrams

Seems very unstable in the upgraded desktop and using Neo4j 4.2+.  Many of the chart types don't work or cant render labels properly.

Do you have any sample queries that you can share which are crashing the app?

Using MacOS Catalina 10.15.7
Neo4j 4.2.3, Desktop 1.4.1
Updated Chart App 1.0.7, all permissions granted
encounter problems right away
having created a test dashboard, clicking on Help crashes the app.  Restarting the app does not recover the dashboard, and it has to be recreated.
MATCH (actor:Person)-[:ACTED_IN]-(m:Movie)-[:DIRECTED]-(director:Person)
WITH actor.name AS from, director.name AS to, COUNT(DISTINCT m) AS value
RETURN from,to,value ORDER BY value DESC

App crashes and dashboard is lost

Perfect, thanks.  When the app crashes can you open up the Developer > Developer Tools and check for errors?

Sankey
It looks like the Sankey charts don't like circular references.  The error is thrown by the underlying library so it can't be caught and turns the screen white which is frustrating.  If I use this query instead it works:
MATCH (actor:Person)-[:ACTED_IN]-(m:Movie)-[:DIRECTED]-(director:Person)
WHERE actor <> director
WITH actor.name AS from, director.name AS to, COUNT(DISTINCT m) AS value
RETURN from, to, value ORDER BY value DESC

I've added a check to remove circular references.
Help Page
Same problem with the Help page - for some reason the library supplies some invalid styles to a Transition component  which throws an error - I've disabled animation which will hopefully solve the issue.

Issues Saving & Opening
Are you opening the app in Neo4j Desktop?
If so, when the app opens it will look for graphpanel-dashboards.json and graphpanel-queries.json file in the current active project (the project with the current active database).  Every time you change something, this file should be updated. If you switch active databases then the file may be saved to another project.  When the app loads, it checks for files with these names in the active project and loads them into memory.  This is done by a GraphQL query - so there may be an error message in the Network tab of Developer Tools.
If you're not using Neo4j Desktop then the information is saved to local storage in the browser.
Feel free to drop me an email on adam at neo4j.com or send me a message on the Slack channel if you want to into more depth on this

Hi Adam - Thanks for taking a look.  I updated using your latest build - still seeing issues.  I am launching through the desktop.  Help is crashing the app, and updating the Sankey queries to remove the circular references didn't fix the crash issue.  I don't see anything coming through in the logs that was informative.  I am not seeing the .json files being created in /project folders.

got the same issues as the original author regarding help and missing .json files.


Fix the expansion error issue

longhorn/longhorn#5169

https://ci.longhorn.io/job/private/job/longhorn-tests-regression/2819/

@Mergifyio backport v1.4.x


Filled Circle without overlapping border?

Hi
Is it possible to get a filled circle and not having the border overlapping inside the filled area?
something like that:
http://i.imgur.com/3B36HDV.png
I couldn't see any option for that and don't understand why is it default like that.
thanks a lot

Yes, you can use the data-fill (with your desired colour) and `data-bgcolor="transparent" properties  to achieve this.


change message log level of unknown RTP extension

Stop spamming to console and logs when unknown RTP extension type is used.

I would be very interested to see what kind of RTP extension you are receiving.
Do you have a log or network trace ?
in any case, I suggest that we remove the logline.

Oh it is just the software from https://www.technicadelarte.com/ (Luci Live, Luci Studio, ARD muPro App, ...) which is just a kind of buggy.
They just set a wrong extension type.
stream: unknown ext type ignored (0x4c53)


Potential leak of notebook outputs

Debugging notebook memory usage, I noticed that this code is rendering markdown but not dealing with the resulting disposables:
https://github.com/microsoft/vscode/blob/955a1aca9a2e4473eec4f4bdc70506a3a7c43ca7/src/vs/workbench/contrib/notebook/browser/view/output/transforms/textHelper.ts#L40
This seems to cause a notebook output data buffer to be retained even after the notebook is closed

One more potential case (although I don't see it causing leaks):
https://github.com/microsoft/vscode/blob/b88a5c3286ecd3bf0cfec222b6d18fcc23464ce1/src/vs/workbench/contrib/notebook/browser/view/renderers/cellOutput.ts#L808

@mjbvz what are some verification steps for this issue?


⚠ ClamAV has degraded performance

In 8c7f7c7, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 210 ms

Resolved: ClamAV performance has improved in 2d839d6.


evaluation code

Sir, can you provide the other evaluation code like Average Drop/Incr. in Confidence/Insertion /Deletion ?Thanks a lot!

Sorry, evaluation code is currently not part of this repo.
Could consider adding in the future.


Strange key storage...

Given the import map of:
{
  "imports": {
    "/~/": "./lib/"
  }
}

One would expect the keys of import maps modules to be:
vec!["/~/"]

But instead, you will get:
vec!["file:///~/"]

I am not aware of anything in the spec that requires it to be that way, but I might be wrong.

@kitsonk I looked into this a bit and it's resolved from the base url. So if the base url of the import map is https://deno.land then it will resolve as https://deno.land/~/. I think this code probably needs to be updated: https://github.com/denoland/deno/blob/7eee521199e9735ab7c347d99e9d90ba3046be1a/cli/lsp/completions.rs#L214-L221

In https://github.com/denoland/import_map/pull/31 I'm making it so the raw key and values are stored internally. Maybe it would be useful here?


Driver tool does not automatically select known models for HP

The tool automatically selects the known models for every other brand except HP. Can't seem to figure out why. Running version 7.1.9

I have the same issue. Is there any solution?

Same for me...I don't know if it ever worked (just took over SCCM) but we are moving to 22H2 and I'm starting to think I'm going to have to get a list of models from SCCM and manually find them all.

`
$SiteServer = "YourSiteServer.fqdn"
$SiteCode = "YourSiteCode"
$HPKnownModels = (Get-WmiObject -ComputerName $SiteServer -Namespace "root\SMS\site_$SiteCode" -Query "Select Distinct Manufacturer, Model from SMS_G_System_COMPUTER_SYSTEM Where (Manufacturer = 'Hewlett-Packard' or Manufacturer = 'HP') and Model not like '%Proliant%'" | Select-Object -ExpandProperty Model) | Sort-Object | Get-Unique -AsString
$HPKnownBaseBoardValues = (Get-WmiObject -ComputerName $SiteServer -Namespace "root\SMS\site_$SiteCode" -Query "Select Distinct Product from SMS_G_System_BASEBOARD Where (Manufacturer = 'Hewlett-Packard' or Manufacturer = 'HP') and Product not like '%Proliant%'" | Select-Object -ExpandProperty Product) | Sort-Object | Get-Unique -AsString
if ($HPKnownBaseBoardValues.Count -lt 1) {
$HPKnownBaseBoardValues = (Get-WmiObject -ComputerName $SiteServer -Namespace "root\SMS\site_$SiteCode" -Query "Select Distinct BaseBoardProduct from SMS_G_System_MS_SYSTEMINFORMATION Where (BaseBoardManufacturer = 'Hewlett-Packard' or BaseBoardManufacturer = 'HP') and SystemProductName not like '%Proliant%'" -ErrorAction SilentlyContinue | Select-Object -ExpandProperty BaseBoardProduct) | Sort-Object | Get-Unique -AsString
}`
What happens if you guys run the code above? This code is from the "DriverAutomationTool.ps1" line 13953 -> 13959

I added a write output for the knownmodels and baseboardvalues
variables and it seemed to get all the known models; the baseboards
output file was empty.
On Wed, Nov 30, 2022 at 9:00 AM HermanGB @.***> wrote:

`
$SiteServer = "YourSiteServer.fqdn"
$SiteCode = "YourSiteCode"
$HPKnownModels = (Get-WmiObject -ComputerName $SiteServer -Namespace "root\SMS\site_$SiteCode" -Query "Select Distinct Manufacturer, Model from SMS_G_System_COMPUTER_SYSTEM Where (Manufacturer = 'Hewlett-Packard' or Manufacturer = 'HP') and Model not like '%Proliant%'" | Select-Object -ExpandProperty Model) | Sort-Object | Get-Unique -AsString
$HPKnownBaseBoardValues = (Get-WmiObject -ComputerName $SiteServer -Namespace "root\SMS\site_$SiteCode" -Query "Select Distinct Product from SMS_G_System_BASEBOARD Where (Manufacturer = 'Hewlett-Packard' or Manufacturer = 'HP') and Product not like '%Proliant%'" | Select-Object -ExpandProperty Product) | Sort-Object | Get-Unique -AsString
if ($HPKnownBaseBoardValues.Count -lt 1) {
$HPKnownBaseBoardValues = (Get-WmiObject -ComputerName $SiteServer -Namespace "root\SMS\site_$SiteCode" -Query "Select Distinct BaseBoardProduct from SMS_G_System_MS_SYSTEMINFORMATION Where (BaseBoardManufacturer = 'Hewlett-Packard' or BaseBoardManufacturer = 'HP') and SystemProductName not like '%Proliant%'" -ErrorAction SilentlyContinue | Select-Object -ExpandProperty BaseBoardProduct) | Sort-Object | Get-Unique -AsString
}`
What happens if you guys run the code above? This code is from the "DriverAutomationTool.ps1" line 13953 -> 13959
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>


WARNING: netcdf4 product for routine that makes \tilde{CEi} has distribution data and CEi data in different frames

The distributions frame can be fixed in post, and has no impact on training of CNN, as we don't train we it
It seems the correlation data is in the correct frame tho
Irregardless, we should fix this for consistency

Fixed


terminal output tab - autoopen problem

Issue Type: Bug
terminal output tab everytime opens and shows info about parsing files, when I close tab, it reopens after delay
VS Code version: Code 1.36.1 (2213894ea0415ee8c85c5eea0d0ff81ecc191529, 2019-07-08T22:55:08.091Z)
OS version: Linux x64 4.15.0-64-generic

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-3230M CPU @ 2.60GHz (4 x 2086)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwareoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: disabled_softwareskia_deferred_display_list: disabled_offskia_renderer: disabled_offsurface_synchronization: enabled_onvideo_decode: unavailable_offviz_display_compositor: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
0, 0, 0

Memory (System)
3.68GB (0.25GB free)

Process Argv
--unity-launch

Screen Reader
no

VM
0%

Extensions (3)

Extension
Author (truncated)
Version

gitlens
eam
9.9.3

php-intellisense
fel
2.3.13

smarty
imp
0.3.0

/needsMoreInfo
Does this occur with all extensions disabled? (F1 > Developer: Restart With Extensions Disabled or code --disable-extensions)
(Note that you are on an older version of VS Code, please update.)

i am also facing the same problem. it is very much annoying

@dextar1 Does this occur with all extensions disabled? (F1 > Developer: Restart With Extensions Disabled or code --disable-extensions)

It's not opens again yet, I will try it, for more info logs come from PHP Language Server, is it mean that problem in extensions?

/causedByExtension
Yes, please file an issue with the PHP extension you have installed.

@chrmarti this has already been filed on the PHP extension. vscode-languageserver-node has an option on when to reveal the output panel, and it defaults to OnError. The users who reported the issue reported that there was no error in the output channel. Therefor this seems to be a VS Code bug.
https://github.com/felixfbecker/vscode-php-intellisense/issues/65#issuecomment-534503296

It feels like there should be a way to disable this automatic opening, even on error, when using extensions which do a lot of parsing, like vscode-php-intellisense - perhaps a global option that stops the tab being opened on errror, and a report of error counts on the bottom status bar which when clicked opens the output window?

@felixfbecker this is actually fully under your control. The default is that the LSP client reveals the output channel if an error is logged into it. However when creating the client you can set this to Never. (see https://github.com/Microsoft/vscode-languageserver-node/blob/master/client/src/client.ts#L339).
If this doesn't work for you please open an issue in the vscode-languageserver repository.

Just to be clear: the output channel comes to front if an error is logged to it which for example is the case when a server errors a response.

According to the comment linked above, there was no error in the output channel (I can't personally reproduce it, I'm only forwarding)

How does the output panel look like?
VS Code has no error concept in output channels. It is LSP specific (e.g. vscode-languageserver)

What you mean, saying how it's looks like?

here it is again
but as far as I understand it's extension error because, this error was occured when I deleted the folder, so why extension look for files which are not exists

Can you just add an option to not auto switch even if there is an output, because i have the same issue.  I really like the idea of an integrated terminal, but i have to use iterm2 for now because of this bug :(

Can you just add an option to not auto switch even if there is an output, because i have the same issue.  I really like the idea of an integrated terminal, but i have to use iterm2 for now because of this bug :(

How to add this option?

@ashot11091950 Seems like it is not a VS Code bug, its just a plugin "PHP Language Server" that is calling the reveal output aggressively. You have to report the issue to them. Until then you can just disable the PHP plugin, to find it just disable all the PHP one by one until the issue stops :)


Fixes #187 : new tokens

As I have been trying out this fantastic project, I have bumped into an issue similar to #187. After a few bits of digging and rummaging the source code, logging everywhere. I tried looking up where this project was ported from.
And so, I began looking into sigalor/whatsapp-web-reveng. I tried looking up where the tokens were defined. Lo and behold, there are a few missing tokens.
So I took the liberty to add the tokens myself. After adding the tokens. Error is no more.
TL;DR Few missing tokens which was not updated from sigalor/whatsapp-web-reveng.

@SchulteMK

@SchulteMK Do you approve of this?

@zethnest I would like to know how did you spot this?
Since I don't have any problem login in and scanning the QR!

I joined the WhatsApp Beta. I don't know if this is the cause of the issue. Signing in is not a problem, but the error still shows. It bugs me. So I put logs everywhere to trace back where the error come from. I got to decoder.go under readString. Go forward and back from decoder.go and #187, got the idea that it was token. I tried checking upstream of project, which is sigalor/whatsapp-web-reveng. Tried looking into token.go and found some differences.


Rename project and publish in add-on store?

Being that adam-p/markdown-here is completely abandoned, how about figuring out a new name for this fork and publishing it at addons.thunderbird.net?
I suggest a simple name: markdown-here-next

@ReekyMarko, @neilmayhew, all this really takes is for someone to publish some fork and make sure the docs and the published add-on and repo point to each other. Who is going to do it? (if no one else wants to I could take a hack at it at some point).

I don't think this code is currently in a fit state to be published as an add-on. The preferences dialog doesn't work at all, and the basic editing functionality is flaky. I was hoping that this fork would provide a place for people to submit PRs to fix this, and we would see about publishing it once those problems were fixed. Unfortunately, no one has contributed any fixes yet. I'd like to try it myself, but I really don't have the expertise or the time for it at the moment. It's a pity, because I found this extension extremely useful in the past when it was working well.

First things first, if you have the time, open up issues with detailed reproducible steps. Who knows, maybe someone with the right skills and time to work on them will come along and fix them.
It really is a pity. I don't have the time right now either, maybe sometime during this year but that's a big if.


Design system initial structure

Initial setup for our future components:

Rollup setup
Tests setup with jest and enzyme
SCSS architecture for global and component styles

We can also discuss here proposals for different architectural decisions and possible frameworks.
cc @nefertiter

Storybook is also something we could look into


Round EEGLAB latencies

Closes #4954
@mmagnuski

We also need to only warn if we get one that is == -1, and raise error if any are < -1

I'm not sure I completely understood the issue. What if the sample index is .7?

0.7 will round to 1.0, get -1'ed to 0 and be fine
0.4 will round to 0., get -1'ed to -1 and emit a warning
So yes the warning vs not will depend on the level of downsampling but really we just want to make sure people inspect their data in the case that there is a -1 (we are not trying to warn about fractional samples themselves) so it's okay

Uh sorry, I meant, what if it's -.7. It'll get rounded to -1, and then ..?

then it gets -1'ed to -2 and there is an error. EEGLAB should not give such negative samples

Ahhhh right.
Did I ever mention I almost didn't get my high school diploma because I got a really bad math grade?

Should I add a test? I guess it would be one of these where we need to create and write a mat file, i.e., longer than the rest of this PR ...

Yes a test would be good and probably not so terrible to add actually. Wait until my EEGLAB PR is merged and it should be a one-line change to one of the existing savemat calls followed by a with pytest.warns(RuntimeWarning, match="negative): or so

Ok

@larsoner , you meant this one right: #5326
So I should finish this one now?

ugh what did I do


Improve curry performances

Issue : fix #316

Codecov Report

Merging #317 into dev will decrease coverage by 0.74%.
The diff coverage is 76.92%.

@@            Coverage Diff             @@
##              dev     #317      +/-   ##
==========================================
- Coverage   96.81%   96.07%   -0.75%
==========================================
  Files         107      107
  Lines         377      382       +5
==========================================
+ Hits          365      367       +2
- Misses         12       15       +3

Impacted Files
Coverage Δ

packages/immutadot/src/core/apply.js
59.09% <100%> (ø)
:arrow_up:

packages/immutadot/src/core/curry.js
76.92% <75%> (-23.08%)
:arrow_down:

Continue to review full report at Codecov.

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

Some explanation:
fixedArity's only purpose is performance.
It might or might not truncate extra arguments.
So no assumption should be made on whether extra arguments will or will not be truncated.
To be honest, I tried implementing a consistent behavior (truncating args when fixedArity is true and all args are sent at once, using args.slice(0, arity)), but it had significant impact on performance...

Results here: https://github.com/Zenika/immutadot/issues/299#issuecomment-443363082


Payout Not Occurring for Miner, Woodcutter, Digger, and Hunter

Description of issue: Miner, Woodcutter, Digger, and Hunter do not pay out nor do they update at all. (No progress is made performing actions for that job)
Running Jobs4.16.2 although issue occurred initially on Jobs4.16.1

CONFIG SECTION (DELETE IF NOT RELEVANT):
`
[PasteBin of jobsconfig](https://pastebin.com/S2jeDmvq)
[PasteBin of generalconfig](https://pastebin.com/iNSrkABq)
`

Server Type (Spigot/Paperspigot/etc):Spigot
Server Version (using /ver):CraftBukkit version git-Spigot-988b411-aa8206a (MC: 1.16.3) (Implementing API version 1.16.3-R0.1-SNAPSHOT

Just to note, i have looked at previous tickets and have tried the solutions to no avail. The worlds are enabled. The permissions, jobs.use and jobs.world.worldnamehere are given for each world. pay near spawner is also set to true.

Also wanted to note i have the latest version of vault (1.7.3) and essentials x (<IP_ADDRESS>)

Are you sure that you're not on Creative world?
Make sure that you're in survival mode not in creative.
Re-enable allow-pay-for-durability-loss in generalConfig, if you don't understand what this option do.

Haha smh, i had disable the durability loss config setting because in the way way older config, i was confused about the meaning. Thanks for solving my dumb mistake.


refactor parsing of updatedPurchaseOrderJson

Instead of reading the marc file a second time to add instance and holdings info, iterate over updatedPurchaseOrderJson array.

Need to undo this refactoring.  In the second loop, the marc record is still needed to created the identifiers, contributors, and to save in the SRS


Latex math support in markdown preview

Validations

[X] I believe this is a way to improve. I'll try to join the Continue Discord for questions
[X] I'm not able to find an open issue that requests the same enhancement

Problem
Latex math isn't rendering
Seems like this has been attempted before but isn't working reliably for anything more complex than e.g. x^2
See example here
https://discord.com/channels/1108621136150929458/1310668425093451848/1310668425093451848
Solution
No response

Some thoughts and tinkering on this
latex expression start/end delimiters:
recognized by remarkMath:

single dollar signs: start $ end $

see attached image for issue this can frequently cause whenever any message contains more than one $ (even with line breaks!)

inline double dollar signs: start $$ end $$

causes truncation issues in remarkMath:

newline double dollar signs: start $$\n end $$\n

not recognized by remarkMath:

square brackets: start [ end ]
parentheses: start ( end (
\begin{equation} ... \end{equation}
\begin{align} ... \end{align}
\begin{gather} ... \end{gather}
\begin{math} ... \end{math}
\begin{displaymath} ... \end{displaymath}

a robust output solution could be to add a message to the system prompt requesting to use "double inline dollar sign syntax for all latex math output", and then disable single dollar sign support in the remarkMath plugin (its only option)
downsides:

will probably make the model way more likely to unnecessarily output latex
not very what-you-see-is-what-you-get
adds tokens

a safer parsing solution might be to replace all delimiters except brackets and parentheses with inline $$ and only replace single $ in the case that they are closed with another $ inline
downsides

doesn't handle common case of square brackets and parentheses (replacing these with $ would be extreme and cause frequent wonky output)
not very what-you-see-is-what-you-get

perhaps the best overall solution would be to add a config.ui boolean enableLatexMath (default false) that people can turn on if they are working with latex, and perhaps combine with the parsing option above.
This is more what-you-see-is-what-you-get but less beautiful out of the box. Would eliminate unexpected latex output with multiple $, etc. Also would eliminate problem where awkwardness with asking model to write latex and not seeing delimiters
all being said, I think latex math output in a coding environment is somewhat edge casey, and for now I will just do a minor fix for the $$\n truncation issue, since I think the options without a UI config option are signicifant what-you-see-is-what-you-get violations

@Patrick-Erichsen mentioned:

The "robust" solution is interesting. I guess I'm uncertain how casually we want to add instructions to the system prompt for misc formatting things like this. Unnecessary latex output would also be my concern.
The config option is also nice, and agreed that it's probably a small subset of people that are frequently working with latex.
Overall I think I lean towards the sys prompt though just to avoid chat feeling "broken" as the default experience for folks working with latex. Worst case is we start to notice unnecessary latex output and we remove it.


Add tests for the parser

I wrote this suite of tests while working on elm-format, and thought it would be good to port them over to elm-compiler.  This will allow refactoring of the parser to be done more safely, and will also let me track any subtle syntax changes that happen between versions so that elm-format can be properly updated.

@evancz thoughts on whether you think this is worthwhile?

Seems pretty useful right about now, given the recent issues filed about regressions! 😄
cc @evancz

Yes! And all of the new parser regressions should be added to the test suite if it doesn't catch them already.

Actually, I think this is not what we want to do.  These unit tests that expect on the parsed AST have been extremely brittle and painful to maintain in elm-format.  I think this PR should be dumped, and instead there should be more tests of the type that already exist: having example Elm files, and simply verify that they compile (and/or verify that they produce a specific js output).


Constant assignment in non-static methods

Consider this Mirah code:
class Foo
	def foo
		CONSTANT1 = 1
		puts "a"
	end

	def self.bar
		CONSTANT2 = 2
		puts "b"
	end

	class << self
		def baz:void
			CONSTANT3 = 3
			puts "c"
		end
	end

	CONSTANT4 = 4

	def self.p
		puts CONSTANT1
		puts CONSTANT2
		puts CONSTANT3
		puts CONSTANT4
	end
end

Foo.p
Foo.baz
Foo.p

When compiling and executing, what should be the result?

    0
    0
    0
    4
    c
    0
    0
    3
    4

    1
    2
    3
    4
    c
    1
    2
    3
    4

Compilation error

It turns out that option 1. is what currently is implemented. This effectively means that constants are not constants but class variables, such as @@CONSTANT1.
To make constants actually constant, we should decide for either 2. (allow constant assignment in methods, but the actual assignments happens in a static initializer) or 3. (prohibit constant assignment in methods).
As 2. provides only marginal benefit (more locality of where code is defined to where it is used) and substantial cause for confusion (the right-hand-side of the constant assignment is not evaluated during method invocation, but it looks like being evaluated during method invocation), I'd vote for 3.

My vote would be to make upper case constants to always have  behaviour.
Allow to define and initialize them in self.initialize or implicit self initialize:
class Foo
   CONSTANT1 = 1
   def self.initialize
      CONSTANT2 = 2
   end
   class << self
        def initialize:void
            CONSTANT3 = 3
           # CONSTANT2 = 2  -> compile time error at clean step
        end
    end
end

I see two options for an upper cased @@XXXX fields
 @@CONSTANT

Option#1: always infer @@ fields as private static nonfinal no matter what case are they. Let public nonfinal access to be implemented via optional macro:
class Foo
   self_attr_accessor NON_FINAL:int
end

that generates:
class Foo
   self.NON_FINAL:int
      @@NON_FINAL
   end

   self.NON_FINAL_set(value:int):void
      @@NON_FINAL = value
   end
end

Option#2: infer @@ fields as private static nonfinal by default.  Implement modifiers (macro/or parser) to widen access:
class Foo
   public @@CONSTANT1 = 1 # public nonfinal
   private final @@serialVersionUID = 1 # private final
   private volatile @@
   public final @@CONSTANT3 = 1 # effectively same as just CONSTANT3. So we could remove  'upper cased constant' support entierly
   def self.initialize
      @@CONSTANT1 = 1 # ok
      @@CONSTANT3 = 1 #
   end
end

I'd vote for Option#2

One aspect of your option#2 already works out of the box:
class Foo
	class << self
		attr_accessor NON_FINAL:int
	end
end

This declares a private static non-final field NON_FINAL and public static accessor methods NON_FINAL():int as well as NON_FINAL_set(value:int).
Modifiers on ConstantAssignment are currently missing, as far as I know.
So you suggest to keep constants private by default? Does this mean that you do not suggest to make constants public by default anymore, as you did here?

good catch about class level attr accessor. In https://github.com/mirah/mirah/issues/400#issuecomment-167204447 I meant the least effort option. Option#2 I guess would take more efforts to imlement, but in my opinion more consistent.


Extremely long operation names when viewing from different machine

I recently transferred my guild runs to a different machine using the export/import functionality.
When viewing runs with guild view or guild runs list commands, the operation names are prepended with the relative path to the relevant guild.yml file. Since the operations I imported are from a completely different file system, it tries to include the full path, which is extremely long and prevents me from seeing any relevant details (example below). I can see why having the path may be useful in some instances (although I would be happy to remove it entirely), but is there any way of resetting these paths to the relevant folder on my current machine?
[23:3daaad98]  dqn:train
[24:d61e2fa6]  dqn:train
[25:7bf8346e]  .../andrew/Documents/PhD/symbolic-goal-generation/ikostrikov:trai
[26:7bf83220]  .../andrew/Documents/PhD/symbolic-goal-generation/ikostrikov:trai
[27:7bd80658]  .../andrew/Documents/PhD/symbolic-goal-generation/ikostrikov:trai

Comment re op format (independent of the import issue raised but related to the long display name)...
It's not clear there's any real advantage to full path following .../. The pattern .../ is simply a replacement for the backward path ../../../ (and so on) to the common ancestor. The original thinking was, as the path shared a common ancestor, it would be helpful to see the full path from that ancestor.
In practice, I don't know if that path provides enough signal to overcome the noise. In my eye I just see "bunch of text".
In conjunction with the import fix, we should consider using .../ with the last directory only. So the above example would be:
[23:3daaad98]  dqn:train
[24:d61e2fa6]  dqn:train
[25:7bf8346e]  .../symbolic-goal-generation/ikostrikov:train
[26:7bf83220]  .../symbolic-goal-generation/ikostrikov:train
[27:7bd80658]  .../symbolic-goal-generation/ikostrikov:train

One could still get the full path to the operation via guild runs info.
Note again, this comment is not related to the import problem described above. It does mitigate the extremely long operation name problem.

Re the import problem, this is tricky. Guild currently saves the full absolute path to the operation source in the run opref attribute (under RUN_DIR/.guild/opref). This is Guild's link to the defining operation (e.g. Guild file, package, script, etc.) If this reference is broken, it's generally not a problem as the run is self-sufficient. There are limited cases where Guild will use that reference to get the latest config for the run operation (e.g. when comparing runs to find the current list of compare specs).
On export and import, obviously the absolute path scheme breaks across systems. Even a relative path scheme breaks. Really we don't want to include the local opref data in the exported run as it no longer applies.
The tricky part is that this now complicates export, which is otherwise a trivial copy of the unmodified directory. There is no simple way to modify the copy in flight and preserve the convenience of file system copies (e.g. using rsync, scp, cp, etc.) This would require a staging area for each copy.
A few notes that occur to me:

oprefs should include relative paths to the defining operation/scripts - this doesn't solve our problem but it seems more correct than storing these refs as absolute paths
Don't attempt to modify runs on export - modifying targets has widespread complexity and performance implications (I think)
If we're going to fix the opref, do it on import - we can apply these updates after any generic file copy operation
(Possibly) provide a command to associate run(s) with a project - this logic could potentially be applied with an option to the import command (e.g. guild import LOCATION --adopt - or something similar) or perhaps as default with an option to skip the logic (completely unsure here)

Okay, Guild got a bit of an overhaul in the way it displays operations.
https://github.com/guildai/issues/tree/master/issue-34
This will land in 0.6.6 and is available for preview in 0.6.6.dev5.
Note that these changes to not address the problem of orphaned or misplaced runs due to path differences across systems. This is strictly the "op names too long" problem.
I'll create a separate issue for orphaned runs.

Tested this - I like the new display (especially the fact the path comes after the model name). One thing to note is that the location qualifier is not displayed for batch runs - I'm not sure if this is expected or not, but doesn't bother me at all.

Great! I'm glad you like the new display. Thanks for the heads up on the batch runs. There's a technical/pedantic reason there's no path there (technical that operation is the batch, which is built-in and doesn't have a path) but I think that's confusing :) I'll get that into the final of 0.6.6.


Interface to jxcore

Thanks for publishing this project which you announced in nodejs/nan#437! It definitely looks much easier than following nodejs.org/api/addons.html and I can see some advantages over existing NAN API as well. The JXCore project supports multiple JS engines (currently V8 and SpiderMonkey) which is essential for supporting multiple mobile platforms. They made their own JS native interface as documented in https://github.com/jxcore/jxcore/tree/master/doc/native and it looks like a major feat for supporting multiple JS engines. It would be great if this project would support JXCore as well.
I am planning look into this in the next week or so, will keep you posted. I am raising this issue in case any others will have input.

I was just looking into what it would take to support Cordova, but it would seem to require Java or Objective C glue code between the C++ and JavaScript. From a quick look at their roadmap it seems JXcore is doing something on that front, thank you very much for mentioning them. I'd be very interested in any way to support native code on mobile in addition to the existing Node.js and upcoming Emscripten, by just plugging another interface to nbind.
I've already got a nice technology stack of nbind, Polymer, SystemJS and TypeScript working on Electron and would like to take that to both browser and mobile. Emscripten will handle all platforms but native would be much better on mobile, as I guess asm.js is not there yet.
I'll try to find time to post about nbind implementation details on my blog but right now I'm very busy working on the Emscripten support. I just finished a pretty major refactoring and now the code is starting to look reasonable for supporting other environments besides Node.js.

I've added some documentation about the internals at https://github.com/charto/nbind/blob/feature/emscripten-support/INTERNALS.md if you want to look at nbind's source code.

So it seems for example on iOS JXcore runs its own SpiderMonkey and can talk to Cordova, which runs JavaScriptCore and can handle showing things on the screen. For connecting C++ to the UI, JXcore seems to be a rather heavy bridge.
I was also thinking of using React Native instead. It also runs JavaScriptCore and has a web view, but the UI elements should be much nicer and more performant than anything doable in HTML. This would seem to require some Objective C or Java glue code, but probably not that much.
First the JavaScript and C++ have to know that both are initialized, and then the C++ side can send class information (ID numbers, names and ID numbers of method argument types) to JavaScript through the bridge. JavaScript can generate wrappers dynamically and the rest of the communication is just about exchanging numbers and strings. Once the Android version of React Native comes out, things should work similarly over a Java bridge.
Is there a particular reason to using JXcore? At least the jxcore-cordova code would be a good reference how to write a bridge between C++ (as used in JXcore) and Objective C or Java (as used in Cordova).

You are absolutely right that JXCore uses its own SpiderMonkey (for iOS), and I do not think it is such a good thing either. For iOS mobile apps, React Native would be much nicer. Also did you see Native Script by Telerik, which seems to provide more general-purpose binding and already supports Android (with Windows Mobile coming in the future)?
To be honest, I will probably not use nbind in the near future. The Node.js addon and NAN can also support a factory for a new object with native function member(s), which I did not find in this project unless I am mistaken. Also this project seems to marshall all object members between Javascript and native code, which is not necessary for NAN. It would be a really nice enhancement to get this working someday in the future.

Object members are marshalled when passed by value. Otherwise if you return a stack-allocated object to JavaScript, there's no place for it to go (other than the heap). There's still features missing, it at least will support constructing objects through and passing objects using pointers, which causes any access from JavaScript to call C++ functions (not sure how that works now, as it's not in any tests).
Marshalling is a convenience for asm.js, since its garbage collector doesn't call any destructors. In nbind, C++ preferably receives and returns stack-allocated objects, and they're automatically destroyed and converted into JavaScript objects, which do get garbage collected. This prevents memory leaks. Also, if the object will be frequently accessed from JavaScript, it's faster to not call getters and setters from C++. This is really meant for small objects like a coordinate pair, not big ones like a tree structure.


Adding documentation for list

RELEASE_NOTES=[DOCUMENTATION] Document list flags
Signed-off-by: Yolan Romailler<EMAIL_ADDRESS>

Codecov Report

Merging #1526 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1526   +/-   ##
=======================================
  Coverage   60.46%   60.46%
=======================================
  Files         219      219
  Lines       12130    12130
=======================================
  Hits         7334     7334
  Misses       3987     3987
  Partials      809      809

Continue to review full report at Codecov.

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


Add Admin module Feature

any plans to include admin module with role guard, the core functionality of admin are parent/child crud operation.

Hello @zeusmos, could you expand on what you mean with "admin module" ? Is it something like this ?

yes, the main AppRoutingModule should have AuthGuard to LoadChildren AdminRoutingModule and the AdminModule will have it’s own routing module - AdminRoutingModule and the routes to its admin only child components eg:-(dashboard, user management etc... should have few CRUD functionality)

@zeusmos I am unsure as to what you want to accomplish here. To me it looks like you only need to use the requested route in the canActivate function and respond accordingly. You can have a look at the docs : https://angular.io/api/router/CanActivate
Also, route guards only affect the client side of the application, they are completely unrelated to CRUD functionality. CRUD APIs should be protected server-side.

i know that is correct, but i was looking if you can add few templates e.g. if an user with admin role logs in a new menu item should show and has access to admin screens and a regular user will be restricted to access these screen. also with few templates for admin role like form entry screen and a datatable screen has master/detail page having datasource from a mock data or from a firebase database api.

Oops, missed that one sorry! 😞
I stand with @bursauxa on this one, it might be too context-specific in both how to present and to implement it, like using RBAC or something else.
This might be a good addition to the doc, though I would definitely approve a PR for that 😉


CellGuide Survey Banner

Add the survey and subscription banner to CellGuide pages
User Stories:
As a user, I want to sign up to the CxG newsletter or take a survey on the CellGuide Landing Page.
As a user, I want to sign up to the CxG newsletter or take a survey on any cell type I select.
As a user, I want to see the CellGuide Roadmap when I click on the banner.
Figma Link - https://www.figma.com/file/ArNTXphy0CNBZLwb6O4YEW/CellGuide?type=design&node-id=1597-74351&mode=design&t=TJFrmcMINuu8f66V-0

@atarashansky closing as well as complete


Fontsize in math class

Hello,
I have rst files on which rst2pdf used to work fine a few years back,
but now I get the following error:
(ERROR/3) Error in "math" directive: unknown option: "fontsize".
around text like this in the rst files:
.. math::
    :fontsize: 12

The manual hasn't been updated:
The math directive supports the following options:
:fontsize:
Sets the font size used in the math directive. By default it will use the paragraph's font and size.
so I am not sure whether the syntax has changed or the feature isn't supported anymore.

Sorry, wrong repo.


Support Bundler/Gemfile "require as"

Input
In our Gemfile we have this line:
gem 'sprockets-rails', '~> 3.0', :require => 'sprockets/railtie'

According to https://bundler.io/man/gemfile.5.html#REQUIRE-AS

Require As
Each gem MAY specify files that should be used when autorequiring via Bundler.require. You may pass an array with multiple files or true if file you want required has same name as gem or false to prevent any file from being autorequired.

In this example the Gem is called 'sprockets-rails' but we don't require 'sprocket-rails' but rather require 'sprockets/railtie'.  Another example is the yajl-ruby Gem which should be loaded as require 'yajl' and not as require 'yajl-ruby'.
Observed output
We get errors like
LoadError: cannot load such file -- archive-zip
LoadError: cannot load such file -- aws-sdk
...
LoadError: cannot load such file -- sprockets-rails

from
https://github.com/sorbet/sorbet/blob/e2afb16e14f5931e9a7f1f214a1b65e86eb71918/gems/sorbet/lib/gem_loader.rb#L570
and more specifically
https://github.com/sorbet/sorbet/blob/e2afb16e14f5931e9a7f1f214a1b65e86eb71918/gems/sorbet/lib/gem_loader.rb#L587
Expected behavior
I think we can avoid these LoadErrors if we require the supplied name or names in the Gemfile.

In #1104 we skip Gems that are marked require: false since those are not auto-loaded at all.  Many of our test dependencies (e.g. rubocop, simplecov) are marked as required: false so we only load them explicitly and as we need them.
Something that I don't fully understand: when we've executed https://github.com/sorbet/sorbet/blob/e2afb16e14f5931e9a7f1f214a1b65e86eb71918/gems/sorbet/lib/gem_loader.rb#L574
The deps array contains autorequire information.  For example, from my setup:
(byebug) deps[12]
<Bundler::Dependency type=:runtime name="sprockets-rails" requirements="~> 3.0">
(byebug) deps[12].autorequire
["sprockets/railtie"]

But by the time we reach https://github.com/sorbet/sorbet/blob/e2afb16e14f5931e9a7f1f214a1b65e86eb71918/gems/sorbet/lib/gem_loader.rb#L585 where we do the require that autorequire information is gone:
(byebug) l =

[580, 589] in /Users/bob/.rvm/gems/ruby-2.4.9/gems/sorbet-0.4.4794/lib/gem_loader.rb
   580:     specs.sort_by(&:name).each do |gemspec|
   581:       begin
   582:         require_gem(gemspec.name)
   583:       rescue LoadError => e
   584:         byebug
=> 585:         puts "LoadError: #{e}"
   586:       rescue NameError => e
   587:         puts "NameError: #{e}"
   588:       end
   589:     end
(byebug) gemspec.name
"sprockets-rails"
(byebug) gemspec.autorequire
nil

Full gemspec below:
(byebug) gemspec
#<Gem::Specification:0x00007fc85c5b70d0 @extension_dir=nil, @full_gem_path=nil, gem_dir=nil, @ignored=nil, @bin_dir=nil, @cache_dir=nil, @cache_file=nil, @doc_dir=nil, @ri_dir=nil, @spec_dir=nil, @spec_file=nil, @gems_dir=nil, @base_dir=nil, @loaded=false, activated=false, @loaded_from="/Users/bob/.rvm/gems/ruby-2.4.9/specifications/sprockets-rails-3.2.1.gemspec", @original_platform=nil, @installed_by_version=#<Gem::Version "2.7.10">, autorequire=nil, @description=nil<EMAIL_ADDRESS>homepage="https://github.com/rails/sprockets-rails", @name="sprockets-rails", post_install_message=nil, @rubyforge_project=nil, @signing_key=nil, @summary="Sprockets Rails integration", @version=#<Gem::Version "3.2.1">, @authors=["Joshua Peek"], bindir="bin", @cert_chain=[], @date=2017-08-31 00:00:00 UTC, @dependencies=[<Gem::Dependency type=:runtime name="sprockets" requirements=">= 3.0.0">, <Gem::Dependency type=:runtime name="actionpack" requirements=">= 4.0">, <Gem::Dependency type=:runtime name="activesupport" requirements=">= 4.0">, <Gem::Dependency type=:development name="railties" requirements=">= 4.0">, <Gem::Dependency type=:development name="rake" requirements=">= 0">, <Gem::Dependency type=:development name="sass" requirements=">= 0">, <Gem::Dependency type=:development name="uglifier" requirements=">= 0">], @executables=[], @extensions=[], @extra_rdoc_files=[], @files=[], licenses=["MIT"], @metadata={}, @platform="ruby", @rdoc_options=[], @require_paths=["lib"], required_ruby_version=#<Gem::Requirement:0x00007fc85c5b52a8 @requirements=[[">=", #<Gem::Version "1.9.3">]]>, @required_rubygems_version=#<Gem::Requirement:0x00007fc85c5b6018 @requirements=[[">=", #<Gem::Version "0">]]>, requirements=[], @rubygems_version="2.7.10", @specification_version=4, @test_files=[], new_platform="ruby", @full_name="sprockets-rails-3.2.1", @source=#<Bundler::Source::Rubygems:0x70249139788600 rubygems repository https://rails-assets.org/, https://rubygems.org/ or installed locally> sprockets-rails-3.2.1>

I believe dmitry meant that Stripe doesn't use require: ... so we'd have no intrinsic motivation to implement it.

... Does Stripe use something else (like Shopify/tapioca)? ...

Did you try tapioca? It should be doing the right thing out of the box. Let us know on the repo if you are having problems with tapioca for some reason.

Going to close this in favor of Tapioca
https://sorbet.org/blog/2022/07/27/srb-tapioca


Override id member default convention

Hi, as far as I know currently the only way to override id member convention is to add attribute [Identity] in the document class field / property.
Is there any other way to achieve that (e.g. fluent declaration on store options?).
It would be nice if such fluent api would be available:
DocumentStore.For(storeOptions =>
{
    storeOptions.Schema<TDocument>().IdMember(...)
});

Hello. It is done in 1.5 version.
https://github.com/JasperFx/marten/issues/709

Thanks a lot!


docarray code execution through Jupyter Notebook

Is your feature request related to a problem? Please describe.
At the moment, to run the python code in the docarray tutorial, the user has to copy the code snippet  and execute the code in the local machine. This process is time consuming and error prone.
Describe the solution you'd like

Write a Jupyter Notebook for the code examples, so that they are directly runnable.

@Keertiraj we will make this a priority in the documentation for DocArray v2

Btw having the possibility to run our documentation in notebook will allow us to actually test that all of our documentation snippets can be run by running the notebook in our CI.
Issue like https://github.com/docarray/docarray/issues/1108
and https://github.com/docarray/docarray/issues/1109 would have been catch earlier for instance

I agree with this comment. IMO we should have a google colab button on each documentation page that will open the same page in a colab where users can interact directly.
@alexcg1 FYI

I like it. Just bear in mind that someone has to be responsible for maintaining it. We used to have a lot of Colab notebooks, but it's easy to lose track of them and let them get code rot


running 0.0.8 encrypted data is empty

I get the error panic: encrypted data is empty
I downloaded the resource.zip and extracted the key files.
Are there other resources I need?  It appears to be looking for agent.jar.enc
This tool is provided specially for Typical Society forum and shipped AS IS.
This tool is open source and can be used by anyone.
Please note, this tool is only for demonstrating and non commercial use,
if you love some software - buy it and use freely.

Visit: https://forum.losper.net/

Press 'Enter' to continue...
1. Patch (default flow)
2. Smart (but not clever) patch everything that is running
3. Exit
4. Cleanup mode: : On
0. Show info
2
Attention! Working in cleanup mode. This will not actually patch anything, just cleanup other agents! Disable cleanup mode to patch
Run all products that you want to patch and press enter...

Searching for products...
Found 1 products
Will patch these products:
GoLand(/home/<user>/.config/JetBrains/GoLand2023.1/goland64.vmoptions)
Press enter to continue...

panic: encrypted data is empty

goroutine 1 [running]:
jetbrainser/src/cryptor.Decrypt({0x0, 0x0, 0x0})
        /home/<user>/Documents/brainser/src/cryptor/crypt.go:32 +0x111
main.getResource({0x572360?, 0x9?})
        /home/<user>/Documents/brainser/src/app/helpers.go:59 +0xad
main.checkAgentExists({0x0, 0x0, 0x5a6de0?})
        /home/<user>/Documents/brainser/src/app/helpers.go:126 +0x33
main.doPatch({0xc00034b5a3, 0x3d}, {0xc000239a70, 0x2a}, {0x0, 0x0}, 0x1)
        /home/<user>/Documents/brainser/src/app/patch.go:48 +0x392
main.doAutoPatch({0xc0001a51a0?, 0xc0001a2008?}, {0xc0001ac1b0?, 0x1, 0x1?})
        /home/<user>/Documents/brainser/src/app/item_patch_smart.go:54 +0x2f6
main.item_patch_procs()
        /home/<user>/Documents/brainser/src/app/item_patch_smart.go:37 +0x4e8
main.menu_loop.func2(0x547e60?, {0xc0001aa0f8, 0x5, 0x0?})
        /home/<user>/Documents/brainser/src/app/menuloop.go:68 +0x1ca
main.menu_loop()
        /home/<user>/Documents/brainser/src/app/menuloop.go:83 +0x305
main.main()
        /home/<user>/Documents/brainser/src/app/app.go:6 +0x17
<user>@1AK0050UK:~/Documents/brainser$

Contents of the zip must be put under the directory
src/app/resources_enc
i.e: src/app/resources_enc/something.txt.enc

The resources I have contain key files resources/*.key so I must have the wrong ones.
I found them from your post on losper https://losper.net/topic/283-activation-instruction-jetbrains/?do=findComment&comment=979
Can you put the correct files or explain how these need modifying please?

I've added new resources file, download it from the same topic on the forum
and put under src/app/ so it will be src/app/resources_enc
пн, 8 мая 2023 г. в 14:11, junkloader52 @.***>:

The resources I have contain key files resources/*.key so I must have the
wrong ones.
I found them from your post on losper
https://losper.net/topic/283-activation-instruction-jetbrains/?do=findComment&comment=979
Can you put the correct files or explain how these need modifying please?
—
Reply to this email directly, view it on GitHub
https://github.com/p1ratrulezzz/brainser/issues/16#issuecomment-1538187925,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABGJQFKCKVY6CSZEQBXD2E3XFDIEXANCNFSM6AAAAAAXZETOFM
.
You are receiving this because you commented.Message ID:
@.***>


ll

links are nor rendered in the criteri-catalog topic headings
inlcuded criteria catalog selenium tests into the CI
updated the dump to include the newest dump with the updated criteria catalog

new criteria catalog is not translated at the moment
tests were modified according to that

deleted commented code in test_main_page and test_criteria_catalog


How to open a Tensorflow <= 2.0 Legacy Model ?

So I have this really old model (2018) which I want to visualize in tensorboard. For that purpose I need to open/load it of course.
I have the following files:
checkpoint
model.data-00000-of-00001
model.index
model.meta
I have no model definition or anything else. I only find legacy approaches to open this with a session, which does not work anymore.
Is there a way to do it in tensorflow 2.0? I tried installing tensorflow 1.13 in a virtual environment but it's not working since a lot of dependencies on system side changed during the the years (cython, cuda, ...). Maybe you guys know a better way to do this.
Disclaimer: I have only a very very basic understanding of tensorflow, I really just want to visualize the model, no training or anything else.

Hi @asusdisciple ,
We are not supporting 1.x versions. For migration to Tf2.x  please refer the attached guides migrate_tf2, script and other guides here.


[Feature Request] Shuffle and unshuffle queue

What is the need and use case of this feature?
As an app user, listening to a playlist (queue) of audio files, I want to shuffle the queue so it's not always the same. And if I turn shuffle off I want the original queue order resumed.
Describe the ideal solution

Activating the shuffle feature would randomly shuffle a copy of the current queue and queue this new list of shuffled tracks for playback, with the currently playing track (if any) at index 0, and all done without affecting playback of any track currently in progress.
Deactivating the shuffle feature would restore the original queue order, continuing in the queue from the now currently playing track (which may be different from the track which was playing when shuffle was first activated). Again without affecting playback of any currently playing track).
Adding or removing tracks to and from the queue would operate as normal. The queue would only be "shuffled" when the feature is first turned on.

Example queue, shuffle off, default:

Track A
Track B <- (currently playing)
Track C
Track D

Example queue, shuffle activated:

Track B <- (currently playing)
Track D
Track C
Track A

Example queue, shuffle deactivated:

Track A
Track B <- (currently playing)
Track C
Track D

Describe alternatives you've considered
Coding this logic myself in JS, but would get messy quickly.
Additional context
Just like how the shuffle feature works in Apple Music, both from tapping "Shuffle" on the Playlist view (when nothing currently playing), and tapping the shuffle Icon in the Player screen during playback.
How I can Help
I can offer a $500 USD bounty for this feature to be fully developed (if the core team consider it a suitable feature for RNTP).
Thoughts??

I think shuffle is a useful feature to add to the lib. I suppose my question is: Is the best place to implement it in JS or native?
If the KotlinAudio and SwiftAudioEx libraries would also benefit from shuffle, then I suppose it's best to handle it natively and expose an API to RNTP. But it's a question for @dcvz
Are you able/willing to do any implementation?

@bradleyflood I don't see this being implemented soon unless you're able to spearhead development. As such I'm going to add it to the feature backlog.

For future reference, this task would probably mainly entail porting this to iOS (and windows?): https://github.com/google/ExoPlayer/blob/03569f9e6536e6c60cb585115d6d7352a4deab71/library/core/src/main/java/com/google/android/exoplayer2/source/ShuffleOrder.java
Not trivial to do.. but would be nice to have at some point

I have the same shuffle need, a search of "shuffle" brought me here. I found that at least in android, removing tracks using trackPlayer.remove() that are not the currentTrack will not interrupt playback; so I put together two functions in trackPlayer.ts that are probably not ideal but seems to make shuffling work for me. to shuffle I would call trackPlayer.shuffle() and store the returned list, to turn off shuffle I call  trackPlayer.setQueueUninterrupted() with the stored list, or whatever your app's playlist management logic.
I'm probably overcomplicating things by not using removePreviousTracks() and removeUpcomingTracks(), but removePreviousTracks seems android exclusive. Though I don't have a mac, can't comment on how trackPlayer.remove() behaves on iOS.
/**
 * shuffles the current Queue. The method returns a pre-shuffled Queue,
 * to revert shuffling, use setQueueUninterrupted().
 */
export async function shuffle(): Promise<Track[]> {
  const currentQueue = await getQueue();
  const shuffledQueue = [...currentQueue].sort(() => Math.random() - 0.5);
  await setQueueUninterrupted(shuffledQueue);
  return currentQueue;
}

/**
 * This is a combination of removePreviousTracks() and removeUpcomingTracks().
 * To set the player's queue without playback interruption, remove
 * all tracks with remove() that are not the activeTrackIndex. The current
 * track will be automatically shifted to the first element. Then, splice tracks that
 * the currentTrack is at the first element, and add the spliced tracks.
 * @param tracks
 */
export async function setQueueUninterrupted(tracks: Track[]): Promise<void> {
  // if no currentTrack, its a simple setQueue
  const currentTrackIndex = await getActiveTrackIndex();
  console.debug('setQueueUninterrupted: currentTrackIndex is valid? ', currentTrackIndex);
  if (currentTrackIndex === undefined) return await setQueue(tracks);
  // if currentTrack is not in tracks, its a simple setQueue
  const currentQueue = await getQueue();
  const currentTrack = currentQueue[currentTrackIndex];
  const currentTrackNewIndex = tracks.findIndex(
    // define conditions to find the currentTrack in tracks
    (track) => track.url === currentTrack.url
  );
  console.debug(
    'setQueueUninterrupted: currentTrackIndex is present? ',
    currentTrackNewIndex,
    tracks,
    currentTrack
  );
  if (currentTrackNewIndex < 0) return await setQueue(tracks);
  // else, splice that all others are removed, new track list spliced
  // that the currentTrack becomes the first element.
  // eslint-disable-next-line prefer-const
  let removeTrackIndices = [...Array(currentQueue.length).keys()];
  removeTrackIndices.splice(currentTrackIndex, 1);
  await remove(removeTrackIndices);
  const splicedTracks = tracks
    .slice(currentTrackNewIndex + 1)
    .concat(tracks.slice(0, currentTrackNewIndex));
  console.debug('edited tracks', splicedTracks);
  await add(splicedTracks);
}


Migrate from travis to jenkins.io

What has been done

Replaced Travis CI (https://travis-ci.org/) with Jenkins CI (https://ci.jenkins.io/).
Preserved Findbugs step (check how others run it on jenkins.io)

Reason

Building Jenkins plugin on Jenkins (jobs for other plugins on ci.jenkins.io)
Avoid build limits on Travis - The job exceeded the maximum time limit for jobs, and has been terminated. (failing build)

How to test
https://ci.jenkins.io/ performs a scan of every Jenkins plugin (check the logs here).
This is how logs looked like before integration
Proposing fabric-beta-publisher-plugin
22:50:26 GitHub API Usage: Current quota has 1101 remaining (3 under budget). Next quota of 5000 in 13 min
22:50:26 Connecting to https://api.github.com using jenkinsadmin/****** (GitHub access token for jenkinsadmin)
Examining jenkinsci/fabric-beta-publisher-plugin

  Checking branches...
22:50:26 GitHub API Usage: Current quota has 1099 remaining (1 under budget). Next quota of 5000 in 13 min

  Getting remote branches...

    Checking branch master
      ‘Jenkinsfile’ not found
    Does not meet criteria
22:50:26 GitHub API Usage: Current quota has 1097 remaining (1 over budget). Next quota of 5000 in 13 min. Sleeping for 26 sec.
22:50:52 GitHub API Usage: Current quota has 1097 remaining (26 under budget). Next quota of 5000 in 13 min

  1 branches were processed

  Checking pull-requests...
22:50:52 GitHub API Usage: Current quota has 1097 remaining (26 under budget). Next quota of 5000 in 13 min

  Getting remote pull requests...

  0 pull requests were processed

Finished examining jenkinsci/fabric-beta-publisher-plugin

Thank you for adding Jenkins CI 👍
We should leave Travis too – no harm in that.

https://github.com/jenkinsci/fabric-beta-publisher-plugin/pull/35#issuecomment-429610103 ok, dropped appropriate commit.


Cuda build with only AVX instruct detection bug.

Run and quit immediately. Build on intel 2600k support only AVX.
With -v debug info.
System Info:
    BLAS = 1
    SSE3 = 1
    AVX = 1
    AVX2 = 1
    AVX512 = 0
    AVX512_VBMI = 0
    AVX512_VNNI = 0
    FMA = 1
    NEON = 0
    ARM_FMA = 0
    F16C = 1
    FP16_VA = 0
    WASM_SIMD = 0
    VSX = 0

from this -> https://github.com/leejet/stable-diffusion.cpp/issues/39#issuecomment-1705208304
edit stable-diffusion.cpp/ggml/src/CMakeLists.txt file by comment all avx2 and build. It will works with my AVX only CPU.


HDDS-7997. [HTTPFSGW] Change ozone-filesystem to a runtime dependency for HttpFS

What changes were proposed in this pull request?
I changed the ozone-runtime dependency scope to runtime in the HttpFS module and as a result of in the docker environments with HttpFS I could remove the ozone-filesystem-hadoop3 jar from the classpath.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-7997
How was this patch tested?
Built the project successfully, also manually tested the docker environments locally.
green CI on my fork: https://github.com/dombizita/ozone/actions/runs/4257933078

Please pay attention to the commit message when merging PRs.  If the PR has a single commit, by default its message is used instead of the PR title.


prismaOrderBy error when 2 or more fields selected for ordering

The query will error if you select 2 or more fields for ordering. It's fine when you select one field. I am using MongoDB. Do you have any idea why?
The Code
const ItemOrderBy: InputRef<Prisma.itemsOrderByWithRelationInput> =
  builder.prismaOrderBy('items', {
    fields: () => ({
      id: true,
      category: true,
      name: true,
      createdAt: true,
    }),
  });

builder.queryField('getItems', (t) =>
  t.prismaField({
    type: ['items'],
    authScopes: {
      isAuthenticated: true,
    },
    args: {
      order: t.arg({ type: ItemOrderBy }),
    },
    nullable: true,
    resolve: async (query, root, args, context) => {
      const result = await db.items.findMany({
        where: {
          userId: { equals: context?.currentUser?.userId as string },
        },
        orderBy: args.order ?? undefined,
      });
      return result;
    },
  })
);

The Query
query MyQuery {
  getItems(orderBy: {name: Asc, category: Asc}) {
    barcode
    cost
    name
    modifiedAt
  }
}

The Error
  156 },
  157 nullable: true,
  158 resolve: async (query, root, args, context) => {
→ 159   const result = await db.items.findMany({
          where: {
            userId: {
              equals: "hUptwpzLiZY8GKocyZTiCbORrCF3"
            }
          },
          orderBy: {
            category: "asc",
            name: "asc"
          }
          ~~~~~~~~~~~~~~~~~
        })

Argument `orderBy`: Invalid value provided. Expected itemsOrderByWithRelationInput[], provided Object.
    at xn (/Users/chrisianfiel/Projects/graphql-server/node_modules/@prisma/client/runtime/library.js:116:5852)
    at vn.handleRequestError (/Users/chrisianfiel/Projects/graphql-server/node_modules/@prisma/client/runtime/library.js:123:6429)
    at vn.handleAndLogRequestError (/Users/chrisianfiel/Projects/graphql-server/node_modules/@prisma/client/runtime/library.js:123:6119)
    at vn.request (/Users/chrisianfiel/Projects/graphql-server/node_modules/@prisma/client/runtime/library.js:123:5839)
    at l (/Users/chrisianfiel/Projects/graphql-server/node_modules/@prisma/client/runtime/library.js:128:9763) {
  path: [ 'getItems' ],
  locations: [ { line: 2, column: 3 } ],
  extensions: [Object: null prototype] {}

I also tried to change it to an array.
    args: {
      order: t.arg({ type: [ItemOrderBy] }),
    },

But I got a different error.
  157 },
  158 nullable: true,
  159 resolve: async (query, root, args, context) => {
→ 160   const result = await db.items.findMany({
          where: {
            userId: {
              equals: "hUptwpzLiZY8GKocyZTiCbORrCF3"
            }
          },
          orderBy: [
            {
              category: "asc",
              name: "asc"
            }
          ],
          ~~~~~~~~~~~~~~~~~~~
          take: undefined
        })

Argument `orderBy`: Invalid value provided. Expected itemsOrderByWithRelationInput, provided (Object).
    at xn (/Users/chrisianfiel/Projects/graphql-server/node_modules/@prisma/client/runtime/library.js:116:5852)
    at vn.handleRequestError (/Users/chrisianfiel/Projects/graphql-server/node_modules/@prisma/client/runtime/library.js:123:6429)
    at vn.handleAndLogRequestError (/Users/chrisianfiel/Projects/graphql-server/node_modules/@prisma/client/runtime/library.js:123:6119)
    at vn.request (/Users/chrisianfiel/Projects/graphql-server/node_modules/@prisma/client/runtime/library.js:123:5839)
    at l (/Users/chrisianfiel/Projects/graphql-server/node_modules/@prisma/client/runtime/library.js:128:9763) {
  path: [ 'getItems' ],
  locations: [ { line: 2, column: 3 } ],
  extensions: [Object: null prototype] {}
}

making it an array should work, but you need to pass your orderBy as separate objects:
orderBy: [{ category: "asc" }, {  name: "asc" }]

@hayes thanks! What do you mean by passing my orderBy as separate objects? By the way, I tried the sample code above. It works, but I need to use the args variable so that it would be dynamic.

You made the graphql argument a list, but it looks like you only passed one object into the list with multiple properties.  You need to write your query with a list of objects for the order by with only 1 property per object

@hayes Thanks! For reference for others, I have changed the query like this.
query MyQuery {
  getItems(orderBy: [{ category: Asc }, {  name: Asc }]) {
    category
    cost
    name
  }
}


feat: add Microsoft Clarity integration and correct typo in websiteId…

feat: add Microsoft Clarity integration and correct typo in websiteId variable

Added Microsoft Clarity analytics integration in the WebAnalytics component.
Fixed a typo in the UmamiAnalytics component: changed 'websitId' variable to 'websiteId'.

Property 'microsoft' does not exist on type '{ enable: boolean; google: { measurementId: string; }; umami: { serverUrl: string; websiteId: string; }; }'

You may need to update the src/config.json file


[bug]: foreground and background don't change when toggle dark mode

Describe the bug
when I toggle dark mode,  foreground and background don't change .

Affected component/components
none
How to reproduce

init nextjs project
init shadcn
set up dark mode
click on the mode toggle button
click the dark

Codesandbox/StackBlitz link
https://codesandbox.io/p/github/sapenlei/global-style-demo/main
Logs
No response
System Info
Darwin <IP_ADDRESS> 23.6.0 Darwin Kernel Version 23.6.0
root:xnu-10063.141.2~1/RELEASE_ARM64_T6020 arm64

Before submitting

[X] I've made research efforts and searched the documentation
[X] I've searched for existing issues

Did you manage to find a solution? Im having the same problem.

Did you manage to find a solution? Im having the same problem.

https://github.com/shadcn-ui/ui/pull/4922
wait to merge