alpha always 0

Hi Qiu-Jun!
Thank you for converting this plugin to Vue 3 :)
I'm having issues with the color picker. If my initial color is, for example:
{   red: 0,   green: 0,   blue: 0,   alpha: 0.3 }
When I click on any other color, the alpha value doesn't stay and always sets to 0.
Do you know why this might be happening to me?
Thanks!

Hi Qiu-Jun! Thank you for converting this plugin to Vue 3 :) I'm having issues with the color picker. If my initial color is, for example: { red: 0, green: 0, blue: 0, alpha: 0.3 } When I click on any other color, the alpha value doesn't stay and always sets to 0. Do you know why this might be happening to me? ThanksBe

Hi Qiu-Jun! Thank you for converting this plugin to Vue 3 :) I'm having issues with the color picker. If my initial color is, for example: { red: 0, green: 0, blue: 0, alpha: 0.3 } When I click on any other color, the alpha value doesn't stay and always sets to 0. Do you know why this might be happening to me? Thanks!

Because alpha will reset when it changes.I has optimizing the component.
I will solve the issue in next version soon.

Hi Qiu-Jun! Thank you for converting this plugin to Vue 3 :) I'm having issues with the color picker. If my initial color is, for example: { red: 0, green: 0, blue: 0, alpha: 0.3 } When I click on any other color, the alpha value doesn't stay and always sets to 0. Do you know why this might be happening to me? Thanks!

The new version will be finished in a few days

Oh great! I'll wait for your update then :) Thanks!

Oh great! I'll wait for your update then :) Thanks!

hi, marctaule.i had released version 2.x.You try again. if you have any other questions ，feedback to me here

I haven't updated the usage docs.
`
<ColorPicker :color="color" @change="onChange"  />

<ColorPicker is-gradient @change="onChange"  />
`
you can get color in @change="onChange"

Hi @Qiu-Jun !
I've updated to 2.0.1 but I think it doesn't work at all.
Now the opacity doesn't reset when I change the colors. That's fine :)
But I have some errors like:
This is my code:
<ColorPicker                 v-if="isShadowColorPicker"                 :color="shadowSelected.color"                @change="onShadowColorPickerHandler" />

I can not get the color on "onChange" like in the other version.

And in this new version, I see the buttons "Confirm" and "Close". In the other version, I didn't see these buttons... If I use onChange, I don't need these buttons.

Maybe you could create some boolean props: confirmButton and cancelButton. Of if cancelText/confirmText is empty don't show the buttons. It's just an idea.

and the last suggestion: maybe for colors and gradient, could use just css text?
For color is easy to transform { red: 255, green: 0, blue: 0, alpha: 1 } to rgba, but for gradient is more complicated.
I think it could be better if the user could use just css for example: linear-gradient(109.6deg, rgb(218, 185, 252) 11.2%, rgb(125, 89, 252) 91.1%). I don't know how difficult this could be.

Thanks for you great work :)

Hi @Qiu-Jun !
I've updated to 2.0.1 but I think it doesn't work at all.
Now the opacity doesn't reset when I change the colors. That's fine :)
But I have some errors like:
This is my code: <ColorPicker v-if="isShadowColorPicker" :color="shadowSelected.color" @change="onShadowColorPickerHandler" />

I can not get the color on "onChange" like in the other version.
And in this new version, I see the buttons "Confirm" and "Close". In the other version, I didn't see these buttons... If I use onChange, I don't need these buttons.

Maybe you could create some boolean props: confirmButton and cancelButton. Of if cancelText/confirmText is empty don't show the buttons. It's just an idea.

and the last suggestion: maybe for “color” prop, could use just css text?
For solid color is easy to transform { red: 255, green: 0, blue: 0, alpha: 1 } to rgba, but for gradient is more complicated.
I think it could be better if the user could use just css for example: linear-gradient(109.6deg, rgb(218, 185, 252) 11.2%, rgb(125, 89, 252) 91.1%). I don't know how difficult this could be.

Thanks for you great work :)

The button is used to solve the problem of updating frequently, i can resve it with other solutions.
But gradient can't use just css text.Because this lib is mainly used for  vue-fabric-editor.It need gradient point to work for fabric.

frequently

I had released version 2.0.2.You can install it to try.It's don't show the footer button, when showBtn isn't true.
If you don't need the button.You'd better use debounce or throttle to optimize @change Event, Both click and mousemove execute updateColor, then it will handle emit to prarent component.

Hi @Qiu-Jun !
I've just test your updates and almost everything works fine :)
I tell you what I've found:
1) Solid color: everything is perfect!
2) Gradient:

When I add colors, I can not delete them
I can not change the color of the colors of the gradient. I attach you some screenshots. You will see that the first color would be green. If I select green, for example, and I add another color, then this color is green, but then I can not change this color again. You know what I meant?

Image 1
Image 2
I didn't know vue-fabric-editor. It's amazing! :)

Hi @Qiu-Jun ! I've just test your updates and almost everything works fine :)
I tell you what I've found:
1) Solid color: everything is perfect!
2) Gradient:

When I add colors, I can not delete them
I can not change the color of the colors of the gradient. I attach you some screenshots. You will see that the first color would be green. If I select green, for example, and I add another color, then this color is green, but then I can not change this color again. You know what I meant?

Image 1 Image 2
I didn't know vue-fabric-editor. It's amazing! :)

Do you mean you want to change the gradient color of the selected point?

Hi @Qiu-Jun ! I've just test your updates and almost everything works fine :)
I tell you what I've found:
1) Solid color: everything is perfect!
2) Gradient:

When I add colors, I can not delete them
I can not change the color of the colors of the gradient. I attach you some screenshots. You will see that the first color would be green. If I select green, for example, and I add another color, then this color is green, but then I can not change this color again. You know what I meant?

Image 1 Image 2
I didn't know vue-fabric-editor. It's amazing! :)

you can delete the point by dbclick it.

Hi @Qiu-Jun ! I've just test your updates and almost everything works fine :)
I tell you what I've found:
1) Solid color: everything is perfect!
2) Gradient:

When I add colors, I can not delete them
I can not change the color of the colors of the gradient. I attach you some screenshots. You will see that the first color would be green. If I select green, for example, and I add another color, then this color is green, but then I can not change this color again. You know what I meant?

Image 1 Image 2
I didn't know vue-fabric-editor. It's amazing! :)

You can delete the point by dbclick it.
Do you mean you want to change the gradient color of the selected point?

You can delete the point by dbclick it.

Ok! Perfect! It works :) I think in the previous versions you could delete gradient points with the Delete key, couldn't you?

Do you mean you want to change the gradient color of the selected point?

Yes. I can not change the color of a selected point of the gradient. I think in the previous version, it works.

it can't woks in the previous version.I really didn't handle it well. I will fix it soon

"oh! I thought so, sorry for the mistake. I could have sworn it was working.
No worries, I'll wait for you to fix it, I'm interested in the gradient selector working perfectly :)
Thanks @Qiu-Jun !

"oh! I thought so, sorry for the mistake. I could have sworn it was working. No worries, I'll wait for you to fix it, I'm interested in the gradient selector working perfectly :) Thanks @Qiu-Jun !

I had fixed it and release new version 2.0.4.You upgrade and try it again.
I want it to be perfect， too.

Hi @Qiu-Jun !
Now it works perfect!
If you allow me I make you a suggestion to improve the ux:
Allow users to remove the selected points in gradient, instead of double click.
Sometimes it's difficult to click the point, because the point moves to left.
It works rare now. It's difficult to remove a point now.
And I found an error at the documentation.
The prop/attribute "gradient", it doesn't work for gradients.
You have to use "color" like in solid color:
<ColorPicker
        :color="color"
        cancel-text="cancel"
        cancel-color="red"
        @change="onChange"
      />

This:
<ColorPicker
     :is-gradient="color"
     :color="color"
     cancel-text="cancel"
     cancel-color="red"
     @change="onChange"
/>

instead of:
<ColorPicker
     :is-gradient="color"
     :gradient="color"
     cancel-text="cancel"
     cancel-color="red"
     @change="onChange"
/>

Hi @Qiu-Jun !
Now it works perfect!
Just a thing:
If I pass a gradient to :gradient attribute the ColorPicker doesn't apply this gradient. If I pass :color instead of :gradient, it applies the gradient, but the selected point is always red. I think the selected should be green in this case. It's difficult to explain for me... I attach you picture.
Image
And if you allow me I make you a suggestion to improve the ux: Allow users to remove the selected points in gradient, instead of double click. Sometimes it's difficult to click the point, because the point moves to left. It works rare now. It's difficult to remove a point now.

oh, i'm so sorry that i forget to update the documents.
I had release 2.0.5 and the document, you upgrade and try again.
Now solid and gradient  are in color attributes.
for example, solid color like:
<ColorPicker :color="color" show-btn @change="onChange" />
const color = {   red: 0,   green: 8,   blue: 255,   alpha: 1, }
and graditent like:
<ColorPicker is-gradient :color="gradientColort" @change="onChange" />
`const gradientColort = {
type: 'linear',
degree: 0,
points: [
{
id: '81bcb3a0-00b9-4a26-bfc7-2b261722de02',
left: 0,
red: 0,
green: 0,
blue: 0,
alpha: 1,
},
{
  id: 'a5d144fb-9ab5-40b3-9beb-e79161c5f546',
  red: 0,
  green: 153,
  blue: 255,
  alpha: 1,
  left: 32.25806451612903,
},
{
  id: 'b1bc25ad-7273-4bd8-ad22-d5d11cab0f55',
  red: 0,
  green: 153,
  blue: 255,
  alpha: 1,
  left: 68.95161290322581,
},
{
  id: 'd6c7ccb8-b1c4-4470-8b73-ee0b56739421',
  left: 97.1774193548387,
  red: 255,
  green: 0,
  blue: 63,
  alpha: 1,
},

],
} you can see the pathlib/src/App.vue`.
And Thank you very much for your suggestion about ux.
You are right. Do you think how to delete is prefect!


Generate a class hierarchy diagram for generated models

Title says it all. Annotating the class whether or not it is abstract will be helpful.

