Mathematical Operations Solver in Natural Language (Bug Fixed)

I've implemented a calculator feature that provides solutions to mathematical operations in natural language. This can be particularly beneficial for educators in the exact sciences.
Support simplifications, derivative, integral, limits, eigenvalues, etc.
Examples:
>>> calculate("2*x=6") # returns "x is 3"
>>> calculate("integrate x**2 x")  # Returns "The integral of x**2 with respect to x is x**3/3"
>>> calculate("limit x**2/x x +"))  # Returns "The limit of x**2/x as x approaches +∞ is ∞"

I see the value of this, but I'm hesitant to bring it in as a core part of the package. I'd like to avoid dependencies like SymPy, as I expect that most users of this package are using it for simple access to a language model and won't end up needing symbolic math.
This package is built around interacting with a language model via prompting. There are a few ancillary tools provided to help simplify the process of augmenting prompts, but they are relatively lightweight and do not require additional dependencies.
I could see adding something like the calculator you've implemented as a way to easily demonstrate tool usage without resorting to eval, but I don't think that the models in use here currently would be capable of appropriately requesting an integral from a story problem. As far as I can tell, they are just barely able to request basic arithmetic operations (as in the tools example). A basic calculator might make more sense.
Perhaps this could be reworked into one of the examples showing how SymPy could be used in conjunction with this package?

Oh, fine, i understand, good luck, with your proyect!


ci: version bump to most recent CLI version

Status
READY
Description

bumps the CLI version to 3.0.0-beta.13

Type of Change

[ ] ✨ New feature (non-breaking change which adds functionality)
[ ] 🛠 Bug fix (non-breaking change which fixes an issue)
[ ] ❌ Breaking change (fix or feature that would cause existing functionality to change)
[ ] 🧹 Code refactor
[x] ✅ Build configuration change
[ ] 📝 Documentation
[ ] 🗑 Chore

abandoning this PR. Problem was backend related.


Loosen version constraints

thanks:smile:

Oh I should have mentioned: This is so that haddocset will build with Stackage LTS 4.


[TEP-0145] CEL in WhenExpression

This is a tracking issue of the implementation for TEP-0145

[x] Pull in cel-go library to vendor: https://github.com/tektoncd/pipeline/pull/7245
[x] Add CEL field to WhenExpression, feature flag and flag validation https://github.com/tektoncd/pipeline/pull/7247
[x] Add cel syntax validation https://github.com/tektoncd/pipeline/pull/7251
[x] Add CEL evaluation and Tekton variable substitution, documentation, examples https://github.com/tektoncd/pipeline/pull/7255
[ ] #7287

This is an optional work and we need users' feedback whether we need to support:
https://github.com/tektoncd/pipeline/issues/7287


feat: migrate Angular apps and libs to eslint

As you can see, and as per our conversation at #52 I added a command to point to eslint as the default linter.
Let me know if the changes submitted are ok. Thanks !
This will close #52 but probably will need to open a new one for migrating the the whole project to the newest NX 11+ structure.

Not sure why CI 14x fails ... I tried it locally and worked.

Not sure why CI 14x fails ... I tried it locally and worked.

Thanks for the PR @ruslanguns!  🎉
I think it's missing 2 things:
First is running nx format:write to get rid of this:

The second is run nx test stack --updateSnapshot to make sure the Jest snapshots are updated with the new linter info.

Thanks for the PR @ruslanguns!  🎉
I think it's missing 2 things:
First is running nx format:write to get rid of this:

The second is run nx test stack --updateSnapshot to make sure the Jest snapshots are updated with the new linter info.

@beeman there you go!

@beeman there you go!

Awesome work @ruslanguns , thanks a lot! First external contribution of this project! 🙏

Awesome work @ruslanguns , thanks a lot! First external contribution of this project! 🙏

This just landed in version 4.3.0 🎉

This just landed in version 4.3.0 🎉


Yaml issue templates

(No Jira Ticket for this)
Changes made:

Added yaml configurations for issue templates instead of using markdown

Looks good, but did you have any way to preview/test this?

Looks good, but did you have any way to preview/test this?

I couldn't really test it, but I did at least get to see previews here:
https://github.com/open-olive/loop-development-kit/blob/yaml-issue-templates/.github/ISSUE_TEMPLATE/bug_report.yaml
https://github.com/open-olive/loop-development-kit/blob/yaml-issue-templates/.github/ISSUE_TEMPLATE/feature_request.yaml


Gazebo simulation not launching in humble

Updated to ros2 humble and ubuntu 22.04
This is the error
[INFO] [launch]: All log files can be found below /home/zorx/.ros/log/2023-11-15-19-13-16-666336-zorx-48737
[INFO] [launch]: Default logging verbosity is set to INFO
urdf_file_name : turtlebot3_waffle_pi.urdf
urdf_file_name : turtlebot3_waffle_pi.urdf
[INFO] [gzserver-1]: process started with pid [48738]
[INFO] [gzclient-2]: process started with pid [48740]
[INFO] [robot_state_publisher-3]: process started with pid [48742]
[INFO] [spawn_entity.py-4]: process started with pid [48744]
[robot_state_publisher-3] [INFO] [1700055797.383270144] [robot_state_publisher]: got segment base_footprint
[robot_state_publisher-3] [INFO] [1700055797.383338670] [robot_state_publisher]: got segment base_link
[robot_state_publisher-3] [INFO] [1700055797.383343727] [robot_state_publisher]: got segment base_scan
[robot_state_publisher-3] [INFO] [1700055797.383346669] [robot_state_publisher]: got segment camera_link
[robot_state_publisher-3] [INFO] [1700055797.383349388] [robot_state_publisher]: got segment camera_rgb_frame
[robot_state_publisher-3] [INFO] [1700055797.383352226] [robot_state_publisher]: got segment camera_rgb_optical_frame
[robot_state_publisher-3] [INFO] [1700055797.383355080] [robot_state_publisher]: got segment caster_back_left_link
[robot_state_publisher-3] [INFO] [1700055797.383357847] [robot_state_publisher]: got segment caster_back_right_link
[robot_state_publisher-3] [INFO] [1700055797.383360588] [robot_state_publisher]: got segment imu_link
[robot_state_publisher-3] [INFO] [1700055797.383363294] [robot_state_publisher]: got segment wheel_left_link
[robot_state_publisher-3] [INFO] [1700055797.383366170] [robot_state_publisher]: got segment wheel_right_link
[spawn_entity.py-4] [INFO] [1700055797.608546486] [spawn_entity]: Spawn Entity started
[spawn_entity.py-4] [INFO] [1700055797.608755151] [spawn_entity]: Loading entity XML from file /home/zorx/Desktop/tb3_ws/install/turtlebot3_gazebo/share/turtlebot3_gazebo/models/turtlebot3_waffle_pi/model.sdf
[spawn_entity.py-4] [INFO] [1700055797.609309410] [spawn_entity]: Waiting for service /spawn_entity, timeout = 30
[spawn_entity.py-4] [INFO] [1700055797.609487792] [spawn_entity]: Waiting for service /spawn_entity
[spawn_entity.py-4] [ERROR] [1700055827.665935221] [spawn_entity]: Service %s/spawn_entity unavailable. Was Gazebo started with GazeboRosFactory?
[spawn_entity.py-4] [ERROR] [1700055827.666978495] [spawn_entity]: Spawn service failed. Exiting.
[ERROR] [spawn_entity.py-4]: process has died [pid 48744, exit code 1, cmd '/opt/ros/humble/lib/gazebo_ros/spawn_entity.py -entity waffle_pi -file /home/zorx/Desktop/tb3_ws/install/turtlebot3_gazebo/share/turtlebot3_gazebo/models/turtlebot3_waffle_pi/model.sdf -x 0.0 -y 0.0 -z 0.01 --ros-args'].

These are the env variables in my .bashrc
source /opt/ros/humble/setup.bash
export TURTLEBOT3_MODEL=waffle_pi
export GAZEBO_MODEL_PATH=$GAZEBO_MODEL_PATH:/opt/ros/humble/share/turtlebot3_gazebo/models

How to fix this??

Were you able to fix this? I am facing the same problem.

Were you able to fix this? I am facing the same problem.

For some reason, the maintainer wrote code that calls Gazebo without the libraries necessary for ROS integration.
To solve this problem, you need to modify how the launch file calls Gazebo. Remove the calls to gzserver and gzclient, and replace them with a single call to Gazebo. This will ensure ROS launches it with the necessary libraries (one of these libraries is the factory library, which provides essential services like the spawn service).

A corrected version of the file/package can be found here.


About the metric.

Hi,
Thanks for your implementation! Now I have a question about the calculation of the metric. In your code, I find you compute the pointwise metric at each step. Then, pytorch lightning will average the metric on each step automatically to get the mean metric on epoch. In my understanding, the point-wise mentioned in the paper is performed on the entire epoch. I want to know if this will lead to some bias in evaluation.

Hi,
that is a good finding.
We compute the loss over all entries of the batch (i.e. the all points in all point clouds). This is necessary for backpropagation in training.
PytorchLightning collects the output of each log for all steps in the epoch and reduces them at the end (by taking the mean). As the points clouds (and thus batches) are not the same size this is not the mean over all points in the epoch. It is the mean over all the batch means.
To achieve that one would need to log the number of points in the batch as well and perform a custom reduction on epoch_end.
That said I am not sure how the original authors did their metrics calculation based on the paper.
I think this is close if all batches have the roughly same amount of points. But not sure about it.

@Jabb0 Thank you for your reply! Actually, I have achieved point-wise loss in the epoch by using Torchmetric. This does not make a big difference.


I installed and it can't work.Can someone tell me where is wrong? thank you

I install distiller on windows 10, pytorch 1.0,  I don't have GPU . I input python compress_classifier.py --help
It get this

Traceback (most recent call last):
File "compress_classifier.py", line 776, in
main()
File "compress_classifier.py", line 89, in main
args = parser.get_parser().parse_args()
AttributeError: module 'parser' has no attribute 'get_parser'
Can someone tell me where is wrong? thank you

Hi @xiasiwo123,
Did you remember to install Distiller after you cloned the code?  I think you will see this error when you don't install the package.
I also want to remind that Distiller is only tested on Ubuntu 16.04 LTS (this is in the README), so using Windows may surface issues.  Our support for execution on the CPU is partial, mainly because training on the CPU with PyTorch is very time consuming on many models.
Cheers,
Neta

Hi @xiasiwo123,
Did you remember to install Distiller after you cloned the code? I think you will see this error when you don't install the package.
I also want to remind that Distiller is only tested on Ubuntu 16.04 LTS (this is in the README), so using Windows may surface issues. Our support for execution on the CPU is partial, mainly because training on the CPU with PyTorch is very time consuming on many models.
Cheers,
Neta

Hi nzmora
Thanks for your help. I think I use 'pip install -e .' installed. I will try it on Ubuntu.thank you.

Rename "parser.py" and change it in "compress_classifier.py"


Feature: panama_prices backwards

Currently core.instrument.Instrument has a method panama_prices() which computes the panama_prices going forward.
Feature: create a new function, or a boolean argument passed into panama_prices(), which computes the panama_prices backwards (i.e. starting from the most recent date and going back).

Not sure there's much point to this, apart from perhaps making it 'look good'?
A quick solution would be to transpose the entire panama series by today's current price diff()


