Importing WasiResult results in error requiring other WasiResult properties

I import in WasiResult in my command file (I'm working on #60 and #48) to check if I can open a file. However, when I assign the result of fs.openFile(fileName: string) - TypeScript is saying I need other properties. Is this is the proper way of opening a file? Or am I doing something incorrectly? If am I doing something wrong, @willemneal is there an example of opening a file and checking the result the right way?
This is the screenshot of the error:

Ah yes, this is an issue I came across myself.  WasiResult is declared in types/wasa/index.d.ts, but is defined in the file you imported.  These differ because isReference is a private field and the declared class only has public methods and fields but also doesn't include the fields first and second.
Funny enough, the reason that this is triggered is because you added the type annotation; the left side was typed with the global definition and the right was typed with the import, which is type checked by VSCode.  TS and AS both use type inference (you only need to supply them if it is unclear.
For example, let x = 1;  could mean that x is a float or an int, so the type couldn't be inferred. Whereas fs.openFile's type signature means that the compiler knows that the type of openFile will be fs.openFile's return type.
To check out examples checkout echo or cat.  In either case you shouldn't have to import the types defined in types/wasi/index.d.ts or types/wasa/index.d.ts.
As for tests I'm about to make a PR that cleans them up.  You will be able to use the global definitions without importing them.

The updated cat and echo examples were helpful and make things more clear. Thanks!

No problem! I see you're now working on tempdir, are you still doing to?

Yes - I already started and had most of the code working on tempdir before your directory fixes, which is when I starting working on to. I just decided to fix a few things and do both.


Feature request for Loudness analyzer - analyze time selection for master output

Hi.
Could it be done the loudness analyzer would analyze the time selection of the master output.
It would basically just create a temporary master export file any analyze it.  That would save a lot of time when mastering for broadcast.
If I chose Analyze selected track and select Master track it will not work.
Thank you

Br,
Dali

Hi,
as you noticed, loudness analyzes as implemented in SWS currently only works on files not, realtime output.
So doing it via a temporary render as you suggested would be the way to go indeed.
However, afaik we don't have currently full access to render / render settings so it can't be completely automated.
I've just uploaded a script to ReaPack which maybe comes close enough though. ('Analyze loudness of master output in time selection (via temp render).lua')

(It automatically deletes the rendered temp file after analyzing also on HD to avoid file clutter.)
Note that to properly work you must make the following settings in the Render dialog before:

If you give it a try, let me know how it works for you.

Hi.
Thank you.
I have just installed Reapack and I don't see this script among 1013 packages included.
What am I missing?
Thank you
Br,
Dali

I have imported a repository using this link.
Use this link for importing:
https://raw.githubusercontent.com/nofishonfriday/ReaScripts/master/index.xml
27 packages will install OK, but not this one :(
https://github.com/nofishonfriday/ReaScripts/raw/c5481914f055cb01f61c30bbd55333bbac4c59a3/Loudness/Analyze loudness of master output in time selection (via temp render).lua:
HTTP response code said error (22): The requested URL returned error: 404 Not Found
Thank you
Br,
Dali

Sorry for the trouble.
I tend to forget mentioning that my ReaPack repo must be imported manually into ReaPack.
But you figured that out meanwhile. :)
I also could reproduce the HTTP response code error, not sure what went wrong there, but please do a 'Synchronize packages' in ReaPack and then try installing again, should be fixed now (it's here at least).
Let me know...

It works great , thank you.
I don't like that I need to change project render dialog back and forth as those paths and settings are project specific, but I am aware of limitation though.
Thank you!
Br,
Dali

Needs REAPER API addition.

Since necessary API was added in REAPER 5.974, a script doing this is now available in ReaPack: 'Analyze loudness of master output in time selection (via temp render)'.
(via nofish ReaScript repository)


fix: enforced light mode

coverage: 97.335% (-0.3%) from 97.604%
when pulling f89c770691e3c9ca4e1198ca4f9ab18f9ddf18d6 on fix/enforced_light_mode
into 9201725cf4b90274825e51145dfd131eb395d158 on master.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Update to use new Artsy-* pods

This makes it feasible for non-Artsy staff to clone the repo. Fixes https://github.com/artsy/emission/issues/418

Fails

:no_entry_sign:
Please assign someone to merge this PR, and optionally include people who should review.

  Generated by :no_entry_sign: dangerJS


Update to 10.2.27

This RPM spec file needs to be updated to upstream version 10.2.27.  If you aren't familiar with RPM spec files, check out this guide.  The end result should look something like this.

Thanks @blackfile for taking care of this.  The update has been published to the testing repo.


downloadable tla+ specs

Hi guys,
I'd like to play the TLA+ specs from appendix A and B (for IR and TAPIR) of your technical report (https://syslab.cs.washington.edu/papers/tapir-tr-v2.pdf).
Would you mind adding the plain text spec files to this repo?  It's a big pain to extract them from the typeset PDF.
Thank you!
Jason

Irene added these.


Replace linker with explicit Cuda generic definition

This is VERY work-in-progress.
While the custom linker is very convenient, it breaks on some platforms and relies on internal rustc behaviour. Furthermore, it is completely outside the normal build process.
This new approach replaces inferring the required monomorphised Cuda kernels with explicitly declaring them. While this is certainly less plug-and-play, it allows for stricter type checking during build time (and most of the ugly declaration complexity can be hidden behind macro rules anyways). Furthermore, it can be very neatly be integrated with an existing Cuda kernel module and allows for more customisation.
TODO:

[x] General kernel declaration and compilation
[x] Kernel argument attributes and automatic CUDA representation wrap + unwrap
[x] Statically check kernel argument bounds
[x] PTX JIT integration (move into Rust-Cuda as well)

[x] Emit markers into PTX
[x] Integrate with lazy compilation on CPU side

[x] (Optional) Mangled kernel names to avoid mismatches
[x] Integration with rustacuda launch architecture
[ ] non-aliasing value buffer single-element slice type
[x] Don't run kernel compilation during clippy / analysis - either only check generic fn or no kernel at all (might still require ptx-linker)

Codecov Report

Merging #23 (7e26130) into main (d9df9bc) will increase coverage by 19.24%.
The diff coverage is 75.98%.

@@             Coverage Diff             @@
##             main      #23       +/-   ##
===========================================
+ Coverage   20.30%   39.54%   +19.24%
===========================================
  Files          97       70       -27
  Lines        4969     4602      -367
===========================================
+ Hits         1009     1820      +811
+ Misses       3960     2782     -1178

Impacted Files
Coverage Δ

rust-cuda/src/lib.rs
100.00% <ø> (ø)

rustcoalescence/algorithms/cuda/kernel/src/lib.rs
100.00% <ø> (ø)

rustcoalescence/algorithms/cuda/src/lib.rs
1.23% <0.00%> (+0.02%)
:arrow_up:

rust-cuda/rust-cuda-derive/src/lib.rs
76.74% <76.69%> (-5.08%)
:arrow_down:

rust-cuda/rust-cuda-derive/src/lend_to_cuda.rs
99.16% <100.00%> (ø)

rust-cuda/rust-cuda-ptx-jit/src/lib.rs
100.00% <100.00%> (ø)

necsim/core/src/reporter/used.rs
0.00% <0.00%> (ø)

necsim/plugins/core/src/import/serde.rs
0.00% <0.00%> (ø)

rustcoalescence/src/cli/replay.rs

...age_store/coherent/globally/almost_infinite/mod.rs

... and 24 more

Continue to review full report at Codecov.

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


What's the default Admin account?

Thanks advance~

Have a look at:
http://www.opengee.org/geedocs/answer/3470759.html

It appears that this question has been resolved. I'm going to close the issue. Feel free to open another issue or send a message on slack if you have more problems.


Don't build model_config_pb2

Instead of building the model_config.proto file, just use the one thats
installed with tritonclient instead

rerun tests


Add max time for command executions

The automatic termination can be canceled when in an interactive terminal by pressing a key during a 30 second safe-period.

Doesn't bite when e2e is stuck outside of pharos..

Without something like this, some commands may hang forever. For example, I've had this for an hour now:
    [host-00] Waiting for etcd to respond ...


Issue 67

This change is to remove url and opt out switch from pop up UI when on a local chrome page

@kalicki1, could you review and approve the PR if it is OK?


Remove remove_indices

Which issue does this PR close?

Closes #1482.
Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

Codecov Report

Merging #1490 (b13bfa5) into master (6bf3b3a) will increase coverage by 0.03%.
The diff coverage is 85.71%.

@@            Coverage Diff             @@
##           master    #1490      +/-   ##
==========================================
+ Coverage   82.72%   82.76%   +0.03%
==========================================
  Files         188      188
  Lines       54286    54241      -45
==========================================
- Hits        44908    44891      -17
+ Misses       9378     9350      -28

Impacted Files
Coverage Δ

parquet/src/arrow/array_reader.rs
86.79% <85.71%> (+2.43%)
:arrow_up:

arrow/src/compute/kernels/take.rs
95.41% <0.00%> (+0.13%)
:arrow_up:

parquet_derive/src/parquet_field.rs
65.98% <0.00%> (+0.22%)
:arrow_up:

Continue to review full report at Codecov.

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

Thank you @viirya  and @tustvold


[Issue/Bug]: get_is_discord_working is always false

What happened?
Hy, i wanted to implement discord rpc to a project, but the get_is_discord_working() always returns false no matter what i do (the value of result is 4).
i even tried it with the example code in DiscordRPCTutorial class. but still the same error (This time i am using an empty project with just the add-on installed and enabled).
Please help
https://github.com/user-attachments/assets/0830c9bf-0dd9-499b-8d69-e3f626a22a27
Version
1.3.1
Godot Version
4.3 stable
Exact steps to reproduce this error
in video
GDScript
class_name DiscordRPCTutorial
extends Node

## 1. Put the addons/ folder in your Godot project[br]
## 2. Enable the addon in your Project Settings under "Plugins" and "DiscordRPC". [br](if it doesn't show up restart your project and try again)[br]
## 3. Restart your project[br]
## 4. Create an Application under https://discord.com/developers/applications and get the Application ID br]
## 5. (optional) Set images under "Rich Presence" and "Art Assets" and remember the keys[br]
##
## This is your [code]_ready()[/code] function wich could be anywhere
## [codeblock]
func _ready():
	# Application ID
	DiscordRPC.app_id =<PHONE_NUMBER>065324082
	# this is boolean if everything worked
	print("Discord working: " + str(DiscordRPC.get_is_discord_working()))
	# Set the first custom text row of the activity here
	DiscordRPC.details = "A demo activity by vaporvee#1231"
	# Set the second custom text row of the activity here
	DiscordRPC.state = "Checkpoint 23/23"
	# Image key for small image from "Art Assets" from the Discord Developer website
	DiscordRPC.large_image = "game"
	# Tooltip text for the large image
	DiscordRPC.large_image_text = "Try it now!"
	# Image key for large image from "Art Assets" from the Discord Developer website
	DiscordRPC.small_image = "boss"
	# Tooltip text for the small image
	DiscordRPC.small_image_text = "Fighting the end boss! D:"
	# "02:41 elapsed" timestamp for the activity
	DiscordRPC.start_timestamp = int(Time.get_unix_time_from_system())
	# "59:59 remaining" timestamp for the activity
	DiscordRPC.end_timestamp = int(Time.get_unix_time_from_system()) + 3600
	# Always refresh after changing the values!
	DiscordRPC.refresh()
## [/codeblock]
##
## @tutorial(More information here): https://github.com/vaporvee/discord-rpc-godot/wiki/Quick-start
## @tutorial(Make your Application ID and else here): https://discord.com/developers/applications

Godot output
Discord working: false

Additional information
Editor presence also doesn't seem to work, this is what i am getting.
- core/variant/variant_utility.cpp:1112 - EditorPresence couldn't be loaded! Maybe your Discord isn't running?
Set enabled

(I have Discord open as both app and in browser)
My system is:
Kernel: 5.15.0-119-generic x86_64 bits: 64 compiler: gcc v: 11.4.0 Desktop: Cinnamon 6.0.4
tk: GTK 3.24.33 wm: muffin vt: 7 dm: LightDM 1.30.0 Distro: Linux Mint 21.3 Virginia
base: Ubuntu 22.04 jammy
Checks

[X] I tried reinstalling the addon or tried to fix it myself with other methods.
[X] I tried restarting Discord and Godot completely.
[X] I did read the documentation https://vaporvee.com/docs/discord-rpc-godot/

Browser would never work with it but did you install discord via flatpack?

Browser would never work with it but did you install discord via flatpack?

i think i did (let me check)

Thank's for the quick response, it's now working with the (.deb) version.
Thanks soo much

nice glad i could help :) i will update the troubleshooting as son as possible because i have many duplicates recently


HDFS-15694. Avoid calling UpdateHeartBeatState inside DataNodeDescriptor

NOTICE
Please create an issue in ASF JIRA before opening a pull request,
and you need to set the title of the pull request which starts with
the corresponding JIRA issue number. (e.g. HADOOP-XXXXX. Fix a typo in YYY.)
For more details, please see https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 47s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:

0m  0s
test4tests
The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
38m 52s

trunk passed

+1 :green_heart:
compile
1m 41s

trunk passed with JDK Ubuntu-<IP_ADDRESS>+1-Ubuntu-0ubuntu1.18.04

+1 :green_heart:
compile
1m 22s

trunk passed with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01

+1 :green_heart:
checkstyle
0m 49s

trunk passed

+1 :green_heart:
mvnsite
1m 31s

trunk passed

+1 :green_heart:
shadedclient
21m 13s

branch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
1m  4s

trunk passed with JDK Ubuntu-<IP_ADDRESS>+1-Ubuntu-0ubuntu1.18.04

+1 :green_heart:
javadoc
1m 42s

trunk passed with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01

+0 :ok:
spotbugs
3m 37s

Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
3m 34s

trunk passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m 20s

the patch passed

+1 :green_heart:
compile
1m 27s

the patch passed with JDK Ubuntu-<IP_ADDRESS>+1-Ubuntu-0ubuntu1.18.04

+1 :green_heart:
javac
1m 27s

the patch passed

+1 :green_heart:
compile
1m 18s

the patch passed with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01

+1 :green_heart:
javac
1m 18s

the patch passed

+1 :green_heart:
checkstyle
0m 50s

the patch passed

+1 :green_heart:
mvnsite
1m 31s

the patch passed

+1 :green_heart:
whitespace
0m  0s

The patch has no whitespace issues.

+1 :green_heart:
shadedclient
19m 20s

patch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
0m 56s

the patch passed with JDK Ubuntu-<IP_ADDRESS>+1-Ubuntu-0ubuntu1.18.04

+1 :green_heart:
javadoc
1m 30s

the patch passed with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01

+1 :green_heart:
findbugs
3m 31s

the patch passed

_ Other Tests _

-1 :x:
unit
100m 45s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
0m 42s

The patch does not generate ASF License warnings.

207m 49s

Reason
Tests

Failed junit tests
hadoop.hdfs.TestReplaceDatanodeOnFailure

hadoop.hdfs.TestSafeModeWithStripedFile

hadoop.hdfs.TestBlockTokenWrappingQOP

hadoop.hdfs.server.namenode.ha.TestUpdateBlockTailing

hadoop.hdfs.server.balancer.TestBalancer

hadoop.hdfs.TestErasureCodingMultipleRacks

hadoop.hdfs.TestClientProtocolForPipelineRecovery

hadoop.hdfs.server.datanode.TestDataNodeErasureCodingMetrics

hadoop.hdfs.TestDistributedFileSystem

hadoop.hdfs.TestReconstructStripedFileWithRandomECPolicy

hadoop.hdfs.server.blockmanagement.TestUnderReplicatedBlocks

hadoop.hdfs.TestDecommissionWithStriped

Subsystem
Report/Notes

Docker
ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2487/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/2487

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle

uname
Linux b5d74bebd747 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / c4ba0ab7dfc

Default Java
Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-<IP_ADDRESS>+1-Ubuntu-0ubuntu1.18.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2487/2/testReport/

Max. process+thread count
4749 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2487/2/console

versions
git=2.17.1 maven=3.6.0 findbugs=4.0.6

Powered by
Apache Yetus 0.13.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
26m 24s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:

0m  0s
test4tests
The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
33m 42s

trunk passed

+1 :green_heart:
compile
1m 18s

trunk passed with JDK Ubuntu-<IP_ADDRESS>+1-Ubuntu-0ubuntu1.18.04

+1 :green_heart:
compile
1m 13s

trunk passed with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01

+1 :green_heart:
checkstyle
0m 48s

trunk passed

+1 :green_heart:
mvnsite
1m 25s

trunk passed

+1 :green_heart:
shadedclient
21m 14s

branch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
1m  2s

trunk passed with JDK Ubuntu-<IP_ADDRESS>+1-Ubuntu-0ubuntu1.18.04

+1 :green_heart:
javadoc
1m 35s

trunk passed with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01

+0 :ok:
spotbugs
3m 34s

Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
3m 31s

trunk passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m 22s

the patch passed

+1 :green_heart:
compile
1m 34s

the patch passed with JDK Ubuntu-<IP_ADDRESS>+1-Ubuntu-0ubuntu1.18.04

+1 :green_heart:
javac
1m 34s

the patch passed

+1 :green_heart:
compile
1m 13s

the patch passed with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01

+1 :green_heart:
javac
1m 13s

the patch passed

+1 :green_heart:
checkstyle
0m 49s

the patch passed

+1 :green_heart:
mvnsite
1m 25s

the patch passed

+1 :green_heart:
whitespace
0m  0s

The patch has no whitespace issues.

+1 :green_heart:
shadedclient
18m 46s

patch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
0m 58s

the patch passed with JDK Ubuntu-<IP_ADDRESS>+1-Ubuntu-0ubuntu1.18.04

+1 :green_heart:
javadoc
1m 39s

the patch passed with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01

+1 :green_heart:
findbugs
4m  5s

the patch passed

_ Other Tests _

-1 :x:
unit
126m 57s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
0m 43s

The patch does not generate ASF License warnings.

254m  5s

Reason
Tests

Failed junit tests
hadoop.hdfs.TestDFSMkdirs

hadoop.hdfs.TestDFSStripedOutputStreamWithFailure

hadoop.hdfs.TestErasureCodingPoliciesWithRandomECPolicy

hadoop.hdfs.TestDFSStripedInputStreamWithRandomECPolicy

hadoop.hdfs.client.impl.TestBlockReaderLocal

hadoop.hdfs.TestFileChecksumCompositeCrc

hadoop.hdfs.TestDistributedFileSystemWithECFileWithRandomECPolicy

hadoop.hdfs.TestMultipleNNPortQOP

hadoop.hdfs.server.blockmanagement.TestBlockTokenWithDFSStriped

hadoop.hdfs.TestReconstructStripedFileWithRandomECPolicy

hadoop.hdfs.server.blockmanagement.TestUnderReplicatedBlocks

hadoop.hdfs.TestReadStripedFileWithDecoding

hadoop.hdfs.TestErasureCodingPolicies

hadoop.hdfs.TestDFSStripedOutputStreamWithRandomECPolicy

hadoop.hdfs.TestViewDistributedFileSystem

hadoop.hdfs.server.balancer.TestBalancer

hadoop.hdfs.TestDFSStripedOutputStreamWithFailureWithRandomECPolicy

hadoop.hdfs.server.blockmanagement.TestBlocksWithNotEnoughRacks

Subsystem
Report/Notes

Docker
ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2487/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/2487

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle

uname
Linux bc9d6a0c7d61 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / c4ba0ab7dfc

Default Java
Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-<IP_ADDRESS>+1-Ubuntu-0ubuntu1.18.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2487/1/testReport/

Max. process+thread count
4188 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2487/1/console

versions
git=2.17.1 maven=3.6.0 findbugs=4.0.6

Powered by
Apache Yetus 0.13.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 36s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  1s

No case conflicting files found.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:

0m  0s
test4tests
The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
32m 50s

trunk passed

+1 :green_heart:
compile
1m 22s

trunk passed with JDK Ubuntu-<IP_ADDRESS>+1-Ubuntu-0ubuntu1.18.04

+1 :green_heart:
compile
1m 15s

trunk passed with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01

+1 :green_heart:
checkstyle
0m 50s

trunk passed

+1 :green_heart:
mvnsite
1m 19s

trunk passed

+1 :green_heart:
shadedclient
17m 32s

branch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
0m 55s

trunk passed with JDK Ubuntu-<IP_ADDRESS>+1-Ubuntu-0ubuntu1.18.04

+1 :green_heart:
javadoc
1m 27s

trunk passed with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01

+0 :ok:
spotbugs
3m  7s

Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
3m  5s

trunk passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m  9s

the patch passed

+1 :green_heart:
compile
1m 13s

the patch passed with JDK Ubuntu-<IP_ADDRESS>+1-Ubuntu-0ubuntu1.18.04

+1 :green_heart:
javac
1m 13s

the patch passed

+1 :green_heart:
compile
1m  4s

the patch passed with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01

+1 :green_heart:
javac
1m  4s

the patch passed

+1 :green_heart:
checkstyle
0m 39s

the patch passed

+1 :green_heart:
mvnsite
1m  9s

the patch passed

+1 :green_heart:
whitespace
0m  0s

The patch has no whitespace issues.

+1 :green_heart:
shadedclient
14m 37s

patch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
0m 48s

the patch passed with JDK Ubuntu-<IP_ADDRESS>+1-Ubuntu-0ubuntu1.18.04

+1 :green_heart:
javadoc
1m 19s

the patch passed with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01

+1 :green_heart:
findbugs
3m  4s

the patch passed

_ Other Tests _

-1 :x:
unit
96m  8s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
0m 43s

The patch does not generate ASF License warnings.

185m  6s

Reason
Tests

Failed junit tests
hadoop.hdfs.server.balancer.TestBalancer

hadoop.hdfs.TestRollingUpgrade

Subsystem
Report/Notes

Docker
ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2487/3/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/2487

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle

uname
Linux 1dcdcf3af76c 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 44910b53f38

Default Java
Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-<IP_ADDRESS>+1-Ubuntu-0ubuntu1.18.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2487/3/testReport/

Max. process+thread count
3969 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2487/3/console

versions
git=2.17.1 maven=3.6.0 findbugs=4.0.6

Powered by
Apache Yetus 0.13.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2487/3/testReport/

I have checked the classes TestBalancer and TestRollingUpgrade which seem to be intermittent in the qbt reports.
I tested them locally and they pass.
I will check if a new jira needs to be filed for those two tests.


Missing copy.py file on network-programmability-stream/netbox/ example

Hello Dimitri
I am starting my journey in the network automation and i would like to thank you for the information you provide.
Indeed i believe it will help me reach a different level.
I have started by using your example to add devices to the netbox, that i am starting to configure in my organization, but it seems there is a missing dependeciy here.
the helper.py file is using i believe another file copy.py that i was not able to find.
Can you assist me here
Regards
Jose

Hi Jose,
copy is a standard python module and doesn't need to be included in the project files.


Resque Pool 0.4.0

Do you have a list of blockers or issues for this release? I'm writing an article on using resque-pool with heroku and would love to be able to use ERB in my YAML files (looks like a feature of 4.0.0 only).
Thanks for this library btw, it was easy to set up and did exactly what I expected it to do :heart:

FYI: I finally released 0.4.0 with the changes your article referenced.  I also released 0.5.0-rc1 with some other heroku/TERM_CHILD related changes (which I haven't tested on heroku myself yet).  Thanks!


resolves issue where linux can't connect if appostrophes in ap/password

this resolves any instance where an access point has an apostrophe in the ssid (typical for any iPhone hotspots for instance).

Hi,
Do you think this correction whoul now fail if there are quotation marks in the wifi ssid or password?

I would be surprised if it did.l, although it is possible. They tend to get escaped as well. And this simply translates the results to the command line. I could give it a try. But not a lot of time today.

@friedrith any further needs here? this should be a non-breaking change.


Can't login to Codewars using my GitHub account

I get the error message:
"Unknown GitHub user YousufRab. Sign up or link your account first."
My account is linked. I have tried unlinking from Github account settings and relinking it again through Codewars login but the error message persists.
Any help would be appreciated.
┆Issue is synchronized with this Clickup  by Unito

I am also having the same issue.

Try turning off any adblock plugins on your browser. It worked for me

help

Hi @chisem29, please reach out to our support team at<EMAIL_ADDRESS>for account issues :)


njRat decoder python error

Hi,
I guess something was changed with pype32 but when you currently run the following code
'for s in m.netMetaDataStreams[dir_type].info'
it does not work beacuse m.netMetaDataStreams is a list an does not accept #US as a value, the whole function actually doesnt work because the list only contains strings which you cannot use .iteritems() on either.

Thanks. Will fix today

Fixed and tested all the affected decoders.
Testing using the latest version of pype33 - https://github.com/crackinglandia/pype32/
Re Open if you still have issues.
Thanks again

Still doesn't work, like i mentioned in the post, since pype32 returns a string instead of a dictionary now an error shows up when you try to invoke .iteritems() on a string

You need to make sure you are using the latest version of pype32 from the github not from pip.
root@GitHub:~/github/RatDecoders# python njRat.py /mnt/malware/samples/nJRat/0.5e/755a6569c762af20b907a75304b80777d5ea9344a7c3098cc8827cbf6a159d1e.exe
[+] Reading file
[+] Searching for Config
[+] Printing Config to screen
   [-] Key: Campaign ID  Value: HacKed
   [-] Key: Domain       Value: yesrko.no-ip.org
   [-] Key: Install Dir  Value: TEMP
   [-] Key: Install Flag         Value: False
   [-] Key: Install Name         Value: cccam.exe
   [-] Key: Network Separator    Value: |'|'|
   [-] Key: Port         Value: 1177
   [-] Key: Registry Value       Value: 78f1c16b3b757b15f1f9ff331c84aa12
   [-] Key: version      Value: 0.5.0E
[+] End of Config
root@GitHub:~/github/RatDecoders#

Wierd, maybe my sample is incompatiable, im running pype32 version 0.1a4 which is the one that you from cloning the repository.
I get a "list index out of range" error now after reinstalling pype32

@Splinks make sure you're cloning the pype32 repo (or downloading the source as a zip in its current state) not grabbing that release version that is linked to from the README!

To be clear... all that has to be done is the following:
git clone https://github.com/crackinglandia/pype32
python setup.py install
This has to be done until the pype32 guys update the release version and the version found via pip.

To be clear... all that has to be done is the following:
git clone https://github.com/crackinglandia/pype32
cd pype32 ; python setup.py install
This has to be done until the pype32 guys update the release version and the version found via pip.

Pip is now up to date closing this.


Stop the status table from dancing

At the moment, when you are on the smoke detector status page, the table "dances" as it live updates, this makes it ugly to watch:

I suggest we fixate the "Last ping" column to a fixed width

@ferrybig Happen to know any HTML magic to do this? I've tried to do this before on many projects, but never hit a satisfactory way when in a responsive design.

One of the idea's that quickly popped up in my head for this issue is including "filler" content inside the header cells, or inside the actual content cells:
Last Ping

less than 5 seconds ago

This basically forces the column to have always the longest possible variant, and hence the browser never tries to play around with the width, as it never changes.
This solution is ideal if you have 1 long text compared to many short text. If you have multiple text from similar length, you need to include a few hidden texts, as font differences come into play.
This solution may look ugly, but we don't lose any responsive advantages this way, and it still works cross browser (Tested Chrome 65, Edge, Firefox 59)

I'm unable to get this to work (table still jumps). Would Bootstrap be playing games with it?

    Name

      Last Ping

...

Almost certainly Bootstrap.

If we really want to support screen readers, we could also add aria-hidden=true  to the div:
Last Ping

        less than 5 seconds ago

And I also added visibility: hidden; so search engines see it as hidden content, instead of real content. You could also add the attribute hidden in combination with style="display: block" to also support search engines who don't read css.
So the final thing becomes:
Last Ping

        less than 5 seconds ago

If this solution is inadequate, we can also use bootstraps column classes to lay out a table, you have different classes per device size


Update ace.d.ts

add config functions
for reference https://github.com/ajaxorg/ace/wiki/Configuring-Ace
also support $blockscrolling variable
referenced issue https://github.com/ajaxorg/ace/issues/2499

@shaban thanks mate!


[$250] Pay someone - Chat shows green dot in LHN after sending money (Pay someone)

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.66-2
Reproducible in staging?: Y
Reproducible in production?: Y
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:

Go to staging.new.expensify.com
Go to FAB > Pay someone.
Enter amount and select someone.
Pay the money.

Expected Result:
The chat will not show green dot in LHN.
Actual Result:
Chat shows green dot in LHN after sending money (Pay someone).
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
https://github.com/Expensify/App/assets/115492554/79d2783e-e485-4ad4-ae81-595ce752f0d9

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01d69b7e111b56a4ad
Upwork Job ID:<PHONE_NUMBER>964751360
Last Price Increase: 2024-04-26

We think this issue might be related to the #collect project.

May be related to https://github.com/Expensify/App/issues/39447. cc @roryabraham

Still awaiting proposals. @Ollyws or @roryabraham or @abdulrahuman5196 - do we think this is a dupe of https://github.com/Expensify/App/issues/39447?

Okay, well, still waiting on proposals anyway.

I can't recreate this anymore.


Hide video title and logo when load and pause?

Hi, can we hide logo and title from video?

did you find a solve ?
for me i used AbsorbPointer widget to wrap YoutubePlayerIFrame() so it cant be clicked by anyone then used a custom play,pause button below the player

I have the same issue. My workaround is to use iframeYoutubePlayerController..hideTopMenu(); and iframeYoutubePlayerController..hideEndScreen(); when the player state is load or pause.

After I update flutter to version 2.2. It works normal.

did anyone solve this issue? youtube watermark on bottom right cann't be hide..

@tuanbs's suggestion worked but it did not work for the first display of the player.
So I checked for PlayerState.unknown and hide the controls but that would show up for a few seconds before hiding.
So I put the code to hide the controls in the build method like this:
  @override
  Widget build(BuildContext context) {
    _controller.hidePauseOverlay();
    _controller.hideTopMenu();

    return YoutubePlayerIFrame(
      controller: _controller,
    );
  }

I have the same issue. My workaround is to use iframeYoutubePlayerController..hideTopMenu(); and iframeYoutubePlayerController..hideEndScreen(); when the player state is load or pause.

For me, The method 'hideEndScreen' isn't defined for the type 'YoutubePlayerController'. How did you manage this solution @tuanbs please ?

@Pielgrin any update on this same thing is coming for me  The method 'hideEndScreen' isn't defined for the type 'YoutubePlayerController'

@Pielgrin @jaskiratAtNexG He is using youtube_player_iframe created by the same person as this package.

@sarbagyastha I tried passinghideTopMenu() using evaluatejavascript method of webviewcontroller in initistate of my widget but it doesn't seem to work.

@sarbagyastha any update?

any update on this?


[Bug]: [SOLVED] Screenshot file always created at root of vault

Bug Description
Whatever value the screenshot path variable {var: screenshot_path} takes, the screenshot OCR files OCR_screenshot.md is always generated at the root of the vault.
Turns out the path description in the workflow omits the variable altogether(see screenshot)
The path in the append to file action is:
{var:vault_path}/OCR-Screenshot.md
It should be:
{var:vault_path}/{var:screenshot_path}/OCR-Screenshot.md
Relevant Screenshot
No response
To Reproduce
Create a screenshot and check it out.
Debugging Log
Not necessary, the fix is in the bug description
Workflow Configuration
not necessary, one variable is affected
Version & System Information
-------------------------------
Metadata JSONs: 3/3
-------------------------------
INSTALLED VERSION
macOS: 12.1
Obsidian: 0.13.21
Alfred: 4.6.1
Workflow: 2.18.6
Advanced URI Plugin: 1.17.0
Metadata Extractor: 0.2.4
-------------------------------
LATEST VERSION
Obsidian: 0.13.19
Obsidian (Insider): 0.13.21
Workflow: 2.18.6
Advanced URI Plugin: 1.17.0
Metadata Extractor: 0.3.1
-------------------------------

Make sure you have done the following

[X] I have updated to the latest version of this workflow.
[X] I have read the Troubleshooting Documentation.
[X] If the o ... main search does not work, I have tried rerunning osetup and it still does not work.

actually not a bug, the setting screenshot_path was simply only meant for image screenshot :P
I have added a separate setting to set the target file for OCR to release 2.19.0 though


[stable/mongodb] Enable MongoDB exporter for prometheus.io

https://github.com/dcu/mongodb_exporter

/assign @tompizmor

Hi @juan131
I definitely though about that, of course it was my first approach, but right now there isn't any official docker image for this exporter, even the fork https://github.com/percona/mongodb_exporter which is much more up-to-date does not offer an official image, I really didn't want to create a fork of a fork and create an image cause then wont maintaining it will be very hard, also there are no compiled releases except for the one I'm using in this PR.
I totally agree with you that this solution is far from ideal, another option would be to use HELM post-hooks to run the exporter, I'm very open to hear other (more elegant) solutions that you might have in mind.

@tompizmor you had been looking for MongoDB exporters in the past, hadn't you? Do you have any clue if there's any maintained image we can use?
We could also create the image and keep updated from CVEs and so on.. As long as the Golang MongoDB exporter is maintained. What do you think? @carrodher @javsalgar

@juan131 @carrodher @javsalgar @sekka1 :bump:

@juan131 I took you advice and followed the rabbitmq-ha approach, so I'm closing this one in favor to https://github.com/kubernetes/charts/pull/6601


maintenanceConfigurations supported offset range

Why do maintenanceConfigurations only support an offset range of -6 through +6
Microsoft updates as you know are released the 2nd Tues of each month aka 'patch Tuesday' therefore that's the recurring schedule to be used with a number of offsets. Need to offset more than +6 days
This is currently possible with the automation account update management solution but not with the new Azure Update Management (AUM) due to this limitation within maintenanceConfigurations.
We have to migrate to AUM before August due to MS depreciating the Log Analytics agent.

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

ID: 6013fd67-bd1e-9bf3-1d7f-a35e7f07452a
Version Independent ID: e8204913-3084-bc71-e0f2-eb7344430f5a
Content: Programmatically manage updates for Azure VMs
Content Source: articles/update-manager/manage-vms-programmatically.md
Service: azure-update-manager
GitHub Login: @SnehaSudhirG
Microsoft Alias: sudhirsneha

@lukelloydagi
Thanks for your feedback! We will investigate and update as appropriate.

@SnehaSudhirG thanks but how do I get updated with the status of the 'internal work item' ?


Add quip loader

Description: implement quip loader
Issue: https://github.com/langchain-ai/langchain/issues/10352
Dependencies: No
pass make format, make lint, make test

@eyurtsev can you help to take a look ?

we should also add an example notebook in the integrations documentation

added.

@hwchase17 can you help to take a look ?

thank you @baskaryan

thanks @shufanhao!

@baskaryan when the new package can be released ?

Does this still work? I'm not able to fine a quip-api in the pip index?

Does this still work? I'm not able to fine a quip-api in the pip index?

I'm not sure if it ever was, there is this version https://github.com/dvwright/quipclient/tree/master.
Perhaps the langchain module should be updated to use this instead.


Use the provided APP_DIR in Dockerfile.

The aa8y/sbt image provides an APP_DIR location which is /usr/src/app. This is provided through it's base image aa8y/core (See: https://github.com/aa8y/docker-core/blob/master/jdk8/Dockerfile). This PR changes the Dockerfile to use that directory. This is to prevent the build from breaking in the future.

@catena2w or @kushti Can you guys please review this?


fix #180695

fix #180695
Adopt atomic write for user data.

@bpasero Can you please check if it is not causing any regressions with UNC paths?

@sandy081 I had pushed a change already to ensure file scheme is used when fsPath is used:
https://github.com/microsoft/vscode/commit/4f424db46e05e241a7f3440384bd82b7ea393b17


CachedImage inside a ContentView

Hi Daniel.
I have a problem with your lib
When I add a CachedImage inside a ContentView, it does not display the image.
If I move it outside the contentview... it displays image.

Hi @acaliaro,

What platform? If Android, do you have FastCachedImageRenderer enabled?
Could you share some code?

Hi @daniel-luberda
If I remember correctly, I have tried with CachedImageRenderer.Init(); and CachedImageRenderer.Init(false);
I do some tests and send you more info (or a repo...)

It may be related to this: https://github.com/luberda-molinet/FFImageLoading/issues/830

Any news?


Update builtins libraries

It shall fix issues in google infra regarding debug info format

Updating libclc now generates vec8 when compiling pow.


Is ServiceBusTrigger supported at all?

[FunctionName("ServiceBusTest")]
public static async Task ServiceBusTest(
    [ServiceBusTrigger("qwerty", Connection = "MyConnectionString")] string message)
{ }

throws "Microsoft Azure WebJobs SDK ServiceBus connection string 'MyConnectionString' is missing or empty." before Main() is called so I have no way of providing a connections string.

Did you provide a value for MyConnectionString in the local.settings.json file?

@jeffhollan my connection strings are in KeyVault I can't put it in local.settings.json or any other .json

I think @anthonychu may have been tweeting about a similar case.  I believe we have validation right now that is a bit too strict to throw when we don't see a key/value in local.settings.json.  I assume you've set up some configuration pipeline to load the secrets from key vault during startup, you may just have to put a placeholder value in local.settings.json to get around the validation for now?  Not positive.

@jeffhollan I'll try that, thank you!

No, I don't think it works. I put a mock connections string to local.settings.json and I'm seeing hundreds of

before Main() is called. It seems current preview is trying to setup all triggers before calling Main().

The other issue I created seems to be about the same: https://github.com/Azure/azure-functions-dotnet-worker-preview/issues/38
I've tried to define a function like this:
[FunctionName(nameof(TimerTest))]
public async Task TimerTest(
    [TimerTrigger("%EveryMinute%", RunOnStartup = false)]
    MyTimerInfo myTimer)
{ }

then I added this to local.settings.json:
{
  "IsEncrypted": false,
  "Values": {
    "AzureWebJobsStorage": "UseDevelopmentStorage=true",
    "FUNCTIONS_WORKER_RUNTIME": "dotnet-isolated",
    "EveryMinute": "9000.00:00:00"
  }
}

and this to Program.cs
var host = Host.CreateDefaultBuilder(args)
    .ConfigureAppConfiguration((context, configurationBuilder) =>
    {
        configurationBuilder
            .AddInMemoryCollection(new[]
            {
                new KeyValuePair<string, string>("EveryMinute", "0 * * * * *"),
            });
    })
... // the rest is the same as in the example app

And the result is I'm seeing this

before Main() is called. So clearly TimerTrigger was initialized with values from local.settings.json and whatever I have in ConfigureAppConfiguration() was ignored / called too late.

@Mithras opening an issue to investigate the problem with service bus
For the trigger configuration, that is an expected limitation at the moment. As you found, the configuration in the worker applies to that context only and what gets applied in the host doesn't have any access to that. Will also open an issue to track.

@fabiocav I think it's the same issue. Host and user process don't have to use the same configuration but we need some extension point to be able to provide secrets to the host. Something as simple as a class with some attribute will do. Similar to
[assembly: WebJobsStartup(typeof(Startup))]
or
[assembly: FunctionsStartup(typeof(Startup))]

One of the goals of the new model is not do load any customer assemblies in the host process. I kept the design details out of the discussion as the approach there will be different and transparent to the end user. Once this is in place, your scenario would just work with the standard setup.

I was also hoping something like this would work:
  .ConfigureAppConfiguration((context, config) =>
  {
      if (context.HostingEnvironment.IsDevelopment() == false)
      {
          var credential = new Azure.Identity.DefaultAzureCredential();

          config.AddAzureKeyVault(new Uri($"https://{context.Configuration["KeyVaultName"]}.vault.azure.net/"), credential);
      }
  })

For triggers, this won't be supported at GA. The alternative here is to use App Service Key Vault references in the meantime (https://docs.microsoft.com/en-us/azure/app-service/app-service-key-vault-references)
I'm assuming you're looking to have this working for plans other than consumption, as that isn't supported, correct?


Documentation On Mail Usage

Hi. Hope all is well!
Looking for documentation on intended mail usage and examples. Is there anything available on this?
Also, what is the intended use for LazyMail?
Thanks!
@SeanzieDev @matt-stevenson

There are two examples of mail usage in https://github.com/pagemodel/page-model-tools/blob/0.8.6/docs/advanced-usage.md
I started some mail documentation a while ago.  I'll get it finished up soon, thanks for the push to get it done.
LazyMail does lazy loading of IMAP Message fields.  As mail is fetched and compared only the fields that are being compared are read from the IMAP Message.  The original implementation would do eager loading of all fields retrieving the body and attachments for every Mail Message which could be thousands of messages if using a shared testing accounts.
You should not need to use LazyMail yourself, it will be used by the system when you use Mail.fetchMail

Thank you so much!

I've added my mail documentation work in progress.  Still filling in some sections and adding example code, but there's some info that may be useful.
https://github.com/pagemodel/page-model-tools/blob/0.8.6/docs/mail-testing.md


Add Unicode Annex 31 methods to char

Rendered

I think this could probably be done as a PR to Rust directly rather than an RFC.

cc https://github.com/rust-lang/rust/pull/62848 which proposes to move in the opposite direction: remove these methods from libcore and use unicode_xid crate in the compiler.

https://github.com/rust-lang/rust/pull/62848 appears to have reached consensus for the opposite direction; does that amount to an agreement to close this one?

Yeah, I will definitely rescind this whole thing, if that's going to be the solution.

@notriddle is_xid_start and is_xid_continue were removed from libcore. rustc now uses unicode-xid crate as the source of truth for these definitions. And, if one is interested specifically in Rust definition of identifiers, there's rustc_lexer.
Based on the comment above I am going to optimistically close this issue and remove the nominated label, but please reopen if I misunderstood your intentions.


Addon management: Check for update

Check for updates for specific addon and update only those. Requires rework for the addon listing method.

this is a must.


[BiliBili] Add support to download paged videos

Please follow the guide below

You will be asked some questions, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your pull request (like that [x])
Use Preview tab to see how your pull request will actually look like

Before submitting a pull request make sure you have:

[x] At least skimmed through adding new extractor tutorial and youtube-dl coding conventions sections
[x] Searched the bugtracker for similar pull requests
[x] Checked the code with flake8

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[ ] Bug fix
[x] Improvement
[ ] New extractor
[ ] New feature

Description of your pull request and other information
The paged videos on BiliBili have urls like https://www.bilibili.com/video/av41213189?p=2 or https://www.bilibili.com/video/av41213189/?p=2. This PR add support to download videos with multi pages on BiliBili.

Can we get this merged please?

Please merge this PR! @dstftw

Someone please merge this!

Your code is great, I can watch bilibili's paged video on iina. Thank you very much. The bilibili.py has changed on ytdl-org:master. This pull request has conflicts with the master branch. I don't know the rule to merge, but I think the code is too old to merge.

Nice work.
Here have a patch to help this PR merge to 63dce3094bf45964b49a2c9f26c94b10cf60c2c2

bilibili.py.patch
diff --git a/bilibili.py b/bilibili.py
index 8e8492a..f1d0597 100644
--- a/bilibili.py
+++ b/bilibili.py
@@ -24,7 +24,19 @@ from ..utils import (

 class BiliBiliIE(InfoExtractor):
-    _VALID_URL = r'https?://(?:www\.|bangumi\.|)bilibili\.(?:tv|com)/(?:video/av|anime/(?P<anime_id>\d+)/play#)(?P<id>\d+)(?:/?\?p=(?P<page>\d+))?'
+    _VALID_URL = r'''(?x)
+                    https?://
+                        (?:(?:www|bangumi)\.)?
+                        bilibili\.(?:tv|com)/
+                        (?:
+                            (?:
+                                video/[aA][vV]|
+                                anime/(?P<anime_id>\d+)/play\#
+                            )(?P<id_bv>\d+)|
+                            video/[bB][vV](?P<id>[^/?#&]+)
+                        )
+                        (?:/?\?p=(?P<page>\d+))?
+                    '''

     _TESTS = [{
         'url': 'https://www.bilibili.com/video/av41213189?p=1',
@@ -124,6 +136,10 @@ class BiliBiliIE(InfoExtractor):
                 'skip_download': True,  # Test metadata only
             },
         }]
+    }, {
+        # new BV video id format
+        'url': 'https://www.bilibili.com/video/BV1JE411F741',
+        'only_matching': True,
     }]

     _APP_KEY = 'iVGUTjsxvpLeuDCf'
