Expose testerror (and minor docs improvements)

Closes #13
Apropos the discussion there, I think it's fine to expose that this is enum {}.  We probably don't want to change that - in particular, we aren't likely to want to make this an alias for something else, nor are we likely to need to make it an opaque struct.
(Incidentally, I have a similar type in one of my own projects: https://salsa.debian.org/iwj/otter/-/blob/main/apitest/apitest.rs?ref_type=heads#L109.  Mine is different to TestError because it displays error sources too, which is a different answer to the problem that Display is kind of broken for implementors of std::error::Error.)

Rebased to add my S-o-b.
Sorry, I hadn't noticed that this project used this convention (which I approve of!)

There's still one issue with the clippy lint hopefully resolved with https://github.com/wiktor-k/testresult/pull/15.

(Incidentally, I have a similar type in one of my own projects: https://salsa.debian.org/iwj/otter/-/blob/main/apitest/apitest.rs?ref_type=heads#L109. Mine is different to TestError because it displays error sources too, which is a different answer to the problem that Display is kind of broken for implementors of std::error::Error.)

Hah, that's cool too! Initially I went the route of Errors too but it didn't work for anyhow and I didn't like the anyhow dependency. I see you've taken another route and arrived with a different solution.
I'm wondering if it makes sense to somehow marry these two :thinking:
(for anyhow another person suggested just using native anyhow features: https://github.com/wiktor-k/testresult/issues/6#issuecomment-1833891748).

Rebased as suggested.

I'm wondering if it makes sense to somehow marry these two 🤔

Possibly.  I guess one could make the anyhow dependency optional with a cargo feature.  But that way lies features for all the non-directly-std-Error-implementing error crates.
I wrestled with AsRef a bit as well, IIRC, but evidently not successfully.  And the thing in Otter isn't productised enough for use elsewhere right now.  That's kind of why in another project I'm working on now, I thought I'd try out testresult :-).

Oh and:

(for anyhow another person suggested just using native anyhow features: #6 (comment)).

Having it panic on conversion can mean that when you look at it in a debugger, many of the local variables you want to inspect are still live - since the panic is called from the function that generated the error, rather than from main or somewhere after the stack has been unwound.  I think it may also work better with panic=abort, which could be useful when testing stuff intended for embedded contexts.
So I think the uninhabited type is a good approach, which is useful in quite a few contexts, even thouth there's that backtrace feature in anyhow.  (In Tor we also have a stacktrace-containing Bug type that we use for internal errors in production code, since we want to avoid panics.)

Thanks for providing me with more context. I'll be slowly digesting it.
As for testresult I plan to do a little bit of cleanups w.r.t. CI and docs and will release 0.4.1 shortly.
Thank you for your work and time. It's greatly appreciated! 🙇♂

Thank you for your work and time. It's greatly appreciated! 🙇♂

You're welcome, and thanks.  It's been a pleasure :-).


Changing Time.TimeScale affecting movement in Editor

Steps to reproduce

Create a component that sets Time.TimeScale to something say 3.5f.

Expected Result
Change doesn't affect editor at all.
Actual Result
Moving in editor is really fast, also zooming and rotating becomes quick and stiff.

Thanks for reporting. Will look into this!

Should be fixed in source and updated CamView package now. Closing this!


'Delete Channel' does not wait for confirmation dialog before deleting

As I experience it
OSX, Chrome, in the Chat dialog and under "Other channels" the 'delete channel' option does not wait for confirmation before deleting the channel.

Yes, there should be a confirmation dialog (and we should make this a "Moderators only" operation).

This is now fixed


Thorium wont let me log into Reddit in regular or incognito mode. But firefox works fine.

I am using ZorinOS. I tried two of my reddit acounts also, not just one.

I am using ZorinOS. I tried two of my reddit acounts also, not just one.

@Intellectual234
Have you checked your account and password? And were you previously able to log into Reddit at Thorium?

@gz83 , if it was an account/password issue I wouldnt be able to login via firefox,but i am.....   I need someone to check & login to reddit on their side via thorium.

@gz83 , if it was an account/password issue I wouldnt be able to login via firefox,but i am..... I need someone to check & login to reddit on their side via thorium.

@Intellectual234
Clear your browser data and close all extensions, then try to log in again.

@gz83 , i dont think i can clear browser data if I'm using thorium incognito, all i can do is close it down & restart incognito, which i just did.
Also, I disabled all extensions except Private Internet Access VPN browser extension as I must use that one. I cant login without it. It would help a ton if someone could login to reddit using their own thorium. @Alex313031

@gz83 , i dont think i can clear browser data if I'm using thorium incognito, all i can do is close it down & restart incognito, which i just did. Also, I disabled all extensions except Private Internet Access VPN browser extension as I must use that one. I cant login without it. It would help a ton if someone could login to reddit using their own thorium. @Alex313031

@Intellectual234
I have just reproduced the problem you encountered, and after my search, there is quite a lot of similar feedback on the Internet and reddit, you can first try to log in by referring to the methods provided on the Internet and reddit, this problem may be related to reddit itself.

@gz83 , thanks Ho! just wanted to figure out the source of the problem.

@gz83 Appears to be fixed now :)


Adding support for SUMA Registration

LGTM. I'll leave it to Atanas to add the final approval (I trust his Go more than mine).


Back button causing app to close

I'm submitting a ...  (check one with "x")

[ ] question
[x] any problem or bug report

OS:  (check one with "x")

[x] Android
[ ] iOS
[ ] Browser

cordova information:  (run $> cordova plugin list)
Cordova version : 8.1.2
cordova android version : 8.1.2
com-moduscreate-plugins-echo 0.0.1 "ModusEcho"
cordova-plugin-android-permissions 0.11.0 "Permissions"
cordova-plugin-appinfo 2.1.2 "AppInfo Plugin"
cordova-plugin-camera 2.4.1 "Camera"
cordova-plugin-compat 1.1.0 "Compat"
cordova-plugin-contacts 2.3.1 "Contacts"
cordova-plugin-crypt-file 1.3.2 "CordovaCrypt"
cordova-plugin-device 1.1.6 "Device"
cordova-plugin-dialogs 1.3.3 "Notification"
cordova-plugin-file 4.3.3 "File"
cordova-plugin-file-transfer 1.6.3 "File Transfer"
cordova-plugin-geolocation 4.0.1 "Geolocation"
cordova-plugin-googlemaps 2.4.6 "cordova-plugin-googlemaps"
cordova-plugin-inappbrowser 1.7.1 "InAppBrowser"
cordova-plugin-network-information 1.3.3 "Network Information"
cordova-plugin-proguard 1.0.0 "Cordova plugin ProGuard"
cordova-plugin-qrscanner 2.5.0 "QRScanner"
cordova-plugin-sim 1.3.3 "SIM"
cordova-plugin-sms-receiver 0.1.6 "Cordova SMS Receiver Plugin"
cordova-plugin-splashscreen 4.0.3 "Splashscreen"
cordova-plugin-statusbar 2.2.3 "StatusBar"
cordova-plugin-whitelist 1.3.2 "Whitelist"
cordova-plugin-x-socialsharing 5.1.8 "SocialSharing"
es6-promise-plugin 4.1.0 "Promise"
ionic-plugin-keyboard 2.2.1 "Keyboard"
phonegap-plugin-mobile-accessibility 1.0.5-dev "Mobile Accessibility"

If you use @ionic-native/google-maps, please tell the package.json (only @ionic-native/core and @ionic-native/google-maps are fine mostly)
@ionic-native/core :
@ionic-native/google-maps :

Current behavior:

I have registered a handler for the back button. As long as the plugin is not installed, it's working as intended. After adding the plugin, on click of back its performing the action I have registered for, at the same time it's exiting the app.
Expected behavior:

The app should not exit
Screen capture or video record:

Related code, data or error log (please format your code or data):
Please share your project files on Github or others(Bitbucket, Gitlabs...etc).
If you don't want to share your project files, please create a demo project, then share it.

Screen captures, and/or native logs(such as Logcat, xcode logs) are appreciate.

Giving much information, you are waiting time is less.
Thank you for your cooperation.

Share your project to github. First rule for this plugin :)

Too less information. Please share your project files on GitHub in order to reproduce your issue.

I cannot share my actual project on github
However, will create a sample version where the error can be replicated

ping

Was not able to reproduce the issue in a new project.  Also, the issue is fixed in my project. So closing the issue here


Why use different methods to draw cubes

I just started to learn about cesium. I found that cesium can use viewer.scene.primitives.add to add primitives, or viewer.entities to add primitives. Why there are two ways to do the same thing. Can you tell me why? Thank you

Welcome to the Cesium community @daniel-lij ! You can read about the difference between the Entity API and Primitive API here: https://cesium.com/docs/tutorials/geometry-and-appearances/.
For general questions like this, the Cesium forum is a good place to ask: https://groups.google.com/forum/#!forum/cesium-dev. We use GitHub for tracking bug reports and feature requests.


net/http: data race in test

Test-only data race I saw once in a trybot:
==================
WARNING: DATA RACE
Write by goroutine 127:
  net/http_test.TestTransportConcurrency()
      /tmp/workdir/go/src/net/http/transport_test.go:1104 +0x345
  testing.tRunner()
      /tmp/workdir/go/src/testing/testing.go:455 +0xdc

Previous read by goroutine 146:
  net/http.(*Transport).getConn.func2.1()
      /tmp/workdir/go/src/net/http/transport.go:534 +0xa0

Goroutine 127 (running) created at:
  testing.RunTests()
      /tmp/workdir/go/src/testing/testing.go:563 +0xcac
  testing.(*M).Run()
      /tmp/workdir/go/src/testing/testing.go:493 +0xe4
  net/http_test.TestMain()
      /tmp/workdir/go/src/net/http/main_test.go:19 +0x2e
  main.main()
      net/http/_test/_testmain.go:538 +0x209

Goroutine 146 (finished) created at:
  net/http.(*Transport).getConn.func2()
      /tmp/workdir/go/src/net/http/transport.go:537 +0x9c
  net/http.(*Transport).getConn()
      /tmp/workdir/go/src/net/http/transport.go:559 +0x45e
  net/http.(*Transport).RoundTrip()
      /tmp/workdir/go/src/net/http/transport.go:228 +0x62a
  net/http.send()
      /tmp/workdir/go/src/net/http/client.go:220 +0x6e4
  net/http.(*Client).send()
      /tmp/workdir/go/src/net/http/client.go:143 +0x1f7
  net/http.(*Client).doFollowingRedirects()
      /tmp/workdir/go/src/net/http/client.go:380 +0x1007
  net/http.(*Client).Get()
      /tmp/workdir/go/src/net/http/client.go:306 +0xc8
  net/http_test.TestChunkedNoContent()
      /tmp/workdir/go/src/net/http/transport_test.go:1071 +0x32a
  testing.tRunner()
      /tmp/workdir/go/src/testing/testing.go:455 +0xdc
==================
PASS
Found 1 data race(s)
FAIL	net/http	13.506s

Looks like TestChunkedNoContent isn't waiting for its Transport connections to die before a later test changes hooks.

I think race condition is between the goroutine in the handlePendingDial and the next new transport. We didn't wait goroutine in the handlePendingDial to exit.
I'm sorry I can't access go.googlesource.com so I just upload an alternative patch here:
diff --git a/src/net/http/transport.go b/src/net/http/transport.go
index 5de5d94..30e6469 100644
--- a/src/net/http/transport.go
+++ b/src/net/http/transport.go
@@ -523,7 +523,7 @@ func (t *Transport) getConn(req *Request, cm connectMethod) (*persistConn, error
 	}
 	dialc := make(chan dialRes)