fix: Use cocoapod resource_bundles for PrivacyInfo

Changed the inclusion of PrivacyInfo.xcprivacy to resource_bundles for cocoapod to avoid resource name collision when the user uses cocoapod as static library.
#396

Please merge, the current setup of podspec is broken


How to implement URLs to resources?

Let's imagine we have a list of products that are available at a store. A product resource should include a reference to the store it's available in but instead of including the entire store resource I would like to include a url to the store.
What's the best approach to generate the url dynamically?
Example
/v1/products/:id
{
   "id": 123,
   "name": "Book",
   "available_at_url": "https://api.example/com/v1/stores/456"
}

/v1/stores/:id
{
  "id": 456,
  "name": "Book Store",
  "address": "1 Main Road"
}

From what I've found there's no way in go-swagger to link the value of a primitive inside Object 1 into a formatted string primitive in Object 2. It might not even be possible inside the OpenAPI spec.
A swagger:response does have a pattern property, which would get you most of the way there,  that and a well-worded description is your best bet, I think.

openapi 3 will support HATEOAS style links.

A url builder was added in the 0.7.x series, I think that addresses this request


Upgrade dependencies

Upgrades all NuGet packages that had updates.
All tests pass. The only issue I noticed is that ScrollSpy now takes two args instead of one.
(edit) Found an issue. The icons no longer match. Is that a caching thing?

(edit) Found an issue. The icons no longer match. Is that a caching thing?

Probably, the HTML/CSS might reference a glyph that is now at another position in the icon font.

Changelog

(edit) Found an issue. The icons no longer match. Is that a caching thing?

Probably, the HTML/CSS might reference a glyph that is now at another position in the icon font.

Ugh. Do I write an MSBuild task for this? :)


Migration from 0.7 to 0.8 chrono feature

Bug Description
I've changed version of sqlx to 0.8 with no additional changes to code, features,etc. Macros query!/query_as! indicates errors using NaiveDateTime and require to use PrimitiveDateTime.
Info

SQLx version: 0.8
SQLx features enabled: ["postgres", "runtime-tokio-native-tls", "uuid", "chrono" ]
Database server and version: Postgres v15.8
Operating system: MacOS Sonoma
rustc --version: rustc 1.79.0 (129f3b996 2024-06-10)

https://github.com/launchbadge/sqlx/issues/3412


Non-legacy console as of 10.0.15063 no longer destroys abandoned screen buffers

In previous versions of Windows, once a screen buffer is no longer referenced, the console frees the memory associated with it, and if it was the active buffer, it activates a different buffer.  As of 15063, in certain situations, the non-legacy console doesn't do this anymore.  Maybe the new behavior is intentional, but it's at least surprising.
Example 1:
#include <windows.h>

int main() {
    const HANDLE buf = CreateConsoleScreenBuffer(
                GENERIC_READ | GENERIC_WRITE,
                FILE_SHARE_READ | FILE_SHARE_WRITE,
                NULL,
                CONSOLE_TEXTMODE_BUFFER, NULL);
    SetConsoleActiveScreenBuffer(buf);
    const HANDLE buf2 = CreateFileW(L"CONOUT$",
                GENERIC_READ | GENERIC_WRITE,
                FILE_SHARE_READ | FILE_SHARE_WRITE,
                NULL,
                OPEN_EXISTING, 0, NULL);
    CloseHandle(buf2);
}

This test program creates a new buffer, activates it, opens and closes CONOUT$, then exits.  It does not restore the originally active screen buffer.  Normally, Windows would restore the original buffer, but as of 15063's non-legacy console, it doesn't.  If I run this test program from cmd.exe or powershell.exe, I'm left with a console where I can still issue commands, but much of the output is hidden.  (Everything is hidden with PowerShell, but with cmd.exe, I can only see what I'm typing.  I can't see dir, but I can see a child process' output.)
Here's what cmd.exe looks like:

Example 2:
#include <windows.h>
#include <assert.h>
#include <algorithm>

static COORD get_size(HANDLE handle) {
    CONSOLE_SCREEN_BUFFER_INFO info = {};
    assert(GetConsoleScreenBufferInfo(handle, &info));
    return info.dwSize;
}

int main() {
    const HANDLE buf = CreateConsoleScreenBuffer(
                GENERIC_READ | GENERIC_WRITE,
                FILE_SHARE_READ | FILE_SHARE_WRITE,
                NULL,
                CONSOLE_TEXTMODE_BUFFER, NULL);
    COORD size = get_size(buf);
    size.X = std::max<SHORT>(size.X, 1000);
    size.Y = std::max<SHORT>(size.Y, 30000);
    assert(SetConsoleScreenBufferSize(buf, size));

    SetConsoleActiveScreenBuffer(buf);

    // It's necessary to create either a \Device\ConDrv\CurrentOut or a
    // \Device\ConDrv\Output that references the buffer.  Otherwise, the
    // console will successfully deallocate the unused buffer.
    const HANDLE buf2 = CreateFileW(L"CONOUT$",
                GENERIC_READ | GENERIC_WRITE,
                FILE_SHARE_READ | FILE_SHARE_WRITE,
                NULL,
                OPEN_EXISTING, 0, NULL);
    CloseHandle(buf2);

    // Ordinarily, we wouldn't need to restore the original active buffer;
    // Windows would do it automatically.  It doesn't as of the 15063
    // non-legacy console.
    SetConsoleActiveScreenBuffer(GetStdHandle(STD_OUTPUT_HANDLE));

    CloseHandle(buf);
}

Every time this command-line program runs, it leaks ~100MB of memory in the conhost.exe process it's communicating with.  The memory isn't freed until conhost.exe exits.

This issue doesn't affect the legacy console in 15063, and it doesn't affect either the legacy or non-legacy consoles in 14393.
I noticed this issue because my test suite for win32-console-docs failed: https://github.com/rprichard/win32-console-docs/issues/3.

Aside: I also noticed that as of the Win8 console changes, it's apparently impossible to free the console's initial screen buffer.  It seems possible to leak the initial buffer using these steps:

[Parent] Create a new buffer and make it active.
[Parent] Create a child process with bInheritHandles of either TRUE or FALSE.
[Parent] Exit.

At this point, there is a console with one process attached, and there is no way to access the initial buffer, but it's still taking up memory.
I logged this curiosity at https://github.com/rprichard/win32-console-docs/issues/4.

Can I get a confirmation that this behavior change is intentional or not?
I think it may affect my winpty project for programs that use their own screen buffers.  I haven't received any bug reports yet, and I'm not sure off hand which programs do create their own screen buffers.  (Some full screen editors, I guess?)  winpty scrapes the active console screen buffer -- on each poll, it opens CONOUT$, then closes it.  This issue would increase the likelihood of (a) memory leaks and (b) leaving a program's screen buffer active, especially if that program crashed.

@zadjii-msft ping

FWIW, my winver is: Version 1703 (OS Build 15063.296)

Yikes, that probably shouldn't happen. A behavior difference between legacy and v2 like this is almost certainly a bug.
This is being tracked by MSFT:12092883.
Also @miniksa for visibility.

Got this one figured out!
There was a macro that wrapped a macro that wrapped the allocate handle function. That would cause the refcount to increase twice on opening CONOUT$.
We're reviewing the fix now. Thanks for the repro cases and detailed bug report @rprichard ! It's a ton easier to fix bugs where there are great repros like this.

This issue was moved to Microsoft/console#102


New page redirection type

Create a new page redirection type: redirect to first child page (often needed when a parent page has no content and should instead forward to its first child page).

I don't think this is a type, its just a casual redirection to your selected page.

It is a type: It doesn't redirect to a specific page but to the first child, which can change when new child pages are added or when their order is changed.

@martinpetrasch What do you think?

I think we should set a specific page for the redirect but if we really need the automatic redirect feature - we can integrate it, but then we've just another option.


Made a fork, would like to merge if possible and/or become a contributor

I forked mockery to cspotcode/mockery-next. (I know, very creative naming!)  I liked mockery's API and needed it for some tests at work, but also wanted support for resolving relative paths.  I've added that feature and fixed a few other things.  It's on npm.
I'd like to merge back into mockery if possible; no sense having extra forks floating around.  However, I've made some breaking changes.  Any chance for a 2.0 release and/or can I become a contributor to mockery?
Breaking changes

Properly resolves relative module paths.  Breaking change.  Requires all mocked / substituted modules to exist.  Otherwise, path resolution fails at registration-time.  (Based on @kubas's PR)

Enhancements

Can register null substitutions and mockery will pretend the module doesn't exist.  For example: mockery.registerSubstitute('some-optional-module', null);

Bugfixes:

Doesn't break when you require('mockery') while useCleanCache is enabled.
Substitute modules can have falsey exports.

can we get some movement on this? useCleanCache causes the module to not self-register. This can be fixed with TooTallNate's https://github.com/TooTallNate/node-bindings library.

@cspotcode Thank you so much for youre fork, I had a problem TypeError: self.dialect.Query is not a constructor with sequelize.js when I used mockery.js for any fing. Your fork fixed thaht, I am really happy about this (I spent 6 hours for debugging and founding solution).


Multi-word Command Feature

Hi,
As latest version of the repository can accept only one word command. Is there any way to support multi-word command feature.
Example usage:
uart send <ifc> <data>

No, that's not possible with current implementation (PR's are welcome).
For now I can only suggest using dashes: uart-send <ifc> <data>


[Feat]: Making privacy policy page

Is your feature request related to a problem? Please describe.
Hey! Please assign me this task under GSoc24.
Describe the solution you'd like.
No response
Describe alternatives you've considered.
No response
Additional context.
No response
Show us the magic with screenshots
No response
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I want to work on this issue. (optional)

Similar issue exists and already assigned. closing this one, kindly look for other issues.

Ok..
On Sat, May 18, 2024, 9:49 AM Yash Suthar @.***> wrote:

Similar issue exists and already assigned. closing this one, kindly look
for other issues.
—
Reply to this email directly, view it on GitHub
https://github.com/TechNodes2-0/ElectiveHub/issues/189#issuecomment-2118632468,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A7BTMZZLTM3JIQZBX5XMNCLZC3JFPAVCNFSM6AAAAABH4S35SCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJYGYZTENBWHA
.
You are receiving this because you authored the thread.Message ID:
@.***>


Issue: How to stop extra LLM call in ConversationalRetrievalChain for question rephrasing

Issue you'd like to raise.
I am using ConversationalRetrievalChain for the RAG question-answer bot.
There is one LLM call that I have not configured and it is reducing the quality of responses and increasing the time.
The prompt in the LLM call is:

Given the following conversation and a follow up question, rephrase the follow up question to be a standalone question, in its original language.
It is taking around 1 second to complete this call, and it is reducing the quality of the response as well.

How do I stop this call?
Suggestion:
No response

not useful.

@sid8491 If I understand you question correctly, the bot's answer is correct. The rephrase_question=False flag skips the step that runs this prompt

Given the following conversation and a follow up question, rephrase the follow up question to be a standalone question, in its original language.

@sid8491 If I understand you question correctly, the bot's answer is correct. The rephrase_question=False flag skips the step that runs this prompt

Given the following conversation and a follow up question, rephrase the follow up question to be a standalone question, in its original language.