@@ -141,7 +157,7 @@ class BiliBiliIE(InfoExtractor):
         url, smuggled_data = unsmuggle_url(url, {})

         mobj = re.match(self._VALID_URL, url)
-        video_id = mobj.group('id')
+        video_id = mobj.group('id') or mobj.group('id_bv')
         anime_id = mobj.group('anime_id')
         page_id = mobj.group('page')
         webpage = self._download_webpage(url, video_id)
@@ -456,3 +472,17 @@ class BilibiliAudioAlbumIE(BilibiliAudioBaseIE):
                     entries, am_id, album_title, album_data.get('intro'))

         return self.playlist_result(entries, am_id)
+
+
+class BiliBiliPlayerIE(InfoExtractor):
+    _VALID_URL = r'https?://player\.bilibili\.com/player\.html\?.*?\baid=(?P<id>\d+)'
+    _TEST = {
+        'url': 'http://player.bilibili.com/player.html?aid=92494333&cid=157926707&page=1',
+        'only_matching': True,
+    }
+
+    def _real_extract(self, url):
+        video_id = self._match_id(url)
+        return self.url_result(
+            'http://www.bilibili.tv/video/av%s/' % video_id,
+            ie=BiliBiliIE.ie_key(), video_id=video_id)


Refactor ASHA service implementation and examples

