Not working after following eaxt setup process

Describe the bug
I followed the document and video as well, installed in docker and configured the .env file as well. However, I am getting errors. PFA pf the pictures for your reference

Link to the Bolt URL that caused the error
https://github.com/coleam00/bolt.new-any-llm
Steps to reproduce
Authorization failed
Expected behavior
Work normal
Screen Recording / Screenshot
No response
Platform

OS: Windows
Browser:  Chrome
Version: [e.g. 91.1]

Additional context
No response

only openrouter works for me. nothing else works and i get that message

I am having the same problem

yeah code is broken ... i added all the apis but that  fix nothing

Same issue with mistral

Same. It looks like it's trying to connect to OpenAI base api url, https://api.openai.com/v1/chat/completions and https://platform.openai.com/account/api-keys regardless of which model you chose. On my setup it's supposed to connect to localhost (litellm) but it's still using regular OpenAI base url.

All these so called Forkers, not one in 2 hours since the last post said a word. A community project it was said, this project has has more errors than Microsoft itself and theres rarely any support. In almost all these threads Ive seen nothing but people talking junk too each other when 1 person asks for some support. Do yourselves a favor, get off this repo if you are not really here to help but for clout just to fork something/say something and not helping.
I literally came here because even as an experienced coder too at least know how to follow instructions to get me started, still experienced alot of their pain trying to get it setup to getting the API keys to work.
So please stop with the nonsense and lets help each other. Yall act like this is reddit.
Also, as a Pro member on most AI's, the only basic that really works is Gemini and GPT40. Thats it and both of these do not know anything about coding beyond the word basic.
I think most people are here because of Bolt and V0. Not any other BS. So lets git it folks.

veerababumanyam

Both API's are a coding issue, just to let you know. You can reproduce keys 100x and still the results are the same. I know because Ive installed this thing 100 times and remade my keys 1000x.

I'm sorry you guys are running into this issue! Could you try installing outside of Docker and see if the issue persists? The docker setup is newer so there could be some issues with it. That is something I am looking into this week!

@coleam00 I think I have found the culprit to my problem and I don't think it's related to this issue.
I'm trying to use Githubs api for gpt-4o, so I have github/gpt-4o as model and their azure url as api base url.
In stream-text.ts the function streamText tries to figure out the provider by comparing model names. Since it only uses the model name, the first provider that it lands on is OpenAI. You'll see the same problem for most models provided in Githubs API. Or in Ollama if it uses the same model name as any other provider.
The correct way to solve the issue is to use the provider selected in UI. At the moment it doesnt seem to be included in the parameters that are sent to the streamText function.

After further investigation and code changes I get the url to be correct. But even now, I seem to face the same issue. It says connection refused. In litellm I can se that the GET /models call does get through. But I can't see any calls to chat/completions . That indicates that the connection from _streamText() never happens. That function seems to be in the ai package. Perhaps the issue is in that package.

I'm sorry you guys are running into this issue! Could you try installing outside of Docker and see if the issue persists? The docker setup is newer so there could be some issues with it. That is something I am looking into this week!
@veerababumanyam @lossehelin @thorvak @Psxmaster83 @TommyHolmberg @hellomikko

Ok I got it to work last night, sorry I was goin at it once I got it installed the normal way and can confirm it does work with exception to a major issue with API keys that are not working. However Gemini and GPT40 were the only two I could get to work, Anthropic isnt playing nicely which is my favorite by far, but... ahh well.
Steps I did to make it work:

As it stated, its by far easier and better to install and run this with pnpm. If you dont have it installed: try getting it here and install it first before anything else.
Clone the repo as stated on the ReadMe.md.
Once its cloned, git into or CD the physical folder and open it with your Command Prompt. Yup, you heard me, Command Prompt that sucka. It works for me with Command Prompt Admin.
While its installing the dependencies, open your .env file and add your API keys. @coleam00 was nice enough to even provide the links directly too, so you dont have to search under the cookie crumbs.
Once its dont with installing the dependencies and youve already edited the .env file with your API Key(s), open your favorite IDE, mine is Fleet or vsCodium depending on how I feel. Than in your IDE open the command panel and type pnpm install.
You should than be ok after that point for when its done installing, run pnpm run dev.

These instructions were just more simplified for anyone who likes to read less.
While I am not a Docker person, I will wait and see with others say about the Docker version and also await @coleam00 with some fixes with the API keys.

@hellomikko Thank you for following up here and giving some nice and simple instructions!
Could you clarify the issue you are running into with some of the APIs? I tested and they are all working for me.

@TommyHolmberg  I pushed a fix that will probably help you with the latest issue you are describing! Getting the container to communicate with Ollama outside of the container. Give it a shot!

@coleam00  This is not working. I have taken latest from repo and build it. I am using only ollama APIKEY default URL. It gives me 401 error. Ollama is runningon my local and application too.
I don't think Ollama require any authentication in local. It seems its going default to anthropic only.
2024-11-06 12:31:49   cause: undefined,
2024-11-06 12:31:49   url: 'https://api.anthropic.com/v1/messages',
2024-11-06 12:31:49   requestBodyValues: {
2024-11-06 12:31:49     model: 'claude-3-5-sonnet-20240620',
2024-11-06 12:31:49     top_k: undefined,
2024-11-06 12:31:49     max_tokens: 8000,
2024-11-06 12:31:49     temperature: 0,
2024-11-06 12:31:49     top_p: undefined,
2024-11-06 12:31:49     stop_sequences: undefined,
2024-11-06 12:31:49     system: '\n' +
2024-11-06 12:31:49       '    13. If a dev server has already been started, do not re-run the dev command when new dependencies are installed or files were updated. Assu'... 5141 more characters,
2024-11-06 12:31:49     messages: [ [Object] ],
2024-11-06 12:31:49     tools: undefined,
2024-11-06 12:31:49     tool_choice: undefined,
2024-11-06 12:31:49     stream: true
2024-11-06 12:31:49   },
2024-11-06 12:31:49   statusCode: 401,
2024-11-06 12:31:49   responseHeaders: {
2024-11-06 12:31:49     'cf-cache-status': 'DYNAMIC',
2024-11-06 12:31:49     'cf-ray': '8de336ef89df3adf-BOM',
2024-11-06 12:31:49     connection: 'keep-alive',
2024-11-06 12:31:49     'content-length': '97',
2024-11-06 12:31:49     'content-type': 'application/json',
2024-11-06 12:31:49     date: 'Wed, 06 Nov 2024 07:01:50 GMT',
2024-11-06 12:31:49     'request-id': 'req_01SQ4upFxtgwu796HLqV5uXU',
2024-11-06 12:31:49     server: 'cloudflare',
2024-11-06 12:31:49     via: '1.1 google',
2024-11-06 12:31:49     'x-robots-tag': 'none',
2024-11-06 12:31:49     'x-should-retry': 'false'
2024-11-06 12:31:49   },
2024-11-06 12:31:49   responseBody: '{"type":"error","error":{"type":"authentication_error","message":"x-api-key header is required"}}',
2024-11-06 12:31:49   isRetryable: false,
2024-11-06 12:31:49   data: {
2024-11-06 12:31:49     type: 'error',
2024-11-06 12:31:49     error: {
2024-11-06 12:31:49       type: 'authentication_error',
2024-11-06 12:31:49       message: 'x-api-key header is required'
2024-11-06 12:31:49     }
2024-11-06 12:31:49   },
2024-11-06 12:31:49   [Symbol(vercel.ai.error)]: true,
2024-11-06 12:31:49   [Symbol(vercel.ai.error.AI_APICallError)]: true

Installed on windows directly and it is working perfect


Update quickstart-azure-sql.md

Default location needs to be mentioned. East US did not work.

We pulled your change into an internal PR and will merge it later today. Thanks for your contribution!
#please-close


build-image API: validate the BUILD API and STATUS API format on the UI side

Check the API format introduced in #304 with @aalves08

After discussion, we  need to add the download URL in the returned JSON


better error needed when uuid is not correct

i have 3 uuid columns in a table
on an insert where one was not correct I get this error
(pq: invalid input syntax for uuid: "")
[2015-12-14 14:42:14]
so i don't see which column threw this error

This is an error from postgres.


CodeArea selection does not work when changing style before text change

I am trying to write a matching bracket highlighter for CodeArea. I have managed to get it working in the following manner:
I have extended CodeArea into CustomCodeArea. There I have overridden the following method:
@Override
public void replaceText(int start, int end, String text) {
    for (TextInsertionListener listener : insertionListeners) {
        listener.codeInserted(start, end, text);
    }
    super.replaceText(start, end, text);
}

Here the listener is used to listen for text change just before the text is actually changed.
This is needed to clear old matching bracket highlights in the following manner:
this.tabData.getCodeArea().addTextInsertionListener((start, end, text) -> clearBracket());
Inside the clear bracket method, I am removing the style in the following manner:
this.tabData.getCodeArea().setStyle(pair.start, pair.start + 1, styleList);
this.tabData.getCodeArea().setStyle(pair.end, pair.end + 1, styleList);

I must perform the operation of clearing the bracket in the main UX thread because it must be done before the text has changed.
When this is done, however, selection fails to work (selection highlight is not started, and nothing is selected) on the first try.
I have to click at the same position once more to start the selection highlight.
If there is some way to fix this (maybe fire event manually, or something else), or there is a better approach to matching bracket highlighting for CodeArea, could you please help me with that.
Thanks a lot!

Okay, so I'm assuming that if you comment out the listener.codeInserted(start, end, text); line in your overridden replaceText method then selection works as normal, without the need to click twice.
I guess the reason you want to clear the bracket here is because the text modification is going to mess up pair.start and pair.end, if that is the case why not just modify their values if needed based on the replaceText parameters ?

I tried the approach you mentioned and it works when typing slowly.
The issue is, if the rate of text change (say someone presses down the bracket key) is greater than the speed of processing then multiple old brackets' highlighting is not cleared.
Also, at times, this can lead to concurrent modification exceptions. Although concurrent modification can be taken care by synchronization, which I tried, this does not guarantee which thread will execute first, leading to wilder complications.
This is compounded by the fact that I am also implementing bracket auto-completion.

If you don't mind posting a simple but complete program with just your bracket highlighting and auto complete sections then I'll have a look.

