primordic/IssueDupesLite huggingface dataset:
Repository: argoproj/argo-events

Issue #6: repeatable sensors
Created: 2018-05-17T21:22:21Z
Is your feature request related to a problem? Please describe.
Initially, Argo Events was envisioned so that a sensor would only live for a single cycle. Once its dependencies were met and it executed it's triggers, it completed. However, this is annoying because now you have to keep creating new sensors for every cycle.
Describe the solution you'd like
The ability to create a sensor that lives past a single cycle. This can be a signal that fires every 30min or every business day or every business day after an S3 object arrives between 7am and 9am. We can create this sensor once and forget about it. It should re-instantiate or reset itself so that you don't have to create an entirely new one again that does the same thing.
There are a couple important things to consider for this:

We don't want to over-write sensor history, we MUST keep track of what happened and never delete data.
We still want visibility into an entire history chain of multiple cycles of a sensor (how many times it triggered in the past week)

Describe alternatives you've considered

First alternative is that we don't support cyclical or repeatable sensors.
Second alternative is for some other super process to figure out the total # of completions for a sensor and pass that in the sensor spec.
Remove  the concept of dependency and opt for a FaaS approach. This means that a sensor would then be restricted to at MAX one signal. With this approach, we can get repeatability easily, but we still need a way to store past events which #35 could be an easy solution or explore diff options through #4 .

Duplicate issue #17: Long running sensors
Created: 2018-06-07T23:22:10Z
Is your feature request related to a problem? Please describe.
When a signal resolves, we resolve the state of sensor (consider it contains only one signal). If the sensor is repeatable, we reinitialize the sensor after the trigger is complete. But in case of signals like webhook, we want to keep HTTP server running and want to stop the signal only if it runs past certain predefined time or user/some process stops the signal.
Describe the solution you'd like
Add "type" to signal which specifies whether a signal is resolved when a single event occurs or it lives as long as specified timeout occurs. Timeout will be optional field, as we may want to keep the sensor running.
example-



signals:
  - name: signal1
     mqtt:
        url: tcp://localhost:1883
        type: singular
        topic: hello
    name: signal2




signals:
  - name: signal2
    webhook:
        port: 9000
        endpoint: "/app"
        method: "POST"
        type: continuous
        timeout: 10000s

Closing comment (2018-06-08T18:55:05Z): this seems very similar and/or a duplicate of #6 ?
I like the proposals though
Repository: arnog/mathlive

Issue #2634: Caret symbol is not positioned correctly in upper and lower case letters
Created: 2025-03-19T18:39:30Z
Good afternoon, everyone!
I am using the following formula to be rendered:
A\hat{a}\hat{A}\hat{O}B
I am facing a rendering disparity problem when rendering it in pdf (using the "pdflatex" library) and the mathfield library itself.
I have the following results for the latest version of mathfield and pdf:

Duplicate issue #2647: Bug: Accent typesetting only looks fully correct when highlighting
Created: 2025-03-25T18:57:48Z
Description
Commands for drawing symbols over constants and variables are showing incorrectly when not highlighted.
Steps to reproduce

Go on demo site and paste in \vec{x} or \hat{x}
Examine incorrect typesetting
Highlight and examine correct typesetting

Actual behaviour
Example: Hat (Mac and Windows)
Wrong (not highlighted)

Correct (highlighted)

Example: Vector (Windows only)
Wrong (not highlighted)

Correct (highlighted)

Expected behaviour
Symbols position correctly above variables:

Environment
Demo site on latest version
Note
Versions of this issue has been brought up a few times now, but it still seems to be a problem. These are common symbols to be using and they seem to be off on the demo site. I'll be looking into it, but I'd love some guidance from maintainers as to why highlighting might be changing the typesetting. The slight change when highlighting is consistent across all symbols above variables and constants--even those that don't appear "broken" necessarily.

Closing comment (2025-03-25T19:14:58Z): This is a duplicate of #2634.
I'm not aware of when this issue has been brushed aside, but I'd appreciate if you could point to some examples.
I don't know why this is happening, and this is quite puzzling. I can't think of why the rendering would be different depending on whether the item is selected or not.
Repository: arnog/mathlive

Issue #1996: \left( to math-ml missing >
Created: 2023-05-29T08:04:38Z
Description
math-ml representation of x(x+1)^2 contains <sup> with 3 arguments.
Steps to Reproduce
MathLive.convertLatexToMathMl("\\left(\\right)")
'<mrow><mo(</mo><mo>)</mo></mrow>'

