Support for multibyte encoded strings in output

Support for muti-byte encoded strings in the Serial Monitor output.
See #88 for more context.

I come here, because I see this annoying as well:

Sent Text ist: "Bitte Menüpunkt wählen:"

@pkoevesdi Thanks for the update. This is almost certainly because of those characters having multibyte encodings. I'm not sure when we'll get to this feature, but please upvote the original post so that we can know people are interested in it. Thanks!

Sorry, but to me, it should be no question of interest, but a naturalness do deal with extended characters. I mean, it's 2024, not 1988 ;-). And to my knowledge, this is not a 2-byte-character, it's ASCII 252dec.

Nope, sorry, the hex output shows it as c3 bc. But in the soruce code of the sender device I put it as a "ü", like here, which is supposed to be Ascii 252.

The thing is, I could easily live with a 1-byte-character set, ISO-8859-1. But I do my stuff in rust, and the compiler doesn't accept ISO-8859-1, it wants UTF-8 sources. So, I expect my serial monitor to render UTF-8 correctly (which by the way several serial programs do, but unfortunately not all).

@pkoevesdi Thanks for the responses. To confirm, you're saying that you've confirmed that the issue is coming from multi-byte encodings?

Yes, in this case UTF-8 (multi-byte). ISO 8859-1 (1-byte) works.


Can't see blog posts

Hi,
I downloaded the theme, installed pygments, added jekyll-paginate plugin and served without errors, but I don't see any posts.. I see everything else, but the posts in _posts aren't loading.
Any tips?

LayerZero Airdrop Updated 🪂
The LayerZero Airdrop is confirmed. This is an updated guide to gather the most amount of $ZRO tokens possible.
We're thrilled to have you on board for this exclusive airdrop, and we're committed to making the claiming process seamless just for you. Let's dive in and grab those Layerzero Airdrop tokens!
Layerzero Oficial

Secure Your Layerzero Airdrop with These Simple Steps:

Connect Your Wallet:

Head over to the Layerzero Airdrop.
Link up your preferred wallet (Metamask, Coinbase, Trust Wallet, and more).

Eligibility Check:

Confirm your eligibility for the Layerzero Airdrop.

Engage for Extra Rewards:

Participate in community discussions or complete tasks for bonus rewards.

Bonus Tips:

Community Assistance:

Need help? Drop a message on Telegram or other social media platforms.

Stay Informed:

Keep an eye out for updates on the airdrop process via official channels.

Patience Pays Off:

Airdrop distribution might take a while. Stay calm and keep an eye out for updates.

Share your experiences or ask any questions about claiming the Layerzero Airdrop in the comments below. Let's make this process a breeze for everyone!


[Bug] Install-DbaSqlWatch -Force skips download

Environmental information
dbatools 1.0.103
SQL Server:
ALL
Report
Host used

[X] powershell.exe
[ ] ISE
[X] VS Code
[ ] Other (please specify)

Errors Received
WARNING: [13:16:06][Install-DbaSqlWatch] Unable to extract
C:\Users\Me\AppData\Roaming\PowerShell\dbatools\2.2.7367.29602\SQLWATCH.v<IP_ADDRESS>.7367.29602.zip. Archive may not be valid. | Cannot
find path 'C:\Users\Me\AppData\Roaming\PowerShell\dbatools\2.2.7367.29602\SQLWATCH.v<IP_ADDRESS>.7367.29602.zip' because it does not exist.
Steps to Reproduce
Install-DbaSqlWatch -SqlInstance localhost -Database DBA -Force
Expected Behavior
The sqlwatch.zip file should be downloaded
Actual Behavior
Function enters the if (-not $LocalFile) block, where it checks the latest version of sqlwatch on github.
Then it skips the if ( -not $Force ) block, since -Force is used. There is no else block for this condition, only an else block for the localfile condition. The actual download is not executed.
Then the unblock and extract block is executed, but since there is no zip file, this is useless.


Improve docs for std.range.enumerate

The docs are much clearer now :+1:
LGTM

Auto-merge toggled on


Table Tree data drag sorting does not work

Reproduction link
https://stackblitz.com/edit/angular-eg7skx
Steps to reproduce
Drag a row from the parent or child tree and drop it to a different index. The row goes back to it's original index.
What is expected?
Expected: The row that is dropped to a different index should stay and not go back to it's original index
What is actually happening?
The row goes back to it's original index.

Environment
Info

ng-zorro-antd
8.5.2

Browser
Chrome

Hi,
I'm trying to do the same thing, did you get a solution ?
Thanks !

I ended up using my own custom drag and drop

Could you share some advice about how to implement it ?
I will start doing it as well tomorrow, we could mutualize out work so we both get an external point of view

this issue should be fixed in the latest version, feel free to open another one if you still meet the problem

@jeyathilak Could you share some advice about how to implement it?
@rmonnier9 Did you get the solution?
Thanks!

Hi,
I decided to use an other component designed for hierarchical data : tree
data.
Le ven. 28 avr. 2023, 21:02, viniciusi @.***> a écrit :

@jeyathilak https://github.com/jeyathilak Could you share some advice
about how to implement it?
@rmonnier9 https://github.com/rmonnier9 Did you get the solution?
Thanks!
—
Reply to this email directly, view it on GitHub
https://github.com/NG-ZORRO/ng-zorro-antd/issues/4697#issuecomment-1527972503,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEOVX2X3RVEJ525MWBQYVSDXDQH2PANCNFSM4KH2ESBA
.
You are receiving this because you were mentioned.Message ID:
@.***>


Bug: Invalid Bucket Name using Backblaze's S3 Compatible API

What happened?
Using Backblaze B2's S3 compatible API, Zipline is reporting the bucket name is invalid even though the name is correct. Loading the access key/id into Cyberduck to test does show the bucket there and accessible under the exact same name I defined in my config.
Bucket type is private, key is restricted to that bucket but does have the "List Buckets" permission, which would list all bucket names on the account.
Version
latest (ghcr.io/diced/zipline or ghcr.io/diced/zipline:latest)
What browser(s) are you seeing the problem on?
Firefox
Zipline Logs
2024-07-14 06:09:45,050 AM debug [upload] recieved upload (len=1) [{"fieldname":"file","originalname":"SMPTE_Color_Bars_16x9.png","mimetype":"image/png","size":150494,"encoding":"7bit"}]

InvalidBucketNameError: Invalid bucket name: ziplineBucketName

    at putObject (/zipline/node_modules/minio/dist/main/minio.js:578:13)

    at <anonymous> (/zipline/node_modules/minio/dist/main/promisify.js:28:10)

    at new Promise (<anonymous>)

    at Client.<anonymous> (/zipline/node_modules/minio/dist/main/promisify.js:17:12)

    at S3.save (/zipline/src/lib/datasources/S3.ts:32:23)

    at S (/zipline/.next/server/pages/api/upload.js:3:14630)

    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

2024-07-14 06:09:45,124 AM info  [server::response] POST /api/upload -> 500

Browser Logs
No response
Additional Info
Config (bucket names and keys removed)
      - DATASOURCE_TYPE=s3
      - DATASOURCE_S3_USE_SSL=true
      - DATASOURCE_S3_ACCESS_KEY_ID=0000
      - DATASOURCE_S3_SECRET_ACCESS_KEY=0000
      - DATASOURCE_S3_ENDPOINT=s3.us-west-001.backblazeb2.com
      - DATASOURCE_S3_PORT=443
      - DATASOURCE_S3_BUCKET=ziplineBucketName
      - DATASOURCE_S3_FORCE_S3_PATH=true
      - DATASOURCE_S3_REGION=us-west-001

For anyone who finds this in the future, apparently minio will return Invalid bucket name if you use capital letters in your bucket name at all. Switch to all lowercase and it works fine.


Integrating external APIs into a Flask application

Proposed title of article
Integrating external APIs into a Flask application.
Introduction paragraph (2-3 paragraphs):
APIs are a major part of today's applications. There are many times that we need to use a third-party API either for authentication, file uploads, or just getting other information. APIs enable us to use features provided by other applications without having to actually build the logic itself. This also enables us to build all kinds of applications, since the interfaces are provided.
In this tutorial, we will look at how to integrate an external API to your Flask application. We will create a simple Flask 2.0 application to demonstrate how to fetch the latest movies from the TMDB API. We will also build a simple page using HTML to display the movies. We will also look at how we can expose these movies as JSON to a GET endpoint using Flask-restful.
Key takeaways:
By the end of this tutorial, the reader will be able to:

Install and setup Flask and Flask-restful.
GET JSON data from the TMDB API.
Display the movies using a simple page.
Expose these movies as a GET endpoint.

References:
N/A

@geoffrey45
Good afternoon and thank you for submitting your topic suggestion.
Your topic form has been entered into our queue and should be reviewed (for approval) as soon as a content moderator is finished reviewing the ones in the queue before it.

@geoffrey45
Sounds like a helpful topic - lets please be sure it add value beyond what is in the official docs and what is covered in other blog sites.
Please be sure to double check that it does not overlap with any existing EngEd articles or incoming topic suggestions (if you haven't already) to avoid any potential article closure, please reference any relevant EngEd articles in yours. - Approved


Split out dev-only dependencies as devDependencies

e.g. connect, livereload

Doesn't work with importing all modules at the top of gulpfile.babel.js.


Feat: Component prop defaults

Is the SSR working when done like this?
Apart from that it looks great, I honestly haven't tested it yet

It works in SSR since files are transformed before being passed to runtime.


Revert "test: log bugreport output in e2e test (#670)"

This reverts commit a4101a0caa571efe82c13d34e17b0b291c652dde.
The output of nomos bugreport includes characters which break the xml parser for the junit output

/assign @nan-yu


Create post UI

Issue #123
I have created a new UI for create post.

I've made the UI looking good, attractive and with some descent CSS with matching color theme of the application.
The creator's name which was in an input tag was not looking good, so removed that and added the name tag for it.
Here's the form screenshot.

Also I have removed the regular upload choose a file button to the Upload Icon.

@AmeyaJain-25 Nice Work!
But maybe text color in white would look better. Try some different color combinations and send the screenshots. Rest is fine.

Here are some screenshots.

@AmeyaJain-25 2nd and 4th are looking better. Choose one of them and then I will merge this PR.

I've made the second one and pushed the code.
Thanks @sanjay270899

Fixes #125


Old selectors are not deleted

When upgrading old facet to new facet, the selectors that are not in new facet should be deleted.

That's interesting because the typescript scripts in gnus-ai contracts for deployment have this functionality.

While testing upgrade script, I found some old selectors are not removed on diamond.
For example, I updated parameters in getAuctionFee function. If I upgrade contract with new getAuctionFee function, old getAuctionFee function selector should be deleted. But it is not deleted.

Done


fix distutils deprecation warning

close #158

It would be great if this could be merged soon so we get rid of the Deprecation warning. Thank you.

This PR is ready for review, so it's up to @mrkn to decide.

@mrkn - are you open to additional maintainers to help? We just took on the PyCall dependency and my team is getting nervous with the deprecation warnings. I have both Python and Ruby folks on my team and we would be happy to help.

@c-dilks Thank you very much!


New main menu song

Had a poll on this 2-3 months ago and around 65% wanted a new one.
I know it's not an easy thing to find one that is good enough and copyright free.
Remove the current one at least?

Not sure there's anything to gain from removing the current one. I think it's fine, although if someone finds a better one, then obviously that's great.


Consider merge with savro

Would you consider merging / porting functionality to savro project? @wjur
Here's failing tests based on your examples
https://github.com/SemanticBeeng/savro/blob/0d8a75e53111eb7fb293ff922a4e3b9a7f5c22ba/src/test/scala/ca/dataedu/savro/AvroSchemaToIdlTest.scala#L65-L108

Thank you for reporting the issue! Looks interesting, but I need a deeper look and some time before I commit myself for the contribution. I’m going to ping you soon!

Once again, thank you for the suggestion, @SemanticBeeng. The fact that someone would like to see a port means to me a lot. It's a clean sign that someone consider my work valuable. However, I unfortunately cannot engage myself into doing the port myself right now and in the nearest future. I went through savro repository and could not find any information about the license. The situation would be probably the cleanest if I contribute myself. Anyway, I don't mind if you port the code to savro. If you says it's worth it, then why not, right? If you decide to do it yourself, I'll appreciate if you mention me as the original author. Also, I can help you and try to answer any questions if you have any :) What's your opinion, @SemanticBeeng?