BTW, this information is in the Verilog DataModel itself,
this file only contains the DataModel diagrams for easy search, abstract classes are dotted-line:
https://github.com/alainmarcel/UHDM/blob/master/third_party/Verilog_Object_Model.pdf
I find this documentation much better than any automatically generated diagram.
Also, in the existing headers/*.h, the Object Factory is #if 0 #endif for the Abstract classes (You can't make an object).
What form of annotation would you prefer if the above does not suffice?

I find this documentation much better than any automatically generated diagram

The documentation you are pointing to is a good read but not from a quick reference point of view right in the middle of programming session serving as a reference guide. I contend that there is a need for a supporting document.
I find myself asking this question quite often - I need access to function VpiName (or some other function), what is the nearest class that I can typecast a pointer to so that I get the information without having to cast it to the most derived class. This question cannot be answered by just browsing the corresponding header (UHDM::expr doesn't tell me that UHDM::ref_obj subclass' it)
I am still familiarizing myself with the source code. I am sure this pain will ease up with time as I memorize the hierarchy. But I would argue that anyone would have similar questions while onboarding.
Here's a good example from Qt and Java
My primary interest is the class hierarchy which will be immediately useful. The annotation calling out specific class whether or not it is abstract is a wish item.

I once played aroud with generating dot files in #73 , but the graphviz rendering is not entirely useful and looks a bit messy due to the way each edge is rendered.

Check out plantuml and elk layout. Python also has a few graph rendering engines that might be worth checking out.


ESP32-BLE+ETH+OTA (IDFGH-1470)

Hi all,
I'm Roberto. I use a ESP32 with BLE and ETH communication. I add the OTA mode (WebUpdate) but he's not work. I have this error in console: [E][WiFiClient.cpp:338] write(): 11
Anyone can help me please.
Thank you

WebUpdate and WiFiClient are not part of esp-idf, they are arduino-esp32 code, you need to ask for support here
https://esp32.com/viewforum.php?f=19
https://github.com/espressif/arduino-esp32

@negativekelvin Thanks for the notes. @robcim Please help raise an issue in https://github.com/espressif/arduino-esp32 or post a topic in https://esp32.com/viewforum.php?f=19 Thanks.


RegEditor Information Correction

There is data correction made for setting tags using Registry Editor.
Problem: https://github.com/MicrosoftDocs/windows-itpro-docs/issues/5553

Hi @mjcaparas and @Dansimp, this PR is ready for your review and approval. Please merge if there are no issues with the suggested updates.
Thank you and happy New Year!


Message popup

Message popup component
More button on message hover
Passing Message type to Components instead of fields
Includes device type in user/device cache (go)
Includes device type in Message (go <=> js)

@keybase/react-hackers

Was a little unsure how to position the popup next to the button by measuring so am hardcoding some pixel math

@patrickxb or @maxtaco can you review go code?

The commits 4d5f1b5c1466...d3365d15095c introduce visual changes on linux. :mag_right: 12 changed

Changed: Text_Message-sent_You (before) (after)

Changed: Text_Message-sent_Not_Following (before) (after)

Changed: Text_Message-sent_Following (before) (after)

Changed: Text_Message-sent_Broken (before) (after)

Changed: Text_Message-pending_You (before) (after)

Changed: Text_Message-failed_You (before) (after)

Changed: Stacked_Text_Message-Stacked_two_messages (before) (after)

Changed: Stacked_Text_Message-Stacked_someone_else_two_sent (before) (after) (diff)
Changed: Stacked_Text_Message-Stacked_one_sent_one_pending (before) (after) (diff)
Changed: Stacked_Text_Message-Stacked_one_sent_one_failed (before) (after) (diff)
Changed: Icon-Icon_Image (before) (after) (diff)
Changed: Chat_List-Normal (before) (after) (diff)

The commits 4d5f1b5c1466...6064e02c75b6 introduce visual changes on linux. :mag_right: 12 changed

Changed: Text_Message-sent_You (before) (after)

Changed: Text_Message-sent_Not_Following (before) (after)

Changed: Text_Message-sent_Following (before) (after)

Changed: Text_Message-sent_Broken (before) (after)

Changed: Text_Message-pending_You (before) (after)

Changed: Text_Message-failed_You (before) (after)

Changed: Stacked_Text_Message-Stacked_two_messages (before) (after)

Changed: Stacked_Text_Message-Stacked_someone_else_two_sent (before) (after) (diff)
Changed: Stacked_Text_Message-Stacked_one_sent_one_pending (before) (after) (diff)
Changed: Stacked_Text_Message-Stacked_one_sent_one_failed (before) (after) (diff)
Changed: Icon-Icon_Image (before) (after) (diff)
Changed: Chat_List-Normal (before) (after) (diff)

OK, other than popup container thingy, the other js review comments should be addressed

The commits 4d5f1b5c1466...6f1c8e8fdd3a introduce visual changes on linux. :mag_right: 11 changed

Changed: Text_Message-sent_You (before) (after)

Changed: Text_Message-sent_Not_Following (before) (after)

Changed: Text_Message-sent_Following (before) (after)

Changed: Text_Message-sent_Broken (before) (after)

Changed: Text_Message-pending_You (before) (after)

Changed: Text_Message-failed_You (before) (after)

Changed: Stacked_Text_Message-Stacked_two_messages (before) (after)

Changed: Stacked_Text_Message-Stacked_someone_else_two_sent (before) (after) (diff)
Changed: Stacked_Text_Message-Stacked_one_sent_one_pending (before) (after) (diff)
Changed: Stacked_Text_Message-Stacked_one_sent_one_failed (before) (after) (diff)
Changed: Icon-Icon_Image (before) (after) (diff)

Why is deviceType a string and not keybase1.DeviceType?

re: the container thing i think we'll have only one at a time and we'll need to cover so a solution like this is ok. Maybe we can make this container it goes into actually be in the chat itself and not on the nav level? like in the root box of the list (https://github.com/keybase/client/blob/master/shared/chat/conversation/list.desktop.js#L166)

The commits 2f79249b56f5...1c5c2e836479 introduce visual changes on linux. :mag_right: 12 changed

Changed: Text_Message-sent_You (before) (after)

Changed: Text_Message-sent_Not_Following (before) (after)

Changed: Text_Message-sent_Following (before) (after)

Changed: Text_Message-sent_Broken (before) (after)

Changed: Text_Message-pending_You (before) (after)

Changed: Text_Message-failed_You (before) (after)

Changed: Stacked_Text_Message-Stacked_two_messages (before) (after)

Changed: Stacked_Text_Message-Stacked_someone_else_two_sent (before) (after) (diff)
Changed: Stacked_Text_Message-Stacked_one_sent_one_pending (before) (after) (diff)
Changed: Stacked_Text_Message-Stacked_one_sent_one_failed (before) (after) (diff)
Changed: Paper_Key-Normal (before) (after) (diff)
Changed: Icon-Icon_Image (before) (after) (diff)

@patrickxb in SignupArg it's the enum but LoginArg its a string... it appears maybe it's used more places as a string?

Discussed with @patrickxb and we'll keep deviceType in the PR here as string here since it's stored that way internally (libkb.DeviceType) and is a little easier to deal with in that way


🚀 Feature: Implement a lint rule to prohibit the use of react-use

🔖 Feature description
Implement a lint rule to prohibit the use of react-use.
🎤 Context
The types in react-use are currently broken. As a result, we should direct users to utilize @react-hookz/web instead.
✌ Possible Implementation
Develop a lint rule similar to the MUI rule.
👀 Have you spent some time to check if this feature request has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
None

I seem to remember there being an issue for us moving across to this but I can't seem to find it right now.
Do you want to contribute this? :pray:


Distance problem

Hey there,
I've been using this library for quite some time, however on the last few days I've been trying to configure other types of Air Conditioners, although unsuccessfully.
I'm running your reader program and emitting through pyslinger using a Raspberry Pi 3.
The reader program prints the same command both when I emit using the RPi3 and my real remote, with some microseconds differences, but I think those are irrelevant since using my real remote a few meters distant also varies those timings and the AC still accepts the commands.
So I changed tactics, and now I'm using the testRaw.c using the raw codes I read from the reader program.
It only works if I put my board really close to the AC, for instance 0.5m or less.
This problem happens on two different brands of AC, however it is working in my old AC.
I use the same board using Lirc for my TV and it works fine in a distance of 5m to 10m.
I use the same board using pyslinger for my other AC in a distance of 5m to 10m.
This shows me that the board is fine, I even tried with another brand new board and leds, same results.
My question is, is there anything on the software I'm not configuring properly to improve the "signal power"?
I've tried changing the frequency to 36KHz or 38KHz.
I've tried changing the duty cycle to 0.33 or 0.5.
In testRaw.c I've tried subtracting 50 or 100 microsecond to every code (pulse and gap), and the results are the same, it only works really close to the AC unit.

Hmm, if it's not a hardware issue then yeah I would have suggested trying a different duty cycle. Compared to the old AC signals, do the LEDs look faint when sending the signal for the new AC over them?
To be clear, on the exact same hardware, you can send a signal 5-10m away to a device successfully, and the only difference now is that you're sending a different signal?
Definitely sounds like this may be tricky to resolve. I would try playing more with different frequencies and duty cycles, and apart from that, I'm not really sure what to do. Whenever I've needed more signal power, I add LEDs in parallel, ensure they have at least 5V, and prefer LEDs with narrow angles of emission as though can go a longer distance.

I will make more tests and come back here.

Ok, so I went to the site to make more tests and the results are correct:
All the tests were executed with the same hardware, which have 5 leds in every direction and a BC548 transistor to amplify the signal.
AC Consul: sending commands using pyslinger: 5m to 10m OK
AC Gree:    sending commands with irslinger.testRawCodes.c or pyslinger: Only works in less than 20cm
AC Carrier:       sending commands with irslinger testRawCodes.c: Only works in less than 20cm

I've tried differente frequencies and nothing improved: 30 kHz, 33 kHz, 36 kHz, 38 kHz, 40 kHz, and 56 kHz

In this Library https://github.com/z3t0/Arduino-IRremote they use 38KHz for all different AC models.
This is starting to appear very strange to me, it's definetely something on the software. I will try to send the same raws codes using lirc to see if anything changes...

Closing this issue, since I found it was a hardware issue.
The hardware works with most Media devices and some ACs as well, but I found that some AC have weak IR Receivers. I was able to reproduce my problem by testing several IR Receivers connected to a Raspberry Pi.
I solved the issue by using a Darlington NPN BC517 transistor (instead of the BC548) and changing the values of the resistors used.

Interesting! That's the first I've heard of the problem being a weak IR receiver. Glad to hear you figured it out, and I'll be sure to keep that potential problem in mind if similar issues get reported.


siad 1.3.1 host high io

Bug Report
I've noticed very high IO generated from siad, which is probably amplified that I currently have my data under a btrfs file system (raid1).  The filesystem is generating about 250 write ops/sec (to a single device).
Expected Behavior
Less IO when hosting is "idle".
Environment
Main net

Sia version:

$ siac version
Sia Client v1.3.1
Sia Daemon v1.3.1

OS:
Linux desktop 4.14.8-1-ARCH #1 SMP PREEMPT Wed Dec 20 21:27:44 UTC 2017 x86_64 GNU/Linux

siad -M gctwh -d /data/sia/siad
[sia@desktop sia]$ find /data/sia/ -mmin -1
/data/sia/siad/host/contractmanager
/data/sia/siad/host/contractmanager/contractmanager.json
/data/sia/siad/host/contractmanager/contractmanager.wal
/data/sia/siad/host/contractmanager/contractmanager.json_temp
/data/sia/siad/host/contractmanager/contractmanager.wal_temp
/data/sia/siad/transactionpool/transactionpool.db
/data/sia/siad/wallet/wallet.db
[sia@desktop sia]$ find /data/sia/ -mmin -5
/data/sia/siad/gateway/nodes.json
/data/sia/siad/gateway/nodes.json_temp
/data/sia/siad/host/contractmanager
/data/sia/siad/host/contractmanager/contractmanager.json
/data/sia/siad/host/contractmanager/contractmanager.wal
/data/sia/siad/host/contractmanager/contractmanager.wal_temp
/data/sia/siad/host/contractmanager/contractmanager.json_temp
/data/sia/siad/transactionpool/transactionpool.db
/data/sia/siad/wallet/wallet.db

I see in strace is that contractmanager is being rewritten frequently, less than a second apart. (no changes to contracts)  This shouldnt really account for all the IO I see.
$ time sudo strace -f -p 28832 2>&1 | grep -E '(open|rename)at'
[pid 28889] renameat(AT_FDCWD, "/data/sia/siad/host/contractmanager/contractmanager.json_temp", AT_FDCWD, "/data/sia/siad/host/contractmanager/contractmanager.json" <unfinished ...>
[pid 28889] <... renameat resumed> )    = 0
[pid 28889] renameat(AT_FDCWD, "/data/sia/siad/host/contractmanager/contractmanager.wal_temp", AT_FDCWD, "/data/sia/siad/host/contractmanager/contractmanager.wal") = 0
[pid 28889] openat(AT_FDCWD, "/data/sia/siad/host/contractmanager/contractmanager.wal_temp", O_RDWR|O_CREAT|O_TRUNC|O_CLOEXEC, 0666 <unfinished ...>
[pid 28883] openat(AT_FDCWD, "/data/sia/siad/host/contractmanager/contractmanager.json_temp", O_RDWR|O_CREAT|O_TRUNC|O_CLOEXEC, 0666 <unfinished ...>
[pid 28889] <... openat resumed> )      = 8
[pid 28883] <... openat resumed> )      = 15
[pid 28839] renameat(AT_FDCWD, "/data/sia/siad/host/contractmanager/contractmanager.json_temp", AT_FDCWD, "/data/sia/siad/host/contractmanager/contractmanager.json" <unfinished ...>
[pid 28839] <... renameat resumed> )    = 0
[pid 28839] renameat(AT_FDCWD, "/data/sia/siad/host/contractmanager/contractmanager.wal_temp", AT_FDCWD, "/data/sia/siad/host/contractmanager/contractmanager.wal") = 0
[pid 28839] openat(AT_FDCWD, "/data/sia/siad/host/contractmanager/contractmanager.json_temp", O_RDWR|O_CREAT|O_TRUNC|O_CLOEXEC, 0666 <unfinished ...>
[pid 28839] <... openat resumed> )      = 8
[pid 28838] openat(AT_FDCWD, "/data/sia/siad/host/contractmanager/contractmanager.wal_temp", O_RDWR|O_CREAT|O_TRUNC|O_CLOEXEC, 0666 <unfinished ...>
[pid 28838] <... openat resumed> )      = 15
[pid 28838] renameat(AT_FDCWD, "/data/sia/siad/host/contractmanager/contractmanager.json_temp", AT_FDCWD, "/data/sia/siad/host/contractmanager/contractmanager.json" <unfinished ...>
[pid 28838] <... renameat resumed> )    = 0
[pid 28838] renameat(AT_FDCWD, "/data/sia/siad/host/contractmanager/contractmanager.wal_temp", AT_FDCWD, "/data/sia/siad/host/contractmanager/contractmanager.wal" <unfinished ...>
[pid 28838] <... renameat resumed> )    = 0
[pid 28838] openat(AT_FDCWD, "/data/sia/siad/host/contractmanager/contractmanager.json_temp", O_RDWR|O_CREAT|O_TRUNC|O_CLOEXEC, 0666) = 8
[pid 28839] openat(AT_FDCWD, "/data/sia/siad/host/contractmanager/contractmanager.wal_temp", O_RDWR|O_CREAT|O_TRUNC|O_CLOEXEC, 0666 <unfinished ...>
[pid 28839] <... openat resumed> )      = 15
[pid 28834] renameat(AT_FDCWD, "/data/sia/siad/host/contractmanager/contractmanager.json_temp", AT_FDCWD, "/data/sia/siad/host/contractmanager/contractmanager.json" <unfinished ...>
[pid 28834] <... renameat resumed> )    = 0
[pid 28834] renameat(AT_FDCWD, "/data/sia/siad/host/contractmanager/contractmanager.wal_temp", AT_FDCWD, "/data/sia/siad/host/contractmanager/contractmanager.wal" <unfinished ...>
[pid 28834] <... renameat resumed> )    = 0
[pid 28834] openat(AT_FDCWD, "/data/sia/siad/host/contractmanager/contractmanager.wal_temp", O_RDWR|O_CREAT|O_TRUNC|O_CLOEXEC, 0666 <unfinished ...>
[pid 28834] <... openat resumed> )      = 8
[pid 28838] openat(AT_FDCWD, "/data/sia/siad/host/contractmanager/contractmanager.json_temp", O_RDWR|O_CREAT|O_TRUNC|O_CLOEXEC, 0666 <unfinished ...>
[pid 28838] <... openat resumed> )      = 15
[pid 28839] renameat(AT_FDCWD, "/data/sia/siad/host/contractmanager/contractmanager.json_temp", AT_FDCWD, "/data/sia/siad/host/contractmanager/contractmanager.json" <unfinished ...>
[pid 28839] <... renameat resumed> )    = 0
[pid 28839] renameat(AT_FDCWD, "/data/sia/siad/host/contractmanager/contractmanager.wal_temp", AT_FDCWD, "/data/sia/siad/host/contractmanager/contractmanager.wal" <unfinished ...>
[pid 28839] <... renameat resumed> )    = 0
[pid 28839] openat(AT_FDCWD, "/data/sia/siad/host/contractmanager/contractmanager.wal_temp", O_RDWR|O_CREAT|O_TRUNC|O_CLOEXEC, 0666 <unfinished ...>
[pid 28839] <... openat resumed> )      = 8
[pid 28889] openat(AT_FDCWD, "/data/sia/siad/host/contractmanager/contractmanager.json_temp", O_RDWR|O_CREAT|O_TRUNC|O_CLOEXEC, 0666 <unfinished ...>
[pid 28889] <... openat resumed> )      = 15
[pid 28883] renameat(AT_FDCWD, "/data/sia/siad/host/contractmanager/contractmanager.json_temp", AT_FDCWD, "/data/sia/siad/host/contractmanager/contractmanager.json" <unfinished ...>
[pid 28883] <... renameat resumed> )    = 0
[pid 28883] renameat(AT_FDCWD, "/data/sia/siad/host/contractmanager/contractmanager.wal_temp", AT_FDCWD, "/data/sia/siad/host/contractmanager/contractmanager.wal" <unfinished ...>
[pid 28883] <... renameat resumed> )    = 0
[pid 28883] openat(AT_FDCWD, "/data/sia/siad/host/contractmanager/contractmanager.wal_temp", O_RDWR|O_CREAT|O_TRUNC|O_CLOEXEC, 0666 <unfinished ...>
[pid 28838] openat(AT_FDCWD, "/data/sia/siad/host/contractmanager/contractmanager.json_temp", O_RDWR|O_CREAT|O_TRUNC|O_CLOEXEC, 0666 <unfinished ...>
[pid 28883] <... openat resumed> )      = 8
[pid 28838] <... openat resumed> )      = 15
[pid 28836] renameat(AT_FDCWD, "/data/sia/siad/host/contractmanager/contractmanager.json_temp", AT_FDCWD, "/data/sia/siad/host/contractmanager/contractmanager.json" <unfinished ...>
[pid 28836] <... renameat resumed> )    = 0
[pid 28836] renameat(AT_FDCWD, "/data/sia/siad/host/contractmanager/contractmanager.wal_temp", AT_FDCWD, "/data/sia/siad/host/contractmanager/contractmanager.wal" <unfinished ...>
[pid 28836] <... renameat resumed> )    = 0
[pid 28836] openat(AT_FDCWD, "/data/sia/siad/host/contractmanager/contractmanager.wal_temp", O_RDWR|O_CREAT|O_TRUNC|O_CLOEXEC, 0666 <unfinished ...>
[pid 28836] <... openat resumed> )      = 8
[pid 28839] openat(AT_FDCWD, "/data/sia/siad/host/contractmanager/contractmanager.json_temp", O_RDWR|O_CREAT|O_TRUNC|O_CLOEXEC, 0666 <unfinished ...>
[pid 28839] <... openat resumed> )      = 15
[pid 28839] renameat(AT_FDCWD, "/data/sia/siad/host/contractmanager/contractmanager.json_temp", AT_FDCWD, "/data/sia/siad/host/contractmanager/contractmanager.json" <unfinished ...>
[pid 28839] <... renameat resumed> )    = 0
[pid 28839] renameat(AT_FDCWD, "/data/sia/siad/host/contractmanager/contractmanager.wal_temp", AT_FDCWD, "/data/sia/siad/host/contractmanager/contractmanager.wal") = 0
[pid 28839] openat(AT_FDCWD, "/data/sia/siad/host/contractmanager/contractmanager.wal_temp", O_RDWR|O_CREAT|O_TRUNC|O_CLOEXEC, 0666 <unfinished ...>
[pid 28836] openat(AT_FDCWD, "/data/sia/siad/host/contractmanager/contractmanager.json_temp", O_RDWR|O_CREAT|O_TRUNC|O_CLOEXEC, 0666 <unfinished ...>
[pid 28839] <... openat resumed> )      = 8
[pid 28836] <... openat resumed> )      = 15
^C

real	0m8.692s
user	0m0.033s
sys	0m0.028s

Possibly related to #2215

I've seen the same behaviour but took it to be normal for this software.  Only concern for me was that it failed (once, access denied due to a lock) and logged an error in siad console, but I learned that that in itself didn't seem to cause an issue
I concur that constant IO could be an issue but it may be cached and not actually causing physical IO

@chargr Great stuff, thanks for that - copied exact process and I see the same thing - you may have saved a tree or two. :)  Odd write ops is still so high, but I'll take it :)

Fixed in #2362


Issue 546

Coverage increased (+0.05%) to 84.755% when pulling fa452fad65e6e531d911533104ec4e3be9ea7570 on issue-546 into 518a79ddc1c293e3037d18d743a788f5c906de24 on master.

@homu r+

:pushpin: Commit fa452fa has been approved by kbknapp

:hourglass: Testing commit fa452fa with merge dc6740a...

:sunny: Test successful - status


memory & GPU usage question

Firstly, thanks for an awesome implementation!
I've tried lots of variants of setups (CPU/GPU) and settled on AWS but having bumped up against image size limitations, I installed cudnn thinking that would allow me to make bigger images but I'm still struggling to get beyond 512 - 600 ish.  I'm on a g2.2xlarge (see table below) but I also tried g2.8x large thinking I'd get both a speed and sized boost but it was exactly the same (although I haven't tried that yet with cudnn).

Model
GPUs
vCPU
Mem (GiB)

g2.2xlarge
1
8
15

g2.8xlarge
4
32
60

What image size limits should I expect with these two and is it really the case that they aren't different in terms of performance or am I doing something wrong?
Thanks!

Actually, scratch that first question - I do seem to be able to get up to 700px now, I'm not sure what I did wrong but that does seem bigger. The question about the g2.8xlarge remains though. Can I take advantage of this architecture/extra memory? Thanks!

Where do you see they claim it offers additional memory? I am no expert on the subject by any means but their page has a quote that says: "With the benefit of the new g2.8xlarge instances, we can now leverage data parallelism across multiple GPUs..". That leads me to believe it would just run on more chips - as if you had dual GPUs in your computer versus one.

I read it here:
https://aws.amazon.com/blogs/aws/new-g2-instance-type-with-4x-more-gpu-power/
"The 15GB of memory provided by the g2.2xlarge was a limiting factor in OpenEye’s ability to use AWS for FastROCS. The only piece of our cloud offering not yet running in AWS is an on-premises dedicated FastROCS machine. Now that the g2.8xlarge instance provides nearly four times more memory, FastROCS can be run on production-sized pharmaceutically-relevant datasets in AWS."

You're correct though - I misread what the meant - they both have 4GB of video memory.

I get to about 900 px on AWS using cudnn

For me it fails somewhere between 700px and 900px with cudnn on any aws instance.

Are you using Adam? That can also reduce memory usage and let you generate bigger images.

Also neural-style does not currently support acceleration with multiple GPUs, or optimization using both CPU and GPU. It might be possible to support multiple GPUs using ModelParallel from fbcunn but I haven't tried it.

Adam gives quite a lot worse results than lbfgs, so it's out of question for me :) Quality > Size

Also, when using -style_scale 2 I can only make ~1.5 smaller images (that's a bummer, because increased style scale often gives better results).
Current algorithm is really memory-unstable on "Setting up style layer" steps. After it starts, it's quite memory-stable, but I saw memory steadily increasing on AWS.

"It might be possible to support multiple GPUs using ModelParallel from fbcunn"

Has anybody tries this? Does ModelParallel allow you to take advantage of the extra memory (not just the clock speed)?

I tried ADAM but couldn't get good results from it either.

Are the memory constraints with CPU less restrictive (i.e. is it available RAM as opposed to video memory)?

With CPU it's available RAM

I made some experiments and it seems that GPU is only up to 5x faster than CPU on "g2.2xlarge". So might as well use CPU if you need one-off large image!

Apparently the 16-layer VGG caffe model is slightly smaller (it tests nearly as well too) and I suspect it must be loaded on to the GPU. This thread is attempting to get it to work: https://github.com/jcjohnson/neural-style/issues/73
Perhaps even more compact models could be capable of also produce pleasing results. I wonder what is involved with implementing Model Zoo:
https://github.com/BVLC/caffe/wiki/Model-Zoo

I've done some experiments with both VGG-16 and CaffeNet; I wasn't able to get good results from CaffeNet, but VGG-16 gives results that are very similar to VGG-19.

I will take a stab at implementing fbcunn. It looks like the spatial convolution operations would need to be ported to fbcunn, correct? This is a whole new language to me (in addition to syntax), so any tips, pointers and/or words of encouragement would be greatly appreciated!

Rather than porting the convolutions, I think you would put the entire model inside a fbcunn.ModelParallel: http://facebook.github.io/fbcunn/fbcunn/#fbcunn.fbcunn.ModelParallel.dok
I'm not sure whether this would take the place of the nn.Sequential container that currently holds the model, or whether it could wrap the existing container.
One thing that that worries me is that fbcunn pulls in a ton of dependencies (https://github.com/facebook/fbcunn/blob/master/INSTALL.md) that should not be required for neural-style.

Thanks for the pointers.  Regarding your concern about dependencies; fbcunn could be made optional correct? Or are you suggesting a fork?
Or what about TensorFlow instead of fbcunn? Apparently supports a single model across multiple GPUs:
https://www.tensorflow.org/versions/master/tutorials/deep_cnn/index.html
Although it looks like TensorFlow too has a number of dependencies...
The thought of combining GPU VRAM the pool is tantalizing to me indeed. Even with some some overhead loss.

Yes, fbcunn should be optional much like cunn and cudnn are currently optional: they are only imported when they are requested via flags.
I think that TensorFlow has a lot of cool features and is something to keep an eye on, but right now it is ~3x slower than Torch (https://github.com/soumith/convnet-benchmarks) which would probably dominate any speedups you got from scaling across multiple GPUs.
Also overall I'm not sure how much of a performance boost we could expect from multiple GPUs. Since we are only using a minibatch size of 1, we can't get speedups from data parallelism. The model is fully sequential, so we can't really run different parts of the model concurrently on different GPUs. fbcunn claims to be able to split convolutions with many kernels across GPUs; this would certainly allow us to run bigger images by utilizing the memory of all GPUs in the system, but I'm not sure that it will give significant speedups since it would introduce a lot of cross-GPU synchronization.

Good to know about TensorFlow, thanks!
While I understand that there be overhead, I personally would like the option to render at higher resolution at the cost of total performance.
Of course I would only use the option when the memory needed exceeded a single GPU, so it seems like it would be a win/win situation to me.

Talk about GPU envy! Imagine spanning across 16 Maxwell chips!
https://code.facebook.com/posts/1687861518126048/facebook-to-open-source-ai-hardware-design/

I am having a very similar problem when using tensorflow on an p2.xlarge instance. I built a CNN for the kaggle facial competition - images are 96 by 96 - and model run well on the instance. When I use the similar model for images of 480 by 720, the model exhaust the GPU memory... does this make sense to you? Or it could be that the code has bugs?


Whisper-tiny support?

Hi, I'm looking for huggingface's distil version of whisper-tiny with multilingual. Could anyone provide such model? Thanks.

Would be interesting to see if anyone in the community is able to train a performance distil-tiny model!

me too, help anyone?...


various baseline train sen12ms with pretrained models

pretrained models are downloaded and placed on s3 (s3://sen12ms/pretrained_sup) for faster download along with other pre-trained models.

use the pretrained models
run various prediction and explore different metrics for baselines

Once this is done, please convert this issue to the discussion for documentation purpose.

see tag: baseline


Nested namespace

devcard.ns('sub-namespace') ? to create a nested namespace?
I can take a look at this if you think it's worthwhile.

Seems like a good idea
API-wise how about these options?
devboard.ns(a, b, c)
devboard.ns("a/b/c")

Would you expect to be able to put cards in non-leaf namespaces? I think this should be allowed
Should the namespace page include links to sub namespaces, or should the tree view only be on the root list? Unsure about this one

I hadn't thought about non-leaf but you could put the links up top, and any cards below, to keep it simple.
As for api it could just do either.

Ok, let's go for

multi-arg API
can have cards at every level
tree view on the root
same tree view of children on namespaces that have them

Implementation-wise I reckon you could get away with using the JSON-encoded namespace path as the key for the catalog.
URLs might be tricky


Feature/dynamically loaded xr rigs

Description
Allows setup of the rig dynamically.
Needs this PR to work: https://github.com/Innoactive/Basic-Interaction-Component/pull/37

Rigs are not instantiated and the following error is produced:

Rigs are not instantiated and the following error is produced:

/azp run

:tada: This PR is included in version 1.7.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Facebook like crush error

I'm using c# BotBuilder with LUIS. When user reply Like , framework return this "Sorry, my bot code is having an issue".

How to handle like button?
How to localize "Sorry, my bot code is having an issue" text?

"Sorry, my bot code is having an issue" means there was an unhandled exception within your dialog code - can you run the code with the debugger attached to look for thrown exceptions?

As @willportnoy suggested this means that your bot code is throwing an exception when it receives the like from facebook in the activity. You can attach debugger and see what is the exception that is getting thrown in your code.
The UnhandledExceptionToUser is localized and will be loaded from the appropriate resource: https://github.com/Microsoft/BotBuilder/blob/3a98a6b3d15962a57b5454bfb3f730d3588de3ef/CSharp/Library/Microsoft.Bot.Builder/ConnectorEx/PostToBot.cs#L166


chore(test): test

What this PR does 📖

chore(test): test

can you do this on a fork instead of experimenting on the dev branch

will do


Add all generated content to .gitignore

Closes https://github.com/primer/view_components/issues/982

Succeeded by #996


Move hover to style; Enable multiple hover.

The hover{} configuration has been moved from the layer into the style block.
It is possible to configure multiple hover as hovers{}
The hover is the same as the label assignment in the layer decorator.

mapp.layer.featureHover(feature, layer) will be assigned as default layer.style.hover.method() if non is provided in the hover config.


Create CLI client

depends on: #28

@kerelape the puzzle #54 is still not solved.

@kerelape the puzzle #56 is still not solved; solved: #54.

@kerelape 11 puzzles #57, #58, #59, #60, #61, #62, #63, #64, #65, #66, #67 are still not solved; solved: #54, #56.

@kerelape 10 puzzles #58, #59, #60, #61, #62, #63, #64, #65, #66, #67 are still not solved; solved: #54, #56, #57.

@kerelape 8 puzzles #60, #61, #62, #63, #64, #65, #66, #67 are still not solved; solved: #54, #56, #57, #58, #59.

@kerelape 7 puzzles #61, #62, #63, #64, #65, #66, #67 are still not solved; solved: #54, #56, #57, #58, #59, #60.

@kerelape 6 puzzles #61, #62, #63, #65, #66, #67 are still not solved; solved: #54, #56, #57, #58, #59, #60, #64.

@kerelape 4 puzzles #61, #62, #65, #66 are still not solved; solved: #54, #56, #57, #58, #59, #60, #63, #64, #67.

@kerelape 2 puzzles #62, #66 are still not solved; solved: #54, #56, #57, #58, #59, #60, #61, #63, #64, #65, #67.

@kerelape all 13 puzzles are solved here: #54, #56, #57, #58, #59, #60, #61, #62, #63, #64, #65, #66, #67.


DataInjector main cause for ("panic: ResponseWriter must be a ClientStateResponseWriter or UnderlyingResponseWriter")

I am using the echo Framework.
I am at a point where I have to abandon AuthBoss or Echo for Go-chi.
I have found the cause of the problem though, it is the dataInjector. It somehow hijacks the context.
The LoadClientStateMiddleware is just ok.
I am going to try to modify it and see if it works.
If you can think of anything else wrong with it, let me know.

For now, I am foregoing the DataInjector middleware and using data := LayoutData(w, r) directly in my views.
So far so good.

@siredwin The problem is simple. Authboss functions require the http.ResponseWriter's underlying type to be an authboss.ClientStateReadWriter OR an authboss.UnderlyingResponseWriter. If it is not one of those two things it will break.
Echo is one of few frameworks that replace the http.ResponseWriter from the http.Server with its own thing. That means that the LoadClientStateMiddleware has to be positioned AFTER Echo's replacement of the response writer, so that middlewares and handlers receive the Authboss RW, and not the Echo RW.
Abandoning "Authboss or Echo for Go-chi" is an excellent idea. Chi does not replace the response writer and so is an excellent companion to Authboss. We use Authboss + Chi for our projects.
Good luck!

I figured that much.
I think re-writing DataInjector into an echo middleware will be enough for now. It is working so far when I do it manually with data := LayoutData(w, r)
That also answers my question of if you chose chi example for that reason.


Implemented Architecture

Write about the actual architecture of our implementation.

Added figma image and wrote briefly about the chapter and the architecture

👍


Cannot import name LED

Trying some of the simplest gpiozero examples like:
from gpiozero import LED
from time import sleep

led = LED(17)

while True:
    led.on()
    sleep(1)
    led.off()
    sleep(1)

and
from gpiozero import LED, Button
from signal import pause

led = LED(17)
button = Button(3)

button.when_pressed = led.on
button.when_released = led.off

pause()

But keep getting the "Cannot import name LED" error.
Using Raspian Stretch with python 2.7.
gpiozero lib is version 1.4.1
Have no idea what is wrong. Other 'can't import name XXXX' errors didnt really help me further.
Anyone any suggestions?

You have named your file gpiozero.py and the import line is trying to import LED from that file, not from the library.
You need to delete gpiozero.py (and if there's a gpiozero.pyc delete that too).

You sir are either a mind reader or have secret access to my drive. Indeed that seems to be the issue. I presume that same issue  counts for any file name with gpiozero in it, even gpiozero_led.
thank you!!

Hehe I know, it's a common problem.

I presume that same issue counts for any file name with gpiozero in it, even gpiozero_led.

No - only gpiozero.py will cause this error.

Tnx again. Seems  a great and easy library

:+1:


How to close the performance gap compared to the nn.MultiheadAttention in PyTorch

❓ Performance drops compared to the nn.MultiheadAttention in PyTorch
We tried to apply the multi-head attention implementation in this code base
(https://github.com/pytorch/fairseq/blob/a48f235636557b8d3bc4922a6fa90f3a0fa57955/fairseq/modules/multihead_attention.py#L20) to replace the official nn.MultiheadAttention while finding the performance drops on the object detection task based on DETR project
(https://github.com/facebookresearch/detr/blob/a54b77800eb8e64e3ad0d8237789fcbf2f8350c5/models/transformer.py#L132)
Code
We paste the usage of the official nn.MultiheadAttention as the following:
self.self_attn = nn.MultiheadAttention(d_model, nhead, dropout=dropout)
We also modify the fairseq implementation of the MultiheadAttention via:

NOT use the q_noise & qn_block_size by removing the quant_noise API at (https://github.com/pytorch/fairseq/blob/a48f235636557b8d3bc4922a6fa90f3a0fa57955/fairseq/modules/multihead_attention.py#L65-L77)

COMMENT the codes at

https://github.com/pytorch/fairseq/blob/a48f235636557b8d3bc4922a6fa90f3a0fa57955/fairseq/modules/multihead_attention.py#L155-L187
What have you tried?
We have tried to train our object detection models based the DETR project by simply replacing the official nn.MultiheadAttention with the fairseq implementations while finding the final AP on COCO object detection task drops around 0.5 points from 34.6% to 34.1%.
What's your environment?

fairseq Version (e.g., 1.0 or master): v0.10.1
PyTorch Version (e.g., 1.0): 1.7
OS (e.g., Linux): Linux
How you installed fairseq (pip, source): We do not install fairseq.
Python version: 3.7

To confirm, when you say performance gap are you referring to training speed or downstream task accuracy?
Assuming you mean downstream task accuracy, my guess is that it's due to the slightly different weight init that fairseq uses: https://github.com/pytorch/fairseq/blob/a48f235636557b8d3bc4922a6fa90f3a0fa57955/fairseq/modules/multihead_attention.py#L100-L104.
The history behind this is we previously used a single input projection layer to go from Q -> Q,K,V, and thus the fan_out for xavier_uniform_ was 3x larger than if you had 3 independent projections. We later reverted to three independent projections, but kept the old weight init for consistency with previous results (and because we observed slightly better performance on some tasks, although I suspect this is task-dependent).

To confirm, when you say performance gap are you referring to training speed or downstream task accuracy?
Assuming you mean downstream task accuracy, my guess is that it's due to the slightly different weight init that fairseq uses: https://github.com/pytorch/fairseq/blob/a48f235636557b8d3bc4922a6fa90f3a0fa57955/fairseq/modules/multihead_attention.py#L100-L104.
The history behind this is we previously used a single input projection layer to go from Q -> Q,K,V, and thus the fan_out for xavier_uniform_ was 3x larger than if you had 3 independent projections. We later reverted to three independent projections, but kept the old weight init for consistency with previous results (and because we observed slightly better performance on some tasks, although I suspect this is task-dependent).

@myleott Thanks for your reply!
- "To confirm, when you say performance gap are you referring to training speed or downstream task accuracy?"
We mean the downstream task accuracy on object detection, which is based on Transformer architecture.
-  "slightly different weight init that fairseq uses:.."
In fact, I have noticed that this difference and tried to study the performance with "gain=1 / math.sqrt(2)" and "gain=1" while still finding the performance based on fairseq implementation is worse.
- Other differences
I also find some other differences in the _reset_parameters:
  def _reset_parameters(self):
       if self._qkv_same_embed_dim:
           xavier_uniform_(self.in_proj_weight)
       else:
           xavier_uniform_(self.q_proj_weight)
           xavier_uniform_(self.k_proj_weight)
           xavier_uniform_(self.v_proj_weight)

       if self.in_proj_bias is not None:
           '''here is different from the fairseq implementations'''
           constant_(self.in_proj_bias, 0.)
           constant_(self.out_proj.bias, 0.)
       if self.bias_k is not None:
           xavier_normal_(self.bias_k)
       if self.bias_v is not None:
           xavier_normal_(self.bias_v)

(https://github.com/pytorch/pytorch/blob/b89827b73f7881a8108518452768654894862e5d/torch/nn/modules/activation.py#L912)

@myleott Thanks for your reply!
- "To confirm, when you say performance gap are you referring to training speed or downstream task accuracy?"
We mean the downstream task accuracy on object detection, which is based on Transformer architecture.
-  "slightly different weight init that fairseq uses:.."
In fact, I have noticed that this difference and tried to study the performance with "gain=1 / math.sqrt(2)" and "gain=1" while still finding the performance based on fairseq implementation is worse.
- Other differences
I also find some other differences in the _reset_parameters:
  def _reset_parameters(self):
       if self._qkv_same_embed_dim:
           xavier_uniform_(self.in_proj_weight)
       else:
           xavier_uniform_(self.q_proj_weight)
           xavier_uniform_(self.k_proj_weight)
           xavier_uniform_(self.v_proj_weight)

       if self.in_proj_bias is not None:
           '''here is different from the fairseq implementations'''
           constant_(self.in_proj_bias, 0.)
           constant_(self.out_proj.bias, 0.)
       if self.bias_k is not None:
           xavier_normal_(self.bias_k)
       if self.bias_v is not None:
           xavier_normal_(self.bias_v)

(https://github.com/pytorch/pytorch/blob/b89827b73f7881a8108518452768654894862e5d/torch/nn/modules/activation.py#L912)


3 - Azure: set Content-Type, Content-Disposition, etc blob headers

I'm sorry if this is the wrong place to ask this, but I wasn't able to find anything in the docs or on SO.
With the Azure fineuploader jquery plugin, is it possible to set the content-type or content-disposition headers for a file that is being uploaded? The params object seems to have all its headers name-spaced with x-ms-meta.

Imho, not prefixing keys passed into setParams should be fine? Overwrite an existing header: no problem... it's apparently the developer's choice.

Or provide an option to toggle auto prefixing of params?

I think params should always be prefixed. I can see allowing creation of any headers via a setCustomHeaders API method for the Azure module though.

:+1:

I went ahead and created a pull request, as I'm eager to start using the validation mechanism provided by Content-MD5.


New package: PowerModelsMCDC v0.1.0

Registering package: PowerModelsMCDC
Repository: https://github.com/Electa-Git/PowerModelsMCDC.jl
Created by: @Electa-Git
Version: v0.1.0
Commit: 4f11fb499b3294bfd54c20b5104cfacc2495dab8
Reviewed by: @Electa-Git
Reference: https://github.com/Electa-Git/PowerModelsMCDC.jl/commit/4f11fb499b3294bfd54c20b5104cfacc2495dab8#commitcomment-121139977

Hello,
we know that the name is similar to powermodelsACDC, it is actually our intention. We are the authors of both that and this repository.
Would it be possible to manually merge this PR, please?
Thank you


Feature for memorization

My feature suggestions would be:
That users can select Ayat that they would like to be repeated over and over again so it can help them with memorization or to practice the parts of Qur'an they already know.
JazzakAllah khair.

Kind of like an A-B Repeat but for ayat?

sorry, didnt see the repeat options which has the range, so repeating a chosen ayat can be done, awesome

Maybe a button to click on an ayah that will trigger the range repeat but only for that ayah?

What if you want multiple ayas?

Hmm, currently you can do that. but for the purpose of repeating that single ayah, we can always add something on the ayah level to click and play-repeat


"Update Readiness" in "Set diagnostic data levels" section

"Set diagnostic data levels" section mentions "Update Readiness" (twice) while it should say "Upgrade Readiness" or even better "Upgrade Readiness and Update Compliance"

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 4273a259-c3c7-dca7-6353-954068d740a7
Version Independent ID: 1084ea77-95c4-4e4a-da6c-f4d8668f9ebf
Content: Enrolling devices in Windows Analytics (Windows 10)
Content Source: windows/deployment/update/windows-analytics-get-started.md
Product: w10
GitHub Login: @jaimeo
Microsoft Alias: jaimeo

Fixed.

@officedocsbot assign @e0i

Closing as the issue has been addressed via the commit: https://github.com/MicrosoftDocs/windows-itpro-docs/commit/a7223d7a54edd7e046ef5c21aab324df5c73c285#diff-377bb5873a1120a3604c39267a6d0e97R110

@officedocsbot close


Multiline comments breaks debugger breakpoints

Describe the bug
When you have a file with a multicomment like
/** I like to comment a multiline  */
or
/* I like to comment a multiline */
the transpiled file breaks sourcemap position. Infact if you remove the comments from the transpiled file, the sourcemaps works correctly.
Tested with jsc.preserveAllComments true/false
Input code
/* eslint-disable @typescript-eslint/no-var-requires */
/**
 * This module executes some code for test
 * Running `npm run build` or `npm run build:main` for build that
 */
