feat: add linters

Looks like the ususal linter boilerplate.
Has some stuff in it which we dont need here (editorconfig for python)
But i assume its one of your templates which can apply to any repo so maybe its best to go for consistency here instead of custom configs.

Yeah, I did copy it from another repo, that is why Python stuff is in there. I forgot to remove it. But no harm done.


Add arced edges for diamonds when edge_type="line"

Described in #42, diamonds are not clearly displayed when edge_type="line". Instead of straight lines, these edges should be arced as they are in graphviz diagrams. This will require a check for the presence of a diamond - when corresponding recombination nodes have the same parent.


ag slower than find, xargs, grep with high CPU count

Test System
$ cat /proc/cpuinfo | grep Xeon | uniq -c
     40 model name      : Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz
$ free -h
             total       used       free     shared    buffers     cached
Mem:           62G        52G        10G       283M       3.3G        37G
-/+ buffers/cache:        11G        51G
Swap:          63G        24M        63G
$ sudo hdparm -I /dev/sda | grep Model
        Model Number:       Samsung SSD 850 PRO 1TB

Test Corpus
This is a checkout of the Android source tree.
$ find . -name .repo -prune -o -name .git -prune -o -name out -prune -o -type f | wc -l
545561

Competing Command
The jgrep command comes from Android's envsetup.sh script.  It's just find, xargs, and grep.
#!/bin/bash
jgrep ()
{
        find . -name .repo -prune -o -name .git -prune -o -name out -prune -o -type f -name "*\.java" -print0 | xargs -0 grep --color -n "$@"
}

jgrep Android | wc -l

$ time bash jgrep-example.sh
39542
bash jgrep-example.sh  2.21s user 1.31s system 143% cpu 2.455 total

ag 0.29.1 performance
With ~/.agignore:
.repo
.git
out

Ag 0.29.1 takes about 3x as long to perform the search.
$ ag -V
ag version 0.29.1
$ time ag --java Android | wc -l
38743
ag --java Android  5.45s user 7.07s system 192% cpu 6.507 total
wc -l  0.00s user 0.03s system 0% cpu 6.507 total

It's roughly the same with no .agignore:
$ rm -f ~/.agignore
$ time ag --java Android | wc -l
38743
ag --java Android  5.28s user 7.24s system 196% cpu 6.379 total
wc -l  0.01s user 0.03s system 0% cpu 6.378 total

And no improvement for string literals.
$ time ag -Q --java Android | wc -l
38743
ag -Q --java Android  5.39s user 7.48s system 193% cpu 6.659 total
wc -l  0.01s user 0.03s system 0% cpu 6.659 total

ag 0.19.2 performance
Ag 0.19.2 (which comes with Ubuntu 14.04.1) isn't as bad on performance.  However, it does miss about 25% of the lines which it should find.
$ ag.old -V
ag version 0.19.2
$ time ag.old --java Android | wc -l
30785
ag.old --java Android  3.27s user 3.52s system 173% cpu 3.914 total
wc -l  0.00s user 0.01s system 0% cpu 3.913 total

Did you actually build the Android source or is this a clean checkout?

Clean source tree
Results were comparable when searching for non-existent strings (I_DONT_EXIST vs Android)
Valid point for the comparison I posted, but not relevant if no lines are printed
Also a valid point. Is there a way to reconcile the behavior for comparison?
I agree that by default ag is fast and easy, but it's selling point is that it's faster.  This doesn't seem to hold true against older versions of itself or grep.

Here's something with more standard hardware -- the most recent 4-core/8-thread i7 Retina Macbook Pro.  After prepping the cache by running a few times until I got consistent results, this is what the numbers look like.
Of course this is now on a different OS (Ubuntu 14.04 above vs Mac OS X Yosemite here), but the thread count has been cut from 40 to 8, and memory reduced from 64GB to 16GB.
$ fdesetup status
FileVault is On.
$ system_profiler SPHardwareDataType
Hardware:

    Hardware Overview:

      Model Name: MacBook Pro
      Model Identifier: MacBookPro11,2
      Processor Name: Intel Core i7
      Processor Speed: 2.2 GHz
      Number of Processors: 1
      Total Number of Cores: 4
      L2 Cache (per Core): 256 KB
      L3 Cache: 6 MB
      Memory: 16 GB
...
$ system_profiler SPSerialATADataType
SATA/SATA Express:

    Apple SSD Controller:

      Vendor: Apple
      Product: SSD Controller
      Physical Interconnect: PCI
      Link Width: x2
      Link Speed: 5.0 GT/s
      Description: AHCI Version 1.30 Supported

        APPLE SSD SM0256F:

          Capacity: 251 GB (251,000,193,024 bytes)
          Model: APPLE SSD SM0256F

jgrep
Exact same script as before.
$ time bash jgrep-example.sh
   32497
bash jgrep-example.sh  5.52s user 19.27s system 82% cpu 30.194 total

ag 0.29.1
Much faster than jgrep here.
$ ~/the_silver_searcher/ag --version
ag version 0.29.1
$ time ~/the_silver_searcher/ag --java Android | wc -l
   32692
~/the_silver_searcher/ag --java Android  2.71s user 4.19s system 93% cpu 7.346 total
wc -l  0.01s user 0.00s system 0% cpu 7.345 total

ag 0.19.2
I also built this version for testing against the results above.  Looks like the most recent release is indeed faster.
$ ~/the_silver_searcher/ag --version
ag version 0.19.2
$ time ~/the_silver_searcher/ag --java Android | wc -l
   32696
~/the_silver_searcher/ag --java Android  3.49s user 4.58s system 92% cpu 8.743 total
wc -l  0.01s user 0.00s system 0% cpu 8.742 total

On further consideration to the points you raised;

The clean- or not-clean working directory doesn't have a significant impact.
Printing is not the bottleneck as previously stated, for example if we search for a non-existent phrase, DOES_NOT_EXIST, versus a common one, Android.
In my benchmark example, grep is printing out line numbers (-n).
All of the grep and jgrep output is correctly serialized.  xargs does not actually ever execute multiple instances of grep in parallel.  It would do this if -P is specified, but it does not.
I still don't disagree, but clearly this is a feature that ag is supposed to handle gracefully.  The existence of a --java flag and appreciation for .agignore files is evidence of this.

Rectified Linux Tests
Also, here's a rectified benchmark to address the concerns about the print code being slower, or about the heading groupings being an issue.  This is back on the 40-core/64GB Ubuntu machine.  I also threw one in to manually set the worker count.
$ ag --version
ag version 0.29.0
$ time ag --nogroup --java I_DONT_EXIST --stats
0 matches
49695 files searched
402353855 bytes searched
4.738296 seconds
ag --nogroup --java I_DONT_EXIST --stats  3.17s user 4.62s system 164% cpu 4.740 total

$ time ag.old --nogroup --java I_DONT_EXIST --stats
0 matches
42259 files searched
336320422 bytes searched
3.970165 seconds
ag.old --nogroup --java I_DONT_EXIST --stats  2.62s user 3.58s system 156% cpu 3.972 total
$ ag.old --version
ag version 0.19.2

Restricted Worker Counts
The performance is about 12% faster when only using 1 CPU core.
$ time ag --workers 1 --java STRING_DOESNT_EXIST
ag --workers 1 --java STRING_DOESNT_EXIST  2.59s user 2.01s system 119% cpu 3.870 total
$ time ag.old --workers 1 --java STRING_DOESNT_EXIST
ag.old --workers 1 --java STRING_DOESNT_EXIST  2.13s user 1.89s system 117% cpu 3.421 total

The performance only goes lower the more workers are introduced.
$ time ag --workers 2 --java STRING_DOESNT_EXIST
ag --workers 2 --java STRING_DOESNT_EXIST  2.70s user 2.45s system 132% cpu 3.902 total
$ time ag --workers 8 --java STRING_DOESNT_EXIST
ag --workers 8 --java STRING_DOESNT_EXIST  2.97s user 3.14s system 151% cpu 4.042 total
$ time ag --workers 16 --java STRING_DOESNT_EXIST
ag --workers 16 --java STRING_DOESNT_EXIST  2.82s user 3.59s system 152% cpu 4.191 total
$ time ag --workers 40 --java STRING_DOESNT_EXIST
ag --workers 40 --java STRING_DOESNT_EXIST  3.17s user 4.53s system 155% cpu 4.950 total


[Suggestion] Restart the editor after adding credentials

Hi, really great tool, thanks for this.
I would like to suggest asking the developer if they'd like to restart the editor after adding the credentials. This would help in cases when people forget, or if they'd like to skip the manual steps.

Actually after testing, it seems we don't actually have to restart the editor, just refresh the packages.

I believe it depends on the Unity version; in some you just can call Client.Resolve() and get proper refresh, but especially in earlier versions that isn't enough. Which version did you test on?

2019.4.12f1


Undeclared identifier error related to buffer sizes

If you have the following pseudo code:
  let mesh = storage_buffer_meshes[0]; // storage buffer binding

  if mesh != 0 {
      *builtin_pos = storage_buffer_vertices[vertex_index];
  };

  let material_id = storage_buffer_vertices[vertex_index];

SPIRV-Cross will generate the following invalid metal shader:
_28 = (verticesBufferSize - 0) / 4;
if (0u < ((meshesBufferSize - 0) / 4))
{
    uint _28;
    // ... (omitted)
}
// ... (omitted)

Causing a undeclared identifier error on the variable named _28.
Here is a (mostly) simplified reproduction case in the form of SPIR-V and the resulting metal code:
shader.zip

Sure this is the correct one? There's lots of entry points in this SPIR-V:
               OpEntryPoint Vertex %2 "fullscreen_triangle" %vert_idx %view_index %out_pos %out_uv
               OpEntryPoint Vertex %7 "line::main_vs" %view_idx %in_pos %in_color %global_uniforms %diffuse_color %builtin_pos
               OpEntryPoint Fragment %14 "line::main_fs" %diffuse_color_0 %out_color
               OpEntryPoint Fragment %17 "spectate::main_fs" %uv %output %in_texture %sampler
               OpEntryPoint Fragment %22 "gaussian_blur::main_fs" %input %output_0 %direction %in_image %sampler_0
               OpEntryPoint Vertex %28 "canvas::main_vs" %in_pos_0 %in_uv %in_color_0 %push_constants %out_uv_0 %out_color_0 %builtin_pos_0
               OpEntryPoint Fragment %36 "canvas::main_fs" %font_tex %font_sampler %in_uv_0 %in_color_1 %out_color_1
               OpEntryPoint Fragment %42 "downsample::main_fs" %input_0 %output_1 %in_texture_0 %sampler_1
               OpEntryPoint Fragment %47 "downsample::main_fs_stereo" %input_1 %output_2 %in_texture_1 %sampler_2
               OpEntryPoint Fragment %52 "tonemap::main_fs" %in_frag_coord %uv_0 %output_3 %img %bloom %sampler_3 %push_constants_0
               OpEntryPoint Fragment %60 "tonemap::main_fs_stereo" %uv_1 %output_l %output_r %img_0 %bloom_0 %sampler_4 %push_constants_1
               OpEntryPoint Vertex %68 "sky::main_vs" %vertex_idx %view_idx_0 %out_world_pos %sky_uniforms %builtin_pos_1
               OpEntryPoint Fragment %74 "sky::main_fs" %output_4 %in_world_pos %sky_uniforms_0
               OpEntryPoint Vertex %78 "imgui::main_vs" %in_pos_1 %in_uv_1 %in_color_2 %out_uv_1 %out_color_2 %proj_matrix %builtin_pos_2
               OpEntryPoint Fragment %86 "imgui::main_fs" %output_5 %in_uv_2 %in_color_3 %in_texture_2 %sampler_5

