[SPARK-44174][SQL][TESTS] Fix QueryExecutionErrorsSuite for Java 21

What changes were proposed in this pull request?
This pr change to use new functionNameRegex to fix the following test case in QueryExecutionErrorsSuite for Java 21:

FAILED_EXECUTE_UDF: execute user defined function with registered UDF
FAILED_EXECUTE_UDF: execute user defined function

Why are the changes needed?
After https://bugs.openjdk.org/browse/JDK-8292914
The format of the lambda-class name change from
<declaring_class>$$Lambda$<counter>/#<hidden_class_reference>
to
<declaring_class>$$Lambda/#<hidden_class_reference>
So the check condition of test cases should be changed accordingly for Java 21
Does this PR introduce any user-facing change?
No, just for test
How was this patch tested?

Pass GitHub Actions
Checked

java -version
openjdk version "21-ea" 2023-09-19
OpenJDK Runtime Environment Zulu21+57-CA (build 21-ea+22)
OpenJDK 64-Bit Server VM Zulu21+57-CA (build 21-ea+22, mixed mode, sharing)

build/sbt clean "sql/testOnly org.apache.spark.sql.errors.QueryExecutionErrorsSuite"

Before
[info] - FAILED_EXECUTE_UDF: execute user defined function with registered UDF *** FAILED *** (78 milliseconds)
[info]   java.lang.IllegalArgumentException: For parameter 'functionName' value '`luckyCharOfWord (QueryExecutionErrorsSuite$$Lambda/0x00000008022254b8)`' does not match: `luckyCharOfWord \(QueryExecutionErrorsSuite\$\$Lambda\$\d+/\w+\)`
[info]   at org.apache.spark.SparkFunSuite.$anonfun$checkError$2(SparkFunSuite.scala:333)
[info]   at org.apache.spark.SparkFunSuite.$anonfun$checkError$2$adapted(SparkFunSuite.scala:328)
[info]   at scala.collection.Iterator.foreach(Iterator.scala:943)
[info]   at scala.collection.Iterator.foreach$(Iterator.scala:943)
[info]   at scala.collection.AbstractIterator.foreach(Iterator.scala:1431)
[info]   at scala.collection.IterableLike.foreach(IterableLike.scala:74)
[info]   at scala.collection.IterableLike.foreach$(IterableLike.scala:73)
[info]   at scala.collection.AbstractIterable.foreach(Iterable.scala:56)
...
[info] - FAILED_EXECUTE_UDF: execute user defined function *** FAILED *** (33 milliseconds)
[info]   java.lang.IllegalArgumentException: For parameter 'functionName' value '`QueryExecutionErrorsSuite$$Lambda/0x000000080225d710`' does not match: `QueryExecutionErrorsSuite\$\$Lambda\$\d+/\w+`
[info]   at org.apache.spark.SparkFunSuite.$anonfun$checkError$2(SparkFunSuite.scala:333)
[info]   at org.apache.spark.SparkFunSuite.$anonfun$checkError$2$adapted(SparkFunSuite.scala:328)
[info]   at scala.collection.Iterator.foreach(Iterator.scala:943)
[info]   at scala.collection.Iterator.foreach$(Iterator.scala:943)
[info]   at scala.collection.AbstractIterator.foreach(Iterator.scala:1431)
...
[info] Run completed in 9 seconds, 467 milliseconds.
[info] Total number of tests run: 39
[info] Suites: completed 1, aborted 0
[info] Tests: succeeded 37, failed 2, canceled 0, ignored 0, pending 0
[info] *** 2 TESTS FAILED ***
[error] Failed tests:
[error]   org.apache.spark.sql.errors.QueryExecutionErrorsSuite
[error] (sql / Test / testOnly) sbt.TestsFailedException: Tests unsuccessful

After
[info] Run completed in 9 seconds, 678 milliseconds.
[info] Total number of tests run: 39
[info] Suites: completed 1, aborted 0
[info] Tests: succeeded 39, failed 0, canceled 0, ignored 0, pending 0
[info] All tests passed.

Thanks @dongjoon-hyun


Fixed the broken link in the readme file.

Fixed the "Introduction to GitHub" link in the Readme file.
Why:
Clicking on the link was going to the 404 page.
What's being changed:
Link checked and re-edited. Currently it opens the correct page when clicked.
Check off the following:

[y] For workflow changes, I have verified the Actions workflows function as expected.
[y] For content changes, I have reviewed the style guide.

Great!


on alternative backends: adding db.close() to export with limit

On the alt-backend branch, adding  return here allows us to see the stack trace
https://github.com/maxogden/dat-core/blob/master/index.js#L975
dat $ dat export -d test --limit=1
{"time":"2014-04-30T03:34:57.000Z","latitude":"60.0366","longitude":"-141.2214","depth":"14.6","mag":"1.4","magType":"ml","nst":"","gap":"","dmin":"","rms":"1.51","net":"ak","id":"ak11246293","updated":"2014-04-30T03:39:27.956Z","place":"67km E of Cape Yakataga, Alaska","type":"earthquake"}
Trace: Error: write after end
    at writeAfterEnd (/Users/karissa/dev/node_modules/dat-core/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:144:12)
    at DestroyableTransform.Writable.write (/Users/karissa/dev/node_modules/dat-core/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:192:5)
    at write (/Users/karissa/dev/node_modules/dat-core/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:623:24)
    at flow (/Users/karissa/dev/node_modules/dat-core/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:632:7)
    at DestroyableTransform.pipeOnReadable (/Users/karissa/dev/node_modules/dat-core/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:664:5)
    at DestroyableTransform.emit (events.js:92:17)
    at emitReadable_ (/Users/karissa/dev/node_modules/dat-core/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:448:10)
    at emitReadable (/Users/karissa/dev/node_modules/dat-core/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:444:5)
    at readableAddChunk (/Users/karissa/dev/node_modules/dat-core/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:187:9)
    at DestroyableTransform.Readable.push (/Users/karissa/dev/node_modules/dat-core/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:149:10)
    at done (/Users/karissa/dev/node_modules/dat/bin/export.js:72:15)
    at /Users/karissa/dev/node_modules/dat/node_modules/pump/index.js:72:4
    at f (/Users/karissa/dev/node_modules/dat/node_modules/pump/node_modules/once/once.js:17:25)
    at WriteStream.<anonymous> (/Users/karissa/dev/node_modules/dat/node_modules/pump/index.js:28:19)
    at WriteStream.f (/Users/karissa/dev/node_modules/dat/node_modules/pump/node_modules/once/once.js:17:25)
    at WriteStream.emit (events.js:117:20)
    at WriteStream.stdout.destroy.stdout.destroySoon (node.js:620:16)
    at /Users/karissa/dev/node_modules/dat/node_modules/pump/index.js:42:43
    at call (/Users/karissa/dev/node_modules/dat/node_modules/pump/index.js:49:2)
    at Array.forEach (native)

i think that one of the export streams is writing to process.stdout when it shouldnt be... cc @mafintosh

this is a highwatermark bug in the the limitedStream. I'll fix it

also this commit should be reverted as it might trigger race condition bugs in regards to reading from the db after it has been closed when exporting, https://github.com/maxogden/dat/commit/11286282504e731aaf52c4bf015f370d527b1e86

the hwm bug is fixed in dat-core 3.8.4

@mafintosh got it, thanks!


Azure SQL DB Deployment:  Missing Firewall Auto-Detect Option

The "Azure SQL DB Deployment" Task is missing the auto-detect option (mentioned in the documentation) for the combo field "Specify Firewall Rules Using", for hosted automation agents

This option is available only for VSTS.  There is refresh button at the end of the input, try refreshing it should show up if you are using VSTS

If the option doesn't show up for VSTS even after refresh, feel free to re open

Thanks, the Auto-Detect option still doesn't show up after refresh in Chrome, however it does show in Firefox.  Therefore please re-open (I don't have permissions to re-open)

Can you share the fiddler traces of vsts request when you did refresh from chrome. It shouldn't browser dependent.

Working in Chrome now, after upgrading the Chrome version

Thanks for confirming


Kconfig search has white on white text

Describe the bug
The Kconfig search on the documentation site has white text on the white background of the search bar, so you can only see entered text by highlighting as seen in the screenshot below:

Expected behavior
Perhaps the text is meant to be white, but the background of the search bar should be black? I don't know, but I just expected the text to be readable
Impact
Annoyance
Environment (please complete the following information):
Other people have the same issue as me, and the common factors seem to be 1) Firefox 2) Windows 10 3) Windows has the dark color theme. Switching the windows color theme to light results in black on white text in the Kconfig search bar, as would be expected

Was just going to report this. I'm on Windows 11 and latest Chrome (108.0.5359.125 (Official Build) (64-bit))

I have also confirmed the issue exists on linux mint on firefox as well


unable to find device on smartthings during configuration

Hello, I've tried to set up my Samsung TV following your guide, everything went as it was supposed to, but when I try to add the device to my home assistant integrations page, I get the error saying that my device was not found.
One thing I noticed during setup was that the address you provide to list our smartthings devices: https://graph-eu01-euwest1.api.smartthings.com/device/list does not list devices, and this one: https://graph-na04-useast2.api.smartthings.com/device/list does list.
maybe this is just a regionalization thing from smartthings but it is getting in the way of this nice integration to work.
I'm available to help test anything you need.
Thanks in advance

I tried setting mine up as well and get the error saying it wasn't found.  I used the API key and device ID.  No difference.

I will investigate.
As I know SmartThings should not be region related, but I try to login to https://graph-na04-useast2.api.smartthings.com/device/list  and my TV is not in the list.
This is new also  for me....

