Final Crossover Review Ticket

Grading
Team:

Crossover Score
Runtime
Plan
GitHub
Analytics

/1
Fibonacci Frontend

Commits

Individuals:
Check out everyone's commits for frontend and backend here:
Frontend
Backend

Name
Team+Indi+Teacher
Key Commits
Analytics
Video
Individual Ticket

Vivian Ni

Added time methods to sorting classFinishing Art and Sorting APIS, setup @Override annotation for sorting algorithtim filesadded sortingsteps to Sorting classGET request on fronted, JS art piece display formattingPOST request on frontend for likes and sorting methodsSorting animations
profile
Video
Link

Kevin Du

Binet Fibonacci AlgorithimJS for Fibonacci art generatorDecorated Home pageMatrix ExponentationIterative Fibonacci
profile
Video
Link

Aliya Tang

Merge sortbubble sortinsertion sortselection sortCreated popup for sort animationNav bar styling and gallery styling
profile
Video
Link

Project
Our project utilizes sorting and Fibonacci to create an art gallery that can be sorted by popularity. Users visiting the site can interact with the art pieces, choose their favorite, and like it. They can then sort the arts by likes and see a visualization of the sort, the number of steps it takes to sort, and the total time in NS. The Fibonacci portion of the project allows the user to input a number (nth term) and a piece of art is created based on it.
This is the link to our initial plan which has been adapted since
Sorting - Algorithms, Inheritance, Abstraction
Vivian and Aliya primarily worked on the Sorting on the backend. Vivian constructed the API and Aliya wrote the sorting methods for each.
Inheritance and Abstraction
Since we are using 4 different methods of sorting, those being merge, insertion, bubble, and selection, we created a parent class called Sorting. In this class is the method for each sort which was then customized to the specific type of sort using the annotation @Override. In order to show the user the animation, time, and steps taken per sort, we created another method SortingResult to return those variables.
package com.nighthawk.spring_portfolio.mvc.sorting;

//import java.util.ArrayList;
import java.util.List;

import com.nighthawk.spring_portfolio.mvc.art.Art;

public class Sorting {

    //override to create specific sort
    protected SortingResult sortArt(List<Art> unsortedArts) {
        return new SortingResult();
    }

    public SortingResult getSortingResult(List<Art> unsortedArts) {
        long startTime = System.nanoTime();
        SortingResult result = sortArt(unsortedArts);
        long endTime = System.nanoTime();
        long finalTime = endTime - startTime;
        result.sortTime = finalTime;
        //result.steps.add(unsortedArts);
        return result;
    }
}

Algorithms
Here is a link to the algorithms that Aliya wrote. Vivian did crossover checks with Aliya to ensure the sorts were all in descending order.

Sort Type
Link

Bubble
Link

Insertion
Link

Merge
Link

Selection
Link

Implementation
Link to Backend
Link to Frontend
Backend
Besides sorting algorithms, Vivian created an Art API as well as Create and Read functionalities to display the art on the frontend and allow users to interact with it.
This first code is the Art class which contains the data for the SQLite table
public class Art {
    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    private Long id;

    @Column(unique=true)
    private String artName;

    private int like;

    public static String[] init() {
        final String[] artArray = {
            *art names go here*
        };
        return artArray;
    }
}

This code segment shows the ArtApiController which has GET, POST (for likes), and another POST method to call the sorting algorithms on the backend
public class ArtApiController {
    // Autowired enables Control to connect URI request and POJO Object to easily for Database CRUD operations
    @Autowired
    private ArtJpaRepository repository;

    /* GET List of Jokes
     * @GetMapping annotation is used for mapping HTTP GET requests onto specific handler methods.
     */
    @GetMapping("/")
    public ResponseEntity<List<Art>> getArts() {
        // ResponseEntity returns List of Jokes provide by JPA findAll()
        return new ResponseEntity<>( repository.findAll(), HttpStatus.OK);
    }

    //Update Like
    @PostMapping("/like/{id}")
    public ResponseEntity<Art> setLike(@PathVariable long id) {

        Optional<Art> optional = repository.findById(id);
        if (optional.isPresent()) {  // Good ID
            Art art = optional.get();  // value from findByID
            art.setLike(art.getLike()+1); // increment value
            repository.save(art);  // save entity
            return new ResponseEntity<>(art, HttpStatus.OK);  // OK HTTP response: status code, headers, and body
        }
        // Bad ID
        return new ResponseEntity<>(HttpStatus.BAD_REQUEST);  // Failed HTTP response: status code, headers, and body
    }

    @PostMapping("/sorted/{method}")
    public ResponseEntity<SortingResult> getSortedArts(@PathVariable String method) throws Exception {
        // ResponseEntity returns List of Jokes provide by JPA findAll()
        List<Art> arts = repository.findAll();

        Sorting sorter = new Bubble();
        if (method.contains("bubble")) {
            sorter = new Bubble();
        }
        else if (method.contains("insertion")) {
            sorter = new Insertion();
        }
        else if (method.contains("merge")) {
            sorter = new Merge();
        }
        else if (method.contains("selection")) {
            sorter = new Selection();
        }
        else {
            throw new Exception(method);
        }

        // use your sorting class here to sort the list
        SortingResult sortResult = sorter.getSortingResult(arts);

        return new ResponseEntity<>(sortResult, HttpStatus.OK);
    }
}

Frontend
GET request
function getArtWorks() {
        fetch(deployURL + '/api/art/')
            .then(response => response.json())
            .then(data => {
                formatArt(data);
                showPopup();
            })
            .catch(err => {
                console.log(err);
            });
    }

POST Request
function setupSort() {
        var sort_button = document.getElementById("sort_button");
        console.log(sort_button);
        sort_button.addEventListener("click", function(){
                    var sortingMethod = document.getElementById('sorts').value
                    fetch(deployURL + `/api/art/sorted/${sortingMethod}`, {
                        method: 'POST',
                        headers: {
                            'Content-Type': 'application/json',
                        },
                    })
                    .then((response) => response.json())
                    .then((sortResult) => {
                        console.log(sortResult);
                        formatArt(sortResult.sortedArts);
                        const sort_time = document.getElementById("sort_time");
                        sort_time.innerHTML = "Sort Time: " + sortResult.sortTime + " ns";
                    });
                });
    }

The beautiful design Aliya made

Fibonacci
Frontend

// fibonacci-art.js
const canvas = document.getElementById('fibCanvas');
const ctx = canvas.getContext('2d');
function fibonacciBinet(n) {
    const phi = (1 + Math.sqrt(5)) / 2; // Golden ratio
    const sqrt5 = Math.sqrt(5);
    const fibN = Math.round((Math.pow(phi, n) - Math.pow(1 - phi, n)) / sqrt5);
    return fibN;
}
function generateArt() {
    const startTime = performance.now();
    ctx.clearRect(0, 0, canvas.width, canvas.height);
    const method = Math.random(); // Randomly choose a method
    let generationTime;
    if (method < 0.25) {
        displayFibMethod('recursive');
        generateRecursiveArt();
    } else if (method < 0.5) {
        displayFibMethod('Binet formula');
        generateRecursiveArtWithBinet(20);
    } else if (method < 0.75) {
        displayFibMethod('iterative');
        generateIterativeArt();
        generationTime = performance.now() - startTime;
    } else {
        displayFibMethod('matrix');
        generateMatrixArt();
        generationTime = performance.now() - startTime;
    }
    if (!generationTime) {
        generationTime = performance.now() - startTime;
    }
    displayGenerationTime(generationTime);
}
function drawCircle(x, y, radius) {
    ctx.beginPath();
    ctx.arc(x, y, radius * 5, 0, Math.PI * 2);
    ctx.fillStyle = `hsl(${Math.random() * 360}, 70%, 50%)`;
    ctx.fill();
}
function displayFibMethod(method) {
    const fibMethodElement = document.getElementById('fibMethod');
    fibMethodElement.textContent = `Fibonacci Method Used: ${method}`;
    const numElement = document.getElementById('number');
    numElement.textContent = `Number: 20`;
}
function displayGenerationTime(time) {
    const generationTimeElement = document.getElementById('generationTime');
    generationTimeElement.textContent = `Generation Time: ${time.toFixed(2)} milliseconds`;
}
function generateRecursiveArtWithBinet(maxIterations) {
    const centerX = canvas.width / 2;
    const centerY = canvas.height / 1;
    recursiveDrawWithBinet(centerX, centerY - 350, 0.5, maxIterations, 0);
}
function fibonacciBinet(n) {
    return Math.round(
        (1 / Math.sqrt(5)) *
        (Math.pow((1 + Math.sqrt(5)) / 2, n) - Math.pow((1 - Math.sqrt(5)) / 2, n))
    );
}
function recursiveDrawWithBinet(x, y, size, remainingIterations, angle) {
    if (remainingIterations > 0) {
        ctx.beginPath();
        ctx.arc(x, y, size * 3.2, 0, Math.PI * 2);
        ctx.fillStyle = `hsl(${Math.random() * 360}, 70%, 50%)`;// Adjust color based on size and iteration
        ctx.fill();
        const newSize = fibonacciBinet(remainingIterations); // Use Binet formula for size
        const nextX = x + size * 0.05 * Math.cos(angle); // Adjust x-position based on angle
        const nextY = y + size * 0.05 * Math.sin(angle); // Adjust y-position based on angle
        const newAngle = angle + Math.PI / 3; // Increment angle for each iteration
        recursiveDrawWithBinet(nextX, nextY, newSize * 0.3, remainingIterations - 1, newAngle);
    }
}
// Matrix
function power(matrix, n) {
    let result = [[1, 0], [0, 1]];
    while (n > 0) {
        if (n % 2 === 1) {
            result = multiplyMatrices(result, matrix);
        }
        matrix = multiplyMatrices(matrix, matrix);
        n = Math.floor(n / 2);
    }
    return result;
}
function multiplyMatrices(matrix1, matrix2) {
    let result = [];
    for (let i = 0; i < matrix1.length; i++) {
        result[i] = [];
        for (let j = 0; j < matrix2[0].length; j++) {
            let sum = 0;
            for (let k = 0; k < matrix1[0].length; k++) {
                sum += matrix1[i][k] * matrix2[k][j];
            }
            result[i][j] = sum;
        }
    }
    return result;
}
function fibonacciMatrix(n) {
    const baseMatrix = [[1, 1], [1, 0]];
    if (n === 0) return 0;
    const result = power(baseMatrix, n - 1);
    return result[0][0];
}
function generateMatrixArt() {
    const centerX = canvas.width / 2;
    const centerY = canvas.height / 2;
    let a = 0, b = 1;
    let angle = 0;
    const scale = 12; // Adjust scaling factor
    for (let i = 0; i < 20; i++) { // Adjust iterations as needed
        const fibNumber = fibonacciMatrix(i); // Generate Fibonacci number using matrix method
        const radius = fibNumber * scale;
        // Calculate position based on polar coordinates
        const x = centerX + radius *0.5* Math.cos(angle);
        const y = centerY + radius *0.5* Math.sin(angle);
        drawCircle(x, y, fibNumber);
        // Update angle for the next circle placement
        angle += Math.PI / 2; // You can experiment with different angles
    }
}

