fix(stack): Stack creator intent might be an array

@ZaymonFC maybe rebase so this only includes your commit

@ZaymonFC maybe rebase so this only includes your commit

huh... I don't love that stack needs to inspect all these things...
looking at all the plugins, all of the stack creators are just a single intent anyways some are just wrapped in []. I'd propose just removing the [] from all of those as a solution to this until we can remove stack creators altogether?

huh... I don't love that stack needs to inspect all these things...
looking at all the plugins, all of the stack creators are just a single intent anyways some are just wrapped in []. I'd propose just removing the [] from all of those as a solution to this until we can remove stack creators altogether?

That might be a better idea!


Typo in Highlight links in arc diagram

In the code section in page https://www.d3-graph-gallery.com/graph/arc_highlight.html, I think there is a typo:
// Add the highlighting functionality     nodes       .on('mouseover', function (d) {         // Highlight the nodes: every node is green except of him         nodes.style('fill', "#B8B8B8")         d3.select(this).style('fill', '#69b3b2')
It should be every node is grey except of him since the highlighted node is in green while the other nodes are in grey.

Hmm, I still see this error even though the PR has been merged 🤔

Interesting... My merge request changed the comment in arc.html. It appears that there are 2 other HTML files with the same comment: arc_highlight.html, and arc_template.html.
I'm not sure how these files relate to each other but perhaps the comments should be changed in those 2 as well?


Load plugin logic within action so filters actually can be triggered

Hi @jacobbednarz
As in #345 discussed here's the PR for the hook issue. It actually was way easier than I thought ;-)
Would be nice if you could double-check if everything is still working file and the API calls are actually made.
Thanks and Cheers
Marc

@sejoker could you please also take a peak? I'll get this running locally to confirm as well.

after improving the dev experience in #413, i've been running this locally and hitting an exception for all interactions that make a HTTP call.

CSRF Token not found. It's possible another plugin is altering requests sent by the Cloudflare plugin.

the exception is being raised from https://github.com/cloudflare/Cloudflare-WordPress/blob/b12a70697c167a10d7bedb93a16c1c9cb16913c4/src/WordPress/Proxy.php#L67 if you like to dig into it further.

closing this off due to becoming stale.
if someone would like to revive this, please open a fresh PR off the latest master branch and i'll take a look.


Fix ui5 sidenavigation2

Description
Changes proposed in this pull request:

...
...
...

Related issue(s)

/test pull-busola-integration-namespace-k3d


Use nimble dump to find the lib path

Background: https://forum.nim-lang.org/t/9895
The way getNimLibPath was implemented (by me) worked for choosenim installs (windows or linux) or "native" nim installs on windows, but failed for "native" package manager installs of Nim on Linux, because nim is usually in /usr/bin while nimbase.h gets placed in /usr/lib/nim.
This PR implements elcritch's idea of using nim dump instead. I added some extra checks for robustness (check that what we're returning is actually a directory and that it contains a file named nimbase.h).

Bump the nimble version please.


False positive, type mapping mismatch: database can contain string but property expects int

SQL bigint is incorrectly recognized as string. This code, which uses bigint for a column:
#[ORM\Column(name: "id", type: "bigint")]
private int $id;

produces the following false positive:
Property (class)::$id type mapping mismatch: database can contain string but property expects int.

This is Symfony and Doctrine, by the way. Latest available versions of both, and phpstan.

This is correct. Doctrine maps bigint into string. Check out the documentation.


Follow HTTP redirects (or not) per request

I know this isn't a support forum, and I did unsuccessfully ask this on StackOverflow; I'm posting here because I'm wondering if this is a small oversight.
I'm trying to configure Alamofire to follow redirects (or not) on a per-request basis.
Alamofire has a private internal class SessionDelegate which serves as the NSURLSessionTaskDelegate for the current URL session. SessionDelegate does implement the relevant delegate method, URLSession(session:, task:, willPerformHTTPRedirection response:, request:, completionHandler:) which is exactly what I want. Even better, the delegate's implementation consults a custom variable closure named taskWillPerformHTTPRedirection to determine how to handle the redirect - again, exactly what I want! And as far as I can tell, that closure is always nil by default -- it is not assigned to internally by Alamofire -- which suggests that it is intended to let the user assign a closure to it.
I cannot access the SessionDelegate class to assign a closure to its taskWillPerformHTTPRedirection variable. It is a private class and it is not visible to my Swift files. What is the proper means of configuring an Alamofire request to (not) follow redirects?

+1

This is resolved by #317 and #424.


(partial) fix: add exponential backoff for rate limit errors

This is a very hacky fix, but this PR adds exponential backoff logic for call_llm whenever there is a RateLimitError. It does it until the operation fully completes. It does not address #46, but at least it makes docetl usable...

oh gosh we do not need the vercel deployment. will remove.


ERROR TypeError: "value.replace is not a function"

+1, same issue

https://github.com/kadoshms/ionic2-autocomplete/issues/168#issuecomment-468690027

replace() is a JavaScript function for strings. If the function does not exist then value is not a string. Looking into BoldPrefix it seems that you are not passing a string for the label. Make sure your labelAttribute or the getLabelAttribute are returning strings.


Not works with v49700

Hi,
Since migrating to v49700 the plugin no longer appears in the list of plugins available in domoticz.
I asked for help on the forum without result
Thanks in advance

Here is not the right place as this most likely is a domoticz issue (the plugin did not change). Did you try the usual remedies that can solve domoticz upgrade issues : clear browser cache and app cache, check if certain compressed js files from earlier versions still exist in domoticz/www folder (see forum for help with that), etc.... last resort, try also incognito mode on your browser... if nothing of that works, you will need to check domoticz logs


IotDataPlane Customizations

disable endpoint default resolving
remove endpoint entry for data.iot

Ask Russell: https://github.com/awslabs/smithy-rs/issues/123
internal id: 176559077

Completed via Endpoints 2.0


Improve the app UI presentation

We need to keep the elements:
The title, the 2 buttons, and the 2 results and make them less ugly

https://github.com/obs-nebula/desktop-electron/commit/59cd251854246a7a54173c9b5ffc6e6d181221e8


Import completion appends extra character

When auto-completing an import statement I find an extra seemingly random character is appended to the end of the import, ie selecting foo.bar#Baz as my completion insets foo.bar#Bazj.  I am using version 0.4.0 with the Helix editor.

Is it reproducible? A way for me to reproduce it would be best, but if not, does it happen consistently and with the same character?

I'm able to reproduce it with the following minimal example:
$version: "2"
namespace example.weather

resource City {
    identifiers: { cityId: String }
}

If I delete the String and then re-type it using auto-completion it consistently completes as Stringr
To reproduce for yourself obviously you'll need Helix as well as Coursier installed, with that in place helix should auto-install the lsp.