I think that this is issue is related to the generated token, because the smartthings url that I use to access smartthings API have no region settings.
Are you using "samsung account" or "smartthings account"?
Try to generate new token using samsung account (create a new one if you don't have) and let me know if this work.

I close this issue, pls re-open if you have additional comment or information.

Sorry to answer this after all this time.
I used my samsung account to create the token.

I think that this is a issue of SmartThings API, because there are nothing related to the region inside documentation so there is nothing that I can do.
My only suggestion is to try de-configure everything, that  means delete TV from SmartThings phone apps and add again, and then generate a new token (be sure to set correct permission).

hi ollo69,  I really couldn't setup using the wizard on the features page. But I dedicated more time to this and decided to do a manual setup. I worked !!  I used my api_key and the TV's IP address.
It is working very well. thanks for this integration.

This is strange behavior, so API is working but fail to detect device in configuration? I open again this ticket, need further investigation.

Just help me to understand one thing: are you sure that component is using smartthings now? If you can select HDMI input / TV means SmarThings working, otherwise is using only local connection.

yes, I can change HDMI ports, change Apps, and control play, pause, volume.

I'm not able to add it from the UI.
I get: "Unable to connect to this Samsung TV device."
Can't see any other issues. According to the documentation adding manually doesn't work anymore?
Suggestions?

I'm not able to add it from the UI.
I get: "Unable to connect to this Samsung TV device."
Can't see any other issues. According to the documentation adding manually doesn't work anymore?
Suggestions?

I have two TV's on my account. The Integration can't recognize my ID, even with right token. When I do a Get to
https://api.smartthings.com/v1/devices with my token as Authorization Bearer (using Postman), I could get the right device ID and set it mannualy on integration Setup. But now, I got a lot of "SamsungTV Smart - Error refreshing from SmartThings" error in my logs - Source: custom_components/samsungtv_smart/media_player.py:665. I can confirm the token AND the device id was right ! Any ideia why this error ?

I have two TV's on my account. The Integration can't recognize my ID, even with right token. When I do a Get to
https://api.smartthings.com/v1/devices with my token as Authorization Bearer (using Postman), I could get the right device ID and set it mannualy on integration Setup. But now, I got a lot of "SamsungTV Smart - Error refreshing from SmartThings" error in my logs - Source: custom_components/samsungtv_smart/media_player.py:665. I can confirm the token AND the device id was right ! Any ideia why this error ?

Probably your HA is behind a firewall that is blocking access to SmartThings. For this reason both setup and refresh API calls  fails.


Parameterization support

This PR's main goal is to support query parametrization in tortoise-orm.

Wraps query's offset and limit with ValueWrapper so they can be parametrized
Refactors Parameter to be dialect-aware. The original version in Pypika requires the user to specify the correct placeholder for the dialect (PyformatParameter, QmarkParameter, etc.) which is contradictory to other features where pypika generates a correct SQL according to the chosen dialect. For tortoise purposes, it is much more convenient to delegate the responsibility of generating correct SQL to pypika as much as possible.
Changes the behavior of Parameter.get_sql to avoid doing character escaping, type conversion, etc. if parametrization is used because database drivers usually do those things themselves for parametrized queries. Doing it twice causes subtle errors and extra latency.
Introduces Parameterizer which replaces ListParameter, DictParameter, etc. This is mostly a refactoring change since the original code is quite convoluted and has questionable abstractions, e.g. ListParameter isn't really a parameter but a container for values, the parameter argument of get_sql isn't really a parameter but a container for values. This is change is making it harder to pull changes from pypika's upstream but I found it quite hard to use the original code for tortoise purposes.
Adds missing whitespace for MSSQL when pagination without ordering.

I'll rebase the branch when this is going to be merged https://github.com/tortoise/tortoise-orm/pull/1776.

Have you seen conflicts here?
@henadzit

Have you seen conflicts here? @henadzit

Yes! I wanted to have it this way for now to be sure that the tortoise CI passes. I'll resolve them shortly!


Deploy plans should include a rollback plan.

I added this note during a meeting and now I'm committing it.
Please feel free to merge this whenever; I am confident it will not break anything :) but I didn't want to trigger a pipeline before going offline for a week.

LGTM

lgtm


XStore Association can be used for localized project queries

What type of PR is this?
Improvement
What does this PR do / why is it needed ?
Users can create a XStore association mapping against an included mapping without including the matching store in their own store. This will still generate the appropriate SQL even if the physical join has not been defined. Works for joins that leverage relational mapped class attributes on both sides of equality. Not currently for equality that depends upon a relational class attribute against a static value. (ex. $this.name = 'personName' && $this.id == $that.ID_FK)

This PR is stale because it has been open for 30 days with no activity. Please remove stale label or add any comment to keep this open. Otherwise this will be closed in 5 days.

This PR was closed because it has been inactive for 35 days. Please re-open if this PR is still relevant.


Tag sections

#14 added support for tags in the front-matter which is great, but that loads tasks from the whole page.
It would be nice to scan only a section marked by a header. For example:
# My day

## Schedule
- [ ] 08:00 Meeting with Peter
- [ ] 09:00 Work
- [ ] 18:00 Go home (actually, you already are :) )

## Tasks #todo
- [ ] Todo A
- [ ] Todo B
- [ ] Todo C

## For tomorrow
Collect the tasks for tomorrow here:

- [ ] Todo A
- [ ] Todo B
- [ ] Todo C

In this example I'd only want items under ## Tasks to show up in the checklist. Do you think it's possible to implement?

Yes, that is exactly how this plugin works. Look at the readme in this repo. You just need to remove the tag from frontmatter for that page as well

Oh, great! I've actually tried that a couple times, but didn't work. I upgraded Obsidian and all plugins now and it seems to work. Thanks and sorry for the noise!


Phone stalls on whale wallets

This one for example:
0xb1690c08e213a35ed9bab7b318de14420fb57d8c

@James-Sangalli Going to revisit this again after a few other issues

@James-Sangalli take a look


Metric 7 - # of Penta Dropouts

Creating GitHub ticket to track ZEIR metric 7 - # of penta dropouts. The complete list and detail can be found here:
https://drive.google.com/open?id=1dOy5H_fy8bYaJFL-Oa53p_rNgR9gZOQi6qpFUE8UHCA
We'll use this ticket to track the status of and issues with the metric as we build it out in Superset.
Current dependency is ETL development.

This metric is built in Superset


Adding my website

Hi,
Please find my academic website, created using al-folio: advaitmoharir.github.io
Thanks,
Advait

@advaitmoharir you did a PR with your whole site code instead of just adding your site url in readme


With extended syntax, combining a custom formatter with 2 arguments with normal binding in one field leads to error

This happens at least up to 1.22.10.
The custom formatter alone works, the normal binding alone work, two normal binding together works, just the combination does not work.
See http://jsbin.com/rolunacaleku/2/edit?html,js,console,output
value="{parts:[{path:'name'}, {path:'number'}], formatter: '.formatter'} {desc}" does not work
value="{parts:[{path:'name'}, {path:'number'}], formatter: '.formatter'}" works
value="{name} {desc}" works

The example you gave now works. We have made improvements in this direction, e.g. https://github.com/SAP/openui5/commit/81695802700b8bcfd67befa01109bf2345df8fbf
Thanks for reporting this issue!


update Readme with steps on how to run

[ ]  Fixed #531
[ ]  I added the steps to on How to Run and Deploy the Project in README.md

Nice. thanks. can you make following changes?
Make two headings.
(heading) Run project
add bullet points (non numeric)
(heading) Deploy
add bullet points (non numeric)

Sure I will do that way.

Should be headings:
## Run project

## Deploy

sorry, closed by mistake


Make the output a little more human readable

I'm not that well versed with python, so feel free to correct me :)

It was nice, bro! I did this just to use the information in another application of mine, so the data was formatted to fill into this other application. Thanks!

Cool, please feel free to close the branch and if you are using another application, which one is it??

Cool, please feel free to close the request and if you are using another application, which one is it??

I've created a simple react native app to gather this information e display to the user. I'm using a server running the python script every day at 03:30am so the list stays updated with the dotabuff website. Just for fun and training skills.


Fixing zip command issue in Google Colab.