Rename asha_service -> asha
Make most ASHA service parameters configurable
Rewrite ASHA sink examples with asha and decoder modules

Hi Josh,
From within Android, we had our own Asha service that lives within our Bumble experiemental folder:
https://cs.android.com/android/platform/superproject/main/+/main:packages/modules/Bluetooth/pandora/server/bumble_experimental/asha.py;l=1?q=asha.py&sq=
I was not aware of an ASHA within Bumble. What is the situation on it ?

Hi Josh,
From within Android, we had our own Asha service that lives within our Bumble experiemental folder: https://cs.android.com/android/platform/superproject/main/+/main:packages/modules/Bluetooth/pandora/server/bumble_experimental/asha.py;l=1?q=asha.py&sq=
I was not aware of an ASHA within Bumble. What is the situation on it ?

t


[BUG] ... ClickableURL in Notes section

Describe the bug
I want to click on URLs in the Notes section of the Budget Screen. It appears this was a feature at one time, but I don't see it in the Toolkit settings.
https://trello.com/c/KGJbf3ev/125-clickableurl-links-in-the-notes-field
To Reproduce
Steps to reproduce the behavior:

Go to Toolkit Settings
Click on ??? I don't see it.

Expected behavior
I expected to see this feature in the Budget Screen section of the Toolkit Settings page.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: macOS
Browser Chrome
Toolkit Version 2.32.0

