Error doing php artisan migrate:rollback

After I did "php artisan migrate:generate test" the process generate pretty well the migration script. however, i tried to test "php artisan migrate:rollback" for delete the table and the console show me the error
[Symfony\Component\Debug\Exception\FatalThrowableError]
Class 'CreateTestTable' not found
But in the file everything looks good. This seems like a bug.

Looking in the documentation i get this https://laravel.com/docs/5.1/migrations. To solve the problem about class not found we can run "composer dump autoload" which re-generates classes in "\vendor\composer\autoload_classmap.php"


fix: add a check if the user has selected answers for all questions

As of now, a user can click on the Check Answers button without selecting answers for any question.
And if the user does this, then he gets all the answers right. We need to fix this ASAP

Hey can you assign me this issue ???

Sure!

Hi @Dharmik48, if this issue is open, could you please assign this to me?


TrelloAuthorization Exception

Dave Thomas (DaveTheThomas on BitBucket) wrote:

First of all thank you for your body of work and your willingness to support the community. I am new here so I will include some detail info without swamping this thread.

The basic issue is a TrelloAuthorization Exception after specifying TrelloAuthorization.Default.AppKey = "<mykey>";

Any help is appreciated

##Dave

Trello user:davethomas42

Nuget package versions for: Manatee.Trello (Manatee.Trello" version="1.8.2" targetFramework="net45") Manatee.Trello.ManateeJson (Manatee.Trello.ManateeJson" version="1.4.0" targetFramework="net45" ) Manatee.Json (Manatee.Json" version="3.2.1" targetFramework="net45" ) Manatee.Trello.RestSharp (Manatee.Trello.RestSharp" version="<IP_ADDRESS>" targetFramework="net45") RestSharp (Manatee.Trello.RestSharp" version="<IP_ADDRESS>" targetFramework="net45") Manatee.Trello.WebApi (Manatee.Trello.WebApi" version="1.0.1" targetFramework="net45" ) .Net framework version (Targets .NET framework 4.5)

Issue: Manatee.Trello.Exceptions.TrelloInteractionException' occurred in Manatee.Trello.dll Source:Manatee.Trello Message:Trello has reported an error with the request.

Occurs: @ TrelloAuthorization.Default.AppKey = "";

Detail: InnerException Message: One or more errors occurred. Inner Exception Stack snippet

at Manatee.Trello.Internal.ExceptionHandling.DebugLog.Error(Exception e, Boolean shouldThrow) in C:\Users\Greg\OneDrive\Projects\Manatee.Trello\Manatee.Trello\Internal\ExceptionHandling\DebugLog.cs:line 49 at Manatee.Trello.Internal.DataAccess.JsonRepository.ValidateResponse(IRestRequest request) in C:\Users\Greg\OneDrive\Projects\Manatee.Trello\Manatee.Trello\Internal\DataAccess\JsonRepository.cs:line 85 at Manatee.Trello.Internal.DataAccess.JsonRepository.ExecuteT in C:\Users\Greg\OneDrive\Projects\Manatee.Trello\Manatee.Trello\Internal\DataAccess\JsonRepository.cs:line 51 at Manatee.Trello.Me.GetId() in C:\Users\Greg\OneDrive\Projects\Manatee.Trello\Manatee.Trello\Me.cs:line 115 at Manatee.Trello.Me..ctor() in C:\Users\Greg\OneDrive\Projects\Manatee.Trello\Manatee.Trello\Me.cs:line 104 at Manatee.Trello.Member.get_Me() in C:\Users\Greg\OneDrive\Projects\Manatee.Trello\Manatee.Trello\Member.cs:line 61

InnerException.InnerException Message {"Cannot determine type. Path: '$'"}

InnerException.InnerException Stack Trace

at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) at Manatee.Trello.WebApi.WebApiFormatter.Deserialize(Type type, String content) in C:\Users\dthomas\Downloads\MANATEE API\gregsdennis-manatee.trello-31428d66c650\Manatee.Trello.WebApi\WebApiFormatter.cs:line 72 at Manatee.Trello.WebApi.WebApiFormatter.Read(Type type, Stream readStream) in C:\Users\dthomas\Downloads\MANATEE API\gregsdennis-manatee.trello-31428d66c650\Manatee.Trello.WebApi\WebApiFormatter.cs:line 59 at Manatee.Trello.WebApi.WebApiFormatter.<>cDisplayClass5_0.b0() in C:\Users\dthomas\Downloads\MANATEE API\gregsdennis-manatee.trello-31428d66c650\Manatee.Trello.WebApi\WebApiFormatter.cs:line 44

