Connecting not connecting Win 10

Since today morning I have this Issue. YakYak might be abandond but maybe someone will take up a mantle?

I think Google changed the Token format. This is what I get
 INFO fetchPvt failed Unexpected token '<'
connect_failed SyntaxError: Unexpected token '<'
    at Object.<anonymous> (/Applications/YakYak.app/Contents/Resources/app.asar/node_modules/hangupsjs/lib/initdataparser.js:32:23)
    at /Applications/YakYak.app/Contents/Resources/app.asar/node_modules/hangupsjs/lib/initdataparser.js:33:26
    at _fulfilled (/Applications/YakYak.app/Contents/Resources/app.asar/node_modules/q/q.js:854:54)
    at /Applications/YakYak.app/Contents/Resources/app.asar/node_modules/q/q.js:883:30
    at Promise.promise.promiseDispatch (/Applications/YakYak.app/Contents/Resources/app.asar/node_modules/q/q.js:816:13)
    at /Applications/YakYak.app/Contents/Resources/app.asar/node_modules/q/q.js:877:14
    at runSingle (/Applications/YakYak.app/Contents/Resources/app.asar/node_modules/q/q.js:137:13)
    at flush (/Applications/YakYak.app/Contents/Resources/app.asar/node_modules/q/q.js:125:13)

Little steps methode? Sounds about write.

It fails here as well. First I thought it was some data corruption as it was common.

It happens also on Linux, it seems to be general issue.

Any forks or alternatives for a desktop google chat client?

Google Chat Electron is also nice to be found on GitHub, but compared to
YakYak has one disadvantage! It has to be installed! And it is not always
possible...
niedz., 13 lis 2022 o 09:47 mzso @.***> napisał(a):

Any forks or alternatives for a desktop google chat client?
—
Reply to this email directly, view it on GitHub
https://github.com/yakyak/yakyak/issues/1413#issuecomment-1312674715,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AP7L4MFVPDWJAWS25SIBUPDWICTLHANCNFSM6AAAAAAR4MNK5M
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Non Possumus Habitum Omni.
Endaer.
"Darkness from twilight, crimson from blood that flows;
buried in the flow of time;
in Thy great name, I pledge myself to light!
Those who oppose us shall be destroyed by the power you and I possess!
DRAGON SLAVE!!"

@EndaerPatt commented on Nov 13, 2022, 10:38 AM GMT+1:

Google Chat Electron is also nice to be found on GitHub, but compared to YakYak has one disadvantage! It has to be installed! And it is not always possible... niedz., 13 lis 2022 o 09:47 mzso<EMAIL_ADDRESS>napisał(a):
…
Any forks or alternatives for a desktop google chat client? — Reply to this email directly, view it on GitHub <#1413 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AP7L4MFVPDWJAWS25SIBUPDWICTLHANCNFSM6AAAAAAR4MNK5M> . You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>-- Non Possumus Habitum Omni. Endaer. "Darkness from twilight, crimson from blood that flows; buried in the flow of time; in Thy great name, I pledge myself to light! Those who oppose us shall be destroyed by the power you and I possess! DRAGON SLAVE!!"

That's cool, but YakYak also need to be installed.

Yet the installation process is different and less in conflict with
systems, where you are not an admin... speaking only from my experience!! I
like Electron very much, yet YakYak was a great tool where and when I
needed it and I'll miss it very much.
niedz., 13 lis 2022 o 13:27 mzso @.***> napisał(a):

@.**** https://github.com/EndaerPatt commented on Nov 13, 2022,
10:38 AM GMT+1
https://github.com/yakyak/yakyak/issues/1413#issuecomment-1312686430:
Google Chat Electron is also nice to be found on GitHub, but compared to
YakYak has one disadvantage! It has to be installed! And it is not always
possible... niedz., 13 lis 2022 o 09:47 mzso @.***> napisał(a):
… <#m_-331407660557697632_>
Any forks or alternatives for a desktop google chat client? — Reply to
this email directly, view it on GitHub <#1413 (comment)
https://github.com/yakyak/yakyak/issues/1413#issuecomment-1312674715>,
or unsubscribe <
https://github.com/notifications/unsubscribe-auth/AP7L4MFVPDWJAWS25SIBUPDWICTLHANCNFSM6AAAAAAR4MNK5M>
. You are receiving this because you authored the thread.Message ID:
@.***>
-- Non Possumus Habitum Omni. Endaer. "Darkness from twilight, crimson
from blood that flows; buried in the flow of time; in Thy great name, I
pledge myself to light! Those who oppose us shall be destroyed by the power
you and I possess! DRAGON SLAVE!!"
That's cool, but YakYak also need to be installed.
—
Reply to this email directly, view it on GitHub
https://github.com/yakyak/yakyak/issues/1413#issuecomment-1312719082,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AP7L4ME6K53RXQ5G7IXAGTDWIDNELANCNFSM6AAAAAAR4MNK5M
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Non Possumus Habitum Omni.
Endaer.
"Darkness from twilight, crimson from blood that flows;
buried in the flow of time;
in Thy great name, I pledge myself to light!
Those who oppose us shall be destroyed by the power you and I possess!
DRAGON SLAVE!!"

Seems to be the same issue here on both Windows and macOS for what it's worth (no one else mentioned macOS so far so mainly wanted to add that). I didn't go digging in any logs but observed that YakYak just sits and won't connect anymore.

So, this is something, basically, that Google did.
pon., 14 lis 2022 o 21:29 Fabien Delpierre @.***>
napisał(a):

Seems to be the same issue here on both Windows and macOS for what it's
worth (no one else mentioned macOS so far so mainly wanted to add that). I
didn't go digging in any logs but observed that YakYak just sits and won't
connect anymore.
—
Reply to this email directly, view it on GitHub
https://github.com/yakyak/yakyak/issues/1413#issuecomment-1314340834,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AP7L4MH4MT3YKEZG7D2UIVLWIKOJRANCNFSM6AAAAAAR4MNK5M
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Non Possumus Habitum Omni.
Endaer.
"Darkness from twilight, crimson from blood that flows;
buried in the flow of time;
in Thy great name, I pledge myself to light!
Those who oppose us shall be destroyed by the power you and I possess!
DRAGON SLAVE!!"

@EndaerPatt commented on Nov 13, 2022, 10:38 AM GMT+1:

Google Chat Electron is also nice to be found on GitHub, but compared to YakYak has one disadvantage! It has to be installed! And it is not always possible... niedz., 13 lis 2022 o 09:47 mzso @.> napisał(a):
…
Any forks or alternatives for a desktop google chat client? — Reply to this email directly, view it on GitHub <#1413 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP7L4MFVPDWJAWS25SIBUPDWICTLHANCNFSM6AAAAAAR4MNK5M . You are receiving this because you authored the thread.Message ID: @.>
-- Non Possumus Habitum Omni. Endaer. "Darkness from twilight, crimson from blood that flows; buried in the flow of time; in Thy great name, I pledge myself to light! Those who oppose us shall be destroyed by the power you and I possess! DRAGON SLAVE!!"

That's cool, but YakYak also needs to be installed.

No it does not require installation. Yakyak is binary, meaning it merely needs downloading and unzipping. It can be run from anywhere in your file system. By definition that means no installation.

@Riversiderepeat commented on Nov 29, 2022, 9:46 PM GMT+1:

No it does not require installation. Yakyak is binary, meaning it merely needs downloading and unzipping. It can be run from anywhere in your file system. By definition that means no installation.

I guess. Not sure if it's terribly useful since it uses appdata for all its data.

As always. It depends what you need. In My case it's a great sollution for
problems I have
śr., 30 lis 2022, 18:01 użytkownik mzso @.***> napisał:

@.**** https://github.com/Riversiderepeat commented on Nov
29, 2022, 9:46 PM GMT+1
https://github.com/yakyak/yakyak/issues/1413#issuecomment-1331282299:
No it does not require installation. Yakyak is binary, meaning it merely
needs downloading and unzipping. It can be run from anywhere in your file
system. By definition that means no installation.
I guess. Not sure if it's terribly useful since it uses appdata for all
its data.
—
Reply to this email directly, view it on GitHub
https://github.com/yakyak/yakyak/issues/1413#issuecomment-1332469867,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AP7L4MFBUPKEFLB3OSYW6TDWK6B5BANCNFSM6AAAAAAR4MNK5M
.
You are receiving this because you authored the thread.Message ID:
@.***>

@EndaerPatt commented on Nov 13, 2022, 10:38 AM GMT+1:

Google Chat Electron is also nice to be found on GitHub

Apparently not anmyore... It died today. The UI changed and the conversations don't appear. I guess the Google website was updated. But the project is now archived on Github. So it seems abandoned.

@EndaerPatt commented on Nov 13, 2022, 10:38 AM GMT+1:

Google Chat Electron is also nice to be found on GitHub

Apparently not anmyore... It died today. The UI changed and the conversations don't appear. I guess the Google website was updated. But the project is now archived on Github. So it seems abandoned.

Still working here. Post a screen shot. I’m betting your chats are just hidden.

@Riversiderepeat commented on Jun 1, 2023, 3:19 PM GMT+2:

@EndaerPatt commented on Nov 13, 2022, 10:38 AM GMT+1:

Google Chat Electron is also nice to be found on GitHub

Apparently not anmyore... It died today. The UI changed and the conversations don't appear. I guess the Google website was updated. But the project is now archived on Github. So it seems abandoned.

@Riversiderepeat commented on Nov 29, 2022, 9:46 PM GMT+1:

No it does not require installation. Yakyak is binary, meaning it merely needs downloading and unzipping. It can be run from anywhere in your file system. By definition that means no installation.

I guess. Not sure if it's terribly useful since it uses appdata for all its data

So what? It works.
Originally posted by @Riversiderepeat in https://github.com/yakyak/yakyak/issues/1413#issuecomment-1572041016

Not sure what you're responding to. But if it's about "it doesn't require installation", then that's false you just need to unpack the content manually, AKA installation. Also there's zero advantage to this since data is stored in the appdata, so it's not portable or anything. But you guys claimed it is some sort of advantage.

@Riversiderepeat commented on Jun 1, 2023, 3:20 PM GMT+2:

@EndaerPatt commented on Nov 13, 2022, 10:38 AM GMT+1:

Google Chat Electron is also nice to be found on GitHub

Apparently not anmyore... It died today. The UI changed and the conversations don't appear. I guess the Google website was updated. But the project is now archived on Github. So it seems abandoned.

Still working here. Post a screen shot. I’m betting your chats are just hidden.

No it doesn't work at all. There's only a blank rectangle where the converstion is supposed to be.

Try the following if you have not already:
Under Help ->Troubleshooting. click "Toggle External Links Guard." In the pop up that displays, click "Disable Guard" then close Chat and reopen it. See if they show up again.
Sometimes the External Links Guard messes up the authorization with Google. This could be why your chats aren't loading.

@Riversiderepeat commented on Jun 1, 2023, 3:19 PM GMT+2:

@EndaerPatt commented on Nov 13, 2022, 10:38 AM GMT+1:

Google Chat Electron is also nice to be found on GitHub

Apparently not anmyore... It died today. The UI changed and the conversations don't appear. I guess the Google website was updated. But the project is now archived on Github. So it seems abandoned.

@Riversiderepeat commented on Nov 29, 2022, 9:46 PM GMT+1:

No it does not require installation. Yakyak is binary, meaning it merely needs downloading and unzipping. It can be run from anywhere in your file system. By definition that means no installation.

I guess. Not sure if it's terribly useful since it uses appdata for all its data