When running the Google Colab notebook implementation cell 5. Run AlphaFold and download prediction is throwing the following error:
NotImplementedError                       Traceback (most recent call last)
[<ipython-input-1-bc0091fa34e2>](https://localhost:8080/#) in <module>()
    577 sequence = 'AKIGLFYGTQTGVTQTIAESIQQEFGGESIVDLNDIANADASDLNAYDYLIIGCPTWNVGELQSDWEGIYDDLDSVNFQGKKVAYFGAGDQVGYSDNFQDAMGILEEKISSLGSQTVGYWPIEGYDFNESKAVRNNQFVGLAIDEDNQPDLTKNRIKTWVSQLKSEFGL'  #@param {type:"string"}
    578
--> 579 run_prediction(sequence)

3 frames
[/usr/local/lib/python3.7/dist-packages/google/colab/_system_commands.py](https://localhost:8080/#) in _run_command(cmd, clear_streamed_output)
    166   if locale_encoding != _ENCODING:
    167     raise NotImplementedError(
--> 168         'A UTF-8 locale is required. Got {}'.format(locale_encoding))
    169
    170   parent_pty, child_pty = pty.openpty()

NotImplementedError: A UTF-8 locale is required. Got ANSI_X3.4-1968

As discussed in the issue: https://github.com/deepmind/alphafold/issues/483
This is more of a Google Colab issue when trying to create theoutput_dir  zip file from theoutput_dir  folder. I solved this by usingshutil  to create the zip file.
I simply replace the line of code !zip -q -r {output_dir}.zip {output_dir}  from cell 5. Run AlphaFold and download prediction with shutil.make_archive(output_dir, 'zip', output_dir)
I also made sure to add import shutil at the first cell.
This will create the zip file without using any terminal commands. This fix should not cause any issues in the future since we don't rely on the Google Colab terminal commands anymore.

Added my CLA.

Fixed in https://github.com/deepmind/alphafold/commit/0d9a24b284d39e0ccee9af34c66084e0c4297377. Thanks for reporting!


Bugfix - Remove FilterList and add UserLocation in xcode project

If you currently follow the manual installation guide xcode will fail to build the project. Steps to reproduce the issue is to create a new react-native init project, add react-native-mapbox/maps and try the manual installation.
This removes FilterList reference and adds UserLocation reference to RCTMGL.xcodeproj/project.pbxproj solving the issues.

@HPieters I am getting the same issue now.  Once this is merged I'll test this update as well. Thank you!

@HPieters I just tested your update and it corrected the error for me as well.  Thank you!


Track shallow clone

We'd like to track the repository is shallow repository in the perspective of CSM.

I'm going to rebase this PR.


backgroundColor preference not supported

Cordova build does not start even with master 1.4.0-dev version of plugin not in embedded nor in shared mode

Could you please describe your steps?

cordova add plugin cordova-plugin-crosswalk-webview

config
<widget>
<preference name="xwalkVersion" value="xwalk_core_library:14+"/>
<preference name="xwalkMode" value="embedded"/>
<preference name="xwalkCommandLine" value="--disable-pull-to-refresh-effect"/>
<preference name="xwalkMultipleApk" value="true"/>
</widget>

cordova 5.3.1
cordova-android 4.1.1
cordova build android
Make 2 apks: both installed successfully but when run get "unspecified error" alert.
with version 1.2.0 all works fine with latest 14 version and some fixes in .java file for CookieManager changing import namespace

It can't be reproduced, could you please share your apk to me? what's the version of your android devices?

Nexus 5 Android 5.1.1
Huawei MediaPad Android 4.2.2
https://yadi.sk/d/34HIHOQ1j7jV5

Found issue
<preference name="BackgroundColor" value="0xff313438"  />

is not compatible
So UnsupportedOperation exception on setBackgroundColor operation

Cool.
Do you want set background color?

No. I simply commented this line in config.xml
So I suppose to add this bug to documentation at least.

BackgroundColor is a core Cordova preference, so this should be supported. setBackgroundColor() is a method declared in the Android View class, it's expected that calling it on a subclass (XWalkWebView) won't crash.

still an issue in crosswalk 15?

This is fixed with 1.4.0


怎样给el-input 添加keyup时间

ElementUI version

OS/Browers version

Vue version

Reproduction Link

Steps to reproduce
What is Expected?
What is actually happening?

FAQ 第一条，以及搜索历史 issues


Revert bartender RP to stable version

With #11288 bartender was updated to version 1.2.40.
This version is not listed in the appcast and also not on the website.
As of the website and the app updater 1.2.39 ist still the current stable release.

Confirmed. Where have you got the version from, @mauricerkelly. Beta tester?

Looks like I am, though I was not aware of it:

My apologies.

Anyone wants to submit a fix?

Sure, I’ll do one now. I only just woke up and thought this was a PR already :-)

Fixed in #12129


Issue with bannertool-linux binary

Hello,
Given my limited experience with bash, I don't really know what's wrong with the bannertool-linux and makerom-linux binaries.
arm-none-eabi-g++ -MMD -MP -MF /home/user/3DS/citrusTemp/build/main.d -g -Wall -Wno-strict-aliasing -O3 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=mpcore -mfloat-abi=hard -I/home/user/3DS/citrusTemp/source -I/home/user/3DS/citrusTemp/include -I/opt/devkitPro/citrus/include -I/opt/devkitPro/portlibs/armv6k/include -I/opt/devkitPro/portlibs/3ds/include -I/opt/devkitPro/libctru/include -I./lib/include -I/home/user/3DS/citrusTemp/build -DARM11 -D_3DS  -std=gnu++11 -fno-rtti -fno-exceptions -c /home/user/3DS/citrusTemp/source/main.cpp -o main.o
linking HomebrewTemplate.elf
built ... HomebrewTemplate.smdh
built ...  I guess I could try everything over on Windows if that's the case.
/opt/devkitPro/citrus/tools$ ./bannertool-linux
bash: ./bannertool-linux: cannot execute binary file: Exec format error
/opt/devkitPro/citrus/tools$ sh bannertool-linux
bannertool-linux: 1: bannertool-linux: Syntax error: "(" unexpected

They are indeed 64-bit binaries.

Alright, I guess that solves it then. I'll try again later with a 64bit OS. Thanks again!


How to decode the transaction content data of terra.tendermint.blockInfo.block.data.txs using terra.js?

why don't you use LCDClient.tx.txInfosByHeight()? it returns decoded transactions.

Thank you so much


Updated Info: This game runs quite well for most, however it still suffers from a %36 performance tax compared to Windows which gives 75fps under 4k while Linux only provides 55fps. To resolve this (assuming you have less then 60fps) you may need to run at a slightly lower resolution such as 1800p.

Updated Info: This game runs quite well for most, however it still suffers from a %36 performance tax compared to Windows which gives 75fps under 4k while Linux only provides 55fps. To resolve this (assuming you have less then 60fps) you may need to run at a slightly lower resolution such as 1800p.
The game can also experience performance drops in certain areas of hectic combat and explosions which affect proton more then windows in comparison. At present MIC or voice chat may not work for you which hopefully is resolved in the future_. (there is no voice chat indicator for yourself ingame, you must ask other players if it works)_
My Configuration: 4k (1800p ingame) with a second 1080p monitor on the side for reference.
System Information: Pop_OS Specs.txt
No special configurations have been attempted at this stage except for setting permissions correctly to my userid and groupid on the NTFS drive this game is installed on. Also ensuring Proton is installed correctly into the .steam folder (don't try and run it via ntfs), and compatdata is symlinked also correctly (refer to documentation).
NOTE: Some users are having issues getting this running correctly, this could be due to incorrect or corrupt proton install, I've encountered this many times myself, its a very easy trap to fall into!
Originally posted by @jarrard in https://github.com/ValveSoftware/Proton/issues/284

@Ghoai171 common, please stop spamming. We are only a few people here at libgdx.
What you are doing is not nice.

What a title.

please stop spamming

Issa bot. If there was a real person at the other end I'd be more inclined to write something unpleasant towards @Ghoai171.
Similar bot issues:
https://github.com/libgdx/libgdx/issues?q="originally+posted+by"

@Frosty-J Yeah, I do remember that one, too. I am reporting those users but the GitHub team seems to be too busy to block them.


Update free-courses-ja.md

What does this PR do?
Add resource(s)
For resources
Description
I added one more course in Japanese to learn how to make Mochi Master Game in Scratch.
Why is this valuable (or not)?
People can make this game by watch this video.
How do we know it's really free?
This video is posted on You Tube site.
For book lists, is it a book? For course lists, is it a course? etc.
Course
Checklist:

[X] Read our contributing guidelines.
[X] Search for duplicates.
[X] Include author(s) and platform where appropriate.
[X] Put lists in alphabetical order, correct spacing.
[X] Add needed indications (PDF, access notes, under construction).
[X] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

at 13 minutes, its a video, not a course


Unresponsive Cluster with Partial Service Availability

Summary
I am facing an issue with my four-node MicroK8s cluster used as a staging server. This morning, the cluster stopped responding randomly, with some exposed services still online while others are not accessible. Previously, a similar issue was resolved by resetting MicroK8s, but this is no longer viable due to critical data on the database.
Environment

MicroK8s version: v1.28.3
Cluster configuration: 4-node local cluster with High Availability (HA) enabled
Operating system and version: Ubuntu 22.04.2 LTS

What Should Happen Instead?
The cluster should remain consistently accessible, and all services should be operational without random outages.
Reproduction Steps
n/a
Introspection Report
microk8s inspect completes after an extended period. The report indicates:

Kubernetes Cluster Info: Connection reset error when accessing the Kubernetes API at https://<IP_ADDRESS>:16443.
Cluster Info Dump and Get All: Connection to <IP_ADDRESS>:16443 was refused.
System Disk Usage: Normal, with sufficient space.
Memory Usage: Adequate free and available memory.
System Uptime and Processes: Normal operation, no apparent system overload.
The tarball reports from microk8s inspect is attached.
inspection-report-20231117_034152.tar.gz
inspection-report-20231117_064612.tar.gz
inspection-report-20231117_064755.tar.gz
inspection-report-20231117_065026.tar.gz

Additional Observations

Unable to access kube-apiserver logs; attempts to use kubectl hang without response.
Files in /var/snap/microk8s/current/var/kubernetes/backend (snapshot and segment files) are still being updated regularly.

Can you suggest a fix?
Given my limited experience with MicroK8s, I am seeking assistance to identify and resolve this issue. It appears to involve connectivity problems with the Kubernetes API server. Suggestions on troubleshooting steps or configuration checks would be highly appreciated. Thank you!
Are you interested in contributing with a fix?
No, I am currently not in a position to contribute a fix.

Hi @johnjairus10, I see in the logs of the k8s-dqlite service that queries to the k8s datastore are taking too long. eg: Nov 17 06:37:07 gitlabrunner microk8s.daemon-k8s-dqlite[4060539]: time="2023-11-17T06:37:07Z" level=error msg="error in txn: query (try: 0): context deadline exceeded". One reason why this may happen is when there is I/O intensive workloads that leave the k8s datastore starving. I also see you have longhorn running. Would it be possible to stop longhorn and see if the cluster recovers? Note that you would have seen the same if you were using other storage solutions for k8s. We have encountered similar behavior with Ceph. You can consider having dedicated nodes to host the k8s control plane.

Hello. We are experiencing same problems for a few days with our staging/testing cluster with similar configuration. It's 4-node local cluster with HA enabled, originally on v1.28.3 when problems appeared, but I have upgraded it to v1.28.4 since then which didn't help.
Same error messages from dqlite:
Nov 22 10:37:49 pink microk8s.daemon-k8s-dqlite[24524]: time="2023-11-22T10:37:49Z" level=debug msg="GET /registry/health, rev=0 => rev=0, kv=false, err=query (try: 0): context deadline exceeded"

or from kubelite:
Nov 22 10:40:39 pink microk8s.daemon-kubelite[20207]: E1122 10:40:39.473824   20207 status.go:71] apiserver received an error that is not an metav1.Status: &status.Error{s:(*status.Status)(0xc0002d4948)}: rpc error: code = Unknown desc = query (try: 0): context deadline exceeded
Nov 22 10:40:39 pink microk8s.daemon-kubelite[20207]: E1122 10:40:39.473963   20207 writers.go:122] apiserver was unable to write a JSON response: http: Handler timeout

I'm sure this is not linked to I/O intensive workloads, as this cluster (where each node is bare metal 2 cpu / 16 core, ssd disks) was practically without any load.
I have already tried following procedures:

restarted each node, to exclude external effects
upgraded each node to latest/edge
followed restore-quorum procedure, even though it looked like there was no problem with dqlite cluster
directly connected to dqlite cluster with dqlite client, where execution of SELECT queries was rather quick (~400ms)

I will try to examine kine/etcd wrapper today, which is the next in line component. But I'd appreciate any advise.


 Consider the following dependency graph:
b, c <- a
d <- c

For building d, we need to build c from a and then d from c. However, if b is removed and shake re-run again to build d, the first rule is still invoked, even though it's unnecessary, as c is up-to-date.
This can be demonstrated by the following example (expects file named a in the current directory):

import Control.Monad
import Development.Shake
import Development.Shake.Command
import Development.Shake.FilePath
import Development.Shake.Util

main :: IO ()
main = shakeArgs shakeOptions{shakeFiles="_build"} $ do
    want ["_build/d"]

    ["_build/b", "_build/c"] &%>
      \[b, c] -> do
        let input = "a"
        need [input]
        command_ [Shell] "cat" [input, "|", "tee", b, "|", "tee", c]

    "_build/d" %> \t -> do
        let input = "_build/c"
        need [input]
        command_ [Shell] "cat" [input, ">", t]

It seems that I have found a temporary workaround. The idea is to have multiple rules for each target, but wrap the action in newCache first so that it's executed at most once:
    ...

    act <- newCache $ \() -> do
        let input = "a"
            b = "_build/b"
            c = "_build/c"
        need [input]
        command_ [Shell] "cat" [input, "|", "tee", b, "|", "tee", c]

    forM_ ["_build/b", "_build/c"] (%> const (act ()))

    ...

 The problem with your workaround (which effectively tweaks the dependency tree so that b and c are no longer tied) is that if you take your original dependencies and add:
e <- b
Then if you rerun after b has been deleted, then you might build d (which doesn't rebuild c), then build e (which has to rebuild c, and thus rebuilds b). At the end of the build you now have d rebuilt with the old c, so the build is inconsistent.
In practice it's rare for the output of a rule to change. Is there something about your original example that makes it a problem?

I see. Is this a fundamental limitation of the underlying system, or just the particular implementation? Would it be possible to implement &%> differently? From a semantic point of view, I'd say that it should be rebuild just what's needed to produce the result,. so the target for b, c in my example should be run only if either b is requested and missing/outdated (and similarly for c).
To be more specific about my case: I have a lot of rules which produce 2 outputs: One part are results that I'm interested in (bs) and one part is something that's needed as the input for other rules (cs). The graph might look like this:
c0
 |\
c1 b1
 |\
c2 b2
 |
...

One rule builds c1, b1 from c0, another rule builds c2, b2 from c1 etc.
At some point I want to remove some of the results which aren't needed any more (some bs, like b1), but Shake insists on rebuilding them even though they aren't needed (i.e. when I want to build b2 and c1 is up-to-date).
Thanks for pointing out the problem with the workaround. In my case this problem doesn't occur, as nothing depends further on b. I guess that it's a problem only if the output of the rule isn't pure in the sense that if it's run multiple times on the same input, the result (c) can differ, right?

I think this is a fundamental limitation of any backward-driven build system with a rule that produces multiple arguments in one and can only run a rule once and seeks consistency. Unless you know in advance that you aren't going to need b (which is impossible in a monadic build system) then you can't chose to use a c that you might have to rebuild.
Why do you want to remove the bs? Disk space? Do the names of the bs keep changing? Deleting some build outputs, but not all, is something I've never had cause to do.
For your example, if you write b1 b2 on the command line then your workaround might not be safe, but unless you deliberately do that, it's probably safe. Do you ever want to regenerate old bs that you have since deleted? If not, making b1 depend on c1, but have no action, is probably the simplest thing that is guaranteed safe, and will blow up if you every try and demand b1 and will never result in inconsistency.

Thank you for the explanation, suggestions and help. Yes, disk space was the constraint, I used shake for some data processing. The workaround worked for me, although next time I'll follow your suggestion to make it safer.
As this feature is probably impossible to implement for a backward-driven system, I'm closing the issue.


[RN 0.61.5]: Talkback narrates accessibility role = "header" twice.

Please provide all the information requested. Issues that do not follow this format are likely to stall.
Description
Talkback narrates accessibility role = "header" twice in Android phone.
React Native version:
Run react-native info in your terminal and copy the results here.
System:
OS: macOS 10.15.5
CPU: (12) x64 Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz
Memory: 36.57 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 13.11.0 - /usr/local/bin/node
Yarn: 1.22.4 - /usr/local/bin/yarn
npm: 6.13.7 - /usr/local/bin/npm
SDKs:
iOS SDK:
Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
IDEs:
Android Studio: 3.6 AI-192.7<IP_ADDRESS>41897
Xcode: 11.3.1/11C504 - /usr/bin/xcodebuild
npmPackages:
react: 16.9.0 => 16.9.0
react-native: ^0.61.5 => 0.61.5
npmGlobalPackages:
react-native-cli: 2.0.1
Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.
No steps
Expected Results
It should narrated "role" only once.

Same. I have seen the same issue in React Native 0.61.5.
If this could be fixed it would be great.

Check if this link helps:
https://github.com/facebook/react-native/pull/27496/files

@chetansehgal99 do you know in which release above fix will be available?


Introduce ModuleError struct

Ran into this problem when adding a new variant. Seems that TooManyConsumers was also missing from when that was added.

I think if you extract the ModuleError variant into its own named struct and implement PartialEq on it manually, then PartialEq could have a #[derive(PartialEq)] on it.

Honestly, dunno if this change is even worth it, I could just remove the catch-all match arm, and avoid changing a million files...

Honestly, dunno if this change is even worth it, I could just remove the catch-all match arm, and avoid changing a million files...

You can not just remove the catch all, because then the compiler will complain about missing cases.


Implement codecov etc to the README

For the README file implement status report of the package such as codecov.

See also the Pandas GitHub repository for an example of what we can include in the top fo the README file: https://github.com/pandas-dev/pandas


Issue with iOS registration (404: Url request failed)

I am getting issue of Failed To Register For Azure Notification Hub when calling register function. I am successfully getting device token from request permission function but it throws Error (404): URL Request Failed for <NSMutableURLRequest:xxxx> when registering with the connectionString, hubName, senderId and tags.
Is there any issue in creating the notification hub on azure portal? But its working fine on Android end.
Also the API version is specified as 2013-04.
Environment:-
React- 16.6.3
React-native- 0.58.5
react-native-azurenotificationhub- 0.7.0
node- 11.12.0
npm- 6.7.0

I'm also having this issue.

@soothran I was using a wrong Hub name. Like I was using Spect-React-Native/React-Native-Notification-Hub but later I came to know that I just need to use React-Native-Notification-Hub.
So you need to have these:
const connectionString = '...'; // The Notification Hub connection string
const hubName = '...';          // The Notification Hub name(This is what I was getting wrong)
const senderID = '...';         // The Sender ID from the Cloud Messaging tab of the Firebase
const tags = [ ... ];           // The set of tags to subscribe to. This can be empty also


fix dodgy use of stub promise in test

Coverage remained the same at 97.324% when pulling 65c97cb04da337399b085948ef8674bf6525313c on fix-await-test into 4715e343259f0dcc9dca7baa2c1e1789122ca0d1 on master.


using tslint cli as npm script has inconsistent path behavior for windows and linux

Bug Report

TSLint version: ~3.15.1
TypeScript version: ~2.0.3
Running TSLint via: CLI via NPM script

TypeScript code being linted: (irrelevant)
with tslint.json configuration: (irrelevant)
package.json configuration:
  "scripts": {
    "unquoted": "tslint src/**/*.ts",
     "quoted": "tslint 'src/**/*.ts'"
  },

Actual behavior
Unconsistend behavior when running @ windows or linux (and not working at all on windows).
Expected behavior
Consistent behavior across platforms.
Workaround
Use both, I guess:
  "scripts": {
    "unquoted_and_quoted": "tslint src/**/*.ts && tslint 'src/**/*.ts'"
  },

How to reproduce:
Check readme and files: https://github.com/acdcjunior/tslint-windows-path-inconsistency
(pasting README here for reference:)
Unquoted path (npm run unquoted)

@windows 10

All good: three linting errors!

$ npm run unquoted

><EMAIL_ADDRESS>unquoted D:\github\tslint-windows-path-inconsistency
> tslint src/**/*.ts

src/FirstLevel.ts[1, 12]: " should be '
src/second/SecondLevel.ts[1, 12]: " should be '
src/second/third/ThirdLevel.ts[1, 12]: " should be '

npm ERR! Windows_NT 10.0.14393
...

@centos 7

Only one error when three are expected!

[box@box tslint-windows-path-inconsistency]$ npm run unquoted

><EMAIL_ADDRESS>unquoted /box/github/tslint-windows-path-inconsistency
> tslint src/**/*.ts

src/second/SecondLevel.ts[1, 12]: " should be '

npm ERR! Linux 3.10.0-229.el7.x86_64
...

Quoted path  (npm run quoted)

@windows 10

Bad: no error whatsoever!

$ npm run quoted

><EMAIL_ADDRESS>quoted D:\github\tslint-windows-path-inconsistency
> tslint 'src/**/*.ts'

$

@centos 7

All good!

[box@box tslint-windows-path-inconsistency]$ npm run quoted

><EMAIL_ADDRESS>quoted /box/github/tslint-windows-path-inconsistency
> tslint 'src/**/*.ts'

src/FirstLevel.ts[1, 12]: " should be '
src/second/SecondLevel.ts[1, 12]: " should be '
src/second/third/ThirdLevel.ts[1, 12]: " should be '

npm ERR! Linux 3.10.0-229.el7.x86_64
...

@acdcjunior you can use double quotes " (escaped) as workaround to ensure consistency between platforms.
"scripts": {
  "lint": "tslint \"src/**/*.ts\""
},

I have idea how to fix it, but need more time to ensure that fix for running TSLint from npm scripts won't break anything when it used directly from terminal.

Hi @acdcjunior, this answer and this comment should provide context for the different behavior you're seeing.
When running in centos unquoted, perhaps you don't have the globstar option enabled in your shell and thus the glob isn't matching the files you expect. @IllusionMH's recommendation is good, use double-quotes so that node-glob process the glob.


children of 'protein assay evidence' ECO:0000039

Just making a ticket for this so we can keep track.
@rctauber  suggested removing  'protein assay evidence' ECO:0000039.
Many of its children have dual parentage and the ECO:0000039 parent is not adding value.
Becky will make suggestions for rehoming any children that do not have a second parent, and overall new structure.

Suggested Changes

'protein assay evidence' -> deprecate
'immunoprecipiatation assay evidence' -> SEE BELOW (maybe 'physical interaction evidence')
'specific protein inhibition evidence' -> 'physical interaction evidence'
'peptide array evidnece' -> 'physical interaction evidence' (based on definition)
'phosphoamino acid analysis evidence' -> SEE BELOW
'enzyme assay evidence' -> deprecate
'TACE activity assay evidence' -> 'protein detection evidence'

'phosphoamino acid analysis evidence'
'protein kinase assay evidence' has an almost the EXACT defintion of 'phosphoamino acid analysis evidence', but they are not actually the same. In short, protein kinase assays look at the activity of the enzyme (protein kinase). Phosphoamino acid analyses look at the resulting phosphoproteins.
Here is a new suggested definition for 'protein kinase assay evidence':

A type of X that measures transfer of a phosphate to a peptide or protein substrate by a protein kinase. [https://www.ncbi.nlm.nih.gov/books/NBK91991/]

I would argue that, based on this defintion, 'protein kinase assay' could be a child of 'physical interaction evidence' (currently it is under 'direct assay evidence').
Suggested definition for 'phosphoamino acid analysis evidence':

A type of X that identifies which amino acids in a protein are have been phosphorylated. [PMID:11680867, https://en.wikipedia.org/wiki/Phosphoamino_acid_analysis]

I'm not sure if this would belong under 'physical interaction evidence' or not. In my opinion, this seems to be a type of 'small molecule detection assay evidence'.
'immunoprecipiatation assay evidence'
OBI defines an 'immunoprecipitation assay' as testing a mixture of antibodies and bound antigen for "presence of a specific antigen" or "presence of antigen specific antibodies". Does this seem like it would fall under 'physical interaction evidence', as you are using the interaction between the antigen and the antibodies?

'protein assay evidence' -> deprecate

We will proceed with this change.

'immunoprecipitation assay evidence' -> SEE BELOW (maybe 'protein binding')

This node will be moved to 'protein binding evidence'.

'specific protein inhibition evidence' -> 'protein binding evidence'

This will be moved to 'direct assay evidence' and 'specific' will be removed from the label.

'peptide array evidence' -> 'protein binding evidence'

We will proceed with this change. See #211 for related issue.

'phosphoamino acid analysis evidence' -> SEE BELOW

This will be moved to 'direct assay evidence'. The definition will be refined.

'enzyme assay evidence' -> deprecate

This will not be deprecated. Instead, we will move this to 'direct assay evidence' and rename it to 'enzymatic activity assay evidence'. Finally, we will make a new term 'ribozyme activity assay evidence', subclass of this term.

'TACE activity assay evidence' -> 'protein detection evidence'

This will remain a child of 'enzymatic activity assay evidence' ('enzyme assay evidence').

'protein kinase assay evidence': A type of X that measures transfer of a phosphate to a peptide or protein substrate by a protein kinase. [https://www.ncbi.nlm.nih.gov/books/NBK91991/]

This will be moved to 'enzymatic activity assay evidence' and will get the new definition.

Changes implemented in 264463f


Implement Day 3 Part 1

Problem description: https://adventofcode.com/2023/day/3

Let's think about a more OOP-like approach to this problem... We have the following objects:

Schematic
PartNumber

A Schematic is just a 2D array, with 0 or more PartNumbers on each line; easy peasy.
Now, the PartNumber is a little more complicated. We have a Value property (obviously), but what else? If we slap an 'IsValid' bool on the object, that could allow for a faster algorithm, as we could split up the responsibilities for finding PartNumbers and determining if they are valid. We also need to keep track of the position of the PartNumber in the schematic, so we need to know which line it is on in the Schematic, as well as its start and end positions.

Little ways in. Schematic is not going to have a type created for it, just a method called MakeSchematic which returns a [][]PartNumber. We're also only going to record the start position of the part number on each line and use the length of the part number to calculate the end position (if needed).
Just like the JavaScript implementation, we're going to use some regex to determine whether a particular character is a "symbol". Unlike that implementation, I'm going to assume this time that a "symbol" is anything other than an int or period: [0-9\.].

It's worth noting here that the requirement for the problem is just to perform the addition, so we're wasting an awful lot of memory for really no good reason. However, I already did a more sophisticated algorithm in JavaScript that minimized memory consumption, so I just wanted to do something a little different here.


Presentation

10 minutes: Basic concepts of rhine & plan for the workshop
50 minutes:

Installation
Show how to do two koans
do a portion of basic tutorial together

15 minutes: Wrap up for now

Ask around: What went well, what was hard? What was the hardest Koan? What questions are still open for you?
Where to go from here: Advanced/theory, or different backends, your own application

Break, maybe find groups, think about in which direction you want to go
45 minutes: Write your own app or do a further Koans track

Done in https://github.com/turion/rhine-koans/pull/33


fixes #71, fixes #73, move tests underneath

Makes sense to move the tests into the package. (Assume you'll be updating the Makefile too if you haven't already done it by the time I finish this sentence.)
Are you using an auto-formatter? If so, can you add it to the project requirements, and I'll use it too. (And you'll be able to remove my recent flake8 --ignore=E201,E241 tests hack from the Makefile too, in case you didn't notice that one yet.)

make fix
If you just type make in any of my repos it will tell you what you can do

Ah, thanks. I used to use make a lot, then got out of the habit over the last few years (as there's often no Makefile in many projects these days :( ).

If you just type make in any of my repos it will tell you what you can do

Not if I don't respect that and fail to add docs for new targets, it won't ;)

Not if I don't respect that and fail to add docs for new targets

fixed in #75


support additional sitemap info in frontmatter

For example:
---
canonical: 'different'
changefreq: always
lastmod: 2014-12-01
priority: 1.0
private: true
sitemap:
  img:
    - url: https://resources.example.com/images/image1.png
      caption: Image 1 Caption
      title: Image 1 Title
      geo_location: Australia
      license: https://creativecommons.org/licenses/by/4.0/
    - url: https://resources.example.com/images/image2.png
      caption: Image 2 Caption
      title: Image 2 Title
      geo_location: Australia
      license: https://creativecommons.org/licenses/by/4.0/
---
<!-- index.html -->

I think we're good here. Belated belated belated thanks!


⚠ PrivateHD has degraded performance

In f4ffb14, PrivateHD ($PHD) experienced degraded performance:

HTTP code: 200
Response time: 5329 ms

Resolved: PrivateHD performance has improved in baf4a8e.


High throughput for load phase, very low throughput for workload phase

Hi YCSB guys,
I've run the YCSB in the Cloud against Couchbase and Cassandra and experienced for the load phase a throughput of ~15.000 ops/s.
However for the default workloadA/workloadB I got really poor results: Cochbase ~ 100 ops/s and Cassandra ~500 ops/s
Benchmark setup:
Cloud: private Openstack
DB VM: 4 cores, 8GB RAM, 50 GB Disk HDD
YCSB VM: 2 Cores, 4GB RAM, 20 GB disk
Records: 10.000.000
Operations: 10.000.000
Distribution: zipfian (also used latest without significant changes)
YCSB fork: YCSB
Do you have any axplanation for this low throughput because I expected a much higher throughput for workloadA/B (based on the results in several publications/white papers using the YCSB to benchmark Couchbase/YCSB)
Thanks in advance for your help!
Cheers,
Daniel

Can you post your lad ad run commands. Was there any significant output during the workloads? Also, can you post your final result output for the load and run phases?

Hi,
find here the load command for the Couchbase benchmark:
[WARN]  Running against a source checkout. In order to get our runtime dependencies we'll have to invoke Maven. Depending on the state of your system, this may take ~30-45 seconds [DEBUG]  Running 'mvn -pl com.yahoo.ycsb:couchbase2-binding -am package -DskipTests dependency:build-classpath -DincludeScope=compile -Dmdep.outputFilterFile=true' java -cp /home/ubuntu/YCSB-master/couchbase2/conf:/home/ubuntu/YCSB-master/couchbase2/target/couchbase2-binding-0.6.0-SNAPSHOT.jar:/home/ubuntu/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.2.2/jackson-annotations-2.2.2.jar:/home/ubuntu/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.2.2/jackson-databind-2.2.2.jar:/home/ubuntu/.m2/repository/io/reactivex/rxjava/1.0.15/rxjava-1.0.15.jar:/home/ubuntu/.m2/repository/com/couchbase/client/core-io/1.2.2/core-io-1.2.2.jar:/home/ubuntu/YCSB-master/core/target/core-0.6.0-SNAPSHOT.jar:/home/ubuntu/.m2/repository/org/codehaus/jackson/jackson-core-asl/1.9.4/jackson-core-asl-1.9.4.jar:/home/ubuntu/.m2/repository/org/hdrhistogram/HdrHistogram/2.1.4/HdrHistogram-2.1.4.jar:/home/ubuntu/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.2.2/jackson-core-2.2.2.jar:/home/ubuntu/.m2/repository/com/couchbase/client/java-client/2.2.2/java-client-2.2.2.jar:/home/ubuntu/.m2/repository/org/codehaus/jackson/jackson-mapper-asl/1.9.4/jackson-mapper-asl-1.9.4.jar:/home/ubuntu/.m2/repository/org/slf4j/slf4j-api/1.6.4/slf4j-api-1.6.4.jar com.yahoo.ycsb.Client -db com.yahoo.ycsb.db.CouchbaseClient -s -P workloads/workloada -P couchbase2/conf/couchbase.properties -load YCSB Client 0.1 Command line: -db com.yahoo.ycsb.db.CouchbaseClient -s -P workloads/workloada -P couchbase2/conf/couchbase.properties -load Loading workload...
And for running the workloadA:
[WARN]  Running against a source checkout. In order to get our runtime dependencies we'll have to invoke Maven. Depending on the state of your system, this may take ~30-45 seconds [DEBUG]  Running 'mvn -pl com.yahoo.ycsb:couchbase2-binding -am package -DskipTests dependency:build-classpath -DincludeScope=compile -Dmdep.outputFilterFile=true' java -cp /home/ubuntu/YCSB-master/couchbase2/conf:/home/ubuntu/YCSB-master/couchbase2/target/couchbase2-binding-0.6.0-SNAPSHOT.jar:/home/ubuntu/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.2.2/jackson-annotations-2.2.2.jar:/home/ubuntu/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.2.2/jackson-databind-2.2.2.jar:/home/ubuntu/.m2/repository/io/reactivex/rxjava/1.0.15/rxjava-1.0.15.jar:/home/ubuntu/.m2/repository/com/couchbase/client/core-io/1.2.2/core-io-1.2.2.jar:/home/ubuntu/YCSB-master/core/target/core-0.6.0-SNAPSHOT.jar:/home/ubuntu/.m2/repository/org/codehaus/jackson/jackson-core-asl/1.9.4/jackson-core-asl-1.9.4.jar:/home/ubuntu/.m2/repository/org/hdrhistogram/HdrHistogram/2.1.4/HdrHistogram-2.1.4.jar:/home/ubuntu/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.2.2/jackson-core-2.2.2.jar:/home/ubuntu/.m2/repository/com/couchbase/client/java-client/2.2.2/java-client-2.2.2.jar:/home/ubuntu/.m2/repository/org/codehaus/jackson/jackson-mapper-asl/1.9.4/jackson-mapper-asl-1.9.4.jar:/home/ubuntu/.m2/repository/org/slf4j/slf4j-api/1.6.4/slf4j-api-1.6.4.jar com.yahoo.ycsb.Client -db com.yahoo.ycsb.db.CouchbaseClient -s -P workloads/workloada -P couchbase2/conf/couchbase.properties -t YCSB Client 0.1 Command line: -db com.yahoo.ycsb.db.CouchbaseClient -s -P workloads/workloada -P couchbase2/conf/couchbase.properties -t Loading workload...
I've checked the output of the resulting files (stdout/errorout) but there were no significant errors/exceptions.
The same for the Cassandra output.
Cheers,
Daniel

Is there anything significant in couchbase.properties? can you post the content of that file.
Also, have you altered the project in any significant way? We don't have a couchbase2 binding.
Last thing - can you post the performance statistics from the end of the workload. It should show things like overall time taken, average latencies and return code counts.

I did not use any specific properties in the couchbase.properties file:
couchbase.url=IP_TO_COUCHABSE couchbase.bucket=default couchbase.password= couchbase.checkFutures=true couchbase.persistTo=0 couchbase.replicateTo=0 couchbase.json=true
Yes I added the couchbase2 binding in my fork of the YCSB, using the new Couchabse Client 2.X.
However I also did the benchmarks with the original Couchbase binding as well (same results)
Finde here the performance statistics:
LOAD:
[OVERALL], RunTime(ms), 365728.0 [OVERALL], Throughput(ops/sec), 27342.724647825708 [CLEANUP], Operations, 20.0 [CLEANUP], AverageLatency(us), 7106.95 [CLEANUP], MinLatency(us), 1466.0 [CLEANUP], MaxLatency(us), 30447.0 [CLEANUP], 95thPercentileLatency(us), 15495.0 [CLEANUP], 99thPercentileLatency(us), 30447.0 [INSERT], Operations, 1.0E7 [INSERT], AverageLatency(us),<PHONE_NUMBER> [INSERT], MinLatency(us), 174.0 [INSERT], MaxLatency(us), 127487.0 [INSERT], 95thPercentileLatency(us), 1194.0 [INSERT], 99thPercentileLatency(us), 2443.0 [INSERT], Return=OK, 10000000
WorkloadA (only intermediate results):
`2016-03-02 14:30:09:700; 80; sec; 13292 operations; 171.3 current ops/sec; est completion in 16 hours 41 minutes [READ: Count=1624, Max=821247, Min=211, Avg=114736.14, 90=393983, 99=652287, 99.9=775679, 99.99=821247] [UPDATE: Count=88, Max=934399, Min=298, Avg=128362.9, 90=403455, 99=737279, 99.9=934399, 99.99=934399]
2016-03-02 14:30:19:700; 90; sec; 14949 operations; 165.7 current ops/sec; est completion in 16 hours 41 minutes [READ: Count=1570, Max=1925119, Min=210, Avg=121408.37, 90=375295, 99=886783, 99.9=1699839, 99.99=1925119] [UPDATE: Count=87, Max=1707007, Min=343, Avg=122345.4, 90=332031, 99=553983, 99.9=1707007, 99.99=1707007]
2016-03-02 14:30:29:700; 100; sec; 16443 operations; 149.4 current ops/sec; est completion in 16 hours 51 minutes [READ: Count=1417, Max=1179647, Min=200, Avg=131635.51, 90=420095, 99=798207, 99.9=1142783, 99.99=1179647] [UPDATE: Count=77, Max=1047039, Min=441, Avg=142450.65, 90=417023, 99=740351, 99.9=1047039, 99.99=1047039]
2016-03-02 14:30:39:700; 110; sec; 18213 operations; 177 current ops/sec; est completion in 16 hours 44 minutes [READ: Count=1699, Max=1381375, Min=217, Avg=114653.49, 90=387839, 99=726527, 99.9=979455, 99.99=1381375] [UPDATE: Count=72, Max=856575, Min=310, Avg=110919.58, 90=384767, 99=740863, 99.9=856575, 99.99=856575]
2016-03-02 14:30:49:700; 120; sec; 19689 operations; 147.6 current ops/sec; est completion in 16 hours 53 minutes [READ: Count=1395, Max=1564671, Min=202, Avg=135217.15, 90=428799, 99=977919, 99.9=1517567, 99.99=1564671] [UPDATE: Count=80, Max=1421311, Min=240, Avg=133606.48, 90=386559, 99=669695, 99.9=1421311, 99.99=1421311]`
Cheers Daniel

Interesting, your inserts are super fast, and the reads are very slow as you say. From what you posted nothing is jumping out at me.
Can you confirm that all 10,000,000 records are in Couchbase after the load? What is the average doc size? Total data set size?
For Couchbase, how much memory did you allocate to it? One possibility is that Couchbase doesn't have enough memory. Inserts may not be effected by that, but if Couchbase doesn't have much memory to cache records, and it is constantly having to go to disk then that can be an issue. Not all of the reads are taking a long time, there is a min read time in your output of just of just 200us which is pretty fast.
Take a look at machine statistics while running the transaction phase, what does the cpu and mem look like on the Couchbase machines and on the YCSB machines. Couchbase also has a good metrics interface you can take a look it, anything look strange or toping out there?

Yes this super fast insert and very low read/update throughput really keeps me struggeling...
I've always checked the inserted records count and it's 10.000.000.
I allocated to Couchbase 5.5GB of RAM (5GB to data and 0.5GB to index)
The bucket is configured to use 5GB, value ejection, disk I/O priority low (highhas shown the same results).
I have also monitored the YCSB client with ganlia and Couchbase with the built-in metric interface and Ganglia.
The client shows a ~70% CPU usage at the load however at the read/upadate only ~15%
Couchbase RAM was nearly fully used (due to caching) however the CPU was not heavy used ~40% for the read/update.
I have also benchmarked the disk throughput on the VMs and the throughput is as high as expected (also proven by the high load throughput)

If you change couchbase.persistTo=0 to 1 does that significantly affect the load?

OK, so, please double check my math here. You are using the default configurations which are:
fieldcount=10
fieldlength=100

So, that means an estimate for your total data size is 10,000,000 records * 10 fields * 100 bytes = 10 GB.
You are using persistTo=0 and replicateTo=0 so your inserts will be very fast. But on the reads, only half of your dataset can fit in Couchbase cache memory, so 50% of your reads are having to go all the way to disk.
Can you test this theory by trying your load and transaction phases again but with only 1/3 of the records? or 1/4 of the records, just to be sure that Couchbase should have an easy time with keeping everything in memory. Make sure that you empty or recreate the bucket first.

Yes I am using the default configuration for fieldcount and fieldlength which results in a total data size of ~10GB for Couchbase.
I have run the load phase with the persistTo=1 and I got ~ 20.4 current ops/sec; and a lot of timeout. Of course a synchronous write to the disk will decrease the write performance.
Further I've run the load and WorkloadA with 1.000.000 of records (so they will fit completely in memory) with the same write throughput (~20.000) and also a high read/update throughput (25.000).
However I'd like to benchmark the databases with the focus on large datasets which will not fit completely in memory.
And I did not assume such a low throughput as soon as datasets are fetched from disk.
Did you run similiar benchmarks   earlier?

So, from a YCSB perspective I would call your findings a success. You used YCSB to test two main scenarios: 1) a recordset that fits in memory and 2) a recordset that does not fit in memory. What you found is that a good throughput when you could fit the set in memory and a decisive performance decrease when you cannot.
This was not so much a finding (you already knew this would happen), but it was verification of your hypothesis, that performance would take a hit if Couchbase could not fit the entire working set in memory.
I don't actually see any "problems" with any of this. So, at this point I think you have to take a step back and figure out the exact question you want to answer. Your last comment:

However I'd like to benchmark the databases with the focus on large datasets which will not fit completely in memory.
And I did not assume such a low throughput as soon as datasets are fetched from disk.

You may not have expected such a low throughput under your high stress scenario, but you have benchmarking metrics that show a certain performance under certain conditions. There doesn't seem to be a whole lot more on the YCSB front that you can tweak or change. If you expect better performance you have to go to your database system and find the optimal configuration there.

Thanks a lot for your helpful comments!
I already used the YCSB  around 1 ago with a similar setup. However I used the fork of Thumbtack  where I experienced a much higher throughput for 10.000.000 records/operations. Yet I did not recognize they the fork modified the record size to only 100 bytes instead of the 1KB. This explains the different results with my current setup.


Card with Shadow Storybook Overflow on Mobile

<Card style={{ flex: 1, marginBottom: 20, padding: 16, maxWidth: 400 }} shadow={5}>     <Text style={{ fontSize: 14, textAlign: 'center', marginBottom: 8 }}>
This one has more shadow</Text> <Button type={'flat'} text="Card button" style={{ marginBottom: 20 }} />
<Button type={'flat'} color={'#E91E63'} text="Card button" />
</Card>

On mobile, the example Storybook overflows on this view.
https://codypearce.github.io/material-bread/?path=/story/components-card--simple

Think this was a storybook issue, refreshing the page made it no longer overflow


Update black version to be able to skip string normalization

In version 18.6 was added option to skip string normalization (to not enforce double quotes for everything). It would be very nice to have this version and also ability to pass the -S flag as well.

@amureki I enabled pyup-bot for this repo.


HyperCard-like modifier keys

Request
HyperCard allowed using the modifier keys to trigger alternate drawing features and modes.
eg.

Cmd + Lasso = selection will be tight to any enclosed pixels
Cmd + Pencil = toggle flat bits mode

currently in Decker this sort-of works to enter fat bits mode, but not to exit it

etc

It would be cool to see them all in Decker.
Justification
The best HyperCard artists made extensive use of them. For example, I've heard this first hand from Thoru Yamamoto: https://archive.org/details/thoru-yamamoto-hypercard-stacks (viewable in browser)
HyperCard docs, see Chapter 8

https://cancel.fm/stuff/share/HyperCard_Reference_1.pdf

Reference

This is very open-ended, and should probably be broken down into specific feature requests with more detail on the desired behavior. Decker does not aim to slavishly replicate HyperCard's behavior. Some tools are missing or designed differently, and some of these features are actually already implemented or have an alternate method of access.
For example, Decker doesn't have a separate eraser tool, there's no curve tool, shift makes the line tool snap to 45 degree angles, shift makes the rectangle and oval tools snap to squares and circles respectively, and escape exits FatBits (for consistency with dismissing most other "modes" like the script editor).
It is also important to consider that, in general, browsers and operating systems impose some constraints on shortcuts which can be used, and mobile devices have none of these modifier keys.

I will break this one down, cheers!

I'm going to mark this issue as closed, because I don't think it's actionable in this form, but as I said previously I am entirely open to discussing the addition of specific tools and/or shortcuts in their own issues.

Have split out the half dozen issues, as promised. Thanks!


Layout issue in IE

Hi,
There is a layout issue when I open the demo page in my IE browser.

Can you be more descriptive?


Clarify Usage of QueryRecyclerAdapter

Hi, I am having trouble getting my extended QueryRecyclerAdapter to populate a recyclerview. There are no errors thrown, but it's simply not happening.
I have overridden performQuery, onCreateViewHolder, and onBindViewHolder. I am also calling queryAsync after setting up an executor and adding the adapter to the recyclerView. Any help you can provide on this matter would be appreciated.

I'm not sure what the issue was, but it's no longer an issue. It seems to be working as intended.

Glad it's working! If you find the cause of the issue please post here as it may help others or improve the api. Thanks!


python311Packages.aioredis: fetch patch for python 3.11 compatibility

Description of changes
While this package has been archived by upstream (and recommends consumers migrate to redis-py), we still have some packages that depend on it. For now, we can keep this package working with a small patch.
Things done

Built on platform(s)

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

[x] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 252356 run on x86_64-linux 1

25 packages built:

baserow
baserow.dist
opsdroid
opsdroid.dist
paperless-ngx
python310Packages.aiogram
python310Packages.aiogram.dist
python310Packages.aioredis
python310Packages.aioredis.dist
python310Packages.automate-home
python310Packages.automate-home.dist
python310Packages.channels-redis
python310Packages.channels-redis.dist
python310Packages.fastapi-mail
python310Packages.fastapi-mail.dist
python311Packages.aiogram
python311Packages.aiogram.dist
python311Packages.aioredis
python311Packages.aioredis.dist
python311Packages.automate-home
python311Packages.automate-home.dist
python311Packages.channels-redis
python311Packages.channels-redis.dist
python311Packages.fastapi-mail
python311Packages.fastapi-mail.dist


ssh-agent: improvements

Comments are welcomed. In particular for 874f5af this should be considered to be provided directly by the plugin load framework.
I mean, it could be a option to mark plugins as non reentrant and oh-my-zsh would implement a mutex for those.
Btw, I found out about zsh and oh-my-zsh a few hours ago, so pardon my (coding) french if something is very off track.

@mcornella Please take a look. Thanks!


Checkpoint

Everytime I login with Client (email, password)
I get checkpoint.
this is my code:
e = input('Enter Email: ')
p = input('Enter Pass: ') #getpass
fbchat._util.USER_AGENTS    = ["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36"]
fbchat._state.FB_DTSG_REGEX = re.compile(r'"name":"fb_dtsg","value":"(.*?)"')
client = Client(e, p)

did you fixed it? becuse i have the same issue


Epinio UI test - Test Rancher dashboard 0.5.0

@richard-cox has asked me to test latest epinio-v0.5.0.
I will run our Cypress tests on it.

Firefox test is ok with 0.5.0:
https://github.com/epinio/epinio-end-to-end-tests/actions/runs/1910584174

Ok this is what I got this morning:
Cypress tests fail when we try to access to Service page.

Once we click on Service, it fails.
I was able to catch this in the console:

I got the same with Namespace too.
After a lot of clicks... I reproduced it manually:

@richard-cox Any idea?

hmmm, if I add a small wait in the Cypress code (cy.wait(1000)) after the click on service, it works.
Maybe I'm wrong but on the second screenshot, it looks like we click on Service before the Polling started for services.

@juadk  querySelector is used on a reference to the root element in the list component. There could be a race condition where the element isn't ready when the reference is used. Are there steps to recreate outside of e2e tests?

@juadk querySelector is used on a reference to the root element in the list component. There could be a race condition where the element isn't ready when the reference is used. Are there steps to recreate outside of e2e tests?

That's why my cy.wait fixes the issue.
Yes you can have a look at the third screenshot (the last one), I got querySelector after doing many clicks on Services, Namespaces, Services etc etc
I've never seen it before 0.5.0.
Do you think you can fix it or I simply have to add a wait command? (not very elegant though)

I've created https://github.com/rancher/dashboard/issues/5240. This is tagged as 2.6.4 but probably won't get fixed in time.
For the moment i'd suggest going with the wait command


Feature request: Simple Transition between slides

It would be nice to have a "switch" that could be flipped to allow a transition between slides, such as a fadeIn or slideFromRight. Possibly defined the same way that a layout is (with an export on each slide)

Haven't looked into this at all, but if you want to explore what this would look like, I'd recommend starting with https://popmotion.io/pose/learn/route-transitions-reach-router/

Is there a way to go about this without modifying gatsby-theme-mdx-deck?
I managed to get basic transitions half-working by following a combination of the pose guide linked above and some modifications to gatsby-theme-mdx-deck/src/index.js
So far index.js looks like this:
import React from 'react'
import App from './components/app'

import { Location, Router } from '@reach/router';
import posed, { PoseGroup } from 'react-pose';

// export const wrapPageElement = ({ element }) => <App>{element}</App>

// See https://github.com/fabe/gatsby-universal/blob/1137431a8688d081449aaff9b62069237788d24e/gatsby-browser.js
export const wrapPageElement = ({ element, props }) => {
    const RoutesContainer = posed.div({
        enter: {
            x: 0,
            opacity: 1,
            delay: 400,
            beforeChildren: 400,
            transition: {
                x: { ease: 'linear', duration: 400 },
                default: { duration: 400 }
            },
        },
        exit: { x: 100, opacity: 1, transition: { x: { ease: 'linear', duration: 400}, default: { duration: 400 } } },
    });

  // To enable page transitions on mount / initial load,
  // use the prop `animateOnMount={true}` on `PoseGroup`.
  return (
    <App>
    <Location>
      {({ location }) => (
        <PoseGroup>
          <RoutesContainer key={location.key}><Router location={location}>{element}</Router></RoutesContainer>
        </PoseGroup>
      )}
    </Location>
    </App>
  );
};

// Identical below here...
export { Appear } from './components/appear'
export { Notes } from './components/notes'
export { Head } from './components/head'
...

This performs some animations (which I have mangled badly), but it would be nice to know how to do this without modifying mdx-deck.
From my reading so far (See here) it seems like this is not possible?
I am trying to recreate the page transitions used here  (simple slide with static footer), however I think it was built with a version of mdx-deck without gatsby or reach-router.

@jxnblk I'm trying to do the same thing as @springroll12 and shadowed original deck.js component. I have looked into Reach Router Pose tutorial and Gatsby official page transition but had no luck setting it up.  CSS opacity gets inject to the component, but no actual transition happens and as well as I'm not getting any errors.
If I remove export default () => ..., create a new container and inject the main component inside of it transitions obviously start working. Any help will be appreciated.

@iamskok
I managed to get basic transitions (mostly) working with both react-pose and framer-motion (successor to pose) without modifying the gatsby package. Unfortunately I ran into an issue trying to change the direction of the transitions (see discussion in #419), so I didn't end up using them in my presentation.
What I did was essentially create a custom layout and wrap each page in it. The "main" section of this layout is wrapped in a styled component which creates the transition. I can't seem to make it work again at the moment, but it was something like this:
defaultLayout.js
// Use the whole page..
const Wrapper = styled(Transition)`
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  position: relative;
`

const DefaultLayout = (props) => {
    let state = useDeck();
    return (
                  <Fragment>
                    <Wrapper index={state.index}>{props.children}</Wrapper>
                    <Footer />
                  </Fragment>
    );
}

transition.js
const variants2 = {
    enter: {
        x: 1000,
        delay: 0,
        opacity: 1,
    },
    center: {
        zIndex: 1,
        x: 0,
        opacity: 1,
        transition: {
            type: 'tween', ease: 'linear',
        }
    },
    exit: {
        x: -1000,
        delay: 0,
        opacity: 1,
        zIndex: 0,
    }
};

const Transition = props => {
    return (
            <AnimatePresence initial={false}>
                <motion.div
                    key={props.index}
                    variants={variants}
                    initial="enter"
                    animate="center"
                    exit="exit"
                    >
                    {props.children}
                </motion.div>
            </AnimatePresence>
    );
  }

deck.mdx
<DefaultLayout>

# Page 1

</DefaultLayout>

---

<DefaultLayout>

## Page 2

</DefaultLayout>

What about using Framer Motion? By wrapping the slides on motion.div, we can easily add transitions, and also support for declaring animations within .mdx files.

Yes, this works for animating event in when slide is activated.
What I am wondering about is how to animate in a single bullet point, for example, when we advance with right arrow.

Yes, this works for animating event in when slide is activated.
What I am wondering about is how to animate in a single bullet point, for example, when we advance with right arrow.


⚠ Bofrost.es has degraded performance

In 0b2adac, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1603 ms

Resolved: Bofrost.es performance has improved in 6307ce9 after 22 minutes.


arm64 (w/ python 3.8) support

I've tried installing kivy as described in #6806 (here), however I've noticed that there are no armv8 (arm64) wheels available at the given index, only some armv7 ones, and so trying to install kivy on an arm64 device results in:
ERROR: Failed building wheel for cython

It would be great to have an official arm64 build available.

In the meantime, installing kivy version 2.0.0rc3 from pypi works, since there are no ARM wheels for that version and in that case pip will automatically build from the source.


Fixes #16

I recently learned how to use DataTables, so I thought I would revisit this. Fixes #16 .

@lopierra I missed this. This looks great! The only issue I see is this:

The table and the map are overlapping.
Is there a way to change it?

Thanks for testing! I didn't notice the overlap because my monitor at work is pretty wide. I resized the columns to 6 and 6 (previously 4 for table and 8 for map), so now it works on my small laptop as well. There is overlap if you make the browser window very narrow, but I'm not sure that can be avoided.
I think I see my commit here already, but let me know if there is something else I need to do. Thanks!


Process sorting is (seemingly) broken

I have a parent and a child process in my timeline, and the parent's lifespan is longer: it starts earlier and ends later.
However, the currently running Perfetto version (as of November 8th, 2022) weirdly sorts my processes, making the child process look like it is more important:

As a workaround, I used process_sort_index metadata events to enforce the sorting order, but it seems that there's no support for those events in the source code of Perfetto.
Here's the gist of my stack trace to reproduce the issue:
https://gist.github.com/noomorph/57bb8a80ea44d1ff6fdee6695e9b7afd
I raised a little discussion in Discord, and @chromy helped to discover that the default sorting strategy relies on the number of slices in each process. Perhaps, it makes sense for some projects, but what can I do in my case?
Thanks in advance!

Me on Discord:

@eseckler @altimin @noomorph Hey 🙂 @noomorph and I were talking in ui-dev about tweaking the sorting order. Specifically changing https://cs.android.com/android/platform/superproject/+/master:external/perfetto/ui/src/controller/track_decider.ts;l=1503?q=track_decider&ss=android%2Fplatform%2Fsuperproject:external%2Fperfetto%2Fui%2Fsrc%2F to sort processes by first slice timestamp rather than by slice count. I think that would effect Chrome more than Android since on Android we are more likely to have the sched events so I wanted to know your thoughts 😄

@betasheet @altimin let me know :)

Hm, I think that the chromeProcessRank rank would help ensure that the browser process remains top (although I have a feeling that's not true for system traces). I'd also be a little worried about the behavior in ring buffer traces, because slices/TrackEvent data can start at different points for different threads/processes after the ring buffer wraps, even if all of them were "alive" for the full duration of the trace, and it's rather random which thread emits/retains the first slice then.

Re: chromeProcessRank: I think we should switch it to use chrome_processes.sql , which should be more reliable anyway.
For this specific problem, I don't think that relying on the trace events themselves is a good idea — I'd rather look into populating parent_upid column in the process table and using that to order the processes.

Folding this into https://github.com/google/perfetto/issues/429

@LalitMaganti, so will the sorting issue ever be handled? 🙏

We're not going to address this directly but we are looking into how we can reorganise and filter the tracks in the UI.

Do you mean that it is an intentional behavior that Perfetto UI

@LalitMaganti could you help clarify if we plan to support process_sort_index in Perfetto?
Asking because pretty sure the chrome trace tool does honor that but seems like it's ignored in perfetto.
Perfetto is much better in terms of perf so wonder if this minor feature can be supported. Thanks!
Chrome trace:

Perfetto:

@LalitMaganti could you help clarify if we plan to support process_sort_index in Perfetto?

Our stance of this has been discussed many times, most recently in https://github.com/google/perfetto/issues/555.


📦 NEW: Cleanly catch KeyboardInterupt

Exiting with Ctrl^C should behave much like a close.

won't fix, really only an issue when developing. Not a feature worth maintaining in the face of other requirements.


Prettier 3.0.0

After updating prettier from 2.8.8 to 3.0.0, swagger-typescript stopped working.
This is the error message:
(node:11936) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
(Use `node --trace-warnings ...` to show where the warning was created)
services Completed
types Completed
httpRequest Completed
All Completed
node:internal/fs/utils:906
    throw new ERR_INVALID_ARG_TYPE(
    ^

TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received an instance of
Promise
    at writeFileSync (node:fs:2318:5)
    at formatFile (file:///D:/GitHub/math-engine/node_modules/.pnpm/swagger-typescript@6.4.0_@tanstack+react-query@4.29.19_axios@1.4.0_prettier@3.0.0_typescript@5.1.6/node_modules/swagger-typescript/lib/javascript/index.mjs:87:5)
    at file:///D:/GitHub/math-engine/node_modules/.pnpm/swagger-typescript@6.4.0_@tanstack+react-query@4.29.19_axios@1.4.0_prettier@3.0.0_typescript@5.1.6/node_modules/swagger-typescript/lib/javascript/index.mjs:71:21
    at Array.forEach (<anonymous>)
    at file:///D:/GitHub/math-engine/node_modules/.pnpm/swagger-typescript@6.4.0_@tanstack+react-query@4.29.19_axios@1.4.0_prettier@3.0.0_typescript@5.1.6/node_modules/swagger-typescript/lib/javascript/index.mjs:69:19
    at D:\GitHub\math-engine\node_modules\.pnpm\recursive-readdir@2.2.3\node_modules\recursive-readdir\index.js:88:20
    at FSReqCallback.oncomplete (node:fs:200:5) {
  code: 'ERR_INVALID_ARG_TYPE'
}

Node.js v20.4.0

.prettierrc
{
  "arrowParens": "avoid",
  "printWidth": 160,
  "parser": "typescript",
  "singleQuote": true,
  "trailingComma": "none",
  "semi": false,
  "bracketSameLine": true,
  "bracketSpacing": true
}

After some testing I can confirm that:

restoring prettier to version 2.8.8 the problem disappears
NODE_TLS_REJECT_UNAUTHORIZED is irrelevant

Fixed: v6.5.0

Thank you!
I confirm that now is working properly!


Remove obsolete camera repos

Remove very old camera code submodules which are not related to fog drone

Good idea to remove obsolete submodules.


Checks for Wagtail 6.3

This pull request includes several updates to dependencies, Python version support, and testing configurations.
The commits from: #27 which also included #26 so they can be closed now.
Python version support:

Removed support for Python 3.8 in .github/workflows/tests.yml, tox.ini, and setup.cfg. [1] [2] [3]

Dependency updates:

Updated black, isort, and flake8 versions in .pre-commit-config.yaml.
Updated setuptools and pip versions in setup.cfg.
Updated coverage version in setup.py.
Updated python-unsplash version in setup.cfg and setup.py. [1] [2]

Django and Wagtail support:

Added support for Django 5.1 and Wagtail 6.x in tox.ini and CHANGELOG.md. [1] [2]

Miscellaneous:

Removed SiteMiddleware from wagtailmakeup/tests/settings.py.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 73.68%. Comparing base (bce562a) to head (ea71f80).
Report is 21 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #28      +/-   ##
==========================================
+ Coverage   73.33%   73.68%   +0.35%
==========================================
  Files           5        5
  Lines          75       76       +1
==========================================
+ Hits           55       56       +1
  Misses         20       20

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

🚨 Try these New Features:

Flaky Tests Detection - Detect and resolve failed and flaky tests


Revert "egl/android: Fix unsupported egl config r10g10b10a2, recordab…

…le_android=0 for media cts"
This reverts commit 0ebc3b545262968e252a6a6eb8052279a68d122c.
Tracked-On: OAM-122074

Android CI has started Engineering Build for this issue ,Please check the linked Tracked-On issue/Android CI Web  for more details.

Android CI has started Engineering Build for this issue ,Please check the linked Tracked-On issue/Android CI Web  for more details.

SUCCESS: Android CI has completed Engineering Build for this issue.Please check the linked Tracked-On issue/Android CI Web  for more details.

Android CI has started MERGE Build for this pr ,Please check the linked Tracked-On issue/Android CI Web  for more details.

Android CI has completed MERGE Build for this pr, build is SUCCESS. Please check the linked Tracked-On issue/Android CI Web  for more details. For Binaries: /cactus-absp-or-local/celadon-merge/644


Improve class declaration parsing for the default export

When parsing export default class, treat it as a real class declaration
and do not perform the two-step process (parse as a class expression and then
mutate the node into a class declaration).
Fixes #1570

Current coverage is 100% (diff: 100%)

Merging #1571 into master will not change coverage

@@           master   #1571   diff @@
=====================================
  Files           1       1
  Lines        3740    3739     -1
  Methods         0       0
  Messages        0       0
  Branches      631     632     +1
=====================================
- Hits         3740    3739     -1
  Misses          0       0
  Partials        0       0

Powered by Codecov. Last update 35e097d...0e9cd64

:+1:


Javadoc Cleanup for my parts

Title
This PR mostly cleans up the javadocs for the files that I wrote.
I don't really remember what I wrote so let me know if I missed any files

Codecov Report

Merging #319 (d7f20e5) into master (bbc0c48) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #319   +/-   ##
=========================================
  Coverage     72.21%   72.21%
  Complexity     1240     1240
=========================================
  Files           159      159
  Lines          3819     3819
  Branches        447      447
=========================================
  Hits           2758     2758
  Misses          983      983
  Partials         78       78

Impacted Files
Coverage Δ

.../seedu/contax/logic/commands/ExportCsvCommand.java
93.54% <ø> (ø)

.../seedu/contax/logic/commands/ImportCsvCommand.java
100.00% <ø> (ø)

...ava/seedu/contax/logic/parser/ImportCsvParser.java
100.00% <ø> (ø)

...c/main/java/seedu/contax/model/IndexedCsvFile.java
85.71% <ø> (ø)

src/main/java/seedu/contax/storage/CsvManager.java
87.80% <ø> (ø)

src/main/java/seedu/contax/ui/ResultDisplay.java
0.00% <ø> (ø)

src/main/java/seedu/contax/ui/TextStyleHelper.java
91.07% <ø> (ø)

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 bbc0c48...d7f20e5. Read the comment docs.


Could not invoke RNGoogleSignin.Configure (Android).

Please make sure you have searched previous issues before opening a new issue.
yes, this issue is asked in previous issues.
Here is the link :- https://github.com/react-native-community/react-native-google-signin/issues/335
Expected Behavior
Signing gmail successfully.
Actual Behavior
I am using this module. I followed this. When i clicked google button  it shows an error like this.
Could not invoke RNGoogleSignin.Configure

react-native:- "0.57.3"
react-native-google-signin:- "^1.0.0-rc6"
cocoapods and GoogleSignIn pod version (if applicable)
play-services-auth version:-

compile ('com.google.android.gms:play-services-gcm:15.0.0') {
        force = true;
        }

Here is my screenshot:-

Hi there! Sorry you're having an issue. As the issue template explains, we require that you provide a runnable example (please try reproducing the bug with our example app) that reproduces the bug in a github repository. Please try to minimize the superfluous code and focus only on reproducing the bug.
You might wonder, why are we strict about this? The reason is that there are only a small number of maintainers on this project and we volunteer our free time to fix issues and add new features. If it takes us 20 mins to reproduce a bug, that means there is 20 minutes less time for us to make actual improvements to the library, without even beginning to investigate solution to the bug.
please create a new issue with this and we'll be happy to review it!


Rails 5 support

Is this gem going to update its deps to have Rails 5 support?

What would you guys need from the community to get this updated?

@supercodepoet Rails 5 comparability has been resolved some time ago in https://github.com/eval/envied/pull/25 but hasn't been merged yet. I'm using this in my apps with success.

I'm helping out now with Envied. I just released version 0.8.2 which includes Rails 5 support. Let me know how it works out for you!


I think the FindInMapping here is wrong

https://github.com/aws-solutions/automated-security-response-on-aws/blob/5244c64437f7eeaf77790b6bd95e60a8087eda82/source/lib/common-orchestrator-construct.ts#L532C6-L532C20
This line was causing errors when I was deploying ASR into my organization. Not sure why "-reference" is appended to the bucket name. Worked when I removed it.

In the Build and Deploy section of the README, it is noted that the template bucket should have the "-reference" suffix.
Build and Deploy
AWS Solutions use two buckets: a bucket for global access to templates, which is accessed via HTTPS, and regional buckets for access to assets within the region, such as Lambda code. You will need:
One global bucket that is access via the http end point. AWS CloudFormation templates are stored here. It must end with "-reference. Ex. "mybucket-reference"
One regional bucket for each region where you plan to deploy using the name of the global bucket as the root, and suffixed with the region name. Ex. "mybucket-us-east-1"
Your buckets should be encrypted and disallow public access

Note: When creating your buckets, ensure they are not publicly accessible. Use random bucket names. Disable public access. Use KMS encryption. And verify bucket ownership before uploading.


get_access_token sometimes takes 15 minutes

Reported by @mjschleich: https://relationalai.slack.com/archives/C02C9AV2LL9/p1668007419606699?thread_ts=1667812922.071439&cid=C02C9AV2LL9
Maybe related to #72

This is a call to https://login.relationalai.com/oauth/token (CNAME for auth0 I believe)
We don't see this issue in other SDKs, which call the same auth0 api

log:
https://github.com/RelationalAI/basic-workloads-benchmarks/actions/runs/3428102313/jobs/5711932699#step:7:316
┌ 2022-11-09T13:45:01.915<PHONE_NUMBER>659475976 Info:
└   get_access_token HTTP request took<PHONE_NUMBER>57

@grigoris-karvounarakis also mentioned this in the R&D doc.
If anyone has a consistent repro, let us know — would help our resident HTTP.jl expert, @quinnj, dig into this…

It happens fairly often in the AT&T experiments, but that's not really suitable for a quick reproduction (takes at least an 1h to run). We can easily add more instrumentation to our runs if that helps tho.

Note: This issue has been migrated to https://relationalai.atlassian.net/browse/RAI-7871.
This link is only accessible to employees of RelationalAI.


JSON key color is too bright

Thanks for great work. This is the best dark theme satisfy my taste I ever meet.neat and a little sexy.
When I open a big JSON file, the most color is bright white. So, I think it may be better to color the JSON key like ts Object key.
JSON key:

Ts object key:

Looks like I need to add a token for constant.numeric.json


SOLR-9509 Fix problems reported by shellcheck

https://issues.apache.org/jira/browse/SOLR-9509
I used a shellcheck plugin to IntelliJ to fix these. I skipped several suggestions since I don't want to use "new" switches for various tools which  may break back-compat. These were :

SC2009 (info): Consider using pgrep instead of grepping ps output.
SC2162 (info): read without -r will mangle backslashes.

Also you will still find complaints about this one

SC1090 (warning): ShellCheck can't follow non-constant source. Use a directive to specify location.

A few places we accept $FOO as string input from user, and then redefined as array FOO = ("bar"), which I guess is an anti pattern. I fixed it one place, but we still have some of them.

There's a bug somewhere, trying to hunt down...

I'm ready to merge this. I ran gradlew integrationTests to exercise the script with BATS tests, and all 34 passed. That's a good sign.


fix: change to beforeAll and afterEach in runtime tests

turned out that this does not help speeding up runtime tests


Possibly rethink "Close" of LogModal to disambiguate "ending pipeline or not"

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/1432
Originally created by @derek-knox on 2019-12-11 21:16:00

This came up in a prospect call. A simple wording improvement should be enough.

View 3 previous comments from the original issue on GitLab


Docker image

In order to make this easier to use for users what about creating a dedicated docker image and also a docker-compose file to run this along with the sql server?

Hi Daniel,
We treat this code as demo and do not recommend using it in the production environment. In the description of the project we explain why (main reason: the data from the sensors should be pushed to a queue, so the device gets the ACK from the server asap and goes to power saving mode quickly). If you want to use an optimised application that communicates with the sensors over CoAP and pushes the data to your application over REST, we recommend using our CoAP loader: https://getefento.com/library/efento-nbiot-sensors-coap-loader-integration/

On 18 Apr 2024, at 15:00, Daniel Lando @.***> wrote:
In order to make this easier to use for users what about creating a dedicated docker image and also a docker-compose file to run this along with the sql server?
—
Reply to this email directly, view it on GitHub https://github.com/efento/NB-IoT-sensors-integration/issues/13, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEXK542QW33GYCL33BDDSO3Y567VVAVCNFSM6AAAAABGNHJXEKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI2TANRTHA4TQMI.
You are receiving this because you are subscribed to this thread.

And is there a docker image for the coap loader?


fix(python-extract-bloc): added special condition for extract var where there is nothing after the expression to extract on the same line

@teddylear This will fix the issue outlined by #235. Turns out the check in the utils to see if the node was included in the given containing node was not inclusive, causing problems if there was nothing else on the line after the expression to be extracted. Just wanted to see what you thought about this before merging because it messes with the utils, but on the other hand it should fix the problem for any language in the future. Take a look and let me know what you think!
P.S. You can disregard the second commit, just an inconsistency I spotted in the README, might as well just do it in the same PR.

LGTM!