Add content from design docs to datafusion site

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
(This section helps Arrow developers understand the context and why for this feature, in addition to  the what)
I think it would be really helpful to new / existing contributors and users if we incorporated the implemented design docs into the official datafusion site.  This could probably be done as part of #1821 which i hope to work on in the coming weeks but I wanted to raise separately to discuss (if needed) / collect the documents.
Right now the design docs ive book marked are the following:
https://docs.google.com/document/d/1Z1GO2A3bo7M_N26w_5t-9h3AhIPC2Huoh0j8jgwFETk/edit#heading=h.dpji9hy5exqs
https://docs.google.com/document/d/1BT5HH-2sKq-Jxo51PNE6l9NNd_F-FyyYcyC3SKTnkIA/edit#heading=h.ims7dd49jei1
https://docs.google.com/document/u/0/d/1Bd4-PLLH-pHj0BquMDsJ6cVr_awnxTuvwNJuWsTHxAQ/mobilebasic#
https://docs.google.com/document/d/1ZEZqvdohrot0ewtTNeaBtqczOIJ1Q0OnX9PqMMxpOF8/edit#heading=h.358nvuimx7yr
Describe the solution you'd like
A clear and concise description of what you want to happen.
I dont have a strong opinion yet on where these would fall in the site and the docs will likely need some cleaning up in advance but i would like to better expose this great source of information.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

@alamb @yjshen @houqp @rdettai @Dandandan @yahoNanJing @gaojun2048
If any of you know of other design documents (or know someone else who does) can you please link them here?

It's great!  I read these doc and they is useful to me. I believe that it's a useful information to the new contributor.
There are two options.

put it to the repo subdir
put it to the website

cockroach db use the first method
I consider the first it may be better, because design doc/meeting record is more developer oriented.
cc @alamb @houqp @Dandandan @yjshen

its a fair point.
i know we have @xudong963 has spearheaded getting an RFC setup in place for datafusion.  however, at this time a majority of the docs live in this more informal google doc setup.
personally, i dont think they need to be mutually exclusive.  i think the site can have user guides, tutorials, cookbooks, and design docs (i use the official arrow site as reference) but we can still use RFC thats memorialized in repo as well and only once finalized it can be added to site.
i think in general my idea is just to expose this information and given i plan on doing a datafusion site / docs focus after completing current priorities i thought i would handle this as part of that.

Make sense❤.

I agree the design docs are of great value for every developer; it helps us to get outlines quickly.
My only concern is the potential confusion when docs and actual implementations are out of sync. For example, the memory management doc I drafted previously is quite different from the current code. I gradually implement it, gather comments, and adapts according to reviews. The gap is growing through many follow-up PRs with new ideas or needs.
I'm not aware of good practices of constantly syncing design docs and code. It might be challenging. But if someone has excellent thoughts or best practices on this, I'm willing to follow instructions and always keep docs updated to date from my side. It would ideally reflect the evolutionary flow of our practices and the driving reasons behind them.
Thanks again for the efforts to make our community more developer-friendly.

@yjshen great point. what comes to mind as an option to help with the ongoing maintenance burden is adding inline comments (not doc comments) to the relevant sections of code that link to the attendant design doc. This way if material changes are made at least it should be visible to the person making changes and whoever is reviewing which should hopefully be good reminder to sync up the design doc.

I have never worked on a project where the design docs and code did not drift out of sync over time. I think it is inevitable.
The code always ends up being the final reference. I think best practice is:

Strive to document the code itself as much as possible (including examples)
Document key points / design criteria or rationale (that might not be obvious from code or tests) in extended docstrings as well

FWIW adding links to old design docs is reasonable as future readers may find value in seeing the thought process and evolution that has occured. But I think the effort to keep the design docs up to date is unlikely to be expended

I will work on this over the next few weeks

I think we have incorporated most/all of the content from older design documents that might still be relevant . I don't think this issue is very actionable anymore so I am closing it. Please let me know if you disagree or of there are particular docs that should be ported


Kernel, u-boot and omxplayer improvements

Fix omxplayer build so that we don't need the internet during do_compile.

Refactor the kernel recipes, merging the two inc files together in the process. Drop duplicate, outdated and incorrect code from the recipes.

Update linux-raspberrypi-dev to the 4.13.y series.

Support u-boot on raspberrypi3-64. This requires a change to the method of enabling u-boot as we can no longer just infer this from the KERNEL_IMAGETYPE value. Therefore a new RPI_USE_U_BOOT variable is used.

Fix some minor issues in sdcard_image-rpi.bbclass found whilst implementing the above.

Boot tested on raspberrypi3 (32-bit) and raspberrypi3-64, with and without u-boot in both cases. Everything looks good. On 32-bit I've even confirmed that we can use zImage with u-boot instead of uImage if we want to.
If this is too big to review in one go let me know and I'll split it up further. It's been a productive Friday :)

Updated after testing with wic images. It turns out there was some dependency information missing.

I've updated the Upstream-status tag and added a comment to explain the use of ffmpeg in the omxplayer recipe as I realised it wasn't immediately obvious.

@betafive could you please rebase this? Looks good.

Rebase done, I'm rebuilding this and plan to re-do a couple of boot tests.

Rebase done, all now up to date. I'm still having issues with HMDI output on raspberrypi3-64 but that's not related to these changes.

Thanks @betafive . Merged to master.


Can't format python code

[coc.nvim]: Error on "formatSelected": formatRange provider not found for current buffe
r, your language server doesn't support it.
[coc.nvim]: Error on "format": Format provider not found for buffer: 1
Using the keymapping provided in the coc documentation, when running f to format the visual selection i'm given the error above. Any help?
I"ve added
"diagnostic-languageserver.formatFiletypes": {
"python": ["black", "isort", "docformatter"]
},
"diagnostic-languageserver.formatters": {
"black": {
"command": "black",
"args": ["-q", "-"]
},
"isort": {
"command": "isort",
"args": ["-q", "-"]
},
"docformatter": {
"command": "docformatter",
"args": ["-"]
}
}
To my CocConfig but still no result

Do you have coc-diagnostic installed?

Closing due to inactivity


some fixes

Coverage decreased (-0.01%) to 96.457% when pulling 669e32e70c7110b00507d14b3694f99d4d15e09d on restrict-usage-of-wyhash into 131281828c7d35e32b162b106da25ef85a79a636 on main.


common: fix #248 TLS on FreeBSD

According to document[1][2][3], retry when SSL_get_error returns
SSL_ERROR_WANT_READ/SSL_ERROR_WANT_WRITE.
[1] https://www.openssl.org/docs/ssl/SSL_read.html
[2] https://www.openssl.org/docs/ssl/SSL_write.html
[3] https://www.openssl.org/docs/ssl/SSL_accept.html

ssl_tls_print_error function can be like this because so clamorous.
SSL_ERROR_WANT_READ/WRITE are not fatal error but just indicates
SSL_read, SSL_write, SSL_accept functions to repeat.
@jsorg71 @speidy what do you think?
diff --git a/common/ssl_calls.c b/common/ssl_calls.c
index 8aa575d..7bc33fc 100644
--- a/common/ssl_calls.c
+++ b/common/ssl_calls.c
@@ -562,11 +562,7 @@ ssl_tls_print_error(char *func, SSL *connection, int value)
             return 1;

         case SSL_ERROR_WANT_READ:
-            g_writeln("ssl_tls_print_error: SSL_ERROR_WANT_READ");
-            return 0;
-
         case SSL_ERROR_WANT_WRITE:
-            g_writeln("ssl_tls_print_error: SSL_ERROR_WANT_WRITE");
             return 0;

         case SSL_ERROR_SYSCALL:

+1

Pushed.

looks good, thanks


additional logging when proxy block requests to lightspeed

Follow up to https://github.com/ansible/vscode-ansible/pull/1437 for token exchange blocked by proxy. Debugging the response body for requests to Lightspeed when they fail help us quickly pinpoint if the request is failing when it hits our service or if it is being rejected by the proxy.

@ssbarnea I made the istanbul edits you recommend. Ok if we move forward with this and address the logging recommendations as part of https://github.com/ansible/vscode-ansible/issues/1481?


Improving CPU inference time

I've noticed that the inference time using CPU is quite slow. A simple fix is to add torch.set_flush_denormal(True) for CPU inference. This sets to zero floating point values that are extremely small, resulting in massive speed-up with minimal loss of precision.
In my limited tests on a couple of images, it reduced the inference time from 85minutes to 11minutes with no difference in the segmentation output.

Wow, that's an improvement. Thanks for the great idea. We will test that.


Bump RasterDatasource version

I did not fully understand why there was a breaking release of RasterDataSources. Hopefully, this is just going through.

We updated the default version of Chelsa or something, so you get different data


Catch Errors

How can I catch Distube errors to avoid crashing the entire bot.

use javascript's try catch


Metrics are NAN

I want to train the VAE model
In the set_experiment.py, I set:

    {
        'model_name': 'VAE',
        'hparams': {'window_size': 1024, 'cnn_dim': 256, 'kernel_size': 3, 'latent_dim': 16},
    },

and get the result

Hi, thanks for your comment. It seems that the model is not trained. How many epochs did the training last? Can you please give me all the experiment settings that you set in order to reproduce? Thanks in advance

Hi, thanks for your comment. It seems that the model is not trained. How many epochs did the training last? Can you please give me all the experiment settings that you set in order to reproduce? Thanks in advance

My setting like this:
from lab.nilm_experiments import *
from constants.constants import *
from constants.enumerates import *

experiment_parameters = {
    EPOCHS: 1,
    ITERATIONS: 1,
    INFERENCE_CPU: False,
    SAMPLE_PERIOD: 6,
    BATCH_SIZE: 32,
    ITERABLE_DATASET: False,
    PREPROCESSING_METHOD: SupportedPreprocessingMethods.ROLLING_WINDOW,
    FIXED_WINDOW: 1024,
    FILLNA_METHOD: SupportedFillingMethods.FILL_INTERPOLATION,
    SUBSEQ_WINDOW: 50,
    TRAIN_TEST_SPLIT: 0.8,
    CV_FOLDS: 3,
    NOISE_FACTOR: 0.1,
}

devices = [
    ElectricalAppliances.KETTLE,
    # ElectricalAppliances.MICROWAVE,
    # ElectricalAppliances.FRIDGE,
    # ElectricalAppliances.WASHING_MACHINE,
    # ElectricalAppliances.DISH_WASHER,
]

experiment_categories = [
    SupportedExperimentCategories.SINGLE_CATEGORY,
    # SupportedExperimentCategories.MULTI_CATEGORY
]

model_hparams = [
    {
        'model_name': 'VAE',
        'hparams': {'window_size': None, 'cnn_dim': 256, 'kernel_size': 3, 'latent_dim': 16},
    }
]

model_hparams = ModelHyperModelParameters(model_hparams)
experiment_parameters = ExperimentParameters(**experiment_parameters)

experiment = NILMExperiments(project_name='220614_exp1',
                             clean_project=True,
                             devices=devices,
                             save_timeseries_results=True,
                             experiment_categories=experiment_categories,
                             experiment_volume=SupportedExperimentVolumes.SMALL_VOLUME,
                             experiment_parameters=experiment_parameters,
                             save_model=True,
                             export_plots=True,
                             )

experiment.run_benchmark(model_hparams=model_hparams)
experiment.export_report(model_hparams=model_hparams, experiment_type=SupportedNilmExperiments.BENCHMARK)

the code was trained, as you can see from the image that the accuray and other metrics had been calculated.

I read the code today. Thank you for you contribution to this field. But I think the code is not easy to use. Something setting is not situable, in /torch-nilm-main/benchmark/small/train, sometimes the Dataset is UKDALE and sometimes is REFIT.

Yes it was trained, but with one epoch we dont expect this heavy model to produce great results.
Thanks, I will look into this and come back later.

I read the code today. Thank you for you contribution to this field. But I think the code is not easy to use. Something setting is not situable, in /torch-nilm-main/benchmark/small/train, sometimes the Dataset is UKDALE and sometimes is REFIT.

