fatal error: parse_pdbqt.h: No such file or directory

On WSL2 Debian, with Cuda 12.4 and Boost 1.84:
~/Vina-GPU-2.1/AutoDock-Vina-GPU-2.1$ make source
gcc -o AutoDock-Vina-GPU-2-1 -I/usr/local/boost_1_84_0 -I/usr/local/boost_1_84_0/boost  -I/home/shidi/Vina-GPU-2.1/AutoDock-Vina-GPU-2.1/lib -I/home/shidi/Vina-GPU-2.1/AutoDock-Vina-GPU-2.1/OpenCL/inc  -I/usr/local/cuda/include ./main/main.cpp -O3 ./lib/*.cpp ./OpenCL/src/wrapcl.cpp /usr/local/boost_1_84_0/libs/thread/src/pthread/thread.cpp /usr/local/boost_1_84_0/libs/thread/src/pthread/once.cpp  -lboost_program_options -lboost_system -lboost_filesystem -lOpenCL -lstdc++ -lstdc++fs -lm -lpthread -L/usr/local/boost_1_84_0/stage/lib -L/usr/local/cuda/lib64 -DOPENCL_3_0 -DNVIDIA_PLATFORM -DBOOST_TIMER_ENABLE_DEPRECATED   -DNDEBUG -DBUILD_KERNEL_FROM_SOURCE
./main/main.cpp:33:10: fatal error: parse_pdbqt.h: No such file or directory
33 | #include "parse_pdbqt.h"
|          ^~~~~~~~~~~~~~~
compilation terminated.
In file included from ./lib/cache.cpp:41:
./lib/cache.h:32:10: fatal error: commonMacros.h: No such file or directory
32 | #include "commonMacros.h"
|          ^~~~~~~~~~~~~~~~
compilation terminated.
In file included from ./lib/main_procedure_cl.cpp:1:
./lib/cache.h:32:10: fatal error: commonMacros.h: No such file or directory
32 | #include "commonMacros.h"
|          ^~~~~~~~~~~~~~~~
compilation terminated.
In file included from ./lib/monte_carlo.cpp:23:
./lib/monte_carlo.h:28:10: fatal error: commonMacros.h: No such file or directory
28 | #include "commonMacros.h"
|          ^~~~~~~~~~~~~~~~
compilation terminated.
In file included from ./lib/parallel_mc.h:26,
from ./lib/parallel_mc.cpp:24:
./lib/monte_carlo.h:28:10: fatal error: commonMacros.h: No such file or directory
28 | #include "commonMacros.h"
|          ^~~~~~~~~~~~~~~~
compilation terminated.
In file included from /usr/local/boost_1_84_0/boost/config/header_deprecated.hpp:18,
from /usr/local/boost_1_84_0/boost/progress.hpp:26,
from ./lib/parallel_progress.h:26,
from ./lib/parallel_progress.cpp:25:
/usr/local/boost_1_84_0/boost/config/pragma_message.hpp:24:34: note: ‘#pragma message: This header is deprecated. Use the facilities in <boost/timer/timer.hpp> or <boost/timer/progress_display.hpp> instead.’
24 | # define BOOST_PRAGMA_MESSAGE(x) _Pragma(BOOST_STRINGIZE(message(x)))
|                                  ^~~~~~~
/usr/local/boost_1_84_0/boost/config/header_deprecated.hpp:23:37: note: in expansion of macro ‘BOOST_PRAGMA_MESSAGE’
23 | # define BOOST_HEADER_DEPRECATED(a) BOOST_PRAGMA_MESSAGE("This header is deprecated. Use " a " instead.")
|                                     ^~~~~~~~~~~~~~~~~~~~
/usr/local/boost_1_84_0/boost/progress.hpp:27:1: note: in expansion of macro ‘BOOST_HEADER_DEPRECATED’
27 | BOOST_HEADER_DEPRECATED( "the facilities in <boost/timer/timer.hpp> or <boost/timer/progress_display.hpp>" )
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/boost_1_84_0/boost/config/pragma_message.hpp:24:34: note: ‘#pragma message: This header is deprecated. Use the facilities in <boost/timer/timer.hpp> instead.’
24 | # define BOOST_PRAGMA_MESSAGE(x) _Pragma(BOOST_STRINGIZE(message(x)))
|                                  ^~~~~~~
/usr/local/boost_1_84_0/boost/config/header_deprecated.hpp:23:37: note: in expansion of macro ‘BOOST_PRAGMA_MESSAGE’
23 | # define BOOST_HEADER_DEPRECATED(a) BOOST_PRAGMA_MESSAGE("This header is deprecated. Use " a " instead.")
|                                     ^~~~~~~~~~~~~~~~~~~~
/usr/local/boost_1_84_0/boost/timer.hpp:25:1: note: in expansion of macro ‘BOOST_HEADER_DEPRECATED’
25 | BOOST_HEADER_DEPRECATED( "the facilities in <boost/timer/timer.hpp>" )
| ^~~~~~~~~~~~~~~~~~~~~~~
./OpenCL/src/wrapcl.cpp:1:10: fatal error: wrapcl.h: No such file or directory
1 | #include <wrapcl.h>
|          ^~~~~~~~~~
compilation terminated.
make: *** [Makefile:22: source] Error 1
Please advise. Thank you,
Evert

hi, i have the same issue, have u figure it out?

No, waiting for a response from the authors...

Fine I think I have solved it. @P4j45 you should check the path in the file 'Makefile' bacause WORK_DIR=/home/shidi/Vina-GPU-2.1/AutoDock-Vina-GPU-2.1 is not your work path, you should change it to your own path.
And also, in the server there are maybe some permission settings to stop accessing the file as I was faced before, the easiest way to set the makefile is WORK_DIR=., that you can avoid the most of issues.

Thanks, this was helpfu but I am not quite there yet:
./QuickVina2-GPU-2-1 --config ./input_file_example/2bm2_config.txt
#################################################################
If you used QuickVina2-GPU 2.1 in your work, please cite:

Ding, Ji, et al. Vina-GPU 2.0: Further Accelerating AutoDock
Vina and Its Derivatives with Graphics Processing Units.
Journal of Chemical Information and Modeling (2023).

DOI https://doi.org/10.1021/acs.jcim.2c01504

Shidi, Tang, Chen Ruiqi, Lin Mengru, Lin Qingde,
Zhu Yanxiang, Wu Jiansheng, Hu Haifeng, and Ling Ming.
Accelerating AutoDock Vina with GPUs.
Molecules 27.9 (2022): 3041.

DOI https://doi.org/10.3390/molecules27093041

And also the origin AutoDock Vina paper:
O. Trott, A. J. Olson,
AutoDock Vina: improving the speed and accuracy of docking
with a new scoring function, efficient optimization and
multithreading, Journal of Computational Chemistry 31 (2010)
455-461

DOI 10.1002/jcc.21334

#################################################################
Using virtual sreening mode
Output will be in the directory ./test_out
Reading input ... done.
Setting up the scoring function ... done.
Using heuristic search_depth
Analyzing the binding site ... done.
Cannot find any NVIDIA platform
I get the same when compiling AutoDock-Vina-GPU-2.1...
Any ideas?

@Evert-Homan I think you can try compile it again, also try test your GPU status by nvidia-smi or check if CUDA is installed correctly by nvcc -V. Hope it will help ypu.

My GPU works fine even though nvidia-smi gives a segmentation fault, but I think this is because I run it under WSL2/Debian:
nvidia-smi
Wed Apr 24 18:20:54 2024
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 550.54.14              Driver Version: 551.78         CUDA Version: 12.4     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
Segmentation fault

and cuda is correctly installed (it works e.g. with chemprop):
nvcc --version nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2024 NVIDIA Corporation Built on Tue_Feb_27_16:19:38_PST_2024 Cuda compilation tools, release 12.4, V12.4.99 Build cuda_12.4.r12.4/compiler.33961263_0
I think the problem may be the opencl_binary_path, in the ./input_file_example/2bm2_config.txt file, where is the OpenCL binary located? It does not appear to be in  ./AutoDock-Vina-GPU-2.1/OpenCL after compiling...
The fact that the authors are not responding is concerning so I am close to giving this up.

Acutually opencl_binary_path is the path where AutoDock-Vina-GPU-2-1 in, the so-called OpenCL binary files are Kernel1_Opt.bin and Kernel2_Opt.bin

I got a bit further after upgrading NVIDIA driver and matching CUDA, but still does not run all the way through:
./AutoDock-Vina-GPU-2-1 --config ./input_file_example/2bm2_config.txt
#################################################################
If you used AutoDockVina-GPU 2.1 in your work, please cite:

Ding, Ji, et al. Vina-GPU 2.0: Further Accelerating AutoDock
Vina and Its Derivatives with Graphics Processing Units.
Journal of Chemical Information and Modeling (2023).

DOI https://doi.org/10.1021/acs.jcim.2c01504

Shidi, Tang, Chen Ruiqi, Lin Mengru, Lin Qingde,
Zhu Yanxiang, Wu Jiansheng, Hu Haifeng, and Ling Ming.
Accelerating AutoDock Vina with GPUs.
Molecules 27.9 (2022): 3041.

DOI https://doi.org/10.3390/molecules27093041

And also the origin AutoDock Vina paper:
O. Trott, A. J. Olson,
AutoDock Vina: improving the speed and accuracy of docking
with a new scoring function, efficient optimization and
multithreading, Journal of Computational Chemistry 31 (2010)
455-461

DOI 10.1002/jcc.21334

#################################################################
Using virtual sreening mode
Output will be in the directory ./test_out
Reading input ... done.
Setting up the scoring function ... done.
Using heuristic search_depth
Analyzing the binding site ... done.
GPU Platform: NVIDIA CUDA
GPU Device: NVIDIA GeForce RTX 3060
Using random seed:<PHONE_NUMBER>
Build kernel 1 from source
OpenCL version: 3.0
1 error generated.
Error: Failed to build program executable!
log::63:10: error: incompatible pointer types assigning to 'const __global int ' from 'int const __global ()[1024]'
address = &(ar->relation[temp]);
^ ~~~~~~~~~~~~~~~~~~~~~


Question about sft

hello, thanks for your nice work, I want to fine-tune the instructions when converting files. How can I achieve this goal?

Sorry for the late response. Could you please clarify your issue a bit more? Specifically, what do you mean by "instructions" in this context?


Error in "Ingest JSON records containing arrays"?

In the "Ingest JSON records containing arrays" section for KQL in #4 it says: "Ingest data into the RawEvents table." but then the command references the Event table not the raw events table: .ingest into table Events...
Is this an accident or a purposeful?

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

ID: 68d5f8ab-85c7-19bf-d91a-e76e81c76d7b
Version Independent ID: 0b2e3ba3-424f-5975-0b42-97bcf1636be3
Content: Ingest JSON formatted data into Azure Data Explorer
Content Source: articles/data-explorer/ingest-json-formats.md
Service: data-explorer
GitHub Login: @orspod
Microsoft Alias: orspodek

@nastassiar Thank you for bringing this to our attention. I believe that should read:

#4 Ingest data into the Events table.

Let me get this reviewed and verified and if this is the case, I will have a pull request created and the issue corrected.

So for the ingest mapping to work you should be uploading files to the final table not the intermediate table? And then the mappings and update policies will take care of the transformation?

@nastassiar Upon closer inspection of this part of the tutorial, and in looking other examples, step number 4 should be:
.ingest into table RawEvents h'https://kustosamplefiles.blob.core.windows.net/jsonsamplefiles/array.json?st=2018-08-31T22%3A02%3A25Z&se=2020-09-01T22%3A02%3A00Z&sp=r&sv=2018-03-28&sr=b&sig=LQIbomcKI8Ooz425hWtjeq6d61uEaq21UVX7YrM61N4%3D' with (format=multijson, jsonMappingReference=RawEventMapping)
I can step through this to verify but step number three sets the update policy so that when data is loaded into RawEvents, the Event table is updated. Step number 4 is to load data to RawEvents. Step number 5 is to view the data in Events table.

Yeah I tried it and I think you are right they should both be raw events. In that same section in #1 for KQL I think records = Events might be swapped. When I tried my own example. I was getting errors when I had the format like this but if I had | mv-expand Event = records the errors went away and I could run it.

@nastassiar thanks so much for your feedback.
@Mike-Ubezzi-MSFT thanks for your help.
I created a WI to fix this doc error.

@Mike-Ubezzi-MSFT thanks for your assistance. Doc will be updated accordingly. #please-close this issue.


Restoring from a GitHub cache locally

Is it possible to download the contents of a cache by key in your local environment?
My use case is with Crystalball, we're generating maps for the main branch in CI, then caching and using them on PR branches. But they'd also be useful to have to hand locally so that you're always using up-to-date maps regardless of when you switch between branches.

Currently cache can't be downloaded locally.

Hope that resolves your query


ARROW-17366: [R] Support purrr-style lambda functions in .fns argument to across()

I don't suppose you'd mind taking a look at reviewing this @paleolimbot?  Neal's out-of-office at the moment and I have some other PRs that this one supports.

Since the most recent review I've also added in something to catch if people try to pass in anonymous functions, which won't work here until ARROW-14071 is completed.

Closing this PR to merge the other one which I needed to open to run things on CI after it was approved - https://github.com/apache/arrow/pull/14327


[2.18.5] [bug] Can't create new node by just clicking on the halfway point

Ways have a little triangle halfway between nodes that can be dragged to create a new node.
Double-clicking on a way elsewhere will create a new node.
Previously you could double-click on the triangle to create a new node exactly at halfway
This doesn't work anymore.

This is a weird one. The bug occurs in 2.18.5, but not in Firefox, and it already seems fixed in the develop branch, despite no changes to the files I would have expected. I suppose we can just close this and not worry unless it reappears.


Camera view flips ingame after recording with Set resolution true

Hi!
I found a problem with that the camera view will flip and lose anti aliasing after recording with Set resolution is set to true. It works correctly if Set resolution is set to false.
I have tested this in a new project with only this added and it stills happens.
If I disable the CaptureCamera script after recording it flips back correctly but the anti aliasing is still missing.

Thanks for reporting. Actually this is a known issue of Unity 5.6.0.
https://issuetracker.unity3d.com/issues/setting-rendertexture-to-null-when-post-processing-behaviour-is-enabled-flips-game-view-vertically-while-renderingpath-equals-forward
Please wait for the next patch release.

Tested again with the new patch 5.6.0p4 and the problem is gone now.

Tested again with the new patch 5.6.0p4 and that solved the issue.


Understand trade-offs of multi-radix domains and FFTs

The current integration of mixed-radix FFTs is kind of unsatisfactory. There are two issues:

The current impl only allows selecting one additional basis for the radix, which might be insufficient for applications (see https://github.com/arkworks-rs/curves/issues/5)
Even after fixing the above, there's still the issue that we only select the larger radix after exhausting all powers in radix-2. As suggested in https://github.com/scipr-lab/zexe/issues/156#issuecomment-716432571, this can result in poor "resizing behaviour", which is demonstrated via the following example:

Required size: 10;
GeneralEvaluationDomain: domain_size = 2^4 = 16
DynamicEvaluationDomain: domain_size = 2 * 5 = 10

To resolve this, we might want to implement a "dynamic" domain that automatically chooses a subgroup whose size matches the required input size as closely as possible. This is different from the behaviour of something like GeneralEvaluationDomain, which tries to fit things into radix-2 if possible, and only goes for larger domain sizes if radix-2 is insufficient. This would also unify the existing Radix2Domain, MixedRadixDomain, and GeneralEvaluationDomain impls.
cc @weikengchen @paberr

A relevant data point is how FFTW does this. They have the caller create a "plan" for FFTs based on the domain size, which then AFAIU does precompilation and preprocessing for the exact domains and FFT plan they end up using. http://www.fftw.org/fftw-paper.pdf

That sounds like a good idea to me.

Even after fixing the above, there's still the issue that we only select the larger radix after exhausting all powers in radix-2. As suggested in scipr-lab/zexe#156 (comment), this can result in poor "resizing behaviour", which is demonstrated via the following example:

Required size: 10;
GeneralEvaluationDomain: domain_size = 2^4 = 16
DynamicEvaluationDomain: domain_size = 2 * 5 = 10

One question regarding this part: I would imagine that a pure radix-2 FFT is more efficient than a mixed-radix one.
So, when the achievable domain sizes are close, a slightly larger radix-2 FFT might be preferable to a mixed-radix one, no?
I haven't had a look at the FFTW paper yet, but perhaps they do have some insights into the trade-offs here.

My five cents on the smoothness of the FFT domain and its approximation goodness for target sizes x from a given interval I= [x_min, x_max].
Given an FFT domain of mixed order n = p_1^e_1 * ... * p_k^e_k, with p_i being the prime factors and e_i their exponents, and let d(x,L) = min_{y in L} y/x the minimal 'distance' of x by numbers from the discrete set L of all possible subdomain sizes y = p_ 1^{y_ 1}*...*p_k^{y_k} with y_i from {0,1,...,e_i}. In our case the number of such combinations is small enough to find the best approximation via enumeration, and even plots of d(x,L) varying over x are easily produced to get an impression for the uniform approximation goodness
delta = max_{x in I} d(x,L).

In general given I one has to oversize the FFT domain to achieve a reasonable small approximation goodness (corresponding to a relative error < 5%, say) and the more prime factors of n the better. However, having too large p_i increases the computational complexity of the mixed FFT, which is
T(n) = n * Sum_i e_i (pi - 1) (M+A),

where M and A is for field multiplication and addition, respectively. In practice the increase is acceptable (typically a factor of 2 relative to the duadic case, see the table below) and is outweighted by the benefit of small delta.
In connection with the task of searching suitable BLS24 parameter (with group sizes bits of more than 256) I executed a script over a slightly larger set than the one of Pratyush (starting from parameter x = 2^32). I filtered out those cases which allow sufficiently smooth FFT domains in both the base field as well the scalar field (having both log2(n_r) and log(n_q) >= 30 bit and prime factors <= 17). I further computed the goodnesses delta_r and delta_q for the interval I=[2^10, 2^25] using an explicit algorithm to solve the discrete max-min problem, and determined the performances T_r , T_q of their FFT relative to the equivalent duadic case T(duadic)= T(2^log n) using the above formula. These are the results:

x
bits
log2(n_r)
log2(n_q)
delta_r
delta_q
T(n_r)/T(duadic)
T(n_q)/T(duadic)

-4346495999
257
41.8051
32.0172
1.00689
1.02262
2.00932
1.68659

-4505419775
257
43.3203
31.2246
1.02218
1.02602
1.66204
1.98561

-4518481967
257
30.9689
31.2908
1.02354
1.02963
1.74369
1.78966

4796508718
258
32.5132
31.1912
1.01425
1.02354
1.84541
1.82744

-4975851464
258
36.664
30.6266
1.0104
1.05488
1.85468
2.12234

-5032487474
258
48.4004
34.2411
1.01089
1.02001
2.0661
1.51864

-5131697570
259
39.3547
30.067
1.00782
1.04167
2.28689
2.46117

-5155487999
259
34.2635
32.2635
1.0111
1.02262
1.80951
1.85969

5372915626
259
41.4331
32.8062
1.01169
1.0242
2.26872
2.31663

-5482229024
259
49.8397
31.5071
1.01705
1.03822
2.00643
2.25346

-5712214364
260
32.277
32.1718
1.02262
1.02392
1.85891
2.33123

Thanks for the detailed analysis! It's a good point that we can easily compute the best fit for a given problem size. If I'm understanding correctly, the take away is that FFTs are at most 2x slower, right?
As an aside, there is a slight downside to consider fields of size > 255 bits: you have to add an another limb to all calculations on the scalar field, which includes constraint generation, witness generation, FFTs, etc. I don't know of a way to simplify this, beyond making a different BigInteger type (for example: BigInt264([u64; 4], u8), and even then, I don't know if it would make a concrete difference due to alignment issues)

Yes, if one considers such small approximation goodness (2% rel. error) for that instance interval (with upper bound 2^25) one has to expect about a twice as slow FFT.
Actually it turned out that my script was starting at a too high x, searching only curves of min 257 bit. I now restarted it with modified range for x, and post my findings in few days.

Yes, if one considers such small approximation goodness (2% rel. error) for that instance interval (with upper bound 2^25) one has to expect about a twice as slow FFT.
Actually it turned out that my script was starting at a too high x, searching only curves of min 257 bit. I now restarted it with modified range for x, and post my findings in few days.
About the sizes of the base field modulus, the first three rows in the table have 320 bit modulus, the others 321-323 bits.

first results from the running script:

In particular the last with smoothness bound 11 for both domains is interesting. It's approximation goodness comes with an rel. error < 1.7%, and the increase of FFT performance is only about 1.5.


Compare your maturity levels against other organisations.

I hope this comparison shows the spread of scores achieved by other organisations and where you sit within that "bell curve" of scores.
Comparing your score to an average would be less useful.
Looking forward to comparing our results soon.

Duplicate:
https://github.com/theodi/ODMAT/issues/20


Save SVG function not working

Hi,
When I go to the IGV webpage https://igv.org/app/ and click "Save SVG" in the banner and click "ok" in the modal, nothing happens. When I look in the console,  I see the following error:
app_bundle.js:10728 Uncaught TypeError: browser.renderSVG is not a function
at HTMLButtonElement.okHandler (app_bundle.js:10728)
at HTMLButtonElement.dispatch (jquery-3.3.1.slim.min.js:2)
at HTMLButtonElement.v.handle (jquery-3.3.1.slim.min.js:2)
I'm using Google Chrome. Let me know if there's something I'm missing. Thanks in advance!
Best,
Sonny

Thanks for calling that to our attention.   I will need to fix it on our
side.
On Mon, Jul 27, 2020 at 1:52 PM sonnyarora<EMAIL_ADDRESS>wrote:

Hi,
When I go to the IGV webpage https://igv.org/app/ and click "Save SVG" in
the banner, nothing happens. When I look in the console, I see the
following error:
app_bundle.js:10728 Uncaught TypeError: browser.renderSVG is not a function
at HTMLButtonElement.okHandler (app_bundle.js:10728)
at HTMLButtonElement.dispatch (jquery-3.3.1.slim.min.js:2)
at HTMLButtonElement.v.handle (jquery-3.3.1.slim.min.js:2)
I'm using Google Chrome. Let me know if there's something I'm missing.
Thanks in advance!
Best,
Sonny
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/igvteam/igv-webapp/issues/158, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHD2HBMEZBUY2JWHRVDUY3R5XSKDANCNFSM4PJISMBA
.

This is working now.


test: reorganize tests, and overall structure of test/ directory

Restructure the test/ directory module-wise.
Split existing testsets into new, separate testsets if they contain
functionally different, and discrete tests. This makes it a little more
clear what each test does, reduces size of testsets, and would make it
easier to detect and debug regressions.
Signed-off-by: Anant Thazhemadam<EMAIL_ADDRESS>

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@465797f). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #56   +/-   ##
=======================================
  Coverage        ?   93.36%
=======================================
  Files           ?        5
  Lines           ?      407
  Branches        ?        0
=======================================
  Hits            ?      380
  Misses          ?       27
  Partials        ?        0

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 465797f...b34c380. Read the comment docs.

Looks good! I'll rebase my draft PR off of this and update those tests before merging that one

Merged manually, closing (I'm a little confused why GH doesn't realize that this happened but oh well)


refactor error and call handling

@brainflake In contrast to my previous PR, rather than throwing HubSpot errors that vary in format from resource-to-resource, I think the API library should be low-level and return the HTTP responses as is from the request library and let the client handle them appropriately. This is the safest approach from my testing. Also, it doesn't make sense to return errors about a function not being ready- rather the function just shouldn't exist and should be created when ready. The library can be assumed to not cover the whole API with a notice in the README, as most wrappers don't since the API is ever-evolving. Did a bit of cleanup while I was at it ;)
I recommend that if you want to merge this PR, we merge it before releasing the changes w/ the PR that you just merged- #5... and then make a 0.1.0 release to github (from 0.0.5, that's semver breaking).

Added subscriptions resource in 897bd72285685618a04d2650f82cd7dd472b2f4a

+1 Thanks @tejasmanohar. I think it's probably a good idea to move that handling outside of the wrapper. I'll create a new release.

whoot


Updates

Adds a reload indicator that refreshes page after reload finishes.
Various starr library updates to fix CF TRaSH sync bugs.
Fixes maxbody. Unifies maxbody in one setting.
Updates all ui paths to have a /ui prefix. Fixes 302 when should be 404 bug.
Closes #298 by adding playback.started.
Closes #296 by fixing typos.

this is a release candidate.


[BUG] Hub no longer appears in Home app Add Accessory list after deleting accessory and entering setup code

Describe the bug
If you add the hub to HomeKit as an external accessory via the provided setup code, then delete it from HomeKit and attempt to add it back, it no longer appears in the list after entering the setup code.
To Reproduce

In the Home app, add Harmony hub as TV-Mode accessory via the setup code provided by homebridge-harmony.
In the Home app, delete the accessory.
Repeat step 1. The hub no longer appears in the list after entering the setup code.
Tried a. restarting homebridge, b. removing homebridge-harmony cache via config, c. restarting the Home app, and d. restarting the Harmony hub, but it still does not appear in the "Add Accessory" list.

Expected behavior
The hub still appears in the "Add Accessory" list after deleting the TV-Mode accessory and typing in the setup code again.
Screenshots
If applicable, add screenshots to help explain your problem.
IOS (please complete the following information):

Version [e.g. 13.1]
Device: [e.g. iPhone X]

Logs
Your log in debug mode (-D option)
Config
{
      "platform": "HarmonyHubWebSocket",
      "publishAllTVAsExternalAccessory": true,
      "name": "Living Room",
      "hubIP": "<IP_ADDRESS>",
      "mainActivity" : "Watch Apple TV",
      "switchAccessories" : true,
      "showTurnOffActivity" : "inverted",
      "otherPlatforms": [
        {
          "platform": "HarmonyHubWebSocket",
          "name": "Master Bedroom",
          "hubIP": "<IP_ADDRESS>",
          "mainActivity" : "Watch Apple TV",
          "switchAccessories" : true,
          "showTurnOffActivity" : "inverted"
        }
      ]
    },

Additional context
Add any other context about the problem here.

Hi, did you try with publishalltvasexternalaccessories to off ? (Maybe you have another tv accessory in the same hub ?) . When you say remove the hub, you removed the hub OR the accessory ? The first tv is still there or both are missing ?
Sent with GitHawk

Initial config was without publishAllTVAsExternalAccessory (so false) but I had two entries under “otherPlatforms” because I was still a little confused on how to migrate my old config. No TV accessories showed up automatically when I ran it like this the first time. So I used the code in the log, and both of my hubs showed up under “add accessories”. I only added one, but then deleted it once I realized my config wasn’t correct. In hindsite I probably shouldn’t have deleted it. Anyway, I fixed the config and restarted homebridge, then put in the code again to try and add back the one I deleted, but this time only the one that I hadn’t added yet showed up in the list. I went ahead and added it, then deleted it as well just to test, and sure enough, now neither one with show up when I put in the code.
I then played around with different settings, including setting publishAllTVAsExternalAccessory to true, but nothing fixed it. It almost makes me think that by deleting the accessories they are now somehow “blacklisted” by HomeKit. I noticed that the code provided by homebridge-harmony is always the same for both hubs. I wonder if generating a new code may possibly help.

I see you are in ios13, didi you try deleting the hub itself (not the accessory, hub is now in ios13 in home properties) ?
If your homebridge is dedicated / you are not worried about having to reconfigure scenes in homekit with other accessories exposed, you can try also deleting persist folder in homebridge, and add again through homekit.
I will try to reproduce as soon as I can

Thanks, I deleted the hub from properties but it wouldn't allow me to add it back until I deleted the persist folder as well. This did allow both hubs to show up again under "add accessories". However, after I add the first one, the second one no longer shows up when I go back to add it, so apparently I'm only able to add one of them.

Nevermind, it took a couple minutes, but the second one finally showed up in the list. Odd since it showed up almost immediately the first time along with the other one. I had actually sat my phone down and when I came back it was showing in the list, but when I tried to add it it failed. So I tried it again, and again it took a few minutes to show up, but finally did. This time it added successfully.

I noticed in persist folder that there are files that correspond to each accessory. I'm wondering if you can just delete the individual file associated with the TV accessory rather than deleting the entire homebridge hub.

Hi, did you try by entering the code manually without waiting ?

Yes, I entered the code each time. Before either of my Harmony hubs was added as a TV accessory, they showed up immediately when I entered the code. After adding the first hub then returning and entering the code again, it takes a while for the second to show up for some reason.


bat2exe: add manifest

Makes bat2exe (github) available via scoop extras

Please submit to Main bucket, this is a cli app and the shortcut is just a wrapper.

@niheaven this is not exactly a CLI app. Running in cmd/PowerShell launches a new window that immediately prompts a windows file open dialogue. (Even the /h argument spawns a new cmd window managed by the program.) So it's a GUI/CLI hybrid.

I'd add the shortcut back for convenience - it is designed to be launched standalone like that, and it even has a functioning icon.

The program is designed to be launched standalone, and even comes with an icon that appears in the shortcut.


More editor customisation

Is your feature request related to a problem? Please describe.
Add a modal for settings, so that users can set the editor theme and change the font size of the editor
Describe the solution you'd like
Adding a button on the top navbar, when clicked will open a modal so that users can change editor settings from there.

Hi @starwiz-7, I would like to work on this issue.

Hi @mayankbucha , these issues are only open for students of IIIT Kottayam. If you are kindly comment your Details(Name, roll, email). Then I'll assign the issue to you :)

Ohh... I am not from the institute.

Hi @mayankbucha do you still want to take up this issue?

I can take this issue up


How can I intergrate AWS X-ray with Directus?

Could you please support me to intergrate AWS X-ray with Directus? I tried many times but not found the correct way to intergrate.

Thanks for your ticket! I've added  it in the queue 😄

https://github.com/GiamPy5/terraform-aws-directus/pull/9 integration is ready to be merged, however it won't fetch any data since the tracing is not enabled at application-level. We need to ask Directus Team to integrate this feature.
See https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-nodejs.html.


support two channels of the sound card

The idea is to connect two receivers with two antennas with different orientation to the left and right channel of the sound card.
New configuration options:

channel, the channel to be used for the station, default 0 (the left channel), optional 1 (the right channel)
Channels, the number of channels, default 1, optional 2

[STATION_1]
channel = 0

[STATION_2]
channel = 1

[Capture]
Channels = 2

Scripts to be adapted:

config.py to support the new configuration options
find_alsa_devices.py to support one and two channels
sampler.py to support one and two channels for alsaaudio, sounddevice and pyaudio
supersid.py to support one and two channels
supersid_scanner.py to support one and two channels for pyaudio
textsidviewer.py to support one and two channels
tksidviewer.py to support one and two channels

What sound card are you thinking of using?  Would you use the "Line In" inputs or is there a device with two microphone inputs?  I am currently using the mic input of an Audio Injector Zero .  It does have left and right channel Line In capability.

What sound card are you thinking of using?  Would you use the "Line In" inputs or is there a device with two microphone inputs?  I am currently using the mic input of an Audio Injector Zero .  It does have left and right channel Line In capability.

In Windows (with a builtin Realtek sound card) I chose 'line in'. The microphone input comes with noise and echo cancelation. These are features which I'm not interresetd in, when measuring physical effectes.
Your card is different. If I get it right, the difference bewteen the two connection options is the bypass of the potentiometer.

Direct line connector : Plug into the direct line (0.1" header) to bypass the potentiometer control.
Volume control connector : Plug into the potentiometer (0.1" header) to use the potentiometer as a volume control.

Try both and compare the results.

in test (https://github.com/fenrog/supersid/commit/3db4df86abd7e1582ef01dda4dcb68c172ff50ca)

Hi, first of all thx for sharing and maintaining this software. Really appreciated!
I have the  ' stereo raspberry pi sound card"  from Audioinjector and this one has two RCA input channels, left and right.
My idea, and as I see yours was/is as well, to hook one antenna to the left input and an other antenna on the right input.
Would be very nice to setup one antenna N/S and the other one E/W.
Thx in advance!


Cardinality post aggregator should return rounded value

For tpch-21. Cause type of cardinality is regarded as long, it should return long in post aggregator.

Fixed


Can you release checkpoint pre-trained on 16M dataset?

The machine used to save this checkpoint was permanently removed few months ago, sorry about that


Clear jobs by tag

The intention of this pull is to create an easy way to clear scheduled jobs in a modular environment.
For doing this i added two new methods to Job class, tag() and tags(), that could be used in a way like this one
schedule.every(10).minutes.do(job).tag('my_tag', 'my_other_tag')
after doing this it will be possible to clear a subset of jobs by doing
schedule.clear('my_other_tag')
always leaving the older way possible by omitting the tag parameter.
Please, tell me if you think it could be useful.

Coverage decreased (-2.5%) to 97.549% when pulling 2a9f8dff8c4ab54c7321f05158755c6ddbe6a5c0 on Zerrossetto:master into 9a37002ef7721138be4ce13dd94a87a438345b86 on dbader:master.

Coverage remained the same at 100.0% when pulling 043fe1266e018f89d40fbed6dceca3084a7ece35 on Zerrossetto:master into 9a37002ef7721138be4ce13dd94a87a438345b86 on dbader:master.

Ok, no it's fine. Sorry it was my first experience with CI tools.

good addition but i think the maintainer is not updating/looking at this repo any more. haven't seen a merge or commit for half a year

I'm not an expert but... what is normally done in this cases? The library has a MIT license, so potentially I could go on with my fork.

Yeah but if everyone thinks that way no progression can be made because
everyone has it's own repo
Am 24.10.2016 um 09:40 schrieb Duilio Rumbazzi:

I'm not an expert but... what is normally done in this cases? The
library has a MIT license, so potentially I could go on with my fork.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/dbader/schedule/pull/102#issuecomment-255669326,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADCLJEgp7cf0wu2cC9WWh9hn84L4-W_Hks5q3GECgaJpZM4KeM7L.

--
Daniel Laube | Harzblick 48 | 38122 Braunschweig | +49<PHONE_NUMBER>5 |<EMAIL_ADDRESS>| dlaube.de

I agree with you @laubed but currently the author doesn't seem to make the project evolve further. I also tried to contact him by email and waited for 15 days without getting any reply.
Following also your implicit advice I think that I'll get in touch with other project contributors to decide for a single fork to start again implementations on the project.

Hey thanks for the PR 😄  I can see where this could be useful and I like how it has a relatively small footprint. I'm going to give this a quick code review. I think we should include this in the next release (0.4.0).
In terms of next steps we'd need to:

resolve code review feedback
rebase so it builds cleanly against master
merge

The reason why I thought it would make sense to limit allowed types for tags is that one can't just use any type as a job tag – it needs to be comparable and also hashable (because we store them in a set).
The solution I see for this are:

restrict the types to something sensible that's guaranteed to be comparable and hashable, ie int + str – downside: it's kind of an arbitrary restriction like you pointed out earlier
do nothing and add a note to the docstring to mentioning tags need to be comparable and hashable

Also, could you add an FAQ item that explains the new functionality? We could probably use the PR description for that. Otherwise people won't find this new feature and they'll create more issues :) Thanks!

Now, in order, I:

added Type enforcement for tag method that raises a TypeError if one of the elements in the arguments list is not hashable
added a new unittest to test the type enforcement
added documentation on the FAQs for the method
corrected the issue over external references over the jobs list
corrected the FAQs as requested in the roadmap for 0.4.0 #107

Tell me if I can help in any other way.

Thanks so much @Zerrossetto, this is great! 😃 Merged.


Dockerfile: set default umask

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[ ] Have you successfully run brew style with your changes locally?
[ ] Have you successfully run brew typecheck with your changes locally?
[ ] Have you successfully run brew tests with your changes locally?

This makes sure that the system umask is the same as the one on macOS.
Fixes Homebrew/homebrew-core@155e3ab5a88fb373342db5af0bc42499c5124402.

This didn't seem to change anything: https://github.com/Homebrew/homebrew-core/actions/runs/5151557652
Weird; I tried this out in a Docker container first...

Maybe this sed should also be applied to /etc/pam.d/common-session-noninteractive?

#15516


Tailwind and Trap Throwing Speed

Applying tailwind does not reduce your trap throwing speed as it should. Normally not a big deal with trap cooldowns but with some traps no longer having cooldowns in 3.3, this becomes pretty important.
Thanks

Fixed in the next update.


Update Thema codes to v1.4

https://www.editeur.org/151/Thema

5PBD still gives an error

AGT also


Update CMake to 3.17.0 on all environments

Description
The newest version of CMake adds some nice new features, but is missing on the linux environments. I've simply updated the version number in the install script.
Related issue: #694
Check list

[x] Related issue / work item is attached
[x] Documentation is updated
[ ] Changes are tested and related VM images are successfully generated

/azp run ubuntu1604, ubuntu1804

@rick-de-water , your first commit was the best one :)
We should not update documentation manually. We need to change only images/linux/scripts/installers/cmake.sh

@rick-de-water , your first commit was the best one :)
We should not update documentation manually. We need to change only images/linux/scripts/installers/cmake.sh

Ah I see, I was wondering how you would keep that file up to date properly ^^

I did a rollback, so it should just be the first commit now.

/azp run ubuntu1604, ubuntu1804

@rick-de-water , your first commit was the best one :)
We should not update documentation manually. We need to change only images/linux/scripts/installers/cmake.sh

Ah I see, I was wondering how you would keep that file up to date properly ^^

It is updated automatically when the new image is deployed to all VMs.


[Bug] Using grpc async subscribe with rocketmq doesn't ack the message

Search before asking

[X] I had searched in the issues and found no similar issues.

Environment
Window
EventMesh version
Other
What happened

How to reproduce
First, I run the code under the grpc branch, use the CloudEventPublishInstance send the message to topic TEST-TOPIC-GRPC-ASYNC, and use EventMeshAsyncSubscribe the topic, after the client receive the message, didn't ack the offset of the topic, when I restarted the consumer client, the client reconsume the message again.
Second,  for cloudevents, miss the specversion attribute cause the exception in eventmesh grpc client.
Debug logs
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

@jinrongluo please help take a look , thanks.

@xwm1992 good catch!
I fix these two issues in the commit
https://github.com/apache/incubator-eventmesh/pull/723/commits/025eb2e1cc53df5c3185b65b4a42c1fc4ed93e1e


Devops for release v1.4

Description of PR
Please describe the changes introduced by this PR.

Closing in favor of #654


No Assets in Local Cloud

Hello
I have done all the steps, and got into Local Cloud.
no Aseets in the Cloud...   What is wrong with this?

Hi @GAOying888888 . I cannot debug the issue based on the information provided. Did you download all the assets?

Hi, I am using VMWare with Ubuntu 18.0.4.
I have downloaded all the assets except the maps (only one map).
The red rectangle is SVL-SERVER container. It automatically exits when I get into <IP_ADDRESS>.
My SORA-SVL is located at Downloads at first. Wherever I put them, the same problem arises.
Maybe this project could not work on the virtual machine I guess?

Hi @GAOying888888 , I suggest you do a docker-compose build server to build just the server image and then docker-compose up server to run just the server image, so you can see what the actual error messages are for that.

Hi , I have been transferred to a real Ubuntu machine.  The same problem arises.......
Here are the tips after I follow your suggestions.
After type "docker compose up server" and then I get into <IP_ADDRESS>. The error is below:

@GAOying888888 I see. Can you check if data is successfully initialized in the MongoDB? The mongo db URI should be localhost:28018


[django-subdomains] u'djdt' is not a registered namespace

Alas, I was really looking forward to upgrading from the beta version to 1.x, but when I visit my website at api.website.com, I get NoReverseMatch: u'djdt' is not a registered namespace . I'm using the popular django-subdomains project to support wildcard domains.
Line 14 on debug_toolbar/templates/debug_toolbar/base.html . Related to #529 . Unlike the issue, my site does load on the regular website.com endpoint, just not on any wildcard subdomains.

Just wanted to add for people coming via Google that the explicit setup works for me when using wildcard subdomains. Just remember to add the debug-toolbar URL patterns to all your root URL configs.


Inference time and optimization

@brian-h-wang hi i have few queries on the inference time
Q1. in you notebook we get timing "363 ms ± 21.9 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)" what does this statement infer
Q2.  I have obtain LDLS in real time inference which are of optimization i need to conc on since on 2080 Ti on a given frame which is sparse point cloud i am timing of "160ms"
Q3 By reducing the distance i.e along x axes which would have less point cloud will be able to
obtain high inference time
Q4 in Segmentation.py in line 385 you have mentioned "TODO: Check if omitting this is faster later." what is supposed to be done in here
Q5. can we use create_graph() for different class objects which might reduce the timing ??
Thanks in advance

This comes from the timeit function in the iPython notebook, see here
2)What kind of inference time are you aiming to achieve? For really fast performance, my guess would be implementing the algorithm in C++ and using nvidia CuSparse for the spare matrix multiplies would be ideal - unfortunately I don't have any plans for that at the moment :(
Down-scaling the point cloud uniformly shouldn't have any effect on inference time, the number of points is important rather than the size of the cloud. Is that what you meant?
You can ignore that. Sorry for the mistake!
I am not sure what you mean by this. Can you clarify?

Thanks!

@brian-h-wang thanks for the response
Q5 , we are applying label diffusion on all the classes is it possible set different max iters and other hpyer params basedon the object class like car , peds and all
Q2 is there C++ implementation available for LDLS or thought of implementation , i looking it as real time process approx around 40-50 ms per frame

Yes, diffusion is treated separately for each object class, so you could use different hyperparams for different classes. The code as-is currently doesn't support this however.
No current plans for a C++ port, sorry about that :( another consideration is that for 50 ms runtime, you'd also run into the image instance segmentation as a bottleneck and would probably need to swap Mask-RCNN for something faster - I'm not 100% sure about the current state of the art for segmentation

How did you implement it on custom data? I currently have a realsense L515 depth camera, but the author's code uses KITTI, how can I do it?


Added Puppeteer and setup Storycap managed mode

Added

Puppeteer package to use local Chromium for the Storycap
Setup Storycap managed mode

Changed

Updated README.md
Some of the story images were updated because I forgot it earlier

Closes #98

@DorijanH please resolve conflicts.


GSoD'19 Applicant - Tapasweni Pathak

Hi folks,
I am a GSoD'19 applicant, have read the ideas list and have PRed for most of the tasks. I have participated in multiple SoC/WoC and have been involved w/ open source since years. I have worked with Jupyter and ML. I am fully familiar with these areas. DVC.org is great fit for me but as a product new for me.
On docs I like detailed docs having every step present so that the user can be spoon feeded, makes it easily usable. Docs should have all useful information.
Ticket's list described in dvc.org blog

https://github.com/iterative/dvc.org/issues/53
https://github.com/iterative/dvc.org/issues/96
https://github.com/iterative/dvc.org/issues/144
https://github.com/iterative/dvc.org/issues/194

Projects I am interested in / Remaining tickets

Improving command reference https://dvc.org/doc/commands-reference
I think you mean tutorial updates as the ticket you linked is this. I read all the command reference docs present and everything has examples I think, please let me know if I am missing anything. From the ticket tutorial needs the code files.

https://github.com/iterative/dvc/issues/1487
PRing!

PR's list

https://github.com/iterative/dvc.org/pull/292
https://github.com/iterative/dvc.org/pull/293
https://github.com/iterative/dvc.org/pull/294
https://github.com/iterative/dvc.org/pull/296

With this I have covered the example tickets present in the blogs, would love knowing what you think. I will close few more tickets from the list during the application period. Thanks for the read!

@tapaswenipathak closing this as not an issue :) Welcome to the community though. We'll review your PRs and let you know. My recommendation would be to focus on one ticket from a single group - so that you can learn our workflow, out expectations, etc.

On Wed, 8 May 2019, 11:17 p.m. Ivan Shcheklein<EMAIL_ADDRESS>wrote:

@tapaswenipathak https://github.com/tapaswenipathak closing this as not
an issue :) Welcome to the community though. We'll review your PRs and let
you know. My recommendation would be to focus on one ticket from a single
group - so that you can learn our workflow, out expectations, etc.

Ok sure. I will mostly be closing all open tickets given in the application
ideas list, I will make sure you put as less effort as possible, Thanks!

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/iterative/dvc.org/issues/299#issuecomment-490583684,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA7TVIU44XS5NRTSIUWKEJ3PUMGZNANCNFSM4HLB4AHQ
.


Make it possible to notify the TrustManager of resumed sessions

Motivation:
Some trust manager implementations produce custom user principals and store them in the SSLSession. Resumed TLS sessions, however, don't always recover the stored contents. For instance, with TLSv1.3 stateless session resumption, our TLS implementations only store the peer certificate chain (or even just the leaf cert) in the session ticket. In such a case, the trust manager would like to be notified of the resumption, so that the peer principal can be recreated and stored in the session once again.
Modification:
Add a ResumableX509ExtendedTrustManager interface, with callbacks for resumed client and server sessions. Add infrastructure (the ResumptionController) to detect session resumption in an SSLEngine implementation agnostic way; if a TLS handshake completed without any calls to the TrustManager, then we've made a "stateless resumption" (hand-wave details) and should call the appropriate resume method. The JDK APIs don't provide a method to reliably discern if a session has been resumed, so we instead detect if the trust manager was called during the handshake. We do this by wrapping user-supplied trust managers that implement the ResumableX509ExtendedTrustManager interface. The wrapper will monitor calls to the trust manager and register the relevant SSLEngine in the controller — the engine is the object that the trust manager and the SslHandler both have access to, which reliably identifies the specific TLS session. Before finished the handshake, the SslHandler queries the ResumptionController to see if the trust manager has already been called, or if it needs to be notified of resumption. Since it's possible that the peer certificates have expired since the initial session, the trust manager gets another change to throw CertificateException.
Result:
Handlers that expect to find user principals in the authenticated SSLSessions no longer find empty sessions, provided they use a trust manager that correctly implements ResumableX509ExtendedTrustManager.
This is a draft to gage if the general approach is sane. There's still a few things that need to be done:

[x] Javadocs.
[x] Tests where the resume* methods throw CertificateException.
[x] Tests for different transports.
[x] Tests that use TCP FastOpen.
[x] Tests that use startTls.

Looks like Conscrypt on Windows is broken somehow.

I think it's fine to not specifically test with startTls because https://github.com/netty/netty/issues/14373

Subclasses of SocketSslSessionReuseTest cover the TCP FastOpen case as well.

@normanmaurer I think this is good to go, assuming the tests are no longer flaky.

Great work... Ship it!

The Java 11 Graal build failure is caused by #14375.
The Java 11 BoringSSL build fails with an OOME in the HTTP/2 module at io.netty.handler.codec.http2.HpackDynamicTable.setCapacity(HpackDynamicTable.java:182), and I'm not immediately convinced it's related to these changes.

Will do the forward merge tomorrow


[1982] Client side autocomplete - handling punctuation

Context
https://trello.com/c/shC2CPc3/1982-autocompletes-handling-punctuation
Changes proposed in this pull request
Rather than stripping punctuation from both the user's query and the option's name/synonyms, this PR replaces the punctuation with whitespace (except for ' which we still strip).
This means that things like searching for "ba education" will return a result "ba/education":
Before

After

Guidance to review
Search for some things with/without punctuation and check whether it returns you the expected results.

 [S] Autocompletes - handling punctuation

Can we also strip ’ please?

Can we also strip ’ please?

Good shout, done.


[WIP] Fix mode

What do these changes do?
This will resolve the RayGetErrors from df.mode() and return the correct values.
Related issue number
will resolve #134 with this PR

[ ] passes git diff upstream/master -u -- "*.py" | flake8 --diff

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Modin/183/
Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Modin/254/
Test FAILed.

Merged build finished. Test FAILed.


fix(Data/Set/Sigma): address comments for #14961

I mistakenly approved the merge for #14961 before addressing the comments. This changes the content of the PR slightly to address them.

Thanks!
bors r+
By the way, I'm not sure of the timing of events with the previous PR, but you can take a PR off the merge queue by either commenting "bors r-" (equivalently "bors merge-"), or by pushing any commit to the PR branch.


Evaluation of external JS not working

I am passing an html-string through .setHtml() to chromeless, that contains an external js:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
Calling the a function in the script through evaluate does not seem to work:
    chromeless
      .setHtml(html)
      .wait(800)
      .evaluate(() => {
        console.log(jQuery().jquery);
      })
      .screenshot()

Logs show this error:

(node:1) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: ReferenceError: jQuery is not defined

Simpler, this does not generate an output in my logs:
chromeless
      .setHtml(html)
      .wait(800)
      .evaluate(() => {
        console.log("this should create a log entry, right?");
      })
      .screenshot()

It looks like the issue lies with .setHtml(), as rendering a page in that manner js is not being evaluated. I uploaded the same html to S3 and called it through .goto("s3-location"), all js was executed fine.


Identical files stored in multiple locations in working tree won't be populated after fetch

I spotted this while working on the fetch extensions. The existing fetch uses a watch on the download queue (just OIDs) but then has to map that OID to a file path to smudge it. It does that via a single map from OID to file path.
However if at any time the same file content is present in more than one location in the working tree, after download only one of those files will be populated with the real content. Most likely this will affect codebases with template files and not be that common but it could lead to some head scratches.
I am fixing this while working on https://github.com/github/git-lfs/issues/490 - logged here separately in case anyone ever encounters it.

 Are you changing that OID/path map to a map[string][]string?

Changing it to map[string][]*lfs.WrappedPointer as I refactor it, this is useful for implementing pull now fetch/checkout are in separate commands and may be useful elsewhere. Also putting some extra checks in checkout so it won't ever overwrite any user-modified data; only writes when file is missing or is a pointer with matching OID.

Sounds good :metal:

There's actually a deeper issue here in that the ScanRefs function doesn't support multiple copies of the same content in multiple paths, it will only ever return the first one.
This is because it calls revListShas, which uses git rev-list --objects, which will only ever return a blob sha once and only list the first file that refers to it.
For checkout, I need that to be different. To avoid unintended consequences I'll implement that in a new function called ScanTree to reflect that it scans on a tree-unique basis rather than blob-unique. Instead of using 3 commands like ScanRefs - git rev-list --objects, git cat-file --batch-check and git cat-file --batch, I will instead use git ls-tree -r -l (-l reports size, so same as --batch-check) then feed that into git cat-file --batch.
I'm not sure if this distinction may be useful elsewhere, I'll only use it for checkout to start with.


User registration: add button 'add example experiments' to a new user

Upon registration, a button to add the following 6 example experiments (5 with view, one with edit permissions to show the difference to the user) to a new user would speed up the registration process.

Done in a script.


Has the developer abandoned this project?

Nothing has been heard from @TheKonka since August.

No,I'm still here.


snowflake schema recreate does not trigger grants and views recreate

Provider Version
0.15
Terraform Version
0.13.1
Describe the bug
Schemas are defined in variables:
variable "dev_schemas" {
  description = "Schema names, comments and role settings for DEV"
  default = {
    "RAW" = {
      comment      = "contains raw data"
      usage_roles  = []
      all_roles    = ["ENGINEER_DEV"]
      is_transient = true
    }
   # etc etc
}

Having a schema defined as a dynamic list of resources:
resource "snowflake_schema" "dev_schemas" {
  for_each     = var.dev_schemas
  name         = each.key
  database     = snowflake_database.dev_db.name
  comment      = each.value.comment
  is_transient = each.value.is_transient
  depends_on   = [snowflake_database.dev_db]
}

Grants:
resource "snowflake_schema_grant" "schema_grant_dev_db_usage" {
  for_each      = var.dev_schemas
  schema_name   = each.key
  database_name = "DEV_DB"
  privilege     = "USAGE"
  roles         = each.value.usage_roles != [] ? each.value.usage_roles : ["ALL"]
  shares        = []
  depends_on    = [snowflake_schema.dev_schemas, snowflake_role.role]
}

Views:
resource "snowflake_view" "raw_views" {
  for_each   = fileset("${path.module}/raw_views", "*.sql")
  database   = snowflake_database.dev_db.name
  schema     = snowflake_schema.dev_schemas["RAW"].name
  name       = upper(replace(replace(each.value, ".sql", ""), ".", ""))
  statement  = file("${path.module}/raw_views/${each.value}")
  depends_on = [snowflake_schema.dev_schemas["RAW"]]
}

When I change the is_transient property of the RAW schema into false, the provider (correctly) plans a destroy and create of the schema. But the provider ignores that schema has been granted to roles and that schema has been used in views
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
-/+ destroy and then create replacement

Terraform will perform the following actions:

  # snowflake_schema.dev_schemas["RAW"] must be replaced
-/+ resource "snowflake_schema" "dev_schemas" {
        comment             = "contains raw data from our source systems"
        data_retention_days = 1
        database            = "DEV_DB"
      ~ id                  = "DEV_DB|RAW" -> (known after apply)
        is_managed          = false
      ~ is_transient        = true -> false # forces replacement
        name                = "RAW"
    }

Plan: 1 to add, 0 to change, 1 to destroy.

Thus these grants and views suddenly dissapear.
In the next terraform apply the provider realizes that the grants and views are missing, trying to re-create.
Expected behavior
It should analyze the dependency and re-create all the downstream (or child) resources of the schema - specially grants and views.
Code samples and commands
Please add code examples and commands that were run to cause the problem.
Additional context
Add any other context about the problem here.

I observed something similar with warehouses and warehouse grants.
I think what's needed to solve this is to mark the name as something that always changes when recreating (even if it actually stays the same), as this would cause terraform to properly detect any cascading dependencies. Of course I don't know enough about writing terraform providers to know if this is possible ;)
In case of warehouses, I got around this by using id instead of name, which for warehouse is the same (because id is always "known after apply" when recreating), but for schemas id includes other things in addition to the name. If you need a quick workaround, I guess you could use split() to parse the id in the dependent resources instead of using name or key.

@foresterr can you be more specific how this workaround works with Id's? Perhaps and example on the warehouse and warehouse grant resources. Thank you

I think in your case grant resource would have to look something like this:
resource "snowflake_schema_grant" "schema_grant_dev_db_usage" {
  for_each      = var.dev_schemas
  schema_name   = split(snowflake_schema.dev_schemas[each.key].id, '|')[1] #this is the important part
  database_name = "DEV_DB"
  privilege     = "USAGE"
  roles         = each.value.usage_roles != [] ? each.value.usage_roles : ["ALL"]
}

Resource id is something that is always marked as changed when a resource is recreated, so if it's used somewhere in another resource, it triggers the dependency. For schemas, if name stays the same during the recreation, it is not marked as changed (you can see that in the plan output), so if there are other resources referring to it, they don't detect any change and assume they don't need to be recreated.

Thanks, this looks like a solution for this problem!


Modified web socket subscription check for given cache entry

For a given subscription and commitment level, if a cache entry is
found, and web socket connection is estabilished, then check whether we
have a corresponding active websocket subscription for that
subscription+commitment pair
Closes #152

Added all the requested changes to this branch, the other branch in #185 (which depends on this one) was rebased on top of it.


RSpecCompatibility: Fixed behaviour when a method does not exist to match the original

Motivation

An error is raised by sorbet-runtime if a non-existent instance method is specified in allow_any_instance_of.
And no particular error without sorbet-runtime.
It would be better if we did not define unnecessary mocks, but we thought it would be more natural if the behaviour was the same as the original behaviour.
Since there is no need for consideration on the sorbet-runtime side for methods that do not exist, a method existence check has been added.
Test plan

method = @klass.instance_method(method_name.to_sym)

The above expression will raise a NameError if method is not defined, so it should only be executed if there is a method definition.

@jez
Is this acceptable? What do you think of this? 😃


Add support for Archivist

The Archivist script name changes regularly to avoid caching, but this will reliably detect it.

Does Archivist only work for those already listed gamemodes? Or would it also trigger in COTD qualifications for example?

Archivist is a game mode. It's called TM_Archivist_<Nonce>_Local. the Nonce part is replaced when the plugin loads. (If I didn't do this, then plugin updates would sometimes require a game restart)
No other game mode starts with TM_Archivist_ so I use that as a test in my other plugins.

But archivist doesn't modify the current gamemode? So any TM_Archivist_* will always be time attack alike gamemode (so with LB on left)?

It's TM_PlayMap_Local with some extra ghost stuff, basically. And yeah, it doesn't touch other game modes.

Ahh alright, was a little confused for a bit, will merge this now and do a release


Code examples incorrect after prefix change

Apologies if this has already been reported or if the Angular Material team is already aware.
It appears that the code examples in the Angular Material docs do not reflect the change of the directive and selector prefixes from md to mat.
Please note since I am at work I have not done an exhaustive check of all code examples.
Bug, feature request, or proposal:
Inaccuracy in the docs
What is the expected behavior?
Code examples reflect old md-*/mdXYZ style prefixes.
What is the current behavior?
Code examples should reflect new mat-/matXYZ prefixes.
What are the steps to reproduce?
Look at the docs, all code examples I have checked (not exhaustive!!) have not been updated.
What is the use-case or motivation for changing an existing behavior?
The code examples should be correct.  They lower the barrier to entry for new comers to Angular Material and illustrate be practices for using Material components.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
"@angular/animations": "^4.4.5",
"@angular/cdk": "^2.0.0-beta.12",
"@angular/common": "^4.2.4",
"@angular/compiler": "^4.2.4",
"@angular/core": "^4.2.4",
"@angular/forms": "^4.2.4",
"@angular/http": "^4.2.4",
"@angular/material": "^2.0.0-beta.12",
"@angular/platform-browser": "^4.2.4",
"@angular/platform-browser-dynamic": "^4.2.4",
"@angular/router": "^4.2.4",