So what? It works.
Originally posted by @Riversiderepeat in #1413 (comment)

Not sure what you're responding to. But if it's about "it doesn't require installation", then that's false you just need to unpack the content manually, AKA installation. Also there's zero advantage to this since data is stored in the appdata, so it's not portable or anything. But you guys claimed it is some sort of advantage.

Who is "you guys?" I've certainly never said it's an advantage. Personally I really don't care where the data is stored as long as a program works. Yakyak no longer works at all so the whole discussion is moot as far as IT goes, but so what if the data is stored in appdata in any program? Many programs do the same even if they do use MS install protocols. Yakyak never did. You're implying there is some sort of disadvantage to where data is stored, but you aren't explaining exactly what this supposed disadvantage is. Why it's such a big deal to you is beyond me.

@Riversiderepeat commented on Jun 2, 2023, 3:29 AM GMT+2:

@Riversiderepeat commented on Jun 1, 2023, 3:20 PM GMT+2:

@EndaerPatt commented on Nov 13, 2022, 10:38 AM GMT+1:

Google Chat Electron is also nice to be found on GitHub

Apparently not anmyore... It died today. The UI changed and the conversations don't appear. I guess the Google website was updated. But the project is now archived on Github. So it seems abandoned.

Still working here. Post a screen shot. I’m betting your chats are just hidden.

No it doesn't work at all. There's only a blank rectangle where the converstion is supposed to be.

Try the following if you have not already:
Under Help ->Troubleshooting. click "Toggle External Links Guard." In the pop up that displays, click "Disable Guard" then close Chat and reopen it. See if they show up again.
Sometimes the External Links Guard messes up the authorization with Google. This could be why your chats aren't loading.

Thanks. Good idea.

@Riversiderepeat commented on Jun 2, 2023, 3:34 AM GMT+2:

Who is "you guys?" I've certainly never said it's an advantage. Personally I really don't care where the data is stored as long as a program works. Yakyak no longer works at all so the whole discussion is moot as far as IT goes, but so what if the data is stored in appdata in any program? Many programs do the same even if they do use MS install protocols. Yakyak never did. You're implying there is some sort of disadvantage to where data is stored, but you aren't explaining exactly what this supposed disadvantage is. Why it's such a big deal to you is beyond me.

Well, you and the other person who started talking about YakYAk not needing to be installed, for some reason. Which is not even true.
Why you brought up that discussion again, I also don't know. :)

@Riversiderepeat commented on Jun 2, 2023, 3:34 AM GMT+2:

Who is "you guys?" I've certainly never said it's an advantage. Personally I really don't care where the data is stored as long as a program works. Yakyak no longer works at all so the whole discussion is moot as far as IT goes, but so what if the data is stored in appdata in any program? Many programs do the same even if they do use MS install protocols. Yakyak never did. You're implying there is some sort of disadvantage to where data is stored, but you aren't explaining exactly what this supposed disadvantage is. Why it's such a big deal to you is beyond me.

Well, you and the other person who started talking about YakYAk not needing to be installed, for some reason. Which is not even true. Why you brought up that discussion again, I also don't know. :)

You're implying there is some sort of disadvantage to where data is stored, but you aren't explaining exactly what this supposed disadvantage is.

Well, if it would hold its data in the program folder (as a relative path) it would be portable, which would be an advantage. But it's not the case.

Okay. Portability might be a valid point if it weren’t for the fact that all the necessary data for Google Chat is already stored on Google servers (in the cloud) which already makes everything in Google Chat “portable.” When I switched from Yakyak to Google Chat Electron, I lost no data at all. So there is ZERO disadvantage to using a binary client for Google Chat as opposed to a client that utilizes MS Install.
If you must know, I did not see your last reply until just now when I received the reply from the person having issues with Electron, which was just a couple of days ago. Excuse me for not reading the date. Regardless. You keep insisting that anything placed on your computer is Installed, which is flat out not correct. But you go ahead and keep believing what you want, regardless of facts. That seems to be the world we live in now.  I’ve got better things to do than pull people’s heads out of the… AHEM! sand. And I won’t even mention who’s kidding who?  Feel free to have the last rant. I’m disconnecting from this waste of time.

@Riversiderepeat Well, you can pull your own at least. :) If you place files then the program is installed if an executable does it for you or not doesn't change anything. But you're right it's pointless to argue about this fact.

@EndaerPatt commented on Nov 13, 2022, 10:38 AM GMT+1:

Google Chat Electron is also nice to be found on GitHub, but compared to YakYak has one disadvantage! It has to be installed! And it is not always possible... niedz., 13 lis 2022 o 09:47 mzso<EMAIL_ADDRESS>napisał(a):

Well, Google Chat Electron seems to be abandoned as well. It's repo is archived. Any alter-alternatives? :)
It also started breaking. At least the tray icon stopped turning green when I got a new messages, nor did I get any other notification.

A moved to Ferdium now. also from Gitlab. Problem is that it needs to be
installed... BUT if U can do it it works good. Under Ferdium I have, beside
chat, Discord, Microsot Teams and few more. One app has many chats.
pon., 26 lut 2024 o 16:34 mzso @.***> napisał(a):

@.**** https://github.com/EndaerPatt commented on Nov 13, 2022,
10:38 AM GMT+1
https://github.com/yakyak/yakyak/issues/1413#issuecomment-1312686430:
Google Chat Electron is also nice to be found on GitHub, but compared to
YakYak has one disadvantage! It has to be installed! And it is not always
possible... niedz., 13 lis 2022 o 09:47 mzso @.***> napisał(a):
Well, Google Chat Electron seems to be abandoned as well. It's repo is
archived. Any alter-alternatives? :)
It also started breaking. At least the tray icon stopped turning green
when I got a new messages, nor did I get any other notification.
—
Reply to this email directly, view it on GitHub
https://github.com/yakyak/yakyak/issues/1413#issuecomment-1964434059,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AP7L4MFVMTPAH5EONB6E33DYVSTQXAVCNFSM6AAAAAAR4MNK5OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRUGQZTIMBVHE
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Non Possumus Habitum Omni.
Endaer.
"Darkness from twilight, crimson from blood that flows;
buried in the flow of time;
in Thy great name, I pledge myself to light!
Those who oppose us shall be destroyed by the power you and I possess!
DRAGON SLAVE!!"

@EndaerPatt commented on Feb 26, 2024, 10:34 PM GMT+1:

A moved to Ferdium now. also from Gitlab. Problem is that it needs to be installed... BUT if U can do it it works good. Under Ferdium I have, beside chat, Discord, Microsot Teams and few more. One app has many chats. pon., 26 lut 2024 o 16:34 mzso<EMAIL_ADDRESS>napisał(a):

Thanks for the tip. I'll check it out.

Interesting. I'm still using Electron with zero issues.

@Riversiderepeat commented on Feb 27, 2024, 2:54 AM GMT+1:

Interesting. I'm still using Electron with zero issues.

Do you get notifications? The tray icon turning green? Because that stopped happening some time ago.

Well, those would be issues and I did say "with zero issues." So no, those features are still working for me.

If we must nitpick, they're only issues if you care abut them, and pay attention to them.


Vuetify support?

I've tried to get vuetify to work in the same way that quasar seems to, but continually get Unknown custom element errors and no rendering. Is there any recommended approach for using other UI frameworks?

Hi @redijedi, I'll gladly look into it if you can provide a reproducing repo. At the moment I'm guessing however this error is not due to flowy vue.

I've tried to get vuetify to work in the same way that quasar seems to, but continually get Unknown custom element errors and no rendering. Is there any recommended approach for using other UI frameworks?

I have no problems using flowy with Vuetify. Example of FlowBlock:
<template>

		<flowy-drag-handle>
			<v-card
				outlined
				:color="node.color"
				cols="auto"
				width="140"
				height="80"
				class="d-flex flex-column align-center text-center pt-2"
			>

				<v-card-actions>
					<v-btn block style="width: 100%" color="grey-7" text>
						<v-icon large>mdi-drag-horizontal</v-icon>
					</v-btn>
				</v-card-actions>
			</v-card>
		</flowy-drag-handle>

</template>

My block is globally imported:
import FlowBlock from '@/components/flow/FlowBlock'
Vue.component('FlowBlock', FlowBlock)

In your dataset, make sure each item contains the nodeComponent property:
const nodes = [
  {
    id: "node-420,
    name: "Noodle",
    parentId: -1,
    nodeComponent: "FlowBlock"
  }
]

Thanks for the quick reply! I found that the inline template approach didn't work, but the separate component approach as you described worked well. Thanks!


How to ensemble Fairseq models?

Parts of the code suggests that generate.py can generate sequences based on multiple models.
https://github.com/pytorch/fairseq/blob/30ef667d40b9b34ca9caa43706a89b57531f19a7/generate.py#L41
Could you please kindly suggest an example of this usage, if possible?
Thanks!

Yes, if you pass --path model1.pt:model2.pt it will ensemble model1 and model2 for generation. Note that ensembling this way loads both models into memory, so it may be necessary to do ensemble generation on CPU with the --cpu flag (e.g., if the models are too big to store multiple of them in GPU memory).

I see. Thanks a lot!

@myleott I couldn't ensemble two models from two different architectures, e.g. a LSTM and a transformer. It trows a runtime error: Error(s) in loading state_dict for LSTMModel. Any workarounds to get the ensemble to work for models from 2 different architectures?
Thanks!

closing, merged into master. thanks!


Sometimes, repeating spaces are stripped out

[x] I am on the latest Hyper.app version
[x] I have searched the issues of this repo and believe that this is not a duplicate

OS version and name: macOS, 10.12.1
Hyper.app version: 0.8.3
Link of a Gist with the contents of your .hyper.js: N/A, it's the default ocnfig.
Relevent information from devtools (CMD+SHIFT+I on Mac OS, CTRL+SHIFT+I elsewhere): See below for HTML snippets.
The issue is reproducible in vanilla Hyper.app: Yeah!

Issue
I experience a weird issue when using weechat with two sidebars. It's probably best if I show you screenshots. This is how it should look like:

And this is how it looks like:

Apparently, sometimes duplicate spaces get striped/merged together. Now, here comes the crazy stuff:

I was not able to reproduce this issue outside of weechat, although, to be fair, that's pretty much the only ncurses based application I actively use.
When running this inside a tmux and sending a refresh via tmux refresh-client, the spaces are drawn correctly.

Here is the HTML that's generated for a line that's missing spaces. The first line is "broken", the second line is exactly the same content after a refresh:
<x-row>                  │                                                                                │ DenSchub    </x-row>
<x-row>                  │                                                                                │ DenSchub    </x-row>

It's pretty easy to spot that, in the broken case, the spaces are inside the span tag that colors the border line. This is bad since this span tag has a width: 7.2px style...
Since I was not able to build a simplified testcase, that's all the information I can provide at this moment. Maybe it's useful for someone.

Hey.
Could you try to reproduce this issue on this PR?
https://github.com/zeit/hyper/pull/1111

Still reproducible, unfortunately.

So, fwiw, this is the HTML with your PR:
<x-row> 8.freenode                     │                                                                                │ DenSchub   </x-row>
<x-row> 8.freenode                     │                                                                                │ DenSchub   </x-row>

Same story, but the width definition is inside your unicode-node class now. I've been looking around for a bit and I've noticed that this class should only get added if the length of their contents is 1:
if (container.style && runes(text).length === 1 && containsNonLatinCodepoints(text)) {
  container.className += ' unicode-node';
}