The small volume contains very few days and it is meant to be used for testing only. Please check the large volume for better results. You could also modify these files with your own dates and datasets, or create your own volume. If you want me I could provide you with the details on how to do that.
I am sorry that you dont find the tool easy to use. It is as straight forward as it can be, provided that you studied the paper and understand the basic modules. However, If you have any requests or ideas on how to make the tool useful please tell me.
I will make a tutorial on how to run the Vae model to help everyone.
Thnx


rust: do not compile libs and bins that do not have tests

Current dependencies on/for this PR:

main

PR #1341

PR #1342   👈

This stack of pull requests is managed by Graphite.

Merge activity

Nov 16, 12:31 AM: @Boshen started a stack merge that includes this pull request via Graphite.


vendor: update etcd to 8ee79997227bf9b34611aee7946ae64735e6fd93

There were some minor fixes, but I'm mostly interested in non-blocking
Status() call. We could simplify our code with that to depend on
stopMu less.
This also requires an update of golang/protobuf.

I dunno what's going on :/ Maybe I should update CI as well.

Current coverage is 54.85% (diff: 100%)

Merging #1862 into master will increase coverage by 0.10%

@@             master      #1862   diff @@
==========================================
  Files           105        105
  Lines         17526      17526
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           9595       9614    +19
+ Misses         6762       6753     -9
+ Partials       1169       1159    -10

Powered by Codecov. Last update 50f82a9...c293a85

Not sure if it's good idea - I updated protobuf to 3.1.0 on CI.

@LK4D4: Do you know if the protobuf update has any impact on docker/docker? I remember last time there were some issues when upgrading grpc.

@aaronlehmann let me check. I don't think that docker does anything at all, but containerd might need to regenerate their stuff.

@aaronlehmann I just downgraded my protobuf to not mess with it in this PR. Now generated files is the same.

Does it make sense to upgrade the vendored protobuf package but generate the files with an earlier version?

@aaronlehmann yeah, etcd's pbs doesn't compile without new vendored protobuf.

I think the grpc or protobuf update in #1763 may be causing random raft test failures. Let's try rebasing this PR to see if it helps.

@aaronlehmann rebased, waiting for CI

LGTM


[Ruby][GLib] internal:io:63: [BUG] object allocation during garbage collection phase

Describe the bug, including details regarding any error messages, version, and platform.
While running the following code,
require 'net/http'
require "arrow"

url = URI('http://localhost:9292')

Net::HTTP.start("localhost", 9292) do |http|
  req = Net::HTTP::Get.new(url)
  http.request(req) do |res|
    res.read_body do |chunk|
      Gio::RubyInputStream.open(chunk)
    end
  end
end

against the server in https://github.com/apache/arrow-experiments/tree/main/http/get_simple/ruby/server, I got an error from the Ruby interprerter:

internal:io:63: [BUG] object allocation during garbage collection phase

See my gist for full details.
@kou said on Zulip and asked that I file a bug report:

It seems that an unexpected Ruby method call is happen via callback while GC.

Component(s)
GLib, Ruby

Thanks for taking a look @kou.


USDT or USDC?

https://github.com/Maxim280596/yo-smart-contracts/blob/a2f693d30faaabe396396318337b5887cddc0847/contracts/YieldOptimizer.sol#L39

https://github.com/Maxim280596/yo-smart-contracts/blob/a2f693d30faaabe396396318337b5887cddc0847/contracts/YieldOptimizer.sol#L585-L590

https://github.com/Maxim280596/yo-smart-contracts/blob/a2f693d30faaabe396396318337b5887cddc0847/contracts/YieldOptimizer.sol#L136

Corrected


kie-server: added ServerInstanceConnected and ServerInstanceDisconnec…

…ted events for fine grained control
this is to fix the kie-wb-common (server management) after droolsjbpm-integration changes merge. More tests and code will come with remove of jbpm runtime as this is just to not fail the build

@mswiderski Thanks!
+1 when the tests pass.


INTERIM fix for 1.2.x support without clause level

This still needs me to pull in the rake task for rebuilding elm.

Observation measures still don't properly label or "unhighlight" the populations if they are "uncalculated".


Information stream is not passed to output

This does not generate output (substituting Start-Job does):
Start-ThreadJob {Write-Information "foo" -InformationAction Continue} | Receive-Job -Wait -AutoRemoveJob

Is this by design?

Changes merged.  Thanks!

Actually I had to revert this change because it causes .Net runtime errors on downlevel systems with v3 and v4 versions of PowerShell.  It looks like we would need to build different binaries to target different platform versions, and I prefer not to do that at least not yet.

This was fixed in #30.


Run on publish removes /etc/cqsm/import/jcr:content/cqsmInclude

Make sure the following path is present on author /etc/cqsm/import/jcr:content/cqsmInclude
Execute "Run on publish" on any script
The entire /etc/cqsm/import/jcr:content/cqsmInclude gets removed

No longer valid

Had a discussion with @piotr-wilczynski and it turned out that's still a bug.
#50 should fix that though.

fixed.


Ternary Vectorisation Framework

Summary
This PR adds a framework for vectorising ternary functions, analogous to that of apply_scalar_binary. It is compatible with all scalar/container combinations, as well as arbitrarily nested containers.
The inc_beta function has been vectorised as an example function
Tests
Testing frameworks for both prim and mix have been added to ensure that both values and gradients are correct when using the vectorisation framework
Side Effects
N/A
Release notes
Added framework for vectorising ternary functions
Checklist

[x] Math issue #2638

[x] Copyright holder: Andrew Johnson
The copyright holder is typically you or your assignee, such as a university or company. By submitting this pull request, the copyright holder is agreeing to the license the submitted work under the following licenses:
- Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
- Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

[x] the basic tests are passing

unit tests pass (to run, use: ./runTests.py test/unit)
header checks pass, (make test-headers)
dependencies checks pass, (make test-math-dependencies)
docs build, (make doxygen)
code passes the built in C++ standards checks (make cpplint)

[x] the code is written in idiomatic C++ and changes are documented in the doxygen

[x] the new changes are tested

@t4c1 There's an odd failure of the expression tests here:
[ RUN      ] ExpressionTestPrim.poisson_lcdf585
./test/expressions/expression_test_helpers.hpp:101: Failure
Expected equality of these values:
  a
    Which is: -726.65
  b
    Which is: -726.65

Any idea what this could be about?

Ah sorry for the ping, figured it out

figured it out

Now I'm curious.  I'm guessing the test uses more precision than the print.
If that's the case, maybe we could change the way it prints by default so this isn't so confusing.

Now I'm curious. I'm guessing the test uses more precision than the print.

Yep, there was a numerical difference because one of the captured scalars was falling out scope, but this wasn't shown by the print

Closing for now to clear PR backlog, will re-open once ready for review

@serban-nicusor-toptal There's an odd Git failure on the Jenkins run, any chance you've seen something like this before>

@SteveBronder this is ready for another look. I ended up adding make_holder to all of the apply_scalar_binary calls, since I was still having issues with scalars falling out of scope

@SteveBronder sorry to double-ping, but I'm hoping to introduce an arbitrary vectorisation framework once this is in. Any chance you'd have time for another look?

@andrjohns, thanks! I'm glad we could pull out the additional Eigen plug-in! That simplifies the burden on developers significantly and I think it'll be worth it in the long run.
There's some additional tech debt added from this PR. It was merged with British spelling of "specialization." I'll put up a PR to address it.
(Yes, choice of American vs British English as the default is arbitrary and wasn't really up for debate, but at this point it's better to be consistent rather than mixed.)


BasisTranslator cannot find ['u2'] basis, but the further optmization does find it

Considering the following example:
from qiskit import *

circuit = QuantumCircuit(2)
circuit.cz(0, 1)
circuit.z([0, 1])
circuit.cz(0, 1)
circuit.h([0, 1])

        ┌───┐   ┌───┐
q_0: ─■─┤ Z ├─■─┤ H ├
      │ ├───┤ │ ├───┤
q_1: ─■─┤ Z ├─■─┤ H ├
        └───┘   └───┘

When transpiling with optimization 2, here is the result:
print(transpile(circuit, basis_gates=['cx', 'u2', 'u3'], optimization_level=2))

     ┌──────────┐
q_0: ┤ U2(0,2π) ├
     ├──────────┤
q_1: ┤ U2(0,2π) ├
     └──────────┘

Reducing the circuit to two U2s. However, when considering a basis without u3, the BasisTranslator fails.
transpile(circuit, basis_gates=['cx', 'u2'])

TranspilerError: "Unable to map source basis {('u3', 1)} to target basis {'u2', 'snapshot', 'reset', 'cx', 'measure', 'delay', 'barrier'} over library <qiskit.circuit.equivalence.EquivalenceLibrary object at 0x12ceb42b0>."

Maybe there is a missing equivalence in SessionEquivalenceLibrary?

I think this is expected, the ['u2', 'cx'] basis isn't universal. If you look at your working example the first run of the basis translator outputs:
                     ┌───────────┐                             ┌─────────┐»
q_0: ─────────────■──┤ U3(0,0,π) ├──────────────────────────■──┤ U2(0,π) ├»
     ┌─────────┐┌─┴─┐└┬─────────┬┘┌───────────┐┌─────────┐┌─┴─┐├─────────┤»
q_1: ┤ U2(0,π) ├┤ X ├─┤ U2(0,π) ├─┤ U3(0,0,π) ├┤ U2(0,π) ├┤ X ├┤ U2(0,π) ├»
     └─────────┘└───┘ └─────────┘ └───────────┘└─────────┘└───┘└─────────┘»
«
«q_0: ───────────
«     ┌─────────┐
«q_1: ┤ U2(0,π) ├
«     └─────────┘

To use the basis translator In the working example the basis translator is going z -> u3. The optimization passes after the basis translator are what simplify things further to just 2 u2s. (the final u2 pair are coming from optimize1qgates which knows how to simplify a u3 to a u2, which it only can do after commutative_cancellation removes the cx gates). To make the basis translator work with just ['cx', 'u2'] you would need a direct path from 'z' to 'u2' which I don't think you can do (at least from my looking at the matrix definitions for both gates, but maybe there is way I don't see)

Agree with @mtreinish , I don't think there's more the basis translator can do here.


[charts/gateway] Independent pmtagger PDB values

Description of the change
Currently, the pmtagger PDB shares values with the gateway pods, like .create, .minAvailable, .maxUnavailable. Create a separate namespace by using .pmtagger.pdb.
Benefits
PDB for ssg and pmtagger can be separate, allowing ssg to operate with a PDB and pmtagger without.
Drawbacks
Change of existing named value
Applicable issues

Addresses #US929445

Additional information
Have comments/questions for Gary - see below.
Checklist

[X] Chart version bumped in Chart.yaml according to semver.
[X] Variables are documented in the README.md
[X] Title of the PR starts with chart name (e.g. [charts/gateway])
[X] If the chart contains a values-production.yaml apart from values.yaml, ensure that you implement the changes in both files

@Gazza7205 this is the sequel to PR #259 , and a follow-up to our email on November 16th. I'm changing some of our internal scripts to only have one pmtagger pod, but as I do that, I need to separate the PDB so that if I fix one replica, a PDB sharing values with gateways/ssg won't prevent node shutdowns. This feels like it will work, but at the same time, is it the right approach? I'm also trying to be cognizant that external users may have lots of different needs and deployment scenarios!


[curl]: Unable to download curl package on x64-windows