import path from 'node:path';

console.log("Testing log");

console.log("Breakpoint fail line here");

console.log("And here");

console.log("Ecc ecc");

Config
{
    "sourceMaps": true,
    "inlineSourcesContent": false,
    "minify": false,
    "jsc": {
        "parser": {
            "target": "es2021",
            "syntax": "typescript",
            "jsx": true,
            "tsx": true,
            "dynamicImport": true,
            "allowJs": true,
            "decorators": true,
            "topLevelAwait": true,
            "experimental": {
                "keepImportAssertions": true
            }
        },
    "preserveAllComments": false,
    "transform": null,
    "target": "es5",
    "loose": false,
    "externalHelpers": true,
    "keepClassNames": true
  },
  "module": {
    "type": "commonjs",
    "strict": false,
    "strictMode": true,
    "lazy": false,
    "noInterop": false
  }
}

Playground link
No response
Expected behavior
SWC need to strip out comments with /** */ or /**/
Actual behavior
No response
Version
1.2.242
Additional context
Node 18
Typescript (CommonJS)
Webstorm 2022

@jhmaster2000 Is there a repro? I'm not sure how can I reproduce this issue. Either of next.js repro or standalone swc repro would be awesome


CNS-575: QoS clusters for pairing

This PR introduces the QoS clustering concept. This should be another component in the pairing score mechanism.
QoS clustering divides the QoS monitoring into a discrete set of clusters, based on consumer properties, such that QoS is maintained separately for each Provider x Cluster. Thus, consumer clustering maintains multiple QoS scores per provider: one score per provider per cluster.
Currently, the QoS is not aggregated and thus not affecting the pairing process. In a future PR, we would implement the missing functionalities.

