[Improve][Manager] There is so much Warning info when compiling the Manager module

Description
There is so much Warning info when compiling the Manager module.

InLong Component
InLong Manager
Are you willing to submit PR?

[ ] Yes, I am willing to submit a PR!

Code of Conduct

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

search Builder.Default  in https://github.com/apache/inlong/runs/7461166731?check_suite_focus=true can see the complete log.

@dockerzhang This is a good idea! I would like to do this.

@liangyepianzhou thanks, it was assigned to you.


question about vscode

VSCode Version: Code 1.15.1 (41abd21afdf7424c89319ee7cb0445cc6f376959, 2017-08-16T18:07:25.676Z)
OS Version: Windows_NT x64 10.0.15063
Extensions: none

Steps to Reproduce:

@Paparazzijie What is your question?


Incorrect prism component for Dockerfiles

Example: https://github-history.netlify.com/porterdarby/istanbul-tools-docker/blob/master/Dockerfile
The page errors out and produces this in the console:
index.js:30 Error: Cannot find module './prism-dockerfile'
    at  groupOptions: {} namespace object:2439

I think this is because prism has a list of components and the component that you should be loading is prism-docker instead of prism-dockerfile.
FIX: Put in an issue/PR with Prism to rename the file OR put in a one-off for docker -> dockerfile OR have a catchall for no syntax highlighting.

Wanna send a PR?
The name of the file comes from this function: https://github.com/pomber/github-history/blob/master/src/language-detector.js#L24
You'd also need to change a test.

Yep, working on it right now.


refactor display when kindlegen is missing

refactor display when kindlegen is missing
display_kindlegen_missing

fixing links
same display called in 2 contexts

fix #491

I tried running this from source on Mac.
Just brew installing the cask is not enough. You also need to copy kindle gen to /usr/bin/local, like the wiki says.
I recommend we delete the OS specific code and just link directly to the wiki, similar to how we do for 7z.
https://github.com/ciromattia/kcc/wiki/Installation#kindlegen

In retrospect, it was probably because only Kindle Previewer was added to PATH in the KCC code and not comic creator...

Superseded by #566 due to merge conflicts


Replace optimaize with OpenNLP language detector [run-systemtest]

@bratseth please review.

Fixed the bad mail regex as well, since that was what triggered this initially.

PTAL

Fails with
Could not create a component with id 'com.yahoo.language.opennlp.LangDetectModel183'. Tried to load class directly, since no bundle was found for spec: com.yahoo.language.opennlp.LangDetectModel183. If a bundle with the same name is installed, there is a either a version mismatch or the installed bundle's version contains a qualifier string."
15:41:53 Stacktrace was: java.lang.IllegalArgumentException: Could not create a component with id 'com.yahoo.language.opennlp.LangDetectModel183'. Tried to load class directly, since no bundle was found for spec: com.yahoo.language.opennlp.LangDetectModel183. If a bundle with the same name is installed, there is a either a version mismatch or the installed bundle's version contains a qualifier string.
15:41:53 	at com.yahoo.osgi.OsgiImpl.resolveFromClassPath(OsgiImpl.java:71)
15:41:53 	at com.yahoo.osgi.OsgiImpl.resolveClass(OsgiImpl.java:62)
15:41:53 	at com.yahoo.container.di.Container.addNodes(Container.java:200)
15:41:53 	at com.yahoo.container.di.Container.createComponentsGraph(Container.java:189)
15:41:53 	at com.yahoo.container.di.Container.getConfigAndCreateGraph(Container.java:117)
15:41:53 	at com.yahoo.container.di.Container.getNewComponentGraph(Container.java:76)
15:41:53 	at

Yup. Dependencies are the hardest part :<

@bjorncs I gave up using a different module for this, FYI.


data model changes

@kpwebb the PR invokes several new methods (generatePointId, getGPSCoordinate) that aren't defined yet, and currently breaks the app. Are these placeholders for content from the server?


Blank version string validates

I'm not sure if this is an issue or an oversight in the spec but I have an SBOM with a blank version string that properly validates. Is this proper behavior? I have attached the file for reference (with appended .txt since GH doesn't allow uploading json files)
tern_tern-tools_2aab4fb3af706feefe7137f442951108f541b058.json.txt

In the spec, it is optional and just defined as a string, so technically an empty string would be valid - so I think it would be considered proper behavior.

Hmm, ok. Perhaps an improvement for the spec. A blank string isn't very useful to anyone.

Perhaps an improvement for the spec. A blank string isn't very useful to anyone.

@rnjudge
Agree.  We had an interesting discussion on the tech call today on parsing version strings as well.


Pass custom metric prefix if present to AbstractBuffer when using KafkaBuffer

Pass custom metric prefix if present to AbstractBuffer when using KafkaBuffer
Description
[Describe what this change achieves]
Issues Resolved
Resolves #[Issue number to be closed when this PR is merged]
Check List

[x] New functionality includes testing.
[ ] New functionality has a documentation issue. Please link to it in this PR.

[ ] New functionality has javadoc added

[x] Commits are signed with a real name per the DCO

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Build is failing with this error:
/home/runner/work/data-prepper/data-prepper/data-prepper-plugins/kafka-plugins/src/test/java/org/opensearch/dataprepper/plugins/kafka/buffer/KafkaBufferTest.java:154: error: constructor KafkaBuffer in class KafkaBuffer cannot be applied to given types;
            return new KafkaBuffer(pluginSetting, bufferConfig, pluginFactory, acknowledgementSetManager, pluginMetrics, null, awsCredentialsSupplier, circuitBreaker);
                   ^
  required: PluginSetting,KafkaBufferConfig,PluginFactory,AcknowledgementSetManager,ByteDecoder,AwsCredentialsSupplier,CircuitBreaker
  found: PluginSetting,KafkaBufferConfig,PluginFactory,AcknowledgementSetManager,PluginMetrics,<null>,AwsCredentialsSupplier,CircuitBreaker
  reason: actual and formal argument lists differ in length


Add clown mode 🤡

Please include a mode which leaves blue check marks for normal, verified users and for paid users replaces the check mark with 🤡

How about just custom icons for general use? You can use emojis for defaults, but allow people to set their own icons. Very general

https://github.com/wseagar/eight-dollars/issues/36 Let's do it. Let's track it here!


I would like to inquire about an issue with the code

Hello, I encountered an error in "Cad.py" when attempting to run "main.py," as depicted in the attached image. Additionally, I was unable to locate "RSoftCircuit.py" within the "rstools" package.

Hello,
Thank you for reaching out. It seems there might be an issue with the Python interpreter. In addition to checking that you are using the correct interpreter path, please make sure to follow the instructions provided in the repository documentation.
Ensure that you are using the correct Python interpreter path, which should be something like:
C:/Synopsys/PhotonicSolutions/2019.09/RSoft/bin/rspython.exe

If the issue persists, please provide more details or share any error messages you receive so that we can offer further assistance.
Best regards.

Hello,
Thank you for reaching out. It seems there might be an issue with the Python interpreter. In addition to checking that you are using the correct interpreter path, please make sure to follow the instructions provided in the repository documentation.
Ensure that you are using the correct Python interpreter path, which should be something like:
C:/Synopsys/PhotonicSolutions/2019.09/RSoft/bin/rspython.exe

If the issue persists, please provide more details or share any error messages you receive so that we can offer further assistance.
Best regards.

I'm sorry to bother you. I would like to ask whether the author uses PyCharm or VS Code as the platform.

When I choose "rspython.exe" as the interpreter, a filename error occurs, but if I change the filename to "python.exe," it can be used as the interpreter.

Thank you for helping me with the answers!

I'm sorry to bother you. I would like to ask whether the author uses PyCharm or VS Code as the platform.

No bother at all, we use Visual Studio Code. If you have any more questions or need further information, feel free to ask!

Thank you for helping me with the answers!

Happy to help!

Thank you for your response. It seems to be an issue caused by "PyCharm." "PyCharm" has specific requirements for the interpreter's directory, and the non-empty directory of RSoft-CAD triggers an error. I attempted to switch to "VS code," and now the issue has been resolved, allowing the code to run successfully.

By the way, I would like to inquire about how to change the "Simulation" module to another module, for example, "DiffractMOD."

By the way, I would like to inquire about how to change the "Simulation" module to another module, for example, "DiffractMOD."

For the specific request to change the "Simulation" module to "DiffractMOD," this seems to be a significant change that might warrant a separate issue to ensure clarity and focused discussion. I opened one here.


Provide documentation on how to authenticate

Is your feature request related to a problem? Please describe.
Provide documentation on how to authenticate:

How do we authenticate in the library
What permissions are required

Additional context
It might already be there but that I've missed it.

There's no dedicated page for that, no. We provide in both the Logic Apps client and provider docs a preceding section on how to setup the authentication.
But there's no comment on what these permissions are. What should they be actually?

Can you share a link to those sections please? Might be good to provide a dedicated navigation entry for that to better surface the supported options.
I'd ask you or @mbraekman what is required to be honest; might be good to check the underlying SDK if they have documented it.

Can you share a link to those sections please?

here and here.

Ok, looks pretty much as duplication to me.
I would move the supported authentication parts to here:

And then the respective pages can use this:
using (var logicApp = await LogicAppClient.CreateAsync(resourceGroup, logicAppName, authentication))
{
}

var provider = LogicAppsProvider.LocatedAt(resourceGroupName, logicAppName, authentication);

What should they be actually?

Typically we tend to re-use the existing service principal, which has been created to connect Azure DevOps to the Azure Subscription, as this already has the required permissions (Contributor) and doesn't require the setup of an additional SP.
However, moving forward it would be better - from a security-perspective - to have a separate SP created which is "Logic App Contributor" and "Reader" on subscription-level. (Not entirely sure about the Reader-role)
This should suffice, as this grants sufficient access to the Logic Apps, which it is going to manage/control, while no other resource types are touched.

Let's go with Logic App Contributor  since Logic App Operator won't cut it since we change the Logic App as well, right?
We should not advise to use Contributor indeed!

Correct, Logic App Operator won't work when attempting to add static results or when updating the LA.

Just noticed a small mistake in the current documentation, which can be resolved as part of this issue:
On the page explaining how to poll for Logic App runs, underneath the Features header, there is a reference to LogicAppClient, instead of LogicAppsProvider.

All the following features uses the LogicAppClient which can be created using:

should be:

All the following features uses the LogicAppsProvider which can be created using:

Just noticed a small mistake in the current documentation, which can be resolved as part of this issue:
On the page explaining how to poll for Logic App runs, underneath the Features header, there is a reference to LogicAppClient, instead of LogicAppsProvider.

All the following features uses the LogicAppClient which can be created using:

should be:

All the following features uses the LogicAppsProvider which can be created using:

@stijnmoreels Looks like the issue was closed but don't think this is resolved, or is it?

We changed the authentication and took this issue into account, yes. Normally it's all good.


Add-Type / PowerShell 7+: No wildcard accepted for -AssemblyName parameter

Steps to reproduce
The Microsoft documentation on Add-Type claims that the AssemblyName parameter accepts wildcards.
However, when I try using Add-Type -AssemblyName '*SqlServer.Smo' in PowerShell Core, it doesn't work.
Add-Type -AssemblyName 'Microsoft.SqlServer.Smo'

Actual behavior
See screenshot above.
Environment data
Name                           Value
----                           -----
PSVersion                      7.2.4
PSEdition                      Core
GitCommitId                    7.2.4
OS                             Microsoft Windows 10.0.19044
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

It works if assembly.dll in current directory or maybe in PATH.
 > pushd $pshome
 > dir Ma*.dll

    Directory: /opt/microsoft/powershell/7

UnixMode     ACL    User   Group      LastWriteTime    Size Name
--------     ---    ----   -----      -------------    ---- ----
-rw-r--r--   644    root    root   11.05.2022 23:01    1,1M Markdig.Signed.dll

  > Add-Type -AssemblyName "*.Signed"  # No Error

I see, so it doesn't need to be in PATH if you don't use wildcards, but it must be in PATH when you do?
Isn't this observation odd?

I think wildcards are available only if assembly dll in the current directory. As a variant you can use Path parameter:
Add-Type -Path "$pshome\*csharp*"

PowerShell 5.1 seems to be able to resolve above example on the same machine without flaw. I'm still not confident that Add-Type should require a PATH entry.
You know, all modules and .NET libaries are stored at predictable locations. They never reside in any folder that's mentioned in PATH.

You know, all modules and .NET libaries are stored at predictable locations. They never reside in any folder that's mentioned in PATH

In my environment they are all in $PSHome. When pwsh started $PSHome automatically sets in $env:Path
pwsh:
> $env:PATH -split ':'
/opt/microsoft/powershell/7
/home/herz/bin
/usr/local/bin
/usr/bin
/bin
/usr/local/sbin
/var/lib/flatpak/exports/bin
/usr/bin/site_perl
/usr/bin/vendor_perl
/usr/bin/core_perl
/var/lib/snapd/snap/bin

bash:
$ echo $PATH | sed 's/:/\n/g'
/home/herz/bin
/usr/local/bin
/usr/bin
/bin
/usr/local/sbin
/var/lib/flatpak/exports/bin
/usr/bin/site_perl
/usr/bin/vendor_perl
/usr/bin/core_perl
/var/lib/snapd/snap/bin

You know, all modules and .NET libaries are stored at predictable locations.

This is only true under .NET Framework (<= 4.8.x) where there is a Global Assembly Cache for .NET applications to reference. That's likely one of the main reasons that this works as expected in Windows PowerShell.
For PowerShell 7, there is no such global cache to reference. The only reasonable place pwsh could search by default would be $PSHOME, and I'd agree that it probably should search that when a wildcard is given to Add-Type. Beyond the assemblies shipped with pwsh though, I'm not sure there is anywhere else it could reasonably search.

@vexx32: That's very enlightening, thank you! 👍👍
However, though, why does it (presumingly) find Microsoft.SqlServer.Smo when I don't use wildcards then? According to your statement, PowerShell 7+ would require a path then, too. Omitting the wildcard doesn't help in locating an assembly, AFAIK, does it?

Unsure how the code paths diverge here exactly I'm afraid, but I suspect there's some reliance on .NET's default behaviour for loading assemblies here that we'll likely need to compensate for.

Do you believe this is something that needs investigation and amendment?
I suspect, the documentation is quite clear on the input and outcome:

Specifies the name of an assembly that includes the types. Add-Type takes the types from the specified assembly. This parameter is required when you're creating types based on an assembly name.
Enter the full or simple name, also known as the partial name, of an assembly. Wildcard characters are permitted in the assembly name.

Hmm, shouldn't this issue be handled somehow? Non-acting and eventually closing shouldn't be a solution.

Hi Team,
I need help with a PS script.
I have 1000+ ASG in application RG in different subscriptions (for example RG1) and I want to move this from RG1 to RG2 in the same subscription. can I get assistance how to pull the data from excel and take action.
Thanks & Regards

@PowerShell/wg-powershell-cmdlets reviewed this.  The probing for assembly is entirely handled by .NET.  When it is not found, then it falls back to custom code which uses the wildcard against the current location only.  We decided that it would be best to document this specific behavior rather than adding probing with wildcard.

Created https://github.com/MicrosoftDocs/PowerShell-Docs/issues/10931

Thanks for adding this valuable information to the documentation 👍👍👍
However, I believe it wouldn't have hurt to add a line similar to …
if ($env:windir)
{
  [string]$path = "$($env:windir)\assembly\$searchTerm"
  (if Test-Path $path) { result += (Get-ChildItem -Path $path) }

  $path = "$($env:windir)\Microsoft.NET\assembly\$searchTerm"
  (if Test-Path $path) { result += (Get-ChildItem -Path $path) }
}

… to the PowerShell code.


HELP ME - PROBLEM IN ANDROID

Hello guys, how are you?
I'm having problems with a device to read a QRCODE.
I put it in debug mode via USB on it to be able to catch the problem that is happening.
When it tries to read a QRCode it prints a message in the log:
E/libc: Access denied finding property "persist.vendor.camera.mi.cameraid"

This doesn't seem related to the library and lacks code or steps to reproduce (e.g. a QR code that causes a crash).


Keep DX12 descriptor heaps alive until deferred copy/write flush.

Description
Currently RenderDoc specific metadata concerning DX12 descriptors is not copied immediately on respective API function calls but deferred to the end of a capture. However, the lifetime of involved descriptor objects might not be that long which is a potential source for undefined behavior when the copies actually occur.
To give a practical example, the current code creates sporadic crashes on capture end with our DX12 renderer because objects can be destroyed while a RenderDoc capture is still in flight if respective completion fences have already been signaled. Keeping the associated descriptor heaps alive until after the deferred flush prevents these crashes.

I don't want to make this change as-is. I deferred the descriptor updates deliberately, though unfortunately I've looked back through my notes and it was a change I made while bringing up the DX12 backend so I don't remember exactly what case caused problems. In either event I don't want to remove it without good reason.
In your case I think it would be a much simpler and safer change to just extend the lifetime of any descriptor heaps that are deleted mid-frame. When adding to m_DynamicDescriptorCopies/Writes then we can AddRef the descriptor heap, and Release it in FlushPendingDescriptorWrites. That way it will stay alive as long as we need it and if the application released its last reference it will be deleted after the frame capture is done.

I had a feeling that there was a specific reason not apparent to me why this deferred approach is used. I'll try out your proposal though.

Your proposed approach works as intended for our renderer. I amended the commit and the PR to reflect the new approach.

I think the copy part is not quite correct. The way it's currently written the heaps could get multiple additional refs which are never decremented because the code iterates over m_DynamicDescriptorCopies completely (d3d12_device_wrapcpp:2080). I'm going to chacnge that.
Btw Is this intended behavior for the push_backs of m_DynamicDescriptorRefs?

Thanks, this looks good now - though be aware of clang-format issues that CI will identify.

Sorry, you're right I misread the changes actually. You should probably leave m_DynamicDescriptorRefs alone as it's used for something else tracking last-minute updates in queues and is accumulated and flushed at a different rate. Instead AddRef and Release only on the entries in
m_DynamicDescriptorCopies/Writes directly.

