Support the new tvOS13 TabBar

The following behaviour seems to be broken in the new UITabBar on tvOS13. Selecting the
In tvOS, swiping down from the tab bar moves focus into the content view; specifically, to the first focusable view that is visually below the selected tab. Swiping down behaves like a normal focus-changing gesture—that is, focus moves in the direction the user swiped. If nothing is focusable immediately below the selected tab, the closest focusable view is focused instead. In iOS, the tab bar always remains in focus at the bottom of the screen.
React Native version:
System:
    OS: macOS 10.14.6
    CPU: (12) x64 Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz
    Memory: 1.37 GB / 32.00 GB
    Shell: 5.3 - /bin/zsh
  Binaries:
    Node: 10.16.3 - /usr/local/opt/node@10/bin/node
    Yarn: 1.17.3 - /usr/local/bin/yarn
    npm: 6.9.0 - /usr/local/opt/node@10/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 12.4, macOS 10.14, tvOS 12.4, watchOS 5.3
  IDEs:
    Android Studio: 3.1 AI-173.4907809
    Xcode: 10.3/10G8 - /usr/bin/xcodebuild
  npmPackages:
    react: 16.9.0 => 16.9.0
    react-native-tvos:  0.60.4-6
  npmGlobalPackages:
    create-react-native-app: 2.0.2
    react-native-cli: 2.0.1

Thanks @hufkens .... I am definitely seeing issues with UITabBar in iOS 13.  Investigating.

Seems that what you have to do is press the button on the Siri remote after focusing a tab bar item, then the appearance of the item changes, and focus can move to the content.  Maybe this is the new expected behavior on tvOS 13.
The other big issue I'm seeing is slow rendering of new content when navigating between tab bar items.... having a look at that next.

It works indeed when you press. But it should work when you swipe down too. I checked Apple’s TV app and that works.
No idea why this stopped working.

The behavior and the API of UITabBar has changed so much in iOS/tvOS 13, that it may as well be regarded as a completely new UI.  Besides the focus problem we're seeing, the appearance is now controlled by a new API, and the appearance properties used in RN TabBarIOS are now marked "legacy".
Since RN core has dropped TabBarIOS for the phone anyway, I think the best path forward is to create a new "TVOSTabBar" view manager specifically for iOS 13 and later.

I looked into the appearance API and the depricated can still be used for the old version. And we can add the new properties without breaking the old behaviour. I need it anyway for our app, so I'll contribute it back to this repo. Why the swipe down isn't working I'll also try to investigate.

Found a very simple pure native example project for UITabBarController, and modified it for tvOS at https://github.com/dlowder-salesforce/TabBarFromCode .
I do see that this project doesn't have the problem of swiping down from the tab bar to the content.  However, even this very simple project has severe performance issues -- takes almost a second to switch tabs, and I'm seeing glitches where it switches back and forth between tabs during the transition.
I'm starting to wonder whether we should support this API or not.

Apple is pushing this TabBar very hard and doesn’t really like apps using different forms like a sidebar. Maybe the SwipeDown is an issue because of our setup. So I’ll have to dig into that.
For performance, did you try on a real device because that seems reasonable here.

??

Hey there, is there any progress for this issue?
I think many of us would like have this feature to use the
UITabBar in React Native. I spent also many times
to implement this in my project but my Apple TV does not render it.
Are there some alternatives, or using it by platform channels (using swift code directly)?

@Teamgamer44 there has been no recent progress on this.  Once I get a new 0.61.5 release out with some bug fixes, and then a 0.62 release, I will come back to this.  I think this could certainly be implemented natively in Swift, where Swift shows the RN view controller for the tab contents.

Reviving this issue again - has anyone gotten further on this, either trying to fix it centrally here, or by themselves outside of this project?
Thanks! 😃

Hello
Is there any update for the support tab bar in tvOS? I have implemented a tab bar in my tvOS app but can not focus on the tab.

The tab bar comes into focus when menu button on the remote is clicked. However, when the component rendered in the tab take long time to render, the selected tab jumps to the first tab and flickers repeatedly.
Found this old related issue  in react native, which is still happening when using the tabbarios component in  tvos

In testing the latest release of this repo (0.66.3-0) with tvOS 15.2, it seems that all of the issues with the TabBarIOS component have been resolved. Swiping down from the tab bar works normally now. So I'm closing this issue.

@douglowder It seems TabBarIOS is working fine with apple tv now. But why is react native deprecating this while there is no alternative of this one.

RN core does not support TV. Apple TV is the only platform that really needs this API so it is only available here.
I should note that I have not yet implemented this API for the new Fabric architecture.... 😬

Hi there!
I tried to use TabBarIOS but I don't understand how to use it with multiple Stack navigation together. I even created a question on StackOverflow. Can you from me a hint, please? Thanks!

@soj TabBarIOS is a wrapper around the UITabBar and friends, available only on iOS and tvOS. The tvOS implementation is quite different from iOS, and is basically set up so the tab bar has to wrap everything else in the view tree.
You can try it, but you would almost certainly have to use @react-navigation/stack, not @react-navigation/native-stack, and even then I'm not sure how it would really behave.
If you are using React Navigation anyway, I would use their header implementation and forget about the native tab bar.


Adding js to control spark and jupyter_app version selections in form.

I'm not building the PYTHONPATH right on pitzer. Looks like we look for a versioned zip of py4j in template/before.sh.erb and that version isn't right. Let's ask sci-apps if we can get non-versioned symlinks to those.

I'm not building the PYTHONPATH right on pitzer. Looks like we look for a versioned zip of py4j in template/before.sh.erb and that version isn't right. Let's ask sci-apps if we can get non-versioned symlinks to those.

ZQ added a test symlink for now on Owens for when you select spark version 3.0.1. I made updates to the template/before.erb and tested to make sure I could run notebooks and actually load the correct kernels.
Does this also resolve the issue with the PYTHONPATH? If it all looks good I'll let ZQ know and he can do this for the remainder of the zips, versions, and clusters.


Sending a file using PLUS !

Dear administrators of plus-lib,
I just want to ask that the plus-lib is complete or not because I saw some updates a few days ago.
Besides, could you show me how to run the experiment about sending a file using PLUS?
I searched on the Internet and found nothing.
Thank you in advance!

Hi,
What exactly is your interest in PLUS? I might be better able to help if I knew what you're trying to use it for.
As I've mentioned in the other issue the API is stable but since this is still a running project it may be subject to new additions but new additions won't interfere with existing usage of the API so this should be of no concern for people using plus-lib even though there is not yet an 'official' stable release.
PLUS is NOT a transport protocol per se. It's more a protocol that sits between the IP-Layer and the transport layer and as such it can't be used independentely to transfer files. PLUS is for communicating with intermediate nodes on the path and provides this functionality to the layer above it. Thus, you need another protocol using/supporting PLUS which currently none really exist except our fork (see mami-project/plus-quic-go) of QUIC.
That said you certainly can transfer data through raw PLUS packets but PLUS since it is not a transport protocol does not have retransmissions or in-order guarantees. If you're trying to do that then reading the new HOWTO.md (in the project root) is a good start.

