Please clarify in the document if ADDS LDAP feature can be implemented with AKS and the steps required.

Please clarify in the document if ADDS LDAP feature can be implemented with AKS and the steps required to have it fully working.

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

ID: 841b5625-812e-cd74-211f-87ea3b05e055
Version Independent ID: 2293e372-58ee-cfd6-ec1e-8cd302eec3fa
Content: Configure ADDS LDAP with extended groups for Azure NetApp Files NFS volume access
Content Source: articles/azure-netapp-files/configure-ldap-extended-groups.md
Service: azure-netapp-files
GitHub Login: @b-juche
Microsoft Alias: b-juche

@porrascarlos802018 Thank you for the feedback. We will review and update as appropriate.

@b-juche  Can you please look into this.

I connected Carlos (@porrascarlos802018) with the technical team for further discussion.  Currently we are not sure if/what doc changes are required.

Connected Carlos (@porrascarlos802018) with NetApp ANF technical team members, transitioning discussion to email.
Email subject:<PHONE_NUMBER>005415 RE: Configure LDAP with extended groups - for AKS
Closing this issue for now.  We'll determine doc changes, if any, through internal discussion.
#please-close


Unable to expand variables in sidebar in Node v0.12.4

I'm using nvm to switch between versions and in v0.12.0 I'm able to expand variables in the right sidebar (variables in scope, watched expressions, etc) when breaking on a line. However, if I switch to use Node v0.12.4 I am unable to expand those variables. The code does break correctly, but when I click on a variable in the sidebar nothing happens. If I double click it let's me "edit" the value of a variable as if it were a string (I get a text box).
I was testing this with a simple http server using only core modules (http and url), doesn't appear to be a problem in my code since things work fine with the same app in v0.12.0.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/20456799-unable-to-expand-variables-in-sidebar-in-node-v0-12-4?utm_campaign=plugin&utm_content=tracker%2F195817&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F195817&utm_medium=issues&utm_source=github).

Argh... npm had cached an old version of node-inspector (0.7). Ignore this!


Library uses DateTime instead of DateTimeOffset resulting in +1 hour data

Hi,
I normally use DateTimeOffset to ensure the real date never gets missed regardless of the local date. I see that DateTime gets used here and my guess was it just takes care of it but it seems it does not hence my traces are shown with +1 hour in zipkin.
Is there a design reason why DateTime gets used and not DateTimeOffset? I can send a PR but was wondering it could have another significance.
Thanks
Ali

And funny thing is Zipkin UI says 20 minutes ago while it is 20 minutes in the future:

UTC is used by default because we can have some servers on a different timezone. IMO, if you begin to use DateTimeOffset, you'll begin to get some serious problems in zipkin UI.
Shouldn't you set zipkin server to UTC ?
@adriancole Would you have a recommendation about that ?

@adriancole https://github.com/adriancole Would you have a
recommendation about that ?

All libraries I've seen use UTC time (epoch millis or micros, a whole
number).  The server itself rarely uses time math, but when it does it sets
the TZ explicitly to UTC. For example, bucketing is based on midnight UTC.
javascript, may be another thing.. I think that's going to render based on
whatever the clock is on the browser in use.
main point is that all libraries, data and processing use UTC (epoch time,
millis or micros)

ex. in our server code, we pin the clock to UTC so it isn't sensitive
to the host's timezone
https://github.com/openzipkin/zipkin/blob/master/zipkin-storage/elasticsearch-http/src/main/java/zipkin/storage/elasticsearch/http/IndexNameFormatter.java#L59

My point is the library does not enforce or constraint the DateTime to be UTC and using DateTime it is impossible. The user of the library would not know if it needs to send UTC or just local DateTime.
All of this can be averted by making all the public interfaces to DateTimeOffset so that within the library it gets changed to UTC.
Hope is clear.

yeah much more clear.
FWIW most libraries don't actually pass things like DateTime around anyway
(rather numbers corresponding to epoch micros or a Clock facade that might
be backed by something like DateTime).
If DateTime cannot be coerced to UTC, then sounds like a bad choice, but I'll
leave it to y'all decide what to do.

@aliostad Thank you for the clarification, I agree that using DateTimeOffset for public interfaces would clear any doubt a client may have.  It would be a breaking change for the public API so we need to be careful.
To fix the issue you raised, since we don't serialize DateTime objects but rather an epoch utc  long, PR #102 should do it, would you agree ?

Yeah, thanks I believe this should work. I am closing this issue.


Size of text for pretraining data

When using torchrun for pretraining, what is the recommended size for the text. Is it better to pass sentences, passages, or larger amounts of text?

This depends on the maximum length your model can handle. If it is 512, passages. If it is 8192, long articles.


Not launching on Mac, not finding libOpenColorIO?

Hi, I just downloaded xComp to have a look, but it seems to not be finding the OpenColor library. Here's my terminal output, would love to know how to proceed. I'm on Mac OS 12.6.1 Many thanks!
/Applications/xcomp/bin/xcomp ; exit;
dyld[958]: Library not loaded<EMAIL_ADDRESS>  Referenced from: '/Applications/xcomp/bin/xcomp'
  Reason: tried: '/Users/davide/dev/repos/xComp/externals/local/ocio/_build/Release/src/OpenColorIO/libOpenColorIO.2.2.dylib' (no such file), '/Users/davide/dev/repos/xComp/externals/local/ocio/_build/Release/src/OpenColorIO/libOpenColorIO.2.2.dylib' (no such file), '/usr/lib/libOpenColorIO.2.2.dylib' (no such file)
zsh: abort      /Applications/xcomp/bin/xcomp

Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

From the terminal, please, launch the application as /Applications/xcomp/xcomp.command or double-click on xcomp.command from the Finder.
That should fix it.

Ah thanks so much. Sorry I missed the obvious there :)

Ah thanks so much. Sorry I missed the obvious there :)

It's good feedback. We should probably put it in the docs. It's not so strange to expect a binary executable to just run 8)


cmd/doc: why not show doc for individual struct fields?

Go v1.8 enabled go doc to show the doc for an individual interface method, so why not do the same for struct fields? Like:
$ go doc net/http RoundTripper.RoundTrip
// RoundTrip executes a single HTTP transaction, returning
// a Response for the provided Request.
//
// RoundTrip should not attempt to interpret the response. In
// particular, RoundTrip must return err == nil if it obtained
// a response, regardless of the response's HTTP status code.
// A non-nil err should be reserved for failure to obtain a
// response. Similarly, RoundTrip should not attempt to
// handle higher-level protocol details such as redirects,
// authentication, or cookies.
//
// RoundTrip should not modify the request, except for
// consuming and closing the Request's Body.
//
// RoundTrip must always close the body, including on errors,
// but depending on the implementation may do so in a separate
// goroutine even after RoundTrip returns. This means that
// callers wanting to reuse the body for subsequent requests
// must arrange to wait for the Close call before doing so.
//
// The Request's URL and Header fields must be initialized.
func RoundTrip(*Request) (*Response, error)

$ go doc net/http Response.Header
// Header maps header keys to values. If the response had multiple
// headers with the same key, they may be concatenated, with comma
// delimiters.  (Section 4.2 of RFC 2616 requires that multiple headers
// be semantically equivalent to a comma-delimited sequence.) Values
// duplicated by other fields in this struct (e.g., ContentLength) are
// omitted from Header.
//
// Keys in the map are canonicalized (see CanonicalHeaderKey).
var Header Header

I'd be happy to work on this if the enhancement gets approved.

To @robpike for decision.

Makes sense, shouldn't be too hard.


devbox: 0.13.6 -> 0.13.7

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/jetpack-io/devbox/releases.
meta.description for devbox is: Instant, easy, predictable shells and containers
meta.homepage for devbox is: https://www.jetpack.io/devbox
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.13.7 with grep in /nix/store/z2zx0qca1cnjr5nilzv80jbygm4r8gvh-devbox-0.13.7
found 0.13.7 in filename of file in /nix/store/z2zx0qca1cnjr5nilzv80jbygm4r8gvh-devbox-0.13.7

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

devbox

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/z2zx0qca1cnjr5nilzv80jbygm4r8gvh-devbox-0.13.7 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A devbox https://github.com/r-ryantm/nixpkgs/archive/e99f4a48af9d309e6e0dec3d619649d4dd81d6b6.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/e99f4a48af9d309e6e0dec3d619649d4dd81d6b6#devbox

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/z2zx0qca1cnjr5nilzv80jbygm4r8gvh-devbox-0.13.7
ls -la /nix/store/z2zx0qca1cnjr5nilzv80jbygm4r8gvh-devbox-0.13.7/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review

x86_64-linux

:white_check_mark: 1 package built:

devbox

Maintainer pings
cc @urandom2 @Lagoja for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.


fix: replace blob sha with commit sha

This is now flagged by the port-status at https://leanprover-community.github.io/mathlib-port-status/file/data/nat/dist

Thanks :tada:
bors merge


Sample missing colon

First off, this is a fantastic integration, thank you!
I got an error reloading HA after adding entity state change code, looks like your sample is missing a colon on the display name line?
ha-continuous-casting-dashboard:
...
state_triggers:
"<Display_Name>"
- entity_id: "<Entity_ID>"
to_state: "<To_State>"
dashboard_url: "<Dashboard_URL>"
time_out: <Timeout_time> #Optional!
Should be:
ha-continuous-casting-dashboard:
...
state_triggers:
"<Display_Name>":
- entity_id: "<Entity_ID>"
to_state: "<To_State>"
dashboard_url: "<Dashboard_URL>"
time_out: <Timeout_time> #Optional!

Thank you, I'm happy you like the integration! How is it working for you in terms of stability? I've been trying to improve that with the recent updates and things have been stable for me now for 2 days with no integration crashing errors.
Good spot on the README mistake! I'll update the this now as I must have missed it 😁

Stability has been good with 1.1.2, I still don't have the triggers working, that's today's task.
I'm casting to a Lenovo display by IP address because catt couldn't seem to find device names, and I didn't enable external access but I have a Nabu Casa account.
Is there a way to have multiple time windows? Like cast 6am to 9am and then 6pm to 9pm?

That was quick, triggers are working now.
Reminder to myself that device states are case sensitive.

That's great to hear! Good to hear that casting by triggers was easy to setup too.
I like the idea of custom time windows, I'll look into that next for the next version. I also thought the ability to define custom time windows per device would be a good idea too.

Hey @klasenby I had to rename the integration (to match home assistant standards) so the latest update requires you to make some changes to the configuration.yaml file as explained in the update notes. I had some issues updating (the integration would not start) and I had to uninstall the integration completely, reboot and then re-install it.
I'm now thinking a full reboot may have solved this problem after updating and renaming the integration inside the config file.
Could you let me know if you do update if that worked for you? Thank you so much!