Dave Thomas, Thanks for using Manatee.Trello. There are a few things that can be the issue here.
First, you only need one REST provider, either Manatee.Trello.RestSharp or Manatee.Trello.WebApi, but not both. From the stack trace, it looks like you're using the WebApi version. You can get rid of the RestSharp one.
Second, Trello's responding with the error in plain text. The WebApi isn't set up to handle that yet. (I have another issue (#22) that I'll publish soon that will expose the exact error that Trello's returning to make these issues easier to debug.) For now you can capture the problem with a network traffic monitor like Fiddler.
It's likely that the problem is that you don't have a valid token. Please read the "More on Authorization" section on the Usage wiki page.
Let me know if that helps.

Dave Thomas I've published that update that'll allow you to see the errors that Trello returns. Please update and send me the logging output.

Dave Thomas (DaveTheThomas on BitBucket) wrote:

Greg, I would like to remove this from the bugs list. I tried the auth method described in the (more) section but after all (and fitzing with various tokens) this worked

       TrelloAuthorization.Default.AppKey = "<mykey>;

         try
         {
            TrelloAuthorization.Default.UserToken = "<mytoken>";
         }
          catch { //do some notification
                      return; }

I also went into trello and deleted all applications from the list and went to (https://trello.com/1/authorize?key=&name=My+Application&expiration=1day&response_type=token&scope=read,write)

Just getting all the noobishness out of the way. Just sayin'

btw I did update the Nuget package for WebApi

Please remove "bug" or mark appropriately

Dave Thomas (DaveTheThomas on BitBucket) wrote:

Now all I have to do is learn how to enumerate comments ... searching docs ;)

There shouldn't be any exceptions thrown from assigning those TrelloAuthorization properties. Those are just regular properties. There's no logic behind them.
It will, however, throw an exception when you try to make a call.


"Cătina" is listed in the drop-down menu

Description:
"Cătina" is listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "Cătina" in the search bar.

Expected results
The location is listed in the drop-down menu as "Cătina, Buzău".


Feature Request: NOOP

I'm using
cmd - h : /bin/echo "foo"

To stop the native Hide Window. It would be nice if there was a NOOP method to do this, explicitly. Maybe, as a suggestion,
cmd -h : __NOOP__

Or we could do something like blacklist,
.dump {

}

Your shell has a built-in noop, it's called true.
cmd - h : true

Is this a shell script, or does it compile to something that calls execve('/bin/true')

skhd just does $SHELL -c <command>" when you press a key associated with a command, where the command is everything after the :.

I don't think we need special syntax for this. Closing for now.


Examples for sendMutation

I'm new to both GraphQL and elm-graphql so I'm kinda stuck with building a simple mutation request and decoding the response like this
mutation {
  signinUser(email: {email<EMAIL_ADDRESS>password: "somepassword" }) {
    token
  }
}

It'd be great to see an example in the docs or inside the /examples folder :)

Here's an example that could help:
import GraphQL.Request.Builder as B exposing (SelectionSpec, Field)
import GraphQL.Request.Builder.Arg as Arg
import GraphQL.Request.Builder.Variable as Var
import GraphQL.Client.Http as GraphQLClient

storyTask : B.ValueSpec B.NonNull B.ObjectType StoryTask vars
storyTask =
    B.object StoryTask
        |> B.with (B.field "id" [] B.id)
        |> B.with (B.field "label" [] B.string)

deleteTaskQuery : B.Document B.Mutation StoryTask { vars | taskID : String }
deleteTaskQuery =
    let
        taskIDVar =
            Var.required "taskID" .taskID Var.id

        variables =
            [ ( "id", Arg.variable taskIDVar ) ]
    in
        B.field "deleteTask" variables storyTask
            |> B.extract
            |> B.mutationDocument

deleteTaskRequest : Id -> B.Request B.Mutation StoryTask
deleteTaskRequest id =
    deleteTaskQuery
        |> B.request { taskID = id }

For reference here's the GraphQL mutation below:
    mutation($taskID: ID!) {
      deleteTask(id: $taskID) {
      id
      label
    }
  }

Yeah thanks for bringing this up @gothy, mutations need examples of their own. Basically all you need to know is: they are built up in exactly the same way as queries, except that you wrap up your ValueSpec in a call to mutationDocument instead of queryDocument. Everything else works the same. Your signInUser example could be written rather verbosely like this:

type alias SignInUserMutationRoot =
    { signInUser : SignInUserPayload
    }

type alias SignInUserPayload =
    { token : String
    }

signInUserMutation : Document Mutation SignInUserMutationRoot vars
signInUserMutation =
    let
        args =
            [ ( "email"
              , Arg.object
                    [ ( "email", Arg.string<EMAIL_ADDRESS>)
                    , ( "password", Arg.string "somepassword" )
                    ]
              )
            ]

        responsePayload =
            object SignInUserPayload
                |> with (field "token" [] string)

        mutationRoot =
            object SignInUserMutationRoot
                |> with (field "signInUser" args responsePayload)
    in
        mutationDocument mutationRoot

Notice that all the same functions are used to represent the selection sets of the mutation in the same way that you do for queries. The only difference is the mutationDocument call at the end.
I made the example verbose to make it more obvious what's going on, but since you only have one field in each level of nesting in the response, you can do a way with the record types and extract the token and decode it on its own as a String:
signInUserMutation : Document Mutation String vars
signInUserMutation =
    mutationDocument
        (extract
            (field "signInUser"
                [ ( "email"
                  , Arg.object
                        [ ( "email", Arg.string<EMAIL_ADDRESS>)
                        , ( "password", Arg.string "somepassword" )
                        ]
                  )
                ]
                (extract
                    (field "token" [] string)
                )
            )
        )

Thank you both @mathieul and @jamesmacaulay 😄
@jamesmacaulay  should I close this or let it hang around as a reminder for you to add some docs? 😄

You can leave it as a reminder 👍

Added mutation examples to tests, docs, and readme.


Can Visual Studio 2022 be supported?

is it not?

It doesn't support VS2022 now, it found vswhere as below
vswhere_exe = '%ProgramFiles(x86)%\\Microsoft Visual Studio\\Installer\\vswhere.exe'

but VS2022 in 64 bit, it should be something like
vswhere_exe = '%ProgramFiles%\\Microsoft Visual Studio\\Installer\\vswhere.exe'

is it not?

As the log shows, VS2022 is not supported by chromium now.


chore: update settings.py

overriden -> overridden

Pesky LLMs, always misspelling things.
Thank you!


missing quotes on windows installation

Just a small fix on readme.
keep up the good work :)

Thanks, nice catch


Is there View and Open in Android?

Hello!
One question. If I have the installed in android, what is supposed I have to see in the banner? View (that opens the app store)? or Open (that opens the app directly)?
I ask this question because I have installed my app in my android but when I open the website, I see VIEW, if I press it, I see the app store, that says open because, well, my app is installed.
Thanks.

I have same problem on android.I don't want to show smart banner when i already have installed my app in my android.
is it possible?

This is probably not possible due to (good) security limitations, meaning arbitrary javascript running in the browser can't read a list of installed apps on a device. But for individual apps, a workaround may be possible: http://stackoverflow.com/a/12901352

Thanks @geerlingguy for answering this question


add translater

Related Issue
None
Fixes:  #4053
Description
Added translater in the audio page of your website.
#4053
Type of PR

[ ] Bug fix
[ ] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Screenshots / videos (if applicable)

Checklist:

[x] I have made this change from my own.
[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers and screenshots after making the changes.

https://github.com/user-attachments/assets/e6fafa00-2dd8-41fc-9835-7a14a5a77237
there are some size issue . fix it .

Ok

add this translate button on all pages .
u may work on this issue and raise pr . will increase the level for it .

ok i have to add this in all pages and then make pr again @abhi03ruchi

this pr is closed?? @abhi03ruchi

yes this pr is closed as u have resolved the issue .
create another issue ( adding translator in all pages) and raise new pr then

Ok

hello @abhi03ruchi
i have to create two pr because there are lots of pages in your website and so many error so that you can give me level 3 in the separate pr because i have make many changes in every pages of your website
can i do this??

ya sure .

ok

hello @abhi03ruchi
i have commit  but there is no option for pr creation
please help me

create a new issue ( add translation effect ) and then raise pr .


Add Tutorial for LOJ-1266: Points in Rectangle (en)

super easy explanation

@rebornplusplus  please checkout my response according to your feedback

@rebornplusplus I am requesting you to check it again . Changes done based on your feedback .


Remove: webhook admission of annotation(not in used anymore)

/retest

/hold

/hold

/close
Since the placementrule is still in used, we should also keep this feature at the point of time.


Search in multiple docx gave only one result

Hi,
I tried searching in multiple docx files but it showed me only one result in window although there are several ones which contains the word 'Surname'. The popup also showed there are 29 entries found (the first docx has 3 occurencies).
I use Windows version 0.0.1.
BR,
smugg

Thanks for the report, please can you attach a minimal example file which has this issue

Unfortunatelly I cannot provide you these files. That's pretty tricky. I found that .docx files downloaded from sharepoint in zip file and extracted to folder are the reason. When I opened one and re-saved, then it appears as the second one in result. But what's more interesting is that the second file now in result is changing upon Dig! button clicking - see gif file. But still only two files are shown instead of all.


Hide popups initially

Fixes #24737

#24737 seems to be a regression (it worked fine in 3.0.x), so it would be good to know why such a call would now be needed.

Seems like hiding nodes before adding them to the tree does not work.
https://github.com/godotengine/godot/blob/940392735ecff936898fd3aa25e013eda3569d3a/scene/gui/popup.cpp#L226
I didn't notice this hide() call before.


PacketBuffer relies on full-sized 1280 MTU pBufs

One of the most interesting aspects of the PacketBuffer class is the possibility of allocating space in buffers roughly proportional to the size of the packet through the use of chained smaller buffers. This is an important feature for devices with small memory footprints and a limited buffer pool. However, in Thread builds (EFR32MG21 target) it currently uses PBUF_POOL_BUFSIZE of a full MTU 1280. When trying to decrease the size, the BLE provisioning flow fails after completing SPAKE2+ handshake
Logs from chip-device-ctrl
chip-device-ctrl > connect -ble 3840 073141520 12344321
Device is assigned with nodeid = 12344321
[1624634131.073483][2413930] CHIP:SC: Assigned local session key ID 0
[1624634131.073707][2413962] CHIP:DL: TRACE: Bluez mainloop starting Thread
[1624634131.073738][2413930] CHIP:IN: Message appended to BLE send queue
[1624634131.073968][2413930] CHIP:SC: Sent PBKDF param request
[1624634131.073983][2413934] CHIP:DL: TRACE: Bus acquired for name C-d56a
[1624634131.074110][2413930] CHIP:CTL: SyncSetKeyValue on StartKeyID
[1624634131.085308][2413939] CHIP:DL: PlatformBlueZInit init success
[1624634131.090596][2413934] CHIP:BLE: BLE removing known devices.
[1624634131.090663][2413934] CHIP:BLE: BLE initiating scan.
[1624634131.131979][2413934] CHIP:BLE: Device 2C:41:A1:CD:4E:07 does not look like a CHIP device.
[1624634131.134469][2413934] CHIP:BLE: New device scanned: 51:84:90:90:60:FE
[1624634131.134535][2413934] CHIP:BLE: Device discriminator match. Attempting to connect.
[1624634131.139405][2413934] CHIP:BLE: Scan complete notification without an active scan.
[1624634131.259774][2413934] CHIP:DL: ConnectDevice complete
[1624634132.744466][2413934] CHIP:DL: Char1 /org/bluez/hci0/dev_51_84_90_90_60_FE/service0015
[1624634132.744523][2413934] CHIP:DL: Char1 /org/bluez/hci0/dev_51_84_90_90_60_FE/service0018
[1624634132.744563][2413934] CHIP:DL: Char1 /org/bluez/hci0/dev_51_84_90_90_60_FE/service0015
[1624634132.744589][2413934] CHIP:DL: Char1 /org/bluez/hci0/dev_51_84_90_90_60_FE/service0018
[1624634132.744619][2413934] CHIP:DL: Char1 /org/bluez/hci0/dev_51_84_90_90_60_FE/service0015
[1624634132.744644][2413934] CHIP:DL: Char1 /org/bluez/hci0/dev_51_84_90_90_60_FE/service0018
[1624634132.744676][2413934] CHIP:DL: Char1 /org/bluez/hci0/dev_51_84_90_90_60_FE/service0018
[1624634132.744701][2413934] CHIP:DL: Char1 /org/bluez/hci0/dev_51_84_90_90_60_FE/service0018
[1624634132.744732][2413934] CHIP:DL: Char1 /org/bluez/hci0/dev_51_84_90_90_60_FE/service0018
[1624634132.744756][2413934] CHIP:DL: Char1 /org/bluez/hci0/dev_51_84_90_90_60_FE/service0018
[1624634132.744790][2413934] CHIP:DL: Char1 /org/bluez/hci0/dev_51_84_90_90_60_FE/service0001
[1624634132.744814][2413934] CHIP:DL: Char1 /org/bluez/hci0/dev_51_84_90_90_60_FE/service0018
[1624634132.744880][2413934] CHIP:DL: Char1 /org/bluez/hci0/dev_51_84_90_90_60_FE/service0001
[1624634132.744905][2413934] CHIP:DL: Char1 /org/bluez/hci0/dev_51_84_90_90_60_FE/service0018
[1624634132.744966][2413934] CHIP:DL: Char1 /org/bluez/hci0/dev_51_84_90_90_60_FE/service0001
[1624634132.744991][2413934] CHIP:DL: Char1 /org/bluez/hci0/dev_51_84_90_90_60_FE/service0018
[1624634132.745054][2413934] CHIP:DL: Char1 /org/bluez/hci0/dev_51_84_90_90_60_FE/service000e
[1624634132.745079][2413934] CHIP:DL: Char1 /org/bluez/hci0/dev_51_84_90_90_60_FE/service0018
[1624634132.745123][2413934] CHIP:DL: Char1 /org/bluez/hci0/dev_51_84_90_90_60_FE/service000e
[1624634132.745147][2413934] CHIP:DL: Char1 /org/bluez/hci0/dev_51_84_90_90_60_FE/service0018
[1624634132.745176][2413934] CHIP:DL: Char1 /org/bluez/hci0/dev_51_84_90_90_60_FE/service000e
[1624634132.745200][2413934] CHIP:DL: Char1 /org/bluez/hci0/dev_51_84_90_90_60_FE/service0018
[1624634132.745231][2413934] CHIP:DL: Char1 /org/bluez/hci0/dev_51_84_90_90_60_FE/service0001
[1624634132.745255][2413934] CHIP:DL: Char1 /org/bluez/hci0/dev_51_84_90_90_60_FE/service0018
[1624634132.745284][2413934] CHIP:DL: Char1 /org/bluez/hci0/dev_51_84_90_90_60_FE/service0001
[1624634132.745308][2413934] CHIP:DL: Char1 /org/bluez/hci0/dev_51_84_90_90_60_FE/service0018
[1624634132.745336][2413934] CHIP:DL: Char1 /org/bluez/hci0/dev_51_84_90_90_60_FE/service0001
[1624634132.745359][2413934] CHIP:DL: Char1 /org/bluez/hci0/dev_51_84_90_90_60_FE/service0018
[1624634132.745393][2413934] CHIP:DL: Char1 /org/bluez/hci0/dev_51_84_90_90_60_FE/service000e
[1624634132.745417][2413934] CHIP:DL: Char1 /org/bluez/hci0/dev_51_84_90_90_60_FE/service0018
[1624634132.745444][2413934] CHIP:DL: Char1 /org/bluez/hci0/dev_51_84_90_90_60_FE/service000e
[1624634132.745468][2413934] CHIP:DL: Char1 /org/bluez/hci0/dev_51_84_90_90_60_FE/service0018
[1624634132.745495][2413934] CHIP:DL: Char1 /org/bluez/hci0/dev_51_84_90_90_60_FE/service000e
[1624634132.745519][2413934] CHIP:DL: Char1 /org/bluez/hci0/dev_51_84_90_90_60_FE/service0018
[1624634132.745555][2413934] CHIP:DL: Char1 /org/bluez/hci0/dev_51_84_90_90_60_FE/service0001
[1624634132.745580][2413934] CHIP:DL: Char1 /org/bluez/hci0/dev_51_84_90_90_60_FE/service0018
[1624634132.745608][2413934] CHIP:DL: Char1 /org/bluez/hci0/dev_51_84_90_90_60_FE/service0001
[1624634132.745630][2413934] CHIP:DL: Char1 /org/bluez/hci0/dev_51_84_90_90_60_FE/service0018
[1624634132.745651][2413934] CHIP:DL: Char1 /org/bluez/hci0/dev_51_84_90_90_60_FE/service0001
[1624634132.745668][2413934] CHIP:DL: Char1 /org/bluez/hci0/dev_51_84_90_90_60_FE/service0018
[1624634132.745692][2413934] CHIP:DL: Char1 /org/bluez/hci0/dev_51_84_90_90_60_FE/service000e
[1624634132.745710][2413934] CHIP:DL: Char1 /org/bluez/hci0/dev_51_84_90_90_60_FE/service0018
[1624634132.745730][2413934] CHIP:DL: Char1 /org/bluez/hci0/dev_51_84_90_90_60_FE/service000e
[1624634132.745810][2413934] CHIP:DL: Char1 /org/bluez/hci0/dev_51_84_90_90_60_FE/service0018
[1624634132.745835][2413934] CHIP:DL: Char1 /org/bluez/hci0/dev_51_84_90_90_60_FE/service000e
[1624634132.745853][2413934] CHIP:DL: Char1 /org/bluez/hci0/dev_51_84_90_90_60_FE/service0018
[1624634132.745879][2413934] CHIP:DL: Char1 /org/bluez/hci0/dev_51_84_90_90_60_FE/service0018
[1624634132.745897][2413934] CHIP:DL: Char1 /org/bluez/hci0/dev_51_84_90_90_60_FE/service0018
[1624634132.745924][2413934] CHIP:DL: New BLE connection 0xffffa8040ff0, device 51:84:90:90:60:FE, path /org/bluez/hci0/dev_51_84_90_90_60_FE
[1624634132.746052][2413939] CHIP:DL: HandlePlatformSpecificBLEEvent 16385
[1624634132.746083][2413939] CHIP:IN: BleConnectionComplete: endPoint 0xffffb3584ff8
[1624634133.257232][2413939] CHIP:DL: HandlePlatformSpecificBLEEvent 16387
[1624634133.355113][2413938] CHIP:DL: HandlePlatformSpecificBLEEvent 16388
[1624634133.355189][2413938] CHIP:BLE: subscribe complete, ep = 0xffffb3584ff8
[1624634133.355342][2413934] CHIP:DL: Indication received, conn = 0xffffa8040ff0
[1624634133.355466][2413939] CHIP:DL: HandlePlatformSpecificBLEEvent 16389
[1624634133.355630][2413939] CHIP:BLE: peripheral chose BTP version 3; central expected between 2 and 3
[1624634133.355671][2413939] CHIP:BLE: using BTP fragment sizes rx 20 / tx 128.
[1624634133.355742][2413939] CHIP:BLE: local and remote recv window size = 3
[1624634133.355913][2413939] CHIP:IN: BLE EndPoint 0xffffb3584ff8 Connection Complete
[1624634133.452056][2413939] CHIP:DL: HandlePlatformSpecificBLEEvent 16387
[1624634134.720608][2413934] CHIP:DL: Indication received, conn = 0xffffa8040ff0
[1624634134.720861][2413938] CHIP:DL: HandlePlatformSpecificBLEEvent 16389
[1624634134.867025][2413934] CHIP:DL: Indication received, conn = 0xffffa8040ff0
[1624634134.867288][2413938] CHIP:DL: HandlePlatformSpecificBLEEvent 16389
[1624634134.963741][2413939] CHIP:DL: HandlePlatformSpecificBLEEvent 16387
[1624634134.964414][2413934] CHIP:DL: Indication received, conn = 0xffffa8040ff0
[1624634134.964635][2413938] CHIP:DL: HandlePlatformSpecificBLEEvent 16389
[1624634135.061633][2413934] CHIP:DL: Indication received, conn = 0xffffa8040ff0
[1624634135.061854][2413939] CHIP:DL: HandlePlatformSpecificBLEEvent 16389
[1624634135.158700][2413938] CHIP:DL: HandlePlatformSpecificBLEEvent 16387
[1624634135.159120][2413934] CHIP:DL: Indication received, conn = 0xffffa8040ff0
[1624634135.159360][2413938] CHIP:DL: HandlePlatformSpecificBLEEvent 16389
[1624634135.159605][2413938] CHIP:EM: Received message of type 33 and protocolId 0 on exchange 39017
[1624634135.159738][2413938] CHIP:SC: Received PBKDF param response
[1624634135.163031][2413938] CHIP:SC: Sent spake2p msg1
[1624634135.256275][2413938] CHIP:DL: HandlePlatformSpecificBLEEvent 16387
[1624634135.256760][2413934] CHIP:DL: Indication received, conn = 0xffffa8040ff0
[1624634135.257051][2413939] CHIP:DL: HandlePlatformSpecificBLEEvent 16389
[1624634137.839876][2413939] CHIP:DL: HandlePlatformSpecificBLEEvent 16387
[1624634140.716768][2413934] CHIP:DL: Indication received, conn = 0xffffa8040ff0
[1624634140.716989][2413938] CHIP:DL: HandlePlatformSpecificBLEEvent 16389
[1624634140.814490][2413934] CHIP:DL: Indication received, conn = 0xffffa8040ff0
[1624634140.814753][2413939] CHIP:DL: HandlePlatformSpecificBLEEvent 16389
[1624634140.911193][2413938] CHIP:DL: HandlePlatformSpecificBLEEvent 16387
[1624634140.912105][2413934] CHIP:DL: Indication received, conn = 0xffffa8040ff0
[1624634140.912324][2413938] CHIP:DL: HandlePlatformSpecificBLEEvent 16389
[1624634141.009595][2413934] CHIP:DL: Indication received, conn = 0xffffa8040ff0
[1624634141.009829][2413938] CHIP:DL: HandlePlatformSpecificBLEEvent 16389
[1624634141.106131][2413939] CHIP:DL: HandlePlatformSpecificBLEEvent 16387
[1624634141.106884][2413934] CHIP:DL: Indication received, conn = 0xffffa8040ff0
[1624634141.107114][2413938] CHIP:DL: HandlePlatformSpecificBLEEvent 16389
[1624634141.204615][2413934] CHIP:DL: Indication received, conn = 0xffffa8040ff0
[1624634141.204883][2413938] CHIP:DL: HandlePlatformSpecificBLEEvent 16389
[1624634141.301322][2413938] CHIP:DL: HandlePlatformSpecificBLEEvent 16387
[1624634141.301913][2413934] CHIP:DL: Indication received, conn = 0xffffa8040ff0
[1624634141.302201][2413939] CHIP:DL: HandlePlatformSpecificBLEEvent 16389
[1624634141.302364][2413939] CHIP:EM: Received message of type 35 and protocolId 0 on exchange 39017
[1624634141.302445][2413939] CHIP:SC: Received spake2p msg2
[1624634141.302493][2413939] CHIP:SC: Peer assigned session key ID 0
[1624634141.305530][2413939] CHIP:SC: Sent spake2p msg3
[1624634141.305676][2413939] CHIP:IN: New pairing for device 0x0000000000bc5c01, key 0!!
[1624634141.305812][2413939] CHIP:CTL: Remote device completed SPAKE2+ handshake

[1624634141.305891][2413939] CHIP:CTL: Sending OpCSR request to 0x2ee96908 device
[1624634141.306200][2413939] CHIP:DMG: ICR moving to [Initialize]
[1624634141.306285][2413939] CHIP:DMG: ICR moving to [AddCommand]
[1624634141.306510][2413939] CHIP:IN: Secure message was encrypted: Msg ID 0
[1624634141.306575][2413939] CHIP:IN: Sending msg from 0x000000000001B669 to 0x0000000000BC5C01 at utc time: 270487254 msec
[1624634141.306628][2413939] CHIP:IN: Sending secure msg on generic transport
[1624634141.306683][2413939] CHIP:IN: Secure msg send status No Error
[1624634141.306730][2413939] CHIP:DMG: ICR moving to [   Sending]
[1624634141.306778][2413939] CHIP:CTL: Sent OpCSR request, waiting for the CSR
[1624634141.398720][2413938] CHIP:DL: HandlePlatformSpecificBLEEvent 16387
[1624634141.399243][2413934] CHIP:DL: Indication received, conn = 0xffffa8040ff0
[1624634141.399479][2413939] CHIP:DL: HandlePlatformSpecificBLEEvent 16389
[1624634141.495880][2413939] CHIP:DL: HandlePlatformSpecificBLEEvent 16387
[1624634143.982568][2413938] CHIP:DL: HandlePlatformSpecificBLEEvent 16387
[1624634143.983094][2413934] CHIP:DL: Indication received, conn = 0xffffa8040ff0
[1624634143.983302][2413939] CHIP:DL: HandlePlatformSpecificBLEEvent 16389
[1624634146.566279][2413938] CHIP:DL: HandlePlatformSpecificBLEEvent 16387
[1624634149.052920][2413934] CHIP:DL: Indication received, conn = 0xffffa8040ff0
[1624634149.053189][2413939] CHIP:DL: HandlePlatformSpecificBLEEvent 16389
[1624634151.636326][2413938] CHIP:DL: HandlePlatformSpecificBLEEvent 16387
[1624634153.308329][2413938] CHIP:DMG: Time out! failed to receive invoke command response from Exchange: 39018
[1624634153.308497][2413938] CHIP:ZCL: DefaultResponse:
[1624634153.308555][2413938] CHIP:ZCL:   Transaction: 0xffffb35833b8
[1624634153.308603][2413938] CHIP:ZCL:   status: EMBER_ZCL_STATUS_FAILURE (0x01)
[1624634153.308654][2413938] CHIP:CTL: Device failed to receive the CSR request Response: 0x01
[1624634153.308736][2413938] CHIP:CTL: SyncSetKeyValue on StartKeyID
[1624634153.308931][2413938] CHIP:CTL: SyncSetKeyValue on PairedDevicebc5c01
Failed to establish secure session to device: 4172
[1624634153.309498][2413938] CHIP:DMG: ICR moving to [Uninitiali]
CHIP Error 4172 (0x0000104C): Internal error
chip-device-ctrl > [1624634154.122735][2413934] CHIP:DL: Indication received, conn = 0xffffa8040ff0
[1624634154.122982][2413939] CHIP:DL: HandlePlatformSpecificBLEEvent 16389
[1624634156.706264][2413938] CHIP:DL: HandlePlatformSpecificBLEEvent 16387
[1624634159.193031][2413934] CHIP:DL: Indication received, conn = 0xffffa8040ff0
[1624634159.193290][2413939] CHIP:DL: HandlePlatformSpecificBLEEvent 16389
[1624634161.776445][2413939] CHIP:DL: HandlePlatformSpecificBLEEvent 16387

Logs from device (Jlink RTT)
00> <info  > [DL] Connect Event for handle : 1
00> <info  > [DL] Char Write Req, char : 26
00> <detail> [DL] Write request/command received for CHIPoBLE RX characteristic (con 1, len 9)
00> <info  > [DL] _OnPlatformEvent kCHIPoBLEWriteReceived
00> <info  > [BLE] local and remote recv window sizes = 3
00> <info  > [BLE] selected BTP version 3
00> <info  > [BLE] using BTP fragment sizes rx 128 / tx 20.
00> <info  > [DL] CHIPoBLE subscribe received
00> <info  > [DL] _OnPlatformEvent kCHIPoBLESubscribe
00> <detail> [IN] BLE EndPoint 0x2000e2d8 Connection Complete
00> <info  > [DL] _OnPlatformEvent default:  event->Type = 32777
00> <info  > [DL] Tx Confirmation received
00> <info  > [DL]  stop soft timer
00> <info  > [DL] _OnPlatformEvent kCHIPoBLEIndicateConfirm
00> <info  > [DL] Char Write Req, char : 26
00> <detail> [DL] Write request/command received for CHIPoBLE RX characteristic (con 1, len 51)
00> <info  > [DL] _OnPlatformEvent kCHIPoBLEWriteReceived
00> <info  > [EM] Received message of type 32 and protocolId 0 on exchange 39017
00> <detail> [EM] ec id: 39017, Delegate: 0x20010508
00> <detail> [SC] Received PBKDF param request
00> <detail> [SC] Sent PBKDF param response
00> <error > [DL] Long dispatch time: 1282 ms
00> <info  > [DL] Tx Confirmation received
00> <info  > [DL]  stop soft timer
00> <info  > [DL] _OnPlatformEvent kCHIPoBLEIndicateConfirm
00> <info  > [DL] Tx Confirmation received
00> <info  > [DL]  stop soft timer
00> <info  > [DL] Char Write Req, char : 26
00> <detail> [DL] Write request/command received for CHIPoBLE RX characteristic (con 1, len 3)
00> <info  > [DL] _OnPlatformEvent kCHIPoBLEIndicateConfirm
00> <info  > [DL] _OnPlatformEvent kCHIPoBLEWriteReceived
00> <info  > [DL] Tx Confirmation received
00> <info  > [DL]  stop soft timer
00> <info  > [DL] _OnPlatformEvent kCHIPoBLEIndicateConfirm
00> <info  > [DL] Tx Confirmation received
00> <info  > [DL]  stop soft timer
00> <info  > [DL] Char Write Req, char : 26
00> <detail> [DL] Write request/command received for CHIPoBLE RX characteristic (con 1, len 3)
00> <info  > [DL] _OnPlatformEvent kCHIPoBLEIndicateConfirm
00> <info  > [DL] _OnPlatformEvent kCHIPoBLEWriteReceived
00> <info  > [DL] Tx Confirmation received
00> <info  > [DL]  stop soft timer
00> <info  > [DL] _OnPlatformEvent kCHIPoBLEIndicateConfirm
00> <info  > [DL] Char Write Req, char : 26
00> <detail> [DL] Write request/command received for CHIPoBLE RX characteristic (con 1, len 86)
00> <info  > [DL] _OnPlatformEvent kCHIPoBLEWriteReceived
00> <info  > [EM] Received message of type 34 and protocolId 0 on exchange 39017
00> <detail> [SC] Received spake2p msg1
00> <detail> [SC] Peer assigned session key ID 0
00> <detail> [SC] Sent spake2p msg2
00> <error > [DL] Long dispatch time: 5470 ms
00> <info  > [DL] Tx Confirmation received
00> <info  > [DL]  stop soft timer
00> <info  > [DL] Char Write Req, char : 26
00> <detail> [DL] Write request/command received for CHIPoBLE RX characteristic (con 1, len 3)
00> <info  > [DL] _OnPlatformEvent kCHIPoBLEIndicateConfirm
00> <info  > [DL] _OnPlatformEvent kCHIPoBLEWriteReceived
00> <info  > [DL] Tx Confirmation received
00> <info  > [DL]  stop soft timer
00> <info  > [DL] _OnPlatformEvent kCHIPoBLEIndicateConfirm
00> <info  > [DL] Tx Confirmation received
00> <info  > [DL]  stop soft timer
00> <info  > [DL] Char Write Req, char : 26
00> <detail> [DL] Write request/command received for CHIPoBLE RX characteristic (con 1, len 3)
00> <info  > [DL] _OnPlatformEvent kCHIPoBLEIndicateConfirm
00> <info  > [DL] _OnPlatformEvent kCHIPoBLEWriteReceived
00> <info  > [DL] Tx Confirmation received
00> <info  > [DL]  stop soft timer
00> <info  > [DL] _OnPlatformEvent kCHIPoBLEIndicateConfirm
00> <info  > [DL] Tx Confirmation received
00> <info  > [DL]  stop soft timer
00> <info  > [DL] Char Write Req, char : 26
00> <detail> [DL] Write request/command received for CHIPoBLE RX characteristic (con 1, len 3)
00> <info  > [DL] _OnPlatformEvent kCHIPoBLEIndicateConfirm
00> <info  > [DL] _OnPlatformEvent kCHIPoBLEWriteReceived
00> <info  > [DL] Tx Confirmation received
00> <info  > [DL]  stop soft timer
00> <info  > [DL] _OnPlatformEvent kCHIPoBLEIndicateConfirm
00> <info  > [DL] Tx Confirmation received
00> <info  > [DL]  stop soft timer
00> <info  > [DL] Char Write Req, char : 26
00> <detail> [DL] Write request/command received for CHIPoBLE RX characteristic (con 1, len 3)
00> <info  > [DL] _OnPlatformEvent kCHIPoBLEIndicateConfirm
00> <info  > [DL] _OnPlatformEvent kCHIPoBLEWriteReceived
00> <info  > [DL] Tx Confirmation received
00> <info  > [DL]  stop soft timer
00> <info  > [DL] Char Write Req, char : 26
00> <detail> [DL] Write request/command received for CHIPoBLE RX characteristic (con 1, len 51)
00> <info  > [DL] _OnPlatformEvent kCHIPoBLEIndicateConfirm
00> <info  > [DL] _OnPlatformEvent kCHIPoBLEWriteReceived
00> <info  > [EM] Received message of type 36 and protocolId 0 on exchange 39017
00> <detail> [SC] Received spake2p msg3
00> <detail> [IN] New pairing for device 0x0000000000000000, key 0!!
00> <info  > [SVR] Device completed SPAKE2+ handshake
00> <info  > [SVR] Persisting admin ID 0, next available 1
00> <info  > [SVR] Stored value in server storage
00> <info  > [DIS] Admin (0) persisted to storage. Calling OnAdminPersistedToStorage
00> <info  > [ZCL] OpCreds: Admin 0 was persisted to storage. FabricId<PHONE_NUMBER>0000000, NodeId<PHONE_NUMBER>000FFF0, VendorId 0x7629
00> <info  > [ZCL] OpCreds: Call to writeAdminsIntoFabricsListAttribute
00> <info  > [ZCL] OpCreds: Skipping over unitialized admin with fabricId 0x0000000000000000, nodeId 0x0000000000000000 vendorId 0x0000
00> <info  > [ZCL] OpCreds: Stored 0 admins in fabrics list attribute.
00> <info  > [SVR] Persisting admin ID successfully
00> <info  > [SVR] Device completed Rendezvous process
00> <info  > [SVR] Stored value in server storage
00> <info  > [SVR] Stored value in server storage
00> <error > [DL] Long dispatch time: 1092 ms
00> <info  > [DL] Tx Confirmation received
00> <info  > [DL]  stop soft timer
00> <info  > [DL] Char Write Req, char : 26
00> <detail> [DL] Write request/command received for CHIPoBLE RX characteristic (con 1, len 107)
00> <info  > [DL] _OnPlatformEvent kCHIPoBLEIndicateConfirm
00> <info  > [DL] _OnPlatformEvent kCHIPoBLEWriteReceived
00> <info  > [IN] Secure transport received message destined to fabric 0, node 0x0000000000BC5C01. Key ID 0
00> <info  > [IN] Setting nodeID lX on admin.
00> <info  > [IN] Setting fabricID lX on admin.
00> <info  > [IN] Since admin was modified, persisting changes to KVS
00> <info  > [SVR] Stored value in server storage
00> <info  > [DIS] Admin (0) persisted to storage. Calling OnAdminPersistedToStorage
00> <info  > [ZCL] OpCreds: Admin 0 was persisted to storage. FabricId 00001B66900000000, NodeId bc5c01000000002000FFF0, VendorId 0x7629
00> <info  > [ZCL] OpCreds: Call to writeAdminsIntoFabricsListAttribute
00> <info  > [ZCL] OpCreds: Skipping over unitialized admin with fabricId 0x000000000001B669, nodeId 0x0000000000BC5C01 vendorId 0x0000
00> <info  > [ZCL] OpCreds: Stored 0 admins in fabrics list attribute.
00> <info  > [EM] Received message of type 8 and protocolId 327680 on exchange 39018
00> <detail> [EM] ec id: 39018, Delegate: 0x200123f0
00> <error > [CSL] PacketBuffer: allocation too large.
00> <error > [DL] Long dispatch time: 1102 ms
00> <info  > [DL] Char Write Req, char : 26
00> <detail> [DL] Write request/command received for CHIPoBLE RX characteristic (con 1, len 3)
00> <info  > [DL] _OnPlatformEvent kCHIPoBLEWriteReceived
00> <info  > [DL] Tx Confirmation received
00> <info  > [DL]  stop soft timer
00> <info  > [DL] _OnPlatformEvent kCHIPoBLEIndicateConfirm
00> <info  > [DL] Char Write Req, char : 26
00> <detail> [DL] Write request/command received for CHIPoBLE RX characteristic (con 1, len 3)
00> <info  > [DL] _OnPlatformEvent kCHIPoBLEWriteReceived
00> <info  > [DL] Tx Confirmation received
00> <info  > [DL]  stop soft timer
00> <info  > [DL] _OnPlatformEvent kCHIPoBLEIndicateConfirm
00> <info  > [DL] Char Write Req, char : 26
00> <detail> [DL] Write request/command received for CHIPoBLE RX characteristic (con 1, len 3)
00> <info  > [DL] _OnPlatformEvent kCHIPoBLEWriteReceived
00> <info  > [DL] CHIPoBLE unsubscribe received
00> <info  > [DL] _OnPlatformEvent kCHIPoBLEUnsubscribe
00> <detail> [IN] Clearing BLE pending packets.
00> <info  > [BLE] Releasing end point's BLE connection back to application.

@tcarmelveilleux has some good insights on the reasons for it
@AliakbarEski @CodeChronos928 @asakhart @yufengwangca @yunhanw-google


Initial artwork submission form

#234
Here's a draft PR for the artwork submission form. It's branched from #235 so includes commits from that PR as well (that PR should be merged before this one). It's not complete yet. The main things missing still are;

[x] validation / storage of PD proof fields
[x] allow specifying that artwork completed year is approximate
[x] creation of thumbnails for uploads
[ ] general form UX - we definitely need some help text / placeholder values to guide users a bit, and the layout could probably be improved.

Hey @colagrosso, I think this is ready for a second pair of eyes. This PR contains;

required fields for submitting a new artwork
basic validation
checking that uploaded images are actually images, storing them & creating a thumbnail

Things that aren't in this PR but should be or could be included later;

more helpful feedback when failing validation
previously filled-in fields should be set when you're redirected to the form after hitting an error
more validation around the pd-proof fields, particularly the museum URL option
guidance text / placeholder values

Also note that apache is currently configured to reject requests where the body is > 2MB -- I think we will need to add an exception to that rule for the /artworks/post route.

Let me expand on what I wrote about JS a little because this fuzzy-match textbox is a good example.
We should design the system to work without JS in any case, because the user may have JS disabled and they should still be able to use the system. However, it's clear that often JS enhances a UI. So we can add JS later as an enhancement, but the underlying system should still work without it.
The datalist for artist names is a good example of this. <datalist> may not be good enough to fuzzy match alternate spellings and accent marks. So the system should probably prompt the user after POST to disambiguate those issues, before actually recording the form data:

User enters Ilia Repyn (an alternate spelling) into the form and submits
POST function checks the DB for variant spellings and sees the user probably meant Ilya Repin.
Instead of showing confirmation page, user is returned to the form with a messages saying Did you mean Ilya Repin?
User can select the alternate spelling we suggest, or submit using original name

This is a flow without JS, but that would be clearly enhanced with a fully-featured fuzzy match JS textbox, because we could easily disambiguate before the form is submitted. So we can explore adding such a fuzzy JS textbox later, but the important point is that the flow works without JS anyway.

Alright, I think I've addressed all the initial feedback and it's ready for another look (@colagrosso). I'll handle the merge conflict shortly.
Regarding the autofill/search for existing artists, I think let's leave that for a separate PR after we've decided how it should be implemented. For this PR I'm happy to leave in the current datalist or take it out, whatever we think is appropriate.


⚠ Bofrost.de has degraded performance

In 7fbb395, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1052 ms

Resolved: Bofrost.de performance has improved in f57ee56 after 7 minutes.


How can I use this library separately in my application

Hi, How can I use this library independently. I want to use this library in my codeigniter application.
Can u please help me to achieve this? Better if u provide an example code.

Hi, the read me has a full example.. You can put that into some controller or something.. Don't have an idea about codeigniter.


[Form builder] Manage errors

Hi there !
I've a view with a form (to register an user) with data validation. If validation fails, I "flash" errors this way yield request.withAll().andWith({ errors: parsed_errors }).flash() (I parse errors to convert them to an object with field name as key).
So, I've created a global Nunjucks macro to get if a specific field has error(s) hasError(old('errors'), 'email'). And, to add an error class to a field (for example), I do this form.email('email', old('email'), { class: 'form-control' + (' form-control-danger' if hasError(old('errors'), 'email')) }), but I think it's not the cleaner way to do.
The problem is that is not very convinient to use that with the Form Builder.
Or is there a simple way to check errors with the form builder (and to add a specific class to an input for example) ?
Thx :)

@betaWeb There aren't helpers to pull errors from the flash messages. You can create your own View global and use that inside your views.
Going forward I will adding more globals to the view layer by default, but for now you have to do the work

@thetutlage thx for your answer. I've create my own helpers, and Request folder for data validation (aka Laravel). It works, but it's not very "clean".
I'll share my code asap if someone want my integration.

You can take example of my frontend code that manage Error. It should work with no problem in the backend also.
https://github.com/RomainLanz/adonis-starter/blob/develop/resources/assets/js/form/Errors.js

Closing since not actionable. @betaWeb Feel free to share your solution with everyone on this issue

@thetutlage Thx, I'll improve my solution et I'll share it soon :)