Expected Behavior
<mo>( not <mo(
Environment
MathLive version 0.94.6
Operating System Window 10
Browser Chrome
Probably related:

Duplicate issue #2045: MathML export: missing bracket
Created: 2023-07-03T10:48:23Z
Description
some MathML miss right angle bracket
Steps to Reproduce

Enter \left(a+b\right)^2
export with ...getValue("math-json")  or with mathlive.convertLatexToMathMl(expr);

Actual Behavior
math-ml shows up as  "a+b)²"
this is as a right angle bracket is missing after "<mo":
<msup><mrow><mo(</mo><mrow><mi>a</mi><mo>+</mo><mi>b</mi></mrow><mo>)</mo></mrow><mn>2</mn></msup>
Environment
MathLive 0.94.8
Lunux Ubuntu 20.04.6 LTS
tested with Firefix 112.0.2 and Chrome108.0.5359.98

Closing comment (2023-07-04T18:55:55Z): Duplicate of #1996
Repository: arnog/mathlive

Issue #1565: FEATURE: Editing macros with arguments
Created: 2022-08-05T03:34:57Z
Description
If I have a macro with args (Plus: {args: 2, def: '#1+#2', expand: false}) and I add it to a key of a custom keyboard with placeholders for the args ({latex: '+', insert: '\\Plus{\\placeholder{}}{\\placeholder{}}'}) then if I get the value of the math-field the placeholders are not substituted for the values that the user filled in unless I add expand: true to the macro definition and use mf.getValue('latex-expanded') instead of latex or math-ml. Is this the intended behavior?
With expand: false:

With expand: true:

JSFiddle: https://jsfiddle.net/1rx3huz6/4/
Relevant line is 129.
Actual Behavior
Placeholders are not substituted unless macro is defined with expand: true and one uses .getValue('latex-expanded')
Expected Behavior
Placeholders are substituted in at least some of the other scenarios.
Environment
MathLive version
mathlive: 0.77.0
Operating System [macOS, Windows, iOS. Include the version]
Ubuntu 20.04.4 LTS
Browser [Safari, Chrome, IE, Firefox, etc... Try several browsers and note
if there are differences between browsers. Include the version number of the
browsers.]
Firefox 103.0 (64-bit)
Also tested in jsfiddle on Chrome 103.0.5060.134 (Official Build) (64-bit).

Duplicate issue #2120: edited values in self-defined function are not showing in latex
Created: 2023-08-31T11:04:09Z
Fairly new to mathlive.
I was going about defining new symbol by this guide:
https://cortexjs.io/compute-engine/guides/augmenting/
But I wanted to edit the values in the newly defined function so I went to macros:
https://cortexjs.io/mathlive/guides/macros/

and set captureSelection: true
but that did not work. The logic is inverted so even in the playground. captureSelection: false does work and now I can edit the values in the function.
The problem is that when I edit the values in the function in Mathfield and then read
mfe.value the latex content does not refresh.

after writing current value to console

Is there another property that has the current content?
I tried to listen to input and write to console the value with every change, but the event was triggering and the value was not changing.
macro defined:
funfunction: { captureSelection: false, args: 2, def: 'FunFunction\\left({#1},{#2}\right)', }
function inserted into mathfield by button
mfe.executeCommand(['insert', '\\funfunction{1}{1}'])
mathlive version:
"mathlive": "^0.95.0"

Closing comment (2023-12-08T23:00:43Z): Dupe of #1565
Repository: arnog/mathlive

Issue #179: Bolding and italicizing
Created: 2019-04-24T09:16:41Z
Description
Italic and bold keys on the virtual keyboard do not work as expected. I am not sure if I am adding them properly. I would like to have Bold and Italic buttons, which allow me to wrap SELECTED math/text with \mathbf{} and \mathit{}.
My current solution is
<li class='keycap' data-insert="\\mathit{#?}~">italic</li>
<li class='keycap' data-insert="\\mathbf{#?}~">bold</li>

There are two issues with this:

If I select some text and press italic button, the selected text will be lost, and replaced with \mathit{\placeholder{}}, I would expect selected text to stay instead of \placeholder{} part.

Here is a video of the problem for easier understanding:
http://ul.authoring.profil-klett.hr/mladen/screencast_2019-04-24_11-13-29.mp4

Notice I have ~ at the end of my insert, before adding that part once I would enter italic by pressing the button on the keyboard, all text following would still be in italic, I could not move my cursor outside of \mathit{}

I have found a working example of bold here https://mathlive.io/sprint15/ but I am not sure how to apply this to a virtual keyboard?

Duplicate issue #2402: Characters inserted after a \mathbb{} inherit the blackboard style
Created: 2024-06-19T14:14:37Z
When you write in a mathfield:
\lbrace 2x\mid x\in\mathbb{R} then click enter
and then }
and afterwards you revert to the latex by ESC, you see this:
\lbrace 2x\mid x\in\mathbb{R\rbrace}
What would have been expected is this:
\lbrace 2x\mid x\in\mathbb{R}\rbrace
Upon examining it seems that although one closes the \mathbb{} with a right curly bracket - it includes everything that comes after it inside as an argument for the mathbb.
To wit:

Closing comment (2025-03-03T15:36:40Z): +1 this bug is still in effect. For example, in the demo https://cortexjs.io/mathfield/demo enter \mathbb{E} and notice the parsed LaTeX \mathbb{E}, then enter _D and notice that the LaTeX \mathbb{E_{D}} -- with the subscript inside the formatting bracket.
This seems to only affect superscript and subscript. This seems to affect bold, italic, blackboard, mathrm, etc. all formatting. Pressing escape (twice), right-arrow, tab, etc. doesn't seem to circumvent the issue.
Workaround


For now, I've been doing something similar to #179. Insert a {} or ~ (math mode required to prevent these from being auto-converted), then the LaTeX looks a bit strange but it allows you to achieve your desired result of sub-/super-script outside of the formatting.
E.g. my custom inline shortcut looks like "EE": "\\mathbb{E}{}".


If you press Escape to math mode, then Space _ then Enter the script is placed after the closing formatting bracket, and you can cursor back into the script. Though this interrupts the writing flow significantly.


Fixing
For myself, I would expect bolding to end once sub-/super-script begins. A config flag would also make sense.
This bug present a slightly broader question as to whether there should be a clearer indication as to whether the cursor is currently inside or outside of a hidden bracket pair.
Repository: arnog/mathlive

Issue #1656: FEATURE: deleting a `\right` command should remove the matching `\left`
Created: 2022-10-04T16:24:33Z
It is possible in some scenarios to end up with formulas that appear visually correct, but have mismatched \left...\right commands.
For example: type (w-x DEL, \times10^6, then go back after the x to insert a ).
The resulting formula is:
\left(w-x)\times10^6\right. which is visually identical to
\left(w-x\right)\times10^6 or
(w-x)\times10^6\
Instead, when  explicitly deleting (forward delete or backspace) what visually appears as a \right command (i.e. when at the boundary of a LeftRightAtom), the LeftRightAtom should be demoted and the \left( replaced with a (.

Duplicate issue #1742: Fixing parens manually triggers malformed MathJSON
Created: 2022-12-04T15:54:23Z
Description
(@jefffriesen found this while playing with mentat-collective/MathLive.cljs#11.)
to repro:

type an expression like 1+cos()y
decide you want to pull y into the parens
delete the right paren and retype it to the right of y

The Mathfield eagerly inserts a multiplication dot and parses the input as

Full interaction:

MathJSON:
[
  "Sequence",
  [
    "Add",
    1,
    [
      "Sequence",
      [
        "Cos",
        [
          "Error",
          [
            "ErrorCode",
            "'expected-close-delimiter'",
            "\\right)"
          ],
          ["Latex", "'('"]
        ]
      ],
      [
        "Error",
        ["ErrorCode", "'expected-open-delimiter'", "\\left"],
        ["Latex", "'\\right.'"]
      ],
      "y"
    ]
  ],
  [
    "Error",
    ["ErrorCode", "'expected-open-delimiter'", "("],
    ["Latex", "')'"]
  ]
]

Closing comment (2022-12-05T02:32:05Z): I think that's a duplicate of #1656
Repository: arnog/mathlive

Issue #534: Subscripts do not seem to output MathML correctly
Created: 2020-07-07T18:54:29Z
Description
When entering a subscript into mathlive or mathshare's implementation of mathlive (using something like 2_3 for instance) - the MathML generated in the sr-only span does not include the subscript.
Actual behavior
Resulting MathML only includes the main entry and omits the subscript
Expected Behavior
Resulting MathML should include msub element and content in the appropriate location

Duplicate issue #677: Copy and paste of some expressions with square roots can change them to corrupt the resulting mathml
Created: 2020-10-23T02:28:41Z
Description
Certain expressions with square roots, when copied and pasted, produce a different result than you started with, which reports mathml which is invalid due to having an mroot element with only one child (rather than msqrt with that child).
My guess is the real underlying bug is that \sqrt[]{x} should be translated to msqrt rather than mroot. Note that \sqrt[x]{} is also translated to mroot with one child, so you can't tell which child is missing from the mathml alone.
Steps to Reproduce

Make a new field.
Type y=\sqrt{x} [enter]
2a. The latex reported at this point from the api is y=\sqrt{x}
2b The mathml is <mrow><mi>y</mi><mo>=</mo><msqrt><mi>x</mi></msqrt></mrow>
Type control-a control-c
3a. Paste the result somewhere and verify it is $$y=\sqrt[]{x}$$
Make a new mathfield and paste that result into it.
4a. The latex reported will be y=\sqrt[]{x}
4b. But the mathml is <mrow><mi>y</mi><mo>=</mo><mroot><mi>x</mi></mroot></mrow>, which is invalid.

Note that this does not happen if you type just \sqrt{x} originally instead of y=\sqrt{x}. In that case, the copied text is $$\sqrt[]{x}$$, but the latex after pasting is \sqrt{x} and the mathml <msqrt><mi>x</mi></msqrt>.
Actual Behavior
The mathml of the final result is <mrow><mi>y</mi><mo>=</mo><mroot><mi>x</mi></mroot></mrow>.
Expected Behavior
The final mathml should be <msqrt><mi>x</mi></msqrt>.
Environment
Chrome 85.0.4183.121 on Linux.
Chrome 85.0.4183.121 on Windows 10.

Closing comment (2020-10-24T10:56:54Z): Probably related to #534
Repository: arnog/mathlive

Issue #1446: Empty subscript and superscript serialization
Created: 2022-05-11T14:07:37Z
Description
When an empty subscript or superscript exists the latex returned from the mathfield does not necessarily "match" what I would expect based on what I visually see in the mathfield.
Steps to Reproduce
If I type "x" , "^", "right arrow (to leave the superscript)", "2" as a user I see "x2". But then if I ask the mathfield to give me the latex, it returns "x^2", which if I were to put that back into mathlive, it would render something different than the "x2" I was intending/expecting.

Expected Behavior
I think I would be happy if the exported latex was either
"x2"
or
"x^{\placeholder{box}}2"
Environment
https://cortexjs.io/mathlive/demo/
Chrome, on Mac OSX

Duplicate issue #1448: Empty sub/supscription results in wrong latex
Created: 2022-05-12T14:44:42Z
Description
In a Mathfield, you type x^2 first,  and then you delete the last character 2.
Now if you try to get the value with mf.value, you have x^ in latex,
which causes some error like ! Missing $ inserted when it is converted to pdf.

Closing comment (2022-05-12T15:31:19Z): That's a duplicate of #1446
Repository: ashmind/SharpLab

Issue #874: Inspect.Stack, Inspect.Heap and Inspect.MemoryGraph are broken in the new container runner
Created: 2021-11-05T23:27:26Z

Duplicate issue #920: NullReferenceException on Inspect.Allocations()
Created: 2022-01-12T19:40:59Z
Inspect.Allocations() doesn't work. It throws NullReferenceException even  with empty  #lambda.
Repro:
https://sharplab.io/#v2:EYLgxg9gTgpgtADwGwBYA0AXEUCuA7AHwAEAmABgFgAoUgRmutJQAIBvAXwEoBuaoA==

Closing comment (2022-01-15T10:03:30Z): Duplicate of #874
Repository: ashmind/SharpLab

Issue #72: Adding a couple of branches/tags
Created: 2017-03-16T17:43:13Z
Thanks a lot for TryRoslyn. Many folks on the Roslyn team use it frequently to test out code quickly on different versions.
Now that VS2017 has shipped, the master branch has the common fixes for dev15.3, while feature branches have features that will eventually be merged.
But I was wondering if it might be possible to add a couple of entries to the drop-down:

one for dev15.0 (tag Visual-Studio-2017)
one for VS2017 update 3 (tag Visual-Studio-2015-Update-3)

Cheers,
Julien
PS: the contact page on your blog seems broken. I received a mail delivery failure message.

Duplicate issue #332: Historical release versions of Roslyn
Created: 2018-07-10T16:40:10Z
Ran into a behavior that folks at https://gitter.im/dotnet/csharplang thought was odd, so I wanted to run the same code using Roslyn 2.7 and 2.0 etc.
Would adding a historical section interest you?

Closing comment (2018-07-29T11:06:07Z): Thanks for the suggestion! This is similar to #72 and my reasoning in #72 (comment) still applies. I feel the effort here outweights the gains, however this can be revisited if I ever re-architecture the build.
I'll keep it open for a bit in case I can think of a better solution, but for now it's not on the roadmap.
Repository: ashmind/SharpLab

Issue #648: System.ArgumentException at SharpLab.Server.Decompilation.JitAsmDecompiler.TryDisassembleAndWriteMembersOfGeneric
Created: 2021-06-20T00:08:03Z
AppInsights query:
exceptions
  | where type == 'System.ArgumentException'
  | where method == 'SharpLab.Server.Decompilation.JitAsmDecompiler.TryDisassembleAndWriteMembersOfGeneric'

Duplicate issue #691: System.ArgumentException at SharpLab.Server.Decompilation.JitAsmDecompiler+<>c.<TryDisassembleAndWriteMembersOfGeneric>b__10_1
Created: 2021-07-01T19:09:51Z
AppInsights query:
exceptions
 | where type == 'System.ArgumentException'
 | where method == 'SharpLab.Server.Decompilation.JitAsmDecompiler+<>c.<TryDisassembleAndWriteMembersOfGeneric>b__10_1'

Closing comment (2021-07-03T04:05:04Z): Duplicate of #693, related to #648.
Repository: ashmind/SharpLab

Issue #325: Highlighting is messed up with simple interpolated strings
Created: 2018-07-02T15:08:12Z
The highlighter seems to ignore the $:

https://sharplab.io/#v2:EYLgHgbALANALiAbgUwE4EsBmBPAPgAQGYACfARglICZiBhAWACgBvJ490k8y8gBmICyACgCUbDq0YdppAOzEAJACI4yAM4JizPgDpaAewB2AYwCGcISoAW6NUpjElaq/oCuAGwAm9x8GQ+lAAdUfUC0d2wAmwBzK3d0WNVvEQBfJQBucXYUphzGIA==

Duplicate issue #571: csharp syntax highlighting broken inside of interpolated strings
Created: 2020-10-12T15:56:29Z
using System;
using System.Collections.Generic;
public static class Program {
    public static void Main() {
        Console.WriteLine("normal string");
        Console.WriteLine($"x={new HashSet<string>{{"a"},}.Contains(null)}");
    }
}
https://sharplab.io/#v2:C4LgTgrgdgNAJiA1AHwAICYCMBYAUKgBgAJVMAWAbjwwGYiBvPI5k9dBplr0gTgAoARFAD2YALYBDADYlMBAQEoquLt0z8AJAIAeAXnpQApgHciACQkBnABYBlQ8AA8pAgD569ARIEBfGD4A6AGFhKGAJAEsoSz4oCCkpBR9FZS4fPB8gA==
I expect at least the "a" to be highlighted in the same way that "normal string" is, but it isn’t. Also, the subexpression between { and } is highlighted like a string instead of like normal code.
I am only looking at the symptoms, but it seems like you might be using a syntax highlighting library (CodeMirror?) which doesn’t understand C#. It might be better to use Roslyn’s AST instead if possible. Or switch to whatever GitHub is doing because it seems to be doing better ;-) (the editor preview I see is below).

Closing comment (2020-12-16T07:21:41Z): Thanks for reporting! It is something I aim to fix in next editor version, but it is taking a while due to CodeMirror changes.
This issue is also tracked by #325, so I'll close this one to deduplicate.
Repository: ashmind/SharpLab

Issue #543: For C# 9 (master etc) Appears to be missing System.Runtime.CompilerServices.IsExternalInit
Created: 2020-07-15T20:11:04Z
https://sharplab.io/#gist:5e4b99a37f98fd0588544f4aa7caaf6f
Using the record syntax, get error

error CS0518: Predefined type 'System.Runtime.CompilerServices.IsExternalInit' is not defined or imported

probably issue with any c# 9 feature based on init only properties.

Duplicate issue #575: Positional records are not yet supported
Created: 2020-11-11T20:19:57Z
See https://sharplab.io/#v2:EYLgtghgzgLgpgJwDQBMQGoA+ABATARgFgAobAZgAIE4BjAewRQoAVEo6A7ACm3wAYKAMQCWCWADkIYOEgq8BAGWgxJ0gJQBuIA=
This record type should be valid with C# 9:
using System;
public record Person(string FirstName, string LastName);
The output indicates that the required attribute for a positional record parameter is missing:
error CS0518: Predefined type 'System.Runtime.CompilerServices.IsExternalInit' is not defined or imported
error CS0518: Predefined type 'System.Runtime.CompilerServices.IsExternalInit' is not defined or imported

Closing comment (2020-11-12T14:57:54Z): Also this seems to be a duplicate of #543 :)

Yes, thanks @lomholdt I searched for "positional record" not IsExternalInit. Closing as duplicate. Leaving comments to help others find the issue and workaround in #543
Repository: ashmind/SharpLab

Issue #669: System.FormatException at MirrorSharp.Internal.FastConvert.Utf8BytesToInt32
Created: 2021-06-25T00:06:45Z
AppInsights query:
exceptions
 | where type == 'System.FormatException'
 | where method == 'MirrorSharp.Internal.FastConvert.Utf8BytesToInt32'

Duplicate issue #394: FormatException at CompletionStateHandler
Created: 2019-04-25T03:04:28Z
System.FormatException:
   at MirrorSharp.Internal.FastConvert.Utf8ByteArrayToInt32 (MirrorSharp.Common, Version=0.12.0.0, Culture=neutral, PublicKeyToken=null)
   at MirrorSharp.Internal.Handlers.CompletionStateHandler.ExecuteAsync (MirrorSharp.Common, Version=0.12.0.0, Culture=neutral, PublicKeyToken=null)
   at MirrorSharp.Internal.Connection+<ReceiveAndProcessInternalAsync>d__13.MoveNext (MirrorSharp.Common, Version=0.12.0.0, Culture=neutral, PublicKeyToken=null)
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)
   at MirrorSharp.Internal.Connection+<ReceiveAndProcessAsync>d__12.MoveNext (MirrorSharp.Common, Version=0.12.0.0, Culture=neutral, PublicKeyToken=null)

Closing comment (2021-06-27T07:36:47Z): Duplicate of #669 - since #669 will auto-update, closing this one.
Repository: ashmind/SharpLab

Issue #183: Add support for ILAsm
Created: 2017-09-07T18:42:36Z
It would be great if you could fiddle with raw IL on the left hand side.
Example workflow:

Left (C# Mode): Type some C#
Right (IL Mode): Copy the IL
Left (switch to IL Mode): Paste IL
Right: switch to C# or run mode
Left (IL Mode): Keep hacking to do cool things 😎

Awesome tool btw. 😄

Duplicate issue #342: Entering IL source code
Created: 2018-09-06T01:37:43Z
While trying to investigate a binary breaking change, I wanted the ability to take the IL from the output side, paste it in the input side, remove a conv opcode, and run it to see how sign extension behaves.
Besides Run, other output modes that would make sense are the C# decompiler (fun one for this) and JIT Asm.
This would require an IL parser. Other than that, is there anything to it? These three output modes seem like they already work against compiled IL.

Closing comment (2018-09-06T14:30:04Z): This looks like a duplicate of #183.
Repository: ashmind/SharpLab

Issue #321: Don't pollute browser history
Created: 2018-06-17T16:57:48Z
After I use SharpLab to edit a short program, my Firefox history (with View: By Last Visited) looks like this:

As far as I can tell, those history entries represent every change I made to the program I was editing.
I think this is not useful and that it would be nice if using SharpLab produced less history entries. At the same time, it's great that I can just copy the current URL to share my program.
Maybe there is a way to make this work using JavaScript history API or some other approach?

Duplicate issue #599: Invasive webapp
Created: 2021-03-21T12:20:32Z
While I wite something in the editor the url of the website continues to get updated, and this destroys my history

please fix it placing a buton here

for link generation

Closing comment (2021-03-31T08:58:42Z): Thanks for reporting! This is the same as #321 -- though the suggestion for an explicit button is fair enough.
I might look into optionally disabling it as you suggested, but that would be within #321, so I'll close this one.
Repository: ashmind/SharpLab

Issue #169: Allow showing result as Syntax Tree API code
Created: 2017-08-30T12:20:31Z
As SharpLab already has Syntax Tree result viewing, I presume it would not be hard to implement an option to show the API calls to construct the Syntax Tree, just like RoslynQuoter does. That would make even easier to write analyzers code fixes.

Duplicate issue #230: Mode showing C# to generate the syntax tree
Created: 2018-01-26T13:19:38Z
I'd like to be able to switch from looking at the AST as you currently have it to looking at the C# code using SyntaxFactory to generate it. Even better if I can select a subnode to generate since I'll almost never want to see the generation code for the whole class. This would be a big time-saver.
http://roslynquoter.azurewebsites.net/ does this already, though I prefer to not require the using static. It doesn't have a graphical AST and it doesn't let you generate just a subnode.

Closing comment (2018-04-26T09:24:15Z): Just realized this is a duplicate of #169.
Repository: askmike/gekko

Issue #1171: exchange support - adding exchanges
Created: 2017-10-01T19:03:46Z
Note: for support questions, please join our Discord server


I'm submitting a ...
[ ] bug report
[x ] feature request
[x ] question about the decisions made in the repository


Action taken (what you did)
Noticed lack of exchange support.


Expected result (what you hoped would happen)
made a suggestion in hopes it would make the devs' lives easier and expand the reach of the bot.


Actual result (unexpected outcome)
nothing yet.


Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc)


https://github.com/ccxt-dev/ccxt

Duplicate issue #2253: Use ccxt trading library
Created: 2018-06-22T18:16:02Z
I'm submitting a ...
question about the decisions made in the repository
Why you don't use this library for provide unified exchange api, it's very popular
gitHub: https://github.com/ccxt/ccxt?

Closing comment (2018-06-30T05:24:56Z): dup of #1171.
Repository: askmike/gekko

Issue #431: Backtesting issue on selling ?
Created: 2016-08-24T12:12:40Z
Buying correct amount, but selling 0
2016-08-24 14:07:10 (INFO):     Stochastic confirms the Alligator Uptrend movement -> buy
2016-08-24 14:07:10 (INFO):     Profit simulator got advice to long     @ 2016-08-23 03:22:00, buying 1.11274036 BTC       (1.11274036)
and :
2016-08-24 14:07:10 (INFO):     Stochastic confirms the Alligator DownTrend movement -> sell
2016-08-24 14:07:10 (INFO):     Profit simulator got advice to short    @ 2016-08-23 04:22:00, selling 0 BTC       (652.82214163)

Duplicate issue #442: Backtesting shows Selling 0 (XMR)?
Created: 2016-09-11T13:49:21Z
My idea is simple, I want to simulate how I would start trading XMR with 1 BTC.
It seems to be working, however the profit simulator is always reporting that it sells 0 instead of the amount I would have obtained from the buy orders. Any tips on how I can achieve this?
Profit Simulation config:
config.profitSimulator = {
  enabled: true,
  // report the profit in the currency or the asset?
  reportInCurrency: false,
  // start balance, on what the current balance is compared with
  simulationBalance: {
    // these are in the unit types configured in the watcher.
    asset: 0,
    currency: 1
  },
  // how much fee in % does each trade cost?
  fee: 0.25,
  // how much slippage/spread should Gekko assume per trade?
  slippage: 0.05
}

Log:
The first selling order makes sense (as I would have 0 XMR at the time), but the second sell order should be selling the 50.82 XMR I just bought?
2016-09-11 15:40:10 (INFO):     Profit simulator got advice to short    @ 2016-09-03 22:55:00, selling 0 XMR    (1.01953122)
2016-09-11 15:40:10 (INFO):     Profit simulator got advice to long     @ 2016-09-04 17:40:00, buying 50.82401249 XMR   (50.82401249)
2016-09-11 15:40:10 (INFO):     Profit simulator got advice to short    @ 2016-09-06 09:25:00, selling 0 XMR    (1.09197169)
2016-09-11 15:40:10 (INFO):     Profit simulator got advice to long     @ 2016-09-08 04:10:00, buying 53.10708506 XMR   (53.10708506)
2016-09-11 15:40:10 (INFO):     Profit simulator got advice to short    @ 2016-09-08 10:55:00, selling 0 XMR    (1.02665661)
2016-09-11 15:40:10 (INFO):     Profit simulator got advice to long     @ 2016-09-08 19:10:00, buying 52.03744993 XMR   (52.03744993)
2016-09-11 15:40:10 (INFO):     Profit simulator got advice to short    @ 2016-09-09 22:10:00, selling 0 XMR    (1.0479999)
2016-09-11 15:40:10 (INFO):     Profit simulator got advice to long     @ 2016-09-11 05:40:00, buying 52.79719192 XMR   (52.79719192)
2016-09-11 15:40:10 (INFO):     Profit simulator got advice to short    @ 2016-09-11 07:10:00, selling 0 XMR    (1.03382445)

Closing comment (2016-09-11T15:04:56Z): Duplicate of #431 :)
Repository: askmike/gekko

Issue #81: Maximum price for trading
Created: 2013-12-18T15:43:30Z
Hi. How can I set a maximum price for trade (buy / sell)?

Duplicate issue #145: [FEATURE] Percentage of balance for trading
Created: 2014-01-13T14:58:27Z
Configure trading balances to limit amount used for buy/sells. If you have $1,000 USD in your account, you will only use a set amount of your balance to purchase on a buy order.

Closing comment (2014-01-21T16:28:18Z): dup of #81
Repository: askmike/gekko

Issue #1259: Kraken sell : Order:Insufficient funds
Created: 2017-10-28T16:33:45Z
Note: for support questions, please join our Discord server


I'm submitting a ...
[ X] bug report
[ ] feature request
[ ] question about the decisions made in the repository


Action taken (what you did)
Try to sell, but for some reason, the gateway is in error. The code want to retry, but the order is allready passed. The error is then 'Order:Insufficient funds'.


Expected result (what you hoped would happen)
No error.


Actual result (unexpected outcome)
Loop with retry.


Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc)
I propose to add is method setOrder(...)
if(err) { log.error('unable to ' + tradeType.toLowerCase(), err); if (err.message.startsWith("Order:Insufficient funds")) log.warn("Insufficient funds. Probably order canceled") else return this.retry(this.addOrder, args); }

Duplicate issue #1255: amount is too small at Kraken
Created: 2017-10-28T10:51:08Z
Note: for support questions, please join our Discord server


I'm submitting a ...
[ ] bug report
[ ] feature request
[X] question about the decisions made in the repository


Action taken (what you did)
trading on kraken with XBT <-> EUR


Expected result (what you hoped would happen)
buy or sell


Actual result (unexpected outcome)
ERROR "Wanted to buy XBT but the amount is too small (0.022...) at Kraken"


what is the minimum amount?

Closing comment (2017-10-30T06:13:16Z): closing as a dup of #1259.
Repository: askmike/gekko

Issue #2241: Make this the best Binance bot?
Created: 2018-06-12T13:07:16Z
I've used Binance for a long time now due to their low fees, using Gekko on Binance shows a few differences from the live trading.
At present Gekko does not take advantage of the 50% discount when using BNB to pay fees (0.05% of traded amount) .
This makes a huge difference over a timescale, especially when trading multiple times for small profit.
I've seen this option on bots like Zenbot, but they dont have the timestamp isses fixed like Gekko or the sleek UI and clear backtesting.
The next part is the taker and maker fees are the SAME :)
There is no feature to opt for taker fee, to trade directly at market price.
Instead, the bot places an order at a % difference from the current price and then sits there waiting to be filled.
If an order is not filled the bot places again, at a distance (sometimes more than the bid it replaced) from the live price.
I've spent hours searching and modifying code (this is not the language I write in, it's been difficult) to get the bot to trade at closer amounts or at the market price - I cannot find the option.
So, to make the bot better I heavily suggest:

enabling the use of BNB for trade fees.
enabling the use of the taker fee and trading at market price.
enable setting the markup/markdown amount (%) of the market price when placing a bid.

Any thoughts or suggestions to add? 👍

Duplicate issue #2232: Binance - instant trading
Created: 2018-06-08T13:03:28Z
Hey folks,
Currently searching the code to find my own way of doing this, in the meantime I thought I'd ask how to make Gekko instantly trade using the taker fee.
I'm on Binance, maker and taker fee are the same so it seems counterproductive not to instantly trade (I've seen trades going in at a slight difference to market price and get constantly adjusted up or down as the price moves, never really being filled on time..).
I understand we'd also need to look at the markup / markdown bid compared to the current price.
Has anyone done this yet?

Closing comment (2018-07-04T14:59:39Z): dup of #2241
Repository: askmike/gekko

Issue #2107: Gekko Live Trade Run (success Buy and Sell), But no showing indicator on Gekko UI (v0.5.14 and Gekko UI v0.2.0.)
Created: 2018-04-16T02:55:59Z
Succes order on Poloniex Market, this also happens when i'm using other markets (binance, bittrex)

But....


please help me to fix this Bug!....thanks before

Duplicate issue #2184: Gekko UI doesn't show running trades
Created: 2018-05-17T06:23:49Z
Note: this is the technical bug tracker, please use other platforms for getting support and starting a (non technical) discussion. See the getting help page for details.
I'm submitting a ...
[x ] bug report
[ ] question about the decisions made in the repository
Action taken (what you did)
I've startet neuronal strategy with slim, short trade config using UI. And it's trading (I can see in logs and on Binance). But the UI says 0 trades. Same strategy on another instance of gekko is showing results...
Expected result (what you hoped would happen)
trades are shown in UI
Actual result (unexpected outcome)
0 trades are shown
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc)