I have tried it like this, but this is not changing anything:
qa_chain = ConversationalRetrievalChain.from_llm(
        llm=llm,
        retriever=custom_retriever,
        chain_type="stuff",
        combine_docs_chain_kwargs=QA_PROMPT,
        return_source_documents=True,
        verbose=False,
        rephrase_question=False,
    )

Upon careful examination, I discovered that when I set rephrase_question to False, the tab is making an additional call to the Language Model (LLM) but it's not utilizing the rephrased question. How can I stop this LLM call? There are two issues arising from this extra LLM call:

It's causing a delay in response generation, resulting in increased response time.
I am using streaming responses in Streamlit, and the response from this LLM call is also being printed within the on_llm_new_token() function.

@sid8491 Those are the exact issues I have been searching for solutions on, it delays response and the rephrase gets shown to the user. I want a way where it can rephrase the question, but it doesn't need to increase response time and it doesn't need to show it

@hwchase17, @baskaryan, I am also facing the same issue. I am using ConversationalRetrievalChain with ConversationBufferWindowMemory, and I am experiencing the following issues:
In the streaming response, it contains the rephrased question.
When the same question is asked again for the second time, it answers with 'answer not found in context.'
It rephrases the question based on the previous question, even when I have not mentioned phrases like 'based on the previous question' or 'as per the previous conversation.' In other words, when I have not indicated to use the previous question to answer the current question, the model still uses the previous question and rephrases the question accordingly, leading to an 'answer not found in context' response.

@JoAmps Facing the same issue, have you found a solution yet ?

rephrase_question=False still generates the repharse_question (I think it will incur costs), but the final answer no longer depends on the previous answer (which is what I want).
But I want to stream the answer back to the client by using a callback with a custom class wrap over StreamingStdOutCallbackHandler, but the on_llm_new_token also includes the output from the repharse_question step. Is there any way to completely disable the repharse step?

@harshadk-sourcefuse, I'm facing same issued with "In the streaming response, it contains the rephrased question." Did you find the solution to fix it?

rephrase_question=False still generates the repharse_question (I think it will incur costs), but the final answer no longer depends on the previous answer (which is what I want). But I also want to stream the answer back to the client by using a callback with a custom class wrap over StreamingStdOutCallbackHandler, but the on_llm_new_token also includes the output from the repharse_question step. Is there any way to completely disable the repharse step?

@khanhnd0408  Hey did find any solution?  I am facing the same issue while streaming back the response using the custom callback handler. the response is including the rephrased question as well

Hi, any update on it? I faced the same issue, and I cant understand why I should receive a rephrased query in the response from the model. I am using a steamed output to pass the answer further token by token but according to current implementation I have to trim the rephrased query somehow. Thats absolutely makes no sence to me. It costs additional time and looks useless

Hi, is there any update on this issue? facing same issue on v0.1.0

this issue is still happening. Should not be closed

The following is a partial solution for the problem and it prevents streaming tokens received from the LLM while rephrasing the question:
class LLMStreamingCallbackHandler(StreamingStdOutCallbackHandler):
    def __init__(self, add_to_buffer: Callable) -> None:
        super().__init__()
        self.finished_rephrasing_question: bool = False

    def on_llm_end(self, response: LLMResult, **kwargs: Any) -> None:
        self.finished_rephrasing_question = True

    def on_llm_new_token(self, token: str, **kwargs):
        if not self.finished_rephrasing_question:
            # Still generating the rephrased question, skip.
            return

        do_something(token)

The above handler is tested and works with: ConversationalRetrievalChain. You can use extend it for sure.

The following is a partial solution for the problem and it prevents streaming tokens received from the LLM while rephrasing the question:
class LLMStreamingCallbackHandler(StreamingStdOutCallbackHandler):
    def __init__(self, add_to_buffer: Callable) -> None:
        super().__init__()
        self.finished_rephrasing_question: bool = False

    def on_llm_end(self, response: LLMResult, **kwargs: Any) -> None:
        self.finished_rephrasing_question = True

    def on_llm_new_token(self, token: str, **kwargs):
        if not self.finished_rephrasing_question:
            # Still generating the rephrased question, skip.
            return

        do_something(token)

The above handler is tested and works with: ConversationalRetrievalChain. You can use extend it for sure.


Opt-out reload when calling evolu.resetOwner()

I like to create a different UX when users tries to reset his account.
Proposal: evolu.resetOwner({reload: false})

I have faced similar UX issues when trying to implement a data reset feature. My app also needs multiple Evolu db instances (though one is active at any point in time), so making sure the resetOwner is not called on the wrong db was a bit hard to implement.
Since Evolu now has proper multi-db support, would it be possible to provide a normal Create, Delete, and Reset interface? There is no way to create a DB instance with a predefined mnemonic. On a new device, the app has to do a resetOwner even though it knows the mnemonic in advance.

@ananthakumaran Good idea. Feel free to suggest an API for that.

Adding a mnemonic to createEvolu would solve the new device setup problem without an extra page reload.
return createEvolu(Database, {
    name: id,
    reloadUrl: '/',
    syncUrl: config.syncUrl,
    mnemonic: mnemonic
  });

Speaking of mnemonic, there is no straightforward way to make a new one using the public API. I use the below function to generate one.
import { Bip39Live } from '@evolu/common-web/dist/PlatformLive';
import { makeOwner } from '@evolu/common';

export async function newOwner() {
  return await Effect.runPromise(Effect.provide(makeOwner(), Bip39Live));
}

This along with the ability to not reload the page on db.restoreOwner(mnemonic, {reload: false}) and db.resetOwner({reload: false}) would solve all my UX issues.

@ananthakumaran I'm working on that.

@steida
I am testing it out and facing one issue. The const owner = useOwner(); hook is not firing after calling
db.restoreOwner(mnemonic, {
  reload: false,
})

I am assuming this was working earlier due to the page reload on any owner change? I only see one call to ownerStore.setState on db initialization.

@ananthakumaran Yep, you are right. Given that a user may have multiple tabs open, I'm trying to figure out what the correct approach is. Tabs should be reloaded anyway, IMHO. Otherwise, we would have to propagate user changes to all tabs.

Tested and works well for me, thanks.


Plugin is currently loading. Please try again later.

My quests version: 3.9.4
My spigot version: 1.8.8
I downloaded this plugin today but it gives error on console when starting and when i write the chat /quest or /quests it says plugin is currently loading please try again later. I love your plugin so much but it just gives error and i don't know how i can solve this. I hope you can help me.

Thanks for the report. Please share your startup log, usually located at serverFolder/logs/latest.log