server loader could fail to initialise userAgent

Makes the same fix as @derrell here: https://github.com/qooxdoo/qooxdoo/pull/9492

uggh. That's my typo


IDF 5.1.2 fails to build with a bunch of invalid conversion from 'int' to 'spi_event_t' [-fpermissive] error (IDFGH-11718)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
5.1.2
Operating System used.
Windows
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
CMD
What is the expected behavior?
I expected updating my project to IDF 5.1.2 will not a cause major break.
What is the actual behavior?

After some trial&error i find after commenting out both #include "esp_sleep.h" and esp_sleep_enable_gpio_wakeup() in my code, the project builds fine again.
So it seems esp_sleep.h of IDF 5.1.2 has changed in a breaking way
Steps to reproduce.

Write a basic C++ project that includes esp_sleep.h and uses esp_sleep_enable_gpio_wakeup().
try to build that with IDF v5.1.2

Build or installation Logs.
C:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_common/include/esp_attr.h:155:61: error: invalid conversion from 'int' to 'spi_event_t' [-fpermissive]

More Information.
No response

Just tried to build the light sleep example bundled to IDF 5.1.2 and builds fine. Even if converted to C++.
Seems the root of the issue is not in ESP-IDF core, but in some other part of my project. Will need to review my code.


StackNavigator header color not visible beneath status bar in 1.0.0-beta.16