Closing comment (2018-05-23T15:47:47Z): duplicate of #2107.
Repository: askmike/gekko

Issue #153: Cannot restart gekko
Created: 2014-01-14T09:53:45Z
Hi Mike,
I was running gekko as normal then used crtl c to stop gekko.  Tried to restart and now get this error.
donttrustem@shulgin:~/mybot/gekko$ node gekko config=config/user/goxema.js
2014-01-14 10:47:07 (INFO):     I'm gonna make you rich, Bud Fox.
2014-01-14 10:47:07 (INFO):     Setting up Gekko in realtime mode
2014-01-14 10:47:07 (INFO):     Setting up:
2014-01-14 10:47:07 (INFO):              Trading Advisor
2014-01-14 10:47:07 (INFO):              Calculate trading advice
2014-01-14 10:47:07 (INFO):              Using the trading method:EMA
2014-01-14 10:47:07 (INFO):     Setting up:
2014-01-14 10:47:07 (INFO):              IRC bot
2014-01-14 10:47:07 (INFO):              IRC module lets you communicate with Gekko on IRC.
2014-01-14 10:47:07 (INFO):     Setting up:
2014-01-14 10:47:07 (INFO):              Profit Simulator
2014-01-14 10:47:07 (INFO):              Paper trader that logs fake profits.
2014-01-14 10:47:08 (INFO):     Starting to watch the market: MtGox BTC/USD
2014-01-14 10:47:08 (DEBUG):    ~market start
2014-01-14 10:47:08 (DEBUG):    checking history
/home/donttrustem/mybot/gekko/node_modules/nedb/lib/datastore.js:60
if (err) { throw err; }
^
[object Object]