I have prepared a short demo as requested here: https://github.com/prat-man/CodeAreaBracketsDemo
I have stripped everything else (including syntax highlighting, etc.) and only one type of loops [ ] are supported to keep things simple.
It is an IntelliJ project. Please have a look. Thanks!

Here are the two main classes posted here directly for a quicker access:
Controller.java
package in.pratanumandal.demo;

import javafx.fxml.FXML;
import javafx.scene.layout.BorderPane;

public class Controller {

    @FXML private BorderPane mainPane;

    @FXML
    public void initialize() {

        // create a new code area
        CustomCodeArea codeArea = new CustomCodeArea();

        // add code area to main pane
        mainPane.setCenter(codeArea);

        // highlight brackets
        BracketHighlighter bracketHighlighter = new BracketHighlighter(codeArea);

        // auto complete loops
        codeArea.setOnKeyTyped(keyEvent -> {
            // clear bracket highlighting
            bracketHighlighter.clearBracket();

            // get typed character
            String character = keyEvent.getCharacter();

            // add a ] if [ is typed
            if (character.equals("[")) {
                int position = codeArea.getCaretPosition();
                codeArea.insert(position, "]", "loop");
                codeArea.moveTo(position);
            }
            // remove next ] if ] is typed
            else if (character.equals("]")) {
                int position = codeArea.getCaretPosition();
                if (position != codeArea.getLength()) {
                    String nextChar = codeArea.getText(position, position + 1);
                    if (nextChar.equals("]")) codeArea.deleteText(position, position + 1);
                }
            }

            // refresh bracket highlighting
            bracketHighlighter.highlightBracket();
        });

    }

}

BracketHighlighter.java
package in.pratanumandal.demo;

import java.util.*;

public class BracketHighlighter {

    // the code area
    private final CustomCodeArea codeArea;

    // the map of bracket pairs existing in code
    private Map<Integer, Integer> brackets;

    // the list of highlighted bracket pairs
    private List<BracketPair> bracketPairs;

    /**
     * Parameterized constructor
     * @param codeArea the code area
     */
    public BracketHighlighter(CustomCodeArea codeArea) {
        this.codeArea = codeArea;

        this.brackets = new HashMap<>();
        this.bracketPairs = new ArrayList<>();

        this.codeArea.addTextInsertionListener((start, end, text) -> clearBracket());
        this.codeArea.textProperty().addListener((obs, oldVal, newVal) -> initializeBrackets(newVal));
        this.codeArea.caretPositionProperty().addListener((obs, oldVal, newVal) -> highlightBracket(newVal));
    }

    /**
     * Method to initialize the bracket pairs (do only when text is changed)
     *
     * @param code the next text
     */
    private synchronized void initializeBrackets(String code) {

        // clear bracket map
        this.brackets.clear();

        // compute matching brackets and add to map
        Stack<Integer> stack = new Stack<>();
        int index = 0;

        while (index < code.length()) {
            int i = code.indexOf("[", index);
            int j = code.indexOf("]", index);

            if (i == -1 && j == -1) {
                break;
            } else if (i != -1 && (i < j || j == -1)) {
                stack.push(i);
                index = i + 1;
            } else if (j != -1) {
                if (!stack.isEmpty()) {
                    int k = stack.pop();
                    brackets.put(k, j);
                    brackets.put(j, k);
                }
                index = j + 1;
            }
        }

    }

    /**
     * Highlight the matching bracket at new caret position
     *
     * @param newVal the new caret position
     */
    private synchronized void highlightBracket(int newVal) {

        // first clear existing bracket highlights
        this.clearBracket();

        // detect caret position both before and after bracket
        String prevChar = (newVal > 0) ? codeArea.getText(newVal - 1, newVal) : "";
        if (prevChar.equals("[") || prevChar.equals("]")) newVal--;

        // get other half of matching bracket
        Integer other = this.brackets.get(newVal);

        if (other != null) {
            // other half exists
            BracketPair pair = new BracketPair(newVal, other);

            // highlight start
            if (pair.start < codeArea.getLength()) {
                String text = codeArea.getText(pair.start, pair.start + 1);
                if (text.equals("[") || text.equals("]")) {
                    List<String> styleList = new ArrayList<>();
                    styleList.add("loop");
                    styleList.add("match");

                    // if we run the following line with Platform.runLater, selection works
                    // but bracket highlighting breaks down
                    codeArea.setStyle(pair.start, pair.start + 1, styleList);
                }
            }

            // highlight end
            if (pair.end < codeArea.getLength()) {
                String text = codeArea.getText(pair.end, pair.end + 1);
                if (text.equals("[") || text.equals("]")) {
                    List<String> styleList = new ArrayList<>();
                    styleList.add("loop");
                    styleList.add("match");

                    // if we run the following line with Platform.runLater, selection works
                    // but bracket highlighting breaks down
                    codeArea.setStyle(pair.end, pair.end + 1, styleList);
                }
            }

            // add bracket pair to list
            this.bracketPairs.add(pair);
        }

    }

    /**
     * Highlight the matching bracket at current caret position
     */
    public synchronized void highlightBracket() {
        this.highlightBracket(codeArea.getCaretPosition());
    }

    /**
     * Clear the existing highlighted bracket styles
     */
    public synchronized void clearBracket() {

        Iterator<BracketPair> iterator = this.bracketPairs.iterator();
        while (iterator.hasNext()) {
            // get next bracket pair
            BracketPair pair = iterator.next();

            // clear start
            if (pair.start < codeArea.getLength()) {
                String text = codeArea.getText(pair.start, pair.start + 1);
                if (text.equals("[") || text.equals("]")) {
                    List<String> styleList = new ArrayList<>();
                    styleList.add("loop");

                    // if we run the following line with Platform.runLater, selection works
                    // but bracket highlighting breaks down
                    codeArea.setStyle(pair.start, pair.start + 1, styleList);
                }
            }

            // clear end
            if (pair.end < codeArea.getLength()) {
                String text = codeArea.getText(pair.end, pair.end + 1);
                if (text.equals("[") || text.equals("]")) {
                    List<String> styleList = new ArrayList<>();
                    styleList.add("loop");

                    // if we run the following line with Platform.runLater, selection works
                    // but bracket highlighting breaks down
                    codeArea.setStyle(pair.end, pair.end + 1, styleList);
                }
            }

            // remove bracket pair from list
            iterator.remove();
        }

    }

    /**
     * Class representing a pair of matching bracket indices
     */
    static class BracketPair {

        private int start;
        private int end;

        public BracketPair(int start, int end) {
            this.start = start;
            this.end = end;
        }

        public int getStart() {
            return start;
        }

        public int getEnd() {
            return end;
        }

        @Override
        public String toString() {
            return "BracketPair{" +
                    "start=" + start +
                    ", end=" + end +
                    '}';
        }

    }

}

Great, not sure if I'll get to it today though so probably tomorrow ....

First of all nice code and thanks for the code comments.
It turns out that the caretPositionProperty() listener, in the BracketHighlighter constructor, which calls highlightBracket( newVal ) somehow sabotages the area's selection state. The simple solution is to just wrap that call in Platform.runLater like so:
codeArea.caretPositionProperty().addListener((obs,old,newVal) -> Platform.runLater(() -> highlightBracket(newVal)));
I took some time playing around with your code and also found that you don't need to invoke bracketHighlighter.highlightBracket() in the Controller's codeArea.setOnKeyTyped event handler because it will be invoked in any case via BracketHighlighter's caretPositionProperty() listener.
Lastly I suggest an alternative to initializeBrackets which processes ALL the code area's text every time an edit occurs. I think a better idea is to just search forward/backward from the current bracket to find it's matching partner when needed. Here is my version of BracketHighlighter with some additional changes for you to assess and use if you like:
public class BracketHighlighter {

    private final CustomCodeArea codeArea;

    // the list of highlighted bracket pairs
    private List<BracketPair> bracketPairs = new ArrayList<>();

    // constants that don't need to be created every time
    private final List<String> LOOP_STYLE = Collections.singletonList( "loop" );
    private final List<String> MATCH_STYLE = Arrays.asList( "match", "loop" );
    private final String BRACKET_PAIRS = "(){}[]<>";

    /**
     * Parameterized constructor
     * @param codeArea the code area
     */
    public BracketHighlighter(CustomCodeArea codeArea) {
        this.codeArea = codeArea;
        this.codeArea.addTextInsertionListener((start, end, text) -> clearBracket());
        //this.codeArea.textProperty().addListener((obs, oldVal, newVal) -> initializeBrackets(newVal)); // Let's not process all the text every time ;-)
        this.codeArea.caretPositionProperty().addListener((obs, oldVal, newVal) -> Platform.runLater( () -> highlightBracket(newVal) ));
    }

    /**
     * Highlight the matching bracket at new caret position
     * @param newVal the new caret position
     */
    private void highlightBracket(int newVal) {

        // first clear existing bracket highlights
        this.clearBracket();

        // detect caret position both before and after bracket
        String prevChar = (newVal > 0) ? codeArea.getText(newVal - 1, newVal) : "";
        if (prevChar.equals("[") || prevChar.equals("]")) --newVal;

        // get other half of matching bracket
        Integer other = getMatchingBracket( newVal );

        if (other != null) {
            // other half exists
            BracketPair pair = new BracketPair(newVal, other);

            // highlight start and end
            styleBrackets( pair, MATCH_STYLE );

            // add bracket pair to list
            this.bracketPairs.add(pair);
        }
    }

    /**
     * Find the matching bracket location.
     * @param index to start searching from
     * @return null or position of matching bracket
     */
    private Integer getMatchingBracket( int index )
    {
        if ( index == codeArea.getLength() ) return null;

        char initialBracket = codeArea.getText( index, index+1 ).charAt(0);
        int bracketTypePosition = BRACKET_PAIRS.indexOf( initialBracket ); // "(){}[]<>"
        if ( bracketTypePosition < 0 ) return null;

        // even numbered bracketTypePositions are opening brackets, and odd positions are closing
        // if even (opening bracket) then step forwards, otherwise step backwards
        int stepDirection = ( bracketTypePosition % 2 == 0 ) ? +1 : -1;

        // the matching bracket to look for, the opposite of initialBracket
        char match = BRACKET_PAIRS.charAt( bracketTypePosition + stepDirection );

        index += stepDirection;
        int bracketCount = 1;

        while ( index > -1 && index < codeArea.getLength() ) {
            char code = codeArea.getText( index, index+1 ).charAt(0);
            if ( code == initialBracket ) bracketCount++;
            else if ( code == match ) bracketCount--;
            if ( bracketCount == 0 ) return index;
            else index += stepDirection;
        }

        return null;
    }