Is there anything else we should know?
Don't think so.

I was just about to post this. The code examples should be updated to use mat- instead of md-

Can you try clearing your browser cache and refreshing? We have some aggressive caching on the site that seems to be keeping some people from seeing the new content.

@andrewseguin yep clearing the cache seems to have done the trick.
Not sure if I'm supposed to close this or you but I am satisfied.

Cool thanks for the confirmation!


Firebase CLI 3.9.1 firebase use --add not working

In the Firebase FriendlyChat Demo, the below error occurs:
C:\Users\nebre\friendlychat-web\web-start>firebase use --add
? Which project do you want to add? project
? What alias do you want to use for this project? (e.g. staging) messaging
Created alias messaging for project.
Now using alias messaging (project)
However, it doesn't modify the index.html file at all. I'm not sure if I'm doing something wrong, or if it'sa bug.

this is only meant to connect the CLI and the code to a Firebase project which you have created on the Firebase app console. This way the CLI knows where to deploy your code, which Firebase Database to use etc...  This won't modify the index.html
Is there a specific reason why you thought this would modify the index.html? (I'm just asking in case I can make the codelab instructions more clear :)

Thanks for the clarification! In chapter 6, it says: "The Firebase SDK should be ready to use since you have imported and initialized it in the index.html file." When I opened up the test, it displayed an alert saying that I had not initialized the SDK. I think I actually hadn't re-served it, but I assumed that the initialization script should show up. Thanks so much again!

Indeed I'll change the wording here,. In the past you'd have to modify the index.html by hand and we forgot to update this. Nowadays the firebase CLI/hosting serves a special file at the URL /__/firebase/init.js which is automatically updated with your project configuration.
Thanks for the help and sorry about that!
Thanks for helping out!

في الواقع سوف تغيير الصياغة هنا،. في الماضي كان لديك لتعديل index.htmlباليد ونسينا لتحديث هذا. في الوقت الحاضر فيليبيس كلي / استضافة يخدم ملف خاص في ورل /__/firebase/init.jsالذي يتم تحديثه تلقائيا مع تكوين المشروع الخاص بك.
شكرا للمساعدة و نعتذر عن ذلك!


expand react-a11y-proptypes: full support for all rules

expand react-a11y-proptypes: full support for all rules
Enforce ARIA state and property values are valid.
• https://www.w3.org/TR/wai-aria/states_and_properties
• http://oaa-accessibility.org/wcag20/rule/85/
ARIA ID references must be valid IDRefs
• http://oaa-accessibility.org/wcag20/rule/86/
aria-owns should not be used if ownership is implicit in the DOM
• https://github.com/GoogleChrome/accessibility-developer-tools/wiki/Audit-Rules#aria-owns-should-not-be-used-if-ownership-is-implicit-in-the-dom
An element's ID must not be present in more than one aria-owns attribute at any time
• https://github.com/GoogleChrome/accessibility-developer-tools/wiki/Audit-Rules#an-elements-id-must-not-be-present-in-more-than-one-aria-owns-attribute-at-any-time
Elements with ARIA roles must ensure required owned elements are present
• https://github.com/GoogleChrome/accessibility-developer-tools/wiki/Audit-Rules#elements-with-aria-roles-must-ensure-required-owned-elements-are-present
Elements with ARIA roles must be in the correct scope
• https://github.com/GoogleChrome/accessibility-developer-tools/wiki/Audit-Rules#elements-with-aria-roles-must-be-in-the-correct-scope

☠  It's time! ☠
Per #876, this repository is no longer accepting feature pull requests. TSLint is being deprecated and we recommend you switch to https://typescript-eslint.io.
Thanks for open sourcing with us, everyone!


Change Transition Style enum to not conflict with MZFormSheetController

I'm using MZFormSheetController in our iOS 7/8 app, I use it as a dependency within a couple of private Cocoapods. I use the MZFormSheetPresentationController for iOS 8 and MZFormSheetController for iOS 7.
Now MZFormSheetPresentationController is separated out pushing a Cocoapod Spec with both MZFormSheetController & MZFormSheetPresentationController it returns a "redefinition of enumerator" error.
This should resolve things I think, there might be a better solution.

 Wonder if theres a better method to get around this?

Thanks forgot about this enum during refactor

I've just updated a bunch of other things, not sure if they are needed. Can pull request those as well if you check my fork.
Apologies about the naming, not sure if adding "Presentation" makes sense.

Sure go ahead, i will check it in free time and i am sure we will be to update this project. Actually i shouldn't name this project including name "PresentationController" because it doesn't inherit from UIPresentationController, but it is already done so it is good if we will be using this prefix ;)