[17:16:08] [Server thread/WARN]: [Quests] Task #26 for Quests v3.9.4-b${env.BUILD_NUMBER} generated an exception
java.lang.NoSuchMethodError: org.bukkit.Material.matchMaterial(Ljava/lang/String;Z)Lorg/bukkit/Material;
at me.blackvein.quests.util.ItemUtil.processItemStack(ItemUtil.java:178) ~[?:?]
at me.blackvein.quests.util.ItemUtil.readItemStack(ItemUtil.java:341) ~[?:?]
at me.blackvein.quests.Quests.loadQuestRequirements(Quests.java:1684) ~[?:?]
at me.blackvein.quests.Quests.loadQuests(Quests.java:1445) ~[?:?]
at me.blackvein.quests.Quests$2.run(Quests.java:518) ~[?:?]
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:59) ~[server.jar:git-PaperSpigot-"4c7641d"]
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:352) [server.jar:git-PaperSpigot-"4c7641d"]
at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:783) [server.jar:git-PaperSpigot-"4c7641d"]
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:378) [server.jar:git-PaperSpigot-"4c7641d"]
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:713) [server.jar:git-PaperSpigot-"4c7641d"]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:616) [server.jar:git-PaperSpigot-"4c7641d"]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_251]
[17:16:08] [Craft Scheduler Thread -

Closing as OP did not provide the requested information.
There should be a line at startup, or immediately proceeding that error, which tells you about an invalid material in your quest file. You must correct that issue before using the plugin.


(Feature) One click cleanup of unused objects and connections

A one click (with confirmation) cleanup function that went through and remove all unused objects and relationships from the model would be great.

This does't work on MAC. Pressing delete does nothing as the objects are only highlighted in grey rather than selected (they will be blue when selected).
Workaround: when the unused objects are highlighted in grey, click one of the objects while holding CMD, this will turn all of the highlights from grey to blue. The object that you click will be unselected, reselect by keeping the CMD button pressed in and left clicking the object to reselect. The goal is to turn all of the highlighted objects (grey) into selected objects (blue).

This does't work on MAC. Pressing delete does nothing as the objects are only highlighted in grey rather than selected (they will be blue when selected).
Workaround: when the unused objects are highlighted in grey, click one of the objects while holding CMD, this will turn all of the highlights from grey to blue. The object that you click will be unselected, reselect by keeping the CMD button pressed in and left clicking the object to reselect. The goal is to turn all of the highlighted objects (grey) into selected objects (blue).

Same thing on Windows. The Validator retains the focus, which is the intended behaviour as it's only revealing and selecting the objects. Simply click on the Models Tree tab so that it gains the focus.

If clicking on the tab moves the focus to the highlighted objects then your workaround removes a step from mine. Thanks.

Actually, I think someone has created a jArchi script to do what the OP wants. I'm feeling too lazy to find it right now, but it's out there.

This does't work on MAC. Pressing delete does nothing as the objects are only highlighted in grey rather than selected (they will be blue when selected).
Workaround: when the unused objects are highlighted in grey, click one of the objects while holding CMD, this will turn all of the highlights from grey to blue. The object that you click will be unselected, reselect by keeping the CMD button pressed in and left clicking the object to reselect. The goal is to turn all of the highlighted objects (grey) into selected objects (blue).

Same thing on Windows. The Validator retains the focus, which is the intended behaviour as it's only revealing and selecting the objects in the Models Tree which doesn't have the focus at this point. Simply click on the Models Tree tab so that it gains the focus.

When you have clicked on "Reveal objects" keep the Ctrl button pressed and right click on any selected object. This will keep the selected object from losing focus on the list of unused objects. Next, click "delete" in the menu that appears


Add some sane default build/launch tasks for VS Code.

These files are normally ignored by .gitignore, so you can make local
changes without accidentally checking them in.
.vscode is gitignored, it's possible you don't want these files checked in at all.  I think I have sane defaults here, but feel free to just close this if you'd rather not have these files checked in 👍

I don't use any of these things in VS Code XD

I'll close this then


fix The Test Case for ThreadInterruptedStatusRestoreTest

Description
solves test case fails for : ThreadInterruptedStatusRestoreTest

API change check
API changes are not detected in this pull request.


Restructure Java Tests into Unit, Integration and System Tests

We have different types of tests in the Artemis Project, requiring different types of setup. To make this more clear, we want to restructure our existing tests into three sub-folders:

Unit Tests
This includes all tests that do not start the Artemis Server.
Integration Tests
This includes all tests that start the Artemis Server and primarily invoke the REST API.
System Tests
This includes tests that invoke external components (e.g. Athene or Bamboo) that need to be started before running the tests.

May I take this one? @jpbernius @krusche


unable to run the plugin.stuck at generating . . .

running jekyll serve --incremental --watch. the process stuck at generating for so long.
Is it normal since it takes so much time!

I ended up creating raketask for it!


Make gradlew more convenient to use

Original issue: https://issues.gradle.org/browse/GRADLE-1378
Highly voted issue: 33
Expected Behavior
Gradle provides a mechanism that makes it easier to say for a project that you want to use the Wrapper. A native implementation could be a approach to the problem. The actual implement reallty is TBD.
Current Behavior
What makes gradlew inconvenient to use (compared to gradle) is that one has to prefix the relative path of the command:
./gradlew instead of gradle for the root project
../master/gradlew (or similar) instead of gradle for subprojects

The first problem could be solved by installing gradlew separately from the project, or by defining an alias. The second problem could be solved by letting the wrapper task create symlinks or duplicated gradlew scripts.

Cluttering a source repository with duplicated gradlew scripts or symlinks sounds like a bad idea to me.
One way to look at this could be: if a build contains a gradlew script, then gradle could delegate to it when invoked from inside the project dir. That's close to what IDEs do, use the wrapper if it exists, otherwise use a local Gradle install. We'd need a flag to force using gradle, skipping gradlew detection, for when we actually want to not use an existing wrapper.

I think where we want to end up is to replace the gradle with a command that behaves the same way as the tooling API, which is to determine the Gradle version for the build, download that version and use it. This command would be something you could install anywhere you like, like the gradle command.
We can introduce this incrementally, for example:

include an initial version of this command in the Gradle distro alongside gradle as an incubating feature, so at least it's available
introduce a binary distribution containing only this command
after we're happy with the behaviour, un-incubate and remove the gradle command.

The command should behave the same way as the tooling API, but it may or may not use the tooling API in its implementation. It would certainly reuse the same pieces of logic. I think an initial version would be quite quick to implement.

FYI , a fair number of people are using gw (http://gdub.rocks) 😎
I haven't been able to update it in a couple years and there are a few issues with the way it works now, but the current approach and the open issues may be instructive / helpful to look through:
https://github.com/dougborg/gdub/issues/4
https://github.com/dougborg/gdub/issues/8
https://github.com/dougborg/gdub/issues/21
https://github.com/dougborg/gdub/issues/22

Some other package managers also work this way. For example, when using yarn with yarn policies set-version it installs a local copy of yarn of the specifies version in .yarn (comparable to the gradle wrapper), but to run it you still just use yarn which detects and executes the local copy.
There are several workarounds for gradle, like gdub mentioned above, or shell functions/aliases (e.g. the oh-my-zsh gradle plugin).
I'm currently just using these functions in zsh:
lookup() {
    if [ "$#" -lt 1 ]; then
        echo "Usage: lookup NAME"
        return
    fi
    dir="$PWD"
    while [[ "$dir" != "/" ]]; do
        file="$dir/$1"
        if [ -f "$file" ]; then
            echo "$file"
            return
        fi
        dir="$(readlink -f "$dir"/..)"
    done
}

gw() {
    gradlew="$(lookup gradlew)"
    if [ -e "$gradlew" ]; then
        cd "$(dirname "$gradlew")"
        ./gradlew "$@"
    else
        /usr/bin/gradle "$@"
    fi
}

Anyway, I still think it would be nice to have that built into gradle. It's easy to work around, but the  many different solutions out there show that this is a desired behavior.

This may fall a little outside of initial scope but it'd be helpful to make the location of generated/downloaded files configurable (via settings.gradle for example) instead of
.
├── gradle
│   └── wrapper
│       ├── gradle-wrapper.jar
│       └── gradle-wrapper.properties
├── gradlew
└── gradlew.bat

Please keep this issue open as it is still relevant.


find-unused-top-level: ignore extensions

recommend squash merge

I was literally just gonna do the same 😂
LGTM -- thanks!


⚠ Jenkins Plugins Artifactory has degraded performance

In 6fcad67, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1204 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 1341aa7 after 16 minutes.


it would be nice to have it also in a wheel format on Pypi

a dask-0.7.1-py2.py3-none-any.whl
python setup.py sdist bdist_wheel  --universal
twine upload dist/*

Interestingly we're chatting about release process over at #660 .  Perhaps you can recommend an addition to that workflow on that issue?

@stonebig there is now a wheel available for the latest release -- 0.7.3.

thanks !

no more wheel for 0.7.6 ?

My apologies @stonebig is there a convenient way to add this?

python setup.py sdist bdist_wheel  --universal
twine upload dist/*

mrocklin@workstation:~/workspace/dask$ twine upload dist/*
Uploading distributions to https://pypi.python.org/pypi
Uploading dask-0.7.6-py2.py3-none-any.whl
Uploading dask-0.7.6-py3-none-any.whl
Uploading dask-0.2.1.tar.gz
HTTPError: 400 Client Error: A file named "dask-0.2.1.tar.gz" already exists for  dask-0.2.1. To fix problems with that file you should create a new release. for url: https://pypi.python.org/pypi

maybe
python setup.py sdist bdist_wheel  --universal
twine upload dist/dask-0.7.6*

It worked regardless.  Just not sure why the extra ancient version is there.

probably because you did first a python setup.py sdist bdist_wheel  , so the py3 only has been generated once.
Problem is if you update your code, that 'old' wheel won't be recomputed, but send nevertheless to pypi

If you want to use python setup.py sdist bdist_wheel without forgetting about the --universal CLI argument you can add the following section to setup.cfg:
[wheel]
universal=1


FR - Cloud SQL scanner - Detect any public connectivity

Feature request
Scanner: cloud SQL
Current status: "authorized_networks" field requires a valid CIDR string
Desired status: enable '*' to detect any public IP connectivity
Alternative: instead of looking for authorized networks, just look for cloud sql instances with public ip enabled (e.g. gcloud sql instances describe)

Already works as expected: '' is not documented, but is accepted.
With '' in the "authorized_networks" any authorized CIDR block is reported as a violation :-)


Add debugger display proxy to vector and matrix

Looks like this:

Previous display for vector to compare:

Cool!

CI is green, merge?

It’s fine for me, unfortunately I don’t have merge rights for this repo. I tried to contact @cdrnet for some stuff I needed for the Spatial repo, but no luck either 😔

I'm worried that @cdrnet's last activity was over a month ago. If he is the only person with full rights for this repo and is not responding it might not end well...

This is also my concern :(

Any updates here?

Not from my side. I have started to be worried about @cdrnet ’s health. He doesn’t respond to any messages

Very useful, thank you!


Update server test following change of Japanese translation.

Ping? @skywhale

haha, the new translation is definitely better :)


Fix backup ApplicationSet environment variable for production

When backup ApplicationSet was added, we forgot to patch it to change environment variable for production. Without this, it was expecting the component to be in the following 2 locations which is wrong:

components/backup/staging/stone-prd-m01
components/backup/staging/stone-prd-rh01

RHTAPSRE-215

/lgtm

/lgtm

/retest-required

/retest-required


OnTraffic passes lock by value

Hello,
While testing the small examples, I get the following warning in VSCode:
OnTraffic passes lock by value: github.com/y001j/UringNet.URingNet contains sync/atomic.Uintptr contains sync/atomic.noCopy

Probably you should rework some of the internal properties ...
Best regards,
SoftExpert

Thanks for reporting this issue. I am looking into it.


A few mods to think about adding

Request
A clear and concise description of what your feature requested is. This can be anything from README changes to adding new mods.
I've Tested the following and only ran into one minor issue so far, pretty sure relatively easily patchable by someone with the knowhow. About a dozen or so hours into playthrough. Just slapped them on and loaded them last.
https://www.nexusmods.com/skyrimspecialedition/mods/12708 - Achieve That SE - adds a fairly balanced "badass token" like system for mod-added achievements, encourages multiple playthroughs as many are mutually exclusive
https://www.nexusmods.com/skyrimspecialedition/mods/23329 - Attribute Value Application - Adds attributes to the game, which can be raised (in theory) by raising appropriate skills. Allows for a class-like experience while still allowing for players to branch out into anything, although potentially nerfed due to buffs spent elsewhere, or can be made "completely average" with no buffs or debuffs. Optional Maybe? Ran into a minor problem with this one, but it doesn't break anything really. Only some skills seem to raise attributes when they should (lvl 50 and 100), but afaik the mod isn't tied to perks so I'm not sure what the issue is. I've used it with Ordinator in the past, no patch, no problem.
https://www.nexusmods.com/skyrimspecialedition/mods/39386 - Unobtrusive Candlelight Fix - Moves the candlelight behind you so it doesn't blind you for having the audacity for trying to use a shield underground.
https://www.nexusmods.com/skyrimspecialedition/mods/9383 - Casting Regeneration - Once your possibly very mana-expensive spell is charged, you can wait for your mana to recharge before casting, giving you a full mana pool AND one or two spells at the start of each fight that you start.
Additional context

I finally looked at the mods, so far they aren't really hitting my personal taste/vision.
At least not now.
I will leave this open tho so I have a reference, if I feel like "something is missing".


onlyoffice-document-server: added aarch64-linux support

Description of changes
Added aarch64-linux platform support
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Updated version. Related PR #248717


Unable to Start ddev project after updating docker version/Mac Big sur

Error output while ddev start

Creating ddev-drupal-8.9.x-dba          ... done
Creating ddev-drupal-8.9.x-web          ... error
ERROR: for ddev-drupal-8.9.x-web  Cannot start service web: error while mounting volume '/var/lib/docker/volumes/ddev-drupal-89x_nfsmount/_data': failed to mount local volume: mount :/System/Volumes/Data/Users/nareshbavaskar/ddev-projects/drupal-8.9.x:/var/lib/docker/volumes/ddev-drupal-89x_nfsmount/_data, data: addr=<IP_ADDRESS>,hard,nolock: permission denied
ERROR: for web  Cannot start service web: error while mounting volume '/var/lib/docker/volumes/ddev-drupal-89x_nfsmount/_data': failed to mount local volume: mount :/System/Volumes/Data/Users/nareshbavaskar/ddev-projects/drupal-8.9.x:/var/lib/docker/volumes/ddev-drupal-89x_nfsmount/_data, data: addr=<IP_ADDRESS>,hard,nolock: permission denied
Encountered errors while bringing up the project.
Failed to restart drupal-8.9.x: Failed to run docker-compose [-f /Users/nareshbavaskar/ddev-projects/drupal-8.9.x/.ddev/.ddev-docker-compose-full.yaml up --build -d], err='exit status 1', stdout='Docker Compose is now in the Docker CLI, try docker compose up
Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
Successfully built df3551ef532145db64d2fcca8b514769a4e9da38e629d60d04d2c87e52023d7e
Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
Successfully built c9896f28211e450d58663d664f226cef8c7d91e344237663a5f474d41bffa2ca
', stderr='Building db
#1 [internal] load build definition from Dockerfile
#1 sha256:b40b779a439e10e0d9b55a4ce9cd7283a42055c4a89aea2b0fcdc6fc543efa60
#1 transferring dockerfile: 343B 0.0s done
#1 DONE 0.0s
#2 [internal] load .dockerignore
#2 sha256:6af802f64ca9bf6d77be1c5ee7bd42757069230dc81634a2297562b36e6dc565
#2 transferring context: 2B done
#2 DONE 0.0s
#3 [internal] load metadata for docker.io/drud/ddev-dbserver-mariadb-10.2:v1.14.1
#3 sha256:7043214c271b08dbffe57cb6910f6a7da530dcd22d01ea4d25eff2f7b33defa8
#3 DONE 0.0s
#4 [1/2] FROM docker.io/drud/ddev-dbserver-mariadb-10.2:v1.14.1
#4 sha256:0a89f285ad2e80544e9de87823b56ce496db04b0c9086fa5d4c773c6b21a54cb
#4 DONE 0.0s
#5 [2/2] RUN (groupadd --gid 20 "nareshbavaskar" || groupadd "nareshbavaskar" || true) && (useradd  -l -m -s "/bin/bash" --gid "nareshbavaskar" --comment '' --uid 501 "nareshbavaskar" || useradd  -l -m -s "/bin/bash" --gid "nareshbavaskar" --comment '' "nareshbavaskar")
#5 sha256:229ce11cb0ee8028b6e70f9bc25ab69d526ca1f9d0e176b11d514f1f9f5c2077
#5 CACHED
#6 exporting to image
#6 sha256:e8c613e07b0b7ff33893b694f7759a10d42e180f2b4dc349fb57dc6b71dcab00
#6 exporting layers done
#6 writing image sha256:df3551ef532145db64d2fcca8b514769a4e9da38e629d60d04d2c87e52023d7e done
#6 naming to docker.io/drud/ddev-dbserver-mariadb-10.2:v1.14.1-drupal-8.9.x-built done
#6 DONE 0.0s
Building web
#1 [internal] load build definition from Dockerfile
#1 sha256:c8d6354e0c10d57d672b7f5425f843a6c149c9dce50cf74d3055c953753333c9
#1 transferring dockerfile: 343B done
#1 DONE 0.0s
#2 [internal] load .dockerignore
#2 sha256:5e9703186fd3b38660cc1145f150f612dc0842f58d8fb6fc477f64d4a836c02b
#2 transferring context: 2B done
#2 DONE 0.0s
#3 [internal] load metadata for docker.io/drud/ddev-webserver:v1.14.1
#3 sha256:40002839c1ee9e6d232c94b22ec0355a29273ea1a2009e41ee02276ec16b18b5
#3 DONE 0.0s
#4 [1/2] FROM docker.io/drud/ddev-webserver:v1.14.1
#4 sha256:e890b8aaefc05d07970fe47d22d63eacd3fa65648b9df4257bf1f77bfad79ca3
#4 DONE 0.0s
#5 [2/2] RUN (groupadd --gid 20 "nareshbavaskar" || groupadd "nareshbavaskar" || true) && (useradd  -l -m -s "/bin/bash" --gid "nareshbavaskar" --comment '' --uid 501 "nareshbavaskar" || useradd  -l -m -s "/bin/bash" --gid "nareshbavaskar" --comment '' "nareshbavaskar")
#5 sha256:7b0a0e9815664e4cb56f8fee5eca791de2a1c6f649149444742d121c14d88ca9
#5 CACHED
#6 exporting to image
#6 sha256:e8c613e07b0b7ff33893b694f7759a10d42e180f2b4dc349fb57dc6b71dcab00
#6 exporting layers done
#6 writing image sha256:c9896f28211e450d58663d664f226cef8c7d91e344237663a5f474d41bffa2ca done
#6 naming to docker.io/drud/ddev-webserver:v1.14.1-drupal-8.9.x-built done
#6 DONE 0.0s
Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
Creating ddev-drupal-8.9.x-db ...
Creating ddev-drupal-8.9.x-chromedriver ...
Creating ddev-drupal-8.9.x-chromedriver ... done
Creating ddev-drupal-8.9.x-db           ... done
Creating ddev-drupal-8.9.x-dba          ...
Creating ddev-drupal-8.9.x-web          ...
Creating ddev-drupal-8.9.x-dba          ... done
Creating ddev-drupal-8.9.x-web          ... error
ERROR: for ddev-drupal-8.9.x-web  Cannot start service web: error while mounting volume '/var/lib/docker/volumes/ddev-drupal-89x_nfsmount/_data': failed to mount local volume: mount :/System/Volumes/Data/Users/nareshbavaskar/ddev-projects/drupal-8.9.x:/var/lib/docker/volumes/ddev-drupal-89x_nfsmount/_data, data: addr=<IP_ADDRESS>,hard,nolock: permission denied
ERROR: for web  Cannot start service web: error while mounting volume '/var/lib/docker/volumes/ddev-drupal-89x_nfsmount/_data': failed to mount local volume: mount :/System/Volumes/Data/Users/nareshbavaskar/ddev-projects/drupal-8.9.x:/var/lib/docker/volumes/ddev-drupal-89x_nfsmount/_data, data: addr=<IP_ADDRESS>,hard,nolock: permission denied
Encountered errors while bringing up the project.'>

To Reproduce
Existing ddev project setup
Upgrade Mac OS version to macOS big sure 11.2.3
Upgrade docker desktop 3.3.1 version
ddev start --> error
Version and configuration information (please complete the following information):

macOS Big Sur 11.2.3
Docker Desktop version 3.3.1
ddev version information (use ddev version v1.14.1)

Hi @naresh-qed42 -
The problem you have here is that NFS is not properly working or configured.
But could you please use the current version of ddev instead of one that's a year or more old? Obviously we don't test old versions of ddev with the latest version of Docker Desktop.
Anyway, though, the problem is that you have nfs_mount_enabled turned on, and NFS is not configured right. I'd start with sudo nfsd restart and use ddev debug nfsmount.
General NFS information is at https://ddev.readthedocs.io/en/stable/users/performance/#using-nfs-to-mount-the-project-into-the-web-container, and see the debugging/troubleshooting information there.
You can also turn off NFS support with ddev config global --nfs-mount-enabled=false && ddev config --nfs-mount-enabled=false

@rfay thanks for very quick replay,
I have turned off NFS and its get fixed, working fine.
But would like to enabled NFS for speed up:
I have tried to solve NFS using above reference URL: (/sbin/nfsd this step is done)
Issue:

~/ddev-projects/drupal-9-new(9.1.x*) » ddev debug nfsmount
NFS does not seem to be set up yet, see debugging instructions at https://ddev.readthedocs.io/en/stable/users/performance/#debugging-ddev-start-failures-with-nfs_mount_enabled-true
Details: error=failed to StartContainer: API error (500): error while mounting volume '/var/lib/docker/volumes/testnfsmount/_data': failed to mount local volume: mount :/System/Volumes/Data/Users/nareshbavaskar/ddev-projects/drupal-9-new:/var/lib/docker/volumes/testnfsmount/_data, data: addr=<IP_ADDRESS>,hard,nolock: permission denied
output=

Now I remember i just deleted /etc/exports yesterday for fixing some vagrant issue.
My current  /etc/exports file

VAGRANT-BEGIN: 501 6ce5c5e5-ef9e-49c9-b560-84b0ba0a172d
"/System/Volumes/Data/Users/nareshbavaskar/vagrant-projects/drupal-9" -alldirs -mapall=501:20 <IP_ADDRESS>
VAGRANT-END: 501 6ce5c5e5-ef9e-49c9-b560-84b0ba0a172d

also updated ddev with the latest version v1.17.1.

Please follow the instructions in the docs to set up NFS. You'll run the script macos_ddev_nfs_setup.sh.

great thanks, NFS is working now @rfay

Glad it's working!


NETOBSERV-549 Setup initial e2e tests

Copy & adapt tests from ebpf-agent e2e tests

Draft / To do: deploy components from the operator, not individually


Error when adding an attribute

Hi,
I installed a fresh version of Saleor and then tried to add a new attribute. But it failed with the following error:
Exception Type: RelatedObjectDoesNotExist at /dashboard/products/attributes/add/
Exception Value: AttributeChoiceValue has no attribute.
I can provide more detailed log if needed.
Thanks

Hi, has this bug been fixed? Thanks


'u.getUniqueID' is undefined after upgrading to v0.22.3

Summary

Version
v0.22.3

Affected OS
ios

OS Version
11.4

Current behavior
After simple upgrade from v0.22.2 to v0.22.3 I'm getting u.getUniqueID is undefined nothing else has hanged in my codebase. Simple revert back to v0.22.2 fixes this issue.
Here is full log:
2018-08-08 11:35:26.456 [fatal][tid:com.facebook.react.ExceptionsManagerQueue] Unhandled JS Exception: u.getUniqueID is not a function. (In 'u.getUniqueID()', 'u.getUniqueID' is undefined)
2018-08-08 11:35:26.456828+0200 HabitChallenge[86310:8399601] Unhandled JS Exception: u.getUniqueID is not a function. (In 'u.getUniqueID()', 'u.getUniqueID' is undefined)
2018-08-08 11:35:26.475465+0200 HabitChallenge[86310:8399601] Encountered an uncaught exception. All Mixpanel instances were archived.
2018-08-08 11:35:26.476239+0200 HabitChallenge[86310:8399601] *** Terminating app due to uncaught exception 'RCTFatalException: Unhandled JS Exception: u.getUniqueID is not a function. (In 'u.getUniqueID()', 'u.getUniqueID' is undefined)', reason: 'Unhandled JS Exception: u.getUniqueID is not a function. (In 'u.getUniqueID..., stack:
<unknown>@729:3177
l@2:1476
<unknown>@727:1303
l@2:1476
<unknown>@726:156
l@2:1476
<unknown>@554:422
l@2:1476
<unknown>@541:236
l@2:1476
<unknown>@515:282
l@2:1476
<unknown>@514:143
l@2:1476
<unknown>@13:282
l@2:1476
<unknown>@12:39
l@2:1476
a@2:863
global code@1032:8
'
*** First throw call stack:
(
	0   CoreFoundation                      0x00000001148681e6 __exceptionPreprocess + 294
	1   libobjc.A.dylib                     0x0000000113797031 objc_exception_throw + 48
	2   HabitChallenge                      0x000000010dcb67ad RCTFormatError + 0
	3   HabitChallenge                      0x000000010dcb33e2 -[RCTExceptionsManager reportFatalException:stack:exceptionId:] + 507
	4   CoreFoundation                      0x00000001147ebccc __invoking___ + 140
	5   CoreFoundation                      0x00000001147ebb84 -[NSInvocation invoke] + 308
	6   CoreFoundation                      0x00000001148048d6 -[NSInvocation invokeWithTarget:] + 54
	7   HabitChallenge                      0x000000010dcc9db5 -[RCTModuleMethod invokeWithBridge:module:arguments:] + 600
	8   HabitChallenge                      0x000000010dd0ffe2 _ZN8facebook5reactL11invokeInnerEP9RCTBridgeP13RCTModuleDatajRKN5folly7dynamicE + 266
	9   HabitChallenge                      0x000000010dd0fd5b ___ZN8facebook5react15RCTNativeModule6invokeEjON5folly7dynamicEi_block_invoke + 78
	10  libdispatch.dylib                   0x00000001159bc7ab _dispatch_call_block_and_release + 12
	11  libdispatch.dylib                   0x00000001159bd7ec _dispatch_client_callout + 8
	12  libdispatch.dylib                   0x00000001159c5be5 _dispatch_queue_serial_drain + 1305
	13  libdispatch.dylib                   0x00000001159c64fa _dispatch_queue_invoke + 328
	14  libdispatch.dylib                   0x00000001159c2344 _dispatch_queue_override_invoke + 726
	15  libdispatch.dylib                   0x00000001159c936c _dispatch_root_queue_drain + 664
	16  libdispatch.dylib                   0x00000001159c9076 _dispatch_worker_thread3 + 132
	17  libsystem_pthread.dylib             0x0000000115e78169 _pthread_wqthread + 1387
	18  libsystem_pthread.dylib             0x0000000115e77be9 start_wqthread + 13
)
libc++abi.dylib: terminating with uncaught exception of type NSException

Expected behavior
Upgrading minor versions should not break client application.

same issue. sounds like changing from module.exports = {...}  to export default {...} broke everything
(0, _reactNativeDeviceInfo.isTablet) is not a function

Same issue here; downgrading to 0.22.2 works fine.

it seams that upgrading node to v10.8.0 fixes this issue.

import DeviceInfo from 'react-native-device-info';

fixes the issue

Can confirm that changing import did helped, as  @eshikerya pointed out. Thanks!

Would you mind sending a PR for the README?

You can also do:
import DeviceInfo from 'react-native-device-info';

const { getUniqueID } = DeviceInfo

But I think you should be able to destruct the import directly as before.

DeviceInfo is an object which includes "default" object so, in order to access the function getUniqueID() you need to do something like this DeviceInfo.default.getUniqueID()


Fix typo in Event_Guest_Submit_List_Label__c

Critical Changes
Changes

In "Event_Guest_Submit_List_Label__c.field-meta.xml" typo from "registred" to "registered".

Issues Closed

#565

Hi @FrancisTR I signed the CLA.

This would be my first collaboration. I'm not sure if I'm missing something. Could you guide me this time?
Thanks for your time.

Hi @FrancisTR I signed the CLA.
This would be my first collaboration. I'm not sure if I'm missing something. Could you guide me this time?
Thanks for your time.

Hello @DavidCuentasMar. I believe that's all you need to do. Thad has merge your PR. Thanks for contributing!


strconv: improve readability of FormatFloat formatting options in go doc

In the documentation for the FormatFloat function, the list of formatting options ('b', 'e', 'f', etc.) is clearer and easier to read when displayed on separate lines, as is done in the source documentation. However, go doc compresses them into a single line, making them harder to distinguish.
// The format fmt is one of
// 'b' (-ddddp±ddd, a binary exponent),
// 'e' (-d.dddde±dd, a decimal exponent),
// 'E' (-d.ddddE±dd, a decimal exponent),
// 'f' (-ddd.dddd, no exponent),
// 'g' ('e' for large exponents, 'f' otherwise),
// 'G' ('E' for large exponents, 'f' otherwise),
// 'x' (-0xd.ddddp±ddd, a hexadecimal fraction and binary exponent), or
// 'X' (-0Xd.ddddP±ddd, a hexadecimal fraction and binary exponent).

become:

The format fmt is one of 'b' (-ddddp±ddd, a binary exponent), 'e' (-d.dddde±dd, a decimal exponent), 'E' (-d.ddddE±dd, a decimal exponent), 'f' (-ddd.dddd, no exponent), 'g' ('e' for large exponents, 'f' otherwise), 'G' ('E' for large exponents, 'f' otherwise), 'x' (-0xd.ddddp±ddd, a hexadecimal fraction and binary exponent), or 'X' (-0Xd.ddddP±ddd, a hexadecimal fraction and binary exponent).

Related Issues and Documentation

strconv: format hex floats
Package strconv > func FormatFloat 				¶
strconv: ParseFloat should accept 'p' notation for binary exponents  #12518 (closed)

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)

Want to send a patch?


Investigate use of Circle-CI Orbs

Describe the feature you'd like
Investigate using  Circle-CI Orbs for simplifying Circle-CI configuration and builds.
Give an example
See use of node orb
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Successfully implemented orbs for Sinopia API. Seee https://github.com/LD4P/sinopia_api/blob/main/.circleci/config.yml


Ensure that divisions are alway tuples

This PR does the following:

Turns _Frame.divisions into a property wrapping _Frame._divisions, with a setter that casts the provided value into a tuple
Adds an assertion to assert_divisions to check that divisions is a tuple

cc @jsignell would you mind helping out with the docstring for the divisions property?

[ ] Closes #8388
[ ] Tests added / passed
[ ] Passes pre-commit run --all-files

@jsignell yeah I think it should be safe to merge this 🙂


vendor glide and etcd to include as part of the release tar

We tell users they need to install glide, but we could just include it in the binary distribution.

Or better yet, include a simple way to check if they are installed and if not install them from within the apiserver-boot tool


New Method addAdapterItem()

Hi!
I am just adding a feature for the user to change and add the entries in the Adapter of TimePicker.
How can I remove "all" entries in the TimePicker ?
Default are the entries from the XML.
I want to add all entries by myself without the XML because the user modifies the entries and I save it to the preferences.
Afterwards I will add all entries via addAdapterItem() from my saved preferences.
I don't find any way to clear the defaults (XML entries) and add my entries with addAdapterItem().
At the moment I do this:
rdpTime = (TimeSpinner) findViewById(R.id.rdpTime);
ArrayList<TimeItem> items = pref.getSmartTimes();
for(TimeItem item : items) {
	rdpTime.addAdapterItem(item);
}

But I see always only the default ones coming from the XML.

I have now tried it via "insertAdapterItem" and I get no error, but the dropdown is still the default one.
So what do I wrong or how should the "insertAdapterItem" work?
rdpTime = (TimeSpinner) findViewById(R.id.rdpTime);
ArrayList<TimeItem> items = pref.getSmartTimes();
int i = 0;
for(TimeItem item : items) {
     rdpTime.insertAdapterItem(item, i);
     i++;
     //rdpTime.addAdapterItem(item);
}
rdpTime.setOnTimeSelectedListener(this);

1 hour later and I** found the answer** why my own items not displayed.
This is because the method setTimeFormat make a reset of all adapter items and so the items I inserted before are gone.
Now I get the adapter with getAdapter() and call the method clear().
Afterwards I add my items. Works now!
But I think it would be better to start without any items except the "Footer" item.
Now it is like:

Insert 6 items into the adapter
Remove all 6 items from the adapter
Add again my own items to the adapter

:D well good you figured it out on your own. The simplest way to do this would be to subclass the TimeSpinner (if you haven't already) and override the getSpinnerItems method to return an empty list. Or even better, return the desired items you want to load from the shared prefs (I wrote it with exactly this in mind).
You can only nicely do these things in a subclass as terrible things™ could happen if the spinner items aren't initialized correcty.
If you really don't want to subclass you could simply provide an empty xml file and override R.xml.time_items with it, that way the spinner will not contain any items except for the footer until you add them dynamically.
The reason there is no clearAdapterItems() method is exactly that, also it would be trivial to implement as a simple for loop which just calls removeAdapterItem() on each item (and if you know what you're doing you could also just reinitialize the adapter...).

Thanks for your input.
Will subclass the TimeSpinner.

I'll close this then, if you've got any more questions feel free to ask here or open another issue ;)


Possible regression in v19.53?

In the Custom Commands plugin under Other, the ability to use an external command to build the contents of a dropdown selector appears to be broken compared to the previous version. I have a number of custom commands that use external commands to build lists of files or devices to select from, and they all were working until I upgraded my installed theme to 19.53. Now, the dropdowns are empty, and I see no errors anywhere.

Hi,
Thanks for the heads up.
Please provide a screenshot and zip up and attach the content of /etc/webmin/custom for me to be able to test this on my system.

It all looks great for me.

The 3 dropdowns I've circled in red are built via commands, and they are terminated with a "|" character as the in-page help notes. I have 3 other dropdowns in the command list, with their contents manually specified. These are working fine.

This is one of the commands that is supposed to fill a dropdown. ipset list -n | is the exact string in the red circled area.
webmin_help.zip
/etc/webmin/custom/ attached.

I see this happening in old theme too, besides in Webmin 1.941 and 1.942 it's happening as well. When exactly did it break for you? What was the last version when it worked?
None of the selects in your files worked for me. @jcameron Do you know what might be causing it?

Actually, I made more tests and it seems to work just fine if select's text file exists with space separated name value pairs..

I think the previous Webmin version I had was 1.941, and there was a jump upgrade to 1.953. I don't remember seeing a problem until the Authentic theme upgraded to 19.53, but it's possible that the large Webmin version jump broke it.
In all 3 of the dropdowns that aren't working for me, I'm using commands to fill them rather than text files. The 3 that are working are populated from local text files, which I can send you if you want them. They simply have a couple of static directory names in them.

Fixed, thanks for heads up.


Rename integration-tests/blob to integration-tests/storage-blob

Rename integration-tests/blob to integration-tests/srotage-blob so it's consistent with the extension name

s|integration-tests/srotage-blob|integration-tests/storage-blob|


AX_TEXT_01 false positive when <input> element contains a placeholder attr

From the audit:

The explanation of this rule mentions that a placeholder attribute is a valid fix:

<!-- Good: Using placeholder text -->
<input placeholder="Enter your address">

As you can see from the audit output, the element does indeed have a placeholder attribute.

Hey @rnicholus,
Sorry you ran into this one! Placeholders unfortunately won't reliably work as labels, and we'll need to re-word the wiki to correct the error there (the audit is working as expected).
More explanation of placeholders as labels can be found here:

While placeholder text provides important guidance for many users, placeholder text is not a replacement for labels. Assistive technologies, such as screen readers, do not treat placeholder text as labels. Moreover, at the time of writing this tutorial, placeholder text is not broadly supported across assistive technologies and not displayed in older web browsers.

Thanks for bringing this to our attention, and once again my apologies for the confusion here.

Here are the changes to the wiki:
https://github.com/GoogleChrome/accessibility-developer-tools/wiki/Audit-Rules/_compare/671f598ef36098fb1dc91e669caf00b4da0af9ff...b212de272832768d3f88c4058a7238297a81a893


react-vis-network node level positioning

Using React-vis-network version 1.0.0  and below are the options used
Attached screenshot FYR, not able to fix the network node level positioning,
issue in level positioning:
Expected flow:
please help.
`visOptions = {
layout: {
hierarchical: {
enabled: true,
nodeSpacing: 330,
blockShifting: true,
parentCentralization: false,
edgeMinimization: true,
direction: 'UD',
sortMethod: 'directed',
},
},
physics: true,
nodes: {
fixed: {
y: true,
x: true
},
margin:25,
size: 50,
font: {
size: 25,
align: "center",
bold: {
color: "#bbbdc0",
size: 25,
vadjust: 0,
mod: "bold"
}
}
},
physics: {
forceAtlas2Based: {
gravitationalConstant: -50000,
centralGravity: 999,
springLength: 1,
springConstant: 9999,
avoidOverlap: 1
},
solver: 'forceAtlas2Based',
}

This has been fixed in 6.0.2. You'll have to poke the maintainers of react-vis-network to update.

can you please loop me to maintainer of react-vis-network?


Unable to compile. Missing Python executable file?

I have tried compiling this multiple times and regardless of the config I am getting an error. I am running Home Assistant on HassOS with the ESPHome module installed. The OS and all modules are up to date.

I had something similar. I went into the config file added a few lines and reinstalled and it resolved itself. This is probably more an issue for the esphome/esphome repository

I had something similar. I went into the config file added a few lines and reinstalled and it resolved itself. This is probably more an issue for the esphome/esphome repository

Can you tell me what lines you added?

I just added some blank spaces to the adopted yaml file

I tried to add some spaces and the error still persists. Had anyone else run into something like this?

@scottanctil ran into the issue just now, fixed it by removing the .platformio/penv/.espidf-4.4.5/ directory.


[Laghos] Switch ElementRestriction_Mult from Scatter to Gather

The original kernel used a scatter approach, which led to bad memory write pattern. The new approach uses a gather approach, which results in much better memory write patterns. As a result, the performance is improved by ~5.7X for this kernel (measured using 3D 4th order problem on V100)

Tested with Laghos, works great: thank you @pwang234 !


Support OT 2.0 API

Sources tracer.start_active_span to use automatic scope management.  Also relies on MockTracer over the initial DummyTracer.

Changed it to be merged against v1.0.0, where the ongoing changes for a (soon-to-happen) release would happen ;)

Merged, thanks a lot!


rendered_markdown: Convert module to typescript.

Addressed all comments

The changes seem great for a conversion that doesn't make anything worse, but we might want to decide on our policy regarding to what extent we want to blow up vs. silently proceed (as the existing and post-conversion code do) for elements with missing or non-integer data-user-group-id / data-stream-id values?

The changes seem great for a conversion that doesn't make anything worse, but we might want to decide on our policy regarding to what extent we want to blow up vs. silently proceed (as the existing and post-conversion code do) for elements with missing or non-integer data-user-group-id / data-stream-id values?

started a conversation here

Removed a test for empty data-user-group-id, since we're expecting that to not happen

Fixed a comment being in the wrong commit and merged, thanks @evykassirer!


Added abv values to the file src/data/ingredient-data.ts and more

src/data/ingredient-data.ts
Also I have left many commented wikipedia links to the various ingredients for future reference
Modified also
src/locales/it/translation.json
to current Italian

Thank you for the PR! Great job.
I noticed that the comments were backslash and not forward slash. I made a commit fixing it so it should be working.
Lets me know when this is ready to merge 🚀

My fault. What should I do now

No worries! It is fixed.
Have you added abv for all alcoholic ingredients?
If so, I would love to merge this. I'm just dubble checking you are done

Thank you for the list! I will try to add abv values for the rest


css statements order is being mixed up

Illustration:

Not sure why this is the case, it's not alphabetical either and of course this can lead to broken code if you overwrite properties of mixins after the mixin.

ok great, I can't reproduce it anymore. I guess that's... good?

@br4nnigan I believe it works like that because you extend stylelint rules with this rules package: https://github.com/necolas/idiomatic-css#declaration-order - check your configuration or "prettier-stylelint".


images_url, files_url are missing

images_url, files_url are missing

These two configs have been abandoned. base_directory , images_folder_name, files_folder_name are now used to compose them instead.

It's good to see but it's has to configurable because we can use old routes to migration, I'm waiting for the option to migrate to new version


I need button and send text

hi , thanks for code , u r very good man
i need your help , pls tel to me how i can create button and send command with that button with js
sample i try code

\

\   Menu

\

"
pls help me

This is not really the forum for these types of questions. If you wish to modify how this app works, it's understood that you would have some sort of development background and familiarity with HTML5 + Javascript to make those changes.
The events are pretty well labeled in app/client/src/js/index.js.
You probably want your function to do something like:
socket.emit('data',  somedata)
Which would send the contents of the variable somedata to the SSH host.
This is an example function that tells the WebSSH2 server to replay the credentials to the client. This is called with an onClick function to a button that's rendered on the HTML5 front-end.
https://github.com/billchurch/webssh2/blob/42f973b4796f7f50237dc8ce613e477aa89352ca/app/client/src/js/index.js#L180-L186
That's about all the help I can offer for this. Stackoverflow might be a better venue for your question.


Sketch on face + typing in code editor deletes all the code

Description
When I select a face to sketch on and start the sketch mode, I decided to start typing in the code editor while still in sketch mode, if you exit the sketch mode while you have typed stuff in the editor, it will delete everything you have
Recording
https://github.com/KittyCAD/modeling-app/assets/114548659/0f715d2a-aa1d-49c0-bc07-5fc3dff64d0d
Version
v0.22.6 Tauri App
KCL
I had to redo this KCL because it deleted it lol
const sketch001 = startSketchOn('XZ')
  |> startProfileAt([-200, 200], %)
  |> xLine(400, %)
  |> yLine(-400, %)
  |> xLine(-400, %)
  |> lineTo([profileStartX(%), profileStartY(%)], %)
  |> close(%)
const extrude001 = extrude(200, sketch001)

click on the face, do what I did in the video and it should recreate

Thanks, I'm able to replicate, I have a hunch what might be happening here.

This was a very specific situation,
It only happens if you edit directly in the editor BEFORE making any clicks with the line tool
And the code needs to have a syntax error in it.
So it was a good catch in that sense.
#2890 has test to cover this case.


Replace SideShift.ai (Delisted Monero) with MajesticBank

Seems SideShift dropped support for XMR, according to their website and also https://kycnot.me/changelog
Sideshift.ai no longer operates with XMR.
Since there is negative trend in de-listing monero from exchanges and instant-exchanges, it would be useful to have more options available for users to explore and therefore suggesting that we add MajesticBank instead of SideShift
I would maybe put swappers in this order (if you find order relevant)
ChangeNow
MajesticBank
SimpleSwap
Godex

About MajesticBank
Monero focused swap exchange founded 2 years ago
Project initially started and still tends to represent Monero community project, supporting community where it finds required
We are currently in process of transforming instant exchange to p2p exchange (instant swaps will still work) with sepa/swift on-off ramp ( cards from few countries will be also accepted )
We take privacy and security very seriously and act proactive to apply patches and keep customers data safe.
Some references:
Monero sponsor: https://www.getmonero.org/community/sponsorships/
Haveno sponsor: https://haveno.exchange/sponsors/
Two years Monerokon sponsor: https://monerokon.com/
General fund donator, monero contributors regular donator with numerous donation campaigns and support trough the years

Support over live chat wrote me this:
Me:
Hello
Will support for Monero coin be back or it's forever ?
Support:
SideShift.ai - HELP typically replies in a few hours.
Roy_Reynolds profile
There is currently no plans to bring back in the near future
Roy_Reynolds profile
Could still be listed again in the future. Anything is possible
Me:
Thanks for the info
1m ago. Seen

@SamsungGalaxyPlayer could you elaborate on your NACK?

Close in favor of #2184
@MajesticBank - open a pr for just majestic

i think it would be easier to close this. then open another PR to add MajesticBank to merchants for people to discuss. (as per the above comment). more context in this comment/issue: https://github.com/monero-project/monero-site/issues/2247#issuecomment-1962941440


Setting different icons for the nodes

First of all, thank you for the component, fritz-c.
Is there a way to show different icons for parent and child node?

Use a CSS selector that overrides the default styles. To differentiate between the parent and child nodes, you might just use a combination of the class name of the handle and the :nth-child(n) selector, where n is whatever level in the tree you want to target.

What if you want that icon to remain with that particular node no matter where it is placed in the tree? It seems using pseudoclass breaks the React declarative style.

My tree represents 3 different types of objects, and I want to have different handles for each object, any ideas on how that could be achieved?

Check out the generateNodeProps example in the storybook (whose link is in the readme). I use styles on the nodes there, but you could just as easily use CSS classes, assigned based on the depth in the tree.

But I don't want it based on depth, I want it based on some attribute of
the tree node.
On Thu, Oct 5, 2017 at 4:39 AM Fritz<EMAIL_ADDRESS>wrote:

Check out the generateNodeProps example in the storybook (whose link is in
the readme). I use styles on the nodes there, but you could just as easily
use CSS classes, assigned based on the depth in the tree.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/fritz-c/react-sortable-tree/issues/78#issuecomment-334197772,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACggr8oX7GgQW3e5BNrnJzgAdT-yjs-eks5so6acgaJpZM4M0Ase
.

The node data is also available in the generateNodeProps callback’s arguments.

Hm, my lack of knowledge of CSS is letting me down. If I set the classname to "altHandle" in generateNodeProps then I see that classname appear on the row (so it has a class of  "rst__row altHandle"), but I don't get how to get this to propagate to the rst__moveHandle class (I was expecting something the handle to have the class "rst__moveHandle altHandle"
Thanks for your help, the treeview has made a massive difference to my app, it's great to use (but my lack of CSS skills is making the last few bits of customization tricky!)

Try this:
.altHandle .rst__moveHandle {
  background: red;
}

https://www.webpackbin.com/bins/-KvdoiRyc4tTKjaHM7rU

My workaround here:

in treeData, set a className for your node

treeData: [{title:"ICON A", className:"icon-a"}, {title:"ICON B", className:"icon-b"}]

in generateNodeProps, set the className to node base dom

<SortableTree
treeData={this.state.treeData}
onChange={treeData => this.setState({ treeData })}
getNodeKey={getNodeKey}
generateNodeProps={({ node, path }) => {
  return {
	className:  `${node.className}`,
	};
}}
/>

modify it in css

.rst__moveHandle
 {
	background-image : none;
	padding-top : 6px;
	text-align: center;
}
.icon-a> .rst__moveHandle::before {
	content : "\f0e8";
	color : red;
	font : normal normal normal 24px FontAwesome;
}
.icon-b> .rst__moveHandle::before {
	content : "\f0e8";
	color : blue;
	font : normal normal normal 24px FontAwesome;
}

My workaround here:

in treeData, set a className for your node

treeData: [{title:"ICON A", className:"icon-a"}, {title:"ICON B", className:"icon-b"}]

in generateNodeProps, set the className to node base dom

<SortableTree
treeData={this.state.treeData}
onChange={treeData => this.setState({ treeData })}
getNodeKey={getNodeKey}
generateNodeProps={({ node, path }) => {
  return {
	className:  `${node.className}`,
	};
}}
/>

modify it in css

.rst__moveHandle
 {
	background-image : none;
	padding-top : 6px;
	text-align: center;
}
.icon-a> .rst__moveHandle::before {
	content : "\f0e8";
	color : red;
	font : normal normal normal 24px FontAwesome;
}
.icon-b> .rst__moveHandle::before {
	content : "\f0e8";
	color : blue;
	font : normal normal normal 24px FontAwesome;
}

Woah!

The solution by @BadLeo is good enough if you also want the drag and drop feature.
In my case I didn't wanted the drag and drop functionality so came up with this solution instead!
Tree Data
let node = 'fa fa-laptop'
let service = 'fa fa-cogs'
let user = 'fa fa-user-o'

treeData: [
	{
	  title: 'node-A',
	  className: node,
	  children: [
		{
		  title: 'service-P',
		  className: service,
		  children: [
			{
			  title: 'user-X',
			  className: user
			},
			{
			  title: 'user-Y',
			  className: user
			},
			{
			  title: 'user-Z',
			  className: user
			}
		  ]
		}
	  ]
	}
]

SortableTree
<SortableTree
	treeData = { this.state.treeData }
	onChange = { treeData => this.setState({ treeData }) }
	canDrag = { false }
	generateNodeProps = {
	({ node, path }) => ({
		title: ({node.title})
	})
}
/>

CSS
.rst__rowContents {
	padding-left: 0px !important;
}
.fa {
	border: solid #bbb 1px;
	padding: 12px;
	margin-right: 10px;
	background-color: #FAFAFA;
}

@BadLeo HOW can change background color of every node

.divisional_manager .rst__rowContents {
background-color: #20639b;
}
.lead_supervisor .rst__rowContents {
background-color: #3caea3;
}
.rst__rowContents {
min-width: 360px;
}
<SortableTree
treeData = { this.state.treeData }
onChange = { treeData => this.setState({ treeData }) }
canDrag = { false }
generateNodeProps = {
({ node, path }) => ({
title: ({node.title})
})
className="lead_supervisor"
}
/>


Add NANODBC_DEPRECATED macro

Mark and document async_completed as deprecated.
Closes #278

Use of deprecated function, eg. when building with VS2017, will issue warning like so
warning C4996: 'nanodbc::statement::async_complete': was declared deprecated
   note: see declaration of 'nanodbc::statement::async_complete'

Merging despite OSX jobs failing on Travis CI.


Agreement Details Box - Header Relation Fields-tables

[x] Change "Register Payment" to "SetUp Agreement"

[ ] If the table App_Agreement does not contain any agremment or contain ONLY App_Agreement_Status = 4 then create new agreement. ELSE, display message telling "There is alredy an agreemant in place."

[ ] The agreement shown on this box is related to the selected operation. Only active agreements, where the field App_Agreement_Status equals 1, 2 or 3. the status 4 is excluded because is cancelled.

[ ] If there is no agreement for the selected operation, all the values should be $0 and the table should be empty.

On Screen Labels and related fields

[ ] Agreement: It shows the original agreement total amount.

[ ] DownPayment: This are the CONFIRMED downpayment of the agreement. This came from the the App_Transactions_TransAmount on the App_Transactions table, and the selected record should match the following criteria: App_Transactions_OperationID = SELECTED OPERATION, App_Transactions_AgreementID = SELECTED AGREEMENT, App_Transactions_TransactionType=1, App_Transactions_ShareStatus=4, App_Transactions_TransConfirmed=1

[ ] Previous Payments: This are the SUMATORY of CONFIRMED payments of the agreement. This came from the the SUM OF App_Transactions_TransAmount on the App_Transactions table, and the selected record should match the following criteria: App_Transactions_OperationID = SELECTED OPERATION, App_Transactions_AgreementID = SELECTED AGREEMENT, App_Transactions_TransactionType=2, App_Transactions_ShareStatus=4, App_Transactions_TransConfirmed=1, App_Transactions_TransDate=BEFORE THIS MONTH You may use GROUP BY App_Transactions_TransactionType AND App_Transactions_ShareStatus this is your call... im only amking a sugestion.

[ ] Previous Payments: This are the SUMATORY of CONFIRMED payments of the agreement. This came from the the SUM OF App_Transactions_TransAmount on the App_Transactions table, and the selected record should match the following criteria: App_Transactions_OperationID = SELECTED OPERATION, App_Transactions_AgreementID = SELECTED AGREEMENT, App_Transactions_TransactionType=2, App_Transactions_ShareStatus=4, App_Transactions_TransConfirmed=1, App_Transactions_TransDate=THIS MONTH You may use GROUP BY App_Transactions_TransactionType AND App_Transactions_ShareStatus this is your call... im only amking a sugestion.

[ ] Pending: This field is calculated on the fly and looks like it is working fin.

dilip, here we have 2 issues.
The first is that the filters are not applied correctly. Thy should be like this.
WHERE
    App_Transactions_TransactionType = 1
        OR App_Transactions_TransactionType = 2
		AND App_Transactions_ShareStatus != 6

This way, it will only show TransactionType 2 ONLY IF ShareStatus IS NOT = 6
This is very important to don't get lots of useless information. If you want to skip this problem, I already have a View where this is already done and its name is View_AgremTable

The second problem is that the records are getting duplicated, i guess is because the table joins.


Issue with shared libraries on build

Hi,
Using buildDockerImage.sh script, Alpine Linux 3.6.2. Output is:

Starting Oracle Net Listener...Done
Configuring database...grep: /u01/app/oracle/product/11.2.0/xe/config/log/.log: No such file or directory
grep: /u01/app/oracle/product/11.2.0/xe/config/log/.log: No such file or directory
Done
/bin/chmod: cannot access '/u01/app/oracle/diag': No such file or directory
Starting Oracle Database 11g Express Edition instance...Done
Installation completed successfully.
sqlplus: error while loading shared libraries: libnnz11.so: cannot enable executable stack as shared object requires: Permission denied
mv: cannot stat '/u01/app/oracle/product/11.2.0/xe/dbs/spfileXE.ora': No such file or directory
mv: cannot stat '/u01/app/oracle/product/11.2.0/xe/dbs/orapwXE': No such file or directory
#########################
DATABASE IS READY TO USE!
#########################
The following output is now a tail of the alert.log:
tail: cannot open '/u01/app/oracle/diag/rdbms/*/*/trace/alert*.log' for reading: No such file or directory

Starting container with command  docker run --shm-size=1g -p 1521:1521 -p 8080:8080 -v /u01/app/oracle/oradata oracle/database:<IP_ADDRESS>-xe results in failure (the container just exits).
Any hints appreciated.

It looks like that something went wrong during the startup of the container. I notice some strange characters in the output, for example the three forward slashes /// between .../rdbms/ and .../trace/: tail: cannot open '/u01/app/oracle/diag/rdbms///trace/alert*.log' for reading: No such file or directory
The source of the shell script though is: tail -f $ORACLE_BASE/diag/rdbms/*/*/trace/alert*.log &  with two clear *
Can you go inside a new container and check whether the runOracle.sh file is intact?

runOracle.sh looks intact:  tail -f $ORACLE_BASE/diag/rdbms/*/*/trace/alert*.log
Running the command in a shell as root:

bash-4.2# tail -f $ORACLE_BASE/diag/rdbms/*/*/trace/alert*.log
tail: cannot open '/u01/app/oracle/diag/rdbms/*/*/trace/alert*.log' for reading: No such file or directory

The *'s were not showing in original post because I didn't escape them in markdown quote, I just updated it (sorry for that).

Ah ok, then this was a red herring. Are you sure that the build didn't throw any error?

Configuring database...grep: /u01/app/oracle/product/11.2.0/xe/config/log/.log: No such file or directory

This should just go through and and throw now error. I wonder whether something is going wrong during the config or whether the install earlier was already faulty.
Do you have the path /u01/app/oracle/product/11.2.0/xe available within your image? Can you please go ahead and check? Also, are there any files in there. An ls -al would come handy.
If you still have the build output, can you also people include that.

Hi Gerald,
After having tweaked the Dockerfile in order to overcome shared library access being denied to sqlplus, the build & first config went smoothly, with the following exception:

mv: cannot stat '/u01/app/oracle/product/11.2.0/xe/dbs/orapwXE': No such file or directory
#########################
DATABASE IS READY TO USE!
#########################
The following output is now a tail of the alert.log:
Current log# 5 seq# 4 mem# 0: /u01/app/oracle/oradata/XE/redo05.log
ALTER DATABASE DROP LOGFILE GROUP 1

Changes to Dockerfile.xe:

install prelink package (RUN yum command)
RUN execstack -s $ORACLE_HOME/bin/sqlplus

I guess SELinux was making my life difficult.

Hm, on the first creation the startup script will move the password file and others from the $ORACLE_HOME location into the volume (dbconfig/$ORACLE_SID).
It seems that you didn't have a password file to begin with but the $ORACLE_HOME is here at least.
Did the database come up alright?
Did you specify a volume? If so, can you see whether you find that file in /dbconfig/XE/orapwXE

Closing due to lack of response.


added horizon ui tailwind

Name
Link

Resource name here
Resource link here

Resource description here

[ ] My item is in the right category
[ ] My item is logically grouped below similar items
[ ] My item's name and description respects the conventions of the list
[ ] My item is awesome
[ ] My item is in line with the Tailwind brand usage guidelines
[ ] I have read and followed the contribution guidelines

Hey, I don't feel like this belongs to the list, and you didn't put any effort in the PR.


wxBitmapComboBox needs custom dialog for creating bitmpa/text pairs

Description:

While I'm dubious about the value, we really should allow creation of bitmap/text pairs for inserting into a wxBitmapComboBox control. Note that this will require another custom control for the property grid.

This is related to issue #615 with the addition of needing the left column to be a bitmap rather than a text control.

While this was entered earlier, #750 is a duplicate with a somewhat better description.


Adds Cashtoken support

Fixes #121, builds on #119.
Adds Cashtoken support to Bitcash.

[x] Unspent are aware of cashtoken
[x] Cashtoken handling class
[x] Sanitized outputs are aware of cashtokens
[x] wallets are aware of cashtokens
[x] wallets can generate cashtoken tx
[x] wallets can generate cashtokens
[x] cashaddress signals cashtoken support
[x] wallets signal cashtoken support
[x] add test vectors for cashtoken prefix and token aware cashaddress
[x] add cashtoken documentation

@merc1er I realised the CashToken spec has test vectors too, added them as well. Its ready for review.
The final thing left is to update the CASHTOKEN_ACTIVATION_BLOCKHEIGHT to the block after<PHONE_NUMBER> MTP.

This Cashtoken pull request is designed with the assumption that the utxo query from the BitcoinDotComAPI will fetch scriptcodes with attached token prefix.
However, while adding refactoring PATFO check to the BitcoinDotComAPI, I realised the API sends only the locking script for all utxos (which makes sense). This implies that any token prefix attached to individual utxo might be missed.
Therefore, this pull request is dependant on https://devsuite.actorforth.org/ on adding Cashtoken support.

@yashasvi-ranawat: Does the CashToken sections shows for you in the index page of the docs? I tried building locally (cd docs; make html) but I am not seeing anything about tokens.

@yashasvi-ranawat: Does the CashToken sections shows for you in the index page of the docs? I tried building locally (cd docs; make html) but I am not seeing anything about tokens.

Yes. I checked the changelog on this pull request, I do see the doc changes that should add it to the index page.

Also if you don't mind I'll add you to the AUTHORS.md file as a contributor.

For some reason tests won't pass on Python 3.7. That's not much of an issue (Python 3.7 was released over 5 years ago), but could you confirm we no longer support 3.7 with the newest changes?
If so I'll remove it in favor of 3.11, and release version 1.0.0 of BitCash.

Could you please confirm that there no longer is anything not backwards compatible in this PR?

I tested with pre-merge tests, wallet and cashaddress are backwards compatible. The sanitised output format has been changed, so no backwards compatibility in the transactions.py. However, those I think are not directly used by any user, but via wallet.py. The old output (the one user makes, not the sanitised output) format still works.

For some reason tests won't pass on Python 3.7. That's not much of an issue (Python 3.7 was released over 5 years ago), but could you confirm we no longer support 3.7 with the newest changes?

Python 3.7 is already at its end-of-life

@yashasvi-ranawat fantastic work, thanks for all you're doing on this library! Do you have a Twitter account I can follow/highlight?

@bitjson Thanks a lot. My twitter handle: https://twitter.com/yashasviranawat