Add support for broadcasting to all panes in a tab

Resurrection of #9222.
Spec draft in #9365.
Consensus from community feedback is that the whole of that spec is nice to have, but what REALLY matters is just broadcasting to all the panes in a tab. So, in the interest of best serving our community, I'm pushing this out as the initial implementation, before we figure out the rest of design. Regardless of how we choose to implement the rest of the features detailed in the spec, the UX for this part of the feature remains the same.
This PR adds a new action: toggleBroadcastInput. Performing this action starts broadcasting to all panes in this tab. Keystrokes in one pane will be sent to all panes in the tab.
An icon in the tab is used to indicate when this mode is active. Furthermore, the borders of all panes will be highlighted with SystemAccentColorDark2/SystemAccentColorLight2 (depending on the theme), to indicate they're also active.

[x] Closes #2634.

(we should lick a reserved thread for follow-ups)

Co-authored-by: Don-Vito<EMAIL_ADDRESS>

WIP, it's the EOD here

[ ] IME
[ ] Clipboard

TerminalPage::_PasteText this should be easy enough to check if broadcast is available and paste to all the controls.

[ ] Drag/drop a filename

Notes from Teams, abridged

so, the thing that it hinges on for me is
If you have two panes selected, and one is in DECKPAM and the other is in DECCKM or whatever... does one arrow key send two different things properly, or does it send the same thing to both panes?
so, the thing is
if we choose to send the same content on either side, I think that makes our lives easier... and talking with Leonard I am much more comfortable with the "TerminalControl raises an event when it sends text" solution
with one caveat
that event must not ever be raised from any layer  unless someone is listening
the cool thing is, events can be checked for truthiness - we don't need to add a separate boolean to plumb down to ControlCore
Leonard talked me into this if i recall
if the answer is 1 ("they send different things") we need to bifurcate all event generation
which.. ugh

okay so
tldr: make sure we don't raise events unless there's a listener

yea... and we can kill the bifurcated "paste" and everything else handlers
and boil it down to the simple "all terminal input sent via Write gets reflected"
like your OG work IIRC

I have been working on reviving the wpf m.t.c.dll
and looking at the public API of TerminalControl
and it's sorta all over the place admittedly but
this feels less intrusive for the API than having to poke through all the different types of user input as event callers
you know?

as usual, you come up with the right solution to begin with and I say something dumb like "can it be totally different" before coming all the way back to a modified version of your original idea

Why can't it distribute the input across all TermControls from the get-go?

Four words: XAML

leaving here for future me


Template sync fails when changes are made to workflow files

In a test-run, the template sync failed since apparently
the sync.yaml action is not permitted to make changes to files in the
.github/workflows directory:
https://github.com/icbi-lab/infercnvpy/actions/runs/3875431171/jobs/6607954535
This is a bit of a problem for which we still need to figure out a
solution. One of them is to use a personal access token. Another one
could be to centralize template sync, which I would have liked to avoid.
In #137, I roll back the changes made to workflow files since the last release,
as a short-term fix.

Ohhh yeah I remember this. Think @imipenem and myself also ran into this some years back. We went for a PAT

We just had a bad problem with CI (see discussion on zulip) and ended up needing to manually make the update PRs for 0.2.1. It would be nice to not have to do this.
@grst, could you go into some more detail on how the access token would work?

CI job runs in cookiecutter-scverse repo as cron job
list of repos using the template (either from search API or registry)

handle opt-out one way or another

for each repo, acting as scverse-bot

fork
clone
cruft update
create pull request

Here's a notebook doing that: https://gist.github.com/grst/d8d32f1d40b8dc84fd6fbe81d5df38c3

Where do we fork to, and where does the  clone happen? Can this happen on github actions, or would that also be blocked?

fork to scverse-bot (or we make a dedicated account, e.g. scverse-template-update).
This can absolutely happen on github actions (you just need to store the bot access token as a secret as we are already doing e.g. for syncing the cookiecutter-scverse-instance repo)

The difference is that

previously, the action ran in the target repo, i.e. the running action has access to repository secrets (therefore the restrictions)
now, we would be creating a fork. PRs from forks don't have access to secrets, therefore the restrictions don't apply.

Do either of you know how nf-core does this? It doesn't look like they make a fork.

nf-core sync docs
Example of sync event: https://github.com/nf-core/rnaseq/pull/909

It's not super clear to me if the repository has to be under the nf-core organization for this to work though.
I'm trying to find the code for the nf-core bot, and how it's triggered.

Afaik it's triggered upon a release of the nf-core tools package. And it only syncs repos within the nf-core organization using an access token that has commit rights to all repos.


FIX Change from std::random_shuffle to std::shuffle

with C++17 the std::random_shuffle is deleted. This function is replaced by std::shuffle that does the same with the option for a different random generator.

ci/circleci stopped building due to the following error:

Building CXX object CMakeFiles/RTKHeaderTest6.dir/test/RTKHeaderTest6.cxx.o
In file included from /root/RTK/include/rtkConjugateGradientImageFilter.h:28:0,
from /root/RTK/include/rtkConjugateGradientConeBeamReconstructionFilter.h:25,
from /root/RTK/include/rtkConjugateGradientConeBeamReconstructionFilter.hxx:22,
from /root/RTK-build/test/RTKHeaderTest6.cxx:52:
/root/RTK/include/rtkConjugateGradientGetR_kPlusOneImageFilter.h:24:24: fatal error: itkBarrier.h: No such file or directory
#include <itkBarrier.h>
^
compilation terminated.

itk::Barrier is now deprecated. I do not know what it is doing in this particular case.

Thanks, that's great. I honestly don't understand what's going on with CircleCI since Barriers have been remove a while ago. Before I try to address this, one comment: do you mind renaming m_dre with m_DefaultRandomEngine? That will be more compliant with the ITK coding style:

Names are generally spelled out; use of abbreviations is discouraged. (Abbreviation are allowable when in common use, and should be uppercase as in RGB.) While this does result in long names, it self-documents the code.

Please also amend the commit message and refer to issue #251. Thanks a lot for all this!

Thanks again for your efforts. So 13cbd6c can be dropped I believe if you pull master and we should still address the style and the commit message as pointed out in my comment 13 days ago. I can finalize this PR if you prefer?

Hi Simon,
sorry for being unresponsive. I am currently very busy with some other project.
Please go ahead and finalize the PR. I am sorry to delay the process.
I was completly dropping support for ITKv4 but I can do this because no one is depending on my code.

Superseded by  #255


Selected target panel

About

Add selected panel and animation for displaying select / deselect of share target
As discussed, the refactor of SelectedTargetView to SelectedTargetPanelViewController makes the most of the code difference at https://github.com/line/line-sdk-ios-swift/commit/d14fbf2adba7b766f3c8f8fcf1b2d6dd4ef1b424, maybe code review by single commit would be easier

Codecov Report

Merging #41 into v5.2 will decrease coverage by 1.54%.
The diff coverage is 1.88%.

@@            Coverage Diff             @@
##             v5.2      #41      +/-   ##
==========================================
- Coverage   71.93%   70.39%   -1.55%
==========================================
  Files         177      179       +2
  Lines        7779     7951     +172
==========================================
+ Hits         5596     5597       +1
- Misses       2183     2354     +171

Impacted Files
Coverage Δ

LineSDK/LineSDK/Utils/KeyboardObservable.swift
0% <0%> (ø)

...DK/LineSDK/SharingUI/ShareRootViewController.swift
0% <0%> (ø)
:arrow_up:

LineSDK/LineSDK/SharingUI/ShareTarget.swift
0% <0%> (ø)
:arrow_up:

...ringUI/ShareTargetSearchResultViewController.swift
0% <0%> (ø)
:arrow_up:

.../SharingUI/SelectedTargetPanelViewController.swift
0% <0%> (ø)

...DK/LineSDK/SharingUI/SelectedTargetPanelCell.swift
0% <0%> (ø)

...eSDK/SharingUI/ShareTargetSelectingTableCell.swift
0% <0%> (ø)
:arrow_up:

LineSDK/LineSDK/SharingUI/ColumnDataStore.swift
96.66% <100%> (+0.05%)
:arrow_up:

...SharingUI/ShareTargetSelectingViewController.swift
0% <0%> (ø)
:arrow_up:

...I/ShareTargetSearchResultTableViewController.swift
0% <0%> (ø)
:arrow_up:

... and 4 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 39dd893...9184d83. Read the comment docs.

@eJamesLin Please check the comments when you have time. :]

@eJamesLin
I added several commits to polish it.

Fix the crash due to the wrong initial size of the filtered search result.
Deselecting now will not scroll the panel, which is more natural in real use.
The selecting and search table view footer now matches the design height of the selected panel.
Keep the contentOffset the same across all panels.


Are versions beyond 10.6 supported?

Are versions beyond 10.6 supported?

So long as Azure hasn't changed anything on their side, this version should be supported on any GeoEvent Server 10.6 or later.  - Thanks!

#5 This isn't the case with 10.8.


Assignment9- 6ITA - Jenish

For #489
📋 Description
AI Attendance System
📸 Screenshots

Good work @ItsJESH !


Test presence of a metadata SID in publish_update

When a package has an SID attached to a metadata object publish_update might fail.
This seems to happen whether the user specifies the SID or the version (pid) as the metadata_pid argument.  It's possible this isn't actually an issue and was due to slow indexing.  But it's worth creating a dummy SID to test this, and determining the correct workflow for updating a package with an SID if there is no bug.

Interesting. SIDs are less well-tested territory.

publish_update might fail.

How does it fail?

That is the question... @dmullen17 will try to reproduce this failure using a UUID as a SID on test.arcticdata.io.
It may fail by not aggregating the EML with the rest of the package.
OR it may appear to fail silently on the front end by simply not updating.
OR it may take longer than usual to update (or index) a package with a SID (4 to 16 hours) and we just think it failed after the first few hours of waiting and refreshing the landing pages.
OR something else...

It disassociates the metadata from the resource map + data objects.  The way Sharis and I tried it was calling publish_update on a parent with an SID and using the version pid for the metadata_pid argument.  It seems like this failed in both cases, although we haven't ruled out slow indexing (it took 4+ hours for both of ours).
Let me see if I can come up with an MRE on test to rule out slow indexing

Here's the first version of the package with a SID: https://test.arcticdata.io/#view/urn:uuid:385710b2-4cbe-43b4-b83a-9d1e6c21d7bd
Second version after publish_update (not working as of this comment): https://test.arcticdata.io/#view/urn:uuid:8c96da2e-b2c5-42f7-a4ae-a85eefd0b2bb
Hopefully this will resolve by tomorrow and we can chalk it up to an indexing issue.
Here's the MRE:
## MRE publish_update SID Issue

## Set test token

## Load nodes
cn <- CNode('PROD')
mn_prod <- getMNode(cn,'urn:node:ARCTIC')
cnTest <- CNode('STAGING')
mn_test <- getMNode(cnTest,'urn:node:mnTestARCTIC')

## Load working version of clone_package
devtools::install_github("dmullen17/datamgmt@clone_package")
library(datamgmt)