Current Behavior
On iOS, the header background color of a StackNavigator no longer extends underneath the status bar.
Example: https://snack.expo.io/B1fqtvUAZ (the status bar appears in white above the red header)
Expected Behavior
The header background stretches all the way to the top of the screen as in 1.0.0-beta.15, underlaying the status bar. Alternatively, if this is the new desired behavior (I guess related to iPhone X somehow?), it should be listed as a breaking change.
Your Environment

software
version

react-navigation
1.0.0-beta.16

react-native
0.49.5

node
8.8.1

npm or yarn
yarn 1.2.1

cc @davepack

I'm guessing it's the top: 'always' here.

It's because headerStyles aren't being applied to the SafeAreaView. BackgroundColor is the only thing that needs to be applied to the SafeAreaView instead of the nested View that all other styles are applied to.

I'll figure that out. Thanks.

I have the same issue +1

Yup, here visual comparison side by side, by the moment I left de beta15:

It possible to pass image in status bar instead headerBackgroundColor?

@kelset I'm pointing at master but still have this issue (emulator Iphone 6, iOS 11.1). Is there a new property to set or it is a bug ?

Uhm weird. Keep an eye on #2875 for updates, we are working on a PR for that that should fix this fully.

Hi guys, I update to beta.17 header issue solved but still extra padding on DrawerItems component.
In beta.15 doesn't exist, take a look the following image:

thanks !!!

Probably something related with this line:
https://github.com/react-community/react-navigation/blob/master/src/views/SafeAreaView.js#L288

Hey @outaTiME, sorry for the confusion there. #2872 added itemsContainerForceInset to contentOptions (see https://reactnavigation.org/docs/navigators/drawer#contentOptions-for-DrawerItems). In your case you will want to have:
contentOptions: {
  itemsContainerForceInset: { top: 'never', horizontal: 'never' },
}

This will override the default forceInset on the SafeAreaView that wraps each drawer item. It's not ideal, it's one of the tradeoffs of having a JS only solution and have iPhone X support asap, but it will be resolved soon when this is ported to native.

Hi @davepack, awesome the itemsContainerForceInset works as expected, thanks !!!

In my case SafeAreaView adding some extra padding at the top of header and bottom of tabs, my react-navigation version is 1.0.0-beta.19 and RN is 0.50.0, any hint to resolve this?

In my case SafeAreaView adding some extra padding at the top of header and bottom of tabs, my react-navigation version is 1.0.0-beta.19 and RN is 0.50.0, any hint to resolve this?

did you ever get a fix for this?


json for the dependencies?

Could you have export the json for dependencies?

Isn't that basically same as package.lock.json or project.assets.json? This project currently parses project.assets.json to get the data to display.

Or are you looking for another structure?

I think it would be helpful if depends added an option to export the relevant data from all parsed project.assets.json files as a single output file.
Collecting all of this data from the correct project(s) and projecting only the relevant properties into a new file would itself be very helpful if one wanted to: analyze it with a tool they are familiar with, or create a visualization. The TUI is nice, but it would be great if we could get at the raw data too; you've already done the big work of dealing with the various schemas and projecting the data relevant to analyze dependencies.


The file PList-Net/PListNet/Nodes/PListReal.cs is unused and should be deleted

This bothered me when working on a backport for .Net Framework 2.0
Thanks for your work on this project.

@TalAloni, apologies for getting back to this so late, but why do you say it isn't being used?

Actually, never mind, I didn't read your bug closely enough, but I think this is no longer an issue -- that file is gone.


Merge into prometheus/client_java/simpleclient_spring_boot

@maust: would like to contribute this code back to the prometheus Java client? This would benefit many users that, like us, missed some typical Spring Boot functionalities on the original 'simpleclient_spring_boot' implementation.

Sorry @eliezio I had no internet for the last 3 weeks, but you already did it, thanks


How to work rxMoya Single

I'm using Moya 11.0.2
I tried to return a Single from a ViewModel to a ViewController, and then bind to a UITableView.
How should I return a Single to subscribe later?
The error is:
Cannot convert return expression of type 'PrimitiveSequence<SingleTrait, Response>' to return type 'SharedSequence<SignalSharingStrategy, Response>''
import Foundation
import Moya
import RxCocoa
import RxSwift

struct ProductsViewModel {
    let provider:MoyaProvider<SSX>

    func fetchProducts() -> Signal<[ProductModel]> {
        return provider.rx.request(.fetchProducts())
    }
}

extension ProductsViewModel {

}

@ZZHHAANNGG
If you can share some more code then it would be helpfull to understand the problem, but from the current sample looks like that
provider.rx.request returns Single<Request> while your function return type is Single<[ProductModel]> so you have to map it to the model first.

Thanks for pointing out the wrong general type issue.


Question about multiple identification methods

Hi,
thanks for good work on this library. I have 2 cases where I would run to license my software:

Pc identification is based on a hw identifier (such as ETHERNET, CPU, etc)
Pc identification is based on a text file

Second case is needed because my customers install computers and identifies them by a text file in the filesystem. I have forked library and added this second case using a new strategy. In my license project, I have added this strategy.
The question is that I would like to generate a executable with some parameters to manage both cases. How to do it? In method acquire_license from the API I cannot change the strategy, and it seems that it returns 2 ids for the same computer.
Thanks,
Ricard

Hi Ricard,
Let me see if i understood your requirements:

if a file exists on the licensee computer use it to generate a pc identifier
if the file doesn't exist use the standard ETHERNET/DISK way to generate pc identifier.
when verify a license use the same method used to generate it.

Let me have a look to your branch this week-end

Hi,
yes, those were my requirements. Unfortunately, these requirements have
changed and your library does not fit as good as before. I changed to
another library
sorry for the inconvenience,
Ricard
On Fri, Jun 11, 2021 at 8:35 AM Gabriele Contini @.***>
wrote:

Hi Ricard,
Let me see if i understood your requirements:

if a file exists on the licensee computer use it to generate a pc
identifier
if the file doesn't exist use the standard ETHERNET/DISK way to
generate pc identifier.
when verify a license use the same method used to generate it.

Let me have a look to your branch this week-end
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/open-license-manager/licensecc/issues/124#issuecomment-859315932,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACNRYLN64PJHKH6DJ6DJQALTSGVDRANCNFSM46KKWHJA
.

--
Ricard Borràs Navarra
Linkedin: http://www.linkedin.com/in/ricardborras
Twitter: https://twitter.com/RicardBorras

@ricardborras Can you tell which other library are you using?

Yes, I use this one:
https://github.com/amrayn/licensepp
It uses a more flexible approach for computer identification (basically,
you have to provide it on your own) and you can add a custom payload to
licenses, which is something i need
best,
Ricard
On Mon, Jun 14, 2021 at 4:27 PM Arnaud Botella @.***>
wrote:

@ricardborras https://github.com/ricardborras Can you tell which other
library are you using?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/open-license-manager/licensecc/issues/124#issuecomment-860729493,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACNRYLJVPA3BOKYS27FRZZLTSYGWHANCNFSM46KKWHJA
.

--
Ricard Borràs Navarra
Linkedin: http://www.linkedin.com/in/ricardborras
Twitter: https://twitter.com/RicardBorras

Hi Richard,
Good you've found something that solves your problem. Custom payload is
supported also in licensecc:
http://open-license-manager.github.io/licensecc/usage/issue-licenses.html
(see parameter extra-data)
And you can implement your own signature generator:
http://open-license-manager.github.io/licensecc/api/hardware_identifiers.html
On Mon, Jun 14, 2021 at 10:32 PM ricardborras @.***>
wrote:

Yes, I use this one:
https://github.com/amrayn/licensepp
It uses a more flexible approach for computer identification (basically,
you have to provide it on your own) and you can add a custom payload to
licenses, which is something i need
best,
Ricard
On Mon, Jun 14, 2021 at 4:27 PM Arnaud Botella @.***>
wrote:

@ricardborras https://github.com/ricardborras Can you tell which other
library are you using?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<
https://github.com/open-license-manager/licensecc/issues/124#issuecomment-860729493
,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/ACNRYLJVPA3BOKYS27FRZZLTSYGWHANCNFSM46KKWHJA
.

--
Ricard Borràs Navarra
Linkedin: http://www.linkedin.com/in/ricardborras
Twitter: https://twitter.com/RicardBorras
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/open-license-manager/licensecc/issues/124#issuecomment-860732742,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIR3A5RC3IWIZOOAIQM6T3TSYHGBANCNFSM46KKWHJA
.


Update code format, change MDN reference url

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

@Ding-Fan
Thank you for your contribution!


Persistent Kafka getting restarted

Is there an existing issue for this?

[x] I have searched the existing issues

Describe the bug
A Kafka dependency is restarted each time I run the AppHost project.
Minimal reproduction code:

var kafka = builder
    .AddKafka("messaging").WithLifetime(ContainerLifetime.Persistent);

I am on MacOS, using Docker Desktop
Happy to provide further details as necessary
Thank you
Expected Behavior
No response
Steps To Reproduce
No response
Exceptions (if any)
No response
AppHost CSProj
<Project Sdk="Microsoft.NET.Sdk">
  <Sdk Name="Aspire.AppHost.Sdk" Version="9.0.0" />
  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>net8.0</TargetFramework>
    <ImplicitUsings>enable</ImplicitUsings>
    <Nullable>enable</Nullable>
    <IsAspireHost>true</IsAspireHost>
    <UserSecretsId>*****</UserSecretsId>
  </PropertyGroup>

  <ItemGroup>

    <PackageReference Include="Aspire.Hosting.AppHost" Version="9.0.0" />
    <PackageReference Include="Aspire.Hosting.Kafka" Version="9.0.0" />
    <PackageReference Include="Aspire.Npgsql" Version="9.0.0" />
  </ItemGroup>

  <ItemGroup>
    <ProjectReference Include="..\..\Domain\Demo\DemoApp\DemoApp.csproj" />
  </ItemGroup>
</Project>

.NET Version info
dotnet --info
.NET SDK:
 Version:           8.0.100
 Commit:            57efcf1350
 Workload version:  8.0.100-manifests.4d7d414a