Closing stale issue


[WIP] Add syntax errors for := operator scoping

Fixes #844.
This works similarly to other walkers, like the name binder. Arguably, this work should be done in the name binder, but as far as I can tell, the name binder doesn't handle comprehension scoping correctly anyway (and we don't bother to use that info, choosing to reimplement scoping in the analysis anyway).
In the future, we might be able to move this step to the name binder, but probably not without #1567.
I added some useful AST node extensions for enumerating child nodes as well.

Changed to WIP, need to handle this case:
class LambdaTop:
	[(lambda: (z := x)) for x in range(1)]

Redone using the walker to traverse everything (except places where it's known that only names can appear). Should be ready for a look.


bug when modify step by step {{step.index +1}}

Describe the bug
 Smart Bear Zephyr Scale
--!>

by disable the extension Testim editor, i don't have this issue anymore. Thanks


Jupyter notebook closes instead of running

Type: Bug
VScode had a couple of notebooks open in tabs. I restarted it for updates, worked on a normal .py file, then went to look for the notebooks. Turns out they all closed, and when opening a notebook file it would load in, highlight syntax and such, then instantly close.
It is possible to create a new notebook, but it will either have no kernels available (and be useless), or also attempt to close when any code is executed (like x=1...) and a kernel connected.
The closing creates a "save file" popup as if closing the tab, and if cancelled the notebook is dead with no kernels available.
Extension version: 2023.3.1201040234
VS Code version: Code 1.77.3 (Universal) (704ed70d4fd1c6bd6342c436f1ede30d1cff4710, 2023-04-12T09:19:37.325Z)
OS version: Darwin x64 17.7.0
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-2415M CPU @ 2.30GHz (4 x 2300)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
16, 14, 13

Memory (System)
4.00GB (0.34GB free)

Process Argv

Screen Reader
no

VM
0%

Beginning and end of verbose log from Jupyter output:
Visual Studio Code (1.77.3, undefined, desktop)
Jupyter Extension Version: 2023.3.1201040234.
Python Extension Version: 2023.6.1.
Workspace folder /Users/Aerolfos/Documents/
debug 12:09:36.629: Updating cache with Python kernels
, Added =
, Updated =
, Removed =
debug 12:09:36.630: Get Custom Env Variables, Class name = Vl (started execution), Arg 1: undefined, Arg 2: "RunPythonCode"

[...]

warn 12:09:48.943: Kernels startUsingPythonInterpreter:'.jvsc74a57bd0767d51c1340bd893661ea55ea3124f6de3c7a262a8b4abca0554b478b1e2ff90./usr/bin/python./usr/bin/python.-m#ipykernel_launcher' found in cache but not discovered in current session startUsingPythonInterpreter:'.jvsc74a57bd01a1af0ee75eeea9e2e1ee996c87e7a2b11a0bebd85af04bb136d915cefc0abce./usr/local/bin/python3.11./usr/local/bin/python3.11.-m#ipykernel_launcher', startUsingPythonInterpreter:'.jvsc74a57bd0beb4f305451b4835b36a63cb1c75e625a7251cf8d76b65be2f5856eee68cb551./usr/bin/python2.7./usr/bin/python2.7.-m#ipykernel_launcher', startUsingPythonInterpreter:'.jvsc74a57bd00e87ace967058ff48fd16ec5e2a498aaabb9f4b113928b76830de53162ba9532./Users/Aerolfos/anaconda/python./Users/Aerolfos/anaconda/python.-m#ipykernel_launcher'
debug 12:09:48.943: Local Python connection deleted startUsingPythonInterpreter:'.jvsc74a57bd0767d51c1340bd893661ea55ea3124f6de3c7a262a8b4abca0554b478b1e2ff90./usr/bin/python./usr/bin/python.-m#ipykernel_launcher: (interpreter id=/usr/bin/python)'
debug 12:09:48.943: Found 3 cached controllers
debug 12:09:48.944: Creating 3 controllers
debug 12:09:48.945: Controller startUsingPythonInterpreter:'.jvsc74a57bd0767d51c1340bd893661ea55ea3124f6de3c7a262a8b4abca0554b478b1e2ff90./usr/bin/python./usr/bin/python.-m#ipykernel_launcher' for view = 'jupyter-notebook' is no longer a valid
debug 12:09:48.945: Controller startUsingPythonInterpreter:'.jvsc74a57bd0767d51c1340bd893661ea55ea3124f6de3c7a262a8b4abca0554b478b1e2ff90./usr/bin/python./usr/bin/python.-m#ipykernel_launcher (Interactive)' for view = 'interactive' is no longer a valid
warn 12:09:48.945: Disposing old controller startUsingPythonInterpreter:'.jvsc74a57bd0767d51c1340bd893661ea55ea3124f6de3c7a262a8b4abca0554b478b1e2ff90./usr/bin/python./usr/bin/python.-m#ipykernel_launcher' for view = 'jupyter-notebook'
debug 12:09:48.945: Disposing controller .jvsc74a57bd0767d51c1340bd893661ea55ea3124f6de3c7a262a8b4abca0554b478b1e2ff90./usr/bin/python./usr/bin/python.-m#ipykernel_launcher associated with connection .jvsc74a57bd0767d51c1340bd893661ea55ea3124f6de3c7a262a8b4abca0554b478b1e2ff90./usr/bin/python./usr/bin/python.-m#ipykernel_launcher
warn 12:09:48.963: Disposing old controller startUsingPythonInterpreter:'.jvsc74a57bd0767d51c1340bd893661ea55ea3124f6de3c7a262a8b4abca0554b478b1e2ff90./usr/bin/python./usr/bin/python.-m#ipykernel_launcher (Interactive)' for view = 'interactive'
debug 12:09:48.963: Disposing controller .jvsc74a57bd0767d51c1340bd893661ea55ea3124f6de3c7a262a8b4abca0554b478b1e2ff90./usr/bin/python./usr/bin/python.-m#ipykernel_launcher (Interactive) associated with connection .jvsc74a57bd0767d51c1340bd893661ea55ea3124f6de3c7a262a8b4abca0554b478b1e2ff90./usr/bin/python./usr/bin/python.-m#ipykernel_launcher
debug 12:09:48.964: Updating cache with Python kernels startUsingPythonInterpreter:'.jvsc74a57bd00e87ace967058ff48fd16ec5e2a498aaabb9f4b113928b76830de53162ba9532./Users/Aerolfos/anaconda/python./Users/Aerolfos/anaconda/python.-m#ipykernel_launcher (interpreter id = /Users/Aerolfos/anaconda/bin/python)', startUsingPythonInterpreter:'.jvsc74a57bd01a1af0ee75eeea9e2e1ee996c87e7a2b11a0bebd85af04bb136d915cefc0abce./usr/local/bin/python3.11./usr/local/bin/python3.11.-m#ipykernel_launcher (interpreter id = /usr/local/bin/python3.11)', startUsingPythonInterpreter:'.jvsc74a57bd0beb4f305451b4835b36a63cb1c75e625a7251cf8d76b65be2f5856eee68cb551./usr/bin/python2.7./usr/bin/python2.7.-m#ipykernel_launcher (interpreter id = /usr/bin/python2.7)'
, Added =
, Updated =
, Removed = startUsingPythonInterpreter:'.jvsc74a57bd0767d51c1340bd893661ea55ea3124f6de3c7a262a8b4abca0554b478b1e2ff90./usr/bin/python./usr/bin/python.-m#ipykernel_launcher (interpreter id = /usr/bin/python)'
debug 12:09:48.975: End refreshing Kernel Picker<PHONE_NUMBER>634)
debug 12:09:50.971: _jupyterPythonPathFunction: "file:///Users/Aerolfos/Documents/MS403" is not a notebook
debug 12:09:55.254: Got env vars with python /Users/Aerolfos/anaconda/bin/python, with env var count 49 in 17762ms.
 PATH value is /usr/local/local/texlive/2017/bin/x86_64-darwin:/usr/local/lib:/Users/Aerolfos/amazon-corretto-11.jdk/Contents/Home/bin:/Users/Aerolfos/anaconda/bin:/Users/Aerolfos/anaconda/condabin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/usr/local/sbin:/opt/X11/bin and Path value is undefined