and that made me wonder. By default, innerText, which apparentl is used here somewhere in the chain of calls, strips whitespaces unless white-space: pre; is set. However, x-screen has that in its style attribute.
I've looked at window.getComputedStyle(container)["white-space"] inside that condition and realized that all those attributes are unset, which probably is the root cause of the issue.
@dotcypress is this helpful to you or should I continue debugging up to see where we could fix that?

@denschub thank you for help.
We need to check length of symbols, cause we need to set width for each non-latin character.
I'm trying to find place where spaces drop may happen.
Do you have this issue with other programs(mc, nano, vto, etc.)?

Sadly, no. :( Weechat is the only terminal where I experience this issue so far...

Maybe it happen because this:
https://chromium.googlesource.com/chromiumos/platform/assets/+/factory-3004.B/chromeapps/hterm/js/lib_utf8.js#105
But i'm not sure, need more research! 😄

I guess the best way is to find out where/why the spaces are wrapped inside that span, but after a forced repaint via tmux they're no longer. I'd poke around with it, but so far, the devtools are unable to break at that source location for some reason, need to fix that first... :)

I'm having the same problem using vim inside a screen session. I have found in developer tools the same problem with stripped with spaces.

Hm, vim works fine for me. That's surprising and makes debugging this even harder.. :(

FWIW I still experience this in weechat.

This issue appears to be fixed with the canary build.

I wanted to come back and report that the issue still exists in the canary build. The interesting thing is it didn't seem to appear until a couple days later.


Extension Manager isn't showing

SQL Operations Studio Version: May Release version  0.28.6

Steps to Reproduce:
Download and install the May release of Sql Ops Studio
Open Sql Ops Studio
There isn't an icon for the Extension Manager. =(

@mackenziemi did the previous version show it? It sounds like it may have gotten manually disabled somehow - to reenable it, you should be able to right click in the bar where the icon should be and click on "Extensions". If that doesn't work please let us know

Right clicking on the bar did the trick, don't know why I didn't think to
try that. Thank you for your help and your patience.
Thanks
-MacK
On Wed, May 9, 2018 at 2:13 PM Matt Irvine<EMAIL_ADDRESS>wrote:

@mackenziemi https://github.com/mackenziemi did the previous version
show it? It sounds like it may have gotten manually disabled somehow - to
reenable it, you should be able to right click in the bar where the icon
should be and click on "Extensions". If that doesn't work please let us know
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/sqlopsstudio/issues/1382#issuecomment-387861207,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AC_CuHl5vycBgFQHHFu2tUWVaRS1cOewks5tw03PgaJpZM4T45O-
.

I don't know why I didn't think to right click on that bar but that did the trick. Thank you for your help and your patience!


Make update-reference-docs.sh OSX compatible.

Changes

Based on
https://unix.stackexchange.com/questions/663369/invalid-command-code-using-sed-to-replace-characters-inline
Verified this works with OSX 12.5, and Ubuntu 22.04.1.
/kind bug
Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[x] Has Docs included if any changes are user facing
[x] Has Tests included if any functionality added or changed
[x] Follows the commit message standard
[x] Meets the Tekton contributor standards (including
functionality, content, code)
[x] Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
[x] Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings)
[x] Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes
NONE

/cc @QuanZhang-William @abayer

/approve
nice catch!

/approve
nice catch!

Credit goes to @QuanZhang-William for the discovery! 😄

/approve
nice catch!

Credit goes to @QuanZhang-William for the discovery! 😄

Thanks for your help! @wlynch

I just realized why I didn't hit this problem on my Mac when I set this up: I have gsed installed and sed points to that. Whoops!

/lgtm

/retest


autoPage and rowspan

Hello Team,
Just to clarify if this is a bug.
I've tried creating table using HTML DOM and assigning rowSpan attribute to the first column of each rows accordingly and finally add the HTML table to the slide using addSlidesForTable().
From my understanding, the method addSlidesForTable() would have split the table to multiple slides if it overflowed a slide.
However, with the assignment of rowSpan attribute, the table will not split to multiple slides when it overflowed. The addSlidesForTable() works fine after removing the line to set the rowSpan attribute.
td = document.createElement('td');
td.rowSpan = rowSpanCount[i];
td.appendChild(document.createTextNode("Line 1"));
tr.appendChild(td);

var objOpts = {};
objOpts.master = 'MASTER_SLIDE';
objOpts.addHeaderToEach = true;
objOpts.newPageStartY = 1.0;
pptx.addSlidesForTable("table-id", objOpts);

Kindly assist.
Thank you.

Acknowledged.
TRACKING ISSUE: #331

Hi I am facing the above issue when the slide over flows to next slide the fourth column cell value is displaying in the first column and the other three cells are bold bordered: Please help


Test with NodeJS 11 and 12

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Unicode issue kivyMD

Description of the Bug
i am using kivyMD to develop an app , the problem when i use text in Arabic or French language, it show symboles :/ After googling i find some solution for MDLabel widget by adding Font name
            MDLabel:
            text:str(root.bidi_text)
            font_name: './fonts/Shoroq-Font.ttf'

The problem for other widgets like MDlist, MDbutton , title of Toolbar, ..etc.. it doesn't work Any solution ?

Versions

OS:
Python: 3.6
Kivy: 1.1
KivyMD:

https://medium.com/@ahmedfgad/supporting-arabic-alphabet-in-kivy-for-building-cross-platform-applications-7a1e7c14a068


Long Standing Issue: Add values to existing categories

Long Standing Issue: Add values to the existing qual-id categories
Note: Any number of people can work on this issue, so it will remain open and won't be assigned. If you'd like to comment with any info on what you're going to work on, that would be helpful to stop people doing the same thing, but it's up to you.
This involves adding strings to a list in a python class. It will be a very simple, yet impactful enhancement. Additional details can be found in CONTRIBUTING.md. Also check out this PR for a good example.
Contributions from beginners are very welcome!

Hey @gabrielbarker I would like to add new values to the games and languages categories, in case no one is working on them.
So if could let me know if I can work on them, it would be great

Hi @gabrielbarker I am working on programming language category.


Theoretical question

Given two mm-spaces  and assuming  are both Euclidean and the metrics are identical. Is it true that the Unbalanced Gromov-Wasserstein in this case will "fall back" - nonetheless, my calculations show that it will be  - to Unbalanced Wasserstein? My gut tells me that this is true, since  (equation 6 in Unbalanced Gromov-Wasserstein paper) will be zero a.e. since the metrics equate, however I haven't been able to prove it.

Hi @JacksonFurrier,
I am not sure of what you exactly mean by "falling" back. I guess it means that if you assume the two mm-spaces are defined on the same space, then UGW is equivalent to the unbalanced Wasserstein (UW) distance. Based on this paper (Section 2.2), best I can say is that you should be able to prove UGW <= 2 * UW. But it cannot be an equality, for instance take a measure and its translation, for which UGW=0 (because a translation is an isometry) but UW is not.
Did I properly answered your question ?

Hi @JacksonFurrier,
It's great if I answered your question ! Then I close this issue.


Closes #22: use lowercase claims and UPPERCASE authorities to make sure that hasRole('MY_ROLE') succeeds

As discussed in issue #22, this is an implementation of option 2, where we use lowercase firebase principal claims and UPPERCASE authorities.

Sorry, I am closing this pull request. We should go with your option one, which is the simpler solution of the two.


Linting all-in

Closes #76

the improvements to how we use linting and to the pretest npm script look good to me 👍

for good measure, I also ran npm run test and manually verified that all the tests still pass 😄

Awesome. Thanks @micahstubbs !


MINIFI-517: Added /opt/minifi/minifi-current symlink

To prevent path breakages when the MiNiFi version changes, add a symlink in the Dockerfile to /opt/minifi/minifi-current - similar to the NiFi docker image.
Thank you for submitting a contribution to Apache NiFi - MiNiFi.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[x] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[x] Does your PR title start with MINIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[x] Has your PR been rebased against the latest commit within the target branch (typically master)?

[x] Is your initial contribution a single, squashed commit?

For code changes:

[ ] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi-minifi folder?
[ ] Have you written or updated unit tests to verify your changes?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under minifi-assembly?
[ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under minifi-assembly?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.

reviewing

@r65535 looks good with that fix.  thanks for adjusting!


Document equals property for all Monoids

Since monoids support equality checks by virtue of #230, this feature needs to be documented

[x] Add equals section to docs pages

[x]  docs/All
[x]  docs/Any
[x]  docs/Assign
[x]  docs/First
[x]  docs/Last
[x]  docs/Max
[x]  docs/Min
[x]  docs/Prod
[x]  docs/Sum

[x] Add equals section to README pages

[x]  readme/All
[x]  readme/Any
[x]  readme/Assign
[x]  readme/First
[x]  readme/Last
[x]  readme/Max
[x]  readme/Min
[x]  readme/Prod
[x]  readme/Sum

[ ] Add links to [docs/pointfree]

@evilsoft - I'm not sure about Add links to [docs/pointfree]. Is there anything specific that we need to add here?

This has been shipped. Close


Feature request to create oauth client token

Hi,
We were looking for creating oauth client token using terraform. We have feature for creating access token but not oauth client token.
Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
We would like to have a module for creating oauth client via terraform.
Describe alternatives you've considered
None
Thanks,
Vijayalakshmi
Additional context
NA

Hi @Vijayalakshmi-Yolbhavi,
Thank you for the feedback. Unfortunately this endpoint doesn't exist in the account management API and our provider is bound to what's available via the API. I would recommend to follow-up with the Product Ideas forum.
I'll close this ticket for the time being, but we'll continue to monitor this ticket for any additional discussion.
Thanks!


Add Computer Organisation and Architecture

Hello @its-red-eagle !
I would like to add information about Computer organisation and architecture, in particular about 2 topics, Instruction Set Architecture and Memory Addressing. Can I go ahead and do so?

Okay, thanks!


pact-jvm-provider-gradle_2.11:3.2.0 bug?

Just upgraded Provider to version pact-jvm-provider-gradle_2.11:3.2.0.
Got the following errors:
  $.body.Prices.PriceDAP -> Expected 5001 to be an integer
  $.body.Prices.Price -> Expected 5001 to be an integer
  $.body.Prices.SearchPrice -> Expected 5001 to be an integer
  $.body.GeoLocation.Latitude -> Expected -37.825039 to be a real number
  $.body.GeoLocation.Longitude -> Expected 144.971512 to be a real number
  $.body.Seller.GeoLocation.Latitude -> Expected -37.821293 to be a real num

ber
$.body.Seller.GeoLocation.Longitude -> Expected 144.95576 to be a real num
ber
$.body.Seller.Finance.0.Rate -> Expected 10.74 to be a real number
$.body.Specification.GreenhouseRating -> Expected 7 to be a real number
$.body.Specification.OverallGreenStarRating -> Expected 3.5 to be a real n
umber
$.body.Specification.FuelCombined -> Expected 7.4 to be a real number
$.body.Specification.Power -> Expected 104 to be a real number
$.body.Specification.YearlyCosts.0.Amount -> Expected 9226.7159 to be a re
al number
$.body.Specification.YearlyCosts.1.Amount -> Expected 2484 to be a real nu
mber
The errors does not seem to be correct.
5001 indeed is an integer, 144.971512 is a real number.

Also, looks like it is not able to compare empty array like SubFeatures ([]).
Error below is thrown:
$.body.Features.0.SubFeatures -> Expected List() to have minimum 1

I've fixed the real number matcher. In the mean time, you can use the basic number matcher (numeric).
As for the empty list, use eachLike which accepts an empty list.


Document length

Are the specified lengths in tokens, words or characters? Please consider updating the README for clarity.
Thank you for the dataset :)