Setting Export
Please replace the text below with your exported Toolkit settings. You can export these by going to the Toolkit Options page, click the Import/Export Settings button at the bottom left and copying the text in the modal which appears.
[{"key":"AccountsDisplayDensity","value":"0"},{"key":"AccountsEmphasizedInflows","value":true},{"key":"AccountsEmphasizedOutflows","value":true},{"key":"AccountsStripedRows","value":true},{"key":"AccountsStripedRowsColor","value":"#fafafa"},{"key":"AccountsStripedRowsDarkColor","value":"#1e1e1f"},{"key":"AssistedClear","value":false},{"key":"AutoDistributeSplits","value":false},{"key":"AutoEnableRunningBalance","value":false},{"key":"AutomaticallyMarkAsCleared","value":false},{"key":"BetterScrollbars","value":"0"},{"key":"BottomNotificationBar","value":false},{"key":"BudgetCategoryFeatures","value":true},{"key":"BudgetProgressBars","value":"0"},{"key":"BudgetQuickSwitch","value":true},{"key":"BudgetSpendingGoal","value":false},{"key":"BulkEditMemo","value":true},{"key":"BulkManagePayees","value":false},{"key":"CalendarFirstDay","value":"0"},{"key":"CategoryActivityCopy","value":false},{"key":"CategoryActivityPopupWidth","value":"1"},{"key":"CategorySoloMode","value":"cat-solo-mode-toggle-all"},{"key":"ChangeEnterBehavior","value":true},{"key":"ChangeMemoEnterBehavior","value":true},{"key":"CheckCreditBalances","value":false},{"key":"CheckNumbers","value":false},{"key":"ClearSelection","value":false},{"key":"ColourBlindMode","value":false},{"key":"CompactIncomeVsExpense","value":true},{"key":"ConfirmKeyboardCancelationOfTransactionChanges","value":false},{"key":"CreditCardEmoji","value":true},{"key":"CtrlEnterCleared","value":false},{"key":"CurrentMonthIndicator","value":true},{"key":"CustomFlagNames","value":false},{"key":"DateOfMoney","value":true},{"key":"DaysOfBuffering","value":true},{"key":"DaysOfBufferingDate","value":false},{"key":"DaysOfBufferingHistoryLookup","value":"0"},{"key":"DeselectTransactionsOnSave","value":true},{"key":"DisableToolkit","value":false},{"key":"DisplayTargetGoalAmount","value":"2"},{"key":"DisplayTotalMonthlyGoals","value":true},{"key":"DisplayUpcomingAmount","value":true},{"key":"EasyTransactionApproval","value":false},{"key":"EditAccountButton","value":"0"},{"key":"EnlargeCategoriesDropdown","value":true},{"key":"FilterCategories","value":false},{"key":"GoalIndicator","value":true},{"key":"GoalWarningColor","value":false},{"key":"GoogleFontsSelector","value":"0"},{"key":"HideAccountBalancesType","value":"0"},{"key":"HideAgeOfMoney","value":false},{"key":"HideClosedAccounts","value":false},{"key":"HideDebtRatio","value":false},{"key":"HideHelp","value":true},{"key":"HideReferralBanner","value":false},{"key":"HideTotalAvailable","value":false},{"key":"HighlightNegatives","value":false},{"key":"HoveredBudgetRows","value":true},{"key":"ImportNotification","value":"0"},{"key":"IncomeFromLastMonth","value":"0"},{"key":"IncomeVsExpenseHoverHighlight","value":true},{"key":"LargerClickableIcons","value":false},{"key":"LastReconciledDate","value":"disabled"},{"key":"LinkToInflows","value":true},{"key":"MasterCategoryRowColor","value":false},{"key":"MemoAsMarkdown","value":false},{"key":"MonthlyNotesPopupWidth","value":"0"},{"key":"NavDisplayDensity","value":"0"},{"key":"NotesAsMarkdown","value":false},{"key":"POSStyleCurrencyEntryMode","value":false},{"key":"Pacing","value":"0"},{"key":"PrintingImprovements","value":true},{"key":"PrivacyMode","value":"0"},{"key":"QuickBudgetWarning","value":false},{"key":"ReconcileBalance","value":false},{"key":"ReconcileConfetti","value":true},{"key":"ReconciledTextColor","value":"0"},{"key":"RemovePositiveHighlight","value":false},{"key":"RemoveZeroCategories","value":true},{"key":"RightClickToEdit","value":true},{"key":"RowHeight","value":"0"},{"key":"RowsHeight","value":"0"},{"key":"SeamlessBudgetHeader","value":false},{"key":"SetMultipleFlags","value":false},{"key":"ShowCategoryBalance","value":false},{"key":"SpareChange","value":false},{"key":"SplitTransactionAutoAdjust","value":false},{"key":"SquareNegativeMode","value":false},{"key":"StealingFromFuture","value":true},{"key":"StripedBudgetRows","value":false},{"key":"SwapClearedFlagged","value":false},{"key":"TargetBalanceWarning","value":false},{"key":"ToBeBudgetedWarning","value":true},{"key":"ToggleAccountColumns","value":true},{"key":"ToggleSplits","value":false},{"key":"ToggleTransactionFilters","value":"2"},{"key":"ToolkitReports","value":true},{"key":"UnclearedAccountHighlight","value":true},{"key":"ViewZeroAsEmpty","value":true},{"key":"l10n","value":"0"},{"key":"options.dark-mode","value":false}]