Hi FMNSSun,
As I read in some documents, I found that it is possible to require client add additional data into a stream using PLUS. I also found the description about PLUS header in your GitHub: https://mami-project.github.io/draft-trammell-plus-spec/.
I understand that PLUS will encapsulate old UDP packet with additional data and PLUS header. Is it right?
Where are the additional data inserted in the new packet?
Besides, I want to add information from user side using PLUS. Could you show in detail how to do that?
Thank you in advance!

If you are refering to the feedback mechanisms of PLUS then yes. If A wishes to communicate with the path A sends a packet with an extended header and sets PCF Type/Value/Len/Integrity to specify which information A wants from the path, the packet is sent and arrives at B while the nodes on the path will write the requested information into the header and B sends this back to A as feedback (otherwise A would never know what the path wrote into the header). However, PLUS sincd it's not a transport protocol does not specify where, when and how this data is sent back. PLUS only mandates that it must be sent back and that it must be encrypted. Feedback is sent back by the protocol using/supporting PLUS thus again... you need another protocol above PLUS.

Besides, I want to add information from user side using PLUS

What exactly do you mean by that?

I mean that I want to run the testbed about the way B responds with requested information to A. Could you show me how to do that?
As you said above, B will send the feedback when A requests. Can B send the information to A optionally without the requesting from A?
Besides, what is the encryption algorithm of PLUS?

Besides, what is the encryption algorithm of PLUS?

PLUS is not a transport protocol and it doesn't specify an encryption algorithm. The layer above PLUS is responsible for encryption.

Can B send the information to A optionally without the requesting from A?

Not really. If a packet with an extended header arrives PLUS mandates that the layer above it sends the header back but it's not PLUS doing that.

I mean that I want to run the testbed about the way B responds with requested information to A.

You can set the ConnectionManager into transparent mode using SetTransparentMode and then establish a connection and use the QueuePCFRequest method which will put it into the next outgoing packet (so you need to be sending data) and use the GetFeedbackData (or maybe it's called GetPCFFeedbackData) to get the feeback (you'll have to poll this).
But this is more for testing.. in practice there should be a protocol above PLUS.

Thank you very much. I will follow your comment.

I read some drafts about PLUS, I found that there are 3 mechanisms: Sender-to-Path Declarations, Path-to-Receiver Declarations with Feedback, Direct Path-to-Sender Declarations.
I don't understand the purpose of  Sender-to-Path Declarations. Do you know the purpose of  Sender-to-Path Declarations?
When the client side (A) request information, the path will write the requested information into header and server side (B) will reply to client side (A) as feedback. Do you know where the path get the requested information?

Sender-to-Path Declarations

You declare something to the path. You, as the sender, inform the path about something.

Do you know where the path get the requested information?