    /**
     * Highlight the matching bracket at current caret position
     */
    public void highlightBracket() {
        this.highlightBracket(codeArea.getCaretPosition());
    }

    /**
     * Clear the existing highlighted bracket styles
     */
    public void clearBracket() {

        Iterator<BracketPair> iterator = this.bracketPairs.iterator();

        while ( iterator.hasNext() )
        {
            // clear next bracket pair
            styleBrackets( iterator.next(), LOOP_STYLE );

            // remove bracket pair from list
            iterator.remove();
        }

    }

    private void styleBrackets( BracketPair pair, List<String> styles )
    {
        styleBracket( pair.start, styles );
        styleBracket( pair.end, styles );
    }

    private void styleBracket( int pos, List<String> styles )
    {
        if ( pos < codeArea.getLength() ) {
            String text = codeArea.getText( pos, pos + 1 );
            if ( text.equals("[") || text.equals("]") ) {
                codeArea.setStyle( pos, pos + 1, styles );
            }
        }
    }

    /**
     * Class representing a pair of matching bracket indices
     */
    static class BracketPair {

        private int start;
        private int end;

        public BracketPair(int start, int end) {
            this.start = start;
            this.end = end;
        }

        public int getStart() {
            return start;
        }

        public int getEnd() {
            return end;
        }

        @Override
        public String toString() {
            return "BracketPair{" +
                    "start=" + start +
                    ", end=" + end +
                    '}';
        }

    }

}

Thanks a lot for helping me out!
Changing it to codeArea.caretPositionProperty().addListener((obs,old,newVal) -> Platform.runLater(() -> highlightBracket(newVal))); fixes the problem and even after testing with multiple scenarios, I still haven't found any issues.
Also thanks for the improved code, I have adopted some parts of it like the styleBrackets(BracketPair pair, List<String> styles) and styleBracket(int pos, List<String> styles) methods. They have really cleaned up my code.
However, I am staying with the approach of computing the brackets all at once, since it is more efficient for my use case.
Also, if you feel it would be a benefit to add a demo for bracket highlighting in RichTextFX demos, I can fork your repository and create a demo to match your demos structure, or you can use my already provided demo in GitHub (I will fix the bugs).
I think that would be a really useful addition for anyone trying to do bracket highlighting using RichTextFX.

You're welcome, thanks for PR.


Clean up - spelling of multi-site

small clean up, while reviewing the 4.0 blog post I realised that we have mostly referred to multi-site (hyphenated) but there were a few outliers

small clean up item - merging in.


nipapd: setup.py soft-fail when lacking rst2man

Use a special build class to dynamically build the list of data_files,
this allows us to try and generate man files but in the absence of
rst2man, the man files will simply not be included.
rst2man (docutils) is required to build but not install or run NIPAP so
I don't want to list docutils as a dependency in setup.py. We are
currently using distutils but if we were to switch to setuptools then we
would have the option of specifying setup_requires and install_requires
separately. I did try to rewrite this for setuptools but couldn't get it
to work without additional changes so I gave up on that.
I'm not sure if we should do this or not.. it's kind of a philosophical
question. Should we fail-hard when rst2man is not present? It would
allow to build incomplete .deb files. On the other hand I usually build
the deb files and I have rst2man installed so it's not much of an issue
and for anyone that just wishes to install NIPAP, not build packages, it
could be convenient that it's possible to do so from source without
first manually installing rst2man.
@garberg, what do you think?

can we get this merged? Looks pretty good to me


[Feature Request] Make it easy to create file or folder in the root directory

VSCode Version:

Version 1.9.0
Commit 27240e71ef390bf2d66307e677c2a333cebf75af
Date 2017-02-02T08:31:00.827Z
Shell 1.4.6
Renderer 53.0.2785.143
Node 6.5.0

OS Version: Windows 10 Pro x64

It's easy to create a file or folder in a folder with a right-click:

Unfortunately, that don't work for the root directory: there's no right-click menu. There are buttons to create a file or folder, which I'd expect to create in the root, but actually create in the selected directory:

I think allowing the right-click menu in the root would be the best option.

https://github.com/Microsoft/vscode/issues/1043

@andreynering you can right click on empty space below the explorer to create a file/folder at root, but I agree this does not work when you have many elements:


fix: renamed displayManager setting

In https://github.com/NixOS/nixpkgs/pull/291913 the option services.xserver.displayManager.sessionPackages has been renamed to services.displayManager.sessionPackages to prepare for wayland without xserver enabled. This flake uses this option and breaks on the latest nixpkgs.
This change will likely not be breaking for much longer as backwards compatibility should be re-addded once https://github.com/NixOS/nixpkgs/pull/303186 is merged. But since niri is a wayland compositor, I believe it would make sense to make this change anyways.

I vaguely wish to support the latest stable NixOS. See: https://github.com/sodiboo/niri-flake/issues/32
Simply changing the option to the new variant is not really useful in this regard; it will break compatibility with NixOS 23.11.
Is there a nice way to change it on just 24.05? Otherwise, it might be better to leave it and let nixpkgs handle compatibility. The PR is already merged, just hasn't made it into nixos-unstable yet: https://nixpk.gs/pr-tracker.html?pr=303186

For now, other than waiting for nixpkgs, a user encountering this issue can add the following module as a workaround:
{lib, ...}: {
  imports = [
    (lib.mkRenamedOptionModule ["services" "xserver" "displayManager" "sessionPackages"] ["services" "displayManager" "sessionPackages"])
  ];
}

It causes an ugly warning, though.

lmao in actually testing 23.11 i realize there's a handful of other incompatibilities anyways (mergeAttrsList is only in unstable; home-manager module relies on it in a couple places). You said you wanted to make it backwards compatible? At the current state of my repo, that's not gonna accomplish much. So, i think it looks good to merge already, to be honest. I think i'll implement the backwards compatibility in a nice way in the future, along with the rest of 23.11 fixes.

i played around with the suggestion from @oluceps for backwards compatibility; it did't "just work" so i didn't commit anything for that yet, but the idea seems sound and i will look into it more (if not useful for the project just to get more familiar with nix) and hopefully submit a new merge request when i'm done.

I'll merge this, then, since as it turns out the modules already aren't compatible with 23.11 (but the packages are)

in actually testing 23.11 i realize there's a handful of other incompatibilities anyways (mergeAttrsList is only in unstable

wait what no wtf am i thinking. this is intentional. overriding the nixpkgs input is not the way to do it. this breaks because i've been testing 23.11 compatibility by overriding the input with the nix cli, but in a real system it's more granular than this.


Merge accumulo-proxy project into accumulo project

A separate accumulo/proxy project was created to build and test the thrift proxy.  The proxy code needs to be moved into the accumulo project.  There may be some decoupling in the code required.

This looks to be a close fit with the accumulo-proxy module.    I'll start working this.

@hkeebler The https://github.com/apache/accumulo-proxy repository was created to take what we have in https://github.com/apache/accumulo/tree/master/proxy and separate it into its own (sub-)project within the Accumulo community. I started the work, but did not finish. The goal is to delete it from the main Accumulo builds, so it can live (or die) on its own. I'm not sure what is needed to finish it, but ideally, it should have all the latest updates from https://github.com/apache/accumulo/tree/master/proxy (so that can be deleted) and it should build against the latest Accumulo 2.0 SNAPSHOT (eventually 2.0 proper when that is released).

The task here should be to delete the proxy/ module.
The task in https://github.com/apache/accumulo-proxy/issues should be to ensure it builds and works over there.

Thank you.  I had it backwards.  Since, the module was more up to date this makes more sense.

This is a duplicate of #454


Tests are failing when using the latest amqp-common library

Describe the bug
Tests are failing when using the latest amqp-common library
To Reproduce
In the client folder of this repo,

Add a .env file, set EVENTHUB_CONNECTION_STRING and EVENTHUB_NAME variables
Update the package.json file to use the latest version of the amqp-common library
Run npm install
Update the unit script to run just the client.spec.ts test file
Run npm run unit

Expected behavior
All tests pass
Actual behavior

Now change the unit script to run just the receiver.spec.ts. It fails as below:

@jeremymeng Can we close this issue since your work in #187  is now in? Or are there any other failures when using the latest amqp-common module?

@ramya-rao-a We can close this issue unless we are going to upgrade to the latest amqp-common in this repo.
The first failure in your screenshot is not address by this PR.  I removed the test in https://github.com/jeremymeng/azure-event-hubs-node/commit/16a5c5fc26d404c0509ebddde2193bd31e61af57 as the code path will no longer be hit with the latest amqp-common. The change will be in the central repo once merged.
This is probably a breaking change caused by amqp-common if consumers rely on the call stack of the thrown error. Do we have a place where we track breaking changes?

Actually, that particular test case has been breaking every since version 0.1.4 of amqp common with the error: Cannot read property 'endsWith' of undefined.
The user expectation is that when the connection string doesn't have the entity path, they get the Either provide "path" or the "connectionString": ... must contain EntityPath.... And this still holds true.
We can update the test case to use Endpoint=sb://abc; i.e connection string has endpoint but no entity path instead of abc and close this issue

Actually, that particular test case has been breaking every since version 0.1.4 of amqp common

yes after https://github.com/Azure/amqp-common-js/commit/a2a8e7d5b242d278dbe9e198d07194c32e3d24cf#diff-ad0ce2742650d03b78af445d57e30269

We can update the test case to use Endpoint=sb://abc;

Yeah I did that originally.  Then I looked further in the code and found that https://github.com/Azure/azure-event-hubs-node/blob/dff107968b4e97e3786b5fd796464f30c7be6f37/client/lib/eventHubClient.ts#L307 is dead code since an error is already thrown if the entity path is missing, and we are just testing EventHubConnectionConfig behavior. That's the reason why I want to remove the dead code and this test.

is dead code since an error is already thrown if the entity path is missing,

Can you point me to the place where this error is thrown?

Can you point me to the place where this error is thrown?