Backend
Created Fibonacci API with two methods

golden ratio method

public class goldenRatio extends Fibo {
    public static ArrayList<Integer> findNth(int num) {
        if (num <= 0) {
            throw new IllegalArgumentException("Input must be a positive integer");
        }

        ArrayList<Integer> fibonacciList = new ArrayList<>();
        fibonacciList.add(0);
        fibonacciList.add(1);

        for (int i = 2; i <= num; i++) {
            int fib = fibonacciList.get(i - 1) + fibonacciList.get(i - 2);
            fibonacciList.add(fib);
        }

        return fibonacciList;
    }

}

Binets formula

public class binetFormula extends Fibo {
    public static ArrayList<Integer> calculateFibonacci(int num) {
        if (num <= 0) {
            throw new IllegalArgumentException("Input must be a positive integer");
        }

        ArrayList<Integer> fibonacciList = new ArrayList<>();
        double sqrt5 = Math.sqrt(5);
        double phi = (1 + sqrt5) / 2;

        for (int i = 0; i <= num; i++) {
            int fib = (int) Math.round((Math.pow(phi, i) - Math.pow(-phi, -i)) / sqrt5);
            fibonacciList.add(fib);
        }

        return fibonacciList;
    }
}

Analysis - Calculations and Measurements
Vivian:

In order to do analysis, I wrote a method on the Sorting class on the backend to return the sortingresults. The sortingresults consisted of the sorted array, the time it took to sort the array, and the number of sorting steps or swaps. The code for this can be viewed above in this ticket.
the frontend shows these measurements through a visual animation. The visualization shows the swaps happening, as well as the time it takes to finish the sort in nanoseconds and the number of swaps taking place:

Issues
We ran into a lot of issues.
Kevin:

Fibonacci connection backend issue. I attempted to connect some Java versions of the Fibonacci sequence, but failed to connect. I did manage to get a better understanding of how the backend works, unlike last year, I still didn't know how backend worked. The only thing I was struggling on was connecting it to frontend.
Vivian:

Animation js issue: JavaScript is single-threaded, meaning only one function can be running at any given time in the thread. Initially, I used a nested loop which accumulated the code for every step of the animation and was returned at the very end. However, I wasn't able to see the animation because Canvas draws all the commands including the clear canvas at the end so the final result was just blank. So instead, I used setInterval to run the function once, wait 500 ms, add to variable i(represents the number of steps), and then run again. This way, it shows the steps of the animation. Here is the new code:

function animate(array) {
        const canvas = document.getElementById("animation");
        const ctx = canvas.getContext("2d");
        ctx.fillStyle = 'blue';
        var barContainerWidth = 500/array[0].length;
        var barWidth = 2/3 * barContainerWidth;
        var i = 0;
        var intervalInvalid = setInterval(function() {
            ctx.clearRect(0,0,500,350);
            var max = Math.max(...array[i]);
            console.log(max);
            for (let j = 0; j < array[i].length; j++) {
                var likes = array[i][j]
                if (likes == 0) {
                    likes = 0.1
                }
                var x = barContainerWidth * j;
                var y = (max - likes)/max * 350;
                var w = barWidth;
                var h = likes/max * 350
                ctx.fillRect(x, y, w, h);
            }
            i++;
            if (i >= array.length) {
                clearInterval(intervalInvalid);
            }
        }, 500);
    }

Another issue I ran into was returning sorting steps to the front end so that I could animate and create a sorting visual for the algorithms. For the LONGEST time, the return for sorting steps was Null which made me realize that the method on the backend to get the sorting results was not being called. How I had it coded was each sort on the drop-down menu on the frontend is assigned a value which is then used in the POST request URL to the backend. However, if the backend method was not being called, it meant the value being used was incorrect. I ended up using this Java syntax to fix the error contains("bubble") Now, as long as the value contains the name of the sort, the method will be called. I don't think this is the best way to fix the problem but it's a temporary solution I found. Now sorting steps return an array of lists:

Aliya:
An issue I ran into was that when the art pieces were sorted there would be duplicates of pieces if the like count changed between sorting. I thought it was a problem with all the sort methods but then I realized there was an error with my bubble sort method. Initially, the swapping based on likes was making duplicates by setting both positions to the same value of the pieces instead of actually swapping and replacing it:
temp = unsortedArts.get(j);
unsortedArts.set(j, unsortedArts.get(j));
unsortedArts.set(j + 1, temp);

Initially, the swapping based on likes was making duplicates by setting both positions to the same value of the pieces instead of actually swapping and replacing it. After fixing it:
temp = unsortedArts.get(j);
unsortedArts.set(j, unsortedArts.get(j + 1));
unsortedArts.set(j + 1, temp);

The bubble sort works and doesn't create duplicates.
Reflection
We followed our Agile Manifesto as we progressed through this project.

Our collaboration improved a lot from each of our experiences from the last trimester. We called and met up in person outside of school to work on the project. Vivian and Aliya's collaboration was on point because their features were more intertwined, but it was hard to collaborate between Aliya/Vivian, and Kevin because his role with Fibonacci in the project a different feature. Because of the time crunch, we decided to take a divide-and-conquer approach, which hindered our collaboration. Next time, we should avoid this approach.
Overall, we learned a lot from the analysis portion of this project. Initially, we never realized the difference in times and procedures for each sort. But after seeing the animation, time, and number of swaps, It's made us understand the differences between each sort that the computer itself can't show. Specifically, Bubble sort is very slow and has way more swaps than selection sort which is much faster.

Team Review "Scrum Master A" grading "Scrum Master B"

[ ] The team should have a Web Page(s) that teach/explain: Fibonacci, Algorithm, etc.
[ ] The team should have a Web Page(s) that teach/explain: Sorting, Timing, Compares Swaps, etc.

Team Review ticket containing key Team and individual contributions

[ ] Growth/Accomplishments in work is according to historical Team Plan, or they show revisions to plan according to work
[ ] Short falls/Improvement that could be made in Work or Team Plan, team highlights next steps or improvements that could be made
[ ] Showing key accomplishments according to requirement in Java Backend such as API, Abstract Class(es), Inheritance, Polymorphic behavior, Sorting Algorithms, etc.  In Sorting, there should NOT be static classes or static methods.
[ ] Showing key user interaction and learning(s).  For instance how you visualized Sorting Algorithm: Bubble, Insertion, Selection, Merge... how you captured Big O, analytical data, usage of Data Structures...  And/or, how you provided response and Feedback to user on their success in learning or experiencing your interface.

Per check.
0.55 not attempted/no check
0.7 attempted, incoomplete, but some runtime
0.8 mastery and runtime
0.9 above and beyond.
Freeform comment.
Provide positivies and growth summary.
Justify or comment on final score.
Be sure to provide extra details on anything below 0.7 average or above 0.8.

Individual Review "My name" grading "Their name"

[ ] Individual should show that they were key contributor and example to team.  This includes their participation in ideas, plans, creating individual issues, providing code commits to project, crossover grading participation, being on task and positive example in the classroom.

Individuals Video, Issue(s), Commits(s)

[ ] Video, includes Web demo of key contribution to project, 1 minute
[ ] Issue(s) that show plans/progress to team objectives
[ ] Highlights of key commit(s) in Issues, summarizes code contributions
[ ] Review GitHub analytics for key commits in each weeks during the project, shows consistent participation for 3 weeks

Per check.
0.55 not attempted/no check
0.7 attempted, incoomplete, but some runtime
0.8 mastery and runtime
0.9 above and beyond.
Freeform comment.
Provide positivies and growth summary.
Justify or comment on final score.
Be sure to provide extra details on anything below 0.7 average or above 0.8.

Individual Review "FInn" grading "Aliya"

[ ] Individual should show that they were key contributor and example to team.  This includes their participation in ideas, plans, creating individual issues, providing code commits to project, crossover grading participation, being on task and positive example in the classroom.

Individuals Video, Issue(s), Commits(s)

[ ] Video, includes Web demo of key contribution to project, 1 minute
[ ] Issue(s) that show plans/progress to team objectives
[ ] Highlights of key commit(s) in Issues, summarizes code contributions
[ ] Review GitHub analytics for key commits in each weeks during the project, shows consistent participation for 3 weeks

Per check.
0.55 not attempted/no check
0.7 attempted, incoomplete, but some runtime
0.8 mastery and runtime
0.9 above and beyond.
Freeform comment.
Provide positivies and growth summary.
Justify or comment on final score.
Be sure to provide extra details on anything below 0.7 average or above 0.8.

Individual Review "Theo Huntalas" grading "Vivian Knee"

[ ] Individual should show that they were key contributor and example to team.  This includes their participation in ideas, plans, creating individual issues, providing code commits to project, crossover grading participation, being on task and positive example in the classroom.

Individuals Video, Issue(s), Commits(s)

[ ] Video, includes Web demo of key contribution to project, 1 minute
[ ] Issue(s) that show plans/progress to team objectives
[ ] Highlights of key commit(s) in Issues, summarizes code contributions
[ ] Review GitHub analytics for key commits in each weeks during the project, shows consistent participation for 3 weeks

Per check.
0.55 not attempted/no check
0.7 attempted, incoomplete, but some runtime
0.8 mastery and runtime
0.9 above and beyond.
Freeform comment.
Provide positivies and growth summary.
Justify or comment on final score.
Be sure to provide extra details on anything below 0.7 average or above 0.8.

Individual Review Justin Nguyen grading Kevin Du

[ ] Individual should show that they were key contributor and example to team.  This includes their participation in ideas, plans, creating individual issues, providing code commits to project, crossover grading participation, being on task and positive example in the classroom.

Individuals Video, Issue(s), Commits(s)

[ ] Video, includes Web demo of key contribution to project, 1 minute
[ ] Issue(s) that show plans/progress to team objectives
[ ] Highlights of key commit(s) in Issues, summarizes code contributions
[ ] Review GitHub analytics for key commits in each weeks during the project, shows consistent participation for 3 weeks

Per check.
0.55 not attempted/no check
0.7 attempted, incoomplete, but some runtime
0.8 mastery and runtime
0.9 above and beyond.
Freeform comment.
Provide positivies and growth summary.
Justify or comment on final score.
Be sure to provide extra details on anything below 0.7 average or above 0.8.

Team Review "Scrum Master A" grading "Scrum Master B"

[ ] The team should have a Web Page(s) that teach/explain: Fibonacci, Algorithm, etc.
[ ] The team should have a Web Page(s) that teach/explain: Sorting, Timing, Compares Swaps, etc.