The path just knows somehow. For example you could ask a node on the path what temperature it is (although that's of course not really a practical example) and the path will reply to that. How the path knows what it knows is completely out of scope. For most practical purposes information you request has to do with bandwidth/throughput, load on the path, maybe MTU and stuff like that related to network performance which the device knows through observation. You could for example request a hop count and each PLUS aware node on the path will increase the PCF value by one so at the end you know how many nodes there are on the path.

You should have a look at http://www.tik.ee.ethz.ch/file/13b641ddc2785efa50df126f4642fe96/PID5022959.pdf which describes what PLUS is about.

Thank you very much!


[REFACTOR][OpenAIChat needs to be refactored with new OpenAI 1.1.2 methods]

Upvote & Fund

We're using Polar.sh so you can upvote and help fund this issue.
We receive the funding once the issue is completed & confirmed by you.
Thank you in advance for helping prioritize & fund our backlog.

This has been duplicated in #133


chore: Add basic Windows dev environments

The environments are defined as Vagrantfiles in vagrant/windows. They include enough tooling to build Otel and run tests.
Currently missing features I'd like to add in subsequent PRs:

Docker, including being able to build Windows containers
More documentation on troubleshooting issues with Otel installed via the install script
Apple Silicon support of some sort
More platforms, including at least one non-server version

Docker, including being able to build Windows containers

I am unable to force virtualbox to spin up machine with full hyper-v or WSL support, as nested virtualization doesn't work if I use it on my machine :confused:


Add your own Authentication provider to FirebaseUI-Android

There is a need to modify the Authprovider screen to allow other Authentication providers such as Line, Odnoklassniki, VKontakte, etc.
From the StackOverflow entry:
https://stackoverflow.com/questions/51491812/is-it-possible-to-add-a-line-login-button-to-firebaseui-so-that-it-will-be-displ/51500852
Is this a possible feature enhancement ?
Update:
We are trying to implement the custom lay-out
https://github.com/firebase/FirebaseUI-Android/blob/master/auth/README.md#custom-layout
However we receive an error when we implement two
new AuthUI.IdpConfig.AnonymousBuilder().build()
the error states we can only implement one.
Therefore I am forking/cloning the repository and will try to add the other Authproviders specifically into my fork of FirebaseUI.

@wtb2015 thanks for the feedback!  We have heard this before and it would definitely be a nice feature, bit it's very complex to do correctly and right now we don't plan to add it to FirebaseUI.
Forking and adding your own support is the right way to go for now.


Actual day's sign should be return by which function?

Possibilities:

zodiac.getSignByDate()
zodiac.getSignByName()

I would say zodiac.getSignByDate()

Accepted!


add schedule to hackathon page

expanded the javascript time conversion to be a less element agnostic, output different time formats and to highlight the current row.

Now with automated ToCs for longer event pages 🎉

Had to work around a weird bug, where an inline html table somehow created too many closing divs (occured with the march hackathon page) 🤷♂


[LAB] Week 2_Problem 1_정석현

Problem
Week 2_Problem 1
Source Code
import torch
from random import random
from typing import Callable

##                         Problem 1                          ##
##                                                            ##
##            Arbitary x_train, y_train are given.            ##
##   Suppose that x and y have linear correlation, y=wx+b.    ##
##     In function training(), you should return [w, b].      ##
##          In function predict(), you should return          ##
##            list y_test corresponding to x_test.            ##
##                  Made by @jangyoujin0917                   ##
##                                                            ##

# NOTE : Feel free to use torch.optim and tensor.

def training(x_train: list[float], y_train: list[float]) -> list[float]:  # DO NOT MODIFY FUNCTION NAME

    ### IMPLEMENT FROM HERE
    y_min = min(y_train)
    y_max = max(y_train)

    def normalize(y):
        return (y - y_min) / (y_max - y_min)

    y_train_nor = [normalize(y) for y in y_train]

    w = torch.tensor(random(), requires_grad=True)
    b = torch.tensor(random(), requires_grad=True)
    lr = 0.01
    cy = 30000

    x_tensor = torch.tensor(x_train, requires_grad=True)
    y_tensor = torch.tensor(y_train_nor, requires_grad=True)

    optimizer = torch.optim.Adam([w, b], lr=lr)

    for i in range(cy):
        optimizer.zero_grad()

        y_tensor_pre = w * x_tensor + b
        err_tensor = (y_tensor - y_tensor_pre)
        err = err_tensor.pow(2).sum()
        err.backward()
        optimizer.step()

    return [w.data.item() * (y_max - y_min), b.data.item() * (y_max - y_min) + y_min]

def predict(x_train: list[float], y_train: list[float], x_test: list[float]) -> list[
    float]:  # DO NOT MODIFY FUNCTION NAME
    ### IMPLEMENT FROM HERE
    w, b = training(x_train, y_train)

    re = torch.tensor(x_test) * w + b

    return re.tolist()

if __name__ == "__main__":
    x_train = [-1.0, 1.0, 2.0, 3.0, 4.0]
    y_train = [0.0, 6.0, 9.0, 12.0, 15.0]  # Note that not all test cases give clear line.
    x_test = [5.0, 10.0, 8.0]

    w, b = training(x_train, y_train)
    y_test = predict(x_train, y_train, x_test)

    print(w, b)
    print(y_test)

Description
just hard coding
f : mean square
Output (Optional)
No response

This issue is closed now because of the lack of progress.


[ERROR] Scraping Keyword : keyword . Error: undefined

It seems that when the scrapper run automatically it does fail everytime (see error below)
while it does work when I use the Reload all serps button
2023-01-04T00:00:04.809088677Z [0] [ERROR] Scraping Keyword : prototypage . Error: undefined
2023-01-04T00:00:04.813572276Z [0] at async refreshAndUpdateKeywords (/app/.next/server/chunks/816.js:110:23)
2023-01-04T00:00:04.813566428Z [0] at async refreshKeywords (/app/.next/server/chunks/816.js:229:28)
2023-01-04T00:00:04.813560558Z [0] at async Promise.all (index 23)
2023-01-04T00:00:04.813554415Z [0] at async scrapeKeywordFromGoogle (/app/.next/server/chunks/816.js:372:87)
2023-01-04T00:00:04.813548988Z [0] at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2023-01-04T00:00:04.813543393Z [0] at Response.json (node:internal/deps/undici/undici:6160:23)
2023-01-04T00:00:04.813535533Z [0] at JSON.parse (<anonymous>)
2023-01-04T00:00:04.813487460Z [0] [ERROR_MESSAGE]: SyntaxError: Unexpected token B in JSON at position 0
2023-01-04T00:00:04.817945102Z [0] [ERROR] Scraping Keyword : bureau d'étude conception produit . Error: undefined
2023-01-04T00:00:04.818496502Z [0] at async refreshAndUpdateKeywords (/app/.next/server/chunks/816.js:110:23)
2023-01-04T00:00:04.818491117Z [0] at async refreshKeywords (/app/.next/server/chunks/816.js:229:28)
2023-01-04T00:00:04.818485922Z [0] at async Promise.all (index 67)
2023-01-04T00:00:04.818480662Z [0] at async scrapeKeywordFromGoogle (/app/.next/server/chunks/816.js:372:87)
2023-01-04T00:00:04.818475516Z [0] at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2023-01-04T00:00:04.818469139Z [0] at Response.json (node:internal/deps/undici/undici:6160:23)
2023-01-04T00:00:04.818461881Z [0] at JSON.parse (<anonymous>)
2023-01-04T00:00:04.818445803Z [0] [ERROR_MESSAGE]: SyntaxError: Unexpected token B in JSON at position 0
2023-01-04T00:00:04.820810650Z [0] at async refreshAndUpdateKeywords (/app/.next/server/chunks/816.js:110:23)
2023-01-04T00:00:04.820805022Z [0] at async refreshKeywords (/app/.next/server/chunks/816.js:229:28)
2023-01-04T00:00:04.820799317Z [0] at async Promise.all (index 66)
2023-01-04T00:00:04.820793882Z [0] at async scrapeKeywordFromGoogle (/app/.next/server/chunks/816.js:372:87)
2023-01-04T00:00:04.820788207Z [0] at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2023-01-04T00:00:04.820782610Z [0] at Response.json (node:internal/deps/undici/undici:6160:23)
2023-01-04T00:00:04.820775800Z [0] at JSON.parse (<anonymous>)
2023-01-04T00:00:04.820759437Z [0] [ERROR_MESSAGE]: SyntaxError: Unexpected token B in JSON at position 0
2023-01-04T00:00:04.820391384Z [0] [ERROR] Scraping Keyword : atelier idéation . Error: undefined
2023-01-04T00:00:04.822995197Z [0] at async refreshKeywords (/app/.next/server/chunks/816.js:229:28)
2023-01-04T00:00:04.822990135Z [0] at async Promise.all (index 56)
2023-01-04T00:00:04.822984852Z [0] at async scrapeKeywordFromGoogle (/app/.next/server/chunks/816.js:372:87)
2023-01-04T00:00:04.822979587Z [0] at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2023-01-04T00:00:04.822972042Z [0] at Response.json (node:internal/deps/undici/undici:6160:23)
2023-01-04T00:00:04.822941269Z [0] at JSON.parse (<anonymous>)
2023-01-04T00:00:04.822925722Z [0] [ERROR_MESSAGE]: SyntaxError: Unexpected token B in JSON at position 0
2023-01-04T00:00:04.822576326Z [0] [ERROR] Scraping Keyword : grossiste 3d . Error: undefined
2023-01-04T00:00:04.823000623Z [0] at async refreshAndUpdateKeywords (/app/.next/server/chunks/816.js:110:23)
2023-01-04T00:00:04.826465393Z [0] at async refreshAndUpdateKeywords (/app/.next/server/chunks/816.js:110:23)
2023-01-04T00:00:04.826460064Z [0] at async refreshKeywords (/app/.next/server/chunks/816.js:229:28)
2023-01-04T00:00:04.826454786Z [0] at async Promise.all (index 51)
2023-01-04T00:00:04.826449946Z [0] at async scrapeKeywordFromGoogle (/app/.next/server/chunks/816.js:372:87)
2023-01-04T00:00:04.826444442Z [0] at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2023-01-04T00:00:04.826439503Z [0] at Response.json (node:internal/deps/undici/undici:6160:23)
2023-01-04T00:00:04.826432386Z [0] at JSON.parse (<anonymous>)
2023-01-04T00:00:04.826417739Z [0] [ERROR_MESSAGE]: SyntaxError: Unexpected token B in JSON at position 0
2023-01-04T00:00:04.826007167Z [0] [ERROR] Scraping Keyword : grossiste filament 3d . Error: undefined
2023-01-04T00:00:04.828826936Z [0] [ERROR] Scraping Keyword : formation fab manager . Error: undefined
2023-01-04T00:00:04.829277368Z [0] at async refreshAndUpdateKeywords (/app/.next/server/chunks/816.js:110:23)
2023-01-04T00:00:04.829271777Z [0] at async refreshKeywords (/app/.next/server/chunks/816.js:229:28)
2023-01-04T00:00:04.829266561Z [0] at async Promise.all (index 15)
2023-01-04T00:00:04.829260977Z [0] at async scrapeKeywordFromGoogle (/app/.next/server/chunks/816.js:372:87)
2023-01-04T00:00:04.829255455Z [0] at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2023-01-04T00:00:04.829250194Z [0] at Response.json (node:internal/deps/undici/undici:6160:23)
2023-01-04T00:00:04.829242818Z [0] at JSON.parse (<anonymous>)
2023-01-04T00:00:04.829228094Z [0] [ERROR_MESSAGE]: SyntaxError: Unexpected token B in JSON at position 0
2023-01-04T00:00:04.831606344Z [0] [ERROR] Scraping Keyword : industrialisation . Error: undefined
2023-01-04T00:00:04.832104510Z [0] at async refreshAndUpdateKeywords (/app/.next/server/chunks/816.js:110:23)
2023-01-04T00:00:04.832099019Z [0] at async refreshKeywords (/app/.next/server/chunks/816.js:229:28)
2023-01-04T00:00:04.832092130Z [0] at async Promise.all (index 25)
2023-01-04T00:00:04.832062123Z [0] at async scrapeKeywordFromGoogle (/app/.next/server/chunks/816.js:372:87)
2023-01-04T00:00:04.832056512Z [0] at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2023-01-04T00:00:04.832051493Z [0] at Response.json (node:internal/deps/undici/undici:6160:23)
2023-01-04T00:00:04.832044354Z [0] at JSON.parse (<anonymous>)
2023-01-04T00:00:04.832028843Z [0] [ERROR_MESSAGE]: SyntaxError: Unexpected token B in JSON at position 0
2023-01-04T00:00:04.833975443Z [0] [ERROR] Scraping Keyword : pokemon cards . Error: undefined
2023-01-04T00:00:04.834430059Z [0] at async refreshAndUpdateKeywords (/app/.next/server/chunks/816.js:110:23)
2023-01-04T00:00:04.834424624Z [0] at async refreshKeywords (/app/.next/server/chunks/816.js:229:28)
2023-01-04T00:00:04.834419342Z [0] at async Promise.all (index 74)
2023-01-04T00:00:04.834414597Z [0] at async scrapeKeywordFromGoogle (/app/.next/server/chunks/816.js:372:87)
2023-01-04T00:00:04.834410053Z [0] at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2023-01-04T00:00:04.834404657Z [0] at Response.json (node:internal/deps/undici/undici:6160:23)
2023-01-04T00:00:04.834398154Z [0] at JSON.parse (<anonymous>)
2023-01-04T00:00:04.834382867Z [0] [ERROR_MESSAGE]: SyntaxError: Unexpected token B in JSON at position 0
2023-01-04T00:00:04.840817363Z [0] [ERROR] Scraping Keyword : filament overture . Error: undefined
2023-01-04T00:00:04.841591769Z [0] at async refreshAndUpdateKeywords (/app/.next/server/chunks/816.js:110:23)
2023-01-04T00:00:04.841586486Z [0] at async refreshKeywords (/app/.next/server/chunks/816.js:229:28)
2023-01-04T00:00:04.841581349Z [0] at async Promise.all (index 53)
2023-01-04T00:00:04.841576111Z [0] at async scrapeKeywordFromGoogle (/app/.next/server/chunks/816.js:372:87)
2023-01-04T00:00:04.841570642Z [0] at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2023-01-04T00:00:04.841565137Z [0] at Response.json (node:internal/deps/undici/undici:6160:23)
2023-01-04T00:00:04.841558256Z [0] at JSON.parse (<anonymous>)
2023-01-04T00:00:04.841542316Z [0] [ERROR_MESSAGE]: SyntaxError: Unexpected token B in JSON at position 0
2023-01-04T00:00:04.865995159Z [0] at JSON.parse (<anonymous>)
2023-01-04T00:00:04.865945882Z [0] [ERROR_MESSAGE]: SyntaxError: Unexpected token B in JSON at position 0
2023-01-04T00:00:04.865399768Z [0] [ERROR] Scraping Keyword : pokemon jcc cartes . Error: undefined
2023-01-04T00:00:04.866057694Z [0] at async refreshAndUpdateKeywords (/app/.next/server/chunks/816.js:110:23)
2023-01-04T00:00:04.866027274Z [0] at async refreshKeywords (/app/.next/server/chunks/816.js:229:28)
2023-01-04T00:00:04.866022342Z [0] at async Promise.all (index 85)
2023-01-04T00:00:04.866016993Z [0] at async scrapeKeywordFromGoogle (/app/.next/server/chunks/816.js:372:87)
2023-01-04T00:00:04.866011779Z [0] at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2023-01-04T00:00:04.866006388Z [0] at Response.json (node:internal/deps/undici/undici:6160:23)
2023-01-04T00:00:04.868940590Z [0] [ERROR] Scraping Keyword : filament flexible . Error: undefined
2023-01-04T00:00:04.869384461Z [0] at async refreshAndUpdateKeywords (/app/.next/server/chunks/816.js:110:23)
2023-01-04T00:00:04.869373398Z [0] at async refreshKeywords (/app/.next/server/chunks/816.js:229:28)
2023-01-04T00:00:04.869368094Z [0] at async Promise.all (index 45)
2023-01-04T00:00:04.869362598Z [0] at async scrapeKeywordFromGoogle (/app/.next/server/chunks/816.js:372:87)
2023-01-04T00:00:04.869357583Z [0] at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2023-01-04T00:00:04.869351901Z [0] at Response.json (node:internal/deps/undici/undici:6160:23)
2023-01-04T00:00:04.869344580Z [0] at JSON.parse (<anonymous>)
2023-01-04T00:00:04.869325480Z [0] [ERROR_MESSAGE]: SyntaxError: Unexpected token B in JSON at position 0
2023-01-04T00:00:04.871419632Z [0] at async refreshAndUpdateKeywords (/app/.next/server/chunks/816.js:110:23)
2023-01-04T00:00:04.871413472Z [0] at async refreshKeywords (/app/.next/server/chunks/816.js:229:28)
2023-01-04T00:00:04.871408189Z [0] at async Promise.all (index 108)
2023-01-04T00:00:04.871402857Z [0] at async scrapeKeywordFromGoogle (/app/.next/server/chunks/816.js:372:87)
2023-01-04T00:00:04.871397689Z [0] at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2023-01-04T00:00:04.871392187Z [0] at Response.json (node:internal/deps/undici/undici:6160:23)
2023-01-04T00:00:04.871385332Z [0] at JSON.parse (<anonymous>)
2023-01-04T00:00:04.871369593Z [0] [ERROR_MESSAGE]: SyntaxError: Unexpected token B in JSON at position 0
2023-01-04T00:00:04.871013166Z [0] [ERROR] Scraping Keyword : api pokemon fr . Error: undefined
2023-01-04T00:00:04.873996507Z [0] at JSON.parse (<anonymous>)
2023-01-04T00:00:04.873977717Z [0] [ERROR_MESSAGE]: SyntaxError: Unexpected token B in JSON at position 0
2023-01-04T00:00:04.873701957Z [0] [ERROR] Scraping Keyword : petg prusament . Error: undefined
2023-01-04T00:00:04.874033323Z [0] at async refreshAndUpdateKeywords (/app/.next/server/chunks/816.js:110:23)
2023-01-04T00:00:04.874027703Z [0] at async refreshKeywords (/app/.next/server/chunks/816.js:229:28)
2023-01-04T00:00:04.874022119Z [0] at async Promise.all (index 59)
2023-01-04T00:00:04.874016589Z [0] at async scrapeKeywordFromGoogle (/app/.next/server/chunks/816.js:372:87)
2023-01-04T00:00:04.874010318Z [0] at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2023-01-04T00:00:04.874004147Z [0] at Response.json (node:internal/deps/undici/undici:6160:23)
2023-01-04T00:00:04.876043309Z [0] [ERROR] Scraping Keyword : electronique . Error: undefined
2023-01-04T00:00:04.877862637Z [0] at async refreshAndUpdateKeywords (/app/.next/server/chunks/816.js:110:23)
2023-01-04T00:00:04.877858751Z [0] at async refreshKeywords (/app/.next/server/chunks/816.js:229:28)
2023-01-04T00:00:04.877854879Z [0] at async Promise.all (index 38)
2023-01-04T00:00:04.877850262Z [0] at async scrapeKeywordFromGoogle (/app/.next/server/chunks/816.js:372:87)
2023-01-04T00:00:04.877831166Z [0] at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2023-01-04T00:00:04.877827211Z [0] at Response.json (node:internal/deps/undici/undici:6160:23)
2023-01-04T00:00:04.877821501Z [0] at JSON.parse (<anonymous>)
2023-01-04T00:00:04.877802954Z [0] [ERROR_MESSAGE]: SyntaxError: Unexpected token B in JSON at position 0
2023-01-04T00:00:04.882900453Z [0] [ERROR] Scraping Keyword : petg transparent . Error: undefined
2023-01-04T00:00:04.882215921Z [0] at async refreshAndUpdateKeywords (/app/.next/server/chunks/816.js:110:23)
2023-01-04T00:00:04.882211023Z [0] at async refreshKeywords (/app/.next/server/chunks/816.js:229:28)
2023-01-04T00:00:04.882206559Z [0] at async Promise.all (index 88)
2023-01-04T00:00:04.882201244Z [0] at async scrapeKeywordFromGoogle (/app/.next/server/chunks/816.js:372:87)
2023-01-04T00:00:04.882196577Z [0] at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2023-01-04T00:00:04.882191611Z [0] at Response.json (node:internal/deps/undici/undici:6160:23)
2023-01-04T00:00:04.882185666Z [0] at JSON.parse (<anonymous>)
2023-01-04T00:00:04.882178023Z [0] [ERROR_MESSAGE]: SyntaxError: Unexpected token B in JSON at position 0
2023-01-04T00:00:04.882131579Z [0] [ERROR] Scraping Keyword : pokemon cartes . Error: undefined
2023-01-04T00:00:04.883257618Z [0] at async refreshAndUpdateKeywords (/app/.next/server/chunks/816.js:110:23)
2023-01-04T00:00:04.883252364Z [0] at async refreshKeywords (/app/.next/server/chunks/816.js:229:28)
2023-01-04T00:00:04.883246999Z [0] at async Promise.all (index 60)
2023-01-04T00:00:04.883241554Z [0] at async scrapeKeywordFromGoogle (/app/.next/server/chunks/816.js:372:87)
2023-01-04T00:00:04.883235825Z [0] at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2023-01-04T00:00:04.883230437Z [0] at Response.json (node:internal/deps/undici/undici:6160:23)
2023-01-04T00:00:04.883222560Z [0] at JSON.parse (<anonymous>)
2023-01-04T00:00:04.883169042Z [0] [ERROR_MESSAGE]: SyntaxError: Unexpected token B in JSON at position 0
2023-01-04T00:00:04.886719984Z [0] at async refreshAndUpdateKeywords (/app/.next/server/chunks/816.js:110:23)
2023-01-04T00:00:04.886716082Z [0] at async refreshKeywords (/app/.next/server/chunks/816.js:229:28)
2023-01-04T00:00:04.886711904Z [0] at async Promise.all (index 100)
2023-01-04T00:00:04.886695006Z [0] at async scrapeKeywordFromGoogle (/app/.next/server/chunks/816.js:372:87)
2023-01-04T00:00:04.886687437Z [0] at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2023-01-04T00:00:04.886663250Z [0] at Response.json (node:internal/deps/undici/undici:6160:23)
2023-01-04T00:00:04.886658304Z [0] at JSON.parse (<anonymous>)
2023-01-04T00:00:04.886645102Z [0] [ERROR_MESSAGE]: SyntaxError: Unexpected token B in JSON at position 0
2023-01-04T00:00:04.886223812Z [0] [ERROR] Scraping Keyword : retroconception 3d nantes . Error: undefined

having exactly the same issue

Same issue

@andresledo Does this also happen when you manually refresh the keyword from the ui?

Yes, but I have restarted the container and not anymore. Let's see if everything is updated correctly at night.

@andresledo Does this also happen when you manually refresh the keyword from the ui?

It does not happens when manually refreshing from the UI for me

@Aviortheking Can you please let me know how you are running the app? locally with docker? or fly.io?
Can you please open the failed_queue.json inside the data direcory of the serpbear directory and share the content of that file?

I am running it in a docker image
failed_queue.json contains an empty array
/app/data $ cat failed_queue.json
[]/app/data $

@Aviortheking  Are you using ScrapingAnt? Can you please switch to Scraping Robot and see if that fixes the issue?

yep I can try this

@Aviortheking  Are you using ScrapingAnt? Can you please switch to Scraping Robot and see if that fixes the issue?

Was using scrapingAnt and switched to robot yesterday - all seems to work fine now. All the keywords I had were updated by cron at midnight successfully

Still happening on latest version but know also happens with manual scrap
Still trying to make Scrapping robot work

@towfiqi It also happens with Scrapping robot

@Aviortheking This actually could be a memory leak issue of node-cron. Can you please restart the app and see if the issue reappears?

I don't really know I restarted the app and even moved it to another server and I still encounter the same error 😢

@Aviortheking You are running it with docker right? How much memory areou allocating for the instance?

31 GB xd

I'm encountering a similar error:
[start] [ERROR] Scraping Keyword :  SEO . Error:  undefined
[start] [ERROR_MESSAGE]:  Error: [object Object]
[start]     at scrapeKeywordFromGoogle (/Users/user/serpbear/.next/server/chunks/816.js:390:19)
[start]     at processTicksAndRejections (node:internal/process/task_queues:96:5)
[start]     at async Promise.all (index 2)
[start]     at async refreshKeywords (/Users/user/serpbear/.next/server/chunks/816.js:229:28)
[start]     at async refreshAndUpdateKeywords (/Users/user/serpbear/.next/server/chunks/816.js:110:23)

I'm using ScrapingAnt (free trial) and I'm running the latest version of SerpBear locally on MacOS 13.2.1, with Node v16.19.1. The dashboard also says scrapingant: This domain is not allowed for free subscription. Please, subscribe to the paid plan for using it. Please check out the documentation: https://docs.scrapingant.com/.

ScrapingAnt Free does not work anymore. Please see #78


增加了测试

A new inspection was created.

The inspection completed: No new issues

#239

Codecov Report

Merging #240 into develop will increase coverage by 0.8%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           develop     #240     +/-   ##
==========================================
+ Coverage    84.85%   85.66%   +0.8%
==========================================
  Files           29       27      -2
  Lines         1129     1116     -13
==========================================
- Hits           958      956      -2
+ Misses         171      160     -11

Impacted Files
Coverage Δ

werobot/session/filestorage.py
82.6% <0%> (-8.7%)
:arrow_down:

werobot/logger.py
44% <0%> (-4%)
:arrow_down:

werobot/utils.py
98.85% <0%> (-1.15%)
:arrow_down:

werobot/crypto/exceptions.py
100% <0%> (ø)
:arrow_up:

werobot/__init__.py

werobot/exceptions.py

werobot/session/__init__.py
100% <0%> (+10%)
:arrow_up:

werobot/session/saekvstorage.py
88.23% <0%> (+88.23%)
:arrow_up:

Continue to review full report at Codecov.

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

A new inspection was created.

The inspection completed: No new issues

A new inspection was created.

The inspection completed: No new issues

A new inspection was created.

The inspection completed: No new issues


Typo in lab 2 - Zipf's law definition

Link to cell
<...>In basically any text corpus, there are a small number of very frequency tokens while most tokens appear fairly infrequently.<...>
very frequency should be replaced with either very high frequency or very frequent.

Thanks. Fixed. 1 point


Add Vim swap file

Reasons for making this change:
As a common template .gitignore maintained by https://github.com/dotnet/templating, the customer requested to add Vim swap files to it. To keep both sides aligned, request to add Vim swap files to this template.
Links to documentation supporting these rule changes:
https://github.com/dotnet/templating/issues/5048

Is there a reason that this cannot leverage https://github.com/github/gitignore/blob/main/Global/Vim.gitignore?
There are a few tools like gitignorer and whatnot to help with concatenating multiple gitignore files together


release-python.nix: add aarch64-linux

Motivation for this change
Reduce the number of surprises when we go from staging to staging-next
with python-unstable.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

@ofborg eval


CupertinoPageTransitionsBuilder breaks when using MaterialPageRoute and scroll from left border

I've tried to replace navigation animations on entire material app using pageTransitionsTheme and keep using MaterialPageRoute.
Then I found a bug when pageTransitionsTheme is replaced back from Cupertino to Material.

Steps to Reproduce
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
        pageTransitionsTheme: PageTransitionsTheme(builders: {
          TargetPlatform.android: CupertinoPageTransitionsBuilder(),
        }),
      ),
      home: MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key key, this.title}) : super(key: key);

  final String title;

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            FlatButton(
              child: Text("Second page"),
              onPressed: () => Navigator.of(context)
                  .push(MaterialPageRoute(builder: (context) => SecondPage())),
            )
          ],
        ),
      ),
    );
  }
}

class SecondPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text("Second page"),
      ),
    );
  }
}

Go to another page.
Scroll from left border.
Tap back button.
Your theme animation has changed to Material.

Target Platform: Android
Target OS version/browser: 9.1
Devices: Emulator and physical device
Logs
No any error logs.

[✓] Flutter (Channel stable, v1.9.1+hotfix.4, on Linux, locale en_US.UTF-8)
    • Flutter version 1.9.1+hotfix.4 at /opt/flutter
    • Framework revision cc949a8e8b (3 weeks ago), 2019-09-27 15:04:59 -0700
    • Engine revision b863200c37
    • Dart version 2.5.0

[!] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /home/grafa/Android/Sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • ANDROID_HOME = /home/grafa/Android/Sdk
    • Java binary at: /opt/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b16-5323222)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses

[✓] Android Studio (version 3.4)
    • Android Studio at /opt/android-studio
    • Flutter plugin version 38.2.1
    • Dart plugin version 183.6270
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b16-5323222)

HI @grafovdenis
Tested your sample code on emulator and real device.
Back transition remains Cupertino
if you're still experiencing this problem, please create a new issue and provide the information required in
the template.
Thank you

Add TargetPlatform.iOS: CupertinoPageTransitionsBuilder()


migrate TorchEstimator to use Ray Train API and Ray Dataset