Using amqp-common 0.1.4 or later: https://github.com/Azure/amqp-common-js/blob/c365c92aaa1b718a59859e2ec4a4361c6a68ae41/lib/connectionConfig/eventhubConnectionConfig.ts#L82-L85
Current master is using 0.1.3 so this test is not failing. So if we are not ugrading amqp-common in this repo we can just close this issue.

But the error thrown by the below code is not the one being tested
https://github.com/Azure/azure-event-hubs-node/blob/dff107968b4e97e3786b5fd796464f30c7be6f37/client/lib/eventHubClient.ts#L307-L308
The error thrown by amqp-common is the one being tested.
https://github.com/Azure/amqp-common-js/blob/c365c92aaa1b718a59859e2ec4a4361c6a68ae41/lib/connectionConfig/eventhubConnectionConfig.ts#L82-L85
This is the failing test: https://github.com/Azure/azure-event-hubs-node/blob/3c865b47be659071a456e1a3b290eeb650a4ee3f/client/tests/client.spec.ts#L49-L54
Therefore, changing the input in the test case to Endpoint=sb://abc; should work for all versions of amqp-common

My point was that after removing the dead code, there isn't any logic in eventHubClient to test. But I must admit that I was thinking in the unit testing point of view.  As an integration test this still has value.

Yes, we can either change the input value to get this test passing or move this test altogether into amqp-common.

I will do both. I added a new test to amqp-common in PR https://github.com/Azure/amqp-common-js/pull/28 when I removed the scenario in this repo.  I will add it back with the updated endpoint.
I will probably add another test with "abc" endpoint to the amqp-common repro.

I will probably add another test with "abc" endpoint to the amqp-common repro.

actually a similar case is already covered there. so we are all good.


floppy: switch to gpt partitioning

Description
Switch the boot floppy to use GPT partitioning
Why is this needed
The GPT partition table allows us to label the partition more clearly
which makes it easier for other tooling to detect / ignore it.
How Has This Been Tested?
Mostly just on my NixOS machine, though also under docker in #90 which is no longer needed thanks to #89
How are existing users impacted? What migration steps/scripts do we need?
N/A

Thanks for the rebase, @jacobweinstock!


Sometimes a topic is not found by roswatcher thread...

