Unable to extract JS player URL

Checklist

[x] I'm reporting a broken site support issue
[x] I've verified that I'm running youtube-dlc version 2020.10.26
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar bug reports including closed ones
[x] I've read bugs section in FAQ

Verbose log

youtube-dlc -v https://www.youtube.com/watch?v=rNlhTKTHgpo
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.youtube.com/watch?v=rNlhTKTHgpo']
[debug] Loading archive file None
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, pref cp1252
[debug] youtube-dlc version 2020.10.26
[debug] Python version 3.8.6 (CPython) - Windows-10-10.0.18362-SP0
[debug] exe versions: ffmpeg 4.2.1, ffprobe 4.2.1
[debug] Proxy map: {}
[youtube] rNlhTKTHgpo: Downloading webpage
[youtube] rNlhTKTHgpo: Downloading embed webpage
ERROR: Unable to extract JS player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dlc -U  to update. Be sure to call youtube-dlc with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "youtube_dlc\YoutubeDL.py", line 830, in extract_info
  File "youtube_dlc\extractor\common.py", line 532, in extract
  File "youtube_dlc\extractor\youtube.py", line 2065, in _real_extract
  File "youtube_dlc\extractor\common.py", line 1010, in _search_regex
youtube_dlc.utils.RegexNotFoundError: Unable to extract JS player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dlc -U  to update. Be sure to call youtube-dlc with the --verbose flag and include its complete output.

Description

Unable to extract JS player URL error

I also see this often using version 2020.10.26, especially when using --cookies option and/or working within 65001 (UTF-8) code page (if I add chcp 65001 command).

This is already fixed in #35
Please search pull requests and closed tickets before opening a new issue :)

This is happening on many videos, vevo videos in particular. Started happening today.

Not fixed here: https://github.com/blackjack4494/yt-dlc/releases/latest/download/youtube-dlc.exe
Please undersdand that not everybody can compile the code.

Not fixed here: https://github.com/blackjack4494/yt-dlc/releases/latest/download/youtube-dlc.exe
Please undersdand that not everybody is able to compile the code.

I do absolutely understand that not everyone is able to compile code. But please understand the developers side of this: Getting new issues for already solved problems (that is just not released yet) causes overhead. Using the search is not a huge time investment, and the original ticket even has exactly the same name.
I'm sure there will be a release soon so that it works for everyone again! :)

@greyboxgt You don't need to compile the code. Just run python -m youtube_dlc https://www.youtube.com/watch?v=rNlhTKTHgpo or whatever in the source directory.


fix!: bmtHashString replaced with keccak256Hash

Close: https://github.com/fairDataSociety/fdp-storage/issues/217
Close: https://github.com/fairDataSociety/fdp-storage/issues/204

@asabya Topic calculation changes are ready and checked. I will be ready to merge and make a release after the release of FairOS with similar changes.


if based on data from attribute is not working as expected

Starting point:
http://jsfiddle.net/gigasoft/1aq35u6p/1/
Step to reproduce
Upon page load, click "Help"
Expected result
"Help" section is displayed.
"Content" section gets hidden.
Actual result
"Help" section is not displayed, even though tab selection is modified.
It looks like the property active changes, but the shorthand if {{active ? 'active' : ''}} is not re-computed.
--
Example is broken on Edge, works fine on 0.7.