Parameters change details:

+ resources_per_worker: used in Trainer. The resources reserved for each worker.
+ drop_last: used in RayDataset.to_torch(). Determine whether to drop the last incomplete batch.
+ callbacks: used in Trainer.run(). User can customize functions that can be executed during training.
- scheduler_step_freq: determine when scheduler.step is called.
　　"batch": step will be called after every optimizer step.
　　"epoch": step will be called after one pass of the DataLoader.
　　"manual":  the scheduler will not be incremented automatically.
　　Now the code is the 'batch' mode, and this can meet basic needs. So this can be optimized as a trick for model training.
- feature_shapes & label_shape: required in MLDataset.to_torch(). They're used to check data. In RayDataset.to_torch(), data is checked by comparing      feature_columns and feature_column_dtypes.
- shuffle:  https://docs.ray.io/en/master/train/user_guide.html#example-per-epoch-shuffle-pipeline (provided by kira-lin)
- fs_directory & compression: Required in RayMLDataset.from_spark().
- num_steps & profile=False & reduce_results & info: Required in TorchTrainer.train().

Can be optimized:

User are able to provide their train_fun().
Multi-task training can be satisfied.
scheduler_step_freq can also be supported.

Can you fix the test? why does torch sequential fail while torch succeeds?

@kira-lin it‘s because torch sequential triggers this problem, the ray version used by CI hasn’t solved it. Maybe I should avoid failure by modifying the data sample?