I'm encountering an issue while trying to install the curl package using vcpkg on Windows 10 x64. The error arises during the download phase, with WinHttpSendRequest failing and returning exit code 12030.
(base) PS C:\Windows\system32> cd C:\Users\hp070\vcpkg
(base) PS C:\Users\hp070\vcpkg> .\vcpkg install darknet[opencv-base,cuda,cudnn]:x64-windows
Computing installation plan...
The following packages will be built and installed:
  *<EMAIL_ADDRESS>    darknet[core,cuda,cudnn,opencv-base]:x64-windows@2022-03-06#4
  *<EMAIL_ADDRESS>  *<EMAIL_ADDRESS>  * getopt:x64-windows@0#3
  *<EMAIL_ADDRESS>  *<EMAIL_ADDRESS>  *<EMAIL_ADDRESS>  *<EMAIL_ADDRESS>  *<EMAIL_ADDRESS>  *<EMAIL_ADDRESS>  *<EMAIL_ADDRESS>  *<EMAIL_ADDRESS>  *<EMAIL_ADDRESS>  *<EMAIL_ADDRESS>  *<EMAIL_ADDRESS>  *<EMAIL_ADDRESS>  *<EMAIL_ADDRESS>  *<EMAIL_ADDRESS>  *<EMAIL_ADDRESS>  *<EMAIL_ADDRESS>  *<EMAIL_ADDRESS>  *<EMAIL_ADDRESS>  *<EMAIL_ADDRESS>  *<EMAIL_ADDRESS>  * stb:x64-windows@2023-04-11#1
  *<EMAIL_ADDRESS>  *<EMAIL_ADDRESS>  *<EMAIL_ADDRESS>  * vcpkg-cmake-get-vars:x64-windows@2023-12-31
  * vcpkg-get-python-packages:x64-windows@2024-01-24
  * vcpkg-pkgconfig-get-modules:x64-windows@2023-09-06
  *<EMAIL_ADDRESS>  *<EMAIL_ADDRESS>Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet x64-windows...
Compiler found: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe
Restored 0 package(s) from C:\Users\hp070\AppData\Local\vcpkg\archives in 842 us. Use --debug to see more details.
Installing 1/34<EMAIL_ADDRESS>Building<EMAIL_ADDRESS>-- Using cached curl-compression-fix-b30d694a027eb771c02a3db0dee0ca03ccab7377.patch.
-- Downloading https://github.com/curl/curl/archive/curl-8_7_1.tar.gz -> curl-curl-curl-8_7_1.tar.gz...
[DEBUG] To include the environment variables in debug output, pass --debug-env
[DEBUG] Trying to load bundleconfig from C:\Users\hp070\vcpkg\vcpkg-bundle.json
[DEBUG] Failed to open: C:\Users\hp070\vcpkg\vcpkg-bundle.json
[DEBUG] Bundle config: readonly=false, usegitregistry=false, embeddedsha=nullopt, deployment=Git, vsversion=nullopt
[DEBUG] Metrics enabled.
[DEBUG] Feature flag 'binarycaching' unset
[DEBUG] Feature flag 'compilertracking' unset
[DEBUG] Feature flag 'registries' unset
[DEBUG] Feature flag 'versions' unset
[DEBUG] Feature flag 'dependencygraph' unset
Downloading https://github.com/curl/curl/archive/curl-8_7_1.tar.gz
warning: Download failed -- retrying after 1000ms
warning: Download failed -- retrying after 2000ms
warning: Download failed -- retrying after 4000ms
error: Failed to download from mirror set
error: https://github.com/curl/curl/archive/curl-8_7_1.tar.gz: WinHttpSendRequest failed with exit code 12030
error: https://github.com/curl/curl/archive/curl-8_7_1.tar.gz: WinHttpSendRequest failed with exit code 12030
error: https://github.com/curl/curl/archive/curl-8_7_1.tar.gz: WinHttpReceiveResponse failed with exit code 12030
error: https://github.com/curl/curl/archive/curl-8_7_1.tar.gz: WinHttpReceiveResponse failed with exit code 12030
[DEBUG] D:\a\_work\1\s\src\vcpkg\base\downloads.cpp(1031):
[DEBUG] Time in subprocesses: 0us
[DEBUG] Time in parsing JSON: 1us
[DEBUG] Time in JSON reader: 0us
[DEBUG] Time in filesystem: 1316us
[DEBUG] Time in loading ports: 0us
[DEBUG] Exiting after 8 s (8024314us)

CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:32 (message):

      Failed to download file with error: 1
      If you are using a proxy, please check your proxy setting. Possible causes are:

      1. You are actually using an HTTP proxy, but setting HTTPS_PROXY variable
         to `https://address:port`. This is not correct, because `https://` prefix
         claims the proxy is an HTTPS proxy, while your proxy (v2ray, shadowsocksr
         , etc..) is an HTTP proxy. Try setting `http://address:port` to both
         HTTP_PROXY and HTTPS_PROXY instead.

      2. If you are using Windows, vcpkg will automatically use your Windows IE Proxy Settings
         set by your proxy software. See https://github.com/microsoft/vcpkg-tool/pull/77
         The value set by your proxy might be wrong, or have same `https://` prefix issue.

      3. Your proxy's remote server is out of service.

      If you've tried directly download the link, and believe this is not a temporary
      download server failure, please submit an issue at https://github.com/Microsoft/vcpkg/issues
      to report this upstream download server failure.

Call Stack (most recent call first):
  scripts/cmake/vcpkg_download_distfile.cmake:270 (z_vcpkg_download_distfile_show_proxy_and_fail)
  scripts/cmake/vcpkg_from_github.cmake:106 (vcpkg_download_distfile)
  ports/curl/portfile.cmake:11 (vcpkg_from_github)
  scripts/ports.cmake:175 (include)

error: building curl:x64-windows failed with: BUILD_FAILED
Elapsed time to handle curl:x64-windows: 8.1 s
Please ensure you're using the latest port files with `git pull` and `vcpkg update`.
Then check for known issues at:
  https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+curl
You can submit a new issue at:
  https://github.com/microsoft/vcpkg/issues/new?title=[curl]+Build+error+on+x64-windows&body=Copy+issue+body+from+C%3A%2FUsers%2Fhp070%2Fvcpkg%2Finstalled%2Fvcpkg%2Fissue_body.md

Additional Information:
I previously faced a similar issue with the zlib-1.3.1.tar.gz package. To work around this, I manually downloaded the zlib-1.3.1.tar.gz file and placed it in the vcpkg downloads folder. However, this workaround is not effective for the curl package.
Environment:
OS: Windows 11 x64
vcpkg Version: 2024-03-14-7d353e869753e5609a1f1a057df3db8fd356e49d

@harsh782patel, I can't reproduce your error on my machine. please make sure your network is smooth and the proxy is available.
Or if you are using anti-virus software, you can turn it off first.

@harsh782patel, I can't reproduce your error on my machine. please make sure your network is smooth and the proxy is available. Or if you are using anti-virus software, you can turn it off first.

Resetting Firewall settings fixed it. I don't know what caused this issue. But thank you for replying.

Resetting Firewall Settings fixed it.


[Feature Request] Move collapse icon to the left

Existing Component
Yes
Component Name
collapse
Description
This is a very simple functionality but I think it would be better if we can have a way to move the arrow icon to the left. On the previous versions (2.2), this can be done very easily with some css tweaks. But I find it hard on version 2.4.1.

+1

+1
For now I use this css tweak
.el-collapse-item__header {
  direction: rtl;
}

看官方怎样修改了
只需要把箭头(el-collapse-item__arrow)移到 el-collapse-item__header的第一个子元素，再调整一下样式就差不多了
.el-collapse-item__arrow {
  margin: 0 8px;
}
.el-collapse-item__content {
   padding-left: 8px;
}


Restore with local override fails when run multiple times

paket-local.zip
Similar to #2690 but IO Exception with packages folder instead of global cache.
Paket version 5.93.1
Repro:
unpack zip and run paket restore multiple times.
Paket failed with
-> IOException: The file 'Z:\paket-local\packages\packageA\packageA.1.0.nupkg' already exists.

This seems to be related to https://github.com/fsprojects/Paket/issues/2731 and should be fixed if https://github.com/fsprojects/Paket/pull/2734 gets merged.

but #2734 already merged in 5.93.1

oh, missed that... sorry. then it's something different.
i am also experiencing this issue...

PS C:\DEV\OSS_Own\FluentRibbon\Fluent.Ribbon> .\.paket\paket.exe restore --verbose
Paket version 5.96.2
found: C:\DEV\OSS_Own\FluentRibbon\Fluent.Ribbon\paket.dependencies
paket.local override: nuget ControlzEx group Main -> C:\DEV\OSS_Own\ControlzEx\Publish version 4.0.0
Parsing C:\DEV\OSS_Own\FluentRibbon\Fluent.Ribbon\paket.dependencies
NUnit.Console 3.7 already downloaded.
NUnit 3.7.1 already downloaded.
MahApps.Metro 1.5 already downloaded.
NUnit.ConsoleRunner 3.7 already downloaded.
7-Zip.CommandLine 9.20 already downloaded.
NuGet.CommandLine 4.1 already downloaded.
gitlink 2.4 already downloaded.
NUnit.Console 3.7 unzipped to C:\DEV\OSS_Own\FluentRibbon\Fluent.Ribbon\packages\NUnit.Console
NUnit.Extension.NUnitProjectLoader 3.6 already downloaded.
7-Zip.CommandLine 9.20 unzipped to C:\DEV\OSS_Own\FluentRibbon\Fluent.Ribbon\packages\7-Zip.CommandLine
NUnit.Extension.NUnitV2Driver 3.7 already downloaded.
NUnit.Extension.NUnitProjectLoader 3.6 unzipped to C:\DEV\OSS_Own\FluentRibbon\Fluent.Ribbon\packages\NUnit.Extension.NUnitProjectLoader
NUnit.Extension.NUnitV2ResultWriter 3.6 already downloaded.
ControlzEx 4.0.0 unzipped to C:\DEV\OSS_Own\FluentRibbon\Fluent.Ribbon\packages\ControlzEx
NUnit.Extension.TeamCityEventListener 1.0.2 already downloaded.
gitlink 2.4 unzipped to C:\DEV\OSS_Own\FluentRibbon\Fluent.Ribbon\packages\gitlink
NUnit.Extension.VSProjectLoader 3.6 already downloaded.
NUnit.ConsoleRunner 3.7 unzipped to C:\DEV\OSS_Own\FluentRibbon\Fluent.Ribbon\packages\NUnit.ConsoleRunner
StyleCop.Analyzers 1.0.2 already downloaded.
NuGet.CommandLine 4.1 unzipped to C:\DEV\OSS_Own\FluentRibbon\Fluent.Ribbon\packages\NuGet.CommandLine
XamlColorSchemeGenerator 1.0 already downloaded.
NUnit.Extension.NUnitV2ResultWriter 3.6 unzipped to C:\DEV\OSS_Own\FluentRibbon\Fluent.Ribbon\packages\NUnit.Extension.NUnitV2ResultWriter
NUnit.Extension.TeamCityEventListener 1.0.2 unzipped to C:\DEV\OSS_Own\FluentRibbon\Fluent.Ribbon\packages\NUnit.Extension.TeamCityEventListener
NUnit.Extension.NUnitV2Driver 3.7 unzipped to C:\DEV\OSS_Own\FluentRibbon\Fluent.Ribbon\packages\NUnit.Extension.NUnitV2Driver
NUnit.Extension.VSProjectLoader 3.6 unzipped to C:\DEV\OSS_Own\FluentRibbon\Fluent.Ribbon\packages\NUnit.Extension.VSProjectLoader
MahApps.Metro 1.5 unzipped to C:\DEV\OSS_Own\FluentRibbon\Fluent.Ribbon\packages\MahApps.Metro
StyleCop.Analyzers 1.0.2 unzipped to C:\DEV\OSS_Own\FluentRibbon\Fluent.Ribbon\packages\StyleCop.Analyzers
XamlColorSchemeGenerator 1.0 unzipped to C:\DEV\OSS_Own\FluentRibbon\Fluent.Ribbon\packages\XamlColorSchemeGenerator
NUnit 3.7.1 unzipped to C:\DEV\OSS_Own\FluentRibbon\Fluent.Ribbon\packages\NUnit
Performance:
 - Disk IO: 1 second
 - Runtime: 1 second

