text:
Invalid JSON string exception on SignInSilentlyAsync/SignInAsync?

I just released my game last Friday.  Overall it was smooth, but it looks like some (not all) of my users are getting JSON parsing exceptions in either the SignInSilentlyAsync or SignInAsync methods of the XboxLiveUser class.  These are first time users who have never signed into the game before.  Some have recovered over time, but others have continuously gotten the issue over the last few days.  I got one of them to send me a printout of the exception information:

My calling code is:
`
     try
     {
         _errorString = string.Empty;
         var task = this._user.SignInSilentlyAsync(UIDispatcher).AsTask();
         task.Wait();

         if (task.Result.Status == SignInStatus.UserInteractionRequired)
         {
             task = this._user.SignInAsync(UIDispatcher).AsTask();
             task.Wait();
         }

         IsSignedIn = task.Result.Status == SignInStatus.Success;

         if (IsSignedIn)
         {
             _xboxLiveContext = new Microsoft.Xbox.Services.XboxLiveContext(_user);
         }
         else
         {
             GlobalLogic.Instance.LogError("Failed to sign in: " + task.Result.Status);
             _errorString = "Sign In Failure: " + task.Result.Status;
             IsSignedIn = false;
             IsSigningIn = false;
             return;
         }
     }
     catch (Exception ex)
     {
         GlobalLogic.Instance.LogError("Error signing in: " + ex);
         _errorString = "Sign In Exception: " + ex;
         IsSignedIn = false;
         IsSigningIn = false;
         return;
     }

`
This is inside a coroutine; I'm not using async/await because my project is still on .NET 3.5.  I'm using the 1804 Release of the Xbox Services UnityPackage.  I've tried using the 1807 Release but had to roll back because an exception at sign in was causing my app to fail cert.  My game is a Unity 5.6.4f UWP application.
Is this an issue inside the SignIn methods?  Do they try to parse some JSON?  Is there a workaround I can use to get my customers into the game?  Or is there a better way I can call the methods?  I'm going to try to wrap the SignInSilentlyAsync() method independently so if that's the one throwing the exception, it won't take down the other one, but other than that, I'm not sure what to do on my end.
Any ideas are welcome; if you need the gamertags of people experiencing this or more/all of my game code to investigate, I'd be happy to send you more information.  I've got one customer who is experiencing this threatening to sue me for his $2.99 back...so I'm trying to figure out a workaround as soon as possible.  :D
Thanks!
Mike Palotas