[INFO] [WallTime:<PHONE_NUMBER>.606745] [ros_interface] Adding service /./stop_rapp
[WARN] [WallTime:<PHONE_NUMBER>.620876] [ros_interface] Cannot Expose unknown service /./stop_rapp (maybe it is a regex or doesn't exist yet?)
[INFO] [WallTime:<PHONE_NUMBER>.623403] [ros_interface] Exposing params : []
[INFO] [WallTime:<PHONE_NUMBER>.624298] [ros_interface] Exposing actions : []
Exception in thread Thread-4:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/opt/groot/rocon_ws/src/pyros/src/rostful_node/ros_watcher.py", line 55, in run
self.update()
File "/opt/groot/rocon_ws/src/pyros/src/rostful_node/ros_watcher.py", line 70, in update
self.topics_change_cb([ c.name for c in new_conns[SUBSCRIBER]], [c.name for c in lost_conns[SUBSCRIBER]])
File "/opt/groot/rocon_ws/src/pyros/src/rostful_node/ros_interface.py", line 506, in topics_change_cb
ret = self.add_topic(topic_name)
File "/opt/groot/rocon_ws/src/pyros/src/rostful_node/ros_interface.py", line 274, in add_topic
if self.topics_args[topic_name] == -2:
KeyError: '/rocon/app_manager/rapp_list'

This seems to have been fixed while refactoring and testing for 0.1


Rename the SQL code sample to include 'mysql'

This renames the SQL code sample to include the string 'mysql'. This is done because we will add another parallel sample for postgres and this will distinguish between the two.
wip: #1279

Codecov Report

Merging #1292 into master will not change coverage.
The diff coverage is n/a.

Continue to review full report at Codecov.

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


TypeError: an integer is required

PymRMR version: 0.1.8
Python version:3.5.2
Operating System: Windows 10

Description
I'm trying to run the below
n=10
pymrmr.mRMR(df.iloc[:, 1:], 'MIQ', n)
However, the error occurs as following.
TypeError: an integer is required
What I Did
I'm searching the solution for the error but there is the solution working in Cython.
And, I have no knowledge on Cython.  Also, I tried to add a code pymrmr.pyx but it didn't work

Hi @Kein0112,
Could you provide me a test matrix that generate such error so I can debug it?
Thanks,
Francesco

Did you find the solution for that? as i am encountering the same problem.

@shm-smn could you share a test matrix to understand the issue?
Thanks

@fbrundu  I just occurred the same problem. Do you familiar with this problem?

@terminator9487 could you share some test data to understand the issue?
Thanks

If it's not private you can just drop it here. Can you anonymize it?

Hi @AlvaroRodriguezDelRio !
I looked at the error and got to know that it is caused by the file pymrmr.pyx
Upon more debugging I found that it's because in the source file pymrmr.pyx where the mRMR function is defined, there's a line as follows:
def mRMR(data, method, nfeats):   cdef vector[vector[int]] _data = data.copy().values
In the line 2, you can see that the values of the input data, that's, the actual CSV file is copied into a int cell of the 2d vector. On the other hand, the data file you input contains values in float format, due to which it is giving the TypeError.
I'll create a pull request after making the appropriate changes to the pymrmr.pyx file.
I hope this might help you.
Thanks

Thanks a lot for your answer @noobyogi0010 ! This was really helpful, I will be looking forward to the new updated version with the changes you propose!

@noobyogi0010你好，能详细说说你是怎么改的吗


Window resizing does not work properly with the pygame backend

When attempting to resize a window, it resizes, but it's contents stay the same size, drift outside the visible area and I get some black margins around it. Also the mouse is kind of offset. Does anyone know a fix/workaround for this?

I'm using the code from examples/integrations_pygame.py, but I have added pygame.RESIZABLE to the pygame.display.set_mode call. Also ImGui's io.display_size seems to be getting updated from the resize events, so I guess that's not the cause of the problem.

Found the issue and fixed it. Resizing in pygame is a bit wonky but should work now.
I will remove "release pending" label when it's finally on PyPI

This has been released in 1.1.0 and is available for download from PyPI.


Consider implementing TLS Insecure Option for OpenStack Cloud Provider

Right now, there is no way to configure the tls-inseucre option for the OpenStack cloud Provider:
type Config struct {
	IdentityEndpoint            string
	ApplicationCredentialID     string
	ApplicationCredentialSecret string
	Username                    string
	Password                    string
	DomainName                  string
	TenantName                  string
	TenantID                    string
	TokenID                     string
	Region                      string
[...]
}

meanwhile the OpenStack Terraform Provider does implement that option, making use of the utils/auth package:
v, ok := d.GetOkExists("insecure")
	if ok {
		insecure := v.(bool)
		config.Insecure = &insecure
	}

https://github.com/terraform-provider-openstack/terraform-provider-openstack/blob/cc49d3294434f9fce84fe9fc26e2917854b26b18/openstack/provider.go#L523
Would you mind implementing that option as well, otherwise I dont think I can fast bypass the self signed ssl certificate in our dev openstack environment.

@FalcoSuessgott but are you aware of -ca-bundle flag? It allows you to provide path to the file with custom CA bundle. The usecase is that you could setup own CA PKI and use it as the only root CA.


Server stops working randomly

Everytime I port forward and host a server, it works fine and others can join just fine.
Randomly, however, my server just stops working. I cannot connect to it anymore, and I know that my ports are still open. (This is after a few days, if not a week)
However, if I change the port, the server magically works again.
For example, start with 443. It works fine, stops working after a few days.
Change to 469, works again. Stops working after a few days.
Change to 666, works again. Etc.
Changing the ports back to the previous number does not seem to work, nor does redoing my static IP and port forwarding. (Edit: changing my server port to 443 seems to make it work again, but 469 won't work. 666 does work, though.)
I have also made sure that none of my running applications are using the ports which I can no longer use for my server.
Why does this happen?

I use 666 even for variable names but details ahahah anyway can you explain better the way you're connecting (Eg: me - router - Internet, simple net)? And are you getting any error (server and client side)?

It might be your internet service provider.  Check your ISP's EULA to see if there's any statement that prohibits you from hosting a server on your internet.

@HAlexTM Satan lover?

his ISP is satan confirmed O_o

Ahahah I'm not a Satan lover but I got this number everywhere (mum's car license plate...)

Sorry for the late reply.
@SimonOrJ If I'm correct, then my ISP allows hosting gameservers from my home network.
@HAlexTM I'm not exactly sure how to answer that, but I guess my computer - router(internet modem) - wall socket? As for any errors, I'm not receiving any errors from my console while trying to host on the ports that do not work. I simply can't connect to 443, and now 469 too. 666 works just fine, when I change the server port in the notepad file.

Try then using ports with 4 numbers like 6666

For example, on §22, my ISP says: https://www.optimum.net/pages/Terms/Internet/Residential.html

B. Optimum 50, Optimum 60, Optimum 75,Optimum 100, Optimum 200 and Optimum 300:
i. Users may not run any servers except for a webserver (HTTP) and mail (SMTP) on the system. This includes but is not limited to FTP, IRC, POP, SOCKS, SQUID, DNS or any multi-user forums.

But all ISPs operate differently.  You cannot just assume if you have an internet connection from an ISP, you have access to hosting all kinds of internet stuff.  There has to be a reason why those ports are getting randomly blocked.
Have you tried to connect to your server after connecting your Ogar server machine directly to the modem and using one of the old ports?

@SimonOrJ According to well-known and trusted users on the forums of my ISP, a hobby-server on my home internet is allowed. It is not an assumption in this case.
As for connecting to my server after starting the Start-windows.bat file with one of my old ports being assigned as the designated hosting port, I cannot connect. The agario page will load like it should, but after clicking ''Play'', it results in the greyed out waiting screen saying ''Connecting...''
If that is not what you meant by connecting my Ogar server machine directly to my modem, I'm afraid that I don't understand what you meant.
@HAlexTM I will try that next time, but what makes 4 numbers better than 3?
I appreciate your effort to help me. Thanks everyone.

By connecting your server directly to the modem, I mean connect your server computer (that hosts the Ogar server) directly to the device that provides the internet (modem in most cases; bypass everything and make it connect directly to the internet without any routers or switches in between).  I'm asking you to do this to eliminate the possibility of your router failing or blocking access at random.
To add on the reasoning behind @HAlexTM's suggestion:  Port numbers from 0 to 1023 are system-designated ports.  If you were using a Linux machine to run the server, you would need to be root to run the server on one of those ports (or it will result in error EACCESS).  It doesn't make the server better, but it's easier to configure and make it work on it.

Exactly @SimonOrJ. If your ISP only allows Web hosting you can use port 80 for the client, 443 for the gameserver and others that may be allowed (like 8080, 88, 8443, 21, 22, 25...) or if it only allow one port you can setup Nginx on that port then use it like (url:allowedPort/portINeedToUse/), if you need help with nginx just ask, I made a similar system working with sockets too.

I have looked into this a bit myself and I have discovered a few things:

Now, whenever I can't access my server anymore on a certain port using the public link, others are still able to connect. Using the localhost link will allow me to connect to my server, however. This used to not be the case, as nobody was able to join in the past whenever I couldn't join anymore Why is this?
The router I believed was part of the path to internet for my computer, is not actually for my computer or internet modem. My computer is connected to the modem, which is plugged into a wall socket.

I'm using a Windows OS, windows 10 to be exact. I will try to run it on four-digit numbers whenever 666 stops working for me.


ngrx-slice How to create custom selectors for ngrx-slice generated state

Hello Chau,
We've been using ngrx-slice for a while and it is super useful.
I bumped into an issue where I need to transform a portion of the state and select that. I've looked at documentation, but couldn't find anything on how to add a custom selector to my slice. I tried using createSelector from ngrx, but I couldn't get it working. Can you give me some tips?
Thank you for your help.

Thank you for the kind words. Have you looked at this https://github.com/nartc/todomvc-ngrx-slice/blob/slice/src/app/todo/store/slice.ts ? I know it's "entity" but the way you use createSelector would be the same.

Thank you very much, that is exactly what I needed! Cheers for fast reply and help!


Python Version Error

Hey, Sourcery throws this error on vscode start. Also mentions something about int not having a split method.
This may be due to some personal ignorance on my part but I've been unable to find anything mentioning this specific error thus far.
Using the schema at https://docs.sourcery.ai/resources/sourcery_yaml_schema.json
Sourcery version 0.12.11, Occurs on other versions also.
vscode version 1.72.2
.sourcery.yaml config in question
python_version: '3.6'
throws the below
Incorrect type. Expected "PythonVersion".

Thank you for reporting this @Rathvire
This appears to be a problem with our schema and it won't affect the running of our application. You have configured it correctly as a string.
We will fix our schema so this doesn't occur

Thanks


Feature/chainable includes

I added the possibility to use .Include followed by .ThenInclude. This should make it easier to define what properties should be loaded.
Chainable Includes add their paths to the existing IncludeStrings, because i think the most generic approach to define proprties to load are strings.

Thanks!


Import rerun-docs

What
Part of https://github.com/rerun-io/rerun/issues/2134

[x] Move content from rerun-io/rerun-docs to rerun-io/rerun/docs
[x] Upload all rerun-io/rerun-docs/docs-media to GCS (using just upload) and update links
[x] Test landing pointed to rerun-io/rerun/<this PR>

Preview: https://landing-lomuaznlh-rerun.vercel.app/docs
Checklist

[x] I have read and agree to Contributor Guide and the Code of Conduct
[ ] I've included a screenshot or gif (if applicable)

PR Build Summary: https://build.rerun.io/pr/2284

Excited!


Support multisample resolve targets

#2813 added support for resolve targets in the Vulkan backend
We still need to add ATTACHMENT_UNUSED in the API - #2861
Also related to #2859 rename.
This issue is about catching up with other backends by implementing resolve targets:

[ ] Metal
[ ] dx11
[ ] dx12
[ ] GL

Resolve should be mostly done for dx12, I tested it via portability IIRC.
ATTACHMENT_UNUSED is still an open point ofc


Hacktoberfest : Add illustrations (TODO)

I am opening this issue for someone looking to contribute, as per Hacktoberfest event.
Open a PR including changes to all the below TODO List of Resources, and make sure to link the issue to the PR so that I get notified that this contribution is done for Hacktoberfest.
Adding the whole list will definitely prove that the contribution is up to the standards of the Hacktoberfest event.

Comment, if you want me to assign this issue to you

Illustration

[ ] EMOJIZ
[ ] ANIMALZ
[ ] AVATARZ
[ ] Nutrition Icons
[ ] Mental Health Icons
[ ] Website States Icons
[ ] Education Icons
[ ] Ecology & Nature Icons
[ ] Startups and SaaS Icons
[ ] COVID-19 Icons
[ ] Food & Drink Icons
[ ] Ugly Delicious
[ ] Social Work & Charity
[ ] COVID-19 & Vaccinations
[ ] Product & Project Managers

I would like to work on this issue, please assign it to me. Thanks!

@jpacsai
Hold on, and don't make a PR till the previous PR of yours is merged. I will request some changes in a few minutes.

ok, sure, no problem.

@Anmol-Baranwal I start work on this issue as my previous PR has been merged

Yeah, go ahead.

@jpacsai
Please, do not reference the issue in the individual commits.
Since that would be appropriate when the fork is deleted, and it also makes the issue quite a mess.


[ZEPPELIN-3555] Zeppelin auth fails if activeDirectoryRealm.groupRolesMap is not specified.

What is this PR for?
Zeppelin auth fails if activeDirectoryRealm.groupRolesMap is not specified.
What type of PR is it?
[Bug Fix]
What is the Jira issue?

ZEPPELIN-3555

How should this be tested?
Zeppelin auth fails if groupRolesMap is not specified in ActiveDirectoryGroupRealm, with this PR following config should work;
activeDirectoryRealm = org.apache.zeppelin.realm.ActiveDirectoryGroupRealm
activeDirectoryRealm.systemUsername = userNameA
activeDirectoryRealm.systemPassword = passwordA
activeDirectoryRealm.searchBase = CN=Users,DC=SOME_GROUP,DC=COMPANY,DC=COM
activeDirectoryRealm.url = ldap://ldap.test.com:389
#activeDirectoryRealm.groupRolesMap = "CN=admin,OU=groups,DC=SOME_GROUP,DC=COMPANY,DC=COM":"admin","CN=finance,OU=groups,DC=SOME_GROUP,DC=COMPANY,DC=COM":"finance","CN=hr,OU=groups,DC=SOME_GROUP,DC=COMPANY,DC=COM":"hr"
activeDirectoryRealm.authorizationCachingEnabled = false

Screenshots (if appropriate)
Questions:

Does the licenses files need update? N/A
Is there breaking changes for older versions? N/A
Does this needs documentation? N/A

@VipinRathor @zjffdu can you help review this.

LGTM

LGTM!

Thanks for the review will merge this if no more discussion.


[BUG] FVM Preamble in fvm flutter

Before creating a bug report please make check the following

[x] You have read our FAQ
[x] If you have used flutter. Please install correctly, run pub cache repair. Close the terminal and try again.
[x] If you are on Windows. Make sure you are running the terminal as administrator or with developer permissions.
[x] Run fvm doctor if possible and add the output to the issue.

Describe the bug
fvm flutter injects logging into the output. This can be problematic when you're using fvm flutter pub run and expecting a certain output from the tool that was ran.
To Reproduce
Steps to reproduce the behavior:

Go to terminal..
Run fvm flutter pub run <some package executable>...
See fvm's preamble

Expected behavior
The output from the ran executable.
Logs
N/A
Additional context
We noticed this in our CI pipeline. We use fvm to pin the version that CI uses which is great, thank you for that. However we also use a few of our own tooling that is executed with fvm flutter pub run and we're expecting that the output is the tool's output.
In my opinion, that preamble should only print if the --verbose is passed in.

@nicholasspencer makes sense

Solved on version 2.0.4


Pruning method in WTQ

Hello,
I am new to this topic and I'm currently trying to use the pruning/filtering method for long tables in the WTQ notebook.
I tried using the flag --prune_columns in the prediction function, but it still gives me "Can't convert interaction:  error: Sequence too long".
What are the necessary steps to filter/prune long tables during prediction?
Thank you in advance.

Thanks for your interest in TAPAS!
Can you provide some more details?
In particular, the exact example your trying to process (question + table)?

Thank you for your quick response. The questions asked were:
result2=predict(holiday_list_of_list, ["Which people are there?","What is the start date of Brittas Südfrankreich Urlaub?","End date of Brittas Südfrankreich Urlaub?","What is the total Duration of Britta Glatts Holidaystyle Urlaub?"])
This is what the table looks like, it contains 36 rows:

The predictions worked perfectly, when I dropped the last column "TESTCATEGORY". But when I leave it in the dataframe, I get the error mentioned above.

Thanks for the quick response @sophgit . In order to facilitate debugging, do you mind sharing the table in a computer friendly format, for example a list of lists? Even better, if you can share a colab that reproduces the error that would be great, which you can do with Google Drive or saving to a github gist from the Save menu.

Can you open this? @eisenjulian
https://colab.research.google.com/drive/1oH8-CuLju5fSwlk24NfvqI1FAWfAIg49?usp=sharing

Yes, we can open it.
I think the problem is that the current CLI call:
  ! python -m tapas.run_task_main \
    --task="WTQ" \
    --output_dir="results" \
    --noloop_predict \
    --test_batch_size={len(queries)} \
    --tapas_verbosity="ERROR" \
    --compression_type= \
    --reset_position_index_per_cell \
    --init_checkpoint="tapas_model/model.ckpt" \
    --bert_config_file="tapas_model/bert_config.json" \
    --mode="predict" 2> error \
    --prune_columns

Does only run the predictions but assumes that all TF examples have been created.
The prune_columns flag doesn't affect prediction but only the CREATE_DATA mode.
The actually conversion that should be affected happens in the convert_interactions_to_examples function.

To add pruning to the colab you will have to create a token selector:
from tapas.utils import pruning_utils

token_selector = pruning_utils.HeuristicExactMatchTokenSelector(
      vocab_file,
      max_seq_length,
      pruning_utils.SelectionType.COLUMN,
      use_previous_answer=True,
      use_previous_questions=True,
)

and then you can call it just before calling the converter:
    interaction = token_selector.annotated_interaction(interaction)
    number_annotation_utils.add_numeric_values(interaction)
    for i in range(len(interaction.questions)):
      try:
        yield converter.convert(interaction, i)
      except ValueError as e:
        print(f"Can't convert interaction: {interaction.id} error: {e}")

When I tried this I realized there was some problem with beam not being properly installed.
I had to workaround it like this:
import apache_beam as beam

def fake_counter(namespace, message):
  class FakeCounter():
    def inc(increment=None, other=None):
      pass
  return FakeCounter()

class FakeMetrics:
  def __init__(self):
    self.counter = fake_counter

class FakeMetricsModule:
  def __init__(self):
    self.Metrics = FakeMetrics()

beam.metrics = FakeMetricsModule()

Looks like the apache_beam thing can also be fixed by restarting the runtime. See #89 for details.

Thank you so much!!! It seems to work. At least I don't get an error anymore and it does predict. Unfortunately the answers to the questions above are mainly incorrect now, but I'll see if I can work with that. :)