Also, I did fix something similar not too long ago, so please try latest master and see if it reproduces.

Sure this is the correct one? There's lots of entry points in this SPIR-V:

Are you looking at the shaders I attached to https://github.com/KhronosGroup/SPIRV-Cross/issues/1580?
The shader attached to this issue only has 1 entry point. I called the zip file the same name so maybe it was still in your downloads folder?

Also, I did fix something similar not too long ago, so please try latest master and see if it reproduces.

This was tested on bab4e591 which was master at the time of opening.

Ah, right. Was shaders(1).zip, derp. Can reproduce on master.


Some geo-tools function does not return JTS geometry

shape_fromLatLon() / shape_fromLonLat() Returns JtsPoint which is not a JTS geometry, making class cast exception by following functions.

Fixed


Create document to gather information from Cohort 2 orgs

Goal is to create a document that can be shared with the Cohort 2 orgs to start gathering preliminary information to inform project planning.

Timelines
Staffing

Who is available?
Hiring considerations
Technical background (familiarity with git, SQL, python, R)

Data sources

Type
Approx size
Approx business
Data sensitivity?
Firewall considerations?

@ian-r-rose first draft of the document is available here. Please review when you have the chance. We can talk about it in 1:1 too.

Thanks!

Ian has reviewed and I have made changes based on his recommendations. Closing this issue, will open a new one if additional updates are needed.


Installed With UCS Traffic Monitor

Is it possible to install this with the UCS Traffic Monitor deployment?

Yes. The steps are the same. Some hints are in the readme. Let me know if you need help.

Thanks for the reply. Yes I understand that, but can I run both on the same host/Grafana instance?

Yes.

Excellent.... I shall give it a try...... I appreciate the quick response.

The local_sys.json do I merge that with the current one for UCS?

Don't merge. Just use one of them. Prefer from UTM.

I don't see the dashboards, I just copied them to /usr/local/UTM/grafana/dashboards (switches.json and switchports.json).

Import dashbboards from grafana GUI. See this: https://www.since2k7.com/blog/2020/02/29/cisco-ucs-monitoring-using-grafana-influxdb-telegraf-utm-installation/#Import_dashboards
The other error is because Python module is missing, which shouldn't be the case with UTM VM because it has it installed. Did you install all the packages by yourself? Try installing requests module using pip3 install requests. Web search for more detials on installing Python modules.

Installed the OVA and did a manual upgrade. The UCS part is working fine..

ok,  I missed. UTM doesn't need requests module, whereas MTM does it need it because of NX-API.
Install it via
pip3 install requests
Let me know how it goes. If you want, we can get on a webex to make it work.

I guess this could also be extended to NX-OS based Cisco switches.

Yes, it can be extended but need some development and testing effort.
BTW, did it work?

Yes, thank you for the helpful hints.

Glad to know.
Anything you can share for helping others who do the same in the future? Installing the requests module is one thing. What else?

I will upload a simple txt file with all the steps later today.... I am doing it again on a fresh install.. ;)


Lazy set operations

The standard library collections defines set operations in a lazy manner. Is it possible to define lazy iterators for interval and interval_set?
Also this library should be coherent with the decisions taken on std. The collections library is not mature yet, so we'll wait further developpement.

This issue has been transferred to https://github.com/ptal/gcollections/issues/2


argocd: 2.1.1 -> 2.1.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/argoproj/argo-cd/releases.
meta.description for argocd is: "Declarative continuous deployment for Kubernetes"
meta.homepage for argocd is: "https://argo-cd.readthedocs.io/en/stable/"
meta.changelog for argocd is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

/nix/store/3rav9xsc7awbbbgb7fdyvcy8rp8mwbdk-argocd-2.1.2/bin/argocd passed the binary check.

/nix/store/3rav9xsc7awbbbgb7fdyvcy8rp8mwbdk-argocd-2.1.2/bin/argocd-util passed the binary check.

/nix/store/3rav9xsc7awbbbgb7fdyvcy8rp8mwbdk-argocd-2.1.2/bin/argocd-server passed the binary check.

/nix/store/3rav9xsc7awbbbgb7fdyvcy8rp8mwbdk-argocd-2.1.2/bin/argocd-repo-server passed the binary check.

/nix/store/3rav9xsc7awbbbgb7fdyvcy8rp8mwbdk-argocd-2.1.2/bin/argocd-application-controller passed the binary check.

/nix/store/3rav9xsc7awbbbgb7fdyvcy8rp8mwbdk-argocd-2.1.2/bin/argocd-dex passed the binary check.

6 of 6 passed binary check by having a zero exit code.

0 of 6 passed binary check by having the new version present in output.

found 2.1.2 with grep in /nix/store/3rav9xsc7awbbbgb7fdyvcy8rp8mwbdk-argocd-2.1.2

found 2.1.2 in filename of file in /nix/store/3rav9xsc7awbbbgb7fdyvcy8rp8mwbdk-argocd-2.1.2

directory tree listing: https://gist.github.com/8129d61f05512395ef7734df9d4fdc5c

du listing: https://gist.github.com/df27d12790b076e3e07b3f88c86398ea

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

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
argocd

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/3rav9xsc7awbbbgb7fdyvcy8rp8mwbdk-argocd-2.1.2 \
  --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 argocd https://github.com/r-ryantm/nixpkgs/archive/5fc03c119c0bebcb1a9ae482f60ace04be05646c.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/3rav9xsc7awbbbgb7fdyvcy8rp8mwbdk-argocd-2.1.2
ls -la /nix/store/3rav9xsc7awbbbgb7fdyvcy8rp8mwbdk-argocd-2.1.2/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.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

argocd

Maintainer pings
cc @shahrukh330 @superherointj @kalbasit for testing.

Closes this w/ new PR #137769


Fix End-to-End Tests

Some E2E tests are broken due to changes in Selendroid or changes in the test app that haven't been accounted for in the test suite. Lets get the test suite all green so it's easier to keep it that way in future.
These tests were run under API19 (4.4.2)
Failed tests:

[ ]  NativeElementFindingTest.shouldNotFindElementByIdFromPreviousActivity:300 The element from previous screen should not be found.
[ ]  NativeElementInteractionTest.shouldScrollAndEnterText:208 expected: but was:

Tests in error:

[X]  AdbConnectionTest.shouldSendTextViaAdb:48 » StaleElementReference The element ...

[x]  AdbConnectionTest.shouldSendKeyEventViaAdb:60 » Runtime Condition timed out: u...

[ ]  ExecuteAsyncScriptTest.shouldBeAbleToReturnArraysOfWebElementsFromAsyncScripts:112 » StaleElementReference

[ ]  ExecuteAsyncScriptTest.shouldBeAbleToReturnWebElementsFromAsyncScripts:98 » StaleElementReference

[x]  SelendroidUnknownCommandHandlingTest.shouldNotRefresh »  Unexpected exception,...

[x]  SelendroidUnknownCommandHandlingTest.testShouldNotBeAbleToGoForward »  Unexpec...

[x]  ExtensionLoadTest.extensionCallShouldSucceed:12 » WebDriver Didn't find class ...

[ ]  NativeChildElementFindingTest.shouldFindChildButtonsByName:247 » StaleElementReference

[ ]  NativeChildElementFindingTest.shouldFindChildButtonByClass:161 » StaleElementReference

[ ] WaitForProgressBarGoneAwayTest.shouldPassWithRightTimeoutUsingLinkTextLocator:61->startTimeOutTest:80 » StaleElementReference

[ ] WaitForProgressBarGoneAwayTest.shouldPassWithRightTimeoutUsingNameLocator:54->startTimeOutTest:80 » StaleElementReference

[ ] WaitForProgressBarGoneAwayTest.shouldPassWithRightTimeoutUsingIdLocator:47->startTimeOutTest:80 » StaleElementReference
WebElementFindingTest.shouldGetBodyDOMElementViaJavascript:338 » StaleElementReference

Most tests are ok now. I have pull requests that either fix or remove the other broken ones. Closing this issue. If someone feels strongly about the disabled tests feel free to open new issues.


Add ivergara and nick-harmening as recipe maintainers

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

@conda-forge-admin, please rerender

Happy to be a maintainer.

Happy to be listed as a maintainer


The rest of the way to Weights V2 (Tracking Issue)

Here is a tracking issue for all the steps I can think of, before we need to start going through all the various runtime logic, and actually use the new multi-dimensional weights v2.

[x] deprecate RefTimeWeight https://github.com/paritytech/substrate/pull/12157
[x] Remove Ord from the one dimensional weight type #12183

[x]  implement any_gt any_lt all_gt all_lt (and the equal to variant)
[x] go through each comparison operator usage, and CAREFULLY make sure that it uses the correct version of any_* or all_*. This is super important, because it could lead to bugs if incorrectly implemented, and we have 2 dimensional weights.

[x] Move some basic type definitions to a new crate called sp-weights #12219
[x] Then, I think we can finally add the second field to Weight without any worry, and just some storage migrations #12277

[x] We should also make the fields of Weight #[compact], and include that in the migration: https://github.com/paritytech/substrate/issues/12149
[x] We will also need to make frame executive respect both weight fields, and behave correctly. #12383

[ ] A dynamic way of allowing chains to update their max proof size? https://github.com/paritytech/substrate/pull/12383#discussion_r983275063
[ ] Record PoV size in benchmark overhead https://github.com/paritytech/substrate/issues/12251

Once we get to that point, we will need to double check our logic around benchmarking and PoV, and we can open a new tracking issue for that.

This issue has been mentioned on Polkadot Forum. There might be relevant details there:
https://forum.polkadot.network/t/weight-v2-discussion-and-updates/227/4

This issue has been mentioned on Polkadot Forum. There might be relevant details there:
https://forum.polkadot.network/t/xcm-latest-updates/389/2

This issue has been mentioned on Polkadot Forum. There might be relevant details there:
https://forum.polkadot.network/t/polkadot-release-analysis/1026/2

I would also consider #13501 as critical part of considering this done.


Add guidance around generating change log for git repos

@wbreza - this issue has been stale for some time, is this issue still active or ok to close


Crashing when i enable GPU- worked for months without issue.

Please check if your issue is not a duplicate by searching existing issues
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):

OS: [e.g. Windows, Ubuntu, macOS]
RuneLite version: [e.g 1.4.6]
Launcher version: [e.g 1.5.2]

Additional context
Add any other context about the problem here, e.g. logs. Your client logs can usually be found in
C:\Users\<your_user_name>\.runelite\logs on Windows and ~/.runelite/logs on Linux and macOS.