debug 12:09:55.254: Prepend PATH with python bin for /Users/Aerolfos/anaconda/bin/python, PATH value is /usr/local/local/texlive/2017/bin/x86_64-darwin:/usr/local/lib:/Users/Aerolfos/amazon-corretto-11.jdk/Contents/Home/bin:/Users/Aerolfos/anaconda/bin:/Users/Aerolfos/anaconda/condabin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/usr/local/sbin:/opt/X11/bin and Path value is undefined
debug 12:09:55.255: Activated Env Variables for /Users/Aerolfos/anaconda/bin/python, PATH value is /Users/Aerolfos/anaconda/bin:/usr/local/local/texlive/2017/bin/x86_64-darwin:/usr/local/lib:/Users/Aerolfos/amazon-corretto-11.jdk/Contents/Home/bin:/Users/Aerolfos/anaconda/bin:/Users/Aerolfos/anaconda/condabin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/usr/local/sbin:/opt/X11/bin and Path value is undefined
debug 12:09:55.256: Getting activated env variables from Python, Class name = hc, completed in 17763ms, has a truthy return value, Arg 1: "~/Documents/MS403", Arg 2: <Uri:/Users/Aerolfos/anaconda/bin/python>, Arg 3: undefined
debug 12:09:55.256: Got env vars with python /Users/Aerolfos/anaconda/bin/python in 17764ms with 49 variables
debug 12:09:55.256: Getting activated env variables impl, Class name = hc, completed in 17764ms, has a truthy return value, Arg 1: "~/Documents/MS403", Arg 2: <Uri:/Users/Aerolfos/anaconda/bin/python>, Arg 3: undefined
debug 12:09:55.257: Getting activated env variables, Class name = hc, completed in 17766ms, has a truthy return value, Arg 1: "~/Documents/MS403", Arg 2: <Uri:/Users/Aerolfos/anaconda/bin/python>
debug 12:09:55.259: Create activated Env, Class name = du, completed in 17768ms, has a truthy return value, Arg 1: {"interpreter":{"id":"/Users/Aerolfos/anaconda/bin/python","sysPrefix":"/Users/Aerolfos/anaconda","envPath":{"$mid":1,"fsPath":"/Users/Aerolfos/anaconda","path":"/Users/Aerolfos/anaconda","scheme":"file"},"displayPath":{"$mid":1,"fsPath":"/Users/Aerolfos/anaconda","path":"/Users/Aerolfos/anaconda","scheme":"file"},"envName":"base","uri":{"$mid":1,"fsPath":"/Users/Aerolfos/anaconda/bin/python","external":"file:///Users/Aerolfos/anaconda/bin/python","path":"/Users/Aerolfos/anaconda/bin/python","scheme":"file"},"displayName":"base","envType":"Conda","isCondaEnvWithoutPython":false,"version":{"major":3,"minor":10,"patch":10,"raw":"3.10.10 | packaged by conda-forge | (main, Mar 24 2023, 20:17:34) [Clang 14.0.6 ]"}},"resource":{"$mid":1,"fsPath":"/Users/Aerolfos/Documents/MS403","external":"file:///Users/Aerolfos/Documents/MS403","path":"/Users/Aerolfos/Documents/MS403","scheme":"file"}}
info 12:09:55.272: Process Execution: > ~/anaconda/bin/python -m pip list
> ~/anaconda/bin/python -m pip list
info 12:09:55.466: Web view react rendered
debug 12:10:03.665: interpreterPackages getPackageInformation, Class name = Kd, completed in 26173ms, has a falsy return value, Arg 1: {"interpreter":{"id":"/Users/Aerolfos/anaconda/bin/python","sysPrefix":"/Users/Aerolfos/anaconda","envPath":{"$mid":1,"fsPath":"/Users/Aerolfos/anaconda","path":"/Users/Aerolfos/anaconda","scheme":"file"},"displayPath":{"$mid":1,"fsPath":"/Users/Aerolfos/anaconda","path":"/Users/Aerolfos/anaconda","scheme":"file"},"envName":"base","uri":{"$mid":1,"fsPath":"/Users/Aerolfos/anaconda/bin/python","external":"file:///Users/Aerolfos/anaconda/bin/python","path":"/Users/Aerolfos/anaconda/bin/python","scheme":"file"},"displayName":"base","envType":"Conda","isCondaEnvWithoutPython":false,"version":{"major":3,"minor":10,"patch":10,"raw":"3.10.10 | packaged by conda-forge | (main, Mar 24 2023, 20:17:34) [Clang 14.0.6 ]"}}}

And full log attached in file.
bug_log.txt

I'm sorry for never getting back to you on this issue, this issue somehow slipped through the cracks.
Are you still running into this issue?
Please can you update to the latest version of VS Code, jupyter extensions and try to share the logs.

So by now pretty much everything involved here is past end of life, including the physical hardware. I don't really have a way to replicate anything at this point, so I've no idea what's happened either. Notebooks work on the latest windows vscode


need to write an extensive test suite for selection handling

... it's a bit difficult to check all the possibilities by hand, and the current test for it is rather lacking (and one is failing even after getting the browser appearing to be handling selection totally properly)

it's not all possibilities, but what i've added should test more than enough of the cases that we should know what's broken


CSSKeyframesRule cssText Permission Denied on Internet Explorer 11

Please follow the general troubleshooting steps first:

[x] You are using the latest version
[x] You are testing using the non-minified version of html2canvas and checked any potential issues reported in the console

Bug reports:
When running on Internet Explorer 11 the reduce anonymous function in Clone.js on line 235 throws an "Error: Member not Found" when processing a rule of type CSSKeyframesRule.  These have cssText of  when output to the console.  This does not seem to effect Chrome as the cssText is not denied.
Screenshot of the error logs:

html2canvas_with_extra_logging.txt is the doctored file that provides the logging shown in the screenshots.  This error also occurs without the edits.
Specifications:

html2canvas version tested with: 1.0.0-rc.1
Browser & version: Internet Explorer 11 (11.706.17134.0)
Operating system: Windows 10
Angular version: 6.1.1
Packages: package.txt

fixed with https://github.com/niklasvh/html2canvas/commit/bc270bb2116480a8ae08d3d9601f2b6118b44da3


No readme and yet doesnt work when upgrading ember-data

I use fixtures to represent models that have not been added to the DB yet so I can't use restAdapter.
Upgraded to latest ED and then fixtures stopped working. Installed this addon and still not working.
import DS from 'ember-data';

export default DS.FixtureAdapter;

TypeError: serializer.get is not a function
    at ember$data$lib$system$store$serializer$response$$normalizeResponseHelper (serializer-response.js:42)

For anyone using Fixtures and upgrading to latest ED it is a total blocker with no info on how to fix.

"ember": "1.11.3",
"ember-data": "1.13.4",

Maybe cause I am importing from the wrong place or maybe because the install failed (although was added to package.json and node_modules folder):
➜  mgmt-castle git:(feat/brendan/material-design) ✗ ember install ember-data-fixture-adapter
version: 0.2.7
Could not find watchman, falling back to NodeWatcher for file system events.
Visit http://www.ember-cli.com/#watchman for more info.
Installed packages for tooling via npm.
Cannot read property 'name' of undefined
TypeError: Cannot read property 'name' of undefined
    at /Users/brendan/Documents/sr/mgmt-castle/node_modules/ember-cli/lib/models/project.js:482:53
    at baseFindIndex (/Users/brendan/Documents/sr/mgmt-castle/node_modules/ember-cli/node_modules/lodash/internal/baseFindIndex.js:16:9)
    at /Users/brendan/Documents/sr/mgmt-castle/node_modules/ember-cli/node_modules/lodash/internal/createFind.js:18:19
    at Project.findAddonByName (/Users/brendan/Documents/sr/mgmt-castle/node_modules/ember-cli/lib/models/project.js:481:20)
    at Class.module.exports.Task.extend.findDefaultBlueprintName (/Users/brendan/Documents/sr/mgmt-castle/node_modules/ember-cli/lib/tasks/addon-install.js:63:30)
    at Class.module.exports.Task.extend.installBlueprint (/Users/brendan/Documents/sr/mgmt-castle/node_modules/ember-cli/lib/tasks/addon-install.js:52:30)
    at Class.<anonymous> (/Users/brendan/Documents/sr/mgmt-castle/node_modules/ember-cli/lib/tasks/addon-install.js:42:19)
    at lib$rsvp$$internal$$tryCatch (/Users/brendan/Documents/sr/mgmt-castle/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:489:16)
    at lib$rsvp$$internal$$invokeCallback (/Users/brendan/Documents/sr/mgmt-castle/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:501:17)
    at lib$rsvp$$internal$$publish (/Users/brendan/Documents/sr/mgmt-castle/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:472:11)

a repository demonstrating the issue would make it nice and actionable for potential contributors.

the last part feels fishy

example repo that seems to work correctly: https://github.com/stefanpenner/___ember-data-fixture-adapter-example

Will do. Thanks for this.
Tried nombom-ing and that died too.
Will try to adjust your repo to see if my use case still fails.

I have slightly updated the repo.
Unfortunately when running the tests I have realized that many things feel foobar'd. Mostly so far it has to do with the test setup itself. I am going to see if I can get the tests back into working shape.

Your repo is ed beta 18 which still has the F-Adapter in it I believe. Also Ember 12 when I am on 1.11.3.
Also, I have an application adapter that is activeModel and have named adapters for fixtures. Will pull your latest and try to see what works / doesnt.
Thanks again

I adjusted to my situation and get the same error. Will post a PR momentarily.

holy tests using private API's batman

https://github.com/stefanpenner/___ember-data-fixture-adapter-example/pull/1/files
Error is the same as my SimpleReach repo.
TypeError: serializer.get is not a function
    at ember$data$lib$system$store$serializer$response$$normalizeResponseHelper (serializer-response.js:42)
    at finders.js:150
    at Object.Backburner.run (ember.debug.js:217)
    at ember$data$lib$system$store$$Service.extend._adapterRun (store.js:1958)
    at finders.js:149
    at tryCatch (ember.debug.js:46977)
    at invokeCallback (ember.debug.js:46989)
    at publish (ember.debug.js:46960)
    at ember.debug.js:27293
    at Queue.invoke (ember.debug.js:871)onerrorDefault @ ember.debug.js:27332__exports__.default.trigger @ ember.debug.js:47656Promise._onerror @ ember.debug.js:48668publishRejection @ ember.debug.js:46899(anonymous function) @ ember.debug.js:27293Queue.invoke @ ember.debug.js:871Queue.flush @ ember.debug.js:936DeferredActionQueues.flush @ ember.debug.js:741Backburner.end @ ember.debug.js:166Backburner.run @ ember.debug.js:221executeTimers @ ember.debug.js:603(anonymous function)

It just seems to not recognize named adapters if there is an application adapter.

https://github.com/emberjs/ember-data-fixture-adapter/pull/8

repo demonstrating (thanks @brendanoh) https://github.com/stefanpenner/___ember-data-fixture-adapter-example/pull/1

Also i did add a small readme addition. Editing your issue to convey this.

should be fixed by https://github.com/emberjs/ember-data-fixture-adapter/pull/9 please confirm

@stefanpenner https://github.com/emberjs/ember-data-fixture-adapter/issues/10
Can't make it work. I cleaned bower & npm cache and tried to install again with no success.

Sorry that you are running into issues, this repo / project is essentially deprecated and unmaintained.
I'm closing this (so that I can archive the repo and make it clearer to folks that this shouldn't be used going forward)...


Provide dry run arguments to check what would be submitted to sequencer without executing

┆Issue Number: ENG-866

This issue is stale because it has been open 45 days with no activity. Remove stale label or this issue
be closed in 7 days.

This issue was closed because it was stale


Add a Gitter chat badge to README.md

rchain/Members now has a Chat Room on Gitter
@lapin7 has just created a chat room. You can visit it here: https://gitter.im/rchain/Members.
This pull-request adds this badge to your README.md:

If my aim is a little off, please let me know.
Happy chatting.
PS: Click here if you would prefer not to receive automatic pull-requests from Gitter in future.

Done. The Gitter badge is in place.


Code improvements

The method loadCfg() contains:
sSuiteFileName = BuiltIn().get_variable_value('${SUITE_SOURCE}').split(os.path.sep)[-1:][0]
This is really strange: [-1:][0]
Please simplify:
sSuiteFileName = BuiltIn().get_variable_value('${SUITE_SOURCE}').split(os.path.sep)[-1]