@KepingYan OK, so there should be no problem if we merge this?

@kira-lin  The previous failure was avoided by modifying the data sample, now the CI passes.


Add note about esp-idf-git in AUR

 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.

Hi @jose1711 ,
Thanks for creating an AUR package for esp-idf! I'm sympathetic to this idea (I'm an Arch user and I use a ton of stuff from AUR.) However I'm afraid we can't really link to a third party package that we don't support, even if it's a simple wrapper around our git repo.
It's also much easier for us, support-wise, if everyone follows the same instructions to clone esp-idf into their working directory. When we get issue reports we already have to navigate a lot of variables about what platform users are running on, and this adds another variable..
I took a quick look at the PKGBUILD as written, and FWIW I also have a few concerns there. Although we try to avoid it, the IDF build system assumes that the user running the build has write access to the IDF_PATH directory. For example, when you run "menuconfig" the conf binaries are built in tools/kconfig. I'm not sure how you can handle this while putting the IDF working directory into a global directory like /opt (unless it's chown-ed to one particular user, or world writeable, neither of which seem like a sensible practice.)
Sorry that we can't support this particular change.
Angus
PS FWIW, in case you're interested, an AUR package that installed the xtensa-esp32-elf toolchain in a correct way, similar to other Arch cross-toolchains, might be a different story.