I had a look through the pull requests at that time and the setting referenced on the Trello board seems to be "Allow Markdown in Notes" in the Budget Screen section.
I've just tested, and this will automatically make links clickable as well as allowing the other Markdown features.

Yes, perfect! Thank you.
Best,
Stanley
Stanley Dankoski
Stanley Dankoski Editorial Services
http://www.stanleydankoski.com
ᐧ
On Wed, May 26, 2021 at 11:58 AM Sam Pickering @.***>
wrote:

I had a look through the pull requests at that time and the setting
referenced on the Trello board seems to be "Allow Markdown in Notes" in the
Budget Screen section.
I've just tested, and this will automatically make links clickable as well
as allowing the other Markdown features.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/toolkit-for-ynab/toolkit-for-ynab/issues/2390#issuecomment-848895750,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUHE2XNJRG3CE3U4W4MNIMDTPULBFANCNFSM45QTBO2Q
.

Closing as not a bug.


Add 2 channel delay line to reverb

Add 2 channel delay line to reverb

This was added but started causing significant problems hence will not be implemented in the final product.


Remove use of JSONB columns

A few of the database tables are currently using JSONB columns, which incur the overhead of parsing
and indexing the JSON contents. These can be replaced with BYTEA since we do not require this
indexing.

I note I think it's fine just to change the existing migrations that create the tables, rather than introducing complex migrations that change the types of existing created tables.