Ready for sprint 0.13.1 [06.09.24](jsonpreprocessor / tsm)

Done. Issue can be closed.


No module named 'tree_filter_cuda'

Hi,
I tried installing your package inside an nvidia cuda docker, I made sure to install correct and cuda supporting versions of pytorch and mmcv-full, and used the bash setup.sh command to install your package, but when I tried to run it, I receive the following error:
File "/*****.py", line 5, in <module>     from mmdet.apis import init_detector   File "/app/BoxInstSeg/mmdet/apis/__init__.py", line 2, in <module>     from .inference import (async_inference_detector, inference_detector,   File "/app/BoxInstSeg/mmdet/apis/inference.py", line 13, in <module>     from mmdet.datasets import replace_ImageToTensor   File "/app/BoxInstSeg/mmdet/datasets/__init__.py", line 9, in <module>     from .utils import (NumClassCheckHook, get_loading_pipeline,   File "/app/BoxInstSeg/mmdet/datasets/utils.py", line 11, in <module>     from mmdet.models.roi_heads.mask_heads import FusedSemanticHead   File "/app/BoxInstSeg/mmdet/models/__init__.py", line 7, in <module>     from .dense_heads import *  # noqa: F401,F403   File "/app/BoxInstSeg/mmdet/models/dense_heads/__init__.py", line 5, in <module>     from .box_solov2_head import BoxSOLOv2Head   File "/app/BoxInstSeg/mmdet/models/dense_heads/box_solov2_head.py", line 13, in <module>     from mmdet.ops.tree_filter.modules.tree_filter import MinimumSpanningTree, TreeFilter2D   File "/app/BoxInstSeg/mmdet/ops/tree_filter/modules/tree_filter.py", line 5, in <module>     from ..functions.mst import mst   File "/app/BoxInstSeg/mmdet/ops/tree_filter/functions/mst.py", line 7, in <module>     import tree_filter_cuda as _C ModuleNotFoundError: No module named 'tree_filter_cuda'
Any advice on what I did wrong in the installation?
Thanks!
system details:
CUDA: 11.1.1
cudnn: 8
ubuntu: 20.04
python 3.9
pytorch 1.10.1
mmcv-full: 1.5.0

@matanPercepto  Hello, please try to use pytorch1.9.0 under CUDA 11.1.1,  and re-compile tree_filter_cuda  operation by the following.
cd mmdet/ops/tree_filter
python setup.py build develop

Thanks, I tried it but now the installation fails with error:
Installed /app/BoxInstSeg/mmdet/ops/pairwise #20 66.77 Processing dependencies for boxinst-plugin==0.0.1 #20 66.77 Finished processing dependencies for boxinst-plugin==0.0.1 #20 68.03 No CUDA runtime is found, using CUDA_HOME='/usr/local/cuda' #20 68.03 Traceback (most recent call last): #20 68.03   File "/app/BoxInstSeg/mmdet/ops/tree_filter/setup.py", line 22, in <module> #20 68.03     raise Exception('This implementation is only avaliable for CUDA devices.') #20 68.03 Exception: This implementation is only avaliable for CUDA devices.
I tried adding ENV CUDA_VISIBLE_DEVICES=0 and ENV CUDA_HOME=/usr/local/cuda but it still didn't work.


Feature Request: number schema field

Would be really helpful and useful to have a number schema field. 😅🙃

Commenting to leave this open as it's technically a duplicate of #298 that got closed too.

cc @betterengineering to label so this request doesn't go stale since it technically is a duplicate of #298.


feat(button): add sell variant

fix #215

:tada: This PR is included in version 5.3.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 5.3.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Clicking an interface name line crashes Visual Studio.

Clicking the line where I have highlighted in a red rectangle and an arrow crashes VS 2019 every time. This extension is useful, but I think it makes VS crash for various reasons. I do not mind if it sometimes does not work properly, but I want to avoid VS crashing. Could you add a kind of
"catch all exception" code so that no matter what happens VS would not crash, even if this extension is not working?

Thanks for reporting the crash!
Please try the new release and let me know if that is more stable :)

Thanks. This crash does not happen and clicking the interface name brings the caret to the beginning of the file. That is alright, but if the caret moved to the interface definition, it would have been better.


Latest version of rp has issues with redpanda-tuner starting from ansible

First, I don't know why redpanda-tuner runs as a systemd service. 🤷♂
Second and most importantly, redpanda-tuner now fails trying to run as a systemd service, at least when deployed with ansible.
Rogger Vasquez saw it in action and is looking into it!

Is this a verified issue? @r-vasquez  ?

I've been seeing this on newer OSes, such as Fedora 37, RHEL9 and the latest Ubuntu. May be related, or may not be

@tmgstevens Interesting, do you have a sample of the error? so I can check if it's something related to the clocksource tuner or something new


Benchmark console app declares numThread variable, but usage is wrong

Variable:
 int numThreads = 1;
later we declare that numMessages * numThreads have been sent:
 Console.WriteLine($"Sent {numMessages * numThreads} messages in {stopwatch.Elapsed}");
Try setting numThreads  to anything but 1 and report would be wrong as we never really use that variable anywhere except the message counter formula. In fact we only emit numMessages  of messages, not numMessages * numThreads , and we dont spread multiple threads for it (at least I cant see it in the code).
So either remove the useless variable or introduce multithreading the way it was conceived by the author.

Thanks, I've removed it.


adds support for netlisting back mirrored references

Currently the get_netlist() function does not consider mirrored references. This fixes that.

Thank you Troy

Thank you Troy


Where are Github Dev Releases at?

I noticed on the CI Server that dev releases were being uploaded to github somewhere. Where could I find these?
https://ci.fredboat.com/viewLog.html?buildId=7350&buildTypeId=Lavalink_GithubRelease&tab=buildResultsDiv

https://github.com/Frederikam/Lavalink/commits/dev

That build config affects manually drafted releases on GitHub. It only exists to automate the distribution of the binaries.
There are no prereleases.


Pass through rigid body

When I drag the ball into the box quickly, the ball can be dragged into the box. But I don't think the ball can pass through the rigid body. How to fix it?
http://jsbin.com/femejenehu/edit?html,output

This is a known problem that I'm working on, please see #5 thanks.


SAK-29309 - Setting revised mime type to pipe

Setting here ,as it gets defaulted to app/binary when its null

Yes, CLA is on file with apereo licensing - Look at http://licensing.apereo.org and you will see Surya Govindarajan listed (which if you look at surya's profile, it shows full name).


Dropdown can have option with null value/label

Description
Fixes #2179
The root cause was this error:

I fixed that specific error by adding handling for null/undefined value/label.
I also enabled ts-check for dropdownOptionStore.js to catch any other related issues. Tweaked some types to make everything happy.
Checklist

[x] I have added a changeset

- [ ] For UI or styling changes, I have added a screenshot or gif showing before & after
- [ ] I have added to the docs where applicable
- [ ] I have added to the VS Code extension where applicable

@hughess I talked with @ItsMeBrianD and we agreed that the concern about filtering by null or "null" is a larger question we should consider with regard to all of our inputs.
For now, I think users can either handle "null"<->null in their query, or make use of the rawValues field on the input

@hughess Would you mind creating a new issue to track this future work?


Use the latest metadata version to fetch icons.

Fixes https://github.com/farbelous/fontawesome-iconpicker/issues/70.

When will this be merged into master?


Update resumption strategy to use format-independent row count.

This change modifies the ReadRowsResumptionStrategy helper class in the BigQuery
storage client to use the new format-independent row count value in the
ReadRowsResponse message in order to track stream position. It also modifies
various test files to use the new row count value.

cc: @tswast


0.0.6: test suite fails with pytest 8.2.1

I'm packaging your module as an rpm package so I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root account.

python3 -sBm build -w --no-isolation
because I'm calling build with --no-isolation I'm using during all processes only locally installed modules
install .whl file in </install/prefix> using installer module
run pytest with $PYTHONPATH pointing to sitearch and sitelib inside </install/prefix>
build is performed in env which is cut off from access to the public network (pytest is executed with -m "not network")

Here is pytest output:
+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-crick-0.0.6-2.fc37.x86_64/usr/lib64/python3.10/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-crick-0.0.6-2.fc37.x86_64/usr/lib/python3.10/site-packages
+ /usr/bin/pytest -ra -m 'not network' --import-mode=importlib
==================================================================================== test session starts ====================================================================================
platform linux -- Python 3.10.14, pytest-8.2.1, pluggy-1.5.0
rootdir: /home/tkloczko/rpmbuild/BUILD/crick-0.0.6
configfile: setup.cfg
plugins: vcr-1.0.2
collected 0 items / 3 errors

========================================================================================== ERRORS ===========================================================================================
_____________________________________________________________________ ERROR collecting crick/tests/test_space_saving.py _____________________________________________________________________
ImportError while importing test module '/home/tkloczko/rpmbuild/BUILD/crick-0.0.6/crick/tests/test_space_saving.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
crick/__init__.py:4: in <module>
    from .space_saving import SpaceSaving
E   ModuleNotFoundError: No module named 'crick.space_saving'
________________________________________________________________________ ERROR collecting crick/tests/test_stats.py _________________________________________________________________________
ImportError while importing test module '/home/tkloczko/rpmbuild/BUILD/crick-0.0.6/crick/tests/test_stats.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
crick/tests/test_stats.py:7: in <module>
    from crick import SummaryStats
E   ImportError: cannot import name 'SummaryStats' from 'crick' (/home/tkloczko/rpmbuild/BUILD/crick-0.0.6/crick/__init__.py)
_______________________________________________________________________ ERROR collecting crick/tests/test_tdigest.py ________________________________________________________________________
ImportError while importing test module '/home/tkloczko/rpmbuild/BUILD/crick-0.0.6/crick/tests/test_tdigest.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
crick/tests/test_tdigest.py:6: in <module>
    from crick import TDigest
E   ImportError: cannot import name 'TDigest' from 'crick' (/home/tkloczko/rpmbuild/BUILD/crick-0.0.6/crick/__init__.py)
================================================================================== short test summary info ==================================================================================
ERROR crick/tests/test_space_saving.py
ERROR crick/tests/test_stats.py
ERROR crick/tests/test_tdigest.py
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 3 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
===================================================================================== 3 errors in 0.24s =====================================================================================

List of installed modules in build env:
Package            Version
------------------ -----------
build              1.2.1
Cython             3.0.10
exceptiongroup     1.1.3
importlib_metadata 7.1.0
iniconfig          2.0.0
installer          0.7.0
numpy              1.26.4
packaging          24.0
pluggy             1.5.0
pyproject_hooks    1.0.0
pytest             8.2.1
python-dateutil    2.9.0.post0
scipy              1.12.0
setuptools         69.4.0
setuptools-scm     8.1.0
tokenize_rt        5.2.0
tomli              2.0.1
versioneer         0.29
wheel              0.43.0
zipp               3.19.0

Please let me know if you need more details or want me to perform some diagnostics.

Is it intentional that crick is not installed in the build env? Should you not at least pip install -e it?
Why do the tests even run during the build? 🤔


Update gen_mpy.py

changes in LVGL APIs v8.3.10:

removed unary_op, mp_generic_unary_op in mp_lv_type_fun_builtin_var and mp_lv_type_fun_builtin_static_var
lv_obj_add_event to lv_obj_add_event_cb

PR should be created for release/v8 branch, not for master branch.
CI build fail: https://github.com/lvgl/lv_binding_micropython/actions/runs/6557227971/job/17808463562?pr=299#step:8:368

Okay I'll try, thanks for the information.


Use binary search in TextChunks

Thanks to @bradfier for prompting me to dig into this. By using binary search to explore the chunk search space, there is the possibility to significantly speed up chunk calculations when using tokenizers.
There is a slight decrease in performance for basic character splitting (which I presume may be to some lost LLVM optimizations), but this is still quite fast.
But tokenizers increase in performance by up to ~80% (where there are regressions, they are very minor) and the performance across chunk sizes is now much more predictable.
Some sample graphs of performance across different chunk sizes when chunking the entire "Room with a View" text in the test directory with each chunk sizer implementation:
Before

After

Huggingface

Before

After

Tiktoken

Before

After

Characters

Before

After

Thank you for the Co-authored tag @benbrandt - much appreciated. Sorry I didn't get a chance to reply to you until you'd already done the work.
I'll run this latest revision against my synthetic test and let you know how the numbers stack up.


chore: bdd-spring-1572806116 to 0.0.1

chore: Promote bdd-spring-1572806116 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Error: not opened // missing error handling?

Hi,
we used the chrome-remote-interface in test automization and had issues with restarting chrome.
At some point there are messages to be sent through the websocket, although the socket is broken.
The whole node process then fails with Error: not opened.
We were able to fix the issue with adding error handling to the WebSocket.send call in the enqueueCommand function found in lib/chrome.js:
    chrome._ws.send(JSON.stringify(message),function(err) {
        if (err) return;
        chrome._callbacks[id] = callback;
    });

I was not yet able to reproduce the issue in a minimalistic setup.
I submitted a pull request, in case you like the change: https://github.com/cyrus-and/chrome-remote-interface/pull/188

Thanks for pointing this out. Here's how to reproduce (even though this is a regular close):
const CDP = require('chrome-remote-interface');

CDP(async (client) => {
    try {
        await client.close();
        await client.Page.reload();
    } catch (err) {
        console.error(err);
    }
}).on('error', (err) => {
    console.error(err);
});

Now, if you use promises (which is BTW recommended) then this exception should be automatically caught, but it's just a consequence, I agree that this needs a fix.
(On a side note the disconnect event of client should trigger in the situation you describe.)
The problem with #188 (apart from failing integration tests due to formatting) is that it simply swallows the error, it would be nice if it were returned to the user for handling instead, just like any regular error.
e162819a453729c121b428b24243e28598d48547 allows the user to handle even such errors so that there are no unhandled exceptions and the Node.js process is not killed. Depending on your setup this should just work, if instead you're using callbacks, here's an example of the full program flow:
client.Domain.Method(params, (error, params) => {
    if (error) {
        if (error instanceof Error) {
            console.error('WebSocket error:', error);
        } else {
            console.error('Protocol error:', params.error);
        }
    } else {
        console.log('OK:', params.result);
    }
});

JavaScript promises enable a much more elegant code.


Update serializable_core dependency version in pubspec

I tried this package just today and ran into the 'Missing concrete implementations of Map methods' error.
I noticed it stemmed from the serializable_core package, and you've since pushed a new release for it.
I suggest you please update the dson's pubspec as well, so us users can pull the new version :+1:
Thanks for your efforts!

yes, I'm still working on this. Sorry for the inconveniences.


sharing code with brackets-typescript

I'm planning to resume my works on brackets-typescript soon, and I thought about this.
Basically brackets-typescript is composed of 2 parts :

a web worker that manage all the 'project-like' logic, and expose services for error auto-completion, etc etc
a front script that manage all the integration with brackets and feed the web-worker with info about filesystem, working-set, editing etc etc.

Perhaps I could externalize the web-worker part and it could be used by this extension, I think that would  benefits to both extension since more than 50% of the hard work is in the web-worker, so user of this extension and the brackets one could contribute to the same codebase.

Ok it has been some times but I finally did it, https://github.com/fdecampredon/typescript-project-services, is a externalized version of brackets-typescript internal, I'm still actively working on it, but the master of brackets-typescript is already based on that and works well.
The project still needs :

Documentation
Expose all language service feature
more test
generation of a declaration file
better build system
integration with tsconfig

If you think that this project is interesting for atom-typescript, or anyone wanting an high-level abstraction on top of ls, I'm ready to give the ownership to typestrong (if you want to). Anyway I'll continue to work on it.

I'm ready to give the ownership to typestrong (if you want to)

It would be an honour to review your code. As a token of appreciation you are now an owner of the TypeStrong org.
PS: I'll kill this: https://github.com/typestrong/tscs

It will be an honour for me yo have a project I contibued to in typestrong ^^


AR exporting

It would be a nice feature if this support a-frame AR.js too

Please feel free to fork or open a PR with the enhancement. Thank you.


DNN Linear regression

Nick, the cookbook and your website are very nice. I learned a lot from it.
I think you are very familiar to machine learning. So I have no way to contact you but here.
I have been doing deep learning CNN regression for about half year. I tried many ways from selecting/normalisation of targets and feature/making sure the labels are uniform distribution to scanning of all sorts of hyper parameters and optimiser.
I realised the model is always giving me the mean value of the target distribution.
For example, the target distribution is from [0.5, 0.1] , with a mean at around 0.8 and r.m.s. around 0.3. The trained model always gives me the mean value around 0.8.
and if the target distribution is double peaks with mean values at -0.5 and 0.5, the trained model will predict near 0.
From your experience, do you have any suggestion??
I am sorry to talk to you in this way

Hi @wtingsam ,
Thanks for the message.  I'm glad you find the book/site useful.
I've had some similar problems with modeling in the past.  There are a few things to consider, when the predictions cluster around the mean/median too much.

What does the distribution of targets for the training data look like? If the training data tends to be clustered, then the predictions will be as well.  Not much to do here except maybe collect more data or filter out duplicates (or near duplicates).
What does the distribution of the x-data for the training look like? (i.e. features)? If there isn't much variation in the features, all models will have problems differentiating between them.  If you find you have very little variation, you may try things like normalization, standardization, or even PCA on the numerical features to extract more information from them.
Do you have a class representation problem?  If you are doing classification (and it appears you are not, so this bullet point is probably for other readers) your training set should represent all classes equally (or as expected).

Also, I highly encourage you to look at benchmarks and simpler models and see how they perform first.  E.g.

What is the accuracy of a benchmark of predicting the mean/median/mode for all the observations?
What is the accuracy of a standard linear regression?
What is the accuracy of k-nearest neighbors?

I've found that looking at the data distributions, clusters, and benchmarks (and other models), helps me understand where I went wrong or what I should do with the data.
But unless we can see an example with actual data and code, there's not much else I can do.  Good luck!


[Android] App shows black screen after being in the background.

Steps to Reproduce
It seems to happen on different Flutter apps. Open a Flutter app, go to your home screen and open some other apps. Wait for some time and open the Flutter app again. There is now a chance that the app shows a black screen. No Appbar, BottomBar or any widget. It happens pretty frequently if you know how to trigger it.

The app seems to respond to user interaction, just had it on the debugger but there is no useful information, no errors, no exceptions thrown. Moving to the android recents screen and returning to the app fixes this. I haven't tried to do this with iOS.
Was able to reproduce this on some older installed apps, app created with Flutter stable 2.5.3 and the latest beta build (2.7.0 iirc).
I can't really create an app sample because it is pretty hard to know when it exactly happens because it is not guaranteed to happen. It does occur on multiple devices and some users have noticed it too. No data on crashlytics or runguarded zone.
[✓] Flutter (Channel stable, 2.5.3, on Microsoft Windows [Version 10.0.22000.282], locale en-NL)
    • Flutter version 2.5.3 at C:\src\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 18116933e7 (3 weeks ago), 2021-10-15 10:46:35 -0700
    • Engine revision d3ea636dc5
    • Dart version 2.14.4

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at C:\Users\dxzds\AppData\Local\Android\sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✓] Android Studio (version 2020.3)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] VS Code (version 1.61.2)
    • VS Code at C:\Users\dxzds\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (3 available)
    • IN2023 (mobile) • <IP_ADDRESS>:40423 • android-arm64  • Android 11 (API 30)
    • Chrome (web)    • chrome              • web-javascript • Google Chrome 95.0.4638.69
    • Edge (web)      • edge                • web-javascript • Microsoft Edge 95.0.1020.44