Team Review ticket containing key Team and individual contributions

[ ] Growth/Accomplishments in work is according to historical Team Plan, or they show revisions to plan according to work
[ ] Short falls/Improvement that could be made in Work or Team Plan, team highlights next steps or improvements that could be made
[ ] Showing key accomplishments according to requirement in Java Backend such as API, Abstract Class(es), Inheritance, Polymorphic behavior, Sorting Algorithms, etc.  In Sorting, there should NOT be static classes or static methods.
[ ] Showing key user interaction and learning(s).  For instance how you visualized Sorting Algorithm: Bubble, Insertion, Selection, Merge... how you captured Big O, analytical data, usage of Data Structures...  And/or, how you provided response and Feedback to user on their success in learning or experiencing your interface.

Per check.
0.55 not attempted/no check
0.7 attempted, incoomplete, but some runtime
0.8 mastery and runtime
0.9 above and beyond.
Freeform comment.
Provide positivies and growth summary.
Justify or comment on final score.
Be sure to provide extra details on anything below 0.7 average or above 0.8.


Other block is selected when click "Slow-Mo"

Repro steps:
• Navigate to https://makecode.adafruit.com/
• Drag block as below .gif and click "Slow-Mo"
Expected Result:
Block "on shake" shouldn't be selected
Actual Result:
Block "on shake" is selected

You appeared to shake the board, c

This is the intended behavior.


log-opts ignored in daemon.json

Every few days, my server's drive fills up to capacity with log files, despite having configured the following daemon.json.
{
        "log-driver": "json-file",
        "log-opts": {
                "max-size": "1g",
                "max-file": "10"
        }
}

Steps to reproduce the issue:

Paste the above into /etc/docker/daemon.json
Run a container that spams out logs at a rapid pace. In my case, it's Resilio Sync, however it could be reproduced with something that forwards /dev/random to stdout.
Wait.

I would expect there to be at most 10 logs of 1GB each per container, but I end up with 100s of GBs of logs from a single container (found in /var/lib/docker/[NAMESPACE]/containers/[CONTAINER ID]/[LOG NAME].json).
Other settings in my daemon.json (userns-remap) are working properly, so I'm certain that this is not an issue of wrong daemon.json location or any other failure at that level.

Testing on master and this seems to work ok.
Can you paste the inspect output from the container?
Was this container created before you set the log opts?

Same here, I have set these options globally in daemon.json. All containers have already been created before I have changed the logging options.
The relevant part from the container's inspect output:
"LogConfig": {
    "Type": "json-file",
    "Config": {}
},

@trasch Already created containers are not updated when the daemon default config changes.

@cpuguy83 Thanks for the clarification! (It is somewhat unexpected though... :) )

@trasch I both agree and disagree. When it was being decided on I argued in favor of allowing to change the defaults of existing containers, but lost.

