1.0.0 stable branch

This PR marks the final PR after which the stable release process could be initiated.
In this PR, the following is attained:

[x] Introduced DirectoryPath for external path extraction to avoid nullary arguments.
[x] Memory logging optimizations for external file streams initializers.
[x] 1.0.0-zeta pre-release on this branch for testing.

This PR hopefully removes the hassle of using ZipCompressionType enum; that is obviously an anti-pattern introducing race conditions to the framework, and was captured by the TestMultipleLoads example. And, merge the classpath routine into the file locator API, among other features like merging the validation into the exception handling block.

Alright, here is another test report from snap-jolt:
/media/pavl-machine/pavl-g/Projects/snap-jolt git:[jsnaploader-1.0.0-stable]
./gradlew run

> Task :run FAILED
OpenJDK 64-Bit Server VM warning: You have loaded library /media/pavl-machine/pavl-g/Projects/snap-jolt/libjoltjni.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
Aug 07, 2024 1:43:51 PM electrostatic4j.snaploader.NativeBinaryLoader loadBinary
SEVERE: Cannot load the dynamic library: /media/pavl-machine/pavl-g/Projects/snap-jolt/libjoltjni.so
java.lang.UnsatisfiedLinkError: /media/pavl-machine/pavl-g/Projects/snap-jolt/libjoltjni.so: /media/pavl-machine/pavl-g/Projects/snap-jolt/libjoltjni.so: file too short
        at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method)
        at java.base/java.lang.ClassLoader$NativeLibrary.load(ClassLoader.java:2445)
        at java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary(ClassLoader.java:2501)
        at java.base/java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2700)
        at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2630)
        at java.base/java.lang.Runtime.load0(Runtime.java:768)
        at java.base/java.lang.System.load(System.java:1837)
        at electrostatic4j.snaploader.NativeBinaryLoader.loadBinary(NativeBinaryLoader.java:253)
        at electrostatic4j.snaploader.NativeBinaryLoader.loadLibrary(NativeBinaryLoader.java:158)
        at com.github.stephengold.snapjolt.HelloWorld.main(HelloWorld.java:104)

Aug 07, 2024 1:43:51 PM electrostatic4j.snaploader.library.LibraryExtractor initialize(int)
INFO: File extractor initialized with hash key #584641848
Aug 07, 2024 1:43:51 PM electrostatic4j.snaploader.library.LibraryLocator initialize(int)
INFO: File locator initialized using classpath routine with hash key #1099967463
Aug 07, 2024 1:43:51 PM electrostatic4j.snaploader.NativeBinaryLoader$2 initializeLibraryExtractor
INFO: Locating native libraries has succeeded!
null
sun.net.www.protocol.jar.JarURLConnection$JarURLInputStream@45ff54e6
Aug 07, 2024 1:43:51 PM electrostatic4j.snaploader.NativeBinaryLoader cleanExtractBinary
INFO: File extractor handler initialized!
Aug 07, 2024 1:43:51 PM electrostatic4j.snaploader.NativeBinaryLoader$1 cleanExtractBinary
SEVERE: Extraction has failed!
java.lang.NullPointerException
        at electrostatic4j.snaploader.filesystem.FileExtractor.extract(FileExtractor.java:139)
        at electrostatic4j.snaploader.filesystem.ConcurrentFileExtractor.extract(ConcurrentFileExtractor.java:72)
        at electrostatic4j.snaploader.NativeBinaryLoader.cleanExtractBinary(NativeBinaryLoader.java:339)
        at electrostatic4j.snaploader.NativeBinaryLoader.loadBinary(NativeBinaryLoader.java:267)
        at electrostatic4j.snaploader.NativeBinaryLoader.loadLibrary(NativeBinaryLoader.java:158)
        at com.github.stephengold.snapjolt.HelloWorld.main(HelloWorld.java:104)

Aug 07, 2024 1:43:51 PM electrostatic4j.snaploader.library.LibraryExtractor close
INFO: File extractor #584641848 resources closed!
Exception in thread "main" java.lang.UnsatisfiedLinkError: 'void com.github.stephengold.joltjni.Jolt.registerDefaultAllocator()'
        at com.github.stephengold.joltjni.Jolt.registerDefaultAllocator(Native Method)
        at com.github.stephengold.snapjolt.HelloWorld.main(HelloWorld.java:111)

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':run'.
> Process 'command '/usr/lib/jvm/java-11-openjdk-amd64/bin/java'' finished with non-zero exit value 1

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 2s
2 actionable tasks: 2 executed
<-------------> 0% WAITING
> IDLE

Interpretation:
The API lifecycle shows that it fails at the extraction phase due to nullary file streams during the buffer allocation phase for the file output stream handlers.
Possible Potential causes:

[-] Premature closure of file locator stream providers on any stage of the loading lifecycle (EXCLUDED).
[-] Nullary LibraryLocator#filePath field (SUSPECT).

Analysis code:
LibraryInfo info = new LibraryInfo(new DirectoryPath("linux/x86-64/com/github/stephengold"),
				"joltjni", DirectoryPath.USER_DIR);
  NativeBinaryLoader loader = new NativeBinaryLoader(info);
loader.setLibraryLocalizingListener(new FileLocalizingListener() {
      @Override
      public void onFileLocalizationSuccess(FileLocator locator) {
                try {
                    Field field = FileLocator.class.getDeclaredField("filePath");
                    field.setAccessible(true);
                    String file = (String) field.get(locator);
                    System.out.println(FileLocator.class.getResourceAsStream(file));
                    System.out.println(FileLocator.class.getClassLoader().getResourceAsStream(file));
                } catch (NoSuchFieldException | IllegalAccessException e) {
                    throw new RuntimeException(e);
                }
            }

      @Override
      public void onFileLocalizationFailure(FileLocator locator, Throwable throwable) {

      }
});
...

Analysis Output:
...
null
sun.net.www.protocol.jar.JarURLConnection$JarURLInputStream@45ff54e6
...

Conclusions:

[x] Using
[x] Using ClassLoader.getResourceAsStream(...) works fine.
[x] The Zeta version has erroneously refactored to use the Class.getResourceAsStream(...) during solving the hassle of reverse constructor routines antipatterns.


Separate checkpoint save and best save

Description
Please include a summary in English, of the changes in this pull request. If it closes an issue, please mention it here.
Closes: #385
You should link at least one existing issue for PR. Before your create a PR, please check to see if there is an issue for this change.
PRs from forked repository not accepted.
Change(s)

Separate checkpoint save and best save
Call only once best save method at the end of training