Runtime Environment:
 OS Name:     Mac OS X
 OS Version:  14.4
 OS Platform: Darwin
 RID:         osx-arm64
 Base Path:   /usr/local/share/dotnet/sdk/8.0.100/

.NET workloads installed:
 Workload version: 8.0.100-manifests.4d7d414a
There are no installed workloads to display.

Host:
  Version:      8.0.0
  Architecture: arm64
  Commit:       5535e31a71

.NET SDKs installed:
  8.0.100 [/usr/local/share/dotnet/sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 8.0.0 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 8.0.0 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

Other architectures found:
  x64   [/usr/local/share/dotnet/x64]
    registered at [/etc/dotnet/install_location_x64]

Environment variables:
  Not set

global.json file:
  Not found

Anything else?
No response

Seeing the same behavior

Defining the port solves the problem.
var kafka = builder
    .AddKafka("messaging", 9092).WithLifetime(ContainerLifetime.Persistent);


EnterpriseContractConfiguration CRD

Cretes the EnterpriseContractConfiguration CRD from the enterprise-contract-controller[1] repository.
Ref. https://issues.redhat.com/browse/HACBS-244
[1] https://github.com/hacbs-contract/enterprise-contract-controller

/ok-to-test

/retest


esp_ble_gap_config_adv_data_raw should distinguish memory/size errors. (IDFGH-6138)

Is your feature request related to a problem? Please describe.
When using bluedroid stack, and updating advertisement PDU data, I wish esp_ble_gap_config_adv_data_raw would return ESP_ERR_NO_MEM to indicate that my attempted data length exceeds ESP_BLE_ADV_DATA_LEN_MAX, instead of it being consolidated with other error conditions and simply returning ESP_ERR_INVALID_ARG.
Describe the solution you'd like
I'd like mentioned functioned to return ESP_ERR_NO_MEM when raw_data_len > ESP_BLE_ADV_DATA_LEN_MAX, so I can percolate the exact error condition up my superposed stack, and add indicative logging for users.
Describe alternatives you've considered
One alternative is to check whether raw_data_len > ESP_BLE_ADV_DATA_LEN_MAX before calling esp_ble_gap_config_adv_data_raw, however I don't prefer this solution as this is work seems in function's purview.
Please give as many details as you can. Include suggestions for useful APIs or interfaces if relevant.
NimBLE stack already suffices, by returning BLE_HS_EMSGSIZE for same error condition under similar circumstances.

Thank you for your suggestion. We will evaluate it and decide whether to change it.

Considering the impact on previous user and the actual usage scenarios, this feature will be not supported now.


[BUG] Getting empty file with query()

Prerequisites

[x] Able to reproduce the behaviour outside of your code, the problem is isolated to Laravel Excel.
[x] Checked that your issue isn't already filed.
[ ] Checked if no PR was submitted that fixes this problem.

Versions

PHP version: 7.2
Laravel version: 5.6
Package version: 3.0

Description
I'm using query() to insert data to array and then that to excel.
This is my function in controller
public function excel($inventory_id)
	{
		return Excel::download(new InventoryListExport($inventory_id), 'InventoryList.xlsx');
	}

And this is my export file when i dd(); it it shows me data in my array but when i want to export it to Excel file it's empty.
	 public function __construct(int $inventory_id)
    {
        $this->inventory_id = $inventory_id;
    }

    public function query()
    {
        $inventoryitems = InventoryItem::query()->where('inventory_id', $this->inventory_id)->get()->toArray();
		 //dd($assets);
		$inventoryitems_array[] = array('No.', 'Asset ID', 'Name', 'Owner',
			'Location', 'Status', 'Updated at', 'Updated by');
		if(!empty($inventoryitems))
		 $count = 1;
		 foreach($inventoryitems as $inventoryitem){
			 .
                         .
                         .
		 }

		 //dd($inventoryitems_array);
		 return collect($inventoryitems_array);
    }
}

@Zolak94 query is supposed to return a query object. The package will do the actual fetching: so no ->get()->toArray(). The mapping you can do with WithMapping concern. If you prefer to do it all in one method collection() is indeed what you need, but be aware of performance on larger data sets.


The terminal cannot enter content

VSCode Version:1.20.0

The terminal cannot enter content.

This problem also happen to me.

me too,only can work at the opening on administrator。
that's a little bother for me.


Add Ctrl+scrollUp and Ctrl+ScrollDown shortcut

Is your feature request related to a problem? Please describe.
Sometimes, the font/layout is too small. I have the habit to change the font size using CTRL Scroll Up/Down.
This shortcut is the alias of CTRL + / -, which already exists in the explorer.
Describe the solution you'd like
Make an alias shortcut where CTRL SCROLL UP = CTRL + and CTRL SCROLL DOWN = CTRL -.
Describe alternatives you've considered
CTRL + and CTRL -
Additional context
#2575 mentionned this idea but using a slider.

Ctrl + scroll up and Ctrl + scroll down is already supported

oh I tried it with the trackpad of my laptop... I had to use the two fingers zoom shortcut  instead of ctrl + finger scrolls
sorry for the disturbing


Update REPORT_CAPITAL_CITY References

See ReportEngine class
Make sure your reports are correctly referencing the class you worked on
Example: rID.put (6, REPORT_COUNTRY)

Constants are:
REPORT_CAPITAL_CITY
REPORT_CITY
REPORT_COUNTRY
REPORT_LANGUAGES
REPORT_POPULATION

Changes done on feature/nginx_integration which was pushed to 130_nginx_java_update branch. The latter has now been merged into develop


The code does not work properly in the Firefox browser!

Description
When attempting to use the screen recording feature in Firefox, the code fails to execute properly and the following error is thrown in the console:
Error starting screen recording: DOMException: MediaRecorder constructor: video/webm; codecs=vp9 indicates an unsupported codec

File with Issue
The issue occurs in GPT_Code/Web/Screen/recording.html.
Steps to Reproduce

Open GPT_Code/Web/Screen/recording.html in Firefox.
Click on the "Start Recording" button.
Observe the error in the console.

Expected Behavior
The screen recording should start without any errors.
Actual Behavior
The screen recording fails to start and an error is logged in the console.
Possible Solution
A potential solution could be to implement a codec compatibility check and use 'video/webm; codecs=vp8' for Firefox, and 'video/webm; codecs=vp9' for other browsers that support it.
Additional Information
The issue seems to be related to the MediaRecorder API and its support for different codecs in different browsers.

Thank you for bringing this to our attention. The compatibility issue with Firefox for screen recording has been addressed and fixed.
You can find the updated code with the fix applied at the following commit in our repository:
04ffc44
Please pull the latest changes or visit the above link to review the changes. We appreciate your contribution to improving the project, and we welcome any further feedback or issues you may encounter.


Content Guide: Revisit wording around adding content relating to CNCF, kubernetes, kubernetes-sigs projects with their own documentation