Release 2.7.0

Getting this error in browser:

I would suggest clearing out local storage and then run it. If it crashes then we should investigate further. Reason with dev is that localhost is the domain that is used and localstorage has so many things in it as theme-tool also uses it and never gets flushed out properly

Fix the linting and release is good to go.
Need to resolve punjabi fonts and incorrect citation formatting for next release.
Our list of fixes keeps growing with every new feature implementation. So our next release will strongly focus on severely cutting down our existing fix list before tackling any new features. This is imperative. Discussion and development of new features are to be ceased until Q is empty of bug fixes.

#527 should fix lining errors


Create windows scripts

New issue. Windows scripts that will be similar to linux's ones.
colors:
http://www.netikka.net/tsneti/info/tscmd051.htm

I am no longer using Windows machine. Closing


YAML update to BRBINFO, ProductId

Bridged Device Information Cluster, Attribute ProductID test reflects marking as O, not X

Fast tracking PR that aligns with spec that is one week old.


tokenProviderFunction called 4 times during ServiceClient initialization

I am using the Microsoft.Identity.Client NuGet package to create a token provider function to initialize a new ServiceClient via the below constuctor.
ServiceClient.ServiceClient(Uri instanceUrl, Func<string, Task<string>> tokenProviderFunction, ...)

On initialization of the ServiceClient, before a request is even made, the tokenProviderFunction is invoked a total of 4 times.
Here is the ServiceClient initialization code:
static void ExecuteWhoAmIRequest(){

    var environmentUri = new Uri("https://XXX.crmX.dynamics.com");
    var tokenProvider = (Func<string,Task<string>>)GetBearerAccessToken;

    var serviceClient = new ServiceClient(
        instanceUrl: environmentUri,
        tokenProviderFunction: tokenProvider
    );

    var whoAmIResponse = serviceClient.Execute(new WhoAmIRequest());
}