Duplicate issue #160: datastore.js does a  "throw err" and just says "Object" 
Created: 2014-01-15T20:13:22Z
from 4eeb9b0 on LocalDB
I cant start gekko how can I do a better debug?

2014-01-15 20:11:00 (INFO):     I'm gonna make you rich, Bud Fox.
2014-01-15 20:11:00 (INFO):     Setting up Gekko in realtime mode
2014-01-15 20:11:00 (INFO):     Setting up:
2014-01-15 20:11:00 (INFO):              Trading Advisor
2014-01-15 20:11:00 (INFO):              Calculate trading advice
2014-01-15 20:11:00 (INFO):              Using the trading method:EMA
2014-01-15 20:11:00 (INFO):     Setting up:
2014-01-15 20:11:00 (INFO):              IRC bot
2014-01-15 20:11:00 (INFO):              IRC module lets you communicate with Gekko on IRC.
2014-01-15 20:11:00 (INFO):     Setting up:
2014-01-15 20:11:00 (INFO):              Mailer
2014-01-15 20:11:00 (INFO):              Mail module lets sends you email yourself everytime Gekko has new advice
2014-01-15 20:11:00 (DEBUG):    Setup email adviser.
2014-01-15 20:11:03 (INFO):     Send advice via email.
2014-01-15 20:11:03 (INFO):     Setting up:
2014-01-15 20:11:03 (INFO):              Profit Simulator
2014-01-15 20:11:03 (INFO):              Paper trader that logs fake profits.
2014-01-15 20:11:03 (INFO):     Starting to watch the market: BTC-e BTC/USD
2014-01-15 20:11:03 (DEBUG):    ~market start
2014-01-15 20:11:03 (DEBUG):    checking history
/home/ncesar/gekko/node_modules/nedb/lib/datastore.js:60
if (err) { throw err; }
^
[object Object]

