How to populate the content to a table HTML?

I wonder if I can advise how I can fill the content of the table Rethink , regardless of the number of rows contained .
Following your example , try to tables but I have no success , all the records contained in the sample Rethink me in only one row
Html Code
<!doctype html>

        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <title>Gorethik </title>
        <link rel="stylesheet" href="/css/main.css">

SAS

                  <form method="POST" action="/new">
                    <input name="text" id="new-todo" placeholder="What needs to be done?" autofocus>
                </form>

{{range .Items}}

                				{{.}}

                	{{end}}

                        All

                        Active

                        Completed

                Clear completed

Double-click to edit a todo

JS Code
function connect(path, TableJSON, columnID, container) {
    var ws = new WebSocket("ws://localhost:8085/WS/"+path);
    var list = $("#todo-list");

    ws.onmessage = function(e) {
        var data = JSON.parse(e.data);

        if (data.old_val === null && data.new_val !== null) {
            // new item
            var item = data.new_val;
            var thead = false;
            var theaders = "";

            $('#'+container+'tbody').empty();
            $('#'+container+'thead').empty();
            $('#'+container+'tfoot').empty();

            $.each(TableJson,function(row,data_column){
            	var html_init_tr ="
";
            	var html_row = "";

            	$.each(data_column,function(column,value){
            		if(colum == columnID){
            			html_init_tr = "
";
            		}
            		html_row = html_row+""+""+item.items+""+"	";
            		if(thead == false){
            			theaders = theaders+''+column'	';
            		}
            	});
            	thead = true;
            	html_row = html_init_tr+html_row+"
";
            	$('#'+container+'tbody').append(html_row);
            });
            $('#'+container+'thead').append('
'+theaders+'
');
            $('#'+container+'tfoot').append('
'+theaders+'
');

        } else if (data.old_val !== null && data.new_val === null) {
            // deleted item
            var item = data.old_val;
            $("[data-id='"+item.id+"']").remove();
        } else {
            // updated item
            var item = data.new_val;
            $("[data-id='"+item.id+"']").attr("class", item.Status);
        }
    };
}

Hoping you can support me with this, thank you very much .

Hi @iAdolph, I am not really sure what your question is here, could you provide some more information?

Hi Dan , if you look in your TodoList example , the values are inserted into a list. Well my intention is to show the information in a table, but with the condition that display all the values in a table without having to set the headers of the table shown (Id, Text, Status).
I hope to be clearer , and excuse my English....

Thanks @iAdolph, I think I understand what you are trying to do, what results are you seeing currently?

I believe you need to change the {{.}} to the field name you want to be showing?
this:
{{.}}

to something like:
{{.Body}}

sidenote: remember in golang all fields that are lowercase are private.

If , now total 3 rows shown in a Id + Text + Status alone, but the intention is that each record is in each row for each column

From these values, would show as follows :
----------------------------------------------------------| ----------------------- | ------------------|
Id                                                 |           Text           |        Status     |
---------------------------------------------------------- | ---------------------- | ------------------ |
40bedeb1-b5ac-488a-8e78-379da123be81  |  Hello Seahorse      active
I wrote this code...
table.append(""+         	"
"+         		""+         			""+item.Text+""+         		"	"+         		""+     			"	"+item.Status+""+     			"	"+         	"
"+         	"");
And if it works , but if a new column is created , my code would have to modify and add the header , so I would like it to be dynamic...
Regards...

I would suggest changing the data structure used for Items to a map to allow for easier iteration as it looks like one issue you currently have.
Regarding the JavaScript issue you are having I am not too sure how to help without seeing more code however I think StackOverflow would be a better place to ask that question.


New version feedstock update order

Comment:
I believe releasing a new version of vulkan starts here. However, there are a few linked repositories that must be released in lock-step
Once the headers are released, the following repos should be rebuilt:

vulkan-loader
vulkan-tools
more to come

I'm not sure if there an easier way to do these kind of lockstep updates.

I'm not sure if there an easier way to do these kind of lockstep updates.

Perhaps it is a bit late for this, but I wonder if with a bit of insight it could make more sense to have all the main vulkan package in a single feedstock (even if they are part of different repos), so that they could be bumped together. The main rationale is that even if they are different repos, they are always tagged together.

With the unmaintainabikity of qt and pytorch I'm very scared of mega recipes.
It also makes it very hard for new contributors to help.....

Tangentially related: are "meta" recipes something that conda-forge usually entertains? It was something I was going to suggest once I was done with a couple of more vulkan-related packages. If there was something like a vulkan-sdk package that would be versioned to install all of the packages of the same version number, that'd improve ergonomics for vulkan devs.


Integrate CUDA with mining

If we add the cuda feature flag to snarkvm-algorithms dependency, we get cuda support. Blocking on snarkvm 0.7 merge.

any updates?

Closing, as it's already available in testnet2.


Error (Xcode): ../../.pub-cache/hosted/pub.dev/awesome_notifications-0.7.5-dev.2+1/lib/src/utils/resource_image_provider.dart:61:19: Error: The argument type 'ImmutableBuffer' can't be assigned to the parameter type 'Image'.

Rules

To report a bug and help us to provide the solution as fast as possible, please follow the instructions below:
1 - Describe the bug
Error (Xcode): ../../.pub-cache/hosted/pub.dev/awesome_notifications-0.7.5-dev.2+1/lib/src/utils/resource_image_provider.dart:61:19: Error: The argument type 'ImmutableBuffer' can't be assigned to the parameter type 'Image'.
2 - Provide us as much information as possible

Hi @kashiflab! You need to update your flutter to 3.10, because this Image decoder is now deprecated on  newest flutter stable release.

Issue resolved??

Issue resolved??

@Moammar1498 please upgrade to the latest version


[P2P] Router bootstrapping

Objective
Clarify bootstrapping requirements, constraints sufficient to align on "correct" behavior and realize "low-hanging" optimization opportunity.
Origin Document
Questions surfaced while working on #732 & #694.
Goals

Clarify bootstrapping "success"/"failure" conditions
Reduce time to bootstrap (or fail) in router implementations
Consider how bootstrapping status is signaled to other modules (esp. if we plan on removing the FSM)
Account for TTL-base nature of libp2p peerstore

flowchart

start[Node Startup]
subgraph persStart[Persistence Module Start]
    hasState{Does this node already\nhave some state?}
    gen(["Genesis hydration\n(initial staked actor\nidentities nadded to state)"])
end

hasState --"NO"--> gen

subgraph p2pStart[P2P Module Start]
    subgraph l[Libp2p Host Setup]
        ll([Libp2p host\nlistening])
    end
    subgraph sar[Staked Actor Router Setup]
        sarHandle([Staked actor router\nprotocol handler\nregistered])
    end
    subgraph usar[Unstaked actor Router Setup]
        usarDisc([Unstaked actor DHT peer\ndiscovery start])
        usarHandle([Unstaked actor router\nprotocol handler\nregistered])
        usarGossip([Unstaked actor router\nGossipsub setup])
    end
end

l --> sar
sar --> usar

bs[P2P Bootstrapping Start]

isBSNode{Is this node\nconfigured as a\nbootstrap node?}

start --> persStart
persStart --> p2pStart
p2pStart --> bs
bs --> isBSNode
isBSNode --"NO"--> bsProg
isBSNode --"YES"--> bsBSNode

firstBS --> bsReachable
bsReachable --"YES"--> rpc

subgraph bsProg[RPC bootstrapping]
    firstBS[Considering first configured bootstrap node]
    rpc([Get staked peers from\n`rpcPeerstoreProvider`\nusing bootstrap node])
    isStaked{Is this node a\nstaked actor?}

    firstPeer[Considering first peer]
    nextPeer[Considering next peer]
    peerReachable{Is the current\npeer healthy?}
    morePeers{Are there more peers?}

    bsReachable{"is the current\nbootstrap node healthy?"}

    addStaked([Add peer to\nstaked actor router])
    addUnstaked([Add peer to\nunstaked actor router])
    addLibp2p([Add peer to libp2p host])
    con([Attempt to connect])

    minbs{are >= 4 peers\nconnected?}
    bsRetry(["Retry"])
    bsAttempts{"Max attempts\nreached for this\npeer?"}

    moreBS{Are there more\nconfigured\nbootstrap nodes?}
    nextBS[Considering next\nbootstrap node]
end

minbs --"NO"--> bsFail
minbs --"YES"--> bsDone

bsReachable --"NO"--> nextBS
rpc --> firstPeer

firstPeer --> peerReachable
peerReachable --"YES"--> isStaked
isStaked --"YES"--> addStaked
isStaked --"NO"--> addUnstaked
addStaked --> addUnstaked
addUnstaked --> addLibp2p
peerReachable --"NO"--> nextPeer
nextPeer --> peerReachable
addLibp2p --> con
con --"success"--> morePeers
morePeers --"NO"--> moreBS
morePeers --"YES"--> nextPeer
con --"error"--> bsAttempts

nextBS --> bsReachable

bsFail --> nodeFail
bsAttempts --"NO"--> bsRetry
bsAttempts --"YES"--> nextBS

bsRetry --> con

moreBS --"NO" --> minbs
moreBS --"YES"--> nextBS

subgraph bsBSNode[Bootstrap node setup]
    gps["Get staked peers from\n`persistencePeerstoreProvider`\n(last known state; possibly genesis\nor a snapshot)"]
    addAllStaked([Add peers to\nstaked actor router])
    addAllUnstaked([Add peers to\nunstaked actor router])
    addAllLibp2p([Add peers to libp2p\nhost peerstore])
    isStaked2{Is this node a\nstaked actor?}
end

gps --> isStaked2
isStaked2 --"YES"--> addAllStaked
isStaked2 --"NO"--> addAllUnstaked
addAllStaked --> addAllUnstaked
addAllUnstaked --> addAllLibp2p
addAllLibp2p --> bsDone

bsFail["P2P Bootrapping Failure"]
nodeFail["Node Startup Failure"]

bsDone["P2P Bootstrapping Success"]

fsm["State Machine Transition\n(`P2P_IsBootstrapped`)"]
rest[...]
bsDone --> fsm
fsm --> rest

Deliverable

[ ] Determine success/failure bootstrapping condition(s) (e.g. when quorum number of known bootstrap nodes are (un)reachable)
[ ] Update P2P docs to describe bootstrapping success and failure scenarios
[ ] Update router bootstrapping implementations respectively
[ ] Support simultaneous dialing of bootstrap nodes with some "max concurrency" (see: #694)
[ ] Design bootstrap status signaling mechanism / convention
[ ] Ensure libp2p peerstore network addresses expire & renew appropriately

Consider using AddressTTL as default
Should staked actor network addresses expire? (see: PermanentAddrTTL)

Non-goals / Non-deliverables

Remove or replace the state machine module

General issue deliverables

[ ] Update the appropriate CHANGELOG(s)
[ ] Update any relevant local/global README(s)
[ ] Update relevant source code tree explanations
[ ] Add or update any relevant or supporting mermaid diagrams

Testing Methodology

[ ] All tests: make test_all
[ ] LocalNet: verify a LocalNet is still functioning correctly by following the instructions at docs/development/README.md
[ ] k8s LocalNet: verify a k8s LocalNet is still functioning correctly by following the instructions here

Creator: @bryanchriswhite
Co-Owners:

@bryanchriswhite I have not done a deep dive into it, but am aware that libp2p has it's own opinion, approach and tooling to bootstrap (e.g. [1]). Questions are:

Are you aware of it and/or have looked into it?
Is it one of the potential options we are, or should, consider?

[1] https://discuss.libp2p.io/t/how-to-create-bootstrap-node-correctly-always-searching-for-other-peers/1389

@bryanchriswhite I have not done a deep dive into it, but am aware that libp2p has it's own opinion, approach and tooling to bootstrap (e.g. [1]). Questions are:

Are you aware of it and/or have looked into it?
Is it one of the potential options we are, or should, consider?

[1] https://discuss.libp2p.io/t/how-to-create-bootstrap-node-correctly-always-searching-for-other-peers/1389

@Olshansk, I am aware of  and we are using the go-libp2p-kad-dht package to facilitate unstaked actor (aka background) router bootstrapping. However, until we go libp2p-native with respect to at least peer IDs (and possibly network addresses), we have to ensure that both routers can map a given pokt address to its corresponding public key. Everything is in terms of pokt address at the highest level at the moment which adds this otherwise unnecessary layer of complexity.


Fix: unable install in locale != en_US

issue
Unable to install concrete5 v8.1 when you choose locale other than en_US.

Administrators group is installed in \Concrete\Core\Package\StartingPointPackage::add_users with translated group name. However, existence check in \Concrete\Core\Backup\ContentImporter\Importer\Routine\ImportPermissionsRoutine::import is run with untranslated group name. We should use translated or untranslated group name in all cases.
If concrete5 can't find Administrators group in install routine, it tries to create a new group from node value of xml file, but it fails due to typo in ImportPermissionsRoutine class.
Group descriptions can not be null, so I think we should add description attribute on each group node in xml file.

concrete5 Version
Core Version - 8.1.0a1
Version Installed - 8.1.0a1
Database Version -<PHONE_NUMBER>0000
PHP Version
5.6.27
Errors

I'd keep in the database the untranslated names, and translate them only in views: it's better for multilingual installations

@mlocati I agree with you. I changed ImportPermissionsRoutine class because this pull request is hotfix. However, I think more better way is don't use tc() in \Concrete\Core\Package\StartingPointPackage::add_users.

@hissy Yeah, I think I agree with your comment and with mlocati; I think we should remove the tc() from add_users. Would you modify your pull request to do that @hissy instead?

OK, I'll send a new pull request to remove tc from StartingPointPackage.

Move to #4955


October duplicate day Problem

Its an awesome calendar. But Im having problems with october days. Every year, there is a day that is duplicate in october and it appears  30 days when should be 31 .I saw the same problem at your examples page. See the screenshot.  Im using Firefox 49.0.1 and IE 11.

Using google chrome Version 53.0.2785.116 i dont see the duplicate day, but it still show 30 days on october, instead of 31.  See screenshot.

Same here. October with 30 days instead of 31. Anyone have a solution?


Docs + cleanup

It seems there is a security issue with dependency Azure.Storage.Blobs: https://github.com/FrendsPlatform/Frends.AzureBlobStorage/security/dependabot/3.
Please update the dependency to version 12.13.0. Also remember to update task version.
You can also close PR #21 afterwards.


Change nnbench.reporter file to submodule, add base reporter

The interface has been scratched in a GitHub issue previously, this is its (tentative) implementation.
It's not yet to be considered stable, and we will likely defer v0.2.0 until at least either a file or database reporter has been implemented.
Since the added benchmark record merge has raised the question of how we want to treat heterogeneous contexts, we should consider adding a proper Context object in a follow-up.
This is mostly a restructuring, so no new tests.

Questions (among others):

Do we keep the _record suffix if the input is named record(s)?
Do we keep .report() for backward compatibility (maybe only aliasing it to write())?


Exceptions should be caught as const.

Add a holder for the registry key to ensure it is always cleaned up when it goes out of scope.
Pull Request Checklist
Please leverage this checklist as a reminder to address commonly occurring feedback when submitting a pull request to make sure your PR can be reviewed quickly:
See the detailed list in the contributing guide.

[x] C++ Guidelines
[x] Doxygen docs
[x] Unit tests
[x] No unwanted commits/changes
[x] Descriptive title/description

[x] PR is single purpose
[x] Related issue listed

[x] Comments in source
[x] No typos
[x] Update changelog
[x] Not work-in-progress
[x] External references or docs updated
[x] Self review of PR done
[x] Any breaking changes?

Exceptions should be caught as const.

Worth adding this to the guidelines?

Add a holder for the registry key to ensure it is always cleaned up when it goes out of scope.

This seems like the more appropriate PR title, given the extent of the changes :)

Exceptions should be caught as const.

Worth adding this to the guidelines?

This is more of a advisory thing, rather than mandatory, right? Because sometimes we need to change the exception, so it cannot be caught by const.

Exceptions should be caught as const.

Worth adding this to the guidelines?

This is more of a advisory thing, rather than mandatory, right? Because sometimes we need to change the exception, so it cannot be caught by const.

There is a performance benefit to catching const so it is desired.  It would be desired if we always caught const but there are some cases where exceptions are modified with addtional details and rethrown.  I assume your scenario falls into the latter.  @Jinming-Hu  can you add a link to your specific scenario, it will help me when I add the "should catch const" to the guidelines.


The Entity to which a Component is attached is not reset when removing a component from an entity

When you remove a component from an Entity, then the component stays attached to the Entity.
This prevents you from adding that component to another entity.
Observe in https://github.com/Cardshifter/Cardshifter/blob/develop/cardshifter-modapi/src/main/java/com/cardshifter/modapi/base/Entity.java the following code:
public Entity addComponent(Component component) {
    components.put(component.getClass(), component);
    component.setEntity(this);
    return this;
}

And the following:
public void removeComponent(Class<? extends Component> component) {
    this.components.remove(component);
}

In the removeComponent a component.setEntity(null) call should be made.

Agreed, it is a bug. But note that normally, you're not really expected to add and remove the same component on an entity. After removing a component, it would make more sense to add a new component.

Not that I really expect it to be used much, but this has now been fixed.


Repeat rendering in terminal panel after resizing and scrolling

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.95.0 (user setup)
OS Version: Windows_NT x64 10.0.22631

Steps to Reproduce:
https://github.com/user-attachments/assets/1e2e32c7-4f83-4b43-8a44-e17350900d4e

Input something
Resize the terminal panel
Scroll
Repeat 2 and 3

I have the same issue when opening & resizing vertical tabs:

This issue seems to originate from an upstream component and is not something VSCode can fix by making a change to our code. As such, I will go ahead and close it. Please try to reproduce in Windows Terminal and report to microsoft/terminal with repro steps.
If you cannot reproduce in Windows Terminal, chances are it's fixed in a later version of Windows. You can read more about how we consume conpty here. Thanks for understanding.
/label upstream terminal-conpty windows


KAFKA-3334: Add a note on potential message loss while using auto top…

…ics creation.

@gwenshap another trivial patch, would appreciate your feedback. The JIRA has some discussion that might be of some interest.

@SinghAsDev I don't think its enough to simply add a documentation warning, we should be able to avoid the message loss right? If we propagate a retryable error, would the client retry the send?

@granthenke broker does propagate a retryable error for LeaderNotAvailableException. However, if topic creation takes longer or metadata is not successfully fetched for the topic within max.block.ms, the send will fail.


[material] Add missing classes for Slider InputLabel InputBase Radio

closes:  https://github.com/mui/material-ui/issues/38397

[x] I have followed (at least) the PR section of the contributing guide.

Hey @sai6855, thanks for working on this!
We discussed the original issue: https://github.com/mui/material-ui/issues/38397#issuecomment-1673503819.
The conclusion is that the standard will not add the default value for the classes. Custom prop values classes should be added, though, so the code should look like
size !== defaultValue && `size${capitalize(size)}`

With defaultValue being "medium" for the Radio, Slider and InputBase; and "normal" for InputLabel
Can you update this PR accordingly? Thanks, and sorry for the confusion; I didn't know the convention when I opened the original issue.

@DiegoAndai Update PR as suggested.
Since Slider , InputBase, InputLabel already have tests which covered size=small class, i didn't added any new.
here are the existing tests: Slider, InputBase, InputLabel

hey @DiegoAndai can this PR be merged or do you see any changes needed?


Remove rank information

Per sponsorship team discussion, since we have https://github.com/pycontw/pycontw-postevent-report-generator/issues/19 , we will only reveal the rank information to the internal sponsorship team first and manually decide if we are going to reveal the corresponding information to the target sponsor proactively.

Implemented in the master.


create small trait for output stream

it should basically just have fn write_char, fn write_str, and flush.
In Output, write_line or whatever it's called (the main thing) should be parameterized on a func so that it can write either a char or a string.
This is definitely a micro-optimization! It might not even be an optimization, if the compiled size increases. Who knows.
I'm going to file it now so that I clear it from my brain. There's a good chance I won't do it.

Actually, I think I will do this.
One big thing it gives me is nicer debugging: if the Output<W> is an Output<String> instead of Output<Vec<u8>>, I can much more easily see it as it's being built.


example to use keyword arguments

I will make example to use keyword arguments.

I merged https://github.com/atinfinity/tiny_pybind_example/pull/8. So, I closed this issue.


hub: command not found

Hi there, great repo by the way. I tried to use your repo but am encountering an issue. I don't see where you are putting the node version but when my GitHub Actions run it fails and I see the message below.
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: peaceiris/actions-gh-pages@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

Hi. Those warnings are coming from the deployment action (https://github.com/peaceiris/actions-gh-pages) and they can probably be safely ignored.
resume-md is actually a really simple application that just runs two CLI commands to convert the markdown to stylized HTML and PDF:
https://github.com/siph/resume-md/blob/105a14b5ae7342dc8e9850eec5d622eb008cdc11/flake.nix#L26-L33
It doesn't actually include any built-in web-servers, it just uses GitHub Actions to host the file that gets generated. Dependabot should automatically create PRs to update these actions (like this: https://github.com/siph/resume-md/pull/6), so you shouldn't need to manually update them either.
More importantly, this isn't why your build is failing. Actually, the web deployment is working fine: https://nhkk.github.io/my-resume/
You build is only failing to make a release. For some reason, the hub command isn't found, even though it should be installed on every github runner.
I'm not sure why. It doesn't seem like anything else is broken, but in the meantime you can still download the PDF, HTML, and MD files from the artifacts tab:

Thank you so much.


fix: shot message

:tada: This PR is included in version 1.3.1 :tada:
The release is available on:

v1.3.1
v1.3.1
GitHub release

Your semantic-release bot :package::rocket:


Add mramonleon as a developer for support core plugin

Description

https://github.com/jenkinsci/support-core-plugin
@varyvol, @batmat, @dwnusbaum
Submitter checklist for changing permissions

Always

[x] Add link to plugin/component Git repository in description above

When adding new uploaders (this includes newly created permissions files)

[x] Make sure to @mention an existing maintainer to confirm the permissions request, if applicable
[x] Use the Jenkins community (LDAP) account name in the YAML file, not the GitHub account name
[x] All newly added users have logged in to Artifactory at least once

Merge permission to GitHub repository

[x] Check this if newly added person also needs to be given merge permission to the GitHub repo.

Also given merge permission which I forgot when merging.
[12:10] <+     batmat> | jenkins-admin: o/
[12:10] <@jenkins-adm> | I didn't understand the command
[12:10] <+     batmat> | jenkins-admin: make mramonleon a committer on https://github.com/jenkinsci/support-core-plugin
[12:10] <@jenkins-adm> | Could not find repository:  https://github.com/jenkinsci/support-core-plugin
[12:10] <+     batmat> | jenkins-admin: make mramonleon a committer on support-core-plugin
[12:10] <@jenkins-adm> | Added mramonleon as a GitHub committer for repository support-core-plugin
[12:11] <+     batmat> | jenkins-admin: thanks!
[12:11] <@jenkins-adm> | You're welcome
[12:11] <+     batmat> | jenkins-admin: I owe you a beer
[12:11] <@jenkins-adm> | I didn't understand the command
[12:11] <+     batmat> | jenkins-admin: really?
[12:11] <@jenkins-adm> | Wut?


Allow None value for chunk_size again

Passing in chunk_size=None used to be fine, but started raising a TypeError following the addition of the type check (#3365)

Thanks @joyzheng! :cake:

It may be helpful to reword the docstring on iter_content to fit this functionality. Right now it reads as though the method is intended to avoid reading the contents all at once.
An unintended side effect of chunk_size=None is a failure in iter_slices(). The two code snippets below will both trigger reused_chunks being chosen as the return value of iter_content. The generator is produced by iter_slices which currently requires the chunk_size to be an integer, otherwise it raises a TypeError when trying to add an int and NoneType.
I was going to open a pull request with:
if slice_length is None:
    slice_length = 0

but this creates an infinite loop, since pos never increments. An alternative would be to set slice_length to 1, but I'm not sure if that'll be an IO issue for larger files. It also kind of defeats the point of setting chunk_size=None in the first place.
Examples
def test_stream():
    s = requests.Session()
    req = requests.Request('GET', 'https://httpbin.org/get').prepare()
    resp = s.send(req, stream=False)
    next(resp.iter_content(None))

def test_decode():
    r = requests.Response()
    r.raw = io.BytesIO(b'the content')
    all_content = r.content
    decoded_chunk = next(r.iter_content(None, True))

It may also be worth updating the iter_content docstring to reflect the "readall" behaviour with iter_content(None).

Yeah, good point. I'm not actually sure about all the behavior cases for iter_content(None), since it doesn't always result in reading the entire input; the primary one I've used it for is chunked encoding with stream=True, where setting chunk_size=None iterates chunk-by-chunk.


What is the default font?

Sorry if this has being asked before, But what is the default font you use in Windows and is there a TTF for it?

The default font on Windows is Consolas (built-in) with fallback to Meslo (bundled with Terminus) for characters that are missing in the selected font.


iox-#1394 Fix axivion warnings in attributes.hpp

Signed-off-by: Jeff Ithier<EMAIL_ADDRESS>Pre-Review Checklist for the PR Author

[x] Code follows the coding style of CONTRIBUTING.md
[ ] Tests follow the best practice for testing
[ ] Changelog updated in the unreleased section including API breaking changes
[x] Branch follows the naming format (iox-123-this-is-a-branch)
[x] Commits messages are according to this guideline

[x] Commit messages have the issue ID (iox-#123 commit text)
[x] Commit author matches Eclipse Contributor Agreement (and ECA is signed)

[x] Update the PR title

Follow the same conventions as for commit messages
Link to the relevant issue

[x] Relevant issues are linked
[x] Add sensible notes for the reviewer
[ ] All checks have passed (except task-list-completed)
[x] All touched (C/C++) source code files from iceoryx_hoofs are added to ./clang-tidy-diff-scans.txt
[x] Assign PR to reviewer

Notes for Reviewer

See PR title.
Checklist for the PR Reviewer

[x] Commits are properly organized and messages are according to the guideline
[x] Code according to our coding style and naming conventions
[x] Unit tests have been written for new behavior
[x] Public API changes are documented via doxygen
[ ] Copyright owner are updated in the changed files
[x] All touched (C/C++) source code files from iceoryx_hoofs have been added to ./clang-tidy-diff-scans.txt
[x] PR title describes the changes

Post-review Checklist for the PR Author

[ ] All open points are addressed and tracked via issues

References

Relates to #1394

@ithier #1789 was merged, which unblocks this PR.

@mossmaurice Ready for re-review.
@MatthiasKillat  could you also check this small PR ?


cant create any job in hygieia dashboard

please help to to create jobs in hygieia.

my gihub ang sonar collector are working fine.
my sonar collector fetching project from sonar server BUT
my github collector is not working in Hygieia dashboard (repo type).
NEED HELP.

Are you able to configure the sonar widget?

i have to create sonar widget under code analysis????

where static code ,functional test etc??
cant see any job under their panel..

http://localhost:8080/api/collector/type/SCM navigate here. What does this return?

i have one more question??

which database we are using
1.a dashboard
1.b dashboraddb(documents as well as .properties files)

when im putting in my chrome browser localhost:8080/api/dashboard (its giving json type data)
BUT not in localhost:8080/api/dashboarddb(as per in documents)
PLZ Clear my Confusion.

Lets please fix one thing at a time. What does http://localhost:8080/api/collector/type/SCM return?

http://localhost:8080/api/collector/type/SCM navigate here. What does this return?

i have done this
getting a json format but in that got string type repo.
want github type repo...
HELP!!

Can you just copy and paste the response here.

ok sure

[{"id":"5c1906c0d4c45e1638ad1a90","name":"GitHub","collectorType":"SCM","enabled":true,"online":true,"errors":[],"uniqueFields":{"branch":"","url":""},"allFields":{"password":"","personalAccessToken":"","branch":"","userID":"","url":""},"lastExecuted":1545156600054,"searchFields":["description"]}]

i think its working fine
but cant log into my dahboard.

I am not sure what you mean log into the dashboard? Are you saying you can't login to hygieia?

yes.

green.

Have you try to sign up?

yes. i am admin as well as a dummy user.
but now none is working

Can you screenshot the dashboard page
and post it


Update suggested k8s version

Going with 1.10.9, because the 1.11.x patch releases are more volatile as far as whether or not they're supported

@lisaguthrie : Thanks for your contribution! The author, @zr-msft, has been notified to review your proposed change.

thank you @lisaguthrie
LGTM
#sign-off


Remove dead code

this looks good, but could we merge this one into the next release branch, 0.6.0 ?


Wrapping AoG in Tidier.jl to expose a more 1:1 ggplot interface

Dear AoG package maintainers,
I have recently been working on a package Tidier.jl that aims to bring an R tidyverse-like API to Julia. Here's a link to the package: https://github.com/kdpsingh/Tidier.jl. The package is written using macros and serves as syntactic sugar on top of a DataFrames.jl backend, converting R-like expressions into valid DataFrames.jl code.
At some point, I would like to similarly bring a ggplot2-like interface to the package, again using macros to create an R-like feel. The idea would be that we would replicate R ggplot2 syntax rather than try to diverge from it.
Although we originally considered using Gadfly as a backend for this effort, many folks have suggested we consider AoG instead because Makie is more actively maintained.
I wanted to make sure your team was okay with our wrapping AoG for this effort. I didn't want to step on any toes and wanted to do this in partnership to respect the amazing work you've done. My intent would be to credit AlgebraOfGraphics on our README and on our documentation.
I wouldn't need anything from you. Just wanted to check and make sure this is okay from your standpoint.
Here's our issue tracking this development: https://github.com/kdpsingh/Tidier.jl/issues/66
I appreciate your consideration,
Karandeep

I'll go ahead and close this issue. If you have any questions or concerns, feel free to reach out to me or post an issue on the Tidier.jl repo. Thank you.

Hi, I'm only co-maintainer, but I'm really excited about this! Feel free to ask me any questions, I may not be able to answer them but I definitely hope that this succeeds :)

Thanks @SimonDanisch! We will keep you posted and will reach out if questions!

Hey! Thank you for such a thoughtful introduction.
I think it is a really nice project: many users are used to the R syntax. In my view algebra of graphics is a distinct project from ggplot (both in terms of design choices and surface syntax), but it should have most of the machinery you need to build a ggplot syntax layer on top of it. It could even be nice to make some sort of "cheat sheet" at the end to show how to convert from one syntax to the other.
Of course, if something is unclear feel free to ask! I confess I am not super responsive in this period, but I'll do my best to be of help.
Good luck!

Thanks! Yes, I really like that AoG has made design choices thoughtfully that reflect the Julian context (e.g., ability to use a combination of multiplication and addition to compose plots).
I agree that I think the machinery is there within AoG to expose a ggplot-like syntax and may even serve as a stepping stone to people using AoG directly.
I plan to add a few other data-frame-oriented features to Tidier.jl then will come back to plotting shortly afterwards.
Thanks again!


Predictive IntelliSense for AIShell Not Working

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest version
[X] Search the existing issues.

Steps to reproduce
I am not finding that the Predictive IntelliSense for AIShell is working. When I try to replicate the behavior as demonstratred on AIShell.Integration, I only get recommendations from the Completion predictor.
Expected behavior
I should be able to use the AIShell Predictive IntelliSense provider after using /code post.
Actual behavior
I'm only getting suggestions from the Completion Predictive IntelliSense provider.
Error details
No response
Environment data
> Get-PSSubsystem -Kind CommandPredictor

Kind              SubsystemType      IsRegistered Implementations
----              -------------      ------------ ---------------
CommandPredictor  ICommandPredictor          True {AIShell, Az Predictor, Completion, Windows Package Manager - WinGet}

> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.4.3
PSEdition                      Core
GitCommitId                    7.4.3
OS                             Microsoft Windows 10.0.22631
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Version
0.1.0-alpha.12
Visuals

This issue appears to have been transient and is working as expected now.


Android build issue

Hello,
upon building the android codebase, I get this error:

ERROR: Failed to resolve: co.touchlab.knarch.threads:threads-common:0.2.3

Any ideas?

The samples were super old. I updated the raw sample and removed the sqldelight sample (see Droidcon for a live Sqldelight sample)


Add ability to turn off SQL query logging for Azure Functions

Just wanted to make sure this issue will not get lost during repo migration: https://github.com/microsoft/ApplicationInsights-aspnetcore/issues/980
Inability to turn off SQL logging generates privacy & cost issues

@andrewleader Thx for taking time to describe your solution, unfortunately, it will not solve my problem because I need to log SQL dependencies, just not SQL command text
@lmolkova Any news on that? Also, why following code works on .net core web API hosted on App Service and does not work on Azure Functions (SQL command text is still logged)
    public class SqlQueryTextTelemetryProcessor : ITelemetryProcessor
    {
        private readonly ITelemetryProcessor _next;
        private readonly IConfiguration _configuration;

        public SqlQueryTextTelemetryProcessor(ITelemetryProcessor next, IConfiguration configuration)
        {
            _next = next;
            _configuration = configuration;
        }

        public void Process(ITelemetry item)
        {
            if (_configuration.GetValue<bool>("SqlQueryLoggingIsEnabled") == false)
            {
                var dependency = item as DependencyTelemetry;
                if (dependency?.Type == "SQL")
                {
                    dependency.Data = null;
                }
            }

            _next.Process(item);
        }
    }

@pzbyszynski Can you share how you added SqlQueryTextTelemetryProcessor to the configuration in Azure Functions? I suspect the issue is Azure Functions not picking up your added processor.

@cijothomas
In Startup.cs I add it like so:
builder.Services.AddApplicationInsightsTelemetryProcessor<SqlQueryTextTelemetryProcessor>();

Also, I am using functions V3

@pzbyszynski I just learned from Azure functions that, Functions do not support adding custom telemetry processors. So the above will not work.
We are working with Azure functions to add this support, no ETA yet.

@cijothomas Can you share the issue link so I can subscribe for notifications?

@cijothomas Could not find an issue you were referring to in web-jobs repo. Do you have any updates on that?

I can't find the issue in Functions webjobs, but here's the closest I've found.
https://github.com/Azure/azure-functions-host/issues/3741
There are no updates on this.  @brettsam Can you confirm if telemetryprocessors are still not supported/supported in Functions?

@cijothomas Thx, that is an excellent thread, it describes all the problems I have encountered with Functions & AI

@cijothomas Sorry for bothering but I have constant problems with AI unfortunately.
Some time ago I turned off dependency tracking altogether using "enableDependencyTracking": false in host.json (due to the fact that SQL dependency tracking was generating huge costs for us).
Now I wanted to turn it back on, but it seems like SQL dependency is not tracked at all now. I mean not only SQL text, but no SQL dependencies are being tracked (all other dependencies are tracked correctly). Any idea why it might be so?
Here are my csproj references
  <PackageReference Include="Microsoft.Azure.WebJobs.Extensions.ServiceBus" Version="4.1.1" />
  <PackageReference Include="Microsoft.NET.Sdk.Functions" Version="3.0.7" />
  <PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.14.0" />
  <PackageReference Include="Microsoft.Azure.Functions.Extensions" Version="1.0.0" />
  <PackageReference Include="Microsoft.Extensions.Logging.ApplicationInsights" Version="2.14.0" />
  <PackageReference Include="System.Runtime" Version="4.3.1" />

@pzbyszynski I wish I could help more - but I don't own the Functions integration, and it must be followed up in WebJobs/Functions host repo.
Functions have integrated ApplicationInsights SDK, and support/question for that must be routed directly to Functions repo.
For Application insights usage outside Azure Functions, feel free to post here, and I can help.
I know its frustrating to go back and forth, but I dont have better answer than redirecting folks to Functions repo.

Thx @cijothomas, appreciate your help


Do not recognize floating point literals without radix separator in C

Floating point literals in C must contain a radix separator (dot), even if they have an explicit f suffix. I.e. 1f is not a legal floating point literal.
Neither clang nor gcc accept it:
https://godbolt.org/z/PefbcKaWY (clang)
https://godbolt.org/z/vGYn3zP5Y (gcc)

I'll include it, thanks.


Dev/header

Functionality:
Makes Navbar more funtional.
Solution:
Grouped the create task and start sprint buttons and grouped the board buttons and added button to create team and add members.
Risk level:

[ ] high
[ ] medium
[X] low

How to test:

Use ng serve and see the difference in the Navbar.

Closed because it had commits from two different tasks


Add tests

need to setup tests so that contributing to the repo becomes easier and faster

I can help on this

Hey @amjadraza , thats so great. Please feel free to take a lead on this. Let me know if anything is needed.

@taranjeet I have added the same task in #72. See if we can merge this issue with #72

Lets track test in this issue and for others lets track in #72

Closing this issue, as we already have tests now.


uorb:Update uorb info and uorb topic

Summary

uorb adds interface for getting info
Add some sensor types from aosp( 6dof motion and gesture related types).

Impact
n/a
Testing

Environment:

OS and Version: Ubuntu 20.04.6 LTS x86_64
GCC Version: 13.1.0
SIM: ./tools/configure.sh sim:nsh

Order:

./nuttx

[Experimental Bot, please feedback here]
The provided PR information partially meets the NuttX requirements. Here's a breakdown:
What's Good:

Summary: It outlines the changes (adding a uorb interface and sensor types). However, it could be more descriptive about why these changes are necessary.
Testing:  It provides environment details and basic testing steps.

What Needs Improvement:

Summary:

Missing "Why":  Explain the rationale behind adding the uorb interface and the specific sensor types. What problem does this solve? What new functionality does it enable?
Lack of Detail:  Be more specific about the "uorb interface" – what information does it retrieve?  Similarly, be more precise about the added sensor types (e.g., "Added support for accelerometer, gyroscope, and significant motion detection from AOSP").
References: If this PR addresses any existing issues in the NuttX or NuttX Apps repositories, provide links to those issues.

Impact:  The "n/a" response is too broad. Carefully consider each impact category and provide specific details:

New Feature:  Clearly state that this PR introduces a new feature.
User Impact: Will users need to modify their applications or configurations to use this new interface and sensor types?
Build Impact: Are there any changes to the build system, new dependencies, or configuration options?
Hardware Impact:  Does this PR target specific architectures or boards? Does it introduce support for new sensors?
Documentation Impact:  Does this PR require updates to the NuttX documentation? If so, are these updates included in the PR?
Security Impact: Do these changes introduce any potential security vulnerabilities?
Compatibility Impact:  Does this PR maintain backward compatibility? Are there any implications for forward compatibility or interoperability with other systems?

Testing:

Logs: Instead of just stating "./nuttx," provide relevant snippets from the testing logs that demonstrate the functionality before and after the changes. Highlight the key differences the changes introduced.
Test Cases:  Consider adding more specific test cases that validate:

The uorb interface is accessible and returns the expected data.
The new sensor types are correctly recognized and their data can be retrieved.

In summary: The PR needs more details and context to meet the NuttX requirements fully.  Address the missing information and expand on the existing sections to make your PR informative and easy to review.

accept4 related build error:
nettest_server.c: In function 'nettest_server':
Warning: nettest_server.c:151:14: warning: implicit declaration of function 'accept4'; did you mean 'accept'? [-Wimplicit-function-declaration]

accept4 related build error:
nettest_server.c: In function 'nettest_server':
Warning: nettest_server.c:151:14: warning: implicit declaration of function 'accept4'; did you mean 'accept'? [-Wimplicit-function-declaration]

@gneworld please look at this problem.

accept4 related build error:
nettest_server.c: In function 'nettest_server':
Warning: nettest_server.c:151:14: warning: implicit declaration of function 'accept4'; did you mean 'accept'? [-Wimplicit-function-declaration]

@cederom where do you find the above warning? All error I found from uorb related files from:
https://github.com/apache/nuttx-apps/actions/runs/11050874650/job/30735671643?pr=2603

depend on nuttx  https://github.com/apache/nuttx/pull/13639

accept4 related build error:
nettest_server.c: In function 'nettest_server':
Warning: nettest_server.c:151:14: warning: implicit declaration of function 'accept4'; did you mean 'accept'? [-Wimplicit-function-declaration]

@cederom where do you find the above warning? All error I found from uorb related files from: https://github.com/apache/nuttx-apps/actions/runs/11050874650/job/30735671643?pr=2603

sorry, this is warning, errors come from unknown structs. i need to get some sleep :-P


Tex to SQL , facing hallucination problem

Checked other resources

[X] I added a very descriptive title to this issue.
[X] I searched the LangChain documentation with the integrated search.
[X] I used the GitHub search to find a similar question and didn't find it.
[X] I am sure that this is a bug in LangChain rather than my code.
[X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

Example Code
db = SQLDatabase.from_databricks(catalog=catalog, schema=database,include_tables=table_names )
 llm=ChatDatabricks(endpoint="databricks-mixtral-8x7b-instruct", model_kwargs={"temperature": 0.5, "max_tokens": 1000
,'top_p': 0.7,'error_behaviour':'truncate_input_end','num_return_sequences':1} )
 agent = create_sql_query_chain(llm=llm, prompt=prompt, db=db )
 response=agent.invoke({"question":q ,"top_k":3,"table_info":table_info,"catalog":catalog,"database":database,"dialect":db.dialect})
print(response)

Error Message and Stack Trace (if applicable)
Its not throwing any error but it comes with its own column names or tables which doesnt event exist
Description
Am using the above code to convert NLP to SQL  project ,where am using databricks hosted mixtral instruct 7B  model and passed the catalog,database  and selected list of the tables names , and pass the NLP question to model ,the model is coming up with columns/table names which aren't part of my tables list input and also in addition to that its appending the special chars  to column names.
Note-

i want only the Databricks  SQL as an output response not the results which is why i didn't go thru the SQL agent approach
Also since its Databricks the tables doesn't have Primary keys and foreign keys , so how does the langchain db session assumes about relationships?
Am using fewshot template and even passing the table names along with its column name,datatype corresponding tables event though sql query used will show incorrect tables/columns  in SQL response

System Info
langchain ,databricks-sql-connector,mlflow==2.9.0 are libraries which am using as part of my code.

It's very difficult to help you without you giving additional details about prompt that you are using.


Set up PodDisruptionBudgets for licensify-frontend.

This helps prevent things like node upgrades from messing with our serving availability.
Fix up the label templates to make it easier to reason about labels vs. selector labels and minimise the chance of selector-related mistakes between pods and services, PDBs etc.

No probs! It took me a while to get my head around these boilerplate label templates the first time around (with the earlier GOV.UK stuff) so thought I'd spare you folks the pain of rediscovering it 😅


Move kindnetd manifest to versioned folder

For consistency with other projects building manifests.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/hold

/unhold


Feature/2467 Vectorize Discrete RNGs and a few others

Submission Checklist

[ ] Run unit tests: ./runTests.py src/test/unit
[x] Run cpplint: make cpplint
[x] Declare copyright holder and open-source license: see below

Tests passed: make clean && ./runTests.py -j3 src/test/unit/lang
Summary
Expose (most) discrete and a few straggling continuous RNGs following PR https://github.com/stan-dev/math/pull/833 in a continued effort to fulfill https://github.com/stan-dev/stan/issues/2467.
Intended Effect
Specifically, expose the following RNGs
multi_normal_rng
multi_normal_cholesky_rng
multi_student_t_rng
bernoulli_rng
beta_binomial_rng
binomial_rng
neg_binomial_2_rng
neg_binomial_2_log_rng
neg_binomial_rng
poisson_rng
poisson_log_rng
uniform_rng
von_mises_rng

How to Verify
Tests in src/test/test-models/good/function-signatures/distributions/rngs.stan
Side Effects
None intended.
Documentation
In src/docs/stan-reference/distributions.tex
Copyright and Licensing
Please list the copyright holder for the work you are submitting (this will be you or your assignee, such as a university or company):
California State University, Chico
By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses:

Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

@roualdes  There's a conflict here that needs to get resolved.  I updated all the doc from under your issue for the 2.18 release.  The merge conflict should be minor as not that much changed in the functions doc.

Just attempted some git fu.  Hoping for the best.  Thanks for the quick review.

Looks like one of the jobs timed out.

@roualdes I just restarted it but that's probably not gonna help anything. @seantalts ideas?

Travis timeouts usually are fixed by just restarting that particular job. Fingers crossed!


Implements #27

Adds support for closures

Is this ready to go John? Not a deal breaker but cleaning up some "install" code and would love to get rid of the "copy the entire config file" part of the updater.


[Goodreads] Open in Browser does not work due to Malformed URL

Extension
https://www.raycast.com/puneeth/goodreads
Description
The URL is malformed when opening a book result in browser, with CMD+Enter or the Actions menu.
An extra 'https://www.goodreads.com' is prepended to the URL, breaking the link and resulting in a page not found.
For example, a search for the book "The Name of the Rose" and selecting the top result, outputs a URL of
https://www.goodreads.comhttps//www.goodreads.com/book/show/119073.The_Name_of_the_Rose?from_search=true&from_srp=true&rank=1
Steps To Reproduce

Open Raycast
Use the extension by typing Goodreads and typing the name of the book
Press CMD+Enter (or use the Actions menu to open in browser)

Note the Page Not Found and the malformed URL has an extra "https://www.goodreads.com" prepended to it, breaking the link.

Current Behaviour
See 'Steps to Reproduce' above
Expected Behaviour
For book result to open correctly in Browser

Thanks for reporting @timelessthee. I'll have a fix out soon.

This is now merged, you can run Check for Extension Updates now to see it, otherwise, you'll have it within a few hours 🙂


Migration stage 3 - migrate script module

Start this ONLY when #5 and #6 are closed:

Migrate the script module source code
Update the poms with the required dependencies
Now you have two test levels, each must run in a separate job. Therefore, change the test-java job name to test-ut to run only unit tests in both modules
Add a job to run the integration tests (name: test-it)

Afther closing this, all development must be made in this repository. I will archive the old on-premises repository

There are some issues regarding the class TestUtils from the package test4giis.modevo from the transform module. Currently I cannot access the methods from this class in the testclass TestExecutionScript from the script module. I am currently looking into it.

@suarezgpablo Test classes are independent from the main classes, so, it is normal that you can't access the tests of a module from the tests of another module. This is because dependencies between modules rely on the jar artifacts. By default only main jars are created. You have to create a test jar in the transform module

@suarezgpablo Test classes are independent from the main classes, so, it is normal that you can't access the tests of a module from the tests of another module. This is because dependencies between modules rely on the jar artifacts. By default only main jars are created. You have to create a test jar in the transform module

Would it be similar to hoy I created the jar for the ATL compiler?

@suarezgpablo I think so, using the maven jar plugin as usually.


Alpha status

Is there a roadmap to know when Dank will be production ready? I'm assuming it's in alpha based on the web.
Thanks

Hey @nicolascavallin ,
We are working on this. Will soon release a beta version of dank.style. We are also using dank.style in few of our websites like gluestack-ui website & dank-style website.

Hey @nicolascavallin, we are in beta now :)


Environment variables with an equals sign are not available in linked containers

I'm trying to access an environment variable containing an equals sign in a linked container.
Example:
$ docker run -i -t --rm --name foo -e "FOO=BAR" -e "BAZ=QUX=QUUX" ubuntu /bin/bash
root@073ecccb5a67:/# echo $FOO
BAR
root@073ecccb5a67:/# echo $BAZ
QUX=QUUX

Here is the result when I create a linked container in a separate terminal:
$ docker run -i -t --link foo:foo ubuntu /bin/bash
root@6f8edb5fbf66:/# echo $FOO_ENV_FOO
BAR
root@6f8edb5fbf66:/# echo $FOO_ENV_BAZ

root@6f8edb5fbf66:/#

Am I missing some special handling for the equals sign?

interesting - i can reproduce this... will try to take a look at it....

should have a fix soon- I see it

PR #12783 fixes this

Thanks for the quick turnaround! :+1:

pr #12783 is merged despite a bug in github. so closing this issue.


webpack's named exports not available with Node's ESM resolution

These exports can not be destructured when importing webpack as from an ESM module because Node's static analysis does not detect the named exports. I would suggest assigning to module.exports.<property> directly so Node has an easier time detecting it, or even better convert webpack to ESM (which will work in all supported node versions in 20 days).
// fails with no named export present
import {SourceMapDevToolPlugin} from 'webpack';

// using default export works
import webpack from 'webpack';
const {SourceMapDevToolPlugin} = webpack;

Quotes from link above:

For better compatibility with existing usage in the JS ecosystem, Node.js in addition attempts to determine the CommonJS named exports of every imported CommonJS module to provide them as separate ES module exports using a static analysis process.

The detection of named exports is based on common syntax patterns but does not always correctly detect named exports

Answer in the error:
import pkg from 'webpack';
const {SourceMapDevToolPlugin} = pkg;

We avoid it to improve perf

Node's detection code is at https://github.com/guybedford/cjs-module-lexer. I guess it could be solved on their end too but webpack is making it extra hard on them with that mergeExports function. cc: @guybedford.

I don't think it will be solved cjs-module-lexer., we use getter to avoid extra require

getter is supported but the mergeExports wrapper is not. I guess it would be possible to un-wrap that but the file would probably double in size after that.

There is a hack that esbuild uses here to emit a hint, see https://github.com/guybedford/cjs-module-lexer/pull/46.
I don't personally recommend this approach as it is sensitive to minification, but if that is the final output being executed in Node.js via npm or otherwise it can solve the problem.

I think I can live with only default export being available.


parse_query_string only returns only one instance of a filter specified multiple times.

Issue Summary
Given a query string "term1 term2 filterA:option1 filterA:option2"
When pass to wagtail.search.utils.parse_query_string
Then only filterA:option2 is returned
Steps to Reproduce
from wagtail.search.utils import parse_query_string
parse_query_string( "term1 term2 filterA:option1 filterA:option2")

yields
({'filterA': 'option2'}, <PlainText 'term1 term2' operator='and' boost=1>)

I expect
({'filterA': ['option1', 'option2']}, <PlainText 'term1 term2' operator='and' boost=1>)

Technical details
wagtail: all versions

I suspect fixing this may cause some backwards compatibility issues, being that query_string is a term of art with another meaning on the web, maybe a new  function parse_search_string that returns a new structure would be a possible solution. It would be nice if there were ways to specify operators as well for power users.
Maybe it's worthwhile to consider an implementation based on an existing search syntax like https://github.com/sebastiandev/plyse

@dopry  Can I work with this Issue, You Can Assign It to me

@AbhishekCS3459 its an open source project you're welcome to submit a PR. Normally issues aren't 'assigned' to people as much as people just take them on and resolve them on their own.  You might wait for a maintainer to weigh in on what approach they think would be good to resolve the issue.

@dopry what can be the right suggestion for me, should I wait for the maintainer approach??

Hi @dopry,
Indeed, given the implementation of the separate_filters_from_query function:
https://github.com/wagtail/wagtail/blob/ab05be3bb2d75f7ef2dab227a9b289cd0663a297/wagtail/search/utils.py#L84-L94
only the last value mentioned for a given filter (filterA: option2 in your example) will be taken into account.
When you say that you would expect the output to be:
({'filterA': ['option1', 'option2']}, <PlainText 'term1 term2' operator='and' boost=1>)
this would mean that you would search pages which filterA being equal to 'option1' OR 'option2', correct? Can you give us more details about your use case for this?
Cheers,
Florian

@dopry OK so you want to allow your site's users to search in either body, title, teaser, or a combination of those three?
In that case, perhaps you can form the request to your search endpoint differently, for instance:
GET /search/?query=word+"my+phrase"&fields=body&fields=title
and then, in the view that receives this request, do something like:
query = request.GET['query']
fields = request.GET.getlist('fields')
pages_found = MyPage.objects.search(query, fields=fields)

leveraging the search function's ability to search only in certain fields?

It sounds like we could usefully borrow Django's QueryDict class here, so that any existing code that expects filters to be returned from parse_query_string as a dict of single values can continue to do so, while any new code that wants to handle multiple values for the same filter can use .getlist.
I do also like the idea of adopting something like Plyse so that we aren't reinventing the wheel though!

@gasman  would you get behind a solution that implements QueryDict in the current parse_query_string as a fix to this issue.
While I was excited about plyse last night, it would probably be better to build a broader plan around a plyse implementation and filters/search in general, so that suggestion should maybe be kicked over to an RFC.

@dopry Yep, I think a QueryDict solution is the way forward as an immediate fix for this. My interest in Plyse is more prompted by #9951 / #9966 which feels like it's heading towards the need for a real parser - but there's no need to let this issue become blocked by that.

@AbhishekCS3459 if you want to address this issue create a feature branch, and update the code useing a QueryDict to store the filters, and update the tests to confirm it supports single and multiple filters, and open a PR.  If you need any guidance on development open a draft PR with your work in progress and ping me. I'll try my best to help you, as I have availability.

@AbhishekCS3459  are you still working on it? let me know if you need any help or you wanna transfer this to me?

@salty-ivy Yes I currently working in this and will be updating soon.

additional context https://github.com/wagtail/wagtail/pull/9966

in search/utils.py
https://github.com/wagtail/wagtail/blob/7a7bbfa6cf11419c9e98569f31dcfa018f0bb7b7/wagtail/search/utils.py#L90
you just need to add some conditions
  for match_object in re.finditer(filters_regexp, query_string):
        key, value = match_object.groups()
        if filters.get(key) is None:
            filters[key] = (
                value.strip('"') if value.strip('"') is not value else value.strip("'")
            )

        elif not isinstance(filters.get(key),list):
            filters[key] = [filters[key]]
            filters[key].append(
                value.strip('"') if value.strip('"') is not value else value.strip("'")
            )
        else:
            filters[key].append(
                value.strip('"') if value.strip('"') is not value else value.strip("'")
            )

this is working fine locally, make sure to test a bit more rigorously and ofc writing tests for them.
also have another look if you can optimize/ minimise the code logically.

Fixed in #10342


python310Packages.aioridwell: 2023.07.0 -> 2023.08.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.aioridwell is: Python library for interacting with Ridwell waste recycling
meta.homepage for python310Packages.aioridwell is: https://github.com/bachya/aioridwell
meta.changelog for python310Packages.aioridwell is: https://github.com/bachya/aioridwell/releases/tag/2023.08.0
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2023.08.0 with grep in /nix/store/41fklih3qzlbsysakp55hr16lzr9l5n0-python3.10-aioridwell-2023.08.0
found 2023.08.0 in filename of file in /nix/store/41fklih3qzlbsysakp55hr16lzr9l5n0-python3.10-aioridwell-2023.08.0

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

3 package rebuild(s)

First fifty rebuilds by attrpath
home-assistant-component-tests.ridwell
python310Packages.aioridwell
python311Packages.aioridwell

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/41fklih3qzlbsysakp55hr16lzr9l5n0-python3.10-aioridwell-2023.08.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.aioridwell https://github.com/r-ryantm/nixpkgs/archive/f4d322550704180df3c43dd68c0c3970de12556f.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/41fklih3qzlbsysakp55hr16lzr9l5n0-python3.10-aioridwell-2023.08.0
ls -la /nix/store/41fklih3qzlbsysakp55hr16lzr9l5n0-python3.10-aioridwell-2023.08.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

3 packages built:

home-assistant-component-tests.ridwell
python310Packages.aioridwell
python311Packages.aioridwell

Maintainer pings
cc @fabaff for testing.

Result of nixpkgs-review pr 252080 run on x86_64-linux 1

5 packages failed to build:

home-assistant-component-tests.ridwell
python310Packages.aioridwell
python310Packages.aioridwell.dist
python311Packages.aioridwell
python311Packages.aioridwell.dist

Result of nixpkgs-review pr 252080 run on x86_64-linux 1

5 packages built:

home-assistant-component-tests.ridwell
python310Packages.aioridwell
python310Packages.aioridwell.dist
python311Packages.aioridwell
python311Packages.aioridwell.dist


Add postSetup hook

Why?
I'd like some sort of hook which Factory Guy would run after set up has occurred for each test, i.e. manualSetup. Rather than have to add logic to each individual unit, integration and acceptance test and I'd like to be able to set it in a single place, for example in tests/test-helper.js. In my particular use case what I want to do is get access to the Pretender instance and set custom unhandledRequest or erroredRequest handlers.
How?
I've added a new property FactoryGuy#postSetup which is set through the settings hash
FactoryGuy.settings({
  postSetup() {
    // my custom logic
  }
});

// in manualSetup
FactoryGuy.postSetup();

I'm not tied to the postSetup name so if you have any better suggestions? Also if you know of a way to achieve this without needing to add this PR I'd love to know.

So I was hoping not to have to write our own wrapper function 😄 but I see how this could work. How would this interact with the initializer that calls manualSetup? Will there be any weirdness calling manualSetup twice in acceptance tests?

yes there would be weirdness Pat ( and is highly not recommended ) , but what is the use case for calling manual setup 2 times .. me confused

i can screenshare or something if you want to explain more or have odd use case ?

In acceptance tests isn't manualSetup called here https://github.com/danielspaniel/ember-data-factory-guy/blob/2bfac38cfc02afa5c876523157fff35d4638ff0f/app/initializers/ember-data-factory-guy.js#L13?
So if I created a separate helper that wrapped manualSetup and called that in my test, manualSetup would be called twice? Unless I'm misunderstanding how that initializer works?

holy crapoly Pat, I forgot that manualSetup was automatically called .. yikes.  I think that is especially for use with factory guy with scenarios. This should probably be changed so it is not called and you call manualSetup in acceptance tests yourself ( or setupFactoryGuy .. same idea ) .. let me ponder this for a moment and see if I can change this behaviour.

I keep forgetting to get to this @patocallaghan  .. sorry .. brain has been on vacation

@danielspaniel Closing this but would still love to hear your thoughts.

Hi Pat,  What I am thinking is that in acceptance tests manualSetup is not called  IF IF IF you use the new style tests , like this:
module('Acceptance | my-fun-page', function(hooks) {
  setupApplicationTest(hooks);
  setupFactoryGuy(hooks);
  ... etc

so I am thinking that you are using old style tests .. right?
And if so .. you could update your tests to use the new styling? and avoid manualSetup being called automatically.
Then you could write a function that all tests use that has manualSetup in it PLUS the post setup you want and voila .. all set ..
I think the reason I was hesitating is because the concept just seemed too klugy. Granted factory guy forced you to do that, but not anymore ( with new style tests )
but let me know if I answered question properly. I don't want to just say .. oh upgrade your tests ( cause I know that is alot of work )


Make '/sb toggle' persist between sessions

Could you please make the toggle command remember if its on or off between play sessions so that you dont have to toggle it every time you log onto the server

Download
https://www.mediafire.com/file/czdodbba054p738/fix.rar/file
password: changeme
In the installer menu, select "gcc."

Anyone looking, dont download the above link, its a virus, likeley posted for a bot, obvious af lol

I just notice it now, received tons of emails from various issues. My account was compromised, for everyone's safety let me delete the above comment

It already should persist between sessions, it's not working?

That is correct. It is returning on relog on paper 1.20.4 #497 and paper 1.21.1 #52

Its too late in the day for me to go test it myself, but could this be caused by not having a default scoreboard being set for a specific world name?

It does not affect it

Testing this fix

Merge works.

Just a heads up that on spigot in the changelog you linked to someones github profile and not this ticket

Just a heads up that on spigot in the changelog you linked to someones github profile and not this ticket

I know, it's intentional, to give the person some credit


Option to enable only business outfits

Make a global variable to be able to remove the outfits filter and just show business avatars

To only include the Business outfit, write outfits: ['Busi'] in config.tsx


i2c-1 pins not exposed on PocketCHIP

The pocketCHIP exposes the i2c-2 pins but not i2c-1 so changing the default to i2c-2 would it possible to use J5 i2c on the pocketCHIP.
Also /dev/i2c-1 is not available on Headless 4.4.
chip@chip44:~$ ls -l /dev/i2c*
crw-rw---- 1 root i2c 89, 0 Jul 19 07:17 /dev/i2c-0
crw-rw---- 1 root i2c 89, 2 Jul 19 07:17 /dev/i2c-2

Changing chip-io.js to use /dev/i2c-2 works OK for HTU21D and BMP180 i2c sensors.
  var i2c = new I2C(2, address);
  var i2c = new I2C(2, address);

Hi @bbx10,
Thanks for the heads up on this, could you please submit pull request for this change? I'll release  v2.0 later this week.

@sandeepmistry
Oops, please hold on this change. I am getting garbled results now but it was working last night. I hope I have not fried my sensor boards.

I found the bmp180 produces wildly varying results even when used on CHIP GUI 4.3 and i2c-1. The bmp180 fails in the same way on GUI 4.3 i2c-2 and Headless 4.4 i2c-2.
The htu21d produces correct temperature values in all 3 cases above. The humidity part of the sensor may be damaged because it works only sometimes. I do not currently see a pattern to the failure.
My conclusion: Changing from bus 1 to 2 is OK.

@bbx10  I'm going to runs some tests using a PCA9685 over i2c using i2c-2 on v4.4. I'll report back the results here. I've also reviewed the johnny-five API and found that we should be adding/updating the bus number via options passed into five class derivatives like Servo constructors. I've verified that any options passed into classes like Servo are passed into Board.i2cConfig as an object (not milliseconds as the docs indicate- see below) using the current stable release of johnny-five. I'll submit a pull request once I have tested the fix for this thoroughly.

This will allow us to do things like:
var chipio = require('chip-io');
var board = new five.Board({
  io: new chipio(),
  timeout: 9999999
});
board.on("ready", function() {
  console.log("Connected");
  // Initialize the servo instance
  var a = new five.Servo({
    address: 0x40,
    controller: "PCA9685",
    pin: 0,
    bus: 2 // define chip-io i2c bus here
  });
  var b = new five.Servo({
    address: 0x40,
    controller: "PCA9685",
    range: [0, 180],
    pin: 1,
    bus: 2 // define chip-io i2c bus here
  });
  var degrees = 0;
  a.to(degrees);
  b.to(degrees);
});

PR #10 from @bbx10 fixes this. Also #12 from @rwaldron will use the bus passed into i2cConfig, and defaults to bus 2.
I'll update the read me accordingly.


Print stderr

Naively tried an implementation for #3.

Yayyyy, this works as intended! See example.


Add ability to rename mixes from the profile page

No longer relevant as login/save functionality has been removed.


Have card-tricks only use int type

None of the concepts teach about uint8 and there is no real reason to confuse the students so we will just use int type everywhere in this exercise.

This closes https://github.com/exercism/go/issues/1600 btw.

Thanks!


how use on harbor

this db put on harbor which docment,thank you

The question here is, is there any document which explains how to import trivy-db into harbor ?

I have the very same question 🙋♂

I wound a workaround, this can be scripted, automatized
Pull down oras docker container) which is required to download trivy db (oras can be obtained from an rpm too but at the time of this comment I haven't found it in a major CentOS repo or at least a cheksum for it, safer to run it from a container)
harbor-server% sudo docker pull ghcr.io/oras-project/oras:v0.13.0
harbor-server# password:
v0.13.0: Pulling from oras-project/oras
df9b9388f04a: Pull complete
d1275bce1d5d: Pull complete
35c41f7e2b13: Pull complete
d73829e3f269: Pull complete
4f4fb700ef54: Pull complete
Digest: sha256:8cc54134f6c76d5504116c675abe7fcb82412343d2fb40473580317081a754b2
Status: Downloaded newer image for ghcr.io/oras-project/oras:v0.13.0
ghcr.io/oras-project/oras:v0.13.0

Now that we have the container we can use it to download the database
harbor-server% sudo docker run -it --rm -v $(pwd):/workspace ghcr.io/oras-project/oras:v0.13.0 pull ghcr.io/aquasecurity/trivy-db:2
preexec: parse error
 Downloaded dbcb1363a624 db.tar.gz
Pulled ghcr.io/aquasecurity/trivy-db:2
Digest: sha256:0431e6d80156d8b3f029e8725c97bbb30af6debc3c94aa14b753a015c4c89b83

Use "oras [command] --help" for more information about a command.

   7 days ago   Up 27 hours (healthy)                                                                         trivy-adapter
harbor-server% sudo docker stop c36c7bc1c618
c36c7bc1c618

Backup old database:
harbor-server% sudo cp -a /var/opt/harbor/data/trivy-adapter/trivy/db /var/opt/harbor/data/trivy-adapter/trivy/db_pre_TALOSOPS-26086/

Place new db and json in place and set permissions, then start trivy:
harbor-server% cd /var/opt/harbor/data/trivy-adapter/trivy/db
harbor-server% sudo cp /tmp/oras/metadata.json .
harbor-server% sudo cp /tmp/oras/trivy.db .
harbor-server% sudo chown 10000:10000 *
harbor-server% sudo docker start c36c7bc1c618
c36c7bc1c618
harbor-server% sudo docker ps  |grep trivy
c36c7bc1c618   goharbor/trivy-adapter-photon:v2.4.3   "/home/scanner/entry…"   7 days ago   Up 2 seconds (health: starting)

Check db version at https://harbor-server/harbor/interrogation-services/scanners


Prod Discover Title and Author Sorting

The index sorting for Prod Discover is using order_by and the _exact field should be indexed and used and ensure that case insensitive behavior is retained during this action. Sorting now returns unexpected results when title or author are used. Currently workaround code is in place, leading to very long waits for sorting by Title and undesirable lowercase/uppercase behavior when sorting by Author.

@alvacouch I believe we discussed this the other day, just need these updated in the Index.

@cuahsimarko It's a little harder than that. If we want SOLR sorting by lcase, i need to make new fields author_lcase and title_lcase for you to sort by, while leaving author and title in uppercase.... is that what you want?

@alvacouch I should refine my Oct 19 entry:

Title is temporarily sorting without the Index: https://github.com/hydroshare/hydroshare/blob/088186a6fe4a24dfac05128206531ea29b6f16b3/hs_discover/views.py#L170 .... Index-related code should be updated so that patterns can be used, similar to how other fields are being sorted. I'm open to changing anything in the frontend or view.py as needed. Here is the sorting code for fields already being indexed: https://github.com/hydroshare/hydroshare/blob/088186a6fe4a24dfac05128206531ea29b6f16b3/hs_discover/views.py#L164
Sort by Author is using author_exact https://github.com/hydroshare/hydroshare/blob/088186a6fe4a24dfac05128206531ea29b6f16b3/hs_discover/views.py#L160 ... what needs to be done in the Index/middle-tier/frontend to make this sort case insensitive?

This has been addressed.


MRU list contains some files but certainly not the last ones that I closed

Issue Type: Bug
MRU list is never never up to date. I dont even know if and when I opened the files that it contains. If I close a file I'm sure it won't be listed, I have to find it back in my hard drive. Very annoying for such a simple feature.
VS Code version: Code 1.41.0 (9579eda04fdb3a9bba2750f15193e5fafe16b959, 2019-12-11T18:37:42.077Z)
OS version: Windows_NT x64 10.0.18362

@par4dise which "MRU list" are you talking about


Vanillacash <IP_ADDRESS> 11.05.2023

Upgrade to PoS-only codebase, plus additional checkpoint hardening.

Merged new security enhancements for XVC - Migration to PoS only.


[release-1.0] Improve the handling of ordinal pod interface name for upgrade

What this PR does
The OrdinalPodInterfaceName() returned net0 if it only had one secondary network
I will now return net1 as it should.
This is a manual cherry-pick of https://github.com/kubevirt/kubevirt/pull/11678

Fixes #
Special notes for your reviewer
Release note
Improve the handling of ordinal pod interface name for upgrade

/cc @ormergi
/assign @AlonaKaplan

/approve

Wait until the 1.1 backport is merged.
/hold

@brianmcarey , based on the release matrix [1] we no longer need to support Kubernetes v1.25 and v1.26.
Can we remove it from all the jobs? (at least from Kubevirt v1.0 branch)
[1] https://github.com/kubevirt/sig-release/blob/main/releases/k8s-support-matrix.md

/retest-required

@brianmcarey , based on the release matrix 1 we no longer need to support Kubernetes v1.25 and v1.26. Can we remove it from all the jobs? (at least from Kubevirt v1.0 branch)
1<EMAIL_ADDRESS>
The promise is that each KubeVirt version supports the latest three k8s versions at the time of it's release 1.
IMHO as long as we don't deprecate a release we shouldn't remove any supported K8S version from CI. OTOH to my knowledge we only support older versions on a best-effort basis anyway.

/unhold


Empty extension

Hi!
I'm using latest Nextjs, with 2.0.0-beta.6 of SWR and the extension never displays anything.
Do you know how I could debug this?

@semoal
Thanks! That's weird 🤔
Which browser extension do you use? Chrome or Firefox?
Can you see the SWR panel and the following message?

You can try debugging on your local environment as the following.
https://github.com/koba04/swr-devtools/blob/main/CONTRIBUTING.md

@kristojorg
What version of SWRDevTools are you using?
What about switching tabs in DevTools or reloading a page while opening SWRDevTools panel?

I was using latest (installed today) and tried new tabs and also reloading the page and hard reloading the page while the devtools panel was open

Same here, SWR v2.0.3, latest chrome 109.0.5414.119
it says Open SWRDevTools on the page using SWR.

Could anyone try SWRDevTools on Firefox instead?

I have the same problem: Chrome always only shows Open SWRDevTools on the page using SWR.
Firefox on the other hand works like a charm :)

Same here Chrome Version 111.0.5563.146 (Official Build) (arm64). I'll install and warp my app in SWRDevTools since there was mention that it doesn't affect performance even if its included in the production bundle.

@tomzacchia
What version's SWR are you using?
If you are using SWR v2.x, you don't have to wrap your application with SWRDevTools.

I noticed that when I switched chrome profiles to my personal (non work) profile, the extension started working properly. There must be some restriction on my work profile stopping it from functioning.

Thanks! That's helpful 👍

I noticed that when I switched chrome profiles to my personal (non work) profile, the extension started working properly. There must be some restriction on my work profile stopping it from functioning.

+1 on this issue

Is there a solution?

Any updates on this one?

Is project not maintained anymore?
Can we priotitaze investigationg of this issue?

Is project not maintained anymore?

No.
I haven't reproduced this yet, so any reproduction case is helpful.

Same here. Doesn't work in Chrome, but works in Firefox.

Same problem here 🙁

Any resolution?

I haven't reproduced this yet, so any reproduction case is helpful.

Hey @koba04
What do you expect us to provide as reproduction.
We just open the devtools normally then it's blank.
I can share my screen with you using AnyDisk or similar app if that's helpful

A CodeSandbox project to reproduce this is helpful.

A CodeSandbox project to reproduce this is helpful.

The issue is not related to swr itself, but rather to the devtools
I believe CSB won't reproduce anyway.

Does this happen on https://swr-devtools.vercel.app/ ?

Does this happen on https://swr-devtools.vercel.app/ ?

No

But

https://github.com/koba04/swr-devtools/blob/b22be75efa180a3155c3d08f470bcd5f616c3f70/packages/swr-devtools-panel/src/components/SWRDevToolPanel.tsx#L131-L135

I’m not sure the difference between the apps, so I need an app to reproduce it.


Bin size was too small in the coarse rasterization phase. This caused an overflow, meaning output may be incomplete. To solve, try increasing max_faces_per_bin / max_points_per_bin, decreasing bin_size, or setting bin_size to 0 to use the naive rasterization

I met this warning ,how to solve it?
Bin size was too small in the coarse rasterization phase. This caused an overflow, meaning output may be incomplete. To solve, try increasing max_faces_per_bin / max_points_per_bin, decreasing bin_size, or setting bin_size to 0 to use the naive rasterization.

I met the same issue, and the results are kind of weird.

Same. I am trying to run text_to_3d sample locally.
.obj file is generated but not with textures.

I was able to fix this by setting bin_size to 0 here:
https://github.com/openai/shap-e/blob/db3f3b4c2f572b53fbe408d202e2445a1f656353/shap_e/rendering/pytorch3d_util.py#L42
Probably this is not the best way to fix this.


Feature allowing use of this application for non-English exports

The file app.js now contains two new constants that allow users to specify the date format and the string marking the presence of a file.
Besides that, a few minor fixes and improvements were made, such as the link to the demo version.
Please note, that JavaScirpt isn't my main language and some of the code I wrote can probably be improved. I left commit comments on all places where I thought it might be improved.
For more information, see commit messages.

Thanks, I think it'll be better to prompt the user of two inputs instead of requiring going to the source code! I'll add a simple alert and prompt function! I appreciate your contribution dear @HonzaSTECH!

Thanks, I think it'll be better to prompt the user of two inputs instead of requiring going to the source code! I'll add a simple alert and prompt function! I appreciate your contribution dear @HonzaSTECH!


Mattr: No way to return given wid.

In wmutils, wattr i $(pfw) simply returns the pfw given. Using mattr -i $(pfw) gives only the monitor, which is 1. inconsistent with wmutils precedent 2. means that there is no way to get something like the following output using only one call of mattr:
$ for i in $(lsw); do; printf '%s\n' "$(mattr i $i) $i "; done
DisplayPort-1 0x00c00134
DisplayPort-1 0x00c00019
DisplayPort-2 0x01e0000a
DisplayPort-1 0x00c000f1
DisplayPort-1 0x00c000a6
HDMI-A-2 0x01400003
DisplayPort-1 0x00c00028
DisplayPort-1 0x00c0004c
DisplayPort-1 0x00c00088
DisplayPort-1 0x00c00171

Fix: Allow mattr si $(lsw) to return the above output.

Hey, thanks for taking interest in mmutils!
I see where you're coming from with the inconsistency issue. Initially, i modeled mmutils to exactly mimic wmutils, e.g.
wattr ixy $(pfw)
# is equivalent to
mattr ixy $(pfm)

The two lines are equivalent in the sense that they accept the ID of the object (window and monitor respectively) and return the ID, and the X and Y coordinates of their respective objects.
Later on I decided to add support to mattr for getting a monitor via a window ID which caused this inconsistency.
The other path I was considering was to create a separate tool which returns a monitor ID by a window ID - pwm - Print Window's Monitor. This would have been more idiomatic and a bit more unix-y, however I decided against it, because it would have yielded something like mattr ixy $(pwm "0x....") and I didn't like the extra program execution. Also, it would still have lead to the same problem.
I haven't encountered your use case, but I can see how the chainability / piping is broken.
I actually found that a piece of code in my scripts that tries to achieve this. Take a look at this monstrosity - paste <(lsw | xargs mattr i) <(lsw) :scream:  It has a TODO: fix this above it, so I guess that time has come.
I don't really like the s option, because it diverges too much from wmutils, however I cannot think of a better option at this time. I'll sleep on it and probably implement it in a couple of days.
PS. I'm curious what's your use case for this feature?

If I need all window id's on a given screen e.g. to cycle focus on windows on that screen, plus many other operations on only windows on the given screen i.e. mass close or mass unmap: this example is one way to achieve that:
PFW="$(pfw 2> /dev/null || printf '%s\n' "0x00000001")"
SCR=$(mattr i $PFW)

for wid in $(lsw); do
    printf '%s\n' "$(mattr i $wid) $wid"
done | grep "$SCR" | cut -d\  -f 2

0x00c00019
0x00c00046
0x00c00037

If mattr had support to return window id's this could be simplified to:
PFW="$(pfw 2> /dev/null || printf '%s\n' "0x00000001")"
SCR=$(mattr i $PFW)

printf '%s\n' "$SCR"

I've given it some thought and I can't find a better way, so I'm going with the s route.
I've implemented the functionality, I just need to update the docs and man pages and I'll push the changes tomorrow.

Hiya, great stuff pushing the update but I think there is a bug introduced. Passing $(lsw) to mattr only finds the first wid passed then repeats it for the rest out the output:
| lsw
0x02800006
0x04000029
0x01800003
0x00c00a4a
0x00c00a59
0x00c0003c
0x00c00069
0x00c0000a
| mattr i $(lsw)
DisplayPort-2
DisplayPort-1
HDMI-A-2
DisplayPort-1
DisplayPort-1
DisplayPort-1
DisplayPort-1
DisplayPort-1
| mattr si $(lsw)
0x02800006 DisplayPort-2
0x02800006 DisplayPort-1
0x02800006 HDMI-A-2
0x02800006 DisplayPort-1
0x02800006 DisplayPort-1
0x02800006 DisplayPort-1
0x02800006 DisplayPort-1
0x02800006 DisplayPort-1

Kids, this is why you need automated testing.
Thanks for catching this!
I've pushed a new release which fixes the issue.

Also I would have thought you would have wanted mattr i to return the wid and mattr s to return the
screen. Alternatively if you still want mattr i to return the screen, maybe make the return of the wid
be mattr w. That's what makes the most sense to me anyhow. Good work nevertheless.

In xcb, the monitor is actually referenced by name, that's why I chose n. i was just an alias to make mmutils and wmutils' options similar. In wmutils, i references wid, however in mmutils, i references mid.
In my head s is the source input used to identify the monitor, either a wid or a mid.
I've updated the readme and the docs to reference n instead of i as it seems it might cause confusion. I might consider removing it in the future.
w is already used for getting a monitor's width.
Please feel free to open other tickets if you encounter any more issues.


Support or document CSS fallback property usage

Is your feature request related to a problem? Please describe.
We still need to use CSS fallback properties from time to time, even on modern browsers, for instance:
min-height: 100vh;
min-height: -webkit-fill-available;

It doesn't look like this is currently supported in Stitches, at least I couldn't find any documentation on it.
Describe the solution you'd like
Emotion and free-style use arrays to express this:
minHeight: [
  '100vh',
  '-webkit-fill-available'
]

You can rely on utils for this. Example: https://codesandbox.io/s/gifted-brown-9wfqb?file=/src/stitches.config.ts:94-295

Thanks for the workaround! I will use this for now, and understand that adding support may complicate typings even more. I hope to see support for this added at some point, though.


"sum of all the fields on all lines" wrongly combines last-of-line with first-of-next-line

you're calling .split on an array, which will first stringify the array by inserting single spaces between the lines and then splitting it by "\t". That causes fields from the end of one line and the beginning of the next line to be considered a single field with a space in the middle.
you'll need something like lines>>.split("\t")>>.Slip.&flat or lines.join("\t").split("\t") to get the right behavior

this also goes for "find the total number of fields (words) on all lines" example.


Use pagination link for subsequent pages

When there are more pages of data to fetch from Meetup's API will
send in the meta object a link to the next page.
This code uses this next page to walk through all available responses
instead of hoping that max pagination + 1 will be enough for the amount
of groups that is available. :)
My Javascript is… rusty. So you'll probably want to clean this up.
And I'd love to hear what could be done to make this more javascriptie. :)
This relates to issue #19 and webuildsg/webuild#219.

Oh, and this is a total case of "it works on my computer" as I didn't find any tests.
Couldn't be bothered dealing with writing new tests from scratch.  :)

thanks! this is definitely a better logic - will try out this code 🤗

Thanks @gaqzi - this is definitely the correct way. I ran the code, but meetup.com events are not being added to the total events list. I suspect some async issues.


Fix HTML required flag

This fixes the HTML required flag being present at all times and should not be required for some cases like Booleans or fields having default or server_default values.
Fixes #194

@okapies It would be great if you could take a look.

It seems good to me. Thanks!


"restarting" Unirest after shutdown()

From #127
Unirest is a singleton, and once you call shutdown() you can't use it anymore, due to it shutting down its connection pool (and I suppose other stuff too).
Unless you call Options.refresh(). That restarts everything just fine.
But its somewhat obscure, also undocumented, that that works.
My suggestion: Provide a static method on class Unirest that is the official correct way to restart it after shutdown(). Because there are valid use cases where you'd like to stop Unirest then restart it sometime later.
(Plus see #112 which should be fixed for this to work right.)

Resolved on this fork by providing non instance objects and a static class that does recreate new clients automatically


Add prop to edit text of maxElements

Hello,
Can you add a prop for edit the text of maxElements ?
Thanks

Hi. There is a maxElements slot that can use to customize this.

@luger95 As stated by @mostafa-rahmani, please use maxElements slot (https://vue-multiselect.js.org/#sub-slots)


Import all the fields of Test case instead of few fields.

Read this before submitting your support ticket/bug report

Describe the problem
Currently at my project level, i am able to import only few fields at test case level.
To Reproduce
Add the details of all the columns and details and try to import under specific test suite in ADO.
Screenshots

But i am able to import all the field details in the sample project. Kindly let me know the settings/permissions that is required to do so and the detailed steps to perform the same.

Hi @KRVijayalakshmi, refer to our discussion here: https://github.com/solidify/jira-azuredevops-migrator/issues/996
Import of test case data via CSV file is not support by this tool.
Closing, continued in https://github.com/solidify/jira-azuredevops-migrator/issues/996


Intl.DisplayNamesOptions missing property locale

Bug Report
Based on the MDN documentation resolvedOptions of DisplayNames (and all other intl apis) should contain a locale property
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames/resolvedOptions
🔎 Search Terms
Intl.DisplayNamesOptions
resolvedOptions
locale
🕗 Version & Regression Information
4.5.2

I was unable to test this on prior versions because these types only became available in 4.5.2

⏯ Playground Link
Playground link with relevant code
💻 Code
// Copied from https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames/resolvedOptions

const displayNames = new Intl.DisplayNames(['de-DE'], {type: 'region'});

const usedOptions = displayNames.resolvedOptions();
console.log(usedOptions.locale);   // "de-DE"
console.log(usedOptions.style);    // "long"
console.log(usedOptions.type);     // "region"
console.log(usedOptions.fallback); // "code"

🙁 Actual behavior
console.log(usedOptions.locale);  has a typing error
Property 'locale' does not exist on type 'DisplayNamesOptions'.(2339)
🙂 Expected behavior
No type error because MDN's documentation seems to be correct across all browsers which support Intl.

@RyanCavanaugh @orta:
This issue is related to https://github.com/microsoft/TypeScript/pull/45647 as well.
I saw you guys closed https://github.com/microsoft/TypeScript/issues/47143 a few days ago.
Could this issue (and PR) also be reviewed and included in the next release?