Great that it's working for you now.
I am closing this issue, feel free to open a new issue for any model quality problems and we can see if there is something we can do about it.


num-traits needs the i128 feature enabled to build with modern Rust versions

Expected Behaviour
The crate should compile by default
Example & Steps To Reproduce

Create a rust-gpu shader crate using the exact version of rustc needed and num-traits 0.15
Attempt to compile
Read the docs of num-traits to discover why the error happens

System Info

Rustc version: rustc 1.69.0-nightly (44cfafe2f 2023-03-03)

SPIR-V version: unknown

Rust: rustc 1.69.0-nightly (44cfafe2f 2023-03-03)

OS: NixOS Unstable 23.05 (Stoat)

GPU: Intel(R) Arc(tm) A770 Graphics (DG2)

SPIR-V: unknown

Backtrace

Backtrace

cargo build --release
...
   Compiling spirv-tools v0.9.0
error[E0599]: no function or associated item named `from_u128` found for type parameter `
P` in the current scope
   --> /home/enderger/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc_codegen_spirv
-0.7.0/src/abi.rs:867:26
    |
861 |             fn const_int_value<'tcx, P: FromPrimitive>(
    |                                      - function or associated item `from_u128` not
found for this type parameter
...
867 |                 match P::from_u128(value) {
    |                          ^^^^^^^^^
    |                          |
    |                          function or associated item not found in `P`
    |                          help: there is an associated function with a similar name:
 `from_u8`

For more information about this error, try `rustc --explain E0599`.
error: could not compile `rustc_codegen_spirv` due to previous error

The error is in rustc_codegen_spirv which is not code compiled for the GPU, but rather a compiler backend (and 128-bit integers are used in a bunch of places in rustc).
How are you managing to influence the compilation of rustc_codegen_spirv from your project?
Can you share your Cargo.toml + Cargo.lock? Or at least gist the output of cargo tree -e features.

@enderger If you were using fenix, this should now be fixed

Assuming this was an external bug with rust-toolchain.toml being ignored, closing for now.


Update Set-NetTCPSetting.md

Updated description for AutoReusePortRangeStartPort
fixes #https://github.com/MicrosoftDocs/windows-powershell-docs/issues/2982

@JohanFreelancer9 Please copy review
CC: @scanum

Learn Build status updates of commit 5b80b43:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2022-ps/nettcpip/Set-NetTCPSetting.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Learn Build status updates of commit 1507fa7:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2016-ps/nettcpip/Set-NetTCPSetting.md
:white_check_mark:Succeeded
View (WindowsServer2016-ps)

docset/winserver2022-ps/nettcpip/Set-NetTCPSetting.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Learn Build status updates of commit f598536:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2016-ps/nettcpip/Set-NetTCPSetting.md
:white_check_mark:Succeeded
View (WindowsServer2016-ps)

docset/winserver2019-ps/nettcpip/Set-NetTCPSetting.md
:white_check_mark:Succeeded
View (WindowsServer2019-ps)

docset/winserver2022-ps/nettcpip/Set-NetTCPSetting.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Learn Build status updates of commit 839b876:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2012r2-ps/nettcpip/Set-NetTCPSetting.md
:white_check_mark:Succeeded
View (winserver2012r2-ps)

docset/winserver2016-ps/nettcpip/Set-NetTCPSetting.md
:white_check_mark:Succeeded
View (WindowsServer2016-ps)

docset/winserver2019-ps/nettcpip/Set-NetTCPSetting.md
:white_check_mark:Succeeded
View (WindowsServer2019-ps)

docset/winserver2022-ps/nettcpip/Set-NetTCPSetting.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Learn Build status updates of commit 2c0883a:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2012r2-ps/nettcpip/Set-NetTCPSetting.md
:white_check_mark:Succeeded
View (winserver2012r2-ps)

docset/winserver2016-ps/nettcpip/Set-NetTCPSetting.md
:white_check_mark:Succeeded
View (WindowsServer2016-ps)

docset/winserver2019-ps/nettcpip/Set-NetTCPSetting.md
:white_check_mark:Succeeded
View (WindowsServer2019-ps)

docset/winserver2022-ps/nettcpip/Set-NetTCPSetting.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Great explanation, thank you @msbemba 👍

@tiburd could you please help with this one? Thanks!

Learn Build status updates of commit 22e8120:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2012r2-ps/nettcpip/Set-NetTCPSetting.md
:white_check_mark:Succeeded
View (winserver2012r2-ps)

docset/winserver2016-ps/nettcpip/Set-NetTCPSetting.md
:white_check_mark:Succeeded
View (WindowsServer2016-ps)

docset/winserver2019-ps/nettcpip/Set-NetTCPSetting.md
:white_check_mark:Succeeded
View (WindowsServer2019-ps)

docset/winserver2022-ps/nettcpip/Set-NetTCPSetting.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


Parse Server Benchmarking

Hey Guys I did some simple benchmarking today with a Jmeter script , just does a POST and a GET of the object created and I also used apache benchmark... From the looks of the data I'm seeing pretty high response times from the results.. I'm not sure if its the connection between you guys and MongoLab or the small free dyno im running.. here are some of my findings.. Any thoughts?
https://groups.google.com/forum/#!topic/parse-developers/puldzNyFEGs

If having multiple cores, you could use cluster module to scale up the number of processes. Here is an easy example to do this for an express server like parse-server: http://www.sitepoint.com/how-to-create-a-node-js-cluster-for-speeding-up-your-apps/
I tested this snipped and it seems to work:
var cluster = require('cluster');
if (cluster.isMaster) {
    var numWorkers = require('os').cpus().length;
    for(var i = 0; i < numWorkers; i++) {
        cluster.fork();
    }
    cluster.on('online', function(worker) {
        console.log('Worker ' + worker.process.pid + ' is online');
    });
    cluster.on('exit', function(worker, code, signal) {
        console.log('Worker ' + worker.process.pid + ' died with code: ' + code + ', and signal: ' + signal);
        console.log('Starting a new worker');
        cluster.fork();
    });
}
else {
    var api = new ParseServer({
      databaseURI: process.env.DATABASE_URI || 'mongodb://localhost:27017/dev',
      cloud: process.env.CLOUD_CODE_MAIN || __dirname + '/cloud/main.js',
      appId: 'myAppId',
      masterKey: 'myMasterKey'
    });

    var app = express();
    // Serve the Parse API on the /parse URL prefix
    var mountPath = process.env.PARSE_MOUNT || '/parse';
    app.use(mountPath, api);

    // Parse Server plays nicely with the rest of your web routes
    app.get('/', function(req, res) {
      res.status(200).send('I dream of being a web site.');
    });

    var port = process.env.PORT || 1337;
    var httpServer = http.createServer(app);
    httpServer.listen(port, function() {
      console.log('parse-server-example running on port ' + port + '.' + process.pid);
    });
}

Does this help in your benchmark?

Very interesting data.
Newrelic (last screenshot in the linked google groups discussion) lets you break down requests into DB, Async, IO etc. I believe it is under transaction traces if you click into one of the paths.
Can you take a look at those metrics for a better understanding of what is the slow piece? Maybe you could share your findings so we can also learn from them.

@doender right now im just using a free dyno at Heroku which is prob a small container on some VM that they let you use.  I just wanted to see how that preformed with the Free instance at MongoLabs as well.
@codebreach Thanks for reminding me here it is

I dont get the post  value being 812ms.. thats crazy..
Next steps is to add some sort of profiling to the code, but I its been ages since I tried to profile node.js and not sure where to start again on a remote server.

Here is my jmeter script, its very simple but you need to change a few things which can be done via text editor if you do not have jmeter.
          <stringProp name="Header.name">X-Parse-Application-Id</stringProp>
          <stringProp name="Header.value">yourappid</stringProp>

add your appid you added for your parse server
line 55 add your domain in
      <stringProp name="HTTPSampler.domain">yourserver</stringProp>

no http.. just whateveryourdomain.com
line 85
change your domain as above
      <stringProp name="HTTPSampler.domain">yourserver</stringProp>

save that and sign up for a free account at blazemeter.. when you log in select jmeter and upload your script..
You can download the script from my server here

You can run parse-server with PM2 in cluster mode to solve this.

@francocorreasosa could you explain this a bit more , esp for people reading this thread.

Sure,
You can install pm2 from npm and run
pm2 start server.js -i 3
So pm2 will run a 3-node cluster for your server. I think this can be done
to load balance the traffic between parse-server instances plus a load
balancing server.
On Tue, Feb 2, 2016 at 10:35 PM Gateway<EMAIL_ADDRESS>wrote:

@francocorreasosa https://github.com/francocorreasosa could you explain
this a bit more , esp for people reading this thread.
—
Reply to this email directly or view it on GitHub
https://github.com/ParsePlatform/parse-server/issues/185#issuecomment-178947338
.

If you're using Heroku and don't want the complexity of configuring pm2, you could also consider a plugin like Adept Scale to handle this for you: https://devcenter.heroku.com/articles/adept-scale

@francocorreasosa be nice to see if this works, im assuming this would be running on like AWS to scale your EC2 instances or?
@jamiechapman I read though the docs, seems like some of this is still in beta, it would be good to figure out if this could be used with parse-server because nobody is really talking about scaling or how to potentially scale a parse server.

"pm2 start index.js -i 2" could also be used one a single instance with 2 cores to distribute the load. I tried it, works perfectly and no changes to the code needed like in the snippet I posted.

@doender If I have time this week Ill test this out and run some benchmarks.. what cloud provider are you using?

DigitalOcean

@doender thanks for that.  From building my own backend for a game called TouchFish as you scale you will need to eventually have load balancers in front of your parse servers that will then based upon the parse server health or requests send the data to x server.  I have yet time to mess around with this and might try it in aws since they have already load balancers you can use with one of their many services.

Here are a suggestions for a few other load tests that may be useful to do, in clustered and non-clustered configurations:

Test HTTP request to non-Parse Heroku Node.js app, e.g. a simple hello world - this will give you the baseline speed
Test empty Cloud Code function call - this won't hit the database, should be similar to baseline
Your test original test - will include database latency overhead
Test Cloud Code function that makes a database call - will test impact of additional resources used by Cloud Code when it makes an API call request

Ill be running tests on AWS , since they now have a set up to work with Parse server that uses their Elastic Beanstock system (manages load balancers, auto scaling etc).. More found here http://mobile.awsblog.com/post/TxCD57GZLM2JR/How-to-set-up-Parse-Server-on-AWS-using-AWS-Elastic-Beanstalk

Also above Ill be testing https://www.mongodb.com/migrate-from-parse-to-mongodb-cloud-manager-and-aws provisioning system in aws with beanstalk

Eagerly following...any updates?

Sorry I was side tracked this weekend with other stuff and am looking into seeing how to integrate PM2 depending on the AWS EC2 I use since you can run one instance of node.js on a core.  I want to make sure the nodes also restart if they crash of fail, so a lot of reading up on Elastic Beanstalk.

@gateway any updates?

@markuswinkler this week, got pulled into figuring out what hosting we will be doing and will do my first decent load test with mongo cloud (in aws) and elastic beanstalk with parse servers..  This will give me the ability to scale parse servers up or down based on load and use a nice interface for mondodb cloud manager to have 1 replica set of 3 servers to start with.

@gateway Fantastic! I bet this kind of setup applies to a lot of people who want to migrate, looking forward to the results! Are you going with m3.medium instances?
Also, I hear a lot of different opinions on wether to use a service like MongoLab/Compose.io or manage the mongodb servers yourself. What is your stance on this?

I think I've tentatively settled on AWS EB and Compose.io. I am very interested to see your results. Thanks!

@markuswinkler it will depend on what your skill level set is or how comfortable you are using other interfaces.  For our Likemoji project we will be going the route of Elastic Beanstalk to handle load balancing, scaling of parse servers and connecting to a cluster of mondodb servers running in the same amazon region.  We will also be using mondo cloud to admin the mondo databases which provides a nice interface, backup system and ability to fire up various replica sets in amazon east region but better yet in different data centers (to avoid a data center going down and your app to not work)..
Mongo just did a webinar on using their system with aws.. https://www.mongodb.com/presentations/webinar-step-by-step-parse-migration-plan.. anyhow rambling.  Most people not really tech savvy can just use heroku and mongolab which works.  Ill prob do a writeup on my personal blog about my experiences.

@gateway Interesting, thanks for sharing the link, looks very helpful should we go that route!
Btw, your estimated growth of the DB of 2-4% is a significantly lower than the official one from parse.com, stating your DB will need 10x (1000%!) more space as stated here: https://github.com/ParsePlatform/parse-server/wiki/Parse-Server-Guide

@markuswinkler yea, I was going off what the mondodb webinar was saying.. but you deff need lots more space.  Its to bad that Parse does not support mondodb 3.2 because they have built in compression with WiredTiger options.  Looking at mondo site it says its in 3.0 so maybe ill do some tests with that.

What will it take to get Parse to support WireTiger MongoDB 3.2 (which I
know nothing about but have heard rumors of good things). Timeframe?
On Tue, Feb 23, 2016 at 1:59 PM, Gateway<EMAIL_ADDRESS>wrote:

@markuswinkler https://github.com/markuswinkler yea, I was going off
what the mondodb webinar was saying.. but you deff need lots more space.
Its to bad that Parse does not support mondodb 3.2 because they have built
in compression with WiredTiger options. Looking at mondo site it says its
in 3.0 so maybe ill do some tests with that.
—
Reply to this email directly or view it on GitHub
https://github.com/ParsePlatform/parse-server/issues/185#issuecomment-187841910
.

@nitrag see #345

I believe one of the reasons 3.2 isn't supported is a change in how geopoints are stored, and we're using an older format which is incompatible.  So that makes migration difficult unless you handle that on your own after moving to a supported version... and it would be problematic to change how geopoints are stored for any migrated app while old clients are still hitting api.parse.com.  For an entirely new app, I think a modified database adapter could be used to work with 3.2.

I'd like to close this issue, not really seeing much benchmark discussion, and we're still in a state of flux getting closer and closer to production stability.. Seeing examples online for how to properly load-balance and monitor parse-server would be great, and we'd happily link to any good info / blog posts from the wiki.


python3Packages.asyncua: 1.0.1 -> 1.0.2

Description of changes
There is no good changelog, just "many bug fixes. See commits for details".
Commits: https://github.com/FreeOpcUa/opcua-asyncio/compare/v1.0.1...v1.0.2
I reenabled the CLI tools test with a workaround. If you don't like it and prefer it disabled, I can remove the commit. If the commit should be squashed with the update, I can also do that.
Maintainer(s): @harvidsen
Things done

Built on platform(s)

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

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

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

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

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

[X] Fits CONTRIBUTING.md.


Revert "chore: add dependabot version updates"

Reverts RigoBlock/v3-contracts#97

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
915

Relevant Lines:
921

💛  - Coveralls


Project Summary cards have variable/inconsistent height

Someone on IRC mentioned that the project summary cards (like on the index page) show up in variable heights that don't really match each other based on how long the content inside of them is. It'd be nice to make them all the same height or, failing that, make them some sort of multiple of each other like servers in a rack (1U, 2U, 4U, etc) so that they line up better.

Servers in a rack?  Sorry, I don't understand what you mean... can you draw me an example? :smile:

Please see below. Rows are unaligned, making it look unprofessional.
The solution is to use fixed CSS height and then cut out description, so that it doesn't overflow. CSS does not support ellipsis, so often equal height is achieved using a fade effect at the bottom of the box or just trimming the text to certain width and making an assumption it doesn't exceed the given space.

often equal height is achieved using a fade effect at the bottom of the box or just trimming the text to certain width and making an assumption it doesn't exceed the given space

I'm not keen on this idea - I think it dramatically reduces the usability of the page.
Instead, let's try addressing this issue using a truncate plugin that adds a 'more' link so that users can expand the content if they want to.  The link should be styled to be consistent with the 'more' links on the package history panel:

This plugin might be a candidate: https://github.com/jedfoster/Readmore.js
Note that this should only be applied on pages where we have multiple columns of packages (just the index page for now) as this really isn't a problem when we have just one column on display (as on the author page).  In addition, the plugin should be disabled and the full text rendered when the viewport is < 800px, as this is when this layout becomes single column.

That seems like a reasonable solution.

This actually looks like the perfect use case for a CSS table. http://caniuse.com/#feat=css-table

@Ivoz: Never use tables for layout, a lot of people feel really strongly about that 😛
@nlhkabu @dstufft The other JavaScript solution would be to get the size of the largest card and set the height of the others to match. This would probably break down with the addition of "show more" buttons, though. I like the solution of using heights which are multiples of the original height. The diagram @nlhkabu asked for:

Something like this would allow for adapting to lots of different card sizes without truncation, but still letting the cards line up.

@controversial never use HTML tables for visual layout. Use HTML tables when you have tabulated data. That is all your link asks about, you'll notice: HTML tables, not CSS ones.
Not making use of CSS tables for CSS layout is kinda stupid, it is arbitrarily throwing a tool out of your toolbox, especially when you want the data to be laid out in a tabular fashion.

Ah, ok.
On Thu, Jul 7, 2016 at 10:57 AM Matt Iversen<EMAIL_ADDRESS>wrote:

@controversial https://github.com/controversial never use HTML tables
for visual layout. Use HTML tables when you have tabulated data. That is
all your link asks about, you'll notice: HTML tables, not CSS ones.
Not making use of CSS tables for CSS layout is kinda stupid, it is
arbitrarily throwing a tool out of your toolbox, especially when you want
the data to be laid out in a tabular fashion.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/pypa/warehouse/issues/827#issuecomment-231103574, or mute
the thread
https://github.com/notifications/unsubscribe/AJ5Yr8q3wInfYm0jrQtnycqX07mRpR8Zks5qTRPmgaJpZM4GnhPt
.

Closed by #1394.


Consolidate data pipeline scripts

]Create single notebook / script for the data flow from deidentified-but-still-raw data to ‘prosecution_charges_detailed’. Right now, prosecution_charges is both an input and output of two different scripts, without a clear indication of what should be run first. Would be helpful to just condense those steps into a single script.