I was also just able to get a single crash of the SIgnInAsync method.  However, I was able to sign in just by trying again.  That, along from the different stack trace (this time it's an invalid exception rather than a JSON parsing exception), makes me think this is different from the issue that the users are constantly/reliably seeing.  But if it helps, this is the error:

I created a bunch of test users and tried signing them in for the first time.  This happened on the third user (the first two signed in the first time with no issues).  This was also using my new code that wraps the initial, SignInSilentlyAsync method in its own try/catch:
`
    try
    {
        _errorString = string.Empty;

        bool silentSignInFailed = true;
        SignInStatus signInStatus = SignInStatus.UserCancel;
        try
        {
            var task = this._user.SignInSilentlyAsync(UIDispatcher).AsTask();
            task.Wait();

            signInStatus = task.Result.Status;
            silentSignInFailed = false;
        }
        catch (Exception ex)
        {
            // don't let the silent sign in attempt break the entire task.
            _errorString = "Silent Sign In Exception: " + ex;
        }

        if (silentSignInFailed || signInStatus == SignInStatus.UserInteractionRequired)
        {
            var task = this._user.SignInAsync(UIDispatcher).AsTask();
            task.Wait();
            signInStatus = task.Result.Status;
        }

        IsSignedIn = signInStatus == SignInStatus.Success;

        if (IsSignedIn)
        {
            _xboxLiveContext = new Microsoft.Xbox.Services.XboxLiveContext(_user);
        }
        else
        {
            GlobalLogic.Instance.LogError("Failed to sign in: " + signInStatus);
            _errorString += "Sign In Failure: " + signInStatus;
            IsSignedIn = false;
            IsSigningIn = false;
            return;
        }
    }
    catch (Exception ex)
    {
        GlobalLogic.Instance.LogError("Error signing in: " + ex);
        _errorString = "Interactive Sign In Exception: " + ex;
        IsSignedIn = false;
        IsSigningIn = false;
        return;
    }

`

Have any other UWP games reported issues like this?  Are there known UWP games using the same library that I can download and try out?  Or example calling code?  I'm hoping that I'm just calling the library wrong (meaning I can fix it on my end)...

Thank you for contacting the helpdesk. Ticket 19620585 has been created per your request.
Thank you
Billy Egge
XDP Helpdesk
From: Murtaya notifications@github.com
Sent: Tuesday, November 13, 2018 8:40 PM
To: Microsoft/xbox-live-api xbox-live-api@noreply.github.com
Cc: Subscribed subscribed@noreply.github.com
Subject: [Microsoft/xbox-live-api] Invalid JSON string exception on SignInSilentlyAsync/SignInAsync? (#512)
I just released my game last Friday. Overall it was smooth, but it looks like some (not all) of my users are getting JSON parsing exceptions in either the SignInSilentlyAsync or SignInAsync methods of the XboxLiveUser class. These are first time users who have never signed into the game before. Some have recovered over time, but others have continuously gotten the issue over the last few days. I got one of them to send me a printout of the exception information:
[signinerror]https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F35792868%2F48460105-14786780-e782-11e8-9226-6e4c34ce0a43.png&data=02|01|v-biegge%40microsoft.com|f4b88a5915dc4fee901408d649eb4dcf|72f988bf86f141af91ab2d7cd011db47|1|0|636777672307894753&sdata=HkjTgnXNeNPjhME%2Fqzw%2BGvAftEMNA%2BctBbtEM04N5Xg%3D&reserved=0
My calling code is:
`
 try

 {

     _errorString = string.Empty;

     var task = this._user.SignInSilentlyAsync(UIDispatcher).AsTask();

     task.Wait();

     if (task.Result.Status == SignInStatus.UserInteractionRequired)

     {

         task = this._user.SignInAsync(UIDispatcher).AsTask();

         task.Wait();

     }

     IsSignedIn = task.Result.Status == SignInStatus.Success;

     if (IsSignedIn)

     {

         _xboxLiveContext = new Microsoft.Xbox.Services.XboxLiveContext(_user);

     }

     else

     {

         GlobalLogic.Instance.LogError("Failed to sign in: " + task.Result.Status);

         _errorString = "Sign In Failure: " + task.Result.Status;

         IsSignedIn = false;

         IsSigningIn = false;

         return;

     }

 }

 catch (Exception ex)

 {

     GlobalLogic.Instance.LogError("Error signing in: " + ex);

     _errorString = "Sign In Exception: " + ex;

     IsSignedIn = false;

     IsSigningIn = false;

     return;

 }

`
This is inside a coroutine; I'm not using async/await because my project is still on .NET 3.5. I'm using the 1804 Release of the Xbox Services UnityPackage. I've tried using the 1807 Release but had to roll back because an exception at sign in was causing my app to fail cert. My game is a Unity 5.6.4f UWP application.
Is this an issue inside the SignIn methods? Do they try to parse some JSON? Is there a workaround I can use to get my customers into the game? Or is there a better way I can call the methods? I'm going to try to wrap the SignInSilentlyAsync() method independently so if that's the one throwing the exception, it won't take down the other one, but other than that, I'm not sure what to do on my end.
Any ideas are welcome; if you need the gamertags of people experiencing this or more/all of my game code to investigate, I'd be happy to send you more information. I've got one customer who is experiencing this threatening to sue me for his $2.99 back...so I'm trying to figure out a workaround as soon as possible. :D
Thanks!
Mike Palotas
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2Fxbox-live-api%2Fissues%2F512&data=02|01|v-biegge%40microsoft.com|f4b88a5915dc4fee901408d649eb4dcf|72f988bf86f141af91ab2d7cd011db47|1|0|636777672307894753&sdata=hY0KB1%2BKPhppaQ6NjI3%2FOZykHgSqM5DjQs58aTzvI%2Bc%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAea-lk1IOGx7WbdVUX29ODj8NUkYvNJkks5uu568gaJpZM4YdAqK&data=02|01|v-biegge%40microsoft.com|f4b88a5915dc4fee901408d649eb4dcf|72f988bf86f141af91ab2d7cd011db47|1|0|636777672307904763&sdata=nmkeyqNWfZajGpLroxodf9gXkI9NrQOrT%2FV1sw0kQCU%3D&reserved=0.

Hello,
I am also getting users reporting issues with signing in. Because of this they are unable to play the game. Some users are able to sign in, while others are not. I suspect their issue is similar to this.
I would appreciate an update on this issue so I can pass an update along to my customers.
Michael

@Murtaya were you able to find a solution to this issue? It's painful to see this happen to people because I see no way to fix it on my end.

Unfortunately no.  My thread just got closed on xbox forums because ATG can't reproduce the issue:
https://forums.xboxlive.com/questions/85422/users-are-seeing-random-failures-at-sign-inany-kno.html?childToView=88015#comment-88015
I gave ATG the error messages and stack traces hoping they could at least find out where in the xbox code the issue might be coming from, but without a fiddler trace I guess they can't do anything.  I'm not able to get them a fiddler trace because it's not happening to me; I was lucky enough to just get the stace trace printout from a few very nice and understanding gamers who were running into this issue.
I'm not sure if it's happening to child accounts, or people in bad standing in Xbox Live, or whatever might be unique with these users, but yeah, it hurts to see these people pay money only to not be able to sign in (not to even mention the reviews I get because of this issue).
Is your game a UWP game?  I hate to say it, but maybe it's best for developers to not publish/develop games as UWP games.  Though I'm not sure if this is a UWP issue, a Unity issue, or what--it would have been nice for them to at least tell me that (and/or if they have other people seeing the same thing).  I don't see bad reviews on ERA games of people who can't log into them, which is why I'm wondering if this issue is UWP-specific.  I don't think being able to publish games on the PC alongside console is that important to me to have to deal with this--I should probably just make ERA games and just publish to console?

Yes, my game is a UWP title using MonoGame. I agree that it seems like ERA is the better option at this point. Hopefully someone from Microsoft sees the new posts on this thread and can get something going here. I'm going to post my concerns in some other channels and see if we can bring some eyeballs to this issue.

We're looking into the cause, but nothing to report at the moment.

@jasonsandlin Thanks Jason! If it's of any use, I'd be happy to connect you with some of the users that are having issues. Maybe they can give more info about their account that can help you. Just let me know!

@jasonsandlin, was there ever an update or fix released for this?  It seemed quiet for a while, but there are still a lot of 1-star reviews popping up on my game just because some people can't sign in.  I can't repro myself and it doesn't seem to happen everybody; there are plenty of good reviews coming in, so it's working for (hopefully) most of the people.
Or, is there anything at all I can do from my end to address this??  I'm hoping to release another game soon, but I'm afraid that this is going to be an issue on that one, too.  I'd be more than happy to give you guys my entire project/source code if that in any way helps...
I don't know what to tell these people :(

We tracked down one issue as I recall.  Ask them to go to Settings | System | About and report back which version of Windows 10 they are running.  For example, are they running Version = 1909, and OS Build = 18363.836?

Closing due to lack of updates.

authors: Murtaya XboxLiveForum jasonsandlin michaelarts rakhad

repo: microsoft/xbox-live-api


text:
macOS binaries do not build with node 20

I tried bumping the CI to use node 20.x (i.e. 20.18.0) and 20.17.x and both bumps seemed to break the macOS builds.
Even though the build step is green in both cases, the "List zeromq.js files" step reveals that ./prebuilds/darwin-x64 does not have any binaries generated under it, indicating that the build is not actually valid.
node 20.18.0 https://dev.azure.com/monacotools/Monaco/_build/results?buildId=299737&view=results (I believe the Publish Symbols failure is unrelated)
node 20.17.0 https://dev.azure.com/monacotools/Monaco/_build/results?buildId=301686&view=results

Addressed in 085adb17ba219fa12eca1cc1e6b64259a87372ed
Note: most of our zeromq.js patches will go away if we update to the latest stable release of v6 from upstream, should be a follow-up.

source: gharchive/issue

repo: microsoft/zeromq-prebuilt

license: MIT

license_type: permissive

license_source: github-api


text:
Duplicating page links embedded menu element

Title may not be easy to understand, but I'll try to describe.  I have two custom menus set up, each with a set of links to specific pages.  I then have a page from the 'text page' template, which contains three columns.  In the right column, I inserted one of the custom menus.  It gives me what I need.
Now I need a similar page, with three columns - the content is different and it should use a different custom menu, but everything else layout-wise is the same.  I used 'duplicate' button on page settings page and created the second page. I then edit this second page, delete the custom menu (it's from the first page) and add the other custom menu.
Now, when I went back to the first page, the custom menu on it was changed to the second custom menu.  Now, whenever I change the menu, it automatically changes on both pages.  The only link between the two pages is that the second was created as a duplicate of the first.  They should not be linked for element editing purposes.

hi @shchukax this happens because the page get duplicated and the module ID is preserved in the content saved in the DB
to solve the problem you must delete the module and add it again in order to obtain new module ID

hi @peter-mw Yes, this is exactly what I did to resolve it.  However "duplicate" is rather misleading as the function name.  It doesn't duplicate the page, it only duplicates the main content - but all modules are still linked.  I would assume that "duplicate" means create a copy of everything on the page.  Either way, as there's a simple workaround, this isn't the highest priority.

yes i agree
probably i must make a way to change the module's id from the settings

Hm.. A non-technical user probably wouldn't know what to do with that ID; they would probably expect the internal "duplication" process to automatically create another module in the module table and put the new ID into the content table for the newly created page.

so it must create copy of each module and also copy its settings from the original module

Yeah... I see how it can get complicated very quickly.  Maybe it would better to just document the duplication process better - the workaround is simple, but I didn't realise what was happening until you replied to my comment.

yes is still not resolved, and i am still thinking how to make it
its a bit tricky as it need to get all modules in the content and copy their settings
the copy function is here https://github.com/microweber/microweber/blob/1.0.8/src/Microweber/Providers/Content/ContentManagerHelpers.php#L420
but needs more work to resolve this issue

authors: peter-mw shchukax

repo: microweber/microweber


text:
fix(release): do not release on push to helmrepo w/o version bump

The workflow is run on every push to helmrepo. The intended usage of that branch is to push to it after merging with master and bumping the version, but someone could push to it by mistake for any other reason. In that case, the release would be overwritten.

Why closed?

Why closed?

I was mistaken, the workflow fails if a chart with that version already exists in the registry.

source: gharchive/pull-request

authors: dmitry-midokura ignacio-casso


text:
Revert doh

After seeing https://github.com/semihalev/sdns is not using any of the build in DoH stuff I became more convinced we should not attempt to do things in this library.

[ Quoting notifications@github.com in "Re: [miekg/dns] Revert doh (#800)..." ]

I’m not sure I see the connection, I can’t see anywhere that https://github.com/semihalev/sdns has a DOH client which is what is implemented in this library. Instead I can only see a DOH server.

It's not a full solution and burdens us with supporting it; it's a http
protocol, not a DNS one. We could potentialy (and finally) start using the godns
org and make a doh package or something?

[ Quoting notifications@github.com in "Re: [miekg/dns] Revert doh (#800)..." ]

I think I'm fairly ambivalent to it at this point, so if you want to rip it out that's fine by me. I think it would need some more work to be entirely spec-compliant anyway. I do like the idea of some sort of DOH companion package.
This LGTM, aside from the race condition comment that should be retained.

I'll fix that.
I share your feelings about DoH.
I need to implement DoH in the plugin/forward anyway, would be interesting see
how that looks.

repo: miekg/dns

license_source: bigquery


text:
AssertionError: Path must be within shared path

When i start ezshare with a folder parameter i get en error:
AssertionError [ERR_ASSERTION]: Path must be within shared path
    at getFileAbsPath (C:\snapshot\ezshare\dist\index.js:58727:36)
    at async C:\snapshot\ezshare\dist\index.js:58832:27

App Version: 1.11.2
Command i used: ezshare.exe c:\01_Tools\ezshare\share\

try again now

:thumbsup: Working now. Thanks

authors: abyssox mifi

repo: mifi/ezshare


text:
Problem with hash-anchors + back-button

Hey, first off -  i love your plugin! But i found an issue when also using on-site hash links, which is crucial for my project right now.
For example, if you are on the demo page http://weblinc.github.io/jquery.smoothState.js/index.html , click a link and press the back button, everything is fine!
However, if the origin url also has a hash attached like this: http://weblinc.github.io/jquery.smoothState.js/index.html#main , you click a link and then the backbutton - nothing happens!

This still does not work for me.
Firstly, I get the following error:
Uncaught SyntaxError: Unexpected token =
line 114

So I removed "= null" and then I get the following error when pressing "forward" to go to a page with a hash:
Uncaught TypeError: Cannot read property 'href' of undefined
line 299

Pressing 'back' works fine, it's just forward that's the problem. Can you help please?

I also tested the commit in #117 from @Kalabasa and it seems to work fine for me.
As pointed by @Rubious the = null should be removed since default parameters are only available in ECMAScript 2015/es6 .
I haven't hit the Uncaught TypeError, but it seems strange. I believe it happens on this line:
if(page.href !== url && !utility.isHash(url, page.href)) {

But the page and href property should all be defined since they were already used in the unpatched version of the same line. @Rubious are you sure you didn't made a small typo when applying the commit?

I've found an issue with the commit in #117. Let's imagine that we are on /smoothstate/ and click on a link which points to /smoothstate/is#awesome:

hasPathname will be true since the second link effectively contains /smoothstate/
hasHash will also be true since the new url has a hash

To fix this I'm using this on a site:
 isHash: function (url, prev) {
   prev = prev || window.location.pathname;
   var hasPathname = (url.indexOf(prev) >= 0) ? true : false,
       pathEnd = url.slice(url.indexOf(prev) + prev.length),
       hasHash = (url.indexOf("#") > 0) ? true : false;

    if (pathEnd !== '' && pathEnd.indexOf('#') !== 0) {
      // If we go from / to /something#new hasPathname is true.
      return false;
    }

    return (hasPathname && hasHash) ? true : false;
  }

The idea it that pathEnd will take the remaining of hasPathname, in this case is#awesome.
Then if pathEnd doesn't start with a # then it is a new url.

This problem still exists. It seems there's no correct history built for when clicking a link with "samepage + #hash" on a page. So when going to another page then the back button doesn't work to "previouspage + #hash"

We're still experiencing this problem.

authors: InEchtderKnecht Rubious RubiousShaun idflood somatonic

license: mit


text:
Add option do disable default scrollTop behavior

Sometimes for complex page transitions I want to control scroll by myself.
I think it will be helpful to other users too.

@shrpne Can you rebase and resubmit this PR? Some code order conflicts are happening.

authors: miguel-perez shrpne


text:
card removal for multiple readers

Step 1: My environment

OS version: Windows Home
Arduino IDE version: 1.8.13
MFRC522 Library version: 1.5.1
Arduino device: nano
MFRC522 device: joy-it

Step 2: My problem
I try to use the MFRC522 to read NTag216 tags and print serial, if the read tags are equal to my known tags.
It works right, if I just try to track, when new tags are read.
If I try to track on missing tags, a problem is occurring.
Am I missing a check function for the reader or is something else wrong with my coding?
Relevant Code:

#include <SPI.h>
#include <MFRC522.h>

#define RST_PIN         9
#define SS_1_PIN        10         //SS pin for reader 1
#define SS_2_PIN        8          //SS pin for reader 2

#define NR_OF_READERS   2
#define SIZE(array) sizeof(array)/sizeof(array[0])

struct Tag {
  byte uuid[7];
  char name[16];
  unsigned int battery_size;
};

struct Tag database[ ] { //my known id´s
  {{0x04, 0x41,0xC1,0xD2,0x2F,0x66,0x81}, "5", 0},{{0x04,0x30,0xDB,0x02,0x2B,0x5E,0x80},"6",1},{{0x04, 0x3A,0xD6,0x02,0x2B,0x5E,0x80},"7",2}
  };

struct Tag* lookup(byte* uuid) {
  for(unsigned int i=0; i<SIZE(database); i++) {
    if(memcmp(database[i].uuid, uuid, 7) == 0) {
      return &database[i];
    }
  }
  return NULL;
}
char buffer[32];
byte ssPins[ ] = {SS_1_PIN, SS_2_PIN};

MFRC522 mfrc522[NR_OF_READERS];   // Create MFRC522 instance.

void setup() {

  Serial.begin(9600); // Initialize serial communications with the PC
  SPI.begin();        // Init SPI bus

  for (uint8_t reader = 0; reader < NR_OF_READERS; reader++) {
    mfrc522[reader].PCD_Init(ssPins[reader], RST_PIN); // Init each MFRC522 card
    Serial.print(F("Reader "));
    Serial.print(reader);
    Serial.print(F(": "));
    mfrc522[reader].PCD_DumpVersionToSerial();
  }
}

void loop() {

  bool cardremoved;

      for(uint8_t reader=0;reader<NR_OF_READERS;reader++){

          if(mfrc522[reader].PICC_IsNewCardPresent() && mfrc522[reader].PICC_ReadCardSerial()){
             struct Tag* match = lookup(mfrc522[reader].uid.uidByte);

             if(match == NULL) {
              Serial.println ("no matching ID");
              return;
              }else {
              Serial.print(match->name);
              Serial.print("#1#1\n");
                }

/****************************** my problem occures down here***********************************************/
          }else if(!mfrc522[reader].PICC_IsNewCardPresent()){
            struct Tag* match = lookup(mfrc522[reader].uid.uidByte);

            if(match == NULL) {
              cardremoved=true;
            }else {
             cardremoved=false;
            }
            if(cardremoved){
               Serial.println(cardremoved +" "+reader);
            }
          }
            // Halt PICC
          mfrc522[reader].PICC_HaltA();
            // Stop encryption on PCD
          mfrc522[reader].PCD_StopCrypto1();
     }

}

          }else if(!mfrc522[reader].PICC_IsNewCardPresent()){
Seems redundant. Just else should do it.
            if(match == NULL) {
              cardremoved=true;
            }else {
             cardremoved=false;
            }
            if(cardremoved){

Seems redundant. Could be simplified to one if.
  return NULL;
For pointers use nullptr.
If tag removed the mfrc522[reader].uid  is not deleted or cleaned. So your second part does not work.

repo: miguelbalboa/rfid

license: unlicense


text:
(question) I would like to use babel for export_posts.txt mail text, but can't

Hi,
I was trying to use babel to translate the texts in export_posts(html/txt)
However when I use  {{ _("....") }} I get an error saying it needs to be in the context of a request. I presume in order to know which language is to be translated the text.
Is there a way I can notify or pass as a parameter the language to _( or  _l(   ??
BTW _l( complains as undefined. I wonder where _( is defined for Ninja2 to pick it up
many Thanks.
JC

Where is the context error exactly? I assume it is in the localeselector function? The problem is that the application's localeselector is coded to get the language from the request object, which does not exist in the background job.
You can code the localeselector function to use the request if a request context is available, but if not to get the language in some other way. For example, you can pass it as an argument to the background job, then set it in the flask.g object, which you can get in the locale selector function as long as an application context is set up.
The _l symbol does not really exist, it is an alias that I use because the original function is much longer:
from flask_babel import lazy_gettext as _l

Thanks Miguel for this.
yes it is the localeselector function the one that creates trouble.
My plan was indeed to get the info from the request, store it in g  and make a call like  babel.localeselector( lambda : g.locale_now)  before the call to render the template....or shall I make the call within the template  {{ }}
That is why I was trying to somehow make a call within the template to python code, to articulate the solution......but I am lost....
Any help appreciated.
JC

@littlegreenbean33 You are going across processes with this. The only way you can pass the language from the server to the RQ worker is as an argument. None of the Flask variables (request, g, etc.) will make it over to the RQ worker.
Pass it as an argument to the export function, then once you have it, you can put it in the g that exists in the worker. The locale selector function cannot be invoked directly, you have to change it so that it gets the language from g if it cannot get it from request. For example:
@babel.localeselector
def get_locale():
    if not has_request_context():
        return g.locale
    return request.accept_languages.best_match(current_app.config['LANGUAGES'])

Miguel,
Many thanks for the quick turnaround.
Indeed I jumped over the issue of separate processes. My bad !!
Will try your suggestion later today.
JC

Miguel,
your solution works great.
Just completed the full course and I have to say is the best value for money I have got for many years. The course is an excellent resource and your explanations to the point.
Many many thanks for your support.
JCG

repo: miguelgrinberg/microblog


text:
2 add manifest for aterlier toolbox

Closes #2

Your changes do not pass checks.
atelier-toolbox

[x] Description
[x] License
[x] Hashes
[x] Checkver
[x] Autoupdate
[ ] Autoupdate Hash Extraction

All changes look good.
Wait for review from human collaborators.
atelier-toolbox

[x] Description
[x] License
[x] Hashes
[x] Checkver
[x] Autoupdate
[x] Autoupdate Hash Extraction

repo: mihaichris/atelier

license: Unlicense


text:
Build of procfs crate failed

Not your fault and not really an issue but, the attachment failed to upload on matrix.
procfs is a Linux Only crate. Actually, procfs is a Linux only concept.
EDIT: https://man.netbsd.org/mount_procfs.8
   Compiling procfs v0.12.0
error[E0433]: failed to resolve: could not find `linux` in `os`
  --> /usr/pkgsrc/wip/musage/work/vendor/procfs-0.12.0/src/process/mod.rs:66:14
   |
66 | use std::os::linux::fs::MetadataExt;
   |              ^^^^^ could not find `linux` in `os`

error[E0425]: cannot find function `stat64` in crate `libc`
   --> /usr/pkgsrc/wip/musage/work/vendor/procfs-0.12.0/src/process/namespaces.rs:25:31
    |
25  |             if unsafe { libc::stat64(cstr.as_ptr(), &mut stat) } != 0 {
    |                               ^^^^^^ help: a function with a similar name exists: `stat`
    |
   ::: /usr/pkgsrc/wip/musage/work/vendor/libc-0.2.114/src/unix/mod.rs:715:5
    |
715 |     pub fn stat(path: *const c_char, buf: *mut stat) -> ::c_int;
    |     ------------------------------------------------------------ similarly named function `stat` defined here

error[E0599]: no method named `st_mode` found for struct `Metadata` in the current scope
   --> /usr/pkgsrc/wip/musage/work/vendor/procfs-0.12.0/src/process/mod.rs:701:23
    |
701 |             mode: (md.st_mode() as libc::mode_t) & libc::S_IRWXU,
    |                       ^^^^^^^ method not found in `Metadata`
    |
    = help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
    |
    55  | use std::os::netbsd::fs::MetadataExt;
    |

error[E0599]: no method named `st_uid` found for struct `Metadata` in the current scope
   --> /usr/pkgsrc/wip/musage/work/vendor/procfs-0.12.0/src/process/mod.rs:759:23
    |
759 |             owner: md.st_uid(),
    |                       ^^^^^^ method not found in `Metadata`
    |
    = help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
    |
55  | use std::os::netbsd::fs::MetadataExt;
    |

error[E0599]: no method named `st_mode` found for struct `Metadata` in the current scope
   --> /usr/pkgsrc/wip/musage/work/vendor/procfs-0.12.0/src/process/mod.rs:994:31
    |
994 |                     mode: (md.st_mode() as libc::mode_t) & libc::S_IRWXU,
    |                               ^^^^^^^ method not found in `Metadata`
    |
    = help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
    |
55  | use std::os::netbsd::fs::MetadataExt;
    |

Some errors have detailed explanations: E0425, E0433, E0599.
For more information about an error, try `rustc --explain E0425`.
error: could not compile `procfs` due to 5 previous errors
*** Error code 101

Stop.
bmake[1]: stopped in /usr/pkgsrc/wip/musage
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/wip/musage
error: External command failed
   ┌─ shell:14:1
   │
14 │ bmake
   │ ^^^^^ command failed

Reproducible in the CD pipeline when building for Apple/Darwin. See this.
Not sure where to start with this one.

I don't think there is much you can do. Unless, you somehow can work around the need for procfs.
Even if, they fix the build for MacOS, I don't think it will help NetBSD.

Quite possibly. Solving one problem might give insight into the other.
Seems the latest procs 0.12.1 was published 10m ago. I'll have a look at it tonight, see if anything changed.

Seems I mixed up procfs and procs, both with similar versions, sorry.
Can you mount_procfs on your baremetal and then run musage - does that produce any output?
If yes, I can investigate how to control it, possibly via the nix crate.

repo: mihaigalos/musage


text:
Always create Comp.State type

Even if the type ends up being null there might be code that references
Com.State.

TBR

repo: mihaip/react-closure-compiler


text:
로그인 필요 없이 예약한 자리 확인할 수 있는 기능 건의

새로운 기능이나 개선 사항을 설명해주세요.
현재 UI는 로그인이 되지 않으면 면불 신청 탭으로 들어갈 수 없어 이전에 예약한 자리를 확인할 때 불편함이 있고, 인터넷이 안될 경우 자리확인이 불가능함
-->면불을 신청하는 순간에 자리 데이터를 쿠키로 받아두어, 인터넷 오프라인 상태거나 로그인이 되지 않은 상태에서도 자신의 자리를 확인할 수 있도록 함.
보조 정보
No response

별로에요

코드를 작성하여 Pull Request를 걸어보는 건 어떤가요?


text:
Would be nice to count occurences of certain substring and output a digest

@mike-ward This is to inquire if you would agree to merge such functionality into your plugin code. IMO I can craft all the necessary changes myself.
The scenario is the following: we have a build where sometimes "curious" stuff is being output or we have a debug run where a program outputs some "curious" stuff into debug output window. The "curious" stuff is such that it can be detected with a regex so the plugin can color it already. The problem is one has to scroll through the entire output to check if there's something "curious". So it'd be nice if at the end of build or debug the output pane would have a digest such as "Warning! Curious stuff found XYZ times!!!".
Here's how I would do this. I'd add a couple more "categories" such as "debug error" and "debug warning". I'd also add a new setting for every category - "how to count and build a digest on this". The setting would have three options - "don't count and output a digest" (as it works now), "count and output a digest if at least one ocurrence is found" and "count and output a digest no matter how many ocurrences were found".

That sounds like a neat idea. I've had others ask if I could filter out the "cruf" in the output window so they could see just the stuff they're interested in. However, the VS internal model does not allow removing lines from the output window.
This certainly is a step in the right direction in that it lets you know if something you're interested in has occurred.
Seems like you have a good understanding of how the code works and how it hooks into VS's category classification system, so yeah, I'm up for a pull request.

authors: Dmitry-Me mike-ward

repo: mike-ward/VSColorOutput


text:
Segfault when using more threads

On Linux VM using more threads than 2. (setting the video stream thread count was introduced with #73)
will segfault.

Actually I found this to happen on Mac and Linux whenever threads > multiprocessing.cpu_count()

I guess this is not really a bug und it can really bite you. I would propose:

add a note to the docs
or
check that value  > multiprocessing.cpu_count() in the property setter

What do you mean, it isn't really a bug?

I should have been a bit more clear on this: Im not sure wether this is a pyav issue or a libav issue.

authors: mikeboers mkassner

repo: mikeboers/PyAV


text:
Change $@ to "$@"

Issue #17

Thanks for the pull request. We'll take a look at it.

Is it ready to merge ? :)

Hi François. Thanks for the reminder and for the pull request. I'm afraid I haven't gotten around to checking it yet -- I'm on a low capacity internet line until next week. Hopefully next week!

authors: francoisdtm mikebrady

repo: mikebrady/shairport-sync-docker


text:
prop_cycler deprecated?

Error in: https://github.com/mikekestemont/copia/blob/e229f25093af28ad9faf4117c12207906061b277/copia/plot.py#L54C23-L54C48
Seems deprecation error?

FWIW, I was cleaning up some code that uses Copia to prep deposit for article replication and ran into this error.  I found this issue github issue discussing the same problem in a different library https://github.com/librosa/librosa/issues/1763
I was able to switch to matplotlib 3.7 for my code

authors: fbkarsdorp rlskoeser

repo: mikekestemont/copia


text:
🛑 OMSF is down

In 733fb65, OMSF (https://www.omsf.io) was down:

HTTP code: 0
Response time: 0 ms

Resolved: OMSF is back up in a0e0222 after 10 minutes.

repo: mikemhenry/website-uptime


text:
🛑 OMSF is down

In ada2ffa, OMSF (https://www.omsf.io) was down:

HTTP code: 0
Response time: 0 ms

Resolved: OMSF is back up in f3a792c after 45 minutes.


text:
🛑 OMSF is down

In baabd48, OMSF (https://www.omsf.io) was down:

HTTP code: 0
Response time: 0 ms

Resolved: OMSF is back up in 66c144e after 10 minutes.


text:
Laravel 5.6 (#33)

laravel-5.6

Should fix working on php7.2

grr that did not do what i wanted

haha

authors: TerrePorter mikerogne

repo: mikerogne/StringBladeCompiler


text:
ValueError: Unsupported wire type 1

Hi, this is a great library to inspect protobuf. Thanks for making it available.
I came across this error: ValueError: Unsupported wire type 1 for this input message. When parsed in this web tool https://protobuf-decoder.netlify.app/, it seems to parse correctly. Any ideas?
0a c7 22 0a fd 01 08 c2 d8 bf 81 01 12 0f 11 50 f1 03 94 00 cd 00 00 00 f1 03 f0 03 00 1a 09 70 61 73 74 61 70 65 74 65 20 01 28 01 38 e2 fa 8f f6 03 8a 01 c4 01 08 fe a1 14 12 bd 01 08 fe a1 14 12 57 68 74 74 70 73 3a 2f 2f 73 74 75 66 66 69 63 6f 6e 73 2e 77 67 63 64 6e 2e 63 6f 2f 47 66 78 2f 61 76 61 74 61 72 5f 70 72 6f 67 72 65 73 73 69 76 65 5f 6b 6f 6c 6f 62 61 6e 6f 76 5f 31 2f 31 39 31 32 30 33 5f 31 32 30 37 34 37 5f 30 38 30 30 34 39 2e 70 6e 67 1a 58 68 74 74 70 73 3a 2f 2f 73 74 75 66 66 69 63 6f 6e 73 2e 77 67 63 64 6e 2e 63 6f 2f 47 66 78 32 2f 61 76 61 74 61 72 5f 70 72 6f 67 72 65 73
73 69 76 65 5f 6b 6f 6c 6f 62 61 6e 6f 76 5f 31 2f 31 39 31 32 30 33 5f 31 32 30 37 35 32 5f 35 31 30 38 38 33 2e 70 6e 67 22 04 72 61 72 65 95 01 00 00 80 3f b0 01 03 0a 9c 02 08 c3 d8 bf 81 01 12 0f 21 2f 62 00 05 00 cc 00 00 00 53 00 12 00 00 1a 0c 4c 69 6e 67 68 75 69 5f 4d 65 6e 67 20 02 28 01 38 c4 e3 ac f2 03 42 05 43 48 49 4e 41 48 a9 15 68 f8 c3 06 8a 01 c3 01 08 fe ef 48 12 bc 01 08 fe ef 48 12 54 68 74 74 70 73 3a 2f 2f 73 74 75 66 66 69 63 6f 6e 73 2e 77 67 63 64 6e 2e 63 6f 2f 47 66 78 2f 61 76 61 74 61 72 5f 48 57 50 75 6d 70 6b 69 6e 5f 6c 65 67 65 6e 64 61 72 79 2f 32 32 30 39 31 34 5f
31 33 32 37 35 30 5f 31 32 31 32 31 35 2e 77 65 62 70 1a 55 68 74 74 70 73 3a 2f 2f 73 74 75 66 66 69 63 6f 6e 73 2e 77 67 63 64 6e 2e 63 6f 2f 47 66 78 32 2f 61 76 61 74 61 72 5f 48 57 50 75 6d 70 6b 69 6e 5f 6c 65 67 65 6e 64 61 72 79 2f 32 32 30 39 31 34 5f 31 33 32 37 35 33 5f 33 38 32 34 33 39 2e 77 65 62 70 22 09 6c 65 67 65 6e 64 61 72 79 95 01 00 00 80 3f a0 01 01 a8 01 01 b0 01 ff ff ff ff ff ff ff ff ff 01 0a fe 02 08 c4 d8 bf 81 01 12 0f 21 63 08 04 6b 00 cc 00 00 00 07 04 10 04 00 1a 0c 4e 61 6e 6f 5f 5f 4c 65 67 65 6e 64 20 01 28 01 38 8f bd 83 e4 03 42 05 52 41 49 4e 31 48 ff 27 68 f8 f7
09 8a 01 b9 01 08 fe e9 4e 12 b2 01 08 fe e9 4e 12 4f 68 74 74 70 73 3a 2f 2f 73 74 75 66 66 69 63 6f 6e 73 2e 77 67 63 64 6e 2e 63 6f 2f 47 66 78 2f 61 76 61 74 61 72 5f 32 30 32 33 5f 63 61 72 6e 5f 61 6e 69 6d 2f 32 32 31 32 32 39 5f 30 38 30 33 32 38 5f 32 33 33 31 31 33 2e 77 65 62 70 1a 50 68 74 74 70 73 3a 2f 2f 73 74 75 66 66 69 63 6f 6e 73 2e 77 67 63 64 6e 2e 63 6f 2f 47 66 78 32 2f 61 76 61 74 61 72 5f 32 30 32 33 5f 63 61 72 6e 5f 61 6e 69 6d 2f 32 32 31 32 32 39 5f 30 38 30 33 34 32 5f 31 38 34 30 35 35 2e 77 65 62 70 22 09 6c 65 67 65 6e 64 61 72 79 95 01 00 00 80 3f 9a 01 15 75 6e 69 71
75 65 42 6f 6f 73 74 65 72 52 65 63 68 61 72 67 65 9a 01 16 75 6e 69 71 75 65 42 6f 6f 73 74 65 72 46 6f 72 46 72 65 65 58 70 9a 01 1d 75 6e 69 71 75 65 53 74 61 74 69 63 42 6f 6f 73 74 65 72 46 6f 72 43 72 65 64 69 74 73 9a 01 18 72 61 72 65 53 74 61 74 69 63 42 6f 6f 73 74 65 72 46 6f 72 47 6f 6c 64 a0 01 13 a8 01 02 b0 01 ff ff ff ff ff ff ff ff ff 01 0a 9f 02 08 c5 d8 bf 81 01 12 0f 11 41 a0 00 67 00 cc 00 18 00 85 00 5c 00 00 1a 0e 4c 69 74 74 6c 65 5f 44 75 64 65 73 6b 79 20 01 28 01 38 bc ae d3 e2 03 42 04 2d 44 52 2d 48 84 ab 04 68 f8 93 04 80 01 f8 e7 0f 8a 01 bf 01 08 fe f1 0e 12 b8 01 08 fe
f1 0e 12 52 68 74 74 70 73 3a 2f 2f 73 74 75 66 66 69 63 6f 6e 73 2e 77 67 63 64 6e 2e 63 6f 2f 47 66 78 2f 61 76 61 74 61 72 5f 67 6f 6c 64 65 6e 5f 77 65 65 6b 5f 64 72 61 67 6f 6e 2f 31 39 30 34 31 38 5f 30 38 35 36 34 35 5f 32 34 30 33 30 32 2e 70 6e 67 1a 53 68 74 74 70 73 3a 2f 2f 73 74 75 66 66 69 63 6f 6e 73 2e 77 67 63 64 6e 2e 63 6f 2f 47 66 78 32 2f 61 76 61 74 61 72 5f 67 6f 6c 64 65 6e 5f 77 65 65 6b 5f 64 72 61 67 6f 6e 2f 31 39 30 34 31 38 5f 30 38 35 36 33 33 5f 30 35 39 35 38 30 2e 70 6e 67 22 09 6c 65 67 65 6e 64 61 72 79 95 01 00 00 80 3f a0 01 01 a8 01 01 b0 01 ff ff ff ff ff ff ff
ff ff 01 0a fc 02 08 c6 d8 bf 81 01 12 0f 51 49 fb 03 5b 00 cd 00 00 00 f9 03 fe 03 00 1a 12 43 72 61 6e 69 61 6c 5f 49 6e 66 61 72 63 74 69 6f 6e 20 01 28 01 38 be 90 9d f1 03 42 05 5f 5f 46 57 5f 48 a5 cd 05 68 f8 2f 8a 01 d1 01 08 fe a9 26 12 ca 01 08 fe a9 26 12 5b 68 74 74 70 73 3a 2f 2f 73 74 75 66 66 69 63 6f 6e 73 2e 77 67 63 64 6e 2e 63 6f 2f 47 66 78 2f 61 76 61 74 61 72 5f 72 65 73 6f 75 72 63 65 5f 72 65 6d 6f 76 69 6e 67 5f 6c 65 67 65 6e 64 61 72 79 2f 32 31 30 32 32 34 5f 30 37 35 39 33 30 5f 38 35 31 34 36 38 2e 70 6e 67 1a 5c 68 74 74 70 73 3a 2f 2f 73 74 75 66 66 69 63 6f 6e 73 2e 77
67 63 64 6e 2e 63 6f 2f 47 66 78 32 2f 61 76 61 74 61 72 5f 72 65 73 6f 75 72 63 65 5f 72 65 6d 6f 76 69 6e 67 5f 6c 65 67 65 6e 64 61 72 79 2f 32 31 30 32 32 34 5f 30 37 35 39 33 34 5f 38 32 32 30 38 32 2e 70 6e 67 22 09 6c 65 67 65 6e 64 61 72 79 95 01 00 00 80 3f 9a 01 15 75 6e 69 71 75 65 42 6f 6f 73 74 65 72 52 65 63 68 61 72 67 65 9a 01 16 75 6e 69 71 75 65 42 6f 6f 73 74 65 72 46 6f 72 46 72 65 65 58 70 9a 01 18 72 61 72 65 53 74 61 74 69 63 42 6f 6f 73 74 65 72 46 6f 72 47 6f 6c 64 a0 01 13 a8 01 02 b0 01 ff ff ff ff ff ff ff ff ff 01 0a a3 02 08 c7 d8 bf 81 01 12 0f 11 2d 6c 00 4d 00 cc 00 00
00 57 00 28 00 00 1a 08 57 68 69 74 65 68 6f 65 20 01 28 01 38 dd d7 fe f6 03 42 05 49 44 4f 42 52 48 d5 b0 05 50 81 80 bc 81 01 68 f8 c1 0a 8a 01 cd 01 08 fe 93 4e 12 c6 01 08 fe 93 4e 12 59 68 74 74 70 73 3a 2f 2f 73 74 75 66 66 69 63 6f 6e 73 2e 77 67 63 64 6e 2e 63 6f 2f 47 66 78 2f 61 76 61 74 61 72 5f 70 72 6f 67 72 65 73 73 69 76 65 5f 62 70 5f 33 30 5f 70 61 69 64 5f 36 2f 32 32 31 32 32 32 5f 30 35 32 36 33 37 5f 33 37 32 33 36 33 2e 77 65 62 70 1a 5a 68 74 74 70 73 3a 2f 2f 73 74 75 66 66 69 63 6f 6e 73 2e 77 67 63 64 6e 2e 63 6f 2f 47 66 78 32 2f 61 76 61 74 61 72 5f 70 72 6f 67 72 65 73 73
69 76 65 5f 62 70 5f 33 30 5f 70 61 69 64 5f 36 2f 32 32 31 32 32 32 5f 30 35 32 36 34 30 5f 39 35 30 34 30 35 2e 77 65 62 70 22 09 6c 65 67 65 6e 64 61 72 79 95 01 00 00 80 3f b0 01 ff ff ff ff ff ff ff ff ff 01 0a 90 02 08 c8 d8 bf 81 01 12 0f 11 41 a0 00 67 00 cc 00 00 00 85 00 5c 00 00 1a 0b 66 6f 63 75 73 7a 78 32 30 30 30 20 02 28 01 38 88 c7 da ef 03 68 f8 f5 0a 8a 01 c8 01 08 fe c7 4a 12 c1 01 08 fe c7 4a 12 59 68 74 74 70 73 3a 2f 2f 73 74 75 66 66 69 63 6f 6e 73 2e 77 67 63 64 6e 2e 63 6f 2f 47 66 78 2f 61 76 61 74 61 72 5f 70 72 6f 67 72 65 73 73 69 76 65 5f 62 70 5f 32 39 5f 66 72 65 65 5f
34 2f 32 32 31 31 32 35 5f 31 30 34 35 32 38 5f 38 36 38 31 36 34 2e 77 65 62 70 1a 5a 68 74 74 70 73 3a 2f 2f 73 74 75 66 66 69 63 6f 6e 73 2e 77 67 63 64 6e 2e 63 6f 2f 47 66 78 32 2f 61 76 61 74 61 72 5f 70 72 6f 67 72 65 73 73 69 76 65 5f 62 70 5f 32 39 5f 66 72 65 65 5f 34 2f 32 32 31 31 32 35 5f 31 30 34 35 33 32 5f 35 36 34 35 32 35 2e 77 65 62 70 22 04 72 61 72 65 95 01 00 00 80 3f b0 01 ff ff ff ff ff ff ff ff ff 01 0a ca 02 08 c9 d8 bf 81 01 12 0f 01 ec b4 00 72 00 cc 00 0b 00 98 00 8a 00 00 1a 0f 54 6f 72 72 65 73 6c 61 6c 69 74 6f 35 38 34 20 02 28 01 38 d4 97 e3 ea 03 42 05 2d 57 4f 48 2d
48 fb e0 02 50 a9 c7 c0 81 01 8a 01 cb 01 08 fe af 48 12 c4 01 08 fe af 48 12 58 68 74 74 70 73 3a 2f 2f 73 74 75 66 66 69 63 6f 6e 73 2e 77 67 63 64 6e 2e 63 6f 2f 47 66 78 2f 61 76 61 74 61 72 5f 44 75 6e 65 57 6f 72 6d 5f 6c 65 67 65 6e 64 61 72 79 5f 61 6e 69 6d 2f 32 32 30 39 31 32 5f 31 30 32 39 35 32 5f 32 39 35 34 34 34 2e 77 65 62 70 1a 59 68 74 74 70 73 3a 2f 2f 73 74 75 66 66 69 63 6f 6e 73 2e 77 67 63 64 6e 2e 63 6f 2f 47 66 78 32 2f 61 76 61 74 61 72 5f 44 75 6e 65 57 6f 72 6d 5f 6c 65 67 65 6e 64 61 72 79 5f 61 6e 69 6d 2f 32 32 30 39 31 32 5f 31 30 33 30 30 35 5f 36 30 37 34 33 33 2e 77
65 62 70 22 09 6c 65 67 65 6e 64 61 72 79 95 01 00 00 80 3f 9a 01 1d 63 6f 6d 6d 6f 6e 53 74 61 74 69 63 42 6f 6f 73 74 65 72 46 6f 72 43 72 65 64 69 74 73 a0 01 01 a8 01 01 b0 01 ff ff ff ff ff ff ff ff ff 01 0a 91 03 08 ca d8 bf 81 01 12 0f 81 1e 2e 00 2e 00 cc 00 00 00 2e 00 2c 00 00 1a 10 53 6f 6c 65 64 42 79 50 61 72 65 6e 62 65 72 67 20 01 28 01 38 9b 87 f9 f2 03 42 05 49 44 4f 42 52 48 d5 b0 05 50 81 80 bc 81 01 58 01 68 f8 89 0b 8a 01 cd 01 08 fe 93 4e 12 c6 01 08 fe 93 4e 12 59 68 74 74 70 73 3a 2f 2f 73 74 75 66 66 69 63 6f 6e 73 2e 77 67 63 64 6e 2e 63 6f 2f 47 66 78 2f 61 76 61 74 61 72 5f
70 72 6f 67 72 65 73 73 69 76 65 5f 62 70 5f 33 30 5f 70 61 69 64 5f 36 2f 32 32 31 32 32 32 5f 30 35 32 36 33 37 5f 33 37 32 33 36 33 2e 77 65 62 70 1a 5a 68 74 74 70 73 3a 2f 2f 73 74 75 66 66 69 63 6f 6e 73 2e 77 67 63 64 6e 2e 63 6f 2f 47 66 78 32 2f 61 76 61 74 61 72 5f 70 72 6f 67 72 65 73 73 69 76 65 5f 62 70 5f 33 30 5f 70 61 69 64 5f 36 2f 32 32 31 32 32 32 5f 30 35 32 36 34 30 5f 39 35 30 34 30 35 2e 77 65 62 70 22 09 6c 65 67 65 6e 64 61 72 79 95 01 00 00 80 3f 9a 01 15 63 6f 6d 6d 6f 6e 42 6f 6f 73 74 65 72 52 65 63 68 61 72 67 65 9a 01 12 63 6f 6d 6d 6f 6e 42 6f 6f 73 74 65 72 46 6f 72 58
70 9a 01 14 72 61 72 65 42 6f 6f 73 74 65 72 46 6f 72 43 72 65 77 58 70 9a 01 1d 63 6f 6d 6d 6f 6e 53 74 61 74 69 63 42 6f 6f 73 74 65 72 46 6f 72 43 72 65 64 69 74 73 b0 01 ff ff ff ff ff ff ff ff ff 01 0a d5 02 08 cb d8 bf 81 01 12 0f 21 4c ed 03 4f 00 cc 00 00 00 ed 03 f2 03 00 1a 0d 47 61 62 6f 67 61 6d 65 72 5f 4d 65 78 20 02 28 01 38 88 91 88 ea 03 42 05 42 4d 58 31 44 48 f8 77 50 a9 c7 c0 81 01 58 01 8a 01 c2 01 08 fe cd 14 12 bb 01 08 fe cd 14 12 55 68 74 74 70 73 3a 2f 2f 73 74 75 66 66 69 63 6f 6e 73 2e 77 67 63 64 6e 2e 63 6f 2f 47 66 78 2f 61 76 61 74 61 72 5f 70 72 6f 67 72 65 73 73 69 76
65 5f 57 61 72 72 69 6f 72 5f 36 2f 31 39 31 32 30 34 5f 31 35 30 34 35 36 5f 36 37 34 36 35 33 2e 70 6e 67 1a 56 68 74 74 70 73 3a 2f 2f 73 74 75 66 66 69 63 6f 6e 73 2e 77 67 63 64 6e 2e 63 6f 2f 47 66 78 32 2f 61 76 61 74 61 72 5f 70 72 6f 67 72 65 73 73 69 76 65 5f 57 61 72 72 69 6f 72 5f 36 2f 31 39 31 32 30 34 5f 31 35 30 35 30 35 5f 39 39 39 35 39 32 2e 70 6e 67 22 06 75 6e 69 71 75 65 95 01 00 00 80 3f 9a 01 14 72 61 72 65 42 6f 6f 73 74 65 72 46 6f 72 46 72 65 65 58 70 9a 01 1b 72 61 72 65 53 74 61 74 69 63 42 6f 6f 73 74 65 72 46 6f 72 43 72 65 64 69 74 73 a0 01 01 a8 01 01 b0 01 ff ff ff ff
ff ff ff ff ff 01 0a 8a 02 08 cc d8 bf 81 01 12 0f 61 13 24 00 0d 00 cc 00 00 00 20 00 20 00 00 1a 0a 76 69 72 75 73 5f 31 34 58 4c 20 01 28 01 38 ac 9b ef f1 03 42 03 4b 32 34 48 dd bf 03 68 f8 d3 1f 8a 01 c3 01 08 fe ef 0e 12 bc 01 08 fe ef 0e 12 54 68 74 74 70 73 3a 2f 2f 73 74 75 66 66 69 63 6f 6e 73 2e 77 67 63 64 6e 2e 63 6f 2f 47 66 78 2f 61 76 61 74 61 72 5f 67 6f 74 5f 64 72 61 67 6f 6e 5f 6c 65 67 65 6e 64 61 72 79 2f 31 39 30 34 30 33 5f 31 30 35 35 32 30 5f 32 30 37 31 39 38 2e 70 6e 67 1a 55 68 74 74 70 73 3a 2f 2f 73 74 75 66 66 69 63 6f 6e 73 2e 77 67 63 64 6e 2e 63 6f 2f 47 66 78 32 2f
61 76 61 74 61 72 5f 67 6f 74 5f 64 72 61 67 6f 6e 5f 6c 65 67 65 6e 64 61 72 79 2f 31 39 30 34 30 33 5f 31 30 35 35 32 32 5f 32 32 35 32 34 30 2e 70 6e 67 22 09 6c 65 67 65 6e 64 61 72 79 95 01 00 00 80 3f b0 01 04 0a ae 02 08 cd d8 bf 81 01 12 0f 21 5b ff 03 60 00 cd 00 00 00 fe 03 06 04 00 1a 0e 43 68 61 70 69 74 6f 5f 47 75 7a 6d 61 6e 20 02 28 01 38 ed a5 98 ea 03 42 05 2d 45 58 45 2d 48 a5 e1 03 68 f8 9b 06 8a 01 aa 01 08 fe b9 15 12 a3 01 08 fe b9 15 12 4a 68 74 74 70 73 3a 2f 2f 73 74 75 66 66 69 63 6f 6e 73 2e 77 67 63 64 6e 2e 63 6f 2f 47 66 78 2f 61 76 61 74 61 72 5f 6c 75 6e 61 72 5f 72 61
72 65 2f 32 30 30 32 31 37 5f 30 37 34 37 34 38 5f 30 37 33 34 39 34 2e 70 6e 67 1a 4b 68 74 74 70 73 3a 2f 2f 73 74 75 66 66 69 63 6f 6e 73 2e 77 67 63 64 6e 2e 63 6f 2f 47 66 78 32 2f 61 76 61 74 61 72 5f 6c 75 6e 61 72 5f 72 61 72 65 2f 32 30 30 32 31 37 5f 30 37 34 37 35 31 5f 36 37 30 33 39 39 2e 70 6e 67 22 04 72 61 72 65 95 01 00 00 80 3f 9a 01 12 75 6e 69 71 75 65 42 6f 6f 73 74 65 72 46 6f 72 58 70 9a 01 16 75 6e 69 71 75 65 42 6f 6f 73 74 65 72 46 6f 72 43 72 65 77 58 70 b0 01 ff ff ff ff ff ff ff ff ff 01 0a 9d 02 08 ce d8 bf 81 01 12 0f 01 50 ef 03 03 01 cc 00 00 00 ef 03 f4 03 00 1a 08 62
75 79 73 74 61 66 66 20 02 28 01 38 8e 96 85 e5 03 42 03 4d 33 36 48 ed 90 03 8a 01 b4 01 08 fe 81 13 12 ad 01 08 fe 81 13 12 4f 68 74 74 70 73 3a 2f 2f 73 74 75 66 66 69 63 6f 6e 73 2e 77 67 63 64 6e 2e 63 6f 2f 47 66 78 2f 61 76 61 74 61 72 5f 73 6d 69 6c 65 79 5f 63 72 79 5f 72 61 72 65 2f 31 39 31 30 32 34 5f 30 36 35 36 34 35 5f 30 33 33 36 34 37 2e 70 6e 67 1a 50 68 74 74 70 73 3a 2f 2f 73 74 75 66 66 69 63 6f 6e 73 2e 77 67 63 64 6e 2e 63 6f 2f 47 66 78 32 2f 61 76 61 74 61 72 5f 73 6d 69 6c 65 79 5f 63 72 79 5f 72 61 72 65 2f 31 39 31 30 32 34 5f 30 36 35 36 34 38 5f 33 32 31 34 37 35 2e 70 6e
67 22 04 72 61 72 65 95 01 00 00 80 3f 9a 01 16 63 6f 6d 6d 6f 6e 42 6f 6f 73 74 65 72 46 6f 72 43 72 65 77 58 70 a0 01 0a a8 01 02 b0 01 ff ff ff ff ff ff ff ff ff 01 0a b3 02 08 cf d8 bf 81 01 12 0f 41 41 0e 00 3a 00 cd 00 00 00 09 00 0a 00 00 1a 0b 70 75 6b 69 6e 62 75 7a 7a 72 64 20 02 28 01 38 ec e9 eb f5 03 68 f8 b9 04 8a 01 c0 01 08 fe f3 3c 12 b9 01 08 fe f3 3c 12 55 68 74 74 70 73 3a 2f 2f 73 74 75 66 66 69 63 6f 6e 73 2e 77 67 63 64 6e 2e 63 6f 2f 47 66 78 2f 61 76 61 74 61 72 5f 52 69 6f 43 61 72 6e 69 76 61 6c 5f 72 61 72 65 5f 31 34 64 2f 32 32 30 32 31 38 5f 31 35 30 36 30 34 5f 36 35 30
37 30 32 2e 77 65 62 70 1a 56 68 74 74 70 73 3a 2f 2f 73 74 75 66 66 69 63 6f 6e 73 2e 77 67 63 64 6e 2e 63 6f 2f 47 66 78 32 2f 61 76 61 74 61 72 5f 52 69 6f 43 61 72 6e 69 76 61 6c 5f 72 61 72 65 5f 31 34 64 2f 32 32 30 32 31 38 5f 31 35 30 36 30 30 5f 33 31 33 37 38 37 2e 77 65 62 70 22 04 72 61 72 65 95 01 00 00 80 3f 9a 01 12 63 6f 6d 6d 6f 6e 42 6f 6f 73 74 65 72 46 6f 72 58 70 9a 01 16 63 6f 6d 6d 6f 6e 42 6f 6f 73 74 65 72 46 6f 72 43 72 65 77 58 70 a0 01 13 a8 01 02 b0 01 02

I converted your hex to a binary file, and it parsed without any issues for me.

make sure you're correctly converting hex to a file, you can send me the file directly if you wish

Thanks. I managed to get the same result. I was not writing the file correctly.

authors: arquicanedo mildsunrise

repo: mildsunrise/protobuf-inspector

license: ISC


text:
chore: release 4.0.2

:robot: I have created a release *beep* *boop*
4.0.2 (2021-05-31)
Bug Fixes

change ts module to esnext (8ab2286)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/mili-project-manager/mtpl-component/releases/tag/v4.0.2 :sunflower:

repo: mili-project-manager/mtpl-component


text:
improve readability of filter parsing errors

fixes #1

before:
➜ cat example.hcl | hq 'invalid'
Error: Error { variant: ParsingError { positives: [], negatives: [] }, location: Pos(0), line_col: Pos((1, 1)), path: None, line: "invalid", continued_line: None, parse_attempts: None }

after:
➜ cat example.hcl | hq 'invalid'
Error: error: failed to parse filter
  |
1 | invalid
  | ^ unexpected token
  |

repo: miller-time/hq


text:
adds crow support

Adds output options for Crow and Just Friends.
Playing with this made me wonder about setting the outputs per track, so you could have a JF voice, and cv outs etc...

Thanks Mat! Agreed on the outputs per track. We could also have some outputs go to different MIDI devices.

Thanks Mat!

authors: justmat millxing

repo: millxing/QUENCE


text:
Typo in README

Hi,
Thanks for the GitHub project, I noticed a minor typo in README, could you please fix it whenever you get a chance?
In
3. Train and evaluate model
->
2. Few-shot transfer learning on new forecasting and classification tasks:

Finetuning
# please set the pretrianed model path in the script.
bash ./scripts/few_shot_newdata/UniTS_finetune_few_shot_newdata_pct20.sh
Prompt tuning
# please set the pretrianed model path in the script.
bash ./scripts/few_shot_newdata/UniTS_finetune_few_shot_newdata_pct20.sh

Both Finetuning and Prompt tuning have the same bash command ..

Fixed! Thank you!

authors: gasvn kkkkapple

repo: mims-harvard/UniTS


text:
Add ability to cache / reuse scan results by SHA1

Think about the way to cache SHA1 hash-sum of scanned files in order not to scan same files from multiple sources more than a single time.

How do you feel about using the Redis backend to hold this info?

It would be a good idea to save the hash directly with Redis or in the MongoDB database with Redis caching.
I would generate the hash when uploading files from the browser/client and send it to the api. If the hash is already in the database, I would reject the upload and use the data saved for the hash. This saves time and computing power. In addition, if the hash that was sent to the api is not in the database and the file was uploaded, I would let the server check the hash again. Someone could alter the hash and use it as an attack and fill the server's hard drive.

authors: P3GLEG Steamarino mindcollapse

repo: mindcollapse/MalwareMultiScan


text:
make pretrained backbone flexible in predictor

This PR:

solves : #991

Any feedback is welcome :hugs:

will be merged after #1063 to avoid failing CI

repo: mindee/doctr


text:
ci: Fixed CI training job for TF

This PR simply changes the architecture to train in the CI job since mobilenet V3 has grouped convolutions for which TF does not support backprop on CPU :man_shrugging:
Any feedback is welcome!

Thanks for this pleasant fix, however a tf transformation test seems to be failing

Thanks for this pleasant fix, however a tf transformation test seems to be failing

Should be fixed by #772, I just rerun the CI for now :+1:

authors: charlesmindee fg-mindee


text:
qtdesigner.path - Handle relative paths from workspace or venv

Qt Designer is now often used within the PyQt5-tools package (as you say into your readme) and it could be great to allow relative paths for the pyqt-integration.qtdesigner.path (and others):

from the ${workspaceFolder}
or from the python.pythonPath

Usually they are using PyQt5-tools or python distribution like Anaconda, if the command "designer" is available in your system, you can set it to pyqt-integration.qtdesigner.path and it should work.
If someone wants to put the PyQt5-tools package into ${workspaceFolder}, sounds interesting to add this support.

if use Anaconda, you can configure it, it works for me.
<anaconda path>/bin/Designer.app/Contents/MacOS/Designer


text:
🛑 MineVN Maven & Resource Pack is down

In cda1c44, MineVN Maven & Resource Pack (http://app.minevn.net/pack) was down:

HTTP code: 0
Response time: 0 ms

Resolved: MineVN Maven & Resource Pack is back up in 0d94415 after 8 hours, 29 minutes.


text:
🛑 MineVN Maven & Resource Pack is down

In 84eb4f6, MineVN Maven & Resource Pack (http://app.minevn.net/pack) was down:

HTTP code: 0
Response time: 0 ms

Resolved: MineVN Maven & Resource Pack is back up in 66c3fae.


text:
🛑 MineVN Maven & Resource Pack is down

In 1627344, MineVN Maven & Resource Pack (http://app.minevn.net/pack) was down:

HTTP code: 0
Response time: 0 ms

Resolved: MineVN Maven & Resource Pack is back up in 78e4647.


text:
Tests: Tests for MakeBucketRequest

Test for makeBucketRequest
Test for MakeBucket is covered in the functional tests, since makeBucketRequest forms the core of MakeBucket there is no need for unit test for it. Since tests running on S3 is time consuming its better to just keep them in functional tests.

Everything else looks good. Just those two comments.

Will push in a minute.

authors: hackintoshrao harshavardhana

repo: minio/minio-go


text:
Aws-sdk-ruby listBuckets test fails with "undefined local variable" when an exception is raised

When there is an exception/error during listBuckets test, instead of the exception itself, the following error message is thrown:
undefined local variable or method 'log_output'

Fixed by  https://github.com/minio/mint/pull/127

authors: deekoder ebozduman

repo: minio/mint


text:
📖 Reveal IP Addresses to App Owners

User Story
As a App Owner on the AP Control Panel
I expect to be able to see the IP addresses of the IP Allow Lists
So that I can administer the application
Value / Purpose
Removes a lot of support issues.
Proposal
Add this information to the lists of ranges which users see.
Definition of Done

[ ] Update the Control Panel View to include this information

Changes have been deployed to dev for testing

Deployed to production on 6/8/24

repo: ministryofjustice/analytical-platform


text:
Feature/RR-82 review goal

This PR introduces the review screen as per this screenshot:

Note that this does not match the exact style in the prototype (which appears to use a blend of a GDS table and a summary list?), but the key functionality is there.
There are some question marks over how we should use an enum for the target date ranges (e.g. in AddStepDto), but I think we should address this as part of a separate PR.

Also - re: your note in the description about it not matching the styles from the story screenshot / prototype ... What are your thoughts/plans re addressing this? Are you talking to Karen about it? Are we getting her to re-do her designs / update or comment on our story accepting the change?
Or (perhaps a loaded question 😁 ) ...  are you going to merge this is as to get the core functionality in place, then look at seeing how we can meet her visual designs a different way perhaps? I think we're in agreement that a summary card with a nested table is probably wrong .... are we going to look to see if we can write some css to style the table in the way the designs require? 😁 👍

Also - re: your note in the description about it not matching the styles from the story screenshot / prototype ... What are your thoughts/plans re addressing this? Are you talking to Karen about it? Are we getting her to re-do her designs / update or comment on our story accepting the change?
Or (perhaps a loaded question 😁 ) ... are you going to merge this is as to get the core functionality in place, then look at seeing how we can meet her visual designs a different way perhaps? I think we're in agreement that a summary card with a nested table is probably wrong .... are we going to look to see if we can write some css to style the table in the way the designs require? 😁 👍

As we mentioned on Slack I think we should just ensure the functionality is working and I can retro fit the designs next week once I've managed to catchup with Karen! I think there's a hybrid of components being used and not sure its the best approach anyway, so might not be worth the effort if its likely to change.

Looks good. I've added a few "tidying" comments that might be worth looking at perhaps? What do you think?

I won't lie, I was disappointed by my shoddiness with the integration tests! I should have looked at the diff properly before sharing this PR, but I've addressed the issues you spotted 👍
I think we've covered your other question - let's get the functionality working first and then we (well Adam!) can look at the styles next week.


text:
basic changes to allow converting draft referrals to sent referrals

What does this pull request do?

adds controller methods for sending a draft referral and retreiving a sent referral
refactors 'createdByUserId' and 'createdByUserAuthSource' to a single 'createdBy' field which is a foreign key to an 'AuthUser' entity. this is also used to store 'sentBy'.
service methods to retrieve only draft or sent referrals, as well as only draft referrals for a certain user id.

What is the intent behind these changes?
allow draft referrals to be sent

Validate fails with
/.../jpa/repository/AuthUserRepository.kt:6:29: Missing spacing before ":"
"plain" report written to /home/circleci/app/build/reports/ktlint/ktlintMainSourceSetCheck/ktlintMainSourceSetCheck.txt

The report, unfortunately, isn't yet persisted in CircleCI

Validate fails with
/.../jpa/repository/AuthUserRepository.kt:6:29: Missing spacing before ":"
"plain" report written to /home/circleci/app/build/reports/ktlint/ktlintMainSourceSetCheck/ktlintMainSourceSetCheck.txt

The report, unfortunately, isn't yet persisted in CircleCI

authors: sldblog tomsmyers


text:
Change/1583 various copy changes

Context
Various copy changes.
Changes in this PR

Update eligibility reasons copy
Update offending summary copy
Update copy when a referral is ready for submission
Standardise copy when referring to CAS2

Screenshots of UI changes
Before

After

Release checklist
Release process documentation.
Pre-merge checklist

[ ] Are any changes required to dependent services for this change to work?
(eg. CAS API)
[ ] Have they been released to production already?

Post-merge checklist

[ ] Manually approve
release to test
[ ] Manually approve
release to preprod
[ ] Manually approve
release to prod

 Copy changes


text:
Ap-2146 update heading sizes and hierarchy on 'add another' pages

What
Link to story
Made the first heading h1 and size xl, and the second heading h2 and size l - this is to have a consistent heading hierarchy and page flow
Checklist
Before you ask people to review this PR:

[ ] Tests and rubocop should be passing: bundle exec rake
[x] Github should not be reporting conflicts; you should have recently run git rebase master.
[x] There should be no unnecessary whitespace changes. These make diffs harder to read and conflicts more likely.
[x] The PR description should say what you changed and why, with a link to the JIRA story.
[x] You should have looked at the diff against master and ensured that nothing unexpected is included in your changes.
[x] You should have checked that the commit messages say why the change was made.

Codecov Report

Merging #2558 (8ed3561) into master (e0e105c) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master     #2558   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files          516       516
  Lines        10304     10304
=========================================
  Hits         10304     10304

Continue to review full report at Codecov.

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

authors: RoseSAK codecov-commenter


text:
Fix: DB Export clear production flag on restore

What
The suggested script shown to the user restores the file to the local DB but the internal metadata leaves the DB flagged as production.  This can cause issues if the user wants to reset or rebuild their local DB.
This PR adds the && rails db:environment:set RAILS_ENV=development command to the psql restore line.  This ensures rails is set to be in development mode when the database is successfully restored
Checklist
Before you ask people to review this PR:

Tests and rubocop should be passing: bundle exec rake
Github should not be reporting conflicts; you should have recently run git rebase main.
There should be no unnecessary whitespace changes. These make diffs harder to read and conflicts more likely.
The PR description should say what you changed and why, with a link to the JIRA story.
You should have looked at the diff against main and ensured that nothing unexpected is included in your changes.
You should have checked that the commit messages say why the change was made.

👍
How did the "UPDATE ar_internal_metadata..." go?

It did not... :)
The warning said the table did not exist 🤷♂


text:
CRM457-1017: Additional cost screens

Description of change
Add the additional cost screens
Link to relevant ticket
https://dsdmoj.atlassian.net/browse/CRM457-1017
Notes for reviewer

The 'add another' pattern of NSM is quite unwieldy, requiring repeated checks of the ID against a 'fake' one of 0000-0000-000000. The built-in Rails resources paradigm basically does what we wanted, so I chose that for this.
That did mean making a couple of changes, mainly changing :id to :application_id in the URL structure, which had a couple of knock-on effects, but nothing significant - it turns out a lot of the code that set this ID explicitly was covering up some stuff that Rails inferred automatically
The wiring up of these screens to the rest of the flow is incomplete, because the screens these connect to don't exist yet.
Speaking of which, further changes are brewing. I'll keep an eye on the Slack for the next couple of days to see where they land. At least one of these screens might be going away.

Screenshots of changes (if applicable)
Before changes:
After changes:
How to manually test the feature

@jsugarman thanks for that, I've amended as you suggested. After a fun couple of hours of rebasing I've now got this sitting properly on top of all the other primary quote stuff. If you wouldn't mind a re-review that would be great.


text:
Move to smaller base image

Use alpine, mount aws-lambda-rie

Codecov Report

Merging #20 (06ea956) into main (f760245) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##             main      #20   +/-   ##
=======================================
  Coverage   55.12%   55.12%
=======================================
  Files           4        4
  Lines         156      156
=======================================
  Hits           86       86
  Misses         58       58
  Partials       12       12

Impacted Files
Coverage Δ

cmd/opg-s3-antivirus-update/freshclam.go
0.00% <0.00%> (ø)

cmd/opg-s3-antivirus/scanner.go
0.00% <0.00%> (ø)

Continue to review full report at Codecov.

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

authors: codecov-commenter gregtyler


text:
Use go-playground/form

Rather than manually building a struct based on the data sent, describe it with struct tags.
We can avoid defining the form:X tag if the form element name matches the variable we're setting it to (as seen with sirius.Address).
I also added a addDefaultCountry helper function to simplify the creation of the sirius.Draft object.
For VEGA-1892 #patch

Codecov Report
Patch coverage: 87.23% and project coverage change: -0.21 :warning:

Comparison is base (64eccfe) 73.15% compared to head (b9b8b3e) 72.94%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #345      +/-   ##
==========================================
- Coverage   73.15%   72.94%   -0.21%
==========================================
  Files          94       94
  Lines        3729     3689      -40
==========================================
- Hits         2728     2691      -37
+ Misses        719      715       -4
- Partials      282      283       +1

Impacted Files
Coverage Δ

internal/server/server.go
82.00% <ø> (ø)

internal/server/create_draft.go
87.85% <87.23%> (-1.27%)
:arrow_down:

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


text:
Contact Details
No response
What do you like to be improved?

[ ] route
[ ] view

Let's create a basic input. Styling will be improved later.

repo: mint-vernetzt/community-platform


text:
Showrss updated

ShowRss have updated their site so could you please adapt the changes so catch work with the new one?

Done in 1.9.3! If you're referring to the "Launch ShowRSS" menu item, please read #84 or https://docs.google.com/document/d/1DCWQ54Vd7GZO00yk9ljtbE-2D1TNeDWjm7oOXUPLvCY/edit?pref=2&pli=1

authors: mikaelkristiansson mipstian

repo: mipstian/catch


text:
Move nonnative/curve/ecdsa code to ecdsa module

No functional changes.
Uses the same trick as in the insertion module to keep the gadgets as CircuitBuilder methods, by adding CircuitBuilderCurve, CircuitBuilderGlv,... traits.

Thanks for doing that! I think it may be nice to move the U32 gates/gadgets as well, maybe into a plonky2_u32 crate, so that the "core" plonky2 crate only has the essentials needed for recursion.

authors: dlubarov wborgeaud


text:
Disable scroll to negative direction

How can I disable scroll in negative directions? In other case how can I limit scroll only in our maximum width and Height setting in RichCanvas?
Thank you.

So, as I understand you need to limit the scroll extent.
Right now that's not possible, but could be a new feature for the next version.
Let me know if I understood correctly.
Thanks

New version of library offers this kind of functionality.
If is not what you expected open another issue.

Hello,
With new version(v2.1) if we set EnableNegativeScrolling="False" the scroll go anyway in negative direction
Can you check it?
Thank you

Hello,
Can you please attach some screenshots or maybe explain in more detail what do you mean by negative scrolling?
To me negative scrolling means that the ScrollViewer's VerticalOffset property has a positive value.
Right now you cannot go pass the viewport while scrolling up.
Maybe you want to stop the negative scrolling instantly not when it hits the viewport bottom?
Thank you


text:
add a filter to webhooks query

This PR adds a filter section to webhooks query.

Here is the report for 96b70c0256dccd1bc4c66ab8850755bc6f7e9e3f (korycins/saleor @ fix/add_filter_to_webhooks)
Base comparison is a3b5c7d315d69fa7562b2a742b862e01ff4a4473.
No differences were found. (click me)

# api.benchmark checkout
  test name                                  	left count 	right count	duplicate count
  -------------------------------------------	-----------	-----------	---------------
  add billing address to checkout            	         34	         34	             20
  add shipping to checkout                   	          7	          7	              0
  checkout payment charge                    	         14	         14	              0
  complete checkout                          	          6	          6	              0
  create checkout                            	         48	         48	             24

# api.benchmark homepage
  test name                                  	left count 	right count	duplicate count
  -------------------------------------------	-----------	-----------	---------------
  retrieve main menu                         	          5	          5	              0
  retrieve product list                      	          4	          4	              0
  retrieve secondary menu                    	          5	          5	              0
  retrieve shop                              	          2	          2	              0

# api.benchmark product
  test name                                  	left count 	right count	duplicate count
  -------------------------------------------	-----------	-----------	---------------
  product details                            	         15	         15	              3
  retrieve product attributes                	         13	         13	              2

# api.benchmark variant
  test name                                  	left count 	right count	duplicate count
  -------------------------------------------	-----------	-----------	---------------
  retrieve variant list                      	         15	         15	              6

# api product sorting attributes
  test name                                  	left count 	right count	duplicate count
  -------------------------------------------	-----------	-----------	---------------
  sort product not having attribute data     	         21	         21	              0

authors: django-queries korycins

repo: mirumee/saleor


text:
Improve collection filter performance

I want to merge this change because it improves collection filter performance.
Search name/slug
before -> https://explain.dalibo.com/plan/HkQ
after -> https://explain.dalibo.com/plan/1Q8
"Is published" filter is already index scan -> https://explain.dalibo.com/plan/QgM

Impact

[ ] New migrations
[ ] New/Updated API fields or mutations
[ ] Deprecated API fields or mutations
[ ] Removed API types, fields, or mutations
[ ] Documentation needs to be updated

Pull Request Checklist

[ ] Privileged queries and mutations are guarded by proper permission checks
[ ] Database queries are optimized and the number of queries is constant
[ ] Database migration files are up to date
[ ] The changes are tested
[ ] GraphQL schema and type definitions are up to date
[ ] Changes are mentioned in the changelog

Task linked: SALEOR-3312 Refactor products filtering(except ProductFilter).

authors: CossackDex patrys


text:
Reduce the use of generics in functions to speed compilation

Currently, the compiler depends on AsyncRead, Unpin, and Debug in order to pass the code to be compiled to the lexer.
For emitting the compiler depends on AsyncWrite, Unpin, ?Sized, and Debug  to pass around the output.
Currently I am using the async types from futures, but I would like to simplify this to using a library type or trait that encompasses the same. My concern is that as it stands switching between async libraries for reading and writing as well as sync vs. async io is a huge pain.
Best to start with the read path as that is the least used.

Switch usage of async read and write to file struct instead that holds a Tokio file.

repo: misalcedo/tortuga


text:
Nach Änderung der XML Disconnect des Adapter.

Hallo der Adapter läuft soweit.
Wenn ich aber die VITO.XML ändere, etwas hinzufüge bricht die Verbindung ab.
Ich gehe so vor.

XML ändern.
Über Telnet in Vcontrold die neue XML einlesen.
Im IObroker Adapter neue XML einlesen.
Neu configurieren.
Sobald die erste Abfrage kommt. --> Disconnect.

Ich muss den Raspi neu starten.
Vcontrold mit Telnet kann ich noch die Daten abrufen.
Kann wer helfen?
mfg Manuel

Bitte den Adapter mal auf DEBUG stellen, und mir die Logs schicken wenn die Situation eintritt. Denke aber nicht das das Problem vom Adapter kommt.

Keine Antwort! close

Hallo,
Sorry das ich mich erst jetzt melde.
Ich denke auch das dass Problem bei vcontrold liegt.
Habe gerade keine zeit mich drum zu kümmern.
Melde mich nochmal fals ich nicht weiter kommen.
Danke
frohe Weihnachten
Am So., 20. Dez. 2020 um 19:56 Uhr schrieb misanorot <
notifications@github.com>:

Keine Antwort! close
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/misanorot/ioBroker.viessmann/issues/60#issuecomment-748646515,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARWNWSDZBS27OVYZNDBGN6LSVZCHFANCNFSM4T6VZ3TA
.


text:
detached rulesets aren't imported when using reference option

Normal less variables import as expected, but detached rulesets don't import. For example
@import ( reference ) "_detached-rulesets-test.less"
@_my_detached_ruleset();
.test_normal_variables {
    margin: unit( @_normal_variable_test, px );
}

and in _detached-rulesets-test.less
@_normal_variable_test: 26;
@_my_detached_ruleset: {
    BODY {
        margin: 10px;
    }
}

this gives the output
.test_normal_variables {
    margin: 26px;
}

ILess produces the same ouput as less.js 2.5.3...
The latest less.js has this fixed.
the bug was fixed in less.js in 2.6.0 (see https://raw.githubusercontent.com/less/less.js/master/CHANGELOG.md)
This might be the less.js PR: https://github.com/less/less.js/pull/2729
Any help on moving ILess forward would be very appreciated.

repo: mishal/iless


text:
Added translations to scope in order to be able to inject translated default texts

This can be used to translate 'Choose a timezone' to different languages.

Can you please add an example to the README of how this is used?

Added a css fix because the search input field was overlapping the right border and added an example to the readme.

Sorry for taking so long to merge this @karlhaas, been really busy. Awesome contribution!

Released on bower as v1.3.0

authors: ashokfernandez karlhaas

repo: mishguruorg/angular-timezone-selector


text:
Jms

[ ] JMS Configuration in Spring's ApplicationContext

[ ]

http://www.java2s.com/Code/Java/J2EE/ThisexampleisasimpleJMSclientapplication.htm

repo: mishin/life-mishinna


text:
Crefal - UAI rattachement FormaSup PACA

Lorsque la vue réseau sera développée :
Le Crefal ne souhaite pas que nous diffusions sur TDB les numéros UAI de leurs UFA.
Le seul numéro UAI à diffuser est 0754458N.
=> à décider : TDB = service à la carte pour chaque réseau ?

[ ] contacter M. Fidelis pour creuser le besoin

Souhait du réseau : à partir de la liste du fichier ci-dessous, créer une vue Réseau CREFAL :
Additionner les données de tous les UAI et les afficher l'UAI Responsable Campus Montsouris 0754458N
Et faire apparaitre la ventilation par UAI formateur
https://drive.google.com/drive/folders/1lSHT5Toqwu1BcCy7ggaV_C4zFtjtyf0P
contact : n.fidelis@cerfal.fr

mail envoyé le 15/03 via la boite support

authors: Anne-Camille nadinelouchart

repo: mission-apprentissage/flux-retour-cfas


text:
feat: désactivation temporaire du téléchargement de la liste des effectifs

fix : TM-688
Description

Désactivation temporaire du bouton de téléchargement de la liste des effectifs ( car confusion avec SIFA )
Tâche de réactivation : TM-689

Je suis d'accord pour le tooltip, ou même ajouter un bouton sifa sur la page d'effectifs qui renverrai vers le bon onglet


text:
🛑 Catalogue API is down

In f90b2f3, Catalogue API (https://catalogue.apprentissage.beta.gouv.fr/api) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Catalogue API is back up in e3c2d0a.

repo: mission-apprentissage/upptime


text:
🛑 API Apprentissage recette is down

In 4f513f8, API Apprentissage recette (https://api-recette.apprentissage.beta.gouv.fr/) was down:

HTTP code: 503
Response time: 682 ms

Resolved: API Apprentissage recette is back up in 1e27f6e after 9 minutes.


text:
kitti

Hello author, the Nuscenes dataset is too large for me. Is there a solution for kitti data？

Hi @kkrl1111,
We haven't tried KITTI yet. However if you feel nuScenes is too large you may also downsample the dataset by 2X or 4X during training. According some of my collaborators the accuracy on the downsampled nuScenes could be quite indicative. Hope that will help.
Best,
Haotian

repo: mit-han-lab/bevfusion


text:
Inability to connect to ipv6 websites through mitmproxy from ipv6 network.

Steps to reproduce the problem:

Follow instructions to setup transparent proxy on Linux on my own machine, substituting PREROUTING in the iptables ruleset with OUTPUT.
Run mitmdump --mode transparent
Navigate to ipv4 site (e.g. espn.com) and ipv6 site (e.g. facebook.com).

I've done this from two networks. On one network, I have an ipv6 address (according to http://test-ipv6.com/). On the other network, I do not have an ipv6 address.

ipv4 network: Able to connect to both espn.com and facebook.com
ipv6 network: Only able to connect to espn.com. Additionally, when I use http://test-ipv6.com after doing the first two steps above, the website can no longer find my ipv6 address.

On the ipv6 network, I receive a message saying the following:
Client connection was killed because allow_remote option is set to false, client IP was not a private IP and proxyauth was not set.
To allow remote connections set allow_remote option to true or set proxyauth option.
[2601:246:100:cefc:7da3:3d6c:6195:5f1f]:42868: Connection killed
[2601:246:100:cefc:7da3:3d6c:6195:5f1f]:42868: clientdisconnect

When I set the allow_remote option to be true (mitmproxy --mode transparent --set allow_remote=true), I now receive the following message:
[2601:246:100:cefc:7da3:3d6c:6195:5f1f]:57032: Transparent mode failure: FileNotFoundError(2, ‘No such file or directory’)

Any other comments? What have you tried so far?
I should try putting mitmproxy in a VM or Docker container. Then, I think I would instead have to use the PREROUTING chain. If the transparent proxy works from the VM/Docker container, this would indicate that the problem has to do with configuration when using the OUTPUT chain.
I think it's reasonable that mitmproxy should support ipv6 when run on your own computer. If we can figure out what the problem is, I'd be happy to submit a pull request to the Linux transparent proxy documentation with more explicit instructions on how to set up mitmproxy. Apologies if this is a better fit in discourse, but I think this issue at the very least reflects something which could be improved in the transparent proxy documentation.
One hacky option would be to shut down ipv6 altogether through configuration, but I haven't figured out how to make it work. Another possibility is that this has to do with router advertisements, but simply setting the accept_ra flag to be equal to two did not work for me.
System information
Mitmproxy: 3.0.0.dev1179 (commit 6d8731e)
Python:    3.6.4
OpenSSL:   OpenSSL 1.1.0g  2 Nov 2017
Platform:  Linux-4.4.0-21-generic-x86_64-with-debian-stretch-sid

Thanks for the fantastic write-up! The FileNotFoundError in transparent mode is a really weird one, because the only function that could trigger that is mitmproxy.platform.linux.original_addr, which doesn't open any files... Can you verify that this is indeed triggered by linux.py#L9?

I think I made an important omission in writing up the issue, which is that I've usually been passing a script to mitmproxy, and this write up is based off errors received when passing the script. So, it's more likely that this is being triggered here.
I'm pretty sure I also encountered problems when not passing the script, but I'm now I'm a bit less confident. I'll have access to the ipv6 network tonight, and I'll try it again with and without a script.

Not sure what your script does, but the code path for "Transparent mode failure" is pretty clear:

https://github.com/mitmproxy/mitmproxy/blob/568f40c810f4de60f10bd814608fde8268ef7733/mitmproxy/proxy/modes/transparent_proxy.py#L12-L15
https://github.com/mitmproxy/mitmproxy/blob/568f40c810f4de60f10bd814608fde8268ef7733/mitmproxy/platform/__init__.py#L20-L23
https://github.com/mitmproxy/mitmproxy/blob/568f40c810f4de60f10bd814608fde8268ef7733/mitmproxy/platform/linux.py#L8-L12

You're right - I got fixated on the FileNotFoundError, since the only place it shows up in the code is in script.py.
The script just adjusts the response for particular URLS.

So, I'm not entirely sure how to verify that it is being triggered by linux.py. Is there some sort of debug mode I can use to drop down to pdb in case of an error?
I have two additional things to report:

I followed these instructions to get my operating system to prefer ipv4 over ipv6. After following these instructions, I am now able to see in mitmproxy all the dual-stack websites such as facebook and instagram which I was previously not seeing.
One VPN claims that they "do not use ipv6 as the current implementations are insecure and could potentially compromise your privacy and security", and that "most VPN software fails to direct IPv6 traffic through the VPN tunnel, so when you connect to an IPv6 enabled website, your browser will make an IPv6 DNS request outside the VPN, which is therefore handled by your ISP". They don't really explain why they this occurs, but it's possible that whatever is inherent in ipv6 that makes its use difficult with VPNs is also the issue preventing its use as a transparent proxy. I really know very little about computer networks, so I'm just reasoning by induction.

So, I'm not entirely sure how to verify that it is being triggered by linux.py. Is there some sort of debug mode I can use to drop down to pdb in case of an error?

Assuming you have installed mitmproxy from source, the easiest form of debugging would be to add print statements in linux.py. pdb works as well of course, you can call that from an addon in mitmdump so that the UI is out of the way or use https://github.com/mitmproxy/mitmproxy/blob/master/examples/complex/remote_debug.py.
And no, there's no particular reason why IPv6 DNS should behave differently. It's very likely possible that our getsockopt call doesn't work for IPv6, but I'm quite confused why that triggers a FileNotFound.

Ah, it looks like @chadbrubaker was ahead of us: https://github.com/google/nogotofail/commit/c73070ca3098faab2994a83a9249d7c973151aa4.
Could you check if applying this fix solves it?

Oh cool! I'll get to this in the next few hours.

Getting this error when installing from source as per instructions:
+ echo Creating dev environment in ./venv...
Creating dev environment in ./venv...
+ python3 -m venv venv
 Error: Command '['/home/aniket/personal/other/mitmproxy/venv/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.

If I install the requirements from pipenv, will it still be the case that mitmproxy is installed as "editable" (so that it responds to my pdb entries)? I'll try it out...

I got the environment working. Here's what I tried - copying @chadbrubaker as closely as possible:
import socket
import struct

# Python socket module does not have this constant
SO_ORIGINAL_DST = 80

def original_addr(csock: socket.socket):
    family = csock.family
    if family == socket.AF_IFNET:
        odestdata = csock.getsockopt(socket.SOL_IP, SO_ORIGINAL_DST, 28)
    elif family == socket.AF_INET6:
        SOL_IPV6 = 41
        odestdata = csock.getsockopt(SOL_IPV6, SO_ORIGINAL_DST, 64)
    _, port, a1, a2, a3, a4 = struct.unpack("!HHBBBBxxxxxxxx", odestdata)
    address = "%d.%d.%d.%d" % (a1, a2, a3, a4)
    return address, port

I get an error saying 'socket' has no attribute 'AF_INET'. Any thoughts?

Also, when I stick a pdb.set_trace() inside linux.py, I'm able to find socket.AF_INET. Some sort of namespace error going on...

if family == socket.AF_IFNET: <- typo

Ok, this turned out to be much more of a rabbit hole than I expected. 🐇

sock.getsockopt(SOL_IPV6, SO_ORIGINAL_DST, 28) is generally the right thing we need to do to support IPv6.
Surprise: On IPv6 networks this now breaks IPv4 connections:
sock.family is AF_INET6, peername is an IPv4-mapped ::ffff:192.168.0.102, and the syscall fails.
If we observe an IPv4-mapped IPv6 address, we do need to use the original IPv4 syscall. 🙃
Biggest surprise: If we call getsockopt with arguments for the wrong address type, @aniketpanjwani can reliably crash his Python runtime. Example code:

    try:
        dst = sock.getsockopt(socket.SOL_IP, SO_ORIGINAL_DST, 16)
        print("IPv4: {}".format(dst))
        port, raw_ip = struct.unpack_from("!2xH4s", dst)
        ip = socket.inet_ntop(socket.AF_INET, raw_ip)
    except Exception:
        dst = sock.getsockopt(SOL_IPV6, SO_ORIGINAL_DST, 28)
        print("IPv4 failed, IPv6: {}".format(dst))
        port, raw_ip = struct.unpack_from("!2xH4x16s", dst)
        ip = socket.inet_ntop(socket.AF_INET6, raw_ip)

Overall, the solution seems to be something like this:

import socket
import struct
import typing

# Python's socket module does not have these constants
SO_ORIGINAL_DST = 80
SOL_IPV6 = 41

def original_addr(sock: socket.socket) -> typing.Tuple[str, int]:
    # Even if sock.family is AF_INET6, we can't be sure that we actually
    # need to call getsockopt(SOL_IPV6, SO_ORIGINAL_DST, 28):
    # For some reason we may have to deal with IPv4-mapped IPv6 addresses here,
    # in which case only the IPv4 getsockopt call works.
    # As an additional bonus, we can't just try the IPv4 one and then do IPv6 if that doesn't work,
    # because doing the wrong call apparently crashes the whole Python runtime.
    # As such, we use getsockname() as a heuristic to check if we need to go with IPv4.
    is_ipv4 = "." in sock.getsockname()[0]  # either 127.0.0.1 or ::ffff:127.0.0.1
    if is_ipv4:
        # the struct returned here should only have 8 bytes, but invoking with buflen=8 doesn't work.
        dst = sock.getsockopt(socket.SOL_IP, SO_ORIGINAL_DST, 16)
        port, raw_ip = struct.unpack_from("!2xH4s", dst)
        ip = socket.inet_ntop(socket.AF_INET, raw_ip)
    else:
        dst = sock.getsockopt(SOL_IPV6, SO_ORIGINAL_DST, 28)
        port, raw_ip = struct.unpack_from("!2xH4x16s", dst)
        ip = socket.inet_ntop(socket.AF_INET6, raw_ip)
    return ip, port

I'll check this tomorrow with a fresh mind and then add tests and submit a PR. Thanks again for the help debugging, @aniketpanjwani! 🍰

authors: aniketpanjwani mhils

repo: mitmproxy/mitmproxy


text:
Allow shorthands for command.Choice strings

Not feeling very strong about this, but this seems to be a useful addition to me.

Hmm. I think i'm a net negative on this one, and in fact I've been removing shortcuts from other places (like cut specifications). We now have tab completion on the command prompt. So, the user types the prefix, presses tab to complete and confirm that the option is valid, and then completes the command. I think that's clear and works well.
There are places where the user is prompted to choose an option in a popup. There I think work should be done in the popup selector to allow shortcut or keystroke selection.
Either way, I don't think this should be in the parser.

Fair enough, makes sense. Let's close this here!

authors: cortesi mhils


text:
initialization fails on Jython

as discussed on IRC:
Jython 2.5.3b1 (2.5:5fa0a5810b25, Feb 22 2012, 12:39:02)
[OpenJDK 64-Bit Server VM (Oracle Corporation)] on java1.7.0_03-icedtea
Type "help", "copyright", "credits" or "license" for more information.
>>> from flaskext.sqlalchemy import SQLAlchemy
>>> SQLAlchemy()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/fnd/jython/Lib/site-packages/flaskext/sqlalchemy.py", line 606, in __init__
    _include_sqlalchemy(self)
  File "/home/fnd/jython/Lib/site-packages/flaskext/sqlalchemy.py", line 81, in _include_sqlalchemy
    setattr(obj, key, getattr(module, key))
AttributeError: 'module' object has no attribute 'sys'

(tested with Jython v2.5.2 and v2.5.3b1)
Wrapping that line in a try ... except: pass seems to work fine (debugging shows that "sys" is the only key to throw that error).
some more data based on our IRC conversation:
Jython 2.5.3b1 (2.5:5fa0a5810b25, Feb 22 2012, 12:39:02)
[OpenJDK 64-Bit Server VM (Oracle Corporation)] on java1.7.0_03-icedtea
Type "help", "copyright", "credits" or "license" for more information.
>>> import sqlalchemy
>>> sqlalchemy.__all__
['BLOB', 'BOOLEAN', 'BigInteger', 'Binary', 'Boolean', 'CHAR', 'CLOB',
'CheckConstraint', 'Column', 'ColumnDefault', 'Constraint', 'DATE',
'DATETIME', 'DDL', 'DECIMAL', 'Date', 'DateTime', 'DefaultClause', 'Enum',
'FLOAT', 'FetchedValue', 'Float', 'ForeignKey', 'ForeignKeyConstraint',
'INT', 'INTEGER', 'Index', 'Integer', 'Interval', 'LargeBinary',
'MetaData', 'NCHAR', 'NUMERIC', 'NVARCHAR', 'Numeric', 'PassiveDefault',
'PickleType', 'PrimaryKeyConstraint', 'REAL', 'SMALLINT', 'Sequence',
'SmallInteger', 'String', 'TEXT', 'TIME', 'TIMESTAMP', 'Table', 'Text',
'ThreadLocalMetaData', 'Time', 'TypeDecorator', 'Unicode', 'UnicodeText',
'UniqueConstraint', 'VARCHAR', 'alias', 'and_', 'asc', 'between',
'bindparam', 'case', 'cast', 'collate', 'create_engine', 'delete', 'desc',
'distinct', 'engine_from_config', 'except_', 'except_all', 'exists',
'extract', 'func', 'insert', 'intersect', 'intersect_all', 'join',
'literal', 'literal_column', 'modifier', 'not_', 'null', 'or_',
'outerjoin', 'outparam', 'over', 'select', 'subquery', 'sys', 'text',
'tuple_', 'type_coerce', 'union', 'union_all', 'update']

Any update on this before I kill it?

💔

authors: FND immunda

repo: mitsuhiko/flask-sqlalchemy


text:
reloader crashing

Hi, I seem to be running into a Flask specific issue, here are the details:
operating system:
$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 14.04.1 LTS
Release:	14.04
Codename:	trusty

structure of package:
$ tree pantry
pantry
├── db.py
├── __init__.py
├── models
│   ├── food.py
│   └── __init__.py
└── run.py

The __init__.py files are empty.
error received:
$ pwd
/home/sam

$ python3.4 -m pantry.run
 * Running on http://127.0.0.1:5000/
 * Restarting with reloader
Traceback (most recent call last):
  File "/home/sam/pantry/run.py", line 2, in <module>
    from pantry.models.food import Food
ImportError: No module named 'pantry'

db.py:
from flask.ext.sqlalchemy import SQLAlchemy

db = SQLAlchemy()

food.py
from pantry.db import db

class Food(db.Model):

    id = db.Column(db.Integer, primary_key=True)
    name = db.Column(db.String(80), unique=True)
    amount = db.Column(db.Integer, unique=False)

    def __repr__(self):
        return '<Food %r>' % self.name

run.py
from flask import Flask, jsonify
from pantry.models.food import Food
from pantry.db import db
import json

app = Flask(__name__)
app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:////tmp/test.db'
db.init_app(app)

@app.route('/food', methods=['GET'])
def list_food():
    items = []
    for food in Food.query.all():
        item = {
            "name": food.name,
            "amount": food.amount,
        }
        items.append(item)
    return jsonify(items)

if __name__ == '__main__':
    app.run(debug=True)

Closing due to being a duplicate.

authors: untitaker uunsamp

repo: mitsuhiko/flask


text:
Added support for newtype variant redactions.

fix #138

Thanks!

authors: mitsuhiko zazabe

repo: mitsuhiko/insta


text:
Production ready?

Hi thanks for the crate - I wonder whether it is ready for production or is still under development or alpha?

Hm, I'd say rustimport is as production ready, as a small project like this can be. That is:

It's codebase is fairly clean, there is no major refactoring necessary and serious bugs are very unlikely
I do test all of the examples before releasing a new version (there are no unit tests yet though)
However, it has (at least to my knowledge) not really been battle-tested, given a popularity of about 50-60 pypi downloads per month and
though I'm motivated to fix bugs quickly I can't offer anything like professional support or guarantees for this project.

So, there's no major breaking changes or anything planned, code-quality wise, it should be pretty reliable and if you follow the Usage in production instructions, it should work fine for you.
However, if you prefer to go the safest and a bit more complex way, a tool like maturin might be better suited for you.

Thanks, I have tried it and it works great (except for some bugs) :)

Could you kindly tell me what bugs you found, so I might fix them? Thx

#6 indeed - and you have fixed it quickly! :)

authors: fzyzcjy mityax

repo: mityax/rustimport


text:
Clear variants and shownNotifications variable in reset function

@alex-hofsteede
In a kiosk situation, apps will call mixpanel.reset() at the end of every anonymous session. Currently, past variants are persisting through this reset. This is causing no new experiments to be displayed once one of each variant has been received. By including variants and shownNotifications in the reset we can allow AB tests to show the most recent variant that has been received from decide.

@alex-hofsteede any opinions as to whether this is a viable solution?

@jordanmnunez not sure this is enough. If there are variants running, we would need to cleanly stop them before just resetting self.variants, as they add all kinds of hooks into the UI code.

Problem also occurs in surveys.

Login as a some user (eg. UserX) and set MixpanelIdentify
Show and answer for some survey
Logout (via method reset)
Login as a other user (eg. UserY) and set MixpanelIdentify
Last survey (which seen only UserX) is marked as already answered

Probably array shownSurveyCollections need to be released, and bool decideResponseCached reset to NO.

@jordanmnunez @alex-hofsteede new issue about this today : https://github.com/mixpanel/mixpanel-iphone/issues/232#issuecomment-102010207

This should be resolved in #295

<3

authors: Grubas7 alex-hofsteede arittr jordanmnunez samgreen

repo: mixpanel/mixpanel-iphone


text:
Root password update 'password' column does not exist

Hi,
I bumped into an issue when applying the role on a Ubuntu Xenial 16.10 AMI on AWS. It seems that the 'password' column in MySQL 5.7 has changed to 'authentication_string'. The column is hardcoded in the "root_auth_plugin.yml" play. Solution could be a variable with a default filter to 'password'; or a default variable with 'password' value that can be overriden; and/or a detection of the installed MySQL version and auto-change the variable to 'authentication_string' when version is >= 5.7?

I updated the change of the auth plugin and released a new version. Can you check if it now works for you?

authors: huyby mjanser

repo: mjanser/ansible-role-mysql


text:
CLIs do not work anymore

This is what I get on the current version after make install from a ocrd-anybaseocr-crop --help:
Traceback (most recent call last):
  File "env3/bin/ocrd-anybaseocr-crop", line 6, in <module>
    from ocrd_anybaseocr.cli.cli import ocrd_anybaseocr_cropping
  File "env3/lib/python3.6/site-packages/ocrd_anybaseocr/cli/cli.py", line 4, in <module>
    from ocrd_anybaseocr.cli.ocrd_anybaseocr_binarize import OcrdAnybaseocrBinarizer
  File "env3/lib/python3.6/site-packages/ocrd_anybaseocr/cli/ocrd_anybaseocr_binarize.py", line 49, in <module>
    from ..utils import print_info, print_error
ModuleNotFoundError: No module named 'ocrd_anybaseocr.utils'

removed an old unnecessary file but missed to remove all links to it
should be fixed

Thanks – that did help!

authors: bertsky mjenckel

repo: mjenckel/OCR-D-LAYoutERkennung