Quadratic cost in sibling search

How important is it, both in theoretical and in practical terms?

On the small datasets at hand, the profiler reveals nothing.


feat: add --stats in sst-metadat tool to query sst file & field stati…

Rationale
More details about the sst are neeeded for troubleshooting problems.
Detailed Changes

Output some statistics about the file;
Output compression information;

Test Plan
Check the output of sst-meta tool.

Output example:
FileStatistics {
file_count: 36,
size: 214.65,
metadata_size: 25.34,
kv_size: 24.14,
filter_size: 17.71,
row_num: 2175886,
}
FieldStatistics:
serviceVersion,	 compressed_size: 3.32mb,	 uncompressed_size: 7.75mb,	 compress_ratio: 2.33
extra6,	 compressed_size: 0.02mb,	 uncompressed_size: 0.02mb,	 compress_ratio: 0.75
subtag,	 compressed_size: 8.89mb,	 uncompressed_size: 21.37mb,	 compress_ratio: 2.41
tsid,	 compressed_size: 19.65mb,	 uncompressed_size: 19.98mb,	 compress_ratio: 1.02
extra4,	 compressed_size: 0.17mb,	 uncompressed_size: 0.37mb,	 compress_ratio: 2.19

@zouxiang1993 I'm OK with this PR but @jiacai2050 is the owner of this module, I guess we should wait for his review.

It seems those info are duplicated with before?
FileStatistics {
	file_count: 36,
	size: 214.65,
	metadata_size: 25.34,
	kv_size: 24.14,
	filter_size: 17.71,
	row_num: 2175886,
}

It seems those info are duplicated with before?
FileStatistics {
	file_count: 36,
	size: 214.65,
	metadata_size: 25.34,
	kv_size: 24.14,
	filter_size: 17.71,
	row_num: 2175886,
}

Original output
Location:2097.sst, time_range:[2023-05-09 06:00:00, 2023-05-09 08:00:00), max_seq:132734153, size:348.675M, metadata:40.142M, kv:38.175M, filter:28.525M, row_num:7038949

Yes. But these info are statistics among all the sst file.


fix: use project name when adding project via url

Fixes #759

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

GitHub release
v6.45.6

Your semantic-release bot :package::rocket:


Revert "bundix: 2.2.0"

Reverts NixOS/nixpkgs#18145 until bundix 2 works on nix with a daemon: https://github.com/manveru/bundix/pull/7

Picked to 16.09


Zend\Validator\AbstractValidator: messageKey never used to translate validation messages

Hi,
I've just pinpointed kind of a regression compared to how ZF used to work in version 1.
If you want to customize default validation error messages and/or translate it, you are, with ZF2, forced to use the hard-coded messages from the Validator as keys in your translation files.
This is due to the translateMessage() method in AbstractValidator:
protected function translateMessage($messageKey, $message)
    {
        $translator = $this->getTranslator();
        if (!$translator) {
            return $message;
        }

        return $translator->translate(
            $message, $this->getTranslatorTextDomain()
        );
    }

As you can see on last directive, which returns the result of $translator->translate(), the message itself is passed to the translator, while the messageKey is never in use.
This is annoying, since, first, the hard-coded translations are quite long to be used as keys in a translation file, and second, they are more likely to change over time than the keys. I do prefer having "isEmpty" as a key in my translation files rather than "Value is required and can't be empty" :)
I guess we could check both keys, starting with the messageKey, and in case it is not translated, call translate again using the full message...
Any thoughts about that?

This issue has been closed as part of the bug migration program as outlined here - http://framework.zend.com/blog/2016-04-11-issue-closures.html


PR: Copied mini project over to (don't know how to  preserve commit history)

Implemented Error handling + started with courier menu

LGTM


Streaming option for --no-inference?  Running out of memory

Like issue #338, I'm trying to work with data that won't fit in memory (even my 16 GB).
I'm running in2csv --no-inference to convert file types, change delimiters etc.
Since I don't want data inference for this particular problem, it should be possible to stream the data.
If it would be too much to implement a streaming option here, I wonder if any can recommend another good tool out there for just properly changing delimiters and the like for big data files.

Hi Neal, can you tell me which file type you were working with here? Whether or not a streaming interface could be implemented is dependent on which file conversion you're doing. Several of them are deferred to dependencies that buffer the file. A streaming interface would probably be pretty simple for CSV-to-CSV and would be a welcome addition.

I'm definitely interested in csv-to-csv, and that was my initial use case.
Thanks!


Code organization / refactoring

[ ] Move preferences to app folder
[ ] Move all static assets to an assets or static folder

I don't agree with moving preferences. They are independent from the main window and deserve a category on its own.


feh: 2.25 -> 2.25.1

Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:

built on NixOS
ran /nix/store/cyjk3r8pig6cypvfv4fwx888ml4zd4vs-feh-2.25.1/bin/feh -h got 0 exit code
ran /nix/store/cyjk3r8pig6cypvfv4fwx888ml4zd4vs-feh-2.25.1/bin/feh --help got 0 exit code
ran /nix/store/cyjk3r8pig6cypvfv4fwx888ml4zd4vs-feh-2.25.1/bin/feh -v and found version 2.25.1
ran /nix/store/cyjk3r8pig6cypvfv4fwx888ml4zd4vs-feh-2.25.1/bin/feh --version and found version 2.25.1
ran /nix/store/cyjk3r8pig6cypvfv4fwx888ml4zd4vs-feh-2.25.1/bin/.feh-wrapped -h got 0 exit code
ran /nix/store/cyjk3r8pig6cypvfv4fwx888ml4zd4vs-feh-2.25.1/bin/.feh-wrapped --help got 0 exit code
ran /nix/store/cyjk3r8pig6cypvfv4fwx888ml4zd4vs-feh-2.25.1/bin/.feh-wrapped -v and found version 2.25.1
ran /nix/store/cyjk3r8pig6cypvfv4fwx888ml4zd4vs-feh-2.25.1/bin/.feh-wrapped --version and found version 2.25.1
found 2.25.1 with grep in /nix/store/cyjk3r8pig6cypvfv4fwx888ml4zd4vs-feh-2.25.1
directory tree listing: https://gist.github.com/6fb1817519334ef951e6661a3c41dda6

cc @viric @willibutz for review

Success on x86_64-darwin (full log)
Attempted: feh
Partial log (click to expand)
rmdir: failed to remove '/nix/store/cw4fcsrr4j4gnk3vz0lvvwrp3qzzdqkh-feh-2.25.1/share': Directory not empty
strip is /nix/store/vb6mgjqgd9h11nbv60fvrp1ls9nxck2y-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/cw4fcsrr4j4gnk3vz0lvvwrp3qzzdqkh-feh-2.25.1/bin
patching script interpreter paths in /nix/store/cw4fcsrr4j4gnk3vz0lvvwrp3qzzdqkh-feh-2.25.1
gzipping man pages under /nix/store/l5kfj14jz6q2x19ygrp5yi9db107jcmw-feh-2.25.1-man/share/man/
strip is /nix/store/vb6mgjqgd9h11nbv60fvrp1ls9nxck2y-cctools-binutils-darwin/bin/strip
patching script interpreter paths in /nix/store/l5kfj14jz6q2x19ygrp5yi9db107jcmw-feh-2.25.1-man
strip is /nix/store/vb6mgjqgd9h11nbv60fvrp1ls9nxck2y-cctools-binutils-darwin/bin/strip
patching script interpreter paths in /nix/store/45lmpfv70yylnz6g8xnxva9dl2hxfv34-feh-2.25.1-doc
/nix/store/cw4fcsrr4j4gnk3vz0lvvwrp3qzzdqkh-feh-2.25.1

Success on aarch64-linux (full log)
Attempted: feh
Partial log (click to expand)
shrinking RPATHs of ELF executables and libraries in /nix/store/g0lj393nbalci84djfpdm54g5bg41qfy-feh-2.25.1-man
gzipping man pages under /nix/store/g0lj393nbalci84djfpdm54g5bg41qfy-feh-2.25.1-man/share/man/
strip is /nix/store/3zq400fri5dv7d30lpxlqm2v9y1iis6j-binutils-2.28.1/bin/strip
patching script interpreter paths in /nix/store/g0lj393nbalci84djfpdm54g5bg41qfy-feh-2.25.1-man
checking for references to /build in /nix/store/g0lj393nbalci84djfpdm54g5bg41qfy-feh-2.25.1-man...
shrinking RPATHs of ELF executables and libraries in /nix/store/3kcqyr07c0lz3l0a2bg5sh8hbqihc9kg-feh-2.25.1-doc
strip is /nix/store/3zq400fri5dv7d30lpxlqm2v9y1iis6j-binutils-2.28.1/bin/strip
patching script interpreter paths in /nix/store/3kcqyr07c0lz3l0a2bg5sh8hbqihc9kg-feh-2.25.1-doc
checking for references to /build in /nix/store/3kcqyr07c0lz3l0a2bg5sh8hbqihc9kg-feh-2.25.1-doc...
/nix/store/id194r0lcz8552z1yj8q0ds2497pmwng-feh-2.25.1

Success on x86_64-linux (full log)
Attempted: feh
Partial log (click to expand)
shrinking RPATHs of ELF executables and libraries in /nix/store/f374si2xaal4c21n75qcsm7w290m6944-feh-2.25.1-man
gzipping man pages under /nix/store/f374si2xaal4c21n75qcsm7w290m6944-feh-2.25.1-man/share/man/
strip is /nix/store/fzcs0fn6bb04m82frhlb78nc03ny3w55-binutils-2.28.1/bin/strip
patching script interpreter paths in /nix/store/f374si2xaal4c21n75qcsm7w290m6944-feh-2.25.1-man
checking for references to /tmp/nix-build-feh-2.25.1.drv-0 in /nix/store/f374si2xaal4c21n75qcsm7w290m6944-feh-2.25.1-man...
shrinking RPATHs of ELF executables and libraries in /nix/store/pa5843lc4my81x2mrh14lf60dparfpb9-feh-2.25.1-doc
strip is /nix/store/fzcs0fn6bb04m82frhlb78nc03ny3w55-binutils-2.28.1/bin/strip
patching script interpreter paths in /nix/store/pa5843lc4my81x2mrh14lf60dparfpb9-feh-2.25.1-doc
checking for references to /tmp/nix-build-feh-2.25.1.drv-0 in /nix/store/pa5843lc4my81x2mrh14lf60dparfpb9-feh-2.25.1-doc...
/nix/store/cyjk3r8pig6cypvfv4fwx888ml4zd4vs-feh-2.25.1


Summary
It would be nice of toast messages could be closed by sending in a cancellation token when displaying them.
API Changes
Add ToastConfig.SetCancellationToken(CancellationToken token)
Intended Use Case
For example when a user logs out, things are torn down but toasts are still active. This forces one to add code in the action itself to see if it's still valid.

Unnecessary - toast returns an idisposable that is used to dismiss toast


Leading whitespace formatting in generated c# doc comments

If I have the following in my proto:
  // This allows access to fascinating stuff.
  rpc BlowMyMind(FascinationRequest) returns (AstoundingResult) {}

then I get the following c#:
      /// <summary>
      ///   This allows access to fascinating stuff.
      /// </summary>
      public virtual global::System.Threading.Tasks.Task<global::MyNamespace.WonderApi.AstoundingResult> BlowMyMind(global::MyNamespace.WonderApi.FascinationRequest request, ServerCallContext context)

Note that the summary comment has an extra space after the '///' that precedes the comment body.
If I remove the space between the '//' and the comment body in the proto then it disappears.
This is obviously of a totally trivial nature; but the fix is a simple trim of any leading spaces on each comment line. Ie no rush... just thought I'd note it

Does this only happen with code generated by gRPC C# plugin (the FooGrpc.cs file) or also with code generated by protobuf C# itself (in the Foo.cs file containing the protobuf messages)? If in both, this issue should be also filed in google/protobuf  repository.

Sorry for my absence. Thanks and I'll review the impact on Foo.cs as soon as I get some space and raise to the google/protobuf repository if relevant.


#76 added Javadoc for methods in HeaderTags

PR for #76 added Javadoc for methods in HeaderTags class.

@g4s8 this PR didn't get in the scope

Job gh:artipie/rpm-adapter#91 is not assigned, can't get performer


[Logging] Streamline logging methodologies

Objective
Document/consolidate/fix all the different ways of labelling.
Origin Document
While debugging, I found myself looking at this screen and am unsure why things are different as a core contributor to the project:

Example:
This logline: p.logger.Info().Int64("height", p.Height).Msg("About to release context")
Has this output: {"level":"info","module":"persistence","height":0,"time":"2023-03-22T16:14:03Z","message":"About to release context"}
This logline: m.logger.Warn().Fields(m.sharedLoggingFields()).Msgf("⏰ Interrupt ⏰ due to: %s", reason)
Has this output: level=WARN ⏰ Interrupt ⏰ due to: pacemaker timeout height=0 module=pacemaker round=7 step=1
Goals

Investigate all the different ways things are being logged in the system
Consolidate all the different logging mechanism and/or fix them and/or document
Understanding what is the reason for the information in the screenshot above

Deliverable

[ ] Updated documentation on events vs logs and where/when each one should be used
[ ] Consolidation of attributes & labels
[ ] A PR that prevents json objects from being logged to stdout
[ ] Make sure all the documentation and details from #189 are readily available and accessible

Non-goals / Non-deliverables

Adding/removing existing logs
Making sure all logs use attributes appropriately if it's embedded in the message right now

General issue deliverables

[ ] Update the appropriate CHANGELOG(s)
[ ] Update any relevant local/global README(s)

Testing Methodology

[ ] All tests: make test_all
[ ] LocalNet: verify a LocalNet is still functioning correctly by following the instructions at docs/development/README.md

Creator: @Olshansk
Co-Owners: @okdas

Hey! This is currently in up next but hasn't been discussed in planning for a while. Do we want to resurface the conversation or move this to the backlog?

Hey! This is currently in up next but hasn't been discussed in planning for a while. Do we want to resurface the conversation or move this to the backlog?

Moved to backlog

I moved this to the Devnet of Servicers milestone as we're focusing on observability at the moment.

@okdas Added this deliverable: - [ ] Make sure all the documentation and details from #189 are readily available and accessible


list index out of range when generate a graph by the gen_graph.py

Hi, there
The gen_graph.py failed to generate a graph for some binaries in libtiff.

command
 python3 /home/kscheduler/afl_integration/build_example/gen_graph.py ./tiff2pdf_fix.ll cfg_out_tiff2pdf

Issue1

Traceback (most recent call last):
  File "/home/kscheduler/afl_integration/build_example/gen_graph.py", line 206, in <module>
    inline_table = inline_counter_table(sys.argv[1])
  File "/home/kscheduler/afl_integration/build_example/gen_graph.py", line 30, in inline_counter_table
    data[0] = data[0].split(' [i8*')[1]
IndexError: list index out of range

I added a if branch "if data != []: to fix this problem, and then face the following issue:

Issue2

Traceback (most recent call last):
  File "/home/kscheduler/afl_integration/build_example/gen_graph.py", line 251, in <module>
    max_score = max(k.scores())
ValueError: max() arg is an empty sequence

POC
tiff2pdf.zip

Hi, thanks for your interest to K-scheduler. Could you provide file tiff2pdf_fix.ll and directory cfg_out_tiff2pdf to me? Binary compiled with wllvm(i.e., tiff2pdf) stores the corresponding llvm IR file in your local directory. I cannot extract the llvm IR file with the single binary.

Sorry for my carelessness. Attached are the related files :)
kscheduler_tiff2pdf.zip