PS C:\DEV\OSS_Own\FluentRibbon\Fluent.Ribbon> .\.paket\paket.exe restore --verbose
Paket version 5.96.2
found: C:\DEV\OSS_Own\FluentRibbon\Fluent.Ribbon\paket.dependencies
paket.local override: nuget ControlzEx group Main -> C:\DEV\OSS_Own\ControlzEx\Publish version 4.0.0
Parsing C:\DEV\OSS_Own\FluentRibbon\Fluent.Ribbon\paket.dependencies
NUnit 3.7.1 already downloaded.
NUnit.ConsoleRunner 3.7 already downloaded.
gitlink 2.4 already downloaded.
7-Zip.CommandLine 9.20 already downloaded.
NuGet.CommandLine 4.1 already downloaded.
MahApps.Metro 1.5 already downloaded.
NUnit 3.7.1 already copied
MahApps.Metro 1.5 already copied
NUnit.Console 3.7 already downloaded.
NUnit.Console 3.7 already copied
gitlink 2.4 already copied
7-Zip.CommandLine 9.20 already copied
NUnit.Console 3.7 already extracted
NuGet.CommandLine 4.1 already copied
7-Zip.CommandLine 9.20 already extracted
NUnit.ConsoleRunner 3.7 already copied
NUnit 3.7.1 already extracted
gitlink 2.4 already extracted
NUnit.Extension.NUnitProjectLoader 3.6 already downloaded.
NUnit.Extension.NUnitV2Driver 3.7 already downloaded.
NUnit.Extension.NUnitV2ResultWriter 3.6 already downloaded.
NUnit.Extension.NUnitProjectLoader 3.6 already copied
MahApps.Metro 1.5 already extracted
NUnit.Extension.NUnitProjectLoader 3.6 already extracted
NUnit.Extension.TeamCityEventListener 1.0.2 already downloaded.
NUnit.Extension.NUnitV2Driver 3.7 already copied
NUnit.Extension.TeamCityEventListener 1.0.2 already copied
NuGet.CommandLine 4.1 already extracted
NUnit.ConsoleRunner 3.7 already extracted
NUnit.Extension.TeamCityEventListener 1.0.2 already extracted
StyleCop.Analyzers 1.0.2 already downloaded.
NUnit.Extension.VSProjectLoader 3.6 already downloaded.
NUnit.Extension.NUnitV2ResultWriter 3.6 already copied
XamlColorSchemeGenerator 1.0 already downloaded.
StyleCop.Analyzers 1.0.2 already copied
NUnit.Extension.VSProjectLoader 3.6 already copied
NUnit.Extension.VSProjectLoader 3.6 already extracted
Something went wrong while downloading ControlzEx 4.0.0
Message: The file 'C:\DEV\OSS_Own\FluentRibbon\Fluent.Ribbon\packages\ControlzEx\ControlzEx.4.0.0.nupkg' already exists.
  ==> Trying again
XamlColorSchemeGenerator 1.0 already copied
NUnit.Extension.NUnitV2Driver 3.7 already extracted
NUnit.Extension.NUnitV2ResultWriter 3.6 already extracted
XamlColorSchemeGenerator 1.0 already extracted
StyleCop.Analyzers 1.0.2 already extracted
Something went wrong while downloading ControlzEx 4.0.0
Message: The file 'C:\DEV\OSS_Own\FluentRibbon\Fluent.Ribbon\packages\ControlzEx\ControlzEx.4.0.0.nupkg' already exists.
  ==> Last trial
Performance:
 - Disk IO: 255 milliseconds
 - Runtime: 1 second
Paket failed with
-> IOException: The file 'C:\DEV\OSS_Own\FluentRibbon\Fluent.Ribbon\packages\ControlzEx\ControlzEx.4.0.0.nupkg' already exists.
   StackTrace:
        at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
        at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
        at Paket.NuGet.download@673-6.Invoke(Unit unitVar)
        at Microsoft.FSharp.Control.AsyncBuilderImpl.callA@839.Invoke(AsyncParams`1 args)
     --- End of stack trace from previous location where exception was thrown ---
        at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
        at Microsoft.FSharp.Control.AsyncBuilderImpl.commit[a](AsyncImplResult`1 res)
        at Microsoft.FSharp.Control.CancellationTokenOps.RunSynchronouslyInCurrentThread[a](CancellationToken token, FSharpAsync`1 computation)
        at Microsoft.FSharp.Control.CancellationTokenOps.RunSynchronously[a](CancellationToken token, FSharpAsync`1 computation, FSharpOption`1 timeout)
        at Microsoft.FSharp.Control.FSharpAsync.RunSynchronously[T](FSharpAsync`1 computation, FSharpOption`1 timeout, FSharpOption`1 cancellationToken)
        at Paket.RestoreProcess.Restore@520-6.Invoke(Unit unitVar0)
        at Paket.Utils.RunInLockedAccessMode[a](String rootFolder, FSharpFunc`2 action)
        at Paket.RestoreProcess.Restore(String dependenciesFileName, FSharpOption`1 projectFile, Boolean force, FSharpOption`1 group, FSharpList`1 referencesFileNames, Boolean ignoreChecks, Boolean failOnChecks, FSharpOption`1 targetFrameworks)
        at Paket.Program.handleCommand@743-12.Invoke(ParseResults`1 results)
        at Paket.Program.processWithValidationEx$cont@37[a](Boolean silent, FSharpFunc`2 commandF, a result, Unit unitVar)
        at Paket.Program.processWithValidation[T](Boolean silent, FSharpFunc`2 validateF, FSharpFunc`2 commandF, ParseResults`1 result)
        at Paket.Program.handleCommand(Boolean silent, Command command)
        at Paket.Program.main()

In fact if i revert #2734 locally problem disappears, so it's related:)

it seems restore also fails after disabling local override, but in this time with IOException in ~/.nuget

Also there is weird problem with .nupkg naming
If package has version "1.0" in lock file then normal restore copy to "packages" file package.1.0.0.nupgk
but local-overrided restore copy file package.1.0.nupkg does not extract it and does not display any errors.

It's not only that.
paket.local seems to be totally broken. Even though the nupk file gets copied nothing in "lib" etc. gets replaced by it's contents.
Even regular restore seems to be broken, at least from what i expect it to do... If you delete some directories/components in "packages" in previous versions and called "restore" those directories/components got restored. Now they are not restored anymore...