Note: The tokenProviderFunction is invoked 4 times before the WhoAmIRequest is even hit.

And here is the tokenProviderFunction implementation:
static async Task<string> GetBearerAccessToken(string instanceUri){
    return "eyJ0eXAiOiJK..."
}

Note: I've omitted the actual use of the MSAL.NET package as upon removing it, the same issue persisted whereby GetBearerAccessToken was called 4 times despite a valid bearer token being returned each time.

Additional information:

This is a console application created via dotnet new console
The application has a TargetFramework of net5.0
The following NuGet packages are being used:

<PackageReference Include="Microsoft.Identity.Client" Version="4.36.0" />
<PackageReference Include="Microsoft.PowerPlatform.Dataverse.Client" Version="0.4.21" />

Yes,  this is by design,
Each time the client needs to use the token for something, or its accessed in a way that could contact Dataverse,  it requests it of the token provider.
During initialization, several calls are made to support authentication, version detection and endpoints,  Client identification, and accessing user identification.   Collectively these calls setup any version specific handling of subsequent calls, and populate properties for the client.
When you take on control of providing the access token, its the functions responsibility to manage caching,  either via relying on MSAL's built in caching or extensions too it, or crafting your own caching mechanic.

Thanks for that confirmation Matt. It makes perfect sense.
I'd suggest that the description of the tokenProviderFunction parameter of this constructor be updated to make this a little clearer. Maybe even just to include reference to the usage of token caching strategies.
For anybody that was curious or stumbles across this in the future...
My problem was that the implementation for my tokenProviderFunction didn't allow for cached token to be read because I was initializing a new IPublicClientApplication for each invocation of GetBearerAccessTokenAsync (my tokenProviderFunction). See below.
public async Task<string> GetBearerAccessTokenAsync(string instanceUri)
{
    IPublicClientApplication app = PublicClientApplicationBuilder.Create("06985e8a-XXXX-XXXX-XXXX-0077aaecc765")
        .WithTenantId("1fc4959a-XXXX-XXXX-XXXX-152765d1d5c9")
        .Build();

    ...

    try
    {
        result = await app
            .AcquireTokenSilent(scopes, accounts.FirstOrDefault())
            .ExecuteAsync();
    }
    catch (MsalUiRequiredException)
    {
        result = await app
            .AcquireTokenInteractive(scopes)
            .ExecuteAsync();
    }

    return result.AccessToken;
}

