Nostr address [NIP-05] Positive Interoperability Tracker

nip-05 spec: https://github.com/nostr-protocol/nips/blob/master/05.md
nip-05 emphasis proposed best practice: https://github.com/nostrability/nostrability/issues/143

app
Read
Edit
Emphasis UI
comment

ditto
✅
✅
✅
see @alexgleason best practice proposal

damus
✅
✅

amethyst

coracle

nostrudel

I want to make one more addendum to the proposal: think clients like Damus who host accompanying web services already (damus.io, relay.damus.io) should offer NIP-05 usernames as part of the onboarding flow for the app. That way it increases the accessibility of NIP-05 names, so people don't have to jump around obscure and buggy third-party NIP-05 services. It would also make client userbases more visible which I think would be a win for clients.

In general I am supportive. However botspam and malicious actors may abuse this. How might we propose the onboarding best pratice of nip-05, while anticipating malicious use and botspam?
Does ditto.pub provide nip-05 to every user? Only paid users?

Good point. This is a serious concern for Ditto, because having a NIP-05 gives the user special powers. We went to great lengths to prevent abuse. But I think it matters a lot less on native apps like Damus.
The worst things people can do:

Squat on usernames other people want.
Try to impersonate famous accounts.

To prevent squatting, IP rate limiting is probably good enough. Squatting is not that bad, and  we can always revoke their names afterwards if it's a problem.
As for impersonation, people are already doing successful impersonation by just using npubs. I believe this problem would actually be improved by emphasizing nip05. jb55.com is clearly the real one, and names like<EMAIL_ADDRESS>should be reserved so other users can't claim it. Then realjb55.com looks suspicious. Meanwhile npubs all look pretty much the same.
Moderation of NIP-05 names is possible by the service (domain) that offers them. NIP-05 names can be revoked after the fact. The only harm it does to the user is that clients would stop displaying the NIP-05 with the account.

Nos places emphasis on nip-05
@setch-l any recommondations and/or observation on nostr address best practice? Do I correctly recall you were to propose a related NIP update?

That screen from nos looks wonderful!


How to properly sort the content?

Currently using this code (by update). But it does not work.
function onStart() {      $this['items'] = \Mavitm\Estate\Models\Realty::where('published', '=', '1')->orderby('updated_at', 'desc')->get(); }

The order method is orderBy not orderby.

Is it possible to add sorting in the component !? Now there is no sorting.

I might add it later this week. No promises though.

Hi
I added options to the list component for sorting


Trigger Google Analytics event when navbar "chat" button clicked

We are trying to figure out how frequently the navbar chat button is clicked.

I think I can do this. The file located here has the chat opening functionality. If I need the analytics.js library to trigger an event, is it okay for me to put an import statement at the top of this file, or is the library already available for use?

@sthodup1 made this change before realizing you were planning to do this.  Sorry about that.  If you've got a change already in place I'll withdraw the PR.

@jondcoleman no worries. I haven't made the change already


Updated project to Swift 5.0

Protocol conformances to public protocols must conform to methods with a public identifier as well
Changed podspec file to update Swift version as well

Thank you for contributing. You need to change the swift verison in the .swift-version file in the root directory as well.

@kizitonwose I was going to change that, but I wondered why it wasn't updated for Swift 4.2, so didn't change it.

I think it's only necessary for major swift releases. I'm not sure though.
By the way, I wonder if it's best to release this swift 5 update on a separate branch for now. I guess not many people have updated their projects to swift 5 at this time.

I think it makes sense to branch out. It also depends on if you have new features to push out and would like it to be available for the Swift 4.2 version. If not you can always tag the latest Swift 4.2 version and then do a major increment version and tag that for Swift 5.0 and while doing a pod install a developer could mention the version of 4.2 or 5.0 depending on their needs. However, I do have to mention I'm not entirely sure if this scheme works as I just recently released my first ever pod.

CocoaPods and Carthage handle dependency version resolution pretty well. I think releasing separately makes sense as well. I'll do that in the coming days.
Once again, thank you for the PR.


Fix keyboard layout detection

On google chrome inside a cross origin Iframe (or an iframe without the keyboard-map permission), it currently doesn't fallbacks on the keyboard event to detect the layout map.
Also, the delay introduced by each failing call to getLayoutMap was making the fallback used too late and not working for the first time a key is used

Thank you!


Nothing wrong but

Some more questions. Will this work?
https://banggood.app.link/yPmRiiZNdM
What do I need to solder? And if I need external power how do I do that? Just link everything I need😀 Preferably on banggood

Duplicate of https://github.com/toblum/McLighting/issues/139 Closing.


Support/Resistance Lines

Utilize some variant of extrema clustering to identify support/resistance lines within historical data

This is really useful. I had a go at it based on this: https://github.com/nakulnayyar/SupResGenerator/blob/master/Support Resistance.ipynb


docs: add note about installing direnv with pixi

Hey @pavelzw I recently made sure that direnv is available for all conda-forge platforms :) Maybe you have additional thoughts on the commands to run for installation?

Did you try whether all this also works on Windows? I tried it out once, hit a roadblock (i think while installing direnv; something with powershell permissions iirc) and didn't investigate further.

Didn't test Windows. I just made sure that the cross-compiled osx-arm64 build works fine.

We might also want to link to this: https://direnv.net/docs/hook.html

I can't get it to work on my windows machine. Their hook doens't seem to work for me. Even why I install it with winget. So not sure how to continue testing. Do you guys have the ability to test it on windows.

I think this is a purely positive change - Windows support can be tackled (or not) at another point in time :)


MyBusiness APIs without user prompt

Is there a possible way with which the libraries can be instantiated without a user prompt? We need to run the service in the background without user intervention. Thanks.

Got my answer here https://stackoverflow.com/questions/64212223/google-my-business-how-to-generate-access-token-without-user-interaction

@subhasniveus can you share some code or repo for the reference?


Update README.md with @grpc/grpc-js

It looks like dgraph-js is using @grpc/grpc-js and not grpc. Using grpc in my project resulted in TS errors of type mismatch, changing to @grpc/grpc-js solved it. Updating the README to reflect this.

Comment to keep open


Revert "Revert "Fix for IDENTITY-3811""

Reverts wso2/carbon-identity#1154
This is to revert the revert process..

Do not close this


Update Rating implementation, Update to DNA 5.9.0

Description
Updates Rating component based on prototype in #30
Uses DNA 5.9.0 to get the new tokens.
This introduces a new state class on spectrum-Rating-icon. In addition to is-selected, one must set is-currentValue on the star that represents the currently selected value. This is to enable the underline beneath the last selected star when hovering to change the rating. If this class is omitted, the component still renders correctly (sans the underline), so therefore this change is backwards compatible. Implementations will need to be informed of this change, however, so they can have full design compliance.
Related Issue
#41
Motivation and Context
So much prettier.
How Has This Been Tested?
iScrolled.exe
Screenshots (if appropriate):

Types of changes

New feature (non-breaking change which adds functionality)

@GarthDB if you can give this a quick once-over, it should be an easy merge.


feat: login by code

@seriouszyx plz review

@seriouszyx plz review

@Abingcbc can you provide a demo link?

@Abingcbc plz fix:


No toggle in home app

I see washer in android home app (with a gear on right top)  when i click on it it goes to device settings. There is nothing about on-off, turbo etc.
Is this normal?

Same problem here : https://support.google.com/googlehome/thread/570067?hl=en

Yes this is the current expected user interface.

Ok, how can i add on-off? Is it possible?

The touch controls documentation lists the traits that have touch controls.

@Fleker
So we control only these Supported device types
Camera
Light
Lock (Smart displays only)
Outlet
Switch
Thermostat
Supported traits
CameraStream
OnOff
TemperatureSetting
Please add more types like shutter, curtain, blind devices with adjustable percentage like brightness of light. For example a window shutter can be opened in 10 seconds. If i adjust it to %80 it works 8 seconds and shutter state will be %80 opened/closed.

I really want to help for Turkish language translation if you want. Home app doesnt support all languages so adding more touch controls will solve language problem.

I have a 4 gang switch (one device), how can i add one device with 4 switches?
I worked on homekit devices and every device can be really controlled with touch.

If you have one device with four switches, it may be preferable to add them as four independent switches for easier control.


chore: upgrade eslint

rm -r node_modules
npm uninstall eslint
npm install eslint

:tada: This issue has been resolved in version 0.7.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


skip-blank-lines option

fixes #16

I think this should probably also omit lines that are all whitespace, not just empty lines.

@webner One regression, but this will be nice feature to add.

Are there downsides to this? Otherwise I suggest reversing the flag, and make this the default (I.e. Rename the flag to --keep-blank-lines) :+1:

The downside is that it could be a breaking change if anyone has managed to
use docker-gen in a setup that has significant whitespace.

In that case, the --keep-blank-lines option provides a way out. Sure, it should be mentioned in the release note as a "potentially breaking change"

@thaJeztah I hadn't thought about the fact that docker-gen is actually versioned (and with a 0.x version no less), so perhaps that would be reasonable.

I like the idea of making it the default and renaming the option to --keep-blank-lines
@jwilder what do you think?

@webner sounds good

Latest diff LGTM

I just realized that the updated code will not preserve the original line endings in the template file. Could that be a problem?

I will change it so that it will preserve the line endings

That looks fine as long as nobody uses super old-school \r only Mac files.

as long as nobody uses super old-school \r-only Mac files.

If they are, they are just doing it wrong, so :+1:

If you use \r line endings at least it won't break your output and leave it as-is. ;)

:+

I just found out that a change has been committed for text/template to allow trimming whitespace: https://github.com/golang/go/commit/e6ee26a03b79d0e8b658463bdb29349ca68e1460
I'd still like to see this change here merged, but I'm glad to see that better whitespace control is coming to a future Go version.

I can't seem to get this to generate a file to disk anymore.
$ docker-gen ./templates/nginx.tmpl /tmp/nginx
2015/09/12 15:57:12 Contents of /tmp/nginx did not change. Skipping notification ''

But I don't have a /tmp/nginx file on disk before or after I run this.

are you sure you tested the latest commit?
$ git status
On branch skip-blank-lines
Your branch is up-to-date with 'webner/skip-blank-lines'.
nothing to commit, working directory clean

$ git rev-list HEAD --max-count=1
480ed4c970db560211833c24e5199bcad786eb34

$ make
Building docker-gen
# github.com/jwilder/docker-gen
link: warning: option -X main.buildVersion 0.4.0-12-g480ed4c may not work in future releases; use -X main.buildVersion=0.4.0-12-g480ed4c

$ ./docker-gen ./templates/nginx.tmpl /tmp/nginx
2015/09/15 11:24:09 Generated '/tmp/nginx' from 0 containers

$ ./docker-gen ./templates/nginx.tmpl /tmp/nginx
2015/09/15 11:24:13 Contents of /tmp/nginx did not change. Skipping notification ''

$ rm /tmp/nginx

$ ./docker-gen ./templates/nginx.tmpl /tmp/nginx
2015/09/15 11:24:21 Generated '/tmp/nginx' from 0 containers