pkg <- clone_package("resource_map_urn:uuid:8c4cb5f6-9b11-4975-9668-c875dc4bbc2a",
                     from = mn_prod,
                     to = mn_test,
                     clone_child_packages = TRUE)

## Add SID
sid <-generateIdentifier(mn_test)
s1 <- getSystemMetadata(mn_test, pkg$metadata)
s1@seriesId <- sid
updateSystemMetadata(mn_test, pkg$metadata, s1)

## Check that no pids changed
pkg_with_sid <- get_package(mn_test, pkg$resource_map)
expect_true(all(unlist(pkg) %in% unlist(pkg_with_sid)))

## Update metadata
eml <- read_eml(rawToChar(getObject(mn_test, pkg$metadata)))
eml@dataset@title <- c(new("title", .Data = "Updated package with SID"))
eml_path <- file.path(tempdir(), "science_metadata.xml")
write_eml(eml, eml_path)

update <- publish_update(mn_test,
                         pkg$metadata,
                         pkg$resource_map,
                         metadata_path = eml_path,
                         child_pids = pkg$child_packages)

Harumph, I didn't update this Issue when I did some research a while back. We do have a bug related to SIDs somewhere in here. I'll look for and link in relevant tickets/notes.

Found some SID-related bugs:
https://redmine.dataone.org/issues/8520: Causes metadata objects with SIDs to not get indexed sometimes. A dev can fix this after-the-fact but it does require an intervention.
https://redmine.dataone.org/issues/8536
https://redmine.dataone.org/issues/8537
It looks like SIDs are pretty touchy right now.