make all code async

hi,
i have see the intetration with javascript graphql. but javascript and php have a different concurrency model. i think that all the method of the objects graphql should return a promise because in javascript for access any external source you must use a callback and a promise. and also in php there are some example of concurrency mode live in javascript (see ReactPhp for example). you should try to see tink.core where there is a example of Future class that cang generate futures sync and async

I agree about the different models, and JavaScript needing better async support. I'm trying to tread carefully to minimise too much target specific stuff, but at the very least mean to allow promises to be returned by resolvers (In fact, already intended this to be the case, I'm not at my computer to check, but if not, I consider that a bug). The aim is to implement async functionality in a way that can work between js and reactphp targets (this is also on the roadmap).

yes you could try to use Future from tink-core that work good in all targets.
for example
class Query implements GraphQLObject {
    public function new(){}
    public function echo(message:String) : Future<String> {
        return Future.sync(message)
    }
    public function getObject() : Future<OtherObject> {
        return Future.async(handle -> {
                // some async code
              handle(new OtherObject());

       });
    }
}

I also agree about unifying the interface a bit between the two. As a temporary measure, until getting to that properly, b347f4f78d52389474f72008944f25598b830834 will allow returning a javascript promise, in the same way as a Future from the php library, so that code that returns Promises can at least be used, such as the (trivial) example in the associated test case:
    #if php
    public function manualDeferredObject() : graphql.externs.Deferred<String> {
        return new graphql.externs.Deferred(() -> "Some string");
    }
    #elseif js
    public function manualDeferredObject() : js.lib.Promise<String> {
        return new js.lib.Promise((resolve, reject) -> resolve("Some string"));
    }
    #end

In both these cases, the GraphQL server will resolve it as a String! type returning "Some string".

thanks it really work good


Disabling without hypervisor

It is possible to disable it without hyperv? maybe inline hooking KeBugCheck?

I assume you meant disabling PatchGuard. I would say technically yes as long as you can install your driver, as PatchGuard runs on the same privilege level. but I do not know how and cannot help you for it.


+printable-key-down-assoc+  continues growing.

+printable-key-down-assoc+  continues growing.
I'll fix it tonight.

I did it.


PR

Screen Now exits on windows button click
Cursor is hidden
Added Color Extensions
Fixed gameController Documentation
Removed Mutex for now

:+1:


StemmerJa bug this is not defined

Related to #584, and possibly affects all other stemmers, on v4.0.0.
> const stem = natural.StemmerJa.stem;
undefined
> stem('foo')
Uncaught TypeError: Cannot read property 'stemKatakana' of undefined
    at StemmerJa.stem (/Users/user/Projects/spamscanner/node_modules/natural/lib/natural/stemmers/stemmer_ja.js:85:16)
> natural.StemmerJa.stem('foo')
'foo'
> const stem2 = natural.StemmerJa.stem.bind(natural.StemmerJa);
undefined
> stem2('foo')
'foo'

It would be nice it if bound scope automatically for this.

This is not how it should be used. The stemmer is a class that is instantiated into an object and you call methods of that object. So, you cannot pick functions from the object and call them out of context. Of course, then you get problems with this. Binding it afterwards is not the way to go.


eslint.execArgv Configuration is Not Working

I have added the following configuration to my .vscode/settings.json file:
"eslint.execArgv": ["--max_old_space_size=8192"],

Additionally, I modified eslint/lib/api.js to log execArgv for verification purposes. However, the max_old_space_size setting does not appear in the logs, indicating that it is not being applied.

@Zzzen you might need to use a custom NodeJS version using the eslint.runtime setting. Reason is that VS Code ships with a compact heap for NodeJS which limits the max_old_space_size to 4GB.

Let me add something to the settings doc to make that more clear.

Added this to the docs, settings description.


please specify json module version minimum

We are running puppetserver 1.2 and the json version that was installed was not new enough.  We were getting the following error:
Error 400 on SERVER: undefined method Exception for JSON:Module at /etc/puppet/environments/consul_update/modules/consul/manifests/config.pp:114
Please update the README with the minimum needed json version to save some poor soul the trouble of tracing through these errors.

That is really surprising to me. I figured any json module would do.
The readme does reference that you need "some" json module, but I wasn't aware of any particular version requirements:
https://github.com/solarkennedy/puppet-consul#limitations
What version did you have that didn't work, and then what version did you install that did?

1.8.0 did not work, json-2.0.3 did, but there are many versions in between, so I am not sure which would fix it.

thanks for the quick update


Setting escape to open and close

I feel like this might be the best solution. It is nice to have the same key for both opening and closing.
One slight worry I have would be accessibility regarding overriding the 'escape' key on the main page, but I could not see any direct conflicts immediately. I do not use calendar frequently though, so I did not necessarily know where to look.

Escape key is no-go as it is used to close the event pop up window (click on any event it), and the event creation pop up (select any area on the calendar to start creating a new calendar)
Could use use a shortcut like Cmd/Ctrl+some letter?


python 3.6 string formatting

Python 3.6 is introducing an extremely useful string formatting syntax: f"{a} {b}" instead of "{a} {b}".format(a=a, b=b). It seems at least the f is parsed correctly in the code, but f"blah" + foo + "bar" looks differently from b"blah" + foo + "bar" in the website demo (and on Jupyter notebook, which is where I spotted it).

On second thought, it looks like both default to the py2 mode, as @ doesn't get handled properly either.

My bad. This does happen in the website demo but not in another Jupyter notebook I checked. Feel free to close it if you think it's not an issue.

I've made Python 3 the default version for the Python mode in 4f70169


Generate default values for mypy

Proposed change

Use attr.ib to generate default values to satisfy mypy.
A few items are not yet converted, mostly likely by my error in the test config
Lists of classes is the only thing I could not get working.
CC: @ctalkington Perhaps you have a solution?
Type of change

[ ] Dependency upgrade
[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (which adds functionality)
[ ] Breaking change (fix/feature causing existing functionality to break)
[x] Code quality improvements to existing code or addition of tests

Additional information

This PR fixes or closes issue: fixes #
This PR is related to issue:
Link to documentation pull request:

Checklist

[x] The code change is tested and works locally.
[x] Local tests pass.
[x] There is no commented out code in this PR.
[x] The code has been formatted (make lint)
[x] Tests have been added to verify that the new code works.

@tkdrob what mypy was failing?

I'm not sure that this change actually achieves much in its current state because according to https://www.attrs.org/en/stable/api.html#attr.ib

Does not do anything unless the class is also decorated with attr.s!

type –

The type of the attribute. In Python 3.6 or greater, the preferred method to specify the type is using a variable annotation (see PEP 526). This argument is provided for backward compatibility. Regardless of the approach used, the type will be stored on Attribute.type.
Please note that attrs doesn’t do anything with this metadata by itself. You can use it as part of your own code or for static type checking.

@tkdrob what mypy was failing?

Not the mypy checks here. In writing Home Assistant integrations, mypy considers everything as optional. But for what I'm using it's always present. A typical error would be Item "None" of "Optional[SystemStatus]" has no attribute "version"

@tkdrob what mypy was failing?

Not the mypy checks here. In writing Home Assistant integrations, mypy considers everything as optional. But for what I'm using it's always present. A typical error would be Item "None" of "Optional[SystemStatus]" has no attribute "version"

ah I ran into that the other day with move to strict typing in rokuecp.  was much simpler in my case though. usually to fix the HA side if you check for None first it'll resolve that side but yah not ideal when it's almost always gonna be filled in this case.

@tkdrob do you have an HA PR or code somewhere I could see / play with?

https://github.com/tkdrob/core/tree/lidarr)](https://github.com/tkdrob/core/tree/lidarr

I may just drop 3.8 if this solves my problem. HA dropped 3.8 already so I suppose no need to support 3.8.

I may just drop 3.8 if this solves my problem. HA dropped 3.8 already so I suppose no need to support 3.8.

I would just drop 3.8 honestly since main focus is HA right?

https://github.com/tkdrob/core/tree/lidarr

The example you had before about SystemStatus seems like would be due to the DataUpdateCoordinator setting type to SystemStatus | None. I'll have to try cloning your code locally but I really don't know that you would need all this attr.ib stuff, has never came up in my dataclasses even with strict.

I don't see any issues reported with mypy that would require the changes here.  it'll be easier to work through some of it you want to get to a point and make an HA PR. Just do draft and request review from me and I'll help iron out whatever gets flagged.

freeSpace is a better example. We know that we have it when we get a response from calling diskspace but mypy does not accept it with casting. This PR has mypy accept these values without casting.

bdraco said this is definitely not needed and is just papering over the issues. Closing


fix(udf): check the data type returned from UDF server

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
fix #10828

Checklist

[x] I have written necessary rustdoc comments
[ ] I have added necessary unit tests and integration tests (It seems not easy to test it.)
[ ] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features #7934).
[ ] My PR contains breaking changes. (If it deprecates some features, please create a tracking issue to remove them in the future).
[x] All checks passed in ./risedev check (or alias, ./risedev c)
[ ] My PR changes performance-critical code. (Please run macro/micro-benchmarks and show the results.)

[x] My PR contains critical fixes that are necessary to be merged into the latest release. (Please check out the details)

Documentation

[ ] My PR needs documentation updates. (Please use the Release note section below to summarize the impact on users)

Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.

Should we add some tests?

Yes. But I couldn't think of a way to test this in slt. 🤔

When the error occurs, eval_infallible will call UDF for each row, right? Not sure if it has any problems in this case. I think it’s not a very big deal. 🤔

Yes. I'm also not sure about it. I'll be soon working on fixing #11586. At that time I may put the responsibility of eval_infallible on each function. And for UDF it may simply fill all values to null.


:sparkles: Add support for multiple databases

Description
This PR adds support for querying multiple databases by adding a new nodeTypeName property.
In order to query multiple databases, you can add multiple gatsby-source-notion-api in your project’s gatsby-config.js and set different nodeTypeName values. For instance:
  plugins: [
    {
      resolve: `gatsby-source-notion-api`,
      options: {
        token: `$INTEGRATION_TOKEN`,
        databaseId: `$DATABASE_ID`,
        nodeTypeName: "notionTeamMember",
        propsToFrontmatter: true,
        lowerTitleLevel: true,
      },
    },
    {
      resolve: `gatsby-source-notion-api`,
      options: {
        token: `$INTEGRATION_TOKEN`,
        databaseId: `$DATABASE_ID`,
        nodeTypeName: "notionTask",
        propsToFrontmatter: true,
        lowerTitleLevel: true,
      },
    },
  ],

nodeTypeName is optional and defaults to "Notion", so the change is non-breaking.
Motivation and Context
https://github.com/orlowdev/gatsby-source-notion-api/issues/3
Screenshots

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] Security fix (non-breaking change wich fixes a security issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as
expected)