Apologize for missing the notification, this was measured in word-level.

readme updated. Thanks for the suggestion, please feel free to re-open the issue.


Train simple audio recognition

@petewarden
@tensorflow/micro
System information

OS Platform and Distribution -Windows 8
TensorFlow installed from (source or binary): -
-TensorFlow version - 2.2.0.dev20200210
Python version: - 3.6 version (if compiling from source):
CUDA/cuDNN version: - GPU not supported in my system trying to train model in colab

Describe the current behavior
I am trying to train a simple audio recognition model as described in book "TinyML" . I am using colab to train the model.
First I got the error while Install Dependencies "ERROR: Could not find a version that satisfies the requirement tf-nightly-gpu==1.15.0.dev20190729 (from versions: 2.2.0.dev20200210, 2.2.0.dev20200211, ...)
ERROR: No matching distribution found for tf-nightly-gpu==1.15.0.dev20190729"
As temsorflow version 1.5 is not supported is replaced the version by 2.2.0.dev20200210 , this error got resolved.
Again while "Begin Training" I got error "Traceback (most recent call last):
File "tensorflow/tensorflow/examples/speech_commands/train.py", line 81, in
import input_data
File "/content/tensorflow/tensorflow/examples/speech_commands/input_data.py", line 35, in
from tensorflow.contrib.framework.python.ops import audio_ops as contrib_audio
ModuleNotFoundError: No module named 'tensorflow.contrib"
Please provide the exact sequence of commands/steps to solve above problem and train the simple audio in colab.

@rajaniyadav
tf.contrib no longer exists in post-2.0 world. It has been moved (partially) to TF Addons.
If you really want tf.contrib, you can use TF 1.15 for the next 3 years, but after that you will have to switch as there won't be a TF 1.16 or later.
Also,you check  whether you have 64-bit version of Python (32-bit will not support).Thanks!

Hi,
Is there any way that we can migrate this code to tensorflow 2.0 version?

@rajaniyadav
can you please go through the link and see if it helps you.Thanks!

S

@rajaniyadav
Any update on this issue please. Thanks!

Hi
Thank you for responding. The above bug is recently fix by the owner of the model.

@rajaniyadav
Glad to know the issue got fixed.Please close this thread, as the issue got resolved.. Thanks!

Issue resolved so closing it.


Is it still the case that the Azure portal cannot install version 3?

Today (4-25-2018) I tried installing the diagnostic extension through the portal and it appears to be installing version 3.x, even though the documentation says the portal will only install version 2.3.  I ran this query after installing the extension through the portal:
 az vm extension list -g lncdemoeastRG --vm-name ubu1
Name             ProvisioningState    Publisher                                     Version  AutoUpgradeMinorVersion
---------------  -------------------  ------------------------------------------  ---------  -------------------------
DependencyAgent  Succeeded            Microsoft.Azure.Monitoring.DependencyAgent        9.1  True
LinuxDiagnostic  Succeeded            Microsoft.Azure.Diagnostics                       3    True
OMS              Succeeded            Microsoft.EnterpriseCloud.Monitoring              1.4  True

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

ID: 72166f34-3f44-ab06-23ab-6369aa29eb7d
Version Independent ID: 9ee7879b-d821-830c-240f-17740418ee86
Content: Azure Compute - Linux Diagnostic Extension
Content Source: articles/virtual-machines/linux/diagnostic-extension.md
Service: virtual-machines-linux
GitHub Login: @jasonzio
Microsoft Alias: jasonzio

@larryms Thanks for your feedback! We will investigate and update as appropriate.

@larryms appears this is no longer true!
@jasonzio can you take a look and modify the doc appropriately?

Do not assign to me; I longer work on LAD. New owner is @abhijeetgaiha.

Thanks @jasonzio! Suggest you work to get the metadata updated to avoid future assigns.
@abhijeetahuja can you please take a look?

Wrong Abhijeet – you want @abhijeetgaiha.
Sent from my Windows 10 phone

From: Micah<EMAIL_ADDRESS>Sent: Wednesday, April 25, 2018 7:11:25 PM
To: MicrosoftDocs/azure-docs
Cc: Jason Zions; Mention
Subject: Re: [MicrosoftDocs/azure-docs] Is it still the case that the Azure portal cannot install version 3? (#7709)
Thanks @jasonziohttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjasonzio&data=02|01|Jason.Zions%40microsoft.com|6c7122ee57dc4f24913708d5ab1b0486|72f988bf86f141af91ab2d7cd011db47|1|0|636603054885178854&sdata=ksmT%2FoFTg6dZoAueUkQefH7WV5gJBoLllXygYGl35Bs%3D&reserved=0! Suggest you work to get the metadata updated to avoid future assigns.
@abhijeetahujahttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fabhijeetahuja&data=02|01|Jason.Zions%40microsoft.com|6c7122ee57dc4f24913708d5ab1b0486|72f988bf86f141af91ab2d7cd011db47|1|0|636603054885178854&sdata=7Sg0pKD5FZxYJc8B6E8g6BVv0i%2BrhnnDCbmYVfJCgtw%3D&reserved=0 can you please take a look?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F7709%23issuecomment-384490298&data=02|01|Jason.Zions%40microsoft.com|6c7122ee57dc4f24913708d5ab1b0486|72f988bf86f141af91ab2d7cd011db47|1|0|636603054885178854&sdata=PLSaCHlTTuDs3przT1%2B29IdpnYgI30Vx23u8OKTo9HE%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAIAi4dfs_FNmVn4-h-EWfBeWzez9izxGks5tsSzNgaJpZM4TkAB_&data=02|01|Jason.Zions%40microsoft.com|6c7122ee57dc4f24913708d5ab1b0486|72f988bf86f141af91ab2d7cd011db47|1|0|636603054885178854&sdata=EmaitgDuIdP6RZeeIYjEueTsKSEoqA15H3JHChRjzWo%3D&reserved=0.

For the public portal, LAD 2.3 is still the default. Some internal subscriptions have started to see LAD 3.0.

@MicahMcKittrick-MSFT What's the process for updating the metadata so that Jason isn't identified as the owner for LAD docs going forward?

Thank you for taking the time to share your product and documentation feedback with us. Your input is valued because it helps us create the right documentation for our customers.
Due to the volume of issues in our queue, we are closing open issues older than 90 days. We hope to continue hearing from you. Thank you.


Remove convert and revert command from yurtctl

Signed-off-by: lonelyCZ<EMAIL_ADDRESS>
What type of PR is this?

Uncomment only one  /kind <> line, hit enter to put that in a new line, and remove leading whitespace from that line:
/kind bug
/kind documentation
/kind enhancement
/kind good-first-issue
/kind feature
/kind question
/kind design
/sig ai
/sig iot
/sig network
/sig storage
/sig storage

/kind feature
What this PR does / why we need it:
Remove convert and revert command
Which issue(s) this PR fixes:

Fixes #736
Special notes for your reviewer:

lifted from #748
Does this PR introduce a user-facing change?

Remove convert and revert command from yurtctl

other Note

/lgtm


Application subclass does not initialize GTK

Subclassing GtkApplication and leaving all implementations blank does not call gtk::init(). Docs for GtkApplication says it should be called in parent_startup().
Interestingly, widgets created through a template work without GTK being initialized

Can you provide a testcase to reproduce the problem you see?

use gio::prelude::*;
use glib::subclass::prelude::*;
use glib::{glib_object_subclass, glib_wrapper};

mod imp {
    use super::*;
    use glib::subclass;
    use gtk::subclass::prelude::*;

    #[derive(Debug)]
    pub struct TestApp {}

    impl ObjectSubclass for TestApp {
        const NAME: &'static str = "TestApp";
        type Type = super::TestApp;
        type ParentType = gtk::Application;
        type Instance = subclass::simple::InstanceStruct<Self>;
        type Class = subclass::simple::ClassStruct<Self>;

        glib_object_subclass!();

        fn new() -> Self {
            Self {}
        }
    }

    impl ObjectImpl for TestApp {}
    impl ApplicationImpl for TestApp {}
    impl GtkApplicationImpl for TestApp {}
}

glib_wrapper! {
    pub struct TestApp(ObjectSubclass<imp::TestApp>)
        @extends gio::Application, gtk::Application;
}

impl TestApp {
    pub fn new() -> Self {
        glib::Object::new(
            Self::static_type(),
            &[
                ("application-id", &"org.malmz.Test"),
                ("flags", &gio::ApplicationFlags::empty()),
            ],
        )
        .expect("Failed to create TestApp")
        .downcast()
        .expect("Created TestApp is of wrong type")
    }
}

fn main() {
    let app = TestApp::new();
    app.connect_activate(|app| {
        dbg!(gtk::is_initialized());
        let window = gtk::ApplicationWindow::new(app);
        let label = gtk::Label::new(Some("Hello"));
        window.set_child(Some(&label));
        window.show();
    });
    std::process::exit(app.run(&std::env::args().collect::<Vec<_>>()));
}

This prints: "gtk::is_initialized() = false" and then crashes trying to create the label

Apparently this commit was not backported to gtk4: https://github.com/gtk-rs/gtk-rs/commit/25ef6eebce35077c0e2c1e37359b47bd9b19e7a6
@bilelmoussaoui ?

The example above now panics in rt.rs
thread 'main' panicked at 'GTK was not actually initialized', /home/malmz/.cargo/git/checkouts/gtk4-rs-e74ad56283dfeb5e/e643e46/gtk4/src/rt.rs:79:9

That's curious because it's not actually GTK saying it's not initialized (gtk_is_initialized() returns false).
Can you put the full backtrace of the panic here? There's probably a check on the bindings side that happens too early here but not in GTK3.

thread 'main' panicked at 'GTK was not actually initialized', /home/malmz/.cargo/git/checkouts/gtk4-rs-e74ad56283dfeb5e/e643e46/gtk4/src/rt.rs:79:9
stack backtrace:
   0: std::panicking::begin_panic
             at /home/malmz/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:505
   1: gtk4::rt::set_initialized
             at /home/malmz/.cargo/git/checkouts/gtk4-rs-e74ad56283dfeb5e/e643e46/gtk4/src/rt.rs:79
   2: gtk4::subclass::application::application_startup
             at /home/malmz/.cargo/git/checkouts/gtk4-rs-e74ad56283dfeb5e/e643e46/gtk4/src/subclass/application.rs:79
   3: g_signal_emit_valist
   4: g_signal_emit
   5: g_application_register
   6: <unknown>
   7: <T as gio::subclass::application::ApplicationImplExt>::parent_local_command_line
             at /home/malmz/.cargo/git/checkouts/gtk-rs-48ef14c1f17c79fb/f316f40/gio/src/subclass/application.rs:234
   8: gio::subclass::application::ApplicationImpl::local_command_line
             at /home/malmz/.cargo/git/checkouts/gtk-rs-48ef14c1f17c79fb/f316f40/gio/src/subclass/application.rs:101
   9: gio::subclass::application::application_local_command_line
             at /home/malmz/.cargo/git/checkouts/gtk-rs-48ef14c1f17c79fb/f316f40/gio/src/subclass/application.rs:413
  10: g_application_run
  11: <O as gio::application::ApplicationExtManual>::run
             at /home/malmz/.cargo/git/checkouts/gtk-rs-48ef14c1f17c79fb/f316f40/gio/src/application.rs:20
  12: apptest::main
             at ./src/bin/apptest.rs:63
  13: core::ops::function::FnOnce::call_once
             at /home/malmz/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:227

Ok, this needs some more investigation by someone actually working on the GTK4 bindings then :) @bilelmoussaoui @BrainBlasted
I assume the problem here is that GTK is not actually initialized at this point yet.