https://github.com/codeforboston/clean-slate/blob/master/analyses/notebooks/MA_Data-1_Raw.ipynb
https://github.com/codeforboston/clean-slate/blob/master/analyses/notebooks/MA_Data-2_MergeCharges.ipynb
https://github.com/codeforboston/clean-slate/blob/master/analyses/notebooks/MA_Data-2_MergeCharges_alt.ipynb (similar to the above but incorporates some of these two, and some additional edits to the expungeability):
-- https://github.com/codeforboston/clean-slate/blob/master/analyses/notebooks/new_expungability_info_join_emily.R
-- https://github.com/codeforboston/clean-slate/blob/master/analyses/notebooks/sex_murder_columns.R
https://github.com/codeforboston/clean-slate/blob/master/analyses/notebooks/MA_Data_revised_joining.R
https://github.com/codeforboston/clean-slate/blob/master/analyses/notebooks/Middlesex_Clean.ipynb

The general pipeline is in the readme in the /notebooks  page.
Thoughts on how to do this are also drafted here: Procedure for adding new MA prosecution data

@agathaalmunir , @mknotts623 , and @linnalihe  will review the scripts and write out a summary what the scripts are doing / did.


[FAQs] FAQ present in both GTN FAQs and Galaxy FAQs

Two instances of the same FAQ in both the GTN and the Galaxy faqs.

I had a doubt here that it might be possible that both the links are referenced somewhere. It is also possible that deleting any of these may lead to many broken links. Will it be wise to go ahead with this issue?
Kindly comment @beatrizserrano @annefou