We won't be able to help with no information added. Please add some more description and post your client logs (and crash logs if applicable) and we can start to investigate this.

This also started happening today too. I cant get through a single NMZ session but am unable to provide exact reproduction steps.
I also dont believe the logs have anything but I will include them anyways.
I am going to also include a screenshot windows pops up with once runelite crashes.
There is a crash dump for each time this happened in the runelite folder inside appdata. included.
client.log
launcher.log
hs_err_pid11396.log

I am running windows 10
Runelite version <IP_ADDRESS>
Launcher version 1.6.0
I have completely remove my nvidia graphics drivers while in safe mode, and reinstalled them to no avail.
Thanks guys!

We won't be able to help with no information added. Please add some more description and post your client logs (and crash logs if applicable) and we can start to investigate this.

since moving to a launcher given from someone on discord (admin) it produces no logs.
upon putting old GPU drivers (rolled back 2 drivers) it seems mostly fixed

Its not GPU Drivers for me, as mine dont auto update. It started happening randomly, and seems to only happen when runelite is being game captured by OBS

Bumping this as I'm experiencing the same issue. Enabling the GPU plugin instantly causes the client to crash. Seemingly appeared out of nowhere.

Join us at https://runelite.net/discord in the #support channel so we can fix this issue for you.

Join us at https://runelite.net/discord in the #support channel so we can fix this issue for you.


#117 - add description for HTL-12

** HTL-12 **
Added table will help developers adjust markup context for HTL expressions.

Coverage remained the same at 95.348% when pulling 2364a89b159e6c5d793abdda773f8bfb7ed8fc1d on issue-117-docs into 1910b9e89d1abd853f578d653f583ef275444486 on master.


Add support for setting action timeouts

Now that action timeouts are launched, we should update pipelines run to accept timeout= as an option, for example:
md5sum $INPUT0 # timeout=5s

Fixed by #68


bump(*)

align docker/moby version w/ origin.

@adambkaplan ptal