Would love to have this in, hope it gets merged soon 👍


mistake in ECoG tutorial

Hello,
In this tutorial:
https://mne.tools/stable/auto_tutorials/clinical/30_ecog.html
it is said: "We can project gamma power from the sensor data to the nearest locations on the pial surface and visualize that:"
However, to my understanding:
src = mne.read_source_spaces(
    op.join(subjects_dir, 'fsaverage', 'bem', 'fsaverage-ico-5-src.fif'))

reads out sources located on the white matter surface, not the pial surface.
If we want sources on the pial surface, I believe one should first do:
src = mne.setup_source_space('fsaverage', subjects_dir=subjects_dir,
                              spacing='ico5', surface='pial')

Indeed,
src = mne.read_source_spaces(
    op.join(subjects_dir, 'fsaverage', 'bem', 'fsaverage-ico-5-src.fif'))

and
src = mne.setup_source_space('fsaverage', subjects_dir=subjects_dir,
                              spacing='ico5', surface='white')

give the same result.

indeed ! either we fix the text or we fix the code
@alexrockhill wdyt?

I think we should add a "surface" option that defaults to 'pial' and just use the vertices (not positions) from the source space unless surface=None

I think we should add a "surface" option that defaults to 'pial' and just use the vertices (not positions) from the source space unless surface=None

Sounds reasonable to me.

@chapochn do you want to open a PR to add this behavior? I think we can consider it a bugfix so no need for a deprecation cycle.

Thanks @alexrockhill and @larsoner!


Feature/object grpc

Move to the new provenance-io/object-store protos/grpc

Codecov Report

Merging #28 (1b1996f) into ch83711/commit-contract-specs (2bee191) will not change coverage.
The diff coverage is n/a.

@@                       Coverage Diff                        @@
##             ch83711/commit-contract-specs      #28   +/-   ##
================================================================
  Coverage                            11.78%   11.78%
  Complexity                              35       35
================================================================
  Files                                   65       65
  Lines                                 3360     3360
  Branches                               352      352
================================================================
  Hits                                   396      396
  Misses                                2908     2908
  Partials                                56       56

Impacted Files
Coverage Δ
Complexity Δ

...kotlin/io/provenance/engine/batch/MailboxReaper.kt
0.00% <ø> (ø)
0.00 <0.00> (ø)

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 2bee191...1b1996f. Read the comment docs.


Efficiently Handling Deletions in Nested Cosmos DB Data Structures with Azure Cognitive Search

How can I configure Azure Cognitive Search to detect and process deletions based on nested properties within a Cosmosdb document?
Description of the problem:
I'm currently integrating Azure Cognitive Search with a Cosmos DB collection that contains complex, nested documents like this:
{
   "name":"test name",
   "info":{
   "address":"test address",
   "isIndexing":"false"
   }
}

I want to synchronize the search index so that deletions based on the document's "isIndexing" property are reflected.  What I want to do is use the Data Deletion Detection Policy of Azure Cognitive Search, and for this reason, I created it like this:
"dataDeletionDetectionPolicy" : {
<EMAIL_ADDRESS>"#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
    "softDeleteColumnName": "info.isIndexing",
    "softDeleteMarkerValue": "true"
}

so that the document should be deleted from the index if "isIndexing" property is true but this works properly if the "isIndexing" property is in the top level of the object, like here
{
   "name":"test name",
   "isIndexing":"false"
   "info":{
      "address":"test address"
   }
}

and the policy will be like that
"dataDeletionDetectionPolicy": {
<EMAIL_ADDRESS>"#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
    "softDeleteColumnName": "isIndexing",
    "softDeleteMarkerValue": "true"
}

But I don't want to change the structure of the document in Cosmosdb, and I don't know if the deletion detection policy does not support dot notation for nested properties. This might be the reason the policy isn't working as expected, or Azure Cognitive Search's soft delete feature does not inherently support nested properties directly.

Can you clarify how this issue is related to this repo? Are you using CosmosDB as your ingestion source for this repo?


[Feature] add config to modify  install dir

Sometimes, I run portable nvim  on the USB disk.
default SERVERS_ROOT_DIR in stdpath("data") is not inconvenient. (I seems that only this affects the install dir, not so sure.)
Could you add a option to allow modify  install dir?

Hey - yep that makes sense and should be an easy thing to add


Able to install on OpenShift 4.8. No errors in logforwarding fluent pods as well as fluent pods. No logs transferred to Splunk.

I used values.yaml and modified the following stanzas. Instead of using non-persistent buffers, i used Persistent storage.
The pods are running openshift-logforwarding-splunk-0 and openshift-logforwarding-splunk-1.
The clusterlogforwarder is created but it didn't restart the fluentd pods.
Currently, all are running but no errors to troubleshoot.
Need assistance.

@os-learner can you provide any additional details that can be used to aid in assisting?

@sabre1041 ,
Sorry for not providing details.
One of the things I noticed is, I had my clusterLogging set to "Unmanaged". Once I changed the clusterLogging to "Managed", fluentd pods restarted and now I can see openshift logs in our Enterprise remote splunk instance.
Very nicely done.
One suggestion: I didn't use the image provided in the helm chart. This image seems old and is not updated  by Redhat since 4.6.
I used the following image and it is working fine with this image also.
registry.redhat.io/openshift-logging/fluentd-rhel8:v1.14.5-3

hi facing same isuue as mentioned help me out


Fall back to CPU for regular expressions containing \D or \W

Signed-off-by: Andy Grove<EMAIL_ADDRESS>Workaround until we fix https://github.com/NVIDIA/spark-rapids/issues/4475

build


DinkToPdf on linux server doesn't show images

I have a .NET 6 Web API project with DinkToPdf which I use on macOS on my dev machine, and two servers on Linux Ubuntu 20.4 and Windows Server 2012. My API detects OS on which it runs and uses the corresponding library to convert HTML to PDF file on output.
My controller:
public class ClientDocController : BaseController
{
    private readonly IClientAppointmentDocumentService _clientAppointmentDocumentService;
    private readonly IConverter _htmlToPdfConverter;

    public ClientDocController(IClientAppointmentDocumentService clientAppointmentDocumentService, IConverter htmlToPdfConverter)
    {
        _clientAppointmentDocumentService = clientAppointmentDocumentService;
        _htmlToPdfConverter = htmlToPdfConverter;
    }
    [HttpGet("{documentId}/pdf/")]
    [RestApiAuthorize(AccountRolePermissions.VIEW_CLIENT_DOCUMENTS)]
    public async Task<IActionResult> GetPdfAsync([FromRoute] int documentId, bool uploadToClientPortal, int? templateId = null,
        bool clientPrint = false, bool sendToClientEmail = false, CancellationToken cancellationToken = default)
    {
        try
        {
            var htmlDocument = templateId == null
                ? await _clientAppointmentDocumentService.GetDefaultHtmlDocumentAsync(documentId, clientPrint, cancellationToken)
                : await _clientAppointmentDocumentService.GetHtmlDocumentAsync(documentId, templateId, clientPrint, cancellationToken);

            var fileName = $"Document_{documentId}_{DateTime.Now:s}.pdf";
            var conversionSettings = PdfConfigurationDefaults.GetDefaultSettings(htmlDocument); //this get individual settings for each platform
            var pdf = _htmlToPdfConverter.Convert(conversionSettings);
            var result = File(pdf, MediaTypeNames.Application.Pdf, fileName);

            if (sendToClientEmail) await _clientAppointmentDocumentService.SendToClientByEmailAsync(new[] {result});
            if (!uploadToClientPortal) return result;

            var accessToken = Request.Headers["Authorization"].ToString();
            var response = await _clientAppointmentDocumentService.UploadToClientPortalAsync(documentId, result, accessToken);
            return Ok(response);
        }
        catch (Exception e)
        {
            return BadRequest(e.Message);
        }
    }
}

This works well on all machines, although on Linux server there are images not included in resulting PDF under tag <img src="https://..." />.
What I have checked:

This is not SSL problem because if I make this controller to output HTML then images are shown as expected
I have tried every setting (maybe not in all combinations) in conversionSettings without any success
Converting images into base64 string also didn't help. Images didn't shown
Different image types from other hosts, didn't help

Anybody have any ideas, what can I check further?

I have the same problem.  I'm trying to display an image from Azure Blob storage, and it won't render the image.  It just shows a blank box.
Has anyone found a solution for this yet?

Hi. Here one workaround, but not solution


Connect VS Code with SSH Remote Server