$ cat /tmp/nginx
server {
        listen 80 default_server;
        server_name _; # This is just an invalid value which will never trigger on a real hostname.
        error_log /proc/self/fd/2;
        access_log /proc/self/fd/1;
        return 503;
}

I sure welcome this pull request!
@jwilder Could it be quickly merged, and a new docker-gen image created? Thanks!

Thanks @webner!

@jwilder Time for 0.5?


TypeError in ng2-bootstrap.umd.min.js

Running Angular 2.4.4 and ng2-bootstrap 1.2.6, I have this error. Can anyone tell me what to do? Thank you very much! Fred
ng2-bootstrap.umd.min.js:10 Uncaught TypeError: Cannot read property 'Output' of undefined
    at Object.<anonymous> (ng2-bootstrap.umd.min.js:10)
    at t (ng2-bootstrap.umd.min.js:1)
    at Object.t (ng2-bootstrap.umd.min.js:9)
    at t (ng2-bootstrap.umd.min.js:1)
    at Object.i.__decorate.r (ng2-bootstrap.umd.min.js:10)
    at t (ng2-bootstrap.umd.min.js:1)
    at Object.<anonymous> (ng2-bootstrap.umd.min.js:18)
    at t (ng2-bootstrap.umd.min.js:1)
    at ng2-bootstrap.umd.min.js:1
    at ng2-bootstrap.umd.min.js:1
    at ng2-bootstrap.umd.min.js:1
    at ng2-bootstrap.umd.min.js:1

That's uncommon, can you provide a Repo so I could reproduce.
PS if you are just starting, switch to angular-cli

Found the issue. Im getting the same problem.
ng2-bootstrap.umd.min.js
JavaScript runtime error: Unable to get property 'Output' of undefined or null reference

need a repo, to reproduce

here is the repo:
https://github.com/Open-Antwerpen/open-bestuur/tree/isolate-bug

+1

Here's a plunker: https://plnkr.co/edit/DepB3f7fVZRI79VRXtOL?p=preview
Edge gives the output error, Firefox something about core_1 is undefined

Hello - I have a very simple plunker using modal that works with<EMAIL_ADDRESS>fails with<EMAIL_ADDRESS>and<EMAIL_ADDRESS>I did not try with any other versions.

Any updates on this error? I run Angular 2.4.4. Still get a
Uncaught TypeError: Cannot read property 'Output' of undefined
Thank you, Fred

This is your build system issue, I have seen this issue couple of times, bit clean install and update to latest angular usually helps

here is plunker https://plnkr.co/edit/kYUonyMQkoAp4mLvxlsR?p=preview
working fine with 1.3.3
thing is:

you need to call .forRoot()
updated version of typescript, zone.js, reflect metadata

Still getting the same issue after following your instruction. Here's my package.json.
{
"version": "1.0.0",
"name": "opengamelistwebapp",
"private": true,
"dependencies": {
"@angular/common": "2.4.4",
"@angular/compiler": "2.4.4",
"@angular/core": "2.4.4",
"@angular/forms": "2.4.4",
"@angular/http": "2.4.4",
"@angular/platform-browser": "2.4.4",
"@angular/platform-browser-dynamic": "2.4.4",
"@angular/router": "3.0.0",
"@angular/upgrade": "2.4.4",
"core-js": "^2.4.1",
"reflect-metadata": "0.1.10",
"rxjs": "5.0.0-beta.6",
"systemjs": "^0.19.37",
"typings": "^1.3.2",
"zone.js": "0.8.4",
"moment": "2.17.1",
"ng2-bootstrap": "1.4.0"
},
"devDependencies": {
"gulp": "^3.9.1",
"gulp-clean": "^0.3.2",
"gulp-concat": "^2.6.0",
"gulp-less": "3.3.0",
"gulp-sourcemaps": "^1.6.0",
"gulp-typescript": "^2.13.6",
"gulp-uglify": "^2.0.0",
"typescript": "2.2.1"
},
"scripts": {
"postinstall": "typings install dt~es6-shim --global"
}
}

I do have the same kind issue, but at Runtime, using Angular Cli and ngx bootstrap with .forroot().


heat_wave_index

heat_wave_index too close to heat_spell in "thresholds"

Woul exactly do you mean with this comment and would should we change in your opinion?

Hot_spell (Tmax > 30); Heat_wave (Tmax >27, Tmin>22).    We need to have heat_wave_frequency, heat_wave_max_length, and heat_wave_total_length ... which give us information on frequency, intensity and duration of events.
In "threshold_file" we found the heat_wave_index 'contradicted' the Heat_wave def'n above, but sounded like Heat_spell


Home page not load in safari

I try to run 'yarn dev' on master, the build went well, but home page not loaded,  safari complains this line as syntax error:
https://github.com/rancher/dashboard/blob/40afad6ccda7b1c893f80a4378ce502cc488b213/shell/edit/workload/index.vue#L41
Safari error:
SyntaxError: Invalid regular expression: invalid group specifier name
            var match = error.match(/(?<=\")(.*?)(?=\")/gi);  --->  Invalid regular expression: invalid group specifier name

firefox load without issue though.

Positive lookbehind is not supported in Safari, that's why. Going to rewrite the RegEx with something else.

test and works


Allow choosing of what mechanics raidboss will call out regardless of which job you currently are

I use cactbot with my raid group using Yukkuri on discord to call out mechanics.  I was hoping there could be something added to cactbot, such as a "raid group" mode which would enable the calling out of all mechanics regardless of which job the person running it is on.  I have enabled this myself by commenting out the conditional lines in specific fights, but every update overwrites my changes.
Perhaps a toggle that disables all the "on you" triggers and enables everything else?  Just a thought

Sorry, cactbot triggers are intended for individuals and not for group callouts.  There was for a long time a "groupTTS" field on triggers, but nobody ever ended up using it.  It's a lot of work to write triggers at all, and nobody is thinking about every trigger in this different "group mode".
My feeling is that people on PC should just use ACT themselves.  People not on PC should have somebody in the group do https://github.com/quisquous/cactbot/blob/main/docs/RemoteCactbot.md so that they can get dps meters and raidboss and whatever else they want.
You shouldn't update cactbot files themselves, as this no longer works. (See the last month of release notes for more information).  Instead, you should update user files as per https://github.com/quisquous/cactbot/blob/main/docs/CactbotCustomization.md#user-directory-overview

Why would you want your bot to call out mechanics for specific players/roles like "prey on YOU" and "get drainage tether" for everyone in the voice channel? That would just confuse everyone and likely result in deaths/wipes.
Also, in some fights mechanics happen very fast. Discord bots play TTS messages asynchronously, so mechanic callouts for every player and role would eventually get backed up resulting in callouts not happening until after the mechanic is over which defeats the intended purpose.
Either way is bad.  You should be wanting to avoid unnecessary mechanic callouts. The less noise in voice chat the better.

#2076 is also trying to get at this, so I'm going to close this, and follow up in that conversation.

Oops, #2660 is about displaying the condition, not overriding it.  I'll leave my thoughts that I accidentally left on that issue here:
I am somewhat wary about this doing this in any generalized way, as conditions can have logic in them or are used to select one of several mutually exclusive triggers to fire.  So, blindly overwriting the condition function might cause some hard to track down bugs in some cases.  It's why I've avoided doing this in the past.
One option I've thought about in the past is adding some trigger field like cannedCondition: 'isTank', where we have a multiple choice set of conditions and then for such triggers in the ui you could pick from a list.  Unfortunately, there are many cases (e.g. inside of responses) that overwriting or replacing the condition itself won't be enough for users to be able to see them.  I think updating the condition function alone is somewhat of a dead end.
At a higher level, my question is: which triggers do people want to see that they can't see now, and what can we do to enable that.  In my opinion, what people ask about the most is probably tank busters, raidwide aoes, and tank abilities (invulns/provoke/frog legs/etc).  Maybe there are other things, but this is my understanding.  See: #2076.
A couple of ideas:
(1) Just turn everything on for everybody.  Long ago, there wasn't a config ui, and so it was hard to turn on or off various triggers.  Now that you can, if you don't care about raidwide warnings, you can turn them off.  I could see an argument where cactbot moves towards defaulting to showing everything to everybody and letting people turn it off themselves.  This also means rewriting triggers to show callouts that we previously would have omitted, and removing some condition functions.
(2) Add more options, use helper functions more.  Use more caresAboutX style functions to determine if we should show callouts for mechanics that don't apply.  Then add some raidboss options that say "I care about aoes, even if I can't do anything about them" or "please show me tank stuff".  Then we check those options in caresAboutX helper functions, and triggers get rewritten to use helper functions as much as possible.

Friend of mine was bothered that he doesn't get AOE callouts even though he's playing a rdps, and then I found out that caresAboutAOE doesn't check for rdps, the closest issue I could find is this one.
I think it'd be great if we had a way to override those conditions, or at least change the AoE condition because as far as I know, you have DNC's Shield Samba, BRD's Troubadour and MCH's Tactician that mitigates AoEs.

This should be fixed by #3432.


[BEAM-7115] Fix metrics being incorrectly gathered

Write pipeline result was neglected which resulted in incorrect metrics values. Fix for that issue was implemented, as well as small refactor.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Choose reviewer(s) and mention them in a comment (R: @username).
[x] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[x] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
Post-Commit Tests Status (on master branch)

Lang
SDK
Apex
Dataflow
Flink
Gearpump
Samza
Spark

Go

---
---

---
---

Java

Python

---

---
---

XLang
---
---
---

---
---
---

Pre-Commit Tests Status (on master branch)

---
Java
Python
Go
Website

Non-portable

Portable
---

---
---

See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.

@lgajowy @mwalenia
Could you review or tag someone who would be suitable? Thanks!

Run Java TFRecordIO Performance Test

Run Java TFRecordIO Performance Test

@pawelpasterz I think we need to wait a bit for resolution of the Jenkins test problem. When that's done we'll tag a committer and merge it :)

Run Java TFRecordIO Performance Test

Run Java TFRecordIO Performance Test

Retest this please

Obbey damn jenkins !

Run Java TFRecordIO Performance Test

@iemejia Can you rerun Java Precommit? There were some test failures unrelated to the changes here.

run java precommit

Run Java PreCommit

retest this please

For some reason, phrase triggering of retest this please doesn't show tests run here but it run and tests passed (especially previously failing Java PreCommit):
https://builds.apache.org/view/A-D/view/Beam/view/PostCommit/job/beam_PreCommit_Java_Commit/9588/

Run Java PreCommit

Run Java PreCommit

Looks ok - it's saving metrics to BigQuery. Merging. Thank you @pawelpasterz


[Bug]: Missing resource keyword in the completion list for client object constructor

Description
After the adding of the client resource function feature resource keyword should added to the completion list of the client object constructor.
Steps to Reproduce
No response
Affected Version(s)
2201.2.0
OS, DB, other environment details and versions
No response
Labels
LanguageServer
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response

same  as https://github.com/ballerina-platform/ballerina-lang/issues/37687


Question mark in URL renders as broken link in Markdown

Gitea version (or commit ref): 1.13 - 1.15-dev
Database (use [x]):

[x] MySQL

Can you reproduce the bug at https://try.gitea.io:

[x] Yes https://try.gitea.io/fnetx/everything/issues/1

Description
As a user on Codeberg pointed out a while ago, adding a question mark in a URL makes Gitea add a = sign at the end whcih breaks the url, see https://codeberg.org/Codeberg/Community/issues/292 (and originally https://codeberg.org/Codeberg/Community/issues/249#issuecomment-79991)
I didn't find this reported anywhere (although I found it's somehow hard to search for this if no one spelled out question mark and or equals sign), and it's still reproducible.