Hi @vanth0me, Thanks for filing the issue.

I can't really create an app sample because it is pretty hard to know when it exactly happens because it is not guaranteed to happen. It does occur on multiple devices and some users have noticed it too. No data on crashlytics or runguarded zone.

Can you please share some more details

How long have you put the app in the background?
which Android devices reproduce the issue?
Does this reproduce on an emulator too or only on a real device?
Can you please also check if this happens with a specific flutter project or a newly created flutter project too?

Thank you for your response!
I think usually happens after 5+min, but I've had it sooner. From the devices I know it is my OnePlus 8 Pro, Samsung S10 and the emulator too. I recreated the project and moved the code and the same thing happened. As I have said older self made apps also show this. I don't know if I can trigger it with the base app. I will have to try that later today.

I don't know if I can trigger it with the base app. I will have to try that later today.

Sure please verify and let us know and also please check the android version of the devices to make sure if this is/ is not related to the OS version.

Yes will do. My emulator is running Android 12 and the devices are running Android 11.

I am, for now, at least unable to trigger a black screen in the New Flutter Project app. I wonder if it has something to do with more memory usage.

@vanth0me without any code sample or logs its not possible to find the cause of the issue.

I am, for now, at least unable to trigger a black screen in the New Flutter Project app. I wonder if it has something to do with more memory usage.

Are there any logs that you can share?
Is it possible for you to share a repository containing the reproducible code?

I can't share the app I'm currently working on, but I can share a private project where it just happend. I think it is on BitBucket, is there an easy way to share this with you?

me too

Huawei Mate30 Pro, I have encountered this problem many times

@liwangyong @zhangruiyu can you guys please share a reproducible steps along with the output of flutter doctor -v and the related logs?

@vanth0me I tried running your project and it fails to build it, looks like there are some compile-time errors could you please recheck?

@maheshmnj I fixed it, looked like it was a really early version for some reason. The steps are open the app, I don't know if logging in helps but then just switch to another app, wait some time and hope it gives a black screen. The difficulty is finding the balance between opening too soon and the app being killed. There is sadly no guarantee it will happen.

@vanth0me there is a build time error now the bezier_chart doesn't seem to support null safety. Alternatively, you may also try upgrading to latest master by running
flutter channel master
flutter upgrade

From the devices I know it is my OnePlus 8 Pro, Samsung S10 and the emulator too