This is a Feature Request
Questions have arisen over where to put content if the content is about a kubernetes, kubernetes-sigs, or CNCF project if that project does have its own docs repo BUT the desired content does not exist in the external project's documentation.
I noticed that Split Falco audit into its own page (Issue #15963, PR #16011) was merged, and after chatting to @sftim, realized he and I interpreted the Content Guide differently.
Example:
Falco is a CNCF project. Falco has its own documentation.
Content about using Falco to collect audit events had been part of the Tasks/Monitoring, Logging, and Debugging/Auditing page. The Issue and subsequent PR moved the Falco section to its own page (Auditing with Falco). Note: the Auditing page also contains sections on how to use CNCF project fluentd to collect audit events as well as vendor-specific project logstash to collect audit events.
As Tim pointed out, the Falco content:

...falls between two stools: it's about Falco and about Kubernetes
It's about doing a Kubernetes thing (cluster audit) using a CNCF project to help with that.

Using Falco to collect Kubernetes audit events is not covered in the Falco docs, so Tim looked at “Adding content for kubernetes or kubernetes-sigs projects that don't have their own instructional content” from the Content Guide section What is and isn't allowed and gave a LGTM to the PR.
My interpretation of the Content Guide is much more draconian: Since Falco is a CNCF project that has its own docs, put the Auditing with Falco content in the Falco docs and then link to it from the Kubernetes docs. Then the Falco project team doesn't have to think about testing and updating Falco-related content in the Kubernetes documentation with each new release of both Falco and Kubernetes.
After reading the Content Guide again, I noticed some issues, in bold:
Dual-sourced content
Is the content about an active CNCF project OR a project in the kubernetes or kubernetes-sigs GitHub organizations?

If yes, then:

Does the project have its own documentation?

if yes, link to the project’s documentation from the Kubernetes documentation
if no, add the content to the project’s repository if possible and then link to it from the Kubernetes documentation

What is and isn't allowed

Bullet point 1, Instructional content involving non-Kubernetes projects during setup or operation of Kubernetes,

Allowed, second bullet point Adding content for kubernetes or kubernetes-sigs projects that don’t have their own instructional content
Not Allowed, third bullet point Adding a tutorial on how to use a CNCF project or a project in the kubernetes or kubnetes-sigs GitHub organizations if the project has its own documentation

What Needs to be Clarified
If the content is about a CNCF, kubernetes, or kubernetes-sigs project that has its own documentation BUT the proposed content about performing a task in Kubernetes using the project does not exist in that project's docs:

should we allow the content to be added to the Kubernetes documentation?
should we not allow the content to be added to the Kubernetes documentation? Rather, state that the content should be added to the non-Kubernetes project's documentation and then link to that documentation from the Kubernetes documentation.

Action Items

Obtain consensus from SIG Docs at the next meeting
Update the Content Guide accordingly

/sig docs
/cc @zacharysarah @sftim @jaypipes @kbhawkey

@aimeeu's work has already clarified things a lot. I like that.
For at least some cases, I would prefer to involve people from both projects in a discussion to find the option that best helps readers (and doesn't set any misleading precedent).

@sftim  I do concur wholeheartedly on involving people from both projects, especially the smaller projects, to make sure we get content in the best place for readers and for project maintainers, and to make sure we move existing content, if that makes sense, instead of just deleting it.  BTW Falco does have a  Kubernetes Audit Events page, so Falco may be a case of moving content to Falco's docs repo.
I do  think we need to draw a line in the sand in the Content Guide. Too many nested IF statements is bad code (LOL). The active Docs people can exercise judgment on a case by case basis. When I wrote the guidelines I highlighted, I was thinking of kubeadm and kubectl vs kops and minikube -- all in the kubernetes GitHub org. kubeadm and kubectl don't have any user guides, whereas kops and minikube do have decent documentation. The incubating CNCF projects have good docs as well.
I support keeping project documentation close to the code (in the same repo) as much as possible. Personally I'd rather spend the time working with and moving content to our "partner" projects so that the Kubernetes documentation is consistent and maintainable.

Outcome of 3 Sept SIG Docs meeting: Revisit 9/10: Take the week to review and comment on the issue
There is concern that we could end up with neither of 2 projects willing to document how they work together.
@kbhawkey, @jaypipes  thoughts?

@aimeeu

Rather, state that the content should be added to the non-Kubernetes project's documentation and then link to that documentation from the Kubernetes documentation.

This is 💯 my preferred approach. @jaypipes @sftim @kbhawkey Any thoughts?

I have not given the new content guidelines extensive consideration, but here is one opinion:
I do agree that only Kubernetes* project documentation should be included in the k8s docs. Non-Kubernetes project documentation belongs with the non-Kubernetes project.
Though, there may be k8s content, especially content such as tasks and tutorials, that benefit by integrating snippets (not full page features) of external doc content with the k8s docs.

If (say) Falco, as a project, adopts the mirror of the policy I think I'm seeing, then there is no home in either project for a page on “How to use Falco with Kubernetes”.
Is that the outcome we'd want?

Note to self: address @kbhawkey's comments on PR #16101 when updating the content guide. Also, find a better way to lay out content. The nested bullet list is fine for reading but horrible for using as reference when reviewing PRs.

/priority important-soon

Overall, I favor (sorry @aimeeu) taking the shears to the content guide. Leave in those elements that appear uncontroversial:

no blatant vendor pitches

special exception for CNCF graduated projects, those aren't considered vendor pitches

prefer linking over duplicating
blog posts must be original

and add a note to say that these are interim guidelines.
(ideally, the docs avoid making statements about the future but I hope there will be new, community agreed guidelines soon).

/hold
Hold pending discussion the KEP that emerges from #15748.

KEP:  https://github.com/kubernetes/enhancements/pull/1327


Light is broken

Long black stripes of darkness will appear around the world, they won't update when you place a block, unless it's a light source.

Client: Forge 1.18.2 with only Optifine
OptifineSupport is enabled

This is due to the fact that Minestom does not have a light engine at the moment. This is expected behavior. There is a light branch, its PR (#1109 ) is waiting to be merged at the moment. If you don't need lighting, you can set the dimension's ambient light level to 2f to force a fully lit world.

Oh, alright thank you!


Fix a celebration date and remove a duplicate

Fix the date of celebration of St Adalbert and St Fidelis in England;
Remove saintAndrewApostle from en.js and sk.js;
Replace saintAndrewApostle with saintAndrewTheApostle in england.js.

Just to note, I've incorporated these changes into the _F-TypeScript branch that I am working on.
When that branch is ready to be merge, there's bound to be a massive merge conflict with dev.
One way to go about this is to incorporate changes made in dev to this feature branch so that we can safely merge this branch over dev when the time comes.

One way to go about this is to incorporate changes made in dev to this feature branch so that we can safely merge this branch over dev when the time comes.

Okay. Two questions:

Should we close this PR then?
I plan to create another PR (for further remove some other duplicates and add a celebration + a key → see my comment in #154) to merge changes on top of _F-TypeScript branch?

@tukusejssirs,
I believe that we can close down this PR as these changes are now included in the TS branch 😄.


Add VoxLingua107 dataset

Adding a Dataset

Name: VoxLingua107
Description: VoxLingua107 is a speech dataset for training spoken language identification models. The dataset consists of short speech segments automatically extracted from YouTube videos and labeled according the language of the video title and description, with some post-processing steps to filter out false positives.
Paper: https://arxiv.org/abs/2011.12998
Data: http://bark.phon.ioc.ee/voxlingua107/
Motivation: Nice audio classification dataset

cc @anton-l
Instructions to add a new dataset can be found here.

i'd like to #self-assign this issue but the data link doesn't work...

#self-assign

#self-assign


isCancelled() is false after calling cancel()

What version of bluebird is the issue happening on? 3.4.1

What platform and version? (For example Node.js 0.12 or Google Chrome 32) Node.js 6.3.1

Did this issue happen with earlier version of bluebird? Yes

Description
Based on the examples in the docs, one would expect isCancelled() to be false after cancellation but this does not seem to be the case.
Example
const Promise = require('bluebird');
Promise.config({
    cancellation: true
});

setTimeout(() => {
    cancellablePromise.cancel();
    console.log('1. isCancelled = ' + cancellablePromise.isCancelled());
}, 100);

const cancellablePromise = Promise.delay(300)
    .finally(() => {
        console.log('2. isCancelled = ' + cancellablePromise.isCancelled());
    });

console.log('isCancellable = ' + cancellablePromise.isCancellable());

cancellablePromise
    .finally(() => {
        console.log('3. isCancelled = ' + cancellablePromise.isCancelled());
    });

Output
isCancellable = true
1. isCancelled = false
2. isCancelled = false
3. isCancelled = true

Is this the intended behavior or are the docs wrong?

May be related to issue #1177


Cannot find module 'api-builder'

Following the tutorial at https://claudiajs.com/tutorials/hello-world-api-gateway.html
I've got this error message:
{"errorMessage":"Cannot find module 'claudia-api-builder'","errorType":"Error","stackTrace":["Function.Module._load (module.js:276:25)","Module.require (module.js:353:17)","require (internal/module.js:12:17)","Object.<anonymous> (/var/task/app.js:1:80)","Module._compile (module.js:409:26)","Object.Module._extensions..js (module.js:416:10)","Module.load (module.js:343:32)","Function.Module._load (module.js:300:12)","Module.require (module.js:353:17)"]}

I've checked the zip folder generated and it contains the module. Any clue on what can be happening?

Hi,
please use the gitter channel for general questions, issues are for reporting bugs only.
https://gitter.im/claudiajs/claudia
paste your source code there, so we can look at it together


Calculatortest.py Issue | While running the code, the calculator opens and closes after every defined function runs

Hi,
While running the python calculator sample test, the calculator opens and closes after every defined function runs. When this occurs, WinAppDriver creates a new session for each function. This does not occur when the c# example runs.
Thanks
J

The issue is in the way they open and close the app with in the Python sample
@classmethod
def setUpClass(cls):
# This sets up the appium webdriver
desired_caps = {}
desired_caps["app"] = " app "
cls.driver = webdriver.Remote(
command_executor='http://<IP_ADDRESS>:4723',
desired_capabilities= desired_caps)
@classmethod
def tearDownClass(cls):
    cls.driver.quit()

Thanks for looking into this @Janemareth! We should absolutely update our samples sometimes soon.


delete unused get_scan function

Hi, @eavelardev.
Thank you for your contribution! I forgot to fix it.
I will get your PR.


start: Pipelines Trail

This is the third step in GS restructuring as we discussed in #2496.
It will introduce creating pipelines, adding stages and running them with dvc repro.
Create a pipeline

Why do we use pipelines in DVC?
What are dependencies

Add a stage

Introduce dvc stage add

Edit a stage

Introduce editing dvc.yaml
Mention dvc stage add --force?

Run the pipeline

Add another stage
Introduce dvc repro
Update an intermediate stage's dependency
Rerun the pipeline

Visualize the pipeline

List the stages
Show the DAG

Removing Stages

Introduce dvc remove

@shcheklein @jorgeorpinel @dberenbaum

I think we could probably skip "Removing stages," especially if we introduce editing dvc.yaml.

The fact that we had to hack may be a bit ugly but telling the pipelines without resorting to Python or code seems like an alternative to me. The user may have a bit difficulty to bridge the gap between usual commands and an ML project, but the basic mechanism might be told in a simpler way.
Anyway, no strong opinions here, I'll proceed with example-get-started.

We can probably repurpose the relevant info here for https://github.com/iterative/dvc.org/issues/2883 instead (i.e. close this issue) and leave https://dvc.org/doc/start/data-pipelines as-is. Or are there still major issues with that page @iesahin ?

Guys do we still want a separate pipelines trail? Pipelining info is inside https://dvc.org/doc/start/data-management right now. I would personally like to see a separate one but I remember there were opinions agains that. I would put Experiments first, then Data Management, then Pipelines. WDYT @iesahin @dberenbaum @shcheklein  ? Thanks


eth_getBlockByHash returns null for Genesis Block

Question
When trying to get Genesis Block by eth_getBlockByHash, it returns null. Are there any potential conditions (which can be considered) where sync_genesis_block is not called or fails to store genesis hash mapping in AuxStore?
https://github.com/paritytech/frontier/blob/bc3b70cc7fe4396ce8f1236feff9bfdc4b81c296/client/mapping-sync/src/lib.rs#L140
Original Issue: https://github.com/AstarNetwork/Astar/issues/634
If I start node from Genesis Block with -lmapping-sync=debug, it shows logs below, but it isn't clear at which block.
DEBUG tokio-runtime-worker mapping-sync: [Parachain] Syncing failed with error "Header not found", retrying.

We started to use frontier pallet from this commit https://github.com/PureStake/frontier/tree/e296297ceec8a539f5341fc8d8b536037f5b903e


Is this project active?

Hey everyone.
I've been looking for a mutation testing tool for .Net for a while, and I was very pleased to find out about stryker.net (via the project's website). I really wish I could start using it in production right away!
But I wonder what's the current status of the project, since it's been more than 5 months since the last commit.
I don't think I am knowledgeable enough to help you write the mutators themselves, but if there is any other I could you with the project, I'd be very happy to do it!

Hi Carlos,
Although there hasn’t been a lot (any) activity as of late - we are continuing the effort. You can expect more news/progress by the end of the month :)

Peter

Hi @ptoonen ,
I'm glad to hear that! I will stay tuned then. :)
Thanks!


Enhance Chocolatey GUI docs around sorting behavior

It would be nice to note that we sort by PackageId and not Title of the package.

I can take a look at this issue, you can assign it to me


expose Portuguese as a localization option

Fixes UIORG-113

... while of course recognising that we really don't want to be using a static list here.

True that. Filed UIORG-114 to deal with the long-term issue.
In the short-term, we had a volunteer undertake a huge translation effort over the last few months and wanted to be able to expose that work.

Sure!


[New] support "module" field in dependencies

Fixes #2163
I still need to add unit tests (I plan on copying the existing jsnext:main tests in the webpack resolver)
I also wonder what's the best way for me to test this...it looks like it's multiple packages all in one repo, and I'm making changes to the webpack resolver. I can build it locally but then would I need to wire up my config for this plugin to use the local version of the resolver? Is that correct?

We have some test fixtures (fake projects in the repo) - I think the best approach is probably to create your own - one that has just module, one that has just jsnext:main (this probably already exists), and one that has both?

one that has just jsnext:main (this probably already exists)

This does indeed exist, that was my plan.
I was asking more about manual testing with an actual package.

I'd expect you'd be able to npm link this plugin into a project that's running into the issue (like in the linked issue) and then run the linter?

Yeah but my change is in the node resolver, which looks like it's treated as a separate package?

Yes, that's true. you'd need to npm link that package as well.

@ljharb Thanks for your help, I think this PR is ready to go now.

@ljharb just wanted to follow up on this, is there anything else you need from me to get this merged?
Thanks!

@ljharb thanks for merging this!
What's your normal release process? ie. when should I expect this to be in a new version on NPM?
No pressure, I just want to know what to expect.
Thanks again!

There’s no typical timeframe, but I’m trying to land some open PRs and then release it in the next week or two.

Great, thank you!


Replace mdl-nav toggle icon with proper icon button

Pending #4824

Superceded by https://github.com/material-components/material-components-web/issues/19


Route state

This PR establishes the ability to fully utilize history state.
Now routes can define the expected format for state with the state option, using the same format we already use for route params. This includes the default types like String, Number, Boolean, etc. As well as support for defaults and custom params.
const route = createRoute({
  name: 'foo',
  state: {
    bar: Number
  }
})

State is set with router.push and router.replace within the options argument.
router.replace('foo', {}, { state: { bar: 14 } })

State is access from a resolved route with the state prop.
const route = useRoute()

route.state.foo // <-- 14

Open Questions

[ ] currently history.refresh does not do anything with state, which I assume will lose state if there was any. Is that expected?
[ ] should there be other ways of setting state?
[ ] currently the params expect to be given a string but I'm not doing anything to explicitly turn values into a string when setting state. State comes in from history as unknown, should I expect that to be Record<string, string>?

@stackoverfloweth let's discuss the possibility of merging state similar to route.params. But overall this is looking really good.
Also curious if you add a default to a state param will the types reflect that the value will always be defined? I saw the test to prove the value will be defined. But not the types. Might have missed that.

currently history.refresh does not do anything with state, which I assume will lose state if there was any. Is that expected?

This is a good question. I think we always want to update the state when

Navigation happens
a refresh happens
a fresh page load

A fresh page load won't always have state but it might if the user refreshes the page via the browser.

should there be other ways of setting state?

I'd expect to be able to set state directly on the route and via route.update
route.state.foo = 'bar'

router.update({}, { state: { foo: 'bar' })

currently the params expect to be given a string but I'm not doing anything to explicitly turn values into a string when setting state. State comes in from history as unknown, should I expect that to be Record<string, string>?

We already discussed this but we need to use both the set and get from the param. Set when storing the value and get when retrieving it. That way we can use the user's defined logic. Otherwise we'll end up with weird things like losing class instances or not converting a csv like param back into an array.


left axis visible partially. also the labels.

Lightweight Charts Version: 3.0
I have used a very basic code to test lightweight charts. The only issue which i cannot find anything on the internet or in the docs is about my issue with the left axis not visible completely. In the attached screnshot, you can see how it is visible only partially. Cannot understand which property will modify it.  I just tried your code and it works fine with 3.1.2 version:

Thanks for responding quickly. Any idea what could be the issue?
i am using the cdn link to include the library, so not sure which version is it.

It should be the latest one (3.1.2). Can you reproduce it here https://jsfiddle.net/hv3xp9wk/? It's exactly your example with the latest version of the library.

Noted. But how to select the version. I am using the cdn link to include the library.
I tried your link of jsfiddle.net and saw the same issue even there. Is it because of my browser?

I tried your link of jsfiddle.net and saw the same issue even there. Is it because of my browser?

Probably. What browser you use? What extensions?

Got the issue. I am using brave browser. when i got the shields down for the webpage, i could see the axis well.
Thanks for your inputs.

Related to https://github.com/brave/brave-browser/issues/1738. We can't do anything with that - to get correct size of the price axis we need to know width of the text, but Brave's protection treats it as "fingerprinting" and always returns zero. That's it.
Possible they'll fix it in https://github.com/brave/brave-browser/issues/822 (or apply suggestion from @subzey in https://github.com/brave/brave-browser/issues/1738#issuecomment-504393229).


[Event Request] codeunit 225 "Gen. Jnl.-Apply" - OnCalcAppliedAmountOnCustLedgerEntryAfterCalcRemainingAmount

Describe the request
Hello, can you please add a new Event OnCalcAppliedAmountOnCustLedgerEntryAfterCalcRemainingAmount in codeunit 225 "Gen. Jnl.-Apply"?
    local procedure CalcAppliedAmountOnCustLedgerEntry(CustLedgEntry: Record "Cust. Ledger Entry"; var AppliedAmount: Decimal)
    begin
        CustLedgEntry.CalcFields("Remaining Amount");
        OnCalcAppliedAmountOnCustLedgerEntryAfterCalcRemainingAmount(CustLedgEntry);
        if PaymentToleranceMgt.CheckCalcPmtDiscGenJnlCust(GenJnlLine, CustLedgEntry, 0, false) and
            (Abs(CustLedgEntry."Amount to Apply") >=
            Abs(CustLedgEntry."Remaining Amount" - CustLedgEntry."Remaining Pmt. Disc. Possible"))
        then
            AppliedAmount := AppliedAmount - (CustLedgEntry."Amount to Apply" - CustLedgEntry."Remaining Pmt. Disc. Possible")
        else
            AppliedAmount := AppliedAmount - CustLedgEntry."Amount to Apply";
    end;

    [IntegrationEvent(false, false)]
    local procedure OnCalcAppliedAmountOnCustLedgerEntryAfterCalcRemainingAmount(var CustLedgerEntry: Record "Cust. Ledger Entry")
    begin
    end;

Additional context
We have additional values to calculate the Remaining Amount and need to recalculate it to get the correct AppliedAmount.
Internal work item: AB#546858

Availability update: We will publish a fix for this issue in the next update for release 25.
Build ID to track: 26449.


[WIP] 0.7.0

🤦♂ do no merge 🤦♂
fixes #505

closing in favor of https://github.com/rustwasm/wasm-pack/pull/549


Preserve webcam aspect ratio while screenshoting

<Video> will usually letterbox the original content if you force certain dimensions on it. Most times you want a screenshot that keeps the aspect ratio of the Webcam.

Anyone testing this?

Sorry for the delay!
Changes look good, published.


Remove old kernels on RPM-based systems

http://tracker.ceph.com/issues/11627

Refer to this link for build results (access rights to CI server needed):
http://jenkins.ceph.com//job/teuthology-pull-requests/1457/
Tests failed for this pull request.

Refer to this link for build results (access rights to CI server needed):
http://jenkins.ceph.com//job/teuthology-pull-requests/1458/
Tests passed for this pull request.

yum is supposed to automatically remove old kernels and only keep the last three around (see installonlypkgs and installonly_limit in yum.conf(5) ). Are we using yum to install kernels?

installonly_limit is set, but I don't see installonlypkgs

when installonlypkgs is unset, yum uses the default value specified in the yum.conf manpage (kernel, kernel-bigmem, kernel-enter‐prise,  kernel-smp,  kernel-debug,  kernel-unsupported,  kernel-source, kernel-devel, kernel-PAE, kernel-PAE-debug)
In other words it should be doing the right thing. I wonder what the kernel task is doing, though.

The kernel task is using yum. I'm not sure why kernels are accumulating, but they clearly are...

(discussed in IRC, the problem is likely to be at https://github.com/ceph/teuthology/blob/master/teuthology/task/kernel.py#L414-L423)
            proc = role_remote.run(
                args=[
                    'sudo',
                    'rpm',
                    '-ivh',
                    '--oldpackage',
                    '--replacefiles',
                    '--replacepkgs',
                    remote_pkg_path(role_remote),
                ])


SSML code ignored when speak tag is used

I have a service that returns a strings with SSML strings in them. If I pass this to the ApiAiAssistant SDK wrapped in a <speak> tag, Google Home complete ignores everything inside the  tag. Is this because the app hasn't been fully deployed?
Examples:
const phonetic_name = 'Product <say-as interpret-as="characters">ABC1</say-as> - Bottle';

//  Google Home says: "We found Product less-than say as interpret as equals
//  characters greater-than A-B-C-1 less-than say as greater-than Bottle"
assistant.ask(`We found ${phonetic_name}`);

//  Google Home says: "We found less-than speak greater-than Product
//  less-than say as interpret as equals characters greater-than A-B-C-1 less-than
//  say as greater-than Bottle less-than speak greater-than
assistant.ask(`We found <speak>${phonetic_name}</speak>`)

//  Google Home says: "We found Product Bottle"
//  Web simulator response:
//  { "response": "We found Product<unknown word to simulator>- Bottle\n" }
//
//  Further down in the debugInfo:
//  "final_response": {
//    "rich_response": {
//      "items": [{
//        "simple_response": {
//          "ssml": "<speak>We found Product <say-as interpret-as=\"characters\">ABC1</say-as> - Bottle</speak>"
//        }
//      }]
//    }
//  }
assistant.ask(`<speak>We found ${phonetic_name}</speak>`)

The last one seems to be the correct way to do this, however in both the simulator and on the Google Home device it's refusing say the things inside the say-as tags. Am I doing something wrong?

Yes you're correct that you need to wrap your entire spoken statement in open and close tags (i.e.,  ...). As for the say-as tags, what you have (assistant.ask('<speak>We found Product <say-as interpret-as=\"characters\">ABC1</say-as> - Bottle</speak>')) should work. I just tested in the web sim and got the expected result. Try putting this string directly in APIAI as a text response and see if it works there, that might be helpful to debug.

API.AI has no problem reading the string.
// Google Home says: "We found Product Bottle"
assistant.tell('<speak>We found Product <say-as interpret-as=\"characters\">ABC1</say-as> - Bottle</speak>');

Response: {
  "response": "We found Product<unknown word to simulator>- Bottle\n",
    "debugInfo": {
      "agentToAssistantDebug": {
        "agentToAssistantJson": {
          "conversation_token": "[]",
            "expect_user_response": false,
            "final_response": {
              "rich_response": {
                "items": [{
                    "simple_response": {
                        "ssml": "<speak>We found Product <say-as interpret-as=\"characters\">ABC1</say-as> - Bottle</speak>"
                    }
                }]
              }
            }
          }
      }
    }
}

Hi @ds8k, sorry for the late response on this. I think the issue might be that the SSML transducer doesn't understand 'ABC1' as a character string. Just 'ABC' does work. Try moving the '1' outside the say-as tags. In my testing, I didn't need the say-as tags at all.

@smishra2 That sounds like it would become a major problem, especially if "ABC1" is being pulled from a database or outside source of some sort...

Any update on this one @ds8k @smishra2 ? I have a long number that I want Google Assistant to speaks as individual digits and it is giving me same 'unknown word to simulator' error.

@ds8k @nominator A temporary alternative may be to use a utility function to generate the tags that you need, at least until this bug is acknowledged and fixed.
Something similar to this maybe?
const sayAsCharacters = (text) => {
    let ret = '';
    let chars = text.split('');
    let c = '';
    while(c = chars.shift()) {
        let prevChar = ret.slice(-1);
        if (isNaN(parseInt(c))) {
            if (!isNaN(parseInt(prevChar)) || !prevChar) {
                ret += ` <say-as interpret-as="characters">`;
            }
            ret += c;
            if (chars.length === 0) ret += `</say-as> `;
        } else {
            if (isNaN(parseInt(prevChar))) ret += `</say-as> ${c}`;
            else ret += ` ${c}`;
        }
    }
    return ret;
};

The above produces the following:
sayAsCharacters('foo12bar');
" <say-as interpret-as="characters">foo</say-as> 1 2 <say-as interpret-as="characters">bar</say-as> "

I've got a number like 982968761 that I want to have read as characters: 9 8 2 9 6... not "nine hundred eighty two million, ..."
Using this should work, but doesn't:
<speak>
The code is:  <say-as interpret-as="characters">982968761</say-as>
</speak>

@glittle Please see my solution and let me know if it works for you.

I don't think it did. I got what I needed by doing  'my number'.split('').join(' ') and it correctly reads the numbers for me.


Remove MapABQ from index

MapABQ is no longer an active group. This PR deletes from the index.

Aw too bad - thanks for the update @russbiggs


How well does it scale?

Hello,
I have been doing research for a new P2P project in development and need to try and locate a DB that massively scales.
It appears that go-threads "might" be capable of this since I am guessing that it uses IPFS as well but am not sure.
My project is a type of massively scaling P2P eCommerce system for which I need a good DB that can scale and also work P2P as nodes will be joining and leaving the network but if go-threads also replicates (shards) out data across nodes then that would provide for redundancy and a safety net when a particular node leave the network.
Can you please elaborate more on this for me?
Thanks and have a great day.

Hello,
Is there any update to this quesiton?
Thanks


Suggestion: Automatic unpublish test app(s)

We all know, it's hard to deal with test apps during development, when the test app is separated from the main-app.
let's Keep it simple and add a new element to the lunch.json like:
"configurations": [
        {
            "type": "al",
            "request": "launch",
            "name": "Dev-Server",
            "... and the rest": "of the configuration ...",

            "unpublish": [
                {
                    "appId":  "f732fd9e-bc18-45a5-bead-bb7b28265c34",
                    "name":  "App-Test",
                    "publisher":  "ACME",
                    "version":  "<IP_ADDRESS>"
                }
            ]

        }
    ]
```

Hi @megel,
We are already tracking this issue at #2804 but we will take your suggestion into considerations.