More than Sufficient classes in MainDexList produces Dex Error

Bug Description
I doubted that more classes in the Main Dex List file (main-classes.txt)  produce errors as it must not exceed the 65k methods limit which is mentioned in the official Android developer's documents(https://developer.android.com/studio/command-line/d8).
Testing with 8 Screens with some palette resources and setting dex verbose to true showed the following error.

A tool to track the method count from classes.dex - https://github.com/mihaip/dex-method-counts
The error may occur in large-sized projects with increased methods limit for the main dex.

Affects

[ ] Designer
[ ] Blocks editor
[ ] Companion
[ ] Compiled apps
[x] Buildserver
[ ] Debugging
[ ] Other... (please describe)

Some alternatives we can choose to improve(Need Reviews to work on this issue)
One of the following alternatives can fix the issue-

Excluding user-created class description in main dex list: Including only first screen classes in Primary dex list as it loads initially and skipping all the other classes. By doing this, the speed of booting up screens can't degrade more than some nanoseconds which are negligible. Class description for other crucial jars in the input set(mainly responsible for creating main-classes.txt) will make the list non-incremental and will be risk-free. We can choose to perform this method only if we identify exceed main dex list capacity during dex task compilation

Generating Main dex list: We can generate the main dex list with the help of dex list generator library and proguard. Proguard also provides options for shrinking and obfuscations. An example of a dex list generator can be found in the Android Maven Plugin Sources.

Can you provide an AIA file that exhibits the problem?
Sent from my iPhone

On Dec 3, 2020, at 22:05, Rupesh Kumar<EMAIL_ADDRESS>wrote:

Bug Description
I doubted that more classes in the Main Dex List file (main-classes.txt) produce errors as it must not exceed the 65k methods limit according to the official Android developer's documents(https://developer.android.com/studio/command-line/d8).
Testing with 8 Screens with some palette resources and setting dex verbose to true showed the following error.
A tool to track the method count from classes.dex - https://github.com/mihaip/dex-method-counts
Affects
Designer
Blocks editor
Companion
Compiled apps
Buildserver
Debugging
Other... (please describe)
Some alternatives we can choose to improve(Need Reviews to work on this issue)
One of the following alternatives can fix the issue-
Excluding user-created class description in main dex list: Including only first screen classes in Primary dex list as it loads initially and skipping all the other classes. By doing this, the speed of booting up screens can't degrade more than some nanoseconds which are negligible. Class description for other crucial jars in the input set(mainly responsible for creating main-classes.txt) will make the list non-incremental and will be risk-free. We can choose to perform this method only if we identify exceed main dex list capacity during dex task compilation
Generating Main dex list: We can generate the main dex list with the help of dex list generator library and proguard. Proguard also provides options for shrinking and obfuscations. An example of dex list generator can be found in the android maven plugin build.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Sure Here it is -
CheckDex.zip
I added thousands of palette resources by automating a drag and drop task with this tool - https://www.murgee.com/auto-mouse-click/


operator [O] gitlab-operator-kubernetes (1.1.2)

This is a resubmission of the gitlab-operator-kubernetes operator 1.1.2.
The previous submission removed a service sccount that is needed until the 1.2.0 release.
Upstream issue: https://gitlab.com/gitlab-org/cloud-native/gitlab-operator/-/issues/1709
Thanks submitting your Operator. Please check below list before you create your Pull Request.
New Submissions

[ ] Are you familiar with our contribution guidelines?
[ ] Have you packaged and deployed your Operator for Operator Framework?

[ ] Have you tested your Operator in all supported installation modes?
[ ] Have you considered whether you want use semantic versioning order?
[ ] Is your submission signed?
[ ] Is operator icon set?

Updates to existing Operators

[ ] Did you create a ci.yaml file according to the update instructions?
[ ] Is your new CSV pointing to the previous version with the replaces property if you chose replaces-mode via the updateGraph property in ci.yaml?
[ ] Is your new CSV referenced in the appropriate channel defined in the package.yaml or annotations.yaml ?
[ ] Have you tested an update to your Operator when deployed via OLM?
[ ] Is your submission signed?

Your submission should not

[ ] Modify more than one operator
[ ] Modify an Operator you don't own
[ ] Rename an operator - please remove and add with a different name instead
[ ] Modify any files outside the above mentioned folders
[ ] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[ ] Description about the managed Application and where to find more information
[ ] Features and capabilities of your Operator and how to use it
[ ] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[ ] Human readable name and 1-liner description about your Operator
[ ] Valid category name1
[ ] One of the pre-defined capability levels2
[ ] Links to the maintainer, source code and documentation
[ ] Example templates for all Custom Resource Definitions intended to be used
[ ] A quadratic logo

Remember that you can preview your CSV here.
--
1 If you feel your Operator does not fit any of the pre-defined categories, file an issue against this repo and explain your need
2 For more information see here

/merge possible

/merge possible


Comments in LinearView Display at Wrong Address

Comments in LinearView show up at the wrong address for any comment added on a structure member that belongs to an array. Possibly other complex types as well.

closed in favor of #1926


Encoding Bug

I face the same problem like this.https://github.com/TryGhost/Ghost/issues/4705 The posts is in chinese too.I'm sure that my wordpress database use utf-8 encoding.
Thank you.

Hi @codertx, sorry to hear you're having problems. I recommend opening a thread on the forum with the full details of your setup so that you can get some help migrating to Ghost.


Mainstem only diffusive wave simulation

As a step towards the MC-diffusive hybrid solution, lets create a diffusive wave simulation for a single stretch of mainstem river that uses MC outputs as upstream boundary conditions and/or lateral inflows. Use the Florence domain.

[ ] Select a series of contiguous mainstem segments along the Cape Fear river. e.g. [8831780, 8831794, 8831792, 8831798, 8831808, 8831810, 8831806, 8831818, 8831820, 8831826, 8831830, 8831832, 8831840, 8831846, 8831848, 8831858]
[ ] Identify all upstream and tributary connections to the mainstem reach. Query MC results (either t-route or directly from WRF Hydro).
[ ] Understand the best way to handle tributary inflows. As upstream boundaries or lateral inflows?
[ ] Build a Jupyter notebook that constructs model forcings and executes the diffusive wave model(s)
[ ] Plot diffusive wave simulation along side MC simulation at downstream segment of the mainstem reach.

If this is not what you are already doing, you may consider using the main
stem definition from the fim group. That would potentially promote later
compatibility of other tests.
--
James Halgren
@.*** (regular email)
@.*** (Google)
+1<PHONE_NUMBER>
On Mon, Nov 1, 2021, 08:33 Adam Wlostowski @.***> wrote:

As a step towards the MC-diffusive hybrid solution, lets create a
diffusive wave simulation for a single stretch of mainstem river that uses
MC outputs as upstream boundary conditions and/or lateral inflows. Use the
Florence domain.

Select a series of contiguous mainstem segments along the Cape Fear
river. e.g. [8831780, 8831794, 8831792, 8831798, 8831808, 8831810,
8831806, 8831818, 8831820, 8831826, 8831830, 8831832, 8831840, 8831846,
8831848, 8831858]
Identify all upstream and tributary connections to the mainstem
reach. Query MC results (either t-route or directly from WRF Hydro).
Understand the best way to handle tributary inflows. As upstream
boundaries or lateral inflows?
Build a Jupyter notebook that constructs model forcings and executes
the diffusive wave model(s)
Plot diffusive wave simulation along side MC simulation at
downstream segment of the mainstem reach.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/NOAA-OWP/t-route/issues/490, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMW7MUHJGV7QAHOFGTCNVOLUJ2JLBANCNFSM5HEBT7PA
.


Bugfix/404 index.html

以下に対応
https://github.com/rafgraph/spa-github-pages#usage-instructions