Change script inclusion to be compatible with CSP hashes

Bug Report or Feature Request (mark with an x)
- [ ] bug report -> please search issues before submitting
- [ x ] feature request

Command (mark with an x)
- [ ] new
- [ x ] build
- [ ] serve
- [ ] test
- [ ] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc

Versions
$ node --version
v9.4.0
/c/Dev/GPCAWS/GPCAWS (feature/Bug-fix_for_melbtime)
$ npm --version
5.6.0
/c/Dev/GPCAWS/GPCAWS (feature/Bug-fix_for_melbtime)
$ ng --version
 _                      _                 ____ _     ___
/ \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|

/ △ \ | '_ \ /  | | | | |/ _ | '__|   | |   | |    | |
/ ___ | | | | (| | || | | (| | |      | || | | |
//   __| ||_, |_,||_,||       _|||
|___/
Angular CLI: 6.0.8
Node: 9.4.0
OS: win32 x64
Angular: 6.0.9
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router
Package                           Version
@angular-devkit/architect         0.6.8
@angular-devkit/build-angular     0.6.8
@angular-devkit/build-optimizer   0.6.8
@angular-devkit/core              0.6.8
@angular-devkit/schematics        0.6.8
@angular/cdk                      6.4.1
@angular/cli                      6.0.8
@angular/material                 6.4.1
@ngtools/webpack                  6.0.8
@schematics/angular               0.6.8
@schematics/update                0.6.8
rxjs                              6.2.2
typescript                        2.7.2
webpack                           4.8.3
Windows 10
Repro steps
build any angular site - it will add the scripts inline after the app-root
e.g.
<body>
  <app-root></app-root>
  <script type="text/javascript" src="runtime.a66f828dca56eeb90e02.js"></script>
  <script type="text/javascript" src="polyfills.aa65e3378ecb188e0792.js"></script>
  <script type="text/javascript" src="scripts.f9bdf93c4ffe3565303b.js"></script>
  <script type="text/javascript" src="main.9742cee6e57f256e947f.js"></script>
</body>

View the site through any system that adds CSP headers, with  content-security-policy:"script-src 'self'"
This will show errors in the console log as the scripts cannot be loaded.
The log given by the failure
The log is in the browser when the site is accessed.
It returns...

Refused to run the JavaScript URL because it violates the following Content Security Policy directive: "script-src 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-...') is required to enable inline execution.

The problem here is that nonces would need to be dynamically injected each time the page was loaded, and the hashes would need to be recalculated every time contnet changed.  The nonces is a fix that might be possible in the future in amazon, but isn't yet.  The hashes would be difficult as they would have to be calculated eash build and pushed to whatever was injecting the CSP data.
Desired functionality
change the compilation to move all dynamic (compiled) scripts into the header and call them using a single constant static script to allow CSP to use script hashes for the inline script, and local file auth for the other scripts. That way the scripts can be set up securely.
Ideally the only inline script would be a simple, static script that could have a constant hash used in the CSP (for example "start()").  It would pre-load the scripts from locally.  The CSP would be "script-src 'self' 'sha-{base64hashofstaticcontent}'" to allow just local files and the one static script (start() in the example below.
The code would then appear as
  <script type="text/javascript" src="runtime.a66f828dca56eeb90e02.js"></script>
  <script type="text/javascript" src="polyfills.aa65e3378ecb188e0792.js"></script>
  <script type="text/javascript" src="scripts.f9bdf93c4ffe3565303b.js"></script>
  <script type="text/javascript" src="main.9742cee6e57f256e947f.js"></script>
  <body>
    <app-root></app-root>
    <script type="text/javascript">start();</script>
  </body>

This will allow proper securing of sites against script injection in-page by denying all inline scripts except ones specifically allowed by csp hash.  It avoids the need to open site security by using script-src 'unsafe-inline';
Mention any other details that might be useful
Steps to reproduce.

deploy a site to an S3 bucket.

set up cloud-front to force https and to allow header injection through lambdas

set up the lambdas to include script-src 'self';
sample lambda code as follows ...

'use strict';
exports.handler = (event, context, callback) => {

    //Get contents of response
    const response = event.Records[0].cf.response;
    const headers = response.headers;

//Set new headers
 headers['strict-transport-security'] = [{key: 'Strict-Transport-Security', value: 'max-age=63072000; includeSubdomains; preload'}];
 headers['content-security-policy'] = [
     {key: 'Content-Security-Policy',
      value: "default-src 'none'; img-src 'self' data:; font-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; object-src 'none'"}];
 //  'unsafe-inline'
 headers['x-content-type-options'] = [{key: 'X-Content-Type-Options', value: 'nosniff'}];
 headers['x-frame-options'] = [{key: 'X-Frame-Options', value: 'DENY'}];
 headers['x-xss-protection'] = [{key: 'X-XSS-Protection', value: '1; mode=block'}];
 headers['referrer-policy'] = [{key: 'Referrer-Policy', value: 'same-origin'}];

    //Return modified response
//    return response;
    callback(null, response);
};

access the site through it's cloud-front address and observe the console errors caused by the security tokens.

While this may seem like an AWS issue, the core of the issue is that there is content in the page that we have no control of and that is not compliant with modern security standards.

#6872 appears related but not the same - the goal in both is better CSP but they touch different aspects (assuming I'm understanding correctly.)

In production mode (which defaults to using AOT), there are no runtime generated scripts (neither eval nor Function() as well).  The CSP configuration fragment shown above will work successfully and is used extensively in production websites.  The problem you are encountering is either due to the addition of third party code within the application that would need additional CSP rules; or a deployment/configuration issue. (baseHREF for instance on the configuration side)

Closing due to inactivity with no further information provided.


Added images for F-Droid store listing.

Task/Issue URL:
Description
Steps to test this PR
Feature 1

[ ]
[ ]

UI changes

Before
After

!(Upload before screenshot)
(Upload after screenshot)

In this stack: 🖼 Add images to F-Droid store listing(?)

develop

#4079   👈

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @anikiki and the rest of your teammates on  Graphite


react-native run-ios 报找不到设备

Found Xcode project ThirtyDaysOfReactNative.xcodeproj
Could not find iPhone 6 simulator

Me too.
Then I open it with Xcode but don't see the project.
Open the app just a pic can't do anything.


[AMBARI-22901] View Log feature for failed mpack downloads

What changes were proposed in this pull request?
Implement "view log" feature for failed mpacks downloads, which will allow the user to view the error message in the server response when an mpack registration fails.
How was this patch tested?
Added unit tests. All tests passing:
20422 passing (22s)
126 pending

@u39kun @ishanbha @hiveww @aleksandrkovalenko @geksilla

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/397/
Test FAILed.
Test FAILured.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/398/
Test FAILed.
Test FAILured.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/400/
Test FAILed.
Test FAILured.


Update cache-how-to-premium-vnet.md

Clarify that a subnet with NAT gateway is not a dedicated subnet.

@TimLovellSmith : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


Receive GPX file share intents

When you share a GPX file from another app (like Gaia), Trail Sense should show up as an option to send it to and it should import both the paths and beacons.

I ran into this one today. It worked to use Google Drive as a clearing house, but direct share would have been nice. 🙂


mesos + weave cni issue

Not sure if it is mesos or weave issue.
While testing mesos + weave cni, weave assign correctly to the mesos task but mesos task remains and staging then failure with message:
I0824 08:31:32.086134 26525 cni.cpp:716] Bind mounted '/proc/6248/ns/net' to '/run/mesos/isolators/network/cni/5e284273-0a70-4d69-a35b-866335643003/ns' for container 5e284273-0a70-4d69-a35b-866335643003
I0824 08:31:32.568583 26520 cni.cpp:1109] Got assigned IPv4 address '<IP_ADDRESS>/12' from CNI network 'weave' for container 5e284273-0a70-4d69-a35b-866335643003
I0824 08:31:32.568788 26520 cni.cpp:838] Unable to find DNS nameservers for container 5e284273-0a70-4d69-a35b-866335643003. Using host '/etc/resolv.conf'

It seems there is a DNS issue.
Weave status gives:
    Version: 1.6.1 (up to date; next check at 2016/08/24 11:10:52)

    Service: router
   Protocol: weave 1..2
       Name: 9e:1e:28:6d:ad:e6(tifenn)
 Encryption: disabled
PeerDiscovery: enabled
    Targets: 0
Connections: 0
      Peers: 1

TrustedSubnets: none
    Service: ipam
     Status: ready
      Range: <IP_ADDRESS>/12
DefaultSubnet: <IP_ADDRESS>/12

    Service: dns
     Domain: weave.local.
   Upstream: <IP_ADDRESS>, <IP_ADDRESS>
        TTL: 1
    Entries: 0

    Service: proxy
    Address: unix:///var/run/weave/weave.sock

    Service: plugin
 DriverName: weave

This is a single configuration (for testing). I did a weave expose on node.
Execute sample Mesos execute fails with  above messages:
sudo mesos-execute --command="sleep 2" -docker_image=centos:latest --master=<IP_ADDRESS>:5050 --name=test0   --networks=weave

Docker (1.12.1) shows:
CONTAINER ID        IMAGE                        COMMAND                  CREATED             STATUS              PORTS               NAMES
6c03c57377d0        weaveworks/plugin:1.6.1      "/home/weave/plugin"     25 minutes ago      Up 25 minutes                           weaveplugin
62ae1dc3b04e        weaveworks/weaveexec:1.6.1   "/home/weave/weavepro"   25 minutes ago      Up 25 minutes                           weaveproxy
5c51ea58dbfb        weaveworks/weave:1.6.1       "/home/weave/weaver -"   25 minutes ago      Up 25 minutes                           weave

Additional info:
running a Docker container with --net=weave works fine
Routes in containers show weave network
[root@ccb1b4ebca81 /]# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
<IP_ADDRESS>         <IP_ADDRESS>      <IP_ADDRESS>         UG    0      0        0 eth1
<IP_ADDRESS>       <IP_ADDRESS>         <IP_ADDRESS>     U     0      0        0 ethwe0
<IP_ADDRESS>      <IP_ADDRESS>         <IP_ADDRESS>     U     0      0        0 eth1
<IP_ADDRESS>       <IP_ADDRESS>         <IP_ADDRESS>       U     0      0        0 ethwe0
So it is related to mesos integration.

I0824 08:31:32.568788 26520 cni.cpp:838] Unable to find DNS nameservers for container 5e284273-0a70-4d69-a35b-866335643003. Using host '/etc/resolv.conf'

What makes you think this indicates a failure?

I do not know if this is the failing error, but there is no additional log in mesos, and task remains in STAGING and never succeeds when specifying --networks=weave.
If I do not set the --networks option, task works nicely. This may be a mesos CNI bug (investigating this way too).
I followed instructions at https://www.weave.works/docs/net/latest/cni-plugin/

seems mesos related, I have same behavior with Calico, closing issue.


Will this be updated to be compatible with ChartJS 3.0?

Oh man, have I just spent the last 3 days learning a dead project? 💀


Run controller stats on ansible host instead of localhost

Fixes https://github.com/infinispan/infinispan-ansible-benchmark/issues/7