It was becuause of this oversight that I got 4 annoying interactive login popups instead of the expected 1. After hoisting the IPublicClientApplication instance out of GetBearerAccessTokenAsync, everything worked as expected with only a single interactive login popup, followed by 3 invocations that read from the token cache.


Steam Emoticon Support

The emoticons appear as if they were typed. Also having a little Emoticon Menu like in steam would be helpful as well.

I'm currently switching over from vapor to steam-user. Once this is done I can start working on some features. This one seems like it could be pretty simple.


RossLean.StringificationGenerator

https://github.com/RossLean/RossLean/tree/master/RossLean.StringificationGenerator

https://github.com/RossLean/RossLean/issues/21#issuecomment-2075732825


Model Saving Problem

Hello, I have tried to train a model but I got the following exception while saving the model:
autoencoder/embeddings:0: (1380, 300) (414000 parameters)
autoencoder/fw/lstm_cell/kernel:0: (800, 2000) (1600000 parameters)
autoencoder/fw/lstm_cell/bias:0: (2000,) (2000 parameters)
autoencoder/bw/lstm_cell/kernel:0: (800, 2000) (1600000 parameters)
autoencoder/bw/lstm_cell/bias:0: (2000,) (2000 parameters)
projection/dense/kernel:0: (1000, 1380) (1380000 parameters)
projection/dense/bias:0: (1380,) (1380 parameters)
Total: 4999380 parameters
INFO:root:Initialized the model and all variables. Starting training.
Traceback (most recent call last):
  File "train-autoencoder.py", line 113, in <module>
    args.dropout_keep, 5.0, report_interval=args.interval)
  File "/autoencoder-master/src/autoencoder.py", line 285, in train
    self.save(saver, session, save_path)
  File "/autoencoder-master/src/autoencoder.py", line 305, in save
    json.dump(metadata, f)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/json/__init__.py", line 180, in dump
    fp.write(chunk)
 TypeError: a bytes-like object is required, not 'str'