Type: Bug
Hello, I got this error whenever I tried to connect it with SSH A system error occurred (EROFS: read-only file system, open 'ssh<EMAIL_ADDRESS>VS Code version: Code 1.80.2 (Universal) (2ccd690cbff1569e4a83d7c43d45101f817401dc, 2023-07-27T21:05:41.366Z)
OS version: Darwin arm64 22.3.0
Modes:

System Info

Item
Value

CPUs
Apple M1 (8 x 24)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
4, 5, 4

Memory (System)
8.00GB (0.10GB free)

Process Argv
--crash-reporter-id 05e7e4a8-747d-4a35-96d1-3701ddcee31e

Screen Reader
no

VM
0%

Extensions (3)

Extension
Author (truncated)
Version

remote-ssh
ms-
0.105.2023072715

remote-ssh-edit
ms-
0.86.0

remote-explorer
ms-
0.4.1

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
pythonvs932:30410667
py29gd2263:30792226
vscaat:30438848
vsclangdf:30486550
c4g48928:30535728
dsvsc012:30540252
pynewext54:30695312
azure-dev_surveyone:30548225
vscccc:30803845
3biah626:30602489
89544117:30613380
showlangstatbar:30737416
vsctsb:30748421
03d35959:30757346
pythonfmttext:30731395
pythoncmvfstrcf:30756944
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
gsofb:30804716
pythonnosmt12:30797651
pythonnoceb:30805159
e537b577:30795824
dsvsc013:30795093
dsvsc014:30804076
cmakesidepanelv2:30779593

Is it possible that your home directory on the remote is a readonly filesystem? Can you share the full log from the Remote-SSH output channel?

Is it possible that your home directory on the remote is a readonly filesystem? Can you share the full log from the Remote-SSH output channel?

[17:16:20.513] Log Level: 2
[17:16:20.524] VS Code version: 1.81.0
[17:16:20.525] Remote-SSH version<EMAIL_ADDRESS>[17:16:20.525] darwin arm64
like this?

Hey @roblourens, this issue might need further attention.
@Nabilah03, you can help us out by closing this issue if the problem no longer exists, or adding more information.

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Closing React Native view controller with StatusBar will reset status bar font color

Some Info
Integrated RN single view into existing iOS project. Doing a push presentation (not modal).
Existing iOS screen is using light content already (i.e. status bar text color is white).
🐛 Bug Report

When going back to native app, status bar color always changes back to default (i.e. status bar text colour is black) when I render StatusBar.
To Reproduce

Use the code below.

1. Make sure your native app status bar at this point in time is already lightContent.
2. Present a RN view controller via push. Notice how the status bar is still light-content (i.e. white text) because of the StatusBar code (see code).
3. Pop the RN view controller. Observe the color change bug in the status bar.

Now remove the RN code with StatusBar. Reload your app.
Repeat Step 1-3. Observe how the status bar text colour is not changed anymore as expected!

I did not test if the problem exists if presenting modally, but I am pretty sure the issue is with StatusBar.
Expected Behavior

Status bar color should remain unchanged when using StatusBar and closing RN view controller.
Code Example

Render code:
Note that nativeCloseVC is a function that calls native to pop this view controller.
return (
      <View style={{ flex: 1 }}>
        <Touchable onPress={nativeCloseVC} style={{ flex: 1 }}>
          <View style={{ flex: 1, backgroundColor: "#ff0000" }} />
        </Touchable>
        {/* This is the problematic code!! */}
        <StatusBar barStyle={"light-content"} />
      </View>
    );

Environment

  React Native Environment Info:
    System:
      OS: macOS 10.14.3
      CPU: (12) x64 Intel(R) Core(TM) i7-8700B CPU @ 3.20GHz
      Memory: 10.29 GB / 32.00 GB
      Shell: 3.2.57 - /bin/bash
    Binaries:
      Node: 10.15.1 - /usr/local/bin/node
      npm: 6.9.0 - /usr/local/bin/npm
    SDKs:
      iOS SDK:
        Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1
    IDEs:
      Xcode: 10.1/10B61 - /usr/bin/xcodebuild
    npmPackages:
      react: 16.6.1 => 16.6.1
      react-native: 0.57.7 => 0.57.7
    npmGlobalPackages:
      react-native-cli: 2.0.1

Hi there, thanks for posting this issue! It looks like a bug specifically for brown field apps, caused by the StatusBar._defaultProps being merged with an empty StatusBar._propStack on unmount of the StatusBar. A possible solution would be to retrieve the current status bar values from the StatusBar manager and using those instead of the arbitrary defaultProps.
The StatusBar component has been moved out of React Native core to a separate repo, where it will get the attention it deserves. @cpojer could you please use the migration script on this issue to move it there?

This issue has been moved to react-native-community/react-native-statusbar#16.

Is there a workaround that we can do right now to solve this problem?

@CyberMew

Change your app dependency following the getting started on react-native-community/react-native-statusbar

Fork that repo

Fix the issue

Point your statusbar dependency to the fork
(it will be fixed for you now

Offer the fix as a PR to react-native-community/react-native-statusbar
(fixed for everyone now :D)

Looks like this is still unsolved and the repo this issue shifted to is now dead (https://github.com/react-native-community/react-native-statusbar/issues/28)
Can we reopen this issue?

I have had same problem here.
My context: React native on existing app. After closing react native domain, It calls a native swift method to dismiss its viewController with react embed. After dismissing it, I did a DispatchQueue.main.asyncAfter + 0.1 sec and change the statusBar to lightContent again.
It happens after statusbar change to default.. There is a 'blinking' effect, yet, but I believe It is better than just staying with statusbar default on a dark theme navigation bar (my case).
If anyone solved the problem with another workaround, I would be glad to know how.


Mock cursor and connection

Resolves #24

Implement commit method as used here

Implementing a cursor and connection feels a bit hacky to me. As discussed in this issue, I think we should use the warehouse API for executing SQL.
However, this block #73 , to unblock that we can merge this PR. Then we resolve issue 479 , after which we remove the Connection and Cursor by implementing the warehouse methods.
@vijaykiran : I would like to have your approval on this.


Cursor jumps to wrong location after clearing terminal

Version: 1.41.1 (user setup)
Commit: 26076a4de974ead31f97692a0d32f90d735645c0
Date: 2019-12-18T14:58:56.166Z
Electron: 6.1.5
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Windows_NT x64 10.0.18363
Terminal renderer type: auto

Steps to Reproduce:

Open terminal
Do something
Clear terminal
Start typing

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

/duplicate https://github.com/microsoft/vscode/issues/75141


feat(snapshot): add better logs to monitor command

TODO: Merge #397 first.
Proposed changes
Success monitor log

Error monitor log:

Testing

[x] Unit Tests:

[ ] Functionnal Tests:

[x] Manual Tests:

@y-lakhdar if you want early review (i.e. before #397 is merged, target the branch of #397 ;) )

@y-lakhdar if you want early review (i.e. before #397 is merged, target the branch of #397 ;) )

No, I messed up the merge so it contains changes from master and #397.
I'll clean it up once #397 is merged.


Artifacts on Back Navigation

We're experiencing an issue where when navigating back away from a page that has a carousel there are artifacts overlayed on the previous page.
Steps to reproduce using the sample

Tap the "Navigate" button to go to the carousel page
Swipe to the 2nd page
Navigate back
Observe the artifacts

https://github.com/user-attachments/assets/5de1f5c9-3675-4c7b-b762-7084dd8d29ff
CarouselBlanks.zip
This does not happen with the MAUI carousel if that's helpful for any reason. Debug vs release doesn't seem to matter either.

Just for anyone that might look into this. I had a quick play this morning and can only recreate this issue on MacCatalyst and iOS. Android is working fine.
I can look into fixing this issue after work, but if anyone wants to address before hand just let me know!

Hey, thanks for the report.
Yep, it's an old bug (I think it was happening in Xamarin too)
Thanks @DashTheDev ! <3
We can try to set Opacity to 0 when Handler (Renderer) is not set

This looks to be fixed in 1.0.0! Thank you so much for the prompt fix @DashTheDev & @AndreiMisiukevich!!!


Have a vault with all secrets / environments etcs

[x] SSL Certificates and private keys for all sites
[x] Environment Variables

Not sure what there is to review here for us, I guess making sure everyone that needs to have access has access?
I'm happy with the chosen tool at least; it's simple to use and in line with Equinor policy.

This has been solved ✅


Fixing Deprecation Warnings

I get these warnings in current Atom as well; thanks @skulled

@tomByrer - I actually for some reason didn't see those other deprecation notices. They should be fixed now I believe with the last commit.

@skulled the build is still failing. I haven't looked at any of the code, just TravisCI.

Thanks for this. I've fixed the Specs.


Added my courses to free-courses-zh

What does this PR do?
Add resource(s)
For resources
Description
Added Computer Network and OSI model in free-courses-zh file.
Why is this valuable (or not)?
How do we know it's really free?
All resources are from youtube with high rating.
For book lists, is it a book? For course lists, is it a course? etc.
A one video tutorial.
Checklist:

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

Follow-up

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

Sorry but I was asked to put my courses in this file itself previously. A issue was raised with the suggested changes.

Please read docs/CONTRIBUTING.md guidelines!


[MSAL for Angular] --prod --aot build fails.

I'm submitting a...

[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Other... Please describe:

Browser:

[ ] Chrome version XX
[ ] Firefox version XX
[ ] IE version XX
[ ] Edge version XX
[ ] Safari version XX

Library version

Library version:  @azure/msal-angular": "^0.1.2"

## Current behavior
  MsalModule.forRoot({
            clientID: 'xxxx',
            authority: "https://login.microsoftonline.com/common/",
            validateAuthority: true,
            redirectUri: window.location.origin + '/token',
            cacheLocation: 'localStorage',
            postLogoutRedirectUri: window.location.origin  + '/welcome',
            navigateToLoginRequestUrl: false,
            ...
        }),

## Expected behavior

In debug build - the window.location.origin reference is fine.
In prod/aot build - the bundler does not resolve window reference and sends null/token to login authority which leads to failed auth string.

The sample provided is not built using the latest Angular-CLI and does not include production build configuration that enables --aot which triggers the uglifier.

## Minimal reproduction of the problem with instructions

pretty ugly hack - force reset _redirectUri/_postLogoutRedirectUri on the msalService before we go too far.
these two properties are internal so basically hacking them in at the moment.
`
export class AppComponent implements OnInit, OnDestroy {
constructor(
    private msalService: MsalService
) {
    this.isIframe = window !== window.parent && !window.opener;
    (this.msalService as any)['_redirectUri'] = `${window.location.origin}/token`;
    (this.msalService as any)['_postLogoutRedirectUri'] = `${window.location.origin}/welcome`;
}

...
}
`

need several patches in https://github.com/AzureAD/microsoft-authentication-library-for-js/issues/421#issuecomment-438489517 to sort out my issues :\


Update validator dependency.

Mostly to avoid unmaintained transitive dependency.

Summary by CodeRabbit

New Features

Updated the validator dependency to improve functionality and potentially include new features.
Enhanced validation mechanism for the reference field in configuration structures for better clarity and maintainability.

Bug Fixes

Improved regex validation for the reference field in Secret, Plugin, and Preset structs.

Not sure why the repo dirty thing is coming up, but going to ignore that too since I'm still doing dependency updates.


Ensure documentation is current

Original report on BitBucket by John Shepherdson (GitHub: john-shepherdson).

Check that descriptions, examples, screenshots etc match the functionality and appearance of the release.
Use production instance in examples/screenshots that include a URL.
Ensure latest released versions of metadata profiles are used when example links are provided (e.g. for REST API).

The documentation appears to be current