(you don't need to review all the vendor changes, just the glide.yaml)

oh right this is our one repo that's still on rosie. sigh.
[merge]


[feature-suggestion] [kubectl] Regex based filtering instead of requiring exact name of resource

Example:
One of the pods running on my cluster is elasticsearch-logging-v1-n0hpm.
Let's say i want to get information about this pod, then I have to type:
kubectl describe pods elasticsearch-logging-v1-n0hpm

If the following command also did the job, then that would be a great feature:
kubectl describe pods elasticsearch

That would save a lot of time.  Like vagrant uses regular expressions in its CLI. vagrant ssh master is enough to ssh into a server that may be called master-helloworld. If there are multiple outputs then an  error can be shown, listing all the resources that match, or simply all resources can be described.

This is what labels are for!
kubectl get pods -l app=elasticsearch
Unfortunately describe does not do labels because it expects a single
response.  This might be a reasonable extension to make - more than 1
object in describe or taking the first of a selector or something.
On Thu, Jun 4, 2015 at 12:29 AM, Pranjal Mittal<EMAIL_ADDRESS>wrote:

Example:
One of the pods running on my cluster is elasticsearch-logging-v1-n0hpm.
Let's say i want to get information about this pod, then I have to type:
kubectl describe pods elasticsearch-logging-v1-n0hpm
If the following command also did the job, then that would be a great
feature:
kubectl describe pods elasticsearch
That would save a lot of time. Like vagrant uses regular expressions in
its CLI. vagrant ssh master is enough to ssh into a server that may be
called master-helloworld. If there are multiple outputs and error can
be shown, listing all the resources that match, or simply all resources can
be described.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/9248.

+1. Use labels. I think describe does take labels now.

kubectl describe does not support -l.
I just ran kubectl describe pods frontend and it gave me the description of all pods with name frontend* in my cluster.
@pramttl Is that not the case for you?

https://github.com/GoogleCloudPlatform/kubernetes/pull/9705 is adding support for -l in kubectl describe

Closing since label selection is the preferred approach.

It would be nice to prefix-match like docker does with IDs.
On Fri, Jun 19, 2015 at 9:18 PM, Brian Grant<EMAIL_ADDRESS>wrote:

Closed #9248
https://github.com/GoogleCloudPlatform/kubernetes/issues/9248.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/9248#event-335789610
.


feat: redirect authorize to download if on mobile

redirects users to the World App download page (with a subsequent redirect to the correct app store) if they visit id.worldcoin.org/authorize from a mobile device
opening id.worldcoin.org/authorize on mobile should ALWAYS open the app directly and completely avoid the flow using the bridge, so if the app is not installed it is safe to direct to the download page
caveat: some android tablets may be detected as mobile devices by the user-agent header. this can be bypassed with the "Request Desktop Site" feature of any mobile web browser.

Clarification: How does the payload get passed to the app then? To recognize that it needs to open a modal?

if the app is installed, id.worldcoin.org/authorize will open the app as a deeplink with all query parameters included
Ian Dilick
Developer Relations
Product
@.***
Sent via Superhuman iOS ( @.*** )
On Wed, Apr 3 2024 at 1:00 PM, Andy Wang < @.*** > wrote:

Clarification: How does the payload get passed to the app then? To
recognize that it needs to open a modal?
—
Reply to this email directly, view it on GitHub (
https://github.com/worldcoin/world-id-sign-in/pull/64#issuecomment-2035122154
) , or unsubscribe (
https://github.com/notifications/unsubscribe-auth/AHCXSXCLFJ6GGDJ5Q6E23BDY3QYTNAVCNFSM6AAAAABFSEQIYKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZVGEZDEMJVGQ
).
You are receiving this because you authored the thread. Message ID: <worldcoin/world-id-sign-in/pull/64/c2035122154
@ github. com>

ah i see this is just if they don't have the app downloaded


Protocol Violation SUBSCRIBE QoS=0 / PUBLISH retained with QoS=2

Expected behavior
PUBLISH of retained messages with QOS=0
Actual behavior
PUBLISH of retained messages with original QoS
Steps to reproduce
$ mosquitto_pub -d -t 'abc' -m '123' -r  -h 'localhost' -p 29883 -q 2
Client mosqpub|47541-mbp-2.loc sending CONNECT
Client mosqpub|47541-mbp-2.loc received CONNACK
Client mosqpub|47541-mbp-2.loc sending PUBLISH (d0, q2, r1, m1, 'abc', ... (3 bytes))
Client mosqpub|47541-mbp-2.loc received PUBREC (Mid: 1)
Client mosqpub|47541-mbp-2.loc sending PUBREL (Mid: 1)
Client mosqpub|47541-mbp-2.loc received PUBCOMP (Mid: 1)
Client mosqpub|47541-mbp-2.loc sending DISCONNECT

$ mosquitto_sub -d -v -t '#' -h 'localhost' -p 29883
#Client mosqsub|47542-mbp-2.loc sending CONNECT
Client mosqsub|47542-mbp-2.loc received CONNACK
Client mosqsub|47542-mbp-2.loc sending SUBSCRIBE (Mid: 1, Topic: #, QoS: 0)
Client mosqsub|47542-mbp-2.loc received SUBACK
Subscribed (mid: 1): 0
Client mosqsub|47542-mbp-2.loc received PUBLISH (d0, q2, r1, m1, 'abc', ... (3 bytes))
Client mosqsub|47542-mbp-2.loc sending PUBREC (Mid: 1)
Client mosqsub|47542-mbp-2.loc received PUBREL (Mid: 1)
abc 123
Client mosqsub|47542-mbp-2.loc sending PUBCOMP (Mid: 1)

Minimal yet complete reproducer code (or URL to code) or complete log file
Moquette MQTT version
0.11
JVM version (e.g. java -version)
OS version (e.g. uname -a)
see http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/os/mqtt-v3.1.1-os.pdf p 43

This issue meand:the QoS specified on subscribe is not respected by the republish of retained messages.
Fixed setting the min QoS between the one of retained message and the one specified on subscription.
https://github.com/andsel/moquette/blob/88e0ccf20e48dacc7528b7e684a255483f55d8ed/broker/src/main/java/io/moquette/spi/impl/ProtocolProcessor.java#L862-L867
Commit: 88e0ccf20e48dacc7528b7e684a255483f55d8ed


Adding support to oauth-basic

More info: https://developer.github.com/v3/auth/#via-oauth-tokens

LGTM.
Have you tested it? It would be best if you created a unit test.


Adding background for the bio

What problem does this PR solve?
It adds the functionality of adding a custom background image to the bio
Is this PR adding a new feature?
yes
Is this PR related to any issue or discussion?
not that I'm aware of
PR Checklist

[ x] I have verified that the code works as described/as intended.
[ x] This change adds a social icon which has a permissive license to use it.
[ x] This change does not include any external library/resources.
[x ] This change does not include any unrelated scripts (e.g. bash and python scripts).
[ x] I have enabled [maintainer edits for this PR](https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/allowing-changes-to-a-pull-request-branch-created-from-a-fork

There are several modifications here, maybe we should discuss about them because I made the change to a lot of stuff.
Maybe a "switch" is needed that updates the sccs file conditionally about having or not having the background image.
For example with the background image I tough that it is better to have the animation go to 100% opacity instead of 80%, this is not needed when there is no background image.
Let me know!

Hi @bskdany. Thanks for this new feature.


feat: Enable HBase to Cloud Bigtable replication

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

[ ] Make sure to open an issue as a bug/issue before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
[ ] Ensure the tests and linter pass
[ ] Code coverage does not decrease (if any source code was changed)
[ ] Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> ☕

Thanks for the thorough review :), I was trying to unblock the customer, but I guess we did the final review.
PTAL.

for some reason I can't leave a comment on the file itself - but it looks like this was accidental? Added: bigtable-client-core-parent/bigtable-client-core/src/main/java/com/google/cloud/bigtable/grpc/io/ChannelPool.java

I don't know how it got committed. Removed.

@igorbernstein2 whenever you are ready.


SLING-9364: Implement lazy response writer

@raducotescu, yes, ofcourse - PTAL (forgot to add the change to use it in the bindings).


🛠 [TASK] : User Input Component - Checkbox

Summary
As a proposer, I need to be able to acknowledge my acceptance of fund rules and other mandatory agreements, so that I can proceed to proposal submission.
Use Cases:

Mandatory Acknowledgements / Fund Rules

Acceptance Criteria

[ ] Default view shows unchecked
[ ] User must put component into edit mode in order to update / save the acknowledgement

Designs
https://www.figma.com/design/1e1MMDXyi0oL9sG9IunWL7/UI-Kit-Figma-for-catalyst?node-id=5271-49626&t=gTh3B1j2eYONQrjf-0
Default

Selected

Editing

Filled

@mike-mcnulty Designs added to Figma & ticket.


Fix issue #592 - Subscribe section in small mobile view (320px) fixed

Pull Request Template

Please provide all of the details below. Pull requests missing any of the information below will be closed!
Providing the issue number/url helps us identify the problem being solved and keep the issues tab clean and tidy

This is not a fix. This is a request to add login and signup pages to the site.
Summarize what this PR fixes:-
Fix #592 - Subscribe section in small mobile view (320px) fixed.
Checklist
(Add an x between the brackets to check the items)

[x] I have summarize what this PR fixes above
[x] I have provided the issue ID/URL above
[x] I have not added Bootstrap or jQuery and used correct styling guide.
[x] This PR fixes only the issue mentioned above (create separate PRs for separate issues)
[x] I was the first one to claim the issue or I created the issue - I created the issue

At 320px it seems fine, but then go up to 340px and it looks like this:

Writing more media queries is not the answer. It needs to be redone from the ground up and the icon on top should be the red brand color.

Gonna take a look at it again in all the sizes.


Couple Issues

I installed this and configured it the best I could but I have no ability to slaughter an animal. I am not prompted with any key or anything when I approach an animal

I am completely clueless on how the /qb-shops/server/main.lua. I have it set up to the best I could with the little knowledge/setup provided.

I also was wondering if there is any way to get rid of these stupid-looking green circles... but keep the markers/radius on the map

Hi,

to disable green circles just simply change Config.DEBUG = true  to false.
your QB-shops/serve/main.lua has duplicate code remove this first

make sure your QB-target is updated to the latest version
after all of this If the problem still exists, dm me on Discord.
I probably need your script logs.


Getting random rows

What would be an efficient way to get random rows from a table? I saw rand() function being mentioned but don't know how to call it or use it. Thank you!

rand() can be used as a selected column, for example Employees.select(rand()). It can also be used in expressions, eg. Employees.select(Employees.name).where { rand() greater 0 }

Thanks! So is there a way to fetch random rows without having to falling back to Kotlin shuffle/random functions?

Try this:
Employees.select().orderBy(rand()).limit(0, 1)

Generated SQL:
select * from employee order by rand() limit 0, 1

According to this, that is not very efficient: https://jan.kneschke.de/projects/mysql/order-by-rand/

I finally tried the above solution that you proposed but I get this error:

Required OrderByExpression found FunctionExpression<Double>

It works by converting rand() to an OrderByExpression first though:
val randExpression = OrderByExpression(rand().asExpression(), OrderType.ASCENDING)
Employees.select().orderBy(randExpression).limit(0, 1)

Oh, sorry. I forgot asc()/desc():
Employees.select().orderBy(rand().asc()).limit(0, 1)


Rename "ssram" -> "smem"

There were too many changes to smem.h for git to recognize the sram.h -> smem.h file rename. I promise all changes to the contents of that file were just renames.

Of course I trust you on what you are announcing.


ValueError on litv.tv

youtube-dl.exe --no-playlist -v -J -i  https://www.litv.tv/vod/movie/content.do?id=VOD00039305
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--no-playlist', '-v', '-J', '-i', 'https://www.litv.tv/vod/movie/content.do?id=VOD00039305']
[debug] Encodings: locale cp950, fs mbcs, out cp950, pref cp950
[debug] youtube-dl version 2<IP_ADDRESS>
[debug] Python version 3.4.4 - Windows-10-10.0.14393
[debug] exe versions: ffmpeg N-70348-g9564375, ffprobe N-70348-g9564375
[debug] Proxy map: {}
ERROR: VOD00039305: Failed to parse JSON  (caused by ValueError('Expecting value: line 1 column 1 (char 0)',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmphn9u2rzv\build\youtube_dl\extractor\common.py", line 558, in parse_json
File "C:\Python\Python34\lib\json_init.py", line 318, in loads
File "C:\Python\Python34\lib\json\decoder.py", line 343, in decode
File "C:\Python\Python34\lib\json\decoder.py", line 361, in raw_decode
ValueError: Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmphn9u2rzv\build\youtube_dl\extractor\common.py", line 558, in parse_json
File "C:\Python\Python34\lib\json_init.py", line 318, in loads
File "C:\Python\Python34\lib\json\decoder.py", line 343, in decode
File "C:\Python\Python34\lib\json\decoder.py", line 361, in raw_decode
ValueError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
null
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmphn9u2rzv\build\youtube_dl\YoutubeDL.py", line 694, in extract_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmphn9u2rzv\build\youtube_dl\extractor\common.py", line 356, in extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmphn9u2rzv\build\youtube_dl\extractor\litv.py", line 89, in _real_extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmphn9u2rzv\build\youtube_dl\extractor\common.py", line 562, in _parse_json
youtube_dl.utils.ExtractorError: VOD00039305: Failed to parse JSON  (caused by ValueError('Expecting value: line 1 column 1 (char 0)',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

I guess this video requires payment?

Sorry, I didn't realize that.
I'll close this issue.

Well, it's possible to support non-free videos, usually with --cookies or --username and --password. I'm just asking for confirmation.


perf(justfile): optimize submodule cloining with shallow fetch

fix #6291, where just submodules takes around 8 minutes to clone repositories.
This change reduces the clone time from around 8 minutes to 42 seconds in reported scenario.

Command log: time just submodules

❯ time just submodules
just clone-submodule tasks/coverage/test262 git@github.com:tc39/test262.git d62fa93c8f9ce5e687c0bbaa5d2b59670ab2ff60
cd tasks/coverage/test262 || git init tasks/coverage/test262
bash: 1 行: cd: tasks/coverage/test262: No such file or directory
Initialized empty Git repository in /Users/noyan/ghq/github.com/oxc-project/oxc/tasks/coverage/test262/.git/
cd tasks/coverage/test262 && git remote add origin git@github.com:tc39/test262.git || true
cd tasks/coverage/test262 && git fetch --depth=1 origin d62fa93c8f9ce5e687c0bbaa5d2b59670ab2ff60 && git reset --hard d62fa93c8f9ce5e687c0bbaa5d2b59670ab2ff60
remote: Enumerating objects: 53504, done.
remote: Counting objects: 100% (53504/53504), done.
remote: Compressing objects: 100% (19436/19436), done.
remote: Total 53504 (delta 39436), reused 39428 (delta 33947), pack-reused 0 (from 0)
Receiving objects: 100% (53504/53504), 12.32 MiB | 9.06 MiB/s, done.
Resolving deltas: 100% (39436/39436), done.
From github.com:tc39/test262
 * branch              d62fa93c8f9ce5e687c0bbaa5d2b59670ab2ff60 -> FETCH_HEAD
Updating files: 100% (51664/51664), done.
HEAD is now at d62fa93c [explicit-resource-management] Complete exception handling
just clone-submodule tasks/coverage/babel git@github.com:babel/babel.git 3bcfee232506a4cebe410f02042fb0f0adeeb0b1
cd tasks/coverage/babel || git init tasks/coverage/babel
bash: 1 行: cd: tasks/coverage/babel: No such file or directory
Initialized empty Git repository in /Users/noyan/ghq/github.com/oxc-project/oxc/tasks/coverage/babel/.git/
cd tasks/coverage/babel && git remote add origin git@github.com:babel/babel.git || true
cd tasks/coverage/babel && git fetch --depth=1 origin 3bcfee232506a4cebe410f02042fb0f0adeeb0b1 && git reset --hard 3bcfee232506a4cebe410f02042fb0f0adeeb0b1
remote: Enumerating objects: 36357, done.
remote: Counting objects: 100% (36357/36357), done.
remote: Compressing objects: 100% (21830/21830), done.
remote: Total 36357 (delta 8527), reused 30780 (delta 7455), pack-reused 0 (from 0)
Receiving objects: 100% (36357/36357), 9.34 MiB | 9.24 MiB/s, done.
Resolving deltas: 100% (8527/8527), done.
From github.com:babel/babel
 * branch              3bcfee232506a4cebe410f02042fb0f0adeeb0b1 -> FETCH_HEAD
Updating files: 100% (31735/31735), done.
HEAD is now at 3bcfee23 Fix printing of TS `infer` in compact mode (#16788)
just clone-submodule tasks/coverage/typescript git@github.com:microsoft/TypeScript.git a709f9899c2a544b6de65a0f2623ecbbe1394eab
cd tasks/coverage/typescript || git init tasks/coverage/typescript
bash: 1 行: cd: tasks/coverage/typescript: No such file or directory
Initialized empty Git repository in /Users/noyan/ghq/github.com/oxc-project/oxc/tasks/coverage/typescript/.git/
cd tasks/coverage/typescript && git remote add origin git@github.com:microsoft/TypeScript.git || true
cd tasks/coverage/typescript && git fetch --depth=1 origin a709f9899c2a544b6de65a0f2623ecbbe1394eab && git reset --hard a709f9899c2a544b6de65a0f2623ecbbe1394eab
remote: Enumerating objects: 69880, done.
remote: Counting objects: 100% (69880/69880), done.
remote: Compressing objects: 100% (52067/52067), done.
remote: Total 69880 (delta 17267), reused 39053 (delta 16227), pack-reused 0 (from 0)
Receiving objects: 100% (69880/69880), 32.80 MiB | 8.54 MiB/s, done.
Resolving deltas: 100% (17267/17267), done.
From github.com:microsoft/TypeScript
 * branch                a709f9899c2a544b6de65a0f2623ecbbe1394eab -> FETCH_HEAD
Updating files: 100% (72575/72575), done.
HEAD is now at a709f9899 Update deps, dprint plugins (#59810)
just clone-submodule tasks/prettier_conformance/prettier git@github.com:prettier/prettier.git 52829385bcc4d785e58ae2602c0b098a643523c9
cd tasks/prettier_conformance/prettier || git init tasks/prettier_conformance/prettier
bash: 1 行: cd: tasks/prettier_conformance/prettier: No such file or directory
Initialized empty Git repository in /Users/noyan/ghq/github.com/oxc-project/oxc/tasks/prettier_conformance/prettier/.git/
cd tasks/prettier_conformance/prettier && git remote add origin git@github.com:prettier/prettier.git || true
cd tasks/prettier_conformance/prettier && git fetch --depth=1 origin 52829385bcc4d785e58ae2602c0b098a643523c9 && git reset --hard 52829385bcc4d785e58ae2602c0b098a643523c9
remote: Enumerating objects: 10259, done.
remote: Counting objects: 100% (10259/10259), done.
remote: Compressing objects: 100% (6662/6662), done.
remote: Total 10259 (delta 970), reused 8226 (delta 696), pack-reused 0 (from 0)
Receiving objects: 100% (10259/10259), 12.85 MiB | 10.34 MiB/s, done.
Resolving deltas: 100% (970/970), done.
From github.com:prettier/prettier
 * branch            52829385bcc4d785e58ae2602c0b098a643523c9 -> FETCH_HEAD
HEAD is now at 5282938 Release 3.3.3
just submodules  1.56s user 12.29s system 32% cpu 42.408 total

Solution
To optimize the cloning process:

Fetch only the specified commit, eliminating the need for a git clone (which fetches HEAD and subsequently updates with differences).
Initialize it with git init when the repository doesn't exist locally.
Use git fetch --depth=1 to prevent fetching previous commits.

See: https://stackoverflow.com/a/3489576
I initially suggested using git fetch --depth=1, but after testing, I found that removing clone could speed up the process by about 20 seconds. Therefore, I've changed the approach.

Thank you!


Allow customization of the ThreadPoolExecutor

The code here: https://github.com/confluentinc/parallel-consumer/blob/411c925633cda63abb69e17b54ddb90a2c37afd2/parallel-consumer-core/src/main/java/io/confluent/parallelconsumer/ParallelEoSStreamProcessor.java#L206 creates a factory with some defaults, specially the default thread factory.
The problem is that on Clojure, libraries are not precompiled as .class files, so some Java classes and interfaces that are emitter from Clojure (for example, protocols and records) will be generated while the program is running - but, starting from Java 9, some thread factories will not share the classloader and so these classes will not be visible on the workers threads of the consumer. This makes this library hard, or even impossible, to use with Clojure.
I'll try to make an example code of this issue and link on this issue, so maybe it'll become easier to debug and even see if the problem is corrected. In the meantime, these are related problems that I found while debugging my code:
Exactly the same problem I'm having: https://stackoverflow.com/questions/55452778/parallelstream-causing-classnotfoundexception-with-jaxb-api
Work around that I'm trying to apply here: https://stackoverflow.com/questions/49113207/completablefuture-forkjoinpool-set-class-loader/57551188#57551188

Hello again @mauricioszabo ! I saw this comment: https://github.com/technomancy/leiningen/issues/2729#issuecomment-784392623 - so is this actually not an issue?

Him @astubbs. Maybe for my project, indeed it is not :sweat_smile:. I did try to check if by not using AOT (Ahead of Time compiling in Clojure) I was able to reproduce the error, but no luck.
I don't know if this could be an issue for other people, considering what I saw on StackOverflow that people do customize ThreadPoolExecutor to make their code work with libraries that use reflection. For Clojure, it seems that it's not - I'm not quite sure but as I'm being unable to reproduce the error, maybe it's really not an issue.... :thinking:

Ah ok, I see. Well, how does something like this look? https://github.com/confluentinc/parallel-consumer/compare/master...astubbs:custom-thread-pool


Allow partial redefinition of the ouputs config

Fixes #4487

Thank you for being open to my suggestion and implementing this. I am away from my computer for the weekend. So will try this out on Monday and get back to you.


feat: add warning for 'quit' input to use '/quit' instead

This also introduces new hidden command aliases /q, /exit, /bye, /goodbye for /quit. These aliases/hidden commands will not show up in autocomplete.
Typing these commands without / and pressing enter will now produce a warning.

The reason to not instantly quit is to not accidentally lose the context/chat.
fix #1441

This seems like a slippery slope where we keep adding special cases. And then it gets confusing when someone doesn't expect the special case behavior.
Also, /q already works because /quit is a command.

Okay, I wasn't really happy with that code anyway :)


Updating all pages

I've made more than 100 edits, some of them are:

Grammatical issues.
Typos.
Extra/missed commas/dots.

I've spent a lot of time on this and updated all pages, so please let me know if there are any edits required.

cc @schmidsi

Hey Adam, thank you! @azf20

Oh sorry, didn't notice the comment.
Conflicts are resolved. @azf20

Thanks @ahmadmardeni1! I still see two conflicts? Sorry if they were more recently introduced

Yes, they were recently introduced. No problem, just resolved them! @azf20


Feature request: process mixin without inlining import

Thanks for this awesome project!
I'm wondering if you'd be open to accepting contributions, and would be available to provide guidance, for the following new feature.
I'd like to be able to @import 'some-identifier', which contains syntax that is never emitted (specifically a @mixin declaration), and still choose not to have the target file inlined. I can currently use the disable option (or the importFilter option) to turn off inlining, but when I do, the @include cannot resolve references to mixins in the @imported files. I get an error like this:
CssSyntaxError: postcss-advanced-variables: /path/test.css:4:12: Could not resolve the mixin for "my-mixin"

Why? I'd like to centralize the definition of mixins and other declarations that have a particular concern. I also am choosing not to inline @imports because my deliverable is a library, where I feel consumers of the library should choose if and how they want the individual files bundled. My goal is to emit standard CSS that is reusable across many projects, so the @mixin/@include should be processed out of the output.
Example
Input:
/* spacing.css */
@mixin no-spacing {
  margin: 0;
  padding: 0;
}

:root {
 --other-spacing-related-var: 30px;
}

/* typography.css */
@import './spacing.css';

.my-header {
  @include no-spacing
  font-size: 20px;
  line-height: 1.6;
  font-weight: 700;
}

Output (desired) when processing typography.css:
@import './spacing.css';

.my-header {
  margin: 0;
  padding: 0;
  font-size: 20px;
  line-height: 1.6;
  font-weight: 700;
}

Here is a whole other postcss plugin with a related motivation: https://github.com/dehuszar/postcss-reference. I think if we added this feature to this plugin, we'd be able to solve for many of those use cases without introducing new/unfamiliar syntax.

this issue seem to be fixed and tested in https://github.com/csstools/postcss-advanced-variables/blob/main/test/import-mixins.css

Thank you @armano2.

You can also use the generic plugin : https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-global-data#readme

Ugh, yeah, @csstools/postcss-global-data doesn't work.
That plugin is intended for "global" CSS and it injects CSS after everything else.
This plugin (postcss-advanced-variables) however seems to read and resolve in source order. So it interleaves finding variables and replacing them.
I don't want to change how @csstools/postcss-global-data works because no one reported an issue with how that plugin works. I also do not want to extend it with more plugin options because it is supposed to be a simple and straightforward way to get around tools like Webpack being unfriendly towards CSS.
Honestly if you are using Webpack to process CSS then you are already opting in to all the problems that come with that and it isn't our scope to fix those 😛
I don't mind owning and maintaining a simpel tool to help users of Webpack but I don't want to do the same with a complex tool with multiple options.
I also do not want to change how postcss-advanced-variables works because people will depend on the current behavior, however weird it might be.
end rant about Webpack...

However, why don't you use @import?
/* input.css */
@import "./mixin.css";

$context: bar;

.test {
	color: green;
}

/* This should not output anything. */
@include context(foo) {
	.foo {
		color: red;
	}
}

/* This should output the contained CSS. */
@include context(bar) {
	.bar {
		color: blue;
	}
}

						options: {
							postcssOptions: {
								"plugins": {
									"postcss-advanced-variables": {},
									"postcss-preset-env":{
										"stage":0,"features":{"custom-properties":false}
									},
								},
							},

@cr0ybot thank you for taking the time to provide a reproduction 🙇
Always super valuable to see the constellations of plugins and their configs.


file input for blind audio source separation

Thanks for the amazing implementation and pre-trained models.
I want to use this for blind audio source separation for audio files only. but it gives me the following error.
ffmpeg -loglevel error -ss 0.0 -i "../../pyAudioAnalysis/90131M02_.wav" -safe 0  -t 8.338 -r 29.97 -vf scale=256:256 "/var/folders/kh/2zcggyvx7gs6l10p8pq7jkgw_0bxjx/T/tmpKTCMbU/small_%04d.png"
Output file #0 does not contain any stream
Traceback (most recent call last):
File "sep_video.py", line 398, in
ret = run(arg.vid_file, t, arg.clip_dur, pr, gpus[0], mask = arg.mask, arg = arg, net = net)
File "sep_video.py", line 254, in run
'ffmpeg -loglevel error -ss %(start_time)s -i "%(vid_file)s" -safe 0  '
File "/Volumes/workspace/multisensory/src/aolib/util.py", line 915, in sys_check
fail('Command failed! %s' % cmd)
File "/Volumes/workspace/multisensory/src/aolib/util.py", line 12, in fail
def fail(s = ''): raise RuntimeError(s)
RuntimeError: Command failed! ffmpeg -loglevel error -ss 0.0 -i "../../pyAudioAnalysis/90131M02_.wav" -safe 0  -t 8.338 -r 29.97 -vf scale=256:256 "/var/folders/kh/2zcggyvx7gs6l10p8pq7jkgw_0bxjx/T/tmpKTCMbU/small_%04d.png"
What is the correct format to run it for audio files?
Cheers!

Thanks for the amazing implementation and pre-trained models.
I want to use this for blind audio source separation for audio files only. but it gives me the following error.
ffmpeg -loglevel error -ss 0.0 -i "../../pyAudioAnalysis/90131M02_.wav" -safe 0 -t 8.338 -r 29.97 -vf scale=256:256 "/var/folders/kh/2zcggyvx7gs6l10p8pq7jkgw_0bxjx/T/tmpKTCMbU/small_%04d.png"
Output file #0 does not contain any stream
Traceback (most recent call last):
File "sep_video.py", line 398, in
ret = run(arg.vid_file, t, arg.clip_dur, pr, gpus[0], mask = arg.mask, arg = arg, net = net)
File "sep_video.py", line 254, in run
'ffmpeg -loglevel error -ss %(start_time)s -i "%(vid_file)s" -safe 0 '
File "/Volumes/workspace/multisensory/src/aolib/util.py", line 915, in sys_check
fail('Command failed! %s' % cmd)
File "/Volumes/workspace/multisensory/src/aolib/util.py", line 12, in fail
def fail(s = ''): raise RuntimeError(s)
RuntimeError: Command failed! ffmpeg -loglevel error -ss 0.0 -i "../../pyAudioAnalysis/90131M02_.wav" -safe 0 -t 8.338 -r 29.97 -vf scale=256:256 "/var/folders/kh/2zcggyvx7gs6l10p8pq7jkgw_0bxjx/T/tmpKTCMbU/small_%04d.png"
What is the correct format to run it for audio files?
Cheers!

I met the same error "RuntimeError: Command failed! ffmpeg -loglevel error -ss 0.0 -i ".Did u solved? Thanks~


Correct Java signature for value classes appearing in type arguments

As suggested in #10846 the fix to this issue should be to port https://github.com/scala/scala/pull/8127 to scala3
I started by adding the same tests as in the scala2 PR and then tried to find the place where to do the fix by adding some log traces. Unfortunately I am still pretty lost because this is my first time looking at the compiler code.
Any tips where this needs to be fixed are very welcome. Meanwhile a few questions:

The scala2 fix was done in src/compiler/scala/tools/nsc/transform/Erasure.scala, should I do the fix for scala3 in compiler/src/dotty/tools/dotc/transform/Erasure.scala as well?
I think I need to do the fix around ErasedValueType, either when it is created (in TypeErasure#eraseDerivedValueClass) or when it is used (in Erasure#unbox).

Please also send me any pointers besides https://dotty.epfl.ch/docs/contributing/index.html regarding compiler contributions

@jtjeferreira It seems the corresponding code in scala3 is GenericSignatures.scala
https://github.com/scala/scala3/blob/3.4.1/compiler/src/dotty/tools/dotc/transform/GenericSignatures.scala#L275
corresponds to
https://github.com/scala/scala/pull/8127/files#diff-271d576b3a80359cbc5db9e1a8dd2629c2cb1d99bf8a30854c64742f98c7a6b0R354

@lrytz I think I got the port applied correctly, but scalajs tests are failing with :
Test 'tests/run/i10846' failed with output:
org.scalajs.linker.interface.LinkingException: There were linking errors

any hints?

any hints?

after reading https://www.scala-js.org/doc/project/linking-errors.html#using-unsupported-jdk-libraries-possibly-transitively and earlier output of the tests I think the problem is due to the usage of java.lang.Class related method.
I think we need to disable this test for scalajs. Should I move it to a different folder?

You should keep it there. You can ignore a test on Scala.js like this:
https://github.com/scala/scala3/blob/c6fbe6fe0f84f828785c77f7b195d4e61b89da13/tests/run/t8905/Test.java#L1

@lrytz @SethTisue this is ready for review

This will be available in which release? Shall I try to back port it to older releases?

It will go in 3.6 and likely in some 3.3.x release unless the backport proves problematic. Backports are done in batches and in order of original merge, so it wouldn't actually be helpful to submit an explicit backport PR.


TS-4625 epic: Adds a mutex to the continutation

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/395/ for details.

Linux build successful! See https://ci.trafficserver.apache.org/job/Github-Linux/291/ for details.


how to generate 30000x30000 texture on 16Gb RAM machine

It just terminates when the memory comsumption goes to 100%

Is there any virtual or streaming optimization? Just parts save to disk while other part continues to calculate.


Return raw image bytes for non-windows platforms in the ImageHandler

Unfortunately, in the latest versions of .NET, the System.Drawing namespace (therefore, Bitmap class) has become non-usable on linux.
In this MR, I add raw image bytes to the ImageInfo class that is provided as an argument to ImageHandler. For those needing Bitmap and for backwards compatibility, I left the previous behavior that exposed Bitmap object, but it is evaluated lazily on demand

@EricWhiteDev are you considering merging this?

Now I can use it on Blazor Webassembly thanks to your code, in this way:

Thank you for the code :)
Helps ma also with a net6+ app :)

@EricWhiteDev  This would be a major improvement, these tools are SO close to being cross-platform.  Any chance of a merge?


Only show Python upgrade prompt once when Jupyter server is started

This PR fixes #16079
PR in main: https://github.com/microsoft/azuredatastudio/pull/16080

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 3 (33.33%)  changed or added relevant lines in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.002%) to 42.767%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

extensions/notebook/src/jupyter/jupyterServerInstallation.ts
1
3
33.33%

Files with Coverage Reduction
New Missed Lines
%

extensions/notebook/src/jupyter/jupyterServerInstallation.ts
1
49.45%

Totals

Change from base Build<PHONE_NUMBER>:
0.002%

Covered Lines:
26235

Relevant Lines:
55682

💛  - Coveralls


" undefined method `date_add_sql_append'" when in multithreaded mode

I've been revamping the rodauth-oauth  test suite in order to exercise the test suite under different ruby/rails combos. Before that, all tests ran in multiple threads (the minitest parallel mode), except for tests using sqlite memory store. However, since enabling the tests for rails mode, I started seeing the error message mentioned in the title in the test suite.
Here's an example of a CI run with the issue. Feel free to inspect the whole pipeline.
This error seems to happen often (specially in older ruby/rails combos). I've disabled multi-threading in order to move ahead.
The error has to do with the :date_arithmetic sequel plugin, which is loaded in the rodauth context. I'm guessing this issue never surfaced because the test suite isn't run concurrently?

I don't know what is causing these issues in multithreaded tests, but I don't think this is an issue with sequel-activerecord_connection.
Did you try loading the extension upfront, right after creating the Sequel database object?

I've narrowed it down to a potential issue in this gem, because I don't have any issue when running tests with plain rodauth and sequel, and this is a sequel dataset-specific issue, so no rails.
I've noticed that I'm not using the latest version (0.4.2 instead of 1.1.0), but inspecting rubygems I don't find the more recent. Have they been published to rubygems already?

0.4.2 is the latest rodauth-rails version, 1.1.0 is the latest sequel-activerecord_connection version.
What could also be problematic is that you're changing the Rodauth::Rails.app global, which might not be thread-safe.
If you want to pinpoint whether the issue is in rodauth-rails or here, I suggest modifying you Roda & Sequel tests to source the Sequel connection from Active Record, and see if the tests pass.

0.4.2 is the latest rodauth-rails version, 1.1.0 is the latest...

Yes, I think I was  already in "sleep mode" when I wrote that, sorry about the confusion.

What could also be problematic is that you're changing the Rodauth::Rails.app global, which might not be thread-safe.

Indeed, that might explain the issues I had with runnning it with sqlite. And come to think of it, that means I can't test concurrently with rails at all, as rails applications are singletons, and either I treat it as an immutable application and enable multithread mode, or I don't. Changing the rodauth app in the setup process does mean that I can't have ice things :(
Nevertheless, I've seen disabled multithreading in the rails suites, and I still [keep seeing the issue, albeit more sporadically](What could also be problematic is that you're changing the Rodauth::Rails.app global, which might not be thread-safe.).

I suggest modifying your Roda & Sequel tests to source the Sequel connection from Active Record, and see if the tests pass.

I didn't understand the suggestion. The test already exercise the sequel db instance with the sequel-activerecord_connection plugin, so I'd say they're already doing that (?).
I guess I'll have to get a deeper look into this, as it's not really trivial to pinpoint: the :date_arithmetic is added as part of the rodauth post_configure hook, so I'm out of ideas. I'll see what I can come up with.

The test already exercise the sequel db instance with the sequel-activerecord_connection plugin, so I'd say they're already doing that (?).

In test/support/roda_integration.rb, I just see the Sequel connection be created directly, without any Active Record or activerecord_connection extension being used. If you try using activerecord_connection extension there, that will prove whether the problem is in this gem or elsewhere.

I guess I'll have to get a deeper look into this, as it's not really trivial to pinpoint: the :date_arithmetic is added as part of the rodauth post_configure hook, so I'm out of ideas.

I would try loading the date_arithmetic extension right after creating the Sequel database object. You could even put a Sequel.synchronize block around connecting and adding the extension, to ensure no other thread can retrieve that Sequel::Database object before the date_arithmetic extension was applied.

In test/support/roda_integration.rb, I just see the Sequel connection being created directly,

Thats the connection I use for the off-the-rails tests (when rails_integration is loaded, Rails takes over its own connection, loads rodauth-rails,  which loads its own sequel db instance connection to the AR connection, and is picked up to be used to run the migration (again) and used in the remaining db operations. All this to say, when rails is picked up, the  initial DB var you mention isn't used for anything else.
Right now the rails setup is a bit convoluted, so apologies if it looks confusing. I'm still in the process of fixing this state of affairs.

I would try loading the date_arithmetic extension right after creating the Sequel database object.

As per my explanation above, I'm not connecting myself (the RAILSDB is instantiated in the rails initializer). The :date_arithmetic plugin will be applied when this block gets instantiated, as part of the rodauth feature post_configure hook. I'm not sure, given this scenario, whether loading the plugin in the rails initializer is the best way to prevent this, and I'd also rather not recommend users doing it.
I'll see about reducing that DB var noise from the rails tests path, and see whether that improves things.

Just to let you know: I've since found a way to disable running the migration with that DB instance in Rails mode, and the extended test suite ran flawlessly.
I'm not sure yet how those two sequel db instances were interfering with each other. I've check both rodauth-rails and sequel-activerecord_connection looking for references to any DB var, found nothing. My only guess is that, somehow, the rails initialization process ran before I set the rails roda application in rails_integration, and rodauth init ran with Sequel::DATABASES.first instead of with RAILSDB. It's a big, but it might have to do with the generator tests and whether they load the rails application to run those tests before any other oauth test runs. Big guess.
I'll close this, as this is not a rodauth-rails anymore. I'm sad overall that I can't run these tests in multithreaded mode though, but I guess there's no way to go around it (the rails singleton application limitations strike again).
Thx fo the support @janko


Is there any GPU implementation of tf.stack for int64?

NOTE: Only file GitHub issues for bugs and feature requests.  All other topics will be closed.
For general support from the community, see StackOverflow.
To make bugs and feature requests more easy to find and organize, we close issues that are deemed
out of scope for GitHub Issues and point people to StackOverflow.
For bugs or installation issues, please provide the following information.
The more information you provide, the more easily we will be able to offer
help and advice.
What related GitHub issues or StackOverflow threads have you found by searching the web for your problem?
Environment info
Operating System:
Installed version of CUDA and cuDNN:
(please attach the output of ls -l /path/to/cuda/lib/libcud*):
If installed from binary pip package, provide:

A link to the pip package you installed:
The output from python -c "import tensorflow; print(tensorflow.__version__)".

If installed from source, provide

The commit hash (git rev-parse HEAD)
The output of bazel version

If possible, provide a minimal reproducible example (We usually don't have time to read hundreds of lines of your code)
What other attempted solutions have you tried?
Logs or other output that would be helpful
(If logs are large, please upload as attachment or provide link).

I am wondering if there is any GPU implementation of tf.stack? It seems that tf.stack only can run on CPU. Is there any equivalent command that I can use it in GPU?
Thanks

Native op seems to be called Pack and I see a GPU kernel registration for it in pack_ops.cc

Yes, to second what @yaroslavvb said, there is one and it's calling ConcatGPU if the conditions are right. You shouldn't have to do anything to invoke it.

@yaroslavvb thanks for response. but it seems that tf.pack also just runs in CPU. I am using tf.device to put it in the gpu, but after looking at log_device_placement, it is still pinned to CPU. DO u have any suggestion? I can upload the code if u want it. Thanks

what if you run with soft_device_placement=False? Also, I'm not sure where
log_device_placement takes assignments from, I normally look at
run_metadata to see where it gets put
run_metadata = tf.RunMetadata()
run_options = tf.RunOptions(trace_level=tf.RunOptions.FULL_TRACE)
sess.run(.., options=run_options, run_metadata=run_metadata)
print(run_metadata)
On Mon, Jan 23, 2017 at 7:43 PM, amortazi<EMAIL_ADDRESS>wrote:

@yaroslavvb https://github.com/yaroslavvb thanks for response. but it
seems that tf.pack also just runs in CPU. I am using tf.device to put it in
the gpu, but after looking at log_device_placement, it is still pinned to
CPU. DO u have any suggestion? I can upload the code if u want it. Thanks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/issues/7027#issuecomment-274693375,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABaHM4MWcR1P7kAq3b_THV-URqCj_qFks5rVXNhgaJpZM4LrvFB
.

@yaroslavvb I got following error with soft_device_placement=False:
InvalidArgumentError (see above for traceback): Cannot assign a device to node 'pack': Could not satisfy explicit device specification '/device:GPU:0' because no supported kernel for GPU devices is available.
[[Node: pack = Pack[N=4, T=DT_INT64, axis=0, _device="/device:GPU:0"](mul_1, floordiv, floordiv_1, mul_3)]]
Unfortunately, it is in the middle of my CNN and it causes data passes to CPU and increases my training time significantly. I appreciate if u have any solution for it.

Oh, it's dtypes.int64. The GPU number types are float and double.

Could you try to add TF_CALL_int64(REGISTER_GPU) in pack_ops.cc?

I need to install tf from source, i am working on it!

@drpngx should I just add TF_CALL_int64(REGISTER_GPU) in pack)ops.cc? May i ask where I should add it in the code?
Thanks,
Ali

Just before the #undef (here)[https://github.com/tensorflow/tensorflow/blob/64edd34ce69b4a8033af5d217cb8894105297d8a/tensorflow/core/kernels/pack_op.cc#L148] should be fine.

I am using tensorflow 0.12 which tf.pack is not defined for this version. So, I have to use tf.stack here:
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/kernels/stack_ops.cc#L265
Would you tell me how I should this file to work with int64?

tf.stack just calls the pack op. It's confusing just for historical reasons. So the omdification in pack_ops.cc is correct.

It didn't work after applying the changes. Still tf.stack is pinned to CPU:

stack: (Pack): /job:localhost/replica:0/task:0/cpu:0
2017-01-25 19:16:59: I tensorflow/core/common_runtime/simple_placer.cc:841] stack: (Pack)/job:localhost/replica:0/task:0/cpu:0

I am using tf.device to pin it to GPU (with allow_soft_placement = True).
Any suggestion?

And this is an error I got with allow_soft_placement = False :

InvalidArgumentError (see above for traceback): Cannot assign a device to node 'stack': Could not satisfy explicit device specification '/device:GPU:0' because no supported kernel for GPU devices is available.
[[Node: stack = Pack[N=4, T=DT_INT64, axis=0, _device="/device:GPU:0"](mul_1, floordiv, floordiv_1, mul_3)]]

It means that the registration did not work, for some reason.
Could you go to NewSession then call LogAllRegisteredKernels and see if it's there? It should not be, but you should see the CPU versions.

Would you provide some hints how I should do it? Is there any example?

Just go to the code in NewSession linked above, then add LogAllRegisteredKernels(). In the #include section, add #include "tensorflow/core/framework/op_kernel.h, then rebuild etc.

I reseted my computer and now when I wanna to build tf again I got this error:

ERROR: /home/user/.cache/bazel/_bazel_user/f9f5c94ad789d21bcfdb930889866229/external/local_config_cuda/crosstool/BUILD:4:1: Traceback (most recent call last):
File "/home/user/.cache/bazel/_bazel_user/f9f5c94ad789d21bcfdb930889866229/external/local_config_cuda/crosstool/BUILD", line 4
error_gpu_disabled()
File "/home/user/.cache/bazel/_bazel_user/f9f5c94ad789d21bcfdb930889866229/external/local_config_cuda/crosstool/error_gpu_disabled.bzl", line 3, in error_gpu_disabled
fail("ERROR: Building with --config=c...")
ERROR: Building with --config=cuda but TensorFlow is not configured to build with GPU support. Please re-run ./configure and enter 'Y' at the prompt to build with GPU support.
ERROR: no such target '@local_config_cuda//crosstool:toolchain': target 'toolchain' not declared in package 'crosstool' defined by /home/user/.cache/bazel/_bazel_user/f9f5c94ad789d21bcfdb930889866229/external/local_config_cuda/crosstool/BUILD.

There is an issue about that in the following link but it didn't work for me:
https://github.com/tensorflow/tensorflow/issues/4841

That's odd. Did you try to re-run configure as instructed?

Yes, even I installed bazel again.

You did answer "Y" at the configure right? It should have run bazel fetch ... and gotten what was needed. Could you try bazel fetch ... by hand again to see?

Yes,I answered Y. It was working before I restarted my computer. I did it, it didn't work.

What do you have in this file: third_party/gpus/crosstool/BUILD ?

It is empty!

That's the right content. Can you do:
find tensorflow -type f -name BUILD |xargs grep -n error_gpu_disabled

?

it returned nothing.

That's strange.  Could you blow your cache again (bazel --clean) and run?

bazel --clean returned error. but bazel clean worked fine. Is that fine?

Yes sorry. Could run find . -type f -name BUILD|xargs grep -n error_gpu_disabled?

it returned nothing. Also, I did bazel clean and run it again, but it returned same error.

How about git clone to another directory and try from there?

I got same error! :(

I'm slowly running out of ideas. If you have tensorflow installed, please pip uninstall it.
Also, report the output of
declare -x

You could try to use the docker file and build in a docker environment, roughly speaking:
cd tensorflow/tools/docker
sudo docker build -t tfbuild  -f Dockerfile.cpu-devel
sudo docker run -it -v /tmp:/tmp tfbuild bash
cd /tmp
git clone ....

and build from source there.
I have to ask -- are you sure you are building in the right directory?

I am not sure I understand the status of this issue. It is pretty clear from the code that by default the GPU kernel is not registered for scatter_nd. I make this conclusion by observing that the following lines for CPU kernels:
TF_CALL_NUMBER_TYPES(REGISTER_SCATTER_ND_ADD_SUB_CPU);
// TODO(simister): Re-enable all types after binary size is under control.
TF_CALL_NUMBER_TYPES(REGISTER_SCATTER_ND_UPDATE_CPU);
TF_CALL_NUMBER_TYPES(REGISTER_SCATTER_ND_CPU);

and only two respective lines for GPU kernels
TF_CALL_GPU_NUMBER_TYPES_NO_HALF(REGISTER_SCATTER_ND_ADD_SUB_GPU);
TF_CALL_GPU_NUMBER_TYPES_NO_HALF(REGISTER_SCATTER_ND_UPDATE_GPU);
# where is the third one??

@drpngx is the third kernel left out intentionally? If yes, is enabling a GPU implementation for scatter_nd in the timeline?
I'd like to note that this issue has a nasty side-effect: scatter_nd is used in the gradient of gather_nd, and because of the lack of the GPU kernel, the gather_nd gradient is computed on CPU...

It looks like @drasmuss looked at this issue in https://github.com/tensorflow/tensorflow/issues/7026#issuecomment-277005409 and found that scatter_nd GPU implementation doesn't exist

Yeah, we were trying to add it to see what happens but somehow the thread died out. Please try it out if you have cycles.

Oops, this is a wrong issue, I will continue in #7026.

@drpngx What's the status here?

I think the issue has been resolved through:
https://github.com/tensorflow/tensorflow/commit/fdf4ad4c35e925bf3d944dac5b91efcc64b2c8b3#diff-53b0b5ca00738b21110fb55fda34b0c6

It has been 14 days with no activity and this issue has an assignee.Please update the label and/or status accordingly.

Looks like this has been resolved. Feel free to reopen if I misunderstood.


allow overriding ctime using zola header syntax

basically, this:
+++
date = 2023-03-12
+++

also would let us generate embeds for links if description is provided

https://github.com/lun-4/obsidian2web/commit/036d0435d0d3d2bb635271590439f2127eb27850


Manage cookies for backends in zuul proxy

The only way cookies work right now is if the backends don't send "set-cookie" headers. It would be cleaner to allow that as well but if the "set-cookie" header appears on backend responses, store them in a sane way on the proxy and replay them to the same backend on the next request.

@dsyer Any Updates regarding a spring-cloud-security Cookie Store for Zuul please?
As I read here, and tested my self using spring-boot 1.3.3.RELEASE and spring-cloud-dependencies Brixton.RC1, it looks like the Cookies are still completely ignored at the moment. i.e. The proxied HTTP Response Headers Set-Cookie will be lost on any subsequent request to the proxied Service. As clearly adviced here.
Would you have any idea how to implement this?
The only solution I can think of at the moment, is to implement two custom ZuulFilters. One of type post which stores the Cookies somehow using RedisOperationsSessionRepository, and another one of type pre, which adds them back in subsequent requests to the same proxied service, like you did in OAuth2TokenRelayFilter.
Thanks in advance for your thoughts

@dsyer actually, I am wondering, what you mean with

The only way cookies work right now is if the backends don't send "set-cookie" headers.

May I ask you how exactly did you get cookies sent from backend services working?

May I ask you how exactly did you get cookies sent from backend services working?

I didn't. What I meant was, they only work if they are not coming from the backend. It's a bit better in Brixton, since cookies are ignored by default in the backend requests, and you can control the headers a bit. Backend authentication is better handled with tokens or Spring Session right now.

@dsyer Thanks for your reply Dave.

Backend authentication is best handled with tokens or Spring Session right now.

This means, it is currently not possible to terminate the Cookie-authentication based Backends using spring-cloud-security out of the box, if I understand you correctly.
May I ask you how you would add such a support? Using pre and post ZuulFilter as suggested in my first comment?

Yes, ZuulFilters would be my tool of choice. Probably a shared repository (with a redis implementation) would be useful as well, but it might be sufficient to keep it in memory for a lot of use cases.


SocketAddr/IpAddr

Hey, would you guys be interested in a PR that allows std::net::SocketAddr/IpAddr to be (de)serialised ? I need to send address to peers frequently and end up converting them to string and (de)serialising that. Was wondering if that could be added to this crate instead so that it wont be needed to be handcoded any longer.

Are you able to use Serde instead? Serde supports SocketAddr and IpAddr already.

Aha i've never tried it actually. Let me try serde then - thanks. Is this going to be abandoned/deprecated soon then ?

Not necessarily abandoned/deprecated but rustc-serialize has not been actively developed for the past year and a half - compare graph vs graph - and major players (toml, bincode) have dropped rustc-serialize support now that Serde's derives are stable.

Yeah FWIW I'd highly recommend using serde instead of rustc-serialize nowadays. I hope to bring up with the libs team soon an "official deprecation" of this crate where we can close out all the issues and such that @dtolnay has been so willing to keep up to date with "don't forget serde can do this" :)


Port various changes from tc39/proposal-temporal polyfill

Unlike other PR's, I intend to merge this PR without squashing, to retain all the commit information for better history.

IMO, I don't think we should delete the old tests until we have a faster way of running Test262.
Otherwise, looks good.
Have there been other commits since this PR was opened that should be included?

There are other commits to cherry-pick in after this, but this was a good stopping point. I'm going through the history of new commits to upstream sequentially, and ended up blocked on trying to get one of the later commits to type-check properly. I do intend to send more PRs to try and catch up to the upstream repo's state. I've also created a small handful of scripts to help accelerate that process and enable verification that our rebased commits match their corresponding upstream commits (hence the UPSTREAM_COMMIT tag in the descriptions) which I'll tidy up and commit here along with some general docs on how to rebase upstream commits so that others can help do this sort of maintenance work.
I do generally wish that 262 was faster, but having duplicated tests that then fail as changes are being cherry-picked in becomes very time-consuming (having to determine if the failure is expected or not / whether there were changes missed in the upstream test file, or to the upstream 262 test, etc).

I do generally wish that 262 was faster, but having duplicated tests that then fail as changes are being cherry-picked in becomes very time-consuming (having to determine if the failure is expected or not / whether there were changes missed in the upstream test file, or to the upstream 262 test, etc).

Makes sense. Are you suggesting that we should also remove older demitasse tests that were previously removed months ago, or only for new commits?
BTW, I just spent a few mins trying to speed up Test262 on my computer (it's a new M1 Max MacBook Pro) and I found that the following changes sped it up by about 35%:

On MacOS, double the threads (more than 2x didn't seem to help)
Increase max thread limit to 32 (my laptop reports 10 CPUs=>20 threads, but there are higher-end CPUs out there)

Should I PR those changes?
if [ "$(uname)" = 'Darwin' ]; then
  threads=$(sysctl -n hw.logicalcpu)
  ((threads = threads * 2))
else
  threads=$(nproc --ignore 1)
fi
if [ $threads -gt 32 ]; then threads=32; fi

Are you suggesting that we should also remove older demitasse tests that were previously removed months ago, or only for new commits?

I imagine at some point it would make sense, but for now my strategy has been:

if a PR upstream changes a test, accept it's changes (done manually)
run tests after each ported commit. If tests fail, investigate. This has lead to some tests being deleted, discovering of a "missing" PR, etc.

I haven't done a diff between the two corresponding branch HEADs to see what is different and merge all the changes, but eventually maybe this will be the case.
Eventually, the only functionality I'd expect to exist in non-test262 tests are going to be implementation-detail-specific tests.

Should I PR those changes?

Sure! I don't use any Apple hardware so I don't think this will apply to me, but if it increases your velocity go for it. It might also be worth filing a tracking bug to consider using a V8 snapshot to speed up the initialization time each node execution takes. That being said, the strategy I've been looking at is trying to eliminate the need to restart the VM in between tests, at the cost of potentially being inaccurate in the case something is changed that can't be restored (e.g. module-local state, etc).

I don't use any Apple hardware so I don't think this will apply to me, but if it increases your velocity go for it.

Done. https://github.com/js-temporal/temporal-polyfill/pull/165
Interestingly, increasing threads also boosts CI performance 30%-40%, so seems like a good idea to do in general. It might be worth trying the same trick in your local dev environment to see if it helps there too.

It might also be worth filing a tracking bug to consider using a V8 snapshot to speed up the initialization time each node execution takes.

Do you want to file this?  I'm not familiar with the snapshot feature so I think you might be able to file a clearer issue than I could. Thanks!

Has the snapshot feature landed in a released Node.js yet?


Visibility widget

This attempts to address the confusion around how to hide a widget subtree.
Also, add alwaysIncludeSemantics to Opacity for consistency.
Also, create a SizedBox.shrink for this common case.

There's no bug. This is inspired by various recent discussions.


Add more response errors

Add some extra response errors from API

@tsaklidis great PR! This repo isn't being maintained, as you can tell by the number of issues and PRs that are open. I'd suggest merging onedrivesdk-fork's changes into your repo with a PR, and then making a PR to them.

@KTibow Thank you for the note. Sometime I have such "errors". Will follow your advice.


No response when city is not found

A 504 Gateway Error status code is returned when it supposed to be a 404 status code (if this is a library feature then disconsider this).
App is supposed to inform client that response weather was not found and/or to search a new city. But request keeps loading

Thank you, i added a new message error when city is not found or api not response.


ignore user specific files

Reasons for making this change:
Jetbrains recommends adding everything in .idea directory except for tasks and workspace files. Things such as test settings are included in the idea directory but these two files are user-specific.
Links to documentation supporting these rule changes:
https://intellij-support.jetbrains.com/hc/en-us/articles/206544839-How-to-manage-projects-under-Version-Control-Systems?flash_digest=57e52233e688868381ba9266eef953823b82a4be
If this is a new template:

Link to application or project’s homepage: TODO

Thanks, but see Global\JetBrains.gitignore


Add #[non_exhaustive] to server builders

We add #[non_exhaustive] to client structures and builders, despite their fields being pub(crate), to prevent users from instantiating them using struct expressions in the case where they don't contain any fields.
We don't do the same for servers. Server structures are always pub with pub fields, because service owners are authoritative model consumers and should be able to directly use struct expressions to instantiate them. However, server builders do have pub(crate) fields but don't have #[non_exhaustive] on them.

This actually has no effect because the builder's fields are pub(crate), and #[non_exhaustive] would only affect how users interact with it outside of the defining crate.


docs: update license file

PR o'clock
Description
This is closing https://github.com/terraform-aws-modules/terraform-aws-eks/issues/1068, update of license file will fix badge:

and add summary of licensing when you open LICENSE file:

Checklist

[x] CI tests are passing
[ ] README.md has been updated after any changes to variables and outputs. See https://github.com/terraform-aws-modules/terraform-aws-eks/#doc-generation

Thanks @daroga0002 for reporting this. But License files are managed in a central location. Please close this PR and submit it at https://github.com/terraform-aws-modules/meta repo.


Render as URI

Is there a function to render the map as a uri instead of a html file . I want to share my map inside a frame but I am unable to do that .Here is the example of how it can be implemented
map.py
@blueprint.route('/map')
def map():
    gmap = gmplot.GoogleMapPlotter.from_geocode( "delhi, India",apikey="key")
    gmap.render_as_uri()
    return render_template('map/map.html',gmap=gmap)

map.html
{% extends "layouts/layout.html" %}

{% block header %}
<div class="container" align="left">
    <embed type="image/svg+xml" src={{gmap|safe}} style='max-width:1000px'/>
</div>
{% endblock %}

{% block content %}

{% endblock %}

Not yet, but good idea!

With some help and guidance I would love to work on this.

I'd personally explore Google Maps Embed API and/or how Folium achieves this (a quick search points to this SO thread, which may or may not be useful).

I'd personally explore Google Maps Embed API and/or how Folium achieves this (a quick search points to this SO thread, which may or may not be useful).

Okay, I am working on the feature. Is there any contribution guidelines?

There are no contribution guidelines specific to this project, but you can fall back to Github's community guidelines. For any technical questions, you could note them in your PR and they can be addressed during the review.


TabNavigator tabs disappear from view

I'm using TabNavigator and I have one view which should be part of the home view, i.e. team view and when a load that view I would still like to keep the tabs showing on that view however they disappear.
Home view

Selecting an item from the list loads the team view this is where I lose the tabs

Here is my router code
// Drawer Navigation
export const MainDrawerNavigator = DrawerNavigator({
    Home: {
        screen: Home,
        navigationOptions: {
            drawer:{
                label: "Home",
            }
        },
    },
    Logout: {
        screen: Logout,
        navigationOptions: {
            drawer:{
                label: "Logout",
            }
        },
    }
});

// Native tab navigation
export const TabsNavigation = TabNavigator({
    Home: {
        screen: Home,
        navigationOptions: ({ navigation }) => ({
            tabBarLabel: 'Home',
            title: "Home",
            //TODO: work in progress
            //headerLeft : <DrawerIcon navigation={navigation} />,
            tabBarIcon: ({ tintColor }) => <Icon name="home" size={28} color={tintColor} type={"font-awesome"} />
        }),
    },
    Photos: {
        screen: Photos,
        navigationOptions: {
            tabBarLabel: 'Photos',
            title: "Photos",
            tabBarIcon: ({ tintColor }) => <Icon name="camera" size={28} color={tintColor} type={"font-awesome"} />
        },
    },
    SiteDiary: {
        screen: SiteDiary,
        navigationOptions: {
            tabBarLabel: 'Site Diary',
            title: "Site Diary",
            tabBarIcon: ({ tintColor }) => <Icon name="cog" size={28} color={tintColor} type={"font-awesome"} />
        },
    },
});

// Main navigation StackNavigator
export const MainScreenNavigator = StackNavigator({
    Home: {
        screen: TabsNavigation
    },
    Teams: {
        screen: Teams,
    },
    Drawer: {
        screen: MainDrawerNavigator
    }
});

// Main public nav
export const AppNavigator = StackNavigator({
    Login: {
        screen: Login,
        navigationOptions: {
            title: "Login",
            headerLeft: null,
        },
    },
    ResetPassword: {
        screen: ResetPassword,
        navigationOptions: {
            title: "Reset Password",
            headerLeft: null
        },
    },
    Main: {
        screen: MainScreenNavigator,
        navigationOptions: {
            header:null,
            gesturesEnabled: false,
        }
    }
});

Similar issue here also. When using TabNavigator in root component, no tabs appear.
class App extends React.Component {
  render() {
    const MainNavigator = TabNavigator({
      welcome: { screen: WelcomeScreen },
      auth: { screen: AuthScreen }
    });
    return (
      <View style={styles.container}>
        <MainNavigator />
      </View>
    );
  }
}

The reason your tabs disappear is because you are navigating away from your TabNavigator to another screen on MainScreenNavigator. If you want the tabs to remain on the screen, you will need that tab screen to be a StackNavigator with a route to the new screen.
I'm going to use an example to illustrate what's happening with your approach:
Scenario A (similar to your setup)
 StackNavigator
    - TabNavigator
        - Home
        - Friends
    - InviteAFriend

In Scenario A, if I was on Home and navigated (this.props.navigation.navigate('InviteAFriend')) to InviteAFriend, the StackNavigator would push InviteAFriend onto the stack. Since the TabNavigator and the InviteAFriend screens are on the same level in the navigation hierarchy (both being routes for StackNavigator), the InviteAFriend screen will not render with tabs.
Scenario B
TabNavigator
    - HomeStack
    - FriendsStack
        - Invite a Friend

In Scenario B, if I was on Friends and navigated to InviteAFriend, the FriendsStack would push the InviteAFriend screen onto its navigation stack. Since FriendsStack is inside the TabNavigator, the tabs from the TabNavigator will remain on the screen. This will achieve the affect you are looking for.

I'm closing this, I'm moving onto react-native-router-flux it's much better and uses the react navigation API

Based on latest React Navigation API
Separate navigation logic from presentation. You may change now navigation state directly from your business logic code - stores/reducers/etc. navigationStore
Built-in state machine (former Switch replacement) - each ‘scene’ could have onEnter/onExit handlers. onEnter handler could be async. For successful termination of onEnter, success handler (if defined) will be executed (if success is string then router will navigation to that Scene), in case of handler's failure failure (if defined) will be run. It will allow to build authentication, data validation and conditional transitions in very easy way.
MobX-powered, all used scenes are wrapped as 'observer' automatically. You may subscribe to navigationStore (former Actions), observe current navigation state, etc. If you are using Redux, skip this.
Flexible nav bar customization, that is not allowed by react navigation right now: https://github.com/react-community/react-navigation/issues/779
Drawer support (provided by reactnavigation)
'Lightbox' support (used by popups like Error alert within Example project)

@matthamil
My issue is
StackNavigator
- TabNavigator
- Home
-StackNavigator
----Screen A
----Screen B
- Friends
In this setup, Screen A is  is default on when the home tab is loaded which has the tabs  visible, but when i click on the screen B my tabs disappear any help on this kind?

@matthamil the other big problem here is that what if you want InviteAFriend to be accessible from any tab? This doesn't seem to be possible today with react navigation, because you can only define that screen underneath a specific tab :/

The Tab navigator is not visible when I come back to the Same Screen...
I am in Screen A which has the TabNavigator i got to Screen B which is not within the scope of Tab Navigator and when i come back to Screen A from Screen B Tab Navigator is not visible or not being shown.

hi there! sorry you're having an issue. as the issue template explains, we require that you provide a runnable example that reproduces the bug on https://snack.expo.io or in a github repository. please try to minimize the superfluous code and focus only on reproducing the bug.
you might wonder, why are we strict about this? the reason is that there are only a small number of maintainers on this project and there are hundreds of people who report issues. if it takes us 20 minutes on average to reproduce each issue and we go through 10 issues each day, that's about half of our day just trying to reproduce bugs, without even beginning to investigate solutions. compare that to 20 minutes for each person who reports an issue.
please create a new issue with this and i'd be happy to review it!