Closing comment (2014-01-15T23:33:23Z): It's the same as #153 which is caused by a corrupt database. This happens when you run two gekkos on the same market (with the same history path). The only solution for now is to the corrupt day.
I thought I fixed this though it appears I didn't, will take another look.
Repository: askmike/gekko

Issue #2318: "Invalid date" displayed in papertrader roundtrip overview.
Created: 2018-07-16T20:04:11Z
Note: this is the technical bug tracker, please use other platforms for getting support and starting a (non technical) discussion. See the getting help page for details.
I'm submitting a ...
[X ] bug report
[ ] question about the decisions made in the repository
Action taken (what you did)
Using Gekko v0.6.2 and Gekko UI v0.2.2. Let several papertraders run for a couple of days against several assets and exchanges. When the first roundtrip is finished, the roundtrip overview does not display a valid entry- and exit date.
Expected result (what you hoped would happen)
To see a valid entry and exit date in the roundtrip overview of the paper trader.
Actual result (unexpected outcome)
Instead of a valid date, the text "Invalid date" is displayed. The result is (copy pasted):




Entry at (UTC)
Exit at (UTC)
Exposure
Entry balance
Exit balance
P&L
Profit




Invalid date
Invalid date
4 days
798.700
869.156
70.46
8.82%




Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc)
This issue did not appear in version < 0.6.0.