Do you have any idea?
Thanks

It's probably because the file opened in line 305 in autoencoder.py is in 'wb' mode, and in Python 3 json expects the non-binary mode 'w'.
You can change this line in your code, once I have the time I'll try to adapt the whole repository to Python 3.


update(blog): fix minor typo on 0.32.1 post

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind user-interface

/kind content

/kind translation

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area blog

/area documentation

/area videos

What this PR does / why we need it:
Which issue(s) this PR fixes:

Special notes for your reviewer:

Welcome @prattmic! It looks like this is your first PR to falcosecurity/falco-website 🎉

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: prattmic
To complete the pull request process, please assign rajakavitha1 after the PR has been reviewed.
You can assign the PR to them by writing /assign @rajakavitha1 in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

GitHub's diff doesn't have very nice highlighting, making it hard to see the change. I fixed "When usign gVisor" -> "When using gVisor".

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jasondellaluce, prattmic
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [jasondellaluce]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: b69ead3110936d72873ffc1a717546c6907dfe7f


Made various Contributions in DSA and Machine Learning Projects

Have you read the Contributing Guidelines?

YES

What is the current behavior?

All added files are in Python and running good.

Category

𝑫𝑺𝑨
𝑷𝒓𝒐𝒋𝒆𝒄𝒕𝒔