do not merge until the SDK code is changed according to the protobuf changes!


Using Compass with jekyll assets

Hi, I'm trying to enable compass as it is says on the website:

Compass - add "compass-core" to your Gemfile and "@import 'compass'"

But I'm getting this error everytime, is there anything obvious that I might be missing? Many thanks!
Error in _assets/css/fablabtheme.scss:2 File to import not found or unreadable: compass.
jekyll 3.2.1 and latest jekyll-assets on my Gemfile

Compass is no longer maintained and we removed support for it a very long time ago (shortly after it was introduced as a matter of fact.) Unfortunately you'll need to add your Compass path manually (or build a plugin) to get unsupported support for Compass as we've no plans to include support for something that is not maintained.
Sorry.

Thanks for the reply, I wasn’t aware of Compass being no longer maintained but after doing some research it might be the time to move on. Best
ps jekyll-assets looks great by the way, I was using a grunt based solution for deployment and I will definitely will use this!
@javiburon http://www.cardcloud.com/javiburon | @colaborativaeu https://twitter.com/colaborativaeu/, agencia de diseño, tecnología y acción social

El 31 ago 2016, a las 20:58, Jordon Bedwell<EMAIL_ADDRESS>escribió:
Compass is no longer maintained and we removed support for it a very long time ago (shortly after it was introduced as a matter of fact.) Unfortunately you'll need to add your Compass path manually (or build a plugin) to get unsupported support for Compass as we've no plans to include support for something that is not maintained.
Sorry.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/jekyll/jekyll-assets/issues/326#issuecomment-243865545, or mute the thread https://github.com/notifications/unsubscribe-auth/AA2XrhtFlgrAopEsr6C-cmzWfsUYYgN6ks5qlc7lgaJpZM4JxrcX.


