Fail to train with compile as true.

I just want to try the train.py. Then I ran this command:
 python -m train.py --compile=False --eval_iters=10 --batch_size=8 although I got two GPU. But I did not find a way to use them all.
This works well but it would loop over around 2.0. The loss would not reduce any longer.
And when I set --compile= True. It would crash.
The traceback does not include any valuble info but this line: KeyError: torch.complex64.
I searched this error it says the support of complex64. I can not keep going here.
Please help. Thanks.

+1
Currently looking into this too. Posting the stack trace here in case someone else encounters this too.
Stack trace:
Traceback (most recent call last):
  File "/anaconda/envs/llama_2_karpathy/lib/python3.8/site-packages/torch/_dynamo/output_graph.py", line 670, in call_user_compiler
    compiled_fn = compiler_fn(gm, self.fake_example_inputs())
  File "/anaconda/envs/llama_2_karpathy/lib/python3.8/site-packages/torch/_dynamo/debug_utils.py", line 1055, in debug_wrapper
    compiled_gm = compiler_fn(gm, example_inputs)
  File "/anaconda/envs/llama_2_karpathy/lib/python3.8/site-packages/torch/__init__.py", line 1390, in __call__
    return compile_fx(model_, inputs_, config_patches=self.config)
  File "/anaconda/envs/llama_2_karpathy/lib/python3.8/site-packages/torch/_inductor/compile_fx.py", line 455, in compile_fx
    return aot_autograd(
  File "/anaconda/envs/llama_2_karpathy/lib/python3.8/site-packages/torch/_dynamo/backends/common.py", line 48, in compiler_fn
    cg = aot_module_simplified(gm, example_inputs, **kwargs)
  File "/anaconda/envs/llama_2_karpathy/lib/python3.8/site-packages/torch/_functorch/aot_autograd.py", line 2822, in aot_module_simplified
    compiled_fn = create_aot_dispatcher_function(
  File "/anaconda/envs/llama_2_karpathy/lib/python3.8/site-packages/torch/_dynamo/utils.py", line 163, in time_wrapper
    r = func(*args, **kwargs)
  File "/anaconda/envs/llama_2_karpathy/lib/python3.8/site-packages/torch/_functorch/aot_autograd.py", line 2515, in create_aot_dispatcher_function
    compiled_fn = compiler_fn(flat_fn, fake_flat_args, aot_config)
  File "/anaconda/envs/llama_2_karpathy/lib/python3.8/site-packages/torch/_functorch/aot_autograd.py", line 1715, in aot_wrapper_dedupe
    return compiler_fn(flat_fn, leaf_flat_args, aot_config)
  File "/anaconda/envs/llama_2_karpathy/lib/python3.8/site-packages/torch/_functorch/aot_autograd.py", line 1328, in aot_dispatch_base
    compiled_fw = aot_config.fw_compiler(fw_module, flat_args_with_views_handled)
  File "/anaconda/envs/llama_2_karpathy/lib/python3.8/site-packages/torch/_dynamo/utils.py", line 163, in time_wrapper
    r = func(*args, **kwargs)
  File "/anaconda/envs/llama_2_karpathy/lib/python3.8/site-packages/torch/_inductor/compile_fx.py", line 430, in fw_compiler
    return inner_compile(
  File "/anaconda/envs/llama_2_karpathy/lib/python3.8/site-packages/torch/_dynamo/debug_utils.py", line 595, in debug_wrapper
    compiled_fn = compiler_fn(gm, example_inputs)
  File "/anaconda/envs/llama_2_karpathy/lib/python3.8/site-packages/torch/_inductor/debug.py", line 239, in inner
    return fn(*args, **kwargs)
  File "/anaconda/envs/llama_2_karpathy/lib/python3.8/contextlib.py", line 75, in inner
    return func(*args, **kwds)
  File "/anaconda/envs/llama_2_karpathy/lib/python3.8/site-packages/torch/_inductor/compile_fx.py", line 177, in compile_fx_inner
    compiled_fn = graph.compile_to_fn()
  File "/anaconda/envs/llama_2_karpathy/lib/python3.8/site-packages/torch/_inductor/graph.py", line 586, in compile_to_fn
    return self.compile_to_module().call
  File "/anaconda/envs/llama_2_karpathy/lib/python3.8/site-packages/torch/_dynamo/utils.py", line 163, in time_wrapper
    r = func(*args, **kwargs)
  File "/anaconda/envs/llama_2_karpathy/lib/python3.8/site-packages/torch/_inductor/graph.py", line 571, in compile_to_module
    code = self.codegen()
  File "/anaconda/envs/llama_2_karpathy/lib/python3.8/site-packages/torch/_inductor/graph.py", line 522, in codegen
    self.scheduler.codegen()
  File "/anaconda/envs/llama_2_karpathy/lib/python3.8/site-packages/torch/_dynamo/utils.py", line 163, in time_wrapper
    r = func(*args, **kwargs)
  File "/anaconda/envs/llama_2_karpathy/lib/python3.8/site-packages/torch/_inductor/scheduler.py", line 1167, in codegen
    self.get_backend(device).codegen_nodes(node.get_nodes())
  File "/anaconda/envs/llama_2_karpathy/lib/python3.8/site-packages/torch/_inductor/codegen/triton.py", line 1495, in codegen_nodes
    return self.codegen_node_schedule(node_schedule, numel, rnumel)
  File "/anaconda/envs/llama_2_karpathy/lib/python3.8/site-packages/torch/_inductor/codegen/triton.py", line 1551, in codegen_node_schedule
    src_code = kernel.codegen_kernel()
  File "/anaconda/envs/llama_2_karpathy/lib/python3.8/site-packages/torch/_inductor/codegen/triton.py", line 1216, in codegen_kernel
    "signature": dict(enumerate(map(signature_of, signature))),
  File "/anaconda/envs/llama_2_karpathy/lib/python3.8/site-packages/torch/_inductor/codegen/triton.py", line 48, in signature_of
    tye = JITFunction._type_of(arg.dtype)
  File "/anaconda/envs/llama_2_karpathy/lib/python3.8/site-packages/triton/runtime/jit.py", line 166, in _type_of
    ty = {
KeyError: torch.complex64

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "train.py", line 258, in <module>
    losses = estimate_loss()
  File "/anaconda/envs/llama_2_karpathy/lib/python3.8/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
  File "train.py", line 214, in estimate_loss
    logits, loss = model(X, Y)
  File "/anaconda/envs/llama_2_karpathy/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
  File "/anaconda/envs/llama_2_karpathy/lib/python3.8/site-packages/torch/_dynamo/eval_frame.py", line 82, in forward
    return self.dynamo_ctx(self._orig_mod.forward)(*args, **kwargs)
  File "/anaconda/envs/llama_2_karpathy/lib/python3.8/site-packages/torch/_dynamo/eval_frame.py", line 209, in _fn
    return fn(*args, **kwargs)
  File "/anaconda/envs/llama_2_karpathy/lib/python3.8/site-packages/torch/_dynamo/eval_frame.py", line 337, in catch_errors
    return callback(frame, cache_size, hooks)
  File "/anaconda/envs/llama_2_karpathy/lib/python3.8/site-packages/torch/_dynamo/convert_frame.py", line 404, in _convert_frame
    result = inner_convert(frame, cache_size, hooks)
  File "/anaconda/envs/llama_2_karpathy/lib/python3.8/site-packages/torch/_dynamo/convert_frame.py", line 104, in _fn
    return fn(*args, **kwargs)
  File "/anaconda/envs/llama_2_karpathy/lib/python3.8/site-packages/torch/_dynamo/convert_frame.py", line 262, in _convert_frame_assert
    return _compile(
  File "/anaconda/envs/llama_2_karpathy/lib/python3.8/site-packages/torch/_dynamo/utils.py", line 163, in time_wrapper
    r = func(*args, **kwargs)
  File "/anaconda/envs/llama_2_karpathy/lib/python3.8/site-packages/torch/_dynamo/convert_frame.py", line 324, in _compile
    out_code = transform_code_object(code, transform)
  File "/anaconda/envs/llama_2_karpathy/lib/python3.8/site-packages/torch/_dynamo/bytecode_transformation.py", line 445, in transform_code_object
    transformations(instructions, code_options)
  File "/anaconda/envs/llama_2_karpathy/lib/python3.8/site-packages/torch/_dynamo/convert_frame.py", line 311, in transform
    tracer.run()
  File "/anaconda/envs/llama_2_karpathy/lib/python3.8/site-packages/torch/_dynamo/symbolic_convert.py", line 1726, in run
    super().run()
  File "/anaconda/envs/llama_2_karpathy/lib/python3.8/site-packages/torch/_dynamo/symbolic_convert.py", line 576, in run
    and self.step()
  File "/anaconda/envs/llama_2_karpathy/lib/python3.8/site-packages/torch/_dynamo/symbolic_convert.py", line 540, in step
    getattr(self, inst.opname)(inst)
  File "/anaconda/envs/llama_2_karpathy/lib/python3.8/site-packages/torch/_dynamo/symbolic_convert.py", line 1792, in RETURN_VALUE
    self.output.compile_subgraph(
  File "/anaconda/envs/llama_2_karpathy/lib/python3.8/site-packages/torch/_dynamo/output_graph.py", line 541, in compile_subgraph
    self.compile_and_call_fx_graph(tx, pass2.graph_output_vars(), root)
  File "/anaconda/envs/llama_2_karpathy/lib/python3.8/site-packages/torch/_dynamo/output_graph.py", line 588, in compile_and_call_fx_graph
    compiled_fn = self.call_user_compiler(gm)
  File "/anaconda/envs/llama_2_karpathy/lib/python3.8/site-packages/torch/_dynamo/utils.py", line 163, in time_wrapper
    r = func(*args, **kwargs)
  File "/anaconda/envs/llama_2_karpathy/lib/python3.8/site-packages/torch/_dynamo/output_graph.py", line 675, in call_user_compiler
    raise BackendCompilerFailed(self.compiler_fn, e) from e
torch._dynamo.exc.BackendCompilerFailed: debug_wrapper raised KeyError: torch.complex64

Having the same issue, same stack trace as far as I can see. Tried updating triton via pip after reading the suggestion here, but no luck with triton 2.0.0.post1.

(fwiw I currently train with --compile=False. Works fine just a bit slower.)

Currently seems

Having the same issue, same stack trace as far as I can see. Tried updating triton via pip after reading the suggestion here, but no luck with triton 2.0.0.post1.

Yeah, also with the nightly version of triton it doesn't work. I took a look again, and seems that triton just doesn't support compiling with complex64. Probably either a triton or a pytorch bug. I wonder how this works elsewhere.

(fwiw I currently train with --compile=False. Works fine just a bit slower.)

yes, but I want to compile the model. So I enabled compile.
I wonder how you compile the model? Any special config. My GPU is Tesla V100.

Have you guys tried running with a nightly version of PyTorch? Maybe there was a change to how TorchInductor handles complex floats.
FWIW, when I last ran on Monday morning with both single-GPU and multi-GPU (DDP), I was able to run with torch.compile(). I build torch from source and use triton 2.0.0.

Have you guys tried running with a nightly version of PyTorch? Maybe there was a change to how TorchInductor handles complex floats.
FWIW, when I last ran on Monday morning with both single-GPU and multi-GPU (DDP), I was able to run with torch.compile(). I build torch from source and use triton 2.0.0.

pytorch does support complex64.
import torch

a = torch.tensor([1.0, 2.0], dtype=torch.double)
b = a.type(torch.complex64)

I installed the lateset triton and got a new error:
from triton import next_power_of_2
ImportError: cannot import name 'next_power_of_2' from 'triton' (unknown location)

so much on the table by no using compile...

I found some clue it is the function precompute_freqs_cis which uses torch.polar to convert tensors to complex64.
But triton does not support this. see here.
This is interesting. The simple way is to replace this function without using complex type from my point.
But I may miss some background knowledge here.
@tcapelle what is you point?

#103 this may fix this issue.

@dongwangdw This appears to work using tip-of-tree of pytorch. It will provide a fallback for the complex ops and output a warning
/opt/conda/envs/py_3.8/lib/python3.8/site-packages/torch/_inductor/lowering.py:1298: UserWarning: Torchinductor does not support code generation for complex operators. Performance may be worse than eager.

Close this due to the fix merged and I have verified it works.


file RENAME failed to rename (build fails by CMake)

file RENAME failed to rename (build fails by CMake)
Environment

OS: Win10
Visual Studio 2019 16.6
Vcpkg version 2020.02.04-nohas

To Reproduce
Steps to reproduce the behavior:

./vcpkg install tesseract (or any other package)

Extracting 7zip...
A suitable version of nuget was not found (required v4.8.1). Downloading portable nuget v4.8.1...
Downloading nuget...
https://dist.nuget.org/win-x86-commandline/v4.8.1/nuget.exe -> C:\Developer\vcpkg\downloads\nuget.exe
Starting package 1/9: giflib:x86-windows
Building package giflib[core]:x86-windows...
-- Note: giflib only supports static library linkage. Building static library.
-- Downloading https://nchc.dl.sourceforge.net/project/giflib/giflib-5.1.4.tar.bz2...
CMake Error at C:/Developer/vcpkg/scripts/cmake/vcpkg_download_distfile.cmake:185 (file):
file RENAME failed to rename
/c/Developer/vcpkg/C:/Developer/vcpkg/downloads/temp/giflib-5.1.4.tar.bz2

to
/c/Developer/vcpkg/C:/Developer/vcpkg/downloads/giflib-5.1.4.tar.bz2

because: No such file or directory
Expected behavior
After new installation of vcpkg, installation of first package should work.
This happens with any package I want to install. Have tried reinstall vcpkg several times, does not solve the problem.
Both folders do exist (& ".../temp/giflib-5.1.4.tar.bz2" exists).
What is going wrong?

Can you confirm your vcpkg is latest?

/c/Developer/vcpkg/C:/Developer/vcpkg path also looks very strange.
Which shell are you using?

Hi & thanks for your reply.
Yes, latest vcpkg (I downloaded & bootstrapped vcpkg yesterday several
times). I tried both, power shell & cmd.
Do I need to install anything else besides visual studio, git & vcpkg? What
about c++ workload?
Also, maybe the problem comes from some my msys2 installation (I added the
paths to the environment), maybe confusing of cmake versions, ...?
By the way, my windows is win10, 10.0.18368 Home.
On Mon, Jun 1, 2020 at 7:47 AM Stefano Sinigardi<EMAIL_ADDRESS>wrote:

/c/Developer/vcpkg/C:/Developer/vcpkg path also looks very strange.
Which shell are you using?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vcpkg/issues/11685#issuecomment-636625977,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APZINKB77CWTZXTBPPRWFM3RUM6GDANCNFSM4NPLINGQ
.

@peterTonic2000 From your info, please remove msys2 first, then try to install port.
Thanks.

Hi there. I renamed the msys folder so that the msys files are not found by
the system --> compilation /installation via vcpkg seems to work.
I also tried it with sqlite: I find a folder
"C:\Developer\vcpkg\packages\sqlite3_x86-windows\include" with two header
files. So the installation seems to be successfull - right?
On Mon, Jun 1, 2020 at 11:47 AM Jack·Boos·Yu<EMAIL_ADDRESS>wrote:

@peterTonic2000 https://github.com/peterTonic2000 From your info,
please remove msys2 first, then try to install port.
Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vcpkg/issues/11685#issuecomment-636746599,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APZINKBOC6ZWDH7XLQ475UTRUN2M3ANCNFSM4NPLINGQ
.

So the installation seems to be successfull - right?

Only if the headers are also in C:\Developer\vcpkg\installed\x86-windows\include otherwise the installation is incomplete

Yes, the header files are also in .. vcpkg\installed\x86-windows\include
I also tried to include the headers in visual studio, works as well.
thanks for your help!
On Mon, Jun 1, 2020 at 2:45 PM Alexander Neumann<EMAIL_ADDRESS>wrote:

So the installation seems to be successfull - right?
Only if the headers are also in
C:\Developer\vcpkg\installed\x86-windows\include otherwise the
installation is incomplete
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vcpkg/issues/11685#issuecomment-636840608,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APZINKD4ZNV5QFGO3KNF5SLRUOPIHANCNFSM4NPLINGQ
.


Interactions: Locale

Addition of locale and guild_locale fields to Interaction.
Source: https://github.com/discord/discord-api-docs/pull/4265

To be fair, I forgot about the locale mappings, so yeah, credits to #1073 for the idea. Anyways, I think I'm gonna close this one, since @TopiSenpai probably did a better job. So yeah, I'm closing it in favor of #1073.


Performance & storage footprint question

Hi! Work looks amazing!
I have a few questions:

What's the storage footprint of 1 min audio? (e.g. it creates 1000 records in the database which results in 50 kb of storage use)
Do you have any performance observations? (e.g. 1 CPU core @ 3 GHz takes 30 sec to process & record to database, and 10 sec to retrieve from database). I understand it's very "depends on", but still :-)

@dj-nuo Thank you for the kind words.
Storage Footprint:
From my analysis of a playlist of 1-minute songs, the number of fingerprints generated per song varies. The minimum number of fingerprints generated was 413, while the maximum was 4634. On average, each 1-minute song produces about 2466 fingerprint entries.
Each fingerprint consists of a key (address) of 4 bytes and a value (models.Couple) of 8 bytes, totaling 12 bytes per fingerprint. So, for a 1-minute song with an average of 2466 fingerprints, the storage requirement is approximately 29.592 kilobytes (12 * 2466). For a database containing 1000 such songs, the total storage footprint would be around 28.88 MB.
Performance Observations:
Performance can vary, but here are some insights based on my setup:

CPU: 12th Gen Intel(R) Core(TM) i7-1255U processor
Database Size: 193 songs

For this setup I observed the following performance metrics:

The processing time for the songs in the 1-minute songs playlist ranged from 289.13 milliseconds to 1274.95 milliseconds, with an average of 743.07 milliseconds.
Searching for a match with a 4.24-minute song that generated 10,976 fingerprints took approximately 4.64 seconds.
Searching for a match with a 20-second recording that generated 1,868 fingerprints took around 684 milliseconds.

These results suggest that the search time is generally proportional to the number of fingerprints generated and the database size. However, other factors such as hardware specifications can also influence performance.


godoc-gogetdoc breaks on windows

At least it breaks in my (fairly standard, I think) setup, quoting the drive : with double backslashes.
It seems to me that it is incorrect to call shell-quote-argument on the file name (as the above function does), because there is no shell involved at all.  I have removed the quoting call and have it working again on Windows, while it just continues to work on Linux.

See pull request #235.


feat: add a description of the Scrimba Bootcamp

The landing page for our site is index.html. We should have a description of the Scrimba Bootcamp. You can use your own words, or reference Scrimba's Bootcamp Landing Page.

@michaella23  Hi micha, can I work on this.

I'm assigning this to you @fame372. Thank you!

Hey there @fame372! do you still want to work on this issue? 🙂


Prevents crashing communication thread of async producer

If an uncaught exception occurs in _send_messages() the thread sending
data to Kafka (asynchronously) will crash and the queue will never be
emptied. To reproduce:

Run an Async producer.
Kill the Kafka server.
Restart the Kafka server.
The communication thread dies shortly after step 2. After step 3 the
communication does not resume without this commit.

The change in KafkaClient::_send_broker_aware_request() prevents an
exception from being thrown when it's called by
KafkaClient::send_produce_request() with fail_on_error=False.
Other exceptions besides KafkaUnavailableError that can be thrown include:
LeaderNotAvailableError, UnknownTopicOrPartitionError and
UnknownTopicOrPartitionError.
The try/except in KafkaClient::_send_broker_unaware_request() prevents
an exception to crash the communication thread.

All the checks failed, but the error doesn't ring a bell. What can I do to fix this?
The command "if [ -n "$UNIT_AND_LINT_ONLY" ]; then tox -e lint,./travis_selector.sh $TRAVIS_PYTHON_VERSION; else tox -e ./travis_selector.sh $TRAVIS_PYTHON_VERSION; fi" exited with 1.

This morning I've installed all dependencies. tox -e lint passes, but tox -e py27 has been running for 6 hours now. I see that it communicates with a Kafka server that I'm running, but it hasn't printed more than:
GLOB sdist-make: /home/bschopman/git/kafka-python/setup.py
py27 inst-nodeps: /home/bschopman/git/kafka-python/.tox/dist/kafka-python-0.9.5-dev.zip
py27 runtests: commands[0] | nosetests -v -x --with-id --id-file=/home/bschopman/git/kafka-python/.tox/py27/.noseids --with-timer --timer-top-n 10 --with-coverage --cover-erase --cover-package kafka


Merge test-server-devel with server-devel

The server is now able to handle multiple clients. Please test it and let me know if you encounter any problems.

Looks great!! Thanks Craig :+1:


no-arch build, fix SPDX license, update build step

A few notes:

Looking at the upstream setup.py - shouldn't the build be noarch:python?
Fix the SPDX license expression
Update the build step instruction to the current recommended pattern

Checklist

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

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

Good work LGTM?


cherry-pick commits to release-2.0

@nolouch We only need to cherry-pick bug fixes. Improvements will be released in v2.1.

/run-all-tests tidb=release-2.0 tikv=release-2.0 tidb-test=release-2.0

PTAL @siddontang @Connor1996

LGTM


Test director registration

Add a unit test for the director registration API.
Test should:

Create keypair and corresponding and token allowing registration access.
Inject the keypair into the internal key cache.  This may require some refactoring of the key cache to be an interface so we can replace the lookup into the namespace registry with the pubkey newly-created for the test.
Invoke the registration endpoint, check for resulting HTTP status code.
Do the above step again with an invalid token.
Query the director for an object within the new origin's namespace.  Ensure the response includes the newly registered origin.

@bbockelm I'm working on this now, but I realized this isn't quite clear (at least to a newbie) on what exact API functions is this supposed to be testing? Which module is the director registration API? I just want to make sure I don't bypass what I'm actually supposed to be writing the test for in the interest in making the test as small and focused as possible.


Twitter integration using twitter-node

This is a rough sketch of how twitter integration might look using @technoweenie's twitter-node dependency.

Then I find this... https://sparkflare.com/


Fix several typos in srcs

Fix some typos in source files

No objections to this.

Thanks for the corrections.

Thanks


✨ CLI Tools

It may be good to be able to open a file or directory from the command line with a command like codeedit . or codeedit index.js etc.

Closing via #667. Thank you for your contribution @benkoska!


Accessibility - Using keyboard letters to navigate through options

Please add if you think its worthwhile
     if(keyCode !== 27 && keyCode !== 13 && keyCode !== 38 && keyCode !== 40) {
        // My code
        var letter = String.fromCharCode(event.which);
        var filterLetter = $this.find('a:contains("'+ letter +'")').filter(function() {
          return $(this).text().indexOf(letter) === 0;
        });
        filterLetter.eq(0).focus();
      }

I think this is a useful feature and also be requested in #31
But I'm not have a strong willing to implement this because new feature may introduce new bugs. So any one who can open a pull request is a great help.

Im sure I can do this for you. Do you have to give me permission for a pull request??

Any pull request conformed the contribute guide is welcomed. If you pull request pass the test, I'll merge the pull request

When I do a pull request I get this message:
Authentication Failed
You may not have permission to access nya-bootstrap-select. Check Preferences to make sure you’re still logged in.

You should for this repository, commit your code into forked repository, then open a pull request on your repository, then I'll review your pull request and merge this pull request.


Implement sounds like function for mysql

I'm not sure where it should be - in core or in MySql module, but I believe it should be separate from core module


killTree option brittle on some systems

See the longer discussion on https://github.com/nodejitsu/forever/issues/621

Anything further on this_? I read the longer closed thread.
I start with:
forever start index.js
Then, I stop with:
forever stopall -t
This_is always left (and I pkill node, but I'm at a loss as to why the child remains):
develop+  1176  2.8  0.1 1108036 48592 ?       Sl   14:36   0:00 /usr/local/bin/node /home/developer/rundir/node_modules/node-fork-rpc/lib/childRunner /home/developer/rundir/...stuff.js


multi-threading on tensorflow models

Hello;
I have a TensorFlow model in .h5. I call it from a Flask App via /predict
my project consist on predicting the sentiment of each entering comment from tweeter in streaming.
I want to load the model one time (at the beginning) , then many threads or processes use this model (share it)
I get a Lock error.
How can I fix this bug, how to allow many threads to share the same model at the same time without locking.?
Thanks

Same problem here


Show media when se coucher moins bete quotes have one

Some quote have picture or video in it, it would be nice to be able to see them in the app. Like seeing the picture and having the link or the video.
Example here :
http://secouchermoinsbete.fr/70595-la-gaule-est-un-concept-romain
http://secouchermoinsbete.fr/70654-tous-les-panneaux-routiers-de-londonderry-sont-barres-a-la-main

duplicate of #20


Some fields are nil or empty

Hello,
I got this line in the database
mandant = 24
reference = 408
von_datum = 01.01.15
bis_datum = 01.01.15
...
SCHLUESSELWERT_1 = LAS_SND_REP
ID = 716785

And this is the result
/opt/logstash/bin/logstash -f jdbc.conf
Logstash startup completed
{
             "mandant" => 24.0,
            "referenz" => 408.0,
           "von_datum" => 2015-01-01 00:00:00 +0100,
           "bis_datum" => 2015-01-01 00:00:00 +0100,
    "ermittlungsdatum" => 2015-01-01 00:11:26 +0100,
               "monat" => 1.0,
                "jahr" => 2015.0,
                "wert" => 10.0,
    "schluesselwert_1" => "",
    "schluesselwert_2" => nil,
    "schluesselwert_3" => nil,
    "schluesselwert_4" => "",
    "schluesselwert_5" => nil,
           "bemerkung" => nil,
    "schluesselwert_6" => nil,
                  "id" => 716785.0,
            "@version" => "1",
          "@timestamp" => "2015-09-07T15:30:00.640Z"
}

The most important problem is that schluesselwert_1 is nil or empty and it's definitly filled in the database. The second problem is that for instance mandant is a normal integer instead of a float.
I tried ojdbc6 and ojdbc7.jar. This is my jdbc.conf
input {
  jdbc {
    jdbc_driver_library => "/opt/ojdbc6.jar"
    jdbc_driver_class => "Java::oracle.jdbc.OracleDriver"
    jdbc_connection_string => "jdbc:oracle:thin:@//db:1521/db"
    jdbc_user => "MGMT"
    jdbc_password => "pw"
    schedule => "* * * * *"

    statement => "select * from OPM where ID='716785'"
  }
}

filter {
}

output {
    #if ("_grokparsefailure" in [tags]) {
        stdout { codec => rubydebug }
    #}
}

Thanks

Interesting is that when I use sql function, such as "to_char" the the field becomes empty.
   select to_char(MANDANT) mandant,
When I use this my mandant field becomes empty too.

Use ojdbc14.jar


CharacterComponent.Orientation initialized as 0,0,0,0 instead of 0,0,0,1

Release Type: Official Release/GitHub (please choose appropriate option)
Official Release
Version: Version number and/or git branch
3.1.1
Platform(s):
Windows 10 Professional 64-bit
Describe the bug
When a CharacterComponent is initialized, its Orientation property starting value is 0,0,0,0.
It for instance prevents from multiplicating its value by Quaternion.RotationY in order to rotate its Y axis as the end value is always 0.
replacing it by 0,0,0,1 allows it to properly rotate.
To Reproduce
Steps to reproduce the behavior:

Add a Character component to an Entity.
Check its Orientation value and try to multiply it by other quaternions to rotate it.

Expected behavior
It should initialize as 0,0,0,1 to allow such operations without requiring too much quaternions knowledge to understand the root of issues.

Fix could be cherry picked from my fork: https://github.com/phr00t/FocusEngine/commit/e8e5550b997282c9ca2d2008a2784bb1a9615c71


Darkness does not drop below 0.6

When the time is set to midnight, Darkness level doesn't increase more than 0.6, meaning maps never reach their full darkness potential.
Is this intended?
Calendar date is Zarantyr 01, Eberron time

Either you've got your maximum Darkness level set to that in the module's settings (in the Darkness Configuration tool), or you've got Moon Phase Affects Darkness Level enabled, and the moon is out.

I don't seem to have any option to change the maximum darkness level inside of the module's settings, but it seems that it is being caused by Moon Phase Affects Darkness Levels.
However, my current Simple Calendar Configuration does not have any moons:

Is darkness of 0.6 when there are no moons normal?

Simple Calendar isn't required to have moon phases -- they're displayed on the SmallTime slider, and can be cycled with Shift-click. If you don't want this effect, can disable it in settings.

I'll disable the light levels dependent on moon phases, that seems the best way to keep light consistently darker. Thank you unsoluble!


Operations on Buckets should use Storage.*Option types

Some of the static classes in Storage, such as BlobTargetOption which is used by Storage.create(), are also being erroneously used in Bucket. This is problematic because Bucket keys of of path Strings, not BlobInfo instances, and therefore isn't able to extract information like the blob's generation, causing a line like this:
bucket.create(file, data, null, BlobTargetOption.generationMatch());

to fail:
 java.lang.IllegalArgumentException: Option ifGenerationMatch is missing a value
     at com.google.common.base.Preconditions.checkArgument(Preconditions.java:122)
     at com.google.gcloud.storage.StorageImpl.addToOptionMap(StorageImpl.java:651)
     at com.google.gcloud.storage.StorageImpl.addToOptionMap(StorageImpl.java:643)
     at com.google.gcloud.storage.StorageImpl.optionMap(StorageImpl.java:681)
     at com.google.gcloud.storage.StorageImpl.optionMap(StorageImpl.java:660)
     at com.google.gcloud.storage.StorageImpl.optionMap(StorageImpl.java:695)
     at com.google.gcloud.storage.StorageImpl.optionMap(StorageImpl.java:703)
     at com.google.gcloud.storage.StorageImpl.create(StorageImpl.java:140)
     at com.google.gcloud.storage.StorageImpl.create(StorageImpl.java:129)
     at com.google.gcloud.storage.Bucket.create(Bucket.java:360)

And there is no way in Storage.BlobTargetOption to actually specify a generation.
I don't think Bucket should have any dependency on the Storage.*Option types. There's clearly a good amount of overlap, but I don't think that's a good enough reason for them to share these types. Even where they behave the same it's confusing for the caller.
They could extend from a shared parent if we wanted, but that should be an implementation detail.
I can put together a patch to remove the dependencies on Storage.*Option from Bucket if that's desired.

Nice catch!
We should provide dedicated BlobTargetOption and BlobWriteOption in Bucket. I am assigning this to myself and I'll work on it ASAP.

#705 adds BlobTargetOption and BlobWriteOption to Bucket and fixes the bug reported by this issue. Storage.BlobListOption is still used in Bucket as it makes no sense to me to copy-paste the class given that it applies as-is.

You could have Storage.BlobListOption and Bucket.BlobListOption extend a shared parent. That saves too much typing but makes it much clearer to callers that they're doing the right thing. When I was getting set up the Storage/Bucket overlap was one of the more confusing parts of the API.


Ensure all promises have exception handlers

This applies to commands and other VS Code API that return promises.
Note: We seem to have code within the extension where this happens today.
See https://github.com/Microsoft/vscode-python/issues/218#issuecomment-348079405
UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property 'SendExceptionInfo' of null
(node:6204) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Fixed with #228 (changes committed)


Warning Less File text-decoration-skip

Version
7.0.0-rc.3
Environment
Angular CLI: 7.3.1
Node: 10.15.1
OS: linux x64
Angular: 7.2.4
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router
Package                            Version
@angular-devkit/architect          0.13.1
@angular-devkit/build-angular      0.13.1
@angular-devkit/build-ng-packagr   0.13.1
@angular-devkit/build-optimizer    0.13.1
@angular-devkit/build-webpack      0.13.1
@angular-devkit/core               7.3.1
@angular-devkit/schematics         7.3.1
@angular/cdk                       7.3.1
@angular/cli                       7.3.1
@ngtools/json-schema               1.1.0
@ngtools/webpack                   7.3.1
@schematics/angular                7.3.1
@schematics/update                 0.13.1
ng-packagr                         4.7.0
rxjs                               6.4.0
typescript                         3.1.6
webpack                            4.29.0
Steps to reproduce
$ ng serve
What is expected?
No warnings
What is actually happening?
WARNING in ./src/theme.less (./node_modules/@angular-devkit/build-angular/src/angular-cli-files/plugins/raw-css-loader.js!./node_modules/postcss-loader/src??embedded!./node_modules/less-loader/dist/cjs.js??ref--15-3!./src/theme.less) Module Warning (from ./node_modules/postcss-loader/src/index.js): Warning
(155:3) Replace text-decoration-skip: ink to text-decoration-skip-ink: auto, because spec had been changed

fixed in https://github.com/NG-ZORRO/ng-zorro-antd/pull/2845/files#diff-5b1fdddf2d322caecaae14289b15c3edR241

Hi @vthinkxie,  I am new to Ant-Design, I am also getting this error with the above version.  Has the change go merged on to master?
Thanks.

I have the same issue with version ^7.0.0-rc.3, it's annoying anyway, so when will the fixed build release?

什么时候发个版呢？最新的7.0。0-rc.3版本还是会有这个报警，很糟心

@ravivit9 @xy1041 @tony-yyj new version will be released before 02/28


Models date|time sweep and timeframe cleanup following recent Date Ranges addition

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/1828
Originally created by @derek-knox on 2020-03-02 14:38:37

@iroussos Please add any additional context or nuke this issue if there is one already created to account for this effort (I couldn't find one). This issue is based on a discussion with you when I was in the middle of implementing the date range functionality.
Regarding the Date Ranges picker that was recently introduced, there is a follow-up effort needed to ensure all the Meltano Models get updated for improved UX in the UI:

[ ] Ensure the type=date|time of column attributes are properly set (many are type=string and thus are not picked up by the Date Range picker functionality)
[ ] I believe many of the Timeframe related attributes can be culled in favor of certain column attributes being updated to type=date

[x] Facebook Ads: https://gitlab.com/meltano/model-facebook/-/merge_requests/20
[x] Google Analytics: Already good!
[x] Stripe: https://gitlab.com/meltano/model-stripe/-/issues/3

View 8 previous comments from the original issue on GitLab


Unable to start AP

Hello,
I was trying to get this up and running to keep track of my Bluetti battery in my camper. I followed some directions to get Armbian running on an OrangePi and supervised HA. Any help would be appreciated.
Core 2024.7.4
Supervisor 2024.08.0
Frontend 20240710.0
Hass.io Access Point <IP_ADDRESS>
Starting Hass.io Access Point Addon
# Setup interface:
Add to /etc/network/interfaces: iface wlan0 inet static
Run command: nmcli dev set wlan0 managed no
Warning: nmcli (1.46.2) and NetworkManager (1.42.4) versions don't match. Restarting NetworkManager is advised.
Run command: ip link set wlan0 down
Add to /etc/network/interfaces: address <IP_ADDRESS>
Add to /etc/network/interfaces: netmask <IP_ADDRESS>
Add to /etc/network/interfaces: broadcast <IP_ADDRESS>
Run command: ip link set wlan0 up
# Setup hostapd:
Add to hostapd.conf: ssid=TinyLittleCamper
Add to hostapd.conf: wpa_passphrase=********
Add to hostapd.conf: channel=6
Add to hostapd.conf: ignore_broadcast_ssid=0
Add to hostapd.conf: macaddr_acl=0
Add to hostapd.conf: interface=wlan0
# DHCP enabled. Setup dnsmasq:
Add to dnsmasq.conf: dhcp-range=<IP_ADDRESS>,<IP_ADDRESS>,12h
Add to dnsmasq.conf: interface=wlan0
Warning: nmcli (1.46.2) and NetworkManager (1.42.4) versions don't match. Restarting NetworkManager is advised.
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped

Hi,
I have the same issue, but it only occurs when there was no internet connection available during the boot of Home Assistant. Does your HA instance have internet access when you're trying to start the Access Point? This might help in diagnosing the issue.
Any insights or workarounds would be greatly appreciated.
Thanks in advance!

It did have Internet when starting. I was using eth0 providing LAN access and using the wlan0 for the AP.

I connected a usb wifi adapter and confirmed that armbian can connect via that. Though I was able to connect prior on wlan0
frank@OrangePi:~$ ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: end0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
    link/ether 02:07:46:11:09:f5 brd ff:ff:ff:ff:ff:ff
3: wlx801f027c6e3c: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DORMANT group default qlen 1000
    link/ether 80:1f:02:7c:6e:3c brd ff:ff:ff:ff:ff:ff
4: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
    link/ether 50:d4:e6:88:ff:3a brd ff:ff:ff:ff:ff:ff
5: docker0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default
    link/ether 02:42:27:76:39:5c brd ff:ff:ff:ff:ff:ff
6: hassio: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default
    link/ether 02:42:85:d4:39:8d brd ff:ff:ff:ff:ff:ff
8: veth4acef5c@if7: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master hassio state UP mode DEFAULT group default
    link/ether 82:a3:c0:0b:5b:83 brd ff:ff:ff:ff:ff:ff link-netnsid 0
10: vethbf5c99e@if9: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master docker0 state UP mode DEFAULT group default
    link/ether 3e:20:fa:b5:e5:03 brd ff:ff:ff:ff:ff:ff link-netnsid 1
12: vethc7cd207@if11: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master hassio state UP mode DEFAULT group default
    link/ether 66:d7:06:3a:1b:c8 brd ff:ff:ff:ff:ff:ff link-netnsid 1
14: vethcdf47ed@if13: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master hassio state UP mode DEFAULT group default
    link/ether 5e:8c:05:4b:54:2e brd ff:ff:ff:ff:ff:ff link-netnsid 2
16: vethb75ef14@if15: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master hassio state UP mode DEFAULT group default
    link/ether 2a:ec:06:cf:bc:c9 brd ff:ff:ff:ff:ff:ff link-netnsid 3
18: veth2d6f894@if17: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master hassio state UP mode DEFAULT group default
    link/ether 3e:85:1a:97:a6:d5 brd ff:ff:ff:ff:ff:ff link-netnsid 4
24: vethd17f0f3@if23: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master hassio state UP mode DEFAULT group default
    link/ether 32:56:e8:e2:ac:d3 brd ff:ff:ff:ff:ff:ff link-netnsid 5
frank@OrangePi:~$ nmcli device status
DEVICE                   TYPE      STATE                   CONNECTION
wlx801f027c6e3c          wifi      connected               Supervisor wlx801f027c6e3c
lo                       loopback  connected (externally)  lo
p2p-dev-wlx801f027c6e3c  wifi-p2p  disconnected            --
p2p-dev-wlan0            wifi-p2p  unavailable             --
docker0                  bridge    unmanaged               --
hassio                   bridge    unmanaged               --
end0                     ethernet  unmanaged               --
veth13439f2              ethernet  unmanaged               --
veth2d6f894              ethernet  unmanaged               --
veth4acef5c              ethernet  unmanaged               --
vethb75ef14              ethernet  unmanaged               --
vethbf5c99e              ethernet  unmanaged               --
vethc7cd207              ethernet  unmanaged               --
vethcdf47ed              ethernet  unmanaged               --
wlan0                    wifi      unmanaged               --
frank@OrangePi:~$ nmcli connection show
NAME                        UUID                                  TYPE      DEVICE
Supervisor wlx801f027c6e3c  0866fea1-86e2-4c54-8955-3b597d943258  wifi      wlx801f027c6e3c
lo                          35071640-e174-4afd-ac26-8b32dcd00641  loopback  lo

So oddly enough if I leave wlan0 alone and use a usb dongle I can connect no problem.


Upgrade to PHPUnit 7.1

Oops, I flew right past this to phpunit 7.2 as I was attempting to fix the travis build today.

Excellent, at the time of creating PR this version was not yet!

Closing due to 7.2 :) Thanks


Space mission planning

Authors
tag authors here, including their github username
T.J. Tarazevits @venku122
Eric Gerstner N/A
Abstract
This proposal defines a semester long research project to evaluate space mission concepts on a technical basis. The chosen mission objective and constraints will be evaluated for their feasibility and potential solutions and technical approximations will be described in the final report. It is intended to build technical skills as well as produce polished technical content that SPEX can showcase.
Comments for Reviewers (optional)
Working on a table for the timeline, but I am dealing with some tabularx issues. I would like to get a review on content and grammar, so that this PDD can be reused in the future.

One comment: The file structure does not mirror new-organization directory hierarchy. There are loose files in the root (other than README and LICENSE), for example, and SPEXformat is still here.
Maybe you should pull from new-org to this branch first?

@venku122 bump. lets get some of these merged!


Notes are created at 41.6900000, 12.7100000 if users skip first step with a direct link

I'm struggling since months with notes created at these precise coordinates: 41.6900000, 12.7100000

I did a test (here). A note is created at those coordinates if a user skips the first step ("Start by telling us where your business is located.") at https://www.onosm.org/ by using a direct link to https://www.onosm.org/#details
is there a way to avoid it?

Closing to consolidate conversation on #103.


TerraformTaskV1@0 init without backendServiceArm using -backend=false

I am looking to have a pipeline which only runs a Terraform install, Terraform init then Terraform validate. This works normally when I specify my backendServiceArm, backendAzureRmResourceGroupName, backendAzureRmStorageAccountName, backendAzureRmContainerName and backendAzureRmKey inputs.
- task: TerraformTaskV1@0
  displayName: 'Terraform init'
  inputs:
    provider: 'azurerm'
    command: 'init'
    backendServiceArm: '$(backendServiceArm)'
    backendAzureRmResourceGroupName: '$(backendAzureRmResourceGroupName)'
    backendAzureRmStorageAccountName: '$(backendAzureRmStorageAccountName)'
    backendAzureRmContainerName: '$(backendAzureRmContainerName)'
    backendAzureRmKey: '$(backendAzureRmKey)'

I'm aiming to remove the backend configuration so that I dont need to grant this pipeline access into Azure, and any validation can be done only within Azure DevOps.
I have tried combinations of the following but it always errors with "##[error]Error: Input required: backendServiceArm"
- task: TerraformTaskV1@0
  displayName: 'Terraform init'
  inputs:
    provider: 'azurerm'
    command: 'init'
    commandOptions: -backend=false

Is there a way to accomplish this using the extension?

+1 for this

I found a better work around for me. I populated the required fields with N/A and put -backend=false as a command option. This allows me to init locally for the build step then I can init remote for my specific environment branches.
- task: TerraformTaskV3@3   displayName: 'Terraform init test'   inputs:     provider: 'azurerm'     command: 'init'     commandOptions: '-input=false -backend=false'     workingDirectory: '${{parameters.tf_path}}'     backendServiceArm:  '${{parameters.tf_azurerm}}'     backendAzureRmResourceGroupName: 'N/A'     backendAzureRmStorageAccountName: 'N/A'     backendAzureRmContainerName: 'N/A'     backendAzureRmKey: 'N/A'
In my dev, qa and production stages I just need to remove the .terraform folder to make sure I don't get the error "migrate state needed"
 rm -rf directoryname $(Pipeline.Workspace)/terraform/.terraform

+1 for this. Believe it's an issue as of v4 still.

I'm not sure of the exact use case here? The purpose of the Task is to simplify using a Service Connection with Terraform. It is designed for running Terraform with connections to Cloud providers.
If you are just running a local fmt / validate you don't need the task or a Service Connection. It actually makes it more complicated than it needs to be. I appreciate the Task could be updated to handle this edge case more gracefully, but in the meantime you can just use the standard CLI tooling.
E.g.
jobs:
  - job: validate
    displayName: Validate Terraform
    pool:
      vmImage: ubuntu-latest
    steps:
      - task: TerraformInstaller@0
        displayName: Install Terraform
        inputs:
          terraformVersion: 'latest'
      - pwsh: terraform fmt -check
        displayName: Terraform Format Check
      - pwsh: terraform init -backend=false
        displayName: Terraform Init
      - pwsh: terraform validate
        displayName: Terraform Validate

Example taken from here.

closing this; alternative way provided


📎 Add --linter to the command biome rage

Description
We want to add a new option called --linter to the command biome rage.
The command is meant to print helpful information for us maintainers. With the --linter option, we want to print a list of the rules applied given the current configuration.
This is where the implementation should be:
https://github.com/biomejs/biome/blob/1646ddb29b3227d81413324f6aa2cf99d0ffdd4d/crates/biome_cli/src/commands/rage.rs#L17-L59

@ematipico
I'm thinking of working on this.
If possible, I would appreciate it if you could provide an example of the output.

@ematipico
I'm thinking of working on this.
If possible, I would appreciate it if you could provide an example of the output.

Nothing fancy, just a list like:
noDebugger = error
useConst = off

I think that's a good start, then we can improve it once we have something

@ematipico
I understand. Could you assigned me?


Problem with installing models from civit.ai

HTTP request sent, awaiting response... 401 Unauthorized
Username/Password Authentication Failed.
I tried wget "civit.ai model download link" but got this error. I already put my API key btw

And is there a way to download private models directly from huggingface?

HTTP request sent, awaiting response... 401 Unauthorized
Username/Password Authentication Failed.
I tried wget "civit.ai model download link" but got this error. I already put my API key btw

I already provide Install from URLs cell for people to download models manually, so why you download models using wget ?
API Key that you input doesn't work outside my ipynb notebooks.

And is there a way to download private models directly from huggingface?

I haven't implemented it yet. Soon.
Thanks for reminding me.

Thanks man!  Should I put the link between brackets in the Install from URLs cell? I tried it but didn't worked that way.

Put your link between brackets and quotation marks. Add comma at the end if you want to put multiple links.
It should look like this :
other_models = ['https://huggingface.co/Lykon/DreamShaper/resolve/main/DreamShaper_8_pruned.safetensors']
# or
other_models = [
    'https://huggingface.co/Lykon/DreamShaper/resolve/main/DreamShaper_8_pruned.safetensors',
    'https://civitai.com/api/download/models/201259?type=Model&format=SafeTensor&size=pruned&fp=fp16'
]

HuggingFace support has been added.
Update 2024.10.15
WebUI Settings


[BUG] Redirects to moved-pages don't work

Describe the bug 🐞
https://docs.near.org/docs/api/rpc should (and used to) redirect to https://docs.near.org/docs/develop/front-end/rpc

there is an issue with Render's redirects that I'm actively trying to solve. Will notify you once it's fixed.

It seems that you have moved the page back to its original URL. It would be great to have the redirect from this page: https://docs.near.org/docs/develop/front-end/rpc

It seems that you have moved the page back to its original URL. It would be great to have the redirect from this page: https://docs.near.org/docs/develop/front-end/rpc

Hey Frol! Sorry for the delay (was OOO Friday)
Creating the redirect from /docs/develop/front-end/rpc to /docs/api/rpc was actually the initial cause of this bug.
When I created this new redirect and removed the old redirect (from /docs/api/rpc to /docs/develop/front-end/rpc) the old rule did not stop and caused an infinite redirect loop. 😞 I reached out to Render to help resolve the issue and ultimately it just needed 48hrs to resolve itself. Yesterday I added back the initial redirect (from /docs/develop/front-end/rpc to docs/api/rpc) and everything seems to be working as expected.
Please re-open this issue again if you are still experiencing an issue... also note you may need to clear your browser's cache or view it in incognito mode.

Cool! I think it was caching the redirect response. It works fine now. Thanks!


RuntimeError: Unexpected block read failure. Bad file? while trying to create a model in Google Colab

I've trained turicreate models on Colab before and they worked fine but lately getting the error message:

2332         """
-> 2333         return SFrame(_proxy=self.proxy.head(n))
2334
2335     def to_dataframe(self):
turicreate/cython/cy_sframe.pyx in turicreate.cython.cy_sframe.UnitySFrameProxy.head()
turicreate/cython/cy_sframe.pyx in turicreate.cython.cy_sframe.UnitySFrameProxy.head()
RuntimeError: Unexpected block read failure. Bad file?

on command: model = tc.object_detector.create(train_data)
The SFrame is saved on drive along with all the images and annotations.
What am I doing wrong ?

What version of TuriCreate are you using? Is train_data a Pandas data frame? Also please share the full stack trace.

I'm using turicreate 5.2

!pip install turicreate==5.2
!pip uninstall -y mxnet
!pip install mxnet-cu100
that's the only config that would allow me to train on Colab notebook

train_data, test_data = data.random_split(0.95)
no train_data is split from a tc.SFrame object that I load from Gdrive. the Frame has column_types [str, tc Image, list] with over 50k images

complete log:

RuntimeError                              Traceback (most recent call last)
 in ()
1 train_data, test_data = data.random_split(0.95)
----> 2 model = tc.object_detector.create(train_data, batch_size = 64,max_iterations=3000)
2 frames
/usr/local/lib/python3.6/dist-packages/turicreate/toolkits/object_detector/object_detector.py in create(dataset, annotations, feature, model, classes, batch_size, max_iterations, verbose, **kwargs)
183     from ._manual_scheduler import ManualScheduler as _ManualScheduler
184     import mxnet as _mx
--> 185     if len(dataset) == 0:
186         raise _ToolkitError('Unable to train on empty dataset')
187
/usr/local/lib/python3.6/dist-packages/turicreate/data_structures/sframe.py in len(self)
2198         Returns the number of rows of the sframe.
2199         """
-> 2200         return self.num_rows()
2201
2202     def copy(self):
/usr/local/lib/python3.6/dist-packages/turicreate/data_structures/sframe.py in num_rows(self)
2266         num_columns
2267         """
-> 2268         return self.proxy.num_rows()
2269
2270     def num_columns(self):
turicreate/cython/cy_sframe.pyx in turicreate.cython.cy_sframe.UnitySFrameProxy.num_rows()
turicreate/cython/cy_sframe.pyx in turicreate.cython.cy_sframe.UnitySFrameProxy.num_rows()
RuntimeError: Unexpected block read failure. Bad file?

turns out it was an issue with google drive daily quota limits.


Search engine benchmark

Tasks

[ ] Benchmarks based on production data volume

PostgreSQL (required)
Meilisearch

References

Product doc

@tx0c I've assigned this issue to you since you'll make final decision.

Partial benchmark result:

https://www.notion.so/matterslab/Search-Solutions-Research-ccc44f9877334f34aa15b02d2833821e


ischiofemoral ligament

Add new term:
abnormal ischiofemoral ligament morphology (a child of abnormal ligament morphology MP:0005504)
DEF: any structural anomaly of the triangular band of strong fibers on the posterior side of the hip joint; its fibers span from the ischium at a point below and behind the acetabulum to blend with the circular fibers at the posterior end of the joint capsule and attach at the intertrochanteric line of the femur
SYN: abnormal ischiocapsular ligament morphology
SYN: abnormal ischiocapsular band morphology
SYN: abnormal ligament of Bertin morphology
SOURCE: https://en.wikipedia.org/wiki/Ischiofemoral_ligament

Added new term:
abnormal ischiofemoral ligament morphology MP:0030774


Optimal Page Replacement algorithm In Java and python

In operating systems, whenever a new page is referred and not present in memory, page fault occurs and Operating System replaces one of the existing pages with newly needed page. Different page replacement algorithms suggest different ways to decide which page to replace. The target for all algorithms is to reduce number of page faults. In this algorithm, OS replaces the page that will not be used for the longest period of time in future.

In operating systems, whenever a new page is referred and not present in memory, page fault occurs and Operating System replaces one of the existing pages with newly needed page. Different page replacement algorithms suggest different ways to decide which page to replace. The target for all algorithms is to reduce number of page faults. In this algorithm, OS replaces the page that will not be used for the longest period of time in future.

Please assign me sir @Kumar-laxmi


Remove unnecessary string cloning from the parser

Closes https://github.com/astral-sh/ruff/issues/9869.

Hate this change, didn't even improve benchmarks!!!

Hate this change, didn't even improve benchmarks!!!

That's because codspeed uses the cost 0 for allocations....

I'm gonna get to the bottom of this if it's the last thing I do.

I see basically no improvement on local benchmarks either via criterion or hyperfine. I'm not sure why, to be honest. I guess I'll proceed with the change since it's both (1) a better API, and (2) intuitively better to avoid re-allocating here when we don't need to. But I'm a bit confused.

(Ignore current state of the PR, I duplicated the existing and updated code to do some benchmarking. I'll clean up later.)

By removing lexing from the parser benchmark, I'm now able to see a more consistent 1-2% improvement in parse time, so I'll move forward with this. (Benchmarking the individual string-parsing functions (rather than the parser as a whole) shows an enormous speed-up, like 2x.)


Renewal not working

Hi,
the host confirmation is not working. If I look at the logs it looks good:
Using user agent "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:115.0) Gecko/20100101 Firefox/115.0"
Opening browser
Login successful
Confirming hosts phase
Checking if host "*******.ddns.net" needs confirmation
Host "*******.ddns.net" confirmed
1 host confirmed
Finished
Logging off

But If I look at the NoIP website, it shows Redemption in 4 days:

I pulled the newest image of simaofsilva/noip-renewer
Any ideas about this?

Hi,
From time to time, as far as I know, NOIP requires an extra step on confirmation, Can you try clicking on the "Confirm" button and see if the host is confirmed or if you are redirect to a follow-up page?

Hi,
Thank you for the feedback.
OK. Yes if I click on Confirm I get this screen:

And If I go back and do it again, I get this screen here:

Is there a solution for this "extra step"?

Given that extra step has a captcha, that will not be possible, unfortunately.

OK, that's to bad. Would it be possible to write something in the logs, if the captcha occurs, so that you see that it could not be renewed?
Because the log shows this here:
1 host confirmed

I will try add something once I am able to reproduce the scenario.


Ajax file uploads

AJAX multi-file uploader on claim form. Drag and drop or select multiple files. Endpoints to create and destroy documents.

Just a couple of points of usability bonus points:

a warning that invalid files will not be saved
clear image for tick image


Bot not responding to commands

The server I'm trying to implement the bot on already has a bot using '!' as a "caller".
I've tried changing it to "-" and "^" but nothing is working? The bot is Online on the server and I get no errors when launching it using node bot.js
bot.on('message', function (user, userID, channelID, message, evt) {
     if (message.substring(0, 1) == '^') {
         var args = message.substring(1).split(' ');
         var cmd = args[0];

         args = args.splice(1);
         switch(cmd) {
             case 'ping':
                 bot.sendMessage({
                     to: channelID,
                     message: 'Pong!'
                 });
             break;
          }
      }
 });

I get no response whatsoever

SOLUTION:
Turned out the server was configured so that regular users couldn't send messages in any channel.
Naturally, the solution was to give the bot a role so that it could actually send messages...
Can't believe I made this mistake..


Update to swift 4.2

Update to swift 4.2 according to issue #568

Thanks for this migration work @redcapua!

This shouldn't be merged yet. Our test infra doesn't support Xcode 10 or Swift 4.2. There is an update I can push which checks for swift version and works for both 4.2 and 4. I've been holding off on it to move to 4.2 straight when our infra is updated. I should've commented earlier.


Resource types in filtering should be labeled the same as resource types in resource creation

The filtering interface uses the following resource type labels

However in creating a resource the following labels are used

These should be consistent.  The filter labels should be changed to the same as the creation labels.

Does not apply to new My Resource page


Add binding for setting effort

The org-clock-modify-effort-estimate is only useful after we've clocked
in a task.

LGTM. Thanks for the PR.


Time series is cut on certain conditions

Describe the bug
Time series looks cut on certain conditions.
Expected behavior
Plugin should return a full set of values.
Screenshots
Bug

Data alignment disabled

Software versions

Grafana
Zabbix
Grafana-Zabbix Plugin

x.x.x
x.x.x
4.2.3

Actually, data alignment is not a root cause of this bug. Backend returns the full set of points, but then, during the conversion to the wide data frame format, this happens. The condition required to replicate this bug is that first series should have a length less than other series. Then data for all series cut to the first series length. So hope this bug does not occur quite often.


[fr] Add support to disable optimistic locking for save command

JPA supports LockMode.NONE.
In some cases it is desirable to completely disable any locking.
The syntax can be like this:
sql.save(case) {
  setLockType(AUTO | NONE | OPTIMISTIC | PESSIMISTIC)
}

Try 0.8.112 please, the configuration of save command provides setLockMode


[s2n] update to 1.3.20

Fix #26660
Update s2n to the latest version 1.3.20

Already up to 1.3.21
https://github.com/aws/s2n-tls/releases/tag/v1.3.21

https://github.com/aws/s2n-tls/releases/tag/v1.3.23

https://github.com/aws/s2n-tls/releases/tag/v1.3.23

@armanbilge, Thanks for your reminder, I'll start upgrading this port after I've dealt with the urgent matter at hand.

Thanks for your work on this!

https://github.com/aws/s2n-tls/releases/tag/v1.3.24

https://github.com/aws/s2n-tls/releases/tag/v1.3.25

There is one release every week...

https://github.com/aws/s2n-tls/releases/tag/v1.3.26

https://github.com/aws/s2n-tls/releases/tag/v1.3.27

https://github.com/aws/s2n-tls/releases/tag/v1.3.28

https://github.com/aws/s2n-tls/releases/tag/v1.3.29

https://github.com/aws/s2n-tls/releases/tag/v1.3.31

@JonLiu1993 this pr is also needed for this issue https://github.com/microsoft/vcpkg/issues/29083, I tried to update s2n in my PR https://github.com/microsoft/vcpkg/pull/29085. But I am facing issues with the patches, I tried to update the patches, but the thing is s2n requires LC which is the AWS version of LibCrypto, which is not replaceable with OpenSSL, as OpenSSL doesn't have EVP_KYBER_512 crypto algorithm. I also looked into if we can create a port aws-lc, but it will create a conflict with OpenSSL, as their headers installs are similar. And I don't know how to handle that. Do you have any suggestions?

#29236 brought 1.3.35.


ReanimatedError: Tried to synchronously call a non-worklet function on the UI thread.

I'm using the MultiStoryContainer like below:
{isStoryViewVisible && (
      <MultiStoryContainer
       visible={isStoryViewVisible}
	onComplete={() => setIsStoryViewShow(false)}
	userStoryIndex={pressedIndex}
	stories={storiesData}
	imageStyle={{
	    height: '100%',
	}}
	renderFooterComponent={undefined}
	barStyle={{
	    barHeight: 2,
	    barInActiveColor: '#fff',
	    barActiveColor: '#F2C80A',
	}}
	/>
)}

it shows the story without any problem but in my console I receive the following error and after that my whole animations of the screen stops working :
ReanimatedError: Tried to synchronously call a non-worklet function on the UI thread.

Possible solutions are:
  a) If you want to synchronously execute this method, mark it as a worklet
  b) If you want to execute this function on the JS thread, wrap it using `runOnJS`, js engine: reanimated

"react-native-reanimated": "^3.3.0",
"react-native-story-view": "^0.0.3",

You can resolve this error by applying a patch:
Navigate to:
/node_modules/react-native-story-view/lib/components/MultiStoryContainer/MultiStoryContainer.js
Change line 4:
import Animated, { useAnimatedStyle } from 'react-native-reanimated';
With
import Animated, { useAnimatedStyle, runOnJS } from 'react-native-reanimated';
Then from line 21 to line 30:
    const animationStyle = useAnimatedStyle(() => {
        switch (props.transitionMode) {
            case TransitionMode.Cube:
                return cubeTransition(index, scrollX);
            case TransitionMode.Scale:
                return scaleTransition(index, scrollX);
            default:
                return defaultTransition();
        }
    }, [index, scrollX.value]);

With:
    const animationStyle = useAnimatedStyle(() => {
        switch (props.transitionMode) {
            case TransitionMode.Cube:
                return runOnJS(cubeTransition)(index, scrollX);
            case TransitionMode.Scale:
                return runOnJS(scaleTransition)(index, scrollX);
            default:
                return runOnJS(defaultTransition)();
        }
    }, [index, scrollX.value]);

You can resolve this error by applying a patch:
Navigate to: /node_modules/react-native-story-view/lib/components/MultiStoryContainer/MultiStoryContainer.js
Change line 4: import Animated, { useAnimatedStyle } from 'react-native-reanimated';  With import Animated, { useAnimatedStyle, runOnJS } from 'react-native-reanimated';
Then from line 21 to line 30:
    const animationStyle = useAnimatedStyle(() => {
        switch (props.transitionMode) {
            case TransitionMode.Cube:
                return cubeTransition(index, scrollX);
            case TransitionMode.Scale:
                return scaleTransition(index, scrollX);
            default:
                return defaultTransition();
        }
    }, [index, scrollX.value]);

With:
    const animationStyle = useAnimatedStyle(() => {
        switch (props.transitionMode) {
            case TransitionMode.Cube:
                return runOnJS(cubeTransition)(index, scrollX);
            case TransitionMode.Scale:
                return runOnJS(scaleTransition)(index, scrollX);
            default:
                return runOnJS(defaultTransition)();
        }
    }, [index, scrollX.value]);

This is not working with react-native-reanimated version 3.4.1. However 3.3.0 works without problem.

Navigate to: /node_modules/react-native-story-view/lib/components/MultiStoryContainer/utils/StoryTransitions.js
Replace this code:
export const defaultTransition = () => ({ ...StyleSheet.absoluteFillObject });
with this code:
export const defaultTransition = () => {
'worklet';
return {
...StyleSheet.absoluteFillObject,
};
};

@iArchin This issue is fixed.
Thank you for your PR @aawolf1099.
This change will be available in the next release.


Issues 5 7 25 33/music album genre classes

Hi 👋
This PR is intended to solve #5 #7 #25 and #33
Happy coding 👏

Thanks! 😄


Rustup: Update dependencies and make structs public

I pointed some dependencies back to your repos since they should work now.
Do you agree with making the structs public? I'm mostly guessing to make stuff build again. The sound like they could be public. Note that I didn't provide the best docs yet. Please come with suggestions on what to write or say that it's OK to leave as is. Linter options force us to provide docs.
@japaric

Do you agree with making the structs public?

No, they are an implementation detail and shouldn't be in the public API. I'm okay with merging this as it is though, we can work on making them private again before 0.1.

Thanks!


update e2e to k8s 1.23.10 guest clusters

/ok-to-test

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 51.459%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
952

Relevant Lines:
1850

💛  - Coveralls

/retest

/lgtm


Weird error from ADX - contains non-utf8 chars

We are getting a weird error from the SDK:
Op(OpIngestStream): Kind(KHTTPError): streaming ingest issue(404 NotFound):\n\u001f�\b\u0000\u0000\u0000\u0000\u0000\u0004\u0000UO�j�0\f�\u000f�\u000f�纤K�,�e0h\u0019�\u001d�/�-�\u0018Z{���Q��s��\u0016���\u001e��t��S�4�}����L����T ��d���z��<Rΰ\u001f�O�\t�!�Ui�\u0012RT\u0014�+�(*d�!�;\u0010.g\u0002/>E���M'�C�(;�\u001e��\u001b�2�o_�t&?\b=��\u001dvT\u0019v\u0015�Ƣ5�e6\u000e-u�n+��e\u001d5�K8\u0005���:X9t���l�i\u001e��\u0000se��\u0019\u001ar������Nk\u0019�_߈\u0016\u000b1\u0001\u0000\u0000
We believe this is a "Streaming is disabled" error. Could this error be changed to return something that we can actually read?

I also hit this issue at some point, but I don't have a reproducing code yet. The response you mentioned @sasathy1 starts with u001f and in my case the response body containing an error message was gzip-encoded and gzip magic number is 1f 8b. And from what I've debugged, right now error handling code will just throw the response body directly to error, without attempting to decode it.

@AsafMah , can you have a look?

Haven't managed to reproduce, tried specifically with "Streaming is disabled" and other errors.
Can you specify:

What version are you using
What api are you using and how?
Any other details that may be relevant for your code?

Additionally, if recreation is possible, could you record the response via Fiddler, Postman or a similar application and send us the response HTTP body and headers?

Solved in 0.6.0, feel free to re-open if you have issues.


Make useContent templates integration

What is the motivation for adding / enhancing this feature?
Implement useContent to support CMS module in VSF Next. Fetch CMS pages of Shopify and render on frontend.
What are the acceptance criteria

[ ] ...

Version of Vue Storefront

[ ] Vue Storefront
[x] Vue Storefront Next

Can you complete this feature request by yourself?

[ ] YES
[ ] NO

Additional information
https://github.com/DivanteLtd/vue-storefront/tree/next/packages/shopify/composables/src/composables/useContent
https://github.com/DivanteLtd/vue-storefront/tree/next/packages/shopify/api-client/src/api/content

Implemented


[Gym Tags] I have beaten the first two gyms and claimed the challenger tag but cannot use it

Describe the bug
I have beaten the first two gyms and claimed the tag. I should have access to the Challenger tag but whenever i use it i get a "You don't have permission to use this tag"
To Reproduce
Steps to reproduce the behavior:

Go to 'Tags'
Click on 'Challenger'
No Access.

Screenshots

Idk what proof i can give but here is a screenshot of me being able to challenge the 3rd gym which you have to beat the first and second gym to be able to do

Screenshot of error message that i get
Username:
F4M
Server name (all applicable):
Orion

I cannot reproduce this bug under any conditions, this may have just been a fluke. If you provide your server and IGN I can refund you this tag!


[feat] OSS models support

For that purpose we will need a good OCR solution as LLama and other OSS models are not multimodal yet.
We can do OCR in the browar usjng teaseract.js - PoC: https://github.com/CatchTheTornado/llm-pdf-ocr-anonimizer
Then we probably need to try out Server side solutions like: https://github.com/VikParuchuri/surya

Regarding OSS models - we will support Ollama only: https://sdk.vercel.ai/providers/community-providers/ollama

It seems like surya_ocr is doing great job. A way to go would be to add in settings option for using OSS models:

We do OCR with surya_ocr
We send it to llama3.1:8b asking to format markdown, remove patient data (names, id numbers etc)
Then we're ready to use chatGPT  (or llama3) for further reasoning

Marker - which is doing Markdown and not JSON could be Even better: https://github.com/VikParuchuri/marker


Nuxt 3 custom directive error.

When is define a custom directive in nuxt.config.ts:
runtimeConfig: {
    public: {
      motion: {
        directives: {
          'default-button': {
            initial: {
              scale: 1,
            },
            hovered: {
              scale: 1,   // This is set because the initial state doesnt work on tapped variant (Issue #63 )
            },
            tapped: {
              scale: 0.97,
            },
          },
          'pop-bottom': {
            initial: {
              scale: 0,
              opacity: 0,
              y: 100,
            },
            visible: {
              scale: 1,
              opacity: 1,
              y: 0,
            },
          },
        },
      },
    },
  },```

And when i now use the Directive:
```vue
<button
  v-motion-default-button
  type="button"
  class="p-2 mt-2 rounded-lg bg-secondary"
  @click="someAction"
>
  Some button
</button>

I become following error:
[Vue warn]: Failed to resolve directive: motion-default-button
[nuxt] [request error] [unhandled] [500] Cannot read properties of undefined (reading 'getSSRProps')
  at Module.ssrGetDirectiveProps (./node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:468:40)
  at _sfc_ssrRender (./components/home/PARRENT_COMPONENT.vue:46:1419)
  at renderComponentSubTree (./node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:683:9)
  at renderComponentVNode (./node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:631:12)
  at Module.ssrRenderComponent (./node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:86:10)
  at _sfc_ssrRender (./pages/PARRENT_PAGE.vue:297:32)
  at renderComponentSubTree (./node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:683:9)
  at ./node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:629:25
  at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
  at async unrollBuffer$1 (./node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:870:16)

PARRENT_COMPONENT and PARRENT_PAGE replaced with the real component and page of course.

I am having the same issue did you get it resolved?

The fix for this issue has already been merged but there hasn't been a new release since then. I have a workaround, but I haven't tested if this works after build, let me know if this works in your project.
In nuxt.config.ts
modules: [
  "@vueuse/motion/nuxt",
  // removes @vueuse/motion plugin
  (_opts, nuxt) => {
    nuxt.options.plugins = nuxt.options.plugins.filter(
      (x) =>
        typeof x !== "string" &&
        !x.src.includes("@vueuse/motion/dist/runtime/templates/motion")
    );
  },
]

And add this plugin plugins/motion-replacement.ts
import { MotionPlugin } from "@vueuse/motion";
import { defineNuxtPlugin, useRuntimeConfig } from "#app";

export default defineNuxtPlugin((nuxtApp) => {
  const config = useRuntimeConfig();

  nuxtApp.vueApp.use(MotionPlugin, config.public.motion);
});


Dark mode

Not a pressing issue, but would a dark mode be possible as a theme option? Now that most of the major browsers and OSes have native dark mode, along with many websites, it'd be great to have this feature.

While I'm not a big dark mode fan, I'll happily accept a pull request that implements a new dark mode theme.
This would be the starting point:
https://github.com/oznu/homebridge-config-ui-x/blob/master/ui/src/scss/themes.scss

Work in progress

Available in 3.10.0

just shows blue header here ???


Date on sample page only shows beginning but not end date of event

The FOSSASIA sample page only shows the event start date on 17th March. It should also show the end date.

@mariobehling I will look into it.


Add basthon launch button

This PR adds a launch button for Basthon.
Basthon is a nice project to execute a notebook client-side (inside the browser), using Pyodide. Similar to Jupyterlite, but I found it more stable and usable with several languages (SQL, OCaml...).
To do

[ ] Get a square logo from @casatir
[ ] Take another pass through the docs text
[ ] Make sure it works as-expected

Cleaned git history.

Found an image
Reviving this one from the dead :-D
I spoke with @casatir and he will create an SVG version of the b and the t from Basthon for use as a little square logo.

Hi there,
Thanks for using Basthon! Here it is.

I tried to fix the tests, but after merging from the master branch, I get those errors :
E           sphinx.errors.ThemeError: An error happened in rendering the page index.
E           Reason: KeyError('https://google.com')

PS : @casatir , did you see my PR for Basthon (https://framagit.org/basthon/basthon-notebook/-/merge_requests/1) ?


Disable "Home" and "End" hotkeys

Since Obsidian v1.2.0, "Home" and "End" keys are assigned to faster keyboard navigations. But I think it should be disabled by default because

some keys are assigned to the same feature ("page up" and "page down" keys)
"Home" and "End" keys are used by moving the input cursor to begin or end quickly

Released in v8.8.0 🚀


Loading onAutoClose not working

toast.loading('hello,world', {
  duration:1000,
  onAutoClose: ({ id }) => toast.dismiss(id) // Not called
})

When timed out, onAutoClose is not called
Related issues: https://github.com/emilkowalski/sonner/issues/476

The reason a toast of type loading does not close is due to the condition set in the code. Specifically, in the Toast component, there are checks to prevent the automatic closing of a loading toast.
// https://github.com/emilkowalski/sonner/blob/main/src/index.tsx#L175
if ((toast.promise && toastType === 'loading') || toast.duration === Infinity || toast.type === 'loading') return;

This logic ensures that if the toast has a loading type, it will not proceed with the auto-close functionality.


Form controls should have rounded corners, when focused

Do this for:

input
select
textarea

I don't think border-radius should change based on the focus state (there was previous discussion about this). In the case of the input fields, we came to the conclusion to leave the focus outline square, matching the border-radius of whatever element it's being used on. We could update the design for consistency, but that has low prio IMO.

Closing as fixed


Handle errors and stderr output

Handle case where subprocess fails to spawn
Handle case where stderr is not empty
Log stderr content instead of swallowing it

Addresses part of #5.


removed done TODO because both 'fixed' and 'installed' facets can be configured (see tests)

:-)

Looks like this has already been merged by @breskeby
Thanks for the contribution.


feat: add MMKV dev tools plugin

What does this do?

add MMKV dev tools plugin
add docs for it

Why did you do this?

better UX

How did you test this?

locally

@tlebeitsuk  can you please push the lock file too as you added new dependency.
Also i would suggest creating a custom hook inside core folder for all dev plugins


TypeError: Can't set option year when dateStyle is used

Describe the bug
To Reproduce
Expected behavior
Screenshots
Applicable Versions:

Netlify CMS version<EMAIL_ADDRESS>Git provider: git-gateway
Browser version: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36

CMS configuration
publish_mode: simple
slug:
  encoding: unicode
  clean_accents: false
  sanitize_replacement: "-"
backend:
  name: git-gateway
media_folder: content/assets
public_folder: ../assets
collections:
  - name: social
    label: Social
    editor:
      preview: false
    files:
      - label: Social links
        name: social
        file: content/social/social.md
        fields:
          - label: Type
            name: type
            widget: hidden
            default: social
          - label: Twitter
            name: twitter
            widget: string
            default: ""
            required: false
            hint: Full link to your Twitter profile
            pattern:
              - ^http(s)?://.*..*(/)?
              - Must be a valid URL
          - label: Facebook
            name: facebook
            widget: string
            default: ""
            required: false
            hint: Full link to your Facebook page
            pattern:
              - ^http(s)?://.*..*(/)?
              - Must be a valid URL
          - label: LinkedIn
            name: linkedin
            widget: string
            default: ""
            required: false
            hint: Full link to LinkedIn profile
            pattern:
              - ^http(s)?://.*..*(/)?
              - Must be a valid URL
          - label: Email
            name: email
            widget: string
            default: ""
            required: false
            hint: Just your email address
    publish: true
    sortable_fields:
      - commit_date
      - commit_author
    view_filters: []
    view_groups: []
  - sortable_fields:
      - commit_date
      - title
      - date
      - commit_author
      - description
    view_filters: []
    meta: {}
    name: posts
    slug: "{{slug}}"
    folder: content/posts
    view_groups: []
    publish: true
    label: Text post
    fields:
      - label: Type
        name: type
        widget: hidden
        default: text
      - label: Featured Image
        name: image
        widget: image
        required: false
      - label: Title
        name: title
        widget: string
      - label: Description
        name: description
        widget: text
      - label: Publish Date
        name: date
        widget: datetime
        dateFormat: DD MMM, YYYY
        date_format: DD MMM, YYYY
      - label: Post
        name: body
        widget: markdown
    create: true
  - sortable_fields:
      - commit_date
      - title
      - date
      - commit_author
      - description
    view_filters: []
    meta: {}
    name: videos
    slug: "{{slug}}"
    folder: content/videos
    view_groups: []
    publish: true
    label: Video post
    fields:
      - label: Type
        name: type
        widget: hidden
        default: video
      - label: Featured image
        name: image
        widget: image
        required: false
      - label: Title
        name: title
        widget: string
      - label: Description
        name: description
        widget: text
      - label: Publish date
        name: date
        widget: datetime
        dateFormat: DD MMM, YYYY
        timeFormat: false
        date_format: DD MMM, YYYY
        time_format: false
      - label: Link to video
        name: link
        widget: string
        pattern:
          - ^http(s)?://.*..*(/)?
          - Must be a valid URL
    create: true
  - sortable_fields:
      - commit_date
      - title
      - date
      - commit_author
      - description
    view_filters: []
    meta: {}
    name: audio
    slug: "{{slug}}"
    folder: content/audio
    view_groups: []
    publish: true
    label: Audio post

...

Closing as duplicate of https://github.com/netlify/netlify-cms/issues/4809

Closing as duplicate of https://github.com/netlify/netlify-cms/issues/4809


Patch issue 767

Alter UPDATE.md to refer users to the Propel documenation: What's new in Propel 2.0?

Good idea actually, thanks :)

:+1:  @marcj I think it was your suggestion I read on the issues page :exclamation:


Anyone gotten Facebook's AlphaGo to compile yet

How much stronger is it than leela zero on only one playout?
https://github.com/gcp/leela-zero/issues/1311
https://github.com/pytorch/ELF/issues/1

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Have I written custom code
OS Platform and Distribution
TensorFlow installed from
TensorFlow version
Bazel version
CUDA/cuDNN version
GPU model and memory
Exact command to reproduce

It has been 15 days with no activity and the awaiting response label was assigned. Is this still an issue?

We are closing this issue for now due to lack of activity. Please comment if this is still an issue for you. Thanks!


metadata and absolute links

Docs Build status updates of commit 4c23750:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-services/legacy/ai-formrecognizer-readme.md
:bulb:Suggestion
View (azure-java-legacy)
Details

docs-ref-services/legacy/ai-formrecognizer-readme.md

Line 82, Column 4: [Suggestion: preserve-view-not-set - See documentation] Did you mean to link to a specific version? It's usually better not to specify a version, so the link always goes to the canonical version. If you really need to link to a specific version, add &preserve-view=true to the URL: /cli/azure/cognitiveservices/account?view=azure-cli-latest#az-cognitiveservices-account-show. Otherwise, remove the view parameter.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit c61ffe8:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-services/legacy/ai-formrecognizer-readme.md
:white_check_mark:Succeeded
View (azure-java-legacy)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Global effort to fix build validation errors
@samvaity
The Content & Learning team is fixing build validation errors on docs.microsoft.com for the rest of H2. This will eliminate potential accessibility, security, and usability issues. This PR includes only build validation fixes and does not change other content. Please review within five business days and merge or comment in the PR with any changes you’d like to see. Thank you!

Docs Build status updates of commit b2d8606:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error: RuningBuildFailed] Some unexpected errors happened when running build, please open a ticket in https://aka.ms/SiteHelp and include the error report for our team to troubleshoot

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 4ed40c9:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-services/legacy/ai-formrecognizer-readme.md
:bulb:Suggestion
View (azure-java-legacy)
Details

docs-ref-services/legacy/ai-formrecognizer-readme.md

Line 22, Column 110: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/azure/cognitive-services/form-recognizer/overview' will be broken in isolated environments. Replace with a relative link.
Line 27, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/java/azure/jdk/' will be broken in isolated environments. Replace with a relative link.
Line 29, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account?tabs=multiservice%2Cwindows' will be broken in isolated environments. Replace with a relative link.
Line 45, Column 31: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account?tabs=multiservice%2Cwindows' will be broken in isolated environments. Replace with a relative link.
Line 51, Column 15: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account?tabs=multiservice%2Cwindows#create-a-new-azure-cognitive-services-resource' will be broken in isolated environments. Replace with a relative link.
Line 53, Column 15: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account-cli?tabs=windows' will be broken in isolated environments. Replace with a relative link.
Line 82, Column 4: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/cli/azure/cognitiveservices/account' will be broken in isolated environments. Replace with a relative link.
Line 89, Column 57: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account?tabs=multiservice%2Cwindows#get-the-keys-for-your-resource' will be broken in isolated environments. Replace with a relative link.
Line 141, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/azure/cognitive-services/authentication#assign-a-role-to-a-service-principal' will be broken in isolated environments. Replace with a relative link.
Line 142, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/azure/cognitive-services/authentication#assign-a-role-to-a-service-principal' will be broken in isolated environments. Replace with a relative link.
Line 151, Column 10: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/azure/cognitive-services/authentication#authenticate-with-azure-active-directory' will be broken in isolated environments. Replace with a relative link.
Line 178, Column 27: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/azure/cognitive-services/form-recognizer/overview#train-without-labels' will be broken in isolated environments. Replace with a relative link.
Line 181, Column 21: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/azure/cognitive-services/form-recognizer/overview#train-with-labels' will be broken in isolated environments. Replace with a relative link.
Line 185, Column 90: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/azure/cognitive-services/form-recognizer/quickstarts/label-tool' will be broken in isolated environments. Replace with a relative link.
Line 332, Column 8: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/azure/cognitive-services/form-recognizer/quickstarts/curl-train-extract#train-a-form-recognizer-model' will be broken in isolated environments. Replace with a relative link.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 07e8c24:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-services/legacy/ai-formrecognizer-readme.md
:bulb:Suggestion
View (azure-java-legacy)
Details

docs-ref-services/legacy/ai-formrecognizer-readme.md

Line 22, Column 110: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/azure/cognitive-services/form-recognizer/overview' will be broken in isolated environments. Replace with a relative link.
Line 27, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/java/azure/jdk/?view=azure-java-stable' will be broken in isolated environments. Replace with a relative link.
Line 27, Column 3: [Suggestion: preserve-view-not-set - See documentation] Did you mean to link to a specific version? It's usually better not to specify a version, so the link always goes to the canonical version. If you really need to link to a specific version, add &preserve-view=true to the URL: https://docs.microsoft.com/java/azure/jdk/?view=azure-java-stable. Otherwise, remove the view parameter.
Line 29, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account?tabs=multiservice%2Cwindows' will be broken in isolated environments. Replace with a relative link.
Line 45, Column 31: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account?tabs=multiservice%2Cwindows' will be broken in isolated environments. Replace with a relative link.
Line 51, Column 15: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account?tabs=multiservice%2Cwindows#create-a-new-azure-cognitive-services-resource' will be broken in isolated environments. Replace with a relative link.
Line 53, Column 15: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account-cli?tabs=windows' will be broken in isolated environments. Replace with a relative link.
Line 82, Column 4: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/cli/azure/cognitiveservices/account?view=azure-cli-latest#az-cognitiveservices-account-show' will be broken in isolated environments. Replace with a relative link.
Line 82, Column 4: [Suggestion: preserve-view-not-set - See documentation] Did you mean to link to a specific version? It's usually better not to specify a version, so the link always goes to the canonical version. If you really need to link to a specific version, add &preserve-view=true to the URL: https://docs.microsoft.com/cli/azure/cognitiveservices/account?view=azure-cli-latest#az-cognitiveservices-account-show. Otherwise, remove the view parameter.
Line 89, Column 57: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account?tabs=multiservice%2Cwindows#get-the-keys-for-your-resource' will be broken in isolated environments. Replace with a relative link.
Line 141, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/azure/cognitive-services/authentication#assign-a-role-to-a-service-principal' will be broken in isolated environments. Replace with a relative link.
Line 142, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/azure/cognitive-services/authentication#assign-a-role-to-a-service-principal' will be broken in isolated environments. Replace with a relative link.
Line 151, Column 10: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/azure/cognitive-services/authentication#authenticate-with-azure-active-directory' will be broken in isolated environments. Replace with a relative link.
Line 178, Column 27: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/azure/cognitive-services/form-recognizer/overview#train-without-labels' will be broken in isolated environments. Replace with a relative link.
Line 181, Column 21: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/azure/cognitive-services/form-recognizer/overview#train-with-labels' will be broken in isolated environments. Replace with a relative link.
Line 185, Column 90: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/azure/cognitive-services/form-recognizer/quickstarts/label-tool' will be broken in isolated environments. Replace with a relative link.
Line 332, Column 8: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/azure/cognitive-services/form-recognizer/quickstarts/curl-train-extract#train-a-form-recognizer-model' will be broken in isolated environments. Replace with a relative link.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Add argmax deconv support for caffe parser

armnn support argmax and deconv , but caffe parser does not.
Add back this feature.
Signed-off-by: Keith Mok<EMAIL_ADDRESS>Change-Id: I6b99cc4b58491204c41c6e1d11f583c65c628ee4

Hi Keith Mok,
Thank you very much for your contribution to ArmNN, we would really love to review it and merge it.
However, instead of a pull request, we expect a commit in Gerrit. You should create a Gerrit review account at mlplatform.org and make your contribution there. You can use your GitHub credentials when creating your account.
The process for contributing to ArmNN is outlined in this Contributor Guide.
Please let us know if you find any issue.
Thank you very much.
Kindest regards

moved to https://review.mlplatform.org/