Changes
Following are the files that I have contributed to:
Arrays:
_006)_Left_Rotate_Array_by_d_places
_007)_Right_Rotate_Array_by_d_places
Sorting Algorithms:

Counting_Sort.py

Recursion Algorithms:

Factorial.py
GCD.py
Fibonacci_Series.py
Palindrome.py

Tree Data Structure:
Binary_Tree_Traversals.py
Binary_Tree_Height.py
Machine Learning Projects:

Beginner Level: Life Expectancy Using Linear Regression
My git repo: https://github.com/maanasvi999/LinearRegression

Intermediate Level: Random Forest Classifier
My git repo: https://github.com/maanasvi999/RandomForestClassifier

Checklist

I've read the Contributing Guidelines.
I've checked the issue list before deciding what to submit.
I've follow Tree of Index.
I've add work in proper folder
I've not delete/modify previous codes.

Hello Akash,
I am not sure which ML training image files you are referring to.
I have not deleted any of those.
And I have added my git repos into the ML projects folder by using git
submodule add .
I am not sure how to handle the error of "files are not open in the repo".
Could you please help me out?
Thanks and Regards
Maanasvi Kodli
On Tue, Aug 31, 2021 at 10:51 AM Akash Singh @.***>
wrote:

@.**** requested changes on this pull request.
Don't delete the files
You delete the ML training image files
and also submit your full code
[image: image]
https://user-images.githubusercontent.com/60146338/131446366-28bfe321-c9ba-487f-a0c5-af27cd0b0f0e.png
these files are not open in the repo
UPDATE all files and again send pull request
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/pull/171#pullrequestreview-742286269,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMGZEXV6VWJN3ELVD7QSPXTT7RRFLANCNFSM5DDAN7FA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Hello Akash, I am not sure which ML training image files you are referring to. I have not deleted any of those. And I have added my git repos into the ML projects folder by using git submodule add . I am not sure how to handle the error of "files are not open in the repo". Could you please help me out? Thanks and Regards Maanasvi Kodli
…
On Tue, Aug 31, 2021 at 10:51 AM Akash Singh @.> wrote: @.* requested changes on this pull request. Don't delete the files You delete the ML training image files and also submit your full code [image: image] https://user-images.githubusercontent.com/60146338/131446366-28bfe321-c9ba-487f-a0c5-af27cd0b0f0e.png these files are not open in the repo UPDATE all files and again send pull request — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#171 (review)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMGZEXV6VWJN3ELVD7QSPXTT7RRFLANCNFSM5DDAN7FA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Submit your all files in repo not add link