Yup, appears to be that expression. A workaround is to use sections (and be mustache-y)
{{# active }} active {{/}}

Thanks for the test case – have whittled it down and created a branch for it (#2262). Will take a look this pm if no-one beats me to it

Turned out to be a pleasingly simple fix

:grin:


[VS Code] Joining collaboration session: The host has blocked you from joining the collaboration session.

Error:
Joining collaboration session: The host has blocked you from joining the collaboration session.
Steps to Reproduce:

Version Data

extensionName
VSLS

extensionVersion
0.3.1151

protocolVersion
2.2

applicationName
VSCode

applicationVersion
1.30.2

platformName
Windows

platformVersion
10.0.17134

@nandiniYeltiwar you're right, that is not an issue with the service. I thought host was the service host, not he one hosting the session.

@joaodubas Do you know if the “host” removed you on accident? For example, maybe they accidentally clicked the red x next to your name in the participants list? I’m just curious if we should explore ways to prevent accidentally blocking guests.

@lostintangent The "host" removed me, but it wasn't by accident. We didn't know that by doing this, I would be blocked from the session.


"Adjudu Vechi" is listed in the drop-down menu

Description:
When user writes ”Adjudu Vechi” the location appears in the drop-down menu next to the villages belonging to the municipality which is a part according to the law.
Precondition:
The website is up an running.

Step 1
Write in the search bar "Adjudu Vechi"

Expected results
The location appears in the drop-down menu as "Sat Adjudu Vechi, Vrancea (Adjud)".


Merge master to next

This merges master into next but first reverts #155 because #155 reverts a commit from master that's supposed to remain on next.

The C++ tests failed because I triggered them against the internal master, which doesn't have the internal commit corresponding to #114 yet. I've now retriggered them against the mergeback I've opened, which does have this commit:
/qlucie ql --test-pr 164 --code-commit f75f9ca6dbcbb16814c48c0d79b08f16bf59ae9a


Add Typedocs to automate docs generating.

Added Typedocs to automate docs generation of HavenoClient library, unfortunately. the library and its test file have some TS errors which cause some errors when starting generate:docs command, even if the .test.ts|js files are excluded from Typedocs, cause Typedocs try to run all TS files in tsc, so to prevent these errors temporarily just add @ts-nocheck in the header of haveno.ts and haveno.test.ts and the generator would work fine. By the way in the old version of Typedocs has  --ignoreCompilerErrors option but they removed it in the latest versions.
https://github.com/TypeStrong/typedoc/issues/1643

Thanks. Eslint rules are applied in https://github.com/haveno-dex/haveno-ui-poc/pull/89 to resolve the typescript errors.


Update proj.4 to version 4.9.3

4.9.3 Release Notes
o UTM now uses etmerc, following NGA recommendations.  Tests adjusted
for tiny changes in values.
o new projections: Times, Natural Earth II, Compact Miller, Patterson
Cylindrical, and inverse for Hammer and Eckert-Greifendorff.
o runtime self tests are now opt-in instead of opt-out
o math constants moved to projects.h
o bugfixes
o New (optional) runtime self tests added to proj
4.9.2 Release Notes
o proj_def.dat was missing from source distribution
see https://github.com/OSGeo/proj.4/issues/274 for more detail
o Update Geodesic library from GeographicLib
o Remove setlocale() use in pj_init_ctx()
o Renamed PVALUE in pj_param.c to prevent clash with Windows
4.9.1 Release Notes
o 4.9.0RC2 release was abandoned because it was not promoted in a
timely fashion. Subsequent maintenance of tickets has continued,
and a new 4.9.1 release was issued in its place.
o Implement inverse solution for Winkel Tripel from Drazan Tutic #250
o More CMake configuration tweaks. The CMake configuration is probably
not at feature parity with the autotools builds at this point but it
is converging #256
o Tweak initialization ordering around setlocal which may have caused
issues #237
o Support out-of-tree autoconf builds more completely #247
o Fix NaN handling by geod_inverse and geod_polygon_addedge #251 & #253
o Update config.sub and config.guess #257
o Adapt Charles Karney's CMake patches for smoother build #258
o Define default PROJ_LIB location for CMake compilation #261
o Fix Windows compilation on PJ_aitoff.c
o Align CMake SOVERSION with autotools #263
o Regenerate nad/epsg with GDAL r28536 to avoid precision loss in TOWGS84
parameters, e.g. on Amersfoort / RD EPSG:4289 (#260)
o Add CMake project-config.cmake scripts (#264 from Charles Karney)
o Dial back test sensitivity #255
4.9.0 Release Notes
o Implement CMake as an option for building PROJ.4
o Implement new virtual file api (projFileAPI) so that all access to grid
shift and init files can be hooked.
o Replace geodesic implementation with one from Charles Karney and add a
supported public interface (geodesic.h).
o Upgraded to EPSG 8.5.
o Removed old (deprecated) Java bindings in favor of the new api introduced
in 4.8.0.
o Implement the calcofi (Cal Coop Ocean Fish Invest Lines/Stations) projection
o Install projects.h again for applications that want access to internal
structures and functions despite the inherent fragility.
o Various bug fixes and cleanup.
o Added the CalCOFI pseudo-projection, #135

bob build libraries/vendor/proj
...
Build complete: /app/.heroku/vendor/

🎉

deployed to heroku-16


Print a warning when building for the host target

Building for the host system target is often not intended.
It will also cause 'can't find crate for std' errors in build scripts of dependencies, which try to use the standard library. The reason is that cargo applies the RUSTFLAGS environment variable also to build scripts in native compilation mode, thereby overriding the sysroot.
This issue was reported in https://github.com/phil-opp/blog_os/issues/403#issuecomment-529538864.

Published as version 0.5.16


Project Files list: delete file does not refresh correctly.

When the user deletes a file from the project file list the UI is not correctly updated/refreshed.
The underlying cause may be a bug in the code. The code appears to try to redisplay the deleted file which causes an error in the background UI thread so the update of the UI never gets performed.

When I tired to reproduce this I ran into a possible related problem: if I file has been added but not uploaded, trying to delete it causes an error with the error message: unknown error.


enhancement: add client9/misspell

Not sure I would give or deduct points, but nice to see.
https://github.com/client9/misspell

I'll attempt to add this to gometalinter

That would be really nice to see! :+1:

hi @shurcooL  in the meantime.. you can manually use it with gometalinter
See https://github.com/client9/misspell#does-this-work-with-gometalinter for details.

@client9 thanks, I'm looking at this now. I can't get the stdout for whatever reason. I made a small script to try to figure it out:
package main

import (
	"bufio"
	"fmt"
	"log"
	"os/exec"
	"syscall"
)

func main() {
	dir := "/Users/shawn/mygo/src/github.com/gojp/goreportcard/repos/src/github.com/ugorji/go"
	command := []string{"gometalinter", "--deadline=180s", "--disable-all", `--linter="misspell:misspell ./*.go:PATH:LINE:MESSAGE"`, "--enable=misspell"}
	params := command[1:]
	params = append(params, dir+"/...")
	fmt.Println(command)

	cmd := exec.Command(command[0], params...)
	stdout, err := cmd.StdoutPipe()
	if err != nil {
		log.Fatal(err)
	}

	err = cmd.Start()
	if err != nil {
		log.Fatal(err)
	}

	out := bufio.NewScanner(stdout)

	for out.Scan() {
		fmt.Println(out.Text())
	}
	if err := out.Err(); err != nil {
		log.Fatal(err)
	}

	err = cmd.Wait()
	if exitErr, ok := err.(*exec.ExitError); ok {
		// The program has exited with an exit code != 0

		if status, ok := exitErr.Sys().(syscall.WaitStatus); ok {
			// some commands exit 1 when files fail to pass (for example go vet)
			if status.ExitStatus() != 1 {
				log.Fatal(err)
			}
		}
	}
}

it prints nothing, but if I run the command manually I get a bunch of results. Not sure if something in there is glaringly wrong.

(Not sure if getting misspell into gometalinter would fix this)

I think I got it.
[]string{"gometalinter", "--deadline=180s", "--disable-all", "--linter", "misspell:misspell ./*.go:PATH:LINE:MESSAGE", "--enable=misspell"}

This is in now with 0 weight. Added a couple of issues and a PR to misspell:
https://github.com/client9/misspell/pull/10
https://github.com/client9/misspell/issues/7
https://github.com/client9/misspell/issues/8


Improvements to barycentric methods in GeometryUtils

I adapted this from the book Realtime Collision Detection by Christen Ericson (http://realtimecollisiondetection.net/) and this thread https://gamedev.stackexchange.com/questions/23743/whats-the-most-efficient-way-to-find-barycentric-coordinates
in theory this should work but my math might be off or even made a conceptual error.
Furthermore, the caching might be an overkill for 99% of the use cases. And it poses the question if there should be a cached option for the 2d methods too. Finally, the bigger question is if it wouldnt be even a better idea to refactor it into a (new) Triangle class. (maybe a whole new family of Shape3D objects? there are some for bounding volumes, but for example no 3d polygon as far as I can see)

after some consideration I think I will retract this pull request. On the one hand some parts don't really fit in with the design philosophy, at least not in the current form. On the other hand I am currently working on refactoring the whole math.collision, intersector and all other collision black holes.
I will reopen a new pull request with my other changes which will hopefully fit in better.

Sounds interesting. Note we do have some shape classes, the utils classes tend to be junk drawers where things got added as-needed.


Upstream Proxy Without Intercepting

Hey!
I'm attempting to use mitmproxy as a plain regular proxy. I have it running to an upstream proxy and I would like to be able to use the proxy without intercepting.
Example (now):
User -> Connect To Proxy -> Google -> SSL Handshake Error
I would like to use this as a regular proxy so it just remains:
User -> Connect To Proxy -> Google
I've tried disabling the intercept mode and all, to no result. Does a feature like this already exist? Thank you!

I have also tried using the regex '^(?!foo).*$' under --ignore-hosts so that it will avoid every host, and still nothing.


Fix some Coverity issues in the SM2 code

Fixes for misc Coverity discovered issues in the SM2 code. This is the last of the outstanding Coverity defects. All others are either dismissed or marked as "Ignore".

Removed ready label, because red cross from travis is relevant.

Common problem is that one tends to think about how to appease coverity, while one should concentrate on what code does or should do.

This remark was made in context of disputed redundancy of some NULL checks in sm2_encrypt. Closer look reveals that disputed pointers are already derefenced or implicitly tested. Most notably pkey_sm2_encrypt calls sm2_ciphertext_size prior sm2_encrypt (which calls sm2_ciphertext second time). But sm2_ciphertext derefernces group without check for NULL. In other words key is assumed to have group associated already, so that check for group being NULL is effectively redundant [in sm2_encrypt]. And so is check for order, as you just can't instantiate group without order. Its value can be zero, but pointer is always non-NULL. BTW, how come one doesn't perform corresponding checks in sm2_decrypt? Bottom line is that it's insufficient to concentrate on specifics of coverity's findings, and addressing specifically them is not guaranteed to improve things. In the context improvement would be to move NULL checks to caller, to sm2_pmeth that is. This is provided that we consider that we don't view passing key without group as programming mistake. And in case we do, error message should mean "it's caller's fault", not "internal error".

Ok, it's not something I feel that strongly about so I removed a number of the checks.

Pushed. Thanks.


ci: update ci configuration

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


Pilot is picking DestinationRule randomly but not the most specific one

Describe the bug
The PushContext.DestinationRule() returns the DestinationRule for a given service. However it's returning a random destination rule.
The function returns early in line 493 when it find a matching host from the list processedDestRulesForNamespace. But that might not be the most specific host that it should return.
For example, suppose we're getting destination rule for service "httpbin.foo.svc.cluster.local" with the following processedDestRulesForNamespace
processedDestRulesForNamespace: {
  "foo": [httpbin.foo.svc.cluster.local],
  "istio-system": [istio-telemetry.istio-system.svc.cluster.local istio-policy.istio-system.svc.cluster.local kubernetes.default.svc.cluster.local *.local]
}

The PushContext.DestinationRule() could either return *.local or httpbin.foo.svc.cluster.local randomly. (It should always return httpbin.foo.svc.cluster.local)
Expected behavior
PushContext.DestinationRule() returns the most specific destination rule for a given service.
Steps to reproduce the bug
https://github.com/istio/istio/issues/11315#issuecomment-458781731
Version
1.1
/cc @diemtvu

@rshriram

This mostly affects the istioctl authn tls-check tool, as it try to check the DR and authN policy consistency by service, without getting into proxy instance level.
On the other hand, we have other issue related to the recent change in the way picking up DR (https://github.com/istio/istio/issues/11545)


Allowing to specify a password to connect to redis

The password argument was added as the last one to not introduce a breaking chance for people that creates the Thoonk instance with positional arguments in their code.

looks good


Add documentation on how to update or destroy a jsonform

In case this functionality is included/intended then it would be great to have this in the Wiki.
I am creating a jsonform through an ajax call depending on what information the user inputs. E.g. if the user checkes that he is interested in music, then an ajax call for the music questions are triggered and a subform (jsonform) is created. If the user unchecks the music check box, then the subform is removed.
When removing and creating several subforms it is clear that I am not removing everything with my $('#subform').empty(). For example using the authfieldset toggle function (collapse, expand) gets buggy and fires multiple times.
I was looking through the code to be able to suggest some documentation or changes but I was unable to figure out how to handle this.

Hello @Tectea
This is not intended per se. Do you have a reproducible example of a buggy behaviour, maybe a jsfiddle, so I can have a look ?
BR

See fiddle at https://jsfiddle.net/osmvc2y7/

Click the auth field to toggle content
Click form1 button
Click form2 button
Click the auth field to toggle content (Buggy behaviour expected)

Hello
Well you could just clone the original form to remove all event handlers associated, since empty() will not do so:
https://jsfiddle.net/t3dsmzj8/
Tell me if that works for you

Awesome! Big thanks for the help and for all work on this!


Swap dirs and prep to build for iOS

Issue link

https://github.com/tasitlabs/tasit/issues/64
Types of changes

Meta (a change that affects future changes to this repo)
Technical debt (a code change that doesn't fix a bug or add a feature but makes something clearer for devs)
Other (please describe below if you select "Other")
Publishing JavaScript assets and building for iOS
Notes

There are still more changes coming related to building for iOS

@marcelomorgado I accidentally dismissed your review by changing the image. Can you give it one more quick review? Thanks!


Add type guards for ws events

Implementation would be easier for websockets if the library included pre-built type guards to narrow down types.
export function isWsFuturesUserDataEvent(
  data: WsFormattedMessage
): data is WsMessageFuturesUserDataEventFormatted {
  // The wsKey can be parsed to determine the type of message (what websocket it came from)
  return !Array.isArray(data) && data.wsKey.includes('userData');
}

Could put these under util/typeGuards.ts

Hi Tiago,
I was looking at the type guards and created two new ones that I needed for my implementation.  I have added the names and signature below and can send a PR if they look ok (I can also try to add more but wanted to check that those two are correct before I add more).
function isWsAggTradeFormatted(data: WsFormattedMessage): data is WsMessageAggTradeFormatted
function isWsSpotUserDataExecutionReportFormatted(data: WsUserDataEvents):
 data is WsMessageSpotUserDataExecutionReportEventFormatted

I wanted to check something that confused me a little bit with the messages types: basically while implementing the type guards below I noticed that I could pass a WsUserDataEvents to a function that expects a WsFormattedMessage.
This seems odd to me as I thought the two message types are supposed to be disctinct/exclusive.  But maybe my understanding is incorrect.
I do see that one of the sub types of WsUserDataEvents is also a subtype of WsFormattedMessage so wondering if that's the reason for this "behaviour" (the subtype is WsMessageFuturesUserDataEventFormatted).

It's possible a mistake on these types may have slipped through. Technically user data events can also be raw and/or formatted, like any other event from binance. If WsUserDataEvents is the union type of all formatted user data events, I would have preferred if I labelled it WsFormattedUserDataEvents (unless I realised it later and didn't want a breaking change yet...)
Looking at types/websockets.ts, I see it's a union of all formatted spot user data events and all formatted futures user data events. So yes, definitely regret the choice in naming here - I would be tempted to duplicate it with a better named version and mark the current one as deprecated for removal in the next major release.
Generally I've wanted it to be obvious which interface or type represents a formatted vs raw message, so there's no confusion or digging around during implementation.
Regarding your question on the type guards, yes, I'd absolutely love to see more being added.
Since the 'formattedMessage' emitter always emits WsFormattedMessage, this is the data type of the input parameter for any type guard on formatted events:
https://github.com/tiagosiebler/binance/blob/master/src/websocket-client.ts#L94-L97
This can be seen in the type guards so far: https://github.com/tiagosiebler/binance/blob/master/src/util/typeGuards.ts
Hope that clears out the questions, but let me know if there's more! Ideas are also welcome of course.

Ok I think that makes sense.  So regarding the second typeguard isWsSpotUserDataExecutionReportFormatted do I need to change the input from data: WsUserDataEvents to data: WsFormattedMessage ?  And is this the expected pattern for the typeguards in this file?
If that's the case then I wonder if there might be a way to constrain that type at file level (or have a class with a generic type T of WsFormattedMessage)?

Ok I think that makes sense. So regarding the second typeguard isWsSpotUserDataExecutionReportFormatted do I need to change the input from data: WsUserDataEvents to data: WsFormattedMessage ? And is this the expected pattern for the typeguards in this file?
And if that's the case then I wonder if there might be a way to constrain this type at file level (or have a class with a generic type T of WsFormattedMessage with relevant typeguards in it)? Sorry thinking out loud here and not really used to typescript patterns yet

I think the inputs to all these type guards should be the highest level union type (or unknown if there's any doubt on the type), since that allows these type guards to be used at the highest level of the event handler (so you don't need to call other type guards first if you don't want to).
Repetition can be reduced by combining type guards, for example this one works on the highest level but also does some of the repetitive checks via another guard:
export function isWsFormattedSpotUserDataEvent(
  data: WsFormattedMessage
): data is WsMessageSpotUserDataEventFormatted {
  return isWsFormattedUserDataEvent(data) && data.wsMarket.includes('spot');
}


(Go version) Add release workflow

Add a workflow to automatically build the Go version and attach the binaries to a published release.

Heavily inspired by dnscontrol.

@tlimoncelli would you re-review please? Note that in order for the Go code to build, there has to be v2 tag because of the semantic versioning.


Catch panics when calling GoString like fmt %#v does

This handles a few cases (similar to how fmt %#v does):

A GoString method on a value receiver, called with a nil pointer
A GoString method on a pointer receiver that doesn't check for nil
A GoString method that panics in some other way

Because Go 1.17 added a method Time.GoString with value receiver, this
broke structs that had *time.Time fields with nil values (which is
common!).
Also added a bunch of tests for these cases.
Fixes https://github.com/kr/pretty/issues/77

Looks good. Would just like to check that it works on the example given in the original issue, as well as the logging in the Juju CAAS package.

@jameinel (Copying from my Mattermost message.) I don't think we can let the nil pointer case fall through. This block is after we already know the thing has a GoString method, and it may be a pointer receiver, or may not. If it's a pointer receiver and the pointer is nil, we still want to call GoString in case that method has special handling for receiver == nil. So I think this is correct (and probably why fmt does it that way).

@barrettj12 FYI, I've also just tested this against the example program at https://github.com/kr/pretty/issues/77, and it works fine too.


[skip ci] if문 제거

https://github.blog/changelog/2021-02-08-github-actions-skip-pull-request-and-push-workflows-with-skip-ci/

I didn't know about that. Thank you for letting me know.


Add citation information to README and to docs.

fix for #477

Coverage remained the same at 48.795% when pulling 61cde970d4e80d88fca285b03e3e28da141f6189 on apdavison:issue477 into c3af219d58a1657346ffdc1bb810499ea2ac4263 on NeuralEnsemble:master.

Can I merge ?


CI: auto formatter script

Many parts of this repository is not formatted in the correct way, to reduce the time for development, we should add the auto formatter script to keep the codebase style consistent between contributors.
The script should run the command cargo +nightly fmt

https://github.com/paritytech/polkadot-sdk/blob/d1979d4be9c44d06c62aeea44d30f5f201d67b5e/.github/workflows/checks-quick.yml#L40

Closed. We agreed to have only format check and let the PR owner to fix it instead of auto formatting.


chore: simplify fl scripts

Simplify federated learning use case scripts:

Reduce duplication by moving common command definitions to common.sh
Don't skip destroying the initialize terraservice
Dynamically load the list of terraservices in the initialize terraservice
Prepare logic for core platform configuration

@arueth can you please approve again? I've rebased this branch against the latest int-federated-learning. Thanks

Thanks!


⚠ Turnos 24x7 has degraded performance

In 2daeaba, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 1585 ms

Resolved: Turnos 24x7 performance has improved in 3c99d9a.


feat: Local CSV

The first iteration of tap-file with the ability to sync locally stored CSVs.
Functionality:

Automatic schema generation by sampling files.
Regex-based file inclusion to allow selectivity.
Basic logging of tap progress and relevant warnings.

CSV's don't need to get sampled for this, let's just stick with Strings

Will resubmit with the S3 PR


make.sh error on pytorch1.0

running build_ext
copying build/lib.linux-x86_64-3.7/model/_C.cpython-37m-x86_64-linux-gnu.so -> model
Compiling nms kernels by nvcc...
Traceback (most recent call last):
  File "build.py", line 4, in <module>
    from torch.utils.ffi import create_extension
  File "/root/.pyenv/versions/3.7.1/lib/python3.7/site-packages/torch/utils/ffi/__init__.py", line 1, in <module>
    raise ImportError("torch.utils.ffi is deprecated. Please use cpp extensions instead.")
ImportError: torch.utils.ffi is deprecated. Please use cpp extensions instead.
Compiling roi pooling kernels by nvcc...
Traceback (most recent call last):
  File "build.py", line 4, in <module>
    from torch.utils.ffi import create_extension
  File "/root/.pyenv/versions/3.7.1/lib/python3.7/site-packages/torch/utils/ffi/__init__.py", line 1, in <module>
    raise ImportError("torch.utils.ffi is deprecated. Please use cpp extensions instead.")
ImportError: torch.utils.ffi is deprecated. Please use cpp extensions instead.
Compiling roi align kernels by nvcc...
Traceback (most recent call last):
  File "build.py", line 4, in <module>
    from torch.utils.ffi import create_extension
  File "/root/.pyenv/versions/3.7.1/lib/python3.7/site-packages/torch/utils/ffi/__init__.py", line 1, in <module>
    raise ImportError("torch.utils.ffi is deprecated. Please use cpp extensions instead.")
ImportError: torch.utils.ffi is deprecated. Please use cpp extensions instead.
Compiling roi crop kernels by nvcc...
Traceback (most recent call last):
  File "build.py", line 4, in <module>
    from torch.utils.ffi import create_extension
  File "/root/.pyenv/versions/3.7.1/lib/python3.7/site-packages/torch/utils/ffi/__init__.py", line 1, in <module>
    raise ImportError("torch.utils.ffi is deprecated. Please use cpp extensions instead.")
ImportError: torch.utils.ffi is deprecated. Please use cpp extensions instead.

when I run sh maske.sh, I got the error message as shown above.

@wanghan0501 I guess you are still using pytorch 0.4 (master) branch, please go to pytorch-1.0 branch and try again.

I find the reason that I got error message. You should remove make.sh in branch pytorch-1.0, and I also find you didn't compile coco api, which will lead to a error.
You shoud add setup file in pycocotools
# --------------------------------------------------------
# Fast R-CNN
# Copyright (c) 2015 Microsoft
# Licensed under The MIT License [see LICENSE for details]
# Written by Ross Girshick
# --------------------------------------------------------

import os
from setuptools import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext
import numpy as np

# Obtain the numpy include directory.  This logic works across numpy versions.
try:
    numpy_include = np.get_include()
except AttributeError:
    numpy_include = np.get_numpy_include()

ext_modules = [
    Extension(
        '_mask',
        sources=['maskApi.c', '_mask.pyx'],
        include_dirs = [numpy_include, '.'],
        extra_compile_args=['-Wno-cpp', '-Wno-unused-function', '-std=c99'],
    )
]

setup(
    name='faster_rcnn',
    ext_modules=ext_modules,
    # inject our custom trigger
    cmdclass={'build_ext': build_ext},
)

and run
python setup.py build_ext --inplace

thanks! In pytorch-1.0 branch, I already removed sh make.sh for the installation, will remove the file as well. The compiled pycocotools file in pytorch-0.4.0 is reusable and thus I did not compile here. Thanks for reminding.

so there no need to run "sh make.sh" ? or is it necessary to run ??
please help me.


Inability to revert to configuration mode on Wemos D1 mini

Hi,
I did configuration step using API as indicated in the docs. I'm using the latest stable release.
The problem with Wemos mini board is that there is no additional button for "flashing". Only reset.
This is why I cannot get the board into configuration again.
I tried reflahing with other arduino sketches but after uploading basic homie, the scripts gets the previous config.jason file from somewhere. And I do not think that it is dokumented from where.

Please advise on how to get back to configuration on boards without a button.
Please make it clearer in the docs how to change config.json manually not using the API.

Thanks.
W

You can change the FLASH button with another pin, or set your own reset function: http://marvinroger.viewdocs.io/homie-esp8266~v1.5.0/3.-Advanced-usage/#user-content-reset
To change config.json manually: http://marvinroger.viewdocs.io/homie-esp8266~v1.5.0/5.-JSON-configuration-file/

To configure your device, you have two choices: manually flashing the configuration file to the SPIFFS at the /homie/config.json (see Uploading files to file system), so you can bypass the configuration mode, or send it through the Configuration API.

tl;dr
Put your config.json in a data/homie/config.json in the directory of your sketch, and select Tools > ESP8266 Sketch Data Upload
If you think docs are not clear enough, please open a PR with the changes you'd like. :)

Wolass, the SPIFFS file system is written into a different "bank" of the ESP8266 flash memory from what is used for sketch program space. That is why it was persistent after you programmed a different sketch onto the ESP8266 module.
I have struggled to get a syntatically correct config.json file! So just create a config.json file with some random text and upload it. Take care to observe the full path (/homie/config.data) of the image that SPIFFS is creating for you.

Thx NigelTwo and Marvin. Actually after marvin gave the link  http://marvinroger.viewdocs.io/homie-esp8266~v1.5.0/5.-JSON-configuration-file/ it all became clear! But if someone is not aware that ESP8266 has internal memory and you need a specific TOOL for the arduino IDE to be able to write in this memory (e.g. me :) ) - its not that easy to figure that on your own from the docs. I'll try to suggest a PR, but now I'm swamped with work...


Use specific lodash functions instead of package

Importing the complete lodash package is:

heavy, we only need two functions here!
side effects by changing the _ in the global scope (for example, someone using underscore in a legacy backbone app will be affected ;) )

@rricard Thanks! I'll merge it once it's rebased.

@helfer done!

@rricard ok, can you fix the CI, please. It doesn't pass at the moment.

@helfer yep, figured out it would fail while redoing the typing in the other rebase! I went a bit too fast

@helfer should pass now!

and rerebased again!

intermittent ci fail again, see #18


raw editor - alphabetic order changes after modifing tag-key

Corresponding to #5925 there is another new behavior for v2.14 detected which is sorting related.
If a tag-key is modified the whole line doesn't stay in the alphabetic order and is moving to the bottom
Expected behavior: Line order shouldn't change and remain contant
For an example see here:

Thank you :-)


Srtp authentication

one more before we're done I think
This adds functions for srtp-authentication  (rfc 3711)
It's tested against libsrtp.

This is getting more complex by the day! Good job, thanks!


Use monotonic times throughout the codebase (not currentTimeMillis)

Clock can go back, causing havoc and odd results as shown in
https://github.com/apache/lucene/issues/7687

Thanks for the work here @dweiss ! Maybe it will a little bite out of the long-tail of jenkins failures :)

Definitely worth trying to cut down on the noise. It's always irritating when a test fails and there's no clue as to what actually happened...


Usage of _base

I am just a bit confused by the usage of the appendix "_base".

It's just to signify that this the constant part of polymorphic objects. It's just to make it easier to se which parts needs to be used in order to define how to construct polymorphic objects (the _base ones) , and which ones to use when you want to use a polymorphic (constant + variable) somewhere in the schema.


Can not able to import msw-storybook-addon

I tried to mock api call using msw-storybook-addon. When I tried to configure this package in preview.js, I got this error(image below).

// preview.js

import { initialize, mswLoader } from "msw-storybook-addon"

initialize()

const preview = {
    parameters: {
        actions: { argTypesRegex: "^on[A-Z].*" },
    },
    loaders: [mswLoader]
}

export default preview

Node: v18.17.1
Packages:

"vite": "^5.0.8"
"msw": "^2.0.11"
"msw-storybook-addon": "^1.10.0"
"@storybook/addon-actions": "^7.5.3"
"@storybook/addon-essentials": "7.0.18"
"@storybook/preview-api": "^7.5.3"
"@storybook/react-vite": "7.0.18"

this issue is already being tracked AFAIK here:
https://github.com/mswjs/msw-storybook-addon/issues/121
and here:
https://github.com/mswjs/msw-storybook-addon/pull/122

Hi. I believe this has been resolved. If you still experience this issue, please submit it again, providing a reproduction repository with the latest versions of the tools. Thanks.


Show symlink path below

First of all, THANK YOU very much for such an awesome app.
I think that the way symlinks are shown make too much noise.
I mean:
filename -> /home/$USER/path/to/file

If you take a look at joshuto, the way it shows the path to the file is great. At the bottom of the TUI.
I know Yazi is able to hide the path of the symlink, but I still want to know it's a symlink and where it comes from.
Thanks in advance.

Thanks for your appreciation. Some users (like me) prefer symlinks displayed alongside directories, while others like them in the bottom status bar.
Ideally, Yazi would choose one, but to accommodate the needs of others, I put in a lot of effort to develop a theming system. You can use Lua to rewrite most of Yazi's UI, and for this case, it's should easy to implement.
I have added it to the tips of the doc, take a look at https://yazi-rs.github.io/docs/usage/tips#show-symlink-in-status-bar
(Note: The theme system is a new feature that will be shipped with v1.0.5, currently you need to build Yazi from main branch.)

v0.1.6 will have it built-in, but for now, you can achieve it also through a UI plugin.


Add module for Azure Storage Queue

#516
This PR adds a module for Azure Storage Queues from an Azure Storage Account service.

Tried keeping to the format that already existed @arnaudlh. Please let me know if this is what you would expect!


Release the GIL in python_parameter_set::flush

Resolves #193, resolves #283
When executing a parametrized query, the turbodbc.cursor.execute() method calls python_parameter_set.flush() which makes ODBC API calls without releasing the GIL. This blocks the whole python process until the call returns. In the worst case scenario, a deadlock can occur if the operation tries to acquire a database lock which is already held by another thread in the same process.
I believe it is safe to release the GIL at this point because the bound_parameter_set class does not interact with any python objects.
Fix was tested using the sample code provided in #193 (thanks @korobkov-mindbox)

Codecov Report

Merging #333 (f28aa0b) into master (70fb36b) will increase coverage by 0.73%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #333      +/-   ##
==========================================
+ Coverage   98.37%   99.11%   +0.73%
==========================================
  Files         127        9     -118
  Lines        2962      339    -2623
==========================================
- Hits         2914      336    -2578
+ Misses         48        3      -45

Impacted Files
Coverage Δ

python/turbodbc/cursor.py
98.50% <0.00%> (-0.02%)
:arrow_down:

...rbodbc_python/Library/src/python_parameter_set.cpp

...bodbc_numpy/Library/turbodbc_numpy/string_column.h

cpp/cpp_odbc/Library/cpp_odbc/environment.h

...odbc/Library/src/descriptions/date_description.cpp

...python/Library/src/python_bindings/column_info.cpp

...odbc_python/Library/src/python_bindings/cursor.cpp

cpp/turbodbc/Library/src/connection.cpp

...bc/Library/turbodbc/result_sets/bound_result_set.h

.../Library/src/field_translators/date_translator.cpp

... and 109 more

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 70fb36b...f28aa0b. Read the comment docs.

I believe it is safe to release the GIL at this point because the bound_parameter_set class does not interact with any python objects.

IMHO it also needs to be checked wether any pointers (parameter pointers and target buffers) which are dereferenced by ODBC are owned by Python objects. If that is the case releasing the GIL might invalidate these pointers during execute, causing segmentation faults.

I believe it is safe to release the GIL at this point because the bound_parameter_set class does not interact with any python objects.

IMHO it also needs to be checked wether any pointers (parameter pointers and target buffers) which are dereferenced by ODBC are owned by Python objects. If that is the case releasing the GIL might invalidate these pointers during execute, causing segmentation faults.

Ops, didn't see this before merge 🙁

Maybe it's all good, but it would be sensible to check how the parameters are converted into C++ objects. If the Python objects are copied, all good, but if they are only borrowed, than this might result in a segmenation fault.

Even borrowing would be ok as long as the code doesn’t do any calls to the Python C-API. The reference count will keep the objects alive.

Even borrowing would be ok as long as the code doesn’t do any calls to the Python C-API. The reference count will keep the objects alive.

I would be cautios here. After all ODBC doesn't bind pointers to Python Objects, but (maybe) pointers owned by python objects. Mutating these (Python Objects) might very well invalidate the pointers, or violate invariants (such as between the length indicator and the bound parameter buffer).
Again didn't read through the binding code, and if everything is passed as a copy, no harm done. In any other case I would disadvise releasing the GIL.

See the parameter binding code starting here: https://github.com/blue-yonder/turbodbc/blob/3cccd0af637944cf566c6c295c92f23ba90deffa/cpp/turbodbc_python/Library/src/python_parameter_set.cpp#L64
It seems to me that the parameter_converter code in determine_parameter_type.cpp always makes a copy of the python objects that are passed in (and the GIL is held during this stage of the process).
I don't believe that the bound_parameter_set.execute_batch() method interacts with any python object pointers, so it should be safe to release the GIL before calling it.
Parameter binding code:
https://github.com/blue-yonder/turbodbc/blob/3cccd0af637944cf566c6c295c92f23ba90deffa/cpp/turbodbc_python/Library/src/determine_parameter_type.cpp

It seems to me that the parameter_converter code in determine_parameter_type.cpp always makes a copy of the python objects that are passed in

All good then 👍


training data for KOSMOS-2

Hi,
I wonder what is the exact training data and data size/scale for KOSMOS-2, in the paper, I only found "We train the model on newly added grounded image-text pairs, monomodal text corpora, image-caption pairs, and interleaved image-text data."

grounded image-text pairs: refer to Table 1
the other data: refer to the Kosmos-1 paper   https://arxiv.org/pdf/2302.14045.pdf


Nonprintable/non-standard characters aren't parseable

Description
When you have a SQL query/editor/file that has whitespace characters other than CHAR 32, the SQL parser throws an error.
It feels like the parser should be able to handle non-standard spacings, and if not it should give a clearer error; the current makes the error seem random and nonsensical.
DBeaver Version
Community Version <IP_ADDRESS>303040621
Operating System
Windows 10 Pro
Database and driver
Database: Redshift
Driver: AWS / Redshift (JDBC)
Steps to reproduce

(Attempt to) run a query with non-standard spacing (for example: problem query.sql.txt)
Get this error: SQL Error [42601]: ERROR: syntax error at or near "."

Additional context
dbeaver-debug.log

Hello @nateirvin,
The issue has nothing to do with DBeaver. The error is returned from the database.


Using private channels

Hey,
I couldn't find anything about using private channels, is it supported.
According to Laravel Docs, in Echo we can do something like :
Echo.private('App.User.${userId}')     .notification((notification) => {         console.log(notification.type);     });
But when I use
this.$echo.private...something similar
It isn't subscribing to the Private Channel.
What am I missing here?

Hi @farazappy
To use private channels, you need:
export default {
  echo: {
    broadcaster: 'pusher',
    key: '48a97e3feef8c4e454bf',
    authModule: true // enable auth module,
    authEndpoint: 'endpoint' // https://laravel.com/docs/7.x/broadcasting#defining-authorization-routes
  }
}


[mysql-connector-cpp] Revise, add test port

Another weird CMake build system.
Reliably de-vendor third-party libs, and also remove them from this port's binaries.
Fix cross-builds (non-MSVC).
Partially reimplement the official CMake config on top of the unofficial config.

Thank you for touching the cursed and adding tests, the tests made it much easier to be confident that this would actually work!


Support other distance types apart from float

this avoids type conversion for discrete metrics like hamming. Currently the tests fail.

I found the issue. The optimized hamming distance that use SIMD instruction actually returns signed int value despite having u64 suffix in name:

Source: https://learn.microsoft.com/en-us/cpp/intrinsics/x64-amd64-intrinsics-list?view=msvc-170
Can you change to integer value or cast properly within here :bow:

@pablocael please check again. The tests are all succeeding now. https://github.com/Dobatymo/pyvptree/actions/runs/5747995002


Update date range for contamination visibility plots

To assist with observation planning the range of dates on the horizontal axis of contamination visibility plots should be more up to date. Currently the end date is January 2024.
One could hard code the date range from now to several years in the future or, even better, make it based on the system date from now until several years in the future.
Based on conversation with Joe, it seems that this UI change depends on on updates to ephemeris data (jwst_gtvt).

Resolved in #577


Please add the option to use clustering in colData

Please add the option to use a custom clustering stored in the column data when the input data is an SCE with cluster codes.

Hello,
I think the best way is to use the package in a step-by-step way.
In the code of generateClusters.R, the few final lines of code show how to add any clustering result to the d_se object.
Best.
https://github.com/lmweber/diffcyt/blob/39348fd4ebba6a2ca5c38325e587d5c9047f3fda/R/3_generateClusters.R#L168-L172

I think I mis-read your question. I thought you have carried out a table of counts per sample and per cluster.
If the input of the diffcyt wrapper/function is an SCE object, you can set the clustering_to_use argument to inform about the clustering column.
Unfortunately, I think it will currently fail as reported in Cell populations in topTable() wrong


Scheduler Injection

Hi Folks,
Good work here! Do you have any way of injecting errors into the warp or block schedulers?
Chris

Hi Chris,
SASSIFI can inject errors only in the ISA visible state. I don't think there is a direct way to inject those errors. If we know how such errors manifest at the architecture-level, SASSIFI can be used to study the impact of such manifestations at the program level. It is an interesting topic, but we have not looked into it.
Thanks,
Siva


Twitch adapter now sends raw CAP REQs for twitch.tv/command

Twitch adapter now also checks for flood protection environment variable and sets it via irc client flood protection boolean and flood protection delay.
Flood protection defaults to on at 1100ms since twitch is a little overzealous if it is set at the 1 second mark.

I had for some reason totally missed this PR, thanks for this @wonkodsane.


Remove TTLAfterFinished for 1.25 compatibility

This pr: ..

How to run CI
Comment on this PR with:
/run cluster-test-suites

Tested in gcapeverde


weird code formatting for RTL language

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

VS Code Version: 1.66.0
OS Version: Linux-mint xfce

after i updated to latest version i see weird code formatting in multi-word lines

and when i write a single word its something even more weird

expected behavior is
نظری وجود ندارد

yes i have the same issue with HTML files too

updated to 1.66.1
problem solved.


Modified CSS to make product page more responsive #6885

Coverage remained the same at 73.58% when pulling 67e4a550f200f98421b0baa621163aa512665442 on PritishC:fix-productimage-css into 1b4d7e592a6bd4ea66d58708f7740c4348cc7ef3 on openlabs:develop.


Add Google Cast (Chromecast)

Especially, whether its possible with their mobile apps.

I meant to add the Cast feature as a row not as a column. Or do you mean its not considered as integrations with non-FOSS products/services are not considered, at all?

Okay, got it. Thank you for sharing the list, though.


[node-v6] [mapnik-v3] Upgrade tilelive-bridge

Use a tilelive-bridge version that supports Node 6.x and Mapnik 3.x
Is this compatible with Node-v0.10?
Yes.

Bumped to tilelive-bridge#2.3.1-cdb1 in mapnik-migration


Changing to es6 syntax and reorganization of files

Includes fixes for issues:

Change the PNS to use es6 syntax
Reorganizing and changing naming conventions in files

Sending PR to push notifications branch


Rename "Duration" metadata column as "ContentDuration" to prevent int…

…ernal field name collisions
SharePoint already has a site column with internal name "Duration" - this is field with GUID {4D54445D-1C84-4a6d-B8DB-A51DED4E1ACC} which is used in calendar event schema and is a hidden field of type integer.
I strongly advise and recommend development team adopts a new less generic name such as "ContentDuration" so that a Viva Learning content type may be created at the Content Type Hub level and pushed down through syndication. If we keep "Duration" as the internal site column name, we are welcoming unnecessary trouble in future iterations should Microsoft decide to make the field global. Please reconsider the internal name of this field which will require documentation and code updates in the Viva Learning service.

@bhaswatic
PR has been copyedited and is ready for final review, could you please check and merge? Thanks!

Hi @scanum - It looks good to me. Can you or someone with label editing capacities tag "sign-off" or "help wanted" in labels?
As an author, I can approve, but I do not merge to the public repository.

Thank you @bhaswatic! I have added the help wanted label.


Add PyPi publishing on release and ergonomics changes

We would want to add back the automated release of VAST Python with the new implementation.

Part of https://github.com/orgs/tenzir/projects/8/views/1?pane=issue&itemId=9361781

The merge of #2869 was unintentional, but we are not going through the process of reverting. We'll proceed with the merge of both to master at once.


Is it possible to just have the main container check to see if the setup is required to be ran?

bootstrap containers are horrible and very inconvenient.  they're incompatible with lots of docker deployment systems as well is it possible to just have start.sh or something added to the main container that can test the requisite things in the database or whatever to determine if its necessary to run the setup and if its already good just run the container.

@Leopere thanks for the feedback. I'm not super familiar with docker, so it's a little hard for me to imagine how this might look. If you are willing to put up a PR that makes this happen, I think it would be easier to discuss it there. @guidopetri has been putting some work into our docker support, so he might have some thoughts, too.

We had a lot of discussion about this in https://github.com/stringer-rss/stringer/pull/1091 , and settled on that idea. I'm curious why you say:

bootstrap containers are horrible and very inconvenient

I can see why they're incompatible with docker deployment systems, but for someone with that depth of knowledge with docker, isn't it easier to set up your own docker compose file?

It just means I’ll have to build a staging environment just for the initial bootstrap then ship it out to production in a super janky way.


Add detailed documentation explaining main.cc

@merltron @xaviergully: I tried to give the most explanation of this code possible without sounding too patronizing. Anything missing?

Also, If I'm developing an app, whats the workflow for these commands?  Can we add some kind of sequence diagrams or descriptions?

Also, If I'm developing an app, whats the workflow for these commands? Can we add some kind of sequence diagrams or descriptions?

That's explicitly not addressed by this demo app. All it does is expose the functions. It doesn't execute them. It might be good to have a demo app and/or a documentation section that does that, but it's not part of the documentation for this demo app.

Also, If I'm developing an app, whats the workflow for these commands? Can we add some kind of sequence diagrams or descriptions?

That's explicitly not addressed by this demo app. All it does is expose the functions. It doesn't execute them. It might be good to have a demo app and/or a documentation section that does that, but it's not part of the documentation for this demo app.

OK, we may not necessarily need it here, but we're gonna need it somewhere...ideally so we can expand out the "Integrating" section/chapter with a whole end-to-end story or case study for integrating libaktualizr. Anyway, also not a blocker.

Looks better.
Will https://docs.ota.here.com/ota-client/dev/libaktualizr-why-use.html updated accordingly especially "(documentation coming soon)"

Looks better.
Will https://docs.ota.here.com/ota-client/dev/libaktualizr-why-use.html updated accordingly especially "(documentation coming soon)" ?

Yes, we should remove the "documentation coming soon", I will do that (it's in another repo).

Looks great, thanks, Jon! While we are at it, could you please add a line in the beginning, like "this project uses git submodules and should be cloned with --recursive flag"? I forgot to mention that.


build.sh(s) now grep relx.config for version info

Can you also bump the omnibus project config version while we are at it?  It is in omnibus/config/projects/chef-server.rb

done

:+1:

:ship:


Add constants to and fix the dst 32 comments

The first set of rotates were commented as being Sin + Cos, Sin - Cos,
and Cos instead of (Sin + Cos)/Sqrt(2), (Sin - Cos)Sqrt(2), and
CosSqrt(2).
The rest of the code has constants in their comments. The 32 point asym dst
did not. This patch adds those constants.

Coverage remained the same at ?% when pulling 974e975cc28742586d4bf3a7ba2d5294800714ea on KyleSiefring:daala_tx_fix_sqrt_constants_comments into 16ff6cdb86623712eaf59af2d9dd5016b051a1fe on xiph:master.


Search in chicklet box...

Users have expressed a desire to have a more obvious google search like first experience with interface.  Need to figure out how to make an obvious search box that blends smoothly with faceting.

A simpler search box could also be part of a latency-hiding UX, e.g.
basic options can be ready to respond on a landing page before
the entire facet browser application state is loaded?

do we still want this, or has this been obsoleted by removing the chiclet box and pinning the slide out by default?

I think this has been obsoleted.
Carl

Dr. Carl Kesselman
Dean’s Professor, Epstein Department of Industrial and Systems Engineering
Fellow, Information Sciences Institute
Viterbi School of Engineering
Professor, Preventive Medicine
Keck School of Medicine
University of Southern California
4676 Admiralty Way, Suite 1001, Marina del Rey, CA  90292-6695
Phone:  +1<PHONE_NUMBER>
Email:  carl<EMAIL_ADDRESS>Web: http://www.isi.edu/~carl
On September 24, 2015 at 5:11:12 PM, robes (notifications<EMAIL_ADDRESS>wrote:
do we still want this, or has this been obsoleted by removing the chiclet box and pinning the slide out by default?
—
Reply to this email directly or view it on GitHubhttps://github.com/informatics-isi-edu/chaise/issues/35#issuecomment-143086038.

moved to wishlist


Optionally return "id" columns MiqExpression.model_details

This is necessary for building expressions for automate because the workspaces reference objects by id.
Id columns are not returned by default (preserves the current behavior)
Passing :include_id_columns => true will return id columns

/cc @gmcculloug, @mkanoor

This looks good to me.  @mkanoor Does this work for the automate method expression editor?

@gmcculloug Looks good, now we would need to pass the :include_id_columns => true from the Expression Method UI code.

@Fryguy Please review

@imtayadeway This should be ready to go. Please take another look. Thanks


"kontena service ls" causes "internal server error"

I will sum up my situation shortly below:

I recently set up a Kontena grid foo using 4 nodes.
After that i setup a second grid bar using 1 node.
The result is having 3 running docker container (kontena-server-haproxy/server-api/mongo-data on my master node.
I restartet the kontena-server service.
Logged in locally  into my kontena grid foo  works fine.
But Using the command "kontena service ls" causes a "server internal error" Error.

The first few lines of the error log logged in the server-api docker-container is:
NoMethodError (undefined method `to_path' for nil:NilClass
Did you mean?  to_a):
  /app/app/views/v1/grid_services/_grid_service.json.jbuilder:37:in `block (3 levels) in evaluate'
  /usr/lib/ruby/gems/2.3.0/gems/mongoid-4.0.2/lib/mongoid/relations/proxy.rb:150:in `map'
  /usr/lib/ruby/gems/2.3.0/gems/mongoid-4.0.2/lib/mongoid/relations/proxy.rb:150:in `method_missing'
  /usr/lib/ruby/gems/2.3.0/gems/mongoid-4.0.2/lib/mongoid/relations/embedded/many.rb:404:in `method_missing'
  /app/app/views/v1/grid_services/_grid_service.json.jbuilder:36:in `block (2 levels) in evaluate'
  /usr/lib/ruby/gems/2.3.0/gems/tilt-jbuilder-0.6.1/lib/tilt/jbuilder.rb:52:in `eval'
  /usr/lib/ruby/gems/2.3.0/gems/tilt-jbuilder-0.6.1/lib/tilt/jbuilder.rb:52:in `block in evaluate'
  /usr/lib/ruby/gems/2.3.0/gems/jbuilder-2.2.5/lib/jbuilder.rb:16:in `initialize'
  /usr/lib/ruby/gems/2.3.0/gems/tilt-jbuilder-0.6.1/lib/tilt/jbuilder.rb:8:in `initialize'
  /usr/lib/ruby/gems/2.3.0/gems/jbuilder-2.2.5/lib/jbuilder.rb:21:in `new'
  /usr/lib/ruby/gems/2.3.0/gems/jbuilder-2.2.5/lib/jbuilder.rb:21:in `encode'
...

Have you got any idea how to solve that problem? Without resetting all configs I made?

Tracking a fix to what I assume is causing this in #1769
Can you confirm if this may have been caused by upgrading stacks to remove linked services, or could there also be some other cause?

The most probable root cause seems to be #1769, so I'll close this issue. Let's re-open if the root cause reveals to be something else.


Cannot use AddBody and AddFile at the same time.

When I use AddBody and AddFile in the same request, the request fails.
var request = new RestRequest(Method.POST);
request.Resource = "TestEndpoint";
request.AddParameter("queryParam", "queryVal", ParameterType.QueryString);

//Works but don't want to use this since this will always output my json object as a parameter
request.AddParameter("answers", JsonConvert.SerializeObject(answerDictionary));

//What I need, but doesn't work when file has been added since Name of the key is always null or (since 4.x) an empty string.
request.AddBody(MyObject);
//or request.AddJsonBody(MyObject);

request.AddFile("fileParam", file, "filename.jpg");
return await Execute<Result>(request);

My stacktrace:
at System.Net.Http.MultipartFormDataContent.Add (System.Net.Http.HttpContent content, System.String name) [0x00012] in /Users/builder/data/lanes/3819/96c7ba6c/source/mono/mcs/class/System.Net.Http/System.Net.Http/MultipartFormDataContent.cs:56
at RestSharp.Portable.HttpClient.RestClientExtensions.GetMultiPartContent (RestSharp.Portable.IRestClient client, RestSharp.Portable.IRestRequest request, RestSharp.Portable.RequestParameters parameters) [0x001c3] in <bf5e823f8e0b4e6aa7aed00c39d700ac>:0
at RestSharp.Portable.HttpClient.RestClientExtensions.GetContent (RestSharp.Portable.IRestClient client, RestSharp.Portable.IRestRequest request, RestSharp.Portable.RequestParameters parameters) [0x0003f] in <bf5e823f8e0b4e6aa7aed00c39d700ac>:0
at RestSharp.Portable.HttpClient.RestClient.GetContent (RestSharp.Portable.IRestRequest request, RestSharp.Portable.RequestParameters parameters) [0x00001] in <bf5e823f8e0b4e6aa7aed00c39d700ac>:0
at RestSharp.Portable.RestClientBase+<ExecuteRequest>d__67.MoveNext () [0x00182] in <6ae3baac43704544b07146969630a0cf>:0

I debugged the call and it seems that there's no parameter set for the body when posting multipart data since MultipartFormDataContent.Add is called without a name.
It should be possible in the original RestSharp, considering someone else got it to work: #https://github.com/restsharp/RestSharp/issues/524#issuecomment-68075428
What @tyrsius is doing at attempt 1 is exactly what I want to happen.
Am I doing something wrong or is it a bug?

You're url is broken when clicked, but it works when copy/pasted

@tyrsius Thanks for noticing! I've updated the link.

The body parameter needs to be named. Try using:
AddParameter(new Parameter { Name = "name", Type = ParameterType.RequestBody, Value = yourValue }
The next release contains some convenience functions for this situation.

Thanks!


ci: set the python version to "3.8" in pre-commit check

Pull Request Test Coverage Report for Build 946238028

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 84.92%

Totals

Change from base Build 945151811:
0.0%

Covered Lines:
4854

Relevant Lines:
5716

💛  - Coveralls


Maplotlib figures do not render

After building, it seems my plots for matplotlib are not rendering.  In place of the images are paths to files in the doctrees folder, e.g:
_build%5Cdoctrees%5Cnbsphinx%5Cshowcase_121_1.png
Those images do exist at these paths, but are not being rendered somehow make html.  The errors says these files are not readable, which is odd since they are generated from the notebook.  Any thoughts?

UPDATE:  It appears the mpl output cells do render on readthedocs.  They do not render locally.

This problem only seems to occur on Windows (or it may be related to changes between Sphinx version 1.3.3 and 1.3.4) , see #6.
What OS, what Sphinx version are you using?

I just saw that '%5C' means '\', so I assume it's a Windows problem.
I'm trying to find a way to avoid this ...

Can you please check if #10 fixes your problem?

I wasn't sure how to check this properly, but I went ahead and edited nbsphinx.py in site packages.  Looks like it resolved the issue.  Images now render locally.  Thanks.

Thanks for testing!
I added an explanation how to properly check out and install different Git branches: https://github.com/spatialaudio/nbsphinx/blob/master/CONTRIBUTING.rst
Please let me know if this is helpful to you.
Thanks for the praise, I'm looking forward to further bug reports and suggestions!


Compile with OpenMP

          To compile with OpenMP I edited several lines in `_compile.py` as follows:

COMPILER_FLAGS = ["-O3", "-fopenmp", "-m64", "-march=native", "-fPIC",
                     "-Wno-maybe-uninitialized", "-Wno-unused-function", "-Wno-cpp"]
extra_flags = ["-lgomp", "-lpthread", "-lm", "-ldl"] + COMPILER_FLAGS

flags = ["-L/usr/lib/", "-lblas", "-llapack"] + extra_flags

After compiling the code I compared its performance on a test problem to performance of the qml fork with the same fascf.f90 file. qmllib never seemed to use more than one core, as supported by the timings:
OMP_NUM_THREADS=1:
qml: 0.7533 mins
qmllib: 0.8178 mins
OMP_NUM_THREADS=20:
qml: 0.1390 mins
qmllib: 0.8145 mins
Originally posted by @kvkarandashev in https://github.com/qmlcode/qmllib/issues/6#issuecomment-2030106933

Openmp and numpy2 compilation is fixed now


Edit User Details - User Perspective

As a user, I would like to be able to change edit my details and change my password.

Do we have database fields in the user table for "displayname" "first/last name" rebel or imperial scum ect. What categories do you want.

Not currently.. we are trying to add in a second user table to store citadel specific data like that without modifying the existing SWGEmu database scheme.

User model was refactored with #39 to utilize Devise for registration/authentication. This needs to be reworked.


Unable to run iOS on Device from Command Line - Simulator Works.

Description
I want to connect and run the device through the command line. However, I can only see the error that there is no connected device.
error No iOS devices connected.
✨  Done in 2.92s.

❯ xcrun xctrace list devices
== Devices ==
user’s MacBook Pro (*********-***-**-*******)
iPhone (2) (15.2) (*******-*********)

❯ ios-deploy -c
[....] Waiting up to 5 seconds for iOS device to be connected
[....] Found ******-****** (D53gAP, iPhone 12, iphoneos, arm64e, 15.2, 19C56) a.k.a. 'iPhone (2)' connected through USB

Version
0.71.1
Output of npx react-native info
System:
OS: macOS 12.6
CPU: (10) arm64 Apple M1 Pro
Memory: 140.91 MB / 16.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 18.0.0 - /usr/local/bin/node
Yarn: 1.22.18 - /opt/homebrew/bin/yarn
npm: 8.6.0 - /usr/local/bin/npm
Watchman: 2<IP_ADDRESS> - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.11.3 - /Users/user/.rbenv/shims/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.4, iOS 15.4, macOS 12.3, tvOS 15.4, watchOS 8.5
Android SDK: Not Found
IDEs:
Android Studio: 2022.1 AI-221.6008.13.2211.9477386
Xcode: 13.3.1/13E500a - /usr/bin/xcodebuild
Languages:
Java: 11.0.15 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.2.0 => 18.2.0
react-native: 0.71.1 => 0.71.1
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to reproduce

create react-native project
setting react-native
register scripts in package.json "ios" : "react-native run-ios --device"
run ios yarn ios

Snack, code example, screenshot, or link to a repository

create react-native project
setting react-native
register scripts in package.json "ios" : "react-native run-ios --device"
run ios yarn ios

Does it work for you if you do react-native run-ios --device from the command line?

That's an issue with the CLI. Please open the same issue with:
https://github.com/react-native-community/cli/issues
I'll be closing this but feel free to reopen if the CLI folks points back to us as a issue in the core of React Native.


Can we hope for chrome extensions some day ?

Creating an innovative browser with thrust would be great, but some extensions are really needed.
Would it possible to access the Chrome store and allow installing extensions one day ?

Probably not, as it is not the chrome browser, I am not even sure of what
security or legal implications there would be. Thrust is no longer
specifically targeted at creating a browser experience. Rather more focused
on creating a portable application.
On Apr 15, 2016 10:21 AM, "Yves-Emmanuel Jutard"<EMAIL_ADDRESS>wrote:

Creating an innovative browser with thrust would be great, but some
extensions are really needed.
Would it possible to access the Chrome store and allow installing
extensions one day ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/breach/thrust/issues/284


diffculties in understanding the code

sir actually i am a beginner in python programming.so i am having problem in understanding that how am i going to train my data using the code and classify? can u explain it to me ?

Did you check the README file? If you just want to use the utility you
don't really need to understand the code, just follow the instrucitons in
the docs. If there is something specific in the code that you don't
understand then let me know which part is causing you trouble and I will
try to help
On 30 March 2015 at 22:30, monika21089<EMAIL_ADDRESS>wrote:

sir actually i am a beginner in python programming.so i am having problem
in understanding that how am i going to train my data using the code and
classify? can u explain it to me ?
—
Reply to this email directly or view it on GitHub
https://github.com/codebox/bayesian-classifier/issues/2.


akonadi pim

would you consider adding support for an akondi pim daemon for apps like kmail ? when i try to open kmail i'm just getting an issue about the akondi pim deamon not running, and it won't start when i click the run button, i know this is probably a misconfiguration on my part, but having support for this could make setting this up a lot easier :pray:

I would welcome having a module for this but sadly I don't use kmail or any desktop mail client for that matter, so I can't really implement it as I have no way of testing. I welcome prs though. If it involves just writing some entries into config-files I think using a lower-level interface is fine for this as it is quite specific use-case.

I'm also interested in this, particularly for having my calendar entries from caldav shown in the KDE calendar widget.
Also, I had some trouble finding this issue as there is a typo in the title. The software is called akonadi. Can it be renamed?

i've got akonadi working in my nix config now, i added kdePackages.akonadi and kdePackages.akonadi-import-wizard, and that seems to be working, i have kmail working at least, having an option to enable those two packages shouldn't be too hard if that's something that's in scope for this project

Having an option for installing those two packages would indeed be be very easy, but if we were to actually include a separate module for this we should probably do something more than just install those packages. With that said, if what you've done works there may not be much of a need for a module for this.

Personally, I've been trying to configure akonadi declaratively. But it turned out to be a bit hard, so I skipped it for now. Akonadi seems to store most configuration in sql databases mixed with some rc files. Is there a comparable program that already has a module available in plasma-manager?

That sounds like something I personally would have non-declarative, but I know others want to have as much declarative as possible. Anyway, there's no similar program in plasma-manager atm, but if it makes sense we could consider adding it.

Thanks for the info. That's fine with me. Maybe I'll have a look at it when I find time in the future. As mentioned, it's not super important for me but would be nice to have (in order to be able to bootstrap a new install with just a single command and have everything readily configured).


⚠ Bofrost.lu has degraded performance

In 3941859, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1061 ms

Resolved: Bofrost.lu performance has improved in 2a119e3 after 6 minutes.


GO annotation ignored

In the live data this is ignored in favour of a SPKW mapping.
/GO="aspect=F; term=DNA binding; GOid=GO:0003677; evidence=ISM; db_xref=GO_REF:0000024; with=Prosite:PS51011; date=20060412"
Now the mapping is filtered it is in my list with no DNA binding annotation.
It doesn't appear in the logs tho' ?

Also
SPBC19G7.04
/GO="aspect=F; term=DNA binding; GOid=GO:0003677; evidence=ISS; db_xref=GO_REF:0000024; with=Pfam:PF00505; date=20080212"

sol1
/GO="aspect=F; term=DNA binding; GOid=GO:0003677; evidence=ISS; db_xref=GO_REF:0000024; with=Pfam:PF01388; date=20060412"

nhp6
/GO="aspect=F; term=DNA binding; GOid=GO:0003677; evidence=ISS; db_xref=GO_REF:0000024; with=Pfam:PF00505; date=20051128"
This fix might supress a lot of IEAs ;)

None issue. I wasn't checking the list with no annotation inthe current GAF. I was checking all of those which no longer had the annotation via the KW. Some have the annotations  which were previously supressed.


how to connect to HiveServer2 with ssl?

[X ] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[ X] I have reproduced the issue with at least the latest released version of superset.
[X ] I have checked the issue tracker for the same issue and I haven't found one similar.

Superset version
0.28.1
Expected results
Superset is Able to connect to HiveServer2 with ssl options
Actual results
Superset gets Thrift socket error
Steps to reproduce
Install hive with ssl, verify beeline connection with ssl=false can't connect, verify beeline connection with  ssl=true;sslTrustStore=actual;trustStorePassword=actual can connect, attempt hive connection in superset as seems no way to specify ssl options on hive connection

hey bot dont close this

@kristw any idea on this one?

Hello all, does anybody know the solution?

@kristw any idea?


daily-reminders

create a function which

Takes input from the user about what they want to accomplish in the entire day.
Sends a reminder after 60 minutes to see how far they have come up with the task.
After the end of the day asks the user if they have completed the task.
The bot will stop sending notifications once the user tells that they have finished the work.

Can I be assigned this issue?

I am assigning this issue to you. All the Best !!


Consume SharePoint REST API in another host

Category

[x] Question
[ ] Typo
[ ] Additional article idea

Question
Environment details (development & target environment)
Node JS  Web Server

Your Developer Environment: Windows 10
Target Environment: SharePoint Server 2016
Framework: Node.js v6/v8/v10/v12
Browser(s):Chrome v79 | Safari v22 | Firefox v31 | IE v11 | Edge | Chromium Edge v79
Tooling: VS Code
Additional details: I am try to use sharepoint data in another web site based on Node.js

I try to consume SharePoint Rest API in my another web site (assume http://localhost/). I browse internet more than two weeks but I couldn't find something straight forward for this needs.
I try to resolve CORS Related Issues in SharePoint WFE IIS (using url rewrite to change preflight response to 200 ok and access-control headers for response to appropriate values). Although it seems that CORS related issues has gone but I got a Forbidden 403  response even for endpoints which doesn't exist at all!
Is it possible to consume SharePoint web service in another domain/ host ? If it is possible, I would be appreciate if you send me a link for doing it. I use JavaScript and client side development. It's worth to say that I could setup a site which read data from SharePoint Online using OAuth security token. Although this doesn't consider user permission and execute using App Permissions (Full Read in our case). But I couldn't implement this in On-Premise SharePoint 2016 environment because I don't know how to implement OAuth in On-Premise Environment or something using fetch(URL,{credential:'include',....})
Thanks in advance for any suggestion.

To call the SP REST API from a client-side app, outside of SPO, you'll need to obtain an access token after authenticating as an app. This par of your question is key:

But I couldn't implement this in On-Premise SharePoint 2016 environment because I don't know how to implement OAuth in On-Premise Environment

You need to setup your SP2016 environment to support the app/add-in model. You'll then use the SharePoint Add-in Model ref to authenticate and obtain an access token that you can include in the HTTP request => REST API.
It's been a long time... not sure if you'll be able to leverage the OAuth implicit flow to obtain the access token with SP2016... you may have to create a server side proxy to fetch the data as you mention here:

I could setup a site which read data from SharePoint Online using OAuth security token


Bypassing approval process and registering when site is offline

When a new user registers with steam sign, they are able to:

Bypass approval process (email confirmation + manual admin approval)
Not display in the member lists in the admin cp, but can be search for

And on top of that, while both registration is disabled through admin cp and the site is set as offline, the user is able to register which is a big issue in my opinion. The only way I was a able to disable new members from registering was to disable the login handler
IPS Community Suite v4.1.15

@kanalumaddela Can you verify if the registration issue persists within other login handlers?

Not display in the member lists in the admin cp, but can be search for

Thats normal, as per IPS. The reason why is the user doesnt display immediately display is because of lack of email. Once an email is entered, they will display without having to search. so basically the user is halfway registering and stopping.

Bypass approval process (email confirmation + manual admin approval)

@Lavoaster I can confirm that Google does the email confirmation. Also tested Email confirmation with Steam login on another Client's site of mine. and It does indeed ask for email validation (and if applicable, the admin's approval as well)

Apologies for the last response

Thats normal, as per IPS. The reason why is the user doesn't display immediately display is because of lack of email.
Thanks for that information, I wasn't aware of it and will keep an eye on that.

The issue with bypassing admin approval was a misinterpretation of how I saw it in the admin panel, but here's why:
I have both google and steam auth enabled. When the site is set as offline, using either of those methods still allows a user to register. Using the google method gets the user "farther" in the registration process and shows the user in the awaiting approval list, but steam sign in doesn't necessarily fully register the user because as madman said the email isn't there, but gets to the point where it takes up a user id which may seem like nothing but can become spam if this were to happen multiple times
Basically what I'm trying to say is that this seems more of an IPB4 issue where external login handlers allow a user to register while a site is offline.
I do not know if there's anything that can be done to prevent registration like this on a offline site, but if it is possible, it would be nice.

Yes, they can register. That is normal operation. But until they are given
permissions of an account, they will either be authorized to log in while
offline or unauthorized.
As for member ID spamming. I wouldn't sweat it lol. The system will only
allow them to register once per handler unless they cancel registration.


Keydown event fires twice.

Hope this issue to be fixed.

Can you clarify which sample you are seeing this behavior?

No such specified sample. You can add a handler to TextBox's Keydown Event and you will find that once you press the key, the event fires twice.

Unfortunately, I do not reproduce this error.  There is a known issue about the enter key firing twice when the Enter key is pressed.
https://social.msdn.microsoft.com/Forums/en-US/734d6c7a-8da2-48c6-9b3d-fa868b4dfb1d/c-textbox-keydown-triggered-twice-in-metro-applications?forum=winappswithcsharp
However, the Windows Universal Samples repo is specifically about samples issues and not for general Q&A or non-samples bugs.  If you still reproduce the behavior for all key presses, I recommend you post your code (XAML and cs)  in the Developing Universal Windows app forum:
https://social.msdn.microsoft.com/Forums/windowsapps/en-US/home?forum=wpdevelop


fix: by default recovery should be exclusive

closes: #2459

This is a behavior change in the public API. We must be very explicit in our release notes if we implement this.
The alternative is to change the documentation to describe the current behavior.
@gbartolini, what do you think is the best way?

/test depth=push


generate example with symlink by default

As suggested by @sunnylqm in #232 (resolves #232):
Uses the following command to link the example as the default behavior:
yarn add link:../

From #232: This symlink behavior should enable the user to "directly modify the library code and test [...] in the example project ".
The previous file linkage behavior (yarn add file:../) may be enabled by using the new, deprecated --example-file-linkage option.
No example postinstall workaround script will be added unless the deprecated --example-file-linkage option is used.
Assuming the deprecated --example-file-linkage option is not used, this update will overwrite the example metro.config.js with the following workaround config code, as needed for Metro to work with the symlink:
// metro.config.js
//
// with multiple workarounds for this issue with symlinks:
// https://github.com/facebook/metro/issues/1
//
// with thanks to @johnryan (<https://github.com/johnryan>)
// for the pointers to multiple workaround solutions here:
// https://github.com/facebook/metro/issues/1#issuecomment-541642857
//
// see also this discussion:
// https://github.com/brodybits/create-react-native-module/issues/232

const path = require('path')

module.exports = {
  // workaround for an issue with symlinks encountered starting with
  //<EMAIL_ADDRESS>/ React Native 0.61
  // (not needed with React Native 0.60 /<EMAIL_ADDRESS>  resolver: {
    extraNodeModules: new Proxy(
      {},
      { get: (_, name) => path.resolve('.', 'node_modules', name) }
    )
  },

  // quick workaround for another issue with symlinks
  watchFolders: ['.', '..']
}

This symlink behavior is more consistent with the new, interactive brodybits/react-native-module-init CLI tool that I made around this one.
Due credit belongs to the following:

#232 by @sunnylqm for both the symlink idea and ideas of Metro config workarounds
https://github.com/facebook/metro/issues/1#issuecomment-541642857 by @johnryan for pointers to both workaround solutions

Now tested generated example with:

native view on React Native 0.62 on Android & iOS
native module on React Native 0.62 on Android & iOS
native view on<EMAIL_ADDRESS>on Android, iOS, & tvOS
native module on<EMAIL_ADDRESS>on Android, iOS, & tvOS
native view on React Native 0.61 on Android & iOS
native module on React Native 0.61 on Android & iOS
native view on<EMAIL_ADDRESS>on Android, iOS, & tvOS
native module on<EMAIL_ADDRESS>on Android, iOS, & tvOS
native view on React Native 0.60 on Android & iOS
native module on React Native 0.60 on Android & iOS

/merge master

/merge brodybits-generate-example-with-symlink-by-default

Hi @brodybits ,
I use option --generate-example when generate my project, but when I change my native code (Eg: iOS) and re-run using react-native run-ios, I don't see any update.
am I missing something?
Please help, thank you

After a morning deep dive into the problem, I ended up with a simple solution:

In your root library run: yarn link
In the example project run: yarn link <your_library_name>

Sorry for commenting directly here


Feature request: Ability to cycle tabs from keyboard

Description
If I have opened many tabs, I would like to be able to navigate those tabs from the keyboard rather than using the mouse. A good shortcut that fits with other apps such as Firefox would be CTRL-TAB for the next tab and CTRL-SHIFT-TAB for the previous.
Additional context
At the moment (I am using 2.1.1 from the Ubuntu Snap Store), it is possible to click the tab header to select an orange outline around it, then press the left or right arrow keys to select the next or previous tab. However, upon doing this the tab header immediately deselects so you cannot do this more than once. Additionally, "tab" and "shift-tab" can be used to select on-screen elements, and this includes the tab header. But using either of these two existing keyboard shortcuts to switch tabs more than say twice in a row is entirely impractical.

I think this might have worked before but was lost in the GTK3 port for Pinta 2.0, which had a complete overhaul of the tab system to use GtkNotebook. Using Ctrl+PageUp might work since I think that shortcut is hardcoded into GtkNotebook, but using Alt+1/2/3/4/etc to go to a specific tab is also an option.
The good news is this is already fixed in the master branch as part of the GTK4 port! This came as part of porting the tab bar to use https://gnome.pages.gitlab.gnome.org/libadwaita/doc/main/class.TabBar.html


Override server discovery for mongo_server_status

Otherwise, in replicasets with low latency, the plugin extracts
statistics only from the Primary of the replicaSet.
Fixes scoutapp/scout-plugins#212 .

Thanks @skiold !


[RFC] Add a flag to channel to allow creating order first

Problem
https://github.com/saleor/saleor/issues/13016
We want to have possibility to complete checkout with order before successful payment.
1. General Assumptions

New Channel flag checkout_complete_create_order_first.
When flag checkout_complete_create_order_first on channel is False flow will not be affected.

Acceptance Criteria

[ ] Add new boolean flag to Channel: checkout_complete_create_order_first
[ ] User with MANAGE_CHANNELS can update flag checkout_complete_create_order_first.
[ ] When checkout_complete_create_order_first is disabled, completeCheckout requires successful payment to process.

2. API changes
Types
input: ChannelUpdateInput {
  ...
  """Allows to create order before payment"""
  checkout_complete_create_order_first: Boolean

Other
Update logic regardless processing the payment and creating the order from checkout.
3. Database changes
New boolean field in Channel model: checkout_complete_create_order_first with default value False
5. To Do list
### Tasks
- [ ] Sync with checkout/dashboard teams
- [ ] Update docs

I would suggest different name for checkout_complete_create_order_first. It should be something like: allow-to-create-order-without-payment or something with checkout-complete name but with something that suggests that we will allow you to create order without a processed payment.

Also worth mentioning, the flag will have an impact only on the transactionAPI. It will not change the behaviour of the old PaymentAPI

We should also update the docs  for finalizing the checkout process, where we place the subchapter that will describe the flow where we create the order without payment. The chapter should also mention, that at the beginning we lock the prices, stocks, etc for the order, then based on the settings for expireOrder, we mark them as expired and release the stocks (if not have any payment), and delete it after X days.

I believe that the new flag should be able to control by staff user with MANAGE_ORDERS

@Yahyaali1 Does it happen in Saleor Cloud or on your local instance of Saleor?

@Yahyaali1  This change is included in 3.15. It looks like you have a dashboard in 3.15 and a core in 3.14


Requiring Enhance

Please correct me if I'm wrong, but it looks like this is necessary for politespace to work:
<script>
	jQuery( function(){
		jQuery( document ).trigger( "enhance" );
	});
</script>

I pulled the demo and removed this and it all stopped working. It is not documented either. Can you tell me more about what it does?
Thank you

There is an event listener bound to the document for the enhance event in order to initialize politespace. - https://github.com/filamentgroup/politespace/blob/master/src/politespace-init.js#L28

We use this event to initialize both when the document first loads and when any new content is included with XMLHTTPRequest (such as with our AjaxInclude plugin). Many Filament Group plugins use this convention.
Please reopen if you have additional questions!

It took me about an hour to figure out why politespace was not working for me. I was unfamiliar with the enhance event convention, and though I found this issue, I was trying to imitate the demo, and I had added a data-enhanced attribute to my input which prevented politespace from initializing. I think it would be useful to mention this in the usage section of the readme, maybe with a link to more info about the convention.

@josiahsprague THANK YOU. That was super unclear. :+1:


bug fix attempts. still looking for fixes (testing put requests for adminIncidentsRouter)

Description
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Change Status

[ ] Complete, tested, ready to review and merge
[ ] Complete, but not tested (may need new tests)
[ ] Incomplete/work-in-progress, PR is for discussion/feedback

How Has This Been Tested?

[ ] Test A
[ ] Test B

Checklist

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] My code has been reviewed by at least one peer
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] There are no merge conflicts

This looks good, are you sure you need your beforeAll/beforeEach statements?

Not really sure, I was looking at what Joe did on his end, and I liked his approach.
Still working on this :)

@dylan-rinella Your pull request template its all blank.

Does this file need to be deleted?


[YKN-443]Slack notifications are not being sent in pdi-plugins-ee builds

Fixed the slack message error due to multiline commit message

I know it's not in the scope of this PR but, can you remove the require: true for the command input here?

I know it's not in the scope of this PR but, can you remove the require: true for the command input here?

Same has been updated


Add Alertscript and Externalscript install

Description of PR
This PR adds the ability to define scripts to be installed in the scripts paths defined. If variables are not defined no change takes effect.
Type of change
Feature Pull Request

Thanks! 👍


1.1.5 - the zip is missing main folder as defined in the manifest, and cannot be installed

The only way to install is to make a folder called "playlist-enhancer" and then put the contents of the zip in it.

Interesting, not sure why that's happened! Let me take a look

Could you try again for me? Seems to be working on my end now