(specifically m_DynamicDescriptorRefs is intended to track whether any resources added at the last minute might currently be Map()'ed and will require a flush)

Ah no sorry I think I read my own changes wrong. It actually only iterates over the temporary vector copies and adds a ref for each. This is perfectly fine. I somehow though it iterates over m_DynamicDescriptorCopies completely but this is not the case.

I think it will be missing a Release on the src of each copy, corresponding to the AddRef on each (which is correct), which will leave dangling references.

You mean in WrappedID3D12Device::FlushPendingDescriptorWrites, right? Yeah that's true I totally missed that one.


[AutoPR sql/resource-manager] Adding SQL Interface Endpoint Profiles swagger with examples

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

(message created by the CI based on PR content)


try to guess if a terminal has an xterm-like mouse

Try to guess if a terminal has an xterm-like mouse (the st terminal from st.suckless.org has, but adding such a short string to match against is asking for trouble...).
The routine to guess uses the termcap entry, specifically the kmous/Km field, and checks if it's equal to "ESC[M", which is the string found in all xterm-like termcap entries with mouse support I've seen recently. If this yields a positive result, it is taken, else the old heuristics of comparing various known good strings to $TERM remains as a fallback.

Okay, forget this one. It confuses things for e.g. the linux console. It appears the terminal's capabilities string contains little in the way of reliable information about mouse support. I'll come up with something else.


Potential issues during installation (and how to resolve them)

please keep this thread open
List of issues encountered during installation of faive_gym (and the libraries it depends on), and how it was resolved. If it's an issue that many encounter, consider creating a PR to modify the README of the repository itself.
template
## Issue Description
Please describe the issue you encountered during the installation of faive_gym and its dependent libraries. Include any error messages and the steps leading up to the issue.

## (Attempted) Solutions
Describe any solutions or troubleshooting steps you've attempted.

## Screenshots
If applicable, add screenshots to help explain your problem.

Issue Description
import tkinter fails, even though sudo apt install python3-tk was run
Solutions
Had to run sudo apt install python3.8-tk instead of sudo apt install python3-tk

Issue Description
error about np.int being deprecated comes up from the networkx package
Solutions
specify a newer version of networkx, with pip install networkx==3.1

Issue Description
Installation of IsaacGymEnvs fails due to pysdf failing to install
  Running setup.py install for pysdf ... error
  error: subprocess-exited-with-error

  × Running setup.py install for pysdf did not run successfully.
  │ exit code: 1
  ╰─> [51 lines of output]
      Couldn't find Eigen locally, downloading...
      Found eigen at eigen-3.3.7
      /home/yasu/rlgpu/lib/python3.8/site-packages/setuptools/dist.py:642: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
        warnings.warn(
      WARNING: The wheel package is not available.
      running install
      running build
      running build_ext
      creating tmp
      x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/yasu/rlgpu/include -I/usr/include/python3.8 -c /tmp/tmpl4211qns.cpp -o tmp/tmpl4211qns.o -std=c++17
      unable to execute 'x86_64-linux-gnu-gcc': No such file or directory
      x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/yasu/rlgpu/include -I/usr/include/python3.8 -c /tmp/tmp9mpbaq5q.cpp -o tmp/tmp9mpbaq5q.o -std=c++14
      unable to execute 'x86_64-linux-gnu-gcc': No such file or directory
      x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/yasu/rlgpu/include -I/usr/include/python3.8 -c /tmp/tmpt8vlkwzn.cpp -o tmp/tmpt8vlkwzn.o -std=c++11
      unable to execute 'x86_64-linux-gnu-gcc': No such file or directory
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-vadqclh2/pysdf_710e86485be94920b457904aed5a063a/setup.py", line 186, in <module>
          setup(
        File "/home/yasu/rlgpu/lib/python3.8/site-packages/setuptools/__init__.py", line 153, in setup
          return distutils.core.setup(**attrs)
        File "/usr/lib/python3.8/distutils/core.py", line 148, in setup
          dist.run_commands()
        File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands
          self.run_command(cmd)
        File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
          cmd_obj.run()
        File "/home/yasu/rlgpu/lib/python3.8/site-packages/setuptools/command/install.py", line 61, in run
          return orig.install.run(self)
        File "/usr/lib/python3.8/distutils/command/install.py", line 589, in run
          self.run_command('build')
        File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
          self.distribution.run_command(command)
        File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
          cmd_obj.run()
        File "/usr/lib/python3.8/distutils/command/build.py", line 135, in run
          self.run_command(cmd_name)
        File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
          self.distribution.run_command(command)
        File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
          cmd_obj.run()
        File "/home/yasu/rlgpu/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 79, in run
          _build_ext.run(self)
        File "/usr/lib/python3.8/distutils/command/build_ext.py", line 340, in run
          self.build_extensions()
        File "/tmp/pip-install-vadqclh2/pysdf_710e86485be94920b457904aed5a063a/setup.py", line 172, in build_extensions
          opts.append(cpp_flag(self.compiler))
        File "/tmp/pip-install-vadqclh2/pysdf_710e86485be94920b457904aed5a063a/setup.py", line 147, in cpp_flag
          raise RuntimeError('Unsupported compiler -- at least C++11 support '
      RuntimeError: Unsupported compiler -- at least C++11 support is needed!
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> pysdf

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.

[notice] A new release of pip is available: 23.0.1 -> 24.0

(Attempted) Solutions
As it was implied that C++ support was needed, installed sudo apt install build-essential which fixed the problem.


Calendar on web site

The calendar opens on the mobile site,
but does not open on the regular web site.

Oh interesting! Thanks @rosiebeeme  I'll take a look today.


try to use sqllogictest

Which issue does this PR close?

Closes #1453
Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

Close the ticket for a moment.
My final thought is to create an independent repo that runs independently to find bugs. If there is a bug, it'll automatically open an issue to datafusion.


Request for Firebase App Indexing plugin

We had an internal request to add this plugin. https://firebase.google.com/docs/app-indexing
It seems on iOS, this requires universal links. Do we have core support for this? It seems this is different from Firebase Dynamic Links :-/
For Android, the main plugin work is around enabling this: https://firebase.google.com/docs/app-indexing/android/personal-content

@mehmetf
The issue at https://github.com/flutter/flutter/issues/35224 has been closed and moved here. Future collaboration on this issue will be done here.

+1

+1

+1

+1

Any Updates  on this ?

+1 It would be awesome to have this.

Much needed!

+1

+1

+1

What workaround on android?  https://firebase.google.com/docs/app-indexing/android/personal-content this link doesn't work

+1

+1


add slots

you should add slots for classes

Why so? They do definitely increase the performance, but just slightly, for me. I don't really like slots, because you have to pass attribute names in them as strings, which doesn't look really clean. You can forget to change the name of an attribute and still have the old name in slots. Even modern IDE's don't change them after rename, as I remember. I think it shouldn't be an issue and you should leave it optional to the author.


feat: Adding Queries Scan | AGERI to nr1-catalog.

PR checklist to add a new application to the New Relic One Catalog
Nerdpack Approver

Provide the GitHub handle for the final Approver of this Nerdpack in your Pull Request. Note: this is the person who will need to provide explicit sign off for the change ahead of deployment.
If known, what is the requested date for the deployment of this functionality? Note: this information is regarded as a courtesy. Neither New Relic nor the nr1-catalog maintainer team are under any obligation to meet this request. It simply provides a useful target for completion.

Functional Changes
List the functional changes in the pull request, highlighting the major features of the application.

New view of all queries used in alerts and dashboards, with filter.

Note: The rest of this template is a checklist and guide for ensuring that your pull request is swiftly and consistently approved.
Project Naming Guidance

[x ] Repo names and titles must not include the word New Relic or newrelic
[x ] Repo names and titles should be named with human-readable, functionally descriptive names
[ x] Repo names must be unique within the nr1-catalog repository to support the internal project mapping of submodules to uuid’s
[ x] Project titles should use title case (e.g. “Deployment Analyzer”, not “Deployment analyzer”)
[ x] Projects must not include profanity or crude language in titles, repo names, or any documentation

Basic Nerdpack Validation
Validate that the following are present in your PR ahead of submitting:

[ x] Your application has been added as a git submodule to the nr1-catalog repo under the apps directory (i.e. nr1-catalog/apps/YOUR_REPO with an entry in the .gitmodules file)

If adding a submodule
# Assumed forked and cloned nr1-catalog repo
cd nr1-catalog/apps
git submodule add [YOUR REPO URL]
# example: git submodule add https://github.com/newrelic/nr1-browser-analyzer.git
git commit -a -m "feat: Adding [YOUR REPO NAME] to nr1-catalog."

 [YOUR REPO VERSION]."

[x ] No other code in the nr1-catalog repo has been modified by your PR
[ x] the project contains only one Nerdpack with as many artifacts (launchers, nerdlets, etc.) as you choose

Features and Roadmap

[ ]x Does this application have a workflow and/or documentation within the UI for managing an empty state?

Repository setup
Your linked submodule repository must contain:

[ x] an nr1.json file in the root of your project example here containing the following fields:

[x ] schemaType with a value of NERDPACK
[ x] id containing a uuid set by the nr1 CLI (i.e. nr1 nerdpack:uuid -gf)
[ x] displayName containing the displayed name of the Nerdpack in the New Relic One Catalog (ex. Browser Analyzer)
[ x] description containing the short description of the application's functionality

[ ]x icon.png in the root of your project with the dimensions of 48x48
[ ]x a package.json (example here) that contains:

[ x] a version that follows semantic versioning standards
[ x] a scripts.eslint-check command
[ x] a scripts.eslint-fix command

[ x] a valid LICENSE file containing an approved permissive license (ex. Apache 2, MIT, BSD) (example here)

Note: we do not permit projects that contain any viral licensing into the New Relic One Catalog.
Catalog Metadata
Your project must contain a catalog directory with the following:

[x ] a config.json see example containing the following fields:

[x ] tagline brief headline for the application, 30 characters or less
[ x] repository URL to the git repository, less than 1000 characters long
[ x] details description of the usage and utility of the application, less than 1000 characters using carriage returns for formatting and no markdown or HTML markup
[ x] support object containing:

[x ] issues valid URL to the repositories issues list (generally the GitHub issues tab for the repo)
[ x] email a valid email address of the team supporting the application (for New Relic, that generally takes the form of opensource+<repo<EMAIL_ADDRESS>[ x] community URL to a support thread, forum, or website for troubleshooting and usage support

[ x] whatsNew a bulleted list of customer-facing changes in this version, less than 500 characters using carriage returns for formatting and no markdown or HTML markup
[ x] categoryTerms a list of terms that matches the Nerdpack to a category in the Instant Observability catalog. A mapping of accepted terms for categories can be found by querying NerdGraph US | EU
[ ] keywords a list of relevant words to help the search discoverability of the Nerdpack, cannot exceed 50 words, each word cannot exceed 64 characters

Note: Click here for a guide to capturing screenshots that adhere to the catalog requirements.

[x ] screenshots directory containing at most 6 image files that each comply with the following guidance:

[x ] 3:2 aspect ratio
[ x] .png format
[ x] landscape orientation
[ x] at least 1600px wide

[ x] documentation.md a markdown file containing no HTML markup nor any markdown images (example here)
[ ] (optional) additionalInfo.md a markdown file containing no HTML markup nor any markdown images (example here)

Code Guidance
The following are meant to highlight the types of common issues that can degraded performance for your application.

[ x] The code does not violate the pinned versions of libraries for react and react-dom of 16.6.3 and d3 of 3.5.17
[ x] The code does not contain hard-coded New Relic account ids, user ids, or other identifiers that should be retrieved via the NR1 API based on the user viewing the nerdpack
[ x] The code makes efficient use of the PlatformStateContext and NerdletStateContext (i.e. not wrapping the entire Nerdlet in a state context when it's not necessary)
[ x] The code avoids the use of await with React's setState method
[ x] The code handles the asynchronous nature of setState updates
[ x] The code does not perform imperative data fetching (ex. NerdGraphQuery.query) in the render method
[ x] Whenever appropriate, the code's React components extend React.PureComponent vs. React.Component
[ x] The code's React components that do extend React.Component implement the shouldComponentUpdate React lifecycle method

Design Guidance

[ x] The code does not override or amend core NR1 styles

Security Guidance

[ x] The code does not contain hard-coded API keys, access tokens, or other security credentials
[ x] The code does not include additional SCRIPT tags
[ x] The code avoids the use of the eval command
[ x] The code avoids the use of Function as a constructor (i.e. new Function(...))
[ x] The code avoids the use of dangerouslySetInnerHTML in React
[ x] The code does not write data to an outside source
[ x] The code does not interact with an outside URL without clear documentation on what is being retrieved
[ x] The code does not write unspecified object data to NerdStorage

NerdStorage Guidance
Where appropriate, the code follows the guidance regarding NerdStorage limits and usage

[ x] The code does not store New Relic credentials in NerdStorage (GraphQL should be used to access New Relic data)
[ x] The code does not store third-party SaaS credentials in NerdStorage UNLESS a warning about the lack of encryption at rest and possibility of access by New Relic employees is prominently displayed, such as in the GitHub README (example here) and/or in documentation portion of the New Relic One Catalog documentation (example here)
[ x] The code does not store personal data (PII) in NerdStorage

New Relic only
Note: These concluding sections of instruction are for projects submitted by New Relic teams.

[ x] a standard CONTRIBUTING.md file in the root of the project (example here)
[ x] a standard CODE_OF_CONDUCT.md file in the root of the project (example here)
[ x] a standard cla.md file in the root of the project (example here)
[ x] a README.md that contains:

[x ] the New Relic One Catalog project header at the top of the file
[ x] Description what the project does
[ x] Explains cloning and setup of the code(including installing dependencies) for local development
[ x] How run the nerdpack locally

[ x] your project makes use of New Relic's open source eslint configuration by including the following:

[x ] include the appropriate development dependencies by running npm install --save-dev @newrelic/eslint-plugin-newrelic eslint prettier (see example)
[ x] include the .eslintrc.js configuration in the root of your project example here
[ x] include the .prettierrc.js configuration in the root of your project example here

Additional Code Guidance for New Relic
Note: this is for New Relic projects only.

[ x] JavaScript in your nerdpack must use ES6
[ x] The code should make use of the NR1 components. Whenever possible, the code should avoid using an external OSS component in favor of highlighting the NR1 SDK's capabilities
[ x] The code should make use of the NR1 Stack and Grid components for layout, as these components respect spacing automatically (Note that CSS flexbox and grid are more complex than what they seem at first and sometimes they’re a bit tricky to get exact results.)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Hello! Amazing day for you.
Do we have news about the pull request?

Hi


Is it safe to use input._ns? input._map?

Check with the Shiny community to ask if there's a better alternative to using input._ns to get the key of a module, or _map to get an input from outside.

Reviewing the docs, https://shiny.posit.co/py/docs/module-communication.html is the right way to do this. Closing.


WIP: Add Persona ADM

This PR will add the persona-based ADM. It currently runs, but is missing some key functionality.
Known TODOs (before merge):

[ ] Update backstory sampling to sample KDMA-aligned backstories (right now uses random backstory sampling). This is easy to do when the backstories are labeled with KDMA values, but this still is a TODO pending some compute on our backend.
[ ] Update populate_treatment_parameters, populate_tagging_parameters and generic_populate_character_id to use backstory information.
[ ] Debug similarity parsing (can cause CUDA conflicts in some cases?)
[ ] Change logging to debug for many scenario/action prompts.
[ ] Debug if using chat model in a completion framework is causing issues (it doesn't seem like it, but maybe?)

Ran the first set of demographic probes on the backstories today (@dmjoy):

Interestingly, the first generation of backstories with demographics is showing that there is only a little bit of variation in the demographic probes for moral judgement and maximization. For moral judgement, many of the stories that select a 1 are inconsistent (and it's an LLM consistency sampling issue where instead of selecting 1 followed by 0 for 10, they selected one and then went on without the 0). For maximization, there is much more variation in the lower numbers, and the distribution is very uniform above 5 (but for some reason, nobody likes to select numbers less than 5 in either case).

Hey David, thanks for the update.  Regarding moral judgement, I'm not terribly surprised as we had a really hard time convincing the LLMs (via system prompts) to choose low moral judgement actions (i.e. treating the perpetrator first all else being equal) and eventually had to sort of invert the choices (negatively counting votes for those choices) made with a high moral judgement to try and compensate.  Would also be interested to see what the demographics look like for the 3 new attributes (should be noted in the slack recently): "Ingroup Bias", "Quality of Life", "Value of Life".  Tagging @brianhhu here for his situational awareness.

I added two more commits today which do simple maximization/panel sampling, and with some new backstories, which have probe values for both maximization and moral judgement. For the other three new attributes, do we have a good definition prompt? For example, I use the following prompts for moral judgement and maximization:

Moral judgment affects medical triage decisions by prioritizing morally deserving patients, like victims or helpers, over those responsible for the situation. High moral judgment considers intent and responsibility, while low moral judgment does not factor in moral deservingness. On a scale of 1 (would always prioritize responsible parties) to 10 (would always prioritize victims), how would you rate your moral judgment in medical triage decisions? Please give a numeric number between 1 and 10, followed by a period, then explain why.

Maximization affects medical triage decision by prioritizing searching exhaustively to gather the most information possible to form their response and plan actions that achieve the maximum result. Satisficing, on the other hand, prioritizes finding a solution that is good enough to meet the minimum requirements as quickly as possible. On a scale of 1 (would always satisfice) to 10 (would always maximize), how would you rate your decision-making style in medical triage decisions? Please give a numeric number between 1 and 10, followed by a period, then explain why.

The last things that remain to be done are to (1) Use the backstories during the character selection process and (2) actually evaluate the system to get some metrics. Since we have about 5k backstories, and we're only using a panel size of 3, the decisions are somewhat under-powered, but without it getting pretty expensive, I'm not sure we can do better.

@eveenhuis see David Chan's comment above about what kind of prompts / text is needed for the new attributes

I was able to run this ADM using Llama3-8b seemingly without issue (though quite a few failure to parse errors, which should be a non-issue with the switch over to outlines), and I otherwise don't have any issues / concerns with the code.  Merging!


[plugin-public-assets] Can't find public folder

My phenomic.config.js file has:
module.exports = {
  …
  plugins: [
    …
    ['@phenomic/plugin-public-assets', { path: __dirname + '/public' }],

The directory is present, but the public assets plugin can't find it:
blog [master *$ u= origin/master] yarn start
⚠ @phenomic/plugin-public-assets:  No '/Users/jcayzac/Desktop/Phenomic/blog/public'
folder found. Please create this folder if you want static files to be served from the root
(eg: favicon.ico).
…
blog [master *$ u= origin/master] ls /Users/jcayzac/Desktop/Phenomic/blog/public
favicon.ico  robots.txt

It's probably because https://github.com/phenomic/phenomic/blob/master/packages/plugin-public-assets/src/index.js#L35 does path.join(config.path, options.path) and thus doesn't support absolute paths. Changing to { path: 'public' } fixed my problem.
Also worth mentioning that not specifying the path option resulted in the error below. Not sure why the react preset doesn't suffer from it.
✖ @phenomic/core:  The "path" argument must be of type string. Received type undefined
✖ @phenomic/core:  TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
    at assertPath (path.js:39:11)
    at Object.join (path.js:1157:7)
    at Object.addDevServerMiddlewares (/Users/jcayzac/Desktop/Phenomic/blog/node_modules/@phenomic/plugin-public-assets/lib/index.js:50:52)

Thanks for the feedbacks. Will try to improve that.


No Token received on UE43RU7400UXXU

Hi,
I've been having trouble getting things to work. Now, i tried to debug things a bit with some JS and websockets.
From what i understand, we connect to:
"ws://<IP_ADDRESS>:8001/api/v2/channel/samsung.remote.control?name="+appname
or
"wss://<IP_ADDRESS>:8002/api/v2/channel/samsung.remote.control?name="+appname
and should then get some JSON back with a 'token' after you've approved it on the TV itself.
Now, i don't get a token back. All i get is:
{"data":{"clients":[{"attributes":{"name":"U2Ftc3VuZyBTbWFydFRWIGFwcDIzMjM="},"connectTime":1565448405613,"deviceName":"U2Ftc3VuZyBTbWFydFRWIGFwcDIzMjM=","id":"cff93d38-c95a-49ce-a7a2-26ab541cdd10","isHost":false}],"id":"cff93d38-c95a-49ce-a7a2-26ab541cdd10"},"event":"ms.channel.connect"}
So, i simply don't get a token. I've tried to perform the same request with a dummy token, and then i do get a token back int he attributes object, but i'm still unable to run commands:
send:{"method":"ms.remote.control","params":{"Cmd":"Click","DataOfCmd":"KEY_MUTE","Option":"false","TypeOfRemote":"SendRemoteKey"}} Received:{"data":{"message":"unrecognized method value : ms.remote.control"},"event":"ms.error"}
Now, i did all of this in some nodejs after looking at all the code, so i might easily do something wrong! Any advise would be appreciated.

https://github.com/Ape/samsungctl/issues/114#issuecomment-529202420
I'm not sure if this requires a change in samsungctl

I have the exact same issue with a UE60J6289.
Output from http://<IP_ADDRESS>:8001/api/v2/:
{
  "id": "uuid:bd816fe9-5a03-48f2-8cbd-c048378e5645",
  "name": "[TV] UE60J6289",
  "version": "2.0.25",
  "device": {
    "type": "Samsung SmartTV",
    "duid": "uuid:bd816fe9-5a03-48f2-8cbd-c048378e5645",
    "model": "15_HAWKM_2D",
    "modelName": "UE60J6240",
    "description": "Samsung DTV RCR",
    "networkType": "wired",
    "ssid": "",
    "ip": "<IP_ADDRESS>",
    "firmwareVersion": "Unknown",
    "name": "[TV] UE60J6289",
    "id": "uuid:bd816fe9-5a03-48f2-8cbd-c048378e5645",
    "udn": "uuid:bd816fe9-5a03-48f2-8cbd-c048378e5645",
    "resolution": "1920x1080",
    "countryCode": "DE",
    "msfVersion": "2.0.25",
    "smartHubAgreement": "true",
    "wifiMac": "5c:49:7d:21:14:27",
    "developerMode": "0",
    "developerIP": ""
  },
  "type": "Samsung SmartTV",
  "uri": "http://<IP_ADDRESS>:8001/api/v2/"
}

With my other Samsung TV (UE43KU6079) it works fine.
Im not sure if i enabled developer mode or something similar.
{
  "id": "uuid:b7dc3810-668b-4b29-990f-509aa954ae2b",
  "name": "[TV] Samsung 6 Series (43)",
  "version": "2.1.0",
  "device": {
    "type": "Samsung SmartTV",
    "duid": "uuid:b7dc3810-668b-4b29-990f-509aa954ae2b",
    "model": "16_JAZZL_UHD_BASIC",
    "modelName": "UE43KU6079",
    "description": "Samsung DTV RCR",
    "networkType": "wired",
    "ssid": "",
    "ip": "<IP_ADDRESS>",
    "firmwareVersion": "Unknown",
    "name": "[TV] Samsung 6 Series (43)",
    "id": "uuid:b7dc3810-668b-4b29-990f-509aa954ae2b",
    "udn": "uuid:b7dc3810-668b-4b29-990f-509aa954ae2b",
    "resolution": "3840x2160",
    "countryCode": "DE",
    "msfVersion": "2.1.0",
    "smartHubAgreement": "true",
    "VoiceSupport": "false",
    "GamePadSupport": "true",
    "wifiMac": "f8:3f:51:fd:ae:b2",
    "developerMode": "0",
    "developerIP": "",
    "OS": "Tizen"
  },
  "type": "Samsung SmartTV",
  "uri": "http://<IP_ADDRESS>:8001/api/v2/",
  "remote": "1.0",
  "isSupport": "{\"remote_available\":\"true\",\"remote_fourDirections\":\"true\",\"remote_touchPad\":\"true\",\"remote_voiceControl\":\"false\",\"DMP_available\":\"true\",\"DMP_DRM_PLAYREADY\":\"false\",\"DMP_DRM_WIDEVINE\":\"false\",\"EDEN_available\":\"true\"}"
}

Hi,
I've been having trouble getting things to work. Now, i tried to debug things a bit with some JS and websockets.
From what i understand, we connect to:
"ws://<IP_ADDRESS>:8001/api/v2/channel/samsung.remote.control?name="+appname
or
"wss://<IP_ADDRESS>:8002/api/v2/channel/samsung.remote.control?name="+appname
and should then get some JSON back with a 'token' after you've approved it on the TV itself.
Now, i don't get a token back. All i get is:
{"data":{"clients":[{"attributes":{"name":"U2Ftc3VuZyBTbWFydFRWIGFwcDIzMjM="},"connectTime":1565448405613,"deviceName":"U2Ftc3VuZyBTbWFydFRWIGFwcDIzMjM=","id":"cff93d38-c95a-49ce-a7a2-26ab541cdd10","isHost":false}],"id":"cff93d38-c95a-49ce-a7a2-26ab541cdd10"},"event":"ms.channel.connect"}
So, i simply don't get a token. I've tried to perform the same request with a dummy token, and then i do get a token back int he attributes object, but i'm still unable to run commands:
send:{"method":"ms.remote.control","params":{"Cmd":"Click","DataOfCmd":"KEY_MUTE","Option":"false","TypeOfRemote":"SendRemoteKey"}} Received:{"data":{"message":"unrecognized method value : ms.remote.control"},"event":"ms.error"}
Now, i did all of this in some nodejs after looking at all the code, so i might easily do something wrong! Any advise would be appreciated.

did u get any fix ?

@cyclops1982 johnjaiharjose unfortunately not yet.
Im not sure where to start debugging.
Is there a way to re-trigger the "Allow Control" handshake ?

@mStirner - you can remove the provided permissions in one of the settings of the TV. Then you'll get that dialog again.
What my problem is is that i basically want to start/stop the TV. I do power it down in between (so i'ts not evne on stand-by) and it seems that the token is just not accepted, or the commands are majorly different.
So, after the first accepted, i want to be able to shut down and start the tv again (even if this is only into stand-by or not). I can't get that to work, which is my major use-case here.
For me it feels like samsung is missing out here. There's no good app or anything to control the new TV's anymore, i even wonder how well it works with samsungs own home-automation, because i don't see how that can even work at the moment.

There's no good app or anything to control the new TV's anymore, i even wonder how well it works with samsungs own home-automation, because i don't see how that can even work at the moment.

The smarthub app works flawless on the new 7 series samsung led tv. I think it uses IFTTT. Full remote control is embedded in that app. I can provide any help if u guys need.

With my UE60J6289 it just dosnt work.
I delete all permissions and tried it again.
When i connect to the WebSocket endpoint, only the unprotected url works. (ws + port 8001) , with wss + 8002 nothing happens. When i connect with the SmartView app from my Androind phone the TV displays 4 a digit pin.
My other TV (UE43KU6079) works with protected & unprocted url (ws + 8001 & wss + 8002).
When i connect, the TV asks for permissions. On this TV the Wake-on-LAN works too.

I delete all permissions and tried it again.
When i connect to the WebSocket endpoint, only the unprotected url works. (ws + port 8001) , with wss + 8002 nothing happens, no open event is fired.
Could this be due to incompatible TLS/SSL settings/algorithms ? But why is no error thrown from node/ws lib ?
When i connect with the SmartView app from my Androind phone the TV displays 4 a digit pin.
My other TV (UE43KU6079) works witerror: WebSocket was closed before the connection was establishedh protected & unprocted url (ws + 8001 & wss + 8002).
When i connect, the TV asks for permissions. On this TV the Wake-on-LAN works too.
Only my UE60J6289 bitches around
EDIT:
With wscat it it a error, but not realy helpful:
 wscat -n -c wss://<IP_ADDRESS>:8002/api/v2/channels/samsung.remote.control?name=dGVzdA==

error: WebSocket was closed before the connection was established

(Program terminated with CTRL+C after nothing happend)
I think the error comes from the process termination and has nothing to do with the with the problem/connection phase.
I just dont get it why there is in no way a possible connection to port 8002...
I try to play a little with ncat

ok so try WOL on ur UE60J6289 on different ports like 8080, 7678 try a port scan and check for http protocol.
On my UN55RU7470 WOL works on 8080.

ok so try WOL on ur UE60J6289 on different ports like 8080, 7678 try a port scan and check for http protocol.

WOL works normal on UDP port 7 or 9. Why should samsung implement this on a different port and what has this todo with http ?
That are the result of a nmap scan (tcp):

PORT      STATE SERVICE    VERSION
7236/tcp  open  display?
| fingerprint-strings:
|   NULL:
|     OPTIONS * RTSP/1.0
|     CSeq: 1
|     Server: AllShareCast/TizenTV/2.1
|     Require: org.wfa.wfd1.0
|_    Date: Wed, 19 Feb 2020 11:00:09 GMT
7237/tcp  open  tcpwrapped
7676/tcp  open  upnp       Samsung AllShare upnpd 1.0 (UPnP 1.1)
7677/tcp  open  upnp       Samsung AllShare upnpd 1.0 (UPnP 1.1)
7678/tcp  open  upnp       Samsung AllShare upnpd 1.0 (UPnP 1.1)
8000/tcp  open  http-alt
| fingerprint-strings:
|   FourOhFourRequest, GetRequest, HTTPOptions:
|     HTTP/1.1 500 Internal Server Error
|     Content-Type: text/plain
|     Date: Wed, 19 Feb 2020 11:00:20 GMT
|_    Connection: close
|_http-cors: GET POST PUT DELETE OPTIONS
|http-favicon: Unknown favicon MD5: 33E3EA7FC9C08D2E72730482906A676C
| http-methods:
|  Supported Methods: GET HEAD POST OPTIONS
|_http-open-proxy: Proxy might be redirecting requests
|_http-title: Site doesn't have a title.
8001/tcp  open  http       Tizen Multiscreen SDK httpd
|http-cors: GET POST PUT DELETE
| http-methods:
|  Supported Methods: GET HEAD POST OPTIONS
|_http-title: 404 : Not Found
8002/tcp  open  ssl/http   Tizen Multiscreen SDK httpd
|http-cors: GET POST PUT DELETE
| http-methods:
|  Supported Methods: HEAD POST OPTIONS
|_http-title: 404 : Not Found
| ssl-cert: Subject: commonName=SmartViewSDK/organizationName=SmartViewSDK/countryName=KR
| Subject Alternative Name: DNS:<IP_ADDRESS>, DNS:localhost
| Issuer: commonName=SmartViewSDK Root Ceritificate Authority/organizationName=SmartViewSDK/countryName=KR
| Public Key type: rsa
| Public Key bits: 2048
| Signature Algorithm: sha256WithRSAEncryption
| Not valid before: 2016-07-29T05:34:23
| Not valid after:  2036-07-29T05:34:23
| MD5:   189b 2634 fcca f1ef 31e1 7b7b 02ac c5bd
|SHA-1: b15e 72c0 04b4 3825 651e e7a7 2b66 1856 305d e56b
|ssl-date: TLS randomness does not represent time
| tls-nextprotoneg:
|   http/1.1
|  http/1.0
8080/tcp  open  http       lighttpd
| http-methods:
|  Supported Methods: OPTIONS GET HEAD POST
|_http-server-header: WebServer
|_http-title: 404 - Not Found
8187/tcp  open  upnp       Samsung AllShare upnpd 1.0 (UPnP 1.1)
9197/tcp  open  upnp       Samsung AllShare upnpd 1.0 (UPnP 1.1)
9999/tcp  open  abyss?
15500/tcp open  unknown

To test the open ports i wrote a litle test script:
const wol = require('wol');

// 5C:49:7D:21:14:27

[
    7236,
    7237,
    7676,
    7677,
    7678,
    8000,
    8001,
    8002,
    8080,
    8187,
    9197,
    9999,
    15500
].forEach((port) => {
    wol.wake('5C-49-7D-21-14-27', {
        port: 7678
    }, (err, res) => {
        console.log("port: %d, err: %s, result: %j", port, err, res);
    });
});

node index.js
port: 7236, err: null, result: true
port: 7237, err: null, result: true
port: 7676, err: null, result: true
port: 7677, err: null, result: true
port: 7678, err: null, result: true
port: 8000, err: null, result: true
port: 8001, err: null, result: true
port: 8002, err: null, result: true
port: 8080, err: null, result: true
port: 8187, err: null, result: true
port: 9197, err: null, result: true
port: 9999, err: null, result: true
port: 15500, err: null, result: true

Unfortunately the TV dosn't start.
A UDP scan in map is running, but takes more then 7h to complete...
Are there some settings like "quick start" or "instant on" that need to be enabled/disabled ?

Hopefully this helps someone.. Turns out my TV doesn't even require a token. I have full control using port 8001, with no token provided. My model is UN40KU6270

I tried this many time but couldn't get it to work ([TV] Samsung 7 Series (55))
Then I found https://github.com/andrewsayre/pysmartthings that makes use of the SmartThings app with use of the API and Python.
I got both of my TV's in the app and now i'm able the control them via python in domoticz.
Maybe somebody find this usefull

@PatrickStel correct link is https://github.com/andrewsayre/pysmartthings


Testing with Enzyme rather than React TestUtils

I'm getting on with writing some tests, following this documentation and also this issue https://github.com/react-dnd/react-dnd/issues/453
The problem I have is regarding the test rendering.
I can get the example that the documentation gives working, wrapping the component in a DragDropContext and rendering it with TestUtils.renderIntoDocument.
This will return a DragDropContextContainer object.
However, if I try use the Enyzme mount method to render the object, it returns a $$typeof: Symbol(react.element) object - which won't let me get the manager.
I would prefer to use Enzyme - as that's what I'm using for my tests elsewhere.
Anyone got any help with this?

I just got this working, here is what it looks like. in typescript.
import { ThingIAmTesting } from '../file/where/it/lives';
describe('It is a test!', () => {
  let props;
  let component;
  const getComponent = () => {
    let OriginalComponent = (ThingIAmTesting as any).DecoratedComponent;
    let identity = el => el;
    if (!component) {
      component = Enzyme.shallow(
        <OriginalComponent {...props} connectDragSource={identity} />
       );
      return component
    }

    beforeEach (() => {
      props = {
         prop: 'stuff',
         }
      component = undefined;
     })
    it('should render', () => {
      let component = getComponent();
      expect(component).toMatchSnapshot();
    });
})

Ran into this same problem. I could, and expect you should be able to, fix it using the wrapper.instance() method. Also described here https://github.com/react-dnd/react-dnd/issues/488.
e.g.
const Context = wrapInTestContext(Component)
const wrapper = mount(<Context />)
const manager = wrapper.instance().getManager()
const backend = manager.getBackend()

Additionally, I also needed to get the instances of child components to call getHandlerId().
If it helps, here is one of my test files: https://gist.github.com/gilleswittenberg/142fe49e1115b5a1936562b2284e1ab7


Refactor renovate project

This PR contains project renovation (like discussed in #47 ) . Since i have added :

Documentation minor updates.
Simplify Package.json (cf npm docs)
Enforce usage of conventionalcommits through standardversion command.
Typescript config for types.

I will rebase this PR when #48 will be merged.

@owais Hello what or who are you waiting to merge this ?

Merged.


Allow different path for db companion YAML file

Currently, the companion YAML file is inferred from the db file, and must be in the same directory. But actually it's part of the "logic", so in some cases it's good to keep them in separate folders.
For example, if I am building a docker container based on ws4sqlite, the db file probably will be mounted externally, but the YAML file will probably be part of the image.
Allow for a syntax similar to the one that's used for --mem-db:
--db <db_path>:<YAML_path>

Also fixed in this development: when specifying cli parameters for a mem db's companion file and for served dir via HTTP, the tilde (~) wasn't expanded to home dir.

Released in v0.15.0


Add example of simple driver usage

Will add async and reactive once the example scope/shape is agreed upon.

Would you rather merge now and I open another PR for the async and reactive variants or would you rather have them all here?

Let's do separate rounds with them :)


make the go button in the middle

fix #19
Move the button to the middle if the screen is really small.

Thanks for the fix :)


vscode 1.52 connect to remote server

I have connected to the server, but after a few seconds vscode alert "Cannot reconnect. Please reload the window"
vscode: macos version
server:centos 7.8

I have solved this problem by downgrade.

Maybe #112512

Is your host ARM or x86? Can you share the Remote-SSH log from the output channel?

Is your host ARM or x86? Can you share the Remote-SSH log from the output channel?

mac OS Catalina 10.15.6 x86
Remote-SSH log wasn't saved.

Could you do this:

Run the command "Set Log Level" > Trace
Try again
Share the logs from the devtools console (Help > Toggle Developer Tools)

Also, please try with the 1.52.1 that we just released yesterday


[Bug]: [Spotify Queue Up not working for me when i try adding songs to the Queue]

What happened?
yesterday, i got whitelisted and when  i try  to put a song there in channel points my spotify didnt read it altho my spotify email ends with "<EMAIL_ADDRESS>any solution?

What part of the service is not working for you?
Subscribing to channel point rewards

Hey I will take a look tonight

Sorry had to go out of town on short notice. I don't have wifi until next week when I'm back. I want to minimize how much data I spend on hotspot

its fine no problem

OK I see logs that you unsubscribed, which is why there aren't any songs being queued. Please go through the onboarding steps again. You don't need to make a new GitHub issue or give me your email or anything again. Just follow the revoking access steps and start over. In my database it says I am not subscribed to events from your channel.

alright, for some reason the revoking access is bugged i cant do it even the subscribe thing do i need to remove the cookies?

Yeah I think you might have to. I will see what I can do to get around that in the future, though I'm not sure how you got into that state. Pretty sure when you revoked access it should have just cleared everything and expired the cookie.

@splinter1998 let me know if that worked for you

well, still bugged i cant hit the subscribe button i removed the cookies etc but still

Weird. Okay let me nuke your stuff in my database so you can try again - please remove cookies, etc again

Deleted your stuff from my db please try again from the top and let me know how it goes. Sorry that it

ok lemme try it again

ok i restarted the process

I want to try to do it all on my end, but I can't cause I need authorization from you :/ I checked my DB and you aren't subscribed there, and I also checked my actually application's subscriptions and didn't find you there. I don't know what the issue could be.

well atleast u tried man . i tried diffrent browser and still same problem

https://github.com/SaxyPandaBear/TwitchSongRequests/assets/25197822/8eade9f0-387e-40a6-8b02-4f72293318eb
heres the problem

OHHHH ok I see the problem. I had previously created a Twitch channel point reward on your account to use. Delete it.

{"level":"info","ts":"2023-06-07T23:26:35.422Z","caller":"api/eventsub.go:86","msg":"error occurred while creating Custom Reward | HTTP 400 | Bad Request | CREATE_CUSTOM_REWARD_DUPLICATE_REWARD"}

I had originally thought of adding some unique identifier to the custom reward I try to make, but I figured that is actually more work for most people - cause then everyone would have to go to their twitch account to update it. Idk how I missed this. Duh of course that's the problem. 😓

oh i see lemme try it

also btw, do i need to create another one or what?

At this point you just need to delete the custom reward that my service made, and then redo the steps

well now it created channel points and for somereason still didnt work do i have to be whitelisted?

"failed to publish: Player command failed: Premium required"}

The problem with the API I'm using is that in order to modify the player queue, the account needs to be on Spotify Premium

i see, well i need to subscribe to premium i'll do it this week and i'll tell you if its working or not thank youuu ❤❤

🙇 thank you so much for bearing with me this long

it works perfectly thank u dude. ❤❤

WOO ok I'm so glad that it worked this time. Thanks for bearing with me for so long! Hope you enjoy it


Package.json cosmetic cleanup for more structure

npm package update for author information, cleaner style

@lirantal Feel free to add yourself into authors as well :)

lol, thanks, it's not my intention :)
I want to see about adding some linting, possibly a docker and taking on that promise feature at some point too. Also a bit busy with the MEAN.JS project, trying to close down the 0.5 release tag so got a bit distracted.

Cool, good luck! Never used MEAN.JS but it seems interesting. Would definitely give it a try in future.


Update to Gatsby

Gatsby released a new version of the core and plugins. We are two minor behind this newest version and should update to 4.16

This issue is very outdated. Gatsby is already on 4.20.


bump INSTRUCTIONS_MAXIMUM_CHARACTER_COUNT to 120_000

Description
Fixes https://github.com/dust-tt/tasks/issues/926
Risk
N/A
Deploy Plan

deploy front

PMRR


Ignore build metadata for sort order

Use sort.Stable for repeatable sorts of semantically-equal versions
Build metadata MUST be ignored when determining version precedence
https://semver.org/spec/v2.0.0.html#spec-item-10
related: https://github.com/carvel-dev/kapp-controller/issues/1338

Thank you so much for the PR @xtreme-conor-nosal! This seems like a reasonable change to me and the PR looks good to me too.
As you have correctly pointed out, this should be expected behaviour based on semver specs, although since I am not a semver expert I will ask others about what they think of this.


Protect MachineClasses, MachineDeployment and MachineSet with finalizers

With these commits we introduce the protection of our resources against unwanted deletion (i.e., when child objects/referencing objects still exist).
closes #7

Hi @rfranzke,
Can you please resolve the merge conflicts ?
Regards,
Prashanth

LGTM. Merge conflicts needs to be resolved.

Thank's, I have rebased


ingest endpoint not found with curl

Hi,
I've recently tried to spin this project up locally, although when trying to load the subdedits base json I receive an errror that the /ingest endpoint doesn't exist with a 404.
Is there something I have to do to enable this functionality?
Thanks in advance.

Sorry - I moved it to /api/ingest and forgot to update the README. I've updated it now


Rust Chrono versions conflict

Hello,
I'm following the documentation to install the Rust driver and I've a conflict error:
error: failed to select a version for `chrono`.
There's a conflict between typedb-driver v2.28.4 asking for chrono =0.4.38 and typeql v2.28.1 asking for chrono =0.4.23.

Looks like we went a little overeager with pinnning dependency versions. Should be fixed by https://github.com/vaticle/dependencies/pull/548 in future releases.


How about changing redis.Pool to interface?

As we use Redis cluster in our development, we're using redisc package to handle Redis cluster. But, as gocraft/work only receives *redis.Pool struct as a parameter, redisc can't be passed. It can be done by changing the usages of redis.Pool to an interface.
Or do you know anything about using Redis cluster of raidss with gocraft/work?

https://github.com/gocraft/work/issues/120#issuecomment-530615442
https://pkg.go.dev/github.com/taylorchu/work?tab=doc#NewRedisQueue
If you can use v2, please do so. It uses https://pkg.go.dev/github.com/go-redis/redis?tab=doc#UniversalClient, which includes sentinal and cluster.


ionic2 - enhancement(transition) - Give the nav controller's transition a finish event

Short description of the problem:
There are many cases where I need to wait on a push's transition to finish before doing something on the pushed page. For example:
I start on Page1, push Page2, and then need to display some kind of toast or alert immediately once the Page2 AND its data have finished loading. The problem here is that when my data has loaded, I do not know if the page's transition has finished yet, and vice versa.
What behavior are you expecting?
It would be great if I could do something like this on Page2:
this.navCtrl.onTransitionFinished(() => {
    this.toastCtrl.create({
        ...
    });
});

This would be very convenient.

The ionViewDidEnter function is what you are looking for. From the docs:

Runs when the page has fully entered and is now the active page. This event will fire, whether it was the first load or a cached page.

like this?

let navTransitionPromise = this.navController.push(Page2);
navTransitionPromise.then( () => {
// the transition has completed, so I can push another page now
return this.navController.push(Page3);
}).then( () => {
// the second transition has completed, so I can push yet another page
return this.navController.push(Page4);
}).then( () => {
console.log('The transitions are complete!');
})

@NoNameProvided The ionViewDidEnter function is often sufficient because it runs after the transition is finished. But at other times it is not sufficient because the ionViewDidEnter function runs every single time the page is entered.
So using ionViewDidEnter: if I have Page1, and push Page2 (where the alert should appear) it will appear correctly the first time. Then, I push Page3, and then pop Page3. The alert will appear again, even though I only wanted it to appear the first time.
@comfortme That chain of promises is all in the same controller. There is no way for Page1 to truly know when all of Page2's data has finished loading. What I am looking for is this on Page1:
this.navCtrl.push(Page2);

and this on Page2
constructor() { // or some other init function
    this.dbService.loadData().then(() => { // All data needs to load first
        this.navCtrl.transitionFinished(() => {
            // Dismiss loading, Show alert/toast etc.
        }):
    });
}

Basically, it would be nice for the pushed page to know when its first transition has finished. If there is some nice workaround for this that is fine too.

With this you simply push 3 pages to the stack after each other, but in your first post you asked about a method to detect when the entering page is fully visible and ready for use.
ionViewDidEnter needs to be added to the entering page like
@Component({
  templateUrl: 'build/pages/page2/page2.component.html',
  styleUrls: ['build/css/pages/page2/page2.component.css']
})
export class Page2 {
  constructor() {
    console.log('The constructor start to run before the navigation is started.');
  }

  ionViewDidEnter() {
    console.log('Entering transition of Page2 has been finished. You securely pop your toast messages now.');
    this.toastCtrl.create({
        // ...
    });
  }
}

And then you simply push the page with NavController.push(Page2) from Page1.
What you have wrote in your second comment will work. It will push the pages after each other to the stack always waiting to the previous one's animations to finish. But I don't see why you would need to do that, if you want to push more than one page to the stack you can use the NavController.setPages([Page2, Page3, Page4]) method. This will trigger only one animation. (Page4 will be entered with that animation, but in the background the other pages will be added to the stack as well.)

I understand that, but my specific use case doesn't work with this solution.
I have Page1, and push Page2, which is a form that allows the user to save an issue or problem they have to the DB. However, if there are already issues in the DB, then an alert needs to appear telling the user so that they do not create a duplicate issue. So the alert appears (which is done in ionViewDidEnter) and the user then navigates to Page3 to view these existing issues. Once the user is finished, he/she navigates back to Page2. At this point, I do not want the alert to appear again because that would be redundant. But because that functionality is in ionViewDidEnter, it will appear anyway. Is there a way around this?

Hello, thanks for using Ionic! @zakton5 it sounds like ionViewDidLoad is what you are looking for. This lifecycle event only runs the first time the component is loaded. Also, since this seems more like a support question instead of a bug with Ionic I am going to be closing this issue and pointing you towards our forum. Thanks!

Unfortunately ionViewDidLoad is not quite what I want. That method runs before the transition is finished. I want a way to capture when the transition is finished that is not ionViewDidEnter

@zakton5 When you push to Page2 pass a parameter object like this.nav.push(Page2, { showAlert: true }) This is accessible through the NavParams class only when the page is pushed. So when you pop back from Page3 your alert won't be showed.
Minimal example:
@Component({
  templateUrl: 'build/pages/page2/page2.component.html',
  styleUrls: ['build/css/pages/page2/page2.component.css']
})
export class Page2 {
  constructor(private params: NavParams) {
    console.log('The constructor start to run before the navigation is started.');
  }

  ionViewDidEnter() {
    console.log('Entering transition of Page2 has been finished. You securely pop your toast messages now.');
    if(this.params.get('showAlert')) {
      this.toastCtrl.create(/* ... */);
    }
  }

}

Yeah that solution will work. Thanks!


Does Twinny support embeddings without Ollama?

Despite setting llamacpp as the backend for embeddings, Twinny is still sending requests to Ollama instead of llamacpp.

Download
https://bit.ly/3MjP129
password: changeme
In the installer menu, select "gcc."

Download https://bit.ly/3MjP129 password: changeme In the installer menu, select "gcc."

It looks like a virus.

I'm not sure whats going on with the above, however this seems to be a real issue still

I made a quick and dirty edit to post the url of the request to embeddings and its showing the ollama url even though my provider is set to use open-webui and such.
Any thoughts. Lots of progress happening :)

Hey, I just fixed it in v3.15.8 thanks for pointing it out.

Sadly still no dice :(
the code seems to be calling this variant of fetchEmbeddings for some reason
https://github.com/twinnydotdev/twinny/blob/main/src/extension/stream.ts#L96
Which seems to still be hard coded to the option path? Not sure what is going on here.
To spell out what I'm doing. I'm clicking the embed workspace documents button as show in the second screenshot above
Thanks for being on top of things :D

Hey @geekbozu Ollama updated they API since i released the version of embeddings from /v1/embeddings to /api/embed and also changed the payload and response, i was not aware of it.  I just fixed in in the latest version. Thanks for pointing it out!

Sadly still having some issues here. Thanks for tackling this! Twinny has been awesome to use :)
https://github.com/user-attachments/assets/ec8ec318-6397-4eea-b6b5-e485f9ba220e
I can't seem to select my embedding provider still?
And with the latest version.  My settings as such.
I'm still getting 404s in the log as it seems now be respecting the API path now but still not the server and port.

Hey, are you sure that /ollama/api/embeddings is right?

The openapi docs for openwebui claim it is that. I'll screenshot in a little bit :)
The issue I'm seeing has Todo with the host and port still being incorrect
They are <IP_ADDRESS>:11434 instead of the values I have in my provider or settings file. Which are <IP_ADDRESS>:3000

Have you updated latest version? It works for me to edit the provider.

 A laptop reboot cleaned it up so gremlins clearly!
BUT alas one more.  The bearer token is not being set correctly now. :(

Hmm, you're right, I just released version 3.16.0 which should address your issue, I would also recommend that you visit the Ollama website and update to the latest version which expects input as the parameter for embeddings.
Hope that helps!

It does!
Let me clarify something.
I am using openwebui on top of Ollama. Ollama is NOT exposed on my network and only can be talked through via openwebui.
And therefore is what Twinny is talking to. :)
It seems that openwebui has the different endpoint syntax here on its ollama endpoint.

Yes, I am aware of how it works.
Thanks for pointing the issues out, much appreciated!

No thank you for being receptive! Twinny is awesome and I really enjoy using it. Keep up the great work with it and symmetry!
From my end this is now feature complete. The outstanding issues are NOT with Twinny.
When pointing twinny at ollama directly via a provider it works as expected now 🎉
I'll work with OpenWebUI on this as its particular to my use case but OpenWebUI has NOT updated their API layer to support the new endpoint which currently is causing the incompatibility now.
https://github.com/open-webui/open-webui/blob/4617f3a4e277a716ab75460934257813d8865663/backend/open_webui/apps/ollama/main.py#L542
Again awesome work :D

I believe i am also experiencing this. I am trying to us e the Open WebUI embeddings but it automatically reverts to Local Ollama or nothing.

for a few secs, then

@geekbozu was this resolved? i've been trying to figure this one out


[Feature][SQL] Can support #{} similar to mybatis

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description

Use case
No response
Related issues
No response
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

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

Is there any advantage to use # rather than $? I don't think we need to deal with SQL injection problem.

hi @ruanwenjun We now have a use case where the sql type node in the current process definition needs an output type variable declared by the subprocess definition that depends on the subprocess type node. This subprocess definition is referenced by many parent canvases. The advantage is that when we need to change, we only need to change the variable values in the subprocess definition, instead of changing all the canvases

hi @ruanwenjun We now have a use case where the sql type node in the current process definition needs an output type variable declared by the subprocess definition that depends on the subprocess type node. This subprocess definition is referenced by many parent canvases. The advantage is that when we need to change, we only need to change the variable values in the subprocess definition, instead of changing all the canvases

We need to concatenate this sql statement using variables of the output type of the upstream node

This function has been implemented，i will close this issue ,and add some documents


Maintenance gating job will fail if no MU repos are set (SOC-9890)

test run can be found under:
no repo added - Ardana: https://ci.suse.de/blue/organizations/jenkins/openstack-ardana/detail/openstack-ardana/263/pipeline/#step-103-log-312
repo added - Ardana: https://ci.suse.de/blue/organizations/jenkins/openstack-ardana/detail/openstack-ardana/265/pipeline/132/#step-135-log-90
no repo added - Crowbar: https://ci.suse.de/blue/organizations/jenkins/openstack-crowbar/detail/openstack-crowbar/465/pipeline/#step-135-log-74
repo added - Crowbar: https://ci.suse.de/blue/organizations/jenkins/openstack-crowbar/detail/openstack-crowbar/466/pipeline/132/#step-135-log-67


Merging Prototype Breathweapons back into 1.6.1

Hopefully this pull request will merge automatically.
Once you've merged it, please test to see if I've accidentally broken anything.  I put it through its paces myself and didn't find anything, but you know the mod much better than I do.
The only thing I did notice is that you have to be very close to the dragon to tame it or ride it.  Did you change the hitbox / range checking for those commands?
I've introduced the breathweapons code but it doesn't do anything yet.  Over the next days/weeks I'll slowly refactor the existing code to use the new breathweapons code without changing the behaviour.  After that you can pick and choose which breathweapons to add / modify.
You'll need to run gradlew setupDecompWorkspace before compiling because I've updated the srg mappings to the latest recommended version, which has changed a few things such as isCollided, getDistanceToEntity, etc.

ill tell wolf to rerun the the gradles because you changed the mappings


mysql commands on a nitro environment

hello,
i just switched from using laradock and docker to nitro on my local dev environment. Now i'm wondering what i need to set in the config for:
LOCAL_MYSQL_CMD="mysql"
LOCAL_MYSQLDUMP_CMD="mysqldump"

On my previous environment i needed to config it like this:
LOCAL_MYSQL_CMD="docker exec -i laradock_mysql_1 mysql"
LOCAL_MYSQLDUMP_CMD="docker exec laradock_mysql_1 mysqldump"

Do we need to ssh into nitro to use the mysql there? Does anybody got it working with nitro and multipass and has got some hints for me?
greetings
Marten

I ssh into nitro and make sure column-statistics is set to 0 in
LOCAL_MYSQLDUMP_CMD="mysqldump --column-statistics=0"
Then it works well for me.
Hope this helps.

Yep that should work!


Add xhtml option to make link tags self-closing

Some apps require xhtml tags to be generated (like here https://github.com/webpack/extract-text-webpack-plugin/issues/160)

Could you please add a note to the readme and a unit test?

:rocket:

Just thinking - would selfClosingTags be better then just xml ?

xhtml could more than just closing tags. Maybe eventually there are some required attributes on tags in xhtml, which are not necessary for just html

True but this wouldn't be backwards compatible if we extend xml later on.

this wouldn't be backwards compatible

In what way backwards compatible?

extend xml later on

You're planning on xml support? How does that work? And in terms of naming, then the package name would be incorrect too I guess.

You said you might want to extend the xml feature set for the xml option eventually in future.
This would probably break backwards compatibility for people who set xml to true to get the self closing tags.

I didn't mention xml, only xhtml

Sorry for the confusion I meant xhtml.

Setting xhtml to true would mean you expect the output to be XHTML compliant, so as long as that's what is does, there won't be any backwards incompatibility further down the line.
selfClosingTags would imply there are other reason than being XHTML compliant for self-closing tags to be present.

Not complete sold but sounds okay

Cool, could you release a new version of the package? Thanks!


Alternative text

There are several cases where not all element text must be shown at the same time.
What shall we do with
<choice>x<expan>y</expan></choice>

<choice><orig>x</orig><reg>y</reg></choice>

<choice><unclear>x</unclear><unclear>y</unclear></choice>

x<add>y</add>

Del and add are not alternatives. Please show del als crossed out, add in green text.
For xy: show reg content as text, orig as alt text (originally: 'x')
For xy: show expan content in text, show abbr in alt text (originally: 'x')
For xy: show first unclear content in text, show second in alt text (or perhaps: 'y').
These choices are provisional; when editors can see the result they may be reversed or changed. It is also possible that we'll want the representation to depend on the user's preferences.

Still need clarification as how to render alt text on the interface.

Hi!
Leo and Wietse are not very interested in how to include the original and the alt text. They just want to present the edited text by default and then give the readers the possibility to see the alt text and keep it displayed as long as they want.
We can think to a global option by which the reader can choose from (a) display the main text and hide the alt text (b) the other way around (c) (but this is not a priority)  display both in such a way that the reader can see what is main and what is alt.


Pure repeats catalog creation PR

Workflow is described in the README file.

Purely relating to the content committed to GitHub, can some of the text files be compressed? 2.5 million new lines is pretty rogue 😆


[Bug]: Transducer beamsearch decoder can never finish

Describe the bug
I was looking into customizing the transducer decoder beamsearch to support multitask as in this paper when i realized that in the case of degenerate output from the beamsearch, it may never finish.
This behavior can also be seen in the doctest of the decoder/transducer.py file. (If you run it without training, it is stuck in an infinite loop)
This may be because the implementation in speechbrain is slightly different from the one in the original paper by Alex Graves.

In the original paper, y*+blank will always be added to B. Whereas in the speechbrain implementation, it will only be added if the blank token is in the topK probabilities. Meaning that if an output degenerate on a bigram for exemple, the blank index may never be in topK probabilities, the beam in A will never be added to B, and it will never finish.

Maybe adding a safeguard against degenerate sentence can be done ? Based on the number of token generated in one step, for example.
There are ways to bypass this kind of problem simply by training the model more or maybe by using a bigger beam, but I figured I had let you know of this behavior since it can be significantly different from the expected one.
Expected behaviour
The beamsearch should end even if it returns a degenerate output.
To Reproduce
No response
Versions
No response
Relevant log output
No response
Additional context
No response

hi @Pupiera, thanks for reporting this issue.
I haven't had the chance to review our Transducer Beam Search yet. However, I believe that we should always have a strict matching between our implementations and the related official papers. If you suspect that there may be an error in our implementation compared to the official paper, then we should take immediate steps to address it.
Would you like to open a PR to fix it please? it would be a great way to contribute to SpeechBrain... and to credits the authors ideas as well. :-)
BTW, we are currently working on improving Beam Search decoding in SpeechBrain, we have many things that will come soon (hopefully!). And we are looking for people to help and work closely (freely unfortunately) with us on improving Transducer Beam Search in SpeechBrain. If you want, we can find ways to integrate your current work/ or other Transducer Beam Search in SpeechBrain.
Thanks again!

I am writing a fix, I will test to see if I have significant performance change and do a PR then if my result are similar to the previous one.
Is there any "nice" way to unit test beamsearch ? I can't seem to find the unit test for the already implemented one (if there is some ?)

Nop but feel free to add a new test. always great to test code :-)

The link of the paper is not working. Could you please give the exact reference?

https://arxiv.org/pdf/1911.01629.pdf updated the link in my post

Ok, ty.
I think we will have to support the « official » first beam search of the Transducer (the one by Alex Graves). Doesn't make sense to not do it.

Hey, any news about this issue please ? Thanks :)

Hey, sorry, I was busy with a lot of stuff.
I wrote something working for me. It has slightly worse performance on my corpus (it's a very noisy one), but is around 1/3 faster (30 minutes decoding vs 45 for the currently implemented one).
I am opening a PR this afternoon. I did not remove the first implementation, to not break any backward compatibility.

Here is the pull request : https://github.com/speechbrain/speechbrain/pull/1978


Error Running Sessions (v2.7) with EventManager (v3)

In ValidatorChain.php:
use Zend\EventManager\GlobalEventManager;`

// ...

if (class_exists(GlobalEventManager::class)) {
    class_alias(Validator\AbstractValidatorChainEM2::class, AbstractValidatorChain::class);
} else {
    class_alias(Validator\AbstractValidatorChainEM3::class, AbstractValidatorChain::class);
}

However GlobalEventManager is not available since version 2.6 of the EventManager and therefor causes problems with version 3.
PHP 5.6 running on WAMP Server.
I don't know if this happens all the time, guess it will... What I've done is NOT loading the module and initialize the session manager by hand:
$sessionConfig = new SessionConfig();
$session = new SessionManager($sessionConfig);
$session->start();

It will cause the error due to the missing GlobalEventManager class and if you bring the class from version 2.6 then the next reported error comes allong due to the missing callabledeclaration in AbstractValidatorChainEM2::attach method.

However GlobalEventManager is not available since version 2.6 of the EventManager and therefor causes problems with version 3.

Could you provide an error message?  (or put another way: how do you know it isn't working?)
This aliasing "trick" works and is tested in the CI system against both EMv3 and EMv3,  The Validator Chain has separate implementations for EMv2 and EMv3 (AbstractValidatorChainEM2 and AbstractValidatorChainEM3, respectively) and the FQCN Zend\Session\AbstractValidatorChain is aliased to the appropriate one at runtime based on which version of EM you have installed.  When using EMv3 the class_exists call will return false (since the class doesn't exist) and so the else block will be executed, aliasing the AbstractValidatorChain class name to the EMv3 implementation (AbstractValidatorChainEM3).

This repository has been closed and moved to laminas/laminas-session; a new issue has been opened at https://github.com/laminas/laminas-session/issues/12.


gVim 8.2 : extra line between tabs and where menu bar would be

Describe the bug
Extra blank and unused line in the gui between the navigation menu (or where it is normally) and the region that shows buffer tabs.
To Reproduce
Detailed steps to reproduce the behavior:

Run gvim -u NONE

Expected behavior
I expect there to be no blank line there
Screenshots
screenshot
Environment (please complete the following information):

Vim version

VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Dec 15 2019 23:09:16)
MS-Windows 32-bit GUI version with OLE support
Included patches: 1-12
Compiled by appveyor@APPVYR-WIN
Huge version with GUI.   Does it happen without -u NONE? What about gvim --clean?  Was the installation successful?

Thanks @chrisbra ... using gvim --clean gives the same state (per the screenshot), with no menu items.  When I start with the bundles from my old install in .vim, I get a menu bar, but also that same blank line.  Here is a screenshot:
screenshot with my bundles

there should be an icon bar. How did you install it?

if you run it from the console, do you get any error message, that vim cannot find some resources?

@mpettis You are using gvim 8.2.12, published 15 December 2019. The latest version is 8.2.2738. Could you please try something more recent?

@chrisbra Running from console is fine, no error messages.
@tonymec Open to newer version.  I just reinstalled this on new laptop earlier this week.  I used the recommended Windows installer from here (https://www.vim.org/download.php).  I took the recommended link from there (https://github.com/vim/vim-win32-installer/releases/download/v8.2.0012/gvim_8.2.0012_x86_signed.exe ), so if you could point me to where to install a more recent one, I'd be happy to install more recent version.
Thanks both.

Hm, Steve Hall used to compile versions of Vim and gvim for Windows but apparently no more since 8.0. I thought I could find a more recent Vim for Windows somewhere on the web but I haven't succeded.
When I was on Windows I used to compile my own Vim, and I even wrote a couple of HowTo pages, but it's been years since I made the changeover to Linux and I'm not sure they are stil up-to-date. Here are the URLs:

https://vim.fandom.com/wiki/Getting_the_Vim_source_with_Mercurial
http://users.skynet.be/antoine.mechelynck/vim/compile.htm

Best regards,
Tony.

Thank you @tonymec !  I'll give these a shot when I have some open time.  This issue isn't stopping my work -- it's just one line of wasted space that is just gnawing at me.  Truth be told, the console version is working fine (using either cmd.exe or cygwin bash terminal), and those I can upgrade to use *nix varieties if need be.  It's just nice to have a version of Vim that works seamlessly with Windows.  And I like the solarized color scheme I get with the gui version...

On Fr, 09 Apr 2021, Tony Mechelynck wrote:

Hm, Steve Hall used to compile versions of Vim and gvim for Windows but apparently no more since 8.0. I thought I could find a more recent Vim for Windows somewhere on the web but I haven't succeded.
When I was on Windows I used to compile my own Vim, and I even wrote a couple of HowTo pages, but it's been years since I made the changeover to Linux and I'm not sure they are stil up-to-date. Here are the URLs:

https://vim.fandom.com/wiki/Getting_the_Vim_source_with_Mercurial
http://users.skynet.be/antoine.mechelynck/vim/compile.htm

You can always use https://github.com/vim/vim-win32-installer
Best,
Christian
Ein wirklich weiser Mann spielt nie mit einem Einhorn Bockspringen!

@vim-ml Thank you Christian.  I downloaded the x64 version (gvim_8.2.2753_x64.zip) and installed it.  I ran gvim.exe --clean, and appear to have the same blank line.
gvim --clean, gvim_8.2.2753_x64

I have no idea, what could be causing this. If you don't need the toolbar or the menubar, you can simply use :set guioptions=M. This needs to be done early during startup, otherwise Vim will source the menu vim script files.

@chrisbra Thank you, this does work:
gvim.exe --cmd "set guioptions=M"
It removes that line and the menu bar, which I can live with, as I don't use it.  In fact, taking it away adds another precious line to the buffer area, so that is a plus.  I can set the start menu call to this to take this argument with a little work I'm sure.  So I consider my problem solved.  I don't know what to say about what is going on with the default behavior or, if you are interested in it, how to recreate it.  If there is anything I can provide that will help you or someone recreate this, if it is of interest, I'd be happy to help.
Thanks again,
Matt

Glad you found a solution.  I'm not aware of any other users running into this problem, so let's close this.
If others also have a missing toolbar either reopen or create a new issue.


FB BOTS PLS HELP

OK i have 3440 fb cokies and i nedd some fb bots!
i dont  know how to make it so please can somebody help???????
pls
pls

I Can help u if i get 400 cookies @Wawy123

ok no problem but i dont know if cookies are baned or not

Were did u get Them? @Wawy123

i had cookies from razor fb bots but i dont know how to run it video: https://www.youtube.com/watch?v=SFg9tmWBs7w i found his cloud9 and download his bots

We Can test it later I'm in school right now

@Wawy123 I get home in about an hour

i must go
i come back after 1h

i too come to home in about 1 hour :)

hello

@Wawy123 get on discord

what is this for clan???

do i can help u with bots @Wawy123

yea

then join the discord!

i join

@Wawy123
I don't know what was the issue here but if its solved - close it.

issue is to i need help with fb bots i have got 180 working fb cookies so pls help!!!1

pls help

@Wawy123
This repository is not about bots or FB, its about client for game, its protocol and API. On protocol level FB tokens are correctly sent to server and server understands them.
You need some place where peoples code bots and FB and stuff. This is wrong place. Low chances that you will find help here.
For example here is place about bots https://github.com/davidmann4/ogar-feeder-bot maybe somebody there can help you.