Yes, the SIDs have been pretty touchy and we are reluctant to suggest or apply them as is.
We have a publishing work-around for SIDs right now, but using it does not instill a lot of confidence in me, thus we are only using SIDs sparingly (when contributors really push us for one or if it seem like it's the only good solution). That is why I have applied my new label "blocker" here.

I'll bring this up on this weeks dev call to see where we need to go to get
SIDs working.

thanks @amoeba

We talked about this today on our weekly dev call, which some DataONE staff joined for another reason. Dave at DataONE will take a look at this and other SID issues and we'll work from there.


Support py_trees 1.x

Currently we support only py_trees 0.8.x. Now there is a new release, 1.x:
https://py-trees.readthedocs.io/en/release-1.0.x/index.html
However, with the latest py_trees release, several namings have changed, for example SUCCESS_ON_ONE became SuccessOnOne. We should update to the latest py_trees release and adapt our namings.

FYI
Please find below a poetry configuration that seems to work on ubuntu20.04:
[jlu@linux-gp75]> cat ~/carla-test/pyproject.toml
[tool.poetry]
name = "carla-test"
version = "0.0.1"
description = "test carla"
authors = ["Julien Laurenceau<EMAIL_ADDRESS>
[tool.poetry.dependencies]
python = ">=3.7,<3.8"
xmlschema = "^1.8.0"
numpy = "^1.21.2"
six = "^1.16.0"
#py-trees = "^2.1.6"
py-trees = "<0.9"
ephem = "^4.1"
networkx = "^2.6.3"
Shapely = "^1.7.1"
tabulate = "^0.8.9"

[tool.poetry.dev-dependencies]

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"


Unexpected failure when preparing tensor allocations: tensorflow/lite/kernels/transpose.cc:

I have trained an audio classification model using Keras & Tensorflow and converted it to Tensorflow lite, it is converted fine but when I run on Android I get this error:
 Process: org.tensorflow.lite.examples.speech, PID: 15170
    java.lang.IllegalStateException: Internal error: Unexpected failure when preparing tensor allocations: tensorflow/lite/kernels/transpose.cc:56 op_context->perm->dims->data[0] != dims (3 != 2)
    Node number 1 (TRANSPOSE) failed to prepare.

        at org.tensorflow.lite.NativeInterpreterWrapper.allocateTensors(Native Method)
        at org.tensorflow.lite.NativeInterpreterWrapper.run(NativeInterpreterWrapper.java:145)
        at org.tensorflow.lite.Interpreter.runForMultipleInputsOutputs(Interpreter.java:314)

Usage:
tfLite = try {
    tfliteOptions.setNumThreads(4)

    Interpreter(loadModelFile(assets, actualModelFilename), tfliteOptions)
} catch (e: Exception) {
    throw RuntimeException(e)
}

for (i in 0 until RECORDING_LENGTH) {
    floatInputBuffer[i][0] = inputBuffer[i] / 32767.0f
}

val inputArray = arrayOf<Any>(floatInputBuffer)
val outputMap: MutableMap<Int, Any> = HashMap()
outputMap[0] = outputScores

// Run the model.
tfLite?.runForMultipleInputsOutputs(inputArray, outputMap)

Android Dependency:
 implementation 'org.tensorflow:tensorflow-lite:2.2.0'
Python Requirements:
tensorboard==2.1.1
tensorflow==2.1.0
tensorflow-estimator==2.1.0

Model Conversion:
# Create a converter
converter = tf.lite.TFLiteConverter.from_keras_model(model)
converter.allow_custom_ops = True
converter.experimental_new_converter = True

# Convert the model
tflite_model = converter.convert()

# Create the tflite model file
tflite_model_name = "android/app/src/main/assets/converted_model.tflite"
open(tflite_model_name, "wb").write(tflite_model)

Model Summary:
Model: "long_short_term_memory"
|Layer (type)|Output Shape|Param #| Connected to|
|input (InputLayer) |             [(None, 1, 16000)]|   0    |
melbands (Melspectrogram)       (None, 128, 100, 1)  296064      input[0][0]
batch_norm (Normalization2D)    (None, 128, 100, 1)  0           melbands[0][0]
permute (Permute)               (None, 100, 128, 1)  0           batch_norm[0][0]
reshape (TimeDistributed)       (None, 100, 128)     0           permute[0][0]
d_dense_tanh (TimeDistributed) (None, 100, 64)      8256        reshape[0][0]
bidirectional_lstm (Bidirection (None, 100, 64)      24832       td_dense_tanh[0][0]
skip_connection (Concatenate)   (None, 100, 128)     0           td_dense_tanh[0][0]
bidirectional_lstm[0][0]
dense_1_relu (Dense)            (None, 100, 64)      8256        skip_connection[0][0]
max_pool_1d (MaxPooling1D)      (None, 50, 64)       0           dense_1_relu[0][0]
dense_2_relu (Dense)            (None, 50, 32)       2080        max_pool_1d[0][0]
flatten (Flatten)               (None, 1600)         0           dense_2_relu[0][0]
dropout (Dropout)               (None, 1600)         0           flatten[0][0]
dense_3_relu (Dense)            (None, 32)           51232       dropout[0][0]
softmax (Dense)                 (None, 2)            66          dense_3_relu[0][0]
Total params: 390,786
Trainable params: 390,786
Non-trainable params: 0
Complete Python & Android Code can be found here:
TensorFlow Lite Audio Classification

@umair13adil
I ran the code shared by you there is syntax error, can you please share simple indented stand alone code such that we can replicate the issue or if possible share a colab gist to analyse the issue.
Can you please refer to issues with similar error message: #36555 #38926 if it helps.

@Saduf2019 The Issue is on the Android side. Tensorflow lite library is crashing when I run it, If you run the Android code in Android studio, you will see the exception details.
Can you tell me what I can do to optimize my model so Tensorflow lite can run without crashing?

I just updated these dependencies in python:
tensorboard==2.2.2
tensorflow==2.2.0
tensorflow-estimator==2.2.0

After I built my model, it started working on Android. So the issue was related to the incompatible version on the Python side.


Integrate Ping API and the timer

/validate would also return a duration along with the token on successful authentication. This duration should be shown on the instructions screen and the initial time left should be the same as this.

/ping needs to be called on every 5 sec in a background function after the quiz starts and until it is finished. It will return the time_left, this has to be synchronized with the total time left for the quiz.

There should also be a time taken for each question which can be managed on the client side and should be reset on showing a new question.

This is done, Need to test properly for possible bugs.

The instructions screen doesn't show the time from the /validate API. It still shows 60 mins. Also we can rename Time Taking to Time Taken. Apart from that looks fine. Will test it more thoroughly.


Design support for Pagination of query results and feeds

Pagination of query results

Hi @colbylwilliams! I wanted to share some thoughts I have about pagination. Let me know what you think.
On a high level, users should be able to query resources like the following (assuming we're querying Documents in the example).
AzureData.query(50, documentsIn: collectionId, inDatabase: databaseId, with: query) { page in
}

The prototype of the above function would be
func query(
    _ documentsPerPage: Int? = nil,
    documentsIn collectionId: String,
    inDatabase databaseId: String,
    with query: Query,
    callback: (Response<Page<T>>) -> ()
)

page would be an object of type Page that encapsulates a Resources<T> object and has the following public properties:

items: [T] the actual list of resources
itemsCount: Int the number of items in this page
isLast: Bool whether this is the last page or not.

Page would also contain a function to fetch the next page of items.
page.next { nextPage in
}

Thoughts and/or feedback on the above? @colbylwilliams  @NateRickard

Could we put the page limit on the Query object?
We need to add the type for the document-specific similar to the list overrides
The list calls also have the option to page, so let's add the functionality directly to the Resources<T> object

Adding the page limit to the Query object would work great for query calls. How about the list calls? Those don't take a Query in parameter.

true... maybe an optional max param?  I want to make sure either way, that we default (to 100) so its not required to pass in a value

@ftchirou No, you're right, there should be consistency... just add an optional param to both the list and query functions and don't add it to the Query object... So:

[ ] Instead of defaulting the value to 100, make it nullable and default to nil and just don't add the header if the value is nil (just incase Cosmos changes the default to something other than 100, we won't have to make a change to the SDK)
[ ] Validate if the value isn't nil, it is between 1 and 1000 and return an error as appropriate

Gotcha @colbylwilliams ! So from a user perspective, are the following APIs okay?
query
// Specifying the number of items per page
AzureData.query(24, documentsAs: Document.self, inCollection: collectionId, inDatabase: databaseId) { r in
}

// Leaving the number of items per page to the default set by CosmosDB.
AzureData.query(documentsAs: Document.self, inCollection: collectionId, inDatabase: databaseId) { r in
}

list
// Specifying the number of items per page
AzureData.get(30, collectionsIn: databaseId) { r in
}

// Leaving the number of items per page to the default set by CosmosDB.
AzureData.get(collectionsIn: databaseId) { r in
}

paginating
/// Assuming `resources` is an object of type `Resources<T>`.
resources.more { r in
    // next set of items = r.resources
}

@ftchirou The max number of items param should be the last param in the func (or the one right before the callback), so:
AzureData.query(documentsAs: Document.self, inCollection: collection, with: query, itemsPerPage: 50) { r in
}

for paginating, let's use next instead of more, but I'm not sure you'll have the metadata you'll need on the Resources<T> object itself to create the next request... you'll have to prototype and see.  We should also add a hasMoreResults bool on the Resources<T>, so we can perform while loops:
while resources.hasMoreResults {
    resources.next {

    }
}

Noted about having the itemsPerPage parameter before the callback. It just sounded nice when reading the code with the parameter at the beginning (get 100 documents in ...) 🙃.
Yes! Agree about hasMoreResults. In my first comment, I named it isLast but hasMoreResults sounds better. Or just hasMore?
And yes. I'll have to add some internal properties to Resources<T> to allow it to fetch the next set of results.

Can we close this issue since we have a basic set of APIs defined? @colbylwilliams. We can continue with the discussion and feedback on #22 and on the PR comments section.

@ftchirou no point in splitting it out... Are you good with closing issue #22 and renaming this one from "Design.." to "Implement..."?

Yup. Works for me.

And done ✅.

Hey @colbylwilliams! I added the pagination support (hasMore and next) to the Resources<T> object as discussed here. I was wondering if it won't be more appropriate on the Response<T> object because

it seems more logical than on Resources<T>
everything necessary to make the next request is already available in the Response<T> object
it will require minimal code change (just an extension function next and a computed property hasMoreResults on Response<T>)

What do you think?

Yeah, I agree.  See if you can constrain the extension to only Response where T == Resources.

Yes. That's where it becomes tricky.


Added MEET Policy Group 5

🗣 Description
Added the MEET Policy Group 5 for 1:1 Calling restricting 1:1 calling to people in contacts and organization members.
Fixes #224
💭 Motivation and context
Google Product Update.

🧪 Testing

✅ Pre-approval checklist

[ ] This PR has an informative and human-readable title.
[ ] Changes are limited to a single goal - eschew scope creep!
[ ] If applicable, All future TODOs are captured in issues, which are referenced in the PR description.
[ ] The relevant issues PR resolves are linked preferably via closing keywords.
[ ] All relevant type-of-change labels have been added.
[ ] I have read and agree to the CONTRIBUTING.md document.
[ ] These code changes follow cisagov code standards.
[ ] All relevant repo and/or project documentation has been updated to reflect the changes in this PR.
[ ] Tests have been added and/or modified to cover the changes in this PR.
[ ] All new and existing tests pass.

✅ Pre-merge Checklist

[ ] This PR has been smoke tested to ensure main is in a functional state when this PR is merged.
[ ] Squash all commits into one PR level commit using the Squash and merge button.

✅ Post-merge Checklist

[ ] Delete the branch to clean up.
[ ] Close issues resolved by this PR if the closing keywords did not activate.

I recommend holding off on implementing/merging this one until after the v0.2 release.


Ionic overlay components cause rendering bugs

Ionic version:  (check one with "x")
[ x ] 3.x
I'm submitting a ...  (check one with "x")
[ x ] bug report
Current behavior:
Opening alert modal and then menu, causes strange app rendering bugs.
Expected behavior:
Opened menu shouldn't cause any rendering weirdness.
Steps to reproduce:

Download https://github.com/ionic-team/ionic-conference-app
run npm install
run ionic serve
Open in chrome and toggle device mode
Set width 320px and height 500px
Go to tab 'About'
Scroll to bottom
Open location select
Push on backdrop to close location select
Then open menu
Drag menu left with mouse and rendering bug appears

Other information:
Adding some screen recording

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
cli packages:

    @ionic/cli-plugin-cordova       : 1.5.0 (D:\Projects\Testing stuff\ionic-conference-app\node_modules\@ionic\cli-plugin-cordova)
    @ionic/cli-plugin-ionic-angular : 1.4.0 (D:\Projects\Testing stuff\ionic-conference-app\node_modules\@ionic\cli-plugin-ionic-angular)
    @ionic/cli-utils                : 1.6.0 (D:\Projects\Testing stuff\ionic-conference-app\node_modules\@ionic\cli-utils)
    ionic (Ionic CLI)               : 3.6.0 (D:\Projects\Testing stuff\ionic-conference-app\node_modules\ionic)

global packages:

    Cordova CLI : 6.4.0

local packages:

    @ionic/app-scripts : 2.1.3
    Cordova Platforms  : none
    Ionic Framework    : ionic-angular 3.6.0

System:

    Android SDK Tools : 25.2.3
    Node              : v7.4.0
    OS                : Windows 10
    npm               : 5.3.0

Hello! Thanks for using Ionic! Unfortunately I am not able to reproduce this issue. I made a screencast here to show my results https://drive.google.com/file/d/0Bzwe5hrqVKjhOGlkRkx1UmRVMVk/view?usp=sharing

HI ,
@jgw96  when you opened About page have you pressed location select? :)
Try to pen About page. press location select, close location popup clicking on backdrop, then open menu

This appears to be an issue with the Blink engine. What I did was ran @JustasKuizinas 's test, including pressing the location select, on the following browsers:

Chrome
Opera
Firefox
Safari

The issue only occurred on Chrome and Opera, which both use the Blink engine

Last time I looked at this, I could only replicate the issue on browsers using the Blink engine. I just retried today on Chrome 61 and the issue is now much harder to duplicate there, though it still can be.
I am closing this as something that is not an issue with the Ionic Framework, but is apparently a minor issue with specific rendering engines.


Merges color and marker/size/linestyle legend if they are the same

Hi again!
Still a happy user. I have minor tweak. The purpose of the changes is too automatically merge legends when the color legend and the legend for marker/size/linestyle are the same. I find colours visually better distinguishable, but to be sure BW-prints are also clear I usually include a different marker for example as well. This produces 2 legends which are now merged to one.
before:

after:

Great idea ! I was also talking with a colleague about doing something in that vein for combined color and lightness legends (having the possibility to do an "expanded" legend containing the combinations).

Nice! Glad you like it. I did not include the lightness combined with color as it is currently creating an error (in your branch as well) so I'm not exactly sure how it is supposed to behave, but we can probably create something similar for those combinations.

Hi, I finally came around to testing the feature, but it currently doesn't work if the grouping variables are numerical, like in the first "cars" example in examples.m (it only works when they are given as cellstr or categorical). Creating temporary num2stred versions of the uni_ variables in the legend section would solve that issue, and would also allow to  replace calls like num2str(uni_color{ind_color})  in text() calls with str_uni_color{ind_color} for example.
For colors and lightness I'm preparing different styles of legends but his requires more work under the hood :)

Hi, sorry it took so long. I adjusted the variables as suggested. The lightness grouping is not touched by the modifications so I did not convert that variable.
As far as I can tell, all examples work fine now.

It was still not working properly (num2str wasn't enough), but I fixed it and will merge. Thanks for the contribution!


Example issue

Issue description:
What was expected:
How to reproduce:

URL
browser

Screenshot of the problem, if relevant:
[ copy/pasting screenshots from the clipboard into this form works! ]

Maybe try the issue template like this: https://github.com/datacommonsorg/api-python/tree/master/.github/ISSUE_TEMPLATE

Here's a sample report. @shifucun good idea, I'll make a template
Issue description:

Overflow issue in the scatter tool

What was expected:

UI elements stay contained to the main area
PV tree menu should disappear, or overlap to give more space to the main chart drawing area

How to reproduce:

Shrink the window 617x752 px
URL - https://staging.datacommons.org/tools/scatter
browser - chrome / mac osx

Screenshot of the problem, if relevant:

Maybe try the issue template like this: https://github.com/datacommonsorg/api-python/tree/master/.github/ISSUE_TEMPLATE

Added these to a template!


Thanks

This PR was merged through svn commit http://svn.apache.org/viewvc?rev=1807719&view=rev

Thanks @emilianbold  for review.


Create OneMoreNew.txt

Checkmarx AST – Scan Summary & Details – e4e12acb-9f0a-448d-8f36-6305c76e389d
No New Or Fixed Issues Found


Testing upgrading the implementation behind the coophive storage proxy

closes #11

[x] stack deploy script
[x] hardhat script that can redeploy storage if it the code changes
[x] warns if storage address not updated or the controller address changes
[x] cowsay worked
[ ] redeployed to halcyon

Hey @lukemarsden got a draft PR here about redeploying the storage contract and repointing the controller to that storage contract

Lgtm


Feature/codeowners

This will make github to add the people in the file as reviewers.
@MrPowers  do yo want to be notified or you already have enough emails 😄

@alfonsorr - I am fine either way.  It's awesome to see the awesome progress on this lib!


Evaluate WisdomShell/CodeShell-7B

https://huggingface.co/WisdomShell/CodeShell-7B
This one did quite well on the BigCoder leaderboard, but it only does code-completion and FIM its not instruction tuned at all.


Python failures with recent updates

  2/224 Test   #2: setup:python:GDI_periodic_lowres ...........................***Failed    1.51 sec
usage: model.py [-h] config_file out_dir
model.py: error: unrecognized arguments: --gemini_root=/Users/zettergm/Projects/gemci/build/bin

The issues was an outdated version of pygemini; I think this is not a problem after all.


Simple conversion from plural to singular for Ingredient name

Additional Tests

[x] Testing on Samsung Phone (@saccarosium)
[x] Testing on OnePlus Phone (@Friedchicken-42, @LucaBarban)

LGTM


Minimizing the window causes a crash when using raylib 32 bit dll from Dolphin Smalltalk external interfacing

I have had this issue for a long time as this always happens in Dolphin Smalltalk when using the external interfacing feature (using functions in raylib.dll 32 bit msvc compile. )
I am not sure if this was previously an issue but I know it may have been discussed in the past as I brought it up in discord and a potential fix was given, however I was told that it broke the examples.
I have changed the following code in rlgl.h >>
  void rlOrtho(double left, double right, double bottom, double top, double znear, double zfar)
{
    // NOTE: If left-right and top-botton values are equal it could create a division by zero,
    // response to it is platform/compiler dependant
    Matrix matOrtho = { 0 };

    float rl = (float)(right - left);
    float tb = (float)(top - bottom);
    float fn = (float)(zfar - znear);

	if ((right - left == 0) || (bottom - top == 0)) {
		*RLGL.State.currentMatrix = rlMatrixIdentity();
		return;
	}

    matOrtho.m0 = 2.0f/rl;
    matOrtho.m1 = 0.0f;
    matOrtho.m2 = 0.0f;
    matOrtho.m3 = 0.0f;
    matOrtho.m4 = 0.0f;
    matOrtho.m5 = 2.0f/tb;
    matOrtho.m6 = 0.0f;
    matOrtho.m7 = 0.0f;
    matOrtho.m8 = 0.0f;
    matOrtho.m9 = 0.0f;
    matOrtho.m10 = -2.0f/fn;
    matOrtho.m11 = 0.0f;
    matOrtho.m12 = -((float)left + (float)right)/rl;
    matOrtho.m13 = -((float)top + (float)bottom)/tb;
    matOrtho.m14 = -((float)zfar + (float)znear)/fn;
    matOrtho.m15 = 1.0f;

    *RLGL.State.currentMatrix = rlMatrixMultiply(*RLGL.State.currentMatrix, matOrtho);
}

Here is the current code:
void rlOrtho(double left, double right, double bottom, double top, double znear, double zfar)
{
    // NOTE: If left-right and top-botton values are equal it could create a division by zero,
    // response to it is platform/compiler dependant
    Matrix matOrtho = { 0 };

    float rl = (float)(right - left);
    float tb = (float)(top - bottom);
    float fn = (float)(zfar - znear);

    matOrtho.m0 = 2.0f/rl;
    matOrtho.m1 = 0.0f;
    matOrtho.m2 = 0.0f;
    matOrtho.m3 = 0.0f;
    matOrtho.m4 = 0.0f;
    matOrtho.m5 = 2.0f/tb;
    matOrtho.m6 = 0.0f;
    matOrtho.m7 = 0.0f;
    matOrtho.m8 = 0.0f;
    matOrtho.m9 = 0.0f;
    matOrtho.m10 = -2.0f/fn;
    matOrtho.m11 = 0.0f;
    matOrtho.m12 = -((float)left + (float)right)/rl;
    matOrtho.m13 = -((float)top + (float)bottom)/tb;
    matOrtho.m14 = -((float)zfar + (float)znear)/fn;
    matOrtho.m15 = 1.0f;

    *RLGL.State.currentMatrix = rlMatrixMultiply(*RLGL.State.currentMatrix, matOrtho);
}

With my version, it no longer crashes when minimizing the window.  I did test it with about 3 or 4 examples, including some model examples, and it seemed to run them OK.
I can make a pull request if wanted.  I'd prefer not to have to include source changes with my Raylib bindings to Dolphin Smalltalk.

@Zenchess I'm afraid I can't reproduce this issue with base raylib C library, could it be an issue with the binding or the target language? If the issue is not in raylib side, I prefer to avoid changing it.


Using a knife to gather bark from wildwood logs no longer works (1.12.2 3.0.10)

Using even a diamond knife on a wildwood log I harvested yields nothing, the log is destroyed.

... yeah, whoops! Pushing a fix for that shortly.

This is fixed in a commit I don't remember which one.


Interactive running for snippets doesn't work

When clicking 'Run' option to see the snippets in action, the interactive window throw errors as using System.Globalization is missing.
I have added a relevant comment in the PR which originally bought in the issue

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

ID: dda93f14-f1b5-fde6-e441-302cdac261ab
Version Independent ID: 96abc7c4-3719-82da-e271-881d62f0640f
Content: Custom Date and Time Format Strings
Content Source: docs/standard/base-types/custom-date-and-time-format-strings.md
Product: dotnet
GitHub Login: @rpetrusha
Microsoft Alias: ronpet

I have already reported this issue for another article in https://github.com/dotnet/try/issues/130.

Thanks for pointing this out, @jeffy-grh, and thanks for replying, @svick. Until I saw the issue you opened, I was unaware that culture-specific code isn't working. It does seem to work if a using statement is added (at least when I explicitly add one in the REPL), so I'll modify these examples and verifying that they're runnable.


Mj-Group Stacking Option Support

I would like to have an option on mj-group to allowed contained columns to stack in mobile views if desired. I understand preventing stacking is the main use case for groups but we have complex use cases where we create 2x2 or similar layouts w/ common background colors/images where we need this control.
The main issue I face is not being able to reverse stacking correctly for layouts w/o using groups where we sometimes do but not always want them to stack in mobile. Essentially we need the option to do either/or inside of a group; what I do now is I alter the markup to includes mj-group as wrappers but then need to remove them when stacking is desired—this would be much easier if groups had a mobile-stacking attribute (default false) making containers more flexible.
Consider the below layout which cannot be reversed correctly for both mobile and desktop even using groups:
<mjml>
  <mj-body>
    <mj-section direction="rtl">
      <mj-column width="50%">
        <mj-text>4</mj-text>
      </mj-column>
      <mj-column width="50%">
        <mj-text>3</mj-text>
      </mj-column>
      <mj-column width="50%">
        <mj-text>2</mj-text>
      </mj-column>
      <mj-column width="50%">
        <mj-text>1</mj-text>
      </mj-column>
    </mj-section>
  </mj-body>
</mjml>

This seems like it would be possible if groups had stacking control where each 'row' of columns (=100% width) would become a group w/ its own direction and stacking settings

Here you example won't even work because you can't have more than 100%
content inside a section.
Can you provide an exemple of what you're trying to do (mobile + desktop
version) ?
On Tue, Aug 15, 2023 at 5:24 PM Jeremy Eissler @.***>
wrote:

I would like to have an option on mj-group to allowed contained columns to
stack in mobile views if desired. I understand preventing stacking is the
main use case for groups but we have complex use cases where we create 2x2
or similar layouts w/ common background colors/images we need more control
of.
The main issue I face is not being able to reverse stacking correctly for
layouts w/o using groups where we sometimes do but not always want them to
stack in mobile. Essentially we need the option to do either/or inside of a
group; what I do now is I alter the markup to includes mj-group as wrappers
but then need to remove them when stacking is desired—this would be much
easier if groups had a mobile-stacking attribute (default false) making
containers more flexible.
Consider the below layout which cannot be reversed correctly for both
mobile and desktop even using groups:

4

3

2

1

This seems like it would be possible if groups had stacking control where
each 'row' of columns (=100% width) would become a group w/ its own
direction and stacking settings
—
Reply to this email directly, view it on GitHub
https://github.com/mjmlio/mjml/issues/2726, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAELHTM25LM75ZDEJ6IHXIDXVOIBXANCNFSM6AAAAAA3RG6JCI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thanks for your reply! Right or wrong we've been using the above layout stacked 2x2 like this which seems to stack correctly on mobile as well:

but when I reverse it on desktop I get this

my thought is to have a group containing each 'row' (ie 2x columns = 100%) and then I could fix the reverse problem if 'allow stacking' was a thing on mj-group

You can't have more than 100 % of content inside a section even if it looks to work in browser it won't in many clients

I hadn't considered that to be a problem, that said it doesn't seem like we can achieve what we're after w/o 2 separate sections. Essentially I'm just trying to create a 2x2 layout that can be reversed properly where the grey is a common parent (section)
desktop

mobile

Then just apply a wrapper arround both of the section
https://mjml.io/try-it-live/hnu4LY1LZm and you'll be fine ? There's no need
need to reverse anything in your screenshot here
On Tue, Aug 15, 2023 at 11:53 PM Jeremy Eissler @.***>
wrote:

You can't have more than 100 % of content inside a section even if it
looks to work in browser it won't in many clients
I hadn't considered that to be a problem, that said it doesn't seem like
we can achieve what we're after w/o 2 separate sections. Essentially I'm
just trying to create a 2x2 layout that can be reversed properly where the
grey is a common parent (section)
desktop
[image: Screenshot 2023-08-15 at 4 49 32 PM]
https://user-images.githubusercontent.com/2342824/260850793-15a16c0d-efb0-4425-9a41-6394d7e51722.png
mobile
[image: Screenshot 2023-08-15 at 4 49 37 PM]
https://user-images.githubusercontent.com/2342824/260850822-746aba61-611a-4cd5-b524-03c9fdf268c7.png
—
Reply to this email directly, view it on GitHub
https://github.com/mjmlio/mjml/issues/2726#issuecomment-1679668962, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAELHTIUHNZCMJ3QZDIEGLDXVPVU3ANCNFSM6AAAAAA3RG6JCI
.
You are receiving this because you commented.Message ID:
@.***>

Great idea, appreciated! We just need to be more mindful of the 100% width when adding layout options; I had some suspicion that might not work well. In the above I just need the ability to reverse and prevent mobile stacking in some cases for the same layouts

The only thing I'm unable to do altering that example is reverse mobile stacking and I think its not going to be possible because of how table direction property works. Unless I'm missing something it doesn't seem at all possible w/ rendered tables to get 2 sections to reverse stacking top/bottom? Essentially the same as above but reversed for mobile like:
desktop

mobile (reversed)

Nop there’s no way to handle that layout in MJMLOn 16 Aug 2023, at 17:43, Jeremy Eissler @.***> wrote:
The only thing I'm unable to do altering that example is reverse mobile stacking and I think its not going to be possible because of how table direction property works. Unless I'm missing something it doesn't seem at all possible w/ rendered tables to get 2 sections to reverse stacking top/bottom? Essentially the same as above but reversed for mobile like:
desktop
mobile (reversed)
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

Okay thanks for your quick replies and help troubleshooting the issues we've faced; love mjml thank you!


USB diver access on raspberry pi 3

Hello Team,
Successfully flash iot_rpi3.img image in raspberrypi 3. Now i want to access USB device.But i didn't know that how can access usb device over Android Things OS in raspberryPi 3.
Please Help me as soon as possible!!

@PratikGajera As mentioned in the release notes USB APIs are currently disabled in the Developer Preview RC1.
I would encourage you to track this feature request on b.android.com to track the progress around this. (This repository is used to release user-space contrib-drivers)

Thank you proppy.


Poster scaling changes before playback

Hi,
the poster normally stretches to fill the player element. When you click play, between the click and the start of the video, the scaling disappears and the image displays with the original aspect ratio. You can observe this on the demo page when the video takes a second to load.
When the aspect ratio is off by more than a few pixels, it can lead to things like this:

This week I fixed an issue related to dimensions. Can you download the master branch and indicate if the issue persists still please?

Closing issue since no updates have been posted in more than a week. If you would like this to be reopened let us know.

Still waiting for feedback myself, but it looks like it's fixed.

It seems the problem is not fixed. You can test it with the current index.html demo.
Use these files for poster and video source:
https://i.imgur.com/bXXc1ak.jpg
https://fpdl.vimeocdn.com/vimeo-prod-skyfire-std-us/01/2186/7/185934320/614199676.mp4?token=1509998633-0xcc55b5b7b51be1f4d19678f92059f94a3d23371d

https://github.com/mediaelement/mediaelement/blob/master/build/mediaelement-and-player.js#L4850
Removing that event listener fixes the problem for me.

I’ll check if this is feasible since I’m not sure all the renderers have the playing event but all of them have the play event; removing this may have a bigger impact

Even with the mentioned listener removed, the problem still occurs in Safari when autoplay is disabled by the browser (which I think is now the default). There are probably other events (preload?) that trigger the same behaviour. I'll try to find and post them here.

Apparently Safari fires play and playing events even when autoplay is disabled by the website settings... it's not really preventing autoplay, but pausing at the first frame or something like that, I guess to detect if there's an audio track.
For MediaElement that means in current Safari versions the video poster and video scaling functionality is simply broken.
I'll probably have to build in browser detection and completely disable autoplay in Safari so that their own broken implementation isn't used.

I can confirm that commenting out lines 4852 - 4854 in mediaelement-and-player.js gets rid of the ugly scaling jump right after pressing play.
the object-fit: cover; solution merely changed the scaling jump from a horizontal to a vertical one.
This should probably be an open issue since it's affecting current Chrome browsers out of the box.


How to get hydrodynamic derivatives from vessel struct?

Hey @cybergalactic,
I am trying to use MSS with my own vessel. For the same, I want to know how to get the hydrodynamic derivatives (https://github.com/cybergalactic/MSS/blob/master/VESSELS/mariner.m#L57-L73) from the vessel struct (For instance, https://github.com/cybergalactic/MSS/blob/master/HYDRO/vessels_wamit/tanker/tanker.mat). I am asking as the vessel structure does not have variables with names associated to the hydrodynamic derivatives. Is there a way to extract the hydrodynamic derivatives from the vessel struct?
I am looking forward to your response.
Regards

It is temporary maintenance of the web server. The site will be up and running on April 25.
On 20 Jul 2022, at 15:42, MeetGandhi-Honda<EMAIL_ADDRESS>wrote:
Hey @cybergalactichttps://github.com/cybergalactic,
I was able to load lecture slides (https://www.fossen.biz/wiley/) a few days back; however now I cannot. Is there a way to get hold of those slides?
Regards
—
Reply to this email directly, view it on GitHubhttps://github.com/cybergalactic/MSS/issues/26#issuecomment-1190304208, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKOYSCO2FZIK2S3JWR4QQLTVU763VANCNFSM53H7B3SQ.
You are receiving this because you were mentioned.Message ID: @.***>


mysteriously empty highlighted match

Consider the following query:
CONSTRUCT {
  bdr:MW22737 tmp:labelMatchSa ?labelMatch1 ;
              tmp:labelMatchInc ?labelMatch2 ;
              tmp:labelMatchIncNoHi ?labelMatch3 ;
} where {
      (?title1 ?sc1 ?labelMatch1) text:query ( rdfs:label "\"therī\""@sa-x-ndia "highlight:" ) .
      bdr:MW22737 bdo:hasTitle ?title1 .

  	  (?title2 ?sc2 ?labelMatch2) text:query ( rdfs:label "\"therī\""@inc-x-ndia "highlight:" ) .
      bdr:MW22737 bdo:hasTitle ?title2 .

  	  (?title3 ?sc3 ?labelMatch3) text:query ( rdfs:label "\"therī\""@inc-x-ndia ) .
      bdr:MW22737 bdo:hasTitle ?title3 .
}

and the configuration which is currently on buda1, corresponding to this commit where the configurations of inc-x-ndia and sa-x-ndia are very much similar (same analyzer used). The bug is that the result is as follows:
bdr:MW22737  tmp:labelMatchInc  ""@sa-alalc97 ;
        tmp:labelMatchIncNoHi  "vajravali : a sanskrit manuscript from nepal containing the ritual and delineation of mandalas"@sa-alalc97 ;
        tmp:labelMatchSa       "vajravali : a sanskrit manuscript from nepal containing ↦the ri↤tual and delineation of mandalas"@sa-alalc97 .

where the highlight is empty in the inc-x-ndia case, while it's working in the sa-x-ndia case... This is quite strange as if you test with some pali matches (like bdr:MW1FPL8617) it works fine...

After some trial and error I managed to have the query work with what appears to me as an unrelated change in the configuration:
I added "inc-x-ndia" at the end of the searchFor of:
        [ text:addLang "sa-aux-roman2Ndia" ;
          text:searchFor ( "sa-aux-roman2Ndia" "sa-x-ndia" "sa-aux-deva2Ndia" "sa-aux-slp2Ndia" "inc-x-ndia") ;
          text:analyzer [
            a text:DefinedAnalyzer ;
            text:useAnalyzer :romanLenientQueryAnalyzer
            ] ;
          text:indexAnalyzer :romanLenientIndexAnalyzer ;
          ]

and I suddently have:
bdr:MW22737  tmp:labelMatchInc  "vajravali : a sanskrit manuscript from nepal containing ↦the ri↤tual and delineation of mandalas"@sa-alalc97 ;
        tmp:labelMatchIncNoHi  "vajravali : a sanskrit manuscript from nepal containing the ritual and delineation of mandalas"@sa-alalc97 ;
        tmp:labelMatchSa       "vajravali : a sanskrit manuscript from nepal containing ↦the ri↤tual and delineation of mandalas"@sa-alalc97 .

This doesn't make any sense to me... The pali is configured slightly differently than the Sanskrit so I can't really test easily but looking at the code do you understand why this must be added for the highlighter to work @xristy ? I can't really think of a good reason why... In any case adding this doesn't really pose any problem to the way things work so I guess I'll go ahead


Document multiplicity of EntityClientEndpoint

Calls to EntityClientService.create() are passed an EntityClientEndpoint. The javadoc should make it clear that this is a different instance for each entity.
This is distinction is important because, if the same EntityClientEndpoint were passed for the creation of two separate entities, then when calling setDelegate on the endpoint, the entities must co-operate so as not to overwrite each others delegate.

Sure - I can add more clarifications around this JavaDoc.


Support socket connections on dynamic subdomains

Sails version: 1.0.2
Node version: 9.10.0
NPM version: 5.6.0
DB adapter name: N/A
DB adapter version: N/A
Operating system: MacOS

I'm using a wildcard subdomain to support workspaces in my app (team1.domain.com, etc). When lifting in production, I need to set `onlyAllowOrigins` in the sockets config or an error is thrown, but when I try wildcards in that setting, no dice. It does look like I can use beforeConnect to circumvent this, but that feels wrong/insecure. Thoughts?

Ok, fixed!

Hi @lowe0292 It looks like the Sails docs actually suggest you use beforeConnect for your use case rather then onlyAllowOrigins

If you would like to read more about beforeConnect to ease your mind you can check out the docs here.

Just for reference if anyone else runs into this, the following seems to work:
module.exports.sockets.beforeConnect = function(handshake, proceed) { 	// Verify host in handshake.headers.host 	// Valid host: return proceed(null, true); 	// Invalid host: proceed(null, false); }


"Initializing JS/TS language features" continues indefinitely and hogs system CPU

VSCode Version: 1.41.1
OS Version: Ubuntu 18.04

Steps to Reproduce:

Open vscode
Open project folder

Does this issue occur when all extensions are disabled?: Sometimes, depending on size of folder, if project contains both PHP files and JavaScript files
My request:
I will prefer to have a working vscode editor that this JS/TS bringing things to halt. How do I completely disable JS/TS features, so that vscode does not even bother to  initialize JS/TS language features at all in the first place?
Thanks

Same here

VSCode Version: 1.41.1
OS Version: Ubuntu 16.04

It loads my laptop CPU and consumes quite a lot of memory continuously. Even when I close vscode the processes are still there. The issue does not occur on small size projects.
The issue was also occurring in several previous versions of vscode.
Here is a screenshot with some of processes in htop.

Something about tsserver.log that may make some sense:
Info 16   [8:22:1.542] Open files:
Info 16   [8:22:1.542] Structure after ensureProjectForOpenFiles:
Info 17   [8:22:1.542] Open files:
Info 17   [8:22:1.542] got projects updated in background, updating diagnostics for
Info 18   [8:36:15.410] request:
    {"seq":2,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[<files and their contents go here>]}}
Info 19   [8:36:15.412] Search path: /opt/lampp/htdocs/hidden-laravel-backends/telegramfx
Info 20   [8:36:15.413] ConfigFilePresence:: Current Watches: :: File: /my/custom/private/project/full/path/tsconfig.json Currently impacted open files: RootsOfInferredProjects:  OtherOpenFiles: /my/custom/private/project/full/path/webpack.mix.js Status: File added to open files impacted by this config file
Info 21   [8:36:15.413] ConfigFilePresence:: Current Watches: :: File: /my/custom/private/project/full/path/jsconfig.json Currently impacted open files: RootsOfInferredProjects:  OtherOpenFiles: /my/custom/private/project/full/path/webpack.mix.js Status: File added to open files impacted by this config file
Info 22   [8:36:15.413] For info: /my/custom/private/project/full/path/webpack.mix.js :: No config files found.

Notice how it takes almost 15 minutes to go from the Info 17 line to Info 18?

I can confirm this happening to me as well. Here is a gist of what my logs output/ https://gist.github.com/jarretmoses/12861f3a299dad9859c196784afde453. You can see the errors toward the end

@damms005 Please follow these instructions to collect performance information. Share the output of code --status

@mjbvz
The output of code --status:
[25252:0108/001056.076568:ERROR:sandbox_linux.cc(369)] InitializeSandbox() called with multiple threads in process gpu-process.
Version:          Code 1.41.1 (26076a4de974ead31f97692a0d32f90d735645c0, 2019-12-18T15:04:31.999Z)
OS Version:       Linux x64 4.15.0-72-generic
CPUs:             Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz (8 x 2355)
Memory (System):  15.41GB (0.31GB free)
Load (avg):       11, 7, 6
VM:               0%
Screen Reader:    no
Process Argv:     --no-sandbox --unity-launch
GPU Status:       2d_canvas:                     enabled
                  flash_3d:                      enabled
                  flash_stage3d:                 enabled
                  flash_stage3d_baseline:        enabled
                  gpu_compositing:               enabled
                  metal:                         disabled_off
                  multiple_raster_threads:       enabled_on
                  oop_rasterization:             disabled_off
                  protected_video_decode:        unavailable_off
                  rasterization:                 disabled_software
                  skia_renderer:                 disabled_off
                  surface_control:               disabled_off
                  surface_synchronization:       enabled_on
                  video_decode:                  unavailable_off
                  viz_display_compositor:        enabled_on
                  viz_hit_test_surface_layer:    disabled_off
                  webgl:                         enabled
                  webgl2:                        enabled

CPU %	Mem MB	   PID	Process
    0	    79	 17755	code main
    0	     0	 17762	   zygote
    4	    47	 17794	   gpu-process
    1	   237	 17860	   window (/opt/lampp/htdocs/hidden-laravel-backends/schoolserver/resources/views/agents/register.blade.php - Visual Studio Code)
    0	   110	 18076	     extensionHost
    0	    32	 18174	       electron_node tsserver.js
    2	  1184	 18175	       electron_node tsserver.js
    0	    32	 18191	         electron_node typingsInstaller.js typesMap.js
    0	    47	 18266	       electron_node htmlServerMain.js
    0	   110	 18296	       electron_node server.js
    0	   316	 19142	       electron_node intelephense.js
    0	   189	 18100	     watcherService
    0	    32	 18148	     searchService
    0	    63	 18033	   shared-process
    0	     0	 25288	     /bin/sh -c /bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=
    0	     0	 25289	       /bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=
    0	    79	 23970	   window (Issue Reporter)

Workspace Stats:
|  Window (/opt/lampp/htdocs/hidden-laravel-backends/schoolserver/resources/views/agents/register.blade.php - Visual Studio Code)
|    Folder (schoolserver): more than 30137 files
|      File types: php(6750) js(893) json(644) jpg(638) svg(582) css(565)
|                  png(530) md(519) html(300) less(269)
|      Conf files: package.json(20) makefile(7) grunt.js(3) launch.json(1)
|                  settings.json(1) gulp.js(1) tsconfig.json(1)
|                  webpack.config.js(1)
|      Launch Configs: php(2)

@mjbvz  On another random occasion, it happened again and I followed the instruction in the link you sent, and I have this file:
CPU-20200108T000905.816Z.cpuprofile.txt
Now I tried reproducing it and I can 100% confirm that it always happen only when I open a JavaScript file (i.e. any .js gile)
So whenever I open a new workspace/folder and no js file is opened in the editor then everything is calm and cool. The moment I open a .js file, all hell break loose withing seconds!!

Can you make sure you run --status when the high cpu usage is happening? The current log doesn't show high cpu usage
Also please try upgrading your workspace to use typescript@next by installing this extension. Does that fix the problem

After monitoring the behavior for some time now, I noticed that the "high CPU usage" is not synonymous with "vscode is freezing and unresponsive". The profile log that I attached previously happened when vscode froze, albeit every other app in other windows I was working on at the moment were responding (although they were slow-ish, but the picked-up again anytime vscode unfreezes).
Also, the typescript@next extension did not do have any effect on the situation.
I want to suggest that the "hotfix" for this very common and rampant issue (which is easily confirmed by doing a quick search in this repo's github issues although likely by diff causes) is to disable the whole inbuilt typescript support or pipeline whatever!
This is much so because it is not a third-party extension thing. Why is something that irrelevant to a good number of people giving so much headache? I don't use typescript and I don't plan to use it anytime soon. Might be a bad decision but yet it is suppose to be a choice. Worse still is that the whole typescript thing is tied to JavaScript, so disabling that entire typescript inbuilt whatever may cause JavaScript stuff to stop working, but I can bet you if you put that to vote a whole lot of people will prefer that to this current headache.
LET VSCODE ALLOW DEVS TO DISABLE TYPESCRIPT IF THEY SO CHOOSE!!! IT IS GOOD DX TO LET DEVS CHOOSE THEIR SOURCE OF HEADACHES!!!

When you say unresponsive, what exactly do you mean? Can you interact with it at all?
Also, the TypeScript project powers VS Code's JS intellisense. It's not related to writing TypeScript code


Enabling buyers to select sellers upon logging

Enabling buyers to select sellers upon logging . List of near by sellers zipcode range would listed to buyers upon logging. Either buyer can browse global catalog directly or select the sellers and try to browse products wrt to this seller.

Buyer can search by facility or inventory and buy from a facility


fix: Fix action decorator type

I wanted to fix return type for an @action decorator by adding a protocol, but turned out it already existed, but was unused!
Fixed it!

Thanks!


Add MIT license file

https://github.com/tact-lang/tact/blob/main/LICENSE

Let's change "The Tact Authors" to "TON Studio"

and the year is 2024 :)


fix typo

functionalty => functionality

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

@Rudra-Ji Thanks, please complete the CLA using the link in the post from @CLAassistant above.

@Rudra-Ji can you sign the CLA?

Closing as stalling.


Update chart coroot to 0.10.13

This PR contains the following updates:

Package
Update
Change

coroot
patch
0.10.12 -> 0.10.13

Release Notes

coroot/helm-charts (coroot)
v0.10.13
Compare Source
A monitoring and troubleshooting tool for microservice architectures.

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠ Warning: custom changes will be lost.


Problem with Predis\Profile\Factory

I already install the bundle, I have a problem with the class ScnRedisExtension, its does not find the class Predis\Profile\Factory;
I dont found the class Predis\Profile\Factory in the directory
please someone can help me

@jorgeluisacostaalonso I think you have an issue with dependencies.
How did you install SncRedisBundle? With Composer? Manually?

I installed it with composer!! I did everything say in github SncRedis! i will reinstall the bundle agains, so I will let you know! thanks

Assuming this to be fixed by now.


Unable to chain arbitrary methods (self.do_something_interesting)

Hi there,
I'm having a problem chaining arbitrary methods that operate on the results of the relation produced when using from_cte.
In my model 'Task' I have the following:
def self.do_something_interesting
  results = all

  puts '-------------------------------'
  pp results
  puts '-------------------------------'
end

When used with a vanilla AR call like the following:
Task.all.do_something_interesting

I get a list of results back as expected.
However when I run the following:
Task.from_cte('test', Task.all).do_something_interesting

I get an error undefined method do_something_interesting' for #ActiveRecord::Relation:0x007f8039018a18`
Any thoughts here?  Doesn't seem to be working as expected.  The example above is pretty basic but it should highlight the issues here.
Stumbled across postrges_ext today as it made life much more simple than using just find_by_sql where I had no control for conditionally adding chained wheres.
On Rails 4.2.x

I'm experiencing the same exact problem. Did you ever figure out a workaround?

I don't know if you're still actively working on this, but this should work:
Task.with(test: Task.all).do_something_interesting

@timz1290 cheers and thanks for that.


Native history back swipe gesture blocked

This seems to be an upstream error in react-remove-scroll, which has recently been fixed (see https://github.com/radix-ui/primitives/issues/1554).
I was about to update the @radix-ui/react-dialog dependency myself in a PR, but I don't use pnpm and didn't want to mess up the lockfile.

Seems like swipe back still doesn't work on the updated version https://github.com/radix-ui/primitives/issues/1554#issuecomment-2402059329.


Error on USDT Withdrawal - UNPREDICTABLE_GAS_LIMIT and Transaction Reverted

Contact Details
No response
What happened?
I encountered an issue while attempting to withdraw USDT from the vaults on the Alchemix platform. The gas estimation fails, and the transaction reverts with the UNPREDICTABLE_GAS_LIMIT error. Below are the details of the issue:
Steps to reproduce

Navigate to the Alchemix Vaults page
Attempt to withdraw USDT
The transaction fails with the following error message: cannot estimate gas; transaction may fail or may require manual gas limit [ See: https://links.ethers.org/v5-errors-UNPREDICTABLE_GAS_LIMIT ] (reason="execution reverted", method="estimateGas", transaction={ ... }, error={ ... }, code=UNPREDICTABLE_GAS_LIMIT, version=providers/5.7.2)
error details:

Error: cannot estimate gas; transaction may fail or may require manual gas limit
[ See: https://links.ethers.org/v5-errors-UNPREDICTABLE_GAS_LIMIT ]
(reason="execution reverted", method="estimateGas", transaction={
  "from":"0xA8ce3A37c0994e9Cf674E7C0fe7984f711Ab9128",
  "to":"0x10294d57A419C8eb78C648372c5bAA27fD1484af",
  "data":"0xac9650d800000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000084a6459a320000000000000000000000006ab707aca953edaefbc4fd23ba732942414906200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a8ce3a37c0994e9cf674e7c0fe7984f711ab9128000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006469328dec0000000000000000000000006ab707aca953edaefbc4fd23ba732942414906200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a8ce3a37c0994e9cf674e7c0fe7984f711ab912800000000000000000000000000000000000000000000000000000000",
  "accessList":null
}, error={
  "code":-32603,
  "message":"Internal JSON-RPC error.",
  "data":{
    "code":3,
    "message":"execution reverted",
    "data":"0x1c3125d4000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000084a6459a320000000000000000000000006ab707aca953edaefbc4fd23ba732942414906200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a8ce3a37c0994e9cf674e7c0fe7984f711ab91280000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024bf16aab60000000000000000000000006ab707aca953edaefbc4fd23ba7329424149062000000000000000000000000000000000000000000000000000000000",
    "cause":null
  }
}, code=UNPREDICTABLE_GAS_LIMIT, version=providers/5.7.2)

Expected behavior
No response
What browser were you using?
Other
If you selected "Other" above, fill in the browser you used here.
Microsoft Edge

@mjr01 It sounds like your query would be best dealt with by the support team.
Please see the link below to our dedicated support line:
Support :Help Center
Note: Click on the live chat icon at the bottom corner of the page to start a conversation


List object as no attribute 'join'

I installed with pip3 install unsilence, and tried with pip install unsilence after pip3 uninstall unsilence.
Maybe a [0,1].join("") instead of "".join([0,1])?

I cannot replicate the issue. Unsilence only works with python >3.7 and I would recommend you to use pipx for installation to avoid other problems (manual is in the readme)

Hey, I'm sorry I haven't answered till now, I'm really short on time and probably am not able to look any further into your Issue until next month, sorry!

@ArthurBacci64 You need to install ffmpeg 4.3.2 to avoid the error

This should be fixed by the new release, feel free to re-open this issue if the issue is still present.


Python error

Traceback (most recent call last):
  File "MDG.py", line 8, in <module>
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module
  File "MDGUi\generate_ui.py", line 4, in <module>
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module
  File "MDGUtil\FileUtils.py", line 9, in <module>
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module
  File "MDGLogic\InitialisationThread.py", line 9, in <module>
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module
  File "MDGUtil\PathUtils.py", line 9, in <module>
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module
  File "win32com\client\__init__.py", line 14, in <module>
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module
  File "win32com\client\gencache.py", line 764, in <module>
  File "win32com\client\gencache.py", line 63, in __init__
  File "win32com\client\gencache.py", line 122, in _LoadDicts
_pickle.UnpicklingError: invalid load key, '\x00'.
[5844] Failed to execute script 'MDG' due to unhandled exception!

Hey, I have this error, is it fixable?

This error happened when you performed some actions or just on the first launch of the program?

This error happened when you performed some actions or just on the first launch of the program?

When the program is launched, the previous version works


support tvOS

Checklist

[ ] New Extension
[ ] New Test
[ ] Changed more than one extension, but all changes are related
[ ] Trivial change (doesn't require changelog)

support tvOS

I am confused as to what this extension does. You want to disable or enable tvOS support for addToPasteboard. If so why?

Hi, i am developing an application for tvOS. I found that I can not compile your source code on tvOS.
It seems like UIPasteboard can not be used on tvOS because they marked it __TVOS_PROHIBITED.

Also would you mind changing the description of the commit message to something along the lines of:-
"Defining addToPasteboard StringExtension to only be usable in IOS
Reason : UIPasteboard is __TVOS_PROHIBITED"

Before we merge, @lfarah I think swift lint is acting up again. Do you have any context on this ?

@Khalian newest Xcode doesn't support Swift 2.3

@KenShih522 do you intend to use Swift 2.3 or that was a mistake?

Yes, I am currently using swift 2.3 to develop my project.

@goktugyil should we merge this ?

tvOS support constantly fails while we add new things. IS there like an auto test that checks for that too?

@goktugyil We can raise autotests for tvos as a separate issue. Resolving this for now.


fix: lang() causes Error on CLI

Description
Supersedes #6200
Checklist:

[x] Securely signed commits
[ ] Component(s) with PHPDoc blocks, only if necessary or adds value
[ ] Unit testing, with >80% coverage
[ ] User guide updated
[x] Conforms to style guide

Action failures appear to be a Coveralls issue. It also is apparent that we are submitting coverage for every database driver, which I'm not sure how Coveralls handles.


[JENKINS-55787] Switch labels from entry to checkbox

JENKINS-55787

Thanks! Looking forward to the associated core change :smile_cat:


Closes #305 | Implement dataloader for UIT_ViOCD

Closes #305.
Checkbox

[x] Confirm that this PR is linked to the dataset issue.
[x] Create the dataloader script seacrowd/sea_datasets/my_dataset/my_dataset.py (please use only lowercase and underscore for dataset naming).
[x] Provide values for the _CITATION, _DATASETNAME, _DESCRIPTION, _HOMEPAGE, _LICENSE, _URLs, _SUPPORTED_TASKS, _SOURCE_VERSION, and _SEACROWD_VERSION variables.
[x] Implement _info(), _split_generators() and _generate_examples() in dataloader script.
[x] Make sure that the BUILDER_CONFIGS class attribute is a list with at least one SEACrowdConfig for the source schema and one for a seacrowd schema.
[x] Confirm dataloader script works with datasets.load_dataset function.
[x] Confirm that your dataloader script passes the test suite run with python -m tests.test_seacrowd seacrowd/sea_datasets/<my_dataset>/<my_dataset>.py.
[ ] If my dataset is local, I have provided an output of the unit-tests in the PR (please copy paste). This is OPTIONAL for public datasets, as we can test these without access to the data files.

Hi @jen-santoso, I have revised the code based on option 2. Please have a check.

Hi @Alex-HaochenLi, thank you for the revision. LGTM and let's wait for @danjohnvelasco to review!

Replacing @danjohnvelasco with @holylovenia.

Hi @holylovenia, I have updated the supported tasks. Please have a check.


add infra command

I will do that in small steps. This is bare infra command extracted from add-init branch. As there is no TF -> apex integration yet I didn't include env switcher.

@tj review plox

LGTM but I think we still need the notion of an env, but works for now!

LGTM but I think we still need the notion of an env, but works for now!

yeah but can we support env for infra but not for functions?

I think we'll need it globally, for example to swap env variables for staging and prod, that's something I'll need in every app so I think a global notion would be good

absolutely, I was asking more if we can have env flag only for infra in current moment.

ohhh yea for sure


Scrapy Splash Failing 504 connection timeout

I am having a problem with my scrapy splash webscraping bot in that it does not work correctly and gives me a timeout error when attempting to use a proxy with this bot.
here is the error code and the code that is the problem
 def start_requests(self):
        with open('proxy/proxy-list.txt', 'r') as f:
            listcomp = [i for i in f]
            x = random.choice(listcomp).strip('\n')
            try:
                base = 'http://'
                self.ports = x.split(":")[1]
                self.ip = x.split(":")[0]
                self.proxy = base + self.ip
                proxies = {f'{base}' :f'{self.proxy}:{self.ports}'}
                print(proxies)
                print(self.ip)
                requests.get(url="http://google.co.uk",
                    proxies=proxies
                )
            except IOError:
                print('Connection error!, proxy %s failed' % (x))
            else:
                print('success!, proxy %s worked' % (x))

                self.proxy_link = """function main(splash)
                    splash:on_request(function(request)
                        request:set_proxy{{
                            host = "{ip}",
                            port = {port},
                            type = "HTTP"
                        }}
                        end)
                    assert(splash:wait(10))
                    return splash:html()
                    end""".format(
                        ip=self.ip,
                        port=self.ports
                    )

                for url in self.start_urls:
                    yield SplashRequest(url=url, endpoint='render.html',callback=self.parse_item, dont_filter=False ,args={
                        'url': url,
                        'wait': 10,
                        'timeout': 30,
                        'lua_source': self.proxy_link,
                        'js_source': 'document.body',
                        'proxy': '{proxys}:{port}'.format(proxys=self.proxy,port=self.ports)})

2020-05-21 06:17:24 [scrapy.downloadermiddlewares.retry] DEBUG: Retrying <GET http://groceries.asda.com/product/cornflakes-honey-nut/kelloggs-crunchy-nut-corn-flakes/19140/ via http://<IP_ADDRESS>:8050/render.html> (failed 1 times): 504 Gateway Time-out
2020-05-21 06:17:53 [scrapy.extensions.logstats] INFO: Crawled 0 pages (at 0 pages/min), scraped 0 items (at 0 items/min)
2020-05-21 06:17:54 [scrapy.downloadermiddlewares.retry] DEBUG: Retrying <GET http://groceries.asda.com/product/cornflakes-honey-nut/kelloggs-crunchy-nut-corn-flakes/19140/ via http://<IP_ADDRESS>:8050/render.html> (failed 2 times): 504 Gateway Time-out
2020-05-21 06:18:24 [scrapy.downloadermiddlewares.retry] ERROR: Gave up retrying <GET http://groceries.asda.com/product/cornflakes-honey-nut/kelloggs-crunchy-nut-corn-flakes/19140/ via http://<IP_ADDRESS>:8050/render.html> (failed 3 times): 504 Gateway Time-out
2020-05-21 06:18:24 [scrapy.core.engine] DEBUG: Crawled (504) <GET http://groceries.asda.com/product/cornflakes-honey-nut/kelloggs-crunchy-nut-corn-flakes/19140/ via http://<IP_ADDRESS>:8050/render.html> (referer: None)
2020-05-21 06:18:24 [scrapy.spidermiddlewares.httperror] INFO: Ignoring response <504 http://groceries.asda.com/product/cornflakes-honey-nut/kelloggs-crunchy-nut-corn-flakes/19140/>: HTTP status code is not handled or not allowed
2020-05-21 06:18:24 [scrapy.core.engine] INFO: Closing spider (finished)
2020-05-21 06:18:24 [scrapy.core.engine] ERROR: Scraper close failure
Traceback (most recent call last):
  File "/home/user/.local/lib/python3.6/site-packages/twisted/internet/defer.py", line 654, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
TypeError: close_spider() missing 1 required positional argument: 'spider'
2020-05-21 06:18:24 [scrapy.statscollectors] INFO: Dumping Scrapy stats:

@hhamud could You explain how you fixed this issue? I'm facing similar problem.

@hhamud could You explain how you fixed this issue? I'm facing similar problem.

Honestly I can't remember as I have long deleted this project.

@hhamud could You explain how you fixed this issue? I'm facing similar problem.

Honestly I can't remember as I have long deleted this project.

no problem, thank You for your respond


Shutdown in pterodactyl

When I press on "shutdown", the server doesnt stop. This is annoying, because my database is crashing if the server got killed.

Have you set up a shutdown command on your server? The shutdown on pterodactyl for Paper just runs stop(see https://github.com/parkervcp/eggs/blob/master/stock_eggs/minecraft/egg-paper.json#L22)

Have you set up a shutdown command on your server? The shutdown on pterodactyl for Paper just runs stop (see https://github.com/parkervcp/eggs/blob/master/stock_eggs/minecraft/egg-paper.json#L22)

Oke, are there other commands pterodactyl can run?

Have you set up a shutdown command on your server? The shutdown on pterodactyl for Paper just runs stop (see https://github.com/parkervcp/eggs/blob/master/stock_eggs/minecraft/egg-paper.json#L22)

wouldnt this require a stop command being implemented on the server?

Have you set up a shutdown command on your server? The shutdown on pterodactyl for Paper just runs stop (see https://github.com/parkervcp/eggs/blob/master/stock_eggs/minecraft/egg-paper.json#L22)

Oke, are there other commands pterodactyl can run? (I think not)

Yes you can create a custom egg that stops the server using whatever commands you want.

I think you can just create stop command at make it stop server like this?
https://github.com/off-by-0point5/minestom-lobby/blob/master/src/main/java/com/github/offby0point5/minestom/command/StopCommand.java


Make it easy to import from RocketChat

For people thinking of switching to Zulip from RocketChat, it'd be really handy if there were a smooth, documented export/import flow to migrate their data. See also discussion on #908, which is the same thing for Slack.
As mentioned on #908, we already have a high-quality import tool, ./manage.py import. So the other piece is to get data out of RocketChat and into that format.
A bit of web searching for RocketChat export finds https://github.com/RocketChat/Rocket.Chat/issues/4297 , where the recommendation was to simply dump RocketChat's database and restore on a new host. So the solution to this could be a tool to take a MongoDB database dump of a RocketChat database and transform that into something like ./manage.py export could have produced and ./manage.py import will accept.

I can agree with this approach

This would be useful even for migrating specific rooms from one RocketChat server to another.  See, for example, #3348.

Have anyone experienced migrating rocket.chat content to zulip? Is there any smarter way to do it as on the DB level?

Looking for this.
Thanks

I have not really had the immediate need. You're going to have some...shall I say fun with topics of exported messages from Rocket Chat to Zulip
Also, since Rocket Added threading, I feel less compelled to switch as that solves one of my pain points. Discussions are also something that solves a pain point(with Discussions it creates a parent-child relationship where you can fork a group after a certain message.

Zulip already has data import for Slack and other tools that copied its threading model (such as Rocket.Chat); we can use the same strategy we already use for the Slack import tool.

I'm going to be testing zulip within our team, in an effort to move away from rocket.chat (it feels stale and old-fashioned, plus their threading UI is annoying to everyone on the team)
The latest reply on this issue makes it sound like you have some strategy in place for migrating rocket.chat data to zulip, but I can't find mention of the details for that process anywhere else. Am I misreading? We're fine with starting anew without history if we have to, but it'd certainly ease the transition to have our data imported already.

By strategy I mean write a tool using the libraries in zerver/data_import that we use for all of our other data import tools.
https://github.com/zulip/zulip/pull/16683 is a PR with that approach; I'm optimistic that some version of that will be merged in the next few weeks.  Help with testing it is appreciated!

Similar to the comment in the pull, I am also getting the bson error in the dev environment.
Are there any revised steps that are not in the guide so we can test this?

We have a preliminary import tool integrated as https://github.com/zulip/zulip/pull/18966.  Huge thanks to @garg3133 for making this happen.
It is not yet ready for production use, in that there's a bunch of data that it doesn't support yet that we expect to add in the next few weeks, so I'm leaving this issue open for now, but it should be possible to test, QA, and report bugs.

We have encountered (and resolved) a few issues during Rocketchat import. I will create a PR which will make the import a bit more tolerant to issues with RCs broken format within the next few weeks.
Also I will try to document the hackeroonies that we used to identify issues during import (e.g. modifying python dependencies to disable batch mode and print failing queries and such).

Thank you, @ClundXIII -- much appreciated!

Closing as https://zulip.com/help/import-from-rocketchat is now well supported thanks to the contributions of many users who helped report and debug issues with it.


Minor typeo fixes in readme.md

I fixed some typeos and made some grammar changes on your readme.

Thanks for contributing :)


Logging In Provides Different Options

Logging In Provides Different Options
User Story
AS AN avid reader
I WANT to search for new books to read
SO THAT I can keep a list of books to purchase
Acceptance Criteria
GIVEN a book search engine
WHEN I am logged in to the site
THEN the menu options change to Search for Books, an option to see my saved books, and Logout

The new menu options are present on login.


add marathon descriptor builder

Changes proposed in this PR

add marathon descriptor builder. remove image aliases from marathon scheduler

Why are we making these changes?
we want to add default marathon constraints. instead of extending the constraint logic in the marathon scheduler, we'll allow a custom descriptor builder and remove the existing image alias logic

This looks good to me. I like the symmetry with the RepicaSet builder function in our K8s scheduler.


Image size for running demo_8x.py

What are the image sizes that I can use to run demo_8x.py ?
I am trying to run using 1920 X 1080 image size but I am getting an error.

The input size of IFRNet should be divided by 16. You can first pad the input frames, and then unpad the output frame. You can refer to benchmarks/SNU_FILM.py. Thanks.


How to install and use

Hi and a big thanks for your work!
I would love to give it a try but i have no clue how to install and run it.
I know how to git clone a repo but without further instructions i am kinda lost.
A little guidance for noobs like me would be highly appreciated!

No problem, all you need to do is make sure you have the pixi package manager installed (I put the link in the readme) and once that's installed simple call pixi run app directly from your cli. This should install everything and run the gradio interface for you!

I get this error when i want to run pixi:
C:\Windows\system32>pixi run app
x could not find pixi.toml or pyproject.toml which is configured to use pixi
I used this prompt in my windows console to install pixi:
winget install prefix-dev.pixi

Do i have to run Fish, Nushell and so on also on my pc?

Apologies, I have only tested this on ubuntu. I won't work on windows but you're always welcome to try WSL. Make sure that you're in the parent directory, so you'll need to cd into the hloc_glomap repo before running pixi run app


[BUG] Credential persistence did not work in Mac M1

Describe the bug
TokenCredentialBuilder (OAuth/Device Code) with tokenCachePersistenceOptions enabled did not work in Mac M1. Which seems to be an issue of the old JNA library, refers https://github.com/java-native-access/jna/pull/1238
Exception or Stack Trace
[ForkJoinPool.commonPool-worker-1] ERROR com.azure.identity.InteractiveBrowserCredential - Azure Identity => ERROR in getToken() call for scopes [https://management.core.windows.net//.default]: Failed to acquire token with Interactive Browser Authentication.
[ForkJoinPool.commonPool-worker-1] ERROR com.azure.identity.InteractiveBrowserCredential - Azure Identity => ERROR in getToken() call for scopes [https://management.core.windows.net//.default]: Failed to acquire token with Interactive Browser Authentication.
[ForkJoinPool.commonPool-worker-2] ERROR com.azure.identity.InteractiveBrowserCredential - Azure Identity => ERROR in getToken() call for scopes [https://management.core.windows.net//.default]: Failed to acquire token with Interactive Browser Authentication.
[ForkJoinPool.commonPool-worker-1] ERROR com.azure.identity.InteractiveBrowserCredential - Azure Identity => ERROR in getToken() call for scopes [https://management.core.windows.net//.default]: Failed to acquire token with Interactive Browser Authentication.
Exception in thread "main" com.azure.core.exception.ClientAuthenticationException: Failed to acquire token with Interactive Browser Authentication.
	at com.azure.identity.implementation.IdentityClient.lambda$authenticateWithBrowserInteraction$46(IdentityClient.java:971)
	at reactor.core.publisher.Mono.lambda$onErrorMap$31(Mono.java:3733)
	at reactor.core.publisher.FluxOnErrorResume$ResumeSubscriber.onError(FluxOnErrorResume.java:94)
	at reactor.core.publisher.MonoFlatMap$FlatMapMain.secondError(MonoFlatMap.java:192)
	at reactor.core.publisher.MonoFlatMap$FlatMapInner.onError(MonoFlatMap.java:259)
	at reactor.core.publisher.MonoCompletionStage.lambda$subscribe$0(MonoCompletionStage.java:77)
	at java.base/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:863)
	at java.base/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:841)
	at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
	at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1773)
	at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
	Suppressed: java.lang.Exception: #block terminated with an error
		at reactor.core.publisher.BlockingOptionalMonoSubscriber.blockingGet(BlockingOptionalMonoSubscriber.java:123)
		at reactor.core.publisher.Mono.blockOptional(Mono.java:1752)
		at com.azure.identity.test.AzureIdentityExample.printToken(AzureIdentityExample.java:53)
		at com.azure.identity.test.AzureIdentityExample.main(AzureIdentityExample.java:40)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.microsoft.aad.msal4jextensions.persistence.mac.ISecurityLibrary
	at com.microsoft.aad.msal4jextensions.persistence.mac.KeyChainAccessor.read(KeyChainAccessor.java:49)
	at com.microsoft.aad.msal4jextensions.PersistenceTokenCacheAccessAspect.beforeCacheAccess(PersistenceTokenCacheAccessAspect.java:125)
	at com.azure.identity.implementation.PersistentTokenCacheImpl.beforeCacheAccess(PersistentTokenCacheImpl.java:68)
	at com.microsoft.aad.msal4j.TokenCache$CacheAspect.<init>(TokenCache.java:164)
	at com.microsoft.aad.msal4j.TokenCache.saveTokens(TokenCache.java:181)
	at com.microsoft.aad.msal4j.AbstractClientApplicationBase.acquireTokenCommon(AbstractClientApplicationBase.java:131)
	at com.microsoft.aad.msal4j.AcquireTokenByAuthorizationGrantSupplier.execute(AcquireTokenByAuthorizationGrantSupplier.java:63)
	at com.microsoft.aad.msal4j.AcquireTokenByInteractiveFlowSupplier.acquireTokenWithAuthorizationCode(AcquireTokenByInteractiveFlowSupplier.java:185)
	at com.microsoft.aad.msal4j.AcquireTokenByInteractiveFlowSupplier.execute(AcquireTokenByInteractiveFlowSupplier.java:39)
	at com.microsoft.aad.msal4j.AuthenticationResultSupplier.get(AuthenticationResultSupplier.java:71)
	at com.microsoft.aad.msal4j.AuthenticationResultSupplier.get(AuthenticationResultSupplier.java:20)
	at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
	... 6 more

To Reproduce
Create a token credential with token cache persist, may refer the code snippet below
Code Snippet
Add the code snippet that causes the issue.
    public static void main(String[] args) {
        TokenCredential credential = signinWithOAuth();
        printToken(credential);
        AzureProfile azureProfile = new AzureProfile(tenantId, subscriptionId, environment);
        final AppServiceManager manager = AppServiceManager.configure()
            .withLogLevel(HttpLogDetailLevel.HEADERS)
            .authenticate(credential, azureProfile);
        manager.webApps().list().stream().map(HasName::name).sorted(Comparator.comparing(s -> s)).forEach(System.out::println);
    }

    private static TokenCredential signinWithOAuth() {
        return new InteractiveBrowserCredentialBuilder()
            .clientId(clientId)
            .tokenCachePersistenceOptions(new TokenCachePersistenceOptions().setName(tokenCacheName))
            .redirectUrl("http://localhost:1101")
            .build();
    }

Expected behavior
Credential persistence should works in M1 Mac. After investigation, it should be an issue of the JNA library. Identity will call com.microsoft.aad.msal4jextensions.persistence.mac.ISecurityLibrary for security storage in Mac, which will leverage JNA Native, however, version of JNA shipped with identity is 5.5.0, which did not support Mac M1, refers https://github.com/java-native-access/jna/pull/1238, after import the latest JNA 5.11.0, the issue was resolved and we could sign in and restore sign in successfully with identity.
[INFO] +- com.azure:azure-identity:jar:1.5.1:compile
[INFO] |  +- com.microsoft.azure:msal4j:jar:1.12.0:compile
[INFO] |  |  +- com.nimbusds:oauth2-oidc-sdk:jar:9.32:compile
[INFO] |  |  |  +- com.github.stephenc.jcip:jcip-annotations:jar:1.0-1:compile
[INFO] |  |  |  +- com.nimbusds:content-type:jar:2.2:compile
[INFO] |  |  |  +- com.nimbusds:lang-tag:jar:1.6:compile
[INFO] |  |  |  \- com.nimbusds:nimbus-jose-jwt:jar:9.21:compile
[INFO] |  |  \- net.minidev:json-smart:jar:2.4.8:compile
[INFO] |  |     \- net.minidev:accessors-smart:jar:2.4.8:compile
[INFO] |  |        \- org.ow2.asm:asm:jar:9.1:compile
[INFO] |  +- com.microsoft.azure:msal4j-persistence-extension:jar:1.1.0:compile
[INFO] |  |  \- net.java.dev.jna:jna:jar:5.5.0:compile
[INFO] |  \- net.java.dev.jna:jna-platform:jar:5.6.0:compile

Screenshots
If applicable, add screenshots to help explain your problem.
Setup (please complete the following information):

OS: Mac Monterey (M1)
IDE: IntelliJ
Library/Libraries: com.azure:azure-sdk-bom:1.2.2
Java version: Azul 17.0.3

Additional context
Add any other context about the problem here.
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[x] Bug Description Added
[x] Repro Steps Added
[x] Setup information Added

Thanks for reporting this issue and explaining the root cause as well as the fix, @Flanker32.  @billwert could you please follow up on the msal dependency issue and link back to this issue, as appropriate?
/cc @g2vinay

When will this be fixed?

@siddhijain - this is a bug in msal4j-persistence-extension. I'm not sure if you own this or not - it hasn't been touched in a few years. Can you take a look?

@billwert I will take a look. Do you know if there is already a github issue logged in msal persistence layer for this?

@siddhijain I don't believe so. I didn't want to move it until you'd taken a peek to see if you agreed that's where the issue was. Thanks!

I released version 1.13.2 of msal-persistence-extensions to take care of this issue. Let me know if the issue is resolved.

Minor correction to the above. v1.2.0 is the version that fixes this issue.


Mouse movement not being captured

I have recently tried to install XboxKeyboardMouse. Have got everything else working but it won't capture mouse movement, the cursor is still visible and isn't locked to the xbox app. Any help would be greatly appreciated.

I'm having the same problem

Not sure how but I managed to get it working. I tried using the SCPToolkit to attempt to fix the issue but that made things worse by overriding my mouse drivers, so I reset windows (fresh Install) and that fixed the mouse problem but it also rolled back the xbox app? it's called xbox again instead of xbox console companion. Maybe the name is the problem I don't know. Hopefully it's an easy fix for those having the issue. wish I knew what I actually did to get it working to give tips.

I also managed to resolve it, I changed the name to microsoft visual studio 2019, the xbox stream file code, after that it created a file with the same name as xkm, but .snl. after that I executed and created a cmd tab and the normal application

sorry for my english, i'm brazilian and i using the translater

It is that the installer only works with the "Xbox" app name.  The XKM code has been fixed to work with the new names but is not deployed yet.  Closing to consolidate this issue to #158.

I'm not exactly sure if its what fixed mine, but I did a few things so try them all: I change my mouse tick rate to 9, I changed both sensitivities to 14200, I use dead zoning default with a 500 final modifier, and what I think TRULY FIXED IT was: go into the xboxkeyboardmouse master file, click downloads, profiles, choose your custom, not the default, and under mouse settings, change the deadzone to 6000, also open game before app then use windows button in stream to open app, u can disable cursor in the xboxkeyboard settings too


Error adding to mobile project

Stanza.io works great in the brower but when ever i'm trying to add it to my ionic/cordova project i'm getting a compile error it only happens when i include the stanzaz.io files
Unable to add '/home/triniwiz/WebstormProjects/myapp/platforms/android/build/intermediates/assets/armv7/debug/www/lib/node_modules/stanza.io/node_modules/nsp/node_modules/semver/semver.browser.js.gz': file already in archive (try '-u'?)

For Cordova, I use the bundle version of stanza (stanza.bundle.js) and it works OK as far as I know.