Project Not Found !!!

Describe the bug
Project disappeared during a chat
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-lxf6v2
Steps to reproduce
Not sure how to replicate this, and honestly don't want to make another project disappear!
Expected behavior
projects should not disappear

Screen Recording / Screenshot
No response
Platform
Browser name = Chrome
Full version = <IP_ADDRESS>
Major version = 129
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
performance.memory = {
  "totalJSHeapSize": 47336796,
  "usedJSHeapSize": 44741784,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Username = davidmoshal_4vzu
Chat ID = 3c00da7bb762

Additional context
Error:
There was an error processing your request

Cancelled my Pro plan.
I lost a day's work after my project disappeared.
I was also unable to open the project in StackBlitz, so there was no way to save the project and now there is no way to recover it.
I will renew my plan if you can find my project, otherwise I'll continue with Cursor, Claude Dev, and Aider, and wait for the announcement that this platform is ready.
BTW: I have never lost a project with Cursor, Claude Dev, or Aider yet!

Hey @davidmoshal ! Really sorry for the issue.
It's possible that your project is not lost. Have you tried going on https://stackblitz.com ?
In there you should be able to see all your projects:

Nope it's not there.
Note: Bolt.new projects don't MAGICALLY appear in stackblitz, you have to actually open them in stackblitz as far as I can tell.
And that project lost the ability to be opened in stackblitz a few hours ago, see my prior bug report.
I'm noticing that you've had 300+ issues opened in about 3 days, that I think is a record on Github.
My point being: This project is not ready for prime time, and you should not be misleading users.
So now, while originally this seemed superior to Claude Dev, Cursor, Aider, etc, etc, now, because of bad QA on your part, it's at the bottom of the heap.
None of the others will lose your work like that.
The real problem here is that there is no way to version control Bolt.new projects, that's the issue you guys have to solve today.
I mean seriously, you need to stop working on every other fancy feature and find a way to protect your users work.
Today.
Currently in Bolt the best you can do is open the project in StackBlitz and "fork" it.
However:
a) not all projects can be opened in stackblitz, and
b) once in stackblitz projects cannot be connected to Github unless it seems there is a pre-existing 'main' branch, at least that seems to be the error I'm getting.