Thank you! Spot on @cpuguy83
After recreating the container, the LogConfig.Config of the inspect output changed from {} to `{ "max-file": "10", "max-size": "1g"}.

Just spent over an hour searching for this info, so I think it would be nice if it was documented..

@colinmollenhour I agree it may be good to document; are you interested in opening a pull request? If it's for the CLI reference docs that should be in this repository. For the "logging drivers" section, probably in the https://github.com/docker/docker.github.io repository

Created PR #2714 with documentation updates.


Scaled metrics are missing

kBET Scaled is missing but kBET Raw is not.
example
This causes the table to change layout when toggling between the two.
Could you remove kBET Raw or add kBET Scaled? ^^

kBET scaled is removed because it is all NaN and cannot be scaled. I'm
happy to remove the raw values too.
On Thu, 1 Dec 2022, 11:48 pm Robrecht Cannoodt, @.***>
wrote:

Assigned #71
https://protect.checkpoint.com/v2/___https://github.com/openproblems-bio/website/issues/71___.YzJlOmltbXVuYWk6YzpnOmRmZTVlMDI2Y2M2MDk1ZmZmYTk5MzEwMmY3NTViZTUzOjY6YjFlODpmNjA3MjJkYzk2ZjNmMGZhZGQ4MGM5NWYyYjNmYWIxNWE5MDNlODVkODdjNTkyNTNiZDA4ZTc0YjI5MTUwMDdjOmg6VA
to @scottgigante-immunai
https://protect.checkpoint.com/v2/___https://github.com/scottgigante-immunai___.YzJlOmltbXVuYWk6YzpnOmRmZTV lMDI2Y2M2MDk1ZmZmYTk5MzEwMmY3NTViZTUzOjY6OGE3YzowNDdiYTljNTMwYWFjMjZiMmM1NDcxMDQ0MzIwMWNmZGVmNzIzOWQ4NzYwYmFhZjQ4YTgwZWFlYjVjMDkyMGMyOmg6VA
.
—
Reply to this email directly, view it on GitHub
https://protect.checkpoint.com/v2/___https://github.com/openproblems-bio/website/issues/71%23event-7937580948___.YzJlOmltbXVuYWk6YzpnOmRmZTVlMDI2Y2M2MDk1ZmZmYTk5MzEwMmY3NTViZTUzOjY6NjU3NDowMWU2ZDhkMTY3ODQzODNkNTJiZmM4MDMyMDIwNjA3MThhMDQxYzg1MmZlMWRkYTMyZTI5NzU4NTkwYjZkZjFmOmg6VA,
or unsubscribe< /a>.
You are receiving this because you were assigned.Message ID:
@.***>
https://protect.checkpoint.com/v2/___https://github.com/notifications/unsubscribe-auth/AUHCMAUVYUAPQFVOCB6NH4DWLF5Q5ANCNFSM6AAAAAASRQIADU___.YzJlOmltbXVuYWk6YzpnOmRmZTVlMDI2Y2M2MDk1ZmZmYTk5MzEwMmY3NTViZTUzOjY6MDg0Mjo3YzYyZGZkYTc5NjcwOGMwMTE4YjA3ZjZmM2JiYzNjNzczZWNlMDBmNzkwMTFmMGJiMDZiMThlN2FiMTVkMWVmOmg6VA

--
PLEASE NOTE: The information contained in this message is privileged and
confidential, and is intended only for the use of the individual to whom it
is addressed and others who have been specifically authorized to receive
it. If you are not the intended recipient, you are hereby notified that any
dissemination, distribution, or copying of this communication is strictly
prohibited. If you have received this communication in error, or if any
problems occur with the transmission, please contact the sender.


Can not scroll map or move unit.

It seems like the mouse is not registered on the map tiles. And i can not scroll the map with click and drag or with the arrows. I can click on orders move to but then the move to line doesn't move around the map and you cant click to select the tile to move to.

see #283


Solved by upgrading sqllite3 2024.04.03: sqlite3.OperationalError: no such tokenizer: trigram

Describe the bug
A clear and concise description of what the bug is.
Traceback (most recent call last):
File "/home/h-tech/.local/share/kicad/8.0/3rdparty/plugins/com_github_bouni_kicad-jlcpcb-tools/mainwindow.py", line 927, in select_part
PartSelectorDialog(self, selection).ShowModal()
File "/home/h-tech/.local/share/kicad/8.0/3rdparty/plugins/com_github_bouni_kicad-jlcpcb-tools/partselector.py", line 515, in init
self.search(None)
File "/home/h-tech/.local/share/kicad/8.0/3rdparty/plugins/com_github_bouni_kicad-jlcpcb-tools/partselector.py", line 587, in search
result = self.parent.library.search(parameters)
File "/home/h-tech/.local/share/kicad/8.0/3rdparty/plugins/com_github_bouni_kicad-jlcpcb-tools/library.py", line 193, in search
return cur.execute(query).fetchall()
sqlite3.OperationalError: no such tokenizer: trigram
To Reproduce
Steps to reproduce the behavior:

Open 2024.04.03
Select component
Press Assign LCSC number
Error appears in terminal

Expected behavior
As in 2023.09 version
KiCad Version

Application: KiCad PCB Editor x86_64 on x86_64

Version: 8.0.2-unknown-202404301934~c179f4d4f1~ubuntu20.04.1, release build

Libraries:
	wxWidgets 3.2.1
	FreeType 2.10.1
	HarfBuzz 2.6.4
	FontConfig 2.13.1
	libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3

Platform: Ubuntu 20.04.6 LTS, 64 bit, Little endian, wxGTK, X11, ubuntu, x11

Build Info:
	Date: Apr 30 2024 19:34:51
	wxWidgets: 3.2.1 (wchar_t,wx containers) GTK+ 3.24
	Boost: 1.71.0
	OCC: 7.6.3
	Curl: 7.68.0
	ngspice: 42
	Compiler: GCC 9.4.0 with C++ ABI 1013

Build settings:

This was solved by upgrading the SQLite3 version


Show incorrect screen when perform earning actions with Ledger's EVM account

Describe the bug
Show incorrect screen when perform earning actions with Ledger's EVM account
Actual:

Expected behavior

Version test: http://<IP_ADDRESS>:8900/s/cncEFC69kAZtQkz
Validation passed in cases:

Perform all transaction with EVM and Substrate account
Perform all transaction with all type account


Errors being thrown in IE11

Using the library on a page in IE11 and the following errors are showing int he dev console:
'glm_vec3_Error' is undefined

Also If I type our glm in the console. it is showing as null, in other browsers it shows the full glm object.
Typing GLM in the console in IE11 shows an object but it does not have the function vec3() that I need.

Hi Jimmy,
I apologize for the long silence on your issue report (May 2019!). The glm-js project is now undergoing sunsetting (see #19), so I'm closing unresolved issues.
I still wanted to express my gratitude for you taking the time to report the issue and share a screenshot. It was incredibly considerate of you!
While I can't offer a direct solution, I hope you've found other tools or solutions in the meantime.
Best regards, -Tim


Unshard S3 checkpoints and convert to HF.

Updates to script to handle unsharding and HF conversion of checkpoints stored on S3.

Did you mean to add me as a reviewer?

Ah I did, sorry.

Script to handle unsharding and HF conversion of checkpoints on Huggingface.


Clang Range Loop Analysis  - Use Reference Type

Clang issues the following warning:
toml-src/toml/region.hpp:514:24: error: loop variable 'help' of type 'const std::__1::basic_string<char>' creates a copy from type 'const std::__1::basic_string<char>' [-Werror,-Wrange-loop-analysis]
        for(const auto help : helps)
                       ^
toml-src/toml/region.hpp:514:13: note: use reference type 'const std::__1::basic_string<char> &' to prevent copying
        for(const auto help : helps)

Would it be possible to fix this warning by passing by reference in the for loop?
for(const auto &help : helps)

Thank you for finding the issue. And yes, you are right.
Would you like to make a PR to fix this?

I'll make a PR to fix this.


Feature/change log update

Update Changelog to be easier to read, and more matainable

@step1041, can you code review this?

Something strange happened. there are extra commits there that should be there...


Can't get __dirname to work

When I'm trying to use __dirname I get:
(node:2824) UnhandledPromiseRejectionWarning: Error: Could not load node-polyfills:dirname (imported by /home/sasha/rotorjs/node_modules/tman/lib/tman.js): Path must be a string without null bytes
    at /home/sasha/rotorjs/node_modules/rollup/dist/rollup.js:21718:19
    at <anonymous>

Null byte (\0) is really in these lines. It was introduced in https://github.com/calvinmetcalf/rollup-plugin-node-globals/pull/3 .
See also: https://github.com/calvinmetcalf/rollup-plugin-node-globals/issues/23 .
P.S. Thanks for the fork! :)
/cc @manucorporat

@manucorporat , ping


Update pbdirect to 0.5.2

Updates com.47deg:pbdirect from 0.5.1 to 0.5.2.
GitHub Release Notes - Changelog - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.47deg", artifactId = "pbdirect" } ]

labels: library-update, semver-patch

Superseded by #915


Expand AR and Cloud Run Regions

We're in 20 regions*

19 fully deployed at the moment following https://github.com/kubernetes/registry.k8s.io/issues/234

We should evaluate expanding to remaining regions, further reducing the blast radius for issues like #234 and continuing to benefit at the cost trade-off of storage << bandwidth for any remaining regions where this is true.
IIRC @upodroid already had a PR related to this, but we held off primarily due to #181 and image promoter concerns.
We've had some work on the promoter since then, and I'm not sure if we have any remaining blockers to add a few more regions to further improve isolation and capacity.
cc @puerco @ameukam

Related to:

#172

For the promoter we are covering all the AR regions except the newest (open less than 2 months ago).

For the promoter we are covering all the AR regions except the newest (open less than 2 months ago).

TIL! I could've sworn we had another discussion to add AR regions that we held off, I must be mis-remembering

https://github.com/kubernetes/k8s.io/pull/4949 related, we added two regions here that don't seem to be promoted to yet

I was thinking of this thread https://github.com/kubernetes/release/issues/2947#issuecomment-1458412293

With the registry freeze in effect, promoter improvements, and the redirect settled, I think we can revisit https://github.com/kubernetes/release/issues/2947#issuecomment-1458412293 and add a few regions relatively fine.
Once those are live we can easily spin up additional cloud run regions pointed at them.

/milestone v1.29
/assign

/lifecycle stale

We extended registry.k8s.io:

europe-west10
europe-west3

/milestone v1.30

/milestone v1.31

I'm not sure the promoter can handle this and we seem to be doing well for the moment with the current set.


io.rancher.container.pull_image: always disappears when upgrading container

thru the UI, when i click on an individual container to upgrade it, it understandably moves the scheduling rancher labels over to the schedule segment.
However, io.rancher.container.pull_image: always is supposed to be still in labels but that disappears as well. have to manually add it in each time now

Useful
Info

Versions
Rancher v1.5.6 Cattle: v0.178.4 UI: v1.5.9

Access
github admin

Orchestration
Cattle

Route
service.new

Pull image and various other things have their own UI controls and are therefore not shown in user labels.


Add Warning about Python Versions for Models Stored in Tables

This issue is for the In DB Model Deployment and Management directory.  I suggest that a note be added to the README discussing python version issues.  I ran the steps in the readme and the UDF would fail with a "<class 'KeyError'>: 110" error.  I created the ML model joblib and b64 string on my Mac that is running Python 3.7 and inserted the model into a table in my database.  Then the UDF would fail with the indicated error.  The database server is Linux running Python 3.9.  I solved the problem by training the model and converting it to base64 on the database server.  It should be noted that previous to this, I was getting the same error when my database was running Python 3.6.  I upgraded the python version on the database server in an attempt to solve the problem.

@pwharned is this interesting to you?   Are you able to take a look at what Dean's reported?  Thanks.

Sure thing, I will add a note and an error catch example if possible-it would be interesting if there were a way to manage multiple python installations at the database server as this would improve extendability but i believe db2 needs to be restarted when the PYTHON_PATH variable is changed. I’ll double check. You could potentially hack it with symlinks but i doubt thats advisable…
Unfortunately lots of minor versions of python introduce breaking changes especially for scientific computing languages.


EVP_EncryptInit.pod: fix example

[x] documentation is added or updated

This pull request is ready to merge

merged.
1.1.1: 3c09a5b0ba78a15311252ab8b7fb3ce16e7109ca
master: d561b84143f5e7956454090e15de0c5e1425ceac


performance / multi threading

It seems by default it runs on single thread, is there any way to use multiple threads?
I've tried to run it with:
let env = Arc::new(EnvBuilder::new().build());

And it still consumes only 1 core.
This doesn't work as well, still only 1 core is busy:
let env = Arc::new(Environment::new(8));

I'm creating just 1 grpc connection from the client. I expect server still should be able to use multiple cores.
Creating multiple connections also doesn't help, performance is still a lot worse than go's grpc server.
I'm sending 1M hello requests:
go: 22 seconds.
grpcio: 38 seconds.

Hi @Kane-Sendgrid
One connection can only use one Core, no matter how many you set on the server.
Can you give us the benchmark test?

@siddontang I'll send it to you. But, interestingly, go server does utilize > 1 core even with 1 connection.
But in any case I wasn't able to get any improvements with 1 thread vs 8 threads and 1 connection vs 100 connections. It was almost the same in all cases.


Fix space leak in Shells

Fixes https://github.com/Gabriel439/Haskell-Turtle-Library/issues/380
The issue was that all of the Shell utilities were internally using
translate which was inadvertently using a non-strict Maybe
accumulator.  Switching to a strict accumulator fixes the problem.
This leak was introduced in version 1.5.0

I tested this by hand using the following program:
import qualified Control.Foldl as Foldl
import qualified Turtle

main :: IO ()
main = do
    x <- Turtle.fold (Turtle.select [(1::Int)..100000000]) Foldl.sum

    print x

Before this change it leaked, but after this change it runs in constant space:


MatStepper tabpanel element should not have tabindex="0"

Reproduction
Steps to reproduce:

Open: https://material.angular.io/components/stepper/api
Use tab and go to first input.

Expected Behavior
Focus should always be visible (users using only the keyboard).
A11Y / WCAG / accessibility
Actual Behavior
Between the first step (tab) and the first field, the focus disappears.
Environment

Angular: 8.
Angular Material: 9.2.4
Browser(s): Firefox 77, Chrome 83
Operating System: Windows 10.

Looked at this, the role="tabpanel" here has tabindex="0" which shouldn't be the case.

We've got a PR for this already https://github.com/angular/components/pull/16809. Also closing as a duplicate of https://github.com/angular/components/issues/16692.


Favicon and other images do not load

Issue is currently visible on the demo site. If you visit https://react-webpack-node.herokuapp.com/ you will see no favicon. If you view-source and visit one of the favicon / meta images. It will be blank.
If you open the image in a text editor, it is being rendered as a data url with exports. ie: module.exports = "data:image/png;base64,AAABAAEAIx8AAAEACAB8CQAAFgAAACgAAAAjAAAAPgAAAAEACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABCQkIAYxbLAFIW2wBVFuIAVx3PAEtLSwBDGfkATU1NAEkm7wBqK9gAWFhYAFlZWQBcXFwAYmJiAGZbegBkZGQAZWVlAG5ubgBvb28AcXFxAHFxcgBycnIAc3NzAHR0dAB0fF0AdXV1AHh3eAB4eHgAnl3JAHl5eQB6enoAe3t7AHx8fAB9fX0Afn5+AH9/.

Thanks for raising this issue. I've noticed this as well, will have a look!

https://github.com/choonkending/react-webpack-node/commit/b187dbb05d271d29332fd999040073344de22ce7 should fix it.
:) Thanks for that @zamiang. Please re-open if you think it can be improved!

I ran everything start to finish all the way through heroku open without any issues. (Bravo for that, seriously.) When I try opening the deployed version, I get the following favicon issue and am not sure where to go from here:
GET https://guarded-lowlands-41879.herokuapp.com/favicon.ico 503 (Service Unavailable)
I assume it's just not reading app/images/favicon.png.
Looking through b187dbb, changes are:
A) Already made in the helmconfig file
B) I don't have a webpack/webpack.config.dev.js file and instead have webpack.config.dev-client.js and webpack.config.dev-server.js files. Those look like they've been updated further/beyond what's written here and are as follows:
{ test: /.json$/, loader: "json-loader" },
{
test: /.(png|jpg|jpeg|gif|svg|woff|woff2)$/,
loader: 'url',
query: {
name: '[hash].[ext]',
limit: 10000,
}
},


Install fails on py3.5

Installing on orange pi with error.
I can easily install everything else.
Everything is up-to date as it can be for this platform. 2GB of free space, 0% CPU load.
root@x:~# pip3 --version
spip 9.0.1 from /usr/lib/python3/dist-packages (python 3.5)
root@x:~# python3 --version
Python 3.5.3

Error:
pip3 install monero
Collecting monero
  Using cached https://files.pythonhosted.org/packages/2f/50/68bd75053eb6f9d88e83af5a4320e671fcd2105a4e89c660430dde011cb9/monero-0.8.1.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 157, in save_modules
        yield saved
      File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 198, in setup_context
        yield
      File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 255, in run_setup
        DirectorySandbox(setup_dir).run(runner)
      File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 285, in run
        return func()
      File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 253, in runner
        _execfile(setup_script, ns)
      File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 47, in _execfile
        exec(code, globals, locals)
      File "/tmp/easy_install-7cc_7e05/pytest-runner-5.3.0/temp/easy_install-cawq09dz/setuptools_scm-6.0.1/setup.py", line 52, in <module>
        'Operating System :: OS Independent',
      File "/tmp/easy_install-7cc_7e05/pytest-runner-5.3.0/temp/easy_install-cawq09dz/setuptools_scm-6.0.1/setup.py", line 29, in scm_config

      File "/tmp/easy_install-7cc_7e05/pytest-runner-5.3.0/temp/easy_install-cawq09dz/setuptools_scm-6.0.1/src/setuptools_scm/__init__.py", line 15, in <module>
      File "/tmp/easy_install-7cc_7e05/pytest-runner-5.3.0/temp/easy_install-cawq09dz/setuptools_scm-6.0.1/src/setuptools_scm/version.py", line 42
        trace(f"tag '{tag}' parsed to {result}")
                                              ^
    SyntaxError: invalid syntax

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 157, in save_modules
        yield saved
      File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 198, in setup_context
        yield
      File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 255, in run_setup
        DirectorySandbox(setup_dir).run(runner)
      File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 285, in run
        return func()
      File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 253, in runner
        _execfile(setup_script, ns)
      File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 47, in _execfile
        exec(code, globals, locals)
      File "/tmp/easy_install-7cc_7e05/pytest-runner-5.3.0/setup.py", line 21, in <module>
        version_match = re.search(r"^__version__ = ['\"](.*)['\"]",
      File "/usr/lib/python3.5/distutils/core.py", line 108, in setup
        _setup_distribution = dist = klass(attrs)
      File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 317, in __init__
        self.fetch_build_eggs(attrs['setup_requires'])
      File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 372, in fetch_build_eggs
        replace_conflicting=True,
      File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 846, in resolve
        dist = best[req.key] = env.best_match(req, ws, installer)
      File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1118, in best_match
        return self.obtain(req, installer)
      File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1130, in obtain
        return installer(requirement)
      File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 440, in fetch_build_egg
        return cmd.easy_install(req)
      File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 699, in easy_install
        return self.install_item(spec, dist.location, tmpdir, deps)
      File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 725, in install_item
        dists = self.install_eggs(spec, download, tmpdir)
      File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 906, in install_eggs
        return self.build_and_install(setup_script, setup_base)
      File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 1145, in build_and_install
        self.run_setup(setup_script, setup_base, args)
      File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 1131, in run_setup
        run_setup(setup_script, args)
      File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 258, in run_setup
        raise
      File "/usr/lib/python3.5/contextlib.py", line 77, in __exit__
        self.gen.throw(type, value, traceback)
      File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 198, in setup_context
        yield
      File "/usr/lib/python3.5/contextlib.py", line 77, in __exit__
        self.gen.throw(type, value, traceback)
      File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 169, in save_modules
        saved_exc.resume()
      File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 144, in resume
        six.reraise(type, exc, self._tb)
      File "/usr/lib/python3/dist-packages/pkg_resources/_vendor/six.py", line 685, in reraise
        raise value.with_traceback(tb)
      File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 157, in save_modules
        yield saved
      File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 198, in setup_context
        yield
      File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 255, in run_setup
        DirectorySandbox(setup_dir).run(runner)
      File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 285, in run
        return func()
      File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 253, in runner
        _execfile(setup_script, ns)
      File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 47, in _execfile
        exec(code, globals, locals)
      File "/tmp/easy_install-7cc_7e05/pytest-runner-5.3.0/temp/easy_install-cawq09dz/setuptools_scm-6.0.1/setup.py", line 52, in <module>
        'Operating System :: OS Independent',
      File "/tmp/easy_install-7cc_7e05/pytest-runner-5.3.0/temp/easy_install-cawq09dz/setuptools_scm-6.0.1/setup.py", line 29, in scm_config

      File "/tmp/easy_install-7cc_7e05/pytest-runner-5.3.0/temp/easy_install-cawq09dz/setuptools_scm-6.0.1/src/setuptools_scm/__init__.py", line 15, in <module>
      File "/tmp/easy_install-7cc_7e05/pytest-runner-5.3.0/temp/easy_install-cawq09dz/setuptools_scm-6.0.1/src/setuptools_scm/version.py", line 42
        trace(f"tag '{tag}' parsed to {result}")
                                              ^
    SyntaxError: invalid syntax

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-7v8w5om6/monero/setup.py", line 61, in <module>
        test_suite='tests',
      File "/usr/lib/python3.5/distutils/core.py", line 108, in setup
        _setup_distribution = dist = klass(attrs)
      File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 317, in __init__
        self.fetch_build_eggs(attrs['setup_requires'])
      File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 372, in fetch_build_eggs
        replace_conflicting=True,
      File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 846, in resolve
        dist = best[req.key] = env.best_match(req, ws, installer)
      File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1118, in best_match
        return self.obtain(req, installer)
      File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1130, in obtain
        return installer(requirement)
      File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 440, in fetch_build_egg
        return cmd.easy_install(req)
      File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 699, in easy_install
        return self.install_item(spec, dist.location, tmpdir, deps)
      File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 725, in install_item
        dists = self.install_eggs(spec, download, tmpdir)
      File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 906, in install_eggs
        return self.build_and_install(setup_script, setup_base)
      File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 1145, in build_and_install
        self.run_setup(setup_script, setup_base, args)
      File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 1131, in run_setup
        run_setup(setup_script, args)
      File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 258, in run_setup
        raise
      File "/usr/lib/python3.5/contextlib.py", line 77, in __exit__
        self.gen.throw(type, value, traceback)
      File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 198, in setup_context
        yield
      File "/usr/lib/python3.5/contextlib.py", line 77, in __exit__
        self.gen.throw(type, value, traceback)
      File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 169, in save_modules
        saved_exc.resume()
      File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 144, in resume
        six.reraise(type, exc, self._tb)
      File "/usr/lib/python3/dist-packages/pkg_resources/_vendor/six.py", line 685, in reraise
        raise value.with_traceback(tb)
      File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 157, in save_modules
        yield saved
      File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 198, in setup_context
        yield
      File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 255, in run_setup
        DirectorySandbox(setup_dir).run(runner)
      File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 285, in run
        return func()
      File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 253, in runner
        _execfile(setup_script, ns)
      File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 47, in _execfile
        exec(code, globals, locals)
      File "/tmp/easy_install-7cc_7e05/pytest-runner-5.3.0/setup.py", line 21, in <module>
        version_match = re.search(r"^__version__ = ['\"](.*)['\"]",
      File "/usr/lib/python3.5/distutils/core.py", line 108, in setup
        _setup_distribution = dist = klass(attrs)
      File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 317, in __init__
        self.fetch_build_eggs(attrs['setup_requires'])
      File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 372, in fetch_build_eggs
        replace_conflicting=True,
      File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 846, in resolve
        dist = best[req.key] = env.best_match(req, ws, installer)
      File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1118, in best_match
        return self.obtain(req, installer)
      File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1130, in obtain
        return installer(requirement)
      File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 440, in fetch_build_egg
        return cmd.easy_install(req)
      File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 699, in easy_install
        return self.install_item(spec, dist.location, tmpdir, deps)
      File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 725, in install_item
        dists = self.install_eggs(spec, download, tmpdir)
      File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 906, in install_eggs
        return self.build_and_install(setup_script, setup_base)
      File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 1145, in build_and_install
        self.run_setup(setup_script, setup_base, args)
      File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 1131, in run_setup
        run_setup(setup_script, args)
      File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 258, in run_setup
        raise
      File "/usr/lib/python3.5/contextlib.py", line 77, in __exit__
        self.gen.throw(type, value, traceback)
      File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 198, in setup_context
        yield
      File "/usr/lib/python3.5/contextlib.py", line 77, in __exit__
        self.gen.throw(type, value, traceback)
      File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 169, in save_modules
        saved_exc.resume()
      File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 144, in resume
        six.reraise(type, exc, self._tb)
      File "/usr/lib/python3/dist-packages/pkg_resources/_vendor/six.py", line 685, in reraise
        raise value.with_traceback(tb)
      File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 157, in save_modules
        yield saved
      File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 198, in setup_context
        yield
      File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 255, in run_setup
        DirectorySandbox(setup_dir).run(runner)
      File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 285, in run
        return func()
      File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 253, in runner
        _execfile(setup_script, ns)
      File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 47, in _execfile
        exec(code, globals, locals)
      File "/tmp/easy_install-7cc_7e05/pytest-runner-5.3.0/temp/easy_install-cawq09dz/setuptools_scm-6.0.1/setup.py", line 52, in <module>
        'Operating System :: OS Independent',
      File "/tmp/easy_install-7cc_7e05/pytest-runner-5.3.0/temp/easy_install-cawq09dz/setuptools_scm-6.0.1/setup.py", line 29, in scm_config

      File "/tmp/easy_install-7cc_7e05/pytest-runner-5.3.0/temp/easy_install-cawq09dz/setuptools_scm-6.0.1/src/setuptools_scm/__init__.py", line 15, in <module>
      File "/tmp/easy_install-7cc_7e05/pytest-runner-5.3.0/temp/easy_install-cawq09dz/setuptools_scm-6.0.1/src/setuptools_scm/version.py", line 42
        trace(f"tag '{tag}' parsed to {result}")
                                              ^
    SyntaxError: invalid syntax
    /tmp/easy_install-7cc_7e05/pytest-runner-5.3.0/temp/easy_install-cawq09dz/setuptools_scm-6.0.1/src
    <pkg_resources.WorkingSet object at 0xb5cc6b30>

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-7v8w5om6/monero/

Please check v0.8.2. It might have fixed the issue, however I don't have Py3.5 to really test it.

monero-0.8.2 solved it, can we release it to pypi wheel?

It had been on pypi at the moment I replied here.

True, so why pip install gives me 0.8.0 on py3.5?
https://pypi.org/project/monero/

Can you use pycrytodomex instead? Installing pysha3 fails unless I have the dev files for Python. It's a pain to install ok Ubuntu or on a pc that doesn't have the dev dependencies already installed.

Here is an sha3 for old versions https://pypi.org/project/pysha3/


about this porject

Hi~ I have some problems about Hardware-CNN, so I hope to get your help.
1、how can I run this project as a demo? it seems that the src files' strcuture is not complete.
2、if the project is no problem, can you give a  brief introduction for the net structure?
Thank you very much~

Hello
This is not my project, but I've used some modules from this, so I can give you a small introduction. As you say, the repository is not complete but the current files are enough to build the tree adder, which compose the convolutional layer. The files window_ctrl, window_selector and window wrapper create the sliding window values depending on the dynamic position of the kernel (7x7 in this case). The mult_adder_ctrl and mult_adder modules are the tree adder itself, whose output is directed to rect_linear, which implements a simple RELU function. The output of the RELU is supposed to be stored in memory as suggested by the structure of the project using fm_coord_sr to delay the coordinates of the feature map and avoid the mismatch introduced by the pipeline execution. But the files for storing the feature map on memory are missing, although you can replace it by your own files depending on the memory you are using. After you store the feature map values coming from the rectif_unit, the author added a small dense layer which is not included, but you can add your own or if you plan to include a pooling layer, that is the moment as well. One important thing to keep in mind is that the author was receiving data from a camera module, which is also not included, so you have to create a module that generates sample test_pixel values if you still want to test the functionality. I'm attaching two pictures of my hand writing documentation that maybe could be useful to understand how the pipeline stages work for this project.

thank you very much~

hello,
The introduction above is accurate, however, I just realized that the final version of this project was not merged into the master branch. The branch camera-integration should be much more complete. It is possible some files are still missing but this is probably the place you want to look
Later today, I will merge the final version into the master branch. I will also try to upload the report for this that will hopefully clear things up a bit.

I have merged the camera integration branch into master now. Also, here are some block diagrams we put together for the report:

Thank you Alan

Hi @alan4186, could you please upload the report of your project? It would help me understand it better.
Thank you!

porject


Question

I'm creating an express application and for the views render I use twig.js.
I'm displaying some posts from mongodb into index.twig file. The question is how can I call a function from a js file(let's call it Utils.js) in the twig file?
My index.twig file looks something like this:

{{ post["date"] }}

    {{ post["body"] }}

What I need to do is to format that post["date"] calling a method from Utils.js not just echoing it out as it is. How can I do that ?
P.S. I know that there are filters for date but I want my own data format.
EDIT: I can do it with filters if there's one that will modify the F to be language specific. So F will echo February but I want it to be on my language.(ro_RO) {{ post["date"]|date("d F Y", "Europe/Bucharest") }}

Hi @George02 ,
To add a filter you can use Twig.extendFilter():
Twig.extendFilter('foo', function (value) {
    return util.format(value);
});

After adding a filter you'll be able to use it in your templates:
{{ value|foo }}

My bad that I didn't read the full documentation. Thanks mate !

You're welcome :)


feat: adapt to lean4#3105

Thanks! I got lost in a larger refactor but should have pushed this out first.


Compatible with Mac?

Mmm, I would assume so, I just dont know what the equivalent directory is for where to place the custom emoticons, let me know if you find anything


Correct wrong user LED pin on Arduino Mega 2560

The repo has (incorrectly) pin portb.5. But the proper pin to use for the Arduino Mega 2560 User LED is pin portb.7.

Correct the pin configuration and test on the target.

See also #592


Now does it suport swift2.0?

Hello! My question is that does it support swift 2.0? I need to support 2.0, so if it isn't supported, please try your best to update. Thanks in advance!

It supports Swift 2.0. Please take the time to read the documentation in the future. Thanks!

Thank you for your reply.I pod
pod 'Alamofire', '~ 2.0'
I do nothing yeah, and I try to build, but there are lot of errors.
It shows that String array doesn't have a member ofjoinWithSeparator
return components.joinWithSeparator(",")
It showsthat it can't be invoked with these types arguments.
I turn to have a lot ofCFStringTransform, it seems that the arg type is not right.
if CFStringTransform(mutableUserAgent, UnsafeMutablePointerCFRange(nil), transform, false) {
return mutableUserAgent as String
}
Note:
My Xcode version is xcode7 beta(7A120f)
Hope your reply. Thanks in advance!
原始邮件
发件人:Christian<EMAIL_ADDRESS><EMAIL_ADDRESS>抄送:Jacky<EMAIL_ADDRESS>发送时间:2015年9月15日(周二) 12:14
主题:Re: [Alamofire] Now does it suport swift2.0? (#769)
It supports Swift 2.0. Please take the time to read the documentation in the future. Thanks!
—
Reply to this email directly or view it on GitHub.

My Xcode version is xcode7 beta(7A120f)

That is a bit old version, you should use Xcode 7 GM (7A218) now.


[Bug]: Initializing 2 shaft driver in the same test doesn't work as expected

When trying to create 2 instances from shaft driver in the same test , the second driver will always override the first one.
Example to reproduce the issue:

SHAFT.GUI.WebDriver googleDriver= new SHAFT.GUI.WebDriver();
SHAFT.GUI.WebDriver gmailDriver= new SHAFT.GUI.WebDriver();

googleDriver.browser().navigateToURL("https://www.google.com/");
gmailDriver.browser().navigateToURL("https://gmail.com/");

System.out.println("Google Driver URL #####"+ googleDriver.browser().getCurrentURL()); --> This will print gmail URL

Expected result: Google URL should be returned

@roaamagdy I will defer working on this issue till the next major release early January when we will upgrade SHAFT to use JDK 21.
@MahmoudElSharkawy FYI. This will require some changes to the core of the Driver factory helper class. I'm thinking of a complete re-write, splitting the class into smaller ones that are more maintainable. As well as completely removing the thread-local approach in favor of virtual threads. This should be much faster and more widely adopted since the thread-local class-level parallelization isn't really being used by anyone and is such a hassle to maintain.

@MohabMohie it is not released yet right?


Add Nix Flake for IBM Db2 Driver

Added in https://github.com/rupurt/odbc-scanner-duckdb-extension/pull/22


SvelteKit Docs are outdated

Improve documentation
Link
https://supabase.com/docs/guides/auth/auth-helpers/sveltekit#server-side-data-fetching-with-rls
Describe the problem
The withAuth method is no longer available in @supabase/auth-helpers-sveltekit
Describe the improvement
Can you please update the docs with the newer method of server side fetching with RLS? I'm new to this library, and just noticed it
Additional context
The withAuth method is mentioned in the docs

But it is not available in the library

@arnu515 Did you find the new method? I'm running into this issue now

It looks like the documentation is updated here: https://github.com/supabase/auth-helpers/tree/main/packages/sveltekit
I think the main issue is the site documentation (https://supabase.com/docs/guides/auth/auth-helpers/sveltekit) not being updated as it looks like is a separate issue.

I've opened a PR to fix this https://github.com/supabase/supabase/pull/10229, this should be resolved soon.

@arnu515 Did you find the new method? I'm running into this issue now

No, unfortunately. I just got session from the getSupabase() function and checked if it was null or not.

I've opened a PR to fix this supabase/supabase#10229, this should be resolved soon.

Thanks!

Fixed.


Image link is broken

Provide the exact quote of the error or issue
Image link of InfiniteScrollArea component is broken.
It is must be replace.
Does the docs page already exist? Please link to it.
https://yamada-ui.com/components/data-display/infinite-scroll-area#change-the-orientation
Are you willing to participate in fixing this issue and create a pull request with the fix?
None

@108yen can you help me in solving this( i am a beginner)
-> what i understood is the images in change the orientation horizontal slider is broken
because the image link 'https://gurren-lagann15th.com/assets/img/top/visual.jpg' is not working
what must be the new image link (or where can i find the new link), with which i need to replace this image link to resolve this issue.

@5AIPAVAN
That's right.

@5AIPAVAN
I dont know.
Please find a nice image of Gurren Lagann.

anyone please assign me this issue @108yen @hifumi9 @seoky0 :-)

i have opened a pr that closes this issue, please tell me if you want to change anything :-)


cmd/go: go build should error if ldflags -X pointed at const

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
go version go1.8.3 darwin/amd64
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/icio/go"
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/87/jm5nnqqs2_xcxr3bfpkg73tw0000gn/T/go-build323188801=/tmp/go-build -gno-record-gcc-switches -fno-common"
CXX="clang++"
CGO_ENABLED="1"
PKG_CONFIG="pkg-config"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"

What did you do?
Created a file main.go:
package main

var Forename = "Paul"
const Surname = "Scott"

func main() {
	println("Hello, " + Forename + " " + Surname)
}

And ran the following command:
go run -ldflags '-X main.Forename=Bob -X main.Surname=Smith' main.go

What did you expect to see?
An error that main.Surname is const and could not be overridden, or
Hello, Bob Smith

What did you see instead?
Hello, Bob Scott

I'm fine with the idea in principle but I don't see how it is possible in practice.  We decided a long time ago that the linker should accept a -X option for an unknown symbol, so that people could use a single set of -X options to build multiple programs.  In your test Surname is a constant, so the linker never sees it.  The effect is that the linker thinks you are using -X with an unknown symbol, so it doesn't do anything.
I'll leave this open for now in case someone else thinks of a way to implement it.

That's reasonable. I wondered whether this was a result of the const disappearing before the -X was considered, but I'm not familiar with the full steps involved. Thanks for looking.

I can't think of a way to do it, and worse I can think of migration paths that it might break (if we think it's important to support -X in the transition from builds with no var that add a var, it seems reasonable to think it's also important to support -X in the transition from builds with a const to builds with a var).


add class iterator2

the iterator class doesn't work with istream_iterator

fixes #47

adding checked and unchecked iterator
fixes #47

#58 provides solution for checked and unchecked version without creating a new class iterator.


Pagination ( onEachSide(5) ) function is not working.

Laravel Version: 8.35.1
PHP Version: 7.4.7
Database Driver & Version: 10.4.13-MariaDB

Description:
pagination ( onEachSide(5) ) function is not working.
I want control how many additional links are displayed on each side of the current page during pagination using onEachSide(5).
But it does not work.
Steps To Reproduce:

Create a database and migrate a table.
Add several dummy records on that table.
Use pagination to get the date and view it on view page and use onEachSide(5) to control how many additional links are displayed.

Hi there,
Thanks for reporting but it looks like this is a question which can be asked on a support channel. Please only use this issue tracker for reporting bugs with the library itself. If you have a question on how to use functionality provided by this repo you can try one of the following channels:

Laracasts Forums
Laravel.io Forums
StackOverflow
Discord
Larachat
IRC

However, this issue will not be locked and everyone is still free to discuss solutions to your problem!
Thanks.

I've found the same issue, the function onEachSide is not working

See https://wintertricks.com/tricks/paginator-with-limited-number-of-pages-displayed-at-once for an example of how you can implement a completely custom onEachSide link window yourself in your views.


Feat: Create COMMIT_MESSAGE_STYLE_GUIDE.md for projects to refer to.

Is your feature request related to a problem? Please describe.
Currently projects under anita-org has their own copy of Commit Message Style Guide instructions on wiki page. These pages are redundant because we only need one page that all projects can refer to.
Describe the solution you'd like
Create COMMIT_MESSAGE_STYLE_GUIDE.md template.
Describe alternatives you've considered
NA
Additional context
NA

ah, I can do it @mtreacy002 I thought you could do it

I don't think I have that capacity in GitHub (transferring issue between different repo) even as BIT maintainer. I think that's only reserved for admins 😁

i can work on this


[Feature] Support for new microbatching incremental strategy

Is this your first time submitting a feature request?

[X] I have searched the existing issues, and I could not find an existing issue for this feature

Describe the feature
Previously, for large time-series models we needed a custom insert-by-period macro. In this post dbt announced support for the "microbatching" strategy coming to dbt-core 1.9.
This issue is a placeholder to start preparing for the dbt 1.9 release with this new incremental strategy. Work can be tracked in this epic https://github.com/dbt-labs/dbt-core/issues/10624
Describe alternatives you've considered
No response
Who will this benefit?
Datasets that are too big to run on initial full load without batching (Athena query times out)
Are you interested in contributing this feature?
No response
Anything else?
Closes #190 and probably #697

@amychen1776 the reason why this issue was closed is not clear. Even if dbt Labs is planning to ship such feature, a public open issue could be still relevant to have to track the work that is planned around the adapter - this is valid for any open source code-base, issues are a way to track planned work, or simply to understand relevant features to prioritize by the maintainers.
I recommend therefore to re-open the issue, and eventually leave a clear message that this feature will be shipped by dbt Labs somewhen.

@nicor88 that's correct - I closed this because this work is being done and tracked in the other issue (and I want to limit duplication)

@amychen1776 could we aim to cross reference issues next time? this microbatch issue is linked in few conversation with the community, and it's good to have a track on what is going on.
Thanks


Forgotten Ruins Not Renamed as Expected

Forgotten Ruins generally aren't getting renamed as expected. Sometimes they get renamed after a delay (such as after saving and reloading the game). But I've had several starting villages assign me quests to forgotten ruins locations. Usually those locations get renamed eventually, but not right away in the starting village.
(Unfortunately this is a particularly complicated part of the mod due to how the game pre-generates all location names and quests that refer to those names, and doesn't preserve any clear link between the locations and the quests that reference them. But it's possible something in QudUX is failing during initial load because it's trying to access this location data too early or something like that?)

Resolved by 5c436d9ff6dec2e941282e05a8e469f636e0f7bc


No output following book STM32F303

I have been following the guide up to hardware.
When following through, I'm not able to get "Hello, world!" printed out using hprintln!. This is my output:
from openocd:
none separate
Info : Unable to match requested speed 1000 kHz, using 950 kHz
Info : Unable to match requested speed 1000 kHz, using 950 kHz
Info : clock speed 950 kHz
Info : STLINK v2 JTAG v27 API v2 SWIM v15 VID 0x0483 PID 0x374B
Info : using stlink api v2
Info : Target voltage: 2.913064
Info : stm32f3x.cpu: hardware has 6 breakpoints, 4 watchpoints
Info : accepting 'gdb' connection on tcp/3333
Info : device id = 0x10036422
Info : flash size = 256kbytes
undefined debug reason 7 - target needs reset
semihosting is enabled
Info : Unable to match requested speed 1000 kHz, using 950 kHz
Info : Unable to match requested speed 1000 kHz, using 950 kHz
adapter speed: 950 kHz
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x080015ca msp: 0x20010000, semihosting
Info : Unable to match requested speed 8000 kHz, using 4000 kHz
Info : Unable to match requested speed 8000 kHz, using 4000 kHz
adapter speed: 4000 kHz
Info : Padding image section 0 with 10 bytes
target halted due to breakpoint, current mode: Thread
xPSR: 0x61000000 pc: 0x2000003a msp: 0x20010000, semihosting
Info : Unable to match requested speed 1000 kHz, using 950 kHz
Info : Unable to match requested speed 1000 kHz, using 950 kHz
adapter speed: 950 kHz
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x080015ca msp: 0x20010000, semihosting
Info : halted: PC: 0x0800163a
Info : halted: PC: 0x0800184a
Info : halted: PC: 0x0800184a
Info : halted: PC: 0x0800184a
Info : halted: PC: 0x0800184a
Info : halted: PC: 0x0800184a
Info : halted: PC: 0x0800184a
Info : halted: PC: 0x0800184a
Info : halted: PC: 0x0800184a
Info : halted: PC: 0x0800184a
Info : halted: PC: 0x0800184a
Info : halted: PC: 0x0800184a
Info : halted: PC: 0x0800184a
Info : halted: PC: 0x0800184a
Info : halted: PC: 0x0800184a
Info : halted: PC: 0x0800184a
Info : halted: PC: 0x0800184a
Info : halted: PC: 0x0800184a
Info : halted: PC: 0x0800184a
Info : halted: PC: 0x0800184a
Info : halted: PC: 0x0800184a
Info : halted: PC: 0x0800184a
Info : halted: PC: 0x0800184a
Info : halted: PC: 0x0800184a

It just continues on that instruction over and over.
and from gdb:
Transfer rate: 12 KB/sec, 2403 bytes/write.
Note: automatically using hardware breakpoints for read-only addresses.
DefaultPreInit () at /home/leshow/.cargo/registry/src/github.com-1ecc6299db9ec823/cortex-m-rt-0.6.9/src/lib.rs:564
564     pub unsafe extern "C" fn DefaultPreInit() {}
(gdb) break main
Note: breakpoint 4 also set at pc 0x8000480.
Breakpoint 5 at 0x8000480: file examples/hello.rs, line 13.
(gdb) continue
Continuing.

Breakpoint 2, HardFault_ (ef=0x0)
    at /home/leshow/.cargo/registry/src/github.com-1ecc6299db9ec823/cortex-m-rt-0.6.9/src/lib.rs:548
548             atomic::compiler_fence(Ordering::SeqCst);
(gdb) next
^C
Program received signal SIGINT, Interrupt.
0x0800184a in HardFault_ (ef=0x0)
    at /home/leshow/.cargo/registry/src/github.com-1ecc6299db9ec823/cortex-m-rt-0.6.9/src/lib.rs:548
548             atomic::compiler_fence(Ordering::SeqCst);

Also, my memory.x file had  FLASH : ORIGIN = 0x00000000, LENGTH = 256K in it, but the book said 0x08000000 so I've changed it to that. I'm not sure if that's the correct value.
I have the stmf32f303 exactly the same board as described in the book. When I plugged it in before the board used to light up and I could press the 'user' button to cycle through the accelerometer and gyroscope. Now the board just has a red power indicator and the COM set to red all the time. I'm not sure if this is normal or because I actually ran something on the board the initial program it was loaded with is gone.

I started messing around with the f3 project trying to get the examples running, I was able to get the hello.rs in the examples and blinky.rs running with gdb on my board.
I noticed the memory.x files are different, so it's contents into my cortex-m-quickstart clone and voila. I was able to debug / run.
MEMORY
{
  CCRAM : ORIGIN = 0x10000000, LENGTH = 8K
  FLASH : ORIGIN = 0x08000000, LENGTH = 256K
  RAM : ORIGIN = 0x20000000, LENGTH = 40K
}

_stack_start = ORIGIN(CCRAM) + LENGTH(CCRAM)

These were the values that fixed it for me, I'll submit an issue to the quickstart

This just helped get me out of a rut. Thanks for this.
Since the book states that its meant to be used with an STM32F3DISCOVERY, it really should assume you're using an STM32F3DISCOVERY.


Improve error message when a question's label and/or hint is missing

The validation error message returned when a question's label is missing is misleading - it suggests that either a label or a hint is required. As per the XLSForm spec, only the label is mandatory (the hint is not).
If a question has a hint but no label, a different warning message is returned. This message should be the same regardless of whether the question has a hint or not.
Suggest changing the error message to be the same in both instances, for example:
The survey element named '<question name>' has no label.
Examples from Survey123 Connect
Both label and hint missing:

Error converting XLSForm
The survey element named 'question1' has no label or hint.

Question has a hint but label is missing:

XLSForm converted with warnings
[row : 2] Question has no label: {u'type': u'text', u'name': u'question1', u'hint': u'Test'}

The fix is not going in this repo I think. The validator is calling the odk-validate which in turn will call the javarosa code base.

Thanks @nribeka
Looking at the code, it appears the error checks and messages are in this repo:
https://github.com/XLSForm/pyxform/blob/2b741999779d36dc2e7ef5df2036ef4e37f44069/pyxform/survey_element.py#L371-L372
https://github.com/XLSForm/pyxform/blob/077972c59970d445f1b1fe48e8a42937490e6769/pyxform/xls2json.py#L836-L846
The checks

@jim-moore wow! I thought the message was coming from the odk validator! Thank you for pointing this.


Bug fix deduplication: typo and self reference.

Greetings from OLX.
Bug fix deduplication: typo and self reference.

hi @bartosznaumowicz-olx, thank you for your PR! I agree that we should not be using self since it isn't an instance method, however we would need to change the references to the calls. I think for now we should probably keep the self passing as is and just correct the typo.

Self parameter creates an error:
[2017-05-31 08:49:46,927: ERROR/MainProcess] Task async_dedupe[d614d49f-6cbc-4d13-b7a9-c5a611777738] raised unexpected: TypeError('async_dedupe() takes at least 2 arguments (1 given)',) dojo_1        | Traceback (most recent call last): dojo_1        |   File "/django-DefectDojo/venv/local/lib/python2.7/site-packages/celery/app/trace.py", line 240, in trace_task dojo_1        |     R = retval = fun(*args, **kwargs) dojo_1        |   File "/django-DefectDojo/venv/local/lib/python2.7/site-packages/celery/app/trace.py", line 438, in __protected_call__ dojo_1        |     return self.run(*args, **kwargs) dojo_1        | TypeError: async_dedupe() takes at least 2 arguments (1 given) dojo_1        | [2017-05-31 08:49:46,929: ERROR/MainProcess] Pool callback raised exception: ValueError('too many values to unpack',) dojo_1        | Traceback (most recent call last): dojo_1        |   File "/django-DefectDojo/venv/local/lib/python2.7/site-packages/billiard/pool.py", line 1700, in safe_apply_callback dojo_1        |     fun(*args, **kwargs) dojo_1        |   File "/django-DefectDojo/venv/local/lib/python2.7/site-packages/celery/worker/job.py", line 384, in on_success dojo_1        |     return self.on_failure(ret_value) dojo_1        |   File "/django-DefectDojo/venv/local/lib/python2.7/site-packages/celery/worker/job.py", line 443, in on_failure dojo_1        |     self._log_error(exc_info, send_failed_event=send_failed_event) dojo_1        |   File "/django-DefectDojo/venv/local/lib/python2.7/site-packages/celery/worker/job.py", line 514, in _log_error dojo_1        |     task.send_error_email(context, einfo.exception) dojo_1        |   File "/django-DefectDojo/venv/local/lib/python2.7/site-packages/celery/app/task.py", line 900, in send_error_email dojo_1        |     self.ErrorMail(self, **kwargs).send(context, exc) dojo_1        |   File "/django-DefectDojo/venv/local/lib/python2.7/site-packages/celery/utils/mail.py", line 190, in send dojo_1        |     fail_silently=fail_silently) dojo_1        |   File "/django-DefectDojo/venv/local/lib/python2.7/site-packages/celery/app/base.py", line 416, in mail_admins dojo_1        |     to = [admin_email for _, admin_email in self.conf.ADMINS] dojo_1        | ValueError: too many values to unpack
TypeError('async_dedupe() takes at least 2 arguments (1 given)',)

@devGregA @aaronweaver The reference to the calls are not using self. We've tested this and it's working  now.

@joaquinrinaudo-olx will test soon. Finishing up a qualys importer.

@joaquinrinaudo-olx, I tested this PR. It breaks the reports functionality. Please ensure new work is compatible with all aspects of DD.

That's strange. Before this change reports func. was not working for us. After this change (self ref. removal and typo) it started to working fine...
I will investigate this.

Maybe you changed the files but didn't commit them?
-- Greg Anderson
OWASP DefectDojo Project Leader
https://www.owasp.org/index.php/OWASP_DefectDojo_Project
On Thu, Jun 15, 2017 at 2:58 AM, bartosznaumowicz-olx <
<EMAIL_ADDRESS>wrote:

That's strange. Before this change reports func. was not working for us.
After this change (self ref. removal and typo) it started to working fine...
I will investigate this.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/OWASP/django-DefectDojo/pull/296#issuecomment-308658196,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEhYwAB5xM0znJHaC-WnZ-Ft1-nHwphiks5sEOQtgaJpZM4NrwSH
.


Migrate original unit tests from JOOQ project

Copy unit tests from JOOQ project and find an easy way to run them with Reactive JOOQ.

JOOQ unit tests are not available. Closing the issue..


enhancement: Appsmith Style Guide

Description
Created technical writing style guide for Appsmith.
Fixes
Ensures that the documentation sounds approachable to new users and is written with a unified voice. A style guide solves the problem of "this sounds like an engineer wrote this," or "is my description of this new feature clear enough?". Finally, the style guide helps new contributors write documentation that matches the tone of existing Appsmith docs.
Type of change
Created a new guide within Appsmith's contribution directory.
@Pranay105

Shouldn't this PR be raised in the #appsmith-docs repo?

@mohanarpit Ok, I'll move this PR #appsmith-docs repo. Thank you!


Add python 3.10, drop python 3.6

Description
Python 3.10 was released 2021-10-04  (see https://www.python.org/dev/peps/pep-0619/)
Python 3.6 was end-of-lifed 2021-12-23 (see https://www.python.org/dev/peps/pep-0494/#lifespan)
Type of change

Code maintentance/cleanup

as is usual with python upgrades for parsl, this is failing with pytest internals. I'll make a separate PR to upgrade pytest, which has been bothering me for other uses too.

see #2209 for a pytest update that should merge before further work on this PR

This PR has passed all 4 tests required by the branch: 3.7 .. 3.10, but github is configured to note that it is missing a 3.6 test - which it deliberately is.


Vickel: Watch Nibav[\W_]+(?:Home|house)[\W_]+Lifts

Vickel requests the watch of the watch_keyword Nibav[\W_]*+(?:Home|house)[\W_]*+Lifts. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

Approved by Jeff Schaller in Charcoal HQ


Add functionality to move primary/secondary replica

Add ... next to the replicas with option to move the primary/secondary to another node. Useful for mitigation and for testing some scenarios.

Are you considering this API?: https://docs.microsoft.com/en-us/rest/api/servicefabric/sfclient-api-removereplica
We would need confirmation dialog with this in red :-)

There are no safety checks performed when this API is used. Incorrect use of this API can lead to data loss for stateful services.

Is the ForceRemove flag implicit, optional or not supported here? I would love to enable it, but it should be a separate action, maybe on the confirmation dialog, with a second warning.

It looks like the command https://docs.microsoft.com/en-us/powershell/module/servicefabric/move-servicefabricprimaryreplica?view=azureservicefabricps and https://docs.microsoft.com/en-us/powershell/module/servicefabric/move-servicefabricsecondaryreplica?view=azureservicefabricps would be the proper way to handle moving the replicas, but as of right now the functionality for these are not exposed by http endpoints.


⚠ Bofrost.at has degraded performance

In eca260e, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2812 ms

Resolved: Bofrost.at performance has improved in 6566793.


use PAT token for creating the PR

Pull request
Description
use PAT token for creating the PR

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
5 unchanged lines in 3 files lost coverage.
Overall coverage increased (+0.02%) to 85.288%

Files with Coverage Reduction
New Missed Lines
%

src/connectors.rs
1
85.89%

src/connectors/source/channel_source.rs
1
78.33%

src/errors.rs
3
79.41%

Totals

Change from base Build<PHONE_NUMBER>:
0.02%

Covered Lines:
39560

Relevant Lines:
46384

💛  - Coveralls


[AutoRelease] t2-hybridcompute-2024-05-24-20456(can only be merged by SDK owner)

https://github.com/Azure/sdk-release-request/issues/5230
Live test fail, detailed info is in pipeline log(search keyword FAILED)!!!
https://dev.azure.com/azure-sdk/internal/_build?definitionId=1947

issue link:https://github.com/Azure/sdk-release-request/issues/5230


refactor to use Microsoft.Maui.Graphics

maybe the whole project could be refactored based on
https://github.com/dotnet/Microsoft.Maui.Graphics
so that all platform specific code comes from there
remark:
MAUI is now based on Microsoft.Maui.Graphics, see: https://github.com/dotnet/maui/commit/b1866fd187b7e94c449e5617ff315b8dfe5576ed

The project is based on System.Graphics that now, is Microsoft.Maui.Graphics and yes, the project will be updated to use Microsoft.Maui.Graphics and also use the Handlers architecture.

thanks for explanation! i wasn't aware that System.Graphics == Microsoft.Maui.Graphics
i just looked into the code, and have overseen that it's mentioned in https://github.com/dotnet/GraphicsControls#readme


Fix LaTeX in, and proofread README.md

Hey, I only wanted to fix the borked LaTeX/MathJax expression, but ended up proofreading and massaging the whole README. Do merge as much or as little as you would like!

@tpetricek, @dsyme,  seems I lost the write access to this project after transferring ownership, can you please merge?

@eloraiby I've added you as maintainer

Thanks!


Fix warning message for backward on a scalar array

It seems the order is reversed.
But what does this advice mean?

If the size of this variable accidentally becomes one, set zero to grad.

If the size of this variable accidentally becomes one, set zero to grad.

On this point, let's continue working in a new issue/PR.


Disable bad health detection in production

Task/Issue URL: https://app.asana.com/0/488551667048375/1201677777496481/f
Description
To investigate the abnormally high number of breakage reports since the lasts releases we're moving bad health detector to internal builds.
See here for more details
Steps to test this PR
Feature 1

[ ] install play build

[ ] launch and enable appTP

[ ] filter logcat with AppBadHealthStateHandler

[ ] no log should appear

[ ] install internal build

[ ] launch and enable AppTP

[ ] filter logcat with AppBadHealthStateHandler

[ ] logs should appear every 30s

Current dependencies on/for this PR:

develop

PR #1694  (this PR)

This comment was auto-generated by Graphite.


PHP Fatal error:  Allowed memory size of<PHONE_NUMBER> bytes exhausted (tried to allocate 262144 bytes)

Hello, I installed the latest version of dingo and when i add     Dingo\Api\Provider\LaravelServiceProvider::class  to the providers' section and then i try to run any php command such as artisan it crashes with an error of running out of memory rendering everything unusable.
Fatal error: Allowed memory size of<PHONE_NUMBER> bytes exhausted (tried to allocate 262144 bytes) in /var/www/html/productos/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 549
I am using Laravel 5.4, dingo and entrust, the project is a brand new one so there's nothing obscure as far as i can tell. If i remove the aforementioned line and rerun the commands, everything works perfectly.
My box is based on ubuntu server 16.04 with php 7 and nginx and is configured using vagrant initially with 1GB of RAM and i increased it to 2 just in case. I also tried the memory_limit modifications in the php config files.
$ php -v                 PHP 7.0.16-3+deb.sury.org~xenial+1 (cli) (built: Feb 22 2017 10:05:52) ( NTS ) Copyright (c) 1997-2017 The PHP Group Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies     with Zend OPcache v7.0.16-3+deb.sury.org~xenial+1, Copyright (c) 1999-2017, by Zend Technologies
composer.txt
Has anyone else experienced something similar? Googling it many had problems with composer but this is not the case

Did you put it to the Package Service Providers section of providers?
// config/app.php
...
'providers' => [
        /*
         * Laravel Framework Service Providers...
         */
        Illuminate\Auth\AuthServiceProvider::class,
        Illuminate\Broadcasting\BroadcastServiceProvider::class,
        Illuminate\Bus\BusServiceProvider::class,
        Illuminate\Cache\CacheServiceProvider::class,
        ...

        /*
         * Package Service Providers...
         */
        Dingo\Api\Provider\LaravelServiceProvider::class,

        ....

        /*
         * Application Service Providers...
         */

],

You probably have a syntax error in your /config/app.php
I missed a comma on mine and it trashed the server!

i just type php artisan clear:cache , php artisan clear, composer auto-dump and everthing is ok

Most of the times it comes down to syntax error.
Try suggestions of @handyliu2000


[TypeSpec Validation] Refactor TsvHost

Export TsvRunnerHost and TsvTestHost as classes rather than consts
Change test names to lower-case for consistency with typespec repo
Delete incomplete FolderStructure rule
TsvRunnerHost.gitOperation should succeed by default

@timotheeguerin: Your review is optional, but we are open to suggestions as we are still learning TypeScript.  We're trying to create a lightweight test host to mock external apis for testing our rules.


Allow for individual user metrics to be optionally ignored

This should partially help fix https://github.com/kumina/openvpn_exporter/issues/19

why was this closed and deleted?

@NotAFile Sorry, my bad. Have reopened it.
Was cleaning up my fork of it to do some more refactor with tests etc. Have some more work done, still to write tests etc.
Seeing some regression on an instance, investigating.

@rajatvig Hi, I tried your version https://github.com/rajatvig/openvpn_exporter, after second user connect with same login, exporter crashed with exception:
An error has occurred while serving metrics:

3 error(s) occurred:
* collected metric "openvpn_server_client_received_bytes_total" { label:<name:"common_name" value:"user1" > label:<name:"name" value:"vpn" > counter:<value:2.572237e+06 > } was collected before with the same name and label values
* collected metric "openvpn_server_client_sent_bytes_total" { label:<name:"common_name" value:"user1" > label:<name:"name" value:"vpn" > counter:<value:1.907445e+07 > } was collected before with the same name and label values
* collected metric "openvpn_server_route_last_reference_time_seconds" { label:<name:"common_name" value:"user1" > label:<name:"name" value:"vpn" > gauge:<value:1.569833662e+09 > } was collected before with the same name and label values

@rruu Could you open a bug for it on my fork? Will track it there. Had noticed some crashes on the VPN that I am using it for but hadn't yet dived into what condition caused it. This info is useful. Will try and fix once I have a few free cycles.

@rruu Have fixed that crash by keeping a list of recorded metrics

@rajatvig Hi, I tried your version https://github.com/rajatvig/openvpn_exporter, after second user connect with same login, exporter crashed with exception:
An error has occurred while serving metrics:

3 error(s) occurred:
* collected metric "openvpn_server_client_received_bytes_total" { label:<name:"common_name" value:"user1" > label:<name:"name" value:"vpn" > counter:<value:2.572237e+06 > } was collected before with the same name and label values
* collected metric "openvpn_server_client_sent_bytes_total" { label:<name:"common_name" value:"user1" > label:<name:"name" value:"vpn" > counter:<value:1.907445e+07 > } was collected before with the same name and label values
* collected metric "openvpn_server_route_last_reference_time_seconds" { label:<name:"common_name" value:"user1" > label:<name:"name" value:"vpn" > gauge:<value:1.569833662e+09 > } was collected before with the same name and label values

Going to make some changes based on this PR, with fixing the double metric exception. As this commit had the problem of only showing one line per metric. Fixed in PR#31.

Had the bug fixed in my fork but didn't port it as it seemed this repository was not in active maintenance. There are more changes I have in my fork that are larger refactorings.