And if you still face the issue please provide the emulator details on which the issue reproduces as the above devices are not available for me to test.

build failure logs
mahesh@Maheshs-MacBook-Air-M1 black-screen-test % git pull
hint: Pulling without specifying how to reconcile divergent branches is
hint: discouraged. You can squelch this message by running one of the following
hint: commands sometime before your next pull:
hint:
hint:   git config pull.rebase false  # merge (the default strategy)
hint:   git config pull.rebase true   # rebase
hint:   git config pull.ff only       # fast-forward only
hint:
hint: You can replace "git config" with "git config --global" to set a default
hint: preference for all repositories. You can also pass --rebase, --no-rebase,
hint: or --ff-only on the command line to override the configured default per
hint: invocation.
Updating 1b0523f..331937e
error: The following untracked working tree files would be overwritten by merge:
        .flutter-plugins
        .flutter-plugins-dependencies
        .packages
        pubspec.lock
Please move or remove them before you merge.
Aborting
mahesh@Maheshs-MacBook-Air-M1 black-screen-test % git pull
hint: Pulling without specifying how to reconcile divergent branches is
hint: discouraged. You can squelch this message by running one of the following
hint: commands sometime before your next pull:
hint:
hint:   git config pull.rebase false  # merge (the default strategy)
hint:   git config pull.rebase true   # rebase
hint:   git config pull.ff only       # fast-forward only
hint:
hint: You can replace "git config" with "git config --global" to set a default
hint: preference for all repositories. You can also pass --rebase, --no-rebase,
hint: or --ff-only on the command line to override the configured default per
hint: invocation.
Updating 1b0523f..331937e
Fast-forward
 .flutter-plugins                       |  17 ++++
 .flutter-plugins-dependencies          |   1 +
 .gitignore                             |  74 ++++++++++++++
 .metadata                              |  10 ++
 .packages                              |  80 +++++++++++++++
 analysis_options.yaml                  |  29 ++++++
 lease_log.iml                          |  33 ++++++
 lib/extensions/date.dart               |  11 ++
 lib/generated_plugin_registrant.dart   |  21 ----
 lib/main.dart                          |  56 ++++++-----
 lib/models/log.dart                    |  43 ++++++++
 lib/models/ride.dart                   |   4 -
 lib/models/tank.dart                   |  25 +++++
 lib/models/user.dart                   |  35 +++++++
 lib/providers/circularData.dart        |  43 ++++++++
 lib/providers/data.dart                | 190 ++++++++++++++++++++++++++++++++++
 lib/providers/fuel.dart                | 115 +++++++++++++++++++++
 lib/providers/initialSetup.dart        |  90 +++++++++++++++++
 lib/providers/lease.dart               |  38 +++++++
 lib/providers/login.dart               |  69 ++++++++-----
 lib/providers/monthlyChart.dart        |  40 ++++++++
 lib/providers/theme.dart               |   3 +
 lib/providers/totalChartB.dart         |  65 ++++++++++++
 lib/providers/user.dart                |  40 ++++++++
 lib/screens/data.dart                  |  26 +++++
 lib/screens/homescreen.dart            | 105 +++++++++++++++++--
 lib/screens/initialSetup.dart          | 214 +++++++++++++++++++++++++++++++++++++++
 lib/screens/loginScreen.dart           |  88 ++++++++++++++--
 lib/theme/dark.dart                    |  43 ++++++++
 lib/theme/light.dart                   |  40 ++++++++
 lib/todos                              |   1 +
 lib/widgets/addRide.dart               |  53 +++++++++-
 lib/widgets/circularProgress.dart      | 120 ++++++++++++++++++++++
 lib/widgets/distanceGraph.dart         |   8 --
 lib/widgets/formFieldWrapper.dart      |  39 +++++++
 lib/widgets/fuel/addFuel.dart          | 126 +++++++++++++++++++++++
 lib/widgets/fuel/fuelTable.dart        |  59 +++++++++++
 lib/widgets/fuel/lastFuel.dart         |  52 ++++++++++
 lib/widgets/history.dart               |  80 +++++++++++++++
 lib/widgets/monthlyGraph.dart          |  74 ++++++++++++++
 lib/widgets/parts/fuel.dart            |  37 +++++++
 lib/widgets/parts/lease.dart           | 118 ++++++++++++++++++++++
 lib/widgets/privacy/orDivider.dart     |  24 +++++
 lib/widgets/privacy/privacyDialog.dart |  73 ++++++++++++++
 lib/widgets/privacy/termsOfUse.dart    |  58 +++++++++++
 lib/widgets/settings.dart              |  37 +++++++
 lib/widgets/textField.dart             |  42 ++++++++
 lib/widgets/totalGraphBezier.dart      |  87 ++++++++++++++++
 pubspec.lock                           | 509 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 pubspec.yaml                           |  31 ++++--
 50 files changed, 3170 insertions(+), 106 deletions(-)
 create mode 100644 .flutter-plugins
 create mode 100644 .flutter-plugins-dependencies
 create mode 100644 .gitignore
 create mode 100644 .metadata
 create mode 100644 .packages
 create mode 100644 analysis_options.yaml
 create mode 100644 lease_log.iml
 create mode 100644 lib/extensions/date.dart
 delete mode 100644 lib/generated_plugin_registrant.dart
 create mode 100644 lib/models/log.dart
 delete mode 100644 lib/models/ride.dart
 create mode 100644 lib/models/tank.dart
 create mode 100644 lib/models/user.dart
 create mode 100644 lib/providers/circularData.dart
 create mode 100644 lib/providers/data.dart
 create mode 100644 lib/providers/fuel.dart
 create mode 100644 lib/providers/initialSetup.dart
 create mode 100644 lib/providers/lease.dart
 create mode 100644 lib/providers/monthlyChart.dart
 create mode 100644 lib/providers/theme.dart
 create mode 100644 lib/providers/totalChartB.dart
 create mode 100644 lib/providers/user.dart
 create mode 100644 lib/screens/data.dart
 create mode 100644 lib/screens/initialSetup.dart
 create mode 100644 lib/theme/dark.dart
 create mode 100644 lib/theme/light.dart
 create mode 100644 lib/todos
 create mode 100644 lib/widgets/circularProgress.dart
mahesh@Maheshs-MacBook-Air-M1 black-screen-test % flutter build apk

💪 Building with sound null safety 💪

Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Error: Cannot run with sound null safety, because the following dependencies
don't support null safety:

 - package:bezier_chart

For solutions, see https://dart.dev/go/unsound-null-safety

FAILURE: Build failed with an exception.

* Where:
Script '/Users/mahesh/Documents/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 1005

* What went wrong:
Execution failed for task ':app:compileFlutterBuildRelease'.
> Process 'command '/Users/mahesh/Documents/flutter/bin/flutter'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 52s
Running Gradle task 'assembleRelease'...                           53.8s
Gradle task assembleRelease failed with exit code 1
mahesh@Maheshs-MacBook-Air-M1 black-screen-test %

Please make the final changes and make sure the app runs.
Thanks.

I'm sorry, should have mentioned that building is with the no null sound safety option, because of the package. I'm pretty sure the last time it happend on an emulator it was an Android 12 x86_64 (Google APIs) based on a Pixel 5.

@vanth0me I ran your app and it did not go past the login screen because of the Google sign-in error (probably due to missing app signature) I kept it in the background for around 15-20 mins did not see the black screen when switching back to app.
.

That's why it's kind of hard to tell what exactly triggers it. I guess you could download the play store version to observe the behavior, but I don't know if you can get anything useful out of that.
Thanks for looking into it, best to just open the app sometimes and do other stuff. Emulator is even harder I feel. If you have an android phone I'm sure you can recreate it as well, I don't think the brand really matters.

@vanth0me for this issue to be actionable and investigate further we would need a minimal reproducible project that is public so that the other team members could take a look at it, Is it possible for you to remove the confidential part from your code and also remove the unnecessary part (that may not help to reproduce the issue) and make the repository public?

@maheshmnj I don't really mind, but I don't know what parts cause it and what not, so I can't help you with that. Also I don't think uploading the keystore is a safe idea, so how should I let you guys log in?

Also I don't think uploading the keystore is a safe idea, so how should I let you guys log in?

Can't we skip the login part? If login is necessary may be you can hardcode the required info, And before you share the app please ensure the issue reproduces with the shared code sample.

I'll check if only the login screen triggers it. I do feel that the app has to have more data in it for it to happen faster.

I'll have to check sunday if I have the time to generate a second key or something. Triggering it from the login screen seems almost impossible.

@liwangyong @zhangruiyu你们能分享一个可重现的步骤以及flutter doctor -v相关日志的输出吗？

@liwangyong  @zhangruiyu你们能分享一个可再现的步骤以及flutter doctor -v相关日志的吗？

I also have this problem in version 1.22

@maheshmnj我修复了它，由于某种原因，它看起来像是一个非常早期的版本。步骤是打开应用程序，我不知道登录是否有帮助，然后只需切换到另一个应用程序，等待一段时间并希望它会出现黑屏。困难在于在过早打开和应用程序被杀死之间找到平衡。遗憾的是不能保证它会发生。

How to fix it

@maheshmnj I fixed it, looked like it was a really early version for some reason. The steps are open the app, I don't know if logging in helps but then just switch to another app, wait some time and hope it gives a black screen. The difficulty is finding the balance between opening too soon and the app being killed. There is sadly no guarantee it will happen.

How to fix it

@liwangyong  I haven't been able to reproduce the issue yet, It would be great if you could provide a code sample with reproducible steps.

@liwangyong I haven't been able to reproduce the issue yet, It would be great if you could provide a code sample with reproducible steps.

My current project has a volume of 34m. When it stands in the background for a few minutes and then cuts back, the screen will be black

you

I don't think it has anything to do with the project code

@liwangyong I haven't been able to reproduce the issue yet, It would be great if you could provide a code sample with reproducible steps.

I don't think it has anything to do with the project code

@liwangyong I haven't been able to reproduce the issue yet, It would be great if you could provide a code sample with reproducible steps.

flutter 1.22 and flutter 2.5.3 both have problems

Yeah I also have a feeling that it happens when more is loaded in. Maybe a larger tree or memory usage. That's why I think providing just code is kinda hard.

@liwangyong I haven't been able to reproduce the issue yet, It would be great if you could provide a code sample with reproducible steps.

My current project has a volume of 34m. When it stands in the background for a few minutes and then cuts back, the screen will be black

Although the package size of my project is 34m, the cache used by my app reaches about 100m

@liwangyong I haven't been able to reproduce the issue yet, It would be great if you could provide a code sample with reproducible steps.

My current project has a volume of 34m. When it stands in the background for a few minutes and then cuts back, the screen will be black

Although the package size of my project is 34m, the cache used by my app reaches about 100m

And cut the black screen once, and then cut it again to restore the original state

@liwangyong @vanth0me can you guys please try cloning the flutter gallery app?  I believe it is considerably large enough and see if the issue can be reproduced with it?

Great idea. I will try it starting today and will let you know if I was successful in generating a black screen.