Changelog
If you PR to dev branch, please add a brief summary of the change to the Upcoming Release section of the CHANGELOG.md file and include a link to the PR (formatted in markdown) and a link to your github profile.
For example,
- Added a new feature by `@myusername` in [PR 2023](https://github.com/Nota-NetsPresso/netspresso-trainer/pull/2023)

Code Formatting
If you PR to either master or dev branch, you should follow the code linting process. Please check your code with lint_check.sh in ./scripts directory.
For more information, please read the contribution guide in CONTRIBUTING.md.

@aychun


Firebase cloud message in background

I add in my application example code (https://github.com/firebase/quickstart-android/blob/40f0620d8ef0d47d08c842c4ba362cea32eda53d/messaging/app/src/main/java/com/google/firebase/quickstart/fcm/java/MainActivity.java)  to manifest  and main Activity:
if (getIntent().getExtras() != null) {             for (String key : getIntent().getExtras().keySet()) {                 Object value = getIntent().getExtras().get(key);                 Log.d(TAG, "Key: " + key + " Value: " + value);             }         }
If my application is off, push show in android notification area. I click notification and my application running, this code is work and in catlog I see:
Key: google.delivered_priority Value: high  Key: google.sent_time Value:<PHONE_NUMBER>718  Key: google.ttl Value: 2419200  Key: google.original_priority Value: high  Key: from Value:<PHONE_NUMBER>1  Key: google.message_id Value: 0:1574676519766851%7139185571391855  Key: collapse_key Value: ru.ittest.freezio_senser
Can you add in your example code, how find message bode, titlle and image uri with this keys. Thank you so much, for your  work, example work perfect.

Hi @ProstakovAlexey the title body and image is not available when the user taps on the notification. If you want to get that data you will have to add it to the "data" payload of the message you are sending.

Arthur, thank you for answer. Now I use payload (add in firebase console)
 and it work.


CrossL2Inbox: Renaming Bikeshed

Since the removal of the only eoa invariant from the interop spec, the CrossL2Inbox no longer needs to be thought of as an inbox. Previously, we enforced an eoa to send a transaction to the CrossL2Inbox with calldepth == 0 by enforcing require(msg.sender == tx.origin). This made the executing message data be in the calldata rather than an event. The nice property here is that you can statically analyze cross chain transactions to check the correctness of an executing message (the identifier references the message). After the removal of the only eoa invariant, now execution is required to check the correctness of an executing message.
Since the CrossL2Inbox is no longer the entrypoint for a cross chain message, should it be renamed? This issue is meant to collect a list of names and we can decide on Aug 16th if we ultimately want to rename the contract.

CrossL2Executor ?

L2MessageValidator


BUG: Functions table seems not to align properly

The Scalar Functions table on different screens might not fit on the screen (laptop 15inch). Others seem to be fine


Question - Where are the SID, ID, L values in models

I'm working with a Fronius inverter, and while comparing their register map to yours, I've found some inconsistencies.  Here's their doc:
http://take.ms/7Ikq3
On Page 89, their common model includes an SID, ID, and L property that isn't reflected in smdx_00001.xml.  Also, their model length is 65, while yours is 66 (this may be just the 'Pad' value)
They always include an ID, L property in each model, whereas in your docs, it's always missing.

I don't suppose someone could enlighten me?
Motivation for Sunspec
I'm working on this OSS elixir client (master).
https://github.com/jeffdeville/ex_sunspec
Now that I've found this project, I'm hoping to be able to create clients as easily as:
defmodule Fronius.Inverter do
  use ExSunspec, start: 40_000, models: [1, 101, 120, 123]
end

This is working, except that my memory addresses are incorrect!

model length
SunSpec says that each model must start at an even register address. This means that the models must contain an even number of registers. According to the specification the length of 66 registers as it is given in smdx_00001.xml is correct. If you take at look at the registers defined there you will see, that at register 65 there is a register with length 1 and type pad. This means that it is a filling register and does not contain any data. Unfortunately some vendors do not include this padding register (like your Fronius device).
So the correct length would be 66, but you won't loose any information if it is given with a length of 65.
SID
The SID is not part of any model. Instead it is an indicator that this is a SunSpec compatible device and marks the starting point of the models. That's the reason why it is not included in the common model.
Usually the SID is located at register 40001 (equals to address 40000). This seems to be the case for the Fronius inverter as well.
ID, L
The smdx files describe the models. The ID and Length of the models actually are not part of the models but form a model header. The model header is generic and contains the ID of the subsequent model and the length of the model which is especially important for models with a variable length. From the model header you can determine the start of the next model respective the model header of the next model.
So the layout is as follows:

Register
Value

40001-40002
SID

40003
ID (of the common model)

40004
Length (of the common model)

40005-40069
the common model

40070
ID (of the next model - in your case maybe the single phase inverter model)

40071
Lenght

40072-40xxx
the next model

Thank you @connium!  That should be enough to get me moving again!

Thanks again @connium. It looks like the fronius docs are wrong.  It looks like when they say offset 1, what they really mean is 0.  I'll mention it to them.

@connium - Sorry, one more question. It turns out the struggle was indeed related to the model length of 65 vs 66. (I calculate the starting point for the next model using the 'length' value).  The Fronius team tells me that the spec was initially length 65, and was changed after adoption. I've created a flag to handle this case, but I'd like to know if there are any other oddities like this I should be aware of?
Thanks!

the spec was initially length 65, and was changed after adoption

Thanks for sharing this information. I wasn't aware of this fact.

are [there] any other oddities like this I should be aware of?

I'm sorry, I cannot answer you this question. Well there are some other models that use a pad register to fill up to an even length (I don't know the exact model ids - you'll  have to look for pad).
Up to now I haven't encountered any issues.


Add fetch canonical data syncer

Adding a tool to allow contributors to fetch the newest tool for helping tracks keep their exercise-specific tests.toml files in sync with the latest canonical data in the problem-specifications repo.

@devkabiir I'll add it in a few hours to this PR

@devkabiir I added it, but I cannot test it. I don't have Windows. If you can, could you make sure it's properly setup.
I don't know if we need to do anything to ensure it's executable.

@devkabiir Yes


Prepare release (automated)

Automated changes by create-pull-request GitHub action

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 15.873%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
37

Relevant Lines:
246

💛  - Coveralls


Adding appveyor for v3

R: @jeffposnick @addyosmani @philipwalton
This renables AppVeyor. Hoping we can enable it for all tests that will hopefully help us build consistently on Windows
Will chill until it actually passes.

Changes Unknown when pulling 59b56b738c847a085f0dcfa60454ce54a19aa609 on v3-appveyor into ** on v3**.

Changes Unknown when pulling cab02ab2ba5bd8b6d0be5493faaeb447913efe8c on v3-appveyor into ** on v3**.

Changes Unknown when pulling 27062dae51c85f5984f1855bd18933f9238e7ed4 on v3-appveyor into ** on v3**.

Changes Unknown when pulling a229a711ed2800b7fea6df386bc1d94e2842c1fd on v3-appveyor into ** on v3**.

Changes Unknown when pulling 23309ec8d6c9edad0e5512ab62dedee150dd28b0 on v3-appveyor into ** on v3**.


Bug: [meta] TypeScript isn’t an optional peer dependency

Versions

package
version

typescript
none

ts-essentials
9.3.2

Repro Code
N/A

TypeScript Playground
N/A
Expected Result
When used within a library, ts-essentials expects a certain version of typescript to be installed as a peer dependency.
However, when a JS-only app using pnpm imports a library which depends on ts-essentials, pnpm will emit an error about a missing peer dependency – namely typescript – even though an app written in JS needn’t have TypeScript installed.
Actual Result
While specifying a minimum version range is reasonable, TypeScript should be marked as optional peer dependency. Therefore, the range constraint would still apply but only when typescript itself is installed.

Hey @kripod!
Apologies for the late response and thank you for the suggestion!
Does it mean that I can set peerDependenciesMeta and for npm (yarn, pnpm) versions that support it will skip the check and won't throw an error during install?
I'm happy to document it and include into README.md as a fix, however I will need to properly test it, do you know what would be the best way to do it?
Also as a workaround for pnpm, you can set pnpm.packageExtensions to fix it for now until the work is done on ts-essentials side

@Beraliv yeah, setting peerDependenciesMeta[package].optional to true means that the constraint for package’s version range is only enforced if package is installed.
The issue with pnpm.packageExtensions is that it only works directly within apps, but not for libraries which are consumed by apps. Even if I’d set pnpm.packageExtensions within a library of mine, the JavaScript apps which consume my library would need to do the same if ts-essentials is a dependency (or peer dependency) of my library.
All in all, in order to avoid having to install TypeScript within JavaScript apps just for the sake of satisfying the peerDependencies requirement of ts-essentials, my proposed peerDependenciesMeta options should be added directly within the package.json of ts-essentials.

It's released in https://github.com/ts-essentials/ts-essentials/releases/tag/v9.4.0


Do not use product identifier based lookup for older tools-versions

When we introduced module aliasing, we tried to paper over the fact that there are no product aliases by changing the lookup under certain conditions. It looks like one of these conditions is "one package in the graph uses aliasing" which breaks if the graph contains any packages with pre-5.2 tools-versions because they lack the information to do a identity based lookup.
This changes opts packages with older tools-versions out of the identity based lookup. This implies that it is not possible to use aliasing in certain situations, but that seems preferrable to not being to use aliasing at all in affected package graphs.
rdar://113506853

@swift-ci please smoke test

Looks like we have some tests relying on the previous behavior :/

@swift-ci please smoke test

@swift-ci please smoke test windows

Fixed the existing tests and added some new tests.
Also added an additional warning if module aliasing is being used and we encounter a product name conflict involving a package with tools-version < 5.2. Unfortunately, we currently do not retain enough information to definitively say whether the conflict is due to the package being older, but since it is very likely, this seems like a good diagnostic to emit.

One thing that's unfortunate here is that it seems like the manifest testing APIs are not doing any tools-version enforcement, so it was possible to write tests using the moduleAliases API which were using a tools-version < 5.9. It seems like this can create lots of weird scenarios during tests and should be fixed.

@swift-ci please smoke test windows

@swift-ci please smoke test windows

Windows CI doesn't seem to trigger once more...

@swift-ci please smoke test windows


Store frameworks in a shared cache

We build a lot of apps with shared dependencies and could greatly benefit from this project iff it would use a shared cache for storing and retrieving the compiled frameworks. I imagine it to be in a folder like ~/.cocoapods/prebuilt. The cache structure would involve subdirectories for xcode version, platform, spec version/hash to make sure you're getting the right binary.
Is this a use case that would fit with this project? If so, I'd be happy to see if I can start a PR for it.

+1, would benefit greatly from this.


bug: Loadbalancers and Ingress are not working as expected

Describe 🐞
when trying out loadbalancer type or nodeport Service resource in kubernetes is in pending state
Provider in effect

Azure
Civo

Reproduce 💻 ➡  💻
try to deploy the nginx or other loadbalancers
Possible Fix & Expected behavior🔧
currently unknown
Screenshots :framed_picture:
Desktop (please complete the following information):

OS

[x] MacOS
[x] Windows
[x] Linux

ksctl version <Version>

Additional context
Add any other context about the problem here.

possible solutions
Switch from HA proxy to https://kube-vip.io/ or https://www.k8gb.io/

https://www.youtube.com/watch?v=U46hlF0Z3xs

Let me work on this @dipankardas011
Please assign

Let me work on this @dipankardas011
Please assign

Sure you can do research and have a plan how and what changes we need to have
By that time new architecture design should be ready for all of us to work

Hey is the design we were planning ready? @dipankardas011

@ashutosh887 yes the design is ready just  some minor fix will be their in design and also codebase you can also check the current progress in pr #123

Hey is the design we were planning ready? @dipankardas011

everything is ready you can work on this issue

Thanks @dipankardas011
Where can I find it?

Currently check in k3s distribution

https://github.com/kubernetes/kubeadm/blob/main/docs/ha-considerations.md


createHistory() (via history) fails when the base route is not the domain root

When using nginx to serve your application at a url such as, http://mydomain.com/some/base createHistory() cannot determine the application root url.
You get the following error when trying to visit your application:
Warning: Location "/some/base" did not match any routes

Same issue on the history repo: https://github.com/rackt/history/issues/58

My guess is that this is something that needs to be handled in nginx

there is no point to open two the same issues, this issue is related to History so I'm closing this one, let's discuss it in rackt/history#58.

You've both closed the issue, can you please reopen the issue?

@knowbody You've both closed the issue, can you please reopen the issue?

sure

Fixed (see https://github.com/rackt/history/issues/58)

thanks Michael!

That'll do ;)


Support Steam client logins alongside Web API bindings

Read the documentation for the steam Python package for reference of functionality. Any ideas??
Potential implementation concept?
pub struct SteamClient {
    username: String,
    password: String,
}

impl SteamClient {
    pub fn new(
        username: &str,
        password: &str
    ) -> SteamClient {
        // todo
    }
}

This should be enabled by a feature flag


How can I prioritize fetching the most recent tweets first

I am using user_tweets = await client.get_user_tweets('XXXXX') to retrieve tweet information, but it returns older tweets first. I would like to prioritize returning the most recently created tweets. How can I achieve this?

You can't, just fetch certain amount and manually check them.

Perhaps this solution will help you figure out the problem click

Perhaps this solution will help you figure out the problem click

the page or file you tried to access was not found

@yuhai5237 Not Found
Sorry, the page or file you tried to access was not found.


how to install using composer?

i add "yugene/gearman-monitor"		: "*" in my compose.json
and i see
Problem 1
- The requested package yugene/gearman-monitor could not be found in any version, there may be a typo in the package name.

Gearman-monitor is not available through packagist, so you have to add the link to the repo. See the following: http://stackoverflow.com/questions/12954051/use-php-composer-to-clone-git-repo


Implement location option on quote

http://elixir-lang.org/docs/stable/elixir/Kernel.SpecialForms.html#quote/2-stacktrace-information

Going to close this as well since it should not have any functionality in generated js


Unused runtime dependencies?

Version 3.1.5 from PyPI declares dependencies on setuptools and toml:
Requires-Dist: setuptools (>=47.0.0)
Requires-Dist: toml (>=0.10.0,<0.11.0)

However, I found no reference to these dependencies in the installed code that comes with the package.
Are these dependencies leftovers from a time when EnvironmentParser (setuptools) and PoetryParser (toml) were still part of this codebase? Can they be dropped now?

Thanks for the report, @rolweber
Could you provide some evidence for your findings? I would love to review and investigate.

@rolweber would you create a pull request and change things to the behavior you'd expect?

Evidence:

I grepped for the package names, see below.
I removed the dependencies in question and was still able to build a BOM and output it as JSON.

ls -l cyclonedx*
cyclonedx:
total 12
drwxr-xr-x. 1 rolweber rolweber   98 Jan 13 11:29 exception/
drwxr-xr-x. 1 rolweber rolweber   64 Jan 13 11:29 factory/
-rw-r--r--. 1 rolweber rolweber  697 Jan 13 11:29 __init__.py
drwxr-xr-x. 1 rolweber rolweber  260 Jan 13 11:29 model/
drwxr-xr-x. 1 rolweber rolweber  108 Jan 13 11:29 output/
drwxr-xr-x. 1 rolweber rolweber   44 Jan 13 11:29 parser/
drwxr-xr-x. 1 rolweber rolweber   84 Jan 13 11:29 __pycache__/
-rw-r--r--. 1 rolweber rolweber  153 Jan 13 11:29 py.typed
drwxr-xr-x. 1 rolweber rolweber  488 Jan 13 11:29 schema/
-rw-r--r--. 1 rolweber rolweber 2071 Jan 13 11:29 spdx.py

cyclonedx_python_lib-3.1.5.dist-info:
total 36
-rw-r--r--. 1 rolweber rolweber     4 Jan 13 11:29 INSTALLER
-rw-r--r--. 1 rolweber rolweber 11357 Jan 13 11:29 LICENSE
-rw-r--r--. 1 rolweber rolweber  5878 Jan 13 11:29 METADATA
-rw-r--r--. 1 rolweber rolweber  6075 Jan 13 11:29 RECORD
-rw-r--r--. 1 rolweber rolweber     0 Jan 13 11:29 REQUESTED
-rw-r--r--. 1 rolweber rolweber    88 Jan 13 11:29 WHEEL

grep -r setuptools cyclonedx*
cyclonedx_python_lib-3.1.5.dist-info/METADATA:Requires-Dist: setuptools (>=47.0.0)

grep -r pkg_resources cyclonedx*

There's a _distutils_hack package in setuptools...
grep -r distutils cyclonedx*

grep -r toml cyclonedx*
cyclonedx_python_lib-3.1.5.dist-info/METADATA:Requires-Dist: toml (>=0.10.0,<0.11.0)

There are references to toml and setuptools in pyproject.toml, poetry.lock, and requirements.lowest.txt. Also some comments regarding types-setuptools, which is supposed to be kept in sync with setuptools,  but actually isn't (version 57 vs 47). As I am not familiar with poetry, your project setup looks very intricate and intimidating to me.

To be honest, the situation is not critical to me as a maintainer.
Therefore, I do not intend to work on this soon.
So this is free for everyone who has a problem with the current situation. Feel free to raise a pull request to improve this library.
If so, please keep our contribution guidelines in mind.
I will be happy to assist, if needed.

Included in 4.0.0 - now released.


⚠ Bofrost.lu has degraded performance

In 9bf23b4, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 2188 ms

Resolved: Bofrost.lu performance has improved in 874e999 after 8 minutes.


qiskit docs tutorial examples 01 and 03 fail with 'csr matrix has no attribute H'

Environment

Qiskit Nature version: 0.7.2
Python version:  3.10.12
Operating system:  cuda:12.5.0-base-ubuntu22.04 container image

What is happening?
running https://github.com/qiskit-community/qiskit-nature/blob/main/docs/tutorials/01_electronic_structure.ipynb
the notebook runs along happily

yet this happens at the solver step :

How can we reproduce the issue?
run
https://github.com/qiskit-community/qiskit-nature/blob/main/docs/tutorials/01_electronic_structure.ipynb
https://github.com/qiskit-community/qiskit-nature/blob/main/docs/tutorials/03_ground_state_solvers.ipynb
( the other tutorial examples ran fine )

What should happen?
AFAIK eigensolver should be able to produce a measurement
Any suggestions?
are all variables declared - is there a compatibility/deprecation issue ?

Scipy removed the H attribute in v1.14.0. https://docs.scipy.org/doc/scipy-1.13.1/reference/generated/scipy.sparse.csc.H.html

The usage of .H is done in qiskit-algorithms, so moving it there.


Need hover-effect and pointer-change on suggestions for better usability

None of the examples have proper mouse pointer-change and hover effects as the demo present on the homepage: http://twitter.github.io/typeahead.js/
These things are basic requirements for a user-friendly experience, in my opinion.

I'm having the same issue after migrating from 0.10.5 to 0.11.1
In 0.10.5 a mouse hover added the class .tt-cursor to a suggestion, now it doesn't

Not something that belongs in typeahead.js core. I want to limit the amount of styles applied out of the box. If you want to achieve this, then @adrianocola's solution is the way to go.
Anyways, I updated the examples page accordingly. Thanks for the report.


Script setup unused vue components imports

When using setup sugar if you use hyphen components it will show as unused

As you can see HButton is been used but not the h-table

Fixed in 0.23.3, thanks!


Stabilization of the toAnyInt builder

Description
Like discussed in the idea #94, we would like to stabilize the toAnyInt builder for using it in production.

At this stage, we should remove the experimental annotations from this builder and, if needed, improve their tests, performance and documentation.

Dependencies
This issue is blocked by the following ones:

[x] #130

Checklist

[ ] Stabilize the builder.
[ ] Test.
[ ] Refactor.
[ ] Check the generated documentation.
[ ] Check and update the public API binaries.
[ ] Update the Unreleased section in changelog.

We will not implement the idea https://github.com/kotools/types/discussions/94#discussioncomment-7347785.


implementing footer and newsletter

Related Issue
For #659
adding footer and newsletter
here is the deployment link: informatician-git-footer-s2sharpit.vercel.app

Description

Screenshots

Checklist

[x] My code adheres to the established style guidelines of the project.
[x] I have included comments in areas that may be difficult to understand.
[x] My changes have not introduced any new warnings.
[x] I have conducted a self-review of my code.

Resolve the conflicts

Resolved, Please review it now.


ui: fixes missing columns during Transform step

Description
Fixes missing columns with float type data during the Transform step in Druid UI.

This PR has:

[x] been self-reviewed.
[x] been tested in a test Druid cluster.

The changes you are suggesting looks good: use double instead of float and fix a typo in a function name but how does that address "fixes missing columns during Transform step"? what missing columns?

The changes you are suggesting looks good: use double instead of float and fix a typo in a function name but how does that address "fixes missing columns during Transform step"? what missing columns?

I think the change is to match the case statement here: https://github.com/apache/druid/blob/02c1beb6ab43896744c02ff38bae124c6551f404/web-console/src/utils/druid-type.ts#L71
which calls the changed method, but 'float' matches nothing so would be lost. Technically there are both float and a double sum aggs, but I'm not sure how you would distinguish between which to use so using 'double' is probably better.

Or right! Thanks for the clarity @clintropolis ! @egor-ryashin could you please add a
      case 'float':
          return { name: `sum_${h}`, type: 'floatSum', fieldName: h };

to the switch that Clint linked?

Or right! Thanks for the clarity @clintropolis ! @egor-ryashin could you please add a ...

Since this PR fixes a bug I'm going to go ahead and merge it, this change can be done in a follow-up.


Drop support for the old website (legacy)

The old website has now been dropped by Mixcloud and the Beta is now final. Shortly after the change it seems they may have been cleaning some old things away and the tracklist being displayed is the legacy one.

Rather than fix the legacy/new predicate it might be worth just dropping legacy support altogether.

Fixed in 4.2.0


DatabaseDataSourceConnection schema missing

DatabaseDataSourceConnection does not carry over schema from underlying connection

Agree.
Convenience method newConnection(), which returns an instance based on passed dataSource, don't do the copy of dataSource schema specified to the new instance, thus missing vital config.


Added a README note about the specific daemons gem dependency

We have delayed_job installed as a plugin (meaning the dependencies are not automatically installed) and we had a heck of a time figuring out why starting up the background job runner was simply failing silently. This should at least give a nod in the right direction for those maintaining rails 2.3 projects.

I'm going through the backlog of pull requests to try and clean them up. @asanghi, is your annoyance with the dependence on daemons or the fact that the documentation isn't up to date?

I expect that the annoyance is towards the fact that daemons (~> 1.0, >= 1.0.10) (or whatever) isn't in the .gemspec.
People can check a rails plugin's gemspec to find out what the plugin's dependencies are, since the gemspec should serve as canonical documentation regarding at least the required dependencies. Indeed, rubygems.org lists out each gem's top-level dependencies (example for delayed_job-2.1.4) in case someone was looking for an easy way to find out.

@bryckbost the annoyance is absolutely with the core issue of the dependence on the latest version of daemons gem which doesnt work on Ubuntu. If the maintainers choose not to lock delayed_jobs down to daemons version 1.0.10 then it should be documented at the very least.

As the creator of this pull request I'll just chime in really quickly - I made this pull request back when I was working somewhere maintaining a Rails 2.3 project that used delayed_job as a plugin. Nowadays I mostly skip using plugins in favor of using them as gems (I'd say this is probably pretty standard now).
My original issue with DJ was that, when it's installed as a plugin, there's no dependency resolution. Further, running DJ with the wrong version of daemons does not generate an error related to daemons. Because of these two issues, I think it should be as clear as possible that you cannot use the most recent version of daemons and as such, added a note to the README.
Pulling this specific request may not be necessary but more documentation never hurts.

I haven't found a definitive answer as to why daemons 1.0.10 is the best option, especially now that daemons is up to 1.1.4, but I'll add this specification to the gemspec and get this pulled in shortly.

Daemons is no longer a runtime dependency. Readme reflects this change.

It's still in the gemspec for the 2.0 branch (the branch for Rails 2.x support) and there's still no mention of it in the README.

I did not see this was for the 2.0 branch. Sorry.
Any reason you've not moved to 2.1 or higher?


test: bump gen_lsp

Current dependencies on/for this PR:

main

PR #317   👈

This stack of pull requests is managed by Graphite.


Npm run wildcard

Allow wildcards for npm run command shortcut.
Given a package.json with the following scripts:
{
    "scripts": {
        "watch:js": "...",
        "watch:css": "...",
        "watch:node": "...",
        ...
    }
}

$ concurrently "npm:watch:*"

# Equivalent to:
$ concurrently -n js,css,node "npm run watch:js" "npm run watch:css" "npm run watch:node"

# Any name provided for the wildcard command will be applied as a prefix:
$ concurrently -n w: "npm:watch:*"

# Equivalent to:
$ concurrently -n w:js,w:css,w:node "npm run watch:js" "npm run watch:css" "npm run watch:node"

Released, finally 🙌 install v3.6.0 now to get this and other goodness!


[EROR]

Get "https://a.jd.com//ajax/queryServerData.html": dial tcp <IP_ADDRESS>:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

网络正常情况是不会有问题的。

网络正常情况是不会有问题的。


Whoogle language settings- keep getting German results despite '&lang_interface=en'

Hi, I keep getting German results. I've added Farside as a search engine in firefox with the '&lang_interface=en' added after the search terms, however I regularly get German results, mostly from the whoogle.lunar.icu instance.
In the address bar I get something like 'https://whoogle.lunar.icu/search?q=whatever&lang_interface=en' so it does seem to be registering it but I still get the german instance most of the time. This occurs both on android and windows firefox.
Any ideas? I can't seem to find a way to block a particular instance as a workaround either.
Thanks otherwise for a super useful tool!

You should use lang_search=en for search results language

Thank you!


[sfml:x64-windows-static] link failure

Host Environment

OS: Windows 10
Compiler: v142

To Reproduce
Steps to reproduce the behavior:
./vcpkg install sfml --triplet=x64-windows-static-md
New empty project
Add SFML demo code
Set vcpkg project settings

Enable /MD (/MDd)

Inherited linker input:
kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
Failure logs
Target VcpkgTripletSelection:
Using triplet "x64-windows-static-md" from "...\vcpkg\installed\\x64-windows-static-md\"

...

Target Link:
SfmlDemo.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __cdecl sf::String::String(char const *,class std::locale const &)" (__imp_??0String@sf@@QEAA@PEBDAEBVlocale@std@@@Z) referenced in function main

...

...\SfmlDemo\x64\Debug\SfmlDemo.exe : fatal error LNK1120: 17 unresolved externals

This issue hasn’t been updated in 3 month, if it is still an issue, please reopen this issue.

The problem is still unsolved - see here https://github.com/microsoft/vcpkg/issues/31402.
Seems that vcpkg cant link static libraries.


feat: add graphql support for relationship forms with autocomplete field

Solution
To support graphql in relationship forms with autocomplete fields
Additional Notes
Note diff in snapshot for new and existing forms.
Automated tests

[X] Unit tests added/updated

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

Codecov Report

Merging #1034 (9792822) into tagged-release/graphql-support (6dd8498) will increase coverage by 0.02%.
The diff coverage is 99.25%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@                        Coverage Diff                         @@
##           tagged-release/graphql-support    #1034      +/-   ##
==================================================================
+ Coverage                           93.77%   93.80%   +0.02%
==================================================================
  Files                                 123      123
  Lines                                5736     5825      +89
  Branches                             1725     1767      +42
==================================================================
+ Hits                                 5379     5464      +85
- Misses                                338      341       +3
- Partials                               19       20       +1

Impacted Files
Coverage Δ

...form-renderer-helper/bidirectional-relationship.ts
96.25% <ø> (ø)

packages/codegen-ui-react/lib/workflow/action.ts
95.95% <ø> (ø)

packages/codegen-ui-react/lib/utils/graphql.ts
96.42% <98.24%> (+1.19%)
:arrow_up:

...-react/lib/forms/form-renderer-helper/all-props.ts
100.00% <100.00%> (ø)

...-react/lib/forms/form-renderer-helper/cta-props.ts
100.00% <100.00%> (ø)

.../forms/form-renderer-helper/event-handler-props.ts
99.15% <100.00%> (+0.02%)
:arrow_up:

...react/lib/forms/form-renderer-helper/form-state.ts
98.92% <100.00%> (+0.08%)
:arrow_up:

...act/lib/forms/form-renderer-helper/model-values.ts
92.35% <100.00%> (+0.37%)
:arrow_up:

...act/lib/forms/form-renderer-helper/relationship.ts
89.50% <100.00%> (-0.88%)
:arrow_down:

.../codegen-ui-react/lib/forms/react-form-renderer.ts
96.58% <100.00%> (+0.10%)
:arrow_up:

... and 3 more

Continue to review full report in Codecov by Sentry.

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


The model  never convergent

Hi, I follow the readme and train the model.I choose the num_class = 2, I train the model for very long time,but it never convergent. I down't know how to do,please tell me ,thank you

Hi,
What model are you using? What dataset?
Did you change anything in the code?
Can you explain more?


Why use Google Analytics?

See title. Why is this in effect? Whats the use of it here?

Hey @pquerner, great question!
Here's why I'm using Google Analytics:

Get a better understanding of how people are using the app

Example: The average number of tabs that people save is around 5 tabs. This gives me a better idea of how to design screens that can display what's in a tab group. The code to collect that is here: https://github.com/hharnisc/tabbie/blob/master/popup.js#L181-L186
I don't collect any urls or any other personally identifiable information.

Determine if there are any features that can be cut

Example: The "save and close" button is used about 13% of the time, which either means it's too hidden or not useful. It's taking up a fair amount of screen real estate, so it could be a candidate to be removed. Hard to tell, but something to watch. The code to collect that is here: https://github.com/hharnisc/tabbie/blob/master/popup.js#L214-L219
Same thing, no urls and no personally identifiable information

Determine the next language to translate the app (i18n)

Only a little more than 65% of the users of this app have English (us + gb) set as their language code. The next most common is Spanish and then Chinese (Taiwan). The code to collect that is here: https://github.com/hharnisc/tabbie/blob/master/analytics.js#L10
So to summarize why I'm interested in patterns that emerge from the group, and not so much the individual. I want to make sure that I spend my time in the right places using the data, rather than making guesses based on intuition.

Hey @pquerner, great question!
Here's why I'm using Google Analytics:

Get a better understanding of how people are using the app

Example: The average number of tabs that people save is around 5 tabs. This gives me a better idea of how to design screens that can display what's in a tab group. The code to collect that is here: https://github.com/hharnisc/tabbie/blob/master/popup.js#L181-L186
I don't collect any urls or any other personally identifiable information.

Determine if there are any features that can be cut

Example: The "save and close" button is used about 13% of the time, which either means it's too hidden or not useful. It's taking up a fair amount of screen real estate, so it could be a candidate to be removed. Hard to tell, but something to watch. The code to collect that is here: https://github.com/hharnisc/tabbie/blob/master/popup.js#L214-L219
Same thing, no urls and no personally identifiable information

Determine the next language to translate the app (i18n)

Only a little more than 65% of the users of this app have English (us + gb) set as their language code. The next most common is Spanish and then Chinese (Taiwan). The code to collect that is here: https://github.com/hharnisc/tabbie/blob/master/analytics.js#L10
So to summarize why I'm interested in patterns that emerge from the group, and not so much the individual. I want to make sure that I spend my time in the right places using the data, rather than making guesses based on intuition.

Thank you for being so open to us @hharnisc .
I for one can live with your solid explanation.

Thank you for being so open to us @hharnisc .
I for one can live with your solid explanation.

Thank you for asking about this, it's a very important question! Working on adding a note in the readme that makes it clear that Google analytics is used and what events are connected. Transparency is important to me because I believe it builds trust.

Thank you for asking about this, it's a very important question! Working on adding a note in the readme that makes it clear that Google analytics is used and what events are connected. Transparency is important to me because I believe it builds trust.


Add functionality for cart pages

You can run this code to hydrate your cart with line item and you can also use the promo code 10off for promotions.

Looking into failed checks


security.sudo: introduce package option

Motivation for this change
This makes it way easier to override the sudo package when using the security.sudo module.
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

I'm curious about how this compares to nixpkgs.config.packageOverrides?

In the end you're right, packageOverrides should be used in that case. I've just seen this pattern several times now and thought this would be more convenient, but package overrides means less code to maintain :-)


Troubleshooting guide for Github authentication flow

We get a lot of support requests related to the Github authentication flow, and I struggle because I don't know how to help people troubleshoot.
Would it be possible for @znarf or @xdamman or someone who understands how it works to give me the info here so we can write up a guide for the docs?
Here are the common issues people report:

Repository missing from the list
Showing personal repo's but they need an organisation's repo
Repo not showing because it has less than 100 stars but they are confused about why it's missing
Don't want to or can't grant unnecessary permissions

The organisation I want to connect it to is fully open, however other orgs I'm a member of do not want to allow the required permissions, and indeed shouldn't have to because they are unrelated to the organization in question. I can't seem to only allow the permissions for the relevant org. Read and write has to be granted to all repos in all orgs that allow third party applications.

Currently whenever someone can't use the Github flow I just ask them to create the Collective and manually apply to OSC. But this is not great because it's sometimes difficult for me to verify they are a legit core contributor this way. It's possible someone could start a Collective for a repo they don't have rights to. So it's better if we can get the Github flow working for them.

Repository missing from the list

If you can't find your repo on the list check this:

does the repo you are looking for has +100 stars?

are you the owner of the repo with the profile you authenticated with? If the repo is under a different profile or an organization profile you won't see it here. You'll need to revoke access from your Github settings and re-authenticate with the right profile. If it's under and organization, make sure you give us access to your organizations (scroll down to see the check mark for it).

If you can't give us access to the organization who owns the repo, you won't see it in the list. Please contact support if this is the case.
also useful for:

Showing personal repo's but they need an organisation's repo

Don't want to or can't grant unnecessary permissions

We agree, the permissions are overly generous, we just need to read info. Unfortunately, there's not much we can do now since this is the only scope we can use to read the info we need. We've discusses this at length here: https://github.com/opencollective/opencollective/issues/355
If you have any suggestions on how to handle this better, feel free to send post on that issue, start a new one or send us an email<EMAIL_ADDRESS>

If you need to test the flow, the best way is to go to https://staging.opencollective.com/opensource/apply where you'll be able to add any repositories safely.
The only blocker that you may encounter is that you need to have access to a repository with 100+ stars (the usual limitation) to be able to add it. If that's a problem, we can easily disable this requirement for staging.

@Betree Asking before I break anything: the only repositories with 100+ stars I have access to are from Open Collective's organization. Would that be a problem to test the flow? Or would you rather disable that requirement?

@contraexemplo Feel free to test with Open Collective repos, as long as it's on staging that's fine. One problem you may face is that other team members may already have done the same on staging, thus you may get an error like "this collective already exist".
If you face this issue, just tell me and I'll prioritize the ability to disable the 100 stars requirement on staging.

@Betree I can't go much further after picking a repository because I'm not an admin on eligible repositories or organizations. Will disabling that 100 stars requirement allow me to continue with any other repository I may have on my account?

@contraexemplo Yes. I'm going to put that on my TODO to unblock you

@Betree Just to check: did you already disable the filter? Because I still can't find repositories with less than 100 stars on the list to apply. I tried to reconnect my GitHub account to see if anything would change but... that doesn't seem to do anything. It looks like it sends an API request but on my settings, it still shows "GitHub account contraexemplo connected on 8/29/19" (yesterday).

@contraexemplo Not yet but the PRs are ready (https://github.com/opencollective/opencollective-api/pull/2481 + https://github.com/opencollective/opencollective-frontend/pull/2441). I'll try to get this merged before the weekend

Okay! Thank you @Betree

@contraexemplo Sorry I haven't been able to merge in time, will be done today

@Betree No worries!

@contraexemplo It's merged, https://staging.opencollective.com/opensource/apply should now display all your repos

@Betree Aaaand it's working! Thank you!

@Betree What's the recommended procedure to change which GitHub account is connected to your profile on Open Collective? Revoking access from GitHub?

@contraexemplo Sorry for the late reply! I would indeed revoke access from GitHub yes.

@Betree I'm revisiting this issue this week and I have a question: when I go through the authorization process on GitHub, our organization (opencollective) is followed by a green tick ("This organization allows the application to access organization data as described in the permissions above."). Is this related to the way an organization on GitHub manages their third-party application access policy or is this something else?
Additionally, with the organization I created just to test those functionalities, my policy is access restricted; I have to click on Grant to authorize the access. On another organization, I have to click Request (because of my role in the organization, I imagine?).

when I go through the authorization process on GitHub, our organization (opencollective) is followed by a green tick ("This organization allows the application to access organization data as described in the permissions above."). Is this related to the way an organization on GitHub manages their third-party application access policy or is this something else?

Yes it is. We already granted the permissions to the Open Collective Github app for our organization, that's why there's a green tick.

Additionally, with the organization I created just to test those functionalities, my policy is access restricted; I have to click on Grant to authorize the access. On another organization, I have to click Request (because of my role in the organization, I imagine?).

Seems correct.

Great, thanks!

Finished with @alanna's help, published here: https://docs.opencollective.com/help/collectives/osc-verification

@contraexemplo looking great!


Messenger video not loading ...

Hello,
Any idea why the below code isn't loading the video? It displays the typing indicator for few seconds and then nothing happens.
          controller.hears('music', 'message_received', function(bot, message) {
        var musicAttachment = {
          'type':'video',
          'payload':{
              'url':'https://www.youtube.com/watch?v=YQHsXMglC9A'
            }
        };

        bot.reply(message,{attachment:musicAttachment});
    });

I was following the below doc for the video attachment syntax -
https://developers.facebook.com/docs/messenger-platform/send-api-reference/video-attachment
Thanks!

Have you managed to resolve this?
Can you try:
bot.reply(message, {
	attachment:{
		'type':'video',
		'payload':{
			'url':'https://www.youtube.com/watch?v=YQHsXMglC9A'
		}
	}
});

Also what version of Botkit are you using? , can you make sure you have updated to the latest one, also make sure you have setup your webhooks properly in Facebook

Hi alexbudin, this is still an issue. I tried on a new messenger bot with the latest botkit and the video doesn't load. I tried your code as well, but no luck. Is there a specific webhook that we need to setup on Facebook side to reply with a video attachment? I tried image and it's loading correctly.

Hey @ajith007 and @alexbudin, I have been able to load and play video successfully on Messenger, BUT, as per those docs: "URL of video binary", which means it won't load a stream from youtube for instance. I had to download the youtube videos, convert them to .mp4 and host them myself. Also, be aware, large videos take some time to load so keep that typing notification going and/or let the user know it make take a moment...

Just to add, since it doesn't make sense you can't just attach a youtube video or at least an FB video, how about an experience where you use a URL template button to launch webview to some sort of "simplified" youtube streaming intermediary page? I'm using webviews to offload a bunch of UI limitations, AND to keep sensitive data out of transcripts...

Yum! I forget if Messenger allows animated GIFs. I converted video to GIFs for Slack to get some action into it...

@akhanukov I tried with mp4 hosted myself, but no luck getting the video played.
@alexbudin , @benbrown just curious, were you able to get a video played in Messenger using botkit?

Messenger will autoplay gifs sent in chat by your bot, as long as they
arent in carousels I believe
On Wed, Oct 25, 2017 at 1:49 AM Alexander Khanukov<EMAIL_ADDRESS>wrote:

Yum! I forget if Messenger allows animated GIFs. I converted video to GIFs
for Slack to get some action into it...
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/howdyai/botkit/issues/451#issuecomment-339074975, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AMUR2-O9qKtkmzN73yzaDDpAwSm-bnuzks5sviMjgaJpZM4KZWKs
.

Hey @ajith007, how large is the video? And it's exported as an .mp4 you've verified works in other players? Sometimes a poorly transcoded file won't render either. I went and looked and I believe I tried to keep the videos down to under 10MB. Have you modified the code above since or is that it? Are you getting any errors from FB in console when debugging?

Hi @akhanukov , I converted the mp4 to an animated gif using giphy.com, added the attachment as an image and it's working now. For my use case, this is good enough. Btw, the mp4 was only less than 4MB. Thanks again for all your inputs, really appreciate it. 👍

I too have had issues with fb and videos
They have an asset api that allows you to upload the file to them and use
an id instead of a link.
Not sure if that helps serve the asset faster on the users end, probably
not but might be something to try
On Thu, Oct 26, 2017 at 12:13 AM ajith007<EMAIL_ADDRESS>wrote:

Hi @akhanukov https://github.com/akhanukov , I converted the mp4 to an
animated gif using giphy.com, added the attachment as an image and it's
working now. For my use case, this is good enough. Btw, the mp4 was only
less than 4MB. Thanks again for all your inputs, really appreciate it. 👍
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/howdyai/botkit/issues/451#issuecomment-339546156, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AMUR21-AC13mwGY4AmNqOdG5qgcj_Cqrks5swAb3gaJpZM4KZWKs
.

Thanks @jonchurch, thats good to know. 👍


Got an error when registering with a single name

first_name, last_name = full_name.rsplit(maxsplit=1)    # splitting name as reverse order

"Got an error when registering with a single name" is soved

"Got an error when registering with a single name" is solved


Providers with problematic search query that doesn't fetch results

These providers work fine on their site (browser) but returned 0 results in Burst more than a year+ now:
https://www.torrentfunk.com
https://idope.se
https://torlock.com #237 **Current default: https://torlock2.com is worse, look like the site been block sometimes (Malware?).
All other main provider works great, so this is mostly FYI, but will be great to see them fixed at some point. :)

Yeah, I know, but they are good back up when other (especially TGx) return "Time out", I'm guessing too many request after a couple of episodes.  Usually only eztv, TGx and sometime TPB uses different hosts or sources.

Should be solved by version 0.0.76.

Wonderful result. All but idope (not really needed) works great.
New ExtraNet also crazy good.
Thanks to both of you guys. 🥇

@SubEdict all the credits should go to @antonsoroko . I'm just clicking buttons.

Billions thanks to @antonsoroko of course.
That was crazy fast fixes, like a real py cowboy. 💯


digitalocean: Fix handling of domain record names

The DomainRecord response from the Digital Ocean API does not contain
the zone as part of the name and thus we must append the zone name when
converting it to an endpoint for the plan calculation.
Furthermore the root domain is identified by @ and must be converted
to the zone name for the endpoint, and converted back to @ when the
record is submitted to the DO API.
https://developers.digitalocean.com/documentation/v2/#retrieve-an-existing-domain-record
Fix #487
Fix #503

@mikkeloscar I'm not too familiar with DO nor with the code, wouldn't it be possible to add tests to prove that the change is actually valid?
Is anyone actually testing that on DO that can approve?

Has any code been added in to sanity check external-dns's actions? To guard against future bugs of this type?
Perhaps by keeping track of how many DNS entry creation requests it has submitted for a particular entry? It wouldn't have to be too sophisticated. Just enough to stop it from completing obviously wrong actions (such as submitting thousands of DNS entry creation requests). This might help provide a second layer of defense. As this is the type of bug you definitely don't want to encounter in production.
When I encountered the bug this PR is fixing I ended up with 3000+ DNS entries. And I had to delete my entire domain from my DNS provider and re-setup all of my DNS entries. Including all my email and email verification entries.
I shudder to think what would have happened if this was running more than just my personal website.

Tested locally (https://quay.io/repository/elijahcaine/external-dns?tab=tags) and this fixes an issue I had where the domain name would appear twice (e.g., creating record for foo.example.com would actually resolve to foo.example.com.example.com).
Not sure the best way to test this. I'll think on that and see if I can make a PR against this branch. Either way I give it a :+1:

@pop My understanding was this duplicate hostname issue had been resolved. I had submitted a bug report (#458) which was then fixed very promptly in a PR (#459).
My understanding was this PR was meant to fix the issues around duplicate records. My guess is that your local testing showed the double hostname bug was fixed b/c PR #459 had been merged in.

After checking out the correct remote/branch (I can be an airhead sometimes :balloon:) I can back up @ghubcoder and say that this works. I didn't follow those replications steps. I did however:

Launch a GKE cluster with a running service and external-dns annotation.
Compile this branch locally.
Ran the command below and verified that it created the correct record.
Ran the same command again to verify that the record was UPDATEd and not CREATEd.

$ ./build/external-dns --source=service --source=ingress --domain-filter=my.domain --provider=digitalocean --once --registry txt --txt-owner-id my-cluster-id

Any ideas on programmatic testing for this? Add a test that sends the same query twice expecting the first to CREATE and the second to UPDATE a record?

@pop Thanks for confirming it's working for you as well, your method seems like a much better way to test this :slightly_smiling_face:
I'm not sure how to test this, perhaps mocking out the responses from digitalocean somehow. On a completely unrelated topic I'd be interested to know what other methods people are using to launch k8s in digitalocean, and if they have found a way to use firewalls, loadbalancers and external-dns, in such a way that firewall rules are added when new services are created. At the moment the firewall rules have to be manually added (as I mentioned at the end of my previous comment). That seems like the last piece of the puzzle.


Updated POST.md

Values - Removed quotes and replaced with tick marks
Burger Meal - Object Name - Removed (x) from condiment and topping - changed from condiment(x) and topping(x) to condiment and topping

nice job!


Handle dash in Package to Application mapping

Currently a package named Package-Tag will be mapped to an application (or subapplication) named PackageTag, this is fine to import code from Pharo, but if you export the content back to Pharo it will be PackageTag losing the original name.
We could keep the original name during the load and assign it to the app/subapp as a class side tonelPackageName that we could use afterwards to write the package name when exporting.

Fixed by d342c510d5efb7a7853287422a4a7aab05964e64


Will this not work with Node 6.X ?

readme states Ver. 4 & 5.

Works fine.
I have updated the README and the travis tests.
Took the time to update dependencies (except jasmine v2.5 which has a bug)
Thanks for keeping me current!


Failed to install with 3.12.1 Python version on Windows

With Python 3.12.1 version on Windows, I cannot install the requirements due to following problem:
ERROR: Failed building wheel for multidict
Failed to build multidict
ERROR: Could not build wheels for multidict, which is required to install pyproject.toml-based projects
Additional information

Seems that multidict library is not yet supporting 3.12 version of Python. https://pypi.org/project/multidict/

Repro steps:

Follow the sample installation instructions and face the error when running pip install -r requirements.txt step.

Workaround for this problem is to use 3.11 version for now. However it is good to be aware and share the plan for 3.12, when it is supported.

I can repro this, and the root cause is actually that azureml-dataprep doesn't support Python 3.12.

@shpengmsft FYI, I assigned this to you to upgrade azureml-dataprep to support Python 3.12.

I'm not owner of dataprep
I got answer from correct owner "dataprep does not support 3.12 yet and we didn;t plan to support it immenently"

please close this issue.

Both azureml-dataprep and azureml-metrics are fixed to support Python 3.12, close the issue


[integration_test] iOS Device Testing needs better documentation

Following the instructions on https://pub.dev/packages/integration_test#ios-device-testing I can't get integration tests to work
First of all, where it says Create a test target (navigating File > New > Target... and set up the values) what values would those be? A window opens up with a LOT of options, and there's no way to know what to choose.
I ASSUMED that it could be a UI Testing Bundle, but I have no certainty.
Then it says to create a test file RunnerTests.m and change the code but the default on the previous step is a Swift file, so that won't work...
In my case I did choose Objective-C instead so it would create an m file instead.
Finally it says Now you can start RunnerTests to kick-off integration tests! but again, HOW do you start them? I tried with running Product -> Test inside Xcode, which is the only place I say at least had some reference to this new Testing target, and after recompiling it failed with an error 'integration_test/IntegrationTestIosTest.h' file not found

So yeah, better documentation about this would be HIGHLY appreciated.
Thank you

Related : https://github.com/flutter/flutter/issues/71874

The instructions are more detailed now https://github.com/flutter/flutter/tree/master/packages/integration_test#ios-device-testing.
Still need to add the Swift instructions, probably after https://github.com/flutter/flutter/issues/71873 is fixed.


Displays name of contributor on hovering

Fixes Issue🛠

Closes #1102
Description👨💻

Modified contributor.js and contributor.css to fetch contributor's GitHub username and display it on hovering above the contributor's image in the "Contributors" page.
Type of Change📄

[X] New feature (non-breaking change which adds functionality)

Checklist✅

[X] I am an Open Source contributor
[X] I have performed a self-review of my code
[X] My code follows the style guidelines of this project
[X] I have commented on my code, particularly in hard-to-understand areas

Screenshots/GIF📷

Please fetch and display the full name instead of the GitHub username. If the full name is not available on the profile, display the username instead @NidhiTornekar

It is not working properly for all the profiles, check the deploy preview @NidhiTornekar

Any update on this @NidhiTornekar

It is exceeding the github rate limit of 60 requests per hour...Hence am unable o fetch for all the contributors

Yes, so in this case we can use Google app Script API that has no limit @NidhiTornekar


documentation for destroy option

I see the full page.destroy() option in MnFullpageService. But I am not sure how to invoke that. If possible it would be great to learn how to do this and have it in the documentation.

Try this. It worked for me.
export class Component implements OnInit {
constructor(private fullpageService: MnFullpageService) {}

 ngOnInit() {
    this.fullpageService.destroy('all');
 }
}

Thanks nilpaco.

@nilpaco
I use this code but when reload page have error
ERROR TypeError: $.fn.fullpage.destroy is not a function
how to fix it?

@zshahab91, hello!
How you use this method ? I resolved similar issue by wrapping destroy method to component method and called component method with binding context. For example: [mnFullpageAfterResize]="destroyFullpage.bind(this)"

On Thu, Mar 15, 2018 at 19:15 Vadim<EMAIL_ADDRESS>wrote:

@zshahab91 https://github.com/zshahab91, hello!
How you use this method ? I resolved similar issue by wrapping destroy
method to component method and called component method with binding
context. For example: [mnFullpageAfterResize]="destroyFullpage.bind(this)"
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/meiblorn/ngx-fullpage/issues/235#issuecomment-373423123,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALQb0nQ8WBboYF4_X4XvtPb0GkQFzDzPks5teoyxgaJpZM4L1ZVb
.

Hi
I use this code in component that it use ngx-fullpage
import { Component, OnInit, OnDestroy } from '@angular/core';
export class HomeComponent implements OnInit {
constructor(private fullpageService: MnFullpageService) {
}
ngOnInit() {}
ngOnDestroy() {
this.fullpageService.destroy('all');
}
}
this solution work


Convert coco annotations from the list of structs to struct of lists

This is a short term mitigation for #95

does this make it easier to use Box2dArray?

Yes, it returns as an array<array<float>> for each example.


Completed Day 1 - Paul Chin Jr.

Thanks so much for this awesome event.

We checked out your repository. We're thrilled to say your solution is now listed in our Hall of Fame
Thank you for your contributions!
This PR is now closed! 🎉


Use synchronous render in Mapbox example

This uses an undocumented method to trigger a synchronous redraw instead of using the standard schedule from Mapbox. The CSS previously used to make the OL and MB views match is not necessary anymore.
As such, the glitches when zooming/rotating the view are gone.
Reference: https://github.com/mapbox/mapbox-gl-js/issues/7893#issue-408992184
Link to updated example: https://1269-4723248-gh.circle-artifacts.com/0/examples/mapbox-layer.html

Well the synchronous redraw API discussed in the link issue seems like it would be a perfect fit for us. I think this PR is fine for an example but ideally we'd need a stable API before implementing an actual Mapbox layer in OL.
Besides the example already overwrites an undocumented method: _setupContainer

Ok merged for now, and added my +1 to the linked mapbox-gl issue. You should do the same maybe.


test: repair test on Windows

The test did not account for the fact that the driver is spelt
differently in some cases and may have quoting involved.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

CC: @artemcm @etcwilde

@swift-ci please smoke test

@swift-ci please smoke test Linux platform


[BUG]: issue title

Describe the bug
The error is while setting up PowerBI Dashboard per https://docs.microsoft.com/en-us/power-platform/guidance/coe/setup-powerbi
Component (please tell us which flow or app you are experiencing issues with):
PowerBI Dashboard
To Reproduce
Steps to reproduce the behavior:

Go to PowerBI Windows App
Open step for Configure the Power BI dashboard by working directly with the Power BI (.pbit) file
Provide environment URL
See error per image attached

Expected behavior
There should be no error
Screenshots
See image attached

Hello,
we have moved to a new repo. I'm transferring your issue to https://github.com/microsoft/coe-starter-kit/issues which is our new repo, and we'll update from there.
Thank you
Manuela


Semantic Search using Embeddings

Description
Meilisearch is currently supporting vector search, I think adding support to meilisearch-rails for vector search will add a lot of values to ActiveModel and how to use them for searching. Instead of talking with the API directly.
Basic example
I created a very basic gem named Chromable to simplify the integration between Rails and ChromaDB. I think the same idea could be applied in meilisearch-rails.

This looks like a duplicate of #316

Closing in favor of #316 then


Main-Fix

Please work

Closing this PR as it is obsolete and no longer maintained as there was a different fix by @FireMario211 .


Error removing last element of object

What steps will reproduce the problem?
1.Create new object
2.Add some values to it
3.Remove last added value
Source code bellow:
int main(int argc, char* argv[])
{
	rapidjson::Document doc;
	rapidjson::StringBuffer strBuff(0, 1024);
	rapidjson::Document::AllocatorType& allocator = doc.GetAllocator();
	rapidjson::Value objVal(rapidjson::kObjectType);
	objVal.AddMember("var1", 123, allocator);
	objVal.AddMember("var2", "444", allocator);
	objVal.AddMember("var3", 555, allocator);
	objVal.RemoveMember("var3");
	strBuff.Clear();
	rapidjson::PrettyWriter<rapidjson::StringBuffer> writer(strBuff);
	objVal.Accept(writer);
	printf("Created string: %s\n", strBuff.GetString());
	return 0;
}

What is the expected output? What do you see instead?
Expecting ouput of created object as string.
Assert happens, when removing object's member

What version of the product are you using? On what operating system?
Using code from repository, r61
Windows7 x64

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 29 Feb 2012 at 9:37

Original comment by<EMAIL_ADDRESS>on 6 Mar 2012 at 5:24

Changed state: Accepted

This issue was closed by revision r64.

Original comment by<EMAIL_ADDRESS>on 6 Mar 2012 at 5:36

This issue was closed by revision r62.

Original comment by<EMAIL_ADDRESS>on 6 Mar 2012 at 5:31

Changed state: Fixed

This issue was closed by revision 4fdd805c7dbe.

Original comment by<EMAIL_ADDRESS>on 6 Jun 2014 at 6:04

Issue 31 has been merged into this issue.

Original comment by<EMAIL_ADDRESS>on 12 Nov 2012 at 2:25

Issue 63 has been merged into this issue.

Original comment by<EMAIL_ADDRESS>on 11 Apr 2013 at 2:45


Reminder slack notifications are sent twice

This might be a configuration issue. Find the root cause and fix this.

Probably related to how kabisa team's team memberships and duplicate accounts are stored (e.g. the recent change from google to move from alias to account name (ariejan vs. ariejan.de.vroom).

Ignore the previous comment. It has nothing to do with accounts.
We use Rufus to schedule cronjobs for us, straight from the Ruby code. On boot-up, Rufus will update cron to schedule the appropriate tasks.
Since we run two containers, one for web, one for worker, we schedule these jobs on both containers, hence we get two notifications.
Rufus is not a recommended way of scheduling tasks. I've updated this issue's original message with TODO's on how to resolve this.
/cc @pascalw


Added flag for Helm 2 installation

Added --set customResourceDefinition.create=true for Helm 2 chart installation

I presume we can abandon this one since we'll stick with current approach, right?

OK if we just close this one since nothing has changed?


sbt-eclipse,sbt-assembly plugin  issue: scala-spark-sbt-plugins

Hi Friends,
I am new to Spark-Scala-sbt area. I am trying to run one sample  spark-scala code using sbt and some sbt eclipse and sbt assembly plugins, But not able to  package  run it due to below issue,:
Created  the plugins. sbt file under MyProject/project/ with below :
addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.4.0")
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.3")
Environment:
sbt version is 0.13
scala version is 2.10.3
now from  my project directory
cd ~/MyProject
MyProject$ sbt package  ,getting below error.
[info] Resolving org.scala-sbt#compiler-interface;0.13.1 ...
[warn] 	::::::::::::::::::::::::::::::::::::::::::::::
[warn] 	::          UNRESOLVED DEPENDENCIES         ::
[warn] 	::::::::::::::::::::::::::::::::::::::::::::::
[warn] 	:: com.typesafe.sbteclipse#sbteclipse-plugin;2.4.0: not found
[warn] 	:: com.eed3si9n#sbt-assembly;0.14.3: not found
[warn] 	::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn] 	Note: Some unresolved dependencies have extra attributes.  Check that these dependencies exist with the requested attributes.
[warn] 		com.typesafe.sbteclipse:sbteclipse-plugin:2.4.0 (sbtVersion=0.13, scalaVersion=2.10)
[warn] 		com.eed3si9n:sbt-assembly:0.14.3 (sbtVersion=0.13, scalaVersion=2.10)
[warn]
sbt.ResolveException: unresolved dependency: com.typesafe.sbteclipse#sbteclipse-plugin;2.4.0: not found
unresolved dependency: com.eed3si9n#sbt-assembly;0.14.3: not found
Checked some solution but unfortunately not working for me.

Same problem here. Seems that default repositories are empty... I Can't figure how download thoses dependencies.


fix for "UNKNOWN" errors from Issue #34

tested for elasticsearch plugins using ssl and no ssl, same applies to all other plugins using sub curl()

local make test failing with unrelated native ruby gem error, my change was very simple and should not cause any dependency failures
ERROR:  Error installing travis:
	ERROR: Failed to build gem native extension.

        /usr/bin/ruby1.9.1 extconf.rb
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- mkmf (LoadError)
	from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
	from extconf.rb:4:in `<main>'

Gem files will remain installed in /home/someuser/.gem/ruby/1.9.1/gems/ffi-1.9.23 for inspection.
Results logged to /home/someuser/.gem/ruby/1.9.1/gems/ffi-1.9.23/ext/ffi_c/gem_make.out
make: *** [test] Error 1

@ted3
Thanks for the fix!


Added graph-01.html

Added graph-01.html to others section.
Additional chart.js was used while creating this component.
Closes issue: close #1141
Preview:

@Rajdip019 done the required changes.


Curate issues labelled with hacktoberfest label during the Hacktoberfest

Since hacktoberfest is going to start soon, it will be really helpful for the beginners if they can find all the hacktoberfest labelled issues as well on gfi.
We can however add a certain mark (maybe a star or a label next to the issue title as Github does) which can help them differentiate issues labelled as hacktoberfest from the ones labelled as good-first-issue.

Hi, I want to contribute my good first issue but don't really know how to do it. Can you assign this one to me? I don't know much about contributing but will try my best...

Hyee..can you assign this issue to me. I'll try my best to fix it

Hey I would Love to do this

Please send a PR with updating the labels here - https://github.com/deepsourcelabs/good-first-issue/blob/master/data/labels.json

hi can someone tell how to contribute for this issue

Hi there, I would like to fix this issue.

Hey @siddhant-deepsource @tejassinghsital @varsha080 @enigmacoder-bot @Prathamesh-Dukare @jai-deepsource @Dinakar04 @Prathamesh-Dukare @Kannan0017 ! I tried to contribute to this repo as well but I haven't seen any activity in the last few months. I decided to fork it to keep it alive. Please see https://github.com/lucavallin/gfi and feel free to open a pull request or an issue there. At this time I am setting up the hosting and cleaning up the code. If you're up for it, I could use some help to convert the app from Nuxt.js & Python to Next.js & Typescript.

Hey admin , please assign this to me i will fix it.


Fix reporting logic for UseRequire and UseCheckOrErrorSpec

The two rules were too 'greedy' and were reporting the majority
of the Illegal[State|Argument]Exception in the analysed code.
I restricted the scope of the rule to raise a issue only if the
exception is used after a precondition, or in a when-else branch.
Fixes #1683

Based on the tests I don't agree with the change to UseCheckOrError. Both usages of throw IllegalStateException() in the updated tests in UseCheckOrErrorSpec can be replaced with error(), so detekt should report it.

Both usages of throw IllegalStateException() in the updated tests in UseCheckOrErrorSpec can be replaced with error(), so detekt should report it.

@3flex Which cases are you referring to exactly?

Added inline comments to explain my thinking from my earlier comment, hope this makes sense?

Yup I see your point 👍 Thanks for explaining. So I've updated the UseCheckOrError to don't have checks for preconditions or when-else branches.
This PR should be good to go now

Codecov Report

Merging #1689 into master will increase coverage by 29.25%.
The diff coverage is 33.33%.

@@              Coverage Diff              @@
##             master    #1689       +/-   ##
=============================================
+ Coverage     46.87%   76.13%   +29.25%
- Complexity        8     1856     +1848
=============================================
  Files             8      328      +320
  Lines            64     5510     +5446
  Branches          3     1011     +1008
=============================================
+ Hits             30     4195     +4165
- Misses           32      773      +741
- Partials          2      542      +540

Impacted Files
Coverage Δ
Complexity Δ

.../gitlab/arturbosch/detekt/rules/ThrowExtensions.kt
80% <0%> (ø)
0 <0> (?)

...gitlab/arturbosch/detekt/rules/style/UseRequire.kt
92.3% <50%> (ø)
10 <4> (?)

...tekt/formatting/wrappers/SpacingAroundOperators.kt
100% <0%> (ø)
3% <0%> (?)

...detekt/rules/style/UnderscoresInNumericLiterals.kt
83.33% <0%> (ø)
12% <0%> (?)

...arturbosch/detekt/formatting/FormattingProvider.kt
100% <0%> (ø)
3% <0%> (?)

...bosch/detekt/formatting/wrappers/ImportOrdering.kt
100% <0%> (ø)
3% <0%> (?)

...in/io/gitlab/arturbosch/detekt/api/SplitPattern.kt
75% <0%> (ø)
10% <0%> (?)

...turbosch/detekt/formatting/wrappers/PackageName.kt
100% <0%> (ø)
3% <0%> (?)

...main/kotlin/io/gitlab/arturbosch/detekt/cli/LOG.kt
28.57% <0%> (ø)
3% <0%> (?)

...osch/detekt/rules/bugs/UselessPostfixExpression.kt
65.71% <0%> (ø)
20% <0%> (?)

... and 312 more

Continue to review full report at Codecov.

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

Ignore the test coverage changes... The JaCoCo plugin config needs a change in config to work properly with parallel builds and build cache. I'm going to open another PR for that soon.

Yeah codecov is a bit buggy.
That would be nice @3flex


ffuf output style

thanks for your amazing endeavors. amazing tool. here is what I'm confused at. after updating ffuf  (1.5 -> 2.0) the output is like this:
ffuf -u https://example.com/FUZZ -w ~/SecLists/Discovery/Web-Content/raft-large-directories-lowercase.txt -o kiwi-directory-all

        /'___\  /'___\           /'___\
       /\ \__/ /\ \__/  __  __  /\ \__/
       \ \ ,__\\ \ ,__\/\ \/\ \ \ \ ,__\
        \ \ \_/ \ \ \_/\ \ \_\ \ \ \ \_/
         \ \_\   \ \_\  \ \____/  \ \_\
          \/_/    \/_/   \/___/    \/_/

       v2.0.0-dev
________________________________________________

 :: Method           : GET
 :: URL              : https://kiwi.com/FUZZ
 :: Wordlist         : FUZZ: /root/SecLists/Discovery/Web-Content/raft-large-directories-lowercase.txt
 :: Output file      : kiwi-directory-all
 :: File format      : json
 :: Follow redirects : false
 :: Calibration      : false
 :: Timeout          : 10
 :: Threads          : 40
 :: Matcher          : Response status: 200,204,301,302,307,401,403,405,500
________________________________________________

[Status: 403, Size: 16, Words: 3, Lines: 1, Duration: 16ms]
    * FUZZ: themes

[Status: 403, Size: 16, Words: 3, Lines: 1, Duration: 18ms]
    * FUZZ: profiles

[Status: 403, Size: 16, Words: 3, Lines: 1, Duration: 18ms]
    * FUZZ: user

[Status: 403, Size: 16, Words: 3, Lines: 1, Duration: 19ms]
    * FUZZ: add

[Status: 403, Size: 16, Words: 3, Lines: 1, Duration: 20ms]
    * FUZZ: components

[Status: 403, Size: 16, Words: 3, Lines: 1, Duration: 19ms]
    * FUZZ: reply

[Status: 403, Size: 16, Words: 3, Lines: 1, Duration: 20ms]
    * FUZZ: language

[Status: 403, Size: 16, Words: 3, Lines: 1, Duration: 20ms]
    * FUZZ: contact
...

I like the old way which showed everything like this:

before I could just look at the output and figure out everything but now it's too messy! is downgrading the only option?

Maybe i am wrong, but have you tried to add the filtering parameter (-fs) on page that actually are not changing according to parameters?
in your case:
ffuf -u https://example.com/FUZZ -w ~/SecLists/Discovery/Web-Content/raft-large-directories-lowercase.txt -o kiwi-directory-all -fs 16

check the output of the simple directory scan below,
simple chaos on the terminal.

To be honest, I still feel wfuzz is the best as following reasons.

The output is nice looking. I also have the same issue with you
Does not support when fuzzing old TLS/TLS

I agree with this, I love the tool and use it over anything else, but now the output has changed, I will be switching back to wfuzz, this is too messy.

+1 on this. Would love to have the old output style back (-of oneline, -of grep or something like that would be an option)

the previous output was the tool's charm, please revert to everyone's old favorite output.

This was fixed in #656


Cannot load *.so libraries in a directory specified by AppSetting(Environment variables) LD_LIBRARY_PATH.

I want to load so libraries for python package opencv-python-headless.
Investigative information

Timestamp: 2019-10-06 03:48:02 (UTC)
InvocationId: 58ab63f9-096e-423a-be88-ef1870d98a79
Function App name: pythonfunc1
Function name(s) (as appropriate): HttpTrigger
Core Tools version: 2.7.1633

Repro steps

Deploy function app package including some so files.
The file structure is following.

$ tree .
.
├── host.json
├── HttpTrigger
│   ├── function.json
│   ├── __init__.py
│   └── sample.dat
├── local.settings.json
├── proxies.json
├── requirements.txt
└── tmp
    ├── libglib-2.0.so.0
    └── libgthread-2.0.so.0

Set App Setting LD_LIBRARY_PATH to /home/site/wwwroot/tmp in order to load above so files.

Execute the function.

Expected behavior
import cv2 in __init__.py will work without any error/exception
Actual behavior
Following exception occurred, of cause http response code is 500.
Result: Failure
Exception: ImportError: libgthread-2.0.so.0: cannot open shared object file: No such file or directory

I confirmed that /home/site/wwwroot/tmp was set to enviroment variable LD_LIBRARY_PATH by using os.getenv('LD_LIBRARY_PATH') in my function program.
I'm not sure why *.so libraries in a path specified by LD_LIBRARY_PATH cannot be loaded even though the path can be set appropriately in the environment variable LD_LIBRARY_PATH.
Known workarounds
The function with following code instead of import cv2
import ctypes
import importlib

exlibpath = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) + '/tmp/'
ctypes.CDLL(exlibpath + 'libglib-2.0.so.0')
ctypes.CDLL(exlibpath + 'libgthread-2.0.so.0')

cv2 = importlib.import_module('cv2')

Related information

Links to source
Contents of the requirements.txt file
Bindings used

Source
Function code:
# __init__.py

import logging
import os
import urllib.request as rq
import re
import azure.functions as func
import mimetypes

import cv2

# work around code
# import ctypes
# import importlib

# exlibpath = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) + '/tmp/'
# ctypes.CDLL(exlibpath + 'libglib-2.0.so.0')
# ctypes.CDLL(exlibpath + 'libgthread-2.0.so.0')

# cv2 = importlib.import_module('cv2')

def main(req: func.HttpRequest) -> func.HttpResponse:
    logging.info('Python HTTP trigger function processed a request.')

    image_url = req.params.get('image_url')
    if not image_url:
        try:
            req_body = req.get_json()
        except ValueError:
            pass
        else:
            image_url = req_body.get('image_url')

    if image_url:
        local = re.sub(r'^.*/([^/]+)$', r'\1', image_url)
        rq.urlretrieve(image_url, '/tmp/' + local)
        im = cv2.imread('/tmp/' + local)
        gry = cv2.cvtColor(im, cv2.COLOR_BGR2GRAY)
        cv2.imwrite('/tmp/gray_' + local, gry)
        with open('/tmp/gray_' + local, 'rb') as f:
            mimetype = mimetypes.guess_type('/tmp/gray_' + local)
            return func.HttpResponse(f.read(), mimetype=mimetype[0])
        # return func.HttpResponse(f"Hello {image_url}!")
    else:
        return func.HttpResponse(
             "Please pass a image_url on the query string or in the request body",
             status_code=400
        )

requirements.txt:
opencv-python-headless

I tried to confirm that LD_LIBRARY_PATH is valid on docker by simple command.
When executing mcr.microsoft.com/azure-functions/python without LD_LIBRARY_PATH, ImportError: libgthread-2.0.so.0 occurred on import cv2.
# without LD_LIBRARY_PATH environment variable
$ docker run --rm -it -v $(wslpath -w $PWD):/home/site/wwwroot mcr.microsoft.com/azure-functions/python sh -c 'pip install opencv-python-headless && python'
Collecting opencv-python-headless
  Downloading https://files.pythonhosted.org/packages/1f/dc/b250f03ab68068033fd2356428c1357431d8ebc6a26405098e0f27c94f7a/opencv_python_headless-<IP_ADDRESS>-cp36-cp36m-manylinux1_x86_64.whl (22.1MB)
     |████████████████████████████████| 22.1MB 2.0MB/s
Collecting numpy>=1.11.3 (from opencv-python-headless)
  Downloading https://files.pythonhosted.org/packages/e5/e6/c3fdc53aed9fa19d6ff3abf97dfad768ae3afce1b7431f7500000816bda5/numpy-1.17.2-cp36-cp36m-manylinux1_x86_64.whl (20.4MB)
     |████████████████████████████████| 20.4MB 1.4MB/s
Installing collected packages: numpy, opencv-python-headless
Successfully installed numpy-1.17.2 opencv-python-headless-<IP_ADDRESS>
WARNING: You are using pip version 19.2.2, however version 19.2.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Python 3.6.9 (default, Aug 14 2019, 13:09:32)
[GCC 6.3.0 20170516] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import cv2
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.6/site-packages/cv2/__init__.py", line 3, in <module>
    from .cv2 import *
ImportError: libgthread-2.0.so.0: cannot open shared object file: No such file or directory

And with -e LD_LIBRARY_PATH=/home/site/wwwroot/tmp, import cv2 was successful.
# with LD_LIBRARY_PATH environment variable
$ docker run --rm -it -e LD_LIBRARY_PATH=/home/site/wwwroot/tmp -v $(wslpath -w $PWD):/home/site/wwwroot mcr.microsoft.com/azure-functions/python sh -c 'pip install opencv-python-headless && python'
Collecting opencv-python-headless
  Downloading https://files.pythonhosted.org/packages/1f/dc/b250f03ab68068033fd2356428c1357431d8ebc6a26405098e0f27c94f7a/opencv_python_headless-<IP_ADDRESS>-cp36-cp36m-manylinux1_x86_64.whl (22.1MB)
     |████████████████████████████████| 22.1MB 1.5MB/s
Collecting numpy>=1.11.3 (from opencv-python-headless)
  Downloading https://files.pythonhosted.org/packages/e5/e6/c3fdc53aed9fa19d6ff3abf97dfad768ae3afce1b7431f7500000816bda5/numpy-1.17.2-cp36-cp36m-manylinux1_x86_64.whl (20.4MB)
     |████████████████████████████████| 20.4MB 1.7MB/s
Installing collected packages: numpy, opencv-python-headless
Successfully installed numpy-1.17.2 opencv-python-headless-<IP_ADDRESS>
WARNING: You are using pip version 19.2.2, however version 19.2.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Python 3.6.9 (default, Aug 14 2019, 13:09:32)
[GCC 6.3.0 20170516] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import cv2

So it seems that this issue is not related to docker.

Please refer to: https://github.com/Azure/azure-functions-python-worker/issues/497

#497 is an issue for only OpenCV library.
But this issue is related to not only for loading it but also for loading any other SO libraries.

Python uses ld to find libraries via LD_LIBRARY_PATH, but ld is not present in the runtime. https://hg.python.org/cpython/rev/385181e809bc

Thanks @mlazowik !
I confirmed that ld is not present in container image mcr.microsoft.com/azure-functions/python by following command, and I cannot find ld, what you wrote is true.
$ docker run --rm -it  mcr.microsoft.com/azure-functions/python sh -c "which ld"

$

Do you have a plan to add ld to the container image?

Ok, so this solved a problem, but not the one mentioned in this issue. Adding binutils made find_library work, but CDLL uses different ways for locating libraries for loading, see this bug: https://bugs.python.org/issue18502
The error in this issue is clearly about not being able to locate a known filename (CDLL part), not about not being able to find the filename (find_library part).

@horihiro @mlazowik we  have added the binutils to the python images and also added the .so libraries needed for OpenCV. Not sure at this point how we can fix this issue of loading any *.so so closing this out.


When create a macro with multiple versions of a spell sometimes it won't activate

Specific:
When I have the talent Mongoose Bite, creating a macro with /cast Raptor Strike won't activate it.
If the macro contains /cast Mongoose Strike, sometimes when saved, the text switch to /cast Raptor Strike
Variations of Shrapnel Bomb won't cast unless you put them in the macro like this
/cast [nomod,combat] Pheromone Bomb
/cast [nomod,combat] Volatile Bomb
/cast [nomod,combat] Shrapnel Bomb

I need more than that - I need the actual spell ids of what the base spell id is and what the updated version is.  I need to know what should be in here:
https://github.com/TimothyLuke/GnomeSequencer-Enhanced/blob/master/GSE/API/Statics.lua#L355

how do you get a spell id?

Raptor Strike.  262839
Mongoose Bite.  259387

Also check on wowhead and search the spell by name.  In the HTML header is the spell number..

I’m asking as if you look at that link, Moongose Bite and Raptor Strike are already setup so if it’s not behaving I must have the wrong value for one or both of these.
TimothyLuke

On 7 Sep 2018, at 8:01 pm, Thrumbar<EMAIL_ADDRESS>wrote:
Also check on wowhead and search the spell by name. In the HTML header is the spell number..
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Shrapnel Bomb: 270335
Volatile Bomb: 271045
Pheromone Bomb: 270323

Cheers is Shrapnel Bomb the base or could someone have all three?
TimothyLuke

On 8 Sep 2018, at 1:09 pm, chopixelogic<EMAIL_ADDRESS>wrote:
Shrapnel Bomb: 270335
Volatile Bomb: 271045
Pheromone Bomb: 270323
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

when you have the talent, your skill will rorate all three of them randomly

You cant macro that any differently to what you have done:
/cast [nomod,combat] Pheromone Bomb
/cast [nomod,combat] Volatile Bomb
/cast [nomod,combat] Shrapnel Bomb
There is no base ability to call.


4555 agent table improvement (#5368)

Pull request opened by the merge tool on behalf of #5368

Merged in 4e1955bcff51cd76c7a1ab8fb2fc9e826bc0b7dd


Fix the sensitivity to DST on a few tests

There are 2 tests that are failing currently due to being sensitive to daylight savings time changes.

Sorry, this is a dupe of #536.  Closing.


New logs not written and/or function not updated

Description
I updated the code for a function that was already deployed and added a console.log() command, but this doesn't appear in the logs when I issue functions logs read.  Not sure if this means the function wasn't updated, or the logs were written somewhere else, or not written at all.
Additionally the log file seems to be undiscoverable (I wanted to view the actual file).  functions config list shows logs/cloud-functions-emulator.log as the log file setting, but this is not useful as I don't really know where that is.  A search of my computer for cloud-functions-emulator.log yields 0 results (although that might be a local index issue (?)
I recommend we show (somewhere) the full path to the log file

functions status shows the full path to the log file

Regarding the first part, I am unable to reproduce. Is this still an issue?

New here, so may be off the mark. But I noticed a similar issue this weekend, and looked into it.
The emulator uses winston for logging, and with the config specifying a maxsize the files will be rotated, with the newer one gaining a numeric suffix.
So even though the status shows e.g. [...]/cloud-functions-emulator.log as the logfile, the live one may be something like [...]/cloud-functions-emulator1.log.

@jasonpolites I guess we should just remove the maxsize parameter? Or do we need to revisit the Emulator's logging story in general?

Hi all,
I'm having this exact issue. The logs are not updated anymore even though my function works as expected.
Do you have any updates on a fix?
Thanks !

The fix should go out with 1.0.0-alpha.21


Extract traversers outside methods

This makes data flow more explicit and has a side benefit of avoiding function allocations in hot methods.

Travis seems to fail due to regenerator tests, but they were already failing before my commit on 3.0.0 branch.

Thanks!

I'm extremely surprised that merged with no conflicts after all the refactoring I've done...

:-)
I think it's worth going over the diff once again just to make sure I made no merge mistakes.

I meant my refactoring of all this that I did between you rebasing and me merging.

Well, I did resolve a few conflicts updating :-)


Bytes signed/unsigned inconsistency

Currently there are four functions that work with bytes:

new_byte_array: takes  &[i8]
convert_byte_array: returns Vec<u8>
new_direct_byte_buffer: takes &mut [u8]
get_direct_buffer_address: returns &mut [u8]
Most of them work with unsigned bytes and that is consistent with Rust standard library, but new_byte_array expects slice of signed bytes, what is more Java-like.

I prefer to change new_byte_array signature (and happy to submit a patch), but that will be a breaking change. Is it OK?

Yeah, that's fine with me. I can just make it a minor version bump.


Question about new web UI

Hello i'm trying the new web UI ( It's super cool btw !) noticed there is not the default value of the things that have already been changed, is it possible to add it somewhere ?

I think it's usefull to know what it was in base game.
edit:

Also other QoL an option to copy paste, like animation curve for exemple, i decide to add a new planet and want to put my setting i have to all planets in term of animation curve, i have to enter all values manually, while in the cfg version i could just copy past it.

Or a way to revert it to Cfgs so you can copy past things and then regenerate the json like the first time you launch it would be even better.

Since the concept of a preset is separate from the level, it's a bit difficult for me to attach a default value to one. Currently, the only solution is to copy a default autogenerated one, then use the original as reference.  If I can come up with a good way to implement this, I definitely will.
I am currently in the process of adding in a legacy only method, so that if you want to, the configs will have priority, and always export with their values. This will allow you to continue using the configs as is, but also the web UI, partially.
I have the copy and paste on my TODO list, but I haven't been able to think of a good way to implement it yet. However, it is definitely a feature that I want to add!

I see thank you for all this !
I think if you make it so we can continue to use the config(for copy/pasting) then copy/pasting in the webUI wouldn't be a mandatory feature.

The problem with the config is that you can't copy/paste large portions, like entire enemies, or lists of scrap. I also want to move away from the configs, since it gets really bloated and is difficult to manage stuff like scrap if you want to balance all of it, especially when you add/remove mods.
I will always keep it though, since I don't want to force anyone to use the web UI, especially if it is difficult for whatever reason.

I do copy paste my list of scrap (the rarity portion)  haha, but i agree it's super bloated and difficult to manage but it's normal for something that does this much.
In the WebUI the corresponding % you added is really useful for balancing btw !


NIFI-1898 fixed @OnSchedule methods to accept ProcessContext

Was able to build and verify that the Flume processors work as anticipated with this change.  Thanks! Will merge in.