text:
bugs

the project contains a lot of bugs

Dear VikasJha26
Rather than complaining in one line it would help if you make a list of bugs so that the author or someone who has already using this project can comment or fix. At least, that way you could contribute to this open source project.
On 12 May 2021, at 12:39, vikashkjha26 @.***> wrote:

the project contains a lot of bugs
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/ketanchoyal/Our-E-School/issues/30, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHFJSFREZVS3LKSNRK6UBUTTNISSTANCNFSM44X7FYNA.

the errors are
Compile failed
../stores/store_12/hot-projects/164964/lib/core/services/Services.dart:5:8:
Error: Error when reading
'../stores/store_12/hot-projects/164964/lib/core/Server.dart': No such file
or directory
import 'package:ourESchool/core/Server.dart';
^
../stores/store_12/hot-projects/164964/lib/core/services/Services.dart:35:20:
Error: Getter not found: 'Server'.
String baseUrl = Server.baseUrl;
^^^^^^
../stores/store_12/hot-projects/1Compile failed
../stores/store_12/hot-projects/164964/lib/core/services/Services.dart:5:8:
Error: Error when reading
'../stores/store_12/hot-projects/164964/lib/core/Server.dart': No such file
or directory
import 'package:ourESchool/core/Server.dart';
^
../stores/store_12/hot-projects/164964/lib/core/services/Services.dart:35:20:
Error: Getter not found: 'Server'.
String baseUrl = Server.baseUrl;
^^^^^^
../stores/store_12/hot-projects/164964/lib/core/services/Services.dart:37:22:
Error: Getter not found: 'Server'.
String webApiUrl = Server.baseUrl + Server.webApi;
^^^^^^
../stores/store_12/hot-projects/164964/lib/core/services/Services.dart:37:39:
Error: Getter not found: 'Server'.
String webApiUrl = Server.baseUrl + Server.webApi;
^^^^^^
../stores/store_12/hot-projects/164964/lib/core/services/Services.dart:40:7:
Error: Getter not found: 'Server'.
Server.baseUrl + Server.webApi + Server.profileUpdate;
^^^^^^
../stores/store_12/hot-projects/164964/lib/core/services/Services.dart:40:24:
Error: Getter not found: 'Server'.
Server.baseUrl + Server.webApi + Server.profileUpdate;
^^^^^^
../stores/store_12/hot-projects/164964/lib/core/services/Services.dart:40:40:
Error: Getter not found: 'Server'.
Server.baseUrl + Server.webApi + Server.profileUpdate;
^^^^^^
../stores/store_12/hot-projects/164964/lib/core/services/Services.dart:43:7:
Error: Getter not found: 'Server'.
Server.baseUrl + Server.webApi + Server.getProfileData;
^^^^^^
../stores/store_12/hot-projects/164964/lib/core/services/Services.dart:43:24:
Error: Getter not found: 'Server'.
Server.baseUrl + Server.webApi + Server.getProfileData;
^^^^^^
../stores/store_12/hot-projects/164964/lib/core/services/Services.dart:43:40:
Error: Getter not found: 'Server'.
Server.baseUrl + Server.webApi + Server.getProfileData;
^^^^^^
../stores/store_12/hot-projects/164964/lib/core/services/Services.dart:46:7:
Error: Getter not found: 'Server'.
Server.baseUrl + Server.webApi + Server.postAnnouncement;
^^^^^^
../stores/store_12/hot-projects/164964/lib/core/services/Services.dart:46:24:
Error: Getter not found: 'Server'.
Server.baseUrl + Server.webApi + Server.postAnnouncement;
^^^^^^
../stores/store_12/hot-projects/164964/lib/core/services/Services.dart:46:40:
Error: Getter not found: 'Server'.
Server.baseUrl + Server.webApi + Server.postAnnouncement;
^^^^^^
../stores/store_12/hot-projects/164964/lib/core/services/Services.dart:49:7:
Error: Getter not found: 'Server'.
Server.baseUrl + Server.webApi + Server.addAssignment;
^^^^^^
../stores/store_12/hot-projects/164964/lib/core/services/Services.dart:49:24:
Error: Getter not found: 'Server'.
Server.baseUrl + Server.webApi + Server.addAssignment;
^^^^^^
../stores/store_12/hot-projects/164964/lib/core/services/Services.dart:49:40:
Error: Getter not found: 'Server'.
Server.baseUrl + Server.webApi + Server.addAssignment;
^^^^^^
../stores/store_12/hot-projects/164964/lib/UI/pages/Dashboard/Holidays/HolidayPage.dart:39:13:
Error: No named parameter with the name 'resizeToAvoidBottomPadding'.
resizeToAvoidBottomPadding: false,
^^^^^^^^^^^^^^^^^^^^^^^^^^
packages/flutter/lib/src/material/scaffold.dart:1451:9: Context: Found this
candidate, but the arguments don't match.
const Scaffold({
^^^^^^^^
../stores/store_12/hot-projects/164964/lib/UI/Widgets/DynamicThemeChanger.dart:25:20:
Error: The method 'ancestorStateOfType' isn't defined for the class
'BuildContext'.

'BuildContext' is from 'package:flutter/src/widgets/framework.dart'
('packages/flutter/lib/src/widgets/framework.dart').

Try correcting the name to the name of an existing method, or defining a
method named 'ancestorStateOfType'.
return context.ancestorStateOfType(const TypeMatcher());
^^^^^^^^^^^^^^^^^^^
../stores/store_12/hot-projects/164964/lib/UI/pages/Dashboard/Holidays/holiday_details_page.dart:278:7:
Error: No named parameter with the name 'resizeToAvoidBottomPadding'.
resizeToAvoidBottomPadding: false,
^^^^^^^^^^^^^^^^^^^^^^^^^^
packages/flutter/lib/src/material/scaffold.dart:1451:9: Context: Found this
candidate, but the arguments don't match.
const Scaffold({
^^^^^^^^
../stores/store_12/hot-projects/164964/lib/UI/pages/Login/LoginPage.dart:73:11:
Error: No named parameter with the name 'resizeToAvoidBottomPadding'.
resizeToAvoidBottomPadding: false,
^^^^^^^^^^^^^^^^^^^^^^^^^^
packages/flutter/lib/src/material/scaffold.dart:1451:9: Context: Found this
candidate, but the arguments don't match.
const Scaffold({
^^^^^^^^
0
[image: image.png]
[image: image.png]
No branch64964/lib/core/services/Services.dart:37:22: Error: Getter not
found: 'Server'.
String webApiUrl = Server.baseUrl + Server.webApi;
^^^^^^
../stores/store_12/hot-projects/164964/lib/core/services/Services.dart:37:39:
Error: Getter not found: 'Server'.
String webApiUrl = Server.baseUrl + Server.webApi;
^^^^^^
../stores/store_12/hot-projects/164964/lib/core/services/Services.dart:40:7:
Error: Getter not found: 'Server'.
Server.baseUrl + Server.webApi + Server.profileUpdate;
^^^^^^
../stores/store_12/hot-projects/164964/lib/core/services/Services.dart:40:24:
Error: Getter not found: 'Server'.
Server.baseUrl + Server.webApi + Server.profileUpdate;
^^^^^^
../stores/store_12/hot-projects/164964/lib/core/services/Services.dart:40:40:
Error: Getter not found: 'Server'.
Server.baseUrl + Server.webApi + Server.profileUpdate;
^^^^^^
../stores/store_12/hot-projects/164964/lib/core/services/Services.dart:43:7:
Error: Getter not found: 'Server'.
Server.baseUrl + Server.webApi + Server.getProfileData;
^^^^^^
../stores/store_12/hot-projects/164964/lib/core/services/Services.dart:43:24:
Error: Getter not found: 'Server'.
Server.baseUrl + Server.webApi + Server.getProfileData;
^^^^^^
../stores/store_12/hot-projects/164964/lib/core/services/Services.dart:43:40:
Error: Getter not found: 'Server'.
Server.baseUrl + Server.webApi + Server.getProfileData;
^^^^^^
../stores/store_12/hot-projects/164964/lib/core/services/Services.dart:46:7:
Error: Getter not found: 'Server'.
Server.baseUrl + Server.webApi + Server.postAnnouncement;
^^^^^^
../stores/store_12/hot-projects/164964/lib/core/services/Services.dart:46:24:
Error: Getter not found: 'Server'.
Server.baseUrl + Server.webApi + Server.postAnnouncement;
^^^^^^
../stores/store_12/hot-projects/164964/lib/core/services/Services.dart:46:40:
Error: Getter not found: 'Server'.
Server.baseUrl + Server.webApi + Server.postAnnouncement;
^^^^^^
../stores/store_12/hot-projects/164964/lib/core/services/Services.dart:49:7:
Error: Getter not found: 'Server'.
Server.baseUrl + Server.webApi + Server.addAssignment;
^^^^^^
../stores/store_12/hot-projects/164964/lib/core/services/Services.dart:49:24:
Error: Getter not found: 'Server'.
Server.baseUrl + Server.webApi + Server.addAssignment;
^^^^^^
../stores/store_12/hot-projects/164964/lib/core/services/Services.dart:49:40:
Error: Getter not found: 'Server'.
Server.baseUrl + Server.webApi + Server.addAssignment;
^^^^^^
../stores/store_12/hot-projects/164964/lib/UI/pages/Dashboard/Holidays/HolidayPage.dart:39:13:
Error: No named parameter with the name 'resizeToAvoidBottomPadding'.
resizeToAvoidBottomPadding: false,
^^^^^^^^^^^^^^^^^^^^^^^^^^
packages/flutter/lib/src/material/scaffold.dart:1451:9: Context: Found this
candidate, but the arguments don't match.
const Scaffold({
^^^^^^^^
../stores/store_12/hot-projects/164964/lib/UI/Widgets/DynamicThemeChanger.dart:25:20:
Error: The method 'ancestorStateOfType' isn't defined for the class
'BuildContext'.

'BuildContext' is from 'package:flutter/src/widgets/framework.dart'
('packages/flutter/lib/src/widgets/framework.dart').

Try correcting the name to the name of an existing method, or defining a
method named 'ancestorStateOfType'.
return context.ancestorStateOfType(const TypeMatcher());
^^^^^^^^^^^^^^^^^^^
../stores/store_12/hot-projects/164964/lib/UI/pages/Dashboard/Holidays/holiday_details_page.dart:278:7:
Error: No named parameter with the name 'resizeToAvoidBottomPadding'.
resizeToAvoidBottomPadding: false,
^^^^^^^^^^^^^^^^^^^^^^^^^^
packages/flutter/lib/src/material/scaffold.dart:1451:9: Context: Found this
candidate, but the arguments don't match.
const Scaffold({
^^^^^^^^
../stores/store_12/hot-projects/164964/lib/UI/pages/Login/LoginPage.dart:73:11:
Error: No named parameter with the name 'resizeToAvoidBottomPadding'.
resizeToAvoidBottomPadding: false,
^^^^^^^^^^^^^^^^^^^^^^^^^^
packages/flutter/lib/src/material/scaffold.dart:1451:9: Context: Found this
candidate, but the arguments don't match.
const Scaffold({
^^^^^^^^
0
[image: image.png]
[image: image.png]
No branch
On Wed, May 12, 2021 at 12:59 PM su-khi @.***> wrote:

Dear VikasJha26
Rather than complaining in one line it would help if you make a list of
bugs so that the author or someone who has already using this project can
comment or fix. At least, that way you could contribute to this open source
project.
On 12 May 2021, at 12:39, vikashkjha26 @.***> wrote:

the project contains a lot of bugs
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<
https://github.com/ketanchoyal/Our-E-School/issues/30>, or unsubscribe<
https://github.com/notifications/unsubscribe-auth/AHFJSFREZVS3LKSNRK6UBUTTNISSTANCNFSM44X7FYNA>.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ketanchoyal/Our-E-School/issues/30#issuecomment-839534151,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATWAM4ZF7OBCN3EH5NMZYFLTNIU6LANCNFSM44X7FYNA
.

@vikashkjha26 before working on the project please refer to the documentation, it says to create a Server.dart file. Moreover, it is clearly stated that this project will compile successfully only if you're using flutter 1.x.

Download it and try to run it yourself first.
On Sat, 15 May, 2021, 1:59 AM Ketan Choyal, @.***>
wrote:

@vikashkjha26 https://github.com/vikashkjha26 before working on the
project please refer to the documentation, it says to create a Server.dart
file. Moreover, it is clearly stated that this project will compile
successfully only if you're using flutter 1.x.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ketanchoyal/Our-E-School/issues/30#issuecomment-841484290,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATWAM45GIGYQD7ATVWGTTH3TNWBZBANCNFSM44X7FYNA
.

@vikashkjha26 looks like you're pro in flutter, why don't you make a PR which solves these bugs.

@vikashkjha26 please use sponsor button on my profile if you want personalized support

I was wondering why i commented instead of reporting..
On Sat, 15 May, 2021, 8:51 AM Ketan Choyal, @.***>
wrote:

@vikashkjha26 https://github.com/vikashkjha26 please use sponsor button
on my profile if you want personalized support
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ketanchoyal/Our-E-School/issues/30#issuecomment-841591397,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATWAM4ZTELU2RX37OWWXRB3TNXSDTANCNFSM44X7FYNA
.

@vikashkjha26 what's your problem? it's nobody's fault that you don't know how to debug code or read documentation

authors: ketanchoyal su-khi vikashkjha26

repo: ketanchoyal/Our-E-School


text:
The options are not getting saved.

I have checked 'market' checkbox and clicked accept all cookies. Then when I moved to the second page of my website the popup came with all categories as unchecked.
why? I have already accepted marketing cookies. so it should show tick for that checkbox.

Hi @Reshmysandeep, could you post a sample of your code so I can check?

Hi,
here am attaching code ,
On Fri, Jun 22, 2018 at 1:18 AM Ketan Mistry notifications@github.com
wrote:

Hi @Reshmysandeep https://github.com/Reshmysandeep, could you post a
sample of your code so I can check?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ketanmistry/ihavecookies/issues/13#issuecomment-399246504,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVZqfyKAa9EyT07RA2Aq1N4lnNbcp9eLks5t_A2PgaJpZM4UxgMC
.

/*!

ihavecookies - jQuery plugin for displaying cookie/privacy message
v0.3.1

Copyright (c) 2018 Ketan Mistry (https://iamketan.com.au)
Licensed under the MIT license:
http://www.opensource.org/licenses/mit-license.php

*/
(function($) {
/*
|--------------------------------------------------------------------------
| Cookie Message
|--------------------------------------------------------------------------
|
| Displays the cookie message on first visit or 30 days after their
| last visit.
|
| Options:
|  - title : Title for the popup
|  - message : Message to display within the popup
|  - link : Link to privacy page
|  - delay : Time before the popup is displayed after page load
|  - expires : Days for the cookie to expire
|  - onAccept : Optional callback function when 'Accept' button is clicked
|  - uncheckBoxes : Unchecks all checkboxes on page load that have class
|                   .ihavecookies applied to them. Set to true to turn this
|                   option on
| - moreInfoLabel : Label for the link to privacy policy
| - acceptBtnLabel : Label for the accept cookies button
| - cookieTypes : Array of cookie types to list with checkboxes
|
*/
$.fn.ihavecookies = function(options) {

    var $element = $(this);

    // Set defaults
    var settings = $.extend({
        cookieTypes: [
            {
                type: 'Site Preferences',
                value: 'preferences',
                description: 'These are cookies that are related to your site preferences, e.g. remembering your username, site colours, etc.'
            },
            {
                type: 'Analytics',
                value: 'analytics',
                description: 'Cookies related to site visits, browser types, etc.'
            },
            {
                type: 'Marketing',
                value: 'marketing',
                description: 'Cookies related to marketing, e.g. newsletters, social media, etc'
            }
        ],
        title: 'Cookies & Privacy',
        message: 'Cookies enable you to use shopping carts and to personalize your experience on our sites, tell us which parts of our websites people have visited, help us measure the effectiveness of ads and web searches, and give us insights into user behavior so we can improve our communications and products.',
        link: '/privacy-policy',
        delay: 2000,
        expires: 30,
        moreInfoLabel: 'More information',
        acceptBtnLabel: 'Accept Cookies',
        advancedBtnLabel: 'Customise Cookies',
        cookieTypesTitle: 'Select cookies to accept',
        fixedCookieTypeLabel:'Necessary',
        fixedCookieTypeDesc: 'These are cookies that are essential for the website to work correctly.',
        onAccept: function(){},
        uncheckBoxes: false
    }, options);

    var myCookie = getCookie('cookieControl');
    var myCookiePrefs = getCookie('cookieControlPrefs');

    if (!myCookie || !myCookiePrefs) {

        // Set the 'necessary' cookie type checkbox which can not be unchecked
        var cookieTypes = '
<input type="checkbox" name="gdpr[]" value="necessary" checked="checked" disabled="disabled"> ' + settings.fixedCookieTypeLabel + '
';

        // Generate list of cookie type checkboxes
        $.each(settings.cookieTypes, function(index, field) {
            if (field.type !== '' && field.value !== '') {
                var cookieTypeDescription = '';
                if (field.description !== false) {
                    cookieTypeDescription = ' title="' + field.description + '"';
                }

                cookieTypes += '
<input type="checkbox" id="gdpr-cookietype-' + field.value + '" name="gdpr[]" value="' + field.value + '" data-auto="on"> ' + field.type + '
';
            }
        });

        // Display cookie message on page
        var cookieMessage = '

' + settings.title + '

' + settings.message + ' ' + settings.moreInfoLabel + '

' + settings.cookieTypesTitle + '

' + cookieTypes + '

<button id="gdpr-cookie-accept" type="button">' + settings.acceptBtnLabel + '</button><button id="gdpr-cookie-advanced" type="button">' + settings.advancedBtnLabel + '</button>

';
        setTimeout(function(){
            $($element).append(cookieMessage);
            $('#gdpr-cookie-message').hide().fadeIn('slow');
        }, settings.delay);

        // When accept button is clicked drop cookie
        $('body').on('click','#gdpr-cookie-accept', function(){
            // Set cookie
            dropCookie(true, settings.expires);

            // If 'data-auto' is set to ON, tick all checkboxes because
            // the user hasn't clicked the customise cookies button
            $('input[name="gdpr[]"][data-auto="on"]').prop('checked', true);

            // Save users cookie preferences (in a cookie!)
            var prefs = [];
            $.each($('input[name="gdpr[]"]').serializeArray(), function(i, field){
                prefs.push(field.value);
            });
            setCookie('cookieControlPrefs', JSON.stringify(prefs), 365);

            $.each(JSON.parse(myCookiePrefs), function (index, pre) {

                if (pre == 'analytics') {
                    $('#gdpr-cookietype-analytics').prop('checked', true);
                }
                if (pre == 'marketing') {
                    $('#gdpr-cookietype-marketing').prop('checked', true);
                }

                if (pre == 'preferences') {
                    $('#gdpr-cookietype-preferences').prop('checked', true);
                }

            });

            // Run callback function
            settings.onAccept.call(this);
        });

        // Toggle advanced cookie options
        $('body').on('click', '#gdpr-cookie-advanced', function(){
            // Uncheck all checkboxes except for the disabled 'necessary'
            // one and set 'data-auto' to OFF for all. The user can now
            // select the cookies they want to accept.
            $('input[name="gdpr[]"]:not(:disabled)').attr('data-auto', 'off').prop('checked', false);
            $('#gdpr-cookie-types').slideDown('fast', function(){
                $('#gdpr-cookie-advanced').prop('disabled', true);
            });
            $.each(JSON.parse(myCookiePrefs), function (index, pre) {

                if (pre == 'analytics')
                {
                    $('#gdpr-cookietype-analytics').prop('checked', true);
                }
                if (pre == 'marketing') {
                    $('#gdpr-cookietype-marketing').prop('checked', true);
                }

                if (pre == 'preferences') {
                    $('#gdpr-cookietype-preferences').prop('checked', true);
                }

            });
        });

    } else {
        var cookieVal = true;
        if (myCookie == 'false') {
            cookieVal = false;
        }
        dropCookie(cookieVal, settings.expires);
    }

    // Uncheck any checkboxes on page load
    if (settings.uncheckBoxes === true) {
        $('input[type="checkbox"].ihavecookies').prop('checked', false);
    }

};

// Method to get cookie value
$.fn.ihavecookies.cookie = function() {
    var preferences = getCookie('cookieControlPrefs');
    return JSON.parse(preferences);
};

// Method to check if user cookie preference exists
$.fn.ihavecookies.preference = function(cookieTypeValue) {
    var control = getCookie('cookieControl');
    var preferences = getCookie('cookieControlPrefs');
    preferences = JSON.parse(preferences);

    console.log(preferences);
    console.log(control);
    //if (control === false) {
    //    return false;
    //}
    if (preferences === false || preferences.indexOf(cookieTypeValue) === -1) {
        return false;
    }
    return true;
};

/*
|--------------------------------------------------------------------------
| Drop Cookie
|--------------------------------------------------------------------------
|
| Function to drop the cookie with a boolean value of true.
|
*/
var dropCookie = function(value, expiryDays) {
    setCookie('cookieControl', value, expiryDays);
    $('#gdpr-cookie-message').fadeOut('fast', function() {
        $(this).remove();
    });
};

/*
|--------------------------------------------------------------------------
| Set Cookie
|--------------------------------------------------------------------------
|
| Sets cookie with 'name' and value of 'value' for 'expiry_days'.
|
*/
var setCookie = function(name, value, expiry_days) {
    var d = new Date();
    d.setTime(d.getTime() + (expiry_days*24*60*60*1000));
    var expires = "expires=" + d.toUTCString();
    document.cookie = name + "=" + value + ";" + expires + ";path=/";
    return getCookie(name);
};

/*
|--------------------------------------------------------------------------
| Get Cookie
|--------------------------------------------------------------------------
|
| Gets cookie called 'name'.
|
*/
var getCookie = function(name) {
    var cookie_name = name + "=";
    var decodedCookie = decodeURIComponent(document.cookie);
    var ca = decodedCookie.split(';');
    for (var i = 0; i < ca.length; i++) {
        var c = ca[i];
        while (c.charAt(0) == ' ') {
            c = c.substring(1);
        }
        if (c.indexOf(cookie_name) === 0) {
            return c.substring(cookie_name.length, c.length);
        }
    }
    return false;
};

}(jQuery));

Dear @ketanmistry  I tried to change small logic in this code part.
I have added this code  the given below code in ihavecookies.js file
 $.each(JSON.parse(myCookiePrefs), function (index, pre) {

                    if (pre == 'analytics')
                    {
                        $('#gdpr-cookietype-analytics').prop('checked', true);
                    }
                    if (pre == 'marketing') {
                        $('#gdpr-cookietype-marketing').prop('checked', true);
                    }

                    if (pre == 'preferences') {
                        $('#gdpr-cookietype-preferences').prop('checked', true);
                    }

                });
under this event.

// Toggle advanced cookie options
$('body').on('click', '#gdpr-cookie-advanced', function()
So if the cookies preference have value, based on that the checkbox will be ticked at front side,even if you navigate one page to another.

@Reshmysandeep This has been fixed in the recent update.

Thank you
On Sun, Jul 15, 2018 at 4:14 AM Ketan Mistry notifications@github.com
wrote:

Closed #13 https://github.com/ketanmistry/ihavecookies/issues/13.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ketanmistry/ihavecookies/issues/13#event-1734039850,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVZqf_A4lACrzLRwJy3FIm35JLn3cllvks5uGolJgaJpZM4UxgMC
.

source: gharchive/issue

authors: Reshmysandeep ketanmistry

repo: ketanmistry/ihavecookies

license: MIT

license_type: permissive

license_source: github-api


text:
Fix image centering

Rendering at any given size would result in the identicon being
off-center. Rendering it at 300 and downsizing it seems to provide more
centered icons. Still allows users to specify natural size.

is 300 the lowest that they appear centered? I'm a little concerned with performance when that would be used on like message list screen where you repeat it multiple times.
i mean you provided means to change it i'm just looking for sensible default

I was also a bit concerned. I know Github's stored images are 420px, but
your demo's max was 300 so I assumed there was a reason for that.
Either way, I have an idea to make this more efficient. I'll get back to
you with an update.
On Nov 19, 2015 1:54 PM, "Lukasz Karolewski" notifications@github.com
wrote:

is 300 the lowest that they appear centered? I'm a little concerned with
performance when that would be used on like message list screen where you
repeat it multiple times.
i mean you provided means to change it i'm just looking for sensible
default
—
Reply to this email directly or view it on GitHub
https://github.com/kether667/angular-identicon/pull/2#issuecomment-158154625
.

Is my update a better solution?

when i opened Identicon source code i've notice there is a 3 param in constructor, margin
Identicon = function(hash, size, margin){
this.hash   = hash;
this.size   = size   || 64;
this.margin = margin || .08;
}
can you play around with margin, that for loop is not the best approach, there should one one time calculation

I will look into this over the next few days and hopefully come up with a better solution.

Ok, so this isn't perfect, yet, but I wanted you to take a look at the approach before I sunk more time into it.
We calculate the margin based on the provided size.
In the end, I'd like to shoot for a margin that is ~25% of the cell size ($scope.size / 5) but still maintains the centering. I think that's an aesthetic margin size. Small identicons don't have enough space to make the image centered no matter what margin is provided or calculated, because we can't have fractions of pixels.
There are some optimizations for certain sizes that can be made. Give me a thumbs up on this and I'll look into making those.

yea i think you're on the right track

Alright, sorry it took so long! I decided to merge the naturalSize method with the margin method to make the image always centered but without the nasty for-loop in the original. I think this is much more efficient considering at most, it generates an image with a size that is 5 greater than the user's requested size and scales it down.
If a user elects to pass in a margin in pixels (marginPx), then we won't calculate anything and we will allow their provided margin size to take over.

@kether667 is this solution agreeable?

yes it looks good, let me do some testing and will get back to you probably next monday

Happy new year! Did you get a chance to test it?

@kether667 friendly reminder bump

Thanks for merging it! Can you generate the build files in dist and bump the version as well?

source: gharchive/pull-request

license: mit

license_source: bigquery


text:
how to keep the root class in the serialization?

Hello I need to serialize one request.
For example
class SearchRQ { ...}
But when I serialize, it keeps everything but not the SearchRQ in the string...
var value = Jil.JSON.Serialize(SearchRQ);
I need to see
{ "SearchRQ" : { ..... } }
Thanks :)

You actually want to serialize a type with a  property called SearchRQ.
Easiest way to achieve that ist by wrapping it in such a type.
Try: Jil.JSON.Serialize(new { SearchRQ = SearchRQ })
This creates an anonymous type with that property.

Thanks for your help, I did about the same thing:
class WrapperRequest
{
public SearchRQ SearchRQ { get; set; }
}
The Json serializer will serialize in  { "SearchRQ": { } }
Thanks.

Depending on how your class is designed you might need to use SerializeDynamic

authors: Tornhoof nicoclau

repo: kevin-montrose/Jil


text:
Always make figure 4101

Figure 4101 is a really helpful figure even when no drift correction has been made as it shows where wavelength bins have been placed. I think ideally this figure should always be made, but it currently is only made if drift correction is performed.

Agreed. I'll take this on tomorrow or Friday.

I already have a tweak made in my draft PR #160 - I'll likely submit that for review fairly early tomorrow


text:
Does this or will this support a MIDI Keyboard?

Dunno how else to ask that :-)

Because there are a number of ways to use the MIDI API, I'm thinking to not have this lib be concerned with MIDI support, and instead let MIDI events change state which then change the piano UI.
I have this in my own app that uses react-piano, and it looks something like this (very roughly):
import WebMidi from 'webmidi';

state = {
  activeNotes: []
}

  componentDidMount() {
    WebMidi.enable((error) => {
      if (error) {
        console.warn('WebMidi could not be enabled.');
        return;
      }
      console.log('WebMidi enabled.');
      if (WebMidi.inputs.length === 0) {
        console.log('No MIDI inputs.');
        return;
      }
      const input = WebMidi.inputs[0];
      input.addListener('noteon', 'all', (event: MidiEvent) => {
        this.handlePlayNoteInput(event.note.number);
      });
      input.addListener('noteoff', 'all', (event: MidiEvent) => {
        this.handleStopNoteInput(event.note.number);
      });
    });
  }

  function handleMidiEvent(midiNumber: number, eventType: 'start' | 'stop') {
    this.setState((prevState: State) => {
      const { activeNotes } = prevState;

      if (eventType === 'start') {
        if (activeNotes.includes(midiNumber)) {
          return null;
        }
        return {
          ...prevState,
          activeNotes: activeNotes.concat(midiNumber),
        };
      } else if (eventType === 'stop') {
        return {
          ...prevState,
          activeNotes: activeNotes.filter((note) => midiNumber !== note),
        };
      }
    });
  };

function handlePlayNoteInput(midiNumber) {
  handleMidiEvent(midiNumber, 'start');
}
function handleStopNoteInput(midiNumber) {
  handleMidiEvent(midiNumber, 'stop');
}

<ControlledPiano activeNotes={this.state.activeNotes} onPlayNoteInput={handlePlayNoteInput} onStopNoteInput={handleStopNoteInput} />

onPlayNoteInput/onStopNoteInput allow you to define the behavior when shortcut keys are pressed or UI keys are clicked, and therefore also allow you to hook into the same behavior for MIDI events.
I can write up a quick working demo of this later, but perhaps this could help get you started.

very interesting. thx for the code. However -- it would be great to have a prop that prevented activeNotes from triggering playNote, stopNote, onPlayNoteInput, onStopNoteInput.
right now, I get an infinite loop because I use the keyboard to trigger connected midi devices, but I also want the keyboard to react to inbound events.
I think we need a prop called MidiThru. When false, there is no echo of activeNotes to playNote, stopNote, onPlayNoteInput, onStopNoteInputs.
Does this make sense?
As an added bit of functionality, would be great to encapsulate your handleMidiEvent code, above, into the component....and add two props, activeNoteOn and activeNoteOff.

I have made a custom hook based on the plan javascript script that I found in the source on this website.
import { useState, useEffect } from 'react';

// const NOTE_ON = 144;
const NOTE_OFF = 128;

const useMidiActiveNotes = () => {
    const [, setInputDevice] = useState(null);
    const [, setOutputDevice] = useState(null);
    const [activeNotes, setActiveNotes] = useState([]);

    useEffect(() => {
        if (!('requestMIDIAccess' in navigator)) {
            console.warn("Browser doesn't support MIDI");
            return;
        }

        const refresh = (midi) => {
            const input = midi.inputs.size
                ? midi.inputs.values().next().value
                : null;
            const output = midi.outputs.size
                ? midi.outputs.values().next().value
                : null;

            setInputDevice(input);
            setOutputDevice(output);

            if (input) {
                input.onmidimessage = (msg) => {
                    setActiveNotes((prev) => {
                        const [status, note /*, velocity*/] = [...msg.data];
                        if (status === NOTE_OFF) {
                            return prev.filter((item) => item !== note);
                        }
                        return [...prev, note];
                    });
                };
            }
        };

        navigator.requestMIDIAccess().then((midi) => {
            refresh(midi);
            midi.onstatechange = (e) => refresh(e.target);
        });
    }, []);

    return activeNotes;
};

export default useMidiActiveNotes;

Then in the component where you have react-piano, you can do
import { Piano } from 'react-piano';

const MyPiano = () => {
    const activeNotes = useMidiActiveNotes();

    <Piano
        activeNotes={activeNotes}
        ...
    />

}

authors: christiaanwesterbeek kevinsqi rchrdnsh skavan

repo: kevinsqi/react-piano


text:
🛑 FX corretor (kty) is down

In b483c5b, FX corretor (kty) (https://corretores.foxterciaimobiliaria.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX corretor (kty) is back up in dd91c85 after 6 minutes.

repo: keviocastro/upptime


text:
🛑 FX corretor (kty) is down

In c327e83, FX corretor (kty) (https://corretores.foxterciaimobiliaria.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX corretor (kty) is back up in 1b7c2d9 after 6 minutes.


text:
🛑 FX corretor (kty) is down

In 382915d, FX corretor (kty) (https://corretores.foxterciaimobiliaria.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX corretor (kty) is back up in dfafcd0 after 9 minutes.


text:
🛑 FX blog (kty) is down

In a70973a, FX blog (kty) (https://foxter-blogeditor.konecty.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX blog (kty) is back up in 6fdd83f after 6 minutes.


text:
🛑 FX blog (kty) is down

In d27c914, FX blog (kty) (https://foxter-blogeditor.konecty.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX blog (kty) is back up in 81dfca2 after 6 minutes.


text:
🛑 FX corretor (kty) is down

In a34b710, FX corretor (kty) (https://corretores.foxterciaimobiliaria.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX corretor (kty) is back up in 7fe3865 after 40 minutes.


text:
🛑 FX corretor (kty) is down

In 81602a8, FX corretor (kty) (https://corretores.foxterciaimobiliaria.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX corretor (kty) is back up in f98d1ab after 6 minutes.


text:
🛑 FX blog (kty) is down

In 1e67f30, FX blog (kty) (https://foxter-blogeditor.konecty.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX blog (kty) is back up in a7c4031 after 6 minutes.


text:
🛑 FX blog (kty) is down

In 47201aa, FX blog (kty) (https://foxter-blogeditor.konecty.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX blog (kty) is back up in 8c25b5a after 11 minutes.


text:
🛑 FX corretor (kty) is down

In 3df6ff9, FX corretor (kty) (https://corretores.foxterciaimobiliaria.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX corretor (kty) is back up in 2e5803e after 6 minutes.


text:
🛑 FX corretor (kty) is down

In 5f8beb6, FX corretor (kty) (https://corretores.foxterciaimobiliaria.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX corretor (kty) is back up in 2c79894 after 6 minutes.


text:
🛑 AVS push api  (kty) is down

In 80f0542, AVS push api  (kty) (https://push-api.avus.com.br) was down:

HTTP code: 404
Response time: 308 ms

Resolved: AVS push api  (kty) is back up in b44b466.


text:
🛑 FX corretor (kty) is down

In 08a2dfd, FX corretor (kty) (https://corretores.foxterciaimobiliaria.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX corretor (kty) is back up in 2089084 after 31 minutes.


text:
🛑 FX corretor (kty) is down

In a3929ea, FX corretor (kty) (https://corretores.foxterciaimobiliaria.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX corretor (kty) is back up in 802486a after 39 minutes.


text:
🛑 FX corretor (kty) is down

In b7d24d1, FX corretor (kty) (https://corretores.foxterciaimobiliaria.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX corretor (kty) is back up in 7f3cd0b after 13 minutes.


text:
🛑 FX corretor (kty) is down

In fe6a798, FX corretor (kty) (https://corretores.foxterciaimobiliaria.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX corretor (kty) is back up in 7812027 after 9 minutes.


text:
🛑 FX corretor (kty) is down

In 7aaf753, FX corretor (kty) (https://corretores.foxterciaimobiliaria.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX corretor (kty) is back up in 630102b after 11 minutes.


text:
🛑 FX corretor (kty) is down

In f80b1de, FX corretor (kty) (https://corretores.foxterciaimobiliaria.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX corretor (kty) is back up in 1e68b72 after 9 minutes.


text:
🛑 FX corretor (kty) is down

In a93f87d, FX corretor (kty) (https://corretores.foxterciaimobiliaria.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX corretor (kty) is back up in 41f978e after 43 minutes.


text:
🛑 FX blog (kty) is down

In 9600bf4, FX blog (kty) (https://foxter-blogeditor.konecty.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX blog (kty) is back up in b9af418 after 14 minutes.


text:
🛑 FX blog (kty) is down

In 7d228f3, FX blog (kty) (https://blog.foxterciaimobiliaria.com.br) was down:

HTTP code: 503
Response time: 369 ms

Resolved: FX blog (kty) is back up in 7fce307 after .


text:
🛑 FX blog (kty) is down

In d10b8ab, FX blog (kty) (https://blog.foxterciaimobiliaria.com.br) was down:

HTTP code: 503
Response time: 406 ms

Resolved: FX blog (kty) is back up in d8f228a after .


text:
🛑 FX blog (kty) is down

In 4e4a6ab, FX blog (kty) (https://foxter-blogeditor.konecty.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX blog (kty) is back up in cb5ddb2 after 8 minutes.


text:
Allow input to be a Stream.

From conversation in issue #16.
The idea is that the first four bytes are read, then check file type. If not a zip, stop reading and return empty array. If it is a zip, buffer the stream and unzip as per normal.

@kevva did you go on vacation? Would love to have some guidance on this if you are available.

@kevva Would love to get this PR ready for merge while the information is still fresh in my mind.
Also, it might be worth separating the "streaming file-type" part since something similar will likely need done for the decompress module.

Closing because questions have gone unanswered.

@CodeMan99, I don't see the point in allowing a stream as input if we're going to buffer it anyway. That misses the whole point of streaming. Unless yauzl start supporting streams, or if there is a alternative module that supports it, I'm not going merge this.

repo: kevva/decompress-unzip


text:
account currency request fragility

add some retrying to reduce the likelihood of visible errors on a bunch of stellar GET requests

A few things:
We should return the default currency in GetWalletAccountsLocal, GetWalletAccountLocal.  Presumably, with that, frontend won't need to call this nearly as often.  They have a ticket for this...
I think we should ditch this global cache of the setting.  I was thinking of putting it into WalletState if we need it, and watching the calls to GetAccountDisplayCurrency, SetAccountDefaultCurrency to keep it up to date.

I'll let @patrickxb handle this review

@patrickxb i'm going to do the rest of the work in a different PR since it's pretty unrelated.

authors: mmaxim patrickxb xgess

repo: keybase/client


text:
prefetcher: pause prefetching when on a cell network

Listen to the mobile network updates (will only work on mobile, while sharing a global with the service), and pause the prefetcher whenever we get a notification about being on a cell network.
While I'm here, I also made the prefetcher pause when the app is backgrounded.
I don't think this pausing will cause the prefetcher queue to grow out of bounds or anything -- for the most part, the prefetcher itself is responsible for enqueuing its own work, so if it's paused, there shouldn't be much new work that's added.
This also adds a way to set whether or not to sync while on cellular.  The default is false, meaning it won't sync if the network becomes cellular.  But the prefetcher subscribes to those sync changes and pauses/unpauses accordingly.
Issue: HOTPOT-2047

Thanks for looking @jzila!  Also added @songgao as an explicit reviewer for the settings/subscription part of this.


text:
Update dropdown styles.

@keybase/react-hackers, this is ready for review. It left-aligns the text on dropdowns and matches the heights of buttons (regular height for regular dropdowns; small height for inline dropdowns).
cc @chrisnojima, this touches the common adapter.

Agreed.


text:
More take pure: kbfs

This uses more pure function in actions. first up is kbfs

@keybase/react-hackers

[ ] move files back on level


text:
ima: make ToMToU errors not a failure by default

This adds the option to either treat ToMToU errors as a failure or not.
@mpeters can you test if this works for you?

The pylint erros are not related to this PR.

repo: keylime/keylime


text:
Enable registration

Allow users to register by themselves

Added in PR #11

repo: keymetaphore/laravel-image-uploader


text:
kmjs-core auto exit without having finished his processing

When trying to run this code:
const kmjs = require('kmjs-core')

let km = new kmjs().use('standalone', {
  refresh_token: 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
})

km.user.retrieve()
  .then((response) => {
    console.log(response)
  })
  .catch(console.error)

km.bucket.retrieveAll()
  .then((res) => {
    console.log(res)
  })
  .catch(console.error)

The software auto exit without having finished the queries.
Is there something like .unref everywhere?
Anyway this can be misleading for testers

Published under v0.5.8

authors: Unitech vmarchaud

repo: keymetrics/kmjs-core


text:
Adding a field reference to field adapter instances

This tries to solve the same problem as #1370 but, rather than getters that dereference the field at run time, we just pass the field instance in to the fieldAdapter constructor.
Easiest to see what's going on if you look at the commits in series.

No changeset; this isn't a functional update

Ah nice catch, thanks @jesstelford


text:
No status code for a go app

Describe the bug
I have installed Odigos v1.0.1 o a GKE Cluster and instrumented a Go app with it and although I can see the tracings, none of them have the status code on signoz.
The app handles internally all the status code in order for us to check our own SLOs, so I find it strange signoz is no showing them.
Screenshots
This a the go app sending data to victoria metricas

This is the same app talking to Pub/Sub

Just to add another Go app instrumented by signoz that is showing the status code.

Desktop (please complete the following information):

Google GKE

Are the missing status codes occurring for HTTP server or client application?

Hey @RonFed , client application. In this case is a Go app querying data from via victoria metrics through a Google LB.
Our API behind a nginx-ingress is returning status code 200 as it should and Odigos is showing it right.
Tks.

@dirtyren with the latest v1.0.10 release, this should be resolved.

@RonFed  I noticed that  open-telemetry merged the code and I just updated odigos to the latest version 1.0.10 and I am still not getting the status code for the tracings. Just to let you know.
Tks.

@dirtyren What Go version do you use ? There suppose to be another release to the OpenTelemetry go instrumentation supporting the newest Go versions (v1.20.12 v1.21.4 v1.21.5)

@RonFed we use Go 1.20 on the deploy I am orchestrating with Odigos.

@RonFed I also noticed this happening after upgrading to 1.0.10. New instrumented applications using the odigos-ui do not have the same annotations that previous instrumented apps and, because of that, are not catching tracings.
Anything you need just let me know.
kubectl get deploy komodo-api -o yaml | grep odigo
    instrumentation.odigos.io/ebpf: "true"
    odigos-instrumentation: enabled
            instrumentation.odigos.io/go: "1"

kubectl get deploy komodo-frontend -o yaml | grep odigo
    odigos-instrumentation: enabled

@RonFed I also noticed this happening after upgrading to 1.0.10. New instrumented applications using the odigos-ui do not have the same annotations that previous instrumented apps and, because of that, are not catching tracings.
Anything you need just let me know.
kubectl get deploy komodo-api -o yaml | grep odigo
    instrumentation.odigos.io/ebpf: "true"
    odigos-instrumentation: enabled
            instrumentation.odigos.io/go: "1"

kubectl get deploy komodo-frontend -o yaml | grep odigo
    odigos-instrumentation: enabled

Hi @dirtyren ,
Thanks for letting us know.
Can you please check to see if you have an instrumented application for this source?
kubectl get instrumentedapplications.odigos.io -A

and also please check the logs of theodigos-instrumentor pod in the odigos-system namespace to see if there is any clue about the issue?

Hello @RonFed ,
the app komodo-frontend is a react frontend, that I am not able to instrument using Odigos
kubectl get instrumentedapplications.odigos.io -A
NAMESPACE   NAME                       AGE
komodo      deployment-komodo-api      28d
komodo      deployment-slo-generator   28d

I could not find any messages on the odigos-instrumentor pod.
Also, I had to remove the label odigos-instrumentation: enabled from the komodo-frontend deploy so it would show on the web interface and I could redo the process to check for logs.
Anything else I can help you with?
Tks.

Hello @RonFed ,
the app komodo-frontend is a react frontend, that I am not able to instrument using Odigos
kubectl get instrumentedapplications.odigos.io -A
NAMESPACE   NAME                       AGE
komodo      deployment-komodo-api      28d
komodo      deployment-slo-generator   28d

I could not find any messages on the odigos-instrumentor pod. Also, I had to remove the label odigos-instrumentation: enabled from the komodo-frontend deploy so it would show on the web interface and I could redo the process to check for logs.
Anything else I can help you with?
Tks.

Thanks for the info.
I think I found the bug. I am working on a fix that should be ready soon 🙏

@dirtyren
I thought I found an issue but I am not sure.
Can you please try to upgrade to version v1.0.11 and check if you still encounter the issue?
I also wrote to you in odigos slack - if you are available we can jump on a quick call to help diagnose the issue on your setup. Please let me know if the new version fixes the issue and/or if you like to schedule a zoom call.
Thanks again 🙏

hey @blumamir , I just updated to v1.0.11 and the service names of my instrumented apps got weird like this:

The tracing information is also showing strange things, but, it seems to be showing the http codes

Anything I can help with?
Tks.

I am getting this errors on the odiglet logs
{"level":"error","ts":1703707677.1487029,"logger":"Instrumentation.Manager","caller":"instrumentation/manager.go:165","msg":"error while loading probes, cleaning up","name":"google.golang.org/grpc/server","error":"field UprobeHttp2ServerOperateHeader: program uprobe_http2Server_operateHeader: load program: permission denied: dereference of modified ctx ptr R1 off=40 disallowed (33 line(s) omitted)","stacktrace":"go.opentelemetry.io/auto/internal/pkg/instrumentation.(*Manager).load\n\t/root/go/pkg/mod/go.opentelemetry.io/auto@v0.9.0-alpha/internal/pkg/instrumentation/manager.go:165\ngo.opentelemetry.io/auto/internal/pkg/instrumentation.(*Manager).Run\n\t/root/go/pkg/mod/go.opentelemetry.io/auto@v0.9.0-alpha/internal/pkg/instrumentation/manager.go:120\ngo.opentelemetry.io/auto.(*Instrumentation).Run\n\t/root/go/pkg/mod/go.opentelemetry.io/auto@v0.9.0-alpha/instrumentation.go:152\ngithub.com/keyval-dev/odigos/odiglet/pkg/ebpf.(*GoOtelEbpfSdk).Run\n\t/go/src/github.com/keyval-dev/odigos/odiglet/pkg/ebpf/go.go:55\ngithub.com/keyval-dev/odigos/odiglet/pkg/ebpf.(*EbpfDirector[...]).Instrument.func1\n\t/go/src/github.com/keyval-dev/odigos/odiglet/pkg/ebpf/director.go:124"}
{"level":"info","ts":1703707677.2024436,"logger":"Instrumentation.Manager","caller":"instrumentation/manager.go:190","msg":"Cleaning bpffs"}
{"level":"error","ts":1703707677.2028763,"caller":"ebpf/director.go:125","msg":"instrumentation crashed after running","error":"field UprobeHttp2ServerOperateHeader: program uprobe_http2Server_operateHeader: load program: permission denied: dereference of modified ctx ptr R1 off=40 disallowed (33 line(s) omitted)","stacktrace":"github.com/keyval-dev/odigos/odiglet/pkg/ebpf.(*EbpfDirector[...]).Instrument.func1\n\t/go/src/github.com/keyval-dev/odigos/odiglet/pkg/ebpf/director.go:125"}
{"level":"info","ts":1703762962.9726727,"caller":"ebpf/director.go:145","msg":"Cleaning up ebpf go instrumentation for pod","pod":{"name":"komodo-api-658fdb84b-6zhjj","namespace":"komodo"}}
a

Hi @dirtyren do you still need help with this issue? Happy to help you debug this if needed

@dirtyren if the issue is still relevant, feel free to re-open

authors: RonFed blumamir dirtyren edeNFed

repo: keyval-dev/odigos


text:
Testcases: add tests

Testcases are here: https://github.com/kg-construct/rml-star-test-cases

Do they cover the current spec?
Do they include invalid cases, thus throwing errors?

Useful for validating the SHACL shapes and make sure we cover everything

They would need to be updated regarding the IRI namespace and prefix, to have everything with rml:, otherwise I think there are no more changes in this spec. They don't include invalid test cases though, @dachafra please confirm

I can confirm that there are no invalid test cases. Do we need them? @DylanVanAssche
Considering the way other specs are structured, should we incorporate the test-cases in this repo? @anaigmo

yeah I think it makes sense

I confirm that there are no invalid test cases. Do we need them

Without them the shapes are very hard to verify if they cover all possible cases @dachafra

Considering the way other specs are structured, should we incorporate the test-cases in this repo? @anaigmo

I have them indeed in rml-io, next to the shapes. Both are connected, if you change a test-case you need to make sure it doesn't violate any shape and if you change the spec, you may need to update a shape and/or test-case.

I've found a set of RDF-star test cases for checking invalid syntax, we can transform and add them:

https://w3c.github.io/rdf-star/tests/turtle/syntax/#turtle-star-bad-1
https://w3c.github.io/rdf-star/tests/turtle/syntax/#turtle-star-bad-2
https://w3c.github.io/rdf-star/tests/turtle/syntax/#turtle-star-bad-3
https://w3c.github.io/rdf-star/tests/turtle/syntax/#turtle-star-bad-4
https://w3c.github.io/rdf-star/tests/turtle/syntax/#turtle-star-bad-5
https://w3c.github.io/rdf-star/tests/turtle/syntax/#turtle-star-bad-6
https://w3c.github.io/rdf-star/tests/turtle/syntax/#turtle-star-bad-7
https://w3c.github.io/rdf-star/tests/turtle/syntax/#turtle-star-bad-8

Nop, they are mainly for data. So, the engines would be the ones who will output these errors. I think we can leave it for now for shapes, and once we have a final structure we can also add these new ones.

authors: DylanVanAssche anaigmo dachafra

repo: kg-construct/rml-star


text:
🛑 V is down

In 1df2965, V ($V) was down:

HTTP code: 403
Response time: 307 ms

Resolved: V is back up in 8218aaa after 13 days, 16 hours, 9 minutes.

repo: khadanja/upptime


text:
🛑 AU is down

In 9dd399d, AU ($AU) was down:

HTTP code: 530
Response time: 3332 ms

Resolved: AU is back up in 3a7a164 after 15 minutes.


text:
support choice elements scalacheck generator

Write generator for schemas like this:
<xs:element name="person">
  <xs:complexType>
    <xs:choice>
      <xs:element name="employee" type="employee"/>
      <xs:element name="member" type="member"/>
    </xs:choice>
  </xs:complexType>
</xs:element>

https://github.com/khajavi/scalaxb/commit/5fb9d78271822fe499afc19fcf78e6d8dfc78f19

repo: khajavi/scalaxb


text:
🛑 jellyfin 2 is down

In f646444, jellyfin 2 (https://jellyfin2.hmuy.me) was down:

HTTP code: 0
Response time: 0 ms

Resolved: jellyfin 2 is back up in 989dd58 after 24 minutes.

repo: khanhmuy/webstatus


text:
new verion

new verion

new verion

git checkout main
git merge --no-ff pedroslopez-main
git push origin main


text:
Error running with --save-polygons=geojson

Hi!
Great tool!
I have been trying to extract the polygon information but the --save-polygons=geojson always return an error.
baysor run -s 50 --scale-std 300 -x x -y y -z z -g gene --min-molecules-per-cell 10 -i 500 --n-clusters 7 -p --save-polygons=geojson -o /tmp/ /tmp/B2_A2_3_test.csv
Error: MethodError(Matrix{var"#s597"} where var"#s597"<:Unsigned, (Matrix{Int64}(undef, 0, 0),), 0x00000000000074bd)
|
|                 convert(#unused#::Type{Matrix{var"#s597"} where var"#s597"<:Unsigned}, a::Matrix{Int64}) at array.jl:532

Not sure what I might be doing wrong.

Hi, I also have the same error running Baysor 0.5.2 from a MacOS M1 env, still it doesn't affect to get the segmentation results. The error appears just after estimating the boundaries.
[16:51:45] Info: Estimating boundary polygons
[16:56:48] Error: MethodError(Matrix{<:Unsigned}, (Matrix{Int64}(undef, 0, 0),), 0x0000000000007fd4)
|                 convert(#unused#::Type{Matrix{<:Unsigned}}, a::Matrix{Int64}) at sys.dylib:?
|                 find_grid_point_labels_kde(pos_data::Matrix{Float64}, cell_labels::Vector{Int64},
min_x::Vector{Float64}, max_x::Vector{Float64}; grid_step::Float64, bandwidth::Float64, dens_threshold::Float64,
min_molecules_per_cell::Int64, verbose::Bool) at sys.dylib:?
|                 (::Baysor.var"#find_grid_point_labels_kde##kw")(::NamedTuple{(:grid_step, :bandwidth), Tuple{Float64,
Float64}}, ::typeof(Baysor.find_grid_point_labels_kde), pos_data::Matrix{Float64}, cell_labels::Vector{Int64},
min_x::Vector{Float64}, max_x::Vector{Float64}) at boundary_estimation.jl:156
|                 boundary_polygons(pos_data::Matrix{Float64}, cell_labels::Vector{Int64}; min_x::Nothing,
max_x::Nothing, grid_step::Float64, min_border_length::Int64, shape_method::Symbol, max_dev::Float64, bandwidth::Float64,
exclude_labels::Vector{Int64}, kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}) at sys.dylib:?
|                 boundary_polygons at boundary_estimation.jl:251 [inlined]
|                 #boundary_polygons#218 at boundary_estimation.jl:248 [inlined]
|                 (::Baysor.var"#boundary_polygons##kw")(::NamedTuple{(:grid_step, :bandwidth), Tuple{Float64, Float64}},
::typeof(Baysor.boundary_polygons), spatial_df::DataFrames.DataFrame, args::Vector{Int64}) at boundary_estimation.jl:248
|                 (::Baysor.var"#337#341"{DataFrames.DataFrame, Vector{Int64}, Dict{String, Any},
Float64})(mask::BitVector) at main.jl:220
|                 (::ProgressMeter.var"#56#59"{Distributed.RemoteChannel{Channel{Bool}},
Baysor.var"#337#341"{DataFrames.DataFrame, Vector{Int64}, Dict{String, Any}, Float64}})(x::BitVector) at
ProgressMeter.jl:1018
|                 iterate at generator.jl:47 [inlined]
|                 _collect(c::Vector{BitVector}, itr::Base.Generator{Vector{BitVector},
ProgressMeter.var"#56#59"{Distributed.RemoteChannel{Channel{Bool}}, Baysor.var"#337#341"{DataFrames.DataFrame,
Vector{Int64}, Dict{String, Any}, Float64}}}, #unused#::Base.EltypeUnknown, isz::Base.HasShape{1}) at array.jl:807
|                 collect_similar(cont::Vector{BitVector}, itr::Base.Generator{Vector{BitVector},
ProgressMeter.var"#56#59"{Distributed.RemoteChannel{Channel{Bool}}, Baysor.var"#337#341"{DataFrames.DataFrame,
Vector{Int64}, Dict{String, Any}, Float64}}}) at array.jl:716
|                 map(f::Function, A::Vector{BitVector}) at abstractarray.jl:2933
|                 macro expansion at ProgressMeter.jl:1017 [inlined]
|                 macro expansion at task.jl:454 [inlined]
|                 macro expansion at ProgressMeter.jl:1016 [inlined]
|                 macro expansion at task.jl:454 [inlined]
|                 progress_map(::Function, ::Vararg{Any}; mapfun::typeof(map), progress::ProgressMeter.Progress,
channel_bufflen::Int64, kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}) at ProgressMeter.jl:1009
|                 progress_map(::Function, ::Vararg{Any}) at ProgressMeter.jl:1001
|                 plot_transcript_assignment_panel(df_res::DataFrames.DataFrame, assignment::Vector{Int64},
args::Dict{String, Any}; clusters::Vector{Int64}, prior_polygons::Vector{Matrix{Float64}},
gene_colors::Vector{ColorTypes.Lab{Float64}}) at main.jl:220
|                 (::Baysor.var"#plot_transcript_assignment_panel##kw")(::NamedTuple{(:clusters, :prior_polygons,
:gene_colors), Tuple{Vector{Int64}, Vector{Matrix{Float64}}, Vector{ColorTypes.Lab{Float64}}}},
::typeof(Baysor.plot_transcript_assignment_panel), df_res::DataFrames.DataFrame, assignment::Vector{Int64},
args::Dict{String, Any}) at main.jl:203
|                 save_segmentation_results(bm_data::Baysor.BmmData{3}, gene_names::Vector{String}, args::Dict{String,
Any}; mol_clusts::NamedTuple{(:exprs, :assignment, :diffs, :assignment_probs, :change_fracs), Tuple{Matrix{Float64},
Vector{Int64}, Vector{Float64}, Matrix{Float64}, Vector{Float64}}}, comp_segs::Nothing,
prior_polygons::Vector{Matrix{Float64}}) at main.jl:414
|                 (::Baysor.var"#save_segmentation_results##kw")(::NamedTuple{(:mol_clusts, :comp_segs, :prior_polygons),
Tuple{NamedTuple{(:exprs, :assignment, :diffs, :assignment_probs, :change_fracs), Tuple{Matrix{Float64}, Vector{Int64},
Vector{Float64}, Matrix{Float64}, Vector{Float64}}}, Nothing, Vector{Matrix{Float64}}}},
::typeof(Baysor.save_segmentation_results), bm_data::Baysor.BmmData{3}, gene_names::Vector{String}, args::Dict{String,
Any}) at main.jl:392
|                 run_cli_main(args::Vector{String}) at sys.dylib:?
|                 run_cli(args::Vector{String}) at sys.dylib:?
|                 julia_main() at sys.dylib:?
|                 top-level scope at none:1
└ Baysor /Users/munizmom/Downloads/Baysor-master/src/cli/common.jl:170

Hi, I changed the polygon estimation method, so it shouldn't be a problem in v0.6.0. Could you please try it?

authors: VPetukhov fpestana-git munizmom

repo: kharchenkolab/Baysor


text:
vmlatency, automation, e2e: Create linux-bridge

Currently that latency checkup e2e test fails consistently due to connectivity
issues between the VMs.
Which seems to occur only on KinD (container nodes) clusters, pinging between
two VMs over bridge network on KubevirtCI (VM nodes) cluster works.
Creating a linux-bridge on KIND cluster node in order to set L2 network doesn't
work as expected, there are connectivity issues between VMs over the bridge causing
the checkup to fail.
While troubleshooting, setting an IP address to the bridge solve the issue and
the checkup to ran successfully.
With this commit changes the e2e test will create a linux-bridge with static
IP address that will be used by the checkup.
Signed-off-by: Or Mergi ormergi@redhat.com

Asserting the checkup results works
https://github.com/kiagnose/kiagnose/runs/6569946269?check_suite_focus=true

@ormergi can you please give jq a try?

Changes: Increase max desired latency to feet CI environment

vmlatnecy e2e check job  https://github.com/kiagnose/kiagnose/runs/6570300042?check_suite_focus=true#step:9:38
pass with the increased max desired latency value.

Changes: Do not create bridge with static IP address, instead set net.bridge.bridge-nf-call-iptables0=0
It doesnt solve the issue on CI https://github.com/kiagnose/kiagnose/runs/6590040765?check_suite_focus=true

Following @edwardh advice, it seems that unloading br_netfillter makes the latency e2e test to work
https://github.com/kiagnose/kiagnose/runs/6609531331?check_suite_focus=true
https://github.com/kiagnose/kiagnose/runs/6609531058?check_suite_focus=true

Closing this in favor of #96

authors: orelmisan ormergi

repo: kiagnose/kiagnose


text:
Graph Filtering

This is related to, but basically the opposite of Graph Find (https://github.com/kiali/kiali-design/issues/75).  With Graph Filter we want to remove items from the graph that are perhaps noisy or in some other way unwanted or bothersome.
There is a working POC that can be merged or modified if there is UX feedback.  The control is analogous to the Find and the revised toolbar looks like this:

Behavior:

Filter trumps Find.  So, we remove graph items first and can highlight anything that remains.
The DSL is exactly the same as Find.
The graph is not restructured, the items are "made invisible" and will return to their original locations if unfitered.
-- This seems like the right thing to do, at least initially, because otherwise it is difficult to see how the graph was affected.  I can imagine though that a user may want an option to re-layout after a filter.  That could possibly be a follow-on design issue if deemed necessary.

A demo is possible.

are there any updates on this?

After the change to "Graph Hide" from "Graph Filter" the feature was qualified by QE and has been merged.

@jshaughn does this need additional inputs? if not, please close

authors: abonas jshaughn

repo: kiali/kiali-design


text:
Infinite Books

Hi, I recently updated my plugin to the most recent version and now at first it didn't charge the amount of EXP levels in the config, and now i changed it to Total exp and people can get an infinite amount of books for free.  So basically players can get infinite books and the plugin kinda doesn't work like it is supposed to, but before I updated it worked perfectly.  Here is my config.  http://pastebin.com/xxrKj7Xa
Thanks!

U changed the cost to money instead of XP, so it just costs 50 bucks.

One instance is in line 182

That is for white scrolls @Yukun99 that you said.
The reason it's giving them for free is because u didn't update your config.yml. Look at the change log and it shows you the lines you need to change.

Lol XD

Ok, works.  Thanks!

repo: kicjow/Crazy-Enchantments


text:
[NT-2057] Updates showing project comments instead of updates

📲 What
Fix issue where comments for some project update are not showing until pull to refresh.
🤔 Why
Fetched comments for some project update doesn't render in the TableView because initialProject and paginatedComments using takePairWhen signal emits value at the same time and prevents takePairWhen from emitting.
🛠 How
Replaced
let commentsAndProject = initialProject
      .takePairWhen(paginatedComments)
      .map { ($1, $0) }

with
let commentsAndProject = Signal.combineLatest(
      paginatedComments,
      initialProject
      )

👀 See

Before 🐛
After 🦋

✅ Acceptance criteria

[x] When you navigate to comments for each update in a project, they show their respective comments.
[x] No regression on project comments and pagination.

Working as expected. Coverage is down a bit though. I think there way be an existing unit test you can update to bump this.

Yeah, I noticed now and already added it.

repo: kickstarter/ios-oss


text:
[NT-303] Pledge Button

📲 What
Adds a Pledge button below the list of stored payment methods. This button is initially disabled until the user selects a credit card. Once a card is selected, the button becomes enabled.
🤔 Why
To allow users to pledge, and to simplify the pledging experience.
🛠 How
Some things to keep in mind:

right now the experience is a bit jarring because the credit cards load in dynamically. This will be fixed with a loading state for the stored cards in a subsequent PR.
right now the pledge button is initially disabled until a card is selected. A future PR will address this and automatically select the first card in the list.
right now tapping Select on any of the cards will enable the Pledge button even though the card's selected state doesn't change. This is because toggling the card view's selected state is currently being worked on separately as part of another ticket

👀 See

♿ Accessibility

[x] Tap targets use minimum of 44x44 pts dimensions
[x] Works with VoiceOver
[x] Supports Dynamic Type

✅ Acceptance criteria

[ ] Signed in, with the Native Pledge Screen feature flag turned ON, navigate to any project and select any reward. Scroll down and you should see the Pledge button below the list of stored cards, and it should be disabled. Tap Select on any of the stored cards - the Pledge button should become enabled.

Cool cool, I think important to just note that there is payment method selection stuff being done in this PR and in #835, so we would want to align on that.
Also, the spacing here seems quite tight?

And a final thought - should this button be in PledgePaymentMethodsViewController or PledgeViewController as its own nested VC? 🤔 😱

the spacing is consistent with the spacing set on the root stack view. In this context I think it's ok because from the "information architecture" perspective, the "Pledge" button belongs in the same group as the credit cards and the Other payment methods label. Happy to double check with a designer though
I guess it could be it's own nested VC, but since all of the business logic around the pledge button's state is happening in the PledgeViewModel, it didn't seem necessary to create a new VC for such a simple view with no business logic of it's own. In the future if we wanted to reuse the Pledge button I could see a case for extracting it into it's own VC/VM pair, but at this stage it didn't seem necessary. Additionally, the visual positioning of the button needs to be part of the Other payment methods "group", and I felt that the easiest way to accomplish that would be to have them be part of the same root stack view.


text:
GFW模式联不通

bypass用gfw模式联不通，改成智能模式可以通了，再改回GFW模式就好了，但是过一段时间又不通了。

我这边也遇到一样情况了,大概是因为GFW列表一直下载不下来

我之前也是遇到这个问题了,但是搞其他的重刷了,现在暂时还没遇到

我也碰到类似问题

已修复.


text:
Can I use component inside Swiper?

I am trying to use Swiper to wrap a list of components with the coverflow effect but it doesn't work. It seems that the children of Swiper can only be <div>. Thanks for any help.
const params = {
effect: 'coverflow',
grabCursor: true,
centeredSlides: true,
slidesPerView: 'auto',
coverflowEffect: {
rotate: 50,
stretch: 0,
depth: 100,
modifier: 1,
slideShadows: true
},
pagination: {
el: '.swiper-pagination'
},
shouldSwiperUpdate: true,
rebuildOnUpdate: true
}
<Swiper {...params}><Item /><Item /><Item /></Swiper>

Hi @billyyyyy , you can wrap component inside Swiper.
In your case, you're using composite component  (a component comprised of other components),  so you need to provide props className within Item component for Swiper to add swiper-slide class name to each slide.
For more detail you can check a demo I made here.


text:
[DO NOT MERGE] Yaml marshaller it tests improvements

Hey @romartin,
There are errors from Yaml marshaller PR that are reproducible only from the CI.
This is work in progress to investigate those issues.
PLEASE DO NOT merge!
Thanks

Hey guys, can we close this PR?

Hey @caponetto and @romartin,
This PR served it's purpose in the investigation of the issue with the IT tests in YAML support PR.
The work here is done so I'm closing it.
Thanks!

authors: caponetto handreyrc

repo: kiegroup/kie-tools