Deleted Code

Deleted Training Images

Changes made according to change requests, please check and merge PR

That path is Data Analysis right. The projects I am contributing belong to Machine Learning. Correct me if I am wrong

That path is Data Analysis right. The projects I am contributing belong to Machine Learning. Correct me if I am wrong

Yes, I take an image of the wrong path
Basically, I mention this path

I think you push code in outside of the path
Everything is fine

Yes, I made two folders in the following path:
The-Complete-FAANG-Preparation\5]. Projects\Machine Learning & Data Science  (ML-DS)\Python\Machine Learning Projects
One folder for Linear Regression, another folder for Random Forest Classifier.
Does it still require any changes?
If so do let me know

Okay making changes in the folder names

Made changes as requested, please review

Thank you for the merge of PR!


update package versions

Description
Release of latest SSX Packages
Type

[x] Release

 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.


Losing model accuracy by using cudnn.TemporalConvolution

Hi
https://github.com/shuzi/sentclassifier/blob/master/train.lua#L11_L17
I tested cunn.TemporalConvolution
fbcunn.TemporalConvolutionFB
cudnn.TemporalConvolution
TemporalConvolution from cunn and fbcunn give same model accuracy
TemporalConvolution of cudnn will give different model accuracy (few percent lower)
Any idea why?
I am using cudnn v4. Cuda 7.5

Most probably the problem is cudnn's non-deterministic algorithm used for updateGradInput. The summations are performed in the different order in cudnn.TemporalConvolution and nn.TemporalConvolution, and it is quite possible the cudnn's error is larger.

hmm,  the difference is too much, I lose more than 5% accuracy......

In the script below, for a variety of sizes I get relative errors between nn.TemporalConvolution and cudnn.TemporalConvolution on the order of 1e-6. Please let me know if you get bigger errors for your parameters.
require 'cudnn'
require 'cunn'
bs = 128
ki = 3
si = 1
ini = 6
print("feature Size, absolute error, relative error")
for iF=128, 1024,32 do
	oF = iF
	input = torch.randn(bs,ini,iF):cuda()
	conv = cudnn.TemporalConvolution(iF,oF,ki):cuda()
	convg = nn.TemporalConvolution(iF,oF,ki):cuda()
	convg.weight = conv.weight:clone()
	convg.bias = conv.bias:clone()
	conv:zeroGradParameters()
	convg:zeroGradParameters()
	o1 = conv:updateOutput(input)
	o2 = convg:updateOutput(input)
	local diff =  (o1-o2):abs():max()
	print("forward diff", iF, diff, diff/o1:abs():max())
	local gO = torch.Tensor():resize(o1:size()):cuda()
	gO:rand(gO:nElement()):resize(o1:size())
	b1 = conv:backward(input, gO)
	b2 = convg:backward(input, gO)
	diff =  (b1-b2):abs():max()
	print("data diff", iF, diff, diff/b1:abs():max())
	diff =  (conv.gradWeight-convg.gradWeight):abs():max()
	print("weight diff", iF, diff, diff/conv.gradWeight:abs():max())
	diff =  (conv.gradBias-convg.gradBias):abs():max()
	print("bias diff", iF, diff, diff/conv.gradBias:abs():max())
end

@ngimel Thank you!
 Are those TemporalConvolution sizes representative of what you actually are trying to run? I still don't see any reason other than fp accuracy for the accuracy difference in your training results.

@ngimel
Yes, the sizes are representative.
The classification task I am running is a difficult one: 7000 training examples and 3600 labels.
I guess this task is very sensitive to the backpropagation errors even the order is only 1e-7.


Seach Functions dont work?

When using the web interface, If i select just an Action, it shows up with the information requested, but if I select a user it says "An Unknown Error Occurred" It does this for Coordinates, Radius, Worlds, Users, Materials, entities,  Date/Time, and even Limit... So basically the entire website is useless unless i want just a massive flood of data in the map.

same behavior as in https://www.spigotmc.org/threads/coreprotect-lookup-web-interface.173574/#post-3811046

Yes same Behavior, Willing to allow testing with my site as well https://angel-gaming.com/bans
Secondly I'm running MariaDB 10.3.17-MariaDB MariaDB Server
Core Protect Versions 2.18.2

I'll start looking into it next week.  I believe it has to do with the old versions of MySQL/MariaDB server not understanding the query.
Until then, if you can, try updating to the latest MySQL server version.

@chuushi Thats very interesting, So i downloaded the new MariaDB Repo, and Yum Updated to the newest version, and its working now, so your 100% correct it is the older version, 10.4 works perfectly.

pls fix that problem, because i cant update my mysql for that :(

I agree with ikuria. I cant update it either stuck with the one my host provides.

Can I suggest to change the subject of the issue to mysql: search functions do not work ?
This issue does not impact sqlite users.
Thanks!