Note: Bolt.new projects don't MAGICALLY appear in stackblitz, you have to actually open them in stackblitz as far as I can tell.

@davidmoshal Actually they're persisted in the same service so your project should be visible in there. The open in stackblitz only provide a shortcut to show them.

My point being: This project is not ready for prime time, and you should not be misleading users.

I totally hear you and I'm really sorry this happened to you.
I've brought up your case with the rest of the team, I'll let you know if we can help in any way.
Thank you so much for trying us early, we really appreciate it!

I say we retailiate and take screenshots of all the issues and paste them on x, and let the public know they are not taking care of their customers and fixing the issues needed to be fixed. If they fix the issues, I will stop. But I will not let down and will post this comment on every github issue to make sure everyone is on board. Don't just let this go out the window, its your work. Its your data. Spread the word and save other developers.

Y'all- I'm sorry about the bugs you experienced, but as advertised this is a public beta - things will break but we are working as hard as we can to fix them asap! If you cannot afford to encounter any bugs please wait a week or two while we stabilize amidst monster traffic 🙇

Also, please don't threaten retaliation/etc against StackBlitz employees- these are good, hard working people doing their best to make a great product over here.
As StackBlitz CEO I take the well being and respect of my team seriously, and further threats like these will result in ban from this repo

I am not going to retaliate as I think what you guys are doing is great. But you have a lot of unhappy customers, and I hope this can get fixed soon and everyone can get their data back and retrieved. All I am asking for. If that happens, I will back you guys 100% until the end.

@EricSimons Firstly, great to see we have the CEO's attention, that's awesome.
Secondly I haven't threatened anybody, not sure if you're referring to me, all I did cancel my subscription, which I think you'll agree is understandable.
I totally understand that you guys are under pressure, you have a potentially awesome application, but you are charging for it right, you are asking folks to make an investment, and you are not disclosing any of the following:

that there is a risk you will lose all of you data.
that there is no way of versioning your data in the product, other than to open it in stackblitz and 'fork' it and/or download it.
that the ability to open it in stackblitz is buggy and you may not be able to do so

So a more honest approach would be to disclose that:
a) this is beta software
b) you may lose your data at any time.
c) the only way to save your work is to regularly open it in stackblitz and 'fork' it and/or download it,
d) the ability to open it in stackblitz is also buggy and you may not be able to do that either.
I would suggest that you immediately focus on protecting your users work, their time and effort is not to be taken for granted.
I can't imagine it's difficult to allow folks to version, save, download directly from Bolt, I suspect the reason you don't want to do that is that you're not ready for bolt to handle user generate code or edits. That's fair enough and probably a good way to control code quality, at least for now, but somehow you should find a way to at least persist data in one direction reliably.

Agreed and I made this exact statement + status of WIP w/ timelines over 48h ago fyi: https://x.com/ericsimons40/status/1843345406576787496

I can't imagine it's difficult to allow folks to version, save, download directly from Bolt, I suspect the reason you don't want to do that is that you're not ready for bolt to handle user generate code or edits

No, the actual reason is that we didn't have time to implement this is a robust way before launch day, and are now working as fast as we can to get it landed as a fast follow

Secondly I haven't threatened anybody, not sure if you're referring to me, all I did cancel my subscription, which I think you'll agree is understandable.

Yes this was not for you FYI! It was for the other commenter who has subsequently been blocked from all stackblitz repos after continuing threats/etc in other threads

Yep, he was out of line, that's for sure, and I was a bit uncomfortable that he jumped into this thread, he was not being productive at all.
Re this comment:
https://x.com/ericsimons40/status/1843345406576787496
I'd add that if you find that you can't open in Stackblitz anymore there you might have run into a bug that could get worse, you could lose the project in Bolt, so better to stop and pick up from your last Stackblitz checkpoint (or words to that effect)
In addition, I'm not sure how many folks expect to find the answers in X, maybe in the interim you should add something to the Bolt page explaining a couple of things, to save everyone time:

that currently there isn't a way to download the code from bolt directly, or to version it.
Best you can do is open in Stackblitz and 'fork' it or download it.

There is the possibility that the project wont'd be persisted properly and could be lost, and sometimes it is preceeded by you being unable to open it in Stackblitz. So that would be good time to go back to a checkpoint.

Once the code is in Stackblitz you can't add it to github yet (I ran into a problem where it expects a 'main' branch I think, you can see my other bug report)

You can't edit the code directly in Bolt, but you can do it indirectly via the chat.

You can't open other Stackblitz projects in Bolt. (I'm actually not sure about that, for some projects I was able to do that, for others not)