Hmm. I think check/restore content of packages/packagename folder in every restore is too slow. I like restore speed of new paket versions and skipping manually corrupted packages in packages folder is small price for that speed.
But restore errors on enabling/disabling local overriding is annoying problem:(


[$500] Distance - Total amount in report is not reset to 0.00 when changing distance request offline

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

Version Number: 1.4.43-2
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:

Navigate to staging.new.expensify.com
Create a new workspace (so that there is no existing request)
Go to workspace chat
Create a distance request
Go to request details page
Go offline
Click Distance
Add another stop
Return to expense report

Expected Result:
The total amount will change to 0.00 (PROD behavior)
Actual Result:
The total amount does not change to 0.00
Workaround:
Unknown
Platforms:

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

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

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/163d3697-665a-4083-bbbf-31c76ad501b3
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01ed2116286bd18632
Upwork Job ID:<PHONE_NUMBER>692452352
Last Price Increase: 2024-02-20

We think that this bug might be related to #wave5
CC @dylanexpensify

You're right @ishpaul777 – updated it in the proposal

@paultsimura Unfortunately you solution was not working for me, do you mind sharing a working branch if you have it handy? may be i am missing something

Sure, will share within 2-3 hours - I'm afk at the moment

@ishpaul777 here it is: https://github.com/Expensify/App/pull/36960
https://github.com/Expensify/App/assets/12595293/564fe0a5-ed16-4640-adda-5350255ddc0e

Taking over this issue to get the blocker fixed quickly

Thank you!

Payment Summary:

C+ @ishpaul777 paid $500 here


Shouldn't bundle exec prepend to RUBYOPT?

If we have a Gemfile referring to an older version of a gem, e.g.:
gem install pry 0.11.3
echo "gem 'pry', '0.11.1'" > Gemfile
bundle

Then:
ruby -e 'require "pry"; p Pry::VERSION' # => 0.11.3
ruby -r pry -e 'p Pry::VERSION'  # => 0.11.3
ruby -r bundler/setup -e 'require "pry"; p Pry::VERSION'  # => 0.11.1
ruby -r bundler/setup -r pry -e 'p Pry::VERSION'  # => 0.11.1
bundle exec ruby -e 'require "pry"; p Pry::VERSION'  # => 0.11.1
bundle exec ruby -r pry -e 'p Pry::VERSION'  # =>
    bundler-1.16.1/lib/bundler/runtime.rb:313:in `check_for_activated_spec!':
    You have already activated pry 0.11.3, but your Gemfile requires pry 0.11.1.
    Prepending `bundle exec` to your command may solve this. (Gem::LoadError)

My understanding is that the last version fails because the order of requirements if wrong and what gets executed is ruby -r pry -r bundler/setup -e 'p Pry::VERSION'. Thus pry gets required first, and bundler/setup then complains.
If bundle exec prepended RUBYOPT instead, this would not happen, but maybe there are downsides to that I can't think about.

Mmm, RUBYOPT doesn't contain the -r pry, so my question is not relevant to the issue. Ruby itself would have to use RUBYOPT before the command line arguments and I don't see that changing. Sorry for the noise.


Fix crash in replacement component with AndroidView

Fixes #1603. Use the composable key() function only for list content, not component replacement, to avoid unneeded recomposition when the replacement component is AndroidView. This avoids the recreating the AndroidView when the .dcf file is updated.

I'm not sure this is the best fix, but it fixes the crash. I believe they key() function was causing a recomposition of the component replacement that was the AndroidView. By removing the key() function, it no longer recomposes and so the factory function only gets called once. I still have a couple questions.

Is the key() function needed? Looking at documentation, it looks to be helpful for list content changing, which is why I kept it around for that purpose only. However even with it removed, I found no regressions with list replacement content.
I don't know enough about AndroidView to know if we should handle the case that it does legitimately get recreated.

FYI @timothyfroehlich if this goes in, it will needed to be cherry picked into 0.30.

Ok, looks good. I think the CI failure is a config issue (missing NDK)

@timothyfroehlich I believe you are looking at this in another PR.


Move duckdb to suggests instead of imports

add rlang::check_installed() for duckdb and move duckdb to suggests

already solved


Accept CSV Dialect spec

Whenever we read a CSV file, we should also accept a CSV dialect spec.
Currently, the pipeline constructor accepts a CSV dialect spec, and checks it is validly formed, but it is not used when reading a CSV file.

Will come to the party when we replace the custom table iterator with Tabulator https://github.com/frictionlessdata/tabulator-py


⚠ ClamAV has degraded performance

In efbbe5c, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 186 ms

Resolved: ClamAV performance has improved in c1ac50d after 11 minutes.


util/tracing,sql: add builtin to set trace spans' verbosity

PR: https://github.com/cockroachdb/cockroach/pull/61353
From release notes:

Added a new builtin that sets the verbosity of all spans in a given trace. Syntax: crdb_internal.set_trace_verbose($traceID,$verbosityAsBool). [#61353][#61353] {% comment %}doc{% endcomment %}

Fixed by https://github.com/cockroachdb/docs/pull/9907.


Revert campixel and camrelative to old near/far values

Fixes the missing frame (and ticks) in Axis3, e.g. the animation on the front page of the documentation. https://makie.juliaplots.org/dev/
Alternatively we could also adjust
https://github.com/JuliaPlots/Makie.jl/blob/fd54f014fb1c4a3d72a40f1d46b019efa6990404/src/makielayout/layoutables/axis3d.jl#L447-L453
and probably
https://github.com/JuliaPlots/Makie.jl/blob/fd54f014fb1c4a3d72a40f1d46b019efa6990404/src/makielayout/layoutables/axis.jl#L127-L142

Oh boi... Ok, lets merge this - I think the Axis3/Axis cameras need some rework at some point anyways.


Pods are ContainerCreating state for long time

Pods are ContainerCreating state for long time, please advice
kubectl describe pods
Name:           kubernetes-dashboard-64b6f585dd-mctwj
Namespace:      default
Node:           k8s-worker-2/<IP_ADDRESS>
Start Time:     Fri, 02 Feb 2018 17:26:57 +0530
Labels:         pod-template-hash=2062914188
run=kubernetes-dashboard
Annotations:
Status:         Pending
IP:
Controlled By:  ReplicaSet/kubernetes-dashboard-64b6f585dd
Containers:
kubernetes-dashboard:
Container ID:
Image:          k8s.gcr.io/kubernetes-dashboard-amd64:v1.8.2
Image ID:
Port:           8888/TCP
State:          Waiting
Reason:       ContainerCreating
Ready:          False
Restart Count:  0
Environment:
Mounts:
/var/run/secrets/kubernetes.io/serviceaccount from default-token-8nn45 (ro)
Conditions:
Type           Status
Initialized    True
Ready          False
PodScheduled   True
Volumes:
default-token-8nn45:
Type:        Secret (a volume populated by a Secret)
SecretName:  default-token-8nn45
Optional:    false
QoS Class:       BestEffort
Node-Selectors:
Tolerations:
Events:
Type     Reason                  Age   From                   Message

Warning  FailedCreatePodSandBox  59m   kubelet, k8s-worker-2  Failed create pod sandbox.
Normal   SuccessfulMountVolume   59m   kubelet, k8s-worker-2  MountVolume.SetUp succeeded for volume "default-token-8nn45"
Normal   SuccessfulMountVolume   59m   kubelet, k8s-worker-2  MountVolume.SetUp succeeded for volume "default-token-8nn45"
Warning  FailedCreatePodSandBox  59m   kubelet, k8s-worker-2  Failed create pod sandbox.
Normal   SuccessfulMountVolume   59m   kubelet, k8s-worker-2  MountVolume.SetUp succeeded for volume "default-token-8nn45"
Warning  FailedCreatePodSandBox  59m   kubelet, k8s-worker-2  Failed create pod sandbox.

Yes I saw it. I have made an issue in Kelsey's repo kubernetes the hard way.

I have created a pastbin with all logs on this error:
https://pastebin.com/GW2kwcLG

Any plans to change LXC to Docker as of now.

Yes i will change to docker from containerd
I just need to get some time for it 😊

Hi,
Could you try and to a ./destroy.sh, git pull and try again with ./install.sh
I think i have it working now. @vikasgubbi

Hi,
install.sh struck at " Installing loadbalancer"  for more than 80 minutes. vagrant-provition.log output below
==> k8s-loadbalancer-1: Mounting shared folders...
k8s-loadbalancer-1: /vagrant => /root/kubernetes_the_easy_way
==> k8s-loadbalancer-1: Running provisioner: file...
==> k8s-loadbalancer-1: Running provisioner: file...
==> k8s-loadbalancer-1: Running provisioner: shell...
k8s-loadbalancer-1: Running: /tmp/vagrant-shell20180305-9802-ahgkwt.sh
k8s-loadbalancer-1: Installing loadbalancer...
logs folder contents
-rw-r--r--. 1 root root  2716 Mar  5 00:08 cert.log
-rw-r--r--. 1 root root     0 Mar  5 00:08 data-encryption.log
-rw-r--r--. 1 root root   477 Mar  5 00:08 kube-configs.log
-rw-r--r--. 1 root root 75861 Mar  5 00:32 vagrant-provition.log
-rw-r--r--. 1 root root   148 Mar  5 00:32 kubedeploy.log
-rw-r--r--. 1 root root   120 Mar  5 00:32 kubedns.log
-rw-r--r--. 1 root root   149 Mar  5 00:32 post_deploy.log
-rw-r--r--. 1 root root   193 Mar  5 00:32 weavenet.log
Regards,Vikas

I added some extra echo to the script that installs the loadbalacer. I pushed it around the time you can it. It is strange that you don't get more output, if it's the newest commit.
Could you check that you have the newest ? It should say something like downloading binaries...

And please edit the config file and set the number of load balancers to 1 only.
Remember to destroy before trying again.

Hi,
I modified it before running install.sh. My config file
export ETCD_COUNT=1
export ETCD_CPU=1
export ETCD_MEM=512
export MASTER_COUNT=1
export MASTER_CPU=1
export MASTER_MEM=1024
export WORKER_COUNT=2
export WORKER_CPU=2
export WORKER_MEM=1048
export LOADBALANCER_COUNT=1
export LOADBALANCER_CPU=1
export LOADBALANCER_MEM=512
Regards,Vikas

Did you do a git pull before trying?
After printing the last line you get, it should print out another line. It seems strange that that would fail a simple echo command.
The file scripts/install_loadbalancer.sh is not empty right?

Hi,
No its not empty
ls -ltr
total 44
-rwxrwxrwx. 1 root root 1850 Mar  4 23:50 generate_kube_config.sh
-rwxrwxrwx. 1 root root  810 Mar  4 23:50 generate_hosts.sh
-rwxrwxrwx. 1 root root  314 Mar  4 23:50 generated_data_encryption.sh
-rwxrwxrwx. 1 root root 3526 Mar  4 23:50 generate_certs.sh
-rwxrwxrwx. 1 root root 4010 Mar  4 23:50 install-worker.sh
-rwxrwxrwx. 1 root root 5001 Mar  4 23:50 install-master.sh
-rwxrwxrwx. 1 root root   34 Mar  4 23:50 install-loadbalancer.sh
-rwxrwxrwx. 1 root root 1966 Mar  4 23:50 install-etcd.sh
-rwxrwxrwx. 1 root root 1915 Mar  4 23:50 install-corosync.sh
-rwxrwxrwx. 1 root root 1167 Mar  4 23:50 post_deploy.sh
[root@jenkins scripts]# more install-loadbalancer.sh
echo "Installing loadbalancer..."
Regards,Vikas

The file should have many lines of code.
Please do a git pull and check that the file has grown.

Hi,
Getting below mentioned message in vagrant-provition.log file
k8s-loadbalancer-1: Unable to connect to the server: dial tcp <IP_ADDRESS>:6443: getsockopt: no route to host
k8s-loadbalancer-1: Getting token and ca.crt for Traefik from api-server...
k8s-loadbalancer-1: the server doesn't have a resource type "sa"
k8s-loadbalancer-1: Unable to connect to the server: dial tcp <IP_ADDRESS>:6443: getsockopt: no route to host
k8s-loadbalancer-1: Unable to connect to the server: dial tcp <IP_ADDRESS>:6443: getsockopt: no route to host
k8s-loadbalancer-1: Created symlink from /etc/systemd/system/multi-user.target.wants/traefik.service to /etc/systemd/system/traefik.service.
k8s-loadbalancer-1: Redirecting to /bin/systemctl start traefik.service
k8s-loadbalancer-1: Cleaning up...
Regards,Vikas

Could you check if there was any errors on the master machines in the log? Its seems that the floating ip (<IP_ADDRESS>) is not created.
Its also in the vagrant-provition.log file (search for master-1).
Did you do a ./destroy.sh before running ./install.sh ? If not, then try ./destroy.sh and then ./install.sh again.

I found the error. I had removed a line in the Vagrantfile that i shouldnt.
Im fixing it now, and adding HA to the loadbalancers.
I make a post here when i have pushed the changes.

Ok, so i've fixed the problem with Corosync and i have tested the cluster with two masters and two loadbalancers.
Please test again, and see if it works.
I it works, you should be able to get the traefik dashboard at http://<IP_ADDRESS>:8080
Fixed with bf50f0bd9c8c5290c0157bb4f4fc80dbb4214ed5
If it works, please comment and close the issue :)

Hi,
Load Balancer successfully installed,closing the ticket.
Regards,Vikas


asdf

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.


Add License?

Hi, thanks for your LWC component here.
I was wondering if you thought about the license for this repository? .

You're under no obligation to choose a license. However, without a license, the default copyright laws apply, meaning that you retain all rights to your source code and no one may reproduce, distribute, or create derivative works from your work.

Added MIT to the repo.  Thanks!


Did the unused part of physical transaction log get really intact until the logical part is full?

🛑 IMPORTANT: You can get your feedback addressed faster if you use the comment section for the article in which you encountered a problem.
Link to article:
https://docs.microsoft.com/en-us/sql/relational-databases/sql-server-transaction-log-architecture-and-management-guide?view=sql-server-2017.
Problem:
My question is about "Transaction Log Physical Architecture" part.
What doses indicated in this article is "New log records are added at the end of the logical log and expand toward the end of the physical log".
However, what does illustrated as figure makes sense : New log records expand toward the end of the physical log BUT not touch the unused part of VLF since it may use the truncated part in the start file.
In other words, in the expansion operation of the logical file, the truncated part from the start of the physical file is a priority to unused part in the end of the physical file.
It is worth noting that you indicated two figures of the same file with different VLF numbers 4 and 5, which makes confusion.
Thanks for reading.

@yassine1616 Hi. I assume you are talking about these diagrams:

I do see that we are missing VLF 5 in the second diagram. I believe if we added that to the second diagram (and add it filled up before wrapping around to the beginning, that this would fix the problem you're seeing? Let me know if that is the case.

Hi,
First of all thank you. Your reply is very helpful.
Indeed the missed part what confused me.


Introduce --save-intermediate parameter for debugging/comparison purposes.

I've manually integrated it and commited it with your name as commiter. I've been messing rather a lot with the same files.


Create deployment node under mvc in asp.net classic toc

@spboyer
Fixes #2685

Not all of the content, just everything below the first level of links.  The auto-generated page included all levels of the toc in each toc node, which results in massive amounts of duplication.  Take a look at the following sequence:

https://docs.microsoft.com/en-us/aspnet/mvc/
https://docs.microsoft.com/en-us/aspnet/mvc/overview/
https://docs.microsoft.com/en-us/aspnet/mvc/overview/getting-started/
https://docs.microsoft.com/en-us/aspnet/mvc/overview/getting-started/introduction/index

The same links are repeated in all four pages, which is unnecessary and will be a maintenance headache.  What I did to mvc/overview is limit the links to the first level under that node:

https://review.docs.microsoft.com/en-us/aspnet/mvc/overview/?branch=td/deploytoc

It would have been best to auto-generate the pages this way, but it's too late for that, so I propose that we trim the toc node pages as we're in them to make changes.  To make the above sequence internally consistent in the way the toc node pages display I should also update mvc/index.md (show only Guidance and Videos), but we can deal with mvc/overview/getting-started/index.md when we have to make a change to that part of the toc.


KAFKA-3340: add some enhancements to MockConsumer

The MockConsumer class should support adding records concurrently.
This allow to implement more complex test scenarios in which records are added concurrently with the records are polled.
In addition, I've implemented the rebalance callback in simple manner.

Do you want to create a JIRA first? Are you planning to add some test that actually needs this refactoring?

Currently, I am using my own class with these modifications to be able to execute multi-threaded tests. In addition, I need to implement some business logic wihtin the rebalance listener which I need to test too. I will create a JIRA for these modifications.

The Jira is created : https://issues.apache.org/jira/browse/KAFKA-3340
The commit messages has been updated

It's been almost 2 years since anything has been done to this PR. It may be safe to just close this.


A RuntimeError of "loss.backward()"

hello,when I run your code,its has a error, when runnging at "loss.backward()", its has a mistake :"RuntimeError: the derivative for 'linalg_lstsq' is not implemented." How to resolve it,can you help me? what's the pytorch version?

Please use a version of pytorch after 1.1.2


Faulty message when trying to drag and drop git repo folder with dubious ownership

Good evening.
I was adding some of my repositories by drag and drop until one did not want to add up.
As the image shows this is an GIT initialised folder as the .git is present.

From CLI it gives a specific reason to that. This is because I reinstalled Windows yet the folder was already created.

SourceGit should display a specific message too.
Moreover, init the folder is not a good option neither. Instead it should propose to add the folder to safe repos. Then open the repo if added to the list.
It of course works should I do what CLI output proposes.
 git config --global --add safe.directory 'D:/Users/djjax/Desktop/repos/C#/UT-EventUp-Trials'

It's because when you drop a folder, this program will try to find the real git dir (for submodules and worktrees the real git dir is not just under the repository root) via command git rev-parse --git-dir. Then it can open repository and setup filesystem watchers with these paths (The filesystem watchers helps us to determine what's changed and then refresh the UI).

Duplicated #276

I've pushed a commit to show git errors in this popup.


Implement code for CPA dynamics

Implelemt new class for cpa dynamics
create trajectory.py
initialize trajectory.py

Next meeting:
Do we change a name of Trajectory class to Sampling class?
Where do we initialize the traj object among mqc.init and mqc.run_init?


Create examples showing a nix( |-)build

(I believe) The fact that there's only a shell.nix has led at least one person to believe the project is focused on setting up a development environment rather than incorporating PureScript into nix builds, which is not the case.

I realized the flake templates also don't show a nix build


FEATURE:  Improve animation of login/signup form

Feature Summary
I would make a cool animation over the login signup form
Description
To enhance UI
Proposed Solution
No response
Alternatives Considered
No response
Screenshots/Logs
No response
Additional Information

[X] I have searched for existing feature requests
[X] I am willing to help implement this feature
[X] I can provide more details or clarification if needed

@YadavAkhileshh Assign me this issue

@YadavAkhileshh Please assign me this issue

@YadavAkhileshh Assign me this issue i'll complete it within 20mins.
i would add animation like below
https://github.com/user-attachments/assets/dac32d00-c655-4de2-9b64-b38b4c0bee88


Fix non-greedy replacements

Fixes instances where it won't pick up "sc-" for removal:
- sc-187720 - update aws module -
+ [sc-187720] Sc- - update aws module -

Screenshot:


It appears to be possible for saltatlas::dhnsw::dhnsw::query_with_features() to return fewer nearest neighbors than requested

When the total index size is fairly small relative to the parameter k, it appears that query() and query_with_features() can return fewer than k neighbors. Should there be a warning or error thrown when this happens?

It looks like the number of partitions and number of hops plays a role, which makes sense. If there are too many partitions and saltatlas cannot find k neighbors within hops neighboring partitions it seems to return whatever it does find. This is probably an edge case, but I feel that we should throw a warning or something when this happens.


Add prop to disable vibration

I am using this library for a use case where I don't want scans to be repeated. I could manage that in my app by comparing the scan result against the last scan.
I need to disable vibration when I don't want to register a scan, hence I've added a prop vibrate which can be used to disable vibration.
Notes :

vibration prop defaults to true, to preserve the default behaviour of the library.
This does not change with vibrate permissions.
Docs have been updated.

@gauravahujame merged an old PR implementing this: https://github.com/moaazsidat/react-native-qrcode-scanner/pull/100/files
Closing this in favour of the above, please reopen if this issue still stands. Thanks for creating the PR!

thanks.


Update tooltips

This PR addresses issues mentioned here. Some tooltips like consumer lag,time lag and assigned topics are missing as I was not sure where to add them,

@riccardo-forina Please merge if you see fit, I don't have the access to merge PR's

consumer lag,time lag and assigned topics are missing as I was not sure where to add them

I believe consumer lag is the overall lag (we changed the terminolgy at some point)
Time lag was not implemented so I've changed that one to "Do not implement"
Assigned topics is "Topics" in the consumer group page
@MikeEdgar Please confirm :)

@shirimordechay , yes that is correct.


ERROR: Assert `existing_cell' failed in passes/techmap/abc9.cc:516

Steps to reproduce the issue
Using testcase2.il from abc9.tar.gz, run yosys -p "abc9 -lut +/ecp5/abc9_5g.lut" testcase2.il.
Expected behavior
ABC9 completes correctly.
Actual behavior
2. Executing ABC9 pass (technology mapping using ABC9).

2.1. Extracting gate netlist of module `\top' to `<abc-temp-dir>/input.xaig'..

2.1.1. Executing SCC pass (detecting logic loops).
Found 0 SCCs in module top.
Found 0 SCCs.

2.1.2. Executing AIGMAP pass (map logic to AIG).
Module top: replaced 114 cells with 795 new cells, skipped 3 cells.
  replaced 2 cell types:
       1 $_OR_
     113 $_MUX_
  not replaced 3 cell types:
       1 $_AND_
       1 $_DFF_P_
       1 $__DFFS_PP0_

2.1.3. Executing XAIGER backend.
<suppressed ~5 debug messages>
Extracted 341 AND gates and 5018 wires to a netlist network with 4112 inputs and 288 outputs.

2.1.4. Executing ABC9.
Running ABC command: <yosys-exe-dir>/yosys-abc -s -f <abc-temp-dir>/abc.script 2>&1
ABC: ABC command line: "source <abc-temp-dir>/abc.script".
ABC:
ABC: + read_lut <yosys-exe-dir>/../share/yosys/ecp5/abc9_5g.lut
ABC: + read_box <yosys-exe-dir>/../share/yosys/dummy.box
ABC: + &read <abc-temp-dir>/input.xaig
ABC: + &ps
ABC: <abc-temp-dir>/input : i/o =   4112/    288  and =     341  lev =   10 (0.82)  mem = 0.07 MB  box = 0  bb = 0      ABC: + &scorr
ABC: Warning: The network is combinational.
ABC: + &sweep
ABC: + &dc2
ABC: + &dch -f
ABC: + &ps
ABC: <abc-temp-dir>/input : i/o =   4112/    288  and =     668  lev =    7 (0.81)  mem = 0.08 MB  ch =  109  box = 0  bb = 0
ABC: + &if -v
ABC: K = 7. Memory (bytes): Truth =    0. Cut =   60. Obj =  140. Set =  636. CutMin = no
ABC: Node =     668.  Ch =   109.  Total mem =    0.75 MB. Peak cut mem =    0.00 MB.
ABC: P:  Del =  671.00.  Ar =     121.0.  Edge =      347.  Cut =     1568.  T =     0.00 sec
ABC: P:  Del =  671.00.  Ar =     121.0.  Edge =      347.  Cut =     1568.  T =     0.00 sec
ABC: P:  Del =  671.00.  Ar =     121.0.  Edge =      350.  Cut =     1580.  T =     0.00 sec
ABC: F:  Del =  671.00.  Ar =     121.0.  Edge =      353.  Cut =     1541.  T =     0.00 sec
ABC: A:  Del =  671.00.  Ar =     121.0.  Edge =      347.  Cut =     1511.  T =     0.00 sec
ABC: A:  Del =  671.00.  Ar =     121.0.  Edge =      347.  Cut =     1565.  T =     0.00 sec
ABC: Total time =     0.00 sec
ABC: + &mfs
ABC: Timing manager is given but there is no GIA of boxes.
ABC: Error: Abc_FrameUpdateGia(): Tranformation has failed.
ABC: + &ps -l
ABC: <abc-temp-dir>/input : i/o =   4112/    288  and =     348  lev =    7 (0.81)  mem = 0.07 MB  box = 0  bb = 0      ABC: Mapping (K=6)  :  lut =    112  edge =     347  lev =    2 (0.39)  mem = 0.02 MB
ABC: LUT = 112 : 2=1 0.9 %  3=106 94.6 %  4=0 0.0 %  5=3 2.7 %  6=2 1.8 %  Ave = 3.10
ABC: + &write -n <abc-temp-dir>/output.aig
ABC: + time
ABC: elapse: 0.03 seconds, total: 0.03 seconds
<suppressed ~8808 debug messages>
Removed 584 unused cells and 8423 unused wires.

2.1.5. Re-integrating ABC9 results.
ERROR: Assert `existing_cell' failed in passes/techmap/abc9.cc:516.

My suspicion is it's the $__DFFS_PP0 that's tripping up ABC9, however, when you run yosys -p "abc9" testcase2.il you get a different error:
2. Executing ABC9 pass (technology mapping using ABC9).

2.1. Extracting gate netlist of module `\top' to `<abc-temp-dir>/input.xaig'..
ERROR: Abort in passes/techmap/abc9.cc:265.

cc @eddiehung

Hi @ZirconiumX, thanks for the report. It turns out that read_aiger's naming scheme of $<int> clashes with something named in the same vein from the user design:
# Generated by Yosys 0.9+1706 (git sha1 d1cde959, clang 6.0.0-1ubuntu2 -fPIC -Os)
autoidx 12909
attribute \nmigen.hierarchy "top"
attribute \top 1
attribute \generator "nMigen"
module \top
  attribute \src "chess.py:229"
  attribute \unused_bits "1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63"
  wire width 64 $4459

Can you share what the original design was before bugpoint? Does nMigen generate such identifiers too?

Here's the original.tar.gz which includes that wire name and other wires named similarly, so I suspect nMigen does generate such identifiers (presumably for anonymous expressions). I asked @whitequark to have a look on IRC but I'll ping her here too.

Does nMigen generate such identifiers too?

It does. In my view this is clearly a bug in read_aiger.

Does nMigen generate such identifiers too?

It does. In my view this is clearly a bug in read_aiger.

Right. I wasn't sure if this was taken from a previous invocation of abc9. I'll add a unique autoidx prefix.

@ZirconiumX Please give #1632 a try!

#1632 fixes the reported issue here, but there still appear to be a number of other issues (maybe they should go in separate bug reports?)

yosys -p "synth_ecp5 -abc9" testcase2.il (which I'll admit I ran by mistake)

<IP_ADDRESS>. Executing ABC9.
Running ABC command: <yosys-exe-dir>/yosys-abc -s -f <abc-temp-dir>/abc.script 2>&1
ABC: ABC command line: "source <abc-temp-dir>/abc.script".
ABC:
ABC: + read_lut <yosys-exe-dir>/../share/yosys/ecp5/abc9_5g.lut
ABC: + read_box <yosys-exe-dir>/../share/yosys/ecp5/abc9_5g.box
ABC: + &read <abc-temp-dir>/input.xaig
ABC: + &ps
ABC: <abc-temp-dir>/input : i/o =   3599/    284  and =       0  lev =    0 (0.00)  mem = 0.06 MB  box = 0  bb = 0      ABC: + &scorr
ABC: Warning: The network is combinational.
ABC: + &sweep
ABC: + &dc2
ABC: + &dch -f
ABC: + &ps
ABC: <abc-temp-dir>/input : i/o =   3599/    284  and =       0  lev =    0 (0.00)  mem = 0.06 MB  ch =    0  box = 0  bb = 0
ABC: + &if -W 200 -v
ABC: K = 7. Memory (bytes): Truth =    0. Cut =   60. Obj =  140. Set =  636. CutMin = no
ABC: Node =       0.  Ch =     0.  Total mem =    0.58 MB. Peak cut mem =    0.00 MB.
ABC: P:  Del = -100000000.00.  Ar =       0.0.  Edge =        0.  Cut =        0.  T =     0.00 sec
ABC: P:  Del = -100000000.00.  Ar =       0.0.  Edge =        0.  Cut =        0.  T =     0.00 sec
ABC: P:  Del = -100000000.00.  Ar =       0.0.  Edge =        0.  Cut =        0.  T =     0.00 sec
ABC: F:  Del = -100000000.00.  Ar =       0.0.  Edge =        0.  Cut =        0.  T =     0.00 sec
ABC: A:  Del = -100000000.00.  Ar =       0.0.  Edge =        0.  Cut =        0.  T =     0.00 sec
ABC: A:  Del = -100000000.00.  Ar =       0.0.  Edge =        0.  Cut =        0.  T =     0.00 sec
ABC: Total time =     0.00 sec
ABC: + &mfs
ABC: Timing manager is given but there is no GIA of boxes.
ABC: Error: Abc_FrameUpdateGia(): Tranformation has failed.
ABC: + &ps -l
ABC: <abc-temp-dir>/input : i/o =   3599/    284  and =       0  lev =    0 (0.00)  mem = 0.06 MB  box = 0  bb = 0      ABC: Mapping (K=0)  :  lut =      0  edge =       0  lev =    0 (0.00)  mem = 0.01 MB
ABC: LUT = 0 : Ave = 0.00
ABC: + &write -n <abc-temp-dir>/output.aig
ABC: + time
ABC: elapse: 0.00 seconds, total: 0.00 seconds
<suppressed ~7774 debug messages>
Removed 0 unused cells and 7038 unused wires.

I'm pretty sure ABC9 should not be producing majorly negative delay values like that (is it being called on wires alone?).

With testcase1.tar.gz (which was the first pass of bugpoint on chess.il), run yosys -p "synth_ecp5 -abc9" testcase.il to receive

2.50. Executing AUTONAME pass.
Renamed 3261 objects in module top (31 iterations).
<suppressed ~1345 debug messages>
ERROR: Assert `ports.at(it.second->port_id-1) == it.first' failed in kernel/rtlil.cc:1373.

I'm pretty sure ABC9 should not be producing majorly negative delay values like that (is it being called on wires alone?).

This is a "known issue" in the verbose output of &if, and should only happen when the critical path through the circuit is driven by constant(s). A recent bugfix was made upstream to account for the arrival time of constants; it should not appear if there is any logic in the design.

With testcase1.tar.gz (which was the first pass of bugpoint on chess.il), run yosys -p "synth_ecp5 -abc9" testcase.il to receive

2.50. Executing AUTONAME pass.
Renamed 3261 objects in module top (31 iterations).
<suppressed ~1345 debug messages>
ERROR: Assert `ports.at(it.second->port_id-1) == it.first' failed in kernel/rtlil.cc:1373.

This looks to be an autoname issue, give #1633 a try

Indeed, #1633 solves that issue, thank you!


Cursor API

Motivation
As mentioned in #673, the iterator API is nice for scanning an entire table, but does not provide you a way to arbitrarily reposition where in the queried range you are.
The iterators are double ended, and calling next moves an internal left page forward, while calling next_back moves an internal right page backwards. This means that it is not possible to get the previous element in an iterator.
It is also not possible to arbitrarily reposition the iterator. In some use cases, you might scan a large range, skip a portion of the range, or go back. For these scenarios, it is only possible to skip a portion of the range, but it is inefficient since it ends up iterating all pages that you want to skip.
The solution would be to add cursors, preferably an immutable one (for just reading) and a mutable one (for manipulating pages).
As an example, reth makes heavy use of cursors, and we have another concept for an iterator (called a "walker", but logically similar).
Proposal
redb is based on BTreeMap's API, and there is currently plans to add a cursor API, which is available in nightly: https://github.com/rust-lang/rust/issues/107540
On top of the public API in that proposal, I would like the cursors to have some additional functionality:

The ability to reseek to the first element in the table (first)
The ability to reseek to the last element in the table (last)
The ability to seek to a specific key (we call this seek_exact, the cursor will not move if the key is not found)
The ability to seek to a key less or greater than a given key. In our API this is called seek and is somewhat equivalent to opening a new cursor in the RFC above with e.g. lower_bound or upper_bound

Thanks for the additional details. I see how this is fundamentally different from an iterator now.
Do you want this functionality for convenience or because you expect it to improve performance?
While not as convenient, I think all of these functions can be achieved by calling range() again on the original table from which an iterator was retrieved.

I think it's mostly for convenience but I would also expect there to be a small performance gain vs. calling range every time. How much, I'm not sure. To implement the functionality above we would need to keep track of what we are currently pointing to ourselves, and call range(..) every time, which will do 2 searches (one for the left page and one for the right page), correct?

yes, although that could probably be optimized, so that it lazily performs the searches. Would take a bit of work to refactor it, but I think it would work.
Ya, the convenience makes sense. I think you should be able to prototype that on top of the existing API. Want to do that, and then I can take a look at how it worked out for you?

Gonna close this for now, but feel free to re-open it after std has stabilized its interface and I'll take another look


Synthetic dblclick code paths

https://github.com/Leaflet/Leaflet/blob/0d06c4256f4312a7122c23626c8bd36e14269d01/src/dom/DomEvent.js#L88-L92
https://github.com/Leaflet/Leaflet/blob/0d06c4256f4312a7122c23626c8bd36e14269d01/src/dom/DomEvent.js#L135-L137
This code (following it's counterparts in DomEvent.DoubleTap.js) intended to ensure that dblclick events are fired consistently in all browsers, for any input type (mouse/touch/pen).
Original issue: https://github.com/w3c/pointerevents/issues/171
But since original issue filed there are some changes in browsers support.

Unable to test myself, but in #5881 @perliedman said that ie also supports it natively.
Unable to test myself, but according recent bug reports, Safari (at least on iOS/iPad) does not support it natively.

Ideally it would be to use feature detection instead of UA sniffing, but I do not see proper way for this case.
So I need someone to confirm (or disprove) these observations.
I suppose it's time to drop some crutches out of Leaflet's codebase.
And in any case: related parts of code must be commented a way more than now: without exactly knowing precise reasons behind it, all that conditions look like some cryptic magic.

P.S.
I do not quite understand purpose of && addDoubleTapListener and && removeDoubleTapListener conditions: they should be always true, as both variables are imported from DomEvent.DoubleTap.js.

Proposed changes are here: https://github.com/Leaflet/Leaflet/commit/77afc140c58cd068ace4d9d66b870a2967884b22

Table in https://github.com/w3c/pointerevents/issues/171 needs to be updated, as browsers are evolving.

[x] in Firefox: pointer events can be disabled with special flag.
We need to check if touch itself do not fire dblclick in this case.

in Android FF 68.5 dblclick is fired even when pointer events are disabled.

[x] touch emulation via dev tools

Chrome: no dblclick. And UIEvent.detail is always 1.
Well, I do not feel that we need special handling for this case.

Firefox: dblclick is fired, but event sequence is strange:
it's fired immediately after first click

[ ] another special case: mouse attached to mobile device

Firefox: fires mouse events when moved without pressing buttons. But when some button is pressed - then it primary events become touch.
(to be continued)

BTW, after #7023 will be merged, I do not see strong reason to handle dblclick in DomEvent.js.
I propose to separate it into independent handler, like L.Map.Tap.
Thus we will be able to disable it easily, which can be convenient while debugging.

Thus we will be able to disable it easily, which can be convenient while debugging.

Otherwise we should introduce another way to override this behavior.
E.g. special global switch.

More straight-forward way of implementing synthetic dblclick would be relying on UIEvent.detail property.
It is supported in all browsers except of legacy Android Webview (which seems not supported by us anyway: #7013).


ENH: Discrete Time Riccati Solver improvement and a new wrapper "balance"

Recently, in gh-6572, a more accurate solver has introduced.
This PR makes it more accurate such that all examples in the test cases pass (with acceptable accuracy). In a few cases, surpasses the matlab equivalent
The improvement is due to the better preconditioning of the data matrices which is known as balancing. Balancing can also be used by the users prior to matrix decompositions as a standalone fashion and hence the new basic function "balance".
More details are added to both function docstrings and tested are modified accordingly.

Hmm why is this still tracking the previous PR, I don't know

Are you making the pull request from the correct branch? Cf.
https://docs.scipy.org/doc/numpy/dev/gitwash/development_workflow.html
for some git advice.


Prefer usage of pytest rather than py.test

py.test was chosen over pytest but it is not planned for removal yet [1].
Anyway, it is a good thing to ensure we are using the correct Python version
with the right pytest installed, so using python -m pytest is recommended.
[1] https://github.com/pytest-dev/pytest/issues/1629

Codecov Report

Merging #1058 (3bf9577) into master (1274d86) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1058   +/-   ##
=======================================
  Coverage   95.77%   95.77%
=======================================
  Files          61       61
  Lines        3976     3976
=======================================
  Hits         3808     3808
  Misses        168      168

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 1274d86...3bf9577. Read the comment docs.

Cheers, @BoboTiG!


(PUP-6339) Bind lookup adapter to compiler instead of environment

Before this commit, the LookupAdapter used for providing environment and
module data providers, was attached to the current environment. This
caused all caches to have the same lifecycle as the environment which
is wrong. The caches should not survive between compilations.
This commit changes the LookupAdapter so that it instead attaches itself
to the compiler. This ensures that a new LookupAdapter instance (and
and hence, new caches) are created for each compilation.

CLA signed by all contributors.


Basic support for the network API.

Hi, I implemented basic support for the network API introduced in 1.21 / docker 1.9. It doesn't do everything yet, but allows to list, create and remove networks.

The tests are failing because CircleCI is still on docker 1.8. Can you update it?

@teetrinkers Thanks for the PR. Can you use an assumeTrue for the version issue? https://github.com/spotify/docker-client/blob/master/src/test/java/com/spotify/docker/client/DefaultDockerClientTest.java#L1198
We're probably not going upgrade our CircleCI setup to docker 1.9 because we're still using the previous docker version for production and we'd like to not deviate too much.

#307 Looks more full featured. Let's replace this with that one?

Hi, I just came back from christmas. #307 looks great!


Minify

As a user I would like the content to be served up minified.

Resolved https://github.com/jfehrman/decision_json_editor/commit/59c054f127d63148effc737f5f8e956a3daa9acc.


Deep find all bug

Demonstrates #327

This looks good. Squash commits, add to CHANGELOG, fix the build please.

Resolved in https://github.com/hashie/hashie/pull/378.


Type definitions

I threw this .d.ts file together and thought others might find it useful.

 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.You have signed the CLA already but the status is still pending? Let us recheck it.

 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.You have signed the CLA already but the status is still pending? Let us recheck it.

Thank you very much for adding the type definition!
I'm very curious that does the Google Apps Script support TypeScript today? Will the script editor benifite from this type file?

The definitions let you use typescript LSP when developing locally. I like TAP for function/integration testing, so being able to run some tests in the apps script env is great 😃


created holes for tetrahedralize(::Mesh, ...)

see issue #17

Codecov Report

Merging #18 into master will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master      #18   +/-   ##
=======================================
  Coverage   80.19%   80.19%
=======================================
  Files           4        4
  Lines         101      101
=======================================
  Hits           81       81
  Misses         20       20

Impacted Files
Coverage Δ

src/api.jl
75.00% <100.00%> (ø)

Continue to review full report at Codecov.

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

Thank you!
Do you have some code handy to test this?

Any update on this? I forgot what my code was to test this, but maybe I'll take another look sometime if it helps complete this PR.

Yeah hard to tell if it works without a test ;) I don't really know tetgen  very well... Tagging @j-fu for a review!

Alright, I do have a test which works, but it requires a whole bunch of dependencies (my Grassmann and FlowGeometry and also other packages like MiniQhull). So these tests are not suitable for putting into this repository. However, I can assure you that this change I made enables hole syntax.
In my example, I first generate some data using FlowGeometry.cubesphere() to generate the points of a sphere inside a cube. Then after generating those points, I can pass them onto
result = tetrahedralize(FlowGeometry.cubesphere(), "vpq1.414a0.1";holes=[TetGen.Point(0.0,0.0,0.0)])`

This example is too complex to really share with you, so @j-fu need to come up with your own simpler example, as I don't know how you prefer to generate examples for this repository.

Essentially, this repo contains  two APIs for TetGen, one which is based on GeometryBasics.Mesh which AFAIU does not convey all possibilities of TetGen.  I added another API (after your PR) which is essentially array based (very much like that  for Triangulate.jl).  It is not hard for me to provide a hole example for this one, and from there you can see how to make a hole example for the mesh based API.

GeometryBasics.Mesh which AFAIU does not convey all possibilities of TetGen

Which cases are those?

Sounds good to me, I don't really need the example personally, and I don't necessarily need this PR to be merged either, as I also have my own mesh API built into my Grassmann package, and I already have a custom tetrahedralize command for my own mesh API based on Grassmann, which does not depend on merging this PR.
This PR is just a courtesy to help you understand the simple changes needed to tetrahedralize to enable holes syntax.

GeometryBasics.Mesh which AFAIU does not convey all possibilities of TetGen

Which cases are those?

An example is what I just explained above: GeometryBasics.Mesh does not specify holes in it, which is a TetGen feature.

Hi, just pushed an example how to serve the TetGen API:
https://github.com/JuliaGeometry/TetGen.jl/blob/b4f6630025b5fc63c2c2d598ff65689dc4c7c836/examples/examples.jl#L49
One needs to create  subregion encircled by facets an put a "holepoint" into it.
See also  http://wias-berlin.de/software/tetgen/1.5/doc/manual/manual006.html#ff_poly
and https://juliageometry.github.io/TetGen.jl/stable/#TetGen.RawTetGenIO

GeometryBasics.Mesh which AFAIU does not convey all possibilities of TetGen

Which cases are those?
May I miss something  due to insufficient knowledge how to work with the mesh struct so please correct me on that:
What comes into my mind  in addition to holes:

different cell region markers: instead of a hole point I can place  a "region point" and spread its marker (and a maximal volume) to a whole subregion, creating some integer "cell meta" on output,  very much like boundary facet markers
local refinement via callback (but this of course wouldn't go into the Mesh API I think it already now could be used together with it)

However, this pull request does address the holes issue for tetrahedralize with GeometryBasics.Mesh inputs by providing the keyword holes as an extra argument. This is the least amount of work solution possible to resolve the compatibility issue.

 Sorry to pollute the discussion with this again.

I hope the Julia Stewards all go to hell for the harm they're causing to the development of open source software.


Can not execute 'bower update'

I'm trying to get the material start, the cloning of the repository has been done successful, but when I type 'bower update' I get the follow error:
50212 info install<EMAIL_ADDRESS>50213 info postinstall<EMAIL_ADDRESS>50214 verbose unsafe-perm in lifecycle true
50215 info<EMAIL_ADDRESS>Failed to exec postinstall script
50216 error<EMAIL_ADDRESS>postinstall: bower update
50216 error Exit status 1
50217 error Failed at the<EMAIL_ADDRESS>postinstall script.
50217 error This is most likely a problem with the material-start package,
50217 error not with npm itself.
50217 error Tell the author that this fails on your system:
50217 error     bower update
50217 error You can get their info via:
50217 error     npm owner ls material-start
50217 error There is likely additional logging output above.
50218 error System Windows_NT 6.2.9200
50219 error command "C:\Program Files\nodejs\\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install"
50220 error cwd C:\Users\EnriqueJose\Desktop\material-start
50221 error node -v v0.10.32
50222 error npm -v 1.4.28
50223 error code ELIFECYCLE
50224 verbose exit [ 1, true ]

I think the appropriate command is bower install
This will install all the package dependencies in the bower.json file to app/bower_components.

After running the npm install, behind the scenes of this command "bower install" will run but I get the error, and bower_components directory is not created

@palacios335  - you are able to use bower install or bower update within other projects on your WinNT machine ?

I can't.  Proxies often cause issues with bower and npm. @palacios335 Is this still an issue for you?

@mprentic-harris yes it 's a corporate network

Thanks. It was the proxy configuration
2016-01-29 13:55 GMT-06:00 Thomas Burleson<EMAIL_ADDRESS>
Closed #23 https://github.com/angular/material-start/issues/23 via
441dbc9
https://github.com/angular/material-start/commit/441dbc9176b3f0d5cca4a3c3ee20c0784a6d4ca4
.
—
Reply to this email directly or view it on GitHub
https://github.com/angular/material-start/issues/23#event-531827777.


Week 1 Exercise 8

Hello,
On Week 1 Exercise 8, I wasn't too sure what something meant:
"Create a constant called tagLine and assign it a basic HTML paragraph. Set it to work regardless of letter case."
What exactly does it mean to set it to work?
Also, a common convention is to use all-uppercase letters when working with constants so tagline should really be TAGLINE.
Thank you.

Thank you for the feedback.
This is regarding the case_insensitive flag for the define() function. (https://www.php.net/manual/en/function.define.php) Setting the flag to true would ignore the case sensitivity. The wording could be clarified if you have a suggestion.
However, based on the PHP documentation flag has been deprecated as of PHP version 7.3.0, so we may need to update the exercise.
Please let me know your thoughts on this part of the content.
Thanks!


Changed dependency to AndroidAsync lib 2.1.7

Like the title says... dependency update to hopefully fix AndroidAsync issue.
The SDK version is bumped to 1.4.1.
Gradle version was updated as well.

LGTM 👍


获取全局锁失败，报错信息：io.seata.rm.datasource.exec.LockConflictException：get global lock fail

操作某条记录时会一直报这个错误：io.seata.rm.datasource.exec.LockConflictException：get global lock fail
经查询seata的这两个表(global_table和lock_table)都有这条记录，发现这条记录在global_table的状态字段(status)为5，需要手动删除这些记录后才能恢复正常，请问这个问题如何解决

Please check whether the other branch transactions included in this xid have been automatically rollbacked.

When the status is 5, a rollback will be automatically performed, and no manual intervention is required. If you encounter a situation where a data record cannot acquire a lock, you should provide the server logs corresponding to that specific time point, along with a description of the operations you performed.

@slievrly @funky-eyes 业务场景是同一个接口被触发多次，这个接口是会抛出异常的，并发情况的其中一次请求就会一直处于RollbackRetrying状态，global_table表上status字段值为5，timeout为60000，这条记录会一直挂着，不会自动执行回滚。其它接口对这条记录操作时就出现io.seata.rm.datasource.exec.LockConflictException：get global lock fail的报错，这个问题我们已经复现了

seata的版本是1.1.0

@funky-eyes Is this a bug in the lower version of Seata? This abnormal interface has nested transactions

I'm not sure, and I won't go back to review the code of earlier versions to help troubleshoot this issue. Even if I find the problem, it doesn't mean the latest version has the same issue. Moreover, to my knowledge, at least the last three versions do not have this problem. If you're interested, you can check the Seata changelog to see what changes have occurred between each version.


Build failed after estraverse upgraded to 4.3.0

Expected Behavior
The ui5 build works.
Current Behavior
The ui5 build is failed.
Steps to reproduce the issue

Execute ui5 build command and the error thrown

Context

UI5 Module Version (output of ui5 --version when using the CLI): {...}
Node.js Version: 8.12.0
npm Version: 5.6.0
OS/Platform: SUSE Linux
Browser (if relevant): N/A
Other information: N/A

Affected components (if known)

[X] ui5-builder
[ ] ui5-server
[ ] ui5-cli
[ ] ui5-fs
[ ] ui5-project
[ ] ui5-logger

Log Output / Stack Trace
16:33:14 > Task :au-commonshell:au-commonshell-sap.sf.xlite.min-web:ui5Build FAILED
16:33:14 /tmpfs/jenkins/workspace/V4-PR_au-commonshell_PR-106-TZNXHPMO2RT2XDEYRYSBAOKX7MGM3KVWMEPWI2PLFL2S46VNLH2A/commonshell/au-commonshell-sap.sf.xlite.min-web/node_modules/@ui5/builder/lib/lbt/analyzer/JSModuleAnalyzer.js:179
16:33:14 			throw new Error(`unknown estree node type '${type}', new syntax?`);
16:33:14 			^
16:33:14
16:33:14 Error: unknown estree node type 'ImportExpression', new syntax?
16:33:14     at Object.keys.forEach (/tmpfs/jenkins/workspace/V4-PR_au-commonshell_PR-106-TZNXHPMO2RT2XDEYRYSBAOKX7MGM3KVWMEPWI2PLFL2S46VNLH2A/commonshell/au-commonshell-sap.sf.xlite.min-web/node_modules/@ui5/builder/lib/lbt/analyzer/JSModuleAnalyzer.js:179:10)

Hi colleague,
I am from the SAP Sucessfactors, and we are using the ui5 builder in our daily build. Today we found an issue in ui5-builder and all the UI builds are failed.
Per my investigation, there is a new release of estraverse in several hours ago, it imported a new property called 'ImportExpression'. And I find in the JSModuleAnalyzer.js in ui5-builder, it will check all the properties exposed by estraverse.
https://github.com/estools/estraverse/commit/7fc4475d1b744cc3b90f0abe756c4934884ce8de#diff-16e183a8233505f249340c48ca541fd2
Since the ImportExpression is not defined in the JSModuleAnalyzer.js, an error would be thrown and the build is failed.

The error is thrown by some self-protecting check of the JSModuleAnalyzer.
When the set of node types in an ASTree is extended (as it was the case now for dynamic imports) and when the analyzer doesn't know the semantics of the new node type, it could take wrong decisions. To avoid this, it compares its set of know types wit the set of types exposed by estraverse and throws in case of a mismatch.
We just have to think how to better integrate this in our delivery. An update of estraverse now immediately makes all new installations of the tooling fail, which is quite bad and was not the intention of the check. On the other side, the incident shows that the test makes sense. We won't become aware of extensions beforehand.
Maybe we can limit the failure to cases where the new node type really occurs in the analyzed AST or we accept some (suboptimal) default behavior for new nodes (e.g. all code branches are assumed to be unconditional, might result in too many eager dependencies). I just winder how to get feedback then.

Mhmm, after naively applying a fix, I see from the travis build failures that our package-lock.json should have prevented this issue.
@zhangliangyi Can you elaborate on how you install the ui5 tooling?
@matz3, @RandomByte I guess the only cross package-manager solution on dependency level is to use a fixed dependency (which we won't like) or implementing an alternative strategy in the code (as sketched above)

@codeworrior
I have added some workaround to lock the version of estraverse in the package.json in our components to release the build block. So we can wait for the release of ui5-builder and then remove the workaround .

@codeworrior

what about using this for a daily test execution to detect such kind of changes?
unfortunately, there is no cross package manager mechanism (AFAIK) to fix dependencies rather than defining them directly in the project, but this would not have helped here as the build tooling is provided as dependencies by an intermediate Successfactors project

@codeworrior: I guess the only cross package-manager solution on dependency level is to use a fixed dependency

@petermuessig: unfortunately, there is no cross package manager mechanism (AFAIK) to fix dependencies rather than defining them directly in the project, but this would not have helped here as the build tooling is provided as dependencies by an intermediate Successfactors project

No. Projects should fix their dependencies using lockfiles.
By default, npm always generates a package-lock.json file which locks the versions of all modules used in the project (including transitive dependencies).
Yarn automatically generates a yarn.lock file which serves the same purpose
The usage of lockfiles prevent issues like the one reported here from occurring in existing projects where no changes to the package.json have been made.
That's why npm and Yarn generate them automatically and it is recommended to check them into your source control.

UI5 Builder release v1.4.1 is now compatible with<EMAIL_ADDRESS>

@RandomByte ,
Thanks for the insight into the purpose of package-lock.json
For background, SuccessFactors has hundreds of repositories/applications each having several package.json files, and most of these have references to internal SuccessFactors dependencies that look similar to the following:
{
  "dependencies": {
    "@sf/<name>": "git+https://git@github.wdf.sap.corp/<org>/<name>#semver:^1.0.0
  }
}

The usage of semver:^1.0.0 allows us to push changes to hundreds of separate applications/repositories at once without each of the owners of those repositories to do anything, but it wouldn't work if the package-lock.json files were being used. So recently I think we started adding the package-lock.json to .gitignore so that we would always be up-to-date with respect to the declared versions in the respective dependencies. Also, I think there is a bit of code that executes in the Jenkins build that we use that removes the package-lock.json file.
@zhangliangyi ,
Can you help to clarify if I missed something or give more background on this?
I think we might want to reconsider our approach to solving this problem of ours, and maybe we should use package-lock.json files, but instead maybe think of some other gradle code that could re-write the package.json file directly for things like:

Updates to internal successfactors dependencies to the latest release tag
Synchronize UI5 version numbers

What do you think?