Note that if you are setting up a Project Pages site and not using a custom domain (i.e. your site's address is username.github.io/repo-name), then you need to set pathSegmentsToKeep to 1 in the 404.html file in order to keep /repo-name in the path after the redirect. If you are using React Router you'll need to tell it to use the repo-name as the basename, for example .

直接のリンクでページにジャンプできることを確認済
https://code-for-funabashi.github.io/map/kosodate

何のためのPRか忘れてしまったので一旦クローズします。


feat(matchers): ignore scripts with nomodule

Addresses: https://github.com/cloudflare/netjet/issues/37
This PR will improve perf for 86.6% of requests globally. We could go one step further and check user-agent to enable/disable the feature but this is already better:

One thing I wasn't sure about is how to test against a header NOT being there. It fails with the assertion but the only thing I could do was just remove that assertion. Tried a couple of:
.expect('Link', null)
.expect('Link', undefined)
.expect('Link', false)

Coverage remained the same at 96.429% when pulling 568282051e933e6f85e488168f7f3dacae5e8e14 on intellix:ignore-nomodule-scripts into 05d630364e205224906a2b60040029bbd6c1256c on cloudflare:master.

Last commit also addresses: https://github.com/cloudflare/netjet/issues/39
Everything is now working on our Angular 8 SPA with type="module" etc

The handling of crossorigin is a very welcome addition, we've had to stop using netjet and replace it with a custom setup on our React SSR Express server to handle those as 100% of our JS assets are served from a subdomain or from 3rd parties that requires crossorigin for proper caching / error handling.

If you're looking for a quick solution until merge:
npm i netjet@github:intellix/netjet#ignore-nomodule-scripts

@terinjokes is there any hope to get this reviewed/merged?

I was not notified of this PR.


.img-responsive missing in v4-dev?

Trying to use .img-responsive but it appears to be missing!  I verified i'm in the right branch this time :)
http://v4-alpha.getbootstrap.com/content/images/

Duplicate #17901


Micronaut CRaC JDBC Guide

The maven guide seems to hang for me... investigating

I think there's something odd going on in the maven test...  Sometimes it passes, sometimes it fails, and sometimes it hangs...
And I cannot think why


done_callback not called when RPC Times Out

def _on_done(rpc_future: grpc.Future) -> None:
    logger.debug(f"Finishing RPC {request_id}")
    _on_rpc_done(request_id, future, print_response)
    del futures[request_id]
future.add_done_callback(_on_done)

While working on the Python xDS interop client, I noticed that done callbacks don't seem to be called when an RPC times out. I didn't dig too deeply into it, but that appears to be the case. The full reproduction case is here.

@gnossen Could you assign this issue to me? I am a beginner and this issue seems a good first issue to resolve.


A few suggestions

A few suggestions:

Replace getOwningMol() with dp_mol after checking non-nullness (you replaced getters with the private data member yourself elsewhere in this PR(
Replace for loop with std::count_if
Remove default parameter from getValence() (C++, Python) as I do not think there is an obvious reason why getExplicit should default to true (and indeed you never took advantage of the default value anywhere in your PR)

Thanks @ptosco


[#8053] canbus component does not exit gracefully.

-Override Clear() from ComponentBase so internal handles are cleaned up
during shutdown.
-Fixes #8053

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Jilin seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Add an integration test helper to assert that no pods restart during the test.

Is your feature request related to a problem? Please describe.
Occasionally, there could be a bug in the Pinniped supervisor or concierge servers which is triggered by the integration test suite and causes the affected pod to crash and be restarted by Kubernetes. This can lead to situations where we don't notice a bug because Kubernetes very helpfully restarts the container and our tests tolerate some eventual consistency (e.g., using require.Eventually() assertions).
Describe the solution you'd like
We should have some test assertion helper that checks on the Pinniped pods before and after each test to validate that they have not been restarted. This is similar to the library.DumpLogs() helper we have already, and should be a straightforward extension of that code.
Describe alternatives you've considered
We could deploy our code under test in pods with restartPolicy: Never, but we'd need to significantly refactor the deployment YAML.
Are you considering submitting a PR for this feature?
Not immediately, please leave a comment if you'd like to take a shot at this.

How will this project improvement be tested?
It's test code, so we can probably just do some manual testing (e.g., insert a panic() into the supervisor code and make sure the tests fail).

How does this change the current architecture?
This is a minor change.

How will this change be backwards compatible?
This is a minor change to tests, no backwards compatibility concerns.

How will this feature be documented?
No documentation needed.

PR here: https://github.com/vmware-tanzu/pinniped/pull/325.

PR here: https://github.com/vmware-tanzu/pinniped/pull/325.


fix: replace module qs with safe-qs, when param array length oversteps the limit will throw error

如题

Make qs module be a optonal param will be better than instead the exists one.
var _qs = opts.qs || qs;

return _qs.parse(str, opts.queryString);

合并下呐

We should keep the qs module by default.

I will manual change this and send a new pr.

mv to https://github.com/cojs/co-body/pull/41


Encoding query as base 64

Is it possible to encode the query in 'LinktoSearchResults' as base64 to reduce the size of the URL? We have a few queries in App Insights that kept getting bigger over time; and now the links to queries in our alerts are completely unusable.
When I try to share the query in App Insights using "Copy link to query" button, it creates a link with base64 encoding.

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

ID: 06039edb-32ee-7261-5b48-0fde04c9371e
Version Independent ID: 9bebfc9e-c155-ff9d-64a6-6c5847e2a33e
Content: Webhook actions for log alerts in Azure alerts - Azure Monitor
Content Source: articles/azure-monitor/platform/alerts-log-webhook.md
Service: azure-monitor
Sub-service: alerts
GitHub Login: @yanivlavi
Microsoft Alias: yalavi

@abharath27  Thanks for the question! We are investigating and will update you shortly.

@abharath27 I believe functionality to encode query as base 64 is not available as of now and looks like there is no note or information regarding the same in the documentation.
Tagging @yanivlavi and @ofirmanor for visibility and document enhancement consideration if appropriate. And also to provide insights if this is a feature request that has to be raised in UserVoice / feedback forum or not.

This is something we are planning to address in this sprint.

Thanks!

We fixed this issue. This can be resolved.
@KrishnaG-MSFT

#please-close


& doesn't work

& doesn't work at all.
If I try to do something like this:
Value=(A*30||(A&B)*10)
if I press only A value should be 30, if I press A and B togheter, value should be 10. Instead it still says 30, no matter what I do, tried to use && too, but with no success.
Funny thing is, it works fine in old E2s that don't get edited.

After more testing, the problem seems to be when it is used with the | function. It used to work with only | now it needs to be || and messes up when used with &.

Can you find the version where it stops working?

Nothing's wrong with the operators here, you are performing bitwise OR of 30 and 10, which is 30. & and | are logical operators, && and || are bitwise operators.

30 || 0
30 || 10

11110 [30]00000 [0]=====11110 [30]
11110 [30]01010 [10]=====11110 [30]

Instead, you should be using if else statements or ternary operators.

If I use | instead of || , output is 1.
And I don't know when it stopped working right, it just did some time ago, couple of months probably.

If I use | instead of || , output is 1.

Because it's a logical operator, it's supposed to either return 0 or 1, not its operands. You can look at the git history of https://github.com/wiremod/wire/blob/master/lua/entities/gmod_wire_expression2/core/core.lua, it always worked that way.

As said before it has always worked this way. A solution to your problem would be A * 30 + (A & B) * 10.
Any further questions can be brought up on the discord.


FIX: comm to comm conditional

Fix erroneous logic for commercial to commercial conditional that prevented stacks from launching

/do-e2e-tests


Refactor azure-vnet-and-subnet module

I think we should use the official module: https://github.com/Azure/terraform-azurerm-vnet/tree/main
Now supports forEach too in the vnets:

And has some interesting features, like associations between NSG and subnets. One subnet only can be associated with a NSG at a time, but a NSG can be associated to multiple subnets
https://github.com/Azure/terraform-azurerm-vnet/blob/98db3f3b56716a44749ca7ec2a197fc30b37a0bd/examples/complete/main.tf#L31-L55
We should use the official modules when possible, due to its maturity. For example, reading the official module, I see that the NSG should not be part of this module, only the association between a NSG and a subnet, and for the creation of the NSG, we have this other module too: https://github.com/Azure/terraform-azurerm-network-security-group


version numbers of requirements

Hey,
thanks for your awesome work! I'm having troubles when using your models for prediction, possibly because version mismatches of the requirements. For instance, I'm getting:
$ sh run.sh pc predict gold dev
UserWarning: Trying to unpickle estimator MultiLabelBinarizer from version 0.21.3 when using version 0.23.1. This might lead to breaking code or invalid results. Use at your own risk.
...
ValueError: zero-size array to reduction operation maximum which has no identity

Could you please specify the exact versions of the required packages that would allow me to reproduce the results?

Hi, thank you for your question and comment. I forgot to add the version and requirements. I have updated. Could you try again and let me know?

Hi, thanks for your quick reply! I had additional to do pip install cchardet which resolved the error above.
pip install scikit-learn==0.21.3 resolved the warning.

Thanks.


[WIP] Refactoring code to work smoothly with multi bit sort

Now, convert_all_bits returns vector of 2D vectors where each 2D vector is of size [ record_count ; num_multi_bits].
This helps in code clarity and is also required for malicious sort to do upgrade

This is a rebase on top of #409 and #412 since #409 is already approved and hopefully will be merged soon and 412 is quite straightforward.
Once this PR is landed, this will unblock malicious sort to use multi bit permutation

I am still trying to see how much of the code can be iter-i-fied. But in the meantime, can we work towards landing this code and handle iterators in follow up PRs?

This looks a bit complex so making this a draft to keep discussing making the iterator change

Will work on iterators in future PRs


Initial load never loads/folds markers

Hello :) Nice plugin you made here, but whenever I get it running I have this symptom:
" E490: No fold found {{{
set nocompatible
syntax on
set foldmethod=syntax
set nomodeline
let g:vimsyn_folding='af'
"}}}
function! Horse() " Fold works here initially
  echom "Yo"
endfunction

Its like foldmethod=marker or the marker folds {{{ is not triggered, before you open the syntax folded method function! Horse() or reload the file with :e
I think it has something to do with load order or when you enable syntax on I've tried before and after set foldmethod=syntax and I've tried to put it in after/syntax but found nothing that fixed the initial issue.
Do you have any idea?

I cannot replicate it. Is your full Vim config directory available somewhere?


API for Editor Insets Finalisation

          This item is currently not planned to be finalized. When it happens it will appear on our monthly iteration plan and this issue will be updated accordingly. I have locked this issue because of repeated pings. Sorry, for doing that but we need to minimise distractions. Thanks for understanding

Originally posted by @jrieken in https://github.com/microsoft/vscode/issues/85682#issuecomment-1729178552
Is there any update on finalization of this API?
### Tasks

Please do not create duplicate issues

Sure,
Thanks for the Response.
Please clear :
if I have used this api , is there any possible way I can share it with users to run on VSCode Instead of VS Code Insiders?
If yes , How?
If its not possible, then are there any alternative I may use now to share the extension to users?


Can't run TensorFlow on CPU, defaults to GPU

Environment info
Operating System:
Ubuntu 16.04

Installed version of CUDA and cuDNN:
(please attach the output of ls -l /path/to/cuda/lib/libcud*):
-rw-r--r--   1 root root    322936 Eyl 19  2015 libcudadevrt.a
lrwxrwxrwx   1 root root        16 Mar 30 15:25 libcudart.so -> libcudart.so.7.5
lrwxrwxrwx   1 root root        19 Mar 30 15:25 libcudart.so.7.5 -> libcudart.so.7.5.18
-rw-r--r--   1 root root    383336 Eyl 19  2015 libcudart.so.7.5.18
-rw-r--r--   1 root root    720192 Eyl 19  2015 libcudart_static.a
lrwxrwxrwx   1 root root        12 Nis 14 18:53 libcuda.so -> libcuda.so.1
lrwxrwxrwx   1 root root        17 Nis 14 18:53 libcuda.so.1 -> libcuda.so.361.42
-rw-r--r--   1 root root  16881416 Mar 23 02:42 libcuda.so.361.42
-rwxr-xr-x   1 root root  61453024 Nis 30 11:36 libcudnn.so
-rwxr-xr-x   1 root root  61453024 Nis 30 11:36 libcudnn.so.4
-rwxr-xr-x   1 root root  61453024 Nis 30 11:36 libcudnn.so.4.0.7
-rwxr-xr-x   1 root root  59823168 Nis 30 11:12 libcudnn.so.5
-rwxr-xr-x   1 root root  59823168 Nis 30 11:12 libcudnn.so.5.0.4
-rw-r--r--   1 root root  62025862 Nis 30 11:36 libcudnn_static.a

If installed from binary pip package, provide:

Which pip package you installed.
Installed using the command

sudo pip install --upgrade https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.8.0-cp27-none-linux_x86_64.whl

The output from python -c "import tensorflow; print(tensorflow.version)".

I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcublas.so locally
I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcudnn.so locally
I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcufft.so locally
I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcuda.so.1 locally
I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcurand.so locally
0.8.0

If installed from sources, provide the commit hash:
Steps to reproduce
>>> import tensorflow as tf
>>>
>>> with tf.Session() as sess:
...     with tf.device('/cpu:0'):
...             matrix1 = tf.constant([[3., 3.]])
...             matrix2 = tf.constant([[2.],[2.]])
...             product = tf.matmul(matrix1, matrix2)
...             result = sess.run(product)
...             print(result)
...
I tensorflow/core/common_runtime/gpu/gpu_init.cc:102] Found device 0 with properties:
name: GeForce GTX 980 Ti
major: 5 minor: 2 memoryClockRate (GHz) 1.291
pciBusID 0000:01:00.0
Total memory: 6.00GiB
Free memory: 5.48GiB
I tensorflow/core/common_runtime/gpu/gpu_init.cc:126] DMA: 0
I tensorflow/core/common_runtime/gpu/gpu_init.cc:136] 0:   Y
I tensorflow/core/common_runtime/gpu/gpu_device.cc:755] Creating TensorFlow device (/gpu:0) -> (device: 0, name: GeForce GTX 980 Ti, pci bus id: 0000:01:00.0)
[[ 12.]]

It's not related to your problem. But suitable cuDNN version for tensorflow 0.8.0 is v4. It works fine in some cases btw but maybe it cause some other problems in the future ;)

I know, the MNIST tutorial didn't work with v5, so I downloaded v4, and it works (even when both v5 and v4 are in the lib directory).

Just as a note, pinning the ops to cpu:0 may not prevent tensorflow from initializing the GPU device.
Is there still an issue here? Closing for now.

Could do something like this to see placement, I bet your ops are still on CPU.
Also, to remove GPU from consideration completely, run "export CUDA_VISIBLE_DEVICES="
  config = tf.ConfigProto(log_device_placement=True)
  config.gpu_options.per_process_gpu_memory_fraction=0.3 # don't hog all vRAM
  config.operation_timeout_in_ms=50000   # terminate on long hangs
  sess = tf.InteractiveSession("", config=config)

Yep ops are on cpu. Set the visible gpu devices to blank, observed correct behaviour, and got the correct final result of the matmult.
(tensorflow)username@pcname:~$ export CUDA_VISIBLE_DEVICES=
(tensorflow)username@pcname:~$ python
Python 2.7.11 |Continuum Analytics, Inc.| (default, Dec  6 2015, 18:08:32)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Anaconda is brought to you by Continuum Analytics.
Please check out: http://continuum.io/thanks and https://anaconda.org
>>> import tensorflow as tf
I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcublas.so locally
I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcudnn.so locally
I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcufft.so locally
I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcuda.so.1 locally
I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcurand.so locally
>>>
>>> with tf.Session() as sess:
...     with tf.device('/cpu:0'):
...             matrix1 = tf.constant([[3., 3.]])
...             matrix2 = tf.constant([[2.],[2.]])
...             product = tf.matmul(matrix1, matrix2)
...             result = sess.run(product)
...             print(result)
...
E tensorflow/stream_executor/cuda/cuda_driver.cc:481] failed call to cuInit: CUDA_ERROR_NO_DEVICE
I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:114] retrieving CUDA diagnostic information for host: pcname
I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:121] hostname: pcname
I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:146] libcuda reported version is: 361.42
I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:257] driver version file contents: """NVRM version: NVIDIA UNIX x86_64 Kernel Module  361.42  Tue Mar 22 18:10:58 PDT 2016
GCC version:  gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2)
"""
I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:150] kernel reported version is: 361.42
I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:226] kernel version seems to match DSO: 361.42
I tensorflow/core/common_runtime/gpu/gpu_init.cc:81] No GPU devices available on machine.
[[ 12.]]
>>>