I checked the binary and llvm IR file. It seems the binary is not compiled with LLVM coverage sanitizer (https://clang.llvm.org/docs/SanitizerCoverage.html) which instrument every edge and assign a unique/non-collision edge ID. A quick check is scan tiff2pdf_fix.ll and look for any occurrence of function "__sanitizer_cov_trace_pc_guard".
A quick fix is to double-check your CFLAGS and CXXFLAGS contains "-fsanitize-coverage=trace-pc-guard,no-prune" and recompile libtiff.
For more detail to build a non-wrapper based binary, please check the tutorial at https://github.com/Dongdongshe/K-Scheduler/blob/main/afl_integration/build_example/README(non_wrapper based program).md.
Let me know if you encounter any other issue.

Thanks a lot!


Update dependency kubernetes/kubectl to v0.30.1 (main)

This PR contains the following updates:

Package
Update
Change

kubernetes/kubectl
patch
v0.30.0 -> v0.30.1

Release Notes

kubernetes/kubectl (kubernetes/kubectl)
v0.30.1
Compare Source

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

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

This PR has been generated by Renovate Bot.

⚠ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

any of the package files in this branch needs updating, or
the branch becomes conflicted, or
you click the rebase/retry checkbox if found above, or
you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:
File name: hack/tools/install.sh
Command failed: ./hack/pull-helmchart.sh kubernetes/kubectl v0.30.1
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (35) OpenSSL SSL_connect: Connection reset by peer in connection to get.helm.sh:443

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now


[KYUUBI #2746][INFRA] Improve NOTICE of binary release

Why are the changes needed?

Maintain notice-binary manually.
How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[x] Run test locally before make a pull request

cc @pan3793 @yaooqinn

please remove those not belong to the binary releases.

@yaooqinn previous package with a wrong command, and now it should be fine

where is netty?

where is netty?

It seems we lost netty a long time due to the notice is not packaged with netty jar

Codecov Report

Merging #2828 (52a0652) into master (afb08c7) will increase coverage by 0.12%.
The diff coverage is 84.35%.

@@             Coverage Diff              @@
##             master    #2828      +/-   ##
============================================
+ Coverage     63.07%   63.19%   +0.12%
  Complexity      203      203
============================================
  Files           482      482
  Lines         21493    21612     +119
  Branches       2849     2860      +11
============================================
+ Hits          13557    13658     +101
- Misses         6650     6658       +8
- Partials       1286     1296      +10

Impacted Files
Coverage Δ

...n/java/org/apache/kyuubi/client/util/AuthUtil.java
84.00% <0.00%> (ø)

...g/apache/kyuubi/operation/BatchJobSubmission.scala
75.16% <47.05%> (-7.89%)
:arrow_down:

...ache/kyuubi/server/KyuubiRestFrontendService.scala
86.15% <85.00%> (-0.52%)
:arrow_down:

...g/apache/kyuubi/session/KyuubiSessionManager.scala
90.67% <97.56%> (+5.49%)
:arrow_up:

...in/scala/org/apache/kyuubi/config/KyuubiConf.scala
96.97% <100.00%> (+0.03%)
:arrow_up:

...ain/scala/org/apache/kyuubi/util/ThreadUtils.scala
90.32% <100.00%> (+0.66%)
:arrow_up:

...n/scala/org/apache/kyuubi/engine/ProcBuilder.scala
85.00% <100.00%> (+0.72%)
:arrow_up:

...ache/kyuubi/operation/KyuubiOperationManager.scala
80.82% <100.00%> (-1.13%)
:arrow_down:

...e/kyuubi/server/statestore/SessionStateStore.scala
93.18% <100.00%> (+0.97%)
:arrow_up:

...apache/kyuubi/session/KyuubiBatchSessionImpl.scala
96.07% <100.00%> (+0.52%)
:arrow_up:

... and 6 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 daa5bfe...52a0652. Read the comment docs.

@yaooqinn @pan3793 any comments ? it blocks 1.5.2 release

thanks, merging to master

I will push a backport for banch-1.5 manually


Bump obelisk version and add in some missing reflex / reflex-dom instances.

Brings obelisk up to hydration and the routes / prerendering. Also added StorageT instances for Prerender, HasJS and EventWriter that were previously missing.

Thanks!


Caused by: java.io.IOException: malformed PEM data: no header found

Facing the following error in unit test case using certificate in incorrect format after upgrading from BouncyCastleCrypto-1.54 to BouncyCastleCrypto-1.67.
Caused by: java.io.IOException: malformed PEM data: no header found
    at org.bouncycastle.jcajce.provider.asymmetric.x509.PEMUtil.readPEMObject(Unknown Source)
    at org.bouncycastle.jcajce.provider.asymmetric.x509.CertificateFactory.readPEMCertificate(Unknown Source)

Could someone please help to understand what exactly changed in the versions and how to resolve the same?

Hi
Do you have an example input?
MW

Closed as inactive.


mkfs.btrfs: remove host hardware dependency

It seems that mkfs.btrfs does some detection of the builder hardware[1]. Since in osbuild's case the builder hardware is not the hardware the image is running on, this might be wrong. We should find out all the options needed for mkfs.btrfs to have a reproducible outcome.
[1]:
WARNING: failed to open /dev/btrfs-control, skipping device registration: No such file or directory
btrfs-progs v5.11.1
See http://btrfs.wiki.kernel.org for more information.

  Mkfs with -m dup if you want to force metadata duplication.
Label:              (null)
UUID:               aff010e9-df95-4f81-be6b-e22317251033
Node size:          16384
Sector size:        4096
Filesystem size:    1023.00MiB
Block group profiles:
  Data:             single            8.00MiB
  Metadata:         single            8.00MiB
  System:           single            4.00MiB
SSD detected:       yes
Incompat features:  extref, skinny-metadata
Runtime features:
Checksum:           crc32c
Number of devices:  1
Devices:
   ID        SIZE  PATH
    1  1023.00MiB  /dev/loop5

Maybe @davide125 has some input which would be relevant options?

We should pass -m dup here. The only hardware detection that mkfs.btrfs does is checking whether the disk is a SSD or not, but that was dropped in recent versions and dup was made the default for all media, including SSDs.

Does this recent version (5.15) is accessible on every distribution we support ? E.g from rhel85 to rhel92 ? If not we should specify the -m dup.

btrfs isn't available at all on RHEL

-m dup implemented by #1312.


[palmdb4] Generate sOTU Nickname File sOTU.nickname.list - Populate to 10 million entries

Get adverbs list/code from @ababaian

Every distinctsOTU in palmDB is identified by a unique number: such as u16. This is not always helpful for humans to read/remember so I implemented a nickname system which provides random colorful nicknames to each sOTU such that it's more memorable.
The format of the palmprint nickname is <adjective><Noun>. Each Adjective / Noun is one word long, written in camel-case as adjNoun. The list of English Adjectives and Nouns was taken from WordNet (https://wordnet.princeton.edu/), the data.noun and data.adj files. The parsed list of Adjectives and Nouns is attached here:
wordnet.adjNoun.zip
To Close

[ ] Amend sOTU Names wiki page (Artem)
[X] Parse wordnet for appropriate words (Artem)
[ ]  Create sOTU.nickname.list file for palmDB

To do this, extract all currently assigned nickName from palmdb2 and dump them to a 3-column, ordered tsv file (order by sOTU in increasing number).
sOTU.nickname.list example
nickid  sotu     nickname
1       u16      skyKing
...
x       u47468   unposedSave
...
n       u301630  phallicUpdate
n+1     NA       raisedCurrency
...
10000000 NA    pickledCuticle

This file should be populated using adj Noun list upto ~10 million unique (non-repeating) nicknames. Unassigned nicknames will be designated NA in the sotu column. This file will be used to create the palmdb table nickname column. No need to create a table from this file, we can simply update the file as we update palmdb versions.

SELECT COUNT(nickname) FROM palmdb2 WHERE centroid = true LIMIT 8;
513,176
SELECT COUNT(DISTINCT(nickname)) FROM palmdb2 WHERE centroid = true LIMIT 8;
512,261
So, about a thousand.

Done,
File is half a GB so I won't upload it here, but it's ready to be used at some point.
Github
https://github.com/serratus-bio/logan-backend/commit/edd9d782a34a2ec28202cc716ba59c147a9f2c9a


how to receiving message from Topic>Subscription in Python using azure==0.50.1 ver.

Describe the bug
can you please provide sample snippet for ServiceBusClient.get_subscription_receiver()
I am seeing error while I am trying to connect to ServiceBusClient.get_subscription_receiver.
Exception or Stack Trace
Add the exception log and stack trace if available
To Reproduce
Steps to reproduce the behavior:
Code Snippet
message = ServiceBusClient.get_subscription_receiver(TOPIC_NAME, SUBSCRIPTION_NAME)
AttributeError: 'ServiceBusClient' object has no attribute 'get_subscription_receiver'
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Setup (please complete the following information):

Python Version: [e.g. Python 3.8]
SDK Version: [e.g. azure 0.5.1]

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

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

@manojkumarpotlapalli thanks for logging the issue, @KieranBrantnerMagee can you take a look at this

Hi @manojkumarpotlapalli ,
I'm assuming you're trying the sample code in our master branch.
The sample code in the master branch is for the latest azure-servicebus sdk v7.0.0b4 not for v0.50 -- in v0.50, ServiceBusClient doesn't have get_subscription_receiver method.
We've decided deprecated the old preview azure-servicebus v0.50, please shift to our latest service bus v7 which is currently in preview and could be installed by pip install azure-servicebus --pre.
If you still want samples for v0.50, please refer to the samples here on the branch servicebus_v0.50.3.

Hey @manojkumarpotlapalli ,
I'm closing the issue assuming that you've already got the problem solved.
Feel free to re-open the issue and reach out to us if you still have troubles with the samples.


Include improved recovery partition management in micro 6 staging

This about including in elemental-toolkit #2032 and related changes

[ ] Release toolkit 2.1.0
[ ] Bump toolkit in OBS Staging

Changes backported and all services bumped in staging.


Local functions break parsing if followed by html tags

I'm using VS 15.5.1
Steps to reproduce:

Create default ASP.NET MVC project using VS
Change C# language version in web.config to 7
Modify about.cshtml to the following:

@{
  ViewBag.Title = "About";

  void Local() { WriteLiteral("Foo"); }
  Bar
  Local();
}
<EMAIL_ADDRESS><EMAIL_ADDRESS>

Use this area to provide additional information.

Run the project. You'll get the following error:

Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS1525: Invalid expression term '<'

Source Error:

Line 2:    ViewBag.Title = "About";
Line 3:
Line 4:    void Local() { WriteLiteral("Foo"); }
Line 5:    Bar
Line 6:    Local();

Source File: ..\Views\Home\About.cshtml    Line: 4

Note that local functions which are not directly followed by html tags are parsed correctly and work as expected as you can check by moving the html tag below the local function invocation. I.e. the following code does not have any compilation errors:

@{
  ViewBag.Title = "About";

  void Local() { WriteLiteral("Foo"); }
  Local();
  Bar
}
<EMAIL_ADDRESS><EMAIL_ADDRESS>

Use this area to provide additional information.

Closing as no customers complained about this.


Example: working version of automatic LCD brightness adjustment

Main work is done in
byte handleBrightness(int mode, int minBrightness, int maxBrightness, int averageCnt, bool debugOut)

mode:
0: manual setting, in the example by touching upper right and lower right corners of the screen
1: linear setting
2 logarithmic setting (recommended)
minBrightness, maxBrightness: limits of LCD brightness to be used (1..255)
averageCnt: determines the number of times to be averaged. lower=faster (10)
debugOut: if true, print actual values on screen

Thank you for the PR!
I like the example but a couple of changes would be good:

the readme from the 3d printing folder needs to be restored.
It would also be great if the example could be made Arduino compatible, it just involves re-naming the file AutoBrightness.ino and change the src folder to AutoBrightness (and update the platformio.ini to reflect that). It should continue to work with PIO and also Arduino IDE with that

Hi Brian,
I can certainly change the example to Arduino format, no problem there.
However, I have no idea how to fix the readme.md issue. Git told me that
there was a merge conflict, and with my limited Git knowledge I just did
not get it resolved short of removing it from my local repository - which
now has apparently propagated upstream. I had hoped that you can reject
that part of the Pull Request - if that is not possible, I am not sure what
I can do.
I hope that one of these days I can improve my Git, until then I suggest
that you simply reject the pull request.
Greetings, Markus
Brian Lough @.***> schrieb am Mi., 3. Jan. 2024, 21:15:

Thank you for the PR!
I like the example but a couple of changes would be good:

the readme from the 3d printing folder needs to be restored.
It would also be great if the example could be made Arduino
compatible, it just involves re-naming the file AutoBrightness.ino and
change the src folder to AutoBrightness (and update the platformio.ini to
reflect that). It should continue to work with PIO and also Arduino IDE
with that

—
Reply to this email directly, view it on GitHub
https://github.com/witnessmenow/ESP32-Cheap-Yellow-Display/pull/107#issuecomment-1875914954,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOKANWUOTFTVJID3VLYBLI3YMW345AVCNFSM6AAAAABBKKFWJ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZVHEYTIOJVGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

You can close this PR, fix everything on your fork and then open another pull request. That might be easier.


filer: Ignore reactions to files, file comments

This was causing errors to appear in the logs since reactions were getting added to other objects:
  [Wed Apr 19 2017 08:59:53 GMT+0200 (CEST)] ERROR TypeError: Cannot read property '0' of undefined
    at ReactionIssueFiler.execute (.../node_modules/slack-github-issues/lib/reaction-issue-filer.js:30:27)

In the future, we may want to support file and file comment reactions, but it's not straightforward, since there's no one specific channel or timestamp associated with either.
cc @kenock @mgwalker

Coverage remained the same at 98.646% when pulling 00dcb4fe3a374bc27e768bb63da11bbcb59cfe09 on ignore-reactions into 980d97c0f232a4774ef5e56b302c2a827bae4978 on master.


Remove support of OCP 3.09 &3.10 from documents

Remove support of OCP 3.09 &3.10 from documents
-[ ] Update SP Read me

This fix is going to be included in #265, so this can be closed now.

This fix is going to be included in #265, so this can be closed now.


add a parameter to churn pipe constructor for logging

As discussed. Why don't you submit your pull request first and I'll merge in the changes.

Updated, PTAL!

:+1:


cli: python port

port cli to python

I would like to work on this as part of GSOC 2018. port CLI from GO to PYTHON.
So how can i start with this ?? i am looking for information on CLI tool. Is there any documentation or resources so that i can look into this project.
Thank you!

thanks for your interest in the project. The README is a good place to start. If something is not clear, please feel free to ask on our Gitter at https://gitter.im/falsifiable-us/popper. You will find links to some external resources there. I’d recommend you try to go over the popper lesson https://ivotron.github.io/popper-lesson/ so you can get a better idea of what popper does and what is the purpose of the tool

Thank you!! I am already surfing in the README resources. I will get back to you soon.


New site support request - https://www.noovo.ca/

Checklist

[ X] I'm reporting a new site support request
[X ] I've verified that I'm running youtube-dl version 2021.12.17
[X ] I've checked that all provided URLs are alive and playable in a browser
[X ] I've checked that none of provided URLs violate any copyrights
[X ] I've searched the bugtracker for similar site support requests including closed ones

Example URLs

https://www.noovo.ca/emissions/entre-deux-draps/surprises-et-deceptions-s3e2
Description

WRITE DESCRIPTION HERE (yes, really)

There is a Noovo extractor that understands https://www.noovo.ca/videos/... URLs, but the test URLs now redirect to the home page. The /emissions/ pages are differently structured and need a new extraction routine.
Please clarify what account info is needed and whether the content is restricted to CA. Aso, are there any long-lived shows that would be good for tests?

No account info needed but yes this is CA restricted
This is good for testing https://www.noovo.ca/emissions/entre-deux-draps
https://www.noovo.ca/emissions/entre-deux-draps/les-petits-oublis-s3e3
https://www.noovo.ca/emissions/entre-deux-draps/faut-ce-qui-faut-s3e4

I tried https://www.noovo.ca/emissions/la-traque-aux-cyberpredateurs but it wanted a Bell Media account: maybe this happens if your ISP connection isn't known to BM?

That happens to me also, not all the site needs an account
Try shows under https://www.noovo.ca/noovo


getsockopt: connection refused"

Hi,
My flynn host works fine, flynn ps shows that there are 3 processes running but
I'm getting this error from the logs when trying to access the websites via http:
2018-05-04T17:03:48.799347Z app[app.scw874b34-83d0cff1-2a55-4c67-9fef-7200c322d235]: t=2018-05-04T17:03:48+0000 lvl=eror msg="retriable dial error" app=router request_id=f1a9dac1-535e-476e-8a9f-4c793421ce8e client_addr=<IP_ADDRESS>:64480 host=fourstarpizza.fourstarpizza.lunarct.ie path=/favicon.ico method=GET backend=<IP_ADDRESS>:8080 err="dial tcp <IP_ADDRESS>:8080: getsockopt: connection refused" attempt=0
2018-05-04T17:03:48.801292Z app[app.scw874b34-83d0cff1-2a55-4c67-9fef-7200c322d235]: t=2018-05-04T17:03:48+0000 lvl=eror msg="retriable dial error" app=router request_id=f1a9dac1-535e-476e-8a9f-4c793421ce8e client_addr=<IP_ADDRESS>:64480 host=fourstarpizza.fourstarpizza.lunarct.ie path=/favicon.ico method=GET backend=<IP_ADDRESS>:8080 err="dial tcp <IP_ADDRESS>:8080: getsockopt: connection refused" attempt=1
2018-05-04T17:03:48.803520Z app[app.scw874b34-83d0cff1-2a55-4c67-9fef-7200c322d235]: t=2018-05-04T17:03:48+0000 lvl=eror msg="retriable dial error" app=router request_id=f1a9dac1-535e-476e-8a9f-4c793421ce8e client_addr=<IP_ADDRESS>:64480 host=fourstarpizza.fourstarpizza.lunarct.ie path=/favicon.ico method=GET backend=<IP_ADDRESS>:8080 err="dial tcp <IP_ADDRESS>:8080: getsockopt: connection refused" attempt=2
2018-05-04T17:03:48.803996Z app[app.scw874b34-83d0cff1-2a55-4c67-9fef-7200c322d235]: t=2018-05-04T17:03:48+0000 lvl=eror msg="request failed" app=router request_id=f1a9dac1-535e-476e-8a9f-4c793421ce8e client_addr=<IP_ADDRESS>:64480 host=fourstarpizza.fourstarpizza.lunarct.ie path=/favicon.ico method=GET status=503 num_backends=3
I'm not sure what to do, can you help?
Thanks,
Salvo

I think your router is overloaded or not responsive.
It would help if next time you collect the debug info and send us: sudo flynn-host collect-debug-info
Alternatively, you can scale up the router and see if this get you more stable.

Hi @thomasmodeneis,
I do have the debug info from the last time the cluster became unresponsive, is there a support email I can send them to?
Thanks

Flynn is unmaintained and our infrastructure will shut down on June 1, 2021. See the README for details.


dfx not added to $PATH on Linux

When installation completes, the user should be informed that they need to add dfx to their PATH if they are on Linux.

dfx is not immediatly in my PATH. The install script or the docs could do a bit better in guiding the user here. I know from experience that this first step of getting PATH set correctly is a very common blocker for newbies. Unfortunately there are no perfect technical solutions to setting up PATH across all platforms, so informing the user about it has to be part of the install experience.

I am on Linux. On Aimee’s Mac though dfx is immediately on the path. This is because the installer installed directly to /usr/local/bin. This creeps me out a bit as I am accustomed to needing to sudo to write to that location. Maybe it’s common on Macs to install directly to /usr/local/bin without permission. On Linux, my dfx is in ~/bin.

Install script checks if install dir is in path.


Adds ugly median

Coverage remained the same at 100.0% when pulling 53ca224c9e8b4f744a0304cd4c819f675562fa9a on feat/median into 91e2aa84916037bbcf7a2b65aa68d682dd917b3d on master.


Hotfix/issue 194 2

This change is

[Current coverage][cc-pull] is 57.97% (diff: 100%)

Merging [#240][cc-pull] into [master][cc-base-branch] will decrease coverage by <.01%

@@             master       #240   diff @@
==========================================
  Files          1911       1911
  Lines         97595      97608    +13
  Methods           0          0
  Messages          0          0
  Branches      12119      12121     +2
==========================================
+ Hits          56584      56586     +2
- Misses        38012      38022    +10
- Partials       2999       3000     +1

[][cc-pull]

Powered by Codecov. Last update [78cc249...ea8dda9][cc-compare]
[cc-base-branch]: https://codecov.io/gh/servicecatalog/development/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/servicecatalog/development/compare/78cc2497d5e3dfe05199194a7383eed7142173fe...ea8dda99edefcd80c6c39789fa9bf186e33d03b4?src=pr
[cc-pull]: https://codecov.io/gh/servicecatalog/development/pull/240?src=pr

Reviewed 7 of 7 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved, some commit checks failed.

Comments from Reviewable


loading and error states during/after FeedInfo polling

Can I see a sample implementation for this on the front end?

Perhaps the feed scanning process could use something like a progress indicator or wait cursor to give a visible indicator of status? Loading happens silently now.

Yep, we're working on this. There's a conflict between how we're clearing out the local datastore and the promise that gets returned indicating the loading/error state.

@meghanhade if you want to use the same spinner as the one @hanbyul-here created for Playground, I copied that code into an Ember component for the Dispatcher app.
Code at https://github.com/transitland/dispatcher/tree/master/app/components/loading-spinner
And you can see it in action at: https://transit.land/dispatcher/feeds

yeah, it will be good to have both ultimately. The loader/spinner and error states.
Hopefully, the processing time is short and you never have to see the loader/spinner but it should be in there just in case.


Error 1130 when launching a new docker instance

Description
I am new to Gitea but not to Linux or Docker. I followed the instructions to install from the Gitea page.
When launching I get the install page in a browser but I get the following error when hitting the "Install Gitea" button.
The database settings are invalid: Error 1130: Host '<IP_ADDRESS>' is not allowed to connect to this MariaDB server
There is someone else who has reported the same error with MySql on the forum page so it is not because I have switched to using MariaDB, which I believe is supported.
I am using the latest tag in docker which appears to be synonymous with 1.2.0 currently.
I am also using the latest tag for MariaDB which is 11.1.2 currently.
My docker-compose.yml is as follows:
`version: "3"
networks:
gitea:
external: false
services:
gitea:
image: gitea/gitea:latest
container_name: gitea
environment:
- USER_UID=3000
- USER_GID=3000
- GITEA__database__DB_TYPE=mysql
- GITEA__database__HOST=gitdb:3306
- GITEA__database__NAME=gitea
- GITEA__database__USER=gitea
- GITEA__database__PASSWD=gitea
restart: unless-stopped
networks:
- gitea
volumes:
- /mnt/gitea/data:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- "5000:3000"
- "222:22"
depends_on:
- gitdb
gitdb:
image: mariadb:latest
container_name: gitdb
restart: unless-stopped
environment:
- MYSQL_ROOT_PASSWORD=gitea
- MYSQL_USER=gitea
- MYSQL_PASSWORD=gitea
- MYSQL_DATABASE=gitea
networks:
- gitea
volumes:
- /mnt/gitea/db:/var/lib/mysql`
I believe if I shell into the MariaDB and update the permissions in the database it will work but I'm raising this as it should work out of the box and not need manual intervention
Gitea Version
1.2.0
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
N/A
Screenshots
The guy who raised this on the forum included a screenshot
https://forum.gitea.com/t/gitea-support-issue-error-1130/5503
Git Version
No response
Operating System
Ubuntu 22.04 - Docker
How are you running Gitea?
Docker, listing of the compose file in the main box
Database
MySQL/MariaDB

There is an error in the MariaDB log at this time
Aborted connection 5 to db: 'unconnected' user: 'unauthenticated' host: '<IP_ADDRESS>' (This connection closed normally without authentication)

Switching to mysql makes this work as expected so this must come down to a difference between the default configuration of MariaDB and MySQL

This is a problem with the MariaDB docker image. It seems to ignore the environment variables set. It works fine if I create the user and database manually. No problem with gitea.

Thanks for your patient investigation.

No problem with gitea.

Glad to hear that 🥂


Attempt to fix another e2e test flakiness

In PR #550 the e2e test for taskrunTimeOut failed with reason  message: 'References a Task arendelle-2j8ft/giraffe that doesn''t exist:  translating I0226 14:05:06.851]       Build to Pod: serviceaccounts "default" not found'
Theory: ServiceAccount 'default' in test namespace is created with some delay but the
taskrun reconciliation is triggered before that which causes this type of failure
Fix: Once namespace is created call wait function to make sure SA is
created.

Changes
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:

[ ] Includes tests (if functionality changed/added)
[ ] Includes docs (if user facing)
[x] Commit messages follow commit message best practices

See the contribution guide for more details.

you might have just found the secret of flakiness @shashwathi  🎉
/lgtm

/test pull-knative-build-pipeline-integration-tests

will run the integrations tests a few times to make sure there is no flakiness

/test pull-knative-build-pipeline-integration-tests

/test pull-knative-build-pipeline-integration-tests

/test pull-knative-build-pipeline-integration-tests

/lgtm


Where to find ImageSets/train.txt

Hi!
After a long journey I finally got this code to work (can document some steps if someone is interested) but when starting the training it says Path does not exist: [...]/MV3D_TF/tools/../lib/datasets/../../data/KITTI/ImageSets/train.txt.
Where should this file come from?
Thanks!

OK, I will try to bringup this repo soon, with runnable README, not just fork...

I think actually this one is the best fork at the moment.
The other interesting one seems to be the one you mentioned from bostondiditeam. I couldn't try it though because I have no GPU currently
lmb-freiburg used caffee and leeyevi is behind your repo by 1 commit.

Hi!
After a long journey I finally got this code to work (can document some steps if someone is interested) but when starting the training it says Path does not exist: [...]/MV3D_TF/tools/../lib/datasets/../../data/KITTI/ImageSets/train.txt.
Where should this file come from?
Thanks!

I also met this issue, and following https://github.com/sshaoshuai/PointRCNN/blob/master/data/KITTI/ImageSets/train.txt, directly copied it to $MV3D/data/KITTI/ImageSets/train.txt work for me. I'm making a runnable version based on the previous author.


ensure functions utilizing raw_request can authenticate to rpc enabled daemon

Stumbled across this when messing with sending transactions via the daemon

Looks good. I have no daemon with auth set up to test it, but at least I can confirm it doesn't break communication with auth-disabled one :)


Added Event Forwarding To Pagination Component

Added Event Forwarding to the Pagination component by adding handlers to the Next & Previous Page buttons and the Page Size and Page select fields.
These handlers will dispatch one event containing page and pageSize details.  This was done to prevent duplicate dispatches when the pageSize changes, as the page is always set to 1 when pageSize is changed.
Question: Is there a better way to handle select value changes than onBlur? Using onChange results in duplicate triggers since they are binded to the page and pageSize variables.

Hi @mabentley85 – thank you for the PR. I think it would be useful to dispatch page and pageSize values.
Using on:blur is not the expected behavior because it will not fire immediately like on:change. To address the "double firing" from on:change, try using the afterUpdate to dispatch the values.

@metonym Thanks for the hint, I refactored my changes to make use of the afterUpdate function.

@metonym Made the requested change

Thanks again @mabentley85  for the submission!
Released in v0.7.0 – changelog notes


Add 243390 DT - PR 2

This replaces https://github.com/balena-io-hardware/testbotsdk/pull/21

after that fix, this works with my fin. I still don't quite understand why it fails if we don't pipe to the file first though - but I'm happy to accept it for now if you are

Thanks @rcooke-warwick! I tested fcb1e38 with the eMMC Pi3 and the Pi4. I will pull your commit and try again, this time to include the following 3 use-cases:

Pi3 eMMC
Pi4 (non-flasher)
EBCRS A2 2G (flasher)

I also just tested the Pi4, and Fin and both worked @acostach - this looks good to me and I'm happy to merge this if you are. This bump with then enable us to progress the emulated generic-arm64 tests too

Perfect, I'm in progress of testing the Pi3 eMMC provisioning again and the EBCRS's and will get back with my results ASAP.

thanks @acostach nice work


stdCOM - RegisterAsActiveObject() and OnTimeCall()

Implementation of 2 methods ensures something that something which previously was not possible now is, although currently not optimally, more about that towards the end.
RegisterAsActiveObject
Description
Put an active object into the Running Object Table, and register it to a specified GUID (CLSID). From here other applications can use (and drive) your VBA application.
Example
The following example registers the myObj object as GUID e3cc5a52-6f89-41e3-9714-9502146a840a. This object can then be accessed from other processes via VBA's equivalent of GetObject("{e3cc5a52-6f89-41e3-9714-9502146a840a}").
Module Test
  Dim myObj as MyClass
  sub run()
    set myObj = new MyClass
    stdCOM.Create(myObj).RegisterAsActiveObject("e3cc5a52-6f89-41e3-9714-9502146a840a")
  end sub
end class

OnTimeCall(sMethodName,iMilliseconds)
Implementation Option 1 (Short term)

Call RegisterAsActiveObject on a newly created GUID.
Launch a binary/PowerShell script which connects to the object (via GUID) and continually calls a method every iMilliseconds milliseconds. If the object disconnects, close powershell runtime.

Implementation Option 2 (Long Term)

Create a thunk which calls a method on an object pointer every iMilliseconds milliseconds.
Pass pointer into thunk
Resolve any crashes that occur, e.g. when object is un-allocated.

Example
The following example registers the myObj object as GUID e3cc5a52-6f89-41e3-9714-9502146a840a. This object can then be accessed from other processes via VBA's equivalent of GetObject("{e3cc5a52-6f89-41e3-9714-9502146a840a}").
class MyClass
  Public Function OnTick()
    static i as long: i=i+1 'increase every 100ms
  End Function
end class
Module Test
  Dim myObj as MyClass
  sub run()
    set myObj = new MyClass
    stdCOM.Create(myObj).OnTimeCall("OnTick", 100)
  end sub
end class

Alternative specification for OnTimeCall could be as follows:
class MyClass
  Public WithEvents com as stdCOM
  Private Sub com_OnTick()
    static i as long: i = i + 1
  End Sub
end class

class stdCOM
  Public Event OnTick
  Public Function OnTimeConnect(ByVal ms as long)
    Dim sGUID as string: sGUID = RandomGUID()
    Call Me.RegisterAsActiveObject(sGUID)
    Call OnTimeActiveObjectConnect(sGUID,"protOnTick", ms)
  End Function
  Public Function protOnTick()
    RaiseEvent OnTick
  End Function
end class

Pros

OnTick method doesn't have to be private, this is syphoned off to another object.
protOnTick is a common naming convention for "protected" methods in stdVBA so fits better here.
Using events is cleaner.

Cons
?


Truncated conversion xml file

@smart-fun :
Hi, congratulations on the module.
I have to convert files that weigh over 200 KB.
At the time of the conversion when I print the result on the Android console, I notice that not everything is converted, but stops at one side.
It converts less than 1/41 of what it should convert.
Estimating more or less 4.5-4.9 KB are converted.
What can I do?
Does the module support converting files of this size?

Hello Angelk90 and thanks for using XmlToJson!
The size of the String when you log to the console is truncated by Android, so it does not mean that the conversion has stopped. You should log the size of the String instead, like Log.i(TAG, convertedString.length()); so that you'll see if this is only a console issue.
200KB is quite big for a String, I never tried to convert so big texts, but I don't see any reason why it could fail. If you confirm that the length is still 5KB for a source of 200K, please send me the file so that I can give it a try.
Arnaud.

@smart-fun : It seems that it works correctly, I do not understand why if I printed the .xml file, it prints everything, on several lines but everything.
Instead if I print this truncates it, perhaps it considers it as a single string and can not divide it into several parts.
P.Š.
I would not go off the subject, but I wanted to ask something, if not I create a new issue.
I have the following file: http://jsoneditoronline.org/?id=6449e6640a8574d4d21880793872c8f8
I did not understand how I can navigate on it.
So I have the string "str", which contains the .xml file as a string.
How can I make sure to create a variable that contains only the value of the array item.
Then you can cycle the following array, to be able to print the attributes it contains?

Hi,
you should not convert it to String if you want to navigate the Json, you should keep the JSONObject. For exampe:
JSONObject jsonObject = xmlToJson.toJson();
Then you can parse the Json with methods like
JSONArray myArray = jsonObject.optJSONArray("yourArrayName");
or
JSONObject otherObject = jsonObject.optJSONObject("yourObjectName")
or
String value = jsonObject.optString("attributeName")
see documentation: https://developer.android.com/reference/org/json/JSONObject.html
I hope that this is what you were expected!
Arnaud.


Vertices coordinates in UCS (not WCS)

I have a dxf file that WCS and UCS* are not in the same position/direction.
So, how can in get vertices coordinates of entity in UCS (user coordinate system) of DXF file?
*UCS is unnamed

If you need to convert WCS coordinates to UCS you will have to do it manually. It has been a long time since I look into the UCS table, and I may add, in a future update, some kind of Transform method for the UCS object to convert coordinates.

But US table needs "name" for finding a ucs. what about "unnamed" ucs?!

If you are looking for the current UCS (the last UCS when the drawing was saved) the basic information is stored in the DrawingVariables.
DxfDocument doc = DxfDocument.Load("Drawing1.dxf");
Vector3 ucsOrigen = doc.DrawingVariables.UcsOrg;
Vector3 ucsXDir = doc.DrawingVariables.UcsXDir;
Vector3 ucsYDir = doc.DrawingVariables.UcsYDir;

With that information you will have to manually build your transformation matrix to convert your coordinates from WCS to UCS or vice versa.

Thanks so much


feat: added wrappers

Replaced shell commands with wrappers where appropriate.

deals with #10 , #26 , #27 , #28 .


display text

how to display text when my array is nill. for eg. i have data for country name then i show all the list of country.but while i don't have then how to put text "Don't have any country..."

Hi there!
Do you want to replace the UIPickerView in this case? Unfortunately, this is not possible right now. In case of an empty array, you could present just a UIActionController for displaying the text. If your array is non empty you then present a UIPickerViewController.
Best regards,
Roland


[tool_crash] StateError: Bad state: No context with the running Dart application.

Command
flutter --no-color run --machine --track-widget-creation --device-id=chrome --start-paused --dart-define=flutter.inspector.structuredErrors=true lib\main.dart

Steps to Reproduce

...
...
...

Logs
StateError: Bad state: No context with the running Dart application.
#0      RemoteDebuggerExecutionContext.id (package:dwds/src/debugging/execution_context.dart:55:7)
<asynchronous suspension>
#1      AppInspector._getExtensionRpcs (package:dwds/src/debugging/inspector.dart:538:20)
<asynchronous suspension>
#2      AppInspector._initialize (package:dwds/src/debugging/inspector.dart:97:34)
<asynchronous suspension>
#3      AppInspector.initialize (package:dwds/src/debugging/inspector.dart:160:5)
<asynchronous suspension>
#4      ChromeProxyService.createIsolate (package:dwds/src/services/chrome_proxy_service.dart:216:18)
<asynchronous suspension>

[✓] Flutter (Channel stable, 3.0.5, on Microsoft Windows [Version 10.0.22000.856], locale en-IN)
    • Flutter version 3.0.5 at C:\src\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f1875d570e (7 weeks ago), 2022-07-13 11:24:16 -0700
    • Engine revision e85ea0e79c
    • Dart version 2.17.6
    • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
    • Android SDK at C:/Users/Dell/AppData/Local/Android/Sdk
    • Platform android-33, build-tools 32.1.0-rc1
    • ANDROID_HOME = C:/Users/Dell/AppData/Local/Android/Sdk
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
    • All Android licenses accepted.

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

[!] Visual Studio - develop for Windows (Visual Studio Community 2022 17.2.3)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.2.32526.322
    ✗ Visual Studio is missing necessary components. Please re-run the Visual Studio installer for the "Desktop development with C++" workload, and include these components:
        MSVC v142 - VS 2019 C++ x64/x86 build tools
         - If there are multiple build tool versions available, install the latest
        C++ CMake tools for Windows
        Windows 10 SDK

[✓] Android Studio (version 2021.2)
    • Android Studio at C:\Program Files\Android\android studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)

[✓] Android Studio
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • android-studio-dir = C:\Program Files\Android\Android Studio
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)

[✓] VS Code (version 1.70.2)
    • VS Code at C:\Users\Dell\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.46.0

[✓] Connected device (2 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 104.0.5112.102
    • Edge (web)   • edge   • web-javascript • Microsoft Edge 103.0.1264.77

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

Flutter Application Metadata
Type: app
Version: 1.0.0+1
Material: true
Android X: false
Module: false
Plugin: false
Android package: null
iOS bundle identifier: null
Creation channel: stable
Creation framework version: cd41fdd495f6944ecd3506c21e94c6567b073278
Plugins
camera-0.8.1+7
file_picker-5.0.0
flutter_image_compress-1.1.0
flutter_keyboard_visibility-5.3.0
flutter_keyboard_visibility_web-2.0.0
flutter_plugin_android_lifecycle-2.0.7
geocoder-0.2.1
geocoding-2.0.4
geolocator-9.0.1
geolocator_android-4.0.2
geolocator_apple-2.2.1
geolocator_web-2.1.6
geolocator_windows-0.1.1
image_picker-0.8.5+3
image_picker_android-0.8.5+1
image_picker_for_web-2.1.8
image_picker_ios-0.8.5+6
path_provider-2.0.11
path_provider_android-2.0.17
path_provider_ios-2.0.11
path_provider_linux-2.1.7
path_provider_macos-2.0.6
path_provider_windows-2.1.0
shared_preferences-2.0.15
shared_preferences_android-2.0.12
shared_preferences_ios-2.1.1
shared_preferences_linux-2.1.1
shared_preferences_macos-2.0.4
shared_preferences_web-2.0.4
shared_preferences_windows-2.1.1

@Joslin-Robin
The original issue was fixed as part of https://github.com/flutter/flutter/issues/95916, so try upgrading to latest master and run the command again to see if you still get same error or not.
Closing for now, as this issue has been fixed already. If you still see the same crash on latest master, write in comments and I'll reopen it.


Update rdkafka to v1.0.1

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en
For changelog. Remove if this is non-significant change.
Category (leave one):

Improvement

@abyss7 A newer version has been released. See here: https://github.com/edenhill/librdkafka/releases/tag/v1.1.0

@abyss7 A newer version has been released. See here: https://github.com/edenhill/librdkafka/releases/tag/v1.1.0

Thanks for mention it. Will update a little bit later.


Does a persistent device ID exist for iOS?

I want my app to authenticate via unique device identifier so that as long as they're on the same device, they don't need to create an account.
I am open to other ways of accomplishing this, device ID just seemed the best - however the DeviceInfo.getUniqueID() keeps changing on the same device.

@kevando https://github.com/rebeccahughes/react-native-device-info/pull/58
That PR makes .getUniqueID actually unique.

Awesome, thanks @mehcode Just so I'm understanding this repo correctly, this was not actually merged into the master yet, correct?

I merged this PR with the latest master branch and followed the manual instructions and I am getting this error:
Undefined symbols for architecture x86_64:   "_OBJC_CLASS_$_DeviceUID", referenced from:       objc-class-ref in libRNDeviceInfo.a(RNDeviceInfo.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
Not sure if this is something wrong on my end (in the xcode settings) or something else.. I will report back

It looks like I forgot to go back and finish that PR. Someone needs to add those two files to the xcode project.

For the record this is done


Cromwell 0.24

Updating Cromwell launcher container image to support latest 0.24 upstream release.
Also added accepting Submitted in addition to Running as a temporary status response from Cromwell. I had a couple of failed executions with this Cromwell response status and the driver assumed a failure.

I signed the CLA. Both for my individual contributions and for my company.

Hi Carlos. Thank-you for the submission. I have an almost identical change ready in my fork:
https://github.com/googlegenomics/pipelines-api-examples/compare/master...mbookman:master
I am currently coordinating with  @vdauwera  to publish the wdl_runner docker image to gcr.io/broad-dsde-outreach/wdl_runner.

@mbookman great to hear. Closing this then.


Ensure Type Accuracy in updateSignal Method

Hello Gentleman!
Here is my contribuiton to the project!.
Fixed a type glitch in updateSignal – now it knows its numbers from its strings and so on depends on the state type 🌟🌟
Before:

After:

MERGED!!
Thanks a lot !!!


ModuleNotFoundError: No module named 'example.settings_local'

I cloned the repository and installed libraries but while executing command:
python3 manage.py migrate
I came across this issue. Could you help me out?
Traceback (most recent call last):
File "manage.py", line 25, in
execute_from_command_line(sys.argv)
File "/home/cypher/Desktop/django-payu-ro/example/venv/lib/python3.6/site-packages/django/core/management/init.py", line 364, in execute_from_command_line
utility.execute()
File "/home/cypher/Desktop/django-payu-ro/example/venv/lib/python3.6/site-packages/django/core/management/init.py", line 308, in execute
settings.INSTALLED_APPS
File "/home/cypher/Desktop/django-payu-ro/example/venv/lib/python3.6/site-packages/django/conf/init.py", line 56, in getattr
self._setup(name)
File "/home/cypher/Desktop/django-payu-ro/example/venv/lib/python3.6/site-packages/django/conf/init.py", line 41, in _setup
self._wrapped = Settings(settings_module)
File "/home/cypher/Desktop/django-payu-ro/example/venv/lib/python3.6/site-packages/django/conf/init.py", line 110, in init
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/home/cypher/Desktop/django-payu-ro/example/venv/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 994, in _gcd_import
File "", line 971, in _find_and_load
File "", line 953, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'example.settings_local'
Steps I followed:
git clone git://github.com/PressLabs/django-payu-ro.git
cd django-payu-ro/example
virtualenv venv
. venv/bin/activate
pip install -r requirements.txt
./manage.py migrate [Command returned ModuleNotFoundError]

Try renaming settings_local.py.example to settings_local.py in the nested example directory.


Add sanity checks for setting withdrawSafetyPeriod

Currently, governance can in theory make it impossible for users to withdraw their funds by setting the withdrawPeriod to 0.
So, in  function setWithdrawSafetyPeriod(uint256 _withdrawPeriod, uint256 _safetyPeriod)
require that:
_withdrawPeriod >= 1 hour
_safetyPeriod <= 6 hours

Make sure resetting it does not resent the time(can't be paused indefinitely)

closed in #85


Section/Button component for order-management

Component Name
OrderOptionButton
Description
The name of the component could use some help, but essentially this would only be used for the extension target:
shop.order-management.order-details.render-after.
I need a way to add another option to the list of existing options (currently 2). I tried adding it myself using shop-minis-platform-sdk but according to the documentation that is prohibited.

Extensions may only render UI components from the @shopify/shop-minis-ui-extensions package.

Also, I wouldn't be able to successfully and reliably get the same spacing without access to the code that the first two options are using. (e.g the box spacing i'm assuming).
See screenshots for what I am proposing (the new button I added is titled "Return item").
In the meantime I am going to use the Link component underneath the visit store button.

Use Cases
This would allow developers to extend the options for managing orders, while keeping good design styles.
Design Mockups

Key Features
The new component should have 2 props and if clicked it should launch the mini
Icon
Title
Dependencies
No response
Additional Notes
No response

Hi @danny-boyer. You may need to create a new extension in this repo to fit your use case. Your extension can import components from the SDK to create the UX you want. Then once the new extension is released you can use it in your mini.
Please see the setup guide on how to contribute to this repo: https://github.com/Shopify/shop-minis-ui-extensions/tree/main/docs.


Handling Chmod seems to be needed when using dinghy

Hey there, sorry for bringing this up out of nowhere but in order to get reflex to play fine with dinghy I had to delete the code that ignored fsnotify.Chmod because that's the event we get when the tool that is used under the hood forwards events to the boot2docker VM by touching the file on the VM :cry:
Sorry but this is my first time looking at reflex sources and I was wondering what would be the reason for having that logic around. Would it make sense to provide a flag to consider those events?
Not sure if you are familiar with Docker / Dinghy / Boot2Docker so let me know if you need any additional context.
/cc @codekitchen so that you know that there might be other tools that might have a hard time detecting changes right away when using dinghy, feel free to unsubscribe to the issue in case you don't want to get updates about it.

Thanks for bringing this to my attention. For background for why that code is like that, see the two (OS X specific?) issues #11 and #23.
I'll have to look into what differences there are with fsnotify events on OS X vs. Linux (perhaps after upgrading to latest fsnotify). It's possible that some of this reasoning is no longer valid.
I'd prefer not to add another flag to configure the changes reflex watches for, but it's possible that there are mutually exclusive use cases that would make such configuration necessary.
Any research help would be helpful :)

Here's an asciicast demoing the current behavior. Please note that when I mention that no events got triggered after removing a file is expected that is related to using NFS to share files between my machine and the VM
Hope that helps!

added a PR that allows watching chmod only changes as I had the same problem with docker native OSX (their latest revision broke inotify)


Allow custom encoder, decoder and formatter for the postgres adapter

I want to suggest this functionality. In my particular case I am using it to encode/decode PG's json type. Along with that, I have a custom Ecto type for JSON that just passes data through.
The reason why I needed to implement custom encoding/decoding is that after validation, Ecto changes field's value to the one produced by dump (https://github.com/elixir-lang/ecto/blob/master/lib/ecto/repo/model.ex#L22) which isn't quite convenient. Imagine that you have a JSON field before inserting/saving and then suddenly after that that's a string.
Even if the above behaviour will be eventually fixed, I still suggest that just being able to specify custom encoding/decoding/formatting handlers might sometimes be very helpful to the point of saving somebody's life :) and the implementation isn't very complicated.
If you are in favour of this change, please let me know if you want me to add anything to this PR.

Great, definitely :+1: on this!
I have one question though: is custom functions the best API? I am wondering that, maybe if we passed modules, we could easily allow fallbacks. Something like:
extensions: [PGis, JSON]

I think this API was designed to be chainable in the first place, is this correct @ericmj?
If, though, we want to keep the current API, we should:

Clean up the current implementation. Can we rewrite those as: Keyword.put_new(..., ..., &custom(&1, &2, opts[:formatter]) or something of sorts?

We need tests

We have decided to add this directly to postgrex!

"this" being what exactly?
On Sat, Jan 10, 2015 at 1:45 AM, José Valim<EMAIL_ADDRESS>wrote:

Closed #344 https://github.com/elixir-lang/ecto/pull/344.
—
Reply to this email directly or view it on GitHub
https://github.com/elixir-lang/ecto/pull/344#event-216675952.

--
Y.
My company is hiring: https://trustatom.com/jobs

extensions: [PGis, JSON]


Legacy math mode content

Math mode contents (probably generated by latex2html before using MathJaX) in earlier entries (e.g. https://plato.stanford.edu/entries/poincare/, §3.2) currently are not converted properly without manual editing.

This issue is addressed in ba582e2.


📚 Add comment to workflow files

Background & Context
@tkilias and I were wondering and discussing why the following section is included in the GitHub workflows proposed by PTB:
  pull_request:
    types: [opened, reopened]

We imagined the following rationale:

At the time when the pr is opened or reopened, the check results of former push operation could already be outdated
So the PR should run the checks again

Acceptance Criteria

A comment is added to the workflow files provided by the PTB, e.g. # check results of former push could be outdated
Optionally: An additional section is added to the developer guide explaining rationale and mitigation in more details.

@ckunki, @tkilias I thought if no types are specified, they are included in the defaults. But I still couldn't find the corresponding documentation immediately. So as you suggested, let's make it explicit, so there's no doubt about it.


Collated Code Feedback for A0139277U

Main

Be consistent with spacing

Those 2 functions alone show different spacing.
Avoid empty tags

Documentation
No comments
Test

More whitespace issue

This comment is for the entire team, are you guys following test naming conventions?

Reviewed.


[Databrics E2E] Feature PR fixes

Type of PR

Code changes

Purpose

Reduce chattiness of deployment script
fix small issue in deploy_azdo_variables.sh

Does this introduce a breaking change? If yes, details on what can break
Author pre-publish checklist

[ ] Added test to prove my fix is effective or new feature works
[x] No PII in logs
[ ] Made corresponding changes to the documentation

Issues Closed or Referenced

Closes #976

Yes it works with that indentation. The problem was a missing space before the \
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: Yennifer Santos @.>
Sent: Friday, December 20, 2024 7:54:52 AM
To: Azure-Samples/modern-data-warehouse-dataops @.>
Cc: Elena Terenzi @.>; Assign @.>
Subject: Re: [Azure-Samples/modern-data-warehouse-dataops] [Databrics E2E] Feature PR fixes (PR #977)
@ydaponte approved this pull request.
I just have a question - otherwise approved! Thanks for catching this!

In e2e_samples/parking_sensors/scripts/deploy_azdo_variables.shhttps://github.com/Azure-Samples/modern-data-warehouse-dataops/pull/977#discussion_r1893542796:

@@ -91,55 +91,57 @@ az pipelines variable-group create
databricksNotebookPath="$databricksNotebookPath"
databricksClusterId="$databricksClusterId"
apiBaseUrl="$apiBaseUrl" \

--output json

-o none

I know you tested it - but I'm just not sure if the indentation here is right? Can you just confirm?
—
Reply to this email directly, view it on GitHubhttps://github.com/Azure-Samples/modern-data-warehouse-dataops/pull/977#pullrequestreview-2516889717, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AB4RDGWML4HAXG7RBQEGB5T2GO5LZAVCNFSM6AAAAABT5OZLA2VHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDKMJWHA4DSNZRG4.
You are receiving this because you were assigned.Message ID: @.***>


fix(templates): Added a missing boolean to activate the semicolon tslint rule.

The tslint.json template was missing a "true" to make the semicolon rule actually activate.

@wittlock — Thank you for your contribution! 🏆


Alignment Issues with metric component

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Steps to reproduce 🕹
Issue:

Steps:

Add 2 metrics components next to each other on half of the canvas (other half can be blocked by another component, it's chart in the above screenshot)
Observe how it overlaps

The issue seems to be with the box of the metric component as it is unable to define proper boundaries.
Your environment 🌎
Toolpad version 0.1.22 running locally on Mac M2

Yeah, I would say this should probably be fixed at the component level, so allowing the Metric component to be more fluid probably even if it won't always look great.


Check for close and freeze authorities in token-swap

Problem

Swap pool mints can have a freeze authority which can be used to freeze liquidity provider's pool tokens to lock in liquidity
Swap pool liquidity token accounts can have a close authority. If the token accounts reach zero tokens, they can be closed and deleted and replaced with new accounts which aren't restricted by the normal initialization instruction.

Changes

Prohibit token accounts from having a close authority
Prohibit mint accounts from having a freeze authority

@joncinque can you confirm whether token accounts can reach amount == 0?

@jstarry the liquidity token accounts can reach amount == 0 if all of the pool tokens are withdrawn, effectively killing the swap.  Are you thinking of a check to make sure that doesn't happen?  Or do you intend a possibility of depositing when liquidity accounts are at 0?

@jstarry the liquidity token accounts can reach amount == 0 if all of the pool tokens are withdrawn.

Interesting, I just wanted to check that checking CloseAuthority is actually needed. Having a close authority in that case doesn't actually seem like a bad thing. I was actually asking if token A could be depleted to 0 if swaps go in one direction, because then the swap would still be active and closing a token account could have bad consequences

effectively killing the swap

How is it effectively killed? Is it not possible to add liquidity again if all pool tokens are withdrawn?

Are you thinking of a check to make sure that doesn't happen? Or do you intend a possibility of depositing when liquidity accounts are at 0?

Wasn't thinking about that actually. Seems valid to withdraw all liquidity

I was actually asking if token A could be depleted to 0 if swaps go in one direction, because then the swap would still be active and closing a token account could have bad consequences

That depends on the curve being used to calculate transactions.  In most curves, it isn't possible to deplete one of the accounts through swapping since the price tends to infinity, but we should account for the possibility in our code in case someone wants to do it.  For example, a "curve" which is just a line could have a token account go to 0, so we probably want the ability to avoid closing accounts.

How is it effectively killed? Is it not possible to add liquidity again if all pool tokens are withdrawn?

Currently, no, since all new deposits are weighted as a fraction of the total pool token supply.  If there's no pool token supply, the calculation will fail, and it's impossible to do anything with the swap.  A possibility for "resurrecting" a depleted swap is to mint the initial pool amount on the next deposit though.  It's equivalent to recreating the swap.  It deserves an issue to discuss futher either way :-)

Makes sense, thanks for the explanation!


Mex won't find header files that are called via  #include <header.h>  even though they are in include path

I have set up boost and pylon 4, and defined all the env variable but I have this strange thing that the compiler won't find header files that are specified within a header file via
#include <pylon/PylonInclude.h>,
even thought "pylon/PylonInclude.h" is in the include paths via the -I option.  Changing
#include <pylon/PylonInclude.h>
into
#include "fullpath/pylon/PylonInclude.h"
works, but of course, I don't want to change all the header files. There seems to be a similar question to this on Stack Overflow  and this one on Mathworks, however, no solutions are presented. There must be something I am missing, such as setting C++ global variables or similar, so any help is appreciated!
Here is the minimal code I use to debug the issue:
libraries = {  'basler_helper', 'basler_set_get.cpp',      '-c';      ...
               'private',  'baslerGetRawCameraParams.cpp', '';       ...
            };
ipaths = [  '-I' fullfile(getenv('PYLON_ROOT'),'include') '-I' fullfile(getenv('PYLON_GENICAM_ROOT'),'library\CPP\include') '-I' fullfile(getenv('BOOST_ROOT'))]
lpaths = [  '-L' fullfile(getenv('PYLON_ROOT'),'lib\x64') '-L' fullfile(getenv('PYLON_GENICAM_ROOT'),'\library\CPP\Lib\win64_x64') '-L' fullfile(getenv('BOOST_ROOT'),'stage\lib')];
flags = {   '-largeArrayDims',...
            'CXXFLAGS=$CXXFLAGS -std=c++0x -fpermissive -fPIC -DNDEBUG', ...
            ... '-g', ...      % debug symbols
            ... '-v', ...      % verbose
        };

mex(flags{:},libraries{1,3},ipaths,lpaths,libraries{1,2})

Hm, strange. I suspect that this has something to do with the PYLON_ROOT environment variable. You might have already checked that, but can you post the exact content of getenv('PYLON_ROOT') in MATLAB? In my case that is "C:\Program Files\Basler\pylon 4\pylon".
Another idea: in the minimal code you provided, you don't have any quotation marks around each path. This is needed if there are spaces in the path. Further, there are is no space between one path and the next '-I'. Does using the following ipath and lpath help?
(Note the strange looking '"', which is a double quote inside single quotes, i.e. a string containing a ". Also there are spaces ' ' between the different paths.)
% Include paths
ipaths = [  '-I"',fullfile(getenv('PYLON_ROOT'),'include'),'"' ...
            ' ',...
            '-I"',fullfile(getenv('PYLON_GENICAM_ROOT'),'library\CPP\include'),'"', ...
            ' ',...
            '-I"',fullfile(getenv('BOOST_ROOT')),'"',...
         ];

% Library paths
lpaths = [  '-L"',fullfile(getenv('PYLON_ROOT'),'lib\x64'),'"', ...
            ' ','"',fullfile(getenv('PYLON_GENICAM_ROOT'),'\library\CPP\Lib\win64_x64'),'"', ...
            ' ','"',fullfile(getenv('BOOST_ROOT'),'stage\lib'),'"', ...
         ];


[fix][security] Tiered storage: Upgrade Hadoop to 3.3.3 to get rid of CVE-2022-26612

Motivation
Hadoop versions < 3.3.3 are vulnerable to CVE-2022-26612 which has a CVSS score of 9.8
3.3.3 has been released yesterday and it contains the fix
See https://issues.apache.org/jira/browse/HADOOP-18198 for more details
Modifications

Upgrade from 3.3.1 to 3.3.3

[x] no-need-doc

/pulsarbot rerun-failure-checks


sap.f.AvatarGroup does not render correct number of items

OpenUI5 version:
1.96.8 LTS
Browser/version (+device/version):
CR100
URL (minimal example if possible):
http://jsfiddle.net/yL1btphs/45/ (1)
http://jsfiddle.net/68p21qoy/4/ (2)
What is the expected result?
sap.f.AvatarGroup should render correct number of items after update
What happens instead?
it does not
Any other information? (attach screenshot if possible)
Bug can be seen in sample (1). Difference with sample (2) is that in sample (2) the binding update is done with multiple items, in which case the problem does not occur.
In the release notes it is stated that some adjustments have been made to this control in latest 1.101 version and the fix indeed works, but for those relying on the LTS one this is not very fun. After explicit .rerender() call the sap.f.AvatarGroup shows correct number of avatars but this considerably inconvenient.

Workaround would be to globally override the addItem method of class sap.f.AvatarGroup somewhere early in the application. Overriding with current spec of the method as per the source file and the commit that fixes it :
AvatarGroup.prototype.addItem = function (oItem) {     oItem._setDisplaySize(this.getAvatarDisplaySize());     oItem._setAvatarColor(       AvatarColor["Accent" + this._iCurrentAvatarColorNumber]     );     oItem._setGroupType(this.getGroupType());     oItem._setInteractive(this.getProperty("_interactive"));       this.addAggregation("items", oItem);       this._iAvatarsToShow = this.getItems().length;       this._iCurrentAvatarColorNumber++;     if (this._iCurrentAvatarColorNumber > 10) {       this._iCurrentAvatarColorNumber = 1;     }       return this; };

Hello @dfenerski ,
Thank you for sharing this finding. I've created an internal incident with ID:<PHONE_NUMBER>. The status of the issue will be updated here in GitHub.
Regards,
Boyan Rakilovski

Hello @dfenerski,
The issue is already fixed with 2d57905 so I am closing the issue.
Kind Regards,
Niya


New DataHandler.config option for how to handle missing terms

emit warning
emit error
emit nothing

Closing as per Slack discussion with Mark. Terms (present and missing) will be returned separately from errors and warnings, and handled by the import app instead of the Mapper app.


Make GAIL compatible with HER Output from Goal Env

GAIL is currently not compatible with the dictionaries required by the goal environment.

Hello,
Could you elaborate a bit more?
Currently, only HER supports GoalEnv. Current implementation of GAIL is based on TRPO, which as all other algorithms, does not support dict observation.


Splitting on abbreviations should connect to next, not previous

Thank you for this code.
I've changed the logic in abbreviationMerge so that capitalized abbreviations stay with the next, not previous fragment.
E.g.

Last week, former director of the F.B.I. James B. Comey was fired. Mr. Comey was not available for comment.

Now splits neatly into
[0] => Last week, former director of the F.B.I. James B. Comey was fired.
[1] =>  Mr. Comey was not available for comment.

Where previously it split into
[0] => Last week, former director of the F.B.I.
[1] =>  James B.
[2] =>  Comey was fired. Mr.
[3] =>  Comey was not available for comment.

My revisions are in
https://github.com/vanderlee/php-sentence/compare/master...marktaw:master

Update - I've also added functions to attach close quotes to the previous section, and a function to turn unicode quotes into straight quotes... obviously this can be generalized to cover unicode quotes, but I need quotes to be straight quotes & not unicode quotes anyway so....

Thanks for the fix. This greatly improves the accuracy.
I've added testcases (based on your examples, but anonymized) for this fix and also for the cleanupUnicode addition. Additionally, this fixed allowed me to reinstate some "incomplete" tests, so again; thanks!
I may take a look at cleanupUnicode in the future, as split() currently returns the cleaned up version, not with original quotes, but split() is really an afterthought for this project; count() is the one that needs to be correct.
It's now available from Composer as v1.0.3


Fix the padlock engine (1.1.1)

... after it was broken for almost 5 years,
since the first 1.1.1 release.
Note: The last working version was 1.1.0l release.
Fixes #20073
backport of #20146 to 1.1.1 branch.

It should be noted that this patch fixes Padlock when compiled with -DOPENSSL_AES_CONST_TIME. There were no issues without this define after commit 7331e7ef79fe4499d81cc92249e9c97e9ff9291a.

This PR is in a state where it requires action by @openssl/committers but the last update was 30 days ago

This PR is in a state where it requires action by @openssl/committers but the last update was 61 days ago

This PR is in a state where it requires action by @openssl/committers but the last update was 92 days ago

Hi, any updates? The fix seem to be rather trivial.

24 hours has passed since 'approval: done' was set, but this PR has failing CI tests.  Once the tests pass it will get moved to 'approval: ready to merge' automatically, alternatively please review and set the label manually.

CI failure appears unrelated

Merged to 1.1.1 as e94b438. Thanks!


Added format and lint for Python codes

Fix https://github.com/GoogleCloudPlatform/dataflow-cookbook/issues/28
Note black only allows 4 spaces for indent.
To-Do:

fix all long line errors
add the github workflow to test

I agree that linter choice / rules can be a matter of personal preference.
I am personally not too deep into build Python pipelines so I don't have any preference, but if we can align rules closer to what Beam has, I think there's some important synergy of examples <> testcases.
But I agree deeply in having a linter and the automation here, as it allows me to focus on the pipeline and not style-related things.
Eyeballed some of the changes too, and I think the changes were really straightforward? I see 4 spaces as the most common these days?
I agree with Iñigo that
received = (p | Transform
              | Map
            )

feels more natural than
received = (
               p
               | Transform
               | Map
           )

But I think this is the only negative side (and I guess pipes are too Beam specific to have a way to tune linters)

I am going to merge this PR for now. We can always polish or change the styles later if needed.


Add http-status-code-lookup extension

Description

This extension provides a list of HTTP status codes and their descriptions.
Users can search for a specific status code or its description to get more information about it such as it's description, category, usage, etc.
Screencast

https://github.com/user-attachments/assets/433bad43-a475-4074-8808-d2de34d179b7
Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

There is already a similar extension HTTP Status Code. What do you think is the difference that warrants a new extension?

There is already a similar extension HTTP Status Code. What do you think is the difference that warrants a new extension?

Hi @LitoMore , thanks for highlighting that extension.
My extension also includes the unofficial codes (exclusive to some servers or services) baked in, which might be useful for users who might encounter them as a special case. The search uses fuzzy logic regarding searching with code type, name, category and even description of the status code, making it easier to find more info, not only from code but from related information as well.
Also, the description of the status code and usage information is provided within the extension itself in a Detail view, without redirection to MDN or any other online resource.
Rest, if you think this might be a duplicate and won't add value to users, I have no issue with closing this PR 😀

I simply love this!
And I think I'm with @LitoMore on this one., Although I kinda understand your points @ishaanbedi, I really think it's worth adding this to the existing extension.
To simply put, this was going to be my next add to the HTTP Status Codes (I just didn't have the time).
I'd be more than happy to help you if needed. 😉

Hey @ishaanbedi! Want to work on this change together?

Hey @lucasmezencio , sorry for the late reply.
Absolutely yes! I'll try to go through the extension this weekend, and then implement new things as we discuss, how does that sound?

@ishaanbedi sure! Amazing!

Hey @lucasmezencio , sorry for the delay, been busy with work!
I had a look at the extension, and I am super excited to contribute.
Can you please let me know the next steps, and what I should start with?


Fix bug in UPPER titles

and add a trailing newline to the ouput.

I guess the linter wants you to use the new format, although this seems a bit aggressive for a linter.
- for i := 0; i < desc.Fields().Len(); i++ {
+ for i := range desc.Fields().Len() {


Fix #494, Updates CFE_SB_GetLastSenderID to check if message has been sent on pipe

Describe the contribution
Updates CFE_SB_GetLastSenderID to check if a message has been sent on the associated pipe prior to setting the receivers pointer to the associated address of 'sender' in the buffer descriptor.
Includes associated unit test addition to cover the additional path added to CFE_SB_GetLastSenderID.
Includes an addition of a SB status code  and event ID.
Testing performed

Ran unit tests.
Reviewed coverage test results to ensure that additional path added is covered with the updated unit test.

Expected behavior changes
CFE_SB_GetLastSenderID will now detect if it is being called prior to a message being sent on a given pipe.
System(s) tested on
Oracle VM VirtualBox
OS: ubuntu-19.10
Versions: cFE <IP_ADDRESS>, OSAL <IP_ADDRESS>, PSP <IP_ADDRESS>
Contributor Info
Dan Knutsen
NASA/Goddard

CCB 20200415 - APPROVED


Path to enabling build script and proc macro support by default

We've had a couple issue reports that turned out to be fixed by enabling build script and/or proc macro support. I think the reason these are off by default is that they can slow down the first load of a project by a lot. On the other hand, it's clear that they are needed to provide a good IDE experience.
So I think we'll want to turn them on in the future. The question, then, is when we should do that. We could:

enable them right now
wait for better proc macro support (to offset the loading cost with even better IDE support)
wait for a sandboxing story (which won't happen on a reasonable timeline)
anything else?

Another option would be to add a diagnostic for env!("OUT_DIR") and #[derive(SomeProcMacroDerive)] when the respective features are disabled to enable them. This won't help for dependencies, but it could for the current crate without the drawbacks associated with always enabling them.

Closing in favor of #6448.


docs(README): fix unit test info to get better showing

Don't remove dark mode part and packages/varlet-ui/docs/home.xx.md also needs to be modified

PR删了吧，代码搞的乱了


support for iOS and Android using appium

⚠  (As on Apr 2023) Please consider Mobile support as experimental. But we are very close and there are some teams that use Karate for simple use-cases. Please contribute code if you can.

Description:
iOS and Android UI automation capability in karate using appium server.
basic driver support for iOS and android automation extending karate's web driver implementation to interact with appium server.
proposing driver types:
      for Android: { type: 'android' }
      for iOS: { type: 'iOS' }
locator support: XPath, name, accessibility id and id by the prefix.
adding platform-specific locator strategies like class chain, predicate string for iOS and uiautomator for android can be added shortly once we come up with a prefix, and also if there are any others supported by appium.
dependencies needed for this integration to work:

appium (install using npm)
npm install -g appium
xcode >7 for iOS automation
android studio (android SDK with an AVD is also sufficient)

sample work on Android:

great ! for now I'd like to keep type lowercase, so ios - can re-visit if needed

Need suggestion on prefix for platform-specific locator strategies,

platform
prefix  (proposed)
means
example

ios
:
-ios predicate string
:name == 'OK' type == XCUIElementTypeButton

ios
^
-ios class chain
^**/XCUIElementTypeTable[`name == 'dataTable'`]

android
-
-android uiautomator
-input[name=someName]

@ptrthomas does this looks fine?

@babusekaran yes we can start with this and revisit later

released 0.9.3

@Rajeshwarb mobile support is currently experimental until we get contributions to close some of the gaps. you can read + add your needs to this ticket: https://github.com/karatelabs/karate/issues/2300


[Needs ticket] Remove bee-retry in e2e test

Recently when we had create-bee failures in our e2e test, I noticed that the retry failed with a different error than the original failure:  "duplicate key value violates unique constraint "environments_name_unique"".  It looks like the retry uses the same bee-name, which I'm guessing is the cause of the failure, if the first attempt got far enough to create something with the same name.  It's not clear if retrying bee-create has ever worked; I suspect not, since chatting with Jack revealed that the name is registered first thing and would almost never fail, making the retry always conflict.  Since we originally added retries when bee-create was much more flaky than it is now, I think we can just do away with it altogether.
Incidentally, it seems like we never use RUN_NAME_SUFFIX; its value is just a subset of ATTACH_BP_TO_LZ_RUN_NAME, so I also deleted that line.
Question for reviewers:
Should we also remove the retry for attach-landing-zone?
Reminder:
Releasing WDS
PRs merged into main will not automatically generate a PR in https://github.com/broadinstitute/terra-helmfile to update the WDS image deployed to kubernetes - this action will need to be triggered manually by running the following github action: https://github.com/DataBiosphere/terra-workspace-data-service/actions/workflows/tag-and-publish.yml. Dont forget to provide a Jira Id when triggering the manual action, if no Jira ID is provided the action will not fully succeed.
After you manually trigger the github action (and it completes with no errors), you must go to the terra-helmfile repo and verify that this generated a PR that merged successfully.
The terra-helmfile PR merge will then generate a PR in leonardo.  This will automerge if all tests pass, but if jenkins tests fail it will not; be sure to watch it to ensure it merges. To trigger jenkins retest simply comment on PR with "jenkins retest".
Keeping Docs Up To Date
If you make changes to the github actions or workflows, particularly when they are run or which other workflows they call, please update the GHA wiki page to stay up to date.

Should we also remove the retry for attach-landing-zone?

Do you have any idea how frequently attach-landing-zone fails but is rescued by a retry? If infrequent, I am fine deleting that.

No idea - you can't really search for it and I don't remember ever seeing it happen.


little clean on the RayState Init function

It seems that this assignation is not necessary as the assignation done after overwrite it.

I merged your work from your photonics branch into mine, which had the duplicate commit. Even though I'm not technically merging this pull request please consider it merged!


Fix rounding rules for indices

Description

When having images with spacing greater than on and different size along slider axis then it fails with with IndexError. when get slider value greater than smaller image size.
Also original test is wrong:
https://github.com/napari/napari/blob/758a73002460a9da13b3e310a319c29d2521883f/napari/components/_tests/test_dims.py#L130
Because indices 2 is out of range for axis with size 2.
I check and #1360 does not fix this problem.
sample stack trace:
Exception(most recent call first)

IndexError: index 6 is out of bounds for axis 1 with size 6
  File "napari/_qt/qt_dims_slider.py", line 135, in <lambda>
    lambda value: self.dims.set_point(self.axis, value)
  File "napari/components/dims.py", line 359, in set_point
    self.events.axis(axis=axis, value=value)
  File "napari/utils/event.py", line 508, in __call__
    self._invoke_callback(cb, event)
  File "napari/utils/event.py", line 529, in _invoke_callback
    cb_event=(cb, event),
  File "napari/utils/event.py", line 523, in _invoke_callback
    cb(event)
  File "napari/components/viewer_model.py", line 341, in _update_layers
    layer.dims.set_point(axis, point)
  File "napari/components/dims.py", line 359, in set_point
    self.events.axis(axis=axis, value=value)
  File "napari/utils/event.py", line 508, in __call__
    self._invoke_callback(cb, event)
  File "napari/utils/event.py", line 529, in _invoke_callback
    cb_event=(cb, event),
  File "napari/utils/event.py", line 523, in _invoke_callback
    cb(event)
  File "napari/layers/base/base.py", line 633, in refresh
    self.set_view_slice()
  File "napari/layers/base/base.py", line 586, in set_view_slice
    self._set_view_slice()
  File "napari/layers/image/image.py", line 545, in _set_view_slice
    image = np.asarray(self.data[self.dims.indices]).transpose(order)

Type of change

[x] Bug-fix (non-breaking change which fixes an issue)

References

How has this been tested?

[ ] example: the test suite for my feature covers cases x, y, and z
[ ] example: all tests pass with my change

Final checklist:

[ ] My PR is the minimum possible work for the desired functionality
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] I have added tests that prove my fix is effective or that my feature works

fix #1369

@Czaki I have verified that #1539 fixes #1369 too with a number of additional improvements. I am going to close this PR as we get close to merging that one, but thanks for getting this going and reporting this bug. We can keep the discussion going on #1539 if there are still issues there that havn't been fixed.


Not Ported to Godot 4

This Addon is included with Godot 4, but clearly not coded for it.
For instance in LineRenderer.gd:
export var points = [Vector3(0,0,0),Vector3(0,5,0)]
export var startThickness = 0.1
export var endThickness = 0.1

It is now called @export
Please patch this or remove from Godot 4 Asset Store.

Sorry, I forgot to check the files in this repository. Godot Team seems to have messed up here.

No, the addon was wrongly submitted. It didn't provide the newest hash and Godot downloads older version.
You should update your asset entry to use the newest commit.