I don't know if a redirect could be added to one of the files pointing to the other one. That way, we avoid the duplication and don't break links.

By redirect, we simply change the content of one faq by linking it with the other one?

Hello team,
Do let me know how to proceed with this issue!

This is just the same FAQ symlinked from GTN folder because it is relevant there. So there is no duplication here. A redirect_from may have worked too, but no real reason to change it now I think.


Broader support for media attachments

Is your feature request related to a problem? Please describe.
We currently support image and PDF attachments to documents, but different kinds of corpora may have other needs. Also, the language and iconography used for these attachments in the frontend is really oriented towards newspaper scans.
Describe the solution you'd like
Suggestions:

While we support image attachments, these are always called  "scans" in the interface, but they can be used for other reasons. In a digital newspaper, for instance, the image attachments could be the image that went with the article, rather than a scan of the text.
Also support audio attachments. Using the browser's native audio player, this shouldn't be too much work.
Support generic file attachments. Files would have be downloaded to view them, unless we have added frontend support for the MIME type (currently image and PDF files).

Additional context
This isn't high-priority until we run into a corpus that requires it.

See also #492


is support batch insert ?

is support batch insert?
insert into user(name) values("zhangQ"),("liuQ"),("wangQ")

#255 is handling the same question but no answer yet.

will work on that, seems like this is the top asked feature.

How is it going?


convert tables to markdown

Feature Description
convert docx file to markdown

Feature Description
convert docx file to markdown

Nice one

If you have the report too, you can send it over


Error: no such file or directory: during allure-report-branch-js-action

Hi,
while executing<EMAIL_ADDRESS>I am getting error - Error: no such file or directory: gh-pages-dir\allure-action\main\demo-realm\10002395346_1721371172092\history
i guess this is happenning because of run number.
till then, I had run numbers like --<PHONE_NUMBER>_1721306062831,<PHONE_NUMBER>_1721284601643 and so on.. just from this run onwards I am facing this issue. because you can see run number has increemented to<PHONE_NUMBER>6_1721371172092.
Kindly suggest

Hello, thank you for letting me know.
I'll take a look as soon as I can.

when the last run is in the series of<PHONE_NUMBER>_1721306062831, there is no issue, it generates the report and create a directory of new run (say increemented,<PHONE_NUMBER>6_1721371172092). It also updates the lastRun.json file
Now when the last run is<PHONE_NUMBER>6_1721371172092, it do not generate the report, seems like it delete the previously run directoty of<PHONE_NUMBER>6_1721371172092..
So I am getting the error --
Error: no such file or directory: gh-pages-dir\allure-action\main\demo-realm\10052518645_1721708500101\history

i got the issue.. this is because of the limitation - maxReports: 100 in
mgrybyk-org/allure-report-branch-js-action
Run<EMAIL_ADDRESS>with:
report_id: template-realm
gh_pages: gh-pages-dir
report_dir: allure-raw
list_dirs: false
list_dirs_branch: true
branch_cleanup_enabled: false
max_reports: 100
I already have 100 runs.. so it is deleting the latest one.. can we increase this number to 1000 or so? or probably give the option to user to enter this number.. or may be follow FIFO rather than LIFO for deleting..

@shwetankverma it's a bug on my side. I made a mistake in a way I sort runs.
I'm working on it at the moment.

@mgrybyk Thanks a lot. Can i use the 1.4.4 version to resolve this issue?

yes, either use
<EMAIL_ADDRESS>or mgrybyk-org/allure-report-branch-js-action@v1

thank you so much


Change Paperless to Paperless-ng as Paperless is now archived

After 5 years since it's inception, Daniel Quinn archived the repository as he couldn't maintain it anymore. In the meantime, Jonas Winkler, forked it as Paperless-ng, reworking it, improving the UI and, in general, supercharging the already excelent project.
This pull request aims to replace the Paperless repository link to the Paperless-ng respository link, as it currently maintained and constantly updated. However, as the original Paperless is not deprecated (only archived) a link to the original repository is still added with a notice of archival.

Thank you! Didn't know about paperless-ng. Do you think it is still worth it to mention original paperless?

Yes. I think it's worth mentioning. Even though Paperless-ng is more feature packed, the developer of the new fork mentions in the docs how to migrate back to Paperless


WebsocketConnection events are not propagated properly to Connection

All the calls in https://github.com/cargomedia/janus-gateway-js/blob/master/src/connection.js#L57 misses argument about the event.
this._websocketConnection.on('open', this.emit.bind(this));
this._websocketConnection.emit('open', 'data');

Above code will emit data event instead of open event with data. We need to pass event name.
this._websocketConnection.on('open', this.emit.bind(this, 'open'));

@vogdb wdyt?

@zazabe please review

lgtm


Pusher release 1.1

The last commit looks pretty interesting.

@BenPope: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-presubmit.sh
c901d4eeac0b92bfd2caf6eebdbffb29cfa50ccf
link
/test istio-presubmit

Full PR test history

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest prow/istio-presubmit.sh

/test istio-presubmit

 Istio 1.1: Update to 1.1.3+


Resolve named ports for DNS policies

Implement l4Policy wrapper with resolved named port so that proxy package can get the actual resolved named port number when calling GetPort. Previously, if policy used a named port, GetPort returned 0.
GetPort is only used for DNS proxy function UpdateAllowed. This means that using a named port for a DNS policy destination port likely has not functioned as intended. Since DNS port is typically 53, it seems likely that named ports would not be used in DNS policies in practice.
Fixes: #11092
Named ports in DNS policies are now resolved correctly.

/test

/test

rebased for CI fixes

/test

Added comments suggested by @squeed here.

/test

Since DNS port is typically 53, it seems likely that named ports would not be used in DNS policies in practice.

I don't quite follow this. K8s mandates named ports when there are more than one port defined in a pod spec.

I was referring to use in CNPs, which for a long time did not support named ports at all, so all examples of DNS policies use the port number 53.

/test


Please split type+number between patent and report

Hi,
I want to add openaccess to patent (some patents are openacess) and I want to implement click on number in order to go to the patent register. It is hard to do if type+number are shared between patent and report.
Bastien

Hmm, yeah I can see that @patent is a bit special. But I have to think about this. In general I don't think it is that great of an idea to make too many bibmacros type-specific if they actually do the same thing.
For now a fairly simple solution is
\documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage{csquotes}
\usepackage{xcolor}
\usepackage[backend=biber, style=ext-authoryear]{biblatex}

\letbibmacro{type+number:*}{type+number}
\newbibmacro{type+number:patent}{%
  \printtext{\color{red}Some stuff specific to patents}
  \setunit{\addspace}%
  \printfield{type}%
  \setunit*{\addspace}%
  \printfield{number}}

\renewbibmacro*{type+number}{%
  \ifbibmacroundef{type+number:\thefield{entrytype}}
    {\usebibmacro{type+number:*}}
    {\usebibmacro*{type+number:\thefield{entrytype}}}%
}

\addbibresource{biblatex-examples.bib}

\begin{document}
Lorem \autocite{sigfridsson,almendro,chiu,padhye,kowalik,laufenberg,sorace}

\printbibliography
\end{document}

which I find a very useful idiom in general.

I really like the * stuff... This should be pushed or at least documented

Sure, we can advertise this in the docs (https://github.com/plk/biblatex/commit/aa5b03904d697ebe0b28a70907f95d4d52908517), but realistically, I only expect people to find this if they already know it.

Perfect


Creating new topic NuGet

Thank you for contributing! Please confirm this pull request meets the following requirements:

[x] I followed the contributing guidelines: https://github.com/github/explore/blob/master/CONTRIBUTING.md
[x] I have no affiliation with the project I am suggesting (as a maintainer, creator, contractor, or employee).

Which change are you proposing?

[ ] Suggesting edits to an existing topic or collection
[x] Curating a new topic or collection

Curating a new topic or collection

[x] I've formatted my changes as a new folder directory, named for the topic or collection as it appears in the URL on GitHub (e.g. https://github.com/topics/[NAME] or https://github.com/collections/[NAME])
[x] My folder contains a *.png image (if applicable) and index.md
[x] All required fields in my index.md conform to the Style Guide and API docs: https://github.com/github/explore/tree/master/docs

Nuget is the go to package manager for C# and dot net projects. It has considerable usage and popularity.

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.

Thanks so much for your first contribution!  You rock, @kolappannathan!


Config item which enables IP Tables rules to LOG DROPS and ACCEPTS

We are running kubernetes in an environment where we are subject to quite a lot of regulations.  One of these requirements is that we be able to log all DROP/ACCEPT on our firewalls.  As we are starting to use Calico to implement kubernetes NetworkPolicy, can we have a switch where it will insert the correct LOG rules into iptables so that we can have our desired log?  For bonus points, could the log be enriched with kubernetes pod names?
Expected Behavior
By enabling the connection logging feature, additional LOG entries are added into the chains before a DROP and before the default ACCEPT actions.
Current Behavior
No usage of iptables LOG seems to be made to log connections/packets.
Possible Solution
The iptables rules seem complex already, so I'm hoping that this would be best implemented in Calico code base rather than try to do this around it.
Context
Satisfy our infosec team and pass FCA audits.
Your Environment

Calico version:  2.4.0
Orchestrator version (e.g. kubernetes, mesos, rkt): kubernetes 1.6/1.7
Operating System and version: CoreOS stable

@mccormd that's a feature available in our commercial product - Tigera Essentials (https://tigera.io/essentials), along with a bunch of other features that will fit into the "satisfy our infosec team and pass FCA audits" category. Please do email me at<EMAIL_ADDRESS>if you think there's value in exploring this.


Fix gm hermes keys command when hdpath is set

Closes: #975
Description

Fixes gm hermes keys command when the wallet_hdpath contains a non-default coin type.
Adds a changelog to the gm tool for easier tracking.
bumps version to 0.0.2

For contributor use:

[X] Updated the Unreleased section of CHANGELOG.md with the issue.
[ ] If applicable: Unit tests written, added test to CI.
[X] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[ ] Updated relevant documentation (docs/) and code comments.
[X] Re-reviewed Files changed in the Github PR explorer.

Do we want to the keys add command to take an option to specify the full hd path rather than just the coin type? Or is the latter fine for now?

Fine for now. I'll open a hermes ticket if we realize we need the full HD path in Hermes.