Im facing the same issue. and I lost a whole day of work :(

We've just found what the root cause to the loss of work bug is, we're going to ship a fix soon 👀
we'll track this issue in https://github.com/stackblitz/bolt.new/issues/50

@
This bug is affecting me too. Bolt.new does not offer the "Save project" option for the project to be saved.
It seems like It indirectly saves the code on a local device & maybe periodically saves the project to the cloud. However, the periodic is problematic; we don't know this time period, whether it's 1 hour or 10 min. of idleness. But really, this is very problematic bug.
Mostly, whoever is using a bolt.new is generally a software developer, so if possible, till you fix this bug, Can you explain how the project is saved to the cloud works or some workaround so that we can make sure our project is saved in the cloud?
Or some way we can trigger saving of project in cloud?


Don't rewrite the context of the event handlers.

It would be nice to not rewrite the context of the event handlers to be the element and instead encourage the developer to use the event object to get the element the event was bound to.
This will depend on #302. If that issue is implemented then the way the developer should access the element the event was bound to would be to use e.delegateTarget.
If using event delegation:

currentTarget points to the element that matches the selector
delegateTarget points to the element that the event was bound to

If not using event delegation, both properties are the element that the event was bound to. The target property does not change; it will always be the element that triggered the event.
This will bring the event object into alignment with the jQuery event object in terms of the currentTarget and delegateTarget properties and what they mean.

It was decided to continue to rewrite the context as this is expected behaviour with addEventListener().


Especificação Funcional

Storage Explorer Version: In which Storage Explorer version was the bug encountered?
Platform/OS: Linux Ubuntu? macOS High Sierra? Windows 10?
Architecture: i86? x64?
Regression From: Was this working in a previous version? If so, which one?
Bug description
A clear and concise description of what the bug is.
Steps to Reproduce

List the minimal steps required to reproduce the bug.
Be as clear and concise as you can.

Expected Experience
A clear and concise description of what you expected to happen. If applicable, add screenshots to help explain what you expected.
Actual Experience
A clear and concise description of what actually happens. If applicable, add screenshots to help explain what actually happened.
Additional Context
Add any other context about the problem here, such as unusual system configurations, network restrictions, etc.
Especificacao_Funcional DARCIO K. NETO .docx

This looks like a product spec.  Are there any specific questions on Storage Explorer we can help with?  Thanks.

Sadly closing due to lack of activity ☹  Please reopen and comment if you still need help.


Remove print statements from output except for error

Prevents the print statements from getting piped into output file.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: abhay-krishna
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [abhay-krishna]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: abhay-krishna, kschumy
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [abhay-krishna,kschumy]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


lxd/instances/lxc: Fix build on MIPS

Closes #10910
Signed-off-by: Stéphane Graber<EMAIL_ADDRESS>

jenkins: test this please


Hotkeys using arrows not detected

Hi! I'm trying to use the following config, however, it is not working properly. All other options are detected in the right way. The keycodes refer to arrow buttons.
fn - 0x7B : chunkc tiling::window --focus west
fn - 0x7D : chunkc tiling::window --focus south
fn - 0x7E : chunkc tiling::window --focus north
fn - 0x7C : chunkc tiling::window --focus east

I just realized that with the above config the arrow keys are captured even if the fn modifier is not pressed!

See https://github.com/koekeishiya/skhd/issues/10#issuecomment-421411872.
This should probably be documented somewhere. It's default system behaviour, and there's nothing you can do to change it.

fn + left / right / up / down is  translated to home / end / pageup / pagedown respectively by macOS.
home     : terminal-notifier -message "fn-left"
end      : terminal-notifier -message "fn-right"
pageup   : terminal-notifier -message "fn-up"
pagedown : terminal-notifier -message "fn-down"

Also, you don't need to use hex codes for the arrow keys, left/right/up/down works just fine.

@dominiklohmann oh, I did not know about it. It's ugly :( Thanks for the explanation! <3


MRG: Fix broken examples

Fixes one example broken on modern MPL, and another that we missed testing properly (@jona-sassenhagen I think?).

All better:
https://7489-1301584-gh.circle-artifacts.com/0/html/auto_examples/time_frequency/plot_time_frequency_erds.html
https://7489-1301584-gh.circle-artifacts.com/0/html/auto_examples/inverse/plot_mixed_source_space_inverse.html
I'll merge so that CircleCI can build properly again.


Share SQL file

Please share the SQL file for the database .

The SQL file for the database has already been added to the repository.
You can find it here [ https://github.com/mrnikhilsingh/coffee-shop-management-system/blob/main/db/ns_coffee.sql ] (link-to-sql-file).
Please let me know if you need any further assistance!


hasMoreApps method does not exist on Android

hasMoreApps method does not exist on Android but does on iOS
Error #3500: The extension context does not have a method with the name hasMoreApps.

Resolved in version 5.1.2.  You can download from AIR SDK Download


Remove support for gif image uploads

Currently gifs don't upload / resize correctly, this change removes the
support for these uploads and shows a invalid_format error if a user
tries to upload this image type.
Trello:
https://trello.com/c/82HzbseV/514-handle-animated-gif-uploads

Doh, is it bad that i thought all gifs were animated! 😆I blame my youth


Serialize full txns

I just tried this and get Exception: cddl: createProcess: runInteractiveProcess: exec: does not exist (No such file or directory)

with cddl installed, I get Exception: diag2cbor.rb: createProcess: runInteractiveProcess: exec: does not exist

with cddl installed, I get Exception: diag2cbor.rb: createProcess: runInteractiveProcess: exec: does not exist

you need to gem install cbor-diag or run the tests with nix.

The only thing missing from this PR is proper CI support. I think it is a good idea to comment out the cddl tests for now and merge this PR. (and then work on getting the needed cbor tools working in bulidkite.)


The /containers/json API hangs while multiple containers are being created by swarmkit

BUG REPORT INFORMATION
Description
When deploying an unsatisfiable  number of tasks against a node (say, 10000 containers on a m1.small AWS node), the docker ps operation on that node hangs for extended periods of time (two measurements are 26 minutes and 45 minutes). I have confirmed that the same behavior occurs when calling the API directly through curl --unix-socket /var/run/docker.sock -X GET "http:/containers/json", and there have also been intermittent delays of the docker info call during that time period, usually in the 1-5 minute range.
I also attempted to exclude swarmkit from this scenario and reproduce this issue through a bash for loop, but the engine was fully responsive in that scenario (more details further below)
Steps to reproduce the issue:

Create a swarm with 1 manager and 1 worker
docker service create --replicas 2 --constraint node.role!=manager --name redis-svc redis
Poll docker service ls until 2/2 replicas are reported as healthy
docker service update --replicas 10000 redis-svc
Wait for some time for the new tasks to be assigned and at least one of them to end up in a "Preparing" state
Perform docker ps against the worker node, the operation blocks for a seemingly indefinite amount of time.
(Bonus) Perform docker service rm redis-svc, wait for ~30 minutes, try docker ps again and observe the same failure mode not being corrected. The problem persists even after the engine is restarted. The problem is instantly resolved after a docker swarm leave --force on the worker

Describe the results you received:
docker ps returns a list of containers after ~30 minutes, possibly even more in some cases. As the request took such a long time, there is no indication of what point in time this list represents.
On the daemon logs, I observed a long sequence of the following message, with different IDs each time:
time="2017-02-08T22:45:57.278994914Z" level=debug msg="container mounted via layerStore: /mnt/sda1/var/lib/docker/aufs/mnt/4638c1a7fd27240bdfc37a4483435b4d2bda2af69be63047645a6a889f551acd"

Describe the results you expected:
docker ps should return the list of containers running on that node at a given time instance within < 1 minute.
Additional information you deem important (e.g. issue happens only occasionally):
I tried the following bash loop against a fresh 1.13.1 engine without swarm-mode to try to determine if swarmkit is involved at all in this issue:
for `seq 10000`; do
docker run -d redis &
done

I confirmed that all the operations were successfully launched in the background, and I observed that the /containers/json API was fully responsive at all times. A total of 405 containers were launched, at which point some of the CLI docker ps operations started being killed with Command terminated by signal 9. At that point, some of the docker run operations also started reporting the following error: docker: Error response from daemon: grpc: the connection is unavailable.. The /containers/json API of that engine was still fully responsive within 10 seconds, however.
I tried to see if this is an issue related to the total number of tasks, so I created the same redis service mentioned in the previous section with 405 replicas instead of 10000. Unlike the bash for loop case, the docker ps operation was hanging until all 405 tasks were in a Running state.
This observation seems to indicate that there's a different locking or request queuing mechanism involved when container create operations are issued by swarmkit, rather that from individual API requests.
Output of docker version:
Client:
 Version:      1.13.1
 API version:  1.26
 Go version:   go1.7.5
 Git commit:   092cba3
 Built:        Wed Feb  8 08:47:51 2017
 OS/Arch:      linux/amd64

Server:
 Version:      1.13.1
 API version:  1.26 (minimum version 1.12)
 Go version:   go1.7.5
 Git commit:   092cba3
 Built:        Wed Feb  8 08:47:51 2017
 OS/Arch:      linux/amd64
 Experimental: false

Output of docker info:
On the manager node:
Containers: 0
 Running: 0
 Paused: 0
 Stopped: 0
Images: 12
Server Version: 1.13.1
Storage Driver: aufs
 Root Dir: /mnt/sda1/var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 45
 Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host macvlan null overlay
Swarm: active
 NodeID: u670pz7kfsnvhcv0vd1lrmdat
 Is Manager: true
 ClusterID: zqvbcko4f89qtbr18xk3ujrpu
 Managers: 1
 Nodes: 2
 Orchestration:
  Task History Retention Limit: 5
 Raft:
  Snapshot Interval: 10000
  Number of Old Snapshots to Retain: 0
  Heartbeat Tick: 1
  Election Tick: 3
 Dispatcher:
  Heartbeat Period: 5 seconds
 CA Configuration:
  Expiry Duration: 3 months
 Node Address: <IP_ADDRESS>
 Manager Addresses:
  <IP_ADDRESS>:2377
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: aa8187dbd3b7ad67d8e5e3a15115d3eef43a7ed1
runc version: 9df8b306d01f59d3a8029be411de015b7304dd8f
init version: 949e6fa
Security Options:
 seccomp
  Profile: default
Kernel Version: 4.4.47-boot2docker
Operating System: Boot2Docker 1.13.1 (TCL 7.2); HEAD : b7f6033 - Wed Feb  8 20:31:48 UTC 2017
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 1.955 GiB
Name: node0
ID: X5CW:L63J:E7ET:3HP3:M5NK:RD3S:UHFM:OOGZ:RJVU:7TOJ:2R27:EHBD
Docker Root Dir: /mnt/sda1/var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
 File Descriptors: 33
 Goroutines: 136
 System Time: 2017-02-09T19:54:23.790929826Z
 EventsListeners: 0
Registry: https://index.docker.io/v1/
Labels:
 provider=kvm
Experimental: false
Insecure Registries:
 <IP_ADDRESS>/8
Live Restore Enabled: false

/cc @crosbymichael @mlaventure @aaronlehmann @LK4D4
I'm not sure where this is coming from - engine or swarmkit.
Maybe it's a good opportunity to try out swarmkit#1913

ping @cpuguy83 - I seem to remember you were doing some work around container locking. Is the /containers API becoming unresponsive under heavy container creation load a known issue, and is it something your changes would improve?

It depends on where this is really getting hung up at.
Just a simple container create should not block ps since the container is only registered once everything else is done.
But start is really slow in multiple places (and I think containerd has a max of 7 concurrent operations even).
If something is slowed down in start this could slow down ps, and yes the changes would prevent this from blocking.

Question is, should we fix docker or lower swarmkit's concurrency?

Well, naturally I'm inclined to answer "docker to handle more concurrency". I'd be surprised that containerd is the bottleneck here.

containerd doesn't allow for more than 10 containers to be created concurrently atm. So if swarmkit as a global lock around create operations, it would get stuck until containerd worker queue get a free slot, handle the create call then returns.

containerd doesn't allow for more than 10 containers to be created concurrently atm. So if swarmkit as a global lock around create operations, it would get stuck until containerd worker queue get a free slot, handle the create call then returns.

swarmkit doesn't get blocked - docker ps does

Just wanted to note that I was doing a bunch of testing today and often saw docker ps hang for 5 seconds or more while creating or updating a 5-replica service. It seems like docker ps definitely has some implementation issues that can make it very slow. I believe this is what https://github.com/docker/docker/pull/31273 aims to fix.


Produce script stack trace on abort

When script aborts or terminates due to wrong exit status it would be useful to print the chain of scripts with the local states (with: stuff) to see where the error happened.

+1. I'll take a stab at this while disconnected today


Upgrade vulnerable packages

Fix the three dependabot vulnerability alerts we have open for the repo.
Implementation

Add the resolutions using the fixed versions indicated by dependabot
yarn install

Does dependabot not catch these? Can we configure dependabot to prioritise security vulns?

When I clicked on the security tab, there was a never ending spinner saying "dependabot is creating an automated PR". I don't know if it got stuck somehow or what, but as far as I know dependabot prioritizes security upgrades.


[multistage] remove limit from in-memory mailbox queue

this PR removes the limit from the in-memory mailbox queue so that we'll never time out when attempting to send data in-memory to the receiver
this is part of the improved scheduling model and prevents situations where the sending thread is preventing the receiving thread from being scheduled.
also: added TODO comment in FieldSelectionKeySelector cc @61yao

Codecov Report

Merging #9999 (40b646c) into master (c034503) will increase coverage by 0.01%.
The diff coverage is 50.00%.

@@             Coverage Diff              @@
##             master    #9999      +/-   ##
============================================
+ Coverage     68.67%   68.69%   +0.01%
- Complexity     5653     5672      +19
============================================
  Files          1991     1991
  Lines        107251   107283      +32
  Branches      16302    16315      +13
============================================
+ Hits          73654    73697      +43
+ Misses        28382    28364      -18
- Partials       5215     5222       +7

Flag
Coverage Δ

integration1
24.97% <0.00%> (-0.06%)
:arrow_down:

unittests1
67.88% <50.00%> (+0.02%)
:arrow_up:

unittests2
13.61% <0.00%> (-0.02%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...lanner/partitioning/FieldSelectionKeySelector.java
62.50% <ø> (ø)

...he/pinot/query/mailbox/InMemorySendingMailbox.java
72.72% <33.33%> (+8.44%)
:arrow_up:

...he/pinot/query/mailbox/InMemoryMailboxService.java
100.00% <100.00%> (ø)

.../pinot/server/api/resources/TableSizeResource.java
80.00% <0.00%> (-8.00%)
:arrow_down:

.../common/request/context/predicate/EqPredicate.java
92.30% <0.00%> (-7.70%)
:arrow_down:

...ion/function/DistinctCountAggregationFunction.java
47.53% <0.00%> (-5.83%)
:arrow_down:

...e/pinot/segment/local/io/util/PinotDataBitSet.java
95.62% <0.00%> (-1.46%)
:arrow_down:

...manager/realtime/LLRealtimeSegmentDataManager.java
68.70% <0.00%> (-1.25%)
:arrow_down:

...nction/DistinctCountBitmapAggregationFunction.java
46.11% <0.00%> (-1.04%)
:arrow_down:

... and 23 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


W11 12 update portuguese translation

Adding new Portuguese translation.

@njo2, @karacw, @ortizreyes, Congratulations! It looks like you may be a first-time contributor to the Rokwire Platform. Thanks for considering to contribute.
Could you please also fill in the pull request template. The markdown format text will go in the description section of the pull request. If you were not able to see it when creating the pull request from GitHub, please let me know. Also, if you are required to sign a CLA, we will need that as well. Any contributor who is not an employee of the University of Illinois whose official duties include contributing to the Rokwire software, or who is not paid by the Rokwire project, needs to sign the CLA before their contribution can be accepted. Please see the Contributor Guidelines for more details. Please let me know if you have any questions about these. Thanks.
CC: @isaac-galvan, @balicea

Hi Sandeep,
Sorry for the delay. I am following up on this now.
Kara Warburton, PhD
Lecturer
Program in Translation and Interpreting Studies
University of Illinois
Mobile (US):<PHONE_NUMBER>
Mobile (Canada):<PHONE_NUMBER>
Office:<PHONE_NUMBER>

From: Sandeep Puthanveetil Satheesan<EMAIL_ADDRESS>Sent: Wednesday, November 18, 2020 10:28 AM
To: rokwire/safer-illinois-app
Cc: Warburton, Kara Cordelia; Mention
Subject: Re: [rokwire/safer-illinois-app] W11 12 update portuguese translation (#410)
@njo2https://github.com/njo2, @karacwhttps://github.com/karacw, @ortizreyeshttps://github.com/ortizreyes, Congratulations! It looks like you may be a first-time contributor to the Rokwire Platform. Thanks for considering to contribute.
Could you please also fill in the pull request templatehttps://raw.githubusercontent.com/rokwire/safer-illinois-app/develop/.github/pull_request_template.md. The markdown format text will go in the description section of the pull request. If you were not able to see it when creating the pull request from GitHub, please let me know. Also, if you are required to sign a CLAhttps://rokwire.org/rokwire_cla, we will need that as well. Any contributor who is not an employee of the University of Illinois whose official duties include contributing to the Rokwire software, or who is not paid by the Rokwire project, needs to sign the CLA before their contribution can be accepted. Please see the Contributor Guidelineshttps://github.com/rokwire/safer-illinois-app/blob/develop/CONTRIBUTING.md for more details. Please let me know if you have any questions about these. Thanks.
CC: @isaac-galvanhttps://github.com/isaac-galvan, @baliceahttps://github.com/balicea
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/rokwire/safer-illinois-app/pull/410#issuecomment-729794618, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARP7TBPLQC2XC5H55F76XU3SQPY4RANCNFSM4TY6SJ3Q.

Hi Sandeep,
I am an employee of the University of Illinois. Does this mean that I do not sign a CLA?
And for the students, who are not employees of the university, they should sign it?
Thanks for the clarification.
Kara Warburton, PhD
Lecturer
Program in Translation and Interpreting Studies
University of Illinois
Mobile (US):<PHONE_NUMBER>
Mobile (Canada):<PHONE_NUMBER>
Office:<PHONE_NUMBER>

From: Sandeep Puthanveetil Satheesan<EMAIL_ADDRESS>Sent: Wednesday, November 18, 2020 10:28 AM
To: rokwire/safer-illinois-app
Cc: Warburton, Kara Cordelia; Mention
Subject: Re: [rokwire/safer-illinois-app] W11 12 update portuguese translation (#410)
@njo2https://github.com/njo2, @karacwhttps://github.com/karacw, @ortizreyeshttps://github.com/ortizreyes, Congratulations! It looks like you may be a first-time contributor to the Rokwire Platform. Thanks for considering to contribute.
Could you please also fill in the pull request templatehttps://raw.githubusercontent.com/rokwire/safer-illinois-app/develop/.github/pull_request_template.md. The markdown format text will go in the description section of the pull request. If you were not able to see it when creating the pull request from GitHub, please let me know. Also, if you are required to sign a CLAhttps://rokwire.org/rokwire_cla, we will need that as well. Any contributor who is not an employee of the University of Illinois whose official duties include contributing to the Rokwire software, or who is not paid by the Rokwire project, needs to sign the CLA before their contribution can be accepted. Please see the Contributor Guidelineshttps://github.com/rokwire/safer-illinois-app/blob/develop/CONTRIBUTING.md for more details. Please let me know if you have any questions about these. Thanks.
CC: @isaac-galvanhttps://github.com/isaac-galvan, @baliceahttps://github.com/balicea
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/rokwire/safer-illinois-app/pull/410#issuecomment-729794618, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARP7TBPLQC2XC5H55F76XU3SQPY4RANCNFSM4TY6SJ3Q.

Hi Sandeep,
I have another question. Should we be naming the University of Illinois with its details, i.e. the bottom half of page 2? These are students of the university who are contributing, as part of an official university course.
Thanks for the clarification,
Kara Warburton, PhD
Lecturer
Program in Translation and Interpreting Studies
University of Illinois
Mobile (US):<PHONE_NUMBER>
Mobile (Canada):<PHONE_NUMBER>
Office:<PHONE_NUMBER>

From: Warburton, Kara Cordelia<EMAIL_ADDRESS>Sent: Monday, November 30, 2020 12:33 PM
To: rokwire/safer-illinois-app
Subject: Re:Re: CLA
Hi Sandeep,
I am an employee of the University of Illinois. Does this mean that I do not sign a CLA?
And for the students, who are not employees of the university, they should sign it?
Thanks for the clarification.
Kara Warburton, PhD
Lecturer
Program in Translation and Interpreting Studies
University of Illinois
Mobile (US):<PHONE_NUMBER>
Mobile (Canada):<PHONE_NUMBER>
Office:<PHONE_NUMBER>

From: Sandeep Puthanveetil Satheesan<EMAIL_ADDRESS>Sent: Wednesday, November 18, 2020 10:28 AM
To: rokwire/safer-illinois-app
Cc: Warburton, Kara Cordelia; Mention
Subject: Re: [rokwire/safer-illinois-app] W11 12 update portuguese translation (#410)
@njo2https://github.com/njo2, @karacwhttps://github.com/karacw, @ortizreyeshttps://github.com/ortizreyes, Congratulations! It looks like you may be a first-time contributor to the Rokwire Platform. Thanks for considering to contribute.
Could you please also fill in the pull request templatehttps://raw.githubusercontent.com/rokwire/safer-illinois-app/develop/.github/pull_request_template.md. The markdown format text will go in the description section of the pull request. If you were not able to see it when creating the pull request from GitHub, please let me know. Also, if you are required to sign a CLAhttps://rokwire.org/rokwire_cla, we will need that as well. Any contributor who is not an employee of the University of Illinois whose official duties include contributing to the Rokwire software, or who is not paid by the Rokwire project, needs to sign the CLA before their contribution can be accepted. Please see the Contributor Guidelineshttps://github.com/rokwire/safer-illinois-app/blob/develop/CONTRIBUTING.md for more details. Please let me know if you have any questions about these. Thanks.
CC: @isaac-galvanhttps://github.com/isaac-galvan, @baliceahttps://github.com/balicea
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/rokwire/safer-illinois-app/pull/410#issuecomment-729794618, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARP7TBPLQC2XC5H55F76XU3SQPY4RANCNFSM4TY6SJ3Q.

Hi Kara (@karacw),
As described in the contributor guidelines, if a contributor does NOT belong to any of these groups, they need to sign the CLA:

An employee of the University of Illinois whose official duties include contributing to the Rokwire software.
Someone who is paid by the Rokwire project for their contributions.

That said, let me have an email conversation with you and a few folks to get clarification on your questions. Thanks for your patience.


[llamaindex]: Failed to log trace tree to W&B: list index out of range

Describe the bug
Hello,
I just added wandb for observability as part of the llama-index library following the same exact steps as this https://docs.llamaindex.ai/en/stable/examples/callbacks/WandbCallbackHandler.html. Yet it raises the following error
Failed to log trace tree to W&B: list index out of range

Environment
WandB version: 0.16.0
OS: Ubuntu 22.04 on WSL2
Python version:  3.10.12

Thanks for raising this @salahaz! Are you getting this error when executing the colab or are you copying these steps into another file?

@luisbergua I get this error, when using the notebook locally or in any of my local repos.

Thanks for pointing that out @luisbergua. Out of curiosity, what events are those ?? and, are events created by KnowledgeGraphQueryEngine in LLamaIndex not handled either?

Out of curiosity, what events are those ??
You can find the list of events here: https://github.com/run-llama/llama_index/blob/adbf60f22601866467964152262d07329dc95ee0/llama_index/callbacks/schema.py#L15

are events created by KnowledgeGraphQueryEngine in LLamaIndex not handled either?

Looking at the event types supported by the logger, the events created by the KnowledgeGraphQueryEngine should be supported: https://github.com/run-llama/llama_index/blob/adbf60f22601866467964152262d07329dc95ee0/llama_index/callbacks/wandb_callback.py#L375
I think there's some bug that should be addressed. Will you be able to open an issue in the LlamaIndex GH repo with some details about the use of KnowledgeGraphQueryEngine?

Just wanted to follow up. Have been having the same issue, but with OpenAI agents and autoretrieval. Nothing is logged other than the agent calls, those have no input/output logged. No retrieval steps, llm inputs/outputs/prompts, nothing else is logged.

Get some errors

I am looking at the integration and fixing the issues.

I'm having the same error, nothing logged. I'm using LlamaCPP models in my application. llama-index 0.9.22 and wandb 0.16.2.

i'm getting the same error, nothing is logged in wandb

Hey folks, we will be deprecating this logger in favour of a new system we were working on internally. Stay tuned for a soft launch of the feature next week - we will soon try to get even better trace logging experience. Thanks for the patience. :)

Hey @salahaz, as promised to keep you all in loop. Last week we launched W&B Weave which is a better tooling for observability. Team is working on the LlamaIndex integration. W&B Trace is an old product offering which is not maintained anymore.
Weave announcement
Weave Documentation
Closing this issue for now. Do let me know if you need anything more.