help me figure out the stealer

help me figure out the stealer, I entered git clone https://github.com/hackirby/skuld and cd skuld on the command line, but I can’t figure it out further, can someone help and explain how it works completely

are you mentally ill????
it clearly says open main.go and edit the config, then run go build????

calm down lol, youre not "Im know it all" even though he cant follow simple instructions you dont have a reason to be rude lol

Thank you for your contributions to this discussion. However, the conversation has become disrespectful, which is not in line with the supportive environment I aim to maintain. I am closing this thread now. Please remember to treat each other with respect and kindness in future discussions.


Incompatible with Quilt because of simple json

This mod, as downloaded from CurseForge, is currently incompatible with Quilt:
there is a small problem in the fabric.mod.json: line 2 that needs to be changed
- 	"schemaVersion": 1.0,
+	"schemaVersion": 1,

Interestingly, the code on this GitHub doesn't have that same bug as the CF release for any of the branches??

New version works as intended

why this issue is closed? there is no new version

A new version has been published on Modrinth with the same version number as on CF, but the CF version is actually an older build.


Add Quote Garden

Thank you for taking the time to work on a Pull Request for this project!
To ensure your PR is dealt with swiftly please check the following:

[x] Your submissions are formatted according to the guidelines in the contributing guide
[x] Your additions are ordered alphabetically
[x] Your submission has a useful description
[x] The description does not end with punctuation
[x] Each table column should be padded with one space on either side
[x] You have searched the repository for any relevant issues or pull requests
[ ] Any category you are creating has the minimum requirement of 3 items
[x] All changes have been squashed into a single commit

Thank you 😃

Thank you for adding my API for the public @yakunichevaleksandr


Add gridObjectTestUtils.

Before:
var gridTestUtils = require('lib/gridTestUtils.spec.js');
gridTestUtils.expectHeaderColumnCount('users-table', 6);
gridTestUtils.expectHeaderCellValueMatch('users-table', 0, 'ID');
gridTestUtils.expectHeaderCellValueMatch('users-table', 1, 'Name');
gridTestUtils.expectHeaderCellValueMatch('users-table', 2, 'Email');

After:
var GridObjectTest = require('lib/gridObjectTestUtils.spec.js');
var usersGrid = new GridObjectTest('users-table');
usersGrid.expectHeaderColumnCount(6);
usersGrid.expectHeaderCellValueMatch(0, 'ID');
usersGrid.expectHeaderCellValueMatch(1, 'Name');
usersGrid.expectHeaderCellValueMatch(2, 'Email');

Sorry for closing -- thought there was a bug in this -- it was actually a bug in my real tests!

That's really elegant.  And it looks like it's backwards compatible?  (i.e. we can choose to change the existing tests or not change them?)

@PaulL1 Yep, it's fully backwards compatible. Thanks for the merge. :)

Further, I've just updated the 101 and 102 tutorials to use this format.  I noted that @c0bra (I think) has needed to use promises to deal with Firefox, and that code relies on the return value from some of the functions.  I updated the object to cascade the return value from each function, which seems to allow that code to keep working as well.


Issue with SavedData and FeedOption after.

Following this comment: https://github.com/halcyonnouveau/roux/issues/36#issuecomment-1005303236
I am trying to iterate through my saved items. But using the after option just keeps giving me the items
        let saved1 = account.saved(None).await.unwrap();
        let last_child_id1 = match &saved1.data.children.last().unwrap().data {
            SavedData::Comment(comments_data) => comments_data.id.as_ref().unwrap(),
            SavedData::Submission(submissions_data) => &submissions_data.id,
        };
        dbg!("Child Last 1: {}", last_child_id1);
        let after_options = FeedOption::new().after(&saved1.data.after.unwrap());
        let saved2 = account.saved(Some(after_options)).await.unwrap();
        let last_child_id2 = match &saved2.data.children.last().unwrap().data {
            SavedData::Comment(comments_data) => comments_data.id.as_ref().unwrap(),
            SavedData::Submission(submissions_data) => &submissions_data.id,
        };
        dbg!("Child Last 2: {}", last_child_id2);
        assert_ne!(last_child_id1, last_child_id2);

The assertion fails. I also notice that it returns the same after value. I know for a fact that I have a lot of saved items, and I don't see any scenario where the same after value should be returned.

Hi, sorry about all these problems you've been encountering, you're in the areas that I haven't touched very much.
Anyway, there was an issue with how the urls were being built which has been fixed in this commit: 86b981ebc40f926d7d591f9650a1a26e3be61601. If you could test the commit and confirm it works that would be great.

@beanpuppy It's working fine now.

Hi, sorry about all these problems you've been encountering, you're in the areas that I haven't touched very much.

Happy to help, I was planning on creating a new library anyway since yours doesn't support OAuth authentication, but it's too much hassle and your library is very convenient so I am happy with it for now.


Replacing jQuery UI draggable removed automatic scrolling on drag

jQuery UI automatically scrolls the browser window when dragging over the top and bottom of the page.  The draggable resizable rewrite removed this.  It should be brought back.

I'm still having issues with this - it doesn't scroll when gridster is inside a scrollable container (eg a fixed height div with overflow-y: scroll)

did anyone solve it?


Use http instead of https for bitcoincharts

This may fix the NaNBTC (and possibly other related issues) issue that people have on OSX. I'm not able to replicate this but if the reports of this problem vanish after including this, then it could be considered fixed.
bitcoinaverage, bitpay, and blockchain.info all force https but bitcoincharts allows http.
Pro: newbies on OSX won't have to go through the fixing steps detailed here https://github.com/OpenBazaar/OpenBazaar-Client/issues/1247#issuecomment-213123969
Con: there is less redundancy for people with this issue.

We fixed this with certifi


[Question] Process of notifications

There's an option in the config file to set an endpoint to send notifications, but there's almost no explanation of how it works. Clair does analyze the previously fed images or you have to manage all the analysis?
PD: Thanks for your work, really awesome.

Have you read the doc on notifications here.

Sure, but I think it's not clear enough or I'm not able to understand it.
It tracks vulnerabilities that affect images that are previously download or before send notifications the images are scanned again?