Now it prints out like
TASK [hyperfoil_controller : Print number of requests] *************************
ok: [ec2-3-12-151-146.us-east-2.compute.amazonaws.com] => (item=doGet) => {
    "msg": "doGet = 19227"
}
ok: [ec2-3-12-151-146.us-east-2.compute.amazonaws.com] => (item=doPut) => {
    "msg": "doPut = 2384"
}
ok: [ec2-3-12-151-146.us-east-2.compute.amazonaws.com] => (item=rampupGet) => {
    "msg": "rampupGet = 1030"
}
ok: [ec2-3-12-151-146.us-east-2.compute.amazonaws.com] => (item=rampupPut) => {
    "msg": "rampupPut = 490"
}


Fixed syntax error in example code.

Added missing parenthesis to overloaded For and ImplementedBy example code.

Thanks


Use GitHub Actions to update context collection

What is the problem / what does the code in this PR do
Straxen is updated frequently, but Evan has not been good about updating the context collection so that tools like admix-download work properly. This PR automates the update of the context collection so that it happens whenever there is a new straxen release. There is also a button for dispatching the workflow manually.
Can you briefly describe how it works?
Github Actions is a competitor of Travis CI, allowing for automating of a variety of tests and other tasks. Actions is nice because you can attach encrypted "secrets" to your repo that can then be accessed while the workflow is running. In our case, we include runDB information as a secret so that our job can update the context collection, while keeping the sensitive info private.
Can you give a minimal working example (or illustrate with a figure)?
No -- I have not found a way to debug these actions without just trying it. I tested it on my personal fork and it works for manual dispatch. We should test it more when we have another straxen release.
This should address #280.
Github Actions (though not this PR) may also be a solution for #277 if we moved  away from Travis, though it sounds like there might be options within Travis as well (Chris knows more).

@jorana @WenzDaniel thanks for the comments -- I can show an example of how it works tomorrow at TeamA like Daniel suggested, then maybe it will be more clear.

I'm fine with merging it now. For me there is no reason not to. @ershockley , go ahead if you like.


demonstrations: minor spelling tweaks

Well spotted @brettkoonce, thanks!

happy to help, it's a really nice set of demonstrations!


Fix combobox no label width

Closes
✅ Pull Request Checklist:

[ ] Included link to corresponding React Spectrum GitHub Issue.
[ ] Added/updated unit tests and storybook for this change (for new code or code which already has tests).
[ ] Filled out test instructions.
[ ] Updated documentation (if it already exists for this component).
[ ] Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:

🧢 Your Project:

Yep, I'll run chromatic on this after a couple others go through, specifically https://github.com/adobe/react-spectrum/pull/2176

Closing, this is the wrong approach, but making an issue to address the default width of ComboBox


agi: 3.3.0 -> 3.3.1

Description of changes
change log: https://github.com/google/agi/releases/tag/3.3.1
diff: https://github.com/google/agi/compare/v3.3.0...3.3.1
removed v from src url as upstream no longer uses this
added myself as a maintainer of agi

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 253745 run on x86_64-linux 1

1 package built:

agi


Incompatible with typescript 2.7

Bug Report

TSLint version: 5.9.1
TypeScript version: 2.7.1
Running TSLint via: CLI

I'm getting a lot of errors thrown from within tslint when using tslint with typescript 2.7.1
Here's an abbreviated list of errors with the first location in the stack trace:

TypeError: Cannot read property 'declarations' of undefined at cb (node_modules/tslint/lib/rules/oneVariablePerDeclarationRule.js:57:73)
TypeError: Cannot read property 'kind' of undefined at cb (node_modules/tslint/lib/rules/noSparseArraysRule.js:50:70)
TypeError: Cannot read property 'kind' of undefined at cb (node_modules/tslint/lib/rules/noUnusedExpressionRule.js:109:75)
TypeError: Cannot read property 'kind' of undefined at cb (node_modules/tslint/lib/rules/objectLiteralShorthandRule.js:69:27)
TypeError: Cannot read property 'kind' of undefined at cb (node_modules/tslint/lib/rules/preferConstRule.js:163:98)
TypeError: Cannot read property 'kind' of undefined at cb (node_modules/tslint/lib/rules/tripleEqualsRule.js:67:37)
TypeError: Cannot read property 'kind' of undefined at isPlusExpression (node_modules/tslint/lib/rules/preferTemplateRule.js:112:69)
TypeError: Cannot read property 'length' of undefined at cb (node_modules/tslint/lib/rules/noDuplicateVariableRule.js:79:66)
TypeError: Cannot read property 'length' of undefined at cb (node_modules/tslint/lib/rules/noSparseArraysRule.js:59:54)
TypeError: Cannot read property 'length' of undefined at Object.mapDefined (node_modules/tslint/lib/utils.js:159:55)

It seems to me like some of the typescript AST nodes no longer has properties that tslint is using.

@andy-ms any idea what is going on?

If it helps, this is no longer a problem (for me) with TypeScript version 2.7.2.
Maybe it was a bug in 2.7.1?

I am also on 2.7.2 and everything looks fine as well

Same issue
OSX: 10.13.3 (17D102)
yarn: 1.5.1,
tslint: 5.9.1,
typescript: 2.7.2

@vire Try using npm and installing tslint@latest and typescript@next. The vscode error only happened when using yarn too.

After installing latest react-scripts-ts the problem disappeared for now - I suspect their dependencies were somehow incorrect :/
Also worth to mention the issue was present also in the CLI not just vscode

I experience this with
yarn 1.5.1
tslint: 5.9.1,
typescript: 2.7.2
Downgrading to yarn 1.3.2 resolved the issue.

@smoke, can I ask you how to do to know if there are any dependency pulling<EMAIL_ADDRESS>?

@cvgavio look at package-lock.json or yarn.lock - if you see different versions of typescript installed  there will be at least 2 records.


Fix pkg_resources deprecation warning

The package pkg_resources is deprecated. This PR implements using importlib instead for getting the version number.

Note that the tests fail because Python3.7 is tested and importlib was only added in Python3.8. However, Python3.7 has reached end-of-life and won't be maintained in the future. I think that it should be a reasonable choice to drop support for Python3.7.

Thanks!


go: do not wrap with go get tools

Motivation for this change
Related: https://github.com/NixOS/nixpkgs/issues/46603
These tools are not required for buildGoPackage, while significantly affecting closure size and build time. This essentially reverts 458895db332d394bfadc05404a020ea0b4b1ee7f.
cc @fpletz @Mic92 @WilliButz @xeji
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build grafana prometheus_2

Success on aarch64-linux (full log)
Attempted: go
Partial log (click to expand)
wrong ELF type
wrong ELF type
wrong ELF type
wrong ELF type
wrong ELF type
wrong ELF type
cannot find section .dynamic
cannot find section .dynamic
cannot find section .dynamic
/nix/store/qbfg78zpj82fhcxpa7mhnw01m7pc9qn4-go-1.11

Failure on aarch64-linux (full log)
Attempted: grafana, prometheus_2
Partial log (click to expand)
github.com/grafana/grafana/vendor/github.com/prometheus/client_model/go
github.com/grafana/grafana/vendor/github.com/matttproud/golang_protobuf_extensions/pbutil
github.com/grafana/grafana/vendor/github.com/prometheus/common/expfmt
github.com/grafana/grafana/vendor/github.com/prometheus/client_golang/prometheus
github.com/grafana/grafana/pkg/models
github.com/grafana/grafana/pkg/tsdb
github.com/grafana/grafana/pkg/tsdb/testdata
github.com/grafana/grafana/scripts/build
builder for '/nix/store/qi5hw8gsz6zcxxnm7fm594gnm0nja1cm-grafana-5.2.4.drv' failed with exit code 48
error: build of '/nix/store/j9f5mwwp6scqs0jjfmgbnif4d1dm1wa3-prometheus-2.4.3.drv', '/nix/store/qi5hw8gsz6zcxxnm7fm594gnm0nja1cm-grafana-5.2.4.drv' failed

Success on x86_64-linux (full log)
Attempted: go
Partial log (click to expand)
cannot find section .dynamic
cannot find section .dynamic
cannot find section .dynamic
cannot find section .dynamic
cannot find section .dynamic
cannot find section .dynamic
cannot find section .dynamic
cannot find section .dynamic
cannot find section .dynamic
/nix/store/s506rh65m9khlr7hic0zcck19k2pabcb-go-1.11

Success on x86_64-darwin (full log)
Attempted: go
Partial log (click to expand)

ALL TESTS PASSED
---
Installed Go for darwin/amd64 in /nix/store/05pbhfmh6xpy4mgr5qsxr3w98j5n0j02-go-1.11/share/go
Installed commands in /nix/store/05pbhfmh6xpy4mgr5qsxr3w98j5n0j02-go-1.11/share/go/bin
post-installation fixup
strip is /nix/store/9xjkb4xz0b5lmizij9ppxy7lkxdxhx6b-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/05pbhfmh6xpy4mgr5qsxr3w98j5n0j02-go-1.11/bin
patching script interpreter paths in /nix/store/05pbhfmh6xpy4mgr5qsxr3w98j5n0j02-go-1.11
/nix/store/05pbhfmh6xpy4mgr5qsxr3w98j5n0j02-go-1.11

Success on x86_64-darwin (full log)
Attempted: prometheus_2
The following builds were skipped because they don't evaluate on x86_64-darwin: grafana
Partial log (click to expand)
installing
post-installation fixup
Moving /nix/store/9b8yz2qcdzqcqfz16blmsc011waapgvl-prometheus-2.4.3-bin/share/doc to /nix/store/701jbk5js3q4fscd0dm398838k0i0mpn-prometheus-2.4.3/share/doc
Removing empty /nix/store/9b8yz2qcdzqcqfz16blmsc011waapgvl-prometheus-2.4.3-bin/share/ and (possibly) its parents
strip is /nix/store/9xjkb4xz0b5lmizij9ppxy7lkxdxhx6b-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/9b8yz2qcdzqcqfz16blmsc011waapgvl-prometheus-2.4.3-bin/bin
patching script interpreter paths in /nix/store/9b8yz2qcdzqcqfz16blmsc011waapgvl-prometheus-2.4.3-bin
strip is /nix/store/9xjkb4xz0b5lmizij9ppxy7lkxdxhx6b-cctools-binutils-darwin/bin/strip
patching script interpreter paths in /nix/store/701jbk5js3q4fscd0dm398838k0i0mpn-prometheus-2.4.3
/nix/store/9b8yz2qcdzqcqfz16blmsc011waapgvl-prometheus-2.4.3-bin

I agree also not all of them are used. Most packages can be probably build with git + bazar.


Connecting to a kernel in docker fails

Description
What steps will reproduce the problem?

In a local docker container:
pip3 install spyder_kernels
python3 -m spyder_kernels.console
Copy the file out it and opening that in an outside spyder3 instance
Traceback
  File "/usr/lib/python3/dist-packages/qtconsole/base_frontend_mixin.py", line 163, in _dispatch
    handler(msg)
  File "/usr/lib/python3/dist-packages/spyder/widgets/ipythonconsole/namespacebrowser.py", line 229, in _handle_execute_reply
    self.handle_exec_method(msg)
  File "/usr/lib/python3/dist-packages/spyder/widgets/ipythonconsole/shell.py", line 373, in handle_exec_method
    view = ast.literal_eval(literal)
  File "/usr/lib/python3.7/ast.py", line 91, in literal_eval
    return _convert(node_or_string)
  File "/usr/lib/python3.7/ast.py", line 90, in _convert
    return _convert_signed_num(node)
  File "/usr/lib/python3.7/ast.py", line 63, in _convert_signed_num
    return _convert_num(node)
  File "/usr/lib/python3.7/ast.py", line 55, in _convert_num
    raise ValueError('malformed node or string: ' + repr(node))
ValueError: malformed node or string: {}
WARNING:traitlets:kernel died: 2.9995248317718506
WARNING:traitlets:kernel died: 3.002274751663208
WARNING:traitlets:kernel died: 3.0022711753845215
WARNING:traitlets:kernel died: 3.0022199153900146
WARNING:traitlets:kernel died: 3.0022828578948975
WARNING:traitlets:kernel died: 3.0023224353790283
WARNING:traitlets:kernel died: 3.000433921813965
WARNING:traitlets:kernel died: 3.0023419857025146
WARNING:traitlets:kernel died: 3.0006320476531982
WARNING:traitlets:kernel died: 3.001915454864502
WARNING:traitlets:kernel died: 2.999344825744629
WARNING:traitlets:kernel died: 3.0022130012512207
WARNING:traitlets:kernel died: 3.002183198928833
WARNING:traitlets:kernel died: 3.0004208087921143
WARNING:traitlets:kernel died: 2.9993913173675537
WARNING:traitlets:kernel died: 2.9992668628692627
WARNING:traitlets:kernel died: 2.9997854232788086
WARNING:traitlets:kernel died: 2.999863862991333
WARNING:traitlets:kernel died: 2.999458074569702
WARNING:traitlets:kernel died: 2.9993669986724854
WARNING:traitlets:kernel died: 2.9993131160736084
WARNING:traitlets:kernel died: 2.9998538494110107
WARNING:traitlets:kernel died: 3.0008490085601807
WARNING:traitlets:kernel died: 3.0019545555114746
WARNING:traitlets:kernel died: 2.999915361404419
WARNING:traitlets:kernel died: 2.999809980392456
WARNING:traitlets:kernel died: 2.9997591972351074
WARNING:traitlets:kernel died: 3.00201153755188
WARNING:traitlets:kernel died: 3.00065016746521
WARNING:traitlets:kernel died: 3.0020687580108643
WARNING:traitlets:kernel died: 3.0005557537078857
WARNING:traitlets:kernel died: 2.999824285507202
WARNING:traitlets:kernel died: 3.002122163772583
WARNING:traitlets:kernel died: 2.9993371963500977
WARNING:traitlets:kernel died: 2.9997904300689697
WARNING:traitlets:kernel died: 3.0001556873321533
WARNING:traitlets:kernel died: 3.0020999908447266
WARNING:traitlets:kernel died: 2.9998538494110107
WARNING:traitlets:kernel died: 2.9998552799224854
WARNING:traitlets:kernel died: 2.9998035430908203
WARNING:traitlets:kernel died: 2.999767303466797
WARNING:traitlets:kernel died: 2.9992988109588623
WARNING:traitlets:kernel died: 2.999753475189209
WARNING:traitlets:kernel died: 2.999852418899536
WARNING:traitlets:kernel died: 2.9996118545532227
WARNING:traitlets:kernel died: 2.9996743202209473
WARNING:traitlets:kernel died: 3.0020692348480225
WARNING:traitlets:kernel died: 2.999359130859375
WARNING:traitlets:kernel died: 2.9996085166931152
WARNING:traitlets:kernel died: 3.0021636486053467
WARNING:traitlets:kernel died: 3.000171422958374
WARNING:traitlets:kernel died: 3.001608371734619
WARNING:traitlets:kernel died: 2.9995241165161133
WARNING:traitlets:kernel died: 3.0023422241210938
WARNING:traitlets:kernel died: 2.9995274543762207
WARNING:traitlets:kernel died: 2.9997382164001465
WARNING:traitlets:kernel died: 2.999446392059326
WARNING:traitlets:kernel died: 3.0016698837280273
WARNING:traitlets:kernel died: 3.0017173290252686
WARNING:traitlets:kernel died: 2.9995362758636475
WARNING:traitlets:kernel died: 3.000593900680542
WARNING:traitlets:kernel died: 3.0021746158599854
WARNING:traitlets:kernel died: 2.9999403953552246
WARNING:traitlets:kernel died: 3.000955581665039
WARNING:traitlets:kernel died: 3.0012669563293457
WARNING:traitlets:kernel died: 3.001832962036133

Versions

Spyder version: 3.3.6
Python version: 3.7.4+
Qt version: 5.12.4
PyQt5 version: 5.12.3
Operating System: Linux 5.3.0-13-generic

Dependencies
pyflakes >=0.6.0  :  2.1.1 (OK)
pycodestyle >=2.3 :  2.5.0 (OK)
pygments >=2.0    :  2.3.1 (OK)
sphinx >=0.6.6    :  1.8.5 (OK)
rope >=0.9.4      :  0.14.0 (OK)
jedi >=0.9.0      :  0.14.1 (OK)
psutil >=0.3      :  5.5.1 (OK)
nbconvert >=4.0   :  5.4.0 (OK)
pandas >=0.13.1   :  0.25.0 (OK)
numpy >=1.7       :  1.16.2 (OK)
sympy >=0.7.3     :  None (NOK)
cython >=0.21     :  None (NOK)
qtconsole >=4.2.0 :  4.3.1 (OK)
IPython >=4.0     :  5.8.0 (OK)
matplotlib >=2.0.0:  None (NOK)
pylint >=0.25     :  2.3.1 (OK)

The JSON has this line:
"kernel_name": ""
When I add something to it, I can connect to the kernel with spyder, however around every seconds an enter is sent to the console:

pip3 install spyder_kernels

This is wrong, it needs to be:
pip install spyder-kernels==0.5.2

@bra-fsn I met the problem of "every seconds an enter". Did you solve it?


Define open source in opening paragraph :)

Just a brief definition with specific examples.  (And possible, what it is not.)

Any interest in taking a pass at it?

Sure.  Tonight.  Am a rank beginner, but maybe that's good.

Bingo :wink:


Problem installing mySIMBL in Sierra

Hi there, I'm on a Macbook Pro running Sierra (10.12.4) Sorry for a newbie question, but I'm having a lot of trouble getting mySIMBL to work — to create colored icons for sidebar items. I had SIMBL in my previous OS and it worked fine.
Here's what's confusing me: I downloaded the latest release, opened mySIMBL and moved it to Applications. I have installed SIMBL after disabling integrity protection. I was not sure which items to put into which exact SIMBL Plugins folder, so I took the entire contents (folders and items) from "mySIMBL-master" and put it into the Library/Application Support/SIMBL/Plugins folder. I still cannot change the sidebar icons, even after a restart. I've spend over 90 minutes on this and am really out of ideas. Any suggestions most appreciated.
— Dave

I was not sure which items to put into which exact SIMBL Plugins folder, so I took the entire contents (folders and items) from "mySIMBL-master" and put it into the Library/Application Support/SIMBL/Plugins folder.

You just need to open mySIMBL and install colorfulSidebar9
In mySIMBL it's located at: Discover > Wolf's Plugins > colorfulSidebar9 > Install
Hope that helps.

Thank you!
On Sun, Apr 23, 2017 at 2:30 PM, Wolfgang Baird<EMAIL_ADDRESS>wrote:

I was not sure which items to put into which exact SIMBL Plugins folder,
so I took the entire contents (folders and items) from "mySIMBL-master" and
put it into the Library/Application Support/SIMBL/Plugins folder.
You just need to open mySIMBL and install colorfulSidebar9
In mySIMBL it's located at: Discover > Wolf's Plugins > colorfulSidebar9

Install

Hope that helps.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/w0lfschild/mySIMBL/issues/40#issuecomment-296486427,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZ5Hd86SOAXoDT9taa5cvAD1_ILmmLqBks5ry7TzgaJpZM4M4FGr
.

--
Dr. David Hildebrand, Associate Professor and Chair
CU Denver Dept. of Philosophy, CB 179/PO Box 173364, Denver, CO 80217-3364
Office: Plaza 108; (t)<PHONE_NUMBER>  (web)  www.davidhildebrand.org

apologies for thread resurrection, using this on 10.13.6 - dock and menu bar dark but NC is not
is there a way to fix? also, can dark mode be activated for other windows eg safari and other apps?


refactor: moved modules/loss dir into modules/rlhf/loss and updated references

Context
What is the purpose of this PR? Is it to

[ ] add a new feature
[ ] fix a bug
[x] update tests and/or documentation
[ ] other (please add here)

Addresses issue #1299
Changelog
Moved loss directory to rlhf and updated documentation as well as the recipes, configs and tests that imported the loss.
Test plan

[ ] run pre-commit hooks and linters (make sure you've first installed via pre-commit install)
[ ] add unit tests for any new functionality
[ ] update docstrings for any new or updated methods or classes
[ ] run unit tests via pytest tests
[ ] run recipe tests via pytest tests -m integration_test
[ ] manually run any new or modified recipes with sufficient proof of correctness
[ ] include relevant commands and any other artifacts in this summary (pastes of loss curves, eval results, etc.)

This looks great, thanks @ChinoUkaegbu!
Couple things:

Can you sign the CLA?
Can you actually move the tests/modules/loss to tests/modules/rlhf/loss as well?

Just signed the CLA! I believe it'll take around an hour to reflect
Sure, I'll create another branch and push that along with the reviews added.

Codecov Report
Attention: Patch coverage is 50.00000% with 2 lines in your changes missing coverage. Please review.

Project coverage is 70.79%. Comparing base (3955b33) to head (1344339).
Report is 2 commits behind head on main.

Files
Patch %
Lines

recipes/lora_dpo_distributed.py
0.00%
1 Missing :warning:

recipes/lora_dpo_single_device.py
0.00%
1 Missing :warning:

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1310       +/-   ##
===========================================
+ Coverage   27.10%   70.79%   +43.69%
===========================================
  Files         258      258
  Lines       11904    11972       +68
===========================================
+ Hits         3227     8476     +5249
+ Misses       8677     3496     -5181

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Just incorporated the changes from pre-commit. I'm working on a Windows system which I suspect is why pre-commit was so tedious to setup (I tried installing on WSL and it worked smoothly but when I tried to commit, it reformatted all the files which was weird). Nevertheless, everything should be linted now and once all the checks are complete I'll make an additional commit to move the Loss section to under the RLHF section in the docs :)


How to use onSelect

I did it: (onSelect)="onSelect(tag)" and (onSelect)="onSelect()", Although onSelect is being called, the item/tag always comes undefined.

I mixed up,.. sorry. onSelect should be set like: (onSelect)="onSelect($event)"
Thanks!


Adding SelectionSort.js

Have you read the Contributing Guidelines on Pull Requests?
Yes
(Write your answer here.)
Description
Adding selectionSort.js
(Write your answer here.)
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
issue #2505
(Write your answer here.)

Don't push more than one code file in a single PR. Thanks!


Support for optional internal padding for SegmentationDataset

I think it would be nice to support optional internal padding (I roughly remember that ImageCollectionDataset has this feature), where if the user desires use SegmentationDataset and wishes to have a patch shape of (1, 512, 512) let's say, and if the sample has an available shape of (1, 436, 456) for example, then this does zero padding around the remaining region to return the desired patch shape.

This is now fixed at https://github.com/constantinpape/torch-em/pull/330. I'll go ahead and close this!


Fix MMWR import for new BSVE data scheme

@mgrauer This should fix the issue we encountered today.

This is quick! Nice @jbeezley

I'll QA now.  Looks like there was a pep8 failure.  I can fix unless you have already done so @jbeezley ?

Have at it.  My concentration moved on to other things.

LGTM.  Thanks for the fix.  Merging.


Toggle In Library/Favorite for a track doesn't update UI until reload of page

What version of Music Assistant has the issue?
2022.8.0
The problem
When liking an individual track, the UI doesn't indicate the change of heart solid -> empty or empty -> solid when clicked. Reloading the page/navigate away and back show the change in status.
How to reproduce
Goto any album, click the heart next to an individual track and see no UI change.
Relevant log output
n/a
Additional information
No response
What version of Home Assistant Core are your running
2022.8.0
What type of installation are you running?
Home Assistant OS
On what type of hardware are you running?
Raspberry Pi

Same situation with albums and artists. As I think Marcel fixed this a while ago I will mark it as a bug.

Fixed in 2022.8.1


pygetpapers without options causes traceback

Issuingpygetpapers gives the following:
pygetpapers
INFO: */submitting RESTful query (I)*/
INFO: */RESTful request for fulltext.xml (D)*/
INFO: */Got the Query Result */
INFO: Time elapsed: 0.16755104064941406
Traceback (most recent call last):
  File "/opt/anaconda3/bin/pygetpapers", line 8, in <module>
    sys.exit(main())
  File "/opt/anaconda3/lib/python3.8/site-packages/pygetpapers/pygetpapers.py", line 504, in main
    callpygetpapers.handlecli()
  File "/opt/anaconda3/lib/python3.8/site-packages/pygetpapers/pygetpapers.py", line 491, in handlecli
    self.apipaperdownload(args.query, args.limit,
  File "/opt/anaconda3/lib/python3.8/site-packages/pygetpapers/pygetpapers.py", line 370, in apipaperdownload
    query_result = self.europepmc(query, size)
  File "/opt/anaconda3/lib/python3.8/site-packages/pygetpapers/pygetpapers.py", line 128, in europepmc
    if "nextCursorMark" in builtquery["responseWrapper"]:
KeyError: 'responseWrapper'

Recommendation:
This should call
pygetpapers --help

and should NOT attempt to submit a query

Fixed in version 1.0.2


Incorrect function type signature for ParameterDecorator

TypeScript Version:  3.7.0-dev.20190905

Search Terms: ParameterDecorator propertyKey
Code
The type ParameterDecorator is defined as follows in src/lib/es5.d.ts:
https://github.com/microsoft/TypeScript/blob/72bb4c2bdcb0cb245c397cd9a8f1f0d1158c6a5d/src/lib/es5.d.ts#L1362
However, at runtime, constructor parameter decorators are invoked with propertyKey set to undefined.
Consider the following code:
function inject() {
  return function i(target: Object,
    propertyKey: string | symbol,
    parameterIndex: number
  ): void {
    console.log('propertyKey', typeof propertyKey);
  }
}

class FooBar {
  constructor(
    @inject()
    public name: string
  ) {}
}

Compile it with experimentalDecorators enabled in tsconfig.json.
Expected behavior:
Either:

The code does not compile, because the decorator function must accept string | symbol | undefined in the propertyKey argument
Or the program prints propertyKey string or propertyKey symbol at runtime

Actual behavior:

The code compiles
The programs prints undefined at runtime

Playground Link:
http://www.typescriptlang.org/play/index.html?experimentalDecorators=true#code/GYVwdgxgLglg9mABDMArAptAFASkQbwChFEAndKEUpUSWBZLKAQ1IHMKAuRAeQCMM0ADTESiAA6k449KSgBPANLp53AM5RSKNogA+iNfIC2fOABsRYia2ZGKsgJJgAJugAe3MCBOzRObgBucDDOBKIkEAhq5ugAdGZwbFgA5JLSsgrK8slCiAoycMASUjJySio4ANyiAL6EdYQQZsxqaogAYnBwAEKsYRFRmiDQcKRY4YgAAiiCULgT4iB8ZjAQiGC26Oqa2n4EdXVAA
Related Issues:

https://github.com/microsoft/TypeScript/pull/2635
https://github.com/microsoft/TypeScript/issues/20931
https://github.com/microsoft/TypeScript/issues/8126

I find the current behavior problematic because the type definition for ParameterDecorator are not matching the actual runtime behavior.
I'd like to propose two different solutions for your consideration:

Change the ParameterDecorator type - add undefined to allowed propertyKey values.
declare type ParameterDecorator = (target: Object, propertyKey: string | symbol | undefined, parameterIndex: number) => void;

Modify the runtime to set propertyKey to an empty string '' instead of undefined when calling parameter decorators for constructor arguments.

Personally, I prefer the first one. I'd rather have my existing codebase to fail the compilation rather than discover a subtle change in TS runtime in production.

This was fixed back in TS 5.0 and is mentioned in the blog: https://devblogs.microsoft.com/typescript/announcing-typescript-5-0/#more-accurate-type-checking-for-parameter-decorators-in-constructors-under-experimentaldecorators


Fix not aligned tooltip in ESP and use only 3 decimals

The tooltip had some unaligned values on the Pathways tooltip. Also, 3 decimal numbers instead of 4 were requested.
This is based in My CW branch as we didn't have this problem in develop.

Javi can you check the latest commits and merge if it all looks good? Thanks!


Individual particle energy

Hello folks! First of all, I am new in the use of jax-md. So, I as for your comphreension if my question is silly:
Is it possible to extract/obtain a single particle energy contribution to system total energy during a simulation?

Hey! Great question. It was always possible, but because no one had asked we hadn't exposed the functionality. Just pushed a change that makes it possible via the per_particle keyword argument.
For example,
energy_fn = energy.soft_sphere_pair(displacement)
print(energy_fn(R))  # Prints a scalar.

pp_energy_fn = energy.soft_sphere_pair(displacement, per_particle=True)
print(pp_energy_fn(R))  # Prints a vector of shape [N,]

One case that is not yet implemented is if you have a multispecies system where the species are specified upfront. I'll hopefully get to adding this case soon but in the meantime, you should specify the species dynamically. For example,
pp_energy_fn = energy.soft_sphere_pair(displacement, species=species, sigma=sigma, per_particle=True)
print(pp_energy_fn(R))  # Throws an error.

from jax_md.quantity import Dynamic
pp_energy_fn = energy.soft_sphere_pair(displacement, species=Dynamic, sigma=sigma, per_particle=True)
print(pp_energy_fn(R, species=species))  # Works and prints a vector.

Let me know how it works or if you have any questions!

Dear sschoeholz, thank you for the beautiful answer. I will try it and let you know. Cheers!

Dear sschoeholz, I am implementind an EAM explicit potential using jax-md and seems that, until now, all is working fine. The per_particle functionality is very nice and important for my project. As soon as my md approach is working properly I will post here and, maybe, could be an example to others colleagues.

Hey @SoDantas8452 somehow I missed this reply but that sounds awesome! If you were interested, we would also be happy to work with you to commit your EAM potential into jax md properly?

Dear @sschoenholz I wrote a naive code (somehow zero version of the whole code). Could you take a look to help me with it? Maybe I could send to your e-mail a jupyter notebook code. Thanks!

Hi @SoDantas8452 thanks for your reply again, for some reason I keep missing these. I would love to work iwth you to improve our eam implementation. Definitely send me a jupyter notebook and let's iterate! The best place to reach me is<EMAIL_ADDRESS>


abseil-cpp: use multiple outputs

Description of changes
Use multiple outputs for headers and libs on abseil-cpp
Small change with big rebuilds. Sorry about that.

Things done

Built on platform(s)

[x] x86_64-linux
[x] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

This seems be a worthwhile change:
> du -d 2 (nix build --print-out-paths .#abseil-cpp) | column -t
4,411,392  /nix/store/cr5gla9i6bkfpj20na3m2vfaswp5bf2r-abseil-cpp-20230125.3/include/absl
4,411,392  /nix/store/cr5gla9i6bkfpj20na3m2vfaswp5bf2r-abseil-cpp-20230125.3/include
143,360    /nix/store/cr5gla9i6bkfpj20na3m2vfaswp5bf2r-abseil-cpp-20230125.3/lib/cmake
733,184    /nix/store/cr5gla9i6bkfpj20na3m2vfaswp5bf2r-abseil-cpp-20230125.3/lib/pkgconfig
4,321,280  /nix/store/cr5gla9i6bkfpj20na3m2vfaswp5bf2r-abseil-cpp-20230125.3/lib
8,732,672  /nix/store/cr5gla9i6bkfpj20na3m2vfaswp5bf2r-abseil-cpp-20230125.3

Can you update it to include 202301 and 202308?

Also, this should target staging.

This seems be a worthwhile change:
> du -d 2 (nix build --print-out-paths .#abseil-cpp) | column -t
4,411,392  /nix/store/cr5gla9i6bkfpj20na3m2vfaswp5bf2r-abseil-cpp-20230125.3/include/absl
4,411,392  /nix/store/cr5gla9i6bkfpj20na3m2vfaswp5bf2r-abseil-cpp-20230125.3/include
143,360    /nix/store/cr5gla9i6bkfpj20na3m2vfaswp5bf2r-abseil-cpp-20230125.3/lib/cmake
733,184    /nix/store/cr5gla9i6bkfpj20na3m2vfaswp5bf2r-abseil-cpp-20230125.3/lib/pkgconfig
4,321,280  /nix/store/cr5gla9i6bkfpj20na3m2vfaswp5bf2r-abseil-cpp-20230125.3/lib
8,732,672  /nix/store/cr5gla9i6bkfpj20na3m2vfaswp5bf2r-abseil-cpp-20230125.3

Can you update it to include 202301 and 202308?

Update it to include what now?

This seems be a worthwhile change:
> du -d 2 (nix build --print-out-paths .#abseil-cpp) | column -t
4,411,392  /nix/store/cr5gla9i6bkfpj20na3m2vfaswp5bf2r-abseil-cpp-20230125.3/include/absl
4,411,392  /nix/store/cr5gla9i6bkfpj20na3m2vfaswp5bf2r-abseil-cpp-20230125.3/include
143,360    /nix/store/cr5gla9i6bkfpj20na3m2vfaswp5bf2r-abseil-cpp-20230125.3/lib/cmake
733,184    /nix/store/cr5gla9i6bkfpj20na3m2vfaswp5bf2r-abseil-cpp-20230125.3/lib/pkgconfig
4,321,280  /nix/store/cr5gla9i6bkfpj20na3m2vfaswp5bf2r-abseil-cpp-20230125.3/lib
8,732,672  /nix/store/cr5gla9i6bkfpj20na3m2vfaswp5bf2r-abseil-cpp-20230125.3

Can you update it to include 202301 and 202308?

I only see 202103, 202111, and 202206. Where are the files for those releases?

Maybe you need to git fetch newer developments from this repo?
I have them:
ls pkgs/development/libraries/abseil-cpp/                                                                                nixpkgs#ansifilter
202103.nix  202111.nix  202206.nix  202301.nix  202308.nix  cmake-full-dirs.patch

I'm locking and closing this pull request, because through the rebase you inadvertently requested many maintainers for review, which subscribed them to update notifications, resulting in unnecessary spam inside everyone's inbox. While we can remove their review requests, we sadly cannot unsubscribe anyone.
Please create a new pull request and for the next time remember to set your PR to draft status before rebasing. In draft status, you can preview the list of maintainers that are about to be requested for review, which allows you to sidestep this issue.


This app looks great but not sure how to use

I think I have it setup right but pretty sure I'm also doing something wrong.
Here is my console:

Here is how I have the app setup:

Any help would be greatly apreciated!

hi @tomdevlive
1:
unless you're using it together with WebRTCPortal, the WebRTC Portal URL fields should be empty.
2:
open browser and go to: http//localhost:3900
Here you should see the link page.
OR
use the REST API (see README.md) to get the links.
Hope that will help you :)