Should rename the issue that this relates to the Markdown renderer. It was not immediately clear to me.

OK it appears that the = is being added by the bluemonday Sanitizer.

Likely at:
https://github.com/go-gitea/gitea/blob/477c4530e48c072aa3d02c9e62c8428768c443e6/vendor/github.com/microcosm-cc/bluemonday/sanitize.go#L168-L179
Bluemonday has made the common but actually non-compliant assumption that the query component must contain key=value pairs.

Bluemonday has made the common but actually non-compliant assumption that the query component must contain key=value pairs.

Ugh, yeah that is a very bad assumption.

Now the following patch will handle that assumption:
diff --git a/vendor/github.com/microcosm-cc/bluemonday/sanitize.go b/vendor/github.com/microcosm-cc/bluemonday/sanitize.go
index 99559bbab..f4ec4126e 100644
--- a/vendor/github.com/microcosm-cc/bluemonday/sanitize.go
+++ b/vendor/github.com/microcosm-cc/bluemonday/sanitize.go
@@ -124,8 +124,9 @@ func escapeUrlComponent(val string) string {

 // Query represents a query
 type Query struct {
-	Key   string
-	Value string
+	Key      string
+	Value    string
+	HasValue bool
 }

 func parseQuery(query string) (values []Query, err error) {
@@ -139,9 +140,11 @@ func parseQuery(query string) (values []Query, err error) {
 		if key == "" {
 			continue
 		}
+		hasValue := false
 		value := ""
 		if i := strings.Index(key, "="); i >= 0 {
 			key, value = key[:i], key[i+1:]
+			hasValue = true
 		}
 		key, err1 := url.QueryUnescape(key)
 		if err1 != nil {
@@ -158,8 +161,9 @@ func parseQuery(query string) (values []Query, err error) {
 			continue
 		}
 		values = append(values, Query{
-			Key:   key,
-			Value: value,
+			Key:      key,
+			Value:    value,
+			HasValue: hasValue,
 		})
 	}
 	return values, err
@@ -169,8 +173,10 @@ func encodeQueries(queries []Query) string {
 	var b strings.Builder
 	for i, query := range queries {
 		b.WriteString(url.QueryEscape(query.Key))
-		b.WriteString("=")
-		b.WriteString(url.QueryEscape(query.Value))
+		if query.HasValue {
+			b.WriteString("=")
+			b.WriteString(url.QueryEscape(query.Value))
+		}
 		if i < len(queries)-1 {
 			b.WriteString("&")
 		}
@@ -965,7 +971,6 @@ func (p *Policy) matchRegex(elementName string) (map[string]attrPolicy, bool) {
 	return aps, matched
 }

-
 // normaliseElementName takes a HTML element like <script> which is user input
 // and returns a lower case version of it that is immune to UTF-8 to ASCII
 // conversion tricks (like the use of upper case cyrillic i scrİpt which a

This will make the url: https://htmlpreview.codeberg.eu/?https%3A%2F%2Fcodeberg.org%2Fivan-paleo%2FinitiationR%2Fsrc%2Fbranch%2Fmaster%2FinitiationR.html
Presumably this is correct enough? Technically AFAIU the / in the query component do not need to be escaped - nor potentially the :


There is a missing line in the program list.

@linyixian commented on Sun Mar 17 2019
モデルとラベルを読み込む際にファイル名を代入する部分が抜けています。
filename = "model.pb"
labels_filename = "labels.txt"

ドキュメントの詳細
⚠ このセクションを編集しないでください。 docs.microsoft.com で必須です ➟ GitHub の問題のリンク。

ID: 754dd7d5-dd8b-4a75-5d79-0ba621a847cd
Version Independent ID: 3cca3535-1c16-2da1-46c6-421cbf808bc3
Content: チュートリアル:Python での TensorFlow モデルの実行 - Custom Vision Service
Content Source: articles/cognitive-services/Custom-Vision-Service/export-model-python.md
Service: cognitive-services
GitHub Login: @areddish
Microsoft Alias: areddish

Hi team,
I'm moving this here since the contributor is reporting a missing line in the example:
Rough Translation

When loading a model and a label, the part to assign a file name is missing.
filename = "model.pb"
labels_filename = "labels.txt"

@CeciAc It looks like this issue is addressed in the azure-docs repo by this commit. There are also some other changes that have gone in recently for this document by the author.
@areddish It looks like the changes have not updated in other languages

@CeciAc The changes are now updated in the document.
We will now proceed to close this thread. If there are further questions regarding this matter, please tag @RohitMungi-MSFT in your reply. We will gladly continue the discussion and we will reopen the issue.


Integration Ledger Acala account

Integration Ledger Acala account
Add Acala to list ledger network support

Version test: https://file.cdmteck.com/s/4oimk9zDJ8R5Aai/download?path=%2F&files=./565-merge-build-0.5.5-1660724351360.zip

[ ] Discuss for case: Disconnect Acala network
Actual: Automatically switch to "Allow use any chain" but can not manually switch network
Expected:Can not disconnect Acala network if Ledger Account

@S2kael Please update the latest source code to test continue


Header Menu Drawer

Header menu in the mobile mode should be a drawer
Created from #1

Add Tests as well/


 Error: failed to fetch from registry: bootstrap
npm ERR!     at /usr/share/npm/lib/utils/npm-registry-client/get.js:139:12
npm ERR!     at cb (/usr/share/npm/lib/utils/npm-registry-client/request.js:31:9)
npm ERR!     at Request._callback (/usr/share/npm/lib/utils/npm-registry-client/request.js:136:18)
npm ERR!     at Request.callback (/usr/lib/nodejs/request/main.js:119:22)
npm ERR!     at Request. (/usr/lib/nodejs/request/main.js:212:58)
npm ERR!     at Request.emit (events.js:88:20)
npm ERR!     at ClientRequest. (/usr/lib/nodejs/request/main.js:412:12)
npm ERR!     at ClientRequest.emit (events.js:67:17)
npm ERR!     at HTTPParser.onIncoming (http.js:1261:11)
npm ERR!     at HTTPParser.onHeadersComplete (http.js:102:31)
npm ERR! You may report this log at:
npm ERR!     http://bugs.debian.org/npm
npm ERR! or use
npm ERR!     reportbug --attach /root/adminMongo/npm-debug.log npm
npm ERR!
npm ERR! System Linux 3.2.0-93-virtual
npm ERR! command "node" "/usr/bin/npm" "install"
npm ERR! cwd /root/adminMongo
npm ERR! node -v v0.6.12
npm ERR! npm -v 1.1.4
npm ERR! message failed to fetch from registry: bootstrap
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /root/adminMongo/npm-debug.log
npm not ok

This was caused by an old version of Nodejs. Updating to Ubuntu's latest fixed the issue.


Use only jdk8/jdk11 compatible ByteBuffer methods

Requires #252, and it will avoid issues like #251 in future releases.

ByteBuffer.limit method name is the same, but the return type is different between jdk9 and jdk8, so there is no way to produce compatible byte code other than specifying --release 8. But if we use this option, we cannot compile classes using sun.misc.Unsafe.
So we anyway need to use Java8 for building snappy-java.


responsive header

Related Issue
Please include a summary of the change and which issue is fixed. List any dependencies that are required for this change.
Proposed Changes

change1
change2

Check List

[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[ ] New and existing unit tests pass locally with my changes.

Screenshots (if appropriate):

Original
Updated

** original screenshot **
** updated screenshot **

@Biswa-bob I don't think the navigation bar is responsive. See the image below.

@Biswa-bob If you want you can redesign the entire front end. To make it responsive. If you have a better design in mind you can apply that as well.

@Biswa-bob I don't think the navigation bar is responsive. See the image below.

Actually the header is responsive but the rest is not hence interfering .

@Biswa-bob I don't think the navigation bar is responsive. See the image below.

Actually the header is responsive but the rest is not hence interfering .

@Biswa-bob If you want you can redesign the entire front end. To make it responsive. If you have a better design in mind you can apply that as well.
Also I was planning to move these two parts to 2 separate pages i.e.. Search by pincode will have pincode part and Search by district name will have the district part.

Yes i can do it but before that i need a rough sketch of the page how you want it to look like


file not copied [no src]

I want to copy only watched files. But until now, I did not arrive.
The *.ts files are compiled by the tsc compiler with it's own watching function and put into the temp folder.
The files object is modified by onWatch event function to inject to copy task:
var config = grunt.config.get("copy");
config["build"]["files"] =
   [
        {
                "cwd": "temp/com/bl/",
                "src": [
                        "temp/com/bl/app/main.js"
                ],
                "dest": "build/com/bl/"
        }
    ]
grunt.config.set("copy", config);

grunt watched -v output:
    >> File "temp/com/bl/app/main.js" changed.

    Running "copy:build" (copy) task
    Verifying property copy.build exists in config...OK
    Files: [no src] -> build/com/bl/
    Options: encoding="utf8", processContent=false, processContentExclude=[], timestamp, mode

What's going wrong here?
EDIT:
The missing watch config:
        watch: {
            build: {
                options: {
                    spawn: false
                },
                files: [
                    "<%= dir.temp %>/*.js",
                    "<%= dir.temp %>/**/*.js",
                    "<%= dir.srcRoot %>/*",
                    "<%= dir.srcRoot %>/**/*",
                    "!<%= dir.srcRoot %>/*.ts",
                    "!<%= dir.srcRoot %>/**/*.ts",
                ],
                tasks: ["copy:build"]
            }
        }

I found the solution myself:
var config = grunt.config.get("copy");
config["build"]["files"] =
   [
        {
                "src": [
                        "temp/com/bl/app/main.js"
                ],
                "dest": "build/com/bl/app/main.js"
        }
    ]
grunt.config.set("copy", config);

The cwd must not be defined.


[Bug?] Views with non-nullable properties are nullable in generated types

Bug report
So as mentioned in the title: Views with non-nullable properties are nullable in generated types.
Describe the bug
Related StackOverflow question: https://stackoverflow.com/questions/17301323/why-are-my-views-columns-nullable
It seems like according to one of the answers:

The nullability tracking in PostgreSQL is not developed very much at all. In most places, it will default to claiming everything is potentially nullable, which is in many cases allowed by the relevant standards. This is the case here as well: Nullability is not tracked through views. I wouldn't rely on it for an application.

According to another one of the answers, you can also set the nullability manually.
The CLI seems to solely use Postgres as the source of truth.
That said, I'm not sure however if letting CLI check the base table would be an option.
It seems like either that or setting the attribute manually are the only options.
To Reproduce

Create a table
Create a view of that table
Generate type using supabase CLI

Expected behavior
Generated view properties are the same as the base table
System information

OS: Linux
Version of supabase-js: 2.0.4
Version of Node.js: 16.15.1

Yeah, I think this is a limitation on the Postgres side as per the SO link. See also: https://github.com/supabase/cli/issues/385#issuecomment-1253370577
So the only option is probably setting the nullability manually. The typegen currently ignores that though - I'll keep this issue open until we fix that.

This might help you @xxRockOnxx
I wrote this helper utility type in typescript:
type NonNullableRow<Row, NullableKeys = never> = {
  [key in keyof Row]: key extends NullableKeys
    ? Row[key]
    : NonNullable<Row[key]>
}

It can be used like this:
type ProfileWithStats = NonNullableRow<
  Database['public']['Views']['profiles_with_stats']['Row'],
  'email_hash' | 'middle_name'
>

The second generic argument is optional, if you don't provide it, then all fields will be non nullable. But if some fields actually are nullable, then you can provide the list too.

@soedirgo any info on when this might get added to the cli (it seems to be fixed already in postgres-meta?)

This is still causing any and all view typings generated to be unusable


Pip no longer works with Python 3.11

I have Python 3.11 on a Debian system, but it won't let me use pip. 3.10 was okay.
I get an externally-managed-environment error.

I spun a Debian system and found the same problem, here's a solution that worked for me.

Install the python3-venv package.
python3 -m venv ./env
source ./env/bin/activate

https://packaging.python.org/en/latest/guides/installing-using-pip-and-virtual-environments/

So, after that, do I have to change anything in the directions given to install whisper? I just run the above command, and then run pip install -U openai-whisper?

It shouldn't be too different, run the above commands when you are making a virtual environment for the first time, then you need to source the venv every time you want to use binaries installed by pip. The source command adds the path to the binaries to your PATH, I believe, so you are able to run them. You can probably write a script in your .bash_profile to load the venv automatically when entering a directory, I will look into this!
Yes, once you have sourced a virt environment, you can install and use packages using pip. I think this is a new change they've made to avoid conflicts with linux packaging. Alternatively, you can probably git clone the openai whisper github and import the python locally.


Rewind ByteBuffers Read/Written to Function's state store

Motivation
Rewind ByteBuffers Read/Written to Function's state store

/pulsarbot run-failure-checks


[TEVA-3251] Change link to application pack

Jira ticket URL
https://dfedigital.atlassian.net/browse/TEVA-3251
Changes in this PR:
This PR replaces the "application preview" link in the "Applying for the job" step in the Create a job journey with a link to the new application pack.
Screenshots of UI changes:
Before

After

Questions for reviewers:

do we want the link text to retain the (opens in a new tab) text?
the application pack opens in a new tab with tab title "application-pack" which I believe comes from the file's Title metadata, is this something we want to change?


MANY PROXY CLASS CREATED WHILE CREATING WEB SERVICE CLIENT ON WLS 12213

The proxy class is created for a "delegating loader", that can load classes from both the web service interface loader as well as from the JAXWS loader. Each time a proxy is needed, a "delegating loader" is instantiated, hence the proxy class is never reused.
If there is already a parent child relationship between the web service interface class loader and the JAXWS loader, do not create a delegating loader, use the web service interface class loader further.

fixed by #33


Conversation logs

Rasa Core version: 0.11.8
Python version: 3.7
Operating system (windows, osx, ...): macOS Mojave
Issue:
Hello
I am wondering where the conversation logs are located. I already tried looking into rasa_core.log but it contains only internal code related logs.
I would like to have the conversation logs like:
- Hello (user)
- How are you? (bot)
- I'm good (user)
...

Something like that. Is it possible? If so, how can it be achieved? Thanks in advance!

Hey @akelad,
rasa_core.log doesn't contain the conversation, it has only errors or warning thrown!..
Is there a file that contains which intents are classified by the bot or conversation??

Hey @akelad,
rasa_core.log doesn't contain the conversation, it has only errors or warning thrown!..
Is there a file that contains which intents are classified by the bot or conversation??


[html] Add Surround With

#18246
There's a feature that I miss in VS Code.
This feature is "Surround With". It help when I need to add a parent tag for a element block.

VSCode Version: 1.11.1
OS Version: Windows 10 Pro

+1 to have that also for JSX

+1 I miss that feature so much :(

really important

Rename tags is https://github.com/microsoft/vscode/issues/47069

Emmet can do that already. Select the content to warp and run command Emmet: Wrap with Abbreviation

Emmet can do that already. Select the content to warp and run command Emmet: Wrap with Abbreviation


Frameit frame-offsets has wrong formatted name

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description
When using fastlane frameit android in a Nexus generated screenshot, it fails to find the offset in the offsets.json:
Command executed
fastlane frameit android
Fastlane env
🚫 fastlane environment 🚫
Stack

Key
Value

OS
11.1

Ruby
2.6.3

Bundler?
false

Git
git version 2.24.3 (Apple Git-128)

Installation Source
~/.bin/homebrew/bin/fastlane

Host
macOS 11.1 (20C69)

Ruby Lib Dir
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib

OpenSSL Version
LibreSSL 2.8.3

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
12.3

System Locale

Error

No Locale with UTF8 found 🚫

fastlane files:
No Fastfile found
No Appfile found
fastlane gems

Gem
Version
Update-Status

fastlane
2.171.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.3.0

slack-notifier
2.3.2

atomos
0.1.3

CFPropertyList
2.3.6

claide
1.0.3

colored2
3.1.2

nanaimo
0.2.6

xcodeproj
1.16.0

rouge
2.0.7

xcpretty
0.3.0

terminal-notifier
2.0.0

unicode-display_width
1.7.0

terminal-table
1.8.0

plist
3.5.0

public_suffix
2.0.5

addressable
2.7.0

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.7.1

tty-cursor
0.7.1

tty-spinner
0.9.3

babosa
1.0.3

colored
1.2

highline
1.7.10

commander-fastlane
4.4.6

excon
0.73.0

faraday
1.0.1

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20190701

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

faraday_middleware
1.0.0

fastimage
2.1.7

gh_inspector
1.1.3

json
2.1.0

mini_magick
4.10.1

rubyzip
2.3.0

security
0.1.3

xcpretty-travis-formatter
1.0.0

dotenv
2.7.5

bundler
1.17.2

naturally
2.2.0

simctl
1.6.8

jwt
2.1.0

uber
0.1.0

declarative
0.0.10

declarative-option
0.1.0

representable
3.0.4

retriable
3.1.2

mini_mime
1.0.2

multi_json
1.14.1

signet
0.14.0

memoist
0.16.2

os
1.1.0

googleauth
0.12.0

httpclient
2.8.3

google-api-client
0.38.0

google-cloud-env
1.3.1

google-cloud-errors
1.0.0

google-cloud-core
1.5.0

digest-crc
0.5.1

google-cloud-storage
1.26.1

emoji_regex
1.0.1

jmespath
1.4.0

aws-partitions
1.313.0

aws-eventstream
1.1.0

aws-sigv4
1.1.3

aws-sdk-core
3.95.0

aws-sdk-kms
1.31.0

aws-sdk-s3
1.64.0

forwardable
1.2.0

logger
1.3.0

stringio
0.0.2

ipaddr
1.2.2

openssl
2.1.2

ostruct
0.1.0

strscan
1.0.0

date
2.0.0

fileutils
1.1.0

etc
1.0.1

io-console
0.4.7

zlib
1.0.0

libxml-ruby
3.1.0

rexml
3.1.9

psych
3.1.0

mutex_m
0.1.0

webrick
1.4.2

generated on: 2021-01-13

Complete output when running fastlane, including the stack trace and command used
[⠼] Framing screenshot './es-ES/images/phoneScreenshots/HomeScreen_1610384666985.png' [15:57:43]: Tried looking for offset information for 'portrait', Nexus 5X in '/MyHome/.fastlane/frameit/latest/offsets.json'
[15:57:43]: Could not find offset_information for './es-ES/images/phoneScreenshots/HomeScreen_1610384666985.png'

The problem is that in the Devices definition, the formatted name doesn't match any in the json:
NEXUS_5X ||= Frameit::Device.new("nexus-5x", "Nexus 5X", 7, [[1080, 1920], [1920, 1080]], 423, nil, Platform::ANDROID)

While json has:
"Nexus 5x": {
      "offset": "+53+231",
      "width": 1080
    },

That lowercase x is the problem. I changed my local copy of the frame-offsets to "Nexus 5X" and it works fine. Would've submitted a PR myself setting a lowercase x in the definition in fastlane/frameit/lib/frameit/device_types.rb but didn't know if you'd rather change the offsets-json (looks more flexible than having to update the whole lib).
Thanks!

Hi! The issue is still happening. I can create a PR with the change in the devices.rb file, but I think it's better to update the offsets file in the server.
@max-ott can you advise on that, please? :)

I see the offsets.json file shows now the capital X. This can be closed definitely :)


Check JAVA_OPTIONS in Shell Script

[marko@panda ~]$ export JAVA_OPTIONS="-Xmx100000"
[marko@panda ~]$ gremlin

Needs to be lowercase m not capital M.

Be sure to keep support of
JAVA_TOOL_OPTIONS="-Dfile.encoding=UTF-8"
It's used to get international charset.


Blog post about datafusion 16 release

As part of the 16.0.0 release I would like to write a blog about datafusion on  https://arrow.apache.org/blog/  (source at https://github.com/apache/arrow-site)
I am thinking about a basic theme like datafusion is leading the charge to bring advanced OLAP technology everywhere
I would like to highlight the theme summarized by Andy Pavlo in https://ottertune.com/blog/2022-databases-retrospective/

The long-term trend to watch is the proliferation of frameworks like Velox, DataFusion, and Polars. Along with projects like Substrait, the commoditization of these query execution components means that all OLAP DBMSs will be roughly equivalent in the next five years. Instead of building a new DBMS entirely from scratch or hard forking an existing system (e.g., how Firebolt forked Clickhouse), people are better off using an extensible framework like Velox. This means that every DBMS will have the same vectorized execution capabilities that were unique to Snowflake ten years ago. And since in the cloud, the storage layer is the same for everyone (e.g., Amazon controls EBS/S3), the critical differentiator between DBMS offerings will be things that are difficult to quantify, like UI/UX stuff and query optimization.

Some supporting evidence:

Several new databases built on datafusion (synnada.ai, greptimedb, probably others)
GA of InfluxDB IOx

New features:

Advanced Windowing functions (like unbounded windows)
Join support (TODO gather more details)
Optimizer advancements

Future directions:
1 .Improved grouping / sorting performance
2. RLE  (Run End Encoding support
etc
Here is the most recent blog about datafusion I know about https://arrow.apache.org/blog/2022/10/25/datafusion-13.0.0 -- source at https://github.com/apache/arrow-site/blob/master/_posts/2022-10-25-datafusion-13.0.0.md
Please leave comments with your suggestions / ideas!

Is Substrait worth mentioning as a future direction?

Came here to say the same thing. I think we should definitely talk about substrait. I can help with some content around that.

I would like to also talk about the Python bindings, even though they are released separately. Maybe an update on TPC-H support as well.

Great -- I'll try and get a draft up in the next few days if no one else beats me to it, and we can work on the content there

I would like to also talk about the Python bindings, even though they are released separately. Maybe an update on TPC-H support as well.

I would love to try and help / encourage a community there as it seems a great way to get more people using DataFusion

Sounds great. Another point to touch on could be the recently-improved streaming/incremental execution capabilities. We (the Synnada team) will be continuing to focus on this area in the near future, so even more improvements are coming!

Also add somethign about benchmarking from @rdettai https://www.cloudfuse.io/dashboards/standalone-engines

Here is a draft post we can use to collaborate on: https://github.com/apache/arrow-site/pull/294

Rendered site: Rendered: https://arrow.apache.org/blog/2023/01/19/datafusion-16.0.0/


Allow only one attachment in multipart upload

How can I allow/handle only one (first) attachment?
I.e. event busboy.on('file', ... should be raised only once.

The way I understand it, that event will be raised every time a file field is found.
It might be possible that busboy.once is available, but I haven't tested it.
If anything, you could just create a counter and only process the event the first time it's raised.
A better question might be, why do you need to ignore file fields? Wouldn't you just want to remove the field from the submitted form in the first place?

It depends on what is an acceptable solution, you could do one of:

As Marak said, only send one from the client if you are in control of that.
Simply throw away any additional file streams (this is necessary if you want to continue parsing) via file.resume().
Immediately send an appropriate HTTP response when you detect more than one file.

Using .once() (while it is supported since it is an EventEmitter) won't typically work since the parser will stop if the current file stream's internal buffer fills up. This is to avoid buffering a lot of data in memory and keeps with the spirit of streaming.

IMHO I should never use Multipart uploads if I only one file should be uploaded.
As I mentinoed It was my engineering pitfall. At the begining I don't know in C#/RestSharp ()client side and Node.js (server side) how to implement request piping.
I have choosen formidable and AddFile fromRestRequest::RestSharp

Just so you know, formidable is a multipart parser also so you're not exactly getting away from multipart in that case. If you're saving to disk (which would be the case with formidable), there is also multer which basically does the same thing, but is built on top of busboy for better performance.


Texture release / allocation with dirty is not done correctly

The texture manager is not able to keep track of texture because when a texture object is dirty it's not released and reallocated.
Also dirtyParameters and dirtyObject must be handled separately

It has been fixed in https://github.com/cedricpinson/osgjs/pull/215


Hey Copycat!

Hey copycat!
Copying my work from bitzeny to cpuchain is a fun thing to do!
Blocking my main account @cryptozeny from your repo and from @cpuchain repo was a big mistake for you to do! @minkcrypto
Cause you can delete my account from discord for doxxing scammers like you, however I can do doxxing on Github with my sub account at anytime I want!

I will dox your private information, about your workplace and your real name, your face pic!

You selfish yellow monkey you wouldn't be able to ban my @cryptozeny account this time!


az acr helm install-cli

Is your feature request related to a problem? Please describe.
It bad to relay on external installations of helm. There is no official docker image with helm pre installed
Describe the solution you'd like
An easy way to install helm cli e.g. az acr helm install-cli which is similar to az aks install-cli

would be helpful for me as well, great idea!

This is a valid ask, which we should do

Similar functionality would be useful for az aks command as well.

@Wwwsylvia, please fix this

This would also address the use of the az acr helm ...  commands using the official Docker images. At the moment, you can't run az acr helm ... commands using the mcr.microsoft.com/azure-cli images, which subsequently prevents one from using these commands with the official GitHub Action for the Azure CLI (https://github.com/Azure/cli).

❤


Search bar stays always on top and blocks suggestions

VSCode Version: 1.51.1
OS Version: Linux x64 5.9.11-arch2-1

Steps to Reproduce:

open the search bar
type something in right part of the screen so that suggestions would appear close to the search bar

Does this issue occur when all extensions are disabled?: Yes
Screen:

@rebornix does the editor allow to control this? Will zindex work?

suggestions now appear on top of the search widget


Request - Add liked/disliked info to playback.json

This would be very convenient for simple external programs like Rainmeter. Just a simple liked true/false and disliked true/false would be perfect.
Thanks!

For anyone wanting / willing to tackle this, it would be as simple as adding a couple of event listeners on the global GPM object inside GPMInject and firing events up to the PlaybackAPI.
An example is how the current implementation of time works


K8S: support setting tolerations

(previously #741)
For now this is for advanced uses only, so not the nicest UX and error handling.
Note that there is a separate commit that is included in this PR but also has a PR of its own in #768

I'm gonna make it a config variable for now instead of a decorator parameter after discussing this with @savingoyal

support has been merged


Synchronized video playback for multiple videos/channels and possibly a split view for video object detection and tracking

Is your feature request related to a problem? Please describe.
I would like to be able to label videos with multiple channels (e.g. RGB and thermal) for video object detection and tracking in Label Studio. However, it is currently difficult to label these videos accurately and efficiently because I cannot view both channels simultaneously or synchronize their playback.
Describe the solution you'd like
I would like to see a new feature in Label Studio that allows me to label videos with multiple channels more accurately and efficiently. Specifically, I would like to see a single video player that displays both channels side-by-side, or even better, with a split line that I can drag to reveal more of one channel or the other.
With this feature, I could label both channels simultaneously and synchronize their playback within the same interface. This would improve the accuracy and efficiency of my labeling process and save me time and effort.
Describe alternatives you've considered
Currently, there is no way to view multiple video channels simultaneously in Label Studio, so I am not aware of any alternatives that would allow me to label these videos more accurately and efficiently.
Additional context
Here are some additional details that may be helpful:

I am labeling videos with two channels: RGB and thermal
I would like to be able to see both channels side-by-side within the Label Studio interface, with the ability to adjust the split line between them
This feature would improve the accuracy and efficiency of my labeling process and would save me time and effort

Thank you for considering this feature request!

Thank you for your detailed feature request! It's great to hear about your specific use case and the need for multi-channel video labeling. You can check this labeling config with sync functionality across different video sources:
<View style="display: flex;">

	<View style="width: 50%; margin-right: 2em;">
		<Header value="Front"/>
		<Video name="videoF" value="$videoF" sync="videoF"/>

		<VideoRectangle name="boxF" toName="videoF"/>
		<Labels name="vlF" toName="videoF">
			<Label value="Human" background="#1BB500"/>
			<Label value="Car" background="#FFA91D"/>
			<Label value="Truck" background="#358EF3"/>
			<Label value="Motorcycle" background="#FFA39E"/>
		</Labels>

		<Header value="Left"/>
		<Video name="videoFL" value="$videoFL" sync="videoF"/>

      	<VideoRectangle name="boxFL" toName="videoFL"/>
		<Labels name="vlFL" toName="videoFL">
			<Label value="Human" background="#1BB500"/>
			<Label value="Car" background="#FFA91D"/>
			<Label value="Truck" background="#358EF3"/>
			<Label value="Motorcycle" background="#FFA39E"/>
		</Labels>

	</View>

	<View style="width: 50%; margin-right: 2em;">
		<Header value="Rear"/>
		<Video name="videoR" value="$videoR" sync="videoF"/>

        <VideoRectangle name="boxR" toName="videoR"/>
		<Labels name="vlR" toName="videoR">
			<Label value="Human" background="#1BB500"/>
			<Label value="Car" background="#FFA91D"/>
			<Label value="Truck" background="#358EF3"/>
			<Label value="Motorcycle" background="#FFA39E"/>
		</Labels>

		<Header value="Right"/>
		<Video name="videoFR" value="$videoFR" sync="videoF"/>

        <VideoRectangle name="boxFR" toName="videoFR"/>
		<Labels name="vlFR" toName="videoFR">
			<Label value="Human" background="#1BB500"/>
			<Label value="Car" background="#FFA91D"/>
			<Label value="Truck" background="#358EF3"/>
			<Label value="Motorcycle" background="#FFA39E"/>
		</Labels>

	</View>
</View>

Thank you for suggesting this feature of Label Studio. This would indeed work for the task, that I am trying to accomplish. However, as you can see in the screen recording below, the playback of the videos is not synchronized.
https://user-images.githubusercontent.com/29599302/235854310-77834105-9ae7-4e77-b956-5b8ab0d6008e.mp4
(Please don't mind the overexposed recording.)

@daniel1896 I am also interested in this config. Were you able to get this working?
CC @makseq - looks like Daniel had some trouble with the video sync.


Vulnerability roundup 85: ntopng-2.0: 5 advisories [8.8]

search, files

[ ] CVE-2017-5473 CVSSv3=8.8 (nixos-20.03, nixos-unstable)
[ ] CVE-2017-7458 CVSSv3=7.5 (nixos-20.03, nixos-unstable)
[ ] CVE-2017-7459 CVSSv3=7.5 (nixos-20.03, nixos-unstable)
[ ] CVE-2017-7416 CVSSv3=6.1 (nixos-20.03, nixos-unstable)
[ ] CVE-2015-8368 (nixos-20.03, nixos-unstable)

Scanned versions: nixos-20.03: a84b797b28e; nixos-unstable: 22c98819ccd. May contain false positives.
Cc @bjornfor

Is nixos-20.03 still supported? Is this still relevant?

nixos-20.03 is not supported. I don't know how these issues get created, but hopefully another one of these exists if our current ntopng version (5.2.1) is vulnerable too.


ArrayBufferView should be a superclass for TypedArrays or ArrayBufferView should be changed to interface that TypedArrays implement or something else

The issue is discovered due to this comment.

As per documentation here, it seems the type definition itself should be absent, and whatever points to it should then point to any (or all) of the TypedArrays implemented.

Maybe it should just be turned into Any<Int8Array, UintArray, ..., Float32Array, Float64Array>?

I like the idea with Any<>. Did you mean this?
public class ArrayBufferView : Any<Int8Array, UintArray, ..., Float32Array, Float64Array>
{
}

There is also the DataView class to review. It is currently:
public class DataView : ArrayBufferView
As far as I can understand the inheritance from the ArrayBufferView class should be removed. The existing ArrayBufferView's properties should be moved to the DataView class itself. And, as stated above, the ArrayBufferView class itself might be turned to Any<...>. It would be better to have it, than put Any<...> everywhere.


add deletedAt handling

Normalize all of the tables to have processedAt, fetchedAt and deletedAt.
Fixed up some indentation along the way.

@jeffmcaffer,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Wrong text at the selected items count at label printing

Please verify that this bug has NOT been raised before.

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

Describe the bug*
When selecting multiple stock locations and hit printing:

always "%d stock items selected" is shown regardless if I print stock location labels (and by looking the code it should be the same for other non-stock items label batch printing).
Steps to Reproduce
Go to a stock location list, select multiple locations, hit print, observe the text in the dialog.
Expected behaviour
Use proper target wording.
Deployment Method

[ ] Docker
[ ] Bare metal

Version Information
master
Relevant log output
N/A

I wanted to PR this as seemed to be a low hanging fruit to pass the items_name here:
https://github.com/inventree/InvenTree/blob/master/InvenTree/templates/js/translated/label.js#L28
However when I looked for the selectLabel JS function usage I only found localized generated js files in the InvenTree/InvenTree/static_i18n/i18n/ folder.
For e.g. function printStockItemLabels(items) .
Could you please educate me how are these files generated, or where do I need to alter the selectLabel calls?

.The PR is submitted, but I came across an area of optimization:

When printing label directly from a single stocklocation/part/stock item it does not makes any sense to display that 1 stocklocation/part/stock item selected. (We could call it misleading as nothing is selected ;) )
With the PR changes it would be quite straightforward to implement it (by not passing the singular names from the single prints). What do you think?

@martonmiklos did you actually submit a PR?

@martonmiklos did you actually submit a PR?

Upps, I forgot to press the button ;)

@matmair many thanks for the review and PR approval! What is your opinion on the removing this message when printing directly from an item (see my post above)?

I would let it stay there for the sake of consistency.


Task/allen/vtk9 master ospray

Initial pull request to review integration of VTK 9.1 and OSPRay 2.8 with the Kathleen's VTK 9.X.
This pull request only address code and not the needed bv support (bv_vtk and bv_ospray) those files have been separately given to Kathleen to integrate directly into her investigate_vtk9_master branch.
This code have been tested only on OS X. The goal is once integrated that further testing on linux clusters can be done.

@markcmiller86 @brugger1 @cyrush adding all of you as reviewers. Please feel free to remove yourself if you don't have time.
It's a pretty big change so want other eyes on it all.

I'm curious about all the places you added initializers to header files when there are initializers in the constructors. I know this is a C++11 thing, could you explain the benefits? (Forgive me, I made comments in each header where you did this). Is this something fully supported by the various compilers that will be used to build VisIt?

By habit I have stared doing this everywhere. The benefit is that one can easily do the init where the var is defined. I was getting a crash but was not sure why. I looked at a a couple of header files,and added the init. Crash was gone. The alternative is to search through the C code for each var for where it first used. Just a better paradigm.

It's a pretty big change so want other eyes on it all.

Agreed. I don't want to contribute more to @ARSanderson work. OTOH, if anyone sees a nice way to break this PR up into smaller pieces, that might be worth some time considering. I won't have a chance to take a look until middle next week.

Agreed. I don't want to contribute more to @ARSanderson work. OTOH, if anyone sees a nice way to break this PR up into smaller pieces, that might be worth some time considering. I won't have a chance to take a look until middle next week.

There are a few minor chunks but so small they are noise (avtResampleFilter). Perhaps the best way would be to do a group review going through the changes of significance. Kathleen has picked up on some areas.

Remarks on current interface labels...

For cell vs. point vs. maintain (although other parts of VisIt are not fully consistent on this - Pseudocolor plot uses nodal and zonal and original whereas Label plot uses cell and node, Curve uses point, in several places we have clean zones only), I would recommend nodal vs zonal vs. native (or original)
For rendering options, I don't like serial and parallel or the repeated use of Rendering in either of those options. I dunno what the salient difference is in these options but I think anyone seeing them would always go for a parallel option. Why use serial ever? I think the answer is that it can be fast but maybe not accurate. I might call these preview and accurate instead. Or coarse and fine or something along those lines.

@markcmiller86 - I have gone with native, nodal, and zonal.
Regarding the rendering modes. One of the issues is when someone is running on a single rank (serial) the two rendering modes will produce the same quality of image. So coarse is fine, and fine is coarse. Accurate is not a good description either because the rendering is accurate regardless of the scale.
I think a better approach may be along the lines of Eric's comment about local vs scalable. But I am not sure.

@markcmiller86 - I have gone with native, nodal, and zonal.
Regarding the rendering modes. One of the issues is when someone is running on a single rank (serial) the two rendering modes will produce the same quality of image. So coarse is fine, and fine is coarse.

How is what happens in the single ranke parallel case relevant? First, who (users) runs VisIt with one processor parallel? No body except developers because there is some handiness in being able to do that. Pitching the interface so as to avoid a possible muddying of the diffs between these two modes in this one specific use case seems unreasonable. For me, its not relevant.

Accurate is not a good description either because the rendering is accurate regardless of the scale.

Really? How can that be true when number of samples represents a tiny fraction of total dataset size? The input would be highly undersampled. I agree the code would do an accurate job of rendering those samples but the final output would be a poor approximation of the input due to sampling. But, its useful because it can be done quickly. To me, its like the difference between seeing just the bounding box (renders very fast) and seeing the scalable rendered image when VisIt is in SR mode...the bounding box is useful because its interactive/fast and can be used as a proxy for the actual object as far as view orientation, etc. is concerned.

I think a better approach may be along the lines of Eric's comment about local vs scalable. But I am not sure.

Local vs. scalable has the same problems serial vs. parallel does...why would any user opt to use local when scalable is an available option?

I might argue that what we currently label here as Serial Rendereing is kinda sorta the Volume plot's equivalent of the bounding box for SR mode.
In fact, why not have the Volume plot just kinda sorta behave the same way...it uses the Serial Rendering stuff when user is adjusting view parameters, changing plot parameters which are orthogonal to Volume rendering details and when they release the mouse (or just wait long enough) it renders the real image using Parallel Rendering mode. In this case, the user doesn't explicitly pick one or the other...VisIt automatically chooses based on maintaininging interactivity for key paramater setting steps and automatically renders a full res image when user's parameter changes settle out.

I like the idea of the "serial" mode being used as an interactive preview. There would definitely need to be some user flexibility so to get interactivity.
Resolution issues aside the serial version does not produce exactly the same image as the other renders (parallel, compositing, SLVR) due the composting and other algorithmic differences, so users might object to the differences. One would expect a "pop" in image resolution but not the color. Kevin and I need to further discuss the compositing as he may have figure out a a way to limit some of this issue so that the parallel and serial are closer together.  But the "composting" and SLVR generate very different images.
Regarding my comment on "accurate" I was not clear but you parsed through it. The rendered image is accurate based on the immediate data the rendering is given. That immediate data could be up sampled or down sampled from the input data. So what does accurate mean???

I like the idea of the "serial" mode being used as an interactive preview. There would definitely need to be some user flexibility so to get interactivity.

When we first developed Scalable Rendering (SR) mode, we had to decide on a polygon count threshold above which, VisIt would automagically transition into SR mode and below which, VisIt would use normal (local GL hardware) rendering. We have a 3-way control for that (Always, Auto, Never) where SR mode is always on, regardless of polygon count or it is never on or VisIt decides (Auto) when to turn it on.
Would something similar apply here? In Always, user would always get what you now call Parallel Rendering. In never, user would always get what you now call Serial Rendering and in Auto VisIt would automatically choose which based on size of input (maybe the ratio of input #nodes to #samples being used in the serial rendering). If so, we might wanna just call this Scalable VR with the Always/Auto/Never choice and then the other options currently in the rendering pull-down don't have the Always/Auto/Never feature.
Honestly, that sounds like it could be more work than its worth, especially getting the viewer and engine to handle auto-matic transitions into and out of Scalable VR (thats a particularly challenging bit of software engineering for SR mode) and just picking clearer names for the two modes would be fine as part of the initial implementation.

@visit-dav/visit-developers might we want to divide and conquer here? If anyone has suggestions on best division, please suggest one. Theres 120 files and about 20,000 lines changed.

@markcmiller86 not sure the best way to divide.  Good tip regardless of what you are examining is to use the 'turn off whitespace' filter, that will help. I am going to test out the branch on Windows before I review.

We have some conflicts preventing this branch from being up to date. I haven't looked at them here but I think I can handle the conflicts in the 2 .C files. Can you take a look at the .cmake and bv_vtk.sh file conflicts? Is it even possible to split up this work via the web interface?

Ok, I just tried the Resolve conflicts button and yes, I can select which files I work on there. So, it is possible to split this activity up.

Ok, I just tried the Resolve conflicts button and yes, I can select which files I work on there. So, it is possible to split this activity up.

Umm...Nope! I am wrong 😢 .
And, in looking closely, I see that I volunteered for resolving just a few 1-line conflicts leaving you the bulk of the work so it doesn't even help ease the load relative to the others.

I will resolve the conflicts via my checkout of the branch and push the changes.

@biagas I just resolved the conflicts.
@markcmiller86 what is the easiest way to get a list of all files that have been touched?? From that I can probably given some direction on dividing things up.

@allen, I had already done the merge and resolved the conflicts. Looks like you used an outdated version of my vtk-master branch for your merge, so you have reversed some of the changes I made. You need to revert that commit please.

@ARSanderson I have neglected to ask until now....what are your thoughts on the possibility of using the volume rendering infrastructure we have here now to render Constructive Solid Geometry meshes. Do you think anything here might help to facilitate that? If not, do you have suggestions for where one might try to integrate CSG mesh rendering with our VR infrastructure? Reason I ask is that I think ray-tracing/casting algorithms can do a much better job of CGS rendering than surface-based algorithms.

Note that at least for the CSG stuff from Silo, every solid is a quadric function. So, its easy to use that to define an analytic expression for an opacity transition. But, not that I think about it, this is all re-sampling onto a uniform grid to do the ray-casting anyways, right? Ok, forget I asked 😞

@ARSanderson do you feel this is in good enough state for final review and merge?

At this point I feel it is ready to be merged. I am sure additional eyes would find minor nits. But it is probably time to merge it and start having others use it.

Hey guys! I agree that direct CSG rendering via RayTracing is likely a productive development path after this.
The shortest path I can think of is to expose a GUI in visit into OSPRay/OpenVKL's implicit isofurfaces and then map the CSG geometry onto a field defined by the quadric functions that Mark is talking about. A more experimental path would be a custom geometry module/plugin for CSG geometry implemented at the OSPRay level and then packaged with and exposed in VisIt.
Interesting historical note, the first interactive ray tracer back in late 80's was rendering CSG for the DoD.

Here's a link to the generated docs for the changes to Volume Plot

@brugger, @cyrush, @markcmiller86   Here is a list of files that could use more eyes than mine in review:
plots/Volume/QvisVolumePlotWindow
plots/Volume/avtICETCompositor.C
plots/Volume/avtLowerResolutionVolumeFilter.C
plots/Volume/avtVisItVTKRenderFilter.C
plots/Volume/avtVisItVTKRenderer.C
plots/Volume/avtVolumeFilter.C
plots/Volume/avtVolumePlot.C
plots/Volume/avtVolumeRenderer.C
plots/Volume/VolumeAttributes.code
plots/Volume/Volume.xml
avt/Filters/avtResampleFilter
avt/Pipeline/Data/avtOpacityMap
gui/QvisRenderingWindow
avt/VisWindow/Colleagues/VisWinRendering

@biagas - THANKS Kathleen for ALL your help and additions. Greatly appreciated. I will let you pull the trigger on the merge.


c_streams_myriad_to_pc is not thread safe, and prevents multiple cameras from connecting with varying resolutions

c_streams_myriad_to_pc is modified as part of create_pipeline.
https://github.com/luxonis/depthai-core/blob/52695a85706a16372f4cc8ceef9a3552bd895acc/src/device.cpp#L931
Initializing a second camera with different parameters for most streams causes the second cameras parameters to be ignored.
I'm not sure what would happen for disparity_color, but I assume it's unintended behavior.

Thanks for the report @Procdox !  Triaging.


Hotfix 0150 - add managment command

https://owasp.slack.com/archives/C2P5BA8MN/p1649278993631269?thread_ts=1649254658.509179&cid=C2P5BA8MN

Hi @kiblik ,
in case I would re-run the initalizer with the code here, it would still break at 150 and not import the other ones.
I recommend to make 150.py empty and run the fixed version as 1XX.py afterwards.

The flake8 problem is not related to this PR, see https://github.com/actions/checkout/issues/760

I would approve this pull request, but there is one question in my mind: How did these Endpoint Status with finding or endpoint == null occur? Is this a historical problem or will it cause a problem somewhere else, when these 2 fields cannot be null anymore?

I would approve this pull request, but there is one question in my mind: How did these Endpoint Status with finding or endpoint == null occur? Is this a historical problem or will it cause a problem somewhere else, when these 2 fields cannot be null anymore?

In the original implementation, if the whole Endpoint or Finding is removed, the pointer to ForeignKey is replaced by null. In the new implementation, if one of them is removed, the whole Endpoint_Status is removed.
I suppose there is no reason for the existence of Endpoint_Status if one of the key components is missing.
In my opinion, it was there because of copy-pasting, but this is maybe a better question for @cody-m-tibco (author of the original implementation).
Endpoint_Statuses are used (requested from DB) when a user needs to see which Findings are on a specific Endpoint or which Endpoints are affected by a specific Finding. I see no use-case when some Endpoint_Status with null fields can be useful for somebody.
I'm surprised that it wasn't failing some views until now.
Btw, in my opinion, Finding.endpoints should be removed. Using through in Finding.endpoint_status will:

remove redundancy (there is [or there should be] the same content as it is in Finding.endpoints)
save space
simplify management (avoid situations like https://owasp.slack.com/archives/C2P5BA8MN/p1621324919005200)
will not increase the complexity and number of queries because there will be still only one table.

But this is another story.

@kiblik Can you update the title and description of the PR to reflect what it is doing? links to slack are not readable for everyone and don't look well in the release notes.
Also, your first version of this PR contained only a change to a query filter:

Wouldn't it be sufficient as a hotfix to make this change to the migration and release 2.9.1?
I am hesitant to release 2 more migrations just as a hotfix as every time we have migrations around endpoints we seem to end up with failures and the need for hotfixes/management commands.

I was wondering if a manage command made more sense than I migration. I've
asked Cody for his input.
On Mon, Apr 18, 2022 at 3:12 AM valentijnscholten @.***>
wrote:

@kiblik https://github.com/kiblik Can you update the title and
description of the PR to reflect what it is doing? links to slack are not
readable for everyone and don't look well in the release notes.
Also, your first version of this PR contained only a change to a query
filter:
[image: image]
https://user-images.githubusercontent.com/4426050/163778389-16b93646-785a-413f-a2e3-0a7a6f56ef4f.png
Wouldn't it be sufficient as a hotfix to make this change to the migration
and release 2.9.1?
I am hesitant to release 2 more migrations just as a hotfix as every time
we have migrations around endpoints we seem to end up with failures and the
need for hotfixes/management commands.
—
Reply to this email directly, view it on GitHub
https://github.com/DefectDojo/django-DefectDojo/pull/6136#issuecomment-1101202004,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABEFRQCSOVYS3LQDEPHN6M3VFUKPDANCNFSM5SXKIQZQ
.
You are receiving this because you commented.Message ID:
@.***>

--
Greg Anderson
DefectDojo Project Leader
@.***

If we update the migration it will just work for those in trouble and will prevent people for running into trouble. A management command involves executing commands inside a container and, before that, building images manually or copying files into a container. An updated migration is a lot easier.

We should be really confident then in that delete logic. Because we are
forcing a data transformation on people and creating a risk that may not be
having an issue.
On Mon, Apr 18, 2022 at 3:16 AM valentijnscholten @.***>
wrote:

If we update the migration it will just work for those in trouble and will
prevent people for running into trouble. A management command involves
executing commands inside a container and, before that, building images
manually or copying files into a container. An updated migration is a lot
easier.
—
Reply to this email directly, view it on GitHub
https://github.com/DefectDojo/django-DefectDojo/pull/6136#issuecomment-1101204630,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABEFRQHR7LGTD72VRPH67HTVFUK4LANCNFSM5SXKIQZQ
.
You are receiving this because you commented.Message ID:
@.***>

--
Greg Anderson
DefectDojo Project Leader
@.***

Updating the query in a previous migration does not accomplish much as it does not benefit those that have already run the migration. If someone were to try to run 150 again, all of the new tables (and the data within) from migrations greater than 150 would be erased.
As for the new migration (157) that function should be moved into a management command so that a user at least has the option to run it outside of the migration. It provides us with an out in case this does not fix the issue in all ways.

In my opinion, it was there because of copy-pasting, but this is maybe a better question for @cody-m-tibco (author of the original implementation).
Yeah that is likely what happened (@cody-m-tibco is my day job account)

Updating the query in a previous migration does not accomplish much as it does not benefit those that have already run the migration. If someone were to try to run 150 again, all of the new tables (and the data within) from migrations greater than 150 would be erased.

In my case, I where trying migration 150 and the migration process broke at 150 and didn't apply any further migrations. Therefore, patching migration 150 is highly recommended because only this will gurantee a smoth upgrade processes.

The hotfix is meant for people being stuck on migration 150 failing. So if we fix that migration, those people can move forward with their upgrade. Only then migration 151 and higher will be executed.

Oh okay got it

As for the new migration (157) that function should be moved into a management command so that a user at least has the option to run it outside of the migration. It provides us with an out in case this does not fix the issue in all ways.

This is definitely a must

Hi @kiblik sorry for being a pain about this PR, but I believe having a small hotfix is the best approach. The PR now looks like it now can be merged into master as hotfix if we still want to do that. (Could you rebase?)
I think the previous version of this PR with the extra migrations and changes in null/blank was good, but meant for dev to be part of the next release. So if you make a new PR from b670c8199f16e5606b3586af76ab0acbccc09bd7 I think we're almost good to go?

Hi @valentijnscholten, I added a couple of unittests. And yes, I can recreate this PR as you wrote.

moved to https://github.com/DefectDojo/django-DefectDojo/pull/6185


Successfully added

@DarikshaAnsari there are some conflicts with your branch. Please resolve them first then only I can merge your PR, For that, I believe you would have to discard some of your own work, sync your fork and do your work again.


Migros App API

Migros App
I tried accessing the API with public data of the website, but was not able to get all the necessary cookies. I realized that the app will need to send all of the required cookies to function, thus decrypted the requests.
I used <REDACTED> to indicate values that I omitted due to privacy reasons.
Dig into the apps logs
Using PCAPdroid I was able to decrypt the apps requests and payloads.
Retrieve a receipt
Using GET https://mobile-app.migros.ch/app/products/receipts/<REDACTED> HTTP/2.0
with headers
authorization: Bearer <REDACTED>
x-app-build: 439
x-app-ecom-toggle: true
x-app-migros-tracking-id: <REDACTED>
x-siren-version: 1
x-app-famigros-loyalty: false
x-app-cumulus-number: <REDACTED>
x-route-version: 2
x-app-migros-cooperative: national
x-app-login-id: <REDACTED>
x-feature-flags: receipts-all-types, receipts-cumulus-points, maat-inline-html, discounts-detail-entity, discounts-productlistholder, mgo-push-registration, maat-teaser-embed-webviews, maat-link-embed-webviews, cmd

I was able to retrieve the reciept
{
	"class": [
		"product.list"
	],
	"properties": {
		"title": "Gekaufte Produkte",
		"subtitle": "<REDACTED (DATE OF PURCHASE)> – M Märt Shop Ville Zürich HB",
		"disclaimer": "Es werden nur aktuell verfügbare Produkte angezeigt.",
		"tracking": {
			"screenName": "productlist/receipt",
			"campaignParent": ""
		},
		"scoresAvailable": true,
		"type": "products"
	},
	"entities": [
		{
			"class": [
				"product.list.section"
			],
			"properties": {
				"id": "BeSS_010113",
				"name": "Fertiggerichte, Menüs & Snacks",
				"description": "Fertiggerichte, Menüs & Snacks"
			},
			"entities": [
				{
					"class": [
						"product.thumbnail"
					],
					"properties": {
						"meta": {
							"isOwg": false
						},
						"id": "130447000000",
						"texts": {
							"price": "5.95",
							"originalPrice": "",
							"priceShoppingList": "CHF 5.95",
							"originalPriceShoppingList": "",
							"name": "V-Love Sandwich Bacon Style",
							"subtext": "200g",
							"description": "",
							"status": ""
						},
						"accessibleTexts": {
							"price": "5 Franken 95 Rappen",
							"originalPrice": ""
						},
						"price": {
							"current": 5.95,
							"original": 0,
							"points": 0,
							"varies": false
						},
						"styles": {
							"subtext": []
						},
						"status": {
							"likes": 0
						},
						"category": {
							"id": "BeSS_010113",
							"name": "Fertiggerichte, Menüs & Snacks",
							"sortOrder": 23
						}
					},
					"entities": [
						{
							"class": [
								"image"
							],
							"properties": {},
							"entities": [],
							"actions": [],
							"links": [
								{
									"rel": [
										"self"
									],
									"href": "//image.migros.ch/xxhdpi_pi_list/4a67b9bf6126c2e6f775a6fb32ab463908b99164/v-love-sandwich-bacon-style.jpg"
								}
							]
						}
					],
					"actions": [
						{
							"name": "product.actions.addtoshoppinglist",
							"href": "https://mobile-app.migros.ch/app/shoppinglist/:id/product/130447000000"
						},
						{
							"name": "product.detail.actions.like",
							"method": "PUT",
							"href": "https://mobile-app.migros.ch/app/products/id/130447000000/user/like",
							"type": "application/json"
						},
						{
							"name": "product.detail.actions.dislike",
							"method": "DELETE",
							"href": "https://mobile-app.migros.ch/app/products/id/130447000000/user/like",
							"type": "application/json"
						}
					],
					"links": [
						{
							"rel": [
								"self"
							],
							"href": "https://mobile-app.migros.ch/app/products/id/130447000000"
						},
						{
							"rel": [
								"hybrid"
							],
							"href": "https://hybrid-app.migros.ch/products/130447000000",
							"headers": {
								"accept-language": "de",
								"x-app-migros-cooperative": "national",
								"x-app-version": "",
								"x-app-build": "439",
								"x-device-id": "",
								"x-device-uuid": "",
								"x-device-os": "ios",
								"x-device-os-version": "Unknown"
							}
						}
					]
				}
			],
			"actions": [],
			"links": []
		}
	],
	"actions": [],
	"links": [
		{
			"rel": [
				"self"
			],
			"href": "https://mobile-app.migros.ch/discovery/products/receipts/20230921_155602_0150140_257_403"
		},
		{
			"rel": [
				"ratings"
			],
			"href": "https://mobile-app.migros.ch/app/products/ratings?ids=130447000000"
		}
	]
}

List of reciepts
To get a list of reciepts we can use https://mobile-app.migros.ch/order/receipts/list/2024-01-01 to get
{
	"class": [
		"receipt.list"
	],
	"properties": {},
	"entities": [
		{
			"class": [
				"receipt.thumbnail"
			],
			"properties": {
				"id": "<REDACTED>",
				"timestamp": "<REDACTED>+02:00",
				"storeName": "M Märt Shop Ville Zürich HB",
				"totalAmount": "5.95",
				"preciseTotalAmount": 595,
				"accessibilityLabel": "Kassenbon vom Montag, <REDACTED> in M Märt Shop Ville Zürich HB, 5 Franken 95 Rappen ausgegeben, 5.95 Punkte gesammelt",
				"cumulusPoints": "5.95",
				"preciseCumulusPoints": 595
			},
			"entities": [],
			"actions": [],
			"links": [
				{
					"rel": [
						"html"
					],
					"href": "https://mobile-app.migros.ch/app/receipts/<REDACTED>/html"
				},
				{
					"rel": [
						"products"
					],
					"href": "https://mobile-app.migros.ch/app/products/receipts/<REDACTED>"
				}
			]
		},
		{
			"class": [
				"receipt.thumbnail"
			],
			"properties": {
				"id": "<REDACTED>",
				"timestamp": "<REDACTED>+02:00",
				"storeName": "M Märt Shop Ville Zürich HB",
				"totalAmount": "5.95",
				"preciseTotalAmount": 595,
				"accessibilityLabel": "Kassenbon vom Donnerstag, <REDACTED> in M Märt Shop Ville Zürich HB, 5 Franken 95 Rappen ausgegeben, 5.95 Punkte gesammelt",
				"cumulusPoints": "5.95",
				"preciseCumulusPoints": 595
			},
			"entities": [],
			"actions": [],
			"links": [
				{
					"rel": [
						"html"
					],
					"href": "https://mobile-app.migros.ch/app/receipts/<REDACTED>/html"
				},
				{
					"rel": [
						"products"
					],
					"href": "https://mobile-app.migros.ch/app/products/receipts/<REDACTED>"
				}
			]
		}
	],
	"actions": [],
	"links": []
}

Cookies
The app-login-id seems to be the most important cookie. I'm not sure if this alone might be enough to access at least some data. It is noteworthy that this cookie is very short lived (couple of minutes). There are other cookies necessary to renew it every so often. This makes the whole approach very cumbersome and not usable for any real-world use for now. If we can figure out the renewal process, it might be a easy way to access the API.

This is great. I want to add, that the Authorization: Bearer [token] will probably also be necessary. I assume the call doesn't work if you leave that out.
I'm having issues with PCAPDroid on my phone (because it keeps crashing the Migros App), so this is really appreciated.

Ah yes, the bearer token is most certainly necessary


Tabout.nvim interferes with LSP parameter hints deletion

Expected behavior:

LSP parameter hints appear when selecting a method
Parameter hints automatically disappear when typing custom parameters

Current behavior:

LSP parameter hints appear when selecting a method
When using tabout.nvim, parameter hints persist even after typing custom parameters

Steps to reproduce:

Open a file with LSP support enabled
Type a method name and select it from LSP suggestions
Observe parameter hints appear
Try typing custom parameters
Parameter hints remain visible instead of being cleared

Question:
Is there a way to maintain both tabout.nvim functionality and proper LSP parameter hints behavior?

Hi @ralph-bergmann
Thats a great description 🎖
This is a case I never considered, mea culpa.
In the current state there is no way to fix this, but I think I can add an tabbedOut event, so you can listen to that and refresh the lsp hints when it occurs.

@ralph-bergmann
see https://github.com/abecodes/tabout.nvim/blob/master/README.md#-hooks
This will enable you using both behaviors 👍


fix errors and comments around errors

@mmaxim  this might be a legit CI failure here: TestChatSrvPhone
ug

Maybe a rebase will help?

this PR legit broke some tests. maybe the previous behavior is important for some features. it wasn't how i intended to use the API, but if it's already working, I'm not eager to change it
2019-02-03 21:03:34.36038 notify_router.go:942   : [D] - Sent ChatJoinedConversation notification [tags:chat-trace=pU8ktXxjmCA7]
	sbs_test.go:185:
			Error Trace:	sbs_test.go:185
			            				server_test.go:265
			            				sbs_test.go:109
			            				server_test.go:258
			            				sbs_test.go:108
			            				sbs_test.go:263
			Error:      	Expected value not to be nil.
			Test:       	TestChatSrvEmail
	test_logger.go:56: TEST FAILED: TestChatSrvEmail

I'm not able to repro that locally.


Error building if the image doesn't already exist

running a gci build against a docker daemon that has no images results in this error message:
Aarons-MBP:gci arschles$ gci build
---> Creating container gci-build-gci-a9e1f0da-9498-4d30-866b-70c46d8c1406 to build github.com/arschles/gci
[ERROR] Build failed (error creating container (no such image))

After running docker pull golang:1.5.2, a gci build command succeeds


Instead of warning newcomers about pitfalls with nix-env, what if we just not mention it all

And some proof-read / local dev fixes.

Hey @ncfavier, thanks a ton for maintaining search.nixos.org, it's an absolute gem! I created this PR after hearing a bunch of people complain it's time we really stop showing people to use nix-env, so I went searching where we still do it, and found it here.
I'm perfectly happy removing any and all proof-read / local dev changes, just let me know which!


Moved API-specific GLReplay code to GLPlatform.

ENABLE_GL and ENABLE_GLES can now both be set to ON without build errors.

I just realised there is still lots of X11 code in replay_egl.cpp, so I turned off ENABLE_GLES for Android. We want to get it working on desktop first.


Fix the environment parameter error in build

This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines

[ ] The PR has modified HISTORY.rst with an appropriate description of the change (see Modifying change log).

Command Guidelines

[ ] Each command and parameter has a meaningful description.
[ ] Each new command has a test.

(see Authoring Command Modules)

@georgechenchao,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

Codecov Report

Merging #4246 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #4246   +/-   ##
=======================================
  Coverage   70.05%   70.05%
=======================================
  Files         475      475
  Lines       29605    29605
  Branches     4539     4539
=======================================
  Hits        20739    20739
- Misses       7419     7423    +4
+ Partials     1447     1443    -4

Impacted Files
Coverage Δ

...nent/azure/cli/command_modules/component/custom.py
16.26% <0%> (ø)
:arrow_up:

...dback/azure/cli/command_modules/feedback/custom.py
31.25% <0%> (ø)
:arrow_up:

...li-cloud/azure/cli/command_modules/cloud/custom.py
13.79% <0%> (ø)
:arrow_up:

src/azure-cli-core/azure/cli/core/util.py
69.73% <0%> (ø)
: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 bdeaa6e...309b6c4. Read the comment docs.


#17881 - AuthenticatesUsers logout redirects to /

Just override the method if you want to customize it. We don't need special properties.

@pichotweb this PR was rejected it's not in the core anymore so there is nothing to document.


Create cypher query to send data

Send Content data to Neo4j if index is empty.

@Dr0p42 , hey i just push a notebook with a demo dataset (cypher_query.txt) to the branch. Could you please import the queries using the file and notebook when the app starts so we can play with fake dataset? 🙏 🙏


Permission denied for n latest

I didn't run the script since I wanted to try it one by one to know what's going on.
https://github.com/tj/n/issues/416 in the thread it says that brew is no longer changing the ownership.
Is this only happening if I try to run the script one by one or even running the whole script?
Thanks for the great script 😄

@oiojin831 Thanks for the comment. This is my own personal script that works for me but feel free to post issues or read the katesr documentation on the n library :)


Change order of start messages

Put the URL of the main page last, so it is most prominent.
Also, only show the start message when running prototype locally.

Example:
/tmp/govuk-prototype-kit-test at 16:31:56
% npm start

> start
> govuk-prototype-kit start

GOV.UK Prototype Kit 0.0.1-beta.1

starting...

You can manage your prototype at:
http://localhost:3000/manage-prototype

The Prototype Kit is now running at:
http://localhost:3000

@NoraGDS does the content still make sense in this order, do you think?

I dont have a strong opinion on the order, but I'm not sure about the change to running online. I don't think we've made the decision about what happens to Manage Prototype online yet, but maybe just drop the Manage Prototype message and URL - the other one (now running at) might still be useful eg to debug from the logs

I dont have a strong opinion on the order, but I'm not sure about the change to running online.

Okay, I've dropped the change removing the messages when running in production. I've left the manage prototype message in production, when we've decided what to do about those pages we can make that change.


Redux DevTools bottom content is covered and cant scroll furthermore.

As above image, you can see the bottom content got covered and can not be seen.

+1. Also having this issue in Firefox 57.0 on OS X 10.13. The scrolling goes beyond the bottom of the window, so the last items in the list are never visible. Affects both left and right panes.

Experiencing this on FF 57, Windows.

@gaearon This is actually preventing the plugin to be usable on Firefox… would you mind to have a look at it?

I would also really appreciate having this bug fixed. It's super annoying when I cannot see latest dispatched actions and long data trees.

Fixed in version 2.15.2 of the extension. It's available on AMO. Sorry about the delay!

I infer AMO means https://addons.mozilla.org/

Anyway, thank you so much @zalmoxisus! An order of magnitude more usable now!

Thanks a bunch, confirmed fix


Finding Cycle in Graph Algorithms

I would like to explain various algorithms and standard ways to find a graph contains cycle. Kindly assign me this under GGSOC 2023.

Please assign this to me as a GSSOC contibutor.

I'm a contributor for GSSoC '23, I want to work on this issue. Please assign me.


funding: code style cleanup in the funding package

This PR aims to clean up some code style issues in the funding package mostly around line length issues.
Code structure and logic changes are only applied if the linter is asking for it.

Thanks for the PR! This is missing a release note, also curious about how you found these line too long issues?

Hi @yyforyongyu, will add the release notes and add the change you mentioned.
To spot lines >80 I enable set colorcolumn=80 in vim which highlights the row 80.

Thanks for the fixes!

Thanks for the review. I've addressed your comments.


[config] propagate chain id in to configs

wow, this is not set?  then what is the default value? why didn't it fail to start  at all?

@bors-libra r=christinacelee

:pushpin: Commit c73bdcd has been approved by christinacelee

:hourglass: Testing commit c73bdcd2f77b17745983d3f0beca24f3ed91c918 with merge 37a7e83cafe14bfd950cda647859a9090f5cb586...

:sunny: Test successful - checks-actions_land_blocking_test, checks-circle_commit_workflow
Approved by: christinacelee
Pushing 37a7e83cafe14bfd950cda647859a9090f5cb586 to master...