Duplicate issue #2319: Wrong date in trading result table
Created: 2018-07-16T20:27:17Z
Note: this is the technical bug tracker, please use other platforms for getting support and starting a (non technical) discussion. See the getting help page for details.
I'm submitting a ...
[ x] bug report
[ ] question about the decisions made in the repository
Action taken (what you did)
Fetched development today and startet live trading on binance.
Expected result (what you hoped would happen)
right timings in result table (like the on with the 1970 bug last days...)
Actual result (unexpected outcome)
Entry at (UTC)	Exit at (UTC)	Exposure	Entry balance	Exit balance	P&L	Profit
Invalid date	Invalid date	an hour	13.763	13.682	0.08	-0.59%
so something is wrong with the date...
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc)

Closing comment (2018-07-17T03:14:51Z): dup of #2318.
Repository: assaf/vanity

Issue #181: Wondering if conversions are (intentionally) double-counting
Created: 2014-01-22T20:45:31Z
Have a live experiment (in development) that converts on page load.  After I refresh the page, I see the following data in vanity_conversions.

select * from vanity_conversions;




id
vanity_experiment_id
alternative
conversions




21
2
0
2



I expect conversions to equal 1.  When I look in the logs, I see two UPDATE statements, which seems counterintuitive:
 (0.9ms)  UPDATE "vanity_conversions" SET "conversions" = 1 WHERE "vanity_conversions"."id" = 21