I'm on Windows and CUDA_VISIBLE_DEVICES= or os.environ['CUDA_VISIBLE_DEVICES'] = '' still didn't work for me, GPU devices were still created, even if not used. However setting os.environ['CUDA_VISIBLE_DEVICES'] = '-1' did work for me, only giving me a warning (seems to be a kind of recommended way of masking devices according to the docs).

@javidcf  Thanks javier for the hint.
I have a laptop with nvidia optimus (dual gpu)  with seamless transition. It has a led which indicates which gpu is using (intel iGPU or nvidia dedicated gpu), with:
os.environ['CUDA_VISIBLE_DEVICES'] = '' or os.environ['CUDA_VISIBLE_DEVICES'] = '0'
Tensorflow was creating a gpu process on cuda without anyload and my laptop was turning on the nvidia gpu for nothing, even the operations are done on the cpu.
But with your solution the tensorflow is not instantiating the empty process anymore and then my laptop is shutting down the dedicated gpu.
thanks for your solution.
Please someone put this on documentation! I was looking it for hours.

When I set CUDA_VISIBLE_DEVICES=-1 on my machine with a single GPU I get the following error:
2017-07-13 16:13:00.617400: E tensorflow/stream_executor/cuda/cuda_driver.cc:406] failed call to cuInit: CUDA_ERROR_NO_DEVICE
2017-07-13 16:13:00.617475: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:158] retrieving CUDA diagnostic information for host: eggplant-ed-ubuntu
2017-07-13 16:13:00.617495: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:165] hostname: eggplant-ed-ubuntu
2017-07-13 16:13:00.617567: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:189] libcuda reported version is: 381.22.0
2017-07-13 16:13:00.617599: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:369] driver version file contents: """NVRM version: NVIDIA UNIX x86_64 Kernel Module  381.22  Thu May  4 00:55:03 PDT 2017
GCC version:  gcc version 6.3.0 20170406 (Ubuntu 6.3.0-12ubuntu2)
"""
2017-07-13 16:13:00.617613: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:193] kernel reported version is: 381.22.0
2017-07-13 16:13:00.617618: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:300] kernel version seems to match DSO: 381.22.0

Seems like this is an edge case that should ideally be handled (unless there is some way to enumerate CUDA devices before calling cuInit and avoid calling it at all). Interestingly the docs for cuInit don't mention CUDA_ERROR_NO_DEVICE as a valid return code so it's probably not surprising that this is how TF behaves.

@ed-alertedh I also get that error log message when I create the first session with CUDA_VISIBLE_DEVICES=-1, but at least for me the code still works fine.

Ah OK, I assumed it was hanging but perhaps this graph just runs really slowly on CPU!

I found this code by Franck Dernoncourt from his question in Stack Overflow:
session_conf = tf.ConfigProto(
    device_count={'CPU' : 1, 'GPU' : 0},
    allow_soft_placement=True,
    log_device_placement=False
)

Then use that ConfigProto in tf.Session, that is:
with tf.Session(config=session_conf) as sess:
    # run commands
    ...

I did the above code in a simple implementation:
import tensorflow as tf

a = tf.constant([x for x in range(0, 3)], dtype=tf.float32, shape=[2, 3], name='a')
b = tf.constant([x for x in range(3, 6)], dtype=tf.float32, shape=[3, 2], name='b')
c = tf.matmul(a, b)

session_conf = tf.ConfigProto(
    device_count={'CPU' : 1, 'GPU' : 0},
    allow_soft_placement=True,
    log_device_placement=False
)

with tf.Session(config=session_conf) as sess:
    print(sess.run(c))

Then I had the following result:
2017-07-26 14:34:42.208873: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1030] Creating TensorFlow device (/gpu:0) -> (device: 0, name: GeForce GTX 960M, pci bus id: 0000:02:00.0)
Device mapping: no known devices.
2017-07-26 14:34:42.208980: I tensorflow/core/common_runtime/direct_session.cc:265] Device mapping:

MatMul: (MatMul): /job:localhost/replica:0/task:0/cpu:0
2017-07-26 14:34:42.210952: I tensorflow/core/common_runtime/simple_placer.cc:847] MatMul: (MatMul)/job:localhost/replica:0/task:0/cpu:0
b: (Const): /job:localhost/replica:0/task:0/cpu:0
2017-07-26 14:34:42.211003: I tensorflow/core/common_runtime/simple_placer.cc:847] b: (Const)/job:localhost/replica:0/task:0/cpu:0
a: (Const): /job:localhost/replica:0/task:0/cpu:0
2017-07-26 14:34:42.211029: I tensorflow/core/common_runtime/simple_placer.cc:847] a: (Const)/job:localhost/replica:0/task:0/cpu:0
[[ 15.  15.]
 [ 26.  28.]]

As you can see, it did map the computation to cpu:0.

Is it possible to disable cpu usage in tensorflow or limiting the number of cores?

This environmental variable is pretty generic, can be used to block out access to GPU completely. I've verified in a docker container with several DNN framerworks compiled with CUDA 9.0 support, that setting:
ENV CUDA_VISIBLE_DEVICES=-1

in the Dockerfile blocked out them completely (with graceful error handling). The list where it is verified to work includes:

Chainer
CNTK
Keras with Tensorflow backend
Lasagne
MXNET
Tensorflow
Theano
PyTorch.

Some of these, including Keras + Tensorflow will also fall back to CPU to complete the calculations.

what if you want to change it back? what are you suppose to set os.environ['CUDA_VISIBLE_DEVICES'] to?

@erotavlas You cannot change the effect of the variable once you have already loaded TensorFlow (you can change the value, but it will not have any effect, as it is only used by CUDA on load). If you want to set the variable before loading TensorFlow, you may have a look at the documentation, where it explaines that CUDA_VISIBLE_DEVICES is:

A comma-separated sequence of GPU identifiers

And then elaborates:

GPU identifiers are given as integer indices or as UUID strings. GPU UUID strings should follow the same format as given by nvidia-smi, such as GPU-8932f937-d72c-4106-c12f-20bd9faed9f6. However, for convenience, abbreviated forms are allowed; simply specify enough digits from the beginning of the GPU UUID to uniquely identify that GPU in the target system. For example, CUDA_VISIBLE_DEVICES=GPU-8932f937 may be a valid way to refer to the above GPU UUID, assuming no other GPU in the system shares this prefix.
Only the devices whose index is present in the sequence are visible to CUDA applications and they are enumerated in the order of the sequence. If one of the indices is invalid, only the devices whose index precedes the invalid index are visible to CUDA applications. For example, setting CUDA_VISIBLE_DEVICES to 2,1 causes device 0 to be invisible and device 2 to be enumerated before device 1. Setting CUDA_VISIBLE_DEVICES to 0,2,-1,1 causes devices 0 and 2 to be visible and device 1 to be invisible.

Essentially, if  CUDA_VISIBLE_DEVICES is set then CUDA (and therefore TensorFlow) will only "see" the GPUs enumerated in there (by index or UUID), and -1 can be used as a value guaranteed to be invalid.


Yggdrasil engine

coverage: 83.061% (-3.4%) from 86.458%
when pulling a18e9a7e9ae794994ac0f17b509bf4618c973b61 on yggdrasil-engine
into 19c1a3c67dad53fa3a1449c32fc1793b13b065bb on main.


NOT an Issue but will this work with Visualforce apex modifier check as well?

https://help.salesforce.com/s/articleView?id=release-notes.rn_vf_exp_lang_apex_access_ru.htm&type=5&release=234

No, this is a different issue. This script does not test Visualforce endpoints.


Handling of plays without any year information

Currently, we have 5 plays without any year information, which makes it impossible to provide a "normalized year". In the frontend, they are listed on top of the chronological order with the year information "NaN". We should translate this into something that's easier to understand, either a simple dash ("–") or something like "not available".
The second aspect are the consequences for calculating with that data. This R script …
library(jsonlite)
einakter <- fromJSON("https://einakter.dracor.org/data.json")
hist(einakter$normalizedYear, breaks = 20, xlab="Jahrfünft", ylab="Anzahl Stücke im Korpus")