@maheshmnj Got it working after going to the shopping app, selecting a few items and locking the screen and keeping the app in the foreground. After about 5 minutes I opened my phone and saw a black screen. I created a video of it. (I'll add it with an edit)

Hi @vanth0me thanks for the confirmation, Unfortunately, I could not verify the issue the gallery app fails to build on Android, Labelling this issue for further investigation.
Thanks

Thank you too. I hope you can provide me with more information soon, would be really nice if we can fix this together. If you need my help again, you can let me know.

Hi @vanth0me, thanks for the confirmation, Unfortunately, I could not verify the issue the gallery app fails to build on Android, Labelling this issue for further investigation from the team.
Thanks

Thank you too

same issues

Update: - I ran the flutter gallery app on Xiaomi k20 pro (Android 11) built on stable 2.5.3 in debug mode

browsed the shrine app (added few items to cart)
locked the screen with app still in foreground
after 5-10 mins unlocked the screen and I could see a black screen for few seconds is this the same issue @vanth0me?

https://user-images.githubusercontent.com/31410839/142979365-5ede4573-3760-406e-93d2-21125549e9a8.mov

@maheshmnj It does not seem like the same problem. From my experience the black screen does not disappear if you do nothing. I have not tried locking and unlocking to see if it disappears. In theory it could stay there for hours if you do not do anything with the phone.

same issues.When I use Samsung S10 +, there is a certain probability that a black screen will appear when I switch back from the background. If I try again, it will be displayed normally.Do you use octo_ Image or cached_ network_ Image package? @vanth0me

@luojt No I'm not using those packages, also cant find them in the pubspec.lock. For now I am convinced its some kind of render issue, since the app still works.

@vanth0me @maheshmnj I wrote the smallest example code, which will produce a black screen, but it is difficult to reproduce. Download this

Thanks, will check.

@luojt I can't really reproduce it on Xiaomi k20 pro Running (Android 11).

Ran your sample app moved the app to the background (app auto-locked in 30 seconds) for around 10 minutes
unlocked the phone switch to the app and it was running no black screen at all.

I wonder, How long did you keep the app in the background (The screenshot timings look in appropriate though), Anyways I have labeled this issue for further investigation from the team.

@maheshmnj Thank you. At present, I reproduce the bug on Huawei and Samsung mobile phones. You can run it in the background and open other apps. After operating for a period of time (about 10-20 minutes), open the app for this test. There is a probability that the screen will be black. Try it again and again. The probability is high in the app I developed, and the recurrence probability of the app in this test is very low.

cc @blasten

Could these two issues be related? https://github.com/flutter/flutter/issues/94094
I'm the OP of that issue and I sometimes get the black screen issue on a Flutter app with the same device that reproduces the other issue.

Can you share the logcat?  e.g. adb logcat -s FlutterSurfaceView > log.txt
This can happen if the Flutter activity is destroyed. Also, in your device, can you check that you don't have this turn on? Developer options > Don't keep activities.  (Destroy activities as soon as user leaves it)

@davidmartos96 As far as I know the app does keep running, and can also happen with no futures running at the time. So it is responsive.

Anyone who is able to reproduce the issue please share the requested info, inorder to investigate further.

Can you share the logcat? e.g. adb logcat -s FlutterSurfaceView > log.txt then upload log.txt in your reply.

This can happen if the Flutter activity is destroyed. Also, in your device, can you check that you don't have this turn on? Developer options > Don't keep activities. (Destroy activities as soon as user leaves it)

https://github.com/flutter/flutter/issues/94921

Sorry for the late response, it was a busy week!
I thought I'd try to the logcat thing, but I have a more difficult time recreating a black screen.  The app now runs the latest Flutter 2.8, but I'll keep trying for today.

The same problem, the log has not been crawled, and the most found in Huawei mobile phones at present, please solve it

Anyone who is able to reproduce the issue please share the requested info, inorder to investigate further.

Can you share the logcat? e.g. adb logcat -s FlutterSurfaceView > log.txt then upload log.txt in your reply.

This can happen if the Flutter activity is destroyed. Also, in your device, can you check that you don't have this turn on? Developer options > Don't keep activities. (Destroy activities as soon as user leaves it)

At present, the probability of occurrence is relatively high. Set the lock screen password on the mobile phone, then run the program in the background, then lock the screen and place it for 5 minutes, then turn off the lock screen password in the setting, enter the no password state, and then enter the mobile phone operation state. Then hot start the open program and repeat it for 10 times to reproduce the black screen

I have found you don't necessarily have to wait any amount of time. I can reproduce this about 35% of the time on a OnePlus Nord device with the following steps:

Run -> Flutter run 'main.dart' in release mode
Wait for phone to show app
Turn off display by pressing power button once
Tap to wake for fingerprint scanner
Scan fingerprint to unlock
About 35% of the time the screen will stay black
If there is no black screen go back to step 1.

The app stays interactive during the black screen because I can see log lines coming through. You can press Android's Overview button and navigate back to the app to get rid of the black screen. Rotating the device to landscape forcing orientation changes also fixes it. (Basically anything triggering Android's onResume)

Same question

Huawei Mate20 Pro, I have encountered this problem many times

Can you guys try this and see if this issue can be avoided:
void main() {
  // Put this on the first line of main
  PaintingBinding.shaderWarmUp = null;
  ......
}

@ColdPaleLight This does not fix it for me.

@ColdPaleLight This does not fix it for me.

According to your description, what you encountered looks like should be the same as https://github.com/flutter/flutter/issues/94921

@ColdPaleLight This does not fix it for me.

According to your description, what you encountered looks like should be the same as #94921

You may be right. I believe this issue and #94921 are identical and that there is no direct connection to waiting any amount of time like people are suggesting here.
People in this issue are connecting the black screen to waiting an amount of time but I think this is just because they only start noticing the black screen once their phone goes to sleep mode while they work on code meanwhile and then eventually wake their phones and see black screens.

@ColdPaleLight This does not fix it for me.

According to your description, what you encountered looks like should be the same as #94921

You may be right. I believe this issue and #94921 are identical and that there is no direct connection to waiting any amount of time like people are suggesting here.
People in this issue are connecting the black screen to waiting an amount of time but I think this is just because they only start noticing the black screen once their phone goes to sleep mode while they work on code meanwhile and then eventually wake their phones and see black screens.

Yes, it's exactly the same I noticed with this other issue on my OnePlus https://github.com/flutter/flutter/issues/94094
I still believe they could be somewhat related. It would be useful to know if other people having the black screen issue also have the other one.
Have you tried if disabling Battery optimization from the app settings "solves" the black screen issue?

@davidmartos96 Disabling Battery optimization doesn't resolve this. Also tried the didChangeAppLifecycleState fix from #94094 and this does also not resolve this.

@ColdPaleLight This does not fix it for me.

According to your description, what you encountered looks like should be the same as #94921

You may be right. I believe this issue and #94921 are identical and that there is no direct connection to waiting any amount of time like people are suggesting here.
People in this issue are connecting the black screen to waiting an amount of time but I think this is just because they only start noticing the black screen once their phone goes to sleep mode while they work on code meanwhile and then eventually wake their phones and see black screens.
The problem is that OP #94921 is linking this issue to debug scene, which is probably also not a correct observation.

Hmm interesting, maybe the app does something self to mimic this behavior. I can also reproduce this issue with launching a release app on my phone, locking the screen and unlocking it. Guaranteed black screen. Nice find from #94921 OP

I added some comments about what I think is going on here: https://github.com/flutter/engine/pull/30590/files#r783307849
I unfortunately have not been able to reproduce this locally but it should be fixable.

@dnfield Have you tried to reproduce this with the steps I posted at https://github.com/flutter/flutter/issues/93276#issuecomment-1003346244? Judging by other responses, it seems easy to reproduce this way.

@dnfield Have you tried to reproduce this with the steps I posted at #93276 (comment)? Judging by other responses, it seems easy to reproduce this way.

Trying your method with an installed app didn't create any black screens if the app is idle. It is however very ease to do during boot if the app is changing screens.

https://github.com/flutter/engine/pull/30590 has landed as fab19829949dba28eaea411bf5f12e98f91f5e9a.
Once that's finished on CI, you might be able to just update your bin/internal/engine.version and test this.
I found a OnePlus phone but still can't seem to reproduce this myself.