...
 (0.9ms)  UPDATE "vanity_conversions" SET "conversions" = 2 WHERE "vanity_conversions"."id" = 21

Wondering if that's being seen by others.

Duplicate issue #232: experiments get saved twice at load which doubles the # of hooks their metrics have
Created: 2014-09-09T15:06:12Z
I was trying to figure out why my db always showed an even # of conversions and each actual conversion incremented conversions in vanity_conversions by 2.
It seems that experiment.save is not idempotent and it is called twice for each experiment on load:
https://github.com/assaf/vanity/blob/master/lib/vanity/playground.rb#L88
https://github.com/assaf/vanity/blob/master/lib/vanity/experiment/definition.rb#L21

Closing comment (2014-09-28T18:15:09Z): @aaronjensen I misunderstood the original bug and was looking in the wrong place. I understand and am able to reproduce now. This seems related to #181.
What helped me understand was doing DB queries before/after a conversion, e.g.
>  /* before conversion */ select * from vanity_conversions;
id          vanity_experiment_id  alternative  conversions
----------  --------------------  -----------  -----------
1           1                     1            6          
2           2                     1            12         
3           1                     0            2          
4           2                     0            2          
5           2                     2            10         
> /* after conversion */ select * from vanity_conversions;
id          vanity_experiment_id  alternative  conversions
----------  --------------------  -----------  -----------
1           1                     1            8          
2           2                     1            12         
3           1                     0            2          
4           2                     0            2          
5           2                     2            18   

I've pushed a branch #234 which fixes this, I just need to add another spec and I'll merge it. Thanks for your patience.
Repository: assaf/vanity

Issue #200: Reset experiments
Created: 2014-04-20T16:18:01Z
See point 2 in #121:

Tests can be "reset", which removes participant/conversion data (same as destroy) but also re-initializes the experiment (setting its created_at again). The dashboard shows a "reset" button for each experiment.

Duplicate issue #329: Dashboard missing translation
Created: 2017-08-05T07:16:39Z
Just wondering, do we need to manually input the translation or this is an error?

Closing comment (2017-08-08T17:09:33Z): @pawlarius I'm not sure I follow, but that seems like a separate question. Perhaps related to #200?
Repository: assaf/vanity

Issue #99: Depend on bundler at runtime is flawed
Created: 2012-03-27T14:20:26Z
Hello,
I've tried to use Vanity 1.8.0 or 1.7.1 and suffered issues due vanity depending on gems that are not marked as dependencies of the vanity gem, causing failures like this:
Version 1.7.1

$ vanity report --output vanity.html
Could not find gem 'jekyll (>= 0) ruby' in the gems available on this machine.
Run `bundle install` to install missing gems.


Version 1.8.0

$ vanity report --output vanity.html
fatal: Not a git repository (or any parent up to mount parent )
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: Not a git repository (or any parent up to mount parent )
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: Not a git repository (or any parent up to mount parent )
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: Not a git repository (or any parent up to mount parent )
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: Not a git repository (or any parent up to mount parent )
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: Not a git repository (or any parent up to mount parent )
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Could not find rake-0.9.2.2 in any of the sources
Run `bundle install` to install missing gems.

The issue seems to come from this:
https://github.com/assaf/vanity/blob/master/bin/vanity
Your script depending on Bundler, attempting to install dependencies in development mode, which is affecting the Gemfile of the Rails project.
I believe that Vanity should be explicit about it's dependencies in the gemspec, and those should be required by your scripts, not by using Bundler.
This affects bundle exec and any invoke of vanity from the command line, as shown above (this happens with 1.7.1 or 1.8.0)
Even worse on 1.8.0, which depends on rake 0.9.2.2 which contradicts my current application dependencies.
Please change bin/vanity script be a simple script that perform the CLI part of Vanity and don't attempt to load Bundler/RubyGems or anything from the Gemfile.lock that will affect other application running.
Thank you ❤️

Duplicate issue #105: vanity --help => vanity:19: stack level too deep (rails 3.2.2, ruby 1.9.3, vanity 1.8.0)
Created: 2012-04-03T04:31:15Z
$ ruby -v
ruby 1.9.3p125 (2012-02-16 revision 34643) [x86_64-darwin11.3.0]

$ bundle list
...
  * rails (3.2.2)
...
  * vanity (1.8.0)

$ bundle exec vanity --help
/Users/drnic/.rvm/gems/ruby-1.9.3-p125/bin/vanity:19: stack level too deep (SystemStackError)

Closing comment (2013-09-28T19:02:01Z): This might be related to #99?