-	handlePendingDial := func() {
+	handlePendingDial := func(prePendingDial, postPendingDial func()) {
 		if prePendingDial != nil {
 			prePendingDial()
 		}
@@ -556,10 +556,10 @@ func (t *Transport) getConn(req *Request, cm connectMethod) (*persistConn, error
 		// else's dial that they didn't use.
 		// But our dial is still going, so give it away
 		// when it finishes:
-		handlePendingDial()
+		handlePendingDial(prePendingDial, postPendingDial)
 		return pc, nil
 	case <-cancelc:
-		handlePendingDial()
+		handlePendingDial(prePendingDial, postPendingDial)
 		return nil, errors.New("net/http: request canceled while waiting for connection")
 	}
 }

I wish I could reproduce this.

I can reproduce it reliably with this change:
diff --git a/src/net/http/transport.go b/src/net/http/transport.go
index 5de5d94..0c305cf 100644
--- a/src/net/http/transport.go
+++ b/src/net/http/transport.go
@@ -531,6 +531,11 @@ func (t *Transport) getConn(req *Request, cm connectMethod) (*persistConn, error
 			if v := <-dialc; v.err == nil {
 				t.putIdleConn(v.pc)
 			}
+			for i := 0; i < 10; i++ {
+				prePendingDial, postPendingDial = postPendingDial, prePendingDial
+				time.Sleep(10 * time.Millisecond)
+				prePendingDial, postPendingDial = postPendingDial, prePendingDial
+			}
 			if postPendingDial != nil {
 				postPendingDial()
 			}

https://go-review.googlesource.com/#/c/11250/


Fix to not process empty node list and also fix error reporting in other places.

@ravisantoshgudimetla

This looks good @aveshagarwal


Default select combobox does not correctly select value

Current behavior
Using the default Select combobox example (https://ariakit.org/examples/select-combobox, no changes to the code) and Firefox 99 gives me weird behaviour as soon I type something and then select a value from the dropdown.
Seems as if the correct value gets selected, but then quickly reset back to the original value. Perhaps the onBlur event resetting the field?
https://user-images.githubusercontent.com/4366126/160815891-ca79b76e-32ab-4a18-bee0-ac0a90fedfa9.mov
Steps to reproduce the bug

Open the default example: https://ariakit.org/examples/select-combobox
Type something in the input
Click on a value from the (filtered) dropdown

Expected behavior
When clicking on an item in the dropdown, correctly set the value.
Possible solutions
No response

Hey that was quick! No matter how hard I try, both problems seem solved in the preview link.
Really amazing library, thanks for all the work you put in to it!


Impossible to add image field

Elmo dev env;  System Version: v5.4.2-47-g8bf4057
collect: 1.4.8
any form can be downloaded to Collect , however if the form contains, anything aside from the basic datatypes (integer, text etc.) isn't working. the  xml format transferd to Collect client doesn't have a proper form specification for any question of type image, singature, video, etc.
Examle: 5 questions, question # 4 is an image type ,and I get in the instance section the following:

> <instance>
>             <data id="1" version="3">
>                 <q1 />
>                 <q2 />
>                 <q3 />
>                 <q5 />
>            </data>
>  </instance>

.
.
.then at the end

>
> <input ref="/data/q4">
>       <label ref="jr:itext('q4:label')"/>
>
>       <hint ref="jr:itext('q4:hint')"/>
>
> </input>

No other mention about q4 either on  or   sections.
Any help would be apprecia

Yes this feature is under current development. If you want a stable release
of elmo, use the master branch.
On Wed, Feb 10, 2016 at 2:58 PM, Mario Estrada<EMAIL_ADDRESS>wrote:

Elmo dev env; System Version: v5.4.2-47-g8bf4057
collect: 1.4.8
any form can downloaded , however if the form contains, anything aside
from the basic datatypes (integer, text etc.) the resulted xml passed to
Collect client doesn't have a proper form spec.
Examle: 5 questions, question # 4 is an image type ,and I get in the
instance section the following:
.
.
.then at the end

No other mention about q4 either on or sections.
Any help would be appreciated.
—
Reply to this email directly or view it on GitHub
https://github.com/thecartercenter/elmo/issues/180.

--
Tom Smyth
Worker-Owner, Sassafras Tech Collective
Specializing in innovative, usable tech for social change
sassafras.coop · @sassafrastech
Resident, Touchstone Cohousing
touchstonecohousing.org

Is there any progress on adding (image capture) to Elmo?

Yes! The latest master branch now has full support for this. Give it a try!

that's great!, I will give it a try !


Is it possible to change certificate content in transport socket (to upstream) dynamically

Hi, we have the following question-using custom_handshaker_extension can we override only one of the tls handshake steps instead of overriding the whole process or extending it? Is the way to do it by rebuilding the envoy binary or there is another way(because there are no examples)? What we are trying to achieve is to change the transport socket certificate content attached on a dynamic forward proxy cluster(for example based on some information from the incomming http request). We also checked transport socket matches but it seems like they do not work for our scenario.

cc @mattklein123 @alyssawilk @ggreenway

It seems like the certificate provider match your case, but it doesn't implement yet https://github.com/envoyproxy/envoy/issues/19308

I don't think there's much you can do other than transport socket matches.  If you provide an example of what you're doing @ggreenway @danzh2010 are more familiar with the code and may be able to advise.

Are you just trying to select a TLS certificate dynamically, but no other changes to the handshake? If so, that's been discussed some over the years but never implemented. It would be a reasonable extension point to add.
With what is implemented now, I believe you'd need to implement the entire handshaker to get this functionality.

@ggreenway Yes, we only want to select tls certificate dynamically and preserve the default tls handshake behaviour.


Strange Behaviour using "tone_stream://%(1850,4150,475,425);loops=-1" on playback

Hi, we have still a lot of fun (and Success)... :), but
we had made experiments using tone_stream with  endPoint.play()
endPoint.play('tone_stream://%(100,15000,800);loops=-1');

It works, but with strange behavior if "loops=-1" (endless loop)
After you have send this play statement, any following call (even if you end your app and restart and reconnect to the DrachtIOServer) will have the tone playing.
You have to restart the DrachtIO/FreeSwitch construct to remove this behaviour.
Is the RTP EndPoint reused between different calls?

That's interesting -- are you calling 'destroy' on the endpoint?  That should stop it.  If you end the app without deleting the endpoint, then I would expect it to continue streaming that tone

deleting the endpoint should stop it, and the 'pause' api command should pause it per this:
https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+endless_playback

Ok, thx for the hint. I will try "pause".
The Endpoint is destroyed, but maybe (cause of debugging) not always.
But, if the DrachtIO/FS was in this STATE endpoint.destroy() was always called.
It looks like the Endpoint was re-used, or the tone_stream() was the new default Behaviour!?
i will do more tests, stay tuned :)


Update README for 0.2 release

Release highlights, update significant features, ...

I think this is now done via #404


The banner notification shows up in the print rendering of a record page

print-issues-2020-07-28.pdf
Notice at the top of the 1st page the notification banner:

Success Your data has been submitted. Showing you the result set...

I think that should be excluded from the print.css.
I imagine that an error banner would have also shown up in a print out but I did not test for that.

This has been fixed. Please test the same in FaceBase -  @robes

Still happens on facebase. I just went to a record, added a related record, returned to the original record, printed => open as PDF and the “Success…” banner is in the print out.

@robes She fixed this in a PR. So you're right. It still is not properly working on facebase (or any other deployments for that matter).
@DamCousik Please make the announcements after the change is merged with master. In general, you should wait for the hourly update to take place after your merge, test it yourself to make sure it's properly fixed, and then ask someone (usually the original writer of the issue) to verify the fix.

ok. thanks for the clarification.

@RFSH Sure, will do once it is merged.

@robes , the changes were merged. It should reflect now. Please test it and let me know if there are any issues

I just reproduced the bug on dev facebase @11:15AM. Can you please work with @Alejandro<EMAIL_ADDRESS>/ @bugacov to confirm that this is fixed? Thanks, Rob
On 8/10/20, 9:18 AM, "Damini Cousik" <notifications<EMAIL_ADDRESS>wrote:
@robeshttps://github.com/robes , the changes were merged. It should reflect now. Please test it and let me know if there are any issues
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/informatics-isi-edu/chaise/issues/1988#issuecomment-671451689, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABACCWXBCJV4Z425IE5LBGLSAAMWRANCNFSM4PLBTY3Q.

@robes sorry for the last update, turns out I had closed the PR without merging the changes. My bad. I merged the changes and tested it again on FaceBase and it works for me (https://dev.facebase.org/chaise/record/#1/isa:data_access_request/RID=1-KREY). Kindly check if it is working for you as well after which I will close the ticket.
Apologies for the back and forth.

thanks. i can confirm the fix on the dev fb server.


Unable to upgrade

I have this:
$ rustc -V
rustc 1.25.0 (84203cac6 2018-03-25)

And
$ rustup update stable
info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
info: latest update on 2018-05-10, rust version 1.26.0 (a77568041 2018-05-07)
info: downloading component 'rustc'
info: downloading component 'rust-std'
info: downloading component 'cargo'
info: downloading component 'rust-docs'
info: removing component 'rustc'
info: removing component 'rust-std'
info: removing component 'cargo'
info: removing component 'rust-docs'
info: installing component 'rustc'
info: rolling back changes
error: could not rename component directory from '/home/alex/.rustup/tmp/84omve8dayk6yu_k_dir/bk' to '/home/alex/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/share'
error: could not rename component directory from '/home/alex/.rustup/tmp/c2qq6_gdt8vdb8by_dir/bk' to '/home/alex/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/share/doc'
error: could not rename component directory from '/home/alex/.rustup/tmp/am6d8figcf1w071y_dir/bk' to '/home/alex/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/share/man'
error: failed to install component: 'rustc-x86_64-unknown-linux-gnu', detected conflict: '"lib/rustlib/x86_64-unknown-linux-gnu/bin/lld"'

I had a different conflict, but try uninstalling and re-installing


Rhythmyx: Server fails to start with missing bean exception on 1st startup post 8.1.1 upgrade

Describe the bug
After running the upgrade to 8.1.1 from 7.3.2 the server fails to start with a spring exception while trying to autowire the PSPubServerService
PSMissingBeanConfigurationException: Bean sys_amazonS3DeliveryHandler
To Reproduce
Steps to reproduce the behavior:

Run the upgrade on a 7.3.2 rx instance
Start the server with StartJetty.bat in a command prompt
Note there will be the missing bean errors in the console / server.log
Trying to access the server url will return a 503 app not available error

Expected behavior
The server should start without error post upgrade.

This seems to have something to do with the way that the publishing beans are deployed / registered.  I think that the old publisher-beans.xml file should be replaced with the built in delivery types moved to the main spring configuration, leaving any customer defined custom extensions only under config/user/spring folder.

This is Resolved.


textarea:focus or input:focus disables "naviagate back/forward" shortcuts

Perhaps this is related to using the arrow keys (⌘← and ⌘→) for shortcuts? Would this be any different if the shortcuts ⌘[ and ⌘] were also allowed for navigate back/forward? Chrome works with both. When I try in Chrome, I get the same problem when using ⌘← and ⌘→ from textarea or input, but there's no issue when using ⌘[ and ⌘]. Would you consider allowing both shortcuts? Or is there a way to set custom shortcuts? Thanks.

Good catch. As of now there's no way of setting multiple shortcuts for one command in the menus without a workaround (https://github.com/electron/electron/issues/4758) so I'll switch over to ⌘[ and ⌘].


Allow installation of WSL distros, via Microsoft Store, to other (non-system) drives.

Is your feature request related to a problem? Please describe.
My desktop contains a smaller SSD, mounted as "C:", and a larger HDD, mounted as "D:". Windows 10 is installed on "C:", and "C:" is my system drive. I generally prefer to install most things to "D:", in order to conserve space on "C:", because "C:" is a very small SSD, and was already over half full from the factory after installation of the OS and OEM bundled applications (another issue entirely).
I tried to install WSL Ubuntu 20.02 to "D:". I got a notification that it must be installed to a system drive, and it only allowed me to select "C:". Attempting to move the application to "D:", I got a similar notification that it cannot be moved. Despite my "Change where new content is saved" setting set to "D:", this particular application seems not to follow it.
Describe the solution you'd like
Allow for the WSL distros, via the official Microsoft Store installation route, to be installed to non-system drives.
I found an issue report to a different and unrelated project, where they claim that this is a configuration on the application in the Microsoft Store. If so, could this be reconfigured, please?
Describe alternatives you've considered
It looks like there exist unofficial manual installation instructions that would allow moving the application to another drive. I haven't tested these yet and cannot confirm if they work or not. If they do work, though, that seems like it should be officially supported, rather than requiring a workaround.
Additional context
N/A.

/dupe #449


reset #jsonbox after loading json

after detectImage(), #jsonbox remains and it makes some troubles with editing control points, load JSON etc.

lgtm


can not update createVNode instance

Vue version
3.4
Link to minimal reproduction
https://play.vuejs.org/#eNqNVNtq20AQ/ZVBL1awLNG6T64T0oYUWmgS0pInvcjS2FainV32ogSC/72zu7aipjYUDPbO5cyZMzN+Tb4olfcOk0WyNLVulQWD1qmLklqhpLbwChrXGdQaK4sPN7LBjC3UoIbKwIPD+/DIQNJP6chik8EWdrDWUsCEoScD1JUUam/PC//wlSefS+rQAjkB5/ChpFqSsdBIcY9rtnD19Oxg9UnfHNW2lVR17E2VlsqcnV/Aa0nAwdZpgm06adp+wkRSn5FBjGKYXUlFAXVFQNKCUw03FUo/b5HAGYS1O6DXnCoJyR6q957hSIgA/kYnixwYbeH72HE5rmW3rQH+bKRs3oA+HkE6kj9omqZDj4PkaS+yvU55X3UOfX+DVNuKmg6vurZ+8joN6berR6xtXhnTbogh8qHNPKjELAKD6ZS/PBww3VFQ1Cw947GxmMsibg3vCz8sCtWxl1/LlbNWElzWnsF5mYz4lMkFY0+nyyIGcTjAkifmh82hsSeOWhZs9GDFCDnJkrhPM1Gp/NFI4uUNrZV7hymTRWzW23jH/JsZWKvMoijqhjitwa7tdU5oC1KiuOSwQrPWrcAZE7ic55/yOdc3dmzO0YjZSstng5pByiQblSnY2KOexfNA/b9l36WNS79z/VPeV+cx7FgUa3jw63bzThI/ubZDfav8lv4tTdV18vlHsFntcOil3mL9dMT+aF5iT3caA7NR/7bSG7TRff3rBl/49+AUsnHdfgwnnPdoZOc8xxj21fl9YQ2HuMD2e5hwS5vf5vrFIplDU55oUCPEh3n4ozrV+hvdeT4fqXj4Wzryh9jguiW880eSMk64khsnVkwy3N3JW4jLHX7APoOZ+DPbcVX2Hl3z3R/RPOzK
Steps to reproduce
when use functioal component, we can not update vnode(by createVNode).
Note: 3.3 is ok
What is expected?
can update like  3.3
What is actually happening?
can not update
System Info
No response
Any additional comments?
No response

老师来发声了，赞赞赞

Can you set effect.dirty to true before calling update?
For example like this: playground

Can you set effect.dirty to true before calling update?
For example like this: playground

component.update is not public api.  effect.dirty also not public api.  we should avoid use this.  However, due to historical reasons, if the official can support solving the component.update problem. Historical versions will be compatible. If not, we will use public api to reconstruct this code as much as possible instead of not safe api again.

Using internal API/behaviours can cause these sort of issues, since they are not public they might not be tested directly and the tests are done by other places that rely on that behaviour.
My personal opinion and not talking as Vue team or any official manner:
I think there's an incorrect usage of the internal function but on the other hand I would expect .update to be a very similar behaviour to $forceUpdate which would trigger a re-render regardless of dependencies. Is also odd that the stateful component works and stateless does not, making me think this might be a bug, altho in template usages it works as expected.
As for effect.dirty = true, there's some usages in the code base to trigger this exact behaviour, I cannot recommend that, because there's no guarantee it will keep working in the future.
One way to solve this in most of v3 releases is to use cloneVNode to update the node:
// vm.component.update()
// I don't really recommend updating/mutating the props directly
VueRender(cloneVNode(vm, vm.component.props), domRef.value)

The correct usage with public APIs: for each update, you should be creating a new vnode with the new props and then call render again on the same DOM container:
https://play.vuejs.org/#eNqNVE1v2zAM/SuCL3EQx8KQnbK06FZ0wAasLbqhJ10cm0ncWpSgj7RAkf8+SkpcN0uHnhLx6z2Sj37Jvmpdbj1k82xha9Nqxyw4r88FtlIr49gLM7AqWG2gcnB/rRooyIINGFZZdu/hLj4KpvCX8uigKdiG7djKKMlGVHrUl7pUUu/tJQ+PgDz6IrADx9BLdsY+CawVWscaJe9gRRZCz8cHa0j67rF2rcKqI2+ujdJ2fHbOXgQyCnbeINvko6bdjohIHjIKlqKozE6gwJ5pnveZfSP5oNOY/YpXpFAWuM4DVcZ242JPtdxWnYcA0bPdVNh0cNm19WOg2mNxzm6WD1C7srK2XWO+lWVNSAoBXRm5ElQEmUzoJ1SMWW/ivG6IZz6m+X2YfmIei56kLnDBkwxIAPRwIHVH5ejF2GLpnVPILurQ0ZnIBv2J7JxqTiYLnoJSAi0h7I9CExBFLTgZybvgg9pZkSWJTGWlywerkPQYRyX2Diuy+WH6IiPZhDcxcE7bOed1g5TWQNduTYngOGrJLyiMG1p0K2FKBC5m5edyRvjWDc0lWDldGvVkwVARkRUDGE7GLZhpUjyYj8IepQ2hj1z/wEdZ0S5oKM6SkFbt+mgkQQNtB+ZGh8W+HU3VderpZ7Q546Hvpd5A/XjC/mCfU0+3BiKzQf+uMmtwyX31+xqe6X/vlKrx3X4N7zjvwKrOB44p7JsPeqEZ9nGR7Y+44RbXf+zVswO0h6YC0TiNGB/3ERT9XuuvdGflbDDFw5fmxDeugVWLcBsuLqc68TquvVwSyXjH/7uGpOMAnTKISbjZHaGS96TMd38BFRbaUg==
Closing as wontfix, as the workaround is relatively straightforward.


cfn-lint breaks with any errors in template and errors on ServerlessRestApi implicit reference

CloudFormation Lint Version
0.87.7
What operating system are you using?
macOS Sonoma 14.5
Describe the bug
It's twofold.  What I am ultimately trying to do is allow the use of ServerlessRestApi in a SAM template. I am using this in VSCode and linter yields "Unable to find referenced value, 'ServerlessRestApi" for something like this:
# ServerlessRestApi is an implicit API created out of Events key under Serverless::Function
# Find out more about other implicit resources you can reference within SAM
# https://github.com/awslabs/serverless-application-model/blob/master/docs/internals/generated_resources.rst#api
HelloWorldApi:
  Description: API Gateway endpoint URL for Prod stage for Hello World function
  Value: !Sub 'https://${ServerlessRestApi}.execute-api.${AWS::Region}.amazonaws.com/Prod/hello/'

In an attempt to fix this I have tried the following:

install sam-cli using Brew and using the AWS installer
installing cfn-lint using brew and using pipx
installing aws-sam-translator using pipx

I am using the VSCode plugin for cfn-lint.
What I noticed was that if the template is fine then cfn-lint just exits quietly. If I run from command line I get:
❯ cfn-lint /Users/Me/Code/sam-app/template.yaml
Traceback (most recent call last):
  File "/opt/homebrew/bin/cfn-lint", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/opt/homebrew/Cellar/cfn-lint/0.87.7/libexec/lib/python3.12/site-packages/cfnlint/__main__.py", line 40, in main
    matches = list(cfnlint.core.get_matches(filenames, args))
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/cfn-lint/0.87.7/libexec/lib/python3.12/site-packages/cfnlint/core.py", line 179, in get_matches
    matches = run_cli(
              ^^^^^^^^
  File "/opt/homebrew/Cellar/cfn-lint/0.87.7/libexec/lib/python3.12/site-packages/cfnlint/core.py", line 84, in run_cli
    return run_checks(filename, template, rules, regions, mandatory_rules)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/cfn-lint/0.87.7/libexec/lib/python3.12/site-packages/cfnlint/core.py", line 354, in run_checks
    errors.extend(runner.transform())
                  ^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/cfn-lint/0.87.7/libexec/lib/python3.12/site-packages/cfnlint/runner.py", line 35, in transform
    matches = self.cfn.transform()
              ^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/cfn-lint/0.87.7/libexec/lib/python3.12/site-packages/cfnlint/template/template.py", line 170, in transform
    return transform.transform(self)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/cfn-lint/0.87.7/libexec/lib/python3.12/site-packages/cfnlint/template/transforms/transform.py", line 54, in transform
    cfn.graph = Graph(cfn)
                ^^^^^^^^^^
  File "/opt/homebrew/Cellar/cfn-lint/0.87.7/libexec/lib/python3.12/site-packages/cfnlint/graph.py", line 90, in __init__
    self._add_outputs(cfn)
  File "/opt/homebrew/Cellar/cfn-lint/0.87.7/libexec/lib/python3.12/site-packages/cfnlint/graph.py", line 124, in _add_outputs
    for output_id in cfn.template.get("Outputs", {}).keys():
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'keys'

No errors are printed regarding the issue such as "Unable to find referenced value, 'ServerlessRestApi'".
If I run the VSCode linter it will have errors next to these lines AND the top entry "AWSTemplateFormatVersion: '2010-09-09'" shows a warning on hover which prints the same traceback errors as above. So it seems to be working? but always dumps errors when so?
I've attempted to ignore the issue by passing the flag "--ignore-checks W" which does nothing for this error.
Additionally 'cfn-lint u' hangs forever and appears to do nothing
__
Expected behavior
I'd like to lint the default SAM HelloWorld template without warnings.
Reproduction template
Transform: AWS::Serverless-2016-10-31
Description: My integration

# More info about Globals: https://github.com/awslabs/serverless-application-model/blob/master/docs/globals.rst
Globals:
  Function:
    Runtime: nodejs20.x
    Timeout: 180
    Handler: app.lambdaHandler
    Architectures:
      - x86_64

Resources:
  TriggerFunction:
    Type: AWS::Serverless::Function
    Properties:
      CodeUri: trigger/

    Metadata: # Manage esbuild properties
      BuildMethod: esbuild
      BuildProperties:
        Minify: true
        Target: es2020
        EntryPoints:
          - app.ts

Outputs:
# ServerlessRestApi is an implicit API created out of Events key under Serverless::Function
# Find out more about other implicit resources you can reference within SAM
# https://github.com/awslabs/serverless-application-model/blob/master/docs/internals/generated_resources.rst#api
HelloWorldApi:
  Description: API Gateway endpoint URL for Prod stage for Hello World function
  Value: !Sub 'https://${ServerlessRestApi}.execute-api.${AWS::Region}.amazonaws.com/Prod/hello/'

I just disabled the extension and I see there are still errors regarding ServerlessRestApi which makes me think another plugin is showing error - I will close this while I fix this to see if that is the cause of the error dump.

I'm able to reproduce on the latest version of the code.  The extension is calling cfn-lint and probably producing this error.

The transformed template I'm getting is.  I'm not sure why I'm getting nulls for Outputs from the sam translator.
{
 "Description": "My integration",
 "HelloWorldApi": {
  "Description": "API Gateway endpoint URL for Prod stage for Hello World function",
  "Value": {
   "Fn::Sub": "https://${ServerlessRestApi}.execute-api.${AWS::Region}.amazonaws.com/Prod/hello/"
  }
 },
 "Outputs": null,
 "Resources": {
  "TriggerFunction": {
   "Metadata": {
    "BuildMethod": "esbuild",
    "BuildProperties": {
     "EntryPoints": [
      "app.ts"
     ],
     "Minify": true,
     "Target": "es2020"
    }
   },
   "Properties": {
    "Architectures": [
     "x86_64"
    ],
    "Code": {
     "S3Bucket": "bucket",
     "S3Key": "value"
    },
    "Handler": "app.lambdaHandler",
    "Role": {
     "Fn::GetAtt": [
      "TriggerFunctionRole",
      "Arn"
     ]
    },
    "Runtime": "nodejs20.x",
    "Tags": [
     {
      "Key": "lambda:createdBy",
      "Value": "SAM"
     }
    ],
    "Timeout": 180
   },
   "Type": "AWS::Lambda::Function"
  },
  "TriggerFunctionRole": {
   "Metadata": {
    "BuildMethod": "esbuild",
    "BuildProperties": {
     "EntryPoints": [
      "app.ts"
     ],
     "Minify": true,
     "Target": "es2020"
    }
   },
   "Properties": {
    "AssumeRolePolicyDocument": {
     "Statement": [
      {
       "Action": [
        "sts:AssumeRole"
       ],
       "Effect": "Allow",
       "Principal": {
        "Service": [
         "lambda.amazonaws.com"
        ]
       }
      }
     ],
     "Version": "2012-10-17"
    },
    "ManagedPolicyArns": [
     "arn:aws:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole"
    ],
    "Tags": [
     {
      "Key": "lambda:createdBy",
      "Value": "SAM"
     }
    ]
   },
   "Type": "AWS::IAM::Role"
  }
 }
}

@cyberwombat based on your indentation I can see why Outputs are null.  I'll update the graphing functionality to validate the Outputs before assuming its correct.

@kddejong I know... embarrassing :)  After I disabled cfn-lint plugin and ran it I saw that. I was distracted by the error message regarding "ServerlessRestApi" which turns out came from a different plugin. Silly me.
Thanks


Dialogflow sample

Breaking multiple samples into individual PRs.
https://github.com/GoogleCloudPlatform/android-docs-samples/pull/108

Kokoro Error: "File google-services.json is missing. The Google Services Plugin cannot function without it."
Since Android Studio now requires it to build the app, not sure how to get around this one.

@nnegrey I might not be the right person to review this PR.
If the google-services.json is similar to a service account (I haven't taken a look). Take a look at this helper Groovy function.
https://github.com/GoogleCloudPlatform/android-docs-samples/blob/30784ed1560b4232b7131d40df44a7a6018f2eb1/nl/LanguageClient/app/build.gradle#L60-L67


[Bug]: ShopifyCLI::API::APIRequestTimeoutError: Timeout

Currently i'm playing with Theme App Extension, sometimes i get this error.

Hello @hieutherealest can you fill out the bug report issue with the necessary information? Thank you https://github.com/Shopify/cli/issues/new?template=bug-report.yml


Update package locks from npm run nuke

Kept running into issues from a fresh clone regarding some lockfile in playwright. Locally could fix it by running npx lerna bootstrap because the issue kept reproducing with lerna bootstrap --ci. Attempting a package lock update to dee if this fixes the issue
error encountered:
lerna ERR! npm ci exited 1 in '@lit/localize'
lerna ERR! npm ci stderr:
npm ERR! code 1
npm ERR! path /Users/emarquez/Workspace/lit/lit/packages/localize/node_modules/playwright
npm ERR! command failed
npm ERR! command sh -c node install.js
npm ERR! /Users/emarquez/Workspace/lit/lit/packages/localize/node_modules/proper-lockfile/lib/lockfile.js:68
npm ERR!                 return callback(Object.assign(new Error('Lock file is already being held'), { code: 'ELOCKED', file }));
npm ERR!                                               ^
npm ERR!
npm ERR! Error: Lock file is already being held
npm ERR!     at /Users/emarquez/Workspace/lit/lit/packages/localize/node_modules/proper-lockfile/lib/lockfile.js:68:47
npm ERR!     at callback (/Users/emarquez/Workspace/lit/lit/packages/localize/node_modules/graceful-fs/polyfills.js:299:20)
npm ERR!     at FSReqCallback.oncomplete (node:fs:199:5) {
npm ERR!   code: 'ELOCKED',
npm ERR!   file: '/Users/emarquez/Library/Caches/ms-playwright'
npm ERR! }
npm ERR!
npm ERR! Node.js v17.4.0

npm ERR!      /Users/emarquez/.npm/_logs/2022-04-19T23_06_45_563Z-debug-0.log
lerna ERR! npm ci exited 1 in '@lit/localize'

Can confirm this worked. How should I proceed with the changeset? Does this even require a version bump?

Can confirm this worked. How should I proceed with the changeset? Does this even require a version bump?

You can do npx changeset --empty. package-lock.json files are never published, so it can't affect anybody other than us, so it doesn't need to be in the changelog.

This looks great, so I'm going to merge right away


Docker Business Licenese are applied at a company level and not the organization level.

Tell us about your request
When an a company is using the Docker Company structure with multiple organizations under the company, licenses are currently applied at each organization.  If a single user need access to multiple organizations then then there is a need to have duplicate licenses.  If licenses were applied at a company level and not the organization, then it would remove the need for the duplicate licenses.
Which service(s) is this request for?
Docker Hub, Docker Desktop
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
By having  the licenses at an organization this is causing the need for duplicate licenses.  As company's have mergers or bringing team subscriptions under a single business agreement, that requires multiple organizations; this causes company's to have to duplicate licenses.
Are you currently working around the issue?
We have to have multiple licenses for a single user.
Additional context
None

Hi,
First of all sorry for the late reply.
We are aware about the gap and we have it in our radar.
We cannot share yet an ETA due to the current priorities but it's good that this is captured here so that we can track also the requests from the customers' perspective.
CCIng @ajthilakan.


why add a hardcoded 12?

hey xinya, when looking at the code, i have a question why u are adding a hard coded 12 here?
https://github.com/xinyadu/eeqa/blob/11bda7d762a91bc884e7b7886a917b1d0de5f140/code/run_trigger_qa.py#L73
I don't get why for [CLS] you are adding 12?

@YanLiang1102  maybe it contains the question length

good thoughts!

@YanLiang1102 maybe it contains the question length

@ll0iecas  hey there, did you try to reproduce the result by using this codebase,   I tried to train on multiple K80 (8) GPUs, it always failed silently on different epoch and different step (no exception throw) wonder what is the issue.  with 1 K80 gpu and batch size even set to 2 , it also randomly exit with no exception. wonder if you have the same experience? or any thoughts on this?  thank you in advance!

I attached the train logs here: for example when I have the batchsize as 32:
!!! Best dev f1_c (lr=4e-05, epoch=0): p_c: 72.33, r_c: 25.56, f1_c: 37.77, p_i: 89.94, r_i: 31.78, f1_i: 46.96
Epoch: 0, Step: 270 / 537, used_time = 799.39s, loss = 0.175028
!!! Best dev f1_c (lr=4e-05, epoch=0): p_c: 68.51, r_c: 27.56, f1_c: 39.30, p_i: 89.50, r_i: 36.00, f1_i: 51.35
Epoch: 0, Step: 276 / 537, used_time = 817.74s, loss = 0.172604
!!! Best dev f1_c (lr=4e-05, epoch=0): p_c: 66.96, r_c: 33.33, f1_c: 44.51, p_i: 82.14, r_i: 40.89, f1_i: 54.60
Epoch: 0, Step: 300 / 537, used_time = 888.44s, loss = 0.162986
!!! Best dev f1_c (lr=4e-05, epoch=0): p_c: 76.12, r_c: 34.00, f1_c: 47.00, p_i: 86.07, r_i: 38.44, f1_i: 53.15
Epoch: 0, Step: 306 / 537, used_time = 906.22s, loss = 0.160711
!!! Best dev f1_c (lr=4e-05, epoch=0): p_c: 76.33, r_c: 35.11, f1_c: 48.10, p_i: 85.51, r_i: 39.33, f1_i: 53.88
Epoch: 0, Step: 318 / 537, used_time = 942.80s, loss = 0.156545
!!! Best dev f1_c (lr=4e-05, epoch=0): p_c: 60.77, r_c: 42.00, f1_c: 49.67, p_i: 73.31, r_i: 50.67, f1_i: 59.92
Epoch: 0, Step: 324 / 537, used_time = 961.29s, loss = 0.154742
!!! Best dev f1_c (lr=4e-05, epoch=0): p_c: 75.11, r_c: 39.56, f1_c: 51.82, p_i: 83.12, r_i: 43.78, f1_i: 57.35
Epoch: 0, Step: 330 / 537, used_time = 979.67s, loss = 0.152926
!!! Best dev f1_c (lr=4e-05, epoch=0): p_c: 64.39, r_c: 50.22, f1_c: 56.43, p_i: 75.21, r_i: 58.67, f1_i: 65.92
Epoch: 0, Step: 378 / 537, used_time = 1118.36s, loss = 0.139119
!!! Best dev f1_c (lr=4e-05, epoch=0): p_c: 70.13, r_c: 48.00, f1_c: 56.99, p_i: 78.90, r_i: 54.00, f1_i: 64.12
Epoch: 0, Step: 384 / 537, used_time = 1136.84s, loss = 0.137941
!!! Best dev f1_c (lr=4e-05, epoch=0): p_c: 67.32, r_c: 53.11, f1_c: 59.38, p_i: 76.62, r_i: 60.44, f1_i: 67.58
Epoch: 0, Step: 390 / 537, used_time = 1155.24s, loss = 0.136606
!!! Best dev f1_c (lr=4e-05, epoch=0): p_c: 70.91, r_c: 52.00, f1_c: 60.00, p_i: 78.79, r_i: 57.78, f1_i: 66.67
Epoch: 0, Step: 408 / 537, used_time = 1207.63s, loss = 0.132690
!!! Best dev f1_c (lr=4e-05, epoch=0): p_c: 69.28, r_c: 53.11, f1_c: 60.13, p_i: 77.10, r_i: 59.11, f1_i: 66.92
Epoch: 0, Step: 420 / 537, used_time = 1242.76s, loss = 0.130141
!!! Best dev f1_c (lr=4e-05, epoch=0): p_c: 65.41, r_c: 58.00, f1_c: 61.48, p_i: 77.94, r_i: 69.11, f1_i: 73.26
Epoch: 0, Step: 426 / 537, used_time = 1260.81s, loss = 0.128809
!!! Best dev f1_c (lr=4e-05, epoch=0): p_c: 73.91, r_c: 56.67, f1_c: 64.15, p_i: 80.58, r_i: 61.78, f1_i: 69.94
Epoch: 0, Step: 438 / 537, used_time = 1295.92s, loss = 0.126653
!!! Best dev f1_c (lr=4e-05, epoch=0): p_c: 67.47, r_c: 62.22, f1_c: 64.74, p_i: 74.22, r_i: 68.44, f1_i: 71.21
Epoch: 0, Step: 474 / 537, used_time = 1400.03s, loss = 0.120188
!!! Best dev f1_c (lr=4e-05, epoch=0): p_c: 67.21, r_c: 63.78, f1_c: 65.45, p_i: 74.24, r_i: 70.44, f1_i: 72.29
Epoch: 0, Step: 480 / 537, used_time = 1418.64s, loss = 0.119126
!!! Best dev f1_c (lr=4e-05, epoch=0): p_c: 70.83, r_c: 64.22, f1_c: 67.37, p_i: 77.45, r_i: 70.22, f1_i: 73.66
Epoch: 0, Step: 498 / 537, used_time = 1470.99s, loss = 0.116169
!!! Best dev f1_c (lr=4e-05, epoch=0): p_c: 72.03, r_c: 64.67, f1_c: 68.15, p_i: 77.23, r_i: 69.33, f1_i: 73.07
Epoch: 0, Step: 516 / 537, used_time = 1523.16s, loss = 0.113306
!!! Best dev f1_c (lr=4e-05, epoch=0): p_c: 71.81, r_c: 66.22, f1_c: 68.90, p_i: 77.83, r_i: 71.78, f1_i: 74.68
Epoch: 0, Step: 522 / 537, used_time = 1541.61s, loss = 0.112382
!!! Best dev f1_c (lr=4e-05, epoch=0): p_c: 72.73, r_c: 65.78, f1_c: 69.08, p_i: 78.62, r_i: 71.11, f1_i: 74.68
Epoch: 0, Step: 534 / 537, used_time = 1577.71s, loss = 0.110587
!!! Best dev f1_c (lr=4e-05, epoch=0): p_c: 69.33, r_c: 71.33, f1_c: 70.32, p_i: 74.73, r_i: 76.89, f1_i: 75.79
Start epoch #1 (lr = 4e-05)...
Epoch: 1, Step: 6 / 537, used_time = 1598.31s, loss = 0.108907
!!! Best dev f1_c (lr=4e-05, epoch=1): p_c: 68.89, r_c: 73.33, f1_c: 71.04, p_i: 73.90, r_i: 78.67, f1_i: 76.21
Epoch: 1, Step: 12 / 537, used_time = 1616.53s, loss = 0.107724
!!! Best dev f1_c (lr=4e-05, epoch=1): p_c: 69.33, r_c: 73.33, f1_c: 71.27, p_i: 74.16, r_i: 78.44, f1_i: 76.24
it just stopped at epoch 1 random step.

solved.


Juliawin cannot be relocated

The system images and compiled libraries currently breaks when relocating. Thus is due to compiled code holding on to old file locations. Solution is to delete compiled packages every time Juliawin relocated.
One example:
julia> using PyCall
[ Info: Precompiling PyCall [438e738f-606a-5dbb-bf0a-cddfbfd45ab0]
ERROR: LoadError: ArgumentError: Path to conda environment is not valid: C:\Users\Foo\Documents\julia\repositories\juliawin\packages\conda

Fixed in https://github.com/heetbeet/juliawin/pull/30


JSON parsing issue

Just tried to run this for the first time and got this on pressing ctrl-c, not sure how to debug it further for ya:
analysing data
events.js:183
      throw er; // Unhandled 'error' event
      ^

Error: Unexpected COMMA(",") in state COLON
    at Parser.proto.parseError (/Users/contra/.nvm/versions/node/v8.9.4/lib/node_modules/clinic/node_modules/jsonparse/jsonparse.js:321:16)
    at Parser.proto.onToken (/Users/contra/.nvm/versions/node/v8.9.4/lib/node_modules/clinic/node_modules/jsonparse/jsonparse.js:395:24)
    at Parser.parser.onToken (/Users/contra/.nvm/versions/node/v8.9.4/lib/node_modules/clinic/node_modules/JSONStream/index.js:126:12)
    at Parser.proto.write (/Users/contra/.nvm/versions/node/v8.9.4/lib/node_modules/clinic/node_modules/jsonparse/jsonparse.js:139:34)
    at Stream.<anonymous> (/Users/contra/.nvm/versions/node/v8.9.4/lib/node_modules/clinic/node_modules/JSONStream/index.js:21:12)
    at Stream.stream.write (/Users/contra/.nvm/versions/node/v8.9.4/lib/node_modules/clinic/node_modules/through/index.js:26:11)
    at TraceEventDecoder._transform (/Users/contra/.nvm/versions/node/v8.9.4/lib/node_modules/clinic/node_modules/@nearform/clinic-doctor/format/trace-event-decoder.js:114:19)
    at TraceEventDecoder.Transform._read (_stream_transform.js:186:10)
    at TraceEventDecoder.Transform._write (_stream_transform.js:174:12)
    at doWrite (_stream_writable.js:387:12)

then looking at the folder, it spit out 30+ folders:

might have something to do with happypack running a bunch of subprocesses

might have something to do with happypack running a bunch of subprocesses

Yep, that sounds reasonable. What do you think the expected behavior should be?

As for the Error: Unexpected COMMA(",") in state COLON issue. There is unfortunately some bugs in node.js v8.9.4, we have fixed then but node.js v8.10.0 hasn't been released yet.
You can try with node.js v9.4.0 that should work better.

From what I'm seeing is that when the traces get very large this error pops up - if it's a node 8 thing I'll close it and try with node 9.

FWIW, I'm using Node.js 9.5.0 and seeing this error during "analysis":
^Canalysing data
events.js:137
      throw er; // Unhandled 'error' event
      ^

Error: Invalid JSON (Unexpected "E" at position 32365 in state STOP)
    at Parser.proto.charError (/Users/boysko/.nvm/versions/node/v9.5.0/lib/node_modules/clinic/node_modules/jsonparse/jsonparse.js:90:16)
    at Parser.proto.write (/Users/boysko/.nvm/versions/node/v9.5.0/lib/node_modules/clinic/node_modules/jsonparse/jsonparse.js:154:23)
    at Stream.<anonymous> (/Users/boysko/.nvm/versions/node/v9.5.0/lib/node_modules/clinic/node_modules/JSONStream/index.js:21:12)
    at Stream.stream.write (/Users/boysko/.nvm/versions/node/v9.5.0/lib/node_modules/clinic/node_modules/through/index.js:26:11)
    at TraceEventDecoder._transform (/Users/boysko/.nvm/versions/node/v9.5.0/lib/node_modules/clinic/node_modules/@nearform/clinic-doctor/format/trace-event-decoder.js:114:19)
    at TraceEventDecoder.Transform._read (_stream_transform.js:185:10)
    at TraceEventDecoder.Transform._write (_stream_transform.js:173:12)
    at doWrite (_stream_writable.js:407:12)
    at writeOrBuffer (_stream_writable.js:393:5)
    at TraceEventDecoder.Writable.write (_stream_writable.js:290:11)

I'm using the latest clinic doctor with Node.js 9.5.0 and am getting a slightly different JSON error during analysis:
^Canalysing data
events.js:137
      throw er; // Unhandled 'error' event
      ^

Error: Invalid JSON (Unexpected "\"" at position 20385 in state STOP)
    at Parser.proto.charError (/Users/boysko/.nvm/versions/node/v9.5.0/lib/node_modules/clinic/node_modules/jsonparse/jsonparse.js:90:16)
    at Parser.proto.write (/Users/boysko/.nvm/versions/node/v9.5.0/lib/node_modules/clinic/node_modules/jsonparse/jsonparse.js:284:26)
    at Stream.<anonymous> (/Users/boysko/.nvm/versions/node/v9.5.0/lib/node_modules/clinic/node_modules/JSONStream/index.js:21:12)
    at Stream.stream.write (/Users/boysko/.nvm/versions/node/v9.5.0/lib/node_modules/clinic/node_modules/through/index.js:26:11)
    at TraceEventDecoder._transform (/Users/boysko/.nvm/versions/node/v9.5.0/lib/node_modules/clinic/node_modules/@nearform/clinic-doctor/format/trace-event-decoder.js:114:19)
    at TraceEventDecoder.Transform._read (_stream_transform.js:185:10)
    at TraceEventDecoder.Transform._write (_stream_transform.js:173:12)
    at doWrite (_stream_writable.js:407:12)
    at writeOrBuffer (_stream_writable.js:393:5)
    at TraceEventDecoder.Writable.write (_stream_writable.js:290:11)

Would it help if I sent you the generated files?

@gboysko are you using the cluster module?

I'm using the sticky-cluster module in my application (which uses cluster internally). So, I guess, yes. Is that a limitation?

@gboysko Each process will write to the same file which is causing issues. We are working on fixing it in https://github.com/nodejs/node/pull/18480 – However, even when "fixed" it won't be obvious what data from what process you want to be analyzed. Thus the best thing will properly always be to benchmark a single standalone-worker.

I created an issue to track the cluster issue: https://github.com/nearform/node-clinic-doctor/issues/102

Thanks @AndreasMadsen. I can startup my application with a single worker process, but don't know if I could instruct Clinic to only monitor it. Is that possible? I could add calls directly into the child process workflow if the command line tool doesn't have the ability.

For the moment you need to run the worker without a master process. If the master is decoupled from the worker by using exec in cluster.setupMaster then that should be fairly easy.
There is unfortunately very little we can do until nodejs/node#18480 is merged – and I'm having a lot of trouble with operating systems that are not easily accessible to me 🙄

I see. I'll see what I can do to restructure my application to use a single process. Thanks!

@AndreasMadsen My application runs in several different clustering options (vertical, horizontal) as well as "none". When "none" is selected, a single process is used. However, in this configuration, I still get a failure. Note that my application still loads the cluster module, but it never "forks" a child process. Would you expect me to see the same JSON parsing error? Do I need to eradicate the cluster module from my source code to use this tool?

Note that my application still loads the cluster module, but it never "forks" a child process.

That should be fine.
/cc @mafintosh You could help solve this issue?

I see. It crashes as it did before. Would you like me to collect any logs
for you?
On Thu, Mar 8, 2018 at 6:58 PM, Andreas Madsen<EMAIL_ADDRESS>wrote:

Reopened #7 https://github.com/nearform/node-clinic/issues/7.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/nearform/node-clinic/issues/7#event-1512327452, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAm3MWpX8IhQk5SjcoEyKPTjB6K3u-bjks5tccWXgaJpZM4R2qk1
.

@gboysko I think a good start would be:
clinic clean
clinic doctor -- node your-app-with-mode-none.js
ls -la

Hey @AndreasMadsen I ran again today and did not encounter a problem. I'm not sure how to explain why it worked, but I did let the server run without any load for several minutes after the stress test was done. I'm able to see the Doctor output now. Thanks!

Okay, very odd. The trace-events that this fails on, is an experimental node.js feature that still has some bugs, we are contributing fixes often. Let us know if the issue occurs again.

Hi , guys.
Can you help me with same issue for
Windows 11
$ node -v v19.3.0
$ clinic -v                                                                                v12.0.0
and as result of invoking
clinic doctor --on-port 'autocannon localhost:$PORT/api/review/byProduct/63f15234483137a0829dca29' -- node dist/main.js

getting result

PS: deleting node?module and lock files , as changing port in my NestJS app does not bring any result?
Could you tell me what should I do to fix it on my side


Ngnix reverse proxy no working

Environment
Docker
Version
the latest
Describe the problem
and the code
server {
listen 80;
listen [::]:80;
server_name <IP_ADDRESS> <IP_ADDRESS>;

location / {
    proxy_pass http://<IP_ADDRESS>:7575/board;
    include proxy_params;
}

}
i know the issue and is that the page can't go to the icons
Logs
sorry but i dont know how to get it
Context

Please tick the boxes

[X] I confirm that I attached the proper logs
[X] I've read the docs
[X] I've checked for duplicate issues
[X] I've tried to debug myself

Hi, please do not proxy to /board. This is unsupported and will break the entire application.
Always proxy to / unless you specifically know what you're doing - in which case we won't provide any support for (out of scope).


Filter size runtime error when stack_sizes and R_stack_sizes are set with different channels

The bug is caused due to line 305 in the build() method of PredNet class.
The fix is - nb_channels = 2 * self.stack_sizes[l]

Good catch, thanks!


Add register_notifications() service call

Expose register_notifications() as SDK service.

[x] Bindings
[x] Rustdoc for service method
[ ] SDK doc example / snippet

Let's wait for the lsp change to deploy to be able to test this?

Let's wait for the lsp change to deploy to be able to test this?

@JssDWt I'll merge one the CI tests go through, but will check with you before calling it in notification tests.


Update README.md

Readme should contains at least:

more information about the project in general
information what the currently implemented functionality - what a user can expect
information on "how to use" optimint
information about contributing (see: #140)

Does a write-up exist for "how to use" Optimint? I would like to read something like that if possible :) I do not mind taking it from rough form and turning it into the section for the README. I think I need something like that if I want to contribute on deeper issues

Unfortunately it doesn't exist. TBH my plan is to write a blog post about spinning up optimint network and link it, but first I would like to have multi-aggregator mode working.

Closed by #942


Sentinel api seems to be incomplete?

Trying to pull info from the api for dweb.net on the sentinel node but can't seem to find it. Is this still being worked on? Thank you.

I'm unclear on what exactly you are trying to do... Which API are you using? Do you think the API is broken? Or are you just unsure what an API should provide?


Drag-and-drop file to viewport: new node name is not informative

As of latest master, when one drags-and-drops a .dae mesh from filesystem to viewport, a new node is created with name "Scene Root", next time it's "Scene Root2" and so on.
I think it would make sense to call the new node based on the file name instead (cube.dae -> "cube", "cube2", "cube3", etc).

Fixed by #27453


Include App settings in migration backup

Description

Include app settings in the backup that can be created using BitBanana.
Context

It would be convenient for users if the app settings are transferred as well during phone migration.

This is done and will be included in next release. See ac2ae39308793a428c93eb08aef229fc4b9eb73d

This was shipped with 0.8.8


Control of rotation from the builder

I'd like control over the rotation speed of the confetti through the builder as they sometimes spin too fast for my current use case. Or rather, the designer thinks so but there are no controls for it at the moment :)

PR Created #189

Good one! I'll review you PR. Being able to control the speed of the rotation indeed sounds like a nice thing to add

Nice!

v1.2.4 has been released: https://github.com/DanielMartinus/Konfetti/releases/tag/v1.2.4
Thanks for your contribution!

Thank you too!


Request work by cors-anywhere Herokuapp and doesn't work with my own server

i have installed on my own server cors-anywhere and it works with some request but when i put with this one for exemple
http://serverip:8080/https://dvr-i-video-foxmp.akamaized.net/dvr/196b53fe-8760-40ca-810d-e31f12e9a960/196b53fe-8760-40ca-810d-e31f12e9a960.ism/Manifest(video,format=m3u8-aapl-v3,audiotrack=audio,filter=hls)
i get fobbriden and when i put
https://cors-anywhere.herokuapp.com/https://dvr-i-video-foxmp.akamaized.net/dvr/196b53fe-8760-40ca-810d-e31f12e9a960/196b53fe-8760-40ca-810d-e31f12e9a960.ism/Manifest(video,format=m3u8-aapl-v3,audiotrack=audio,filter=hls)
it works
where is the problem
thank you

thank you for the answer
i tried it but it doesn't work also
i want use cors anywhere on my own server to avoit limit of request by

https://cors-anywhere.herokuapp.com/
because i use it for live streaming and that will be laggy when using
https://cors-anywhere.herokuapp.com/
i think just missing some parametre in "server.js" that must be added to avoid access fobbriden

Have you checked whether you can request the site from your server at alll (e.g. by SSHing to the server and using curl from the command line)? It is possible that your server is blacklisted by the destination server.
(I also assume that you are using the latest version of CORS Anywhere, if not, use it and try again.)

yeah exactly i did it and it's not blacklisted by the destination server .
also i'm using the latest version of CORS Anywhere
i think some configuration is found on Cors Anywhere herokuapp and doesn't have it on my own server
because as i told you request is working on https://cors-anywhere.herokuapp.com/ and doesn't work on my own server
thank you

Is serverip in your example the same as your website? If so, add the X-Requested-With request header. I guess that the difference may be caused by the fact that the request is not a cross-origin request, so the Origin header is not automatically added.

Emm i don't now if it's correct because i don't have a good experience with that
this my configuration of "server.js"
`// Listen on a specific host via the HOST environment variable
var host = process.env.HOST || 'vettoristream.com';
// Listen on a specific port via the PORT environment variable
var port = process.env.PORT || 8080;
var cors_proxy = require('cors-anywhere');
var cors = require('cors');
cors_proxy.createServer({
originWhitelist: [host], // Allow all origins
requireHeader: ['origin', 'x-requested-with'],
removeHeaders: ['cookie', 'cookie2']
}).listen(port, host, function() {
console.log('Running CORS Anywhere on ' + host + ':' + port);
});`
also to understand my problem you can look
this link contain my own server : http://vettoristream.com/g.html : Doesn't work
and this link containt CORS Anywhere herokuapp : http://vettoristream.com/k.html : Works

In your source code, after the open call, set the X-Requested-With header, so that you have something like:
                    open.call(this, method, rewrittenUrl, async, user, pass);
                    this.setRequestHeader('X-Requested-With', 'XMLHttpRequest');

also didn't work
bro i think heroku added some following request because when i saw in "server.js" i saw for exemple : "because Heroku already adds it." and me i'm using a server with Os ubuntu and not heroku i think this is the problem
anyway thank you bro for helping me

When you look at the Network tab in the browser's devtools, copy the command as cURL and run the command from the command line (with -vv appended for extra verbosity), what do you see? Can you paste the cURL command here too?

root@vmi162223:~/node_modules/cors-anywhere# curl -vv https://dvr-i-video-foxmp.                                                                                akamaized.net/dvr/94d329a3-44ec-40cf-93f9-b280c1ab7a37/94d329a3-44ec-40cf-93f9-b                                                                                280c1ab7a37.ism/Manifest

Trying <IP_ADDRESS>...
TCP_NODELAY set
Connected to dvr-i-video-foxmp.akamaized.net (<IP_ADDRESS>) port 443 (#0)
ALPN, offering h2
ALPN, offering http/1.1
Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
successfully set certificate verify locations:
CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: /etc/ssl/certs
TLSv1.2 (OUT), TLS header, Certificate Status (22):
TLSv1.2 (OUT), TLS handshake, Client hello (1):
TLSv1.2 (IN), TLS handshake, Server hello (2):
TLSv1.2 (IN), TLS handshake, Certificate (11):
TLSv1.2 (IN), TLS handshake, Server key exchange (12):
TLSv1.2 (IN), TLS handshake, Server finished (14):
TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
TLSv1.2 (OUT), TLS change cipher, Client hello (1):
TLSv1.2 (OUT), TLS handshake, Finished (20):
TLSv1.2 (IN), TLS change cipher, Client hello (1):
TLSv1.2 (IN), TLS handshake, Finished (20):
SSL connection using TLSv1.2 / ECDHE-ECDSA-AES256-GCM-SHA384
ALPN, server accepted to use http/1.1
Server certificate:
subject: C=US; ST=Massachusetts; L=Cambridge; O=Akamai Technologies, Inc.; CN                                                                                =a248.e.akamai.net
start date: Mar  7 00:00:00 2017 GMT
expire date: May  6 23:59:59 2018 GMT
subjectAltName: host "dvr-i-video-foxmp.akamaized.net" matched cert's "*.akam                                                                                aized.net"
issuer: C=US; O=Symantec Corporation; OU=Symantec Trust Network; CN=Symantec                                                                                Class 3 ECC 256 bit SSL CA - G2
SSL certificate verify ok.

Reference #18.37f11b59.1517957536.ca0ab60

* Curl_http_done: called premature == 0
* Connection #0 to host dvr-i-video-foxmp.akamaized.net left intact
root@vmi162223:~/node_modules/cors-anywhere#

i get this answer i get access denied

That was not what I asked, you're showing the direct response (without the request going through CORS Anywhere). However, it shows the culprit: The remote server has rejected the request from your server.
Furthermore, the remote server already returns the appropriate CORS headers, so you do not even need CORS Anywhere.
< Access-Control-Max-Age: 86400
< Access-Control-Allow-Credentials: Server,range,hdntl,hdnts
< Access-Control-Expose-Headers: Server,range,hdntl,hdnts
< Access-Control-Allow-Headers: origin,range,hdntl,hdnts
< Access-Control-Allow-Methods: GET,POST,OPTIONS
< Access-Control-Allow-Origin: *

I'm closing this issue since it seems that there are no issues with CORS Anywhere.

Hey!
I'm in a bit of the same situation, heres an alternative that might work https://secret-ocean-49799.herokuapp.com/ a different repo's implementation. Problem for me is that the site i was requesting, put a ban on the ANS (not sure exactly what it is, something to do with a portion of ips that cant access the site)

Thanks this worked for me

A way around this issue is to add a proxy to your package.json file with your local server. ex: "proxy": "localhost:3000/api"


Add multisign-permissionID/Votes-Freeze details/Update token list

Add permission ID to transactions
Add multisign/permission ID examples
Update TRC20 token list with tronscan list
Update signed TRC10/Exchanges list with tronscan list
Display votes in vote transaction
Show freeze amount info
Show votes details (up to 5 SR votes)
bump version

This is deprecated by #9


[API] distributions module should be renamed to soft_labelling

distributions module do not implement probability distributions. Instead, it employs different probability distributions to determine soft labels for a given number of splits. Therefore, the whole module should be renamed to softlabelling and the functions that it contains should also be renamed as follows:

get_beta_probabilities -> get_beta_softlabels
get_binomial_probabilities -> get_binomial_softlabels
get_exponential_probabilities -> get_exponential_softlabels
get_triangular_probabilities -> get_triangular_softlabels
get_general_triangular_probabilities -> get_general_triangular_softlabels

distribution module has been renamed to soft_labelling


Add readiness & liveness probes to fineract-server deployment

Description
See FINERACT-1296
Checklist
Please make sure these boxes are checked before submitting your pull request - thanks!

[x] Write the commit message as per https://github.com/apache/fineract/#pull-requests

[x] Acknowledge that we will not review PRs that are not passing the build ("green") - it is your responsibility to get a proposed PR to pass the build, not primarily the project's maintainers.

[ ] Create/update unit or integration tests for verifying the changes made.

[x] Follow coding conventions at https://cwiki.apache.org/confluence/display/FINERACT/Coding+Conventions.

[ ] Add required Swagger annotation and update API documentation at fineract-provider/src/main/resources/static/api-docs/apiLive.htm with details of any API changes

[x] Submission is not a "code dump".  (Large changes can be made "in repository" via a branch.  Ask on the developer mailing list for guidance, if required.)

FYI our guidelines for code reviews are at https://cwiki.apache.org/confluence/display/FINERACT/Code+Review+Guide.

@xurror @vidakovic @vorburger  Please review

FixedDepositTest > testPrematureClosureAmountWithPenalInterestForWholeTerm_With_360() FAILED
    org.opentest4j.AssertionFailedError: Verifying Pre-Closure maturity amount ==> expected: <true> but was: <false>
        at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55)
        at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:40)
        at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:193)
        at org.apache.fineract.integrationtests.FixedDepositTest.testPrematureClosureAmountWithPenalInterestForWholeTerm_With_360(FixedDepositTest.java:1505)
Now running org.apache.fineract.integrationtests.FixedDepositTest#testPrematureClosureAmountWithPenalInterestForWholeTerm_With_365()...

Anyone has an idea why the build is failing? Can't see why this would be connected to the code changes here...

@xurror Would you mind reviewing this?

My guess is that this failing because of the end of the month. There was an issue reported for some tests failing at the end of the month.

        livenessProbe:
          httpGet:
            path: /fineract-provider/actuator/health/liveness
            port: 8080
          initialDelaySeconds: 400
          periodSeconds: 80
          failureThreshold: 5
        readinessProbe:
          httpGet:
            path: /fineract-provider/actuator/health/readiness
            port: 8080
          initialDelaySeconds: 400
          periodSeconds: 80
          failureThreshold: 5

@xurror For the minikube cluster I created with cpus=4,memory=7GB needs this configurations in order to run the fineract server properly. This will get changed according to the cpu power and other resources you allocate to the cluster. No issue with the approach. Just mentioning :)


Error: Out of memory

Hello dear developer, thank you for such a great toolkit. I have a query I would like to ask you to answer, I would like to normalize some videos (about 40 videos, each video is 5 seconds long, 30fps) with low-level visual features, I found that the toolkit can only operate on a single video, so I performed frame extraction on each video, and when I tried to process the extracted frames as images (8450 images for the test), I got the message that I don't have enough memory again. I would like to ask the developer if there is a proper operation to do if I want to achieve what I mentioned earlier, i.e. normalize more than one video. Thanks!
Below is the log message:
SHINE_color - Log created on 2023-11-01 21:15:28
Input     [1=images, 2=video]: 1
Type the image format  [e.g., jpg, png]: png
Please note that our toolbox does not support transparent backgrounds.
Transparent backgrounds will be converted during manipulations.
Please manipulate the fore and background separately, and then remove the background
in an image processing software (e.g., GIMP).
Select the colorspace to perform the manipulations    [1=HSV, 2=CIELab, 3=RGB, 4=Greyscale]: 3
Do you want diagnostic plots? (may take some time)    [1=yes, 2=no]: 2
SHINE_color options    [1=default, 2=custom]: 1
Number of images: 8450
Option:   specMatch & histMatch with 1 iteration(s)
Option:   whole image
Error: Out of memory.

Hi @neurochenhe, we have encountered the "out of memory" issues before when dealing with videos. Most of the times we solved the problems by getting more memory and/or reducing the size of the videos. If you can't reduce the size of the videos, you will need more memory--there is now way around it. If you can reduce the videos, then places to start would be resolution (Full HD -> HD and so on) and downsampling. I hope this helps!

Thanks for the heads up, I will follow the tips you gave to try and improve.


[VS Code] [Audio] Request endCall failed unexpectedly without providing any details.

Error:
Request endCall failed unexpectedly without providing any details.
Steps to Reproduce:
1.
2.

Version Data

extensionName
VSLS-Audio

extensionVersion
0.1.60

applicationName
VSCode

applicationVersion
1.36.1

platformName
Windows

platformVersion
10.0.17763

@zizo877 : thanks for filing this issue! It would great if you could tell us a bit more about the events leading up to the problem. Were you able to start or join a audio call successfully? Did the error only occur on the attempt to end the call? Is this is a consistent issue that repros each time you start/end a call? What is the error you're seeing? Also if you can provide us with the Live Share logs that would be helpful. You can access them via the Live Share: Export Logs command from the command palette (ctrl + shift + p) and attach the following issue: #2571
I'm going to close this one out as a duplicate of that issue to consolidate the investigation.


Build failure: rPackages.terra on darwin

Steps To Reproduce
I noticed that rPackages.terra doesn’t build successfully on darwin while trying to build packages on Github Actions. Here’s the default.nix I tried:
let
 pkgs = import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/refs/heads/master.tar.gz") {};
 rpkgs = builtins.attrValues {
   inherit (pkgs.rPackages) terra;
};
 system_packages = builtins.attrValues {
   inherit (pkgs) R;
};
in
 pkgs.mkShell {
   buildInputs = [ rpkgs system_packages ];
}

builds successfully on Ubuntu, not on macOS.
As I don’t have the hardware, I figured I’d open this issue.
Build log
building '/nix/store/jijyk08kamqm9yp0nqsc887if8wx9jlj-r-terra-1.7-71.drv'...
Running phase: unpackPhase
unpacking source archive /nix/store/kqq1zxx9ancmx14pyk2w5w1w363aky6a-terra_1.7-71.tar.gz
source root is terra
setting SOURCE_DATE_EPOCH to timestamp<PHONE_NUMBER> of file terra/MD5
Running phase: patchPhase
Running phase: configurePhase
Running phase: buildPhase
Running phase: checkPhase
Running phase: installPhase
* installing *source* package ‘terra’ ...
** package ‘terra’ successfully unpacked and MD5 sums checked
** using staged installation
configure: CC: clang
configure: CXX: /nix/store/vk5sglv5pjg949v50bk7l5wl48j528pp-clang-wrapper-16.0.6/bin/c++ -std=gnu++17
checking for gdal-config... /nix/store/fxcm05ffff86lrbv8vpc81csi0im35b3-gdal-3.8.5/bin/gdal-config
checking gdal-config usability... yes
configure: GDAL: 3.8.5
checking GDAL version >= 2.0.1... yes
checking for gcc... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether clang accepts -g... yes
checking for clang option to enable C11 features... none needed
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for gdal.h... yes
checking GDAL: linking with --libs only... yes
checking GDAL: /nix/store/fxcm05ffff86lrbv8vpc81csi0im35b3-gdal-3.8.5/share/gdal/pcs.csv readable... no
checking GDAL: checking whether PROJ is available for linking:... yes
checking GDAL: checking whether PROJ is available for running:... yes
configure: GDAL: 3.8.5
configure: pkg-config proj exists, will use it
configure: using proj.h.
Package libtiff-4 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libtiff-4.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libtiff-4', required by 'proj', not found
configure: PROJ: 9.4.0
checking PROJ: checking whether PROJ and sqlite3 are available for linking:... no
configure: error: libproj or sqlite3 not found in standard or given locations.
ERROR: configuration failed for package ‘terra’
* removing ‘/nix/store/7z6lhpy93bvbgidcwdz4clqb0bsfq58p-r-terra-1.7-71/library/terra’
error: builder for '/nix/store/jijyk08kamqm9yp0nqsc887if8wx9jlj-r-terra-1.7-71.drv' failed with exit code 1;
       last 25 log lines:
       > checking for stdlib.h... yes
       > checking for string.h... yes
       > checking for inttypes.h... yes
       > checking for stdint.h... yes
       > checking for strings.h... yes
       > checking for sys/stat.h... yes
       > checking for sys/types.h... yes
       > checking for unistd.h... yes
       > checking for gdal.h... yes
       > checking GDAL: linking with --libs only... yes
       > checking GDAL: /nix/store/fxcm05ffff86lrbv8vpc81csi0im35b3-gdal-3.8.5/share/gdal/pcs.csv readable... no
       > checking GDAL: checking whether PROJ is available for linking:... yes
       > checking GDAL: checking whether PROJ is available for running:... yes
       > configure: GDAL: 3.8.5
       > configure: pkg-config proj exists, will use it
       > configure: using proj.h.
       > Package libtiff-4 was not found in the pkg-config search path.
       > Perhaps you should add the directory containing `libtiff-4.pc'
       > to the PKG_CONFIG_PATH environment variable
       > Package 'libtiff-4', required by 'proj', not found
       > configure: PROJ: 9.4.0
       > checking PROJ: checking whether PROJ and sqlite3 are available for linking:... no
       > configure: error: libproj or sqlite3 not found in standard or given locations.
       > ERROR: configuration failed for package ‘terra’
       > * removing ‘/nix/store/7z6lhpy93bvbgidcwdz4clqb0bsfq58p-r-terra-1.7-71/library/terra’
       For full logs, run 'nix log /nix/store/jijyk08kamqm9yp0nqsc887if8wx9jlj-r-terra-1.7-71.drv'.
error: 1 dependencies of derivation '/nix/store/w0d8jvppdrf628m9kckydxpvrmph6fcp-nix-shell.drv' failed to build
Error: Process completed with exit code 1.

Additional context
Add any other context about the problem here.
Notify maintainers
@jbedo
I’m also notifying R users that are on darwin (afaik) who might be able to help: @philipp-baumann @nviets
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"

- system: `"x86_64-darwin"`
 - host os: `Darwin 21.6.0, macOS 10.16`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.21.2`
 - nixpkgs: `/nix/store/va49ys5mj9nb766ln1ng4q5s4r7v0vpg-source`

Add a :+1: reaction to issues you find important.

Adding libtiff results in following error:
last 25 log lines:
       > checking for stdlib.h... yes
       > checking for string.h... yes
       > checking for inttypes.h... yes
       > checking for stdint.h... yes
       > checking for strings.h... yes
       > checking for sys/stat.h... yes
       > checking for sys/types.h... yes
       > checking for unistd.h... yes
       > checking for gdal.h... yes
       > checking GDAL: linking with --libs only... yes
       > checking GDAL: /nix/store/fxcm05ffff86lrbv8vpc81csi0im35b3-gdal-3.8.5/share/gdal/pcs.csv readable... no
       > checking GDAL: checking whether PROJ is available for linking:... yes
       > checking GDAL: checking whether PROJ is available for running:... yes
       > configure: GDAL: 3.8.5
       > configure: pkg-config proj exists, will use it
       > configure: using proj.h.
       > Package libcurl was not found in the pkg-config search path.
       > Perhaps you should add the directory containing `libcurl.pc'
       > to the PKG_CONFIG_PATH environment variable
       > Package 'libcurl', required by 'proj', not found
       > configure: PROJ: 9.4.0
       > checking PROJ: checking whether PROJ and sqlite3 are available for linking:... no
       > configure: error: libproj or sqlite3 not found in standard or given locations.
       > ERROR: configuration failed for package ‘terra’
       > * removing ‘/nix/store/9gf7qax1bpwznzlrwkw9bibj66ba4zhh-r-terra-1.7-71/library/terra’
       For full logs, run 'nix log /nix/store/753smqyz9x2r879wmbbpj3jz2bfpds49-r-terra-1.7-71.drv'.
error: 1 dependencies of derivation '/nix/store/s2xl3gnxjas8ma3n8dwy7gxpfi13avql-nix-shell.drv' failed to build
Error: Process completed with exit code 1.

now also trying by adding pkgs.curl.dev.

The logs suggest libtiff is needed to build PROJ, which I guess is vendored. Perhaps you could provide proj (and sqlite since it's complainign about that too) out of nixpkgs instead?

The logs suggest libtiff is needed to build PROJ, which I guess is vendored. Perhaps you could provide proj (and sqlite since it's complainign about that too) out of nixpkgs instead?

but isn’t that the case already? See https://github.com/NixOS/nixpkgs/blob/5672bc9dbf9d88246ddab5ac454e82318d094bb8/pkgs/development/r-modules/default.nix#L451

Something similar happens with rPackages.sf
ERROR: configuration failed for package ‘sf’
* removing ‘/nix/store/b8fyr26jkqgn39drgii5rbs08496kxy6-r-sf-1.0-16/library/sf’
error: builder for '/nix/store/aal02wn0i69yl75r1xlsirchaqhv9sk7-r-sf-1.0-16.drv' failed with exit code 1;
       last 25 log lines:
       > checking whether the compiler supports GNU C... yes
       > checking whether clang accepts -g... yes
       > checking for clang option to enable C11 features... none needed
       > checking for stdio.h... yes
       > checking for stdlib.h... yes
       > checking for string.h... yes
       > checking for inttypes.h... yes
       > checking for stdint.h... yes
       > checking for strings.h... yes
       > checking for sys/stat.h... yes
       > checking for sys/types.h... yes
       > checking for unistd.h... yes
       > checking for gdal.h... yes
       > checking GDAL: linking with --libs only... yes
       > checking GDAL: /nix/store/fxcm05ffff86lrbv8vpc81csi0im35b3-gdal-3.8.5/share/gdal/pcs.csv readable... no
       > checking GDAL: checking whether PROJ is available for linking:... yes
       > checking GDAL: checking whether PROJ is available for running:... yes
       > configure: GDAL: 3.8.5
       > configure: pkg-config proj exists, will use it
       > configure: using proj.h.
       > configure: PROJ: 9.4.0
       > checking PROJ: checking whether PROJ and sqlite3 are available for linking:... no
       > configure: error: libproj or sqlite3 not found in standard or given locations.
       > ERROR: configuration failed for package ‘sf’
       > * removing ‘/nix/store/b8fyr26jkqgn39drgii5rbs08496kxy6-r-sf-1.0-16/library/sf’
       For full logs, run 'nix log /nix/store/aal02wn0i69yl75r1xlsirchaqhv9sk7-r-sf-1.0-16.drv'.
error: 1 dependencies of derivation '/nix/store/8w4bdyifz96wp54jld564qcfkzpdzfyx-nix-shell.drv' failed to build
Error: Process completed with exit code 1.

Ok, so overriding terra’s definition to add a configure flag seems to work:
let
 pkgs = import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/refs/heads/master.tar.gz") {};
 terra = pkgs.rPackages.terra.overrideAttrs (attrs: {
   buildInputs = attrs.buildInputs ++ pkgs.lib.optional pkgs.stdenv.isDarwin [ pkgs.curl.dev pkgs.libtiff ];
   configureFlags = [
        "--with-proj-lib=${pkgs.lib.getLib pkgs.proj}/lib"
      ];
 });
 system_packages = builtins.attrValues {
   inherit (pkgs) R;
};
in
 pkgs.mkShell {
   buildInputs = [ terra system_packages ];
}

This also works for Linux, but is unnecessary. How to add this flag only for darwin? I guess this could then go into the pkgs/development/r-modules/default.nix file, but I’d prefer if someone with the hardware could test this and open the PR.

So it turns out that adding the optional build inputs is not even needed, this builds successfully on darwin:
let
 pkgs = import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/refs/heads/master.tar.gz") {};
 terra = pkgs.rPackages.terra.overrideAttrs (attrs: {
   configureFlags = [
        "--with-proj-lib=${pkgs.lib.getLib pkgs.proj}/lib"
      ];
 });
 system_packages = builtins.attrValues {
   inherit (pkgs) R;
};
in
 pkgs.mkShell {
   buildInputs = [ terra system_packages ];
}

Noticed the same issues with sf and vapour. Here is what I did to get it to build on Github Actions:
 terra = pkgs.rPackages.terra.overrideAttrs (attrs: {
   configureFlags = [
        "--with-proj-lib=${pkgs.lib.getLib pkgs.proj}/lib"
      ];
 });
 sf = pkgs.rPackages.sf.overrideAttrs (attrs: {
   configureFlags = [
        "--with-proj-lib=${pkgs.lib.getLib pkgs.proj}/lib"
      ];
 });
 vapour = pkgs.rPackages.vapour.overrideAttrs (attrs: {
   configureFlags = [
        "--with-proj-lib=${pkgs.lib.getLib pkgs.proj}/lib"
      ];
 });

Again, if someone with darwin hardware can try, that'd be great :smile:

lib.optionals?

lib.optionals?

lib.optional stdenv.isDarwin`baumann

Noticed the same issues with sf and vapour. Here is what I did to get it to build on Github Actions:
 terra = pkgs.rPackages.terra.overrideAttrs (attrs: {
   configureFlags = [
        "--with-proj-lib=${pkgs.lib.getLib pkgs.proj}/lib"
      ];
 });
 sf = pkgs.rPackages.sf.overrideAttrs (attrs: {
   configureFlags = [
        "--with-proj-lib=${pkgs.lib.getLib pkgs.proj}/lib"
      ];
 });
 vapour = pkgs.rPackages.vapour.overrideAttrs (attrs: {
   configureFlags = [
        "--with-proj-lib=${pkgs.lib.getLib pkgs.proj}/lib"
      ];
 });

Again, if someone with darwin hardware can try, that'd be great 😄
These flags are not needed on linux though, and I don't know how to apply these flags on darwin only. They don't prevent building on linux though.

> .libPaths(.libPaths()[-1])
> .libPaths()
 [1] "/nix/store/3wycd2immlxwkzky0vxcfaf36qq2gzmd-r-Rcpp-1.0.12/library"
 [2] "/nix/store/fjzgjswwzqlxkbyaiksw19zra5pl3a5a-r-sf-1.0-16/library"
 [3] "/nix/store/ijy5m5nx9vzbi1d3gg8vj39cknppzv7h-r-classInt-0.4-10/library"
 [4] "/nix/store/94zaagaw6rg9jqca6gz3bpzgzfgfxvih-r-class-7.3-22/library"
 [5] "/nix/store/4b18ha68y10wgpr87v82y62kpzhr43mz-r-MASS-7.3-60.0.1/library"
 [6] "/nix/store/7kax9rvm8plnlm61lf3w7gq3i7d8cw40-r-e1071-1.7-14/library"
 [7] "/nix/store/5lw0qlrg1mfkbklbxwvwclryjw9pj6pw-r-proxy-0.4-27/library"
 [8] "/nix/store/7la1ckzdzm3r1c2q087asawdj5952gpn-r-KernSmooth-2.23-22/library"
 [9] "/nix/store/0a415lrf6vn4h0vjyr2ipkg1y6yzlwqd-r-DBI-1.2.2/library"
[10] "/nix/store/nxnqc027342i8gviy5c98rvmpr3y685p-r-magrittr-2.0.3/library"
[11] "/nix/store/daana6ym4906fqpq5izjwk4967aiab3q-r-s2-1.1.6/library"
[12] "/nix/store/gxcl5c3dl01xnb3bj79bxdvg5zxglqbk-r-wk-0.9.1/library"
[13] "/nix/store/h202xdmrw9azwchyqf2b5gqd52x2zbdq-r-units-0.8-5/library"
[14] "/nix/store/1hc7g2wc00qazjwbxb2kbnw7jkpihfg2-r-vapour-0.9.5/library"
[15] "/nix/store/m5vfkb972bmjihv4gqfasi5z8nqjarnj-r-jsonlite-1.8.8/library"
[16] "/nix/store/1431dnq218bz3v9m6gk94fa4m8aa894i-r-nanoarrow-<IP_ADDRESS>/library"
[17] "/nix/store/5ylipgzwqx1xs6cadrv5wxrjsial7wlr-apple-framework-CoreFoundation-11.0.0/Library"
[18] "/nix/store/qyg9jzkvx6w3zwpd6hifzjm1871jfd7k-R-4.3.3/lib/R/library"
[19] "/nix/store/lqbn21h94fws9gbypxdcavim6jsnwlfd-r-terra-1.7-71/library"
> library(sf)
Linking to GEOS 3.12.1, GDAL 3.8.5, PROJ 9.4.0; sf_use_s2() is TRUE
> library(terra)
code for methods in class “Rcpp_SpatCategories” was not checked for suspicious field assignments (recommended package ‘codetools’ not available?)
code for methods in class “Rcpp_SpatCategories” was not checked for suspicious field assignments (recommended package ‘codetools’ not available?)
code for methods in class “Rcpp_SpatDataFrame” was not checked for suspicious field assignments (recommended package ‘codetools’ not available?)
code for methods in class “Rcpp_SpatDataFrame” was not checked for suspicious field assignments (recommended package ‘codetools’ not available?)
code for methods in class “Rcpp_SpatExtent” was not checked for suspicious field assignments (recommended package ‘codetools’ not available?)
code for methods in class “Rcpp_SpatExtent” was not checked for suspicious field assignments (recommended package ‘codetools’ not available?)
code for methods in class “Rcpp_SpatFactor” was not checked for suspicious field assignments (recommended package ‘codetools’ not available?)
code for methods in class “Rcpp_SpatFactor” was not checked for suspicious field assignments (recommended package ‘codetools’ not available?)
code for methods in class “Rcpp_SpatGraph” was not checked for suspicious field assignments (recommended package ‘codetools’ not available?)
code for methods in class “Rcpp_SpatGraph” was not checked for suspicious field assignments (recommended package ‘codetools’ not available?)
code for methods in class “Rcpp_SpatMessages” was not checked for suspicious field assignments (recommended package ‘codetools’ not available?)
code for methods in class “Rcpp_SpatMessages” was not checked for suspicious field assignments (recommended package ‘codetools’ not available?)
code for methods in class “Rcpp_SpatOptions” was not checked for suspicious field assignments (recommended package ‘codetools’ not available?)
code for methods in class “Rcpp_SpatOptions” was not checked for suspicious field assignments (recommended package ‘codetools’ not available?)
code for methods in class “Rcpp_SpatRaster” was not checked for suspicious field assignments (recommended package ‘codetools’ not available?)
code for methods in class “Rcpp_SpatRaster” was not checked for suspicious field assignments (recommended package ‘codetools’ not available?)
code for methods in class “Rcpp_SpatRasterCollection” was not checked for suspicious field assignments (recommended package ‘codetools’ not available?)
code for methods in class “Rcpp_SpatRasterCollection” was not checked for suspicious field assignments (recommended package ‘codetools’ not available?)
code for methods in class “Rcpp_SpatRasterStack” was not checked for suspicious field assignments (recommended package ‘codetools’ not available?)
code for methods in class “Rcpp_SpatRasterStack” was not checked for suspicious field assignments (recommended package ‘codetools’ not available?)
code for methods in class “Rcpp_SpatSRS” was not checked for suspicious field assignments (recommended package ‘codetools’ not available?)
code for methods in class “Rcpp_SpatSRS” was not checked for suspicious field assignments (recommended package ‘codetools’ not available?)
code for methods in class “Rcpp_SpatTime_v” was not checked for suspicious field assignments (recommended package ‘codetools’ not available?)
code for methods in class “Rcpp_SpatTime_v” was not checked for suspicious field assignments (recommended package ‘codetools’ not available?)
code for methods in class “Rcpp_SpatVector” was not checked for suspicious field assignments (recommended package ‘codetools’ not available?)
code for methods in class “Rcpp_SpatVector” was not checked for suspicious field assignments (recommended package ‘codetools’ not available?)
code for methods in class “Rcpp_SpatVectorCollection” was not checked for suspicious field assignments (recommended package ‘codetools’ not available?)
code for methods in class “Rcpp_SpatVectorCollection” was not checked for suspicious field assignments (recommended package ‘codetools’ not available?)
code for methods in class “Rcpp_SpatVectorProxy” was not checked for suspicious field assignments (recommended package ‘codetools’ not available?)
code for methods in class “Rcpp_SpatVectorProxy” was not checked for suspicious field assignments (recommended package ‘codetools’ not available?)
terra 1.7.71
> library("vapour")

I don’t understand, did it build successfully without the fix?

It looks like some kind of warning, bcz a recommended package is missing. If you create a shell with codetools included, it should go away, no?

It looks like some kind of warning, bcz a recommended package is missing. If you create a shell with codetools included, it should go away, no?

indeed the warning goes away with rPackages.codetools in nix-shell``buildInputs. But its super weird. Sounds a bit similar as this one, but terra does now not depend on raster anymore. So if then would it be the order of installation? Or we just put codetools into the runtime to fix the weird warnings on macOS?

fix addressed in https://github.com/NixOS/nixpkgs/pull/344498


Remove XYZ data files from the repo

This repository can not contain an example xyz file for each architecture, and I don't think we can expect everyone to use the same training file.
We should provide some utility function to download training data from zenodo/figshare or something similar, and use that everywhere training data is required for the tests.

I think this was solved at some point, I don't see a bunch of XYZ files anymore


Port JUnit

I figured we didn't have an issue tracking this. So just creating it, so that people know we're on it.

Good. As a start for tracking of progress on this issue. I've already ported a large amount of classes from JUnit to Scala.js but got stuck due to missing implementation for Java collections in Scala.js. I'm currently working on porting them.

Please, if you can provide a list of the missing java.util classes you are
going to work on we can synchronize better the effort.
On Jun 4, 2015 21:40, "Nicolas Stucki"<EMAIL_ADDRESS>wrote:

Good. As a start for tracking of progress on this issue. I've already
ported a large amount of classes from JUnit to Scala.js but got stuck due
to missing implementation for Java collections in Scala.js. I'm currently
working on porting them.
—
Reply to this email directly or view it on GitHub
https://github.com/scala-js/scala-js/issues/1690#issuecomment-109024156.

The first set of javalib classes that I need are #1692, #1693, #1694 and #1695. @andreaTP, are you by any chance working on concurrent.CopyOnWriteArrayList (#1693) ?

@nicolasstucki I will first work on these:
https://github.com/unicredit/akka.js/issues/8
and looks that there are no clash.
If you need any help on #1693 , please start an implementation with concurrent.ConcurrentSkipListSet as reference and I will help you! ;-)

Anyhow, thanks for opening Issues on the topics!

There is currently an alpha version of Scala.js JUnit on https://github.com/nicolasstucki/scala-js-junit.
And example of a project that uses it can be found in https://github.com/nicolasstucki/scala-js-junit-examples.

Awesome. You should advertise this on the mailing list and on Gitter.


Address Ruby dep issues and bump to v9.0.4

Due to issues surrounding ruby-head API stability, we've had to use a web of git forks to make things work with ruby-head, which we continuously test in production. Now that https://github.com/oxidize-rb/rb-sys/issues/227 is fixed and magnus v0.5.5 is released, we can untangle that.
This PR does the following:

Upgrades magnus and rb-sys for the stable-api feature
Upgrade wasmtime to v9.0.4
Bump the gem the v9.0.4

After this goes through, I will release a new gem version (v9.0.4).

Thanks Ian 🙇


Added algorithms for fill and fill_n

Added algorithms for fill and fill_n with run code links.
Also updated README file to check fill and fill_n

@Darksider3 Thanks for bringing that to my notice.


.NET Core 1.0.3 for Mac is "404 Not Found"

On the downloads page: https://www.microsoft.com/net/download/core
If you try to download the pkg or .tar.gz for macOS 64-bit of .NET Core, a 1KB .pkg and .zip file gets downloaded, and if you open the file in a text editor, you will see that it's a 404 Not Found HTML webpage.
As far as I can tell, .NET Core 1.0.3 is required if you want to develop Lambda applications for C# on macOS, so that is why I am trying to download it.

It looks like the LTS SDK and Runtime installs for Windows x64 and x84 are also missing.

Sorry about that ... fixed!

it seems the download links for 5.0.8 for mac is missing again. an HTTP 404 page is shown.

@hknakata we were having a download site outage that started on 7/23 and was resolved a few days later.
For more information, see https://github.com/dotnet/core/issues/6509.


Fix comment

https://github.com/vegaprotocol/protos/blob/40c8b9d1fa8271d179a3025f46b8c01d849b0878/sources/vega/governance.proto#L93

No longer exists


ngx-datatable

I want the check boxes to be pre-selected with value from database in ngx-datatable. Any solutions?
Thanks in advance.

You can use the [selected] attribute:
<ngx-datatable
          style="width: 90%"
          class="material"
          [rows]="rows"
          [columns]="columns"
          [columnMode]="'force'"
          [headerHeight]="50"
          [footerHeight]="50"
          [rowHeight]="'auto'"
          [limit]="5"
          [selected]="selected"
          [selectionType]="'checkbox'"
          [selectAllRowsOnPage]="false"
          (select)='onSelect($event)'>
</ngx-datatable>

Check the source code of the doc :

https://github.com/swimlane/ngx-datatable/blob/master/demo/selection/selection-chkbox.component.ts

https://github.com/swimlane/ngx-datatable/blob/master/demo/selection/selection-chkbox-template.component.ts

here is the stackblitz :
https://stackblitz.com/edit/angular-ngx-datatable-select-checkbox
Docs:

checkbox

customCheckBox


Error in urls when uploading images to Trix field in Nova

When using Nova and Trix field, if an image is uploaded to public disk the preview shows correctly and it's stored in the nova_pending_trix_attachments. But when saving the resource, the line in nova_pending_trix_attachments is moved to nova_trix_attachments and linked to the resource, but the url of the asset it's not correct (it's like: http://domain/storage/filename), so it gets added to the resource incorrectly.
I've tried to override the attach function in the Nova resource with no success.
I'm creating the resource like this:
        Trix::make(__('body'), 'body')
            ->withFiles('public')
            ->hideFromIndex()
            ->rules('required'),

I'm using the latests versions of Laravel, Nova and Stancl/Tenancy

Hi,
Hmm, that's a bit hard to debug for me. Do you think you could give me read access to the repository?
You can also DM me on Telegram @samuelstancl.

Temporary fix for that: Create a disk and don't add it in the tenancy config file.
Trix::make('Description')
                    ->withFiles('app-public')
                    ->path('tenant/products/' . tenant()->id),

this worked for me:
Adding to AppServiceProvider.php
        config(['filesystems.disks.public.root' => storage_path('/app/public'),]);
        config(['filesystems.disks.public.url' => asset('/tenancy/assets'),]);

this worked for me:
Adding to AppServiceProvider.php
        config(['filesystems.disks.public.root' => storage_path('/app/public'),]);
        config(['filesystems.disks.public.url' => asset('/tenancy/assets'),]);

That works for me. Thanks

Nova support will no longer be a primary feature and will soon be replaced with Lean, which will focus on working with this package perfectly.