Notifications are generated when new/updated vulnerabilities are inserted into the Clair database. A webhook is sent containing an identifier for that change to the database. Using that identifier, a person or program with access to Clair's API can look at the difference between the new and old vulnerabilities. This might be a change in metadata (e.g. severity) or a change in the images it affects.

Cool, thank you.


Remove the pre-packaged metadata

Once we have the metadata-generator's performance improved enough to run before build, we should drop the metadata from the npm package and run the tool before build. This should help us keep up with new iOS versions and native libraries.

The metadata generator is rewritten in C++ and is merged to MetadataMerger tool (there is no more MetadataMerger tool, there is only MetadataGenerator tool). The new MetadataGenerator tool is part of our npm package. There is no more merge step. The tool gets headers as input and produces binary metadata (there is no intermediate yaml files any more). We don't distribute any metadata in our npm package. The metadata generation process takes place entirely on the client machine. It is integrated as build step in the project template, so there is no need to run it manually. Actually, there should be no case in which metadata generation must be run manually. The build step script collects all the needed information for metadata generation (path to the sdk folder, architectures, header include paths, framework include paths etc.) from Xcode proeject environment variables and pass it to metadata generator. The output of the metadata generator is single binary file for each architecture the app is builded for (architectures are retrived from Xcode environment variables). These files are copied in the app bundle and are used at runtime from the NativeScript iOS Runtime.


Distinguish between manually input grades and calculated grades

Grades that have been manually input by a teacher through a CSV and grades calculated by a grade calculation function should be distinguished in the database so calculated grades can be cleared if necessary.

Perhaps the simplest option would be to add a boolean column manual (or calculated, etc.) to the user_attainment_grade table.


Better error handling

Right now when there's an issue with a datamodel in prisma.yml the error can be unclear.

Would be nice to fix this at some point.

Probably won't get to this one.


Implement References and Selectors on Route Resource

What problem are you facing?
The EC2 Route Resource currently does not accept Refs for Selectors for related components (RouteTableID, NATGatewayID, TransitGatewayID, VPCPeeringConnectionID, RouteTableID, InstanceID, GatewayID)
How could Crossplane help solve your problem?
Implement the refs and selectors for these parts of the Route spec before promoting to Beta status.
Could also create a reference for destinationCIDRBlock as we support a VPCCIDRBlock pseudo resource.

Closing this as already done.


Alluxio testing

Is your feature request related to a problem? Please describe.
We have instructions on using alluxio and have done manual basic testing if we are going to promote we need to have more comprehensive testing for different file type, setups, resource managers, csps, etc and automated testing to make sure it doesn't break.

For 22.10 release we should concentrate on testing base functionality in Alluxio and testing:
https://github.com/NVIDIA/spark-rapids/issues/6508 and if possible https://github.com/NVIDIA/spark-rapids/issues/6456

I created https://github.com/NVIDIA/spark-rapids/issues/6660 to trace the test automation.
And for this issue, let's just manually run it for 22.10.

@tgravescs
setups/resource managers should be Standalone, Yarn, K8s.
CSPs should be Databricks, Dataproc or EMR.
But for now, we only support Databricks(Standalone).
Is it ok to just test Databricks environment for 22.10?

yes Databricks only is fine for 22.10

I tested the IT notebook and it passed.
IT path is /alluxio/IT/it
The output of the IT is:
Success: negative cases
Success: read type is MULTITHREADED, replace algo is TASK_TIME
Success: read type is MULTITHREADED, replace algo is CONVERT_TIME
Success: read type is COALESCING, replace algo is TASK_TIME
Success: read type is COALESCING, replace algo is CONVERT_TIME
Success: query11
Success: query27
Success: query28

Close it since 22.10 test has been done.


[Android][UX] [Input ChoiceSet (compact) height and width squeezed]

Platform
What platform is your issue or question related to? (Delete other platforms).

Android

Author or host
Microsoft Teams
Version of SDK
SDK 2.1.0 (ACv1.3)
Details
The height and width of the Input ChoiceSet (compact) is squeezed. The screenshot below shows the current user experience.

@almedina-ms / @jwoo-msft  can you please update the issue with results of the ongoing investigation? Thanks


Using local images

Is your feature request related to a problem? Please describe.
When you need to load images from local storage, the current code is triyng to use uri:  format.
Describe the solution you'd like
On the AvatarSocial.js class you should use generic image loading to allow images from local storage and from network too.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Hi @yulioaj290 , I have uploaded version 0.0.3 as requested.
Let me know if there are any problems or if it doesn't work properly.


Transfer confirm on mobile wallet using walletconnect shows ethereum address

Hi,
I am trying to connect DAPP with trustwallet mobile app using walletconnect. I am used the demo app provided by tronwallet-adapter here https://github.com/tronprotocol/tronwallet-adapter/tree/main/demos/react-ui/create-react-app.
I tested connecting my trustwallet with the walletconnect qr code shown and the connection was successfull. When I tried to transfer TRC to the receiver address, I get a confirmation notification on my trustwallet app. But I see details are incorrect there. It is showing my ethereum wallet address in From field.
Is the details shown in confirm screen correct? Can somebody please tell me what I am doing wrong?
This is my wallet connector config
        const walletConnectAdapter = new WalletConnectAdapter({             network: 'Mainnet',             options: {                 relayUrl: 'wss://relay.walletconnect.com',                 // example WC app project ID                 projectId: '****',                 metadata: {                     name: 'Test DApp',                     description: 'JustLend WalletConnect',                     url: 'https://your-dapp-url.org/',                     icons: ['https://your-dapp-url.org/mainLogo.svg'],                 },             },         });
Below is the screenshot of what I am seeing on mobile.

Have you change the selected wallet to Tron BlockChain?

Hi,
I am trying to connect DAPP with trustwallet mobile app using walletconnect. I am used the demo app provided by tronwallet-adapter here https://github.com/tronprotocol/tronwallet-adapter/tree/main/demos/react-ui/create-react-app.
I tested connecting my trustwallet with the walletconnect qr code shown and the connection was successfull. When I tried to transfer TRC to the receiver address, I get a confirmation notification on my trustwallet app. But I see details are incorrect there. It is showing my ethereum wallet address in From field.
Is the details shown in confirm screen correct? Can somebody please tell me what I am doing wrong?
This is my wallet connector config  const walletConnectAdapter = new WalletConnectAdapter({ network: 'Mainnet', options: { relayUrl: 'wss://relay.walletconnect.com', // example WC app project ID projectId: '****', metadata: { name: 'Test DApp', description: 'JustLend WalletConnect', url: 'https://your-dapp-url.org/', icons: ['https://your-dapp-url.org/mainLogo.svg'], }, }, });
Below is the screenshot of what I am seeing on mobile.

Hello @areddyacqrx,
Have you resolve this issue?


Add Cassandra module

Superseeds #525 by @AnkBurov

LGTM apart from this minor questions.

Finally merged :D Thanks @AnkBurov for your contribution!

Nice! Thanks.