I saw the notification and change log in HACS. I upgraded, edited my config file, restarted HA and all seems good, no issues!

Amazing. Thank you for that feedback! I must have gotten into a bit of a mess with the amount of different versions I have for testing purposes in my file system!
Really appreciate you reporting back 👍 thanks!


Issues with starting Training

I have set up all the required data and the paths but still get this error all the configs
Traceback (most recent call last):
File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/electron/cloths_segmentation/cloths_segmentation/train.py", line 189, in
main()
File "/home/electron/cloths_segmentation/cloths_segmentation/train.py", line 175, in main
pipeline = SegmentPeople(hparams)
File "/home/electron/cloths_segmentation/cloths_segmentation/train.py", line 46, in init
state_dict = state_dict_from_disk(
File "/home/electron/.local/lib/python3.9/site-packages/iglovikov_helper_functions/dl/pytorch/utils.py", line 32, in state_dict_from_disk
checkpoint = torch.load(file_path, map_location=lambda storage, loc: storage)
File "/home/electron/.local/lib/python3.9/site-packages/torch/serialization.py", line 594, in load
with _open_file_like(f, 'rb') as opened_file:
File "/home/electron/.local/lib/python3.9/site-packages/torch/serialization.py", line 230, in _open_file_like
return _open_file(name_or_buffer, mode)
File "/home/electron/.local/lib/python3.9/site-packages/torch/serialization.py", line 211, in init
super(_open_file, self).init(open(name, mode))
FileNotFoundError: [Errno 2] No such file or directory: '2020-10-29/epoch=4.ckpt'

@ternaus I think there is some problem with config file, they are the reason for issues in training please could you check and let me know. I have made a datasets for the repo with high quality images of nearly 10k images. but unable to train due to problems in the repo


1.18.2 Compat

Please add compatibility with 1.18.2 since most mods are trying to push for that patch. Thanks!

Hi Welp, hopefully it'll come tomorrow.

1.18.2 is up! Not well tested though, there may be some new bugs.


Remove experimental notice from DLQ related fields

DLQ is now GA, so any experimental notices can now be removed.

@hongalex Is this the same as what you were looking for here?
https://github.com/googleapis/nodejs-pubsub/pull/997

Seems like an experimental notice was never added for the "deliveryAttempt" field (which I think should have been added). Nonetheless, #997 does close out this issue.
Thanks!


Figure out why ruby cannot be installed on ArchLinux

For some reason pacman -Sy --noconfirm ruby is not finding the ruby package.
https://github.com/ronin-rb/scripts/actions/runs/5074872638/jobs/9115676386#step:6:13

Closed by PR #11


Possibility to whitelist a sending IP/network to use this server as a relay

I am currently trying to setup my home network to use my server as a mail relay. Unfortunately adding my home IP to mynetworks via postfix-main.cf does not work, since still all SPAM checks are still performed and my provider's IP range is listed as dialup and therefore is blacklisted by spamhouse.
Context
I'd like to add hosts and/or networks as "trusted", so that they can use the server as mail relay and/or send to local recipients/aliases.
Expected Behavior
Have a configuration option to add hosts/networks to mynetworks and add to the various whitelists of DKIM, spamassasin, etc.
Actual Behavior
Overriding mynetworks from postfix-main.cf is messy, since it does not automatically add the container's IP address as well and also it does not add the hosts to the whitelists.

Unfortunately I'm talking about an external host, outside the local LAN.
I'm currently thinking about maybe creating a user for the server and configure the remote postfix to use the mailserver via login on port 587.

From a security perspective unauthorized accounts are always better.
Accounts are free so creating a few for each service is the way to go.

This issue was closed due to one or more of the following reasons:

Age
Contributor inactivity
The issue seems to be resolved

If you think this happened by accident, or feel like this issue was not actually resolved, please feel free to re-open it. If there is an issue you could resolve in the meantime, please open a PR based on the current master branch so we can review it.


project header

What does this PR do and why?
WIP Adds new design to project header
If applicable, provide screenshots or screen recordings to demonstrate the changes.

Acceptance checklist

[ ] I have evaluated the Approval Guidelines for this PR.
[ ] I have tested this PR in all supported browsers.
[ ] I have tested this PR in dark mode and light mode (if applicable).

Current dependencies on/for this PR:

main

PR #2507

PR #2508   👈

This comment was auto-generated by Graphite.

@benschac might be worth pinging Strath in Discord for a design review instead 🙌

heh: I posted the other week, guessing it probably got lost in the mix: https://discord.com/channels/939317843059679252/998806024163176490/1041478877148614656. Not urgent and still WIP but I'll DM him. New design is 🔥


Fix empty output files when no targets are found in inputs

This pull request:

Fixes #49, there's always going to be a subtyping entry for each input
Refactors code to be more DRY, modular and, hopefully, more obvious
Added unit tests for important utility functions

Great! @gcttong If it looks good to you, then can you merge the changes? Thanks for taking a look at this PR.


Pool the LOAD DATA INFILE and COPY commands to speed up loading

@schwanksta seems to have pulled it off here
https://gist.github.com/Schwanksta/d86189e3ace312372113

In the end I'm not 100% sure it was faster. will test a little more.

Vacuumed the db and re-ran it using cpu_count()/2 on a set of 25 ~191mb files totaling 4.7gb. They loaded at about 5/min, or almost a gb per minute. Not bad. I think maxing out the cores, which I tried first, actually slows it down somewhat.

Very interesting. We'll have to test it on here.

Regarding cores being maxed out: I've experienced this before when importing huge datasets, and as the documentation notes the COPY command might become the bottleneck itself. If this is really important to the project, you might want to consider writing a custom driver for the binary copy protocol. I did that for a Node.js crawler project to get the last bit of performance, and saw a substantial increase or ~ 5 - 10% IIRC. However what really sped up import was tuning the database configuration as noted in the "Populating a Database" article of the Postgres documentation. In particular the following:
maintenance_work_mem = 1024 # something large, in MB
checkpoint_segments = 24 # Defers write ahead log (WAL) to 24 segments, the default is 3
checkpoint_timeout = 3600 # Wall clock time between committing to the WAL
synchronous_commit = off # Makes transactions more uncertain, but doesn't matter for import
autovacuum = false # Disable autovacuum while importing, and do it at the end of transactions manually

However, modifying the config during import is not something I know if is doable.
Another useful source is pg_bulkloads parallel writer, though it's a bit opaque, unless you spend some time understanding how it implements Readers and Writers.

Just for a little bit of rough benchmarking, here are the time stamps from my work tower when I ran an update earlier today. Both the clean and load take a long time, but the load takes a little longer for me.
Downloading ZIP file
[################################] 754760/754760 - 00:06:37
 Unzipping archive
 Prepping unzipped data
 Archiving original files
Duration: 0:07:44.365715
Cleaning data files
[################################] 80/80 - 00:23:02
Duration: 0:30:46.825341
Loading data files
[################################] 77/77 - 00:24:27
Duration: 0:55:14.623547
Done!

I just ran this locally with the pooling on with the same computer and it actually went slower!
Downloading ZIP file
[################################] 737221/737221 - 00:01:06
 Unzipping archive
 Prepping unzipped data
 Archiving original files
Duration: 0:02:44.459307
Cleaning data files
Duration: 0:31:37.411594
Loading data files
Duration: 1:11:09.941578
Done!

Oddly, when I run the same code against our test files, it processes twice as fast with pooling as without. Here's my current half-baked theory: The small number of very large files (i.e. Rcpt and Smry) account for the vast majority of the processing time and are bogging down the clean and load pretty much the same amount no matter what order we load them in.


DEVX-2404: ccloud-operator writes environments to configmaps

When applying an environment name, the operator will write the resulting id to
a ConfgMap in the configured K8s cluster.  This can be used by other applciations
as a discovery mechanism for environment ids.  Subsequent PRs will do this for
kafka clusters and potentially other Confluent Cloud resources.

This commit only builds a new image, so pushing this through sans-review

This commit only builds a new image, so pushing this through sans-review


CORS support

Is there a way to add CORS support through Access-Control-Allow-Origin with Patroneos?

@k26dr we forward all response headers this should be handled by the node itself via the http_plugin last I checked you'll need the following line in the config.ini
# Specify the Access-Control-Allow-Origin to be returned on each request. (eosio::http_plugin)
# access-control-allow-origin =

This is the particular block in the plugin that consumes configuration information:
https://github.com/EOSIO/eos/blob/master/plugins/http_plugin/http_plugin.cpp#L235


[Webhook] Shadowpod requests enforcement

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes #(issue)
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration.

[ ] Test A
[ ] Test B

/build

/rebase test=true

/merge


Update AdversarialPatch.ipynb with bugfix

Solves issue #376. Thanks for the report @shreyashankar!

I'll send a PR to fix the build


Problem with icons

I have a problem with the Dribbblish theme right bar icons. Only the first one and the second are displayed correctly.

It seems to happen on all colorschemes. This string was also executed at the installation.
spicetify config inject_css 1 replace_colors 1 overwrite_assets 1
Access to /opt/spotify (paht to my AUR-installed spotify) is

drwxrwxrwx.

My spotify default appearance. There are only three icons, which are correctly shown in my dribblish setup (however there are three dots after each of them)

I searched for some icons, described in dribbblish.js and it seems that spotify has them all.

My version is 1.0.2

I had the same problem.
https://github.com/morpheusthewhite/spicetify-themes/tree/master/Dribbblish#how-to-install
Copy the dribblish.js file into the extensions folder of Spicetify then run spicetify config extensions dribbblish.js


v3.2.0

This PR was in my local main and not in origin main - merging this should bring origin main up-to-date

Closing as changes were already on main


Find ways to discourage users from using OrientationPoints as templates

The ContactsAsFaults workflow leans into the idea of using the build-in "templates" functionality. However, our OrientationPoints workflow is really meant to be exclusively form based - i.e., we don't want them to going to the features pane - is there a method -besides documentation and training - to make it clear to users that they should not use point templates?

I turned off the default "Auto Generate Feature Templates" option for the OrientationPoints layer. Templates should no longer get created when adding a new feature.

Awesome! I had no idea you could do such a simple fix.


[SPARK-49323][CONNECT] Move MockObserver from Spark Connect Server's test folder to the Server's main folder

What changes were proposed in this pull request?

Move class MockObserver from the Spark Connect Server's test folder to the Server's main folder, so that this class can be shaded as well, from io.grpc to org.sparkproject.connect.grpc.
https://github.com/apache/spark/blob/ba208b9ca99990fa329c36b28d0aa2a5f4d0a77e/project/SparkBuild.scala#L775
Why are the changes needed?

We are developing a library (Delta Connect) that depends on Spark Connect. Both Spark Connect and Delta Connect include gRPC as a library, but Spark Connect has shaded theirs using sbt-assembly. We are now trying to call the main method process in Spark Connect's test package from Delta Connect's test package.
This is receiving the following error because theMockObserver in test folder is not shaded by sbt-assembly.

[info] org.apache.spark.sql.connect.delta.DeltaConnectPlannerSuite *** ABORTED ***
[info]  java.lang.NoSuchMethodError: 'void org.apache.spark.sql.connect.planner.SparkConnectPlanner.process(org.apache.spark.connect.proto.Command, io.grpc.stub.StreamObserver)'
[info]  at org.apache.spark.sql.connect.planner.SparkConnectPlannerTestUtils$.transform(SparkConnectPlannerTestUtils.scala:37)
[info]  at org.apache.spark.sql.connect.planner.SparkConnectPlanTest.transform(SparkConnectPlannerSuite.scala:51)
[info]  at org.apache.spark.sql.connect.planner.SparkConnectPlanTest.transform$(SparkConnectPlannerSuite.scala:50)
[info]  at org.apache.spark.sql.connect.delta.DeltaConnectPlannerSuite.transform(DeltaConnectPlannerSuite.scala:47)
[info]  at org.apache.spark.sql.connect.delta.DeltaConnectPlannerSuite.runVacuum$1(DeltaConnectPlannerSuite.scala:376)

sbt-assembly only shades main but not test.
Does this PR introduce any user-facing change?

No.
How was this patch tested?

Existing UTs.
Was this patch authored or co-authored using generative AI tooling?

No.

cc @HyukjinKwon

Thanks @allisonwang-db! Hey @HyukjinKwon, could we please merge this PR? Thanks :)

Merged to master.


Invalid typed array length with large textures

I'm trying to create a framebuffer that is within the regl limits but it fails with an error Invalid typed array length.
const maxRenderbufferSize = regl.limits.maxRenderbufferSize;

regl.framebuffer({
  width: maxRenderbufferSize,
  height: maxRenderbufferSize
});

In fact, this is the largest framebuffer size that doesn't break
regl.framebuffer({
  width: 8192,
  height: 8192
});

The problem could be that https://github.com/regl-project/regl/blob/784b64ecdb324592711fba5085e7dc399151c3c6/lib/util/pool.js#L11 does not handle large numbers well: nextPow16(513802240) === 0.

Argh, that makes sense.  Should switch that for large n.
You could work around this by passing in a typedarray directly.


forwarding traffic to wrong backend on fresh daemon

Hello fellows. Recently I have discovered weird behaviour of traffic forwarding between containers as described on serverfault.com.
I found a bug were I have a freshly reloaded/started docker daemon and 3 containers. They receive the first available IP-Adresses of the docker0 bridge, started with x.x.x.2, followed by x.x.x.3 and x.x.x.4. Here is the exact setup.
# start container one
$ docker run --rm -ti -p 80 --name one ubuntu /bin/bash
root@1024a82726cc:/# hostname -i
<IP_ADDRESS>

# start container two, bound to the hosts ip, linked with container one
$ docker run --rm --link one:one -p <IP_ADDRESS>::80 -ti --name two ubuntu /bin/bash
root@e8ec8fc18e08:/# hostname -i
<IP_ADDRESS>

# start container three
$ docker run --rm -ti -p 80 --name three ubuntu /bin/bash
root@3750870e8c59:/# hostname -i
<IP_ADDRESS>

Now when I try to communicate from container three to container two, I see the following error in the daemon log. The weird thing here is, the docker daemon tries to proxy the request to x.x.x.2, but it should try to proxy to x.x.x.3!
# container three tries to request container two, but connection will be closed immediately
$ nc -v <IP_ADDRESS> 49153
Connection to <IP_ADDRESS> 49153 port [tcp/*] succeeded!
$

# docker daemon log
2014/10/13 13:23:29 Can't forward traffic to backend tcp/x.x.x.2:80: dial tcp x.x.x.2:80: connection refused

I figured out that has something to do with the first container started. So my workaround is as followed. If I have the same setup, but start AND stop/remove a container, and the containers IP-Adresses in my setup starts with x.x.x.3, followed by x.x.x.4 and x.x.x.5, the traffic forwarding works as expected.
I have verified that issue on coreos as well as on ubuntu using Docker version 1.2.0, build fa7b24f. Docker version 1.1.0, build 79812e3 does NOT have that bug!
Some more environment information of the ubuntu host
# docker info
$ docker info
Containers: 4
Images: 567
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Dirs: 581
Execution Driver: native-0.2
Kernel Version: 3.2.0-23-generic
Operating System: <unknown>
Username: zyndiecate
Registry: [https://index.docker.io/v1/]

# docker version
$ docker -v
Docker version 1.2.0, build fa7b24f

# host information
$ uname -a
Linux precise64 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

Some more environment information of the coreos host
# docker info
$ docker info
Containers: 3
Images: 10
Storage Driver: btrfs
Execution Driver: native-0.2
Kernel Version: 3.16.2+
Operating System: CoreOS 459.0.0

# docker version
$ docker -v
Docker version 1.2.0, build fa7b24f

# host information
$ uname -a
Linux core-01 3.16.2+ #2 SMP Fri Oct 3 07:45:37 UTC 2014 x86_64 Intel(R) Core(TM) i7-4750HQ CPU @ 2.00GHz GenuineIntel GNU/Linux

# coreos version
$ cat /etc/lsb-release
DISTRIB_ID=CoreOS
DISTRIB_RELEASE=459.0.0
DISTRIB_CODENAME="Red Dog"
DISTRIB_DESCRIPTION="CoreOS 459.0.0"

@zyndiecate can you try with the latest version of docker

Cannot reproduce anymore, but I see things like this in docker daemon log
Feb 26 18:35:30 core-01 dockerd[1612]: [0e450244.allocate_port(9226f727ee9fb21b5ac85a21517e8f2c1e485fd146dc74deb2617b123768bc62)] Failed to allocate and map port: Error starting userland proxy: listen tcp <IP_ADDRESS>:49153: bind: address already in use, retry: 1

env info
# docker version
core@core-01 ~ $ docker version
Client version: 1.5.0
Client API version: 1.17
Go version (client): go1.3.3
Git commit (client): a8a31ef-dirty
OS/Arch (client): linux/amd64
Server version: 1.5.0
Server API version: 1.17
Go version (server): go1.3.3
Git commit (server): a8a31ef-dirty

# coreos version
core@core-01 ~ $ cat /etc/lsb-release
DISTRIB_ID=CoreOS
DISTRIB_RELEASE=604.0.0
DISTRIB_CODENAME="Red Dog"
DISTRIB_DESCRIPTION="CoreOS 604.0.0"

then I think we can close this and defer to https://github.com/docker/docker/issues/10096

thanks for checking in on it, seriously saves us so much time :D
On Thu, Feb 26, 2015 at 10:42 AM, Tim Schindler<EMAIL_ADDRESS>wrote:

Cannot reproduce anymore, but I see things like this in docker daemon log
Feb 26 18:35:30 core-01 dockerd[1612]: [0e450244.allocate_port(9226f727ee9fb21b5ac85a21517e8f2c1e485fd146dc74deb2617b123768bc62)] Failed to allocate and map port: Error starting userland proxy: listen tcp <IP_ADDRESS>:49153: bind: address already in use, retry: 1
env info
docker version
core@core-01 ~ $ docker version
Client version: 1.5.0
Client API version: 1.17
Go version (client): go1.3.3
Git commit (client): a8a31ef-dirty
OS/Arch (client): linux/amd64
Server version: 1.5.0
Server API version: 1.17
Go version (server): go1.3.3
Git commit (server): a8a31ef-dirty
coreos version
core@core-01 ~ $ cat /etc/lsb-release
DISTRIB_ID=CoreOS
DISTRIB_RELEASE=604.0.0
DISTRIB_CODENAME="Red Dog"
DISTRIB_DESCRIPTION="CoreOS 604.0.0"
—
Reply to this email directly or view it on GitHub
https://github.com/docker/docker/issues/8537#issuecomment-76239617.


Chore: Commitizen and lint-staged/prettier are not working in the correct order.

@larrybotha  Would love a second pair of eyes on this.

What's happening?
This is what should happen:

make changes
stage changes
npm run commit
enter commit details via prompts
pre-commit hook runs after details are entered, processing files, and adding changed files to commit

Can you give it a try! Add some comments or something and test out the process. May move and update the contributing section in the readme to a contributing.md file?
On Jul 26, 2019, 11:14 AM -0600, Larry Botha<EMAIL_ADDRESS>wrote:

What's happening?
This is what should happen:
• make changes
• stage changes
• npm run commit
• enter commit details via prompts
• pre-commit hook runs after details are entered, processing files, and adding changed files to commit
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Working for me:

Do you have a different workflow that is resulting in something unexpected?

Hmm. I see now. Here's what I'm thinking, let me know you're thoughts:

I'd like to enforce commitizen, using something like the pre-commit hook
I want to make it obvious and easy what's going on for users who use something like the Github app or the Fork app

How would we do that?
I started trying to set that up and that's when the formatting and staging order got switched around?

hmmm ye, you can add
	'prepare-commit-msg': 'exec < /dev/tty && git cz --hook'`

to .huskyrc.js, but it creates problems with GUIs because they may not have an interactive terminal (exec < /dev/tty) - I tried fixing a merge conflict using SourceTree now and it rejected the commit.
Looks like it doesn't work on Windows, either: https://github.com/commitizen/cz-cli/issues/627
Probably better to reject a commit message if it doesn't follow a specific convention; something like commitlint is likely the best way to do that:
https://github.com/conventional-changelog/commitlint

Yeah, that's probably best.


False positive DMLStatementInLoop

https://github.com/Lightning-Flow-Scanner/lightning-flow-scanner-core/blob/e9f6a16eb47d2240701245b8d985dc5f5cf247ef/src/main/rules/DMLStatementInLoop.ts#L34
If in referenced line of code there will be a DML statement, then scanner will raise an false positive DMLStatementInLoop issue. So basicly noMoreValuesConnector are seen as inside loop, which is no correct as of my knowledge.a

@patrykacc you are right and this is seemingly the reason people are experiencing a bug . Are you open to committing this change and becoming a contributor?

@RubenHalman Sure, I am glad I could help.


Master

Prefering let/const to var.

Thanks for the PR. Please check the current version in the "master" branch. Can we close https://github.com/NSwag/NSwag/issues/240?


Have you really declared independency of Catalonia?

This question needs to be answered within 5 days, thanks.
Best regards,
Mariano Rajoy.

He committed on the declaration of independence but he did not push it

Schrodinger's .cat

http://schrodinger.cat/

No push, no pull ;)

I can not reproduce the issue.


Following same URL approach than InMemory Broker and Kafka Broker

Problem
The url format for the InMemory and Kafka BRoker follow the pattern of: http://<broker-URL>/<namespace>/<broker-name>
I think we should align with this format, even if our brokers are not multi-tenant, as discussed in our weekly sync.
By following the same pattern we will reduce friction from people moving from the InMemory Broker or the Kafka Broker to RabbitMQ
Persona:
System Integrator, System Operator or Developer creating a broker
Exit Criteria
When a broker is created the URL exposed follow the pattern: /<namespace>/<broker-name>
Time Estimate (optional):
(TBD)
Additional context (optional)

/assign


Fix constant-time behaviour for ct_reduce/ct_div_rem

When using self.bits() instead of the full field width, run time could vary drastically depending on the input, for a modulus significantly smaller than the UInt size.

Those names are arguably inconsistent with some of the other naming in the crate, most notably UInt::shl_vartime/::shr_vartime which are vartime for a non-fixed rhs

The methods state "When used with a fixed rhs, this function is constant-time with respect to self" but that doesn't appear to be the case. Also I thought I had run tests against this fix, but apparently not. :|

...but that doesn't appear to be the case.

You're saying it's non-constant-time with fixed rhs or something else?
If so, I don't see what the issue is.

For example benchmarking:
use crypto_bigint::U256;
let u1 = U256::from_be_hex("0123456780123456780123456780123456780123456780123456780123456780");
let u2 = U256::from_be_hex("0000000000000000000000000000000000000000000000000000000000000012");
let modulus = U256::from_be_hex("0000000000000000000000000000000000000000000000000000000012345678");

u1.reduce(&modulus) is about 6000% slower than u2.reduce(&modulus)

Aah, of course, because a varying parameter is subsequently passed to shl_vartime. Good catch!


Unbind infinite scroll from an element

Can you provide a method to unbind the infinite pages from an element? I'm trying to use multiple infinite-page elements(not on a single page) and after I move from one page to other and try to scroll, the scrolling is triggered to the element in first page.

+1


fix: httpx.ParseJsonBody error when request has []byte field #4450

--bug=4450

How can we know it's base64 encoded?

How can we know it's base64 encoded?

Since golang official json.Marshal/json.Unmarshal use base64 encoding to process []byte.


QA process

Currently the QA process is mostly done offline.
The photographer does not get any direct feedback in terms of duplicates, rejected photos, etc.
The role QA responsible has to go through all photos, which have not been QA'ed so far.

All pictures have to go through QA.
A batch can be flagged as "ready for QA". This can be done by the photographer. Only after this action the picturs from the batch appear in the QA view. This should avoid going over pictures, which have not been finished tagging, or sorting out.
In a new QA "view", which shows photos, which have not been QA'ed yet. (Technically, this is an view with exlcuding filters --> QA passed not applied, or any of the other QA rejected tags.)
In the QA view the pictures get flagged either by the "QA passed" tag, or with one of the rejected tag.
QA "tags" can include: tagging error, duplicate, rejected
Tags should be applied in the QA view by pressing keys (e.g. "QA passed" --> space, rejection reason 1 --> 1, etc.)
These tags can be either global, or project specific.
The QA tags of a photo can only be modified by the role QA responsible or an admin.
The "QA passed" tag does not have to be displayed in the gallery.
The photographer can view any tagging errors via the normal view and the corresponding filters - so technically no additinal view is neccessary.
It would be helpful to have a counter, which shows the number of the pictures, which have to be revised by the photographer.
Once a photo is "touched" by the photographer (by changing tags), the tag "tagging error" is removed automatically.
The rejected photos must not be downloaded by the downloady by default, but should be able to be explicitly downloaded.
This QA process should replace the blocklist in the downloader.

Something like a QUA queue: pictures, or/and batches as queues to be QUA'ed
If too many pictures of one batch are bad, the whole batch can be sent back to the photographer.


Some documents claim that NPVs maintain local copy of the ledger, even though the current implementation does not.

Description

Some documents on GitHub says that a non-validating peer maintains local copy of the ledger. However, by observing the behavior of NVPs, it seems they don’t maintain ledger data.
If there is no plan to support local copies of the ledger on NVP, documents should updated to avoid misunderstanding.
Describe How to Reproduce

Similar descriptions can be found below:

https://github.com/hyperledger/fabric/blob/03c751fcc72b3a9c89985b1c4c290233a6871995/docs/glossary.md
https://github.com/hyperledger/fabric/blob/e8aeb4973670f916ae49254a7a28809ec8054612/docs/FAQ/usage_FAQ.md
https://github.com/hyperledger/fabric/blob/960db9f57a5e19f1f097741c807c01cdbe86ada6/docs/protocol-spec.md#4-security-1

+1
On start, I only see peer starts peer reconnect service and peer discovery service in the code. Would someone please point to me where in the code that a peer syncs the ledger? Thanks!

@binhn is it safe to remove these references to a shared ledger copy on NVPs? @ibmmark Mark can you flag this one with a Documentation label please.

Hi, could someone please tell me why NVP node does not replicate ledger from VP node, since that will be a great performance improvement when dealing with query?

@polyrabbit My guess is because it is difficult to keep NVPs really up to date without being part of PBFT. Validating Peers synchronise the ledger by using the PBFT protocol. This include not only consensus per each set of transactions but also the state transfer to recover from a lagged or broken ledger. It seems we'll need to replicate a similar mechanism between VP and NVP, which could introduce too much complexity.

I have made my modification to enable NVP replicating ledger from VP, just a trial to get familiar with fabric code.
Should anyone be interested please see my commits

@polyrabbit a PR would make it easier to review your changes. @srderson or @binhn would one of you please weigh-in on this thread? thanks

Hi @christo4ferris, thanks for your advice, I'm just wondering what's the point of NVP having the ledger, since NVPs delegate all the transactions(including query) to VPs, and NVP doesn't know which VP is the correct one to replicate from?

The original proposed purpose of the NVP, to my knowledge, was to keep a local copy of the ledger and support query only transactions. The goal was to reduce load on the VP as @polyrabbit speculated. Each NVP is designed to be connected to a single VP which it must trust.
If the NVP is not maintaining a local copy of the ledger, it sounds like a bug to me. @binhn @jeffgarratt ?

@srderson yes, NVP keeps up the ledger via block notification.  Note that NVP will go away in the next iteration. The notion of NVP is replaced by the combination of Submitter, Endorsers, and Committer.


protoc-gen-go: support generating standard Go types in place of well-known-types

This is quite similar in spirit to https://github.com/google/protobuf/issues/2055 (which is for the Java protobuf codegen and runtime).
Protos would be easier to integrate with Go libraries that rely on struct reflection (serialization, ORM, etc) if struct fields used standard Go types in place of some of the well-known types:

google.protobuf.Timestamp -> time.Time
google.protobuf.Duration -> time.Duration
google.protobuf.Int32Value -> *int32
google.protobuf.Int64Value -> *int64
google.protobuf.UInt32Value -> *uint32
google.protobuf.UInt64Value -> *uint64
google.protobuf.FloatValue -> *float32
google.protobuf.DoubleValue -> *float64
google.protobuf.BoolValue -> *bool
google.protobuf.StringValue -> *string
google.protobuf.BytesValue -> []byte

(For the lattermost one, we could distinguish a missing/default value from a BytesValue message that contained an empty Value field by assuming nil means absent and otherwise empty slice is a message with an empty value.)
Other solutions we've had to use to work around this (mostly the timestamp and duration ones):

Creating a parallel struct that mirrors the generated proto, but with the above type swaps. Implement adapter methods to translate between the proto and the parallel type. While this can be done via codegen, we find ourselves doing it by hand more often than not.
If the library allows customized representation (via a Marshaler or Saver sort of interface), write a reflection-based library that will recursively apply the transformations to a proto when generating the marshaled/saved form.
Use JSON as a go-between. The JSON format for well-known-types matches the type expectations pretty well, so marshalling the proto to JSON and then to map[string]interface{} often does the trick. Timestamps are not converted correctly, but for libraries that are applying the data to a schema, they can typically handle parsing the string, without any extra effort, for fields where a timestamp value is expected.

Since it would impact compatibility, it could be an opt-in flag that changes the output of codegen. The runtime library could probably be updated to accommodate without any compatibility issues (e.g. could just examine the type of a field to make decisions or, if it's more efficient, could encode more bits into the struct tag so that the library knows what to do without extra reflection steps).

Hi, is there any update on this? Are there third-party options? If I wanted to implement it myself, what would the level of effort look like and would that necessitate a fork? Since this has been outstanding for nearly a year, it'd be great to get a comment from a maintainer on how much of a priority it is and whether there's a timeline in place. Thanks!

This proposal is on hold until reflection work is finished (see #364) as generating native Go types will need to inter-operate with proto reflection in a reasonable way.

@sanjaypsmc gogo/protobuf has supported timestamp and duration for a while, but using gogo over golang/protobuf is not a choice without other consequences. At this point you might just want to wait until the work in #364 has been completed.

Hey, now that work on #364 is complete, is it reasonable to see work started back on this item? Or are there additional blockers?

See https://go-review.googlesource.com/c/protobuf/+/225298 for WIP on this. However, I am waiting for the FieldMask message to be transferred from google.golang.org/genproto/protobuf/field_mask to be transferred over to our module, which will unfortunately take some time since cross-team coordination is always challenging.

This would be very nice!
Till that, can we add database/sql.Scanner, database/sql/driver.Valuer, proper MarshalJSON, UnmarshalJSON, MarshalText, UnmarshalText to these WKTs?
It's only a handful of lines (github.com/UNO-SOFT/knownpb/timestamppb for example), and would alleviate the grudge induced by sed-ing the generated files' imports (https://github.com/UNO-SOFT/knownpb/blob/main/replace_timestamp.sh)...
Shall I open a new issue for this?

this is a very much needed improvement. the way golang protobufs handles these types is incredibly painful for interop.

+1 from me as well. I'm interested in time.Time. Are there any plans to support slices and maps as well?

+1 to not let it die, time.Time will be a world savior for all my work, with it i can set all database schema with protos


[TM] Add spec for HeapCapture

Summary
Part of #24875, adds a spec for HeapCapture
Changelog
[General] [Added] - TM Spec for HeapCapture
Test Plan
Flow passes

@ericlewis i fixed comments you left, could you review it once again?


Repo sync for protected CLA branch

The pull request is created from master637685319024341059 to master to fix git push error for protected CLA branch

@shsagir : Thanks for your contribution! The author(s) have been notified to review your proposed change.


n3iwf

~/free5gc$ make
Start building n3iwf....
cd NFs/n3iwf/cmd &&
CGO_ENABLED=0 go build -gcflags "" -ldflags "-X github.com/free5gc/util/version.VERSION=v3.2.1 -X github.com/free5gc/util/version.BUILD_TIME=2023-03-27T06:47:54Z -X github.com/free5gc/util/version.C         COMMIT_HASH=+e777e4e -X github.com/free5gc/util/version.COMMIT_TIME=2023-03-06T13:35:40Z" -o /home/u         ubuntu/free5gc/bin/n3iwf main.go
go: downloading github.com/gin-gonic/gin v1.7.3
go: downloading github.com/wmnsk/go-gtp v0.8.0
verifying<EMAIL_ADDRESS>checksum mismatch
downloaded: h1:3U500Wp728rATEiFJtk1L7dhAbWobNDQC0Cbd4yhhdc=
go.sum:     h1:aMBzLJ/GMEYmv1UWs2FFTcPISLrQH2mRgL9Glz8xows=
SECURITY ERROR
This download does NOT match an earlier download recorded in go.sum.
The bits may have been replaced on the origin server, or an attacker may
have intercepted the download attempt.
For more information, see 'go help module-auth'.
make: *** [Makefile:46: bin/n3iwf] Error 1

In your scenario, I think the following commands would help you.
$ cd NFs/n3iwf

In free5gc/NFs/n3iwf
$ go clean -modcache
$ go mod tidy

Go back to ```free5gc/``
$ make


Json example

Hello,
I am trying to fill the table with a json file but it isn't working. The grid renders each row but the data is blank.
Do you have any sample using JSON? If you do, can you please share with us?
Thank you very much

There is an example using JSON here: https://github.com/key-lime-box/dynamic-table/blob/master/sample/index2.html
If you see rows, but no data is shown in the fields, it might be that you have to specify the field property of each column to match the name of the attribute to be shown.
If this does not help. Please post up some sample code of your configuration and data and I can help you out with this.

@lmarchel13 did this help?

Sorry for the delay. I was out of office.
It did worked using an AJAX call as below:
var myData = {};
$.ajax({
url: "/data.php",
async: false,
dataType: 'json',
success: function(data)
{
myData = data;
    }
});

Thanks for your support.

Make sure you set the data on the grid from the success function:
  // Set-up your grid above

    $.ajax({
        url: "/data.php",
        async: false,
        dataType: 'json',
        success: function(data)
        {
            $("#sample-grid").dynamicTable("data", data, myColumns);
        }
    });

Because, of the delay on network traffic, the success function gets called way after the grid is initialized and thus it will not know about the data. When calling it from the success function.

Thank you very much.
Now, I got a different issue. My sort up and sort down feature aren't working anymore. Do you have any idea why?

I can probably help you with that as well. But log that as a new issue as it is a different subject and also see if you can get any errors from the JavaScript console. Also, note which browser and version you are using.

Ok, I will do that. Thanks again.


No "Callback URL" in Settings (OSX)

The wiki says:

If you prefer to use alternate tunneling software, you may configure a custom Callback URL in the emulator's App Settings dialog.

There is no such option in OSX (emulator version 3.5.23).
(Can I also respectfully suggest: next time you need to integrate this sort of utility software, pick something that is really free, not freemium stuff like ngrok. It makes everyone's life easier.)

@toyg Apologies and thank you for reporting this. Our documentation is out of date. We removed this setting a few versions back. It was a source of confusion for many users. Do you have need for this setting?

I worked around it by creating a second bot for testing purposes, which is a more realistic scenario overall although it's a bit cumbersome having to create many different bots for a single team.
As long as you remove that bit from docs, I'm fine to close this.

Ok, great. I've updated the wiki page to remove the reference. Closing this issue now.


S2 convolution vs. SO3 convolution

Could you please clarify the difference between S2 convolutions and SO3 convolutions? From what I gather from the two papers, an S2 convolution should happen on a spherical input (e.g. an equirectangular image), but all subsequent convolutions should be SO3 convolutions. This is because, while the S2 convolution is an operation on the sphere (i.e. in S2), it involves a rotation in SO3. Hence, the output is a function of SO3 and requires a slightly different convolution operation. Is that accurate?
Nonetheless, in practice, does this just mean that we apply an S2 convolution to the input and SO3 convolutions to the subsequent feature maps?

Yes that is correct :-)


Can't add custom headers to WebSocketLink

Describe the issue
HI, I'm using WebSocketLink for subscriptions. I would like to authenticate with my server by adding a token in a request header. I've tried using AuthLink like so:
_authLink = AuthLink(
      getToken: () async => 'Bearer $token',
      headerKey: 'Authorization'
    );
_link = _authLink.concat(_wssLink);

This has no effect and is not adding any header to a request. I've also tried to add initialPayload
SocketClientConfig(autoReconnect: true,
          initialPayload: () => {
            'headers': {'Authorization': 'Bearer $token'},
          }
      )

also nothing. Is there a way to add auth / custom headers to a WebSocketLink? I'm using version 4.0.1 of the graphql_flutter, thanks!!!

Watching

On prev versions initailPayload worked for me.

This solution here worked really well in v4. But you can't use it in v5. So if you would rather use v4 that will solve your problem

Auth link works for me actually and I am adding bearer token there

@vytautas-pranskunas- can you share  sample code?

if (subscriptionUri != null) {
    final WebSocketLink websocketLink = WebSocketLink(subscriptionUri,
        config: SocketClientConfig(
            autoReconnect: true,
            delayBetweenReconnectionAttempts: Duration(seconds: 2),
            initialPayload: () {
              return authTokenService.addAuthHeader(EnvVariables.currentHost);
            }));

    link = Link.split(
      (request) => request.isSubscription,
      websocketLink,
      link,
    );
  }

  addAuthHeader(String? url, {Map<String, String>? headers}) {
    if (headers == null || url == null) {
      headers = new Map<String, String>();
    }

    if (_inMemoryTokenStorage._token == null || url!.indexOf(EnvVariables.currentHost) == -1) {
      return headers;
    }

    var token = hasToken ? 'bearer ' + _inMemoryTokenStorage._token!.accessToken : '';

    headers.putIfAbsent(HttpHeaders.authorizationHeader, () => token);

    return headers;
  }

I've tried the code above with version 5.0.0-nullsafety.5 and it didn't work for me 😢  Which version did you tried it with?

here is really solution
Happy coding

Worth noting that the experimental method of adding headers to subscription connections does not work for Web. Maybe this bug is the best place to track that feature as well.

Just to report back, I had the same problem while adding my headers via the authLink or the SocketClientConfig.headers. What worked was using initialPayload:
    SocketClientConfig(
          initialPayload: () => {
                'headers': {'x-hasura-admin-secret': APISettings.apiKey},
              }));

@supermar1010 The API of the SocketClientConfig now accepts the header map, you don't need to pass this inside the init payload.
If this doesn't solve your problem, please open a new issue with more details.


Add action.execute event

#20  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @nlathia and the rest of your teammates on  Graphite


TypeHintMapping does not cope with definitions containing classes with parameter placeholders

<service id="foo_handler" class="%foo_handler.class%">
    <tag name="tactician.handler" typehints="true"/>
</service>

[ReflectionException]
    Class %foo_handler.class% does not exist

Hmm, unexpected. Good catch!
I'm not sure why anyone would want this but maybe we can check that it begins and ends with a % sign, then optionally resolve that with a getParameter call. I'll take a look within the next couple days or let me know if you want to give it a shot as a PR! :)

We'll probably need to change TagBasedMapping to pass the ContainerBuilder in as well as the Definition but that's alright with me. :)

See #76

Totally resolved by @chalasr in #76 (thanks!) but please  reopen this issue if you find any other edge cases, @maryo. Thanks!


Add a data getter to X509Certificate

Add a data getter to X509Certificate that returns the DER encoded bytes of the certificate from i2d_X509() as an UnmodifiableUint8List.
This is to enable SSL pinning.
/cc @mit-mit @a-siva

Related Flutter bug: https://github.com/flutter/flutter/issues/16066

@zanderso Can I help implement this? I really need this feature.

https://dart-review.googlesource.com/c/sdk/+/55505
I'll land after adding a getter for the sha1, which is what I think you mean by fingerprint.

@zanderso Do you know when this patch will be able in the flutter?

It should make it in the next roll into Flutter top-of-tree. I'll link the pull request to follow when it shows up.

Is this available in the beta release of Flutter yet?  or where can I pull this source?

Sorry for not updating. This is now available in Flutter.

I'm pretty new to flutter.   Can someone point me towards a tutorial or a doc that describes how to use this.

@linuxjet did you check the test https://github.com/dart-lang/sdk/blob/e7495e427c2b0ce76546c946da5f5b9f6f580214/tests/standalone_2/io/secure_client_server_test.dart#L44-L73 (can't help more)

HA!..  no I didn't.  because I didn't see it.   thx

Hi,
what about public key pinning (HPKP). Can the SecurityContext validate a public key instead of a certificate? This is more future proof as certificate pinning comes with issues of certificate expiry
Cheers

any update on SSL pinning with public key?

Can we file a new feature request for SLL pinning with public key, this issue was opened for adding 'data' getter which is done and the issue closed.

issue opened for ssl public key pinning support.  https://github.com/dart-lang/sdk/issues/35981


Mark all .ts files as TypeScript

I noticed that source/cli.ts is currently detected as JavaScript on GitHub (this happens because of the #!/usr/bin/env node shebang). This lets GitHub know that cli.ts is TypeScript, updating language distribution stats and syntax highlighting on the web.

BTW, one workaround besides doing this is to have a project structure kind of like this:
#!/usr/bin/env node
// bin/cli.js
// thin JS wrapper
import cli from "../dist/cli.js";
cli();

// source/cli.ts
export default function implementation() {}

This keeps the node shebang outside of files that node can't run.

Good catch, I'll merge this for a quick fix but may look into the wrapper option when I have time :)
Thank you!


Missing dependency "control"

I just got an exception when I tried to do a nyquist plot.
`RuntimeError                              Traceback (most recent call last)
Cell In[4], line 1
----> 1 spb.plot_nyquist(tfG)
File c:\Python312\Lib\site-packages\spb\plot_functions\control.py:1197, in plot_nyquist(*systems, **kwargs)
[1195](file:///C:/Python312/Lib/site-packages/spb/plot_functions/control.py:1195) series = []
[1196](file:///C:/Python312/Lib/site-packages/spb/plot_functions/control.py:1196) for s, l in systems:
-> [1197](file:///C:/Python312/Lib/site-packages/spb/plot_functions/control.py:1197)     series.extend(nyquist(s, label=l, **kwargs.copy()))
[1198](file:///C:/Python312/Lib/site-packages/spb/plot_functions/control.py:1198) kwargs.setdefault("xlabel", "Real axis")
[1199](file:///C:/Python312/Lib/site-packages/spb/plot_functions/control.py:1199) kwargs.setdefault("ylabel", "Imaginary axis")
File c:\Python312\Lib\site-packages\spb\graphics\control.py:1909, in nyquist(system, omega_limits, input, output, label, rendering_kw, m_circles, **kwargs)
[1744](file:///C:/Python312/Lib/site-packages/spb/graphics/control.py:1744) def nyquist(system, omega_limits=None, input=None, output=None,
[1745](file:///C:/Python312/Lib/site-packages/spb/graphics/control.py:1745)     label=None, rendering_kw=None, m_circles=False, **kwargs):
[1746](file:///C:/Python312/Lib/site-packages/spb/graphics/control.py:1746)     """Plots a Nyquist plot for the system over a (optional) frequency range.
[1747](file:///C:/Python312/Lib/site-packages/spb/graphics/control.py:1747)     The curve is computed by evaluating the Nyquist segment along the positive
[1748](file:///C:/Python312/Lib/site-packages/spb/graphics/control.py:1748)     imaginary axis, with a mirror image generated to reflect the negative
(...)
[1907](file:///C:/Python312/Lib/site-packages/spb/graphics/control.py:1907)
[1908](file:///C:/Python312/Lib/site-packages/spb/graphics/control.py:1908)     """
-> [1909](file:///C:/Python312/Lib/site-packages/spb/graphics/control.py:1909)     control = _check_if_control_is_installed(force_stop=True)
[1910](file:///C:/Python312/Lib/site-packages/spb/graphics/control.py:1910)     systems = _unpack_mimo_systems(
[1911](file:///C:/Python312/Lib/site-packages/spb/graphics/control.py:1911)         system,
[1912](file:///C:/Python312/Lib/site-packages/spb/graphics/control.py:1912)         "" if label is None else label,
...
[63](file:///C:/Python312/Lib/site-packages/spb/graphics/control.py:63)         "the evaluation."
[64](file:///C:/Python312/Lib/site-packages/spb/graphics/control.py:64)     )
[65](file:///C:/Python312/Lib/site-packages/spb/graphics/control.py:65) return use_control
RuntimeError: The control module is not installed. Can't proceed with the evaluation.`
Steps to reproduce:

Install spb without installing Python Control Systems Library
Follow steps in documentation to plot a Nyquist-Plot (https://sympy-plot-backends.readthedocs.io/en/latest/modules/plot_functions/control.html#spb.plot_functions.control.plot_nyquist)
Error above occurs

If instead you install the Python Control Systems Library (https://python-control.readthedocs.io/en/0.10.1/intro.html#installation) and then try to plot again, the plot gets produced as expected.
Note:
I would do a pull request myself, but I don't know exactly which version of control you at least need.

Hello @JanB1 , thanks for reporting this.
I made a conscious decision to leave control out of the basic installation, which only installs the minimal libraries needed to get plotting of symbolic expressions:
https://github.com/Davide-sd/sympy-plot-backends/blob/9b9f7f6e42d8cb7d572f5b7da9827850f386e711/setup.py#L62-L69
However, you can choose to install all dependencies with pip install sympy_plot_backends[all], which includes control:
https://github.com/Davide-sd/sympy-plot-backends/blob/9b9f7f6e42d8cb7d572f5b7da9827850f386e711/setup.py#L13-L29
The main reason behind this choice is that I want to provide lightweight minimum installation option.

Okay, it was just a little bit unexpected, especially as the documentation for the control plots doesn't mention it, but only when you got further to the control module documentation does it mention it in the text.
But I didn't click that far as on the control plots page it said "Refer to Control for a general explanation about the underlying working principles, or if you are interested in a finer customization of what is shown on the plot." and frankly I wasn't really interested in the general explanation about the underlying working principles, it just referred to the doc of the specific plot directly.
Might have been an oversight on my end, or maybe you'd want to put a disclaimer directly on the control plots page that you need an additional package that isn't included?


Schemes can't be set during configuration

In version 5, a "schemes" array is added to the definition automatically,

Schemes
If schemes are not explicitly provided in a Swagger 2.0 document, then the scheme used to access the docs is taken as the default. If your API supports multiple schemes and you want to be explicit about them, you can use the Schemes option.

but this doesn't happen in version 6. There is also no options.Schemes() during service configuration.
Azure API Management requires schemes to be in the Swagger definition, how can we can get our schemes to be listed?

Config coming in the next version. For now though you can set with a Document Filter (see readme)

Thanks @domaindrivendev !
If anyone else is looking, stick this in your Startup.cs' Configure() method.
app.UseSwagger((doc, request) =>
{
    request.Schemes = new[] { "http", "https" };
});


auto_system_memory / auto_java_memory seems backwards

I feel like these options encourage the misperception that you want your JVM heap to be as large as possible for Solr. You actually want something more the reverse, where your heap is a given number, and you leave the rest of the available ram to the system cache. (See http://wiki.apache.org/solr/SolrPerformanceProblems#RAM)
Obviously, auto_java_memory is a documented option, so it can't just be removed or changed at this point, but what I'd ideally want from something like this would be to use, say, 1/2 the available ram for heap (mainly to support vagrant and other non-production environments) up to a maximum of the set amount.
Then you don't need to bother with an additional system memory parameter, and if you add RAM because your index grew, you don't need to change anything in your cookbook.

@randomstatistic agreed! to keep it simple i am thinking of:

default['solrcloud']['auto_java_memory'] = 'half' will allocate half of the memory
default['solrcloud']['auto_java_memory'] = 'maximum' will allocate max possible depending up on default['solrcloud']['auto_system_memory']
if user is setting up default['solrcloud']['java_xmx'] then skip default['solrcloud']['java_xmx'], similarly for default['solrcloud']['java_xms']
if node['memory']['total'] is > 32, set default['solrcloud']['java_xmx'] to 32g

let me know what do you think about it.

I like the idea of adding more named values as a way of preserving backwards compatibility while moving the meaning of the option a bit.
You're closer, but I probably still wouldn't use the values you're describing though. I try to figure out the minimum heap size my solr node needs for my collection/usage, and once I've done that, the only reason I'd ever want it to be any other value is because the node simply cannot support that value. Testing in vagrant would be the most likely example where my explicitly configured value might not be usable, but a lightweight QA node might be another.
I'm currently doing something like this, which I think would be generically useful:
desired_heap_mb = 12000
sys_memory_mb = (node['memory']['total'].gsub('kB', '').to_i / 1024).to_i
java_heap =
    if (sys_memory_mb > desired_heap_mb * 1.5)
        "#{desired_heap_mb}m"
    else
       "#{sys_memory_mb / 2}m"
    end
override[:solrcloud][:auto_java_memory] = false
override[:solrcloud][:java_xmx] = java_heap

(Warning, I typed this, it's not syntax checked.)
So, if you can support the desired heap (with some headroom), use that and leave everything else to the system cache. Otherwise, scale down with system memory.
I think the elements are all there. Maybe default['solrcloud']['auto_java_memory'] = 'minimum' could mean this? default['solrcloud']['auto_system_memory'] could replace the 1.5 multiplier I stuck in there, and default['solrcloud']['java_xmx'] could replace desired_heap_mb?

That definitely sound a better approach. I admit that allocating maximum memory is not a best practice, but it is quite useful for low memory systems.
How about simply setting up default['solrcloud']['java_xmx'] & default['solrcloud']['java_xms'] to (total memory) / 2) by default and leave it up to the user to change. As it would differ among environments.
I can also think of using e.g. 75%, but that might not give the intended value for low memory systems.
I think that there is no generic default value for default['solrcloud']['auto_system_memory'] & default['solrcloud']['auto_system_memory'] and removing them keeps the cookbook simple.
But, let me know what are your final thoughts on it.

Setting the heap with a default of 50% seems very reasonable to me. I very much agree that there's no generic default number anyone could pick here.
Removing the auto_system_memory certainly solves my somewhat pedantic issue, which is that it currently encourages the wrong settings. (specifically, maximizing heap instead of minimizing it)
That said, it's still my belief that the configuration I described will almost always be what people really want. (That is, some value, or half available, if that value won't fit.)
I think it would be convenient if the requested-vs-available check were in the cookbook, but I can certainly still keep this in my wrapper cookbook without much difficulty.
Regardless, I appreciate your engagement on this. All things considered, it's a fairly minor issue.

@randomstatistic Thank you for the feedback. Will make the changes.

Cookbook updated.


Add support for ratio type

I think that these are all the required changes, let me know if there are other changes required

RATIO WORK NO LONGER BEING USED AS OF 9/1 DISCUSSION IN HQMF CQL TOOLING CALL


Some fixes

Fixes #4, fixes #7, fixes #8 and other stuff.

Thanks so much for tackling these! Would you mind moving 713ef32642db1386dcd7cdce551020d3338653ae to a separate PR? I'd like to discuss those changes separately. And maybe also split out the moving of the CSS and JS code to separate files, so that this PR's global diff is more readable.
I can do both if you'd prefer.

Also, 5c1055b7b814215e3b2329152fdca8d0d593ddfe is already included in #1. Let me merge that one first since these changes are more substantial (though fortunately they don't overlap much).

No worries, it's just my OCD :sweat_smile: Also, GitHub's per-commit view is a little cumbersome to use. I'll split the PR.

Update: I've split the other changes into #9 and #10, and rebased this PR (dropping 5c1055b7b in favor of the changes in #1). Sorry for the inconvenience :)
I still would like to split this further, but I'm out of time for the moment, and will pick this up later.

(Adding the expanded commit message with the explanation here, for convenience)
The previous approach of interpolating the contents of the textarea
directly into the JavaScript template literal containing Python code
didn't work because:

The string contained newlines,
so it had to be specified using triple quotes (""").
The template literal is indented within the JavaScript code,
and the whitespace characters used for indentation
are part of the string; i.e. the whole Python script is indented;
however, when the textarea contents got interpolated into it,
the resulting Python code would contain negative indentation,
something like this:    from docutils.core import publish_string
    publish_string("""foo
bar""", writer_name='html5').decode("utf-8")

...so Python would complain about invalid syntax.

Passing the string via a variable
(rather than injecting it directly into the Python code)
avoids this issue because the Python code doesn't change shape
depending on the input text.
In any case, it's unadvisable to directly interpolate user input into code,
so the new approach is also safer.

WDYT of the PR as it stands, @not-my-profile?


Add title at the beginning of the toot

First off, kudos for a great wordpress plugin !
Would it be possible to have an option where the title appears at the beginning of the toot  ?

hi! closed as in "wontfix" or "already fixed" ?

I fixed it in the master... but I have to tweak some more things for another release...
It is now possible to customize the activity, using template-tags.


how keep 180 quick turn and crosshair short move precision same time in fps

i play doom open beta use gamepad and i almost kill no one,stick aim often over cross target,i decreced sensitivity in game but when i fire some one behind me,i hardly turn 180 back,,there just vertical and horitional sensitivity i can adjust in game,is there a way to use Durazno to keep these two things samt time? thanks

Let me see if I understand it. You lowered the sensitivity to get some finer aim control, but that makes it impossible to get a fast turn.
If so, I suggest to change the ingame sensitivity until you can turn quickly enough. Then with Durazno, increase the linearity to 2 or higher. A positive linearity will make it low sensitivity on the center with high sensitivity on the edge, so you should have a finer aim with a quick turn on the edge of the stick. This works best with little to no deadzone if the game allows to change that.

oh boss i try and i can't say it actually working as intended but i think its getting better after sensitivity and  linearity adjust,maybe i should find best number for me,and priactice gamepad for fps,thanks for pro advice :D


[Gssoc'21] bug in login page

Describe the bug
There is bug in login page  kindly see this video
https://user-images.githubusercontent.com/55352601/114188074-5ebb9e00-9966-11eb-87b5-80a2119bdcda.mp4

Yup, your right. You can use custom validation or just add the required attribute in input tag. @arpit456jain

@vigneshshettyin kindly review my PR


Serialization/Deserialization API for AST

Search Terms
serialize deserialize ast node
Ref #26871
Ref #28365
Suggestion
Implement/expose an API that can serialize/deserialize AST nodes, in particular a way to serialize a source file so it can be easily transferred or stored, potentially manipulated, and hydrated back.
Somewhat related is #28365 which would allow ingestion of AST directly for certain use cases.  It was suggested before in #26871 for performance reasons, but not for externalising the AST in a form that can be persisted easily.
Use Cases
Specifically in Deno, we are interested in doing some AST generation or manipulation external to the JavaScript runtime.  Doing some computationally intense functions not in JavaScript can have significant improvements in speed.  For example, we originally did our source map remappings for errors in JavaScript using the source-map package from Mozilla.  In version 0.7+ though, Mozilla had written the mappings part of it in Rust transpiled to WASM.  We were able to use that directly in the privileged side of Deno, in its native Rust and saw something like a 100x increase in performance.
At this point we don't specifically know how we would use it, though there can potentially be a need to procedurally generate some aspects like our runtime type library or do some AST transformations for bundling.  We have experimented with doing this manipulation in a JavaScript runtime and wonder if we can get performance improvements by doing some stuff in Rust.
Right now, a full parse, transform and emit is the only way to "persist" code.  If you want to make further changes, it is a reparse.  It seems logical that this transitory state could be utilised for a lot of different advanced use cases.  It also would in a way decouple the parser and the transformer externally.
There are a good amount of advanced use cases that people build on top of AST generators like acorn and estree, so it is logical that other advanced use cases could be built if serialisation/deserialisation is available.
Two big challenges are likely that there is a lot of circular references, which makes JSON a difficult serialisation format.  There is a lot of hidden state in a SourceFile that isn't "owned" by the surface object.  That would have to be exposed as part of a serialisation which isn't present as properties in the existing nodes.
I started to look at tsbuildinfo to see if some sort of compiler or AST state is persisted somewhere that could be used to rehydrate the state of the compiler, but really haven't looked to see if internally TypeScript can serialise a program state.
Examples
const sourceFile = ts.createSourceFile("mymodule.ts", "console.log(\"hello\");", ts.ScriptTarget.ESNext, true);

// Returns a POJO of ts.SerializedNode?
const serializedSourceFile = ts.serialize(sourceFile);

// Because it is a POJO, it can be easily serialized
console.log(JSON.stringify(serializedSourceFile));

// Accepts a ts.SerializedNode?
const sourceFile2 = ts.deserialize(serializedSourceFile);

Checklist
My suggestion meets these guidelines:

[X] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[X] This wouldn't change the runtime behavior of existing JavaScript code
[X] This could be implemented without emitting different JS based on the types of the expressions
[X] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
[X] This feature would agree with the rest of TypeScript's Design Goals.

We'd need some use cases that directly benefit from TypeScript specifically in tsc-like scenarios, otherwise this could just be something a different parser could do. We do a lot of stuff like having specific node constructors to eke out extra performance and anything done here would have to be tolerant to that.

There seem to be preliminary instructions for this in #3662.
I'm interested in this as well, for the same reasons listed in #3662 - faster startup times. It seems like something that was considered but never implemented, based on the createDocumentRegistryInternal methods ExternalCache option. I'll report back if I have any luck with implementing the tips in #3662.

I was unable to make any progress on this. SourceFile nodes are deeply nested, and converting them to strings rendered them too large to store. I am trying to improve startup time for an in-browser language service (similar to Monaco), so the dehydrated SourceFile would have needed to be small enough to be stored in IndexedDB.

Hi, I got stuck as well with serializing SourceFile. Is there a clear way to do that ? Checking the documentation https://github.com/Microsoft/TypeScript/wiki/Using-the-Language-Service-API#document-registry mentioned that
A more advanced use of the document registry is to serialize SourceFile objects to disk
and re-hydrate them when needed.

but there is no example of how to do it.

Any progress about this? Facing the same issue.

@kitsonk Hi~ Do you have any progress about this?


chore: make openai dependency optional

pre-release here: https://pypi.org/project/langfuse/2.19.3a0


Issues with the model when running on GKE

Getting this error when trying to view cost allocations:
Unexpected model response: Error: error computing aggregate cost model: Prometheus communication error: error computing normalization max(count_over_time(kube_pod_container_resource_requests_memory_bytes{}[1h] )) for start=2020-06-29 09:48:51.141 +0000 UTC, end=2020-06-30 08:48:51.141 +0000 UTC, window=1h0m0s, res=3600.000000: nil queryResult
Running the same query on Prometheus return results.

It happened because thanos was not explicitly disabled (See kubecost/cost-analyzer-helm-chart#526) - I had to disable it manually:
  thanos:
    query:

Closing this issue for now then. Thanks for the note!


pysam ValueError: start out of range (-1500)

Version :
Truvari v3.1.0 (latest on pip)
Describe the bug :
Exits with the following stderr/stdout
2022-03-29 18:14:44,524 [INFO] Running /home/ubuntu/.local/bin/truvari bench --base /data/sv/samples/hg0073
3/hifiasm/variants.vcf.gz --comp /data/sv/samples/hg00733/hapdup/variants.vcf.gz --reference /data/sv/hg37/
human_g1k_v37.fasta -o /data/sv/samples/hg00733/hapdup/truvari --passonly -r 2000 -C 2000
2022-03-29 18:14:44,524 [INFO] Params:
{
    "base": "/data/sv/samples/hg00733/hifiasm/variants.vcf.gz",
    "comp": "/data/sv/samples/hg00733/hapdup/variants.vcf.gz",
    "output": "/data/sv/samples/hg00733/hapdup/truvari",
    "reference": "/data/sv/hg37/human_g1k_v37.fasta",
    "giabreport": false,
    "debug": false,
    "prog": false,
    "refdist": 2000,
    "pctsim": 0.7,
    "buffer": 0.1,
    "pctsize": 0.7,
    "pctovl": 0.0,
    "typeignore": false,
    "use_lev": false,
    "chunksize": 2000,
    "gtcomp": false,
    "bSample": null,
    "cSample": null,
    "sizemin": 50,
    "sizefilt": 30,
    "sizemax": 50000,
    "passonly": true,
    "no_ref": false,
    "includebed": null,
    "multimatch": false
}
2022-03-29 18:14:44,524 [INFO] Truvari version: 3.1.0
[W::bcf_update_info] INFO/END=0 is smaller than POS at 13:1
Traceback (most recent call last):
  File "/home/ubuntu/.local/bin/truvari", line 8, in <module>
    sys.exit(main())
  File "/home/ubuntu/.local/lib/python3.8/site-packages/truvari/__main__.py", line 82, in main
    TOOLS[args.cmd](args.options)
  File "/home/ubuntu/.local/lib/python3.8/site-packages/truvari/bench.py", line 775, in bench_main
    for call in itertools.chain.from_iterable(map(compare_chunk, chunks)):
  File "/home/ubuntu/.local/lib/python3.8/site-packages/truvari/bench.py", line 398, in compare_chunk
    mat = matcher.build_match(b, c, f"{chunk_id}.{bid}.{cid}")
  File "/home/ubuntu/.local/lib/python3.8/site-packages/truvari/bench.py", line 212, in build_match
    ret.seqsim = truvari.entry_pctsim(base, comp, self.params.reference,
  File "/home/ubuntu/.local/lib/python3.8/site-packages/truvari/comparisons.py", line 257, in entry_pctsim
    allele1, allele2 = entry_create_haplotype(entryA, entryB, ref, buf_len=buf_len)
  File "/home/ubuntu/.local/lib/python3.8/site-packages/truvari/comparisons.py", line 204, in entry_create_
haplotype
    return create_pos_haplotype(a1, a2, ref, buf_len=buf_len)
  File "/home/ubuntu/.local/lib/python3.8/site-packages/truvari/comparisons.py", line 170, in create_pos_ha
plotype
    hap1_seq = ref.fetch(chrom, start, a1_start) + \
  File "pysam/libcfaidx.pyx", line 290, in pysam.libcfaidx.FastaFile.fetch
  File "pysam/libcutils.pyx", line 282, in pysam.libcutils.parse_region
ValueError: start out of range (-1500)

Expected behavior :
No crash
Example Data :
Willing to share if approved by @fenderglass

Thanks for reporting this. I saw the potential for this error a while ago but failed to fix it. See the referenced commit for a fix. I plan on cutting a v3.2 soon, but until then you'll need to work off of develop see wiki for details.
Beyond the truvari error, you also have the line
[W::bcf_update_info] INFO/END=0 is smaller than POS at 13:1

This is thrown by pysam/htslib directly, and suggests there may be a problem with your VCF. My guess is you have a variant starting on chromosome 13 at position 1 with the INFO/END at 0. Having END < POS is invalid. Also, END == 0 suggests your VCF may have problems with 0-based vs 1-based indexing.

thanks for the quick fix. must be a new record for me, in terms of response rate.

This is thrown by pysam/htslib directly, and suggests there may be a problem with your VCF. My guess is you have a variant starting on chromosome 13 at position 1 with the INFO/END at 0. Having END < POS is invalid. Also, END == 0 suggests your VCF may have problems with 0-based vs 1-based indexing.

I see. Thanks for the heads up. These VCFs are generated using another tool... I may have to open an issue with them.

@ACEnglish It looks like the install fails when I build from the dev branch. It ends on this message:
Installed /usr/local/lib/python3.8/dist-packages/sortedcontainers-2.4.0-py3.8.egg
error: setuptools 45.2.0 is installed but setuptools>=49.2.0 is required by {'bwapy'}

But it does seem to be running despite this error...

bwapy is only required for a couple of the truvari anno commands. It's a kinda finicky package so I built it in a way that if its installation fails the rest of truvari still works. But if you wanted to fix it, I suspect you could simply do:
python3 -m pip install --upgrade setuptools


Implement Dispute Messages

This is simply to build in support within AN to process and store the messages that occur along with dispute contributions.
If we choose to use these messages at some point there will be another set of tasks

@matt-bullock plz comment confirm we are covered

@nuevoalex IF this isn't being included in v2, should we remove the contract support as well for simplicity?


Ability to Select Which Children are Expanded

It would be great if there was an option to set expanded when initialising the list.
I know that expandSelected exists. But I would like to be to expand only the top level items and not their children which are also selected by default.

Hello @KuzonCode. It can be too difficult I guess because now all works around openLevel prop. But you can try to use workaround like this:
const options = [
  {
    name: 'England',
    value: 1,
    htmlAttr: {
      'init-open': 'true'
    }
    ....
]

  const domElement = document.querySelector(className)
  const treeselect = new Treeselect({
    parentHtmlContainer: domElement,
    value: [4, 7, 8],
    options: options,
    openCallback: () => {
      const list = Array.from(document.querySelectorAll('[init-open="true"]'))
      list.forEach((item) => {
        const arrow = item.querySelector('.treeselect-list__item-icon')
        arrow.dispatchEvent(new Event('mousedown'))
      })
    }
  })

you need to add an attribute.
then onOpenCallback finds elements with this attribute.
find an arrow and emulate mosedown.

It works for me. I don't know what will be with performance if we try to do this in a huge array of data. Need to check.

@dipson88, Mate! Your an absolute legend! Thank you.
Just one thing for anyone else who wants to use this in the future, I would recommend changing
const list = Array.from(document.querySelectorAll('[init-open="true"]'))
to be
const list = Array.from(document.querySelectorAll('[init-open="true"].treeselect-list__item--closed'))
This means that if the dropdown is closed an opened again it won't toggle the item closed.
Thanks again.


Last version still crashes Nuget Package Manager for VS2015

When using Nuget Packet Manager for Visual Studio 2015 v<IP_ADDRESS>.21 (last update on 07/10/2016), if the package (<IP_ADDRESS>) is added to any project, this crashes the manager :
Added package 'Rb.Forms.Barcode.0.7.1' to 'packages.config'
Successfully installed 'Rb.Forms.Barcode 0.7.1' to GeoWorker.BarcodeScanner
========== Finished ==========
ZIP archive contains unsupported data structures.

Same here, even worse, selecting 'Installed' in 'Manage Packages for Solution' displays "Error occurred" and none of your installed packages are displayed. No unable to uninstall installed packages.

@FredyFLU @calbert52 you are both on windows right? We are developing on mac. If that is true, than we have to check the path structure and rebuild the library.
Are you completely new to this barcode scanner, or do you already had an older version from the library installed?

Yes, I am using windows. This is the first time I tried using it in a project.
Thanks
On Nov 24, 2016, at 9:02 AM, Fokke Vermeulen <notifications<EMAIL_ADDRESS>wrote:
@FredyFLUhttps://github.com/FredyFLU @calbert52https://github.com/calbert52 you are both on windows right? We are developing on mac. If that is true, than we have to check the path structure and rebuild the library.
Are you completely new to this barcode scanner, or do you already had an older version from the library installed?

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/rebuy-de/rb-forms-barcode/issues/57#issuecomment-262782896, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AOnY4fcWEsdNyQFrOm5ud4H4oI7BsNxKks5rBZjhgaJpZM4K6zpS.

Yes I am also using Windows with Visual Studio 2015 Update 3.
I used and older version of the barcode scanner without problem but this may be related to the package manager that was updated recently.
Thanks for help.

This is also happening to me on a Windows 10 PC with Visual Studio 2015.  I can only remove rb.forms manually, which is a major hassle.
Temporarily, I can compile your source separately and include the DLL's.  But that is not compliant with my client's corporate coding philosophy.
Please repair immediately, thanks!

As @fvermeulen indicated maybe this is related to the file paths. One simple test you could try is to turn around slashes in the .nuspec file references. Also make sure the relative paths are correct. If that doesn't work let's investigate further from there.

Turning around the slashes fixed the issue for me. I have opened pull request #67 with the change.


Have events remove itself from homepage once deadline has passed

Is your feature request related to a problem? Please describe.
Currently, events stay on the homepage indefinitely. This clutters the homepage and makes it difficult to find current events.
Describe the solution you'd like
Events should be automatically removed from the homepage once their deadline has passed.
Describe alternatives you've considered
An alternative to this would be too sort events so those with passed deadlines are sorted to the bottom of the homepage, but this would still be cluttered and unnecessary.
Additional context
Events are defined by the date and time at which the event will happen, and this can be used as the deadline. It might also make sense to use the midnight of the day the event happens as the deadline so that they still appear on the homepage while they are ongoing.


remove extra docs and website requirements

Moving ahead with keeping all docs in markdown in a readme and fixing the docs


Weird onTabChange behaviour

Hi, I'm practically new on react-native, and I got to see this great bottom navigation, however there's a little problem with the onTabChange behaviour
I put the BottomNavigation as the navigationBar in my Navigator.
I made 3 Tabs.
When I change from the 1st to the 2nd tab, it is okay. The navigator shows the  2nd page without any problem. However when I change the tab from the 2nd to the 3rd, it will go back to the 1st tab right away. It is fine if I only use alert  to show the newtab, but when I make update on the navigator, it will do the weird behaviour.
here's my code :

<Navigator
        initialRoute={{name: 'listing'}}
        configureScene={() => Navigator.SceneConfigs.FadeAndroid}
        renderScene={RouteMapper}
        navigationBar={
          <BottomNavigation
            labelColor="white"
            rippleColor="white"
            style={{ height: 56, elevation: 8, position: 'absolute', left: 0, bottom: 0, right: 0 }}
            onTabChange={this._handleTabChange}
            >
            <Tab
              barBackgroundColor="#37474F"
              label="Home"
              icon={<Icon size={24} color="white" name="home" />}
            />
            <Tab
              barBackgroundColor="#00796B"
              label="Category"
              icon={<Icon size={24} color="white" name="list" />}
            />
            <Tab
              barBackgroundColor="#5D4037"
              label="Search"
              icon={<Icon size={24} color="white" name="search" />}
            />
          </BottomNavigation>
          }
        />

_handleTabChange(newTabIndex, oldTabIndex) {
    if(newTabIndex == 0 && oldTabIndex != newTabIndex) {
      _lastTab = newTabIndex;
      _navigator.popToTop();
    } else if(newTabIndex == 1 && oldTabIndex != newTabIndex) {
        _navigator.push({
          title: 'sample',
          name: 'sample'
        });
    } else if(newTabIndex == 2 && oldTabIndex != newTabIndex) {
        _navigator.push({
          title: 'search',
          name: 'search'
        });
    }
  }

const RouteMapper = function(route, navigationOperations, onComponentRef) {
  _navigator = navigationOperations;
  if(route.name == 'listing') {
    return (
      <Listing navigator={navigationOperations} > </Listing>
    );
  } else if(route.name == 'sample') {
    return(
      <CategoryList navigator={navigationOperations}> </CategoryList>
    );
  } else if(route.name == 'search') {
    return(
      <Search navigator={navigationOperations}> </Search>
    );
  }
};

I don't know how React Native's built in Navigator actually works, but I think the Problem is that the activeTab of the BottomNavigation isn't stored in your state, thus – if the Navigator ever feels like he wants to re-mount the navigationBar – the BottomNavigation loses its activeTab.
I think that's the Problem. Not 100% sure. To solve it, use it like this:
Store the activeTab inside your state, and pass it to the Bottom Navigation like this:
<BottomNavigation activeTab={this.state.activeTab}>

Update the state in your _handleTabChange, but maybe you shouldn't use setState in this case, since this would cause a rerender (and thus calling _handleTabChange again and again and again...). You could simply use this.state.activeTab = newTabIndex instead of setState.
This way your Navigator can re-mount the BottomNavigation without losing its state.

@yunussim Were you able to solve your problem?

@timomeh no I can't.  It seems like every time I changed the tab twice, it called to change the tab to the first one automatically. I did not know what happened, but it does happen when I update the navigator, and it does not happen if I do something else that doesn't update my navigator.
so here's the flow
tab at 0
navigator push the first one
newtabindex at 1
navigator push the second one
newtabindex at 2
newtabindex at 0
navigator push the first one
is it memory problem ? Because if I use regular view as my bottomnavigation (view, and text only) it does not have any problem at all.
Thank you for your support though!

If you use a regular view, the onTabChange event from the BottomNavigation doesn't get triggered. That's the Problem here. You'd have to figure out why onTabChange get's called if it shouldn't.
The onTabChange event get's fired in two cases:

If a tab was pressed
If the activeTab prop changes

I would highly advise you to replace your Navigator. The old Navigation Module from React Native was deprecated many months ago. You would save time and write better code if you use something like react-navigation.
Since this is an Issue related to the Navigator/your Code, I can't help you and have to close this issue.


CC Release Notes - March 2021

Closes CC-3654

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/f3371ed92e8ff470890dccca6402d21885587f0b/
Edited pages:

releases/cockroachcloud-03082021.md

@lnhsingh that plan sounds good 👍 Minor suggestion/amendment to what the snippet could say (feel free to keep what you want and toss what you don't like)
Self-service AWS PrivateLink is now generally available for CockroachCloud clusters running on AWS.

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/9d4d52ac1713cf80cb3b255fa2c1bf8f80e8af70/
Edited pages:

releases/cockroachcloud-03082021.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/4553f196a61eb825503ca1a1bb5d391a50e501aa/
Edited pages:

releases/cockroachcloud-03082021.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/69a200db474b76cbec3c76094421e216cafbffe5/
Edited pages:

releases/cockroachcloud-03082021.md