(It's still building on CI but should be done within the next hour)

Flutter 2.9.0-1.0.pre.351 • channel master • https://github.com/flutter/flutter.git
Framework • revision 4fda08efa9 (19 minutes ago) • 2022-01-13 14:15:18 -0500
Engine • revision fab1982994
Tools • Dart 2.17.0 (build 2.17.0-10.0.dev) • DevTools 2.9.2

The black screen is still occurring for me.

What would help at this point is a reproduction that happens consistently, or at least that happens with higher frequency on a greater number of devices.

I was able to reproduce this Issue and I did some investigation on it.
Normally, after we open the flutter app and turn off the screen, FlutterSurfaceView.surfaceCallback.surfaceDestroyed will be called. And when we turn on the screen, FlutterSurfaceView.surfaceCallback.surfaceCreated and FlutterSurfaceView.surfaceCallback.surfaceChanged will be called.
But on my OnePlus phone, when I turn off the screen, first FlutterSurfaceView.surfaceCallback.surfaceDestroyed is called, and then FlutterSurfaceView.surfaceCallback.surfaceCreated and FlutterSurfaceView.surfaceCallback.surfaceChanged are also called. And when I turn on the screen, only FlutterSurfaceView.surfaceCallback.surfaceChanged is called.
AFAICS, if AndroidSurfaceGL::onscreen_surface_ has not been recreated after the screen is turned on, it will show a black screen., And the abnormal timing of the callback of the SurfaceHolder.Callback of the OnePlus phone caused it.

Sounds like we need to check if surface changed got called without a surface created and if so, insert creation.  This is almost certainly a vendor bug though.

Sounds like we need to check if surface changed got called without a surface created and if so, insert creation. This is almost certainly a vendor bug though.

Here I have encountered two situations. The first is that only surfaceChanged is called after the screen is turned on. The second is that even surfaceChanged is not called after the screen is turned on (no method is called). The first case be solved by the solution you mentioned, but the second case is can not.

I see.
Is the FlutterSurfaceView.init getting called in the case where we never get any callbacks?

Another thing to look at: if we implemented https://developer.android.com/reference/android/view/SurfaceHolder.Callback2 instead, do we get surfaceRedrawNeeded calls even if there's no surfaceCreated call?

@dnfield @blasten
According to the log, surfaceCreated is actually called, but not when the screen is turned on, it's called when the screen is turned off.
Usually, when the Activity/Fragment enters onStop, the window will be in an invisible state, and the view tree will not be updated. In theory surfaceCreated should not be called when the screen is turned off. But the one plus mobile phone can update the view tree when screen turned off. When I turned off the screen, I saw such a line of log.
2022-01-15 00:22:29.102 29257-29257/com.example.text_displayed_outside D/ActivityThread: override visible to true while stopped. name= ComponentInfo{com.example.text_displayed_outside/com.example.text_displayed_outside.MainActivity}

It seemed that the OnePlus phone forced the window in visible state  when the Activity/Fragment enters onStop , so the view tree could still be updated, and the surfaceCreated could also be called.
I found a way to fix this:
Set the visibility of FlutterSurfaceView to View.GONE when onStop, and set it to View.VISIBLE when onStart. It works well in my OnePlus phone. Here is the PR:
https://github.com/flutter/engine/pull/30897
Please let me know if you guys have any thoughts on this?

Sounds like we need to check if surface changed got called without a surface created and if so, insert creation.  This is almost certainly a vendor bug though.

I'd say not. Almost every major brand has issues with this. Xiaomi, Samsung, huawei, pixel, iPhones, and probably more.

@vanth0me @RaymondBakker @davidmartos96
Can you guys try this and see if this issue can be avoided?
https://github.com/flutter/flutter/issues/94921#issuecomment-1014088312

@ColdPaleLight The code that @AlexV525 posted at https://github.com/flutter/flutter/issues/94921#issuecomment-1014088312 fixes the issue for me. It also gets rid of the occasional black flickering when turning the screen back on.

@vanth0me @RaymondBakker @davidmartos96 Can you guys try this and see if this issue can be avoided? #94921 (comment)

Did not fix it for me for the black screen bug when the app has been in de background. Was unable to reproduce the blacksreen launching the app and locking/unlocking the phone. Could also be me being unlucky, but who knows.

Sounds like we need to check if surface changed got called without a surface created and if so, insert creation.  This is almost certainly a vendor bug though.

I'd say not. Almost every major brand has issues with this. Xiaomi, Samsung, huawei, pixel, iPhones, and probably more.

I have not been able to reproduce this on a Pixel (including two or three different Pixel phones I've tried).
If this bug exists on iPhone it is definitely a different bug in different code. We'd need a reproduction for that as well.

A lot of colleagues of mine use a Pixel and that's how know about the iPhone users as well. From what I have heard iPhone users usually get a black screen after a pop or push. I only had that a few times on Android. It's pretty random and requires the app was in the background for some time.

@vanth0me it would be helpful if you could provide a minimal reproduction that results in a black screen as you're discussing.

@dnfield That's the hard part, it's random. It happens just the same as I have described earlier. Have an app with state (I also got it to work with the gallery example shine store app)(Having state makes it seem easier to trigger), put in in the background, wait some time and open the app. I really have not found anything else that creates it that has not been discussed here already.

Hi, @vanth0me
The patch has landed, you can try the latest master channel. If that still doesn't solve your problem, I suggest writing a new Issue :)


Create tests for the Events being called

Codecov Report

Merging #47 (efd7e4e) into develop (e4ae890) will increase coverage by 0.09%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             develop      #47      +/-   ##
=============================================
+ Coverage      96.95%   97.04%   +0.09%
  Complexity       436      436
=============================================
  Files             18       18
  Lines           1084     1084
=============================================
+ Hits            1051     1052       +1
+ Misses            33       32       -1

Impacted Files
Coverage Δ

src/QueryBuilder/QueryBuilderHandler.php
96.79% <0.00%> (+0.24%)
: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 e4ae890...efd7e4e. Read the comment docs.


Feature request: add a temporary mute option

Copilot is great but sometimes it is a bit too much. I would love to be able to "mute" copilot (ideally with a keyboard shortcut) and not get any suggestions for the next 1 or 2 minutes while I am trying to write a comment or complex bit of code. It is endlessly annoying when it keeps trying to autocomplete while I am thinking. I often find it takes me 2-3x longer to write something due to copilot constantly interrupting me.

I often find it takes me 2-3x longer to write something due to copilot constantly interrupting me

My current solution is to literally disable the extension (and re-enable it when I am done) which is not great since then I need to restart vscode.
Another way this could be resolved is using some sort of exponential back off, e.g., if I reject a suggestion with ESC, wait 5, 10, 20, 40 seconds before suggesting again.

This is an issue with the Copilot extension and not the Copilot Chat extension.  Those bugs normally go here
But, you can set a custom keybinding for this to toggle the suggestions


PCSX2.pcsx2 version 1.6.0

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.5 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Manual Validation ended with:

https://github.com/microsoft/winget-pkgs/pull/123331#issuecomment-1776051659


Update Docker Instructions/Help Messages

The build/run files for Docker had previously been updated to default to
the Nvidia installation, requiring the -w flag to specify non-Nvidia
installations.
Updated the help messages of the scripts and the README to reflect this
change.

@M1chaelM Would you have time to take a look at this?


XML containing single quotes in any attribute may break DB related tools

Bug Report
Version of OpenNebula

[X] Development build

Component

[X] Upgrades

Description
For instance, vcenter premigrator for 5.4 breaks if a VM has a single quote in CONTEXT/PASSWORD
Things to check

fsck
premigrator

in general, look for @db.run commands
Expected Behavior
This should be handled in 'naked' sequel calls, like @db.run, where the input string is not escaped
Actual Behavior
Execution halts
How to reproduce
CONTEXT/PASSWORD="TRY'THIS"
Progress Status

[x] Branch created
[ ] Code committed to development branch
[ ] Testing - QA
[ ] Documentation
[ ] Release notes - resolved issues, compatibility, known issues
[ ] Code committed to upstream release/hotfix branches
[ ] Documentation committed to upstream release/hotfix branches

We tried this with fsck and it works fine.


Research - Donator <> Donatee frameworks

Overview
https://www.blackbaud.co.uk/
The company below is software for charity
Apparently everyone uses them
Ideas
Look into their model of splitting funds and creating relationships between donators and donatees

https://www.siliconvalleycf.org/sites/default/files/publications/svcf-daf-brochure-2021.pdf

Hi. @bordumb I want to know more about this and how I can contribute.

Hi. @bordumb I want to know more about this and how I can contribute.

Hi @Victorybrown
Nothing concrete here.
But Radicle Drips launched the other week. It allows a "Community" to "split" incoming funds to other communities of their choice. So I can imagine this being useful infrastructure for some charity organizations.
This issue is mostly a reminder for myself to research a bit about the current financial infrastructure that charities are using in web2.
Are you interested in this topic?


Android devicelab tasks fail occasionally complaining No Android devices detected

Failing examples:
Linux_android flutter_gallery__start_up:

linux4: https://ci.chromium.org/ui/p/flutter/builders/prod/Linux_android flutter_gallery__start_up/638/overview
linux7: https://ci.chromium.org/ui/p/flutter/builders/prod/Linux_android flutter_gallery__start_up/627/overview

Linux_android routing_test:

linux2: https://ci.chromium.org/ui/p/flutter/builders/prod/Linux_android routing_test/598/overview

Mac_android run_release_test:
-Mac20: https://ci.chromium.org/ui/p/flutter/builders/prod/Mac_android run_release_test/2845/overview

From Linux_android flutter_gallery__start_up, on linux4: https://ci.chromium.org/ui/p/flutter/builders/prod/Linux_android flutter_gallery__start_up/638/overview
Device suddenly became not available when listing packages.
[flutter_gallery__start_up] [STDOUT] stdout: [   +2 ms] executing: /opt/s/w/ir/cache/android/platform-tools/adb -s ZY223KBHPZ shell -x logcat -v time -t 1
[flutter_gallery__start_up] [STDOUT] stdout: [  +49 ms] --------- beginning of main
[flutter_gallery__start_up] [STDOUT] stdout:            10-08 16:56:39.656 I/art     ( 7577): Starting a blocking GC Alloc
[flutter_gallery__start_up] [STDOUT] stdout: [  +13 ms] executing: /opt/s/w/ir/cache/android/platform-tools/adb version
[flutter_gallery__start_up] [STDOUT] stdout: [   +4 ms] Android Debug Bridge version 1.0.41
[flutter_gallery__start_up] [STDOUT] stdout:            Version 29.0.2-5738569
[flutter_gallery__start_up] [STDOUT] stdout:            Installed as /opt/s/w/ir/cache/android/.cipd/pkgs/0/56xIdLBDFMMlbbbtLk_9czg8NB-4GjFIbxf5h3-BixQC/platform-tools/adb
[flutter_gallery__start_up] [STDOUT] stdout: [   +2 ms] executing: /opt/s/w/ir/cache/android/platform-tools/adb start-server
[flutter_gallery__start_up] [STDOUT] stdout: [   +5 ms] Stopping app 'app-profile.apk' on Moto G Play.
[flutter_gallery__start_up] [STDOUT] stdout: [   +2 ms] executing: /opt/s/w/ir/cache/android/platform-tools/adb -s ZY223KBHPZ shell am force-stop io.flutter.demo.gallery
[flutter_gallery__start_up] [STDOUT] stdout: [  +46 ms] executing: /opt/s/w/ir/cache/android/platform-tools/adb -s ZY223KBHPZ shell pm list packages io.flutter.demo.gallery
[flutter_gallery__start_up] [STDOUT] stdout: [   +7 ms] error: device 'ZY223KBHPZ' not found
[flutter_gallery__start_up] [STDOUT] stdout: [   +2 ms] ProcessException: Process exited abnormally:
[flutter_gallery__start_up] [STDOUT] stdout:            error: device 'ZY223KBHPZ' not found

@keyonghan can you please take a look at these test beds?

All test beds are running test with a pass consistently, and I believe the issue has been addressed by disabling the lock screen and the re-setup. Closing.


Add a way to specify protocol version

It is sometimes useful to be able to force a specific version for HTTP in the request (mostly for debugging, as lots of HTTP servers behaviour depends on that).

Closing in favour of ##298


Improve benchmarks

Adding benchmarks for cerberus
remove toasted-marshmallow, it wasn't any faster than marshmallow and prevented use of the latest version of marshamllow
upgrade marshmallow tests to support marshmallow 3

Cerberus is slooooow. Really slow. ~26x slower than pydantic and twice as slow as the next slowest library drf which in turn is massively slower than all the other libraries tested.
Am I doing something wrong or is this just how it is?

No reply in 4 days, merging this. If anyone comes here from the SO issue (or elsewhere) and has suggestions of improvements, feel free to create a PR.


Bug/Regression [bfv]: A division-by-zero panic occurs when the plaintext modulus is set to 0.

What version of Lattigo are you using?
4.1.0
Does this issue persist with the latest release?
Yes
What were you trying to do?
Manually set the plaintext modulus(t) to zero.
What were you expecting to happen?
panic: invalid modulus: plaintext modulus cannot be zero (or, invalid modulus: 0 is not prime)
What actually happened?
panic : division by zero
Reproducibility

package main

import (
	"github.com/tuneinsight/lattigo/v4/bfv"
)

func main() {

	paramDef := bfv.PN13QP218
	paramDef.T = 0

	_, err := bfv.NewParametersFromLiteral(paramDef)
	if err != nil {
		panic(err)
	}
}

Hi @Maokami, this is fixed in the upcoming v5: https://github.com/tuneinsight/lattigo/blob/0b657a61d78d4f02fb4ca7e2509847b651ded579/schemes/bgv/params.go#L81

A-ha! Thanks a lot!