Helix debug log:
2024-11-12T21:15:39.202 helix_lsp::transport [INFO] cs -> {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"range":{"end":{"character":33,"line":4},"start":{"character":27,"line":4}},"text":""}],"textDocument":{"uri":"file:///home/keir/Code/smithy-test/test.smithy","version":3}}}
2024-11-12T21:15:39.203 helix_view::document [DEBUG] id 2 modified - last saved: 2, current: 2
2024-11-12T21:15:39.208 helix_lsp::transport [INFO] cs <- {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri":"file:///home/keir/Code/smithy-test/test.smithy","diagnostics":[{"range":{"start":{"line":4,"character":28},"end":{"line":4,"character":29}},"severity":1,"source":"Smithy","message":"Model: Syntax error at line 5, column 29: Expected one of STRING(\u0027\"\u0027), TEXT_BLOCK(\u0027\"\"\"\u0027), NUMBER, IDENTIFIER, LBRACE(\u0027{\u0027), LBRACKET(\u0027[\u0027); but found RBRACE(\u0027}\u0027)"},{"range":{"start":{"line":0,"character":0},"end":{"line":0,"character":13}},"severity":2,"code":"detached-file","source":"smithy-language-server","message":"This file isn\u0027t attached to a project"}]}}
2024-11-12T21:15:39.208 helix_term::application [DEBUG] received editor event: LanguageServerMessage((LanguageServerId(1v1), Notification(Notification { jsonrpc: Some(V2), method: "textDocument/publishDiagnostics", params: Map({"diagnostics": Array [Object {"message": String("Model: Syntax error at line 5, column 29: Expected one of STRING('\"'), TEXT_BLOCK('\"\"\"'), NUMBER, IDENTIFIER, LBRACE('{'), LBRACKET('['); but found RBRACE('}')"), "range": Object {"end": Object {"character": Number(29), "line": Number(4)}, "start": Object {"character": Number(28), "line": Number(4)}}, "severity": Number(1), "source": String("Smithy")}, Object {"code": String("detached-file"), "message": String("This file isn't attached to a project"), "range": Object {"end": Object {"character": Number(13), "line": Number(0)}, "start": Object {"character": Number(0), "line": Number(0)}}, "severity": Number(2), "source": String("smithy-language-server")}], "uri": String("file:///home/keir/Code/smithy-test/test.smithy")}) })))
2024-11-12T21:15:39.242 helix_term::application [DEBUG] received editor event: Redraw
2024-11-12T21:15:39.243 helix_view::document [DEBUG] id 2 modified - last saved: 2, current: 2
2024-11-12T21:15:39.274 helix_view::document [DEBUG] id 2 modified - last saved: 2, current: 2
2024-11-12T21:15:39.308 helix_term::application [DEBUG] received editor event: IdleTimer
2024-11-12T21:15:40.110 helix_core::auto_pairs [TRACE] autopairs hook selection: Selection {
    ranges: [
        Range {
            anchor: 84,
            head: 85,
            old_visual_position: None,
        },
    ],
    primary_index: 0,
}
2024-11-12T21:15:40.111 helix_lsp::transport [INFO] cs -> {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"range":{"end":{"character":27,"line":4},"start":{"character":27,"line":4}},"text":"S"}],"textDocument":{"uri":"file:///home/keir/Code/smithy-test/test.smithy","version":4}}}
2024-11-12T21:15:40.111 helix_view::document [DEBUG] id 2 modified - last saved: 2, current: 2
2024-11-12T21:15:40.118 helix_lsp::transport [INFO] cs <- {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri":"file:///home/keir/Code/smithy-test/test.smithy","diagnostics":[{"range":{"start":{"line":4,"character":27},"end":{"line":4,"character":28}},"severity":1,"source":"Smithy","message":"SyntacticShapeIdTarget: Syntactic shape ID `S` does not resolve to a valid shape ID: `example.weather#S`. Did you mean to quote this string? Are you missing a model file?"},{"range":{"start":{"line":0,"character":0},"end":{"line":0,"character":13}},"severity":2,"code":"detached-file","source":"smithy-language-server","message":"This file isn\u0027t attached to a project"}]}}
2024-11-12T21:15:40.118 helix_term::application [DEBUG] received editor event: LanguageServerMessage((LanguageServerId(1v1), Notification(Notification { jsonrpc: Some(V2), method: "textDocument/publishDiagnostics", params: Map({"diagnostics": Array [Object {"message": String("SyntacticShapeIdTarget: Syntactic shape ID `S` does not resolve to a valid shape ID: `example.weather#S`. Did you mean to quote this string? Are you missing a model file?"), "range": Object {"end": Object {"character": Number(28), "line": Number(4)}, "start": Object {"character": Number(27), "line": Number(4)}}, "severity": Number(1), "source": String("Smithy")}, Object {"code": String("detached-file"), "message": String("This file isn't attached to a project"), "range": Object {"end": Object {"character": Number(13), "line": Number(0)}, "start": Object {"character": Number(0), "line": Number(0)}}, "severity": Number(2), "source": String("smithy-language-server")}], "uri": String("file:///home/keir/Code/smithy-test/test.smithy")}) })))
2024-11-12T21:15:40.153 helix_term::application [DEBUG] received editor event: Redraw
2024-11-12T21:15:40.153 helix_view::document [DEBUG] id 2 modified - last saved: 2, current: 2
2024-11-12T21:15:40.233 helix_view::document [DEBUG] id 2 modified - last saved: 2, current: 2
2024-11-12T21:15:40.362 helix_term::application [DEBUG] received editor event: IdleTimer
2024-11-12T21:15:40.555 helix_core::auto_pairs [TRACE] autopairs hook selection: Selection {
    ranges: [
        Range {
            anchor: 85,
            head: 86,
            old_visual_position: None,
        },
    ],
    primary_index: 0,
}
2024-11-12T21:15:40.555 helix_lsp::transport [INFO] cs -> {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"range":{"end":{"character":28,"line":4},"start":{"character":28,"line":4}},"text":"t"}],"textDocument":{"uri":"file:///home/keir/Code/smithy-test/test.smithy","version":5}}}
2024-11-12T21:15:40.556 helix_view::document [DEBUG] id 2 modified - last saved: 2, current: 2
2024-11-12T21:15:40.562 helix_lsp::transport [INFO] cs <- {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri":"file:///home/keir/Code/smithy-test/test.smithy","diagnostics":[{"range":{"start":{"line":4,"character":27},"end":{"line":4,"character":29}},"severity":1,"source":"Smithy","message":"SyntacticShapeIdTarget: Syntactic shape ID `St` does not resolve to a valid shape ID: `example.weather#St`. Did you mean to quote this string? Are you missing a model file?"},{"range":{"start":{"line":0,"character":0},"end":{"line":0,"character":13}},"severity":2,"code":"detached-file","source":"smithy-language-server","message":"This file isn\u0027t attached to a project"}]}}
2024-11-12T21:15:40.562 helix_term::application [DEBUG] received editor event: LanguageServerMessage((LanguageServerId(1v1), Notification(Notification { jsonrpc: Some(V2), method: "textDocument/publishDiagnostics", params: Map({"diagnostics": Array [Object {"message": String("SyntacticShapeIdTarget: Syntactic shape ID `St` does not resolve to a valid shape ID: `example.weather#St`. Did you mean to quote this string? Are you missing a model file?"), "range": Object {"end": Object {"character": Number(29), "line": Number(4)}, "start": Object {"character": Number(27), "line": Number(4)}}, "severity": Number(1), "source": String("Smithy")}, Object {"code": String("detached-file"), "message": String("This file isn't attached to a project"), "range": Object {"end": Object {"character": Number(13), "line": Number(0)}, "start": Object {"character": Number(0), "line": Number(0)}}, "severity": Number(2), "source": String("smithy-language-server")}], "uri": String("file:///home/keir/Code/smithy-test/test.smithy")}) })))
2024-11-12T21:15:40.597 helix_term::application [DEBUG] received editor event: Redraw
2024-11-12T21:15:40.597 helix_view::document [DEBUG] id 2 modified - last saved: 2, current: 2
2024-11-12T21:15:40.677 helix_view::document [DEBUG] id 2 modified - last saved: 2, current: 2
2024-11-12T21:15:40.696 helix_core::auto_pairs [TRACE] autopairs hook selection: Selection {
    ranges: [
        Range {
            anchor: 86,
            head: 87,
            old_visual_position: None,
        },
    ],
    primary_index: 0,
}
2024-11-12T21:15:40.697 helix_lsp::transport [INFO] cs -> {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"range":{"end":{"character":29,"line":4},"start":{"character":29,"line":4}},"text":"r"}],"textDocument":{"uri":"file:///home/keir/Code/smithy-test/test.smithy","version":6}}}
2024-11-12T21:15:40.697 helix_view::document [DEBUG] id 2 modified - last saved: 2, current: 2
2024-11-12T21:15:40.703 helix_lsp::transport [INFO] cs <- {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri":"file:///home/keir/Code/smithy-test/test.smithy","diagnostics":[{"range":{"start":{"line":4,"character":27},"end":{"line":4,"character":30}},"severity":1,"source":"Smithy","message":"SyntacticShapeIdTarget: Syntactic shape ID `Str` does not resolve to a valid shape ID: `example.weather#Str`. Did you mean to quote this string? Are you missing a model file?"},{"range":{"start":{"line":0,"character":0},"end":{"line":0,"character":13}},"severity":2,"code":"detached-file","source":"smithy-language-server","message":"This file isn\u0027t attached to a project"}]}}
2024-11-12T21:15:40.703 helix_term::application [DEBUG] received editor event: LanguageServerMessage((LanguageServerId(1v1), Notification(Notification { jsonrpc: Some(V2), method: "textDocument/publishDiagnostics", params: Map({"diagnostics": Array [Object {"message": String("SyntacticShapeIdTarget: Syntactic shape ID `Str` does not resolve to a valid shape ID: `example.weather#Str`. Did you mean to quote this string?  Did you mean to quote this string? Are you missing a model file?"},{"range":{"start":{"line":0,"character":0},"end":{"line":0,"character":13}},"severity":2,"code":"detached-file","source":"smithy-language-server","message":"This file isn\u0027t attached to a project"}]}}
2024-11-12T21:15:44.737 helix_term::application [DEBUG] received editor event: LanguageServerMessage((LanguageServerId(1v1), Notification(Notification { jsonrpc: Some(V2), method: "textDocument/publishDiagnostics", params: Map({"diagnostics": Array [Object {"message": String("SyntacticShapeIdTarget: Syntactic shape ID `Stringr` does not resolve to a valid shape ID: `example.weather#Stringr`. Did you mean to quote this string? Are you missing a model file?"), "range": Object {"end": Object {"character": Number(34), "line": Number(4)}, "start": Object {"character": Number(27), "line": Number(4)}}, "severity": Number(1), "source": String("Smithy")}, Object {"code": String("detached-file"), "message": String("This file isn't attached to a project"), "range": Object {"end": Object {"character": Number(13), "line": Number(0)}, "start": Object {"character": Number(0), "line": Number(0)}}, "severity": Number(2), "source": String("smithy-language-server")}], "uri": String("file:///home/keir/Code/smithy-test/test.smithy")}) })))
2024-11-12T21:15:44.771 helix_term::application [DEBUG] received editor event: Redraw
2024-11-12T21:15:44.772 helix_view::document [DEBUG] id 2 modified - last saved: 2, current: 4
2024-11-12T21:15:44.981 helix_term::application [DEBUG] received editor event: IdleTimer
2024-11-12T21:15:46.575 helix_view::document [DEBUG] id 2 modified - last saved: 2, current: 4
2024-11-12T21:15:46.749 helix_view::document [DEBUG] id 2 modified - last saved: 2, current: 4
2024-11-12T21:15:46.825 helix_term::application [DEBUG] received editor event: IdleTimer
2024-11-12T21:15:46.894 helix_view::document [DEBUG] submitting save of doc 'Some("/home/keir/Code/smithy-test/test.smithy")'
2024-11-12T21:15:46.895 helix_view::document [DEBUG] id 2 modified - last saved: 2, current: 4
2024-11-12T21:15:46.904 helix_term::application [DEBUG] received editor event: DocumentSaved(Ok(DocumentSavedEvent { revision: 4, doc_id: DocumentId(2), path: "/home/keir/Code/smithy-test/test.smithy", text: ["$version: \"2\"\nnamespace example.weather\n\nresource City {\n    identifiers: { cityId: Stringr }\n}\n\n"] }))
2024-11-12T21:15:46.904 helix_term::application [DEBUG] document Some("/home/keir/Code/smithy-test/test.smithy") saved with revision 4
2024-11-12T21:15:46.904 helix_view::document [DEBUG] doc 2 revision updated 2 -> 4
2024-11-12T21:15:46.904 helix_view::editor [DEBUG] editor status: 'test.smithy' written, 8L 97B
2024-11-12T21:15:46.904 helix_lsp::transport [INFO] cs -> {"jsonrpc":"2.0","method":"textDocument/didSave","params":{"textDocument":{"uri":"file:///home/keir/Code/smithy-test/test.smithy"}}}
2024-11-12T21:15:46.904 helix_lsp::file_event [DEBUG] Received file event for "/home/keir/Code/smithy-test/test.smithy"
2024-11-12T21:15:46.905 helix_view::document [DEBUG] id 2 modified - last saved: 4, current: 4
2024-11-12T21:15:46.913 helix_lsp::transport [INFO] cs <- {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri":"file:///home/keir/Code/smithy-test/test.smithy","diagnostics":[{"range":{"start":{"line":4,"character":27},"end":{"line":4,"character":34}},"severity":1,"source":"Smithy","message":"SyntacticShapeIdTarget: Syntactic shape ID `Stringr` does not resolve to a valid shape ID: `example.weather#Stringr`. Did you mean to quote this string? Are you missing a model file?"},{"range":{"start":{"line":3,"character":0},"end":{"line":3,"character":8}},"severity":1,"source":"Smithy","message":"Target.UnresolvedShape: resource shape has an `identifier` relationship to an unresolved shape `example.weather#Stringr`"},{"range":{"start":{"line":0,"character":0},"end":{"line":0,"character":13}},"severity":2,"code":"detached-file","source":"smithy-language-server","message":"This file isn\u0027t attached to a project"}]}}
2024-11-12T21:15:46.913 helix_term::application [DEBUG] received editor event: LanguageServerMessage((LanguageServerId(1v1), Notification(Notification { jsonrpc: Some(V2), method: "textDocument/publishDiagnostics", params: Map({"diagnostics": Array [Object {"message": String("SyntacticShapeIdTarget: Syntactic shape ID `Stringr` does not resolve to a valid shape ID: `example.weather#Stringr`. Did you mean to quote this string? Are you missing a model file?"), "range": Object {"end": Object {"character": Number(34), "line": Number(4)}, "start": Object {"character": Number(27), "line": Number(4)}}, "severity": Number(1), "source": String("Smithy")}, Object {"message": String("Target.UnresolvedShape: resource shape has an `identifier` relationship to an unresolved shape `example.weather#Stringr`"), "range": Object {"end": Object {"character": Number(8), "line": Number(3)}, "start": Object {"character": Number(0), "line": Number(3)}}, "severity": Number(1), "source": String("Smithy")}, Object {"code": String("detached-file"), "message": String("This file isn't attached to a project"), "range": Object {"end": Object {"character": Number(13), "line": Number(0)}, "start": Object {"character": Number(0), "line": Number(0)}}, "severity": Number(2), "source": String("smithy-language-server")}], "uri": String("file:///home/keir/Code/smithy-test/test.smithy")}) })))


[rewrite] reused vnodes lead to infinite recursion

Description:
An infinite recursion occurs if a single vnode is used below multiple component instances (and therefore copied multiple times:

after the first processing of the parent component, the dom-attribute is defined with its dom element on the "identicalChild" vnode.
During the second processing of the vnode, the copy method recurses through the vnode structure which contains a reference to an HTMLElement (which has circular references).

Steps to Reproduce:
    let identicalChild = m("span.icon", "huhuu")
    class TestComponent {
        constructor(child) {
            this.child = child
            this.view = () => m("div", this.child)
        }
    }
    // after the first processing of component, the dom-attribute is defined with its dom
    // element on the "identicalChild" vnode. During the second processing of the vnode,
    // the copy method recurses through the vnode structure which contains a
    // reference to an HTMLElement (which has circular references).

    let component = new TestComponent(identicalChild)

    m.mount(document.body, {
        view: function () {
            return m("div", {
            }, [m(component), m(component)])
        }
    })

Expected:
An infinite recursion shouldn't occur when reusing vnodes.
Actual:
An infinite recursion occurs.

A quick fix would be to patch the copy method (https://github.com/lhorie/mithril.js/blob/rewrite/mithril.js#L707) to ignore the dom-attribute on vnodes:
for (var i in data) if (i !== 'dom') output[i] = copy(data[i])

Or would it be better to ignore any attributes of type HTMLElement?

If the vnode maps to the same concrete element, there will be more problems, since a given element can't be inserted in several places in the DOM tree (it is removed from the previous parent when inserted in the new one).

True, but then we should throw an explicit error if a vnode is reused.

would it perhaps make more sense to only shallow copy?

That would solve the problem with the infinite recursion. But it wouldn't solve the problem with the 1:1 association between vnode and dom element.
I don't know if we really need to reuse vnodes. I am currently recycling vnodes only for svg images/icons. But this is a premature optimization. I thought that it wouldn't be a good idea to invoke m.trust for every icon during every render-step. But after inspecting the source of m.trust and Node, it seems that this shouldn't be a performance problem... :)

re: reusing vnodes - I don't recommend reusing vnodes. The diff engine assumes non-memoized vnodes for performance reasons (basically to avoid having to copy the entire tree to ensure a stable diff).  Recreating vnodes (especially via m.trust) is super cheap relative to their dom creation cost and will likely never be a bottleneck.
There were some discussions in the chat regarding experimental usage of memoization with streams to achieve onbeforeupdate-like behavior, but I haven't had a chance to explore all the corner cases. For anything else, I think reusing vnodes will do more harm than good.

I changed the code to only shallow copy


rename some channels in the director for multisense

wanted to get this one out of the way as its most hard coded.

ops I didnt mean to merge without review. sorry

its fine.  I guess it's not just a simple channel rename though, as the bot frame name has changed too.

yes, I will work to push the required bot-frames changes through too


Add Search Capability and Introduction of Search Tags to workshops

The following pull request adds search capability to the workshops along with another feature Search Tags.
test it live at: https://workshops-g48nwhjjb-bajpai244.vercel.app/
What are these Tags?
Tags are YAML attributes that you add to your workshop's .md files to help people discover them more easily via the search option being integrated into the workshop.
For example, I have a hardware workshop, then I can use the following tags to make it more searchable.
(in your .md's YAML)
tags:  Arduino, IoT, System on a chip, AI, Machine Learning, Deep Learning
Yes! Tags are comma-separated.
Now, to prevent people from tricking the system, only the first 5 tags are considered by the search layer to search the workshop.
Meaning from the above tags Deep Learning will not be considered as it is the 6th tag.
So how will the search layer work?
The search layer is basically a bridge that filters data on the basis of the search queries.
It takes into consideration the following data attributes to make a workshop eligible on any particular search query:

Section Title
Section Description
Workshop Title
Workshop Description
Workshop' Search Tags

So if any of the following attributes have a match for the search query then the associated workshop or section becomes eligible for the result.
All the commits have a proper explanation of the changes in the codebase and why they were made.
The following code guarantees support for:

All Major Browsers
Different Screen Sizes ( responsive )
Complete Search working on the frontend ( meaning it is super fast 🚄 )
Backward Compatibilty ( no breaking changes )

This is my small effort to make workshops more searchable and discoverable :)

📝Changed routes:

[**/**](https://workshops-hihkvfvyb.hackclub.dev/)
/

(view full size)
(view full size)

Commit 91b252abaccc8b7e5674d7c53ffda14470e6a883 (https://workshops-hihkvfvyb.hackclub.dev).

Hey @sampoder ,
I highly encourage feedback on this :)
can you provide me a screenshot so that I can better understand it?

Here's a video of the colour bug:
https://user-images.githubusercontent.com/39828164/118930219-0bcb0280-b978-11eb-8d95-f40513ff71e4.mov

@sampoder got it,
It is re-rendering when the state changes, I am onto fixing it
Would highly appreciated if u too can look into what is actually trigerring it's re-render so that we can fix it ASAP 🚀

@sampoder this commit fixes everything we have discussed till this.

Now, the Blog doesn't re-render on searching :)
The input tag is theme-aware

@maxwofford @MatthewStanciu  what do u people think about the border-radius of input?
@sampoder prefers it to not be circular, if u people think that what sam is proposing will look better then do let me know I will make the desired changes 🙌

The new deployment link: https://workshops-1xheizjaa.hackclub.dev/

When I click this, I expect it to clear my search query & show me all the workshops. Currently it just hides the input, but still filters by my search term.

Hey @maxwofford, thanks for reporting this, lemme me fix that ASAP.

Hey @maxwofford, have fixed everything u reported and I have also formatted all my files using the project's prettier.config.js 🙌

hey @maxwofford, I have also removed .DS_STORE file that was committed by mistake, so have till this far, I have resolved everything reported, If I am missing on something then do let me know

When I click this, I expect it to clear my search query & show me all the workshops. Currently, it just hides the input, but still filters by my search term.

done 🚀

@MatthewStanciu, we have also removed sharp as a dependency, thanks to @maxwofford for his PR 🙌

@MatthewStanciu, so there is a small conflict on the yarn.lock file after I merged the PR from @maxwofford, can any of you resolve it 👀

Double check public/.DS_Store

@maxwofford I checked it and I have removed it, see the ss below

Thanks so much for your work Harsh 💖 I'm so glad we can finally search the workshops page 🎉

Thanks, @MatthewStanciu, @maxwofford, and @sampoder for being so helpful.
You people are amazing :)


Away mode doesn't allow changes

Discussed in https://github.com/PeteRager/lennoxs30/discussions/344

Originally posted by loucks1 October 22, 2024
I'm using 2024.8.0 - when I attempt to change the set temp or fan mode when in away mode, nothing happens (technically, HA sees the change and shows that it was accepted, but it reverts to whatever is set at the thermostat within a minute (seems to be the result of a poll of the thermostat).
s30_local.log
If I attempt change it via the iComfort app, it takes the change and syncs to HA.
home-assistant_lennoxs30_2024-10-23T15-15-04.338Z.log

10:10:00 set in HA - 66
10:10:40 observed in HA - updated to 65
10:11:00 set in APP - 66
soon thereafter - observed in HA - updated to 66
10:12:00 set in HA - 65
10:12:42 observed in  HA - updated to 66
10:13:00 set in APP - 65
10:13:30 - set in HA - Fan Mode ON
Before 10:13:45 - observed in HA - Fan Mode Back to Circulate
10:14:10 - set in HA - Fan Mode ON
10:14:38 - observed in HA - Fan mode back to Circulate
I couldn't figure out how to set Fan mode in the app when system was set to away.

Thank you for the detailed information and timeline. Looks fixable.
Lennox uses schedule ids for the different "presets" - like away mode, summer,
When changing from the app it is sending the changes to schedule 24 ("away zone 0"); when changing from the integration we are sending to schedule 16  ("manual zone 0"). So the net is we are sending it to the wrong schedule.
When the change is being set from the app it is updating schedule 24
2024-10-23 10:11:06,742 [MainThread  ] [DEBUG]  {
    "messages": [
        {
            "MessageId": 0,
            "SenderID": "**redacted**",
            "TargetID": "homeassistant",
            "MessageType": "PropertyChange",
            "Data": {
                "schedules": [
                    {
                        "publisher": {
                            "publisherName": "remote"
                        },
                        "id": 24,
                        "schedule": {
                            "periods": [
                                {
                                    "id": 0,
                                    "period": {
                                        "hsp": 66,
                                        "hspC": 19
                                    }
                                }
                            ]
                        }
                    }
                ]
            }
        }
    ]
}

When being sent from the integration it is updating schedule 16
2024-10-23 10:12:01,000 [MainThread  ] [DEBUG]  {
    "messages": [
        {
            "MessageId": 0,
            "SenderID": "**redacted**",
            "TargetID": "homeassistant",
            "MessageType": "PropertyChange",
            "Data": {
                "schedules": [
                    {
                        "publisher": {
                            "publisherName": "tstat"
                        },
                        "schedule": {
                            "periods": [
                                {
                                    "id": 0,
                                    "period": {
                                        "hsp": 65,
                                        "cspC": 29.5,
                                        "hspC": 18.5,
                                        "csp": 85
                                    }
                                }
                            ]
                        },
                        "id": 16
                    }
                ]
            }
        }
    ]
}

The home assistant log entry shows this sequence.  Of specific interest is it believes the zone is already in manual mode which is wrong and then sends to schedule 16.
2024-10-23 10:11:59.828 INFO (MainThread) [custom_components.lennoxs30.climate] climate:async_set_temperature zone [System_Zone 1] hvacMode [None] temperature [None] temp_high [85.0] temp_low [65.0]
2024-10-23 10:11:59.828 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:hvac_mode name [System_Zone 1] mode [heat_cool]
2024-10-23 10:11:59.828 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:async_set_temperature zone [System_Zone 1] csp [85.0] hsp [65.0]
2024-10-23 10:11:59.828 DEBUG (MainThread) [lennoxs30api.s30api_async] lennox_zone:perform_setpoint  id [0] hsp [65.0] hspC [None] csp [85.0] cspC [None] sp [None] spC [None] single_setpoint_mode [False]
2024-10-23 10:11:59.828 INFO (MainThread) [lennoxs30api.s30api_async] _execute_setpoints zone [0] hsp [65] hspC [18.5] csp [85] cspC [29.5] sp [None] spC [None] husp [None] desp [None]
2024-10-23 10:11:59.829 INFO (MainThread) [lennoxs30api.s30api_async] lennox_zone:_execute_setpoints zone already in manual mode id [0]
2024-10-23 10:11:59.829 DEBUG (MainThread) [lennoxs30api.s30api_async] lennox_system:perform_schedule_setpoint  sysid [LCC] zoneid [0] schedule_id [16] hsp [65] hspC [18.5] csp [85] cspC [29.5] sp [None] spC [None] single_setpoint_mode [False] husp [None] desp [None]
2024-10-23 10:11:59.829 DEBUG (MainThread) [lennoxs30api.s30api_async] publishMessageHelper sysId [LCC] data ["Data":{"schedules":[{"schedule":{"periods":[{"id":0,"period":{"hsp":65,"cspC":29.5,"hspC":18.5,"csp":85}}]},"id":16}]}]
2024-10-23 10:11:59.977 DEBUG (MainThread) [lennoxs30api.s30api_async] {
    "code": 1,
    "message": "Publish: success [homeassistant]"
}

I couldn't figure out how to set Fan mode in the app when system was set to away.

It looks like the integration is sending to schedule 16; I'll update it to send to schedule 24; and then we will see if it actually works or not.

This should be resolved in https://github.com/PeteRager/lennoxs30/releases/tag/2024.11.0
Please give it a try and let me know if it works for you now.

seems to be working for me - thank you so much for this quick support!


Documentation fixes

While reading the docs, I noticed that the documentation for _imm instructions isn't entirely consistent. This PR fixes a few examples of this. Are you interested in fixing all the _imm instructions this way, or would you prefer to factor this text out somehow?

Eh. I guess it's better to go for consistency in the instruction descriptions.
Another option is to omit these things entirely and let the generated type variable documentation handle the details. That might be too subtle.


Avoid extra copying in ParserContextImpl.getSurroundingText

Fix a few places where unnecessary String or List copies were made.

This fix is now released in 4.0.1


Rename jbds to devstudio

Codecov Report

Merging #588 into master will increase coverage by 0.13%.
The diff coverage is 59.21%.

@@            Coverage Diff             @@
##           master     #588      +/-   ##
==========================================
+ Coverage   85.29%   85.42%   +0.13%
==========================================
  Files          25       25
  Lines        2359     2497     +138
  Branches      203      203
==========================================
+ Hits         2012     2133     +121
- Misses        347      364      +17

Impacted Files
Coverage Δ

browser/services/data.js
100% <100%> (ø)
:white_check_mark:

browser/pages/confirm/controller.js
82.75% <100%> (+0.74%)
:white_check_mark:

browser/model/devstudio-autoinstall.js
100% <100%> (ø)

browser/pages/start/controller.js
44.79% <25%> (-0.04%)
:x:

browser/model/devstudio.js
55.15% <56.09%> (ø)

browser/main.js
92.59% <80%> (ø)
:white_check_mark:

browser/services/platform.js
86.71% <0%> (-1.75%)
:x:

browser/directives/breadcrumb.js
10% <0%> (-1.12%)
:x:

browser/services/request.js
20% <0%> (-0.84%)
:x:

browser/model/virtualbox.js
67.6% <0%> (-0.4%)
:x:

... and 18 more

Continue to review full report at Codecov.

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


Change the placeholder picture from the admin

It would be a nice feature to change this from the admin, as it would allow the user to change it easily.

What is the placeholder picture ?

It's used to fill the missing pictures, it can be used on both the mobile and rando version.

Oh yes OK, the default picture when none was uploaded !
OK didnt knew it was called like that. I know now ! :-)


DwC export - do not expose internal DwcOccurrence ID.

Double check, and remove, the internal ID.  It's being exposed and changes every time we re-index.

Could you say a little more about the issue here? I thought you meant you didn't want the id column to show up in the download data when you do 'Download DwC' from Filter COs or 'Download Darwin Core Archive' from the DwC Dashboard.


[BUG] No static method toDuration MemoryPolicy

Describe the bug
The app is crashing with this error since today (I thought it was one of my changes, but tested on a unaltered branch and  is occurring also):
    java.lang.NoSuchMethodError: No static method toDuration(DLjava/util/concurrent/TimeUnit;)D in class Lkotlin/time/DurationKt; or its super classes (declaration of 'kotlin.time.DurationKt' appears in  /data/app/com.....
        at com.dropbox.android.external.store4.MemoryPolicy.<clinit>(MemoryPolicy.kt:116)

Thought about removing the cachePolicy from the StoreBuilder, nevertheless, with that approach I'm getting:
java.lang.NoSuchMethodError: No static method toDuration(ILjava/util/concurrent/TimeUnit;)D in class Lkotlin/time/DurationKt; or its super classes (declaration of 'kotlin.time.DurationKt' appears in /data/app/com.....
        at com.dropbox.android.external.store4.StoreDefaults.<clinit>(StoreDefaults.kt:16)
        at com.dropbox.android.external.store4.RealStoreBuilder.<init>(StoreBuilder.kt:91)
        at com.dropbox.android.external.store4.StoreBuilder$Companion.from(StoreBuilder.kt:76)

Smartphone (please complete the following information):

Device: Samsung S8
OS: Android 9
Store Version: 4.0.1
Kotlin: 1.4.32

Please use this version instead. There were some breaking changes to duration api. https://search.maven.org/artifact/com.dropbox.mobile.store/store4/4.0.2-KT15/jar

Hi @digitalbuddha. I'm seeing this crash trace with Store 4.0.2-KT15 and Kotlin 1.5.31.
Was there a directive I might've missed or shall I create another issue for it?

Could you try 4.0.4-KT15 and apologies for the bad naming of versions

That version works. Thanks @digitalbuddha!


Stream body support?

Hi, I'm scoping out your library :)
When looking at response.ts it seems that if the body is a stream, that's not supported, right? I'm new to got so not sure how streams work.
If that's the case, would that be solved by using the consumeBody function from node-fetch?

Awesome, thanks! :)

Ha, wasn't sure if you were still interested in this after ... 7-8 months. I've published it under the next tag on npm. If you do end up trying it, could you let me know how/if it works for your use case? I've discovered a couple of issues with got's stream handling while working on this.


New package: MAGMA_jll v2.7.0+0

Autogenerated JLL package registration

Registering JLL package MAGMA_jll.jl
Repository: https://github.com/JuliaBinaryWrappers/MAGMA_jll.jl
Version: v2.7.0+0
Commit: e72583183dd86590659b96d7101b2b8b6a83a937
Revision on Yggdrasil: https://github.com/JuliaPackaging/Yggdrasil/commit/63605bb6cfa911dd00c5c2282b0975ad794d3334
Created by: @Wimmerer

block


ValueError: loaded state dict contains a parameter group that doesn't match the size of optimizer's group

It happened when I run 'python3 train.py --model_type compression_gan --regime med --warmstart -ckpt path/to/trained/model --likelihood_type logistic' with 'HIFIC-med'

Yeah I think somewhere along the line I modified the models to make them more efficient and this got out of sync with the pretrained models - so you'll have to train them yourself unfortunately.


add ability to install export templates

It would be nice if there was a flag -e or --export-templates for godotenv godot install that would also install the relevant export templates on mac/win/linux.
Additionally, you might also need a separate command just to install the export templates (if you hadn't supplied the flag during installation) and probably one to check if they were installed.
Naturally, this would need to work across each of the 3 major OS's, which means installing the export templates to the correct location. Someone had graciously contributed the support for this to https://github.com/chickensoft-games/setup-godot a while back, and I believe I even ported some of the relevant logic for it to GodotEnv, but it will likely need updates.

Great suggestion, I too would love to see this. Downloading export templates via the UI is such a manual process and not really easy to do for CI. I think it's a prime candidate for GodotEnv in particular because export templates are

Tied to the editor version
Don't really change across projects
Not downloadable via Godot CLI tools

The only thing I'm a little unsure of is how it should be stored. It seems like Godot stores the default templates it in your application data (eg: on Mac, it's in the Application Support folder). That might not be the easiest to store it in permission-wise, but if we can't use the default location, then that introduces another problem: How does the Godot project know where the export templates are?
AFAIK the default export template folder is not configurable, so we can't point Godot at another default path. We could override the templates for each build configuration in export_presets.cfg, but if we have a global cache folder, that path isn't going to be the same across platforms/OSes.
My thought is that perhaps we'd have to have to have more symlinks within the Godot project - perhaps something like:
addons/
|- addon-one/    (symlink to global addon cache)
|- addon-two/    (symlink to global addon cache)
|- .editorconfig
export-templates/
|- default.zip   (symlink to global export template cache)
addons.json
project.csproj
project.godot
project.sln

...and then you could just use a relative path inside of the export_presets.cfg so that it stays the same across platforms.
At least that's my initial take. Could be simpler ways I'm not aware of.


OSD-26937: Removing Pete Brown from reviewers

Closes OSD-26937

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 47.60%. Comparing base (7c3f5be) to head (39bc34f).

Additional details and impacted files

@@           Coverage Diff           @@
##           master     #122   +/-   ##
=======================================
  Coverage   47.60%   47.60%
=======================================
  Files          23       23
  Lines        1567     1567
=======================================
  Hits          746      746
  Misses        775      775
  Partials       46       46


Fix blocking operation

Fix blocking operation

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (5d3d89d) to head (bb42b48).
Report is 152 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #778   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            5         5
  Lines          162       162
  Branches        14        14
=========================================
  Hits           162       162

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


PMID:22140232 glucose starvation

decreased RNA level during cellular response to glucose starvation
normal RNA level during cellular response to glucose starvation
decreased invertase activity during cellular response to glucose starvation
normal invertase activity during cellular response to glucose starvation
decreased protein export from nucleus during cellular response to glucose starvation
normal protein export from nucleus during cellular response to glucose starvation
decreased protein phosphorylation during cellular response to glucose starvation

new terms
abnormal invertase activity FYPO:0005741
decreased invertase activity during glucose starvation FYPO:0005742
normal invertase activity during glucose starvation FYPO:0005743
abnormal protein transport FYPO:0005744
abnormal protein export from nucleus FYPO:0005745
decreased protein export from nucleus during glucose starvation FYPO:0005746
normal protein transport FYPO:0005747
normal protein export from nucleus during glucose starvation FYPO:0005748
decreased protein phosphorylation during glucose starvation FYPO:0005749

is FYPO:0003032; synonym added
is FYPO:0004171; synonym added

for 3-7 put "cellular response to" in exact synonyms (as in existing terms)
edit file: c1e05ea3b8989eba0ed96dee128c7a554cf6fde9
release: aed22ae32d4bad9af58aadf470a791c96e3db8e5


[ERROR] Unable to grab VM's IP after 30s (!)... Aborted

This is what I am getting after updating to latest version :
/Applications/Kube-Solo.app/Contents/Resources/up.command; exit;
Last login: Tue Dec  6 00:43:54 on ttys001
λ ~/ /Applications/Kube-Solo.app/Contents/Resources/up.command; exit;
Starting VM ...

booting k8solo-01 (1/1)
[ERROR] Unable to grab VM's IP after 30s (!)... Aborted

VM has not booted, please check '~/kube-solo/logs/vm_up.log' and report the problem !!!
Press [Enter] key to continue...
Not sure what went wrong.

it could be your network borked, VirtualBox loves to do that, just try to reboot your mac, thanks


@cap-js/sqlite: nested properties in where clause of delete crash

Hi CAP Team!
When deleting using nested properties:
 const result = await DELETE.from(GroupMembers).where({'user.externalUserId': user.externalUserId })

I get the following error:
TypeError: Cannot read properties of undefined (reading 'map')
    at _entityTransitionsForTarget (/.../node_modules/@sap/cds/libx/_runtime/common/utils/resolveView.js:593:19)

In resolveView the  from input for function _entityTransitionsForTarget is:
{
  join: "left",
  args: [
    {
      ref: [
        "user.db.GroupMembers",
      ],
      as: "GroupMembers",
    },
    {
      ref: [
        "user.db.Users",
      ],
      as: "user",
    },
  ],
  on: [
    {
      ref: [
        "user",
        "ID",
      ],
    },
    "=",
    {
      ref: [
        "GroupMembers",
        "user_ID",
      ],
    },
  ],
}

but in line 593 an attribute ref is expected, that is not there in the DELETE case.
return from.ref.map((f, i) => { ... } // line 593

from.ref is undefined in this case.

Your Project Name
N/A

OData version
v4

Node.js version
v18.16.1

@sap/cds
7.0.2

@sap/cds-compiler
3.9.2

@sap/cds-dk
7.1.0

@cap-js/sqlite
1.0.1

Kind regards,
Sebastian

I just tried it out and this still doesnt work. The db-service translates such a path expression to a join. However, if there are localized fields present, the whole where clause is put in a from filter which leads to a scoped query: DELETE Books[author.name = 'Emily Bronte']:author which doesnt work because non-fk traversals in infix filters are not allowed. If the localized fields are removed, we get the reported dump in resolveView:
> del =  DELETE.from(Books).where("author.name = 'Emily Brontë'");
Query {
  DELETE: {
    from: 'sap.capire.bookshop.Books',
    where: [ { ref: [ 'author', 'name' ] }, '=', { val: 'Emily Brontë' } ]
  }
}
> await del
Uncaught TypeError: Cannot read properties of undefined (reading 'map')
    at _entityTransitionsForTarget (/Users/patricebender/SAPDevelop/dev/cds/libx/_runtime/common/utils/resolveView.js:673:19)

How do we get this situation solved?

@patricebender To support nested attributes in the where clause of delete statements, the nesting needs to be resolved into a subselect. DELETE from Books where author in (SELECT ID from Authors where name = 'Emily Bontë'.
If the plan is to not support nested attributes I would appreciate a hint in the documentation and a clear error message. ;)

where author in (SELECT ID from Authors where name = 'Emily Bontë').
If the plan is to not support nested attributes I would appreciate a hint in the documentation and a clear error message. ;)

I will post my comment from the discussion of Bobs PR here as well:
That [To support nested attributes in the where clause of delete statements, the nesting needs to be resolved into a subselect]  would be great. However, first we need to be able to understand a token stream such as a where. If the where is just an array of xpr it is quite hard to interpret. Think of operator precedence etc...
If the token stream would be parsed in a tree like structure, where operator precedence is clear and where it is easy to tell where one operand begins and ends. I think the example here illustrates the problem:
https://github.com/cap-js/cds-dbs/blob/98106dcddcdcfab4955f113c18a1a7d3464d1494/db-service/test/cqn4sql/UPDATE.test.js#L73-L84
For UPDATE there is no way around transforming path expressions into subqueries. With a DELETE, the situation looks different, we could theoretically produce DELETE FROM with joins because most DBs implement this. However, FROM for DELETE is not ANSI SQL compliant, so rejecting such requests could also be an option. Ping @BobdenOs @johannes-vogel @stewsk


Redraw datatable [Question]

Describe the bug
Hello, I am using datatable clientside, When i am save button on modal, data on datatable not refresh after success save button using ajax.
                $.ajax({
                    data: {{ dataRequest }},
                    url: {{ URL }},
                    type: "POST",
                    dataType: 'json',
                    success: function(data) {
                        $('#showModalCreate').modal('hide');
                        $('#table1').DataTable().draw();
                    },
                    error: function(data) {
                        $('#save_button').html('Save Changes');
                    }
                });
        });```

### Expected behavior
refresh datatable after modal hide and get update row data

| Item    | Version
| ------- | -------
| Laravel | 8.75
| Project | Private
| OS      | Alpine Linux v3.13 (Docker)

`
@php
$heads = [
'ID',
'Name',
['label' => 'Phone', 'width' => 40],
['label' => 'Actions', 'no-export' => true, 'width' => 5],
];
$btnEdit = '

';
$btnDelete = '

';
$btnDetails = '

';
$config = [
'data' => [
[22, 'John Bender', '+02<PHONE_NUMBER>89', ''.$btnEdit.$btnDelete.$btnDetails.''],
[19, 'Sophia Clemens', '+99<PHONE_NUMBER>21', ''.$btnEdit.$btnDelete.$btnDetails.''],
[3, 'Peter Sousa', '+69<PHONE_NUMBER>5243', ''.$btnEdit.$btnDelete.$btnDetails.''],
],
'order' => [[1, 'asc']],
'columns' => [null, null, null, ['orderable' => false]],
];
@endphp
{{-- Minimal example / fill data using the component slot --}}

@foreach($config['data'] as $row)

@foreach($row as $cell)
{!! $cell !!}
@endforeach

@endforeach
`
I am using your example on wiki...

But that's just an example with hard coded data to show how the table will render. I'm not sure how you expect the AJAX request you share at the first post to change this hard coded dataset. A real scenario will use a database on the server-side, and your datatable will be usually filled with some of that data, then the AJAX request will change the data on that database, and finally after this, the idea is to reload your page in order to show the new data (usually a redirection to the same page is triggered from the controller you hit with the AJAX request to emulate an auto-reload).
I would love to create an example with code to show you the idea, but I don't have the time. So I hope you can find your way into solving your requirements.


refactor libvue js classes

the libvue js classes have all sub objects defined at runtime in the constructor.
this feels wrong and ugly...
they should have all members defined at top level, and there should be a clear separation
between static members/methods (if needed at all, we have the global instance variables...)

done


[PORT] Ensured all Activities stored in transcript have Ids

Port this change from botbuilder-dotnet/master branch:
https://github.com/microsoft/botbuilder-dotnet/pull/3701

Fixes #3665

As, done in JS's TranscriptMiddlewareLogger already, ensure that all cloned activities in logger have Ids, so that when  logged into MemoryTranscriptStore, each Item also has an Id.
If an activity doesn't have an id, MemoryTranscriptStore will generate an Id for that activity/Item for the transcript storage, prefixing it with "g_" for "generated", as done in JS.
Context

Not all Activities created have Ids assigned to them (Activity spec in botframework-sdk)
ContinuationToken within the MemoryTranscriptStore.GetTranscriptActivitiesAsync relies on last Activity.Id of loaded PagedResult
Because of the above 2 bullets, if an Activity without an Id is the last item in the PagedResult, we may end up infinitely loading the same PagedResult over and over again.

Testing
In order to test that activities with null ids are assigned ids properly in transcript storage, I had to create a custom TestAdapter, since the one "off the shelf" automatically fills in an activity id, never allowing for null ids to pass through to the TranscriptMiddlewareLogger layer.

Would have created an own separate class, however needed to derive from it, since TestFlow is tightly coupled to TestAdapter (it requires an adapter of specifically type TestAdapter instead of an interface)

Changed projects

Microsoft.Bot.Builder
Microsoft.Bot.Builder.Tests

already addressed in TranscriptLogger


GutHub Desktop - Syncing with github.com

I installed the desktop client, but I can't figure out how to sync it with my online account. I logged in to my account on the desktop client, but that's all I can do.
It almost looks like I can't sync them. I can clone or import projects, but I an't truly sync them.
Anyone know if they are supposed to sync? @bryangw1 @zmon ??
Thanks!

I was just doing that myself.  There's probably a more direct way, but once
you are logged in, you can go to the online repository and Clone or
Download -> Open in Desktop.   You'll be prompted to add it to your desktop
client.
Then, you can edit the local files with whatever text editor you like.
(Repository -> Open in Finder).  When your edits are done, sync back to
the hub with the client.  It automatically figures out which files have
been changed locally...
On Wed, Sep 14, 2016 at 9:01 AM, Chris Brown<EMAIL_ADDRESS>wrote:

I installed the desktop client, but I can't figure out how to sync it with
my online account. I logged in to my account on the desktop client, but
that's all I can do.
It almost looks like I can't sync them. I can clone or import projects,
but I an't truly sync them.
Anyone know if they are supposed to sync? @bryangw1
https://github.com/bryangw1 @zmon https://github.com/zmon ??
Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/KCLegalHackers/CodingForLawyers/issues/7, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AL95M9pFgylEGpexwnU1kBn1sYmSydrZks5qp_5FgaJpZM4J8zne
.

@JwhiteheadMO - that's what I was thinking. So unfortunately, it doesn't automatically sync. That's too bad. I was hoping it'd be like my email client. No matter where I log in (desktop, phone, browser, etc.) it is always synced.

That is part of the nature of github's underpinning, git.  You don't want it to auto-sync since you may have local work that would get overwritten (such as were two of us are working on the same file).  I think git's advantage over prior systems was that it distributed out the work so one person didn't, in effect, lock a file and prevent anyone else from working on it.

Thanks Duncan. Also, closing out this issue since we now know this can't be done. :)


How i want to solve it Logical Or

Challenge Comparisons with the Logical Or Operator has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

function testLogicalOr(val) {
  // Only change code below this line

  if (val>10 || val<20) {
    return "Outside";
  }

  // Only change code above this line
  return "Inside";
}

// Change this value to test
testLogicalOr(15);

@Mohamedsalmaan Thank you for reporting this issue.
This is a standard message notifying you that this issue seems to be a request for help. Instead of asking for help here, please click the "help" button on the challenge on Free Code Camp, which will take you to the help chatroom for that specific challenge. You can also view our full list of official chatrooms.
If you think I'm wrong in closing this issue, please reopen it and add further clarification. Thank you, and happy coding!


PM and update Sprint 6

Description
PM and update Sprint 6.
Tasks

[x] Close and decipher tasks from Sprint 5 to Sprint 6.
[x] Close Sprint 4.
[x] Write out Full Alpha Demo with Feather Device v0.3.0 Workflows
[x] Add new Current Focus and Goal(s) for Sprint 6.
[x] Build out #28 Sprint 6 – Critical Path
[x] Provide team with write up on Sprint 6.

Done


Bleed damage is abnormal

Log shows bleed deals damage too frequently.
Here is  Xainfried's log:

712a8388cde085b32f1bfff947be0594e4298463


Fix broken headings in Markdown files

GitHub changed the way Markdown headings are parsed, so this change fixes it.
See bryant1410/readmesfix for more information.
Tackles bryant1410/readmesfix#1

sorry , i havent seen this and have fixed it myself


Resolve ssh timeout issue

added ansible.cfg

I do not know why this pull request was created or what actual issue it is supposed to resolve. Nobody reported timeout issues. If it is required for some specific configuration only, please fork this repository and make the changes in your own repository.


List of supported macros/functions getting too long

Can someone help with converting the list of macros and functions in the README.md and index.md into two-column markdown tables (or tell us if this doesn't look good)?
I don't want to obscure the list behind a ??? in the documentation, which would mean that the user would need to click to see the full list. I just think we can show it in a more compact way.
Thanks in advance to anyone who's interested to help!

Actually, this will make it tricky on mobile. Will close for now.


Agent unable to handle issue-credential/ack-message

Agent unable to handle issue-credential/ack-message
Following error is encountered if credential ack is sent to agent:
Hyperledger.Aries.AriesFrameworkException: Couldn't locate a message handler for type did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/issue-credential/1.0/ask

To other agent is sent error 500.
Steps to reproduce the behavior:
Run interoperability tests with AATH so that dotnet-agent is playing the issuer role, e.g.
./manage build -a findy -a dotnet
./manage run -d dotnet -b findy  -t @T001-RFC0036

Expected behavior
Dotnet-agent returns 200 when credential ack is received.

Is that just a typo on your error post because it ends in /ask  and not /ack

Apparently there is a typo, I reran the test and the message type findy agent sends is "ack":
Hyperledger.Aries.AriesFrameworkException: Couldn't locate a message handler for type did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/issue-credential/1.0/ack


Angular v15 support

Hey,
it would be great if you could build a new version to be able to use this great library using Angular 15

@rwwagner90 Hi! Any plans yet for Angular 15 support?
I tried it locally and after resetting some Angular 15 dependencies to 14 in the main project dir (dependabot is a bit too eager apparently) ng update @angular/cli @angular/core runs without a problem.
After updating to shepherd.js 11 and Angular 15 in the /projects/shepherd/package.json the tests are still successful and it seems to work (as far as I can tell).
Thank you!

@ghbob would you like to open a PR updating things? It sounds like you have most of it done already.

@rwwagner90 Alright, I tried my best: https://github.com/shipshapecode/angular-shepherd/pull/1584
My experience concerning node package dependencies is limited though, maybe I missed something important :)

15.0.0 has been published


fix: update yml files to new format

Instructions

PR target branch should be against development
PR title name should follow this format: https://github.com/mParticle/mparticle-workflows/blob/stable/.github/workflows/pr-title-check.yml
PR branch prefix should follow this format: https://github.com/mParticle/mparticle-workflows/blob/stable/.github/workflows/pr-branch-check-name.yml

Summary

update yml files to point at new scripts folder

Testing Plan

regression tests should pass

Master Issue

Closes https://go.mparticle.com/work/4329

:tada: This PR is included in version 0.11.5 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Not exporting anymore

Hi I1xnan,
Maybe it's since the new update, but the pluggin doesn't export at all.
I still have the export preview and the choice of file destination, but then nothing.
The debug mode gives me this output:
Uncaught (in promise) ReferenceError: electron is not defined
    at help.js:1:244286
    at window.ready (enhance.js:1:13136)
    at help.js:1:237433
    at help.js:1:1732
    at Object.next (help.js:1:1837)
    at i (help.js:1:555)

Best regards,

This error doesn't need attention. Besides this, are there any other error messages? Does it display the preview normally?

I don’t find any other error messages (but maybe there are some I don't know how to find).
I can see the preview, but it doesn't really seem to change when I change the parameters. Displaying or not displaying the title refreshes the preview, but changing the scale has no effect.
And there is absolutely no file export.
As far as I'm concerned, it doesn't work at all.
I'm running Debian 12 up to date.
Obdsidian is up to date.
Pandoc is installed and up to date.
Otherwise, I really like your pluggin... when it works.

The plugin does not depend on pandoc. You can troubleshoot the problem in the following ways:

Delete the data.json configuration file of the plugin.
Press Ctrl+Shift+I to open the developer tool and see if there are any errors.

Well done !
It’s working again !
Great thanks


Multiple errors in Eclipse 3.7.1

Hi,
I've been running the template and following everything in README, however I get multiple errors in Eclipse 3.7.1, whatever the SDK used (1.6, 2.2, 2.3, 4.0). Deleting GEN does not solve anything. Here are errors for API 8 (Android 2.2) :
AndroidManifest.xml :
l1 : Attribute minSdkVersion (4) is lower than the project target API level (8)
l2 : error: No resource identifier found for attribute 'installLocation' in package 'android'
src > project > dock.java :
l35 : Multiple markers at this line
- Method breakpoint:docks [entry] - onItemClick(AdapterView, View, int, long)
	- The method onItemClick(AdapterView, View, int, long) of type docks must override a superclass
method
- implements android.widget.AdapterView.OnItemClickListener.onItemClick
l42 : The value of the field docks.DocksAdapter.mContext is not used
l50 : Multiple markers at this line
- implements android.widget.Adapter.getCount
- The method getCount() of type docks.DocksAdapter must override a superclass
method
l55 : Multiple markers at this line
- implements android.widget.Adapter.getItem
- The method getItem(int) of type docks.DocksAdapter must override a superclass
method
l60 : Multiple markers at this line
- The method getItemId(int) of type docks.DocksAdapter must override a superclass
method
- implements android.widget.Adapter.getItemId
l65 : Multiple markers at this line
- implements android.widget.Adapter.getView
- The method getView(int, View, ViewGroup) of type docks.DocksAdapter must override a superclass
method
l82 : R cannot be resolved to a variable
docksProvider.java :
l53 : The import android.content.UriMatcher is never used
main.java :
l36 : R cannot be resolved to a variable
l37 : R cannot be resolved to a variable
l78 : Multiple markers at this line
- The method getCount() of type main.IconsAdapter must override a superclass
method
- implements android.widget.Adapter.getCount
l83 : Multiple markers at this line
- implements android.widget.Adapter.getItem
- The method getItem(int) of type main.IconsAdapter must override a superclass
method
l90 : Multiple markers at this line
- The method getItemId(int) of type main.IconsAdapter must override a superclass
method
- implements android.widget.Adapter.getItemId
l95 : Multiple markers at this line
- The method getView(int, View, ViewGroup) of type main.IconsAdapter must override a superclass
method
- implements android.widget.Adapter.getView
l115 : R cannot be resolved to a variable

Please note most of these errors can be partially fixed (in my case) by deleting @Override (or renaming to /@Override/).

Well it seems your Java Compiler is set to 1.5? You need to right click on the project, select properties, java compiler, select 1.6 and you should be good after that.

I can't believe I missed that, thank you very much ! All @Override were renamed, and the project can compile with no problem.
I still have several warnings, I just give them to you for debug/reference (they don't affect compilation) :
docks.java :
l42 > The value of the field docks.DocksAdapter.mContext is not used
docksprovider.java :
l5 > The import android.content.UriMatcher is never used
main.java :
l19 > The import android.graphics.drawable.BitmapDrawable is never used
Thanks again


Packer run fails when installing WMF 5.0

Hi Matt,
First of all thanks so much for the work you've done with Chef/Packer/Windows! It has been incredibly useful.
I'm running into an issue where if I add this one line to my Boxstarter package.ps1 script:
if($psversiontable.PSVersion.Major -ne 5){ cinst powershell -y; Invoke-Reboot }

or even just cinst powershell-y, Boxstarter will finish its script with Type ENTER to exit after enabling WinRM. As part of my provisioner Powershell script I clean up Boxstarter and Chocolatey, but since Chocolatey is still running, it fails with permission denied. It looks like that Read-Host is coming from https://github.com/mwrock/boxstarter/blob/master/Boxstarter.Bootstrapper/Cleanup-Boxstarter.ps1#L38, but I'm not sure why it's pausing & asking for input. If I remove the cinst powershell line, everything works fine and I don't get asked for input. I'll try killing Chocolatey as part of the cleanup process but just thought this was weird.

Hey I'm glad you find all of this useful!
If boxstarter reboots the machine, its normal for the prompt to display at the end of a boxstarter run. This typically isn't a problem if running boxstarter from a script that's kicked off fro an answer file "run once" action in packer because packer just launches the provisioners after winrm starts up.
Are you seeing this halt the entire process? And does it occur even if the machine never reboots during the boxstarter run?

Yup, that's all accurate - I am running Boxstarter as part of the answer file, then the provisioner from Packer. It doesn't happen if it doesn't reboot and it doesn't halt the process, but since I want to clean up Boxstarter/Chocolatey/etc. as part of the Packer provisioner script, and the Boxstarter prompt is still open, the files can't be deleted. Is there a way to override this behavior? Or is there a way for Boxstarter to clean itself up afterwards? Thanks!

There realy isn't a clean way to close the window in this scenario. The best you could do is find the powershell process hosting boxstarter and kill it in your provisioner. That may be as simple as:
Stop-Process | (Get-Process -Name Powershell | ? { $_.id -ne $PID })

Which would kill all powershell processes other than the one issuing this command.

Thanks! That worked. I had to use Get-Process Powershell | Where-Object { $_.ID -ne $PID } | Stop-Process but was able to clean up at the end of the run.


Determine Accessibility Needs

from @rbvea: this is a great tool for testing accessibility on webpages: https://addyosmani.com/a11y/

ref to #75
also @tiktnarg mentioned:
Bobby: http://www.coggan.com/bobby-approved.html
and this ACLU site: https://www.aclu.org/issues/disability-rights

Closing this as stale and out of date.


Incompatible format error in espnow components (AEGHB-256)

Hi developers,
I encountered an error while using espnow on esp-idf v5.0.2. Previously, on esp-idf 4.4.4, the build process worked perfectly. However, with the latest version, I am facing the following error:
../../../components/esp_hw_support/include/esp_mac.h:14:16: error: format '%x' expects argument of type 'unsigned int *', but argument 7 has type 'uint32_t *' {aka 'long unsigned int *'} [-Werror=format=]
   14 | #define MACSTR "%02x:%02x:%02x:%02x:%02x:%02x"
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../components/utils/src/espnow_utils.c:68:31: note: in expansion of macro 'MACSTR'
   68 |     int ret = sscanf(mac_str, MACSTR, mac_data, mac_data + 1, mac_data + 2,
      |                               ^~~~~~
../../../components/esp_hw_support/include/esp_mac.h:14:40: note: format string is defined here
   14 | #define MACSTR "%02x:%02x:%02x:%02x:%02x:%02x"
      |                                     ~~~^
      |                                        |
      |                                        unsigned int *
      |                                     %02lx
../../../components/esp_hw_support/include/esp_mac.h:14:16: error: format '%x' expects argument of type 'unsigned int *', but argument 8 has type 'uint32_t *' {aka 'long unsigned int *'} [-Werror=format=]
   14 | #define MACSTR "%02x:%02x:%02x:%02x:%02x:%02x"
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../components/utils/src/espnow_utils.c:68:31: note: in expansion of macro 'MACSTR'
   68 |     int ret = sscanf(mac_str, MACSTR, mac_data, mac_data + 1, mac_data + 2,
      |                               ^~~~~~
../../../components/esp_hw_support/include/esp_mac.h:14:45: note: format string is defined here
   14 | #define MACSTR "%02x:%02x:%02x:%02x:%02x:%02x"
      |                                          ~~~^
      |                                             |
      |                                             unsigned int *

One potential solution is to modify the appropriate format specifier to match the correct data type. However, this approach might require additional time and effort. It would be helpful to know if there is a way to disable the checking of this particular format to proceed with the build process.

@horsemann07 I also suggest modify the appropriate format specifier to match the correct data type.


[BUG]:

What version of drizzle-orm are you using?
0.30
What version of drizzle-kit are you using?
0.20.14
Describe the Bug
I wrote table name 'options' in 'product' schema at a schema ts file.
and push it to the supabase postgres server but options table never be made.
once I changed it name to 'product_options', it works.
Expected behavior
I wanted to call the table with the name 'options'
Environment & setup
I use bun.

Closing this issue due to be non-repro on my side on latest version(which are 0.32.0 at the time of this message)
Feel free to reopen if you still see this issue


Manually fix broken link.

Fixing this html page by hand for quick turn around.
The fix for this file in Master is at #12554

If this change is not made in master and release-1.0 it will just get reverted.  we can't make manual changes to the docs branch.


[FLINK-7445] [GitHub] Remove FLINK-1234 reference from PR template

The PR template on github contains a reference to FLINK-1234 as an example for the PR title.
The problem is that every PR that doesn't fill out the template, or rather does not delete that part of the template, will now be referenced in FLINK-1234, leading to spam on the mailing list.
I've replaced 1234 with XXXX, which should still get the idea across.

+1

merging.


[TYPO] Replace Chinese colon by ASCII colon

What changes were proposed in this pull request?
Replace ： by : .
Does this PR introduce any user-facing change?
No.
How was this patch tested?
No need.

Codecov Report

Merging #255 (1a4dd95) into master (c89f95c) will decrease coverage by 0.02%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master     #255      +/-   ##
============================================
- Coverage     59.16%   59.13%   -0.03%
+ Complexity     1340     1339       -1
============================================
  Files           163      163
  Lines          8810     8810
  Branches        833      833
============================================
- Hits           5212     5210       -2
- Misses         3332     3333       +1
- Partials        266      267       +1

Impacted Files
Coverage Δ

.../hadoop/mapreduce/task/reduce/RssBypassWriter.java
61.90% <0.00%> (ø)

...pache/hadoop/mapreduce/task/reduce/RssFetcher.java
89.06% <0.00%> (-1.57%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

@zuston Kerberos test seems flaky.

@zuston Kerberos test seems flaky.

Yes. This test makes me confused, I will take a look

Merged. Thanks @kaijchen

Thanks @zuston for merge this.

It would be better to cherry-pick this to 0.6 branch and kick off a new RC release. CC\ @jerqi

It would be better to cherry-pick this to 0.6 branch and kick off a new RC release. CC\ @jerqi

Ok, I will cherry-pick this pr.


feat: import iroh_base::ticket::BlobTicket and iroh_base::hash

Description
As iroh_base::hash and iroh_base::ticket::BlobtTicket are mainly iroh-blobs concerns they are moved into here.
This also updates to the latest iroh@main so

AddrInfoOptions has been removed
MSRV is bumped to 1.81

Breaking Changes

addr_options on the cli is removed from the share call

Notes & open questions

Change checklist

[ ] Self-review.
[ ] Documentation updates following the style guide, if relevant.
[ ] Tests if relevant.
[ ] All breaking changes documented.

MSRV fixes are coming with https://github.com/n0-computer/iroh/pull/3033 and follow ups

Ref https://github.com/n0-computer/iroh/pull/3036


Update docs on splitting APKs

Gradle v3.1 complains about conflicting configuration as below

Conflicting configuration : 'armeabi-v7a,x86' in ndk abiFilters cannot be present when splits abi filters are set : x86,armeabi-v7a

Release Notes:
[ DOCS][MINOR][signed-apk-android.md] - Improve docs on splitting APKs for newer version of gradle

The docs have been moved to https://github.com/facebook/react-native-website


664 school year

Pre-review checklist
I have ensured that:

[x] Code runs successfully in the development environment.
[x] New code is tested to prove that it works. If not, justify reasoning.
[x] New code is documented using type hinting and following the numpydoc docstring format.
[ ] New code follows the project naming standards.

Overview of changes

Post-review checklist
As I merge these changes, I have:

[ ] Updated the related Jira ticket, including approximate time spent (including review).
[ ] Moved the related Jira ticket to Done.

Line commented out that would mimic the current stata pipeline exactly - conversations with Lina suggested current process may be inaccurate. If needing to uncomment this line, test to change slightly to add 1 year to NI/Scotland


Yosys issue error in propagating golbal typdedef from one file to other file:  ERROR: syntax error, unexpected ';', expecting '(' or '['

Note: With latest yosys release has fixed propagating global parameter from one file to other file. But showing issue in propagating typedef function from one file to other [file.]
Steps to reproduce the issue
Tested in latest Yosys release: 0.9+4008 (git sha1 e178d036, clang 10.0.0-4ubuntu1 -fPIC -Os)
yosys> read_verilog -sv a1.sv
Parsing SystemVerilog input from a1.sv' to AST representation.     Generating RTLIL representation for module \a1'.
Successfully finished Verilog frontend.
yosys> read_verilog -sv b1.sv
Parsing SystemVerilog input from `b1.sv' to AST representation.
b1.sv:11: ERROR: syntax error, unexpected ';', expecting '(' or '['
Expected behavior
Expected behaviour was global typedef defined in previous file should have propagated to next file
Actual behavior
Actual behavior
Tool is issue warning:
ERROR: syntax error, unexpected ';', expecting '(' or '['
Attached the Example file and run command
issue.tar.gz

This is a duplicate of https://github.com/YosysHQ/yosys/issues/2440.


ETA for stable 2.0

 Issue by OsirisTerje
Monday Jun 27, 2016 at 08:07 GMT
Originally opened as https://github.com/gsscoder/commandline/issues/328

Are there any chance of getting a stable version of the 2.0 out?

 Comment by nemec
Wednesday Jun 29, 2016 at 19:16 GMT

Only @gsscoder has access to do that and he currently has other commitments to attend to. If you're concerned about crashing the latest master is stable, but unfortunately it's not available via NuGet.

 Comment by OsirisTerje
Wednesday Jun 29, 2016 at 19:42 GMT

It seems stable enough to me, I have been using it for more than 6 months now (the latest beta on nuget) , and it works just fine.  I am mostly concerned that it has a beta version number, and when it is marked as a dependency in another package that package also has to have a beta version number.  So it is mostly annoying, can work around it by not declaring it, but not so nice.  But guess we have to wait on @gsscoder .

 Comment by nemec
Sunday Aug 07, 2016 at 06:39 GMT

You know, I'm not really sure. There is a 2.0 stable milestone, but comments within one of the issues indicate that it's postponed until post-2.0 release. TBH I'm happy to call it stable.

 Comment by Mizipzor
Saturday Aug 06, 2016 at 11:27 GMT

@nemec do you know the current status on the stable? I have some time to spend on this project right now and I'm really keen to fix the remaining bugs that we would require for stable. But I dont know the roadmap. Even if @gsscoder is busy surely he can just put in a new nuget version if the source is in a good place.

 Comment by igloo15
Thursday Aug 25, 2016 at 03:22 GMT

@gsscoder hasn't been active in a long time should someone maybe create a new nuget package of this?

 Comment by zidad
Saturday Aug 13, 2016 at 12:23 GMT

I'm running into the same issue as @OsirisTerje, I'd really like a stable release number to be able to use this project in other (non-beta) packages... @gsscoder any chance?

 Comment by nemec
Saturday Nov 05, 2016 at 08:40 GMT

I finally got access to the official repo and pushed a new prerelease package based on the latest master. #361 seems to be the only outstanding bug that should be resolved before we can release a stable 2.0.
https://www.nuget.org/packages/CommandLineParser/2.1.1-beta

 Comment by zidad
Monday Sep 12, 2016 at 16:56 GMT

@igloo15 @OsirisTerje Funny! I tried to make an unofficial released package called CommandLineParser.Unofficial, but when I tried to push it to nuget I found out someone already had exactly the same idea:  https://www.nuget.org/packages/CommandLineParser.Unofficial

 Comment by hugener
Monday Mar 13, 2017 at 18:25 GMT

I posted a comment on what appears to be the last remaining bug: https://github.com/gsscoder/commandline/issues/361
It seems to be clear what's wrong, but I'm not sure if there is an easy fix.

 Comment by MgSam
Tuesday Feb 21, 2017 at 15:21 GMT

Any update on when 2.0 will be released? The NuGet publish date on 1.9.71 of  Feb 27, 2013 probably makes a lot of people think this project is dead.
Also- could someone update the CodePlex site so that it says at the top in large print that development has moved to Github? I had no idea this repo existed without doing a lot of digging- CodePlex is still one of the top hits on Google.

 Comment by tesharp
Thursday Jun 29, 2017 at 09:03 GMT

Any chance to create a release package soon? Its been a year and looking at NuGet it seems a lot of people have just resolved to using the unofficial package by now.. Minor bugs can be fixed later as well. If the goal is to have a bug free release then I guess we have to wait another year.

@ericnewton76 @nemec This seems like it can be closed.


[feat] Implement LLM client

This PR abstracts the chat_completion function and integrates several LLM clients to support a variety of LLM API providers, including OpenAI, Zhipu AI, Llama API and deepseek. More providers are supported via LiteLLM. The abstraction also leaves room for further integration of local-inferencing opensource LLMs.

(Just in case if you have made any conflicting changes to the main branch.)

You can merge it when it's ready.


PySide2 error when viewing dataframes in Python 3.10

I have got a problem with spyder's variable explorer and it seems to be different from the others on the issue board:
When I try to visualize a dataframe (in variable explorer) clicking on it, a popup appears saying "spyder has encountered an internal problem"
The traceback is:
Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/spyder/plugins/variableexplorer/widgets/collectionsdelegate.py", line 203, in createEditor
    if not editor.setup_and_check(value, title=key):
  File "/usr/lib/python3.10/site-packages/spyder/plugins/variableexplorer/widgets/dataframeeditor.py", line 942, in setup_and_check
    self.create_data_table()
  File "/usr/lib/python3.10/site-packages/spyder/plugins/variableexplorer/widgets/dataframeeditor.py", line 1066, in create_data_table
    self.dataTable = DataFrameView(self, self.dataModel,
  File "/usr/lib/python3.10/site-packages/spyder/plugins/variableexplorer/widgets/dataframeeditor.py", line 532, in __init__
    self.setHorizontalScrollMode(1)
TypeError: 'PySide2.QtWidgets.QAbstractItemView.setHorizontalScrollMode' called with wrong argument types:
  PySide2.QtWidgets.QAbstractItemView.setHorizontalScrollMode(int)
Supported signatures:
  PySide2.QtWidgets.QAbstractItemView.setHorizontalScrollMode(PySide2.QtWidgets.QAbstractItemView.ScrollMode)

But from Pyside2 "setHorizontalScrollMode" documentation everything seems to be all right.
I have tried different versions of Spyder (right now I have Python 3.10.1 64-bit | Qt 5.15.2 | PySide2 5.15.2 | Linux 5.12.6-1-ck ), maybe the problem is PySide2. It is doing it about since a couple of weeks ago.

Hey @ElMastro, thanks for reporting. I can't reproduce this problem with Python 3.8 and PySide2 5.15. And unfortunately, I can't install PySide2 for Python 3.10 using pip to test.
You said

maybe the problem is PySide2. It is doing it about since a couple of weeks ago.

Yeah, that's most probably the case. PySide2 is experimental, so not assured to work flawlessly.

Please try to change this line
self.setHorizontalScrollMode(1)

in spyder/plugins/variableexplorer/widgets/dataframeeditor.py for this one
self.setHorizontalScrollMode(QAbstractItemView.ScrollPerPixel)

(importing QAbstractItemView from QtWidgets first, of course). That could help.
If not, please downgrade to Python 3.9 if you want to keep using Pyside2, or switch to PyQt5.

My system says that QtWarning can't be imported,
I believe my PySide2 package is damaged. I would like to pass to PyQt5, but qtpy package doesn't recognize it:
"  File "/usr/lib/python3.10/site-packages/qtpy/init.py", line 216, in
raise PythonQtError('No Qt bindings could be found')
"
I would like to try it if I could make it work

Da: Carlos Cordoba @.>
Inviato: giovedì 6 gennaio 2022 04:54
A: spyder-ide/spyder @.>
Cc: ElMastro @.>; Mention @.>
Oggetto: Re: [spyder-ide/spyder] Variable explorer crash on dataframes (Issue #17139)
Hey @ElMastrohttps://github.com/ElMastro, thanks for reporting. I can't reproduce this problem with Python 3.8 and PySide2 5.15. And unfortunately, I can't install PySide2 for Python 3.10 using pip to test.
You said
maybe the problem is PySide2. It is doing it about since a couple of weeks ago.
Yeah, that's most probably the case. PySide2 is experimental, so not assured to work flawlessly.
—
Reply to this email directly, view it on GitHubhttps://github.com/spyder-ide/spyder/issues/17139#issuecomment-1006264489, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKYXXCUYHCBQZN2T6K74763UUUHA3ANCNFSM5LKIRUPA.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID: @.***>

I believe my PySide2 package is damaged. I would like to pass to PyQt5, but qtpy package doesn't recognize i

Do you have PyQt5 installed?

Yes, I installed it yesterday evening. Unfortunately seems like qtpy searches for Pyside, and exporting "QT_API=qtpy5" doesn't make it change its idea...
Il 7 gen 2022, 00:53 +0100, Carlos Cordoba @.***>, ha scritto:

I believe my PySide2 package is damaged. I would like to pass to PyQt5, but qtpy package doesn't recognize i
Do you have PyQt5 installed?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.Message ID: @.***>

Then remove Pyside2 to see what happens.

Mr Cordoba,
there is amisunderstanding, what I've done is:
-I installed Qtpy5
-I removed  PySide2 and Pyside2-tools
-Now wehn I run spyder it says:
"Traceback (most recent call last):
File "/usr/bin/spyder", line 33, in
sys.exit(load_entry_point('spyder==5.2.0', 'gui_scripts', 'spyder')())
File "/usr/lib/python3.10/site-packages/spyder/app/start.py", line 232, in main
from spyder.app import mainwindow
File "/usr/lib/python3.10/site-packages/spyder/app/mainwindow.py", line 41, in
requirements.check_qt()
File "/usr/lib/python3.10/site-packages/spyder/requirements.py", line 47, in check_qt
if parse_version(actual_ver) < parse_version(required_ver):
File "/usr/lib/python3.10/site-packages/pkg_resources/init.py", line 114, in parse_version
return packaging.version.Version(v)
File "/usr/lib/python3.10/site-packages/packaging/version.py", line 296, in init
match = self._regex.search(version)
TypeError: expected string or bytes-like object

Da: Carlos Cordoba @.>
Inviato: venerdì 7 gennaio 2022 15:30
A: spyder-ide/spyder @.>
Cc: ElMastro @.>; Mention @.>
Oggetto: Re: [spyder-ide/spyder] PySide2 error when viewing dataframes (Issue #17139)
Then remove Pyside2 to see what happens.
—
Reply to this email directly, view it on GitHubhttps://github.com/spyder-ide/spyder/issues/17139#issuecomment-1007449313, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKYXXCVQEZDVZKUVWKJEZBDUU32JRANCNFSM5LKIRUPA.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID: @.***>

This part of your error
  File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 114, in parse_version
    return packaging.version.Version(v)
  File "/usr/lib/python3.10/site-packages/packaging/version.py", line 296, in __init__
    match = self._regex.search(version)
TypeError: expected string or bytes-like object

indicates that there's a problem either with the pkg_resources package provided by your Linux distro or perhaps with QtPy one.
What command did you use to install Spyder?

I installed it compiling the AUR Package spuder-git, which runs a setup py file. However I just tested the compiled package installed with pacman (my package manager in archbang). Maybe the problem is with Qtpy?
Il 7 gen 2022, 22:38 +0100, Carlos Cordoba @.***>, ha scritto:

This part of your error
File "/usr/lib/python3.10/site-packages/pkg_resources/init.py", line 114, in parse_version
return packaging.version.Version(v)
File "/usr/lib/python3.10/site-packages/packaging/version.py", line 296, in init
match = self._regex.search(version)
TypeError: expected string or bytes-like object
indicates that there's a problem either with the pkg_resources package provided by your Linux distro or perhaps with QtPy one.
What command did you use to install Spyder?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.Message ID: @.***>

Nop, that's not the problem either: I installed Spyder with PyQt 5.15 and QtPy 2.0 in Python 3.8 and it's working without problems.
Please report this problem with your Linux distro maintainers because it seems to be caused by it. If you want to use Spyder with a set of dependencies that's tested to work, please use Anaconda or pip in a virtualenv (Linux distros usually break Spyder by forcing it to work with dependencies it's not prepared to work with).

Mr Cordoba, maybe that if I run
'pip install pyqt5 qtpy spyder' it would reinstall everything and  make it work?
Il 9 gen 2022, 18:18 +0100, Carlos Cordoba @.***>, ha scritto:

Nop, that's not the problem either: I installed Spyder with PyQt 5.15 and QtPy 2.0 in Python 3.8 and it's working without problems.
Please report this problem with your Linux distro maintainers because it seems to be caused by it. If you want to use Spyder with a set of dependencies that's tested to work, please use Anaconda or pip in a virtualenv (Linux distros usually break Spyder by forcing it to work with dependencies it's not prepared to work with).
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.Message ID: @.***>

Yes, but using a virtualenv.

Mr. Cordoba,
I am incredibly sorry; I would like to apologize, because I found how to solve the problem:
In the end it resulted that it was as you said, I run
"pip uninstall qtpy pyqt5" an installing everything anew made the problem disappear;
Thank you for your time,
Marco

Da: Carlos Cordoba @.>
Inviato: domenica 9 gennaio 2022 21:59
A: spyder-ide/spyder @.>
Cc: ElMastro @.>; Mention @.>
Oggetto: Re: [spyder-ide/spyder] PySide2 error when viewing dataframes in Python 3.10 (Issue #17139)
Yes, but using a virtualenv.
—
Reply to this email directly, view it on GitHubhttps://github.com/spyder-ide/spyder/issues/17139#issuecomment-1008422515, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKYXXCQJ3CB2V5QKDRKEQATUVHZM5ANCNFSM5LKIRUPA.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID: @.***>

Hey @fumitoh, yes, please do submit a PR. And thanks a lot for your help!


Update hook scripts

Updated the scripts that run behind the scenes:

user gives input answers to cookiecutter.json
pre_gen_project.py runs and validates inputs (email, repo name, email name)
files are templated
post_gen_project.py runs

initialises the git repo
checks out main
does initial commit
tags it
removes RTD files if RTD not specified

The main change in content from MolSSI's is checking out main, since it just seems easier to settle on one convention.

Hello @lilyminium! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file hooks/post_gen_project.py:

Line 16:1: E302 expected 2 blank lines, found 1
Line 62:1: W293 blank line contains whitespace

In the file hooks/pre_gen_project.py:

Line 10:1: E302 expected 2 blank lines, found 1