… yields an error message ("'x' muss numerisch sein"). The desired behaviour would be that plays without year information are neglected when plotting with year info – should this happen on the level of the scripts or could our API support this somehow?

I changed the text that is displayed in the table to "not available" (see
ca85ec0). This would have to be translated in the language files.
For the second aspect, I think it should be the responsibility or the R script to filter out plays without a normalised year. Those plays currently have "normalizedYear": null in data.json (see jq '.[] | select(.normalizedYear == null)' < data.json).
There are, however, currently also three plays for which the normalised year is a string (see jq '.[] | select(.normalizedYear > "1")' < data.json). This is because these entries have a  date string in their created or printed attribute where a number for the year only is actually expected.

Thanks for spotting these three mistakes, fixed in https://github.com/dracor-org/einakter/commit/304289b803b07dcbba860d31e88f1cc1b4804768. The R script I posted now works fine again.
I will also collect the missing language strings for 'not available'.

Ok, language strings for "n/a" are complete, let's close this ticket.


set up project - apply for money

Figure out what's needed

Creating crawler
Setting up recurring crawls and processing
Better stopword-trainer
Separate stopword-trainer CLI
understanding of the different Sami languages
Project plan
Application for financing
Someone that can verify lists and identify words to add to red-list.

Bigger picture

First working version of NowSearch.xyz
Result of work will be open sourced under MIT-licence.

Quality
Northern Sami will reach a good level first. It has around 4000 articles a year. Southern Sami has 350 articles from mid 2017 until late 2021 and Lule Sámi has 500 articles from mid 2017.

Apply Sametinget for money:
https://sametinget.no/stipend-og-tilskudd/tilskudd/sprak/tilskudd-til-samiske-sprakprosjekter/

Application / project plan should have a step which is assess if stopword list is good enough after actually being generated.

Specify that it is to use the sami languages and not translate it into other languages.

Markdown to word: https://github.com/xoofx/markdig

Application draft ready. Will make word-version later.


Feat: don't change text if nothing to do

If there was an accidental hitting on the wrong button and the code hasn't changed, the vim considers it a changed buffer (the modified option is set). It's a little annoying, so the pr is here.
The solution is to check for changes before setting the text.
I'm not sure:

should I use pcall to call nvim_buf_get_text? (I don't why there is pcall(vim.api.nvim_buf_set_tex... on the next line
should I notify.info that nothing has changed?

This PR affects the functionality separately for split and separately for join, but not for toggle when the text is changed anyway.
So it doesn't make sense to do the check after the node is processed - better to do the check based on the passed mode and compare it with the auto-detected mode (e.g. here). At this point, you can notify the user that the current node is already splitted/joined.
(By the way, I originally wanted to add this functionality, but gave up. Unfortunately, I can't remember the reason why I didn't add it.)

I didn't catch the thing about "it doesn't affect toggle". Should it affect toggle too? If it should then I don't understand the case.
Also I'm not sure that the check should be before the fallback test. What do you think?

I didn't catch the thing about "it doesn't affect toggle". Should it affect toggle too? If it should then I don't understand the case.

No, you don't. The point was that you don't need to do an unnecessary comparison between the original and the processed text, because in the case of toggle it is always irrelevant. It is cheaper to do it before any processing.

Also I'm not sure that the check should be before the fallback test. What do you think?

Yes, you are absolutely right, it is more correct to check for fallback first. That is, just remove this check from the loop because its logic will not change.

It should be ok now

Thanks for PR!

@Wansmer Thank for the plugin!


Homework1

Homework 1
Note:
Please find one particular policy implemented by the Chinese government in 2024 and analyze the economic consequence of the policy. The policy could either be conducted by the central government (PBC, Ministry of Finance, …) or by a particular local government. Policies related to the financial/credit market or monetary authorities are preferred.
Requirement:

Describes the details of policy and what is the main purpose of the policy (1/2 Page Limit)
Use some data or statistics to analyze the policy consequence. The analysis could be a case study based on a simple narration or based on some simple statistical analysis (e.g., OLS). (1/2 Page Limit)
How would you reform this policy? Why? (1/2 Page Limit)

how to find a great policy ?
大量读宏观研究报告，看标题思考是否有意义，进行精准、高效选题。

付鹏演讲：2024年年终回顾与2025年展望 对冲风险 vs 软着陆

确定做促消费 “以旧换新”


Stepper: Make header badges clickable, allow to hide/move prev & next buttons

Describe what feature you'd like. Pseudo-code, mockups, or screenshots of similar solutions are encouraged!
It would be great if we could click the badges on top of the stepper to move to this step.

In my case, I don't want the previous/next buttons to be visible at all (which I know I can do with classes).
It would also be neat if I could display them on top of the content, so just below the badge area.
What type of pull request would this be?
Enhancement
Any links to similar examples or other references we should review?
somewhat related to https://github.com/skeletonlabs/skeleton/issues/1265

This comes up from time to time - the Stepper is meant to be traversed in a linear fashion. As in, you must go through the steps in order, for onboarding, etc. If you need to jump to various steps then a Stepper isn't the appropriate UI to use, you're looking for an accordion, list, or something more custom.
Sorry, but these are not features we're interested in implementing for this component.

Gotcha, thanks. I used Tabs instead which makes more sense, I guess.


added toastr instead of modal on ux dump

@ mention of reviewers
@jimmykodes @ckcollab
A brief description of the purpose of the changes contained in this PR.
Changed the Modal to a Toastr message once dump has been successful.
Issues this PR resolves
resolves #389
Misc. comments
I think I did what was needed but just incase i left the code commented to make sure I can revert and adjust
Checklist

[x] Code review by me
[x] Hand tested by me
[x] I'm proud of my work
[ ] Code review by reviewer
[ ] Hand tested by reviewer
[ ] Ready to merge

This was the Toastr message i added instead of the modal. I hope this is what you guys were looking for.

There were additional feature requests in the github issue this address. Need to add a table row w/ "Creating Dump, please refresh the table" that then gets removed when the table refreshes.

Totally missed thank you! im on it!

I felt i was taking too long so i just wanted to present something to see if im on the right track. It could def use some styling. but this is the gist of it right?

The row should be appended to the bottom of the table, not as a header row.

Got it. on it right now. @jimmykodes whats your email again??

i added it to the bottom but im oddly stumped on why i cant style it.

If you are just trying to center align it, there should be other tables in the code base with examples of how to achieve that styling. pretty sure there is an example just a few lines above or below the code you are working on.

message centered, thank you @jimmykodes lol

Once tests pass, :shipit:


Level code and updated interfaces to accomodate

Description
Implemented the level and the creation of the elements that can go in the level.  To do this I had to add a few properties defined in #10 such as Position and SetPosition.  I am still not 100% sure that Position rather than Position2D is correct here, however to keep the interfaces generic it is required.
The level implementation has ILevel, ICreateAreas, ICreateTiles, ICreateEntities on it, and takes the creation factories in the constructor.  I have left a default constructor so that this can be used as a base class.  I think some of these functions could become virtual in that case, but for the moment I have left them as standard functions.
I did think about having the Add for the Level, Area, and Tile set the parent however I think this could be problematic though in some instances.
I have left the position and GetNeighbours to be implemented and I will add an issue to fix this in another PR
What Changed

Added Level
Updated Area, Tile, Entity, and Interfaces where required
Implemented Creation of things in Level
Tests

New Tests!

Look really nice, except a strange naming and some Assert.Fail(); without issues

Updated I think this is ready for the green button now.


recursively redirect to /static_shared

OCW has a number of shared static assets including JS, CSS and images. Recently, as part of the work to accomplish the goals in https://github.com/mitodl/ocw-hugo-themes/issues/1013 we consolidated these assets in ocw.mit.edu into a single folder in https://github.com/mitodl/ocw-studio/pull/1657 and https://github.com/mitodl/ocw-hugo-themes/pull/1056. Courses will reference shared static assets relative to their own root via a URL like ./static_shared/js/bundle.js. In order to avoid having to copy these shared assets into every single course and provide better caching for end users, we need a redirect rule so that those requests are redirected to the shared location. On the live site, this will need to be done in Fastly and in the local development setup will need to be handled in the nginx configuration.
### Tasks
- [ ] Recursively redirect requests to `static_shared` in Fastly for the live OCW site
- [x] Recursively redirect requests to `static_shared` in local development

Closing this issue as we have decided to take a different approach with mirror drives as detailed here: https://github.com/mitodl/hq/issues/785


[Forget Password] Integrate API calls

The UI for forget password flow has been added in https://github.com/project-travel-mate/Travel-Mate/pull/484, but the actual API calls are missing.
Expected behaviour

Add the correct API calls as mentioned in description of #484

Endpoints to use:
https://github.com/project-travel-mate/server/blob/master/api/urls.py#L35
forgot-password-email-code
forgot-password-verify-code/<str:code>/<str:new_password>

I can work on this

Sure @amoraitis 👍

@Swati4star Could you please inform me whenever or not forgot-password-email-code checks if user with that e-mail doent exist? Or how I can validate if user with the given e-mail exist? Possible ways to handle this one?

@prabhakar267 share your comments..

@amoraitis @Swati4star
I think there needs to be a change added in the APIs to take user email as a field as well.
Because if the user is not signed-in, his app would not have an authorization token from which we were extracting email address.
I will update this issue, once that is fixed from server side.

Can i take this up? @Swati4star

@amoraitis Are you continuing on this issue?
@Balram02 If @amoraitis doesn't reply, you can take up the issue.

@amoraitis Are you continuing on this issue?
@Balram02 If @amoraitis doesn't reply, you can take up the issue.

This issue issue is blocked as arised from @prabhakar267 's comment

I think the issue is fixed now : https://github.com/project-travel-mate/server/issues/137

@amoraitis The issue is fixed
You can work on it and let me know if you face any issue


support socks5 proxy for dial telebot with proxy to telegram api server

Telegram API service is blocked by some providers, so you need to use a proxy or a VPN in order to connect to Telegram.
package main

import (
	"gopkg.in/telebot.v3"
	"log"
	"time"
)

func main() {
	bot, err := telebot.NewBot(telebot.Settings{
		Token:  "token",
		Poller: &telebot.LongPoller{Timeout: 10 * time.Second},
		Proxy:  &telebot.Proxy{Address: "ip:port"},
	})
	if err != nil {
		log.Fatal(err)
	}

	bot.Handle("/hello", func(c telebot.Context) error {
		return c.Send("Hello!")
	})

	bot.Start()
}

I'm not sure about adding additional HTTP client-related logic, you can still use the Settings Client field for specifying the client with a custom transport dialer.


Generic Ruby Library will not build (and shouldn't try to!)

Steps to reproduce
make all-apps
Stack trace
Issue
We've talked about removing all-apps in the past.
It currently tries to build the following list:
asset-manager authenticating-proxy cache-clearing-service calculators collections collections-publisher contacts-admin content-data-admin content-data-api content-publisher content-store content-tagger datagovuk_publish email-alert-api email-alert-frontend email-alert-service feedback finder-frontend frontend generic-ruby-library government-frontend govuk_crawler_worker govuk-developer-docs govuk_publishing_components hmrc-manuals-api imminence info-frontend licence-finder link-checker-api local-links-manager manuals-frontend manuals-publisher mapit maslow miller-columns-element publisher publishing-api release router-api router search-admin search-api service-manual-frontend service-manual-publisher short-url-manager signon smart-answers specialist-publisher special-route-publisher static support-api support transition travel-advice-publisher whitehall

So it will try and build generic-ruby-library.
However running make generic-ruby-library fails because the makefile there has a set of more specifc rules.
Solution
We should remove all-apps or ensure that it does not include generic-ruby-library or provide a separate make step to cover everything in that makefile.
NB: This also means that the five generic ruby files do not appear in ALL_APPS, if we're trying to test builds that way.

Oops, the all-apps does get rather sidelined.
I think your suggestion to remove it is pragmatic: the only use case for it is the project you're working on at the moment, but that can easily be replicated by manually working through all the projects and running make <project> for each.
Would you like to raise a PR to remove it?

on it


Bug: Query View - Export to Excel not working on Windows

Error:
Export failed: IO Error: Cannot open file "c:\Test\test.xlsx": The system cannot find the file specified.
Might be Windows specific

I'll look into this first thing.
Before I release I'll also test on windows as well.

Does it perhaps need double backslashes to escape?

That's the way how it is in the current version. At least the string in memory would be c:\\Test\\test.xlsx

I have the found the repo where I should report issues to https://github.com/duckdb/duckdb_spatial
Things I have tried:
// savedPath = 'c:\\\\Users\\lucie\\Source\\vscode-parquet-visualizer\\data\\small.xlsx'; // The system cannot find the file specified.
      // savedPath = 'c:\\\\Users\\lucie\\Source\\vscode-parquet-visualizer\\data\\small.xlsx'; // The system cannot find the file specified.
      // savedPath = "c:\\test.xlsx"; The system cannot find the file specified.

      // savedPath = "c://test.xlsx"; The system cannot find the file specified.
      // savedPath = "c:////test.xlsx"; The system cannot find the file specified.
      // savedPath = "c://////test.xlsx"; The system cannot find the file specified.
      // savedPath = "C://test.xlsx"; The system cannot find the file specified.
      // savedPath = "C:////test.xlsx"; The system cannot find the file specified.

      // savedPath = savedPath.replace(/\\/g, '/'); // The system cannot find the file specified
      // savedPath = 'C://test.xlsx.tmp'; // The system cannot find the file specified
      // savedPath = 'C://test.tmp'; // The system cannot find the file specified

In windows prompt
duckdb

INSTALL spatial;
LOAD spatial;

COPY (SELECT 1 as a, 2 as b) TO 'c://Users//output.xlsx' WITH (FORMAT GDAL, DRIVER 'xlsx');
IO Error: GDAL Error (3): Cannot create c://Users//output.xlsx: Failed to open file c://Users//output.xlsx: {"exception_type":"IO","exception_message":"Cannot open file \"c://Users//output.xlsx\": Access is denied.\r\n"}

In windows prompt as administrator
duckdb

INSTALL spatial;
LOAD spatial;

COPY (SELECT 1 as a, 2 as b) TO 'c://Users//lucie/output.xlsx' WITH (FORMAT GDAL, DRIVER 'xlsx');
COPY (SELECT 1 as a, 2 as b) TO 'c:\Users\lucie\output.xlsx' WITH (FORMAT GDAL, DRIVER 'xlsx');
COPY (SELECT 1 as a, 2 as b) TO 'c:\Users\lucie\output.xlsx' WITH (FORMAT GDAL, DRIVER 'xlsx');
COPY (SELECT 1 as a, 2 as b) TO 'c://Users//lucie/output.xlsx' WITH (FORMAT GDAL, DRIVER 'xlsx');

In admin this seems to work fine.
I haven't been able to reproduce it.

I've written a python client and run it in windows
import duckdb

con = duckdb.connect()

con.install_extension("spatial")
con.load_extension("spatial")

con.sql("COPY (SELECT 1 as a, 2 as b) TO 'output.xlsx' WITH (FORMAT GDAL, DRIVER 'xlsx')")

This seems to work fine.

I've also written a typescript client and ran it in windows
import * as duckdb from "duckdb";

async function exportExcel () {
    const db = new duckdb.Database(":memory:");

    db.all(`
        INSTALL spatial; LOAD spatial;
        COPY (SELECT 1 as a, 2 as b) TO 'C:\\Users\\lucie\\output.xlsx' WITH (FORMAT GDAL, DRIVER 'xlsx');
      `, function(err, res) {
        if (err) {
            console.warn(err);
        }
        console.log(res);
      }
    );
}

exportExcel().catch((e) => {
    console.log(e);
})

outputs
[Error: IO Error: Cannot open file "C:\Users\lucie\tmp_output.xlsx": The system cannot find the file specified.
] {
  errno: -1,
  code: 'DUCKDB_NODEJS_ERROR',
  errorType: 'IO'
}

I've created an issue here:
https://github.com/duckdb/duckdb-node/issues/142
While we wait for a fix from their side, I'll disable the export for windows only.

I tested this some more and got it working.
I had to make a file called output.xlsx and output_temp.xlsx in my output folder. When I replaced output.xlsx, it removes temp_output.xlsx and replaces the output.xlsx.

Amazing, this could work. Maybe just creating an empty file will work? I'll try.

Hmm that doesn't work. I created two empty files called output.xlsx and tmp_output.xlsx and tried to replace output.xlsx but they I got a new error:
No azure app insights connection string found
setting parquet-visualizer.defaultPageSizes is set to empty array. Defaulting to [20,50,100,200]
Query resolve time: 5.4669999999996435 msec.
Query resolve time: 10.879899999999907 msec.
Query resolve time: 10.879899999999907 msec.
Query resolve time: 6.54320000000007 msec.
Query resolve time: 6.54320000000007 msec.
Query resolve time: 3.193199999999706 msec.
Query resolve time: 0.8691999999991822 msec.
Query resolve time: 3.193199999999706 msec.
Query resolve time: 0.8691999999991822 msec.
Query resolve time: 37.84219999999914 msec.
Query resolve time: 37.84219999999914 msec.
[Error: IO Error: Cannot open file "c:\Users\lucie\Source\vscode-parquet-visualizer\data\output.xlsx": The system cannot find the file specified.
] {
  errno: -1,
  code: 'DUCKDB_NODEJS_ERROR',
  errorType: 'IO'
}
Error: IO Error: Cannot open file "c:\Users\lucie\Source\vscode-parquet-visualizer\data\output.xlsx": The system cannot find the file specified.
 {errno: -1, code: 'DUCKDB_NODEJS_ERROR', errorType: 'IO', stack: 'Error: IO Error: Cannot open file "c:\\Users\… The system cannot find the file specified.
', message: 'IO Error: Cannot open file "c:\\Users\\lucie…The system cannot find the file specified.
'}
Query resolve time: 3.604300000006333 msec.
Query resolve time: 3.604300000006333 msec.
[Error: Invalid Error: Unknown exception in Finalize!] {
  errno: -1,
  code: 'DUCKDB_NODEJS_ERROR',
  errorType: 'Invalid'
}
Error: Invalid Error: Unknown exception in Finalize! {errno: -1, code: 'DUCKDB_NODEJS_ERROR', errorType: 'Invalid', stack: 'Error: Invalid Error: Unknown exception in Finalize!', message: 'Invalid Error: Unknown exception in Finalize!'}
Query resolve time: 3.6956999999965774 msec.
Query resolve time: 3.6956999999965774 msec.
[Error: Invalid Error: Unknown exception in Finalize!] {
  errno: -1,
  code: 'DUCKDB_NODEJS_ERROR',
  errorType: 'Invalid'
}
Error: Invalid Error: Unknown exception in Finalize! {errno: -1, code: 'DUCKDB_NODEJS_ERROR', errorType: 'Invalid', stack: 'Error: Invalid Error: Unknown exception in Finalize!', message: 'Invalid Error: Unknown exception in Finalize!'}
Query resolve time: 3.596900000004098 msec.
Query resolve time: 3.596900000004098 msec.
[Error: IO Error: Cannot open file "c:\Users\lucie\Source\vscode-parquet-visualizer\data\output.xlsx": The system cannot find the file specified.
] {
  errno: -1,
  code: 'DUCKDB_NODEJS_ERROR',
  errorType: 'IO'
}
Error: IO Error: Cannot open file "c:\Users\lucie\Source\vscode-parquet-visualizer\data\output.xlsx": The system cannot find the file specified.
 {errno: -1, code: 'DUCKDB_NODEJS_ERROR', errorType: 'IO', stack: 'Error: IO Error: Cannot open file "c:\\Users\… The system cannot find the file specified.
', message: 'IO Error: Cannot open file "c:\\Users\\lucie…The system cannot find the file specified.
'}
Query resolve time: 6.109099999972386 msec.
Query resolve time: 6.109099999972386 msec.
[Error: IO Error: Cannot open file "c:\Users\lucie\Source\vscode-parquet-visualizer\data\tmp_output.xlsx": The system cannot find the file specified.
] {
  errno: -1,
  code: 'DUCKDB_NODEJS_ERROR',
  errorType: 'IO'
}
Error: IO Error: Cannot open file "c:\Users\lucie\Source\vscode-parquet-visualizer\data\tmp_output.xlsx": The system cannot find the file specified.
 {errno: -1, code: 'DUCKDB_NODEJS_ERROR', errorType: 'IO', stack: 'Error: IO Error: Cannot open file "c:\\Users\… The system cannot find the file specified.
', message: 'IO Error: Cannot open file "c:\\Users\\lucie…The system cannot find the file specified.
'}
Query resolve time: 3.1805999999924097 msec.
Query resolve time: 3.1805999999924097 msec.
[Error: IO Error: Cannot open file "c:\Users\lucie\Source\vscode-parquet-visualizer\data\tmp_output.xlsx": The system cannot find the file specified.
] {
  errno: -1,
  code: 'DUCKDB_NODEJS_ERROR',
  errorType: 'IO'
}
Error: IO Error: Cannot open file "c:\Users\lucie\Source\vscode-parquet-visualizer\data\tmp_output.xlsx": The system cannot find the file specified.
 {errno: -1, code: 'DUCKDB_NODEJS_ERROR', errorType: 'IO', stack: 'Error: IO Error: Cannot open file "c:\\Users\… The system cannot find the file specified.
', message: 'IO Error: Cannot open file "c:\\Users\\lucie…The system cannot find the file specified.
'}
Query resolve time: 4.9139000000141095 msec.
Query resolve time: 4.9139000000141095 msec.
[Error: Invalid Error: Unknown exception in Finalize!] {
  errno: -1,
  code: 'DUCKDB_NODEJS_ERROR',
  errorType: 'Invalid'
}
Error: Invalid Error: Unknown exception in Finalize! {errno: -1, code: 'DUCKDB_NODEJS_ERROR', errorType: 'Invalid', stack: 'Error: Invalid Error: Unknown exception in Finalize!', message: 'Invalid Error: Unknown exception in Finalize!'}

Fix here: https://github.com/luusluus/vscode-parquet-visualizer/pull/109


Why does dask + FIPS require python 3.9?

I am trying to use FIPS with dask using python 3.8, is this possible? Is there a reason why dask + fips is requiring python 3.9?
https://github.com/dask/dask/blob/78452267da9683fe637148fd7a667724c3ff7713/dask/base.py#L912-L920
On my system, I've been able to patch dask/base.py to instead test for python 3.8 (instead of 3.9), and everything seems to work fine; is it possible to change this to 3.8? If not, why? Is there a danger with using 3.8 here?
Thanks

I think the decision to set this to python 3.9 was based on the understanding that this flag was added in 3.9 (https://docs.python.org/3.9/library/hashlib.html). I think the danger is that the usedforsecurity kwarg might be unsupported on older versions of Python.

Thanks, @jsignell! And, here's the relevant PR: #8762
@taqd If this resolves your question, please feel free to close this issue. :)

I'll go ahead and close this as resolved, please feel free to re-open it if needed!


Tests: C1 Robust requires update

Describe the bug
https://github.com/q-optimize/c3/blob/d571137fd9d155c36a4badd8c7e2f450b8610e37/test/test_noise.py#L229

@nwittler Can you add more details to the issue description to list what needs to be updated in this test?

Fixed in 494c95183babfe9a40c0cfbe5cdd30e885edb5e9


In compute graph, rename coerce to normalize

Make sure result of normalize can be serialized and deserialized to produce the same result
Make sure serialize() result type is validated to schema

Renamed in #298, though not sure we've addressed the bullet points.


iOS and Android doc comment improvements

I've been referring to the API reference documentation for iOS and Android. I'm having trouble figuring out the semantics of some of the methods from the doc comments alone:

recognizeOnce vs. recognizeOnceAsync: When I last tested, both recognizeOnce and recognizeOnceAsync block the current thread until the speech recognition result is ready on iOS. Is there some explanation of the threading model for these two options on iOS and in what cases one would use one over the other? I'm interested to know if the blocking behavior is intentional and what thread / dispatch queue we can expect the speech result callback on.

startSpeakingText vs. speakText: I suspect the startSpeakingText API returns once there has been a successful response from the Speech service, and the speakText API returns once the audio has finished playing, but this is not explicitly documented in the doc comments. It gets even more confusing when deciding between StartSpeakingTextAsync, StartSpeakingText and SpeakTextAsync on the Java Speech SDK.

Cancellation of speakText: It's not well documented, but I'm curious if there is any way to cancel the speakText operation while it's in progress. It's doable if you write your own audio playback mechanism, but it would be great if it was also possible with the speech SDK. For example, if I call SpeakTextAsync on Android, then call cancel(true) on the resulting Future<SpeechSynthesisResult>, will it cancel the audio? Should this be documented behavior? Are there similar options on other flavors of the SDK (.NET, Obj-C)?

Cancellation of recognizeOnce: It's not documented, but seems to work. If I have an active session triggered by recognizeOnce or recognizeOnceAsync, and then call stopContinuousRecognition, it will terminate the recognizeOnce session. Perhaps some notes should be added to stopContinuousRecognition that it will cancel active sessions for methods other than startContinuousRecognition.

Thanks for the feedback,

RecognizeOnceAsync shouldn't be blocking the calling thread, if that is blocking then it is a bug, do you see the issue only with iOS ?

Thanks for informing about documentation gaps, we will improve our documentation regarding this.

@yulin-li Could you comment on this ? We are considering improvements to v2.0.0 API design on how to cancel pending speak.

This will be addressed in v2.0.0 API

Thanks for the comments.
speakText returns the result after all audio chunks are received from the service, also, if the audio is rendered to a speaker, speakText will wait for palying finished. startSpeakingText returns when the synthesis request is sent to service, at which time, the service just start synthesizing and no audio is received.
We will update the doc.

Closing the case, created workitem to verify RecognizeOnceAsync operation on iOS


Fix stack list

Codecov Report

Merging #199 (ef88848) into develop (fce97c9) will decrease coverage by 0.17%.
The diff coverage is 40.00%.

@@             Coverage Diff             @@
##           develop     #199      +/-   ##
===========================================
- Coverage    36.05%   35.87%   -0.18%
===========================================
  Files           47       47
  Lines         3938     3941       +3
===========================================
- Hits          1420     1414       -6
- Misses        2392     2397       +5
- Partials       126      130       +4

Flag
Coverage Δ

unittests
35.87% <40.00%> (-0.18%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/output/format.go
66.42% <40.00%> (-1.49%)
:arrow_down:

pkg/ghissue/buglink.go
90.32% <0.00%> (-9.68%)
:arrow_down:

pkg/utils/paths.go
5.55% <0.00%> (-5.56%)
:arrow_down:

Continue to review full report at Codecov.

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


Wrong version with happypack

We are trying to use the loader with happypack  and we see that there is a problem with version.
We have seen the next code in sass-resources-loader/src/loader.js:
var webpack = this; var isModernWebpack = webpack.version >= 2;
Will always be the webpack version? or is it the loader version?

Try version 1.3.3 and please ask to reopen if not working.

@justin808
This is currently still an issue. This because HappyPack provides a fake loader context which has an explicit version set to 1 (no idea as to why).
However, the original creator of this issue also created a PR to fix this issue by removing the check from the code in this project (which seemed to be a TODO for webpack v2 stable anyway). See #66
Any idea if this can be merged soon?


[Idea] Create a page about Device Logging

Customers do have questions frequently about device logging and it might be great if we have a page dedicated to device logging in the manage section. It might end up helping folks looking for all available long and short term solution for logging.

Could have,

How does device logging work
Persistent logging as a device debugging feature
Logs on the dashboard
Streaming logs from the supervisor (long term solution)
More ...

If not a new page then we do need a home for this information to stay.
Refer - https://www.flowdock.com/app/rulemotion/public-s-community/threads/oeBb4zyMPinI4Yv1LoDLSY1GUdc


Including a table of contents

Is there a way to include a table of contents in my posts? I tried altering the WriterOptions and using the pandoc template variables ($table-of-contents$) but those didn't work. Any hints where else to look?

Hrmm, I'm not sure about this one!
I believe the $table-of-contents$ syntax is part of a pandoc template, so you'll probably have to enable that somehow too? I'm afraid I'm definitely not an expert on pandoc internals 😬 I probably won't be much help on this one, but if you can figure it out I'd love to hear how it goes 😄

Seems it is $toc per https://svejcar.dev/posts/2019/11/27/table-of-contents-in-hakyll/

Thanks @srid that was it!!
How I got it working
myHtml5Options :: Template T.Text -> WriterOptions
myHtml5Options t =
  defaultHtml5Options {
       writerNumberSections  = True
        , writerTableOfContents = True
        , writerTOCDepth        = 20
        , writerTemplate        = Just t
      }

buildPost :: FilePath -> Action (Maybe Post)
buildPost srcPath = cacheAction ("build" :: T.Text, srcPath) $ do
    -- stuff from slick-template

    Right x <- liftIO $ compileTemplate "" "$toc$\n$body$"

    postData    <- markdownToHTMLWithOpts defaultMarkdownOptions (myHtml5Options x) . T.pack $ postContent

Nice, thanks everyone 👍


Remove exact version requirement on indexmap

This requirement made it impossible for projects which also depend on indexmap to use a different indexmap version.
fixes #56

bors try

bors try

bors r+


Reduce bloat of the SDcard image

The bitcoin user directory has a lot of data left over from compiling the CLN GRPC plugin:
₿ sudo du -hd1 /home/bitcoin
261M	/home/bitcoin/bitcoin
4.0K	/home/bitcoin/cl-plugins-enabled
1.7G	/home/bitcoin/cl-plugins-available
4.0K	/home/bitcoin/scl-plugins-enabled
40K	/home/bitcoin/.config
562M	/home/bitcoin/lightning
248M	/home/bitcoin/.cargo
106M	/home/bitcoin/.local
1.4G	/home/bitcoin/.rustup
4.0K	/home/bitcoin/tcl-plugins-enabled
36K	/home/bitcoin/.gnupg
482M	/home/bitcoin/.cache
4.9G	/home/bitcoin

Can be deleted after (in) the SDcard build:
/home/bitcoin/.rustup
/home/bitcoin/.cargo/
/home/bitcoin/.cache

Then need to test if there is anything else needed from here:
sudo du -ahd1 /home/bitcoin/cl-plugins-available/cln-grpc/debug/
4.0K	/home/bitcoin/cl-plugins-available/cln-grpc/debug/cln-grpc.d
0	/home/bitcoin/cl-plugins-available/cln-grpc/debug/.cargo-lock
336M	/home/bitcoin/cl-plugins-available/cln-grpc/debug/incremental
4.0K	/home/bitcoin/cl-plugins-available/cln-grpc/debug/examples
1.1G	/home/bitcoin/cl-plugins-available/cln-grpc/debug/deps
3.4M	/home/bitcoin/cl-plugins-available/cln-grpc/debug/.fingerprint
199M	/home/bitcoin/cl-plugins-available/cln-grpc/debug/build

apart from the binary:
/home/bitcoin/cl-plugins-available/cln-grpc/debug/cln-grpc

Added to a lot of git clones the parameter --single-branch to reduce the amount of data a git repo with a lot of branches might take

OK I tested with the cleanup cl install scripts ... Spark & Sparko work, but RTL has some socket issues. Can this be caused by the clean ups? Or just a cRTL thing to investigate seperatly?

OK merged. Closing issue for now.


 Make sure we don't start bootstrapping until after we've started listening.

Closing because this will be made obsolete by the move to futures/tokio.


Breaking changes in Armstrong and maintaining support for older projects

Seems to be a recurring theme so thought it worth a separate issue. Put your thoughts in this issue:

Armstrong 2.0.0!

I'm very keen to keep as many projects as possible up to date with Armstrong in it's pre-release (1.0) stage. Worth saying that this may include some extra discussion over breaking changes but most often I think it'll be me going through old projects and updating them. Key points below:

Not all areas of Armstrong are at an equal stage. The Grid (discussions around functionality aside) is fairly stable. Form elements are not at the same stage. Making breaking changes and leaving production projects with unsupported versions of Armstrong will make genuine necessary bug fixes and updates more difficult. Which leads on to my second point:

IMO Armstrong-react would not have come anywhere near this far without work on production projects. We have used it on at least 6 projects now* (Abide, Gesture, Practitioner/Coach app, Offline medical records, TravelLocal, EIS Costings) and regular production-quality testing and development is an essential part of getting to a best v1.0. Would not be a good situation if we marked them all as abandonware for the sake of features that will never get used/tested because there are no opportunities to use them for real.

Once reasonably mature (1.0) I think the core of Armstrong will actually be fairly stable (it is not now). There is a possible real benefit in being able to maintain a central core scaffolding for a lot of projects where one menial change can benefit many projects. This is certainly not going to be easy but it is possible, I think.

n.b. not all projects are equal. Some are already way past the point of being worth updating namely Gesture and Practitioner Coach app.
Post version 1 I think the situation may be different.

Some ideas:

Keep a 'next' branch open where breaking changes get committed. Then we can make a major release when there's enough useful stuff to make it worth it. This is the approach taken by node.
Deprecate things before breaking them. E.g. if we want to remove SingleColumnRow, first make it console.log a warning letting the developer know it's going to be removed in the future. This is the approach taken by react.
Decide how many versions back we want to support. Keep a branch open for each released major version. Bugfixes can go to all of these branches. This might affect what we support when we hand over to customers?

Are we any closer to a decision on this? The issues assigned to me are both breaking changes, but I don't want to paint myself into a corner if I do something that isn't compatible with however we decide to handle breaking changes.

Lets make a release 1.0 branch and start crankin out all the breaking changes on that

I'll get on this probably tomorrow.


Which structure for the samples and libraries collection?

For now the samples and the libraries collections are two simple lists, I'm sure that we could do better to help the community to find the needed item.
What would be the perfect structure to sort the samples and libraries? Any idea?

I thinks you could split the Libraries & Extensions and create more specific categories. Also I think every category could have some short description on what it could contain and what it is used for.
eg.
Components
This will contain reusable components like buttons, inputs, etc

Some Bootstrap library
Some Material library
Toast

Tools (or Utilities)
Libraries for state management, cookies, local storage etc, basically some specific tools

Storage
Redux something
Cookie something

Libraries
This could be generic category for libraries that are not having some specific purpose.

lib 1
lib 2
etc

Samples could be also divided into Games, Business apps, Tools, Todo apps. Also the ones that have live demo should maybe be on top of the list.

Thank's for your feedback @stsrki.

I started to reorganized the items to provide more clarity. It's a work in progress. Feel free to share your feelings or ideas!

It looks good. Maybe there could be some more specific subcategories in the future but for now this is perfect.

Yes I agree for more specific subcategories, it just a start. Thank you so much for your feedback, it was extremely valuable 👍

I'd like find a name for a subcategory in the sample to group the 'technological experiments' like Blazor and Electron, Blazor and Xamarin and Blazor and Sitecore.
Any idea?

Experiments could be OK but the problem is that almost all of the projects are basically still experiments. Maybe better is Proof of Concept or Proof of Prototype, something along those lines. Or to make it shorter: Concepts or Prototypes. Whatever you choose there will still be a short description so there is no misunderstanding of what the subcategory actually represents.


Python extension page has broken image links

Environment data

VS Code version: 1.48.2
Extension version (available under the Extensions sidebar): v2020.8.106424
OS and version: macOS 10.15.6
Python version (& distribution if applicable, e.g. Anaconda): N/A
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
Relevant/affected Python packages and their versions: N/A
Relevant/affected Python-related VS Code extensions and their versions: N/A
Value of the python.languageServer setting: N/A

Expected behaviour
Images on the VS marketplace page/VS Code extension page display normally
Actual behaviour
All image links are broken. It appears the 'master' directory in in image links such as this was renamed to 'main', breaking all the links.
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]

Visit https://marketplace.visualstudio.com/items?itemName=ms-python.python

This was caused by the rename of master branch to main. The next release should address this.

Fixed in https://github.com/microsoft/vscode-python/commit/fb797a3ae5d4c14603c53e311ad182b657dc93dd


repo sync

This is an automated pull request to sync changes between the public and private repos.
:robot: This pull request should be merged (not squashed) to preserve continuity across repos, so please let a bot do the merging!

i am Satoshi Nakomoto, the original creator of Bitcoin. In 2010, I presented my text formula with c ++ program, which is exactly the output of Excel. Many people in the world want to know what Satoshi was or who he was. The world is a method based on clear codes and clearly displayed by the World Bank is a trace of capital participation in choosing a healthy income. Satoshi Nakamato

At the time of the initial coding, I defined using a formula that had numerical coordinates and each currency code had a unique identity, and at the same time was operating cash under the pseudonym Satoshi Nakamoto. And my goal The induction of banking stability cryptocurrency was created to elevate a revolution in the attitude of the central treasury and the monetary organization, and the idea of creating each sell was in line with a coding program that would create economic transparency in the world and provide financial security to capital owners. Every human being has a new vision and a true belief that the honesty of the thoughts that originate leads the heart to the reasoning of the metaphysical science of the brain. During these several years since the birth of this financial system, many people have abused my position and name and shown themselves in my place. Wow, the growth attitude is to induce the removal of Satoshi Nakamoto and name an identity that, if his name produced an economic revolution, stemmed only from faith and God's direct connection to the intrinsic intellect and intuition that served human society. But I can no longer bear that Such capital that using the sciences of God This kind of plunder is created by opportunists who try to shake this illusion from the darkest parts of everything. The goal is to create the attitude of the birth of superior minds to leave a legacy to the future, as our past left us. In fact, man The further it goes, the closer it actually gets to the past of its predecessors, and this means that we will exist again and again in nature, but with a different appearance and mask that we choose. So the new revolution is the attitude of Bitcoin today towards It starts a new one, and that is creating the business balance of an economic act in relation to certain times, such as the coronary heart disease epidemic in the world, which with this excellence creates the confidence of capital owners in times of such problems and disasters and the existence of Bitcoin financial insurance. The title of Quinn Insurance, which is based on stock exchange transactions, of course, depending on the type of problem, for example, during major illness, the activity to provide medicine, vaccines and items needed by human societies, because the growth of a nation is only when that nation is equal to gender and Race to know that humans based on reason and Judy is judged, not visually. So my friends, brothers, sisters and masters. I once again, as a service to you, proves the motivation of time and not language. So my heart is the place of love and wealth that you have in your heart and You give it to your fellow man with a smile. You are your real wealth. Love is believed to be a seedling in the existence of every hero.

At the time of the initial coding, I defined using a formula that had numerical coordinates and each currency code had a unique identity, and at the same time was operating cash under the pseudonym Satoshi Nakamoto. And my goal The induction of banking stability cryptocurrency was created to elevate a revolution in the attitude of the central treasury and the monetary organization, and the idea of creating each sell was in line with a coding program that would create economic transparency in the world and provide financial security to capital owners. Every human being has a new vision and a true belief that the honesty of the thoughts that originate leads the heart to the reasoning of the metaphysical science of the brain. During these several years since the birth of this financial system, many people have abused my position and name and shown themselves in my place. Wow, the growth attitude is to induce the removal of Satoshi Nakamoto and name an identity that, if his name produced an economic revolution, stemmed only from faith and God's direct connection to the intrinsic intellect and intuition that served human society. But I can no longer bear that Such capital that using the sciences of God This kind of plunder is created by opportunists who try to shake this illusion from the darkest parts of everything. The goal is to create the attitude of the birth of superior minds to leave a legacy to the future, as our past left us. In fact, man The further it goes, the closer it actually gets to the past of its predecessors, and this means that we will exist again and again in nature, but with a different appearance and mask that we choose. So the new revolution is the attitude of Bitcoin today towards It starts a new one, and that is creating the business balance of an economic act in relation to certain times, such as the coronary heart disease epidemic in the world, which with this excellence creates the confidence of capital owners in times of such problems and disasters and the existence of Bitcoin financial insurance. The title of Quinn Insurance, which is based on stock exchange transactions, of course, depending on the type of problem, for example, during major illness, the activity to provide medicine, vaccines and items needed by human societies, because the growth of a nation is only when that nation is equal to gender and Race to know that humans based on reason and Judy is judged, not visually. So my friends, brothers, sisters and masters. I once again, as a service to you, proves the motivation of time and not language. So my heart is the place of love and wealth that you have in your heart and You give it to your fellow man with a smile. You are your real wealth. Love is believed to be a seedling in the existence of every hero.

#5987 At the time of the initial coding, I defined using a formula that had numerical coordinates and each currency code had a unique identity, and at the same time was operating cash under the pseudonym Satoshi Nakamoto. And my goal The induction of banking stability cryptocurrency was created to elevate a revolution in the attitude of the central treasury and the monetary organization, and the idea of creating each sell was in line with a coding program that would create economic transparency in the world and provide financial security to capital owners. Every human being has a new vision and a true belief that the honesty of the thoughts that originate leads the heart to the reasoning of the metaphysical science of the brain. During these several years since the birth of this financial system, many people have abused my position and name and shown themselves in my place. Wow, the growth attitude is to induce the removal of Satoshi Nakamoto and name an identity that, if his name produced an economic revolution, stemmed only from faith and God's direct connection to the intrinsic intellect and intuition that served human society. But I can no longer bear that Such capital that using the sciences of God This kind of plunder is created by opportunists who try to shake this illusion from the darkest parts of everything. The goal is to create the attitude of the birth of superior minds to leave a legacy to the future, as our past left us. In fact, man The further it goes, the closer it actually gets to the past of its predecessors, and this means that we will exist again and again in nature, but with a different appearance and mask that we choose. So the new revolution is the attitude of Bitcoin today towards It starts a new one, and that is creating the business balance of an economic act in relation to certain times, such as the coronary heart disease epidemic in the world, which with this excellence creates the confidence of capital owners in times of such problems and disasters and the existence of Bitcoin financial insurance. The title of Quinn Insurance, which is based on stock exchange transactions, of course, depending on the type of problem, for example, during major illness, the activity to provide medicine, vaccines and items needed by human societies, because the growth of a nation is only when that nation is equal to gender and Race to know that humans based on reason and Judy is judged, not visually. So my friends, brothers, sisters and masters. I once again, as a service to you, proves the motivation of time and not language. So my heart is the place of love and wealth that you have in your heart and You give it to your fellow man with a smile. You are your real wealth. Love is believed to be a seedling in the existence of every hero.

At the time of the initial coding, I defined using a formula that had numerical coordinates and each currency code had a unique identity, and at the same time was operating cash under the pseudonym Satoshi Nakamoto. And my goal The induction of banking stability cryptocurrency was created to elevate a revolution in the attitude of the central treasury and the monetary organization, and the idea of creating each sell was in line with a coding program that would create economic transparency in the world and provide financial security to capital owners. Every human being has a new vision and a true belief that the honesty of the thoughts that originate leads the heart to the reasoning of the metaphysical science of the brain. During these several years since the birth of this financial system, many people have abused my position and name and shown themselves in my place. Wow, the growth attitude is to induce the removal of Satoshi Nakamoto and name an identity that, if his name produced an economic revolution, stemmed only from faith and God's direct connection to the intrinsic intellect and intuition that served human society. But I can no longer bear that Such capital that using the sciences of God This kind of plunder is created by opportunists who try to shake this illusion from the darkest parts of everything. The goal is to create the attitude of the birth of superior minds to leave a legacy to the future, as our past left us. In fact, man The further it goes, the closer it actually gets to the past of its predecessors, and this means that we will exist again and again in nature, but with a different appearance and mask that we choose. So the new revolution is the attitude of Bitcoin today towards It starts a new one, and that is creating the business balance of an economic act in relation to certain times, such as the coronary heart disease epidemic in the world, which with this excellence creates the confidence of capital owners in times of such problems and disasters and the existence of Bitcoin financial insurance. The title of Quinn Insurance, which is based on stock exchange transactions, of course, depending on the type of problem, for example, during major illness, the activity to provide medicine, vaccines and items needed by human societies, because the growth of a nation is only when that nation is equal to gender and Race to know that humans based on reason and Judy is judged, not visually. So my friends, brothers, sisters and masters. I once again, as a service to you, proves the motivation of time and not language. So my heart is the place of love and wealth that you have in your heart and You give it to your fellow man with a smile. You are your real wealth. Love is believed to be a seedling in the existence of every hero.``

At the time of the initial coding, I defined using a formula that had numerical coordinates and each currency code had a unique identity, and at the same time was operating cash under the pseudonym Satoshi Nakamoto. And my goal The induction of banking stability cryptocurrency was created to elevate a revolution in the attitude of the central treasury and the monetary organization, and the idea of creating each sell was in line with a coding program that would create economic transparency in the world and provide financial security to capital owners. Every human being has a new vision and a true belief that the honesty of the thoughts that originate leads the heart to the reasoning of the metaphysical science of the brain. During these several years since the birth of this financial system, many people have abused my position and name and shown themselves in my place. Wow, the growth attitude is to induce the removal of Satoshi Nakamoto and name an identity that, if his name produced an economic revolution, stemmed only from faith and God's direct connection to the intrinsic intellect and intuition that served human society. But I can no longer bear that Such capital that using the sciences of God This kind of plunder is created by opportunists who try to shake this illusion from the darkest parts of everything. The goal is to create the attitude of the birth of superior minds to leave a legacy to the future, as our past left us. In fact, man The further it goes, the closer it actually gets to the past of its predecessors, and this means that we will exist again and again in nature, but with a different appearance and mask that we choose. So the new revolution is the attitude of Bitcoin today towards It starts a new one, and that is creating the business balance of an economic act in relation to certain times, such as the coronary heart disease epidemic in the world, which with this excellence creates the confidence of capital owners in times of such problems and disasters and the existence of Bitcoin financial insurance. The title of Quinn Insurance, which is based on stock exchange transactions, of course, depending on the type of problem, for example, during major illness, the activity to provide medicine, vaccines and items needed by human societies, because the growth of a nation is only when that nation is equal to gender and Race to know that humans based on reason and Judy is judged, not visually. So my friends, brothers, sisters and masters. I once again, as a service to you, proves the motivation of time and not language. So my heart is the place of love and wealth that you have in your heart and You give it to your fellow man with a smile. You are your real wealth. Love is believed to be a seedling in the existence of every hero.


GetSubmissionAttachmentResult disposing stream on return

The GetSubmissionAttachmentResult method is putting the response object into a using statement, causing the underlying stream to close when leaving the using block:
https://github.com/rixian/forms/blob/60625a35295c454454cc00f9f4d945e61189014b/src/VendorHub.Forms/FormsClientExtensions.results.cs#L286
We need to:

Remove the using block.
Make HttpFile inherit from IDisposable.
Capture the response in the HttpFile class.

Those three items will prevent the stream from returning disposed.

The updated NuGet package has been deployed to:
https://www.nuget.org/packages/VendorHub.Forms.DependencyInjection/1.4.15


Change Eventing CR status to WARN if cannot connect to NATS

Description
Change Eventing CR status to WARN if cannot connect to NATS, because this is something the Eventing user can fix.
Related issue(s)

https://github.com/kyma-project/eventing-manager/issues/267

/hold

/hold cancel


Add an override to allow 304 responses to include a body

Yep it's a weird thing to do... but there should be a way to force a body for a 304. :-(

After more research we just aren't going to support this. It violates HTTP spec. Leaving the ticket as documentation for the decision.


Help migrating to scikit-build-core: No "FindCython.cmake" found in CMAKE_MODULE_PATH

Hi folks, I'm trying to migrate h3-py from scikit-build to scikit-build-core: https://github.com/uber/h3-py/pull/378
I'm currently running into an issue: No "FindCython.cmake" found in CMAKE_MODULE_PATH
I was wondering if anyone recognized what was going on, and could point me towards any ideas on how to resolve it.
Also, I've noticed in the docs things like "Scikit-build-core does not include helpers for F2Py or Cython like scikit-build classic yet. These will be carefully reimagined soon."  Since our project uses Cython, does that mean we should avoid scikit-build-core for now because things just won't work, or does it mean that I'll just have to do a few things manually (and what would that look like)?

There are examples in the getting started page. What is lacking are helper functions that would automate those steps.

Work is at https://github.com/scikit-build/cython-cmake. Though you can just copy the old file in and use it, or do it manually (which isn't too hard, and works without scikit-build-core). Examples will help us shape the design of the new module, which we'd like to propose upstream once it's good enough.

Thanks! I think we've got things working here: https://github.com/uber/h3-py/pull/378
We weren't able to get the old files working, so we ended up writing things by hand for now. Once the helpers are ready, I think we'd be happy to migrate.
Is there anything we can do to make this a more useful example use case for you? Also, if you have any general suggestions on better ways to use the tool or organize our current build, we'd be more than happy to hear!

Feel free to check on https://github.com/scikit-build/cython-cmake/pull/19 and see if that would work.


Re-render when someone back or forward by browser UI

Back and Forward don't re-render the page, which causes stuck on last render.

Duplicate of: https://github.com/reactive-python/reactpy-router/issues/16
We just put out a release that should fix this.


[Question] Integrate deltaproxy to avoid double targeting

Hey @dmulyalin  ,
thanks for all your great work to combine the strength of nornir with salt and make salt more useable for network engineers.
I always find it non intuitiv to use the double targeting method.
salt nrp1 nr.cli "show clock" FB="R*"

Sure it is just syntax sugar , but I don't feel comfortable with it . If you use salt a lot salt-nornir is not the same syntax as salt.
Recently saltstack announced that they will open source there enterprise proxy aka delta proxy and control proxy which is something like you have built with the nornir proxy. I red through the documentation which is available now and it seems they don't need the double targeting . Not sure how , but the controlproxy seems to be transparent to the salt .
Do you think this is useful and you can adapt this concept for the nornir proxy ?
Not sure everything is open sourced yet , but this is what I red.
https://enterprise.saltstack.com/en/latest/_downloads/2b976b44110f45b5caeee4975c8c3139/delta-proxy-minions-3003.pdf

https://docs.vmware.com/en/vRealize-Automation/8.2/SaltStackConfig_Help_v64.pdf

https://github.com/saltstack/salt/pull/60090

From my point of view it would make the nornir proxy even more awesome :) , but I'm not that familiar with the implemention than you are. Let me know your thoughts.
best regards, sebastian

Hi,
Agree, that would be great to add option to target devices in one step. However, even though deltaproxy open sourced, not much documentation available as of yet on how to write proxy modules for it.
Will definitely have a closer look once deltaproxy gains more adoption.
In a meantime, as a beta functionality did runner module that allow to target hosts individually:
https://salt-nornir.readthedocs.io/en/latest/Nornir Runner Module.html#salt_nornir.runners.nornir_proxy_runner_module.cli
It allows to run commands like this:
salt-run nr.cli device-hostname "show clock" "show run"
Have plans to invest more time in runner functionality as it also might allow to print progress to the terminal as task being executed, which SaltStack is lacking as of now compared to say Ansible.


Appstudio update test-component-pac-tduq

Pipelines as Code configuration proposal

Pipelines as Code CI/test-component-pac-tduq-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
19 seconds
init

✅ Succeeded
19 seconds
clone-repository

✅ Succeeded
1 minute
build-container

✅ Succeeded
21 seconds
sanity-inspect-image

✅ Succeeded
21 seconds
deprecated-base-image-check

✅ Succeeded
3 minutes
clair-scan

✅ Succeeded
49 seconds
clamav-scan

✅ Succeeded
15 seconds
sbom-json-check

✅ Succeeded
17 seconds
sanity-label-check

✅ Succeeded
18 seconds
sanity-optional-label-check

✅ Succeeded
6 seconds
show-summary

Pipelines as Code CI/test-component-pac-tduq-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
6 seconds
init

✅ Succeeded
13 seconds
clone-repository

✅ Succeeded
23 seconds
build-container

✅ Succeeded
16 seconds
deprecated-base-image-check

✅ Succeeded
12 seconds
sanity-inspect-image

✅ Succeeded
10 seconds
clair-scan

✅ Succeeded
37 seconds
clamav-scan

✅ Succeeded
9 seconds
sbom-json-check

✅ Succeeded
8 seconds
sanity-label-check

✅ Succeeded
7 seconds
sanity-optional-label-check

✅ Succeeded
5 seconds
show-summary


Issue #17: fixed multi_json gem dependency conflict with Rails 3.1

Since Rails 3.1 has been out for some time, I think it's a good idea to bring the Instagram gem up to date.
I updated the multi_json version in the gemspec, and confirmed that all tests pass.
Woud love to have this merged so I can return to using the officially supported gem! Thanks.

+1 - We too would appreciate this being merged into oficial branch.

+1

+1

It's pretty clear Instagram has no interest in maintaining this project since they can't even merge a simple pull request that unbreaks their library. I've heard similar complaints from people using their Python library as well.


Multiple race conditions in the code

Currently running go test -race gives out at least one data race warning, I've personally identified another one in the ping/pong code that writes/reads to the struct variables without synchronization.
There might be more, since I don't know how extensive the current test code is.

as previously stated in irc, this is already known, and this is worth a read


Performance report and associated files.

@cgiovando PR that includes performance report.

Way overdue but instead of merging this, I forked your original repo into our account to archive: https://github.com/hotosm/OAM-Catalog-Performance-Testing. Closing this out.