what is going on?

Why?

What themes and packages do you have installed?
Run apm ls -i and copy the output.

What CSS font-family is being applied to the icons?
Open the devtools and inspect the broken icon.You should see something like this in the bottom-right corner:

Does your user stylesheet have any rules that might be affecting the icon?
If so, open your stylesheet and copy+paste the relevant CSS.

My is Windows 7 system.

That tells us nothing.
Okay, open up your devtools, and enter this in the console.
copy(Object.keys(atom.packages.activePackages).sort().join("\n"))

Paste the output here.

I can only run the NPM.
Is that right.

Is that right?

No. In Atom.

Press Ctrl+Alt-+i
Click "Console" in the top-right corner
Run copy(Object.keys(atom.packages.activePackages).sort().join("\n"))
What does it say?

Click Where?

"about
activate-power-mode
archive-view
atom-beautify
autocomplete-atom-api
autocomplete-css
autocomplete-html
autocomplete-plus
autocomplete-snippets
autosave
background-tips
bookmarks
bracket-matcher
colorful-cursor
deprecation-cop
dev-live-reload
encoding-selector
exception-reporting
fonts
fuzzy-finder
git-diff
glowing-cursor
grammar-selector
grammar-tab-colors
image-view
incompatible-packages
keybinding-resolver
language-c
language-clojure
language-coffee-script
language-csharp
language-css
language-gfm
language-git
language-go
language-html
language-hyperlink
language-java
language-javascript
language-json
language-less
language-make
language-mustache
language-objective-c
language-perl
language-php
language-property-list
language-python
language-ruby
language-ruby-on-rails
language-sass
language-shellscript
language-source
language-sql
language-text
language-todo
language-toml
language-xml
language-yaml
line-ending-selector
markdown-preview
metrics
minimap
minimap-autohide
neon-selection
notifications
one-dark-ui
one-light-syntax
seti-icons
settings-view
simplified-chinese-menu
snippets
spell-check
status-bar
styleguide
tabs
timecop
tree-view
update-package-dependencies
welcome
whitespace
wrap-guide"

I found it.

You haven't installed this package.
To install this package:

Open Atom's Settings
Click on + Install at the bottom
Search for File Icons and click "Install"

If you download this package as a ZIP folder, it will NOT work. The package must be installed through the control panel.
Also, you have seti-icons installed. This conflicts with file-icons, there is no need for both.
Also, you are trying to install

Wait a minute

I only have a right now.

No use,

This is frustrating. 👍

If you have seti-icons installed, uninstall it
If you have seti-ui theme enabled, disable its Custom Icons setting:

Otherwise, I can't be of help beyond this. I can sense there's a language barrier here.

I'm sorry, my English is not good

It's better than my Cantonese.

I don't have that theme.

I don't have to install this

You can try disabling fonts and see if that makes a difference.
Otherwise, I don't know.

In fact, I quite like to talk with foreigners

Disable this?

Yes. Otherwise, the only other thing I can think of is that the simplified-chinese-menu package is hiding the file icons.
Sorry.

No, this is localization of ATOM plug-in for Chinese

The plug-in can be translated into Chinese

I found that you are interesting.

I noticed that myself a long time ago.

And then?

I want to see what's it like in your hometown.

Alright, enough now. Every time a comment is posted, 11 people get e-mail notifications.


Adding theme binding

Hi,
Can you please add option to set the theme of the editor?
Prismjs gives builtin themes as shown in their site,
can you add something like :theme="themes option" so that theme change is supported?
Thanks in advance

Hi!
It's themable already. You can just import the theme you want. And it'll work.

@koca I think he means the ability to switch themes on-the-fly.

Indeed.
In my example, :theme="themesOptions" is a prop given dynamically to the component.
If you go to prismjs site, there's a select button that toggles all their themes, and changes style to what you choose.

Not sure it can be easily implemented. Switching theme on prismjs site looks like a hack
https://github.com/PrismJS/prism/issues/643#issuecomment-123845033
Code from site:
setTheme = function (id) {
	var link = $$('link[href^="themes/prism"]')[0];

	link.href = themes.meta.path.replace(/\{id}/g, id);
	localStorage.setItem('theme', id);
};

We don't support theming since you can use any highlighter you want. But you can do it yourself :).
Released new version v1 🎉


RoadMap dos Papéis

Pode ajudá-los:
https://github.com/fga-eps-mds/A-Disciplina/blob/master/Devops/roadmap-devops.md


Notification of breaking api change with v1.92 release of VS Code

Hello from the VS Code team 👋
In our next release v1.92, we will update to Electron 30 which includes Node.js 20.14.0. This Node version contains a breaking change, in response to a CVE, which may affect you if you execute .bat or .cmd files on Windows. Based on a simple scan of your extension's source code, you may be impacted by this change. The stable VS Code that contains this update will be released in early August.
Action: please try out your extension on this month's VS Code Insiders on Windows. If you are affected by this change, you will encounter an EINVAL error when you try to spawn a bat/cmd file.
Node.js has added a section on batch file spawning to their documentation. To fix any issues:

Find locations where you call child_process.spawn to execute a batch file on Windows
Add shell: true or shell: process.platform === 'win32' to the options object
If the batch script path may contain spaces, you will also need to wrap the path in quotation marks.

Please let us know if you run into issues or if you need clarification.
Happy coding!

@deepak1556 thanks for the notification.
Here's the only code I'm finding using child_process
https://github.com/mtxr/vscode-sqltools/blob/9e2734f9e33e6cb00d0d34b16cd2d0779e435dc9/packages/language-server/src/server.ts#L128-L146
Tested with:
Version: 1.92.0-insider
Commit: 4d17e85cfd911fb6b116e08a4d7c37cd725a966a
Date: 2024-07-26T13:12:28.318Z
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Code-Insiders/1.92.0-insider Chrome/124.0.6367.243 Electron/30.1.2 Safari/537.36

Relevant log output when on the path that calls spawnSync:
[1722252425578] INFO  (ls): SQLTools Server started!
===============================
Using node runtime?: yes
ExecPath: C:\Program Files\nodejs\node.exe v20.16.0
===============================

And when on the other path:
[1722252506025] INFO  (ls): SQLTools Server started!
===============================
Using node runtime?: no
ExecPath: C:\Users\JohnM\AppData\Local\Programs\Microsoft VS Code Insiders\Code - Insiders.exe
===============================

So it seems we're unaffected, but I'll keep an eye out for issues from our users as they start using 1.92+
Thanks again.


Update spec for epoch

Closes: #XXX
Description

For contributor use:

[ ] Targeted PR against correct branch (see CONTRIBUTING.md)
[ ] Updated relevant documentation (docs/) or specification (x/<module>/spec/)
[ ] Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
[ ] Re-reviewed Files changed in the Github PR explorer

Codecov Report

Merging #943 (da26bac) into main (aae0a4e) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #943      +/-   ##
==========================================
- Coverage   20.65%   20.63%   -0.02%
==========================================
  Files         193      193
  Lines       25055    25048       -7
==========================================
- Hits         5174     5169       -5
+ Misses      18939    18938       -1
+ Partials      942      941       -1

Impacted Files
Coverage Δ

x/lockup/keeper/iterator.go
82.50% <100.00%> (ø)

x/lockup/keeper/lock.go
54.62% <100.00%> (-0.40%)
:arrow_down:

x/lockup/keeper/lock_refs.go
40.74% <100.00%> (+2.27%)
:arrow_up:

x/lockup/keeper/synthetic_lock.go
67.61% <100.00%> (+0.05%)
:arrow_up:

Continue to review full report at Codecov.

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


ARROW-16848: [C++][Java] Update ORC to 1.7.5

This PR aims to upgrade ORC to version 1.7.5.
Apache ORC 1.7.5 is the most recent maintenance release with the following bug fixes.

https://github.com/apache/orc/releases/tag/v1.7.5
https://orc.apache.org/news/2022/06/16/ORC-1.7.5/

It seems that we need to wait for Apache Download and Apache Archive is synced with Apache Dist website. According to the failure log, the release artifact is not synced yet.

Apache sites are recovered. Could you rebase this PR once more, @williamhyun ?

@github-actions crossbow submit -g cpp


Beatsaver requests causing twitch bans

I know this isn't directly, or solely, an issue with BeatSaberPlus, but someone has been going around and requesting a map which has something along the lines of "I am 9 years old" as a title, causing the request system to type the song name in chat, which is then reported by said person, causing bans.
It's very much a problem and might be able to fixed by adding some sort of filter to not put out text like that in chat, at least not automatically.
Preferably that filter should be enabled by default since otherwise it could affect to people who didn't know about the issue in the first place.
Thanks for your time!

Addressed in the last release, SafeMode is enabled by default


[QA] Butterfly Prawn Farming Game scene missing at (96, -132)

Explorer Alpha build versions:

v0.13.0

Issue Description:
The Butterfly Prawn Farming Game scene is missing at coordinates (96, -132).
STR:

Launch the explorer
/goto 96,-132
Confirm if the Butterfly Prawn Farming Game scene is present.

Expected behavior:
https://github.com/user-attachments/assets/b20d4fb6-854b-488a-b4d4-4b4b1c29486b
Current behavior:

Additional Notes:
Windows 11. 12th Gen Intel(R) Core(TM) i7-12650H 2.30 GHz. nvidia geforce RTX

AB issue, should be rechecked


Embedding it on CSS

Hi there! I am not sure this question relates to the project directly, but I wonder if someone will have an answer. Right now I am using:
a[href^="http://"]:not([href*="example.com"]):after {
content: " " url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAALCAYAAABLcGxfAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHVJREFUeNqUj9ENwCAIRMX4rxt0Dfb/0TW6gU5AMZGWGrTpS4wYOe4AInJCKeV52CTQgh08rPJ1hM1n1JOlgJzzywIRwRB2wSkOrRfc2KwIo/FmFYnEiWu3FejmETFpoZ8F8w584mckC3Hy7ifiUOflVlwCDAD7aDdkNyNkZQAAAABJRU5ErkJggg==);
}
a[href^="https://"]:not([href*="example.com"]):after {
content: " " url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAALCAYAAABLcGxfAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHVJREFUeNqUj9ENwCAIRMX4rxt0Dfb/0TW6gU5AMZGWGrTpS4wYOe4AInJCKeV52CTQgh08rPJ1hM1n1JOlgJzzywIRwRB2wSkOrRfc2KwIo/FmFYnEiWu3FejmETFpoZ8F8w584mckC3Hy7ifiUOflVlwCDAD7aDdkNyNkZQAAAABJRU5ErkJggg==);
}

To add a PNG on external URLs. How could I go to replace the PNG with a bytesize icon? I have tried:
(data:image/svg+xml;utf8,<svg id="i-external" viewBox="0 0 32 32" width="32" height="32" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke width="6.25%"><path d="M14 9 L3 9 3 29 23 29 23 18 M18 4 L28 4 28 14 M28 4 L14 18" /></svg>);

Using many combinations (replacing " with ', escaping them, \", \') on the <svg> to no avail.
Update:
I tried using one of the icons in an image tag, and it shows broken. I used:
<img src='data:image/svg+xml;utf8,<svg class="i-external" viewBox="0 0 32 32" width=“24" height="24" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin=“round" stroke-width="6.25%"><path d="M14 9 L3 9 3 29 23 29 23 18 M18 4 L28 4 28 14 M28 4 L14 18” /></svg>'>

Yet, trying with other SVGs work:
<img src='data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 100 100" enable-background="new 0 0 100 100" xml:space="preserve" height="100px" width="100px"><g><path d="M28.1,36.6c4.6,1.9,12.2,1.6,20.9,1.1c8.9-0.4,19-0.9,28.9,0.9c6.3,1.2,11.9,3.1,16.8,6c-1.5-12.2-7.9-23.7-18.6-31.3 c-4.9-0.2-9.9,0.3-14.8,1.4C47.8,17.9,36.2,25.6,28.1,36.6z"/><path d="M70.3,9.8C57.5,3.4,42.8,3.6,30.5,9.5c-3,6-8.4,19.6-5.3,24.9c8.6-11.7,20.9-19.8,35.2-23.1C63.7,10.5,67,10,70.3,9.8z"/><path d="M16.5,51.3c0.6-1.7,1.2-3.4,2-5.1c-3.8-3.4-7.5-7-11-10.8c-2.1,6.1-2.8,12.5-2.3,18.7C9.6,51.1,13.4,50.2,16.5,51.3z"/><path d="M9,31.6c3.5,3.9,7.2,7.6,11.1,11.1c0.8-1.6,1.7-3.1,2.6-4.6c0.1-0.2,0.3-0.4,0.4-0.6c-2.9-3.3-3.1-9.2-0.6-17.6   c0.8-2.7,1.8-5.3,2.7-7.4c-5.2,3.4-9.8,8-13.3,13.7C10.8,27.9,9.8,29.7,9,31.6z"/><path d="M15.4,54.7c-2.6-1-6.1,0.7-9.7,3.4c1.2,6.6,3.9,13,8,18.5C13,69.3,13.5,61.8,15.4,54.7z"/><path d="M39.8,57.6C54.3,66.7,70,73,86.5,76.4c0.6-0.8,1.1-1.6,1.7-2.5c4.8-7.7,7-16.3,6.8-24.8c-13.8-9.3-31.3-8.4-45.8-7.7   c-9.5,0.5-17.8,0.9-23.2-1.7c-0.1,0.1-0.2,0.3-0.3,0.4c-1,1.7-2,3.4-2.9,5.1C28.2,49.7,33.8,53.9,39.8,57.6z"/><path d="M26.2,88.2c3.3,2,6.7,3.6,10.2,4.7c-3.5-6.2-6.3-12.6-8.8-18.5c-3.1-7.2-5.8-13.5-9-17.2c-1.9,8-2,16.4-0.3,24.7   C20.6,84.2,23.2,86.3,26.2,88.2z"/><path d="M30.9,73c2.9,6.8,6.1,14.4,10.5,21.2c15.6,3,32-2.3,42.6-14.6C67.7,76,52.2,69.6,37.9,60.7C32,57,26.5,53,21.3,48.6   c-0.6,1.5-1.2,3-1.7,4.6C24.1,57.1,27.3,64.5,30.9,73z"/></g></svg>'>

OK, I found a way to do it. The trick is to use xmlns="http://www.w3.org/2000/svg”, and I also base64 encode it. That works. Now I have run into another issue, which I believe it can’t be fixed. IT seems stroke=“currentcolor” will not work, the icon will be rendered black. Does anyone knows a way so that the icon will inherit the colour?

Since you are rendering the SVG as an image you won't be able to manipulate fills or stroke from DOM.

Hi ! I am new to html, css and others, and I am sorry if my question is not appropriate.
I search a lot to fine hoe could I load the SVG icons in to a CSS file and then use it in a project or a php file. I don't want to have the SVG tag inside my php or html tags.
Before I use glyphicon with bootstrap, inside a span tag. Can I load it in a span/id or class and the source should be out side of the file:

Thank you!

@saboorazizi You can load the entire SVG library once (even as n external file for cache advantages), and use the  tag to show the icons you want. Demo:
https://cdn.rawgit.com/danklammer/bytesize-icons/master/examples/bytesize-symbols.html
<use xlink:href="/icons/bytesize-icons.svg#i-search" />
Note: This doesn't work for IE, so you'd you need to use a polyfill like SVG4Everybody:
https://github.com/jonathantneal/svg4everybody


Add another span to illustrate usage

screen shot? looks good though!

@adriancole I see, changed it like you said

thx!

Awesome!


Missing error for type variable conflicting with a member name

class A<T> {
  set T(x) {}
}

scheglov@scheglov-macbookpro4:~/Source/Dart/sdk.git/sdk (master)$ pkg/front_end/tool/fasta compile --strong /Users/scheglov/dart/test/bin/test.dart
Note: strong mode support is preliminary and may not work.

The specification requires the error, see 10 Classes:

This no longer seem to be a problem. The example now gives:
t.dart:2:7: Error: Conflicts with type variable 'T'.
  set T(x) {}
      ^
t.dart:1:9: Context: This is the type variable.
class A<T> {
        ^

This is also tested by language_2/type_variable_conflict_test which passes. For some reason though, I cannot find that it should have ever failed :/

Update: Fixed by 5780deb18ae0785a96a50039f04a7099551dfc9b
And also the issue closed by that commit (#33827) was really a duplicate of this one.

Update #2: Actually, the test I mentined earler doesn't test the set case. I'll add that to the test.

The setter case is new, because its name is T= rather than T. The current text is a bit stronger (still section 10 Classes in dartLangSpec.tex) and uses basename (which strips off the = from setter names):
If a generic class named $G$ declares a type variable named $X$,
it is a compile-time error if $X$ is equal to $G$,
if $G$ has a member whose basename is $X$,
and if $G$ has a constructor named \code{$G$.$X$}.

Also, it fixes a glitch: Having the same name as a constructor was impossible (because a constructor name is either the name of the class, which is already a conflict, or of the form C.id, and it's id that can't be the name of a type variable).
But it looks like the actual checks follow the new rules, so we should be OK! ;-)


Specify Windows Auth credentials when workstation on a different domain than client

Can't log in from workstation on different domain than server - SQL Operations Studio Version: 0.23.6
Steps to Reproduce:

Workstation on Domain A
Server on Domain B
Try to launch Ops Studio from Workstation using Windows credentials
Unable to specify credentials in Domain B to authenticate

@calan89 try runas command and start sqlopsstudio with Domain B authentication user. https://technet.microsoft.com/en-us/library/cc771525(v=ws.11).aspx
Asking to all community: any suggestion or better solution than runas?

@calan89 it seems runas is not working for sql ops studio. Testing...

marked as 'bug' for RunAs part.

How would I do this on a mac?

Ability to enter Windows credentials when using this on a Mac or Linux is essential.  This is possible in other similar tools so hopefully Microsoft will make this happen.

Not sure if this is still an active bug - but on windows I have been able to runas using -
runas /netonly /user:domain\user "C:..pathToOps..\sqlops.exe"

@wiltshih As the others have pointed out, you can't do this on a Mac or Linux. We'd need a way to provide credentials.

Any progress on this?

This appears to still be a problem since runas won't let it open or connect to the db

We're tracking "multiple Windows Auth from single machine" suggestions in this issue https://github.com/Microsoft/sqlopsstudio/issues/112.  Please reactive if this suggestion is significantly different than what we're tracking there.


chore(docs): Add details to getting started contract deployment

Add some feedback based on office hours today.

Docs Preview
Hey there! 👋 You can check your preview at https://65f34e4104fec7b22c840af1--aztec-docs-dev.netlify.app


chore: fix setting tracing subscriber

Previously we were only setting a default tracing subscriber for the current thread in edr_napi which precluded logs from other threads being collected.
With this change, the subscriber is set globally for all threads so that we can get tracing output when running JS tests, e.g. from hardhat-tests: RUST_LOG=debug pnpm test.

(Btw I had a quick look and our version of tracing doesn't seem to set no_mangle, so maybe other shared Rust lib calling it is not an issue?)

(Btw I had a quick look and our version of tracing doesn't seem to set no_mangle, so maybe other NodeJS shared Rust lib calling it is not an issue?)

If mangle is used in the same way as it normally is (i.e. mangle a function name to be unique), I'm not sure how it would prevent the issue. The static memory location of the default logger would still be reused, right?

The safest bet might be to log a warning when we can't set a default logger? Then we can at least get debug logs to work for now, without causing crashes.
We can find a permanent solution in a follow-up task.

If mangle is used in the same way as it normally is (i.e. mangle a function name to be unique), I'm not sure how it would prevent the issue. The static memory location of the default logger would still be reused, right?

Right, mangling is only relevant if the other shared lib was a C lib, but another Rust shared lib will have the same mangled name and can use that to look up the address of the static that holds the global logger? I'm unsure of the details of how this works exactly, but I'm curious to learn more.

The safest bet might be to log a warning when we can't set a default logger? Then we can at least get debug logs to work for now, without causing crashes.

Ok, done in 0f405d2


[Text] 4.1.3 translation fixes

These are all the translation changes submitted into the #translator channel on discord up to
20/12/21 00:42 CEST

English LOC file has been edited without edit other LOC file.

Updated


Corrects create org invitation return value.

I signed it!

According to the example in the GitHub API docs:
https://developer.github.com/v3/orgs/members/#create-organization-invitation
this endpoint returns a list (their example shows a list of one item).
Why is this change needed, @1995parham ?
Using the API as it is today, a user would access invitation[0].

I use the following code based on this API and got an error for using an array of invitation.
email :=<EMAIL_ADDRESS>client.Organizations.CreateOrgInvitation(ctx, "ce104", &CreateOrgInvitationOptions{
    Email: &email,
})

Thank you for the clarification, @1995parham.
In that case, I think you need to use a different endpoint.
In the link you provided, note that the REST endpoint is: PUT /orgs/:org/memberships/:username.
In the function you modified in this PR, the endpoint is:
	u := fmt.Sprintf("orgs/%v/invitations", org)
 	req, err := s.client.NewRequest("POST", u, opt)

which translates to: POST /orgs/:org/invitations.
So to use the first endpoint, you will want to call:
client.Organizations.EditOrgMembership
and make sure you provide a non-empty user argument to the call.
Please let me know if that information resolves the issue for you or if I have misunderstood.

Thanks for your description and sorry for my mistake about API URLs. But when I calling CreateOrgInvitation I get the following error: json: cannot unmarshal object into Go value of type []*github.Invitation.

In cases like these, I like to see the full response from the server in order to debug the problem. You can either construct a curl request similar to the one being made by this package, or just temporarily instrument your copy of the package to dump out the contents of the response body, something like:
data, err := ioutil.ReadAll(r.Body)
log.Errorf("dump: %s", data)

somewhere around https://github.com/google/go-github/blob/master/github/github.go#L480
If you share the response body, maybe we can help you figure out why it isn't working. Maybe our package is at fault or the GitHub API docs, or both.

dump: {"id":5701266,"login":null,"email":"parham.alvani@gmail.com","role":"direct_member","created_at":"2018-03-02T07:00:20Z","inviter":{"login":"1995parham","id":8181240,"avatar_url":"https://avatars1.githubusercontent.com/u/8181240?v=4","gravatar_id":"","url":"https://api.github.com/users/1995parham","html_url":"https://github.com/1995parham","followers_url":"https://api.github.com/users/1995parham/followers","following_url":"https://api.github.com/users/1995parham/following{/other_user}","gists_url":"https://api.github.com/users/1995parham/gists{/gist_id}","starred_url":"https://api.github.com/users/1995parham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1995parham/subscriptions","organizations_url":"https://api.github.com/users/1995parham/orgs","repos_url":"https://api.github.com/users/1995parham/repos","events_url":"https://api.github.com/users/1995parham/events{/privacy}","received_events_url":"https://api.github.com/users/1995parham/received_events","type":"User","site_admin":false},"team_count":0,"invitation_teams_url":"https://api.github.com/organizations/35544286/invitations/5701266/teams"}

I did as you say and attached the logs

Ah HAH!!!  Thank you so much, @1995parham! Now I understand.
I apologize for my prior confusion.
Your reply matches this API endpoint:
https://developer.github.com/v3/orgs/members/#create-organization-invitation
...which does indeed match this PR exactly!
Can you please update the corresponding test as reported by the Travis CI build failure?
--- FAIL: TestOrganizationsService_CreateOrgInvitation (0.00s)
	orgs_members_test.go:480: Organizations.CreateOrgInvitation returned error: json: cannot unmarshal array into Go value of type github.Invitation
	orgs_members_test.go:485: Organizations.ListPendingOrgInvitations returned <nil>, want<EMAIL_ADDRESS>
We will then merge after you fix this and we get a second LGTM.

thank you very much for your attention.

LGTM.  Thanks again, @1995parham!
Merging.

According to the example in the GitHub API docs:
https://developer.github.com/v3/orgs/members/#create-organization-invitation
this endpoint returns a list (their example shows a list of one item).

Looks like GitHub has fixed the incorrect documentation on their side. The linked endpoint example used to display an array of objects, but now it displays a single object.


add tier level

TIER 1
Logic and scripting engines, which should be able to act as fast as possible to work with states delivered by higher TIER adapters.
TIER 2
Adapters which deliver data from external APIs, which are important and can change at any time
TIER 3
Adapters which are not time-critical like Visualization, Backup adapters, and adapters whose information does not necessarily need to be up-to-date. These are often schedule adapters, whose information is always a bit delayed.

Thank you!


Task FileExplorer is causing compiler issues with older C code

If older C libraries or tasks are used that use older notations the compiler will now throw errors for notations that are no longer allowed.

To avoid conflict with older code the task FileExplorer must be converted to structure text.

Fixed in version 0.5


DataTypeChooserDialog.setFilterFieldEditable() doesn't set isFilterEditable

Describe the bug
The DataTypeChooserDialog contains an isFilterEditable property that affects the behavior of the getFocusComponent() method.  It also contains a setFilterFieldEditable() method that does invoke tree.setFilterFieldEnabled(), and annoyingly forces the filter to EXACT_MATCH if it is not enabled.  But, it never changes the local property isFilterEditable.
This is actually a minor ramification of setFilterFieldEditable() side-effects.  it should only do what it says, and shouldn't affect the filter strategy.  It would be more useful to have a separate method 'getFilterProvider()' that returns tree.getFilterProvider() so that the user may set the filter to whatever they desire.
Along the same lines, it seems that setFilterText() should not assume that if the text is non-null that it should not be editable.

This is confusing for sure.  The feature was originally intended to allow clients to set filter text on the widget.  Once set, the end user would then not be allowed to change the text, hence making the field not editable.    This old feature could be implemented with a direct API that allows clients to control both the current filter text and the editable state.
Am I correct in assuming that you would like the API updated such that setting the filter text and the enablement state are separate concerns?

The name of the method doesn't imply that it affects the editable state, so that would argue that it shouldn't.  I would be fine with that if I could get ahold of the FilterProvider so that I could modify that.  The combined actions are just a little surprising from the name alone.
In my case, I was wanting to allow the user to select one of multiple implementations of a structure, so I wanted to pre-set the text to "myStruct_V" and then they could pick between "myStruct_V0", "myStruct_V1", etc.  So, I want to pre-set the text but still allow the user to finish off the selection.  As I recall, I think I resorted to reflection to get ahold of the FilterProvider, so just implementing a "getFilterProvider()" method would be sufficient.


watchlists.v1.list_members only returns first 100 elements

It appears that list_members returns by default 100 users. Watchlists may contain over 100 users. There is no pagination documented in the code or docs. The total_count parameter returns the proper number of users.
The API reference page for v1 doesn't indicate that pagination is supported, however the v2 version does. My guess is that during the update to support v2, developers broke v1 functionality. As a result, v2 endpoints should be supported to ensure functionality remains as the SDK is unable to fetch watchlist members given current functionality as a result.

quick dirty little hack to make this type of this work (obviously could be used with all v2 APIs, though probably most haven't broken v1 APIs)
    url = f"{client._settings.url}/v2/watchlists/{watchlist_id}/members"
    headers = {
        "content-type": "application/json",
        "authorization": f"Bearer {client._session.auth.token_response.access_token._secret_value}"
    }
    # Initial request for length
    params = {"page": 1, "page_size": 1}
    watchlist_members = []
    total_count = requests.get(url, params=params, headers=headers).json()['totalCount']

    page_num = 1
    while len(watchlist_members) < total_count:
        params = {"page": page_num, "page_size": 1000}
        watchlist_members += requests.get(url, params=params, headers=headers).json()['watchlistMembers']
        page_num += 1

Obviously a bit ugly, but it'll do.


Improved organization and functionality of the hydra-download-manager

Thanks a lot for your contribution, but we will be dropping Python usage in favor of using aria2.


[Bug] Blank screen in dev

Description
This bug happens when running UniMe in dev as desktop app when navigating in the credentials of the Ferris profile. Occasionally, I see a blank screen after some interactions.
Hardware Specification
Operating system: macOS
RAM:
Cores:
Device:
Steps to Reproduce the Bug
It's not reliably reproducible but it happens regularly.
Expected Behaviour
There should not be any blank screens.
Actual Behaviour
To continue with dev, I can right-click and choose reload. It may take several reload attempts until the blank screen goes away. Occasionally, I need to restart the dev server.
Errors
[vite:css] Nested CSS was detected, but CSS nesting has not been configured correctly.
Please enable a CSS nesting plugin *before* Tailwind in your configuration.
See how here: https://tailwindcss.com/docs/using-with-preprocessors#nesting
3  |      flex: 1;
4  |
5  |      &:focus {
   |       ^
6  |        position: relative;
7  |      }
[vite:css] Nested CSS was detected, but CSS nesting has not been configured correctly.
Please enable a CSS nesting plugin *before* Tailwind in your configuration.
See how here: https://tailwindcss.com/docs/using-with-preprocessors#nesting
1  |  .trigger.s-W5HspqYnXoFG{flex:1;&:focus {
   |                                  ^
2  |        position: relative;
3  |      };&:focus-visible {

Prior PRs:

https://github.com/impierce/identity-wallet/pull/160
https://github.com/impierce/identity-wallet/pull/167

Above Tailwind CSS nesting config warning is separate from the blank screen issue. The warning can be fixed by adding
 'tailwindcss/nesting': {},

as first entry to postcss.config.js. But this does not make the blank screen go away.

The blank screen is caused by an undefined state after Vite lazily (and somewhat randomly) optimizes dependencies, triggering HMR. You can replicate this manually: right click => reload.


Try to fix #8

The error seemed to come from this line:
code_out = u'\n'.join((code, out))

If code was empty, it created a leading newline.
I need this yesterday so nice if you could upload to pip or give me write access. If you are too busy please tell me and I'll create a fork.

I rebased your PR onto master, since there were unrelated test failures.
Looks like it's all good now, thanks! :tada:


[Bug]: Pan and Tilt 2K (IndoorCam Mini) T8414 (New Device not supported)

What happened?
This seems like a new device (possibly released 2 months ago) and there's no support for it. If you need help to getting it work just contact me through discord as DJEncouragement and I'll give you access to it.
Device Type
other (UnSupported)
Plugin Version
v1.0.x (Supported)
HomeBridge Version
v1.3.x (Supported)
NodeJS Version
v14 (Supported)
Operating System
Raspbian 10+ (Supported)
Relevant log output
[10/01/2022, 20:49:58] Loaded plugin<EMAIL_ADDRESS>[10/01/2022, 20:49:58] Registering platform 'homebridge-eufy-security.EufySecurity'
[10/01/2022, 20:49:58] ---
[10/01/2022, 20:50:04] [EufySecurity] Initializing EufySecurity platform...
[1/10/2022, 8:50:04 PM] [EufySecurity-1.1.1-beta.14] INFO:  enableDetailedLogging on
[1/10/2022, 8:50:04 PM] [EufySecurity-1.1.1-beta.14] INFO:  Country set: US
[1/10/2022, 8:50:04 PM] [EufySecurity-1.1.1-beta.14] INFO:  Finished initializing Eufy Security Platform
[1/10/2022, 8:50:05 PM] [EufySecurity-1.1.1-beta.14] DEBUG: discoveringDevices
[1/10/2022, 8:50:07 PM] [EufySecurity-1.1.1-beta.14] DEBUG: EufyClient connected true
[1/10/2022, 8:50:07 PM] [EufySecurity-1.1.1-beta.14] DEBUG: PollingInterval: 30
[1/10/2022, 8:50:07 PM] [EufySecurity-1.1.1-beta.14] DEBUG: Refresh data from cloud and schedule next refresh.
[1/10/2022, 8:50:17 PM] [EufySecurity-1.1.1-beta.14] DEBUG: CameraMaxLivestreamDuration: 30
[1/10/2022, 8:50:17 PM] [EufySecurity-1.1.1-beta.14] DEBUG: Found 0 stations.
[1/10/2022, 8:50:18 PM] [EufySecurity-1.1.1-beta.14] DEBUG: Found 0 devices.
[1/10/2022, 8:50:25 PM] [EufySecurity-1.1.1-beta.14] WARN:  Push Closed!

Hi @jhaleit,
We use a client library created by a brilliant guy. The library has its own github. If you would create an issue on here and share your device that would be awesome.
https://github.com/bropat/eufy-security-client/issues

Sounds good. I created a ticket here: https://github.com/bropat/eufy-security-client/issues/100

Hey, it should appear here. At least you will get a message not supported but not 0 devices.

Not sure. It just can't find them.

Well the issues was the pi zero w so I changed to a pc, but now I have a different issue... I can't login because it keeps asking for a captcha in the logs...

[1/12/2022, 11:38:04 PM] [Homebridge UI] [homebridge-eufy-security] Incoming Request: /request-otp
[1/12/2022, 11:38:04 PM] [Homebridge UI] [homebridge-eufy-security] [1.0.8] DEBUG: Load previous login_hash: d4a9c66e00e47822b7883963dbd7c935
[1/12/2022, 11:38:04 PM] [Homebridge UI] [homebridge-eufy-security] [1.0.8] DEBUG: Load previous api_base: https://security-app.eufylife.com
[1/12/2022, 11:38:04 PM] [Homebridge UI] [homebridge-eufy-security] [1.0.8] DEBUG: Authenticate and get an access token { token: null, tokenExpiration: null }
[1/12/2022, 11:38:04 PM] [Homebridge UI] [homebridge-eufy-security] [1.0.8] DEBUG: Request: {
method: 'post',
endpoint: 'v2/passport/login',
baseUrl: 'https://security-app.eufylife.com',
token: null,
data: {
client_secret_info: {
public_key: '04ec5ccc25b8700b5402abb44bd52ea31bb439484b1aaa8fc3f0cfd499b2e6ab435cab0699d94998f756c56aa700ebae1c45003a0a2d5d86a542ab73823a610d63'
},
enc: 0,
email: '**********',
password: '***********',
time_zone: -21600000,
transaction: '1642052284917'
},
headers: {
app_version: 'v3.3.1_1058',
os_type: 'android',
os_version: '30',
phone_model: 'EUFYCLIENT',
country: 'US',
language: 'en',
openudid: '3a1387f37dcf2ed7',
uid: '',
net_type: 'wifi',
mnc: '02',
mcc: '262',
sn: '36ae7d144acf',
Model_type: 'PHONE',
timezone: 'GMT-06:00',
'Cache-Control': 'no-cache'
}
}
[1/12/2022, 11:38:05 PM] [Homebridge UI] [homebridge-eufy-security] [1.0.8] DEBUG: Response: {
code: 100032,
msg: 'Failed to request.',
data: {
captcha_id: 'eba9c181-bfe7-47cb-8955-62627268b23e',
item: 'data:image/png;base64,[encoded data, 4120 characters]'
}
}
[1/12/2022, 11:38:05 PM] [Homebridge UI] [homebridge-eufy-security] [1.0.8] DEBUG: Captcha verification received {
captchaId: 'eba9c181-bfe7-47cb-8955-62627268b23e',
item: 'data:image/png;base64,[encoded data, 4120 characters]'
}

I got it working by creating another account.. but the cameras doesn't work. This issue can be closed, because its been transferred to here: https://github.com/bropat/eufy-security-client/issues/100

The dev replied over here so not sure where to continue.. https://github.com/bropat/eufy-security-client/issues/100

@jhaleit Can you try and delete your cached accessories and create a new guest account with admin rights?

@jhaleit As I understand it the video streaming fails?

There's a couple of issues... Based on the logs it looks like it detects the cameras as hubs, but because it's not hubs it ignores the UUIDs. The security switch doesn't work and gets stuck on loading when trying to set it to home, away, or night.
These cameras have the following features:

motion sensing
2-way audio
no hub required
alarm (plays a siren sound if the alarm goes off.)
tilt and pan movement.

I had a similar issue with my outdoor floodlight camera (the T8420).  I've submitted a PR which resolves the issue. 👍🏼

@jhaleit Can you supply your config without user and password information.

{
"platform": "EufySecurity",
"username": "",
"password": "",
"enableCamera": false,
"pollingIntervalMinutes": 5,
"hkHome": 1,
"hkAway": 0,
"hkNight": 3,
"hkOff": 63,
"enableDetailedLogging": 1,
"country": "US",
"ignoreStations": [
""
],
"ignoreDevices": [
""
],
"CameraMaxLivestreamDuration": 30,
"_bridge": {
"username": "*****",
"port": 52611
}
}

I had a similar issue with my outdoor floodlight camera (the T8420). I've submitted a PR which resolves the issue. 👍🏼

What's a PR?

Any update with this?

Did you test the latest beta ?

Did you test the latest beta ?

Yes. Same problem

please remove the guest admin account, make sure to use the latest Eufy App version then readd the admin guest account and try again

`[3/14/2022, 2:37:55 AM] [EufySecurity] Unable to move the existing persistent file into the new folder
[3/14/2022, 2:37:57 AM] [EufySecurity] Livingroom Camera looks station but it's not could imply some errors Type: 100
[3/14/2022, 2:37:57 AM] [EufySecurity] Adding new accessory: Livingroom Camera
[3/14/2022, 2:37:57 AM] [EufySecurity] Dining Room Camera looks station but it's not could imply some errors Type: 100
[3/14/2022, 2:37:57 AM] [EufySecurity] Adding new accessory: Dining Room Camera
[3/14/2022, 2:37:57 AM] [EufySecurity] This accessory is not compatible with HomeBridge Eufy Security plugin: Livingroom Camera Type: 100
[3/14/2022, 2:37:57 AM] [EufySecurity] This accessory is not compatible with HomeBridge Eufy Security plugin: Dining Room Camera Type: 100
[3/14/2022, 2:37:57 AM] [EufySecurity] Push Closed!
[3/14/2022, 2:38:28 AM] [homebridge-eufy-security] This plugin generated a warning from the characteristic 'Security System Current State': characteristic was supplied illegal value: number 63 exceeded maximum of 4. See https://git.io/JtMGR for more info.
[3/14/2022, 2:38:28 AM] [homebridge-eufy-security] This plugin generated a warning from the characteristic 'Security System Target State': characteristic was supplied illegal value: number 63 exceeded maximum of 3. See https://git.io/JtMGR for more info.
[3/14/2022, 2:38:28 AM] [homebridge-eufy-security] This plugin generated a warning from the characteristic 'Security System Current State': characteristic was supplied illegal value: number 63 exceeded maximum of 4. See https://git.io/JtMGR for more info.
[3/14/2022, 2:38:28 AM] [homebridge-eufy-security] This plugin generated a warning from the characteristic 'Security System Target State': characteristic was supplied illegal value: number 63 exceeded maximum of 3. See https://git.io/JtMGR for more info.
[3/14/2022, 2:38:30 AM] [homebridge-eufy-security] This plugin generated a warning from the characteristic 'Security System Current State': characteristic was supplied illegal value: number 63 exceeded maximum of 4. See https://git.io/JtMGR for more info.
[3/14/2022, 2:38:30 AM] [homebridge-eufy-security] This plugin generated a warning from the characteristic 'Security System Target State': characteristic was supplied illegal value: number 63 exceeded maximum of 3. See https://git.io/JtMGR for more info.
[3/14/2022, 2:38:30 AM] [homebridge-eufy-security] This plugin generated a warning from the characteristic 'Security System Current State': characteristic was supplied illegal value: number 63 exceeded maximum of 4. See https://git.io/JtMGR for more info.
[3/14/2022, 2:38:30 AM] [homebridge-eufy-security] This plugin generated a warning from the characteristic 'Security System Target State': characteristic was supplied illegal value: number 63 exceeded maximum of 3. See https://git.io/JtMGR for more info.
[3/14/2022, 2:38:33 AM] [homebridge-eufy-security] This plugin generated a warning from the characteristic 'Security System Current State': characteristic was supplied illegal value: number 63 exceeded maximum of 4. See https://git.io/JtMGR for more info.
[3/14/2022, 2:38:33 AM] [homebridge-eufy-security] This plugin generated a warning from the characteristic 'Security System Target State': characteristic was supplied illegal value: number 63 exceeded maximum of 3. See https://git.io/JtMGR for more info.
[3/14/2022, 2:38:33 AM] [homebridge-eufy-security] This plugin generated a warning from the characteristic 'Security System Current State': characteristic was supplied illegal value: number 63 exceeded maximum of 4. See https://git.io/JtMGR for more info.
[3/14/2022, 2:38:33 AM] [homebridge-eufy-security] This plugin generated a warning from the characteristic 'Security System Target State': characteristic was supplied illegal value: number 63 exceeded maximum of 3. See https://git.io/JtMGR for more info.'

Livingroom Camera	T8414P1021380957	undefined
|-- Livingroom Camera	T8414P1021380957	undefined
Dining Room Camera	T8414P1021381699	undefined
|-- Dining Room Camera	T8414P1021381699	undefined

^ This is what I get when I list the devices.

please remove the guest admin account, make sure to use the latest Eufy App version then readd the admin guest account and try again

Yes I did this and the same problem..


add trmm with stretched grid

Purpose

To-do

Content

[ ] I have read and checked the items on the review checklist.

bors r+


Support unicode email

Examples:
<EMAIL_ADDRESS><EMAIL_ADDRESS>

See this https://www.youtube.com/watch?v=raJcug_vW0c

Does any email provider even support such characters?

Thanks, @smaniotto !!


'children' PropType is defined but prop is never used

When I wanted to run the project I, visited the below error
Failed to compile.

[eslint]
src/layouts/MainLayout.js
  Line 7:3:  'children' PropType is defined but prop is never used  react/no-unused-prop-types

Search for the keywords to learn more about each error.
ERROR in [eslint]
src/layouts/MainLayout.js
  Line 7:3:  'children' PropType is defined but prop is never used  react/no-unused-prop-types

Search for the keywords to learn more about each error.

webpack compiled with 1 error

So to solve this problem, the codes that are not used should be commented:
// react-crypto-exchange/src/layouts/MainLayout.js

import { memo } from 'react';
// import PropTypes from 'prop-types';

const MainLayout = memo(({ children }) => children);

// MainLayout.propTypes = {
//   children: PropTypes.node.isRequired,
// };

export default MainLayout;

Is there any other solution?

@myas92 The solution you used is fine but I fixed the error. You can use it by forking it again. Many thanks for the feedback.


fix copy command blocking

Fixes #538. It turns out that child.wait_with_output() blocks for a long time when either stdin or stderr is piped. I’ve tried multiple workarounds, but they all yield the same result.
This fix resolves the blocking issue, though we won't be able to read any output, making error messages completely useless.
Interestingly, when there is actually an error (e.g., passing invalid arguments), it doesn’t block and correctly reads from stderr.
I can share a small reproduction of this issue if that would be helpful.

It turns out that child.wait_with_output() blocks for a long time when either stdin or stderr is piped

Do you mean either stdout or stderr? This PR doesn't seem to change stdin. I wonder why this is the case, CopyLink works fine for me on MacOS (using pbcopy afaict).

Oops yes, i meant stdout, basically any attempt at reading the commands output causes this freeze for me on Linux. Works fine on MacOS for me aswell

Look like helix, which spotify_player clipboard implementation is based on, doesn't also pipe output
https://github.com/helix-editor/helix/blob/620dfceb849d6b68d41d4f7678bb4675009fef4d/helix-view/src/clipboard.rs#L372

Thanks for the fix @juliamertz!

Hey all,
I'm currently experiencing this exact issue in my build of master (9c47701cd), which includes this PR. After experimenting with xsel on the command line, I've determined that the --nodetach argument causes xsel to hang (at least on my box, no idea if there are any alternative versions around). After removing this argument from the slice, the copy command works and the UI continues functioning as expected.
Posting this more as a convenience for anyone else who might encounter this issue, hope this helps someone.
diff --git a/spotify_player/src/event/clipboard.rs b/spotify_player/src/event/clipboard.rs
index fb06cfa..8d14f68 100644
--- a/spotify_player/src/event/clipboard.rs
+++ b/spotify_player/src/event/clipboard.rs
@@ -100,7 +100,7 @@ pub fn get_clipboard_provider() -> Box<dyn ClipboardProvider> {
     } else if env_var_is_set("DISPLAY") && binary_exists("xsel") {
         Box::new(CommandProvider {
             paste_command: Command::new("xsel", &["-o", "-b"]),
-            copy_command: Command::new("xsel", &["--nodetach", "-i", "-b"]),
+            copy_command: Command::new("xsel", &["-i", "-b"]),
         })
     } else {
         #[cfg(target_os = "windows")]

@dashaw92 I can confirm the same happens on my system, i had previously only tested with xclip. the fix also seems to be working fine for me.

Thank you.


Add Table model, save all table references to metadata.tables, re…

…move table_name and schema from metadata.
Fixes #50
Checklist

[x] Link to issue this PR refers to (if applicable):
[x] CLA is signed

Apparently return f'{quote(self.schema) + '.' if self.schema else ""}{quote(self.name)}' is not valid in Python 3.8, don't even remember why, will check it tomorrow. Still good to review.


Get only green channel weights in a RBG model

Hi,
I have a model that classifies RGB images and it works well.
Now, I would like to use the same model on gray level images without re-training the new model. I could duplicate the gray level image in order to give it three identical channels, but it would use a excessive memory.
So I would like to load the RGB model and get only the weights of a single channel (green for example) that I would affect to my gray level model.
Any idea how I can access the weights of a given channel?
Regards,

I believe
Model.get_weights()
Is the general access method.  From there you can extract the specific bumpy array.  Replace "Model" with whatever you call your model.  Hope that helps.

Hi, thanks for this answer, but I already know this function. What I don't know is using this function, how to target a specific channel.

No problem.  If I understand what you are asking, then I think you can target a specific channel (by index) if you select out the weights for a specific layer.  For example, if you want the weights from the input layer (say 2D convolution), you can say:  model.get_weights()[0].   This gives you all the weights.  If you want to select a specific channel, first you can do:
model.get_weights()[0].shape to verify the arrangement.
For example, if your 2D convolution filter has shape (5,5), and you are using 3 channels (RGB), and have 16 output filters, you might get shape = (5,5,3,16).  Then you should be able to extract the filter weights for a specific channel (by index), for example input channel 0:
model.get_weights()[0][:,:,0,:]
I hope this helps if you didn't already know this.

Thanks, I am going to test it right away.


Allow access to external libraries

Godot version:
3.1 RC1
OS/device including version:
Windows 10 x64
Issue description:
I want to have a unique Materials library folder for all projects.
How can I point this external library to be used inside my project?
Currently, everything is restricted to the structure res://
Do I have to duplicate a giant library of materials for each project?

Duplicate of #26617


Un-negate the origin of INV_VIEW_MATRIX when using doubles builds of the engine

Fixes: https://github.com/godotengine/godot/issues/85711
I'm making this for @Zylann to test to see if it fixes an issue reported on RocketChat
I'm not sure why the origin was negated. As best I can tell, I negated it so that the origin was subtracted from the model origin. So I've moved the negation to the shader. Now the user-facing matrix should be the same regardless of whether they are using single or double precision builds.

Just a heads up, i've cherry picked this commit into my local godot/master and it's so far working nicely.

Came back in to say that i have unfortunately found an issue with this commit.
All else being equal, this commit re-introduces floating point jitter as the camera is translated around, at large distances from the origin.
Maybe, by moving the inversion from C++ code to shader code, you've accidentally subverted the double precision reconstruction algorithm?

Came back in to say that i have unfortunately found an issue with this commit.
All else being equal, this commit re-introduces floating point jitter as the camera is translated around, at large distances from the origin.
Maybe, by moving the inversion from C++ code to shader code, you've accidentally subverted the double precision reconstruction algorithm?

Hmmm perhaps the input to split_double() should be negative. We could try undoing that change and then manually changing the sign of the split value


The UI doesn't let you create an app with BRIDGED networking and no port mappings

There's no way of removing the default port mapping without using the JSON editor.

@gkleiman can you please suggest a use case for creating an app in BRIDGE mode without assigning a portMapping?

Backlogging this as we need to define if this is an actual use-case for those using the UI.

Note: This issue has been migrated to https://jira.mesosphere.com/browse/MARATHON-2228. For more information see https://groups.google.com/forum/#!topic/marathon-framework/khtvf-ifnp8.


Foundations: Font Styles

Add new Font Styles:

Lead: Bold
Paragraph: Regular
Link (Underlined): Regular

Adjustements have been made.

I created Dev tickets:

https://github.com/swisspost/design-system/issues/2613
https://github.com/swisspost/design-system/issues/2614


$-prefix

In the example you have:
// create or update a user in Mixpanel Engage
mixpanel.people.set("billybob", {
    $first_name: "Billy",
    $last_name: "Bob",
    $created: (new Date('jan 1 2013')).toISOString(),
    plan: "premium",
    games_played: 1,
    points: 0
});

Why are some keys prefixed with $? I'm guessing these are special to the mixpanel platform, what would the result be if I left out the $-prefix by mistake?

Hi Mono!
The consequence of leaving out the $ prefix would be the special fields that utilize these keys would go unpopulated in a user profile in Mixpanel. For example, leaving out the prefix from the '$name' key means the name at the top of a user profile wouldn't display the user's name. You can see what I mean in the attached image.


REL: v0.0.3

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

I saw #3 after I merged this PR, that brought this version. I hope it's not a problem.


dart2native "Precompilation not supported on IA32" on 64-bit Core i7

Running dart2native on macOS crashes saying "Precompilation not supported on IA32".
dart2native bin/main.dart --output=main

../../runtime/vm/compiler/jit/compiler.cc: 96: error: Precompilation not supported on IA32

===== CRASH =====
si_signo=Segmentation fault: 11(11), si_code=0, si_addr=0x0
Aborting re-entrant request for stack trace.

Failed to generate native files:
Generating AOT snapshot failed!

Is this targeting the right instruction set? I'm running on an Intel Core i7, which is 64-bit.
macOS 10.14.6 (Mojave)
Dart SDK 2.6.0-dev.7.0

@johnpryan did you build your own version of the sdk from sources or did you download and install it ?
If you downloaded it, did you download the x64 version or the ia32 version? You need to download the x64 version as dart2native is supported only on the x64 version.

Ah, right... thanks for the help


Add tsensor assisted test.

Description

Add tsensor assisted test.
Checklist:

[x] I have tested my changes. No regression in existing tests.
[ ] My code is Linted.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Need code review @vjjunnut @cobusve @brianfr @dongh @satyaprk-amazon @qiutongs @lundinc2


log: Fatal() reports wrong source location when both log.Lshortfile or log.Llongfile and slog with source is enabled

Go version
go version go1.21.5 darwin/arm64
Output of go env in your module/workspace:
GO111MODULE=''
GOARCH='arm64'
GOBIN=''
GOCACHE='/Users/andrew/Library/Caches/go-build'
GOENV='/Users/andrew/Library/Application Support/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='arm64'
GOHOSTOS='darwin'
GOINSECURE=''
GOMODCACHE='/Users/andrew/go/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='darwin'
GOPATH='/Users/andrew/go'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/opt/homebrew/Cellar/go/1.21.5/libexec'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/opt/homebrew/Cellar/go/1.21.5/libexec/pkg/tool/darwin_arm64'
GOVCS=''
GOVERSION='go1.21.5'
GCCGO='gccgo'
AR='ar'
CC='cc'
CXX='c++'
CGO_ENABLED='1'
GOMOD='/Users/andrew/src/go.mod'
GOWORK=''
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -ffile-prefix-map=/var/folders/8b/qq9znh551qv_r0lhlj8bs0hr0000gn/T/go-build2100671700=/tmp/go-build -gno-record-gcc-switches -fno-common'

What did you do?
Our applications have log.Lshortfile set and while migrating to log/slog, we noticed that in a few spots where we call log.Fatal() that the source line information points to inside the standard library as opposed to the line where the log was called.
Other package-level functions such as log.Print() report the correct source line location.
log.Llongfile exhibits the same bug.
Playground: https://go.dev/play/p/k-eOzUuhr1f
package main

import (
	"log"
	"log/slog"
	"os"
)

func main() {
	log.SetFlags(log.Lshortfile)
	slog.SetDefault(slog.New(slog.NewTextHandler(os.Stderr, &slog.HandlerOptions{
		AddSource: true,
	})))
	log.Print("hello")
	log.Fatal("world")
}

What did you see happen?
When slog is enabled with source location, we see the following:
time=2009-11-10T23:00:00.000Z level=INFO source=/tmp/sandbox1731373776/prog.go:14 msg=hello
time=2009-11-10T23:00:00.000Z level=INFO source=/usr/local/go-faketime/src/log/log.go:412 msg=world

What did you expect to see?
When slog is disabled, we see the following:
prog.go:12: hello
prog.go:13: world

I would expect with slog enabled, we should see the following:
time=2009-11-10T23:00:00.000Z level=INFO source=/tmp/sandbox1731373776/prog.go:14 msg=hello
time=2009-11-10T23:00:00.000Z level=INFO source=/tmp/sandbox1731373776/prog.go:15 msg=world

CC @robpike.

cc @jba for slog

This is a slog bug. Changing the title.

Ran into this too.


Code quality fix

Resolved Coding style and spell check errors of Contact and Calendar Sample Apps

Too old to review changes. plz, use latest codes.


[HUDI-6991] Fix hoodie.parquet.max.file.size conf reset error

Change Logs
Clustering plan is generated in PartitionAwareClusteringPlanStrategy. writeConfig.getClusteringTargetFileMaxBytes() decides the final size of parquet file. So fix it.
      // check if max size is reached and create new group, if needed.
      if (totalSizeSoFar + currentSize > writeConfig.getClusteringMaxBytesInGroup() && !currentGroup.isEmpty()) {
        int numOutputGroups = getNumberOfOutputFileGroups(totalSizeSoFar, writeConfig.getClusteringTargetFileMaxBytes());
        LOG.info("Adding one clustering group " + totalSizeSoFar + " max bytes: "
            + writeConfig.getClusteringMaxBytesInGroup() + " num input slices: " + currentGroup.size() + " output groups: " + numOutputGroups);
        fileSliceGroups.add(Pair.of(currentGroup, numOutputGroups));
        currentGroup = new ArrayList<>();
        totalSizeSoFar = 0;
      }

Impact
none
Risk level (write none, low medium or high below)
If medium or high, explain what verification was done to mitigate the risks.
Documentation Update
Describe any necessary documentation update if there is any new feature, config, or user-facing change

The config description must be updated if new configs are added or the default value of the configs are changed
Any new feature or user-facing change requires updating the Hudi website. Please create a Jira ticket, attach the
ticket number here and follow the instruction to make
changes to the website.

Contributor's checklist

[ ] Read through contributor's guide
[ ] Change Logs and Impact were stated clearly
[ ] Adequate tests were added if applicable
[ ] CI passed

@hudi-bot run azure re-run the last Azure build

The test is known to be falky: https://dev.azure.com/apache-hudi-ci-org/apache-hudi-ci/_build/results?buildId=20581&view=logs&j=600e7de6-e133-5e69-e615-50ee129b3c08&t=bbbd7bcc-ae73-56b8-887a-cd2d6deaafc7


MySQL multi-value index removes the primary key on introspection

With the given DDL:
CREATE TABLE customers
(
    id       INT AUTO_INCREMENT PRIMARY KEY,
    custinfo JSON,
    INDEX zips ((CAST(custinfo -> '$.zipcode' AS UNSIGNED ARRAY)))
);

The introspection will not render the =@id= attribute to the =id= field:
/// The underlying table does not contain a valid unique identifier and can therefore currently not be handled by the Prisma Client.
model customers {
  id       Int       @default(autoincrement())
  custinfo Json?

  @@ignore
}

If we do not have the index defined, we correctly render the id as id Int @id @default(autoincrement()).

Any chance this PR also closes https://prisma-errors.netlify.app/report/14642?


Tomcat entry updates

Hello,
I have a spreadsheet with a large number of Tomcat advisory updates (this sheet is not current with the latest Tomcat vulnerabilities)
https://docs.google.com/spreadsheets/d/1b8XqUEK1PuOfTjm1jj-YSIoQa92A7uwjVfF06kd4bXg/edit?gid=0#gid=0
Many GitHub advisories for tomcat reference the package org.apache.tomcat:tomcat, which is not an installable jar. For example
https://github.com/advisories/GHSA-3p86-xgrq-m6p6
Vulnerability scanners should be detecting specific components of the Tomcat project rather than the project itself, and vulnerabilities affect specific Tomcat jars, not all Tomcat jars.
There are some GitHub Tomcat advisories that do capture the specific components that a vulnerability affects
https://github.com/advisories/GHSA-f4qf-m5gf-8jm8
In the spreadsheet I have identified the Tomcat component(s) affected by the given vulnerabilities in column D. Some of the vulnerabilities couldn't be figured out, or are documentation or example updates. I left them in for posterity.
I have a few questions about how to submit this large corpus of updates. I would like to work with the GitHub team to minimize friction. I'm very open to suggestions. I can submit one big PR, many small PRs. I'm happy to trickle them in if that's easier. Whatever works best for the GitHub team.

Hey @joshbressers, if you do some searching you'll find a previous conversation about our tomcat advisories and some were brought up and corrected. If you've got a full list the easiest (for us) thing to do would be to just open a butt load of PRs (maybe rate limit it for us). One PR per advisory though please :)
Else maybe just dump the list of GHSA numbers here and I'll open an issue for us to re-review them


[Institution Rework] [ENG-4202] Follow-up: Add email templates

Purpose
Add email templates and update API institution/auth.
Changes
N/A
QA Notes
N/A
Documentation
N/A
Side Effects
N/A
Ticket
Follow-up for https://openscience.atlassian.net/browse/ENG-4202

More fixes are applied in https://github.com/CenterForOpenScience/osf.io/pull/10311


Content registration message filtering improvements

Pull request #1173 added "log level higher than" based filtering, but this didn't really help much since most of the "offending" messages contain log level AUDIT and AUDIT level > ERROR level which means those messages were still logged (and there were hundreds of them).
With this pull request, we now exclude messages with level AUDIT and DEBUG when not running in verbose mode.
In addition to that, we now print out everything under level INFO - we still want user to know that something is indeed happening.
Imo, the default output now looks a lot more sensible:
(virtualenv)vagrant@vagrant-ubuntu-trusty-64:/data/stanley$ ./st2common/bin/registercontent.py --config-file conf/st2.conf --register-all
2015-03-02 23:08:23,078 INFO [-] Connecting to database "st2" @ "<IP_ADDRESS>:27017" as user "None".
2015-03-02 23:08:23,131 INFO [-] =========================================================
2015-03-02 23:08:23,132 INFO [-] ############## Registering sensors ######################
2015-03-02 23:08:23,132 INFO [-] =========================================================
2015-03-02 23:08:29,067 INFO [-] Sensors registered.
2015-03-02 23:08:29,067 INFO [-] =========================================================
2015-03-02 23:08:29,068 INFO [-] ############## Registering actions ######################
2015-03-02 23:08:29,068 INFO [-] =========================================================
2015-03-02 23:08:35,282 INFO [-] Actions registered.
2015-03-02 23:08:35,283 INFO [-] =========================================================
2015-03-02 23:08:35,284 INFO [-] ############## Registering rules ######################
2015-03-02 23:08:35,284 INFO [-] =========================================================
2015-03-02 23:08:35,312 INFO [-] Registering rules from pack: default
2015-03-02 23:08:35,313 INFO [-] Registering rules from pack: twitter
2015-03-02 23:08:35,324 INFO [-] Registering rules from pack: examples
2015-03-02 23:08:35,355 ERROR [-] Failed registering rule from /opt/stackstorm/packs/examples/rules/sensu_action_runners_rule.json.
Traceback (most recent call last):
  File "/data/stanley/st2reactor/st2reactor/bootstrap/rulesregistrar.py", line 78, in _register_rules_from_pack
    rule_db = RuleAPI.to_model(rule_api)
  File "/data/stanley/st2common/st2common/models/api/rule.py", line 149, in to_model
    trigger_db = TriggerService.create_trigger_db_from_rule(rule)
  File "/data/stanley/st2common/st2common/services/triggers.py", line 169, in create_trigger_db_from_rule
    'triggertype. Cannot create trigger: %s.' % (trigger_dict))
TriggerDoesNotExistException: A simple trigger should have been created when registering triggertype. Cannot create trigger: {'type': u'sensu.event_handler', 'parameters': {}, 'pack': u'sensu'}.
2015-03-02 23:08:35,361 INFO [-] Rules registered.

Works for me.
+1

Also updated the code to return a number of registered resources and print this in the registration script.
(virtualenv)vagrant@vagrant-ubuntu-trusty-64:/data/stanley$ ./st2common/bin/registercontent.py --config-file conf/st2.conf --register-all
2015-03-02 23:55:23,822 INFO [-] Connecting to database "st2" @ "<IP_ADDRESS>:27017" as user "None".
2015-03-02 23:55:23,892 INFO [-] =========================================================
2015-03-02 23:55:23,893 INFO [-] ############## Registering sensors ######################
2015-03-02 23:55:23,894 INFO [-] =========================================================
2015-03-02 23:55:29,932 INFO [-] Registered 10 sensors.
2015-03-02 23:55:29,933 INFO [-] =========================================================
2015-03-02 23:55:29,933 INFO [-] ############## Registering actions ######################
2015-03-02 23:55:29,934 INFO [-] =========================================================
2015-03-02 23:55:36,559 INFO [-] Registered 286 actions.
2015-03-02 23:55:36,560 INFO [-] =========================================================
2015-03-02 23:55:36,560 INFO [-] ############## Registering rules ######################
2015-03-02 23:55:36,561 INFO [-] =========================================================
2015-03-02 23:55:36,599 INFO [-] Registering rules from pack: default
2015-03-02 23:55:36,600 INFO [-] Registering rules from pack: twitter
2015-03-02 23:55:36,614 INFO [-] Registering rules from pack: examples
2015-03-02 23:55:36,652 INFO [-] Registered 4 rules.


Upgrading from v5.4.3 to v6 introduces Error: MobX injector: Store '*' is not available

We're using Next.js and mobx-state-tree and are setup according to the Next.js with-mobx-state-tree example.
I've searched around for this error and usually it comes to people incorrectly naming the store Provider prop doing something like <Provider appStore={this.store}> and then inject('store'). We have "appStore" everywhere and it works with mobx-react 5.
The things specific with our app are that we have quite a lot of nested models, though usually not more than one level, like this:
import Dashboard from './Dashboard'
// ...

const AppStore = types
  .model('AppStore', {
    dashboard: types.optional(Dashboard, {}),
    reports: types.optional(Reports, {}),
    user: types.optional(User, {}),
// ...

And apart from inject('appStore')(observer(Component)), we're also wrapping a lot of our components other HOCs like Lingui's withI18n and our custom HOCs, so a component may look like this:
import { withI18n } from "@lingui/react"
import withConfirmDialog from './withConfirmDialog'

// ... const Component ...

export default withConfirmDialog(withI18n()(inject('appStore')(observer(Component))))

I've also tried setting up error boundaries in Next.js' _app and _error components, which wrap all pages, but this error never goes through them and crashes the app.
Does any of this sound like it could be related to changes made in mobx-react 6?

Packages:
    "mobx": "^4.8.0",
    "mobx-react": "^6.1.3",
    "mobx-state-tree": "^3.13.0",
    "next": "^9.0.1",
    "react": "^16.8.6",
    "react-dom": "^16.8.6",

Please provide reproduction and proper versions of relevant packages, mobx, react, etc...

Ok, so it's not a mobx-react issue. Finally figured it out after tons of digging. We're using and old version of Material-UI (v0), which we are working to upgrade to the latest version (v4, lol), which uses hooks a lot - hence the upgrade of mobx-react. It seems that Material-UI v0 renders popovers (icon menus, etc.) somewhere outside the React root element, which means outside the MobX store provider, which triggers this error. If you don't inject the store in the component that's being rendered inside the popover, it works fine. Material-UI v4 doesn't have this problem and also works fine with mobx-react v6.


Expose the server on <IP_ADDRESS> in order to be called from outside

I am trying to expose the server on the <IP_ADDRESS> address in order to be called from outside but can't find how to configure it (or if it's possible). Is this already implemented in some way?
Right now I am able to run the example from inside the machine on <IP_ADDRESS> (following the README).

Hi @anielennova
You should be able to add a 'host' argument on the command line.
@blmarket  added this option in PR #62 .  @Anielenova, you are right though that this is not documented in the README.
Would be great to improve the docs


glibc in docker is too old to run binary

$ docker run --rm --entrypoint  /bin/bash -it marcoieni/release-plz:latest

root@dc215ff1b5a3:/app# release-plz
release-plz: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by release-plz)
release-plz: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by release-plz)
release-plz: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by release-plz)
root@dc215ff1b5a3:/app# ldd --version
ldd (Debian GLIBC 2.31-13+deb11u7) 2.31

Looking at Dockerfile. binary is compiled in debian bookworm (12), but final image is debian bullseye (11).

thanks for reporting! The fix will be shipped in the next release.


chore: add prettier & format the code

This PR adds the prettier code formatter with custom config, and formats existing code according to those rulles.
Pre-commit hook to format staged files was also added.

:tada: This PR is included in version 2.0.0-alpha.1 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


docs: examples Authentication page translated into Korean

I have translated the examples Authentication page into Korean.
If you think there are aspects that need improvement, please let me know, and I would be happy to make the adjustments. Thank you!
I have requested a Korean translation review from one reviewer in the FSD Discord Korean community to ensure that my Korean writing is well done. I would appreciate it if you could merge it after the review is completed.

@illright I have addressed all the feedback revisions and have uploaded the revised documents.


[BUG] Cloud service broker tile 0.0.28-azure-beta no stemcell associated

Description
We were able to successfully install the Beta cloud service broker tile manually using the opsman but when we try to deploy using platform automation, we get an error since no stemcell are specified in the release.
Expected Behavior
A stemcell is specified in pivnet to download so that the  errands to be able to run sucessfully.
Actual Behavior
When running the paltform automation, an error occurs when trying to get the information on the stemcell required. No stemcell specified in the "download-product" section.

Possible Fix

Add a dependancy on a stemcell as a  "download-product" to the release so that the platform automation tools are able to download the proper stemcell and run trough other steps of the deployments.

We can change our paltform automation pipeline so that it bypass the step in order to download the stemcell if no stemcell will be specified for this tile in the "download-product" section.

Steps to Reproduce

Use platform automation pipeline in order to install the current Azure 0.0.28 beta release.

Context
We are able to install the tile manually but not able to use platform automation in order to perform update/upgrades.
Your Environment

Version used: Cloud service broker for Microsoft Azure 0.0.28
Platform (Azure/AWS/GCP): Azure
Applicable Services:  Bosh 2.10.1 TAS: 2.10.3

@drebake The broker has no stemcell requirement as the default for the platform is sufficient. If you can fix your pipeline to skip stemcell install if none is specified, you should be in good shape.

Thanks @erniebilling for once again a quick prompt response!
We wanted to confirm that this was the case. before adapting our pipeline for this situation.

Hello @erniebilling ,
All the Vmware/Pivotal tiles have a stemcell associated on Pivnet.
For example, the tile Spring cloud services only deploys an app on PCF (like Cloud Service Borker) but if you check the tile on pivnet, you can see that a stemcell is associated.
I think it's better to have the same thing for Cloud Service Broker as well.
Could you please add the stemcell on the pivnet page?

we're on it! It's being worked now

Great news @omerbensaadon :)
Do you know when the pivnet page will be updated? We will be able to test our pipeline like this.

https://network.pivotal.io/products/cloud-service-broker
Check now! 0.0.34-azure-beta should do it for you

Hello @omerbensaadon ,
I just tried and I still have the same problem.

If you check the page on pivnet, we still don't see the stemcell:

If you compare with Spring cloud service:

@thanhdesjardins So that I can fully validate the change - what tool/CLI does your pipeline use determine the stemcell requirement for the tile? I've added the metadata to the tile.yml and the tile-generator spits out stemcell info, so I'm a little lost. I'll confer with the tile-generator team to see if I'm missing something.
name: cloud-service-broker-azure
label: Cloud Service Broker for Microsoft Azure
description: A cloud service broker for Microsoft Azure services
version: 0.0.34
sha1: False
stemcell: ubuntu-xenial 621

@erniebilling ,
We use the task download-product from platform automation toolkit:
https://docs.pivotal.io/platform-automation/v5.0/tasks.html#download-product
In the config file for the task we specify that the latest stemcell available for this tile is downloaded.
We have a generic code for all the tiles and modifying the workflow will make us creating a dedicated pipeline.
In fact I'm just asking for the stemcell to be available on the product page. (like the other tiles in fact)
Here is an example:

I guess you can ask the tile-generator team for this.

@thanhdesjardins Thanks, this helps. This is pulling information from Pivnet metadata, not out of the tile. We'll get this added to the Pivnet metadata.

@erniebilling ,
Thanks.
do you know when it will be available on pivnet metadata?

Working on it right now.

@thanhdesjardins @drebake should be fixed now?

@erniebilling , yes it works now.
Thanks for the quick fix!


Z80 and Z180 incorrect CPIR instruction decompile

Describe the bug
The CPIR instruction in z80.slaspec file has a logic error that inverts the end condition of the compare loop.
https://github.com/NationalSecurityAgency/ghidra/blob/master/Ghidra/Processors/Z80/data/languages/z80.slaspec#L656
The implemented instruction returns to the start of the compare loop if the compare result is 0, when it should only do so if the result is nonzero.
This screenshot shows the incorrect decompilation with senseless end condition for the while loop:

Expected behavior
The while loop should end with while (some_searched_byte != byte_under_test || i != 0);
Environment (please complete the following information):

OS: macOS 10.15.6
Java: 13.0.2
Ghidra Version: Running a fork from https://github.com/astrelsky/ghidra.git for support for jdk14, sleigh files from 5b112cf

@depili, can you check CPDR? Looks like same issue in it.

Yes, CPDR has the exact same issue on https://github.com/NationalSecurityAgency/ghidra/blob/master/Ghidra/Processors/Z80/data/languages/z80.slaspec#L686 it should be cmp != 0
The rom I'm currently working with doesn't use that instruction so didn't check that one.
I feel that the whole z80 slaspec could use an audit, for example the flags in F should be named as currently the decompilation with conditionals tends to get extra messy, but that is stuff for another issue / pull request.

Can this issue be closed or it is still affecting the decompilation?

The fix in #2437 looks good to me.


Support custom element states using closures

Need to investigate this a bit but I think we should be able to make the await and await(not functions really powerful by allowing people to provide their own custom state to wait for if any of the predefined ones are not useful for them (examples of predefined states are exists, hittable etc).
The State enum could have a custom case which takes an autoclosure that returns a Bool.
public enum State {

  case exists
  case hittable
  case visible
  case selected
  case enabled
  case custom(@autoclosure () -> Bool) // Autoclosure means you can pass in anything that returns true, but it'll be evaluated/executed later as a function call

}

The framework would then call that autoclosure (defined by the developers using TTK), and wait for it to return true:
/// In Element.swift's `determine(_ states` function
case .custom(let handler):
  guard underlyingXCUIElement.wait(for: handler(), timeout: timeout) else { return false }

And so the usage would be:
 // Do what you want here, you just need to return a true or false at the end. This could be really powerful! In this case, we're going to wait until the element has keyboard focus, since that isn't already natively supported in TTK as a State
textField.await(.custom(textField.hasKeyboardFocus))

I wouldn't expect this to be used a lot, but it keeps TTK flexible for everyone, rather than needing the framework to be updated to support new states.
That said, I do encourage people to add support for predefined states if they feel like they use them commonly used.

I'm actually not so sure about this now I've been playing around with it, I don't think it works particularly well with InteractionContext as it is. There might be some other options though


variant=CommonMark gets stripped from long_description_content_type

Minimal example:

setup.cfg:

[metadata]
name = example_project
long_description = file: README.md
long_description_content_type = text/markdown; charset=UTF-8; variant=CommonMark

README.md:

# Header

text

setup.cfg gets rewritten to:
[metadata]
name = example_project
long_description = file: README.md
long_description_content_type = text/markdown

This spec can be found here:
https://packaging.python.org/en/latest/specifications/core-metadata/#description-content-type

setup-cfg-fmt unconditionally assigns that value based on the detected content type of the readme file: https://github.com/asottile/setup-cfg-fmt/blob/d3e358c2db3d8e480b207a098ade06ee2381e3f5/setup_cfg_fmt.py#L374-L380


AsciiMath render intermittently not triggering in dropdown menu on iOS Safari

Hi, we're using AsciiMath for a new math learning website, bytelearn.com.
I'm encountering a recurring but not 100%-of-the-time issue where while using iOS Safari, if I open a dropdown menu (like for a combo box input) that uses AsciiMath in its fields, it doesn't always trigger the render, so my dropdown menu is left displaying the bare code, like "180" instead of rendering it in MathJax.
Thoughts or advice on workarounds (or fixes) to ensure the render happens?

This repo maintains the asciimath language.  It sounds like you're having a rendering question using MathJax, so the MathJax repo would be a better place to post your question.
That said, since HTML <select> doesn't support math, I'm assuming you're using a custom dropdown/combobox, probably from some framework.  Probably you need to see if that framework has a "on display" hook, and use the MathJax.typesetPromise function to trigger rendering after display.


chore: use singular story titles

For consistency, all component titles should be singular.

Preview environments are getting posted here, as soon as they are ready!


Switch foxglove client to using Requests.Session

Changelog
Increase performance when making multiple requests by using HTTP keep-alive.
Docs
None
Description
Switch from using raw requests methods to using a requests.Session object, which automatically uses keep-alive connections and connection pooling (as per https://docs.python-requests.org/en/latest/user/advanced/). This makes the client faster when making multiple API calls in succession, because it doesn't need to re-negotiate a TCP connection for each call. The session object can also hold the headers and use them for every request.
Tested with unit tests and examples/downloading_data.py

This looks great, thanks for making this improvement. @james-rms  can you think of any potential problems here? I couldn't see any.

Seems good - @rg-gravis please sign the CLA and we can merge.

Seems good - @rg-gravis please sign the CLA and we can merge.

sure - where is the CLA and how would you like me to sign?


CREATE TABLE AS with CASE

System information:

Operating system (distribution) and version: Mac OS 10.14.2
DBeaver version: Community Edition <IP_ADDRESS>902031804
Java version: 1.8.0_191-b12
Additional extensions: Exasol Support <IP_ADDRESS>902031804, DB2 Support <IP_ADDRESS>902031804

Connection specification:

Database name and version Oracle 12
Driver name JDBC:oracle:thin
Do you use tunnels or proxies (SSH, SOCKS, etc)? NO

Describe the problem you're observing:
When trying to use CREATE TABLE AS, if the SELECT statement has a CASE statement within it the statement/script bombs out with:
SQL Error [933] [42000]: ORA-00933: SQL command not properly ended
ORA-00933: SQL command not properly ended
ORA-00933: SQL command not properly ended
The same exact code can be run successfully in Oracle's SQLDeveloper
Steps to reproduce, if exist:
Running this statement fails in DBeaver:
CREATE TABLE temp01
AS
(
SELECT
CASE
WHEN 1>1 THEN 1
WHEN 1=2 THEN 2
ELSE 3
END AS "Example"
FROM DUAL
);
Running this does not fail in DBeaver:
CREATE TABLE temp01
AS
(
SELECT
3 AS "Example"
FROM DUAL
);
Include any warning/errors/backtraces from the logs

2019-02-12 13:14:34.813 - Error binding callable statement parameters from metadata: Unsupported feature
2019-02-12 13:14:34.814 - Error extracting parameters meta data: Unsupported feature
2019-02-12 13:14:34.998 - null
org.jkiss.dbeaver.DBException: SQL Error [933] [42000]: ORA-00933: SQL command not properly ended
at org.jkiss.dbeaver.model.DBUtils.tryExecuteRecover(DBUtils.java:1665)
at org.jkiss.dbeaver.ui.controls.resultset.ResultSetJobDataRead.run(ResultSetJobDataRead.java:100)
at org.jkiss.dbeaver.model.runtime.AbstractJob.run(AbstractJob.java:101)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

Caused by: org.jkiss.dbeaver.model.exec.DBCException: SQL Error [933] [42000]: ORA-00933: SQL command not properly ended
at org.jkiss.dbeaver.ui.editors.sql.execute.SQLQueryJob.extractData(SQLQueryJob.java:840)
at org.jkiss.dbeaver.ui.editors.sql.SQLEditor$QueryResultsContainer.readData(SQLEditor.java:2690)
at org.jkiss.dbeaver.ui.controls.resultset.ResultSetJobDataRead.lambda$0(ResultSetJobDataRead.java:102)
at org.jkiss.dbeaver.model.DBUtils.tryExecuteRecover(DBUtils.java:1633)
... 3 more

Caused by: org.jkiss.dbeaver.DBException: SQL Error [933] [42000]: ORA-00933: SQL command not properly ended
at org.jkiss.dbeaver.model.DBUtils.tryExecuteRecover(DBUtils.java:1665)
at org.jkiss.dbeaver.ui.editors.sql.execute.SQLQueryJob.executeSingleQuery(SQLQueryJob.java:400)
at org.jkiss.dbeaver.ui.editors.sql.execute.SQLQueryJob.extractData(SQLQueryJob.java:835)
... 6 more

Caused by: org.jkiss.dbeaver.model.exec.DBCException: SQL Error [933] [42000]: ORA-00933: SQL command not properly ended
at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCStatementImpl.executeStatement(JDBCStatementImpl.java:140)
at org.jkiss.dbeaver.ui.editors.sql.execute.SQLQueryJob.executeStatement(SQLQueryJob.java:458)
at org.jkiss.dbeaver.ui.editors.sql.execute.SQLQueryJob.lambda$0(SQLQueryJob.java:402)
at org.jkiss.dbeaver.model.DBUtils.tryExecuteRecover(DBUtils.java:1633)
... 8 more

Caused by: java.sql.SQLSyntaxErrorException: ORA-00933: SQL command not properly ended
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:450)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:399)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:1059)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:522)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:257)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:587)
at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:210)
at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:30)
at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:931)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1150)
at oracle.jdbc.driver.OracleStatement.executeInternal(OracleStatement.java:1792)
at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:1745)
at oracle.jdbc.driver.OracleStatementWrapper.execute(OracleStatementWrapper.java:334)
at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCStatementImpl.execute(JDBCStatementImpl.java:344)
at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCStatementImpl.executeStatement(JDBCStatementImpl.java:137)
... 11 more

There is no problem for PostgreSQL for
CREATE TABLE temp01 AS
( SELECT CASE
WHEN 1>1 THEN 1
WHEN 1=2 THEN 2
ELSE 3
END
AS "Example" );

It seems the problem is in Oracle jdbc structures. The point of problem is jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:931)
I think its useful to send/escalate bugreport to oraclejdbc tracker.

Oracle requires some statements to be sent to the database with a trailing ; while others need to be sent without the trailing ;. DBeaver tries to understand what kind of statement this is and remove the semicolon if the driver will have issues, but sometimes fails and removes semicolons where they are needed or vice-versa. As a workaround you can select the whole statement including ; and execute it. If it doesn't work, try to select the whole statement excluding ; and execute it.

I've been able to somewhat get around this by doing as was suggested, selecting the statement without the semicolon and executing it but when I'm working collaboratively on code written by others it's a real pain.
Is there any chance of DBeaver addressing this in an update? If the statement is CREATE TABLE * AS and the driver is Oracle then drop off the semicolon?


Does not work with ubuntu tomcat9 installation

I have installed tomcat 9 with the default ubuntu repositories and set the plugin configuration to /usr/share/tomcat9/ which is identified correctly

when I try to run the project I initially get
Error running 'run': /home/user/.SmartTomcat/ProjectName/com.xyz.abc/conf (Is a directory)
I tried to delete the folder but it gets recreate every time.
When I converted conf to a file, I then get the error:
Error running 'run': /usr/share/tomcat9/conf (No such file or directory)
if I set tomcat to /var/lib/tomcat9/ I get:
Error running 'run': The Tomcat installation configured doesn't contains a bin folder
Is this a bug or is it related to how ubuntu sets the tomcat folders (different folder for bin and conf)?

@jimkont for ubuntu repositories  installation,  tomcat conf folder will install in /etc/tomcat9  instead of %tomcat_home%/conf.
the plugin will find %tomcat_home%/conf, but not found it.
the solution as below:
you can copy /etc/tomcat9 to %tomcat_home%/conf or
you can donwload tomcat9.zip instead of apt-get installation.

thank you for the prompt support and the suggestion
I attempted to create symbolic links to resolve this but was getting permission issues. So, decided to use a separate tomacat zip and it works fine now


Remote form and AJAX request redirects never run events

I spent a lot of time reviewing the code and it's quite confusing to me why the Rack::Tracker#call method does this swap of moving the tracker hash in and out of the session. Because of this, if the request is not HTML, the tracker never gets stored in the session. Another question I have is why not just store the tracker hash in the session from the start? This swapping from env['tracker'] to the session['tracker'] just seems overly complex and I can't understand the purpose.
From what I can tell this seems to be the cause that remote forms and any AJAX request that redirects never get the events executed in the next HTML request. Since the Rack::Tracker#call method returns unless the request is HTML the env['tracker'] never moves into the session['tracker']. This means the events are just lost.
It appears #79 brings this issue up and #133 brings up a possible solution. #133 would be the most ideal solution but it's likely a pain and requires additional templates for every handler.
Right now I'm working on making this work using just the session and I'll submit a pull request. Just wanted to get the discussion started on this since I'm not sure why the session wasn't always just directly used.

Hi @jclusso!
Thanks a lot for taking the effort.
To be honest, I don't know exactly "why", but this library evolved from a former google analytics integration, trying to unify all the snippets into one place.
I guess the architectural decisions just went over here without big reconsiderations.
But nonetheless thanks for challenging that.
We will try to review the PR as soon as possible.
Could you already run this change in a production environment?

Hey @DonSchado, it’s being used in production already. I think I fully figured out how everything works and I got the tests to pass. I wouldn’t say I’m 100% confident until someone that has some more experience with this library does a review.


Many commands have different names in the keyboard shortcut editor in prefs vs. in the actual UI/menus

Problem Description
I've noticed that many keyboard shortcuts have different names in the shortcut mapper in the preferences, compared with those in the actual UI/menus It would seem prudent to just have them use the name string both places, preferably defined only one place, or at the very least with the name strings harmonized between the two. The result of the current status quo can be considerable user confusion and frustration, to say the least.
For some reason I'd mapped the file explorer to Alt-5, and since Spyder doesn't seem to treat Numpad keys differently with Alt as it should, I kept bringing up file explorer when trying to type an Alt code, and then was even more frustrated when I kept searching for it to change it and coming up empty, since for some strange reason the "File explorer" menu command is "switch to explorer" in the shortcuts mapper, despite there being three other "explorers" named, Variable-, Project- and (even worse, since its only called "Outline" in the actual UI) Outline-, all of which are arguably more useful and central features.
These individual issues aside, is there really a compelling reason not to just have one string name for each command that's used everywhere, vs. maintaining two separate sets of names that invariably get out of sync and cause confusion like this? If that's not practicable/desirable, we should at least bring the two into sync...and perhaps some mechanism in the tests to ensure it stays that way?

These individual issues aside, is there really a compelling reason not to just have one string name for each command that's used everywhere, vs. maintaining two separate sets of names that invariably get out of sync and cause confusion like this?

Translations. I mean, to have the same names in the Shortcuts entry in Preferences and in the rest of the interface, we need to make all entries in Shortcuts translatable.
This needs to be solved as part of the shortcut sets project for Spyder 4 (it's one of its first tasks, actually).


docs: remove nuxt.config section in Installation

Linked Issue
related #258
Description
nuxi module add section has been added for Nuxt Sitemap in #258 issue.
nuxt.config is automatically added by Nuxi, so I removed (2).

Hi @harlan-zw , please review when you have a time.
Thank you for continuing to develop the modules necessary for SEO. ❤

Thanks!


TD-3228 Create ProptotypePreview component

Closes TD-3228
Contributes TD-3196
Changes

A brief description of what this pull request solves / introduces.

Creates a new component PrototypePreview
Updates the StatusIcon component to expose the padding prop, so this can be adjusted
Updated the StatusLabel component to expose the gap prop, so this can be adjusted.
Updates the tests for StatusIcon and StatusLabel to test the added functionality
Adds tests for PrototypePreview

Maybe a short description of what is not included and will come in future work where appropriate.
Dependencies

UI/UX
FIGMA
Default light:

Default dark:

Overflow:

Testing notes

Load up the storybook from the CI/CD GitHub process. Navigate to PrototypePreview
Make sure the component matches the FIGMA
Play around with the entries to the component. Make sure that all text overflow is controlled. Long text should truncate and nothing should clash.
Make sure clicking on the Prototype name opens a link in a new tab.

Author checklist
Before I request a review:

[x] I have reviewed my own code-diff.
[x] I have tested the changes in Docker / a deploy-preview.
[x] I have assigned the PR to myself or an appropriate delegate.
[x] I have added the relevant labels to the PR.
[x] I have included appropriate tests.
[x] I have checked that the Lint and Test workflows pass on Github.
~- [ ] I have populated the deploy-preview with relevant test data.~
[x] I have tagged a UI/UX designer for review if this PR includes UI/UX changes.

@Sowbhagya-ipg can you please check and confirm that the PrototypePreview component works and looks as expected?

Can you reduce the row gap from 16px to 8px?  @AronPetrauskas

Can we also remove tooltip on the name and description. @AronPetrauskas

Sorry closed the PR by mistake. 🤦🏻♀

Looks good @AronPetrauskas

Changes since last review:

ScenarioPreview was not being exported, fixed that.
PrototypePreview quality props had to be extended to match the ones it gets in VIRTO
The Name of all the three preview cards had an anchor tag that was expanding past the text of the name, this was fixed.
LinkWithPreview component was adjusted to allow passing whiteSpace: "normal" via sx to allow wrapping.
Quality prop on PrototypePreview was made optional
Fixed Date and User not aligning centered on ScenarioPreview

This PR will remain open until the two following VIRTO PR's are approved

https://github.com/IPG-Automotive-UK/virto/pull/1242
https://github.com/IPG-Automotive-UK/virto/pull/1257

This is so that any UI changes requested as part of the review process can be addressed in this PR.


Set job back to queued if no agent working on it

Coverage decreased (-0.16%) to 65.48% when pulling fec29ec72805c42d68d95badbb8942754b1405f3 on guidow:job_back_to_queued into d8d3d8ffab773995ad3a5c7bbd9e1ee03378b681 on pyfarm:master.


Asses GraphQL IDL

Does schema first development make sense?

Port manual GraphQL object schema definition to https://github.com/apollographql/graphql-tools

Created a pull request.
I've added another damn simple resolver just as an example to show resolvers' merging. No tests, no even interfaces, sorry. Please have a look. If it is a right direction, I can make it a little more complex.


[Feature] Add an e2e test for K8s Job submitter failures

Why are these changes needed?
Add an test for https://github.com/ray-project/kuberay/pull/2579.

Create a RayJob
Wait for the Pod created by the K8s Job submitter to be ready
Let the Pod to run for a while (e.g. 15s)
Delete the Pod
The K8s Job should create another Pod
The RayJob should eventually succeed.
The RayJobDeployment eventually complete.
(Add this according to the issue https://github.com/ray-project/kuberay/issues/2154)

Related issue number

Close #2655
Checks

[X] I've made sure the tests are passing.
Testing Strategy

[X] Unit tests
[X] Manual tests
[ ] This PR is not tested :(

cc @rueian would you mind reviewing this PR? Thanks!

LGTM.
I just also come up with a new idea of not relying on the sleep operation but using the named actor for this e2e test: the job script can exit with an manual error after registering a named actor to Ray and later being restart by k8s it can exit normally as the named actor is already registered.
This way we don’t need to wait for 15 seconds to delete the pod and 1 more minute for job completion.
What do you think @simotw, @kevin85421? Maybe this can be another PR.

Sorry, please ignore the above idea. It doesn’t make submitter fail.


Fixed example building.

Add use_frameworks! to Podfile to example building because FBSnapshotTestCase is used Swift Pod.

:+1:


protontricks: 1.6.1 → 1.6.2

Motivation for this change
Update to the latest version: https://github.com/Matoking/protontricks/releases/tag/1.6.2
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/)

Verified with bwrap container (default behaviour)
Verified without bwrap container (--no-bwrap)

21.11 Release Notes (or backporting 21.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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

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

1 package built:

protontricks

Should we backport this to release 21.11 :thinking: ?

Hmm, that's a good question. I was under the impression that we should only backport to fix a broken build / apply security patches, but it looks like https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md#criteria-for-backporting-changes says that any non-breaking updates are also ok too.

Hmm, that's a good question. I was under the impression that we should only backport to fix a broken build / apply security patches, but it looks like https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md#criteria-for-backporting-changes says that any non-breaking updates are also ok too.

Considering that this doesn't seem to have any breaking changes I would say that it is better to backport it.

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

1 package built:

protontricks


Create Blackouts Team Page

Moving back - Team Pages will be worked with by each team - Pages will be made after announcement or with Blackouts team and then adapted to others