Backup wallet seed

This PR implements the functionality to see your wallet recovery seeds in Settings > Advanced > Server. It also will show a warning the first time you open your wallet and it has transactions and you've never seen the warning before.
I got the messaging of the section from the Electrum-VTC wallet:

I know we discussed offering a Copy To Clipboard function, but since we're encouraging people to write down the seed and not store it electronically, I thought it best not to offer the copy function. If they're determined to store it electronically, they could copy the text the old fashioned way (fwiw, I considered putting in some JS to not allow that, but I'm assuming all the users will be wearing their big-boy big-girl pants).

@SamPatt what do you think about the wording on the warnings? Should we make them stronger? Add anything?

I like all of Josh's suggestions on the wording changes. With those changes I think we're all set.
I agree with not giving them a copy button. I would agree with not allowing them to copy, but I know some people store wallet seeds in their password managers (still a bad idea, but better than not storing the seed at all).

I also agree with everything said above

Is it a BIP39 seed with m/44'/0'/0' deriviation, can be imported into Electrum desktop?

Is it a BIP39 seed with m/44'/0'/0' derivation, can be imported into Electrum desktop?

@cpacia or @tyler-smith ?

It should be. Though I don't think that's what electrum uses.

In the new wallet flow, Electrum lets you fill in seed words, will not let you proceed with the set I got from OB, without first clicking Options & checking 'BIP39 seed'. Then it shows m/44'/0'/0' as the default derivation, but it can be overwritten.

m/44'/0'/0' is the correct derivation. you're saying it lets you enter that and it doesn't work?

I won't know until I get my first mainnet payment to that OB & now Electrum wallet.

I'm using other test vectors other wallets are using for bip44 so it should work. https://github.com/OpenBazaar/spvwallet/blob/master/keys_test.go#L37

First payment went to Electrum's first Change address rather than a Receiving one (with a massive, UNeconomic fee taken out, which I submitted a feedback+screenshot on).

What type of payment was it? Direct, moderated, and was the vendor online.
Also, the fee is relying on the 21 fee API. So economic is whatever that returns. You paid $1.22. I wouldn't call that unacceptable. Rather somewhat lucky it confirmed.
If you want to manually set the fee you can do so in the config file:
"FeeAPI": "",
"HighFeeDefault": 160,
"LowFeeDefault": 120,
"MaxFee": 2000,
"MediumFeeDefault": 140,

Make sure the FeeAPI is set to "" so that it doesn't use the API and uses your defaults.

Direct. I was the vendor & the buyer paid when my client+server was in sleep mode.
Lucky? The fee was 126.154 sat/B, "$1.22" on a $2 item chosen by The Boss!
8b3c7c8d8665f838b16e038f441f593712102146efb0e16b0076ac208008d530 got in the next block with only 5 sat/B.
As it's paying to myself, I'm willing to wait the 1-2 blocks I've seen 1 sat/B get in, or RBF.
So what do I fix the MaxFee to for non-bullshit? 2000=2000 satoshis? So put it at 234 since that's the bytes of the final TX?
Then if I want to speed it up, I do RBF with Electrum? Or will Electrum not allow that because while it shares OB's seed words, Electrum didn't create a Replaceable TX itself?

1 sat/B confirming in 1-2 blocks is highly unlikely. It's possible lower fees will confirm, but it's also that there will be an influx in demand and the never will. For that reason I don't recommend paying ultra low fees.
The maxfee is the just there so 21 doesn't drain the wallet if it returns an absurd value. If you're not using the fee api then the max fee doesn't matter.
If you do an rbf it should detect the new transaction and mark the old one as dead, but I've never actually tried it.

I only care about what I've seen actually happening, the fact that RBF exists in case 1 sat/b gets rejected for weeks, and whether RBF can actually be used.
Which line of your code block do I need to change to get OB to 1 sat/b & never broadcast a higher fee?

It's in the config file. I posted it above.

The only difference between your code block and mine was the API URL was removed. What do I change the other lines to, for 1 sat/b?

you set the economic fee to 1

The word "economic" does not appear in the config file in ~/Library/Application Support

I edited it. Use LowFeeDefault

Alright, done. Also set my medium & high to 1 so even if the GUI bubble gets moved from Economic to Normal or Priority by accident, there won't be an epic fail.

btw I don't know if you plan on selling stuff but it also uses those fees for payments out of a multisig. You're not going to be able to RBF that payment without getting the other party to manually resign.

Which is unlikely, if not impossible? Just saved the raw TX. It ends with
    "complete": true,      "final": true }
So RBF not possible even if it wasn't for multisig.
I guess there's rebroadcasting & any TX accelerators that accept 1 sat/b...

All transactions leaving the wallet use the opt-in rbf flag. Here's an example of one https://api.blockcypher.com/v1/btc/main/txs/9d2490b779bc855f6fdc1718b5fdf842dbba500e7bac9d3d20db468a547d39b4?limit=50&includeHex=true

I do see opt_in_rbf: true on that one. On mine, https://api.blockcypher.com/v1/btc/main/txs/8b3c7c8d8665f838b16e038f441f593712102146efb0e16b0076ac208008d530?limit=50&includeHex=true it doesn't exist.

When a vendor is offline the funds get sent into a 1 of 2 multisig address. The purpose is to prevent the buyer from sending money into a black hole and gives him the opportunity to cancel and get his money back.
Your transaction was sent out of a 1 of 2 multisig. I could probably enable the opt-in rbf flag on those type of transactions, but there are others where it isn't possible, like vendor releasing the funds after the escrow timeout.
This is due to Core abusing the sequence field for multiple purposes. You can't use it for two things at once.

Well, the barest amount of his money back.
You could, but wouldn't it also need something added to the GUI for the buyer to re-sign the RBF? Not only would that be a time sink to code/design, the buyer would likely not do that, either because they exited the app, not to return for a long time if ever, or they'd consider their purchase done & not take the time to help the vendor.
So if I run my server 24/7 on my rpi (assuming I can manage to get its uptime better than dedicated OB 1.0), the RBF won't be a problem on direct to online, since the buyer won't pay to 1 of 2 multisig?

correct. in a perfect world fees would be a few cents and it wouldn't be a problem.

Damn, I was hoping to retask my rpi, hook up a 160mb HD & run a pruned Core node, once OB2 comes out of beta, thinking IPFS would let me switch from dedi rpi to my desktop that I sleep & power off.

1 satoshi/byte will likely be below the relay dust threshold so I would suspect there would be issues using that, but if not please let us know. I agree with you that fees could probably be much lower.
I'm not sure what about this means you couldn't use your rpi? It might be a bit much to have the pi running both Bitcoin and OB. In that situation I would personally just run OB on the rpi and use an external wallet.

https://blockchain.info/block/0000000000000000006ed335c2d9ff7cdb9af0b37c1019b0778dc3023a00a927 has a couple 1 sat/b TXs at the bottom that got nextblock confirms.
Right now my rpi is only running OB 1. Once OB 1 is replaced by OB 2 final, I thought I could wipe the rpi & dedicate it to just running a pruned Core node & run my ancient 160gb HD into the ground. I'd do that even if OB1 & OB2 didn't exist. The gift timing of my rpi was such that I could get OB1 running on it & OB2 wasn't in alpha yet. 2.0 might not even have had IPFS added yet, only planned.

I'm not sure how those 1 sat/B txs were relayed, or if something else happened, regardless we both agree the current fees from the build in wallet/estimator are very inflated. If we can show that 1-5 sat/B txs can be reliable I'd love to work on that.

2.0 might not even have had IPFS added yet, only planned.

2.0 is entirely built on IPFS right this second. It's not even a matter of planning, it's our foundation.

Right now my rpi is only running OB 1. Once OB 1 is replaced by OB 2 final, I thought I could wipe the rpi & dedicate it to just running a pruned Core node & spin my ancient 160gb HD into the ground.

Good luck. I hope OB 2.0 works for you on the rpi but if not feel free to give us some data on what the issues are. I would love to minimize resource usage as much as possible. I'd love to be able for casual vendors to use cheap and accessible hardware like an rpi.

I remember seeing a stage in the 2.0 development where the IPFS repo itself was said to be unusable for coding into 2.0, and so it was only in the roadmap and IPFS had to be left for coding in as soon as it was ready, and I saw a commit later on adding IPFS once its repo was ready.


Git diff view uses custom editors

When you are a custom editor author for types of files that renders them using a webview it also uses these by default when rendering in the git diff view.  This doesn't show the "diff" traditional view of underlying raw data in the case of non-binary information.
Is there a way to have a custom editor NOT be the default for the git diff view?

Duplicate of #138525


You do not have permission to perform this action?

[] : Trying to login as (s**@hotmail.com)...
[+] : Logged in successfully.
[-] : Udemy Says : You do not have permission to perform this action. Run udemy-
dl against course within few seconds.
[*] : Trying to logout now...
[+] : Logged out successfully.

@Somoud can you explain a bit more because simply copying and pasting the out wont help me to sort out your problem. for me it is working fine, And the error you are facing can be cause of two reasons.

either you are trying to download a course in which you are not enrolled or may be udemy server is not responding with course information.

BTW before creating any issue would you mind to take a look at this Guideline.

I am trying to download this course and I am enrolled in:

@Somoud i will check & try to reproduce.

im getting the below error.
HTTPSConnectionPool(host='www.udemy.com', port=443): Max retries exceeded with url: /join/login-popup (Caused by SSLError(SSLError(1, u'[SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590)'),))

@Somoud i don't have access to this course it would be great if you can share your credentials via email so that i can test it properly and add a fix. its okay if you don't share your credentials that way i will close the issue as i cannot reproduce this and i don't see any other user facing the same error.

Hello, I got same problem in my place, I assumed course is for paid, I didn't enroll it, However, I tried to download another  paid course in the past and I made it!!.
Could you re-open this bug in order to provide us  more information?. Seems Udemy doesn't let downloading videos from paid course.

I have the same problem, can you help me?

Hi, I have the same problem now. Even though i have the access to this course, I am getting the message "You do not have permission to access this course"

now i restarted by logging out and logged in and its working fine now for 1.7.0 version only.

@firozautomation you should try upgradingall the requirements and then try to download

Hi,
When I try to login via mobile app, it throws error - "You do not have permission to perform this action".
However I am able to login with same uname/pwd.
I tried reinstalling the app, but of no use.
Any help would be extremely helpful.


Revert "[AutoPR network/resource-manager] Merge Network-2018-02-01 to Master Networking Swagger Changes for Feb 2018"

Reverts Azure/azure-sdk-for-go#1402

Can one of the admins verify this patch?


SP_GoogleNet_ImageNet may not exist

I want to download the model "SP_GoogleNet_ImageNet", but it no longer exists

See https://drive.google.com/open?id=1Yn0ML48-7MJdgxGgf-d_hVeUoOLD6zk2

See https://drive.google.com/open?id=1Yn0ML48-7MJdgxGgf-d_hVeUoOLD6zk2

Thank you very much!


SQL editor loses focus when re-connection popup appears

System information:

Fedora 35
DBeaver version:  <IP_ADDRESS>203060510
Additional extensions: N/A

Connection specification:

Postgresql
Postgresql
Do you use tunnels or proxies (SSH, SOCKS, etc)? No

Describe the problem you're observing:
In SQL editor, re-connection to the database is expressed by re-connection popup

If it happens during writing an SQL statements  (likely for updating data needed for code assist), it takes focus out from the editor. In result a code being entered by a programmer  during popup appearance  is lost. The editor re-takes focus after the popup disappeared.
If it happens too often it's extremely inconvenient/disruptive.
Expected behavior:

It has not take focus away from the editor at all
The popup should appear in a place not disturbing general view. For example in the corner (instead of center of editor)

Steps to reproduce, if exist:

Bind some key to invalidate/reconnect function for SQL Editor context (for example CTRL+R). It's for convenience during executing the test case.
put pointer in sql editor
press defined hotkey (ie CTRL+R) and start writing immediately.
Continue even after pop-up is displayed and disappeared
you will notice that since popup appeared no text can be entered anymore (the editor lost focus)

Include any warning/errors/backtraces from the logs
N/A

@michalk-k unfortunately, cannot reproduce it. could you provide a video with the issue?

I recorded a video with OBS but it doesn't show the popup itself, neither while recording DBeaver window nor whole screen. Strange.
But you can clearly see, that DBeaver window looses focus (see top bar color change). I admit it's not enough to be the proof but maybe will give you an idea. If not enough I can record it using mobile phone if you want.
https://youtu.be/QBrZ9cXnd_A

Hello @michalk-k,
Is the issue still persist in the latest version of DBeaver?

unfortunately, yes. it remains

Thanks for confirming that.


Chore remove some unused code on runtime filter

Proposed changes
remove some unused code on runtime filter
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Generate RTS price data

@jd-lara @sourabhdalvi
Here are the main scripts. I need to figure out how to access the forecast to export it and that will complete this PR.

@jd-lara This is ready for an additional review


[Bug]: hung when start openai api server with multiple gpu in one node.

Your current environment

The output of `python collect_env.py`
PyTorch version: 2.4.0+cu121
Is debug build: False
CUDA used to build PyTorch: 12.1
ROCM used to build PyTorch: N/A

OS: Ubuntu 22.04.4 LTS (x86_64)
GCC version: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Clang version: Could not collect
CMake version: Could not collect
Libc version: glibc-2.35

Python version: 3.11.0rc1 (main, Aug 12 2022, 10:02:14) [GCC 11.2.0] (64-bit runtime)
Python platform: Linux-6.8.0-45-generic-x86_64-with-glibc2.35
Is CUDA available: True
CUDA runtime version: Could not collect
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration:
GPU 0: NVIDIA RTX 6000 Ada Generation
GPU 1: NVIDIA RTX 6000 Ada Generation

Nvidia driver version: 550.54.14
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

CPU:
Architecture:                         x86_64
CPU op-mode(s):                       32-bit, 64-bit
Address sizes:                        48 bits physical, 48 bits virtual
Byte Order:                           Little Endian
CPU(s):                               128
On-line CPU(s) list:                  0-127
Vendor ID:                            AuthenticAMD
Model name:                           AMD EPYC 75F3 32-Core Processor
CPU family:                           25
Model:                                1
Thread(s) per core:                   2
Core(s) per socket:                   32
Socket(s):                            2
Stepping:                             1
Frequency boost:                      enabled
CPU max MHz:                          4041.8450
CPU min MHz:                          1500.0000
BogoMIPS:                             5900.22
Flags:                                fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 pcid sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 invpcid cqm rdt_a rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local user_shstk clzero irperf xsaveerptr rdpru wbnoinvd amd_ppin brs arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold v_vmsave_vmload vgif v_spec_ctrl umip pku ospke vaes vpclmulqdq rdpid overflow_recov succor smca debug_swap
Virtualization:                       AMD-V
L1d cache:                            2 MiB (64 instances)
L1i cache:                            2 MiB (64 instances)
L2 cache:                             32 MiB (64 instances)
L3 cache:                             512 MiB (16 instances)
NUMA node(s):                         2
NUMA node0 CPU(s):                    0-31,64-95
NUMA node1 CPU(s):                    32-63,96-127
Vulnerability Gather data sampling:   Not affected
Vulnerability Itlb multihit:          Not affected
Vulnerability L1tf:                   Not affected
Vulnerability Mds:                    Not affected
Vulnerability Meltdown:               Not affected
Vulnerability Mmio stale data:        Not affected
Vulnerability Reg file data sampling: Not affected
Vulnerability Retbleed:               Not affected
Vulnerability Spec rstack overflow:   Mitigation; Safe RET
Vulnerability Spec store bypass:      Mitigation; Speculative Store Bypass disabled via prctl
Vulnerability Spectre v1:             Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:             Mitigation; Retpolines; IBPB conditional; IBRS_FW; STIBP always-on; RSB filling; PBRSB-eIBRS Not affected; BHI Not affected
Vulnerability Srbds:                  Not affected
Vulnerability Tsx async abort:        Not affected

Versions of relevant libraries:
[pip3] numpy==1.26.4
[pip3] nvidia-cublas-cu12==<IP_ADDRESS>
[pip3] nvidia-cuda-cupti-cu12==12.1.105
[pip3] nvidia-cuda-nvrtc-cu12==12.1.105
[pip3] nvidia-cuda-runtime-cu12==12.1.105
[pip3] nvidia-cudnn-cu12==<IP_ADDRESS>
[pip3] nvidia-cufft-cu12==<IP_ADDRESS>
[pip3] nvidia-curand-cu12==<IP_ADDRESS>
[pip3] nvidia-cusolver-cu12==<IP_ADDRESS>
[pip3] nvidia-cusparse-cu12==<IP_ADDRESS>
[pip3] nvidia-ml-py==12.560.30
[pip3] nvidia-nccl-cu12==2.20.5
[pip3] nvidia-nvjitlink-cu12==12.6.77
[pip3] nvidia-nvtx-cu12==12.1.105
[pip3] pyzmq==26.2.0
[pip3] torch==2.4.0
[pip3] torchvision==0.19.0
[pip3] transformers==4.46.0
[pip3] triton==3.0.0
[conda] Could not collect
ROCM Version: Could not collect
Neuron SDK Version: N/A
vLLM Version: 0.6.3.post1
vLLM Build Flags:
CUDA Archs: Not Set; ROCm: Disabled; Neuron: Disabled
GPU Topology:
GPU0	GPU1	NIC0	NIC1	CPU Affinity	NUMA Affinity	GPU NUMA ID
GPU0	 X 	SYS	SYS	SYS	32-63,96-127	1		N/A
GPU1	SYS	 X 	PHB	PHB	32-63,96-127	1		N/A
NIC0	SYS	PHB	 X 	PIX
NIC1	SYS	PHB	PIX	 X

Legend:

  X    = Self
  SYS  = Connection traversing PCIe as well as the SMP interconnect between NUMA nodes (e.g., QPI/UPI)
  NODE = Connection traversing PCIe as well as the interconnect between PCIe Host Bridges within a NUMA node
  PHB  = Connection traversing PCIe as well as a PCIe Host Bridge (typically the CPU)
  PXB  = Connection traversing multiple PCIe bridges (without traversing the PCIe Host Bridge)
  PIX  = Connection traversing at most a single PCIe bridge
  NV#  = Connection traversing a bonded set of # NVLinks

NIC Legend:

  NIC0: mlx5_0
  NIC1: mlx5_1

Model Input Dumps
No response
🐛 Describe the bug
server hung (RTX 6000 ADA x 2):
(heliumos-env) root@a185c0e318fb:~# vllm serve /models/Llama-3.1-70B-Instruct-AWQ-INT4 --served-model-name helium --max-model-len 32768 --max-num-seqs 16 --gpu-memory-utilization 0.95 --seed 20240915 --disable-log-requests --tensor-parallel-size 2 --enable-prefix-caching --host <IP_ADDRESS> --port 8000 --num-scheduler-steps 8
INFO 10-24 15:18:24 api_server.py:528] vLLM API server version 0.6.3.post1
INFO 10-24 15:18:24 api_server.py:529] args: Namespace(subparser='serve', model_tag='/models/Llama-3.1-70B-Instruct-AWQ-INT4', config='', host='<IP_ADDRESS>', port=8000, uvicorn_log_level='info', allow_credentials=False, allowed_origins=[''], allowed_methods=[''], allowed_headers=['*'], api_key=None, lora_modules=None, prompt_adapters=None, chat_template=None, response_role='assistant', ssl_keyfile=None, ssl_certfile=None, ssl_ca_certs=None, ssl_cert_reqs=0, root_path=None, middleware=[], return_tokens_as_token_ids=False, disable_frontend_multiprocessing=False, enable_auto_tool_choice=False, tool_call_parser=None, tool_parser_plugin='', model='/models/Llama-3.1-70B-Instruct-AWQ-INT4', tokenizer=None, skip_tokenizer_init=False, revision=None, code_revision=None, tokenizer_revision=None, tokenizer_mode='auto', trust_remote_code=False, download_dir=None, load_format='auto', config_format=<ConfigFormat.AUTO: 'auto'>, dtype='auto', kv_cache_dtype='auto', quantization_param_path=None, max_model_len=32768, guided_decoding_backend='outlines', distributed_executor_backend=None, worker_use_ray=False, pipeline_parallel_size=1, tensor_parallel_size=2, max_parallel_loading_workers=None, ray_workers_use_nsight=False, block_size=16, enable_prefix_caching=True, disable_sliding_window=False, use_v2_block_manager=False, num_lookahead_slots=0, seed=20240915, swap_space=4, cpu_offload_gb=0, gpu_memory_utilization=0.95, num_gpu_blocks_override=None, max_num_batched_tokens=None, max_num_seqs=16, max_logprobs=20, disable_log_stats=False, quantization=None, rope_scaling=None, rope_theta=None, enforce_eager=False, max_context_len_to_capture=None, max_seq_len_to_capture=8192, disable_custom_all_reduce=False, tokenizer_pool_size=0, tokenizer_pool_type='ray', tokenizer_pool_extra_config=None, limit_mm_per_prompt=None, mm_processor_kwargs=None, enable_lora=False, max_loras=1, max_lora_rank=16, lora_extra_vocab_size=256, lora_dtype='auto', long_lora_scaling_factors=None, max_cpu_loras=None, fully_sharded_loras=False, enable_prompt_adapter=False, max_prompt_adapters=1, max_prompt_adapter_token=0, device='auto', num_scheduler_steps=8, multi_step_stream_outputs=True, scheduler_delay_factor=0.0, enable_chunked_prefill=None, speculative_model=None, speculative_model_quantization=None, num_speculative_tokens=None, speculative_disable_mqa_scorer=False, speculative_draft_tensor_parallel_size=None, speculative_max_model_len=None, speculative_disable_by_batch_size=None, ngram_prompt_lookup_max=None, ngram_prompt_lookup_min=None, spec_decoding_acceptance_method='rejection_sampler', typical_acceptance_sampler_posterior_threshold=None, typical_acceptance_sampler_posterior_alpha=None, disable_logprobs_during_spec_decoding=None, model_loader_extra_config=None, ignore_patterns=[], preemption_mode=None, served_model_name=['helium'], qlora_adapter_name_or_path=None, otlp_traces_endpoint=None, collect_detailed_traces=None, disable_async_output_proc=False, override_neuron_config=None, scheduling_policy='fcfs', disable_log_requests=True, max_log_len=None, disable_fastapi_docs=False, dispatch_function=<function serve at 0x7261393da160>)
INFO 10-24 15:18:24 api_server.py:166] Multiprocessing frontend to use ipc:///tmp/4b26cfa0-e4a6-4e62-a22d-a8d051ef3d78 for IPC Path.
INFO 10-24 15:18:24 api_server.py:179] Started engine process with PID 301
INFO 10-24 15:18:28 awq_marlin.py:97] The model is convertible to awq_marlin during runtime. Using awq_marlin kernel.
INFO 10-24 15:18:28 config.py:905] Defaulting to use mp for distributed inference
WARNING 10-24 15:18:28 arg_utils.py:1019] [DEPRECATED] Block manager v1 has been removed, and setting --use-v2-block-manager to True or False has no effect on vLLM behavior. Please remove --use-v2-block-manager in your engine argument. If your use case is not supported by SelfAttnBlockSpaceManager (i.e. block manager v2), please file an issue with detailed information.
INFO 10-24 15:18:30 awq_marlin.py:97] The model is convertible to awq_marlin during runtime. Using awq_marlin kernel.
INFO 10-24 15:18:30 config.py:905] Defaulting to use mp for distributed inference
WARNING 10-24 15:18:30 arg_utils.py:1019] [DEPRECATED] Block manager v1 has been removed, and setting --use-v2-block-manager to True or False has no effect on vLLM behavior. Please remove --use-v2-block-manager in your engine argument. If your use case is not supported by SelfAttnBlockSpaceManager (i.e. block manager v2), please file an issue with detailed information.
INFO 10-24 15:18:30 llm_engine.py:237] Initializing an LLM engine (v0.6.3.post1) with config: model='/models/Llama-3.1-70B-Instruct-AWQ-INT4', speculative_config=None, tokenizer='/models/Llama-3.1-70B-Instruct-AWQ-INT4', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, override_neuron_config=None, rope_scaling=None, rope_theta=None, tokenizer_revision=None, trust_remote_code=False, dtype=torch.float16, max_seq_len=32768, download_dir=None, load_format=LoadFormat.AUTO, tensor_parallel_size=2, pipeline_parallel_size=1, disable_custom_all_reduce=False, quantization=awq_marlin, enforce_eager=False, kv_cache_dtype=auto, quantization_param_path=None, device_config=cuda, decoding_config=DecodingConfig(guided_decoding_backend='outlines'), observability_config=ObservabilityConfig(otlp_traces_endpoint=None, collect_model_forward_time=False, collect_model_execute_time=False), seed=20240915, served_model_name=helium, num_scheduler_steps=8, chunked_prefill_enabled=False multi_step_stream_outputs=True, enable_prefix_caching=True, use_async_output_proc=True, use_cached_outputs=True, mm_processor_kwargs=None)
WARNING 10-24 15:18:30 multiproc_gpu_executor.py:53] Reducing Torch parallelism from 64 threads to 1 to avoid unnecessary CPU contention. Set OMP_NUM_THREADS in the external environment to tune this value as needed.
INFO 10-24 15:18:30 custom_cache_manager.py:17] Setting Triton cache manager to: vllm.triton_utils.custom_cache_manager:CustomCacheManager
WARNING 10-24 15:18:31 registry.py:205] mm_limits has already been set for model=/models/Llama-3.1-70B-Instruct-AWQ-INT4, and will be overwritten by the new values.
(VllmWorkerProcess pid=600) WARNING 10-24 15:18:33 registry.py:205] mm_limits has already been set for model=/models/Llama-3.1-70B-Instruct-AWQ-INT4, and will be overwritten by the new values.
(VllmWorkerProcess pid=600) INFO 10-24 15:18:33 multiproc_worker_utils.py:215] Worker ready; awaiting tasks
INFO 10-24 15:18:34 utils.py:1008] Found nccl from library libnccl.so.2
INFO 10-24 15:18:34 pynccl.py:63] vLLM is using nccl==2.20.5
(VllmWorkerProcess pid=600) INFO 10-24 15:18:34 utils.py:1008] Found nccl from library libnccl.so.2
(VllmWorkerProcess pid=600) INFO 10-24 15:18:34 pynccl.py:63] vLLM is using nccl==2.20.5
Before submitting a new issue...

[X] Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

Please follow the troubleshooting guide and post the logs here.


Only create new line after header on EOL return

Pressing return at the beginning of a header should move the header down a line
Pressing return inside a header should split the header
Pressing return at end of a header should create a new line

@sugarshin This PR is also blocked by the coveralls config issue

Can ya'll publish a new version to npm?


make redis auth optional and disable protected mode for docker redis

This PR implements that when config.redis.key is not set authentication to the redis cache isn't tried (and fails).
Additionally it adds to the docker-compose.yml that the redis should start in unprotected mode to allow unauthenticated connections.
Alternatively we could as well set a default key in both the redis configuration and the docker compose via redis-server --requirepass yourpassword

We aren't using Docker Compose on our end, so this is for the convenience of people getting up and running quickly; I do have some concerns about something feeling less secure by default, even if for development, however. Worth discussing.

I think that the docker-compose is anyway more intended for development or local debugging, so I would argue that it is fine to have it insecure.
E.g. for postgres the password (latrop) is hardcoded as well.
If we want to have it similiar we can use redis-server --requirepass yourpassword command (instead of --protected-mode no) with a pre-configured password in the docker-compose and the .docker.env file.
Non the less I think it makes sense to allow the portal to work as well with an unauthenticated redis. Potentially I should split the change up into allowing anonymous auth and having redis pre-configured for docker-compose.
What do you think about both things?


NIFI-8717 Refactoring PutHDFS

Thank you for submitting a contribution to Apache NiFi.
NIFI-8717
This is a small proposal in order to decouple NiFi related and HDFS related logic. This will make the implementation more flexible in the long run.
For all changes:

[x] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[x] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[x] Has your PR been rebased against the latest commit within the target branch (typically main)?

[x] Is your initial contribution a single, squashed commit? Additional commits in response to PR reviewer feedback should be made on this branch and pushed to allow change tracking. Do not squash or use --force when pushing to allow for clean monitoring of changes.

For code changes:

[x] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[ ] Have you written or updated unit tests to verify your changes?
[x] Have you verified that the full build is successful on JDK 8?
[x] Have you verified that the full build is successful on JDK 11?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[ ] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check GitHub Actions CI for build issues and submit an update to your PR as soon as possible.

Thanks @simonbence the changes seem reasonable to me. +1 merged to main!


Multi story view load stories more then 10

https://github.com/SimformSolutionsPvtLtd/react-native-story-view/assets/1214722/229df15c-57fa-43c5-bc12-6cde77b3e048
Multi story view when i load stories more the 10 then it will show like this way. not work properly.
Please help me

@mukesh-simform : Is there any update on this bug? Our client is waiting for releasing his app and due to this bug we are unable to release their app? It will be really help if you give us some ETA for this.

@nik-complitech we're looking into it, a resolution to this has been planned for the upcoming release. Stay tuned!

Thank you for your updated. Do we have any ETA for upcoming release? It will really help to communicate with our client accordingly.

@nik-complitech We have a planned release end of this week. Thanks!

@mukesh-simform : Great. Thank you for your response and help.

@mukesh-simform Thank to update new version I have check in demo but still getting same issue
Uploading XRecorder_16042024_171546.mp4…

https://github.com/SimformSolutionsPvtLtd/react-native-story-view/assets/1214722/a5f65e58-c7cf-4485-95e2-127e5772d53d

@mukesh-simform can you please help ?

@Dipak-Complitech Thank you for testing out the new version and attached video, Kindly make sure to use reanimated version >= 3.5.4. We're no longer experiencing this issue. If this persists at your end. Help us with your package JSON. Thanks

@mukesh-simform Thanks for your quick replay. here is my package.json file. I am currently use your demo project
package.json

@mukesh-simform any update for this code ?

@Dipak-Complitech It's working as expected with the newly released version v2.0.0. You're experiencing this issue, Maybe you're running application in debug mode. you should check with release build.

@mukesh-simform
Hello sir
I have check it in release build also.


is it possible to compute overlap between CC and CI wavefunctions?

There is a function for computing overlap between CI wavefunctions. Is something similar possible with CC? Is there a function for converting CC amplitudes into a CI vector?

You can probably abuse the direct_nosym FCI solver module, which is designed for non-Hermitian Hamiltonians, to transform a (spin-restricted) CC wave function into a full CI vector:
import numpy as np
from scipy import linalg
from pyscf import lib
from pyscf.fci import cistring
from pyscf.fci.direct_nosym import absorb_h1e, contract_2e

nmo = nocc + nvir
neleca = nelecb = nocc
ndeta = cistring.num_strings (norb, neleca)
ndetb = cistring.num_strings (norb, nelecb)
fcivec = np.zeros ((ndeta, ndetb), dtype=float)
fcivec[0,0] = 1.0
link_indexa = cistring.gen_linkstr_index(range(norb), neleca)
link_indexb = cistring.gen_linkstr_index(range(norb), nelecb)
linkstr = (link_indexa, link_indexb)

t1 = np.zeros ((nmo, nmo), dtype=mycc.t1.dtype)
t1[nocc:,:nocc] = mycc.t1[:,:].T
t2 = np.zeros ((nmo, nmo, nmo, nmo), dtype=mycc.t2.dtype)
t2[nocc:,:nocc,nocc:,:nocc] = mycc.t2.transpose (2,0,3,1)
T = absorb_h1e (t1, t2, norb, (neleca,nelecb), fac=0.5)
# I think absorb_h1e will multiply t1 by 2 by default.
# fac=0.5 cancels that, but it also multiplies t2 by 0.5
# So maybe you have to multiply t2 by 2?
# Or not, I'm not sure how factors of 1/2 work in the cc module

x = fcivec
nfac = 1
for n in range (nocc+1):
    x = contract_2e (T, x, norb, (neleca,nelecb), link_index=linkstr)
    nfac *= n
    fcivec += x / nfac

epsilon = 1e-8
# If this works the way I think, x should be a zero vector now
assert (linalg.norm (x) < epsilon)
# If this works the way I think, fcivec should still be in intermediate normalization
assert (abs (fcivec[0,0] - 1.0) < epsilon)
# If this works the way I think, |<hf|ci'ca|fcivec>| = |t1[i,a]|
t1_ref = np.abs (mycc.t1)
strs_t1a = cistring.tn_strs (norb, neleca, 1)
addr_t1a = cistring.strs2addr (norb, neleca, strs_t1a)
t1a_test = np.abs (fcivec[addr_t1a,0].reshape (nocc,nvir))
assert (np.amax (np.abs (t1a_test - t1_ref)) < epsilon)
strs_t1b = cistring.tn_strs (norb, nelecb, 1)
addr_t1b = cistring.strs2addr (norb, nelecb, strs_t1b)
t1b_test = np.abs (fcivec[0,addr_t1b].reshape (nocc,nvir))
assert (np.amax (np.abs (t1b_test - t1_ref)) < epsilon)
# There is another test you can make for the signs, and for t2, but it's more complicated

The existence of the function cistring.tn_strs suggests that someone was working on this functionality at some point, but it doesn't seem to be available in the box yet.

I have conversion routines between T amplitudes, C amplitudes, and CI vectors implemented up to fourth order in my package ebcc, which extends PySCF: https://github.com/BoothGroup/ebcc/blob/b7df8ae0d147844539146e8e68965bfa91b451fd/ebcc/ext/fci.py#L199
I would recommend the unrestricted version for higher than second order. Any questions are probably best as new issues on my repo.


[Feature] Add Momentum Calculator

Description
It will calculate momentum using given mass and velocity.
Screenshots
No response
Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[X] I am a GSSOC'24 contributor.
[ ] I am a IWOC'24 contributor.
[ ] I am a JWOC'24 contributor.
[ ] I am a SWOC'24 contributor.

Code of Conduct

[X] I agree to follow this project's "Code of Conduct".

@Rakesh9100 please assign this issue to me

@Rakesh9100 could u pls assign this issue to me.

Go ahead @vaishali-gupta32


RDR: libratio fitting bias

GX109_5400 dataset
xconfig = xclone.XCloneConfig(dataset_name = dataset_name, module = "RDR")
xconfig.set_figure_params(xclone= True, fontsize = 18)
xconfig.outdir = out_dir
xconfig.cell_anno_key = "cell_type"
xconfig.ref_celltype = "unclassified"
xconfig.smart_transform = False
xconfig.top_n_marker = 15
xconfig.marker_group_anno_key = "cell_type"
xconfig.xclone_plot= True
xconfig.plot_cell_anno_key = "cell_type"

xconfig.exclude_XY = True
# xconfig.remove_guide_XY = True
# xconfig.guide_qt_lst = [1e-04, 0.96, 0.9999]

xconfig.display()

RDR_Xdata = xclone.model.run_RDR(RDR_adata,
            config_file = xconfig)

raise an error in CNV_optimazation step because of emm_prob_log with np.nan value, which is related to params in NB prob calculation.
In cell CTACGTCTCGGAAACG-1, library_ratio is extremely low (library_alpha is inf), which causes the badly expected layer generated in extra_preprocess

Solve the issue by checking the used depth_key (library_ratio_capped by default) before generating the expected layer.

TODO:

use more strict library ratio capping strategy, need to be tested on all datasets.
improve llibrary ratio GLM fitting by adding init params, e.g., counts ratio and specific fixed dispersion.
add start params
_RDR_libratio.py
fit_lib_ratio

set total counts ratio as the default library size ratio is recommended.


T8021 doorbell and T8530 lock

Is your feature request related to a problem? Please describe.
This is sold as a combo as the S330 Video Smart Lock.  Using this with Home Assistant kind of works.
Describe the solution you'd like
Alarm and some general controls work, however, the camera and things like lock/unlock don't work.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
I don't know whether the issue is on this HA integration side, or the websocket server side.  And whether since this isn't a supported device if the camera/locks aren't being exposed to the home assistant client.
I'll gladly run tests to help/look at the code.  I can do python, but I can't really help on the websocket side (javascript)

please work with bropat.
https://bropat.github.io/eufy-security-client/#/supported_devices


Hybrid model official guidance

[EDIT by @guardrex to change the topic ... see comment]
It would be great to have an official recommendation later for a true hybrid model like here : https://github.com/Suchiman/BlazorDualMode , so that if someone want to develop in serverside blazor and if need to switch to client later once its ready for production then can easily switch it.

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

ID: d31248d7-d2c2-1a17-3173-889a0d9bb6e8
Version Independent ID: 6f27ff37-6b3a-57f5-353a-5cf5aabba7cf
Content: ASP.NET Core Blazor project structure
Content Source: aspnetcore/blazor/project-structure.md
Product: aspnet-core
Technology: aspnetcore-blazor
GitHub Login: @guardrex
Microsoft Alias: riande

What is the Blazor hosting-model counterpart to an ASP.NET application that talks to a remote SQL Server instance via  System.Data.SqlClient in an WebHandler or ashx, and Ajax widgets to inject jsonified data into the UI?

@tfr888 We're working on a topic for that and have a PR in review. Blazor client-side works well with web API, but server-side is still in-design. There's a workaround approach for server-side in the PR comments. See: https://github.com/aspnet/AspNetCore.Docs/pull/12477.
btw - Your question doesn't match what this issue addresses. There's a This Page feedback button at the bottom of the topic that will open a new issue. I just mention it for future reference.

As an evangelist of Blazor from the earliest days of its development, I'd just like to chime in that this feature (enabled by the shared programming model) is the holy grail of Rapid Application Development and what I was imagining when Blazor was still client only and the Server Side Hosting model was a brand new idea, well before it was decided the Server Hosting Model would be the 1st supported release.
Initially I had envisioned that the developer would apply an Attribute to a class to inform the Blazor internals of whether the class needed to be handled by the server runtime as opposed to the browser runtime, however I've since become a greater fan of the approach identified by Danroth27 in PR 12477 where the developer registers an interface with DI, and then provides an implementation unique to each platform.
Looking forward to this feature when it lands!

The simplest approach would be to have all the application logic & components in a Razor Class Library and reference it from both a Blazor Server and Blazor WebAssembly projects.
For any services, which will need to differ based on the hosting model, the interface will need to be defined in the shared project, whereas separate implementations will need to be housed in WebAssembly and Server projects.

I changed this to the Project Structure topic because I know from prior chats with DR that he'd like to keep the Hosting Models topic focused on the built-in, true hosting models. This isn't a built-in hosting model or even a project template to mention in passing. It seems to me that this is more of a constructed "project structure." Besides, we don' have another high-level location for this guidance outside of the Hosting Models and Project Structure topic, unless we create a whole new topic for this (tiny) bit of content, which doesn't make sense to me.

... also note that we should avoid "hybrid" in this context, given that there is a different thing called "Blazor Hybrid."


AWS: Account tags

Describe the bug
Show account tags on the AWS details page.
The screenshots below are for OCP, but will apply to AWS as well.
OCP mock: https://redhat.invisionapp.com/share/ENPJQTBXTAC#/screens/336165164
To Reproduce
Steps to reproduce the behavior:

Go to 'Cloud Cost'

Expected behavior

Should see a list of tags per account
Clicking on a tag button applies a filter

Screenshots

This will depend on being able to filter tags per AWS account. Currently, that feature is not supported.
See https://github.com/project-koku/koku/issues/605

See mock: https://redhat.invisionapp.com/share/HEO4ISHAT8Z#/screens/343778744


feat: add serializable props for Grid component

Description
Add serializable props for Grid component.

@bweissbart I missed this PR before Bruno left. Let me know if you think we still need to resolve conflicts and merge. If not, we can just close the PR.

cc: @deemaabdallah

Closing as we went a different direction with components.


Help help help!

Use Netty 4
Business scenario: A, B and C are client forwarding servers and real servers respectively. The problem now is that all IP addresses of data forwarded through B obtained by C are the same. Assuming that B and C are on the same computer, the IP obtained by C will always be <IP_ADDRESS>. Is there any way for C to obtain the real request address of a? The AC ends cannot be modified and can only be processed at the B end. I hope someone can help me. It's been bothering me for half a year.

This is an issue tracker. Please open a topic in the discussions or ask question on stackoverflow


names for packages

Commands mount, develop (and potentially more) should accept a package name in which case the package file is searched for and the latest version found is used.

b9c08e7


Feature/GitHub action ci codebuild test

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

comments should trigger codebuild


bgCol should not be called automatically

Currently, gsplot behavior is to call bgCol automatically (which calls rect within it). Therefore, when you try to remove the border around the plot, a border is still showing up.
This should result in no border:
gs <- gsplot() %>%
     points(1:5, 1:5, frame.plot=F, axes=F)
gs

BUT line 65 of bgCol has rect(x1,y1,x2,y2,col = col,...).
We have two options:

skip bgCol if it has not been called, OR
replace line 65 with rect(x1,y1,x2,y2,col = col,..., border=NA)

skip if not called is my vote.

mine too.

Just so I understand the behavior here - this happens before the other rendering functions because it needs to be behind them, right? But it should be in a view if it exists, right?

It gets the rectangle boundaries from the plot limits but it goes behind all of the other plotted features, so wouldn't it have to wait until the limits are set? As for a view, it is top-level because it is not specific to any axis

yeah, I see what is going on now. I don't like that it isn't part of a view because technically, you can have views that differ in par (i.e., an inset) and you should theoretically be able to specify the bgCol of those separately, right?

I've definitely tested that inset backgrounds plot correctly...and we definitely don't want to lose that functionality.

Do insets now act as a separate window?  If so, the bgCol should be attached to the window, but should be optional.

Tested as in "there are tests" or tested as in tried it out?

Only examples I could find on insets is from issue #14. We should think about making tests or adding an example of those into the package

Tested as in tried it out. I have my standard super-hard graphs that I run and look at the output to make sure things look right. There use to be an inset in the readme. I don't know when that got taken out, but I vaguely remember it broke and we (me?) took it out.
You're probably better at the tests than me, but it is exceptionally frustrating to test this package, because often the output in the lists stays the same (so, passes the tests), but the graph looks different. But that's a side issue.

@jread-usgs did this get fixed in #299 ? Not sure if we left it hanging or not

not sure either. @ldecicco-USGS ?

we also need to not have bgCol have a border:
extra_args <- ...[-which(names(list(...)) == 'border')]

rect(x1,y1,x2,y2,col = col, border = NA, extra_args)

is this still an issue?


[Bug]: Query stop working when Json log file is badly formatted

🔎 Search Terms
Query JSON Search
The problem
When i use query function from winston, normally its work.
But when the json log file have one corrupted line, the search not work anymore.
The problem only
const DocLogger = createLogger({ level: 'debug', .... });
DocLogger.query(options, function (err, rs) {
   Console.log(err);
})

Worked Json File
{"timestamp":"2022-08-24T19:17:35.877Z","level":"info","message":"Servidor iniciado","rest":{}}
{"timestamp":"2022-08-24T19:18:56.732Z","level":"info","message":"Servidor iniciado","rest":{"ServerName":"Desenvolvimento 01"}}
{"timestamp":"2022-08-24T19:19:31.138Z","level":"info","message":"Servidor iniciado","rest":{"ServerName":"Desenvolvimento 01:-1"}}
{"timestamp":"2022-08-24T19:24:35.477Z","level":"info","message":"Servidor iniciado","rest":{"ServerName":"Desenvolvimento 01:-1"}}

Corrupted json file buggin wiston query
{"timestamp":"2022-08-24T19:25:33.832Z","level":"info","message":"Servidor iniciado","rest":{"ServerName":"Desenvolvimento 01:-1"}}
"timestamp":"2022-08-24T19:25:42.006Z","level":"info","message":"Servidor iniciado","rest":{"ServerName":"Desenvolvimento 01:-1"}}
{"timestamp":"2022-08-24T19:26:32.335Z","level":"info","message":"Servidor iniciado","rest":{"ServerName":"Desenvolvimento 01:-1"}}

The problem only occurs when the json is corrupted.
I believe that the search should always work, since wilston interprets a line as a data log record.
It might be interesting to have a handler for these exceptions to always keep the search running
What version of Winston presents the issue?
3.8.2
What version of Node are you using?
14.17.3-alpine
If this worked in a previous version of Winston, which was it?
No response
Minimum Working Example
No response
Additional information
No response

I think the problem is in the "stream.on" "data" and "close" functions of the "lib/winston/transports/file.js" file.
They are calling the "add" function but one passing true and the other false.
I really believe they are reversed.
stream.on.data should call add(..., true) and
stream.on.close should call add(..., false);
Here's a snippet of code from version 3.8.2:
https://github.com/winstonjs/winston/blob/v3.8.2/lib/winston/transports/file.js
    stream.on('data', data => {
      data = (buff + data).split(/\n+/);
      const l = data.length - 1;
      let i = 0;

      for (; i < l; i++) {
        if (!options.start || row >= options.start) {
          add(data[i]);
        }
        row++;
      }

      buff = data[l];
    });

    stream.on('close', () => {
      if (buff) {
        add(buff, true);
      }
      if (options.order === 'desc') {
        results = results.reverse();
      }

      // eslint-disable-next-line callback-return
      if (callback) callback(null, results);
    });

  function add(buff, attempt) {

Hi @Piemontez
I had the same problem, when the LOG file has some line badly formatted the reading is not completed.
In the "add" function, I just reversed "if (attempt)".
Now the badly formatted line is simply ignored.


Could we have more helpful error messages?

Description of issue (what needs changing):
Tensorflow gives many errors, and most of them aren't very helpful.  Something like "module tensorflow has no attribute reset_graph."  Can we change the error messages so they are more constructive?  In this situation, the issue was partially solved by downgrading to tensorflow 1.12.  It would be helpful if instead of the "reset_graph" error message, we could get a message more like: "this version of tensorflow is incompatible with the current project.  Please downgrade to tensorflow 1.12 using: pip install tensorflow==1.12
Clear description
For example, why should someone use this method? How is it useful?
To keep from tearing their own hair out.

Hi @Tylersuard,
We understand that TensorFlow errors can be opaque at times. We are working on it, in general.
But this specific error is a hard one to fix. It's a python AttributeError, and there's no way to fix it without converting TensorFlow modules  to some custom class with different errors depending on which non-existent attribute the user looks up... which would be messy and slow. So I don't think we can fix this.
We've been advertising for over a year that TensorFlow 2 would not be compatible with TensorFlow 1 code. It's something users need to be aware of, but there's no good way to fix this.


refactor(website): update InfoToken demo page

Proposed Changes

Potential Breaking Changes
none
Acceptance Criteria

[ ] The proposed changes are covered by unit tests
[ ] The potential breaking changes are clearly identified
[ ] README.md is adjusted to reflect the proposed changes (if relevant)

Looks good! I've noticed that there is no JSDoc for this component, should it have a description for each props like the other components?

We decided to not put jsDoc for the components in the "Advanced" section of Plasma :smile:
They are not supposed used by themselves but part of others components :eyes:

Looks good! I've noticed that there is no JSDoc for this component, should it have a description for each props like the other components?

We decided to not put jsDoc for the components in the "Advanced" section of Plasma smile They are not supposed used by themselves but part of others components eyes

Oh! Thanks for the explanation :+1: !


SimpleMediaSource: high CPU usage

This example takes from 20 to 50% of cpu, where normal camera (used by my  laptop)  takes about 2-5% of cpu.
From profiler it looks like that SimpleMediaStream::RequestSample( IUnknown* token ) is called too frequently.

Even if I set frame rate to 30 for media type, RequestSample is called too frequently. Should I use a Sleep to slow down frame generation?

Check command ratios in all

Task View, Sort CPU Usage, Right Click, Look up in Browser every CPU task with duplicate cpu processes and remove / research and or remove from trash as well if you want to approach from a graphical interface.


new amalgamation does not compile

Since the amalgamation was updated in https://github.com/juangburgos/QUaServer/commit/4249317bb8291ee0ad47f53dbae4011e0a0ad32d, I am not able to compile -- UA_SOCKET is undefined. Am I missing something? The older version compiles just fine. The platform is Ubuntu 18.04 with gcc 7.4. The errors are below. For now, I am sticking to the older version, though someone else might see the same issue as well...
../src/other/QUaServer/src/amalgamation/open62541.h:23426:5: error: ‘UA_SOCKET’ does not name a type; did you mean ‘UA_FORMAT’?
     UA_SOCKET sockfd;              /* Most connectivity solutions run on
     ^~~~~~~~~
     UA_FORMAT
../src/other/QUaServer/src/amalgamation/open62541.h:28242:17: error: ‘UA_SOCKET’ was not declared in this scope
 ssize_t UA_send(UA_SOCKET sockfd, const void *buf, size_t len, int flags); //equivalent to posix send implementation
                 ^~~~~~~~~
../src/other/QUaServer/src/amalgamation/open62541.h:28242:17: note: suggested alternative: ‘UA_FORMAT’
 ssize_t UA_send(UA_SOCKET sockfd, const void *buf, size_t len, int flags); //equivalent to posix send implementation
                 ^~~~~~~~~
                 UA_FORMAT
../src/other/QUaServer/src/amalgamation/open62541.h:28242:35: error: expected primary-expression before ‘const’
 ssize_t UA_send(UA_SOCKET sockfd, const void *buf, size_t len, int flags); //equivalent to posix send implementation
                                   ^~~~~
../src/other/QUaServer/src/amalgamation/open62541.h:28242:59: error: expected primary-expression before ‘len’
 ssize_t UA_send(UA_SOCKET sockfd, const void *buf, size_t len, int flags); //equivalent to posix send implementation
                                                           ^~~
../src/other/QUaServer/src/amalgamation/open62541.h:28242:64: error: expected primary-expression before ‘int’
 ssize_t UA_send(UA_SOCKET sockfd, const void *buf, size_t len, int flags); //equivalent to posix send implementation
                                                                ^~~
../src/other/QUaServer/src/amalgamation/open62541.h:28242:73: error: expression list treated as compound expression in initializer [-fpermissive]
 ssize_t UA_send(UA_SOCKET sockfd, const void *buf, size_t len, int flags); //equivalent to posix send implementation
                                                                         ^
../src/other/QUaServer/src/amalgamation/open62541.h:28246:16: error: ‘UA_SOCKET’ was not declared in this scope
 ssize_t sendto(UA_SOCKET sockfd, const void *buf, size_t len, int flags, const struct sockaddr *dest_addr, socklen_t addrlen); //equivalent to posix sendto implementation
                ^~~~~~~~~
../src/other/QUaServer/src/amalgamation/open62541.h:28246:16: note: suggested alternative: ‘UA_FORMAT’
 ssize_t sendto(UA_SOCKET sockfd, const void *buf, size_t len, int flags, const struct sockaddr *dest_addr, socklen_t addrlen); //equivalent to posix sendto implementation
                ^~~~~~~~~
                UA_FORMAT
../src/other/QUaServer/src/amalgamation/open62541.h:28246:34: error: expected primary-expression before ‘const’
 ssize_t sendto(UA_SOCKET sockfd, const void *buf, size_t len, int flags, const struct sockaddr *dest_addr, socklen_t addrlen); //equivalent to posix sendto implementation
                                  ^~~~~
../src/other/QUaServer/src/amalgamation/open62541.h:28246:58: error: expected primary-expression before ‘len’
 ssize_t sendto(UA_SOCKET sockfd, const void *buf, size_t len, int flags, const struct sockaddr *dest_addr, socklen_t addrlen); //equivalent to posix sendto implementation
                                                          ^~~
../src/other/QUaServer/src/amalgamation/open62541.h:28246:63: error: expected primary-expression before ‘int’
 ssize_t sendto(UA_SOCKET sockfd, const void *buf, size_t len, int flags, const struct sockaddr *dest_addr, socklen_t addrlen); //equivalent to posix sendto implementation
                                                               ^~~
../src/other/QUaServer/src/amalgamation/open62541.h:28246:74: error: expected primary-expression before ‘const’
 ssize_t sendto(UA_SOCKET sockfd, const void *buf, size_t len, int flags, const struct sockaddr *dest_addr, socklen_t addrlen); //equivalent to posix sendto implementation
                                                                          ^~~~~
[...]

I generate the included amalgamation on windows using the cmake command:
cd open62541.git
mkdir build; cd build;
cmake -DUA_ENABLE_AMALGAMATION=ON .. -G "Visual Studio 15 2017 Win64"

In the past, then open the VS project and build it, which also generates the amalgamation files. I copy the amalgamation files to my QUaServer repo and then I use this QMake project to build the amalgamation separately as a library.
With previous amalgamations it turned out that they also compiled on linux out of the box. It might be that newer amalgamations generated on windows do not compile anymor eon Linux. So you might have to generate your own amalgamation on Linux and replace the one provided in this repo.
You could try that out and let me see if it works, then we might also check what differences are between Windows and Linux amalgamations.
Anyways I might be updating the amalgamation again soon, once this issue's fix is merged into the open62541 master branch.
I am sorry I cannot guarantee the amalgamation will work in all platforms, but I am low in resources. Maybe when I have the time, I will just add open62541 as a git submodule and add a QMake command to call CMake and generate the amalgamation automatically for each platform. Until then I guess we will keep having issues like this one.

The difference is that the header in the new amalgamation is missing the posix bit of the older version, with this leader comment:
/*********************************** amalgamated original file "C:/Users/User/Desktop/Repos/open62541.git/arch/posix/ua_architecture.h" ***********************************/

Strangely enough, CMakeLists.txt for open62541 did not change recently https://github.com/open62541/open62541/blame/master/CMakeLists.txt (the UA_AMALGAMATION_ARCHITECTURES option has the default win32;posix).

Worked towards solving this issue in this commit.
I removed the included amalgamation and, on Windows, now the amalgamation is built automagically when running qmake on the amalgamation project.
All the magic goes in open62541amalgamation.pri.
Are you feeling like giving it a go to the missing Linux implementation?

Fixed for Linux in this commit. Now just missing Mac, but I dont have one.

Sorry for not being helpful, had little time plus I don't use qmake and don't know much about it, I use straight CMake. I am happy Linux is supported now for others who use qmake. Thanks!

No prob. I will close the issue for now, leave Mac unsupported. This ain't javascript.


Event data appears to be duplicated across blocks

When getting events from a contract the number of events triggered per block is correct but all data is the same for all events triggered in that block.

is it the same with indexed fields as with non indexed? had an issue myself where non indexed fields were the same, but indexed ones are properly updated.

It is happening for indexed arguments. Per your suggestion I only used indexed arguments.
	event event1(uint indexed indexnum, uint indexed EID);
	event event2(uint indexed indexnum, uint indexed EID);
	event event3(uint indexed indexnum, uint indexed EID);

Indexnum refers to which object is being updated and EID is a counter which increments on every event emitted or triggered.
The behaviour I see is I am sticking 5 transactions into a block at a time and I get 5 events back butthe data will be like
{indexnum: 45837, EID: 5}
{indexnum: 45837, EID: 5}
{indexnum: 45837, EID: 5}
{indexnum: 45837, EID: 5}
{indexnum: 45837, EID: 5}
I will try to write a test to demonstrate this behaviour.

I can't seem to produce a minimal example yet. I'll keep trying by adding some busy work to the function calls.

Closing because I was unable to reproduce a minimal test case and now think this issue is coming from elsewhere.


Configurable http_headers and http_scheme in presto profile

We have a use case at Shopify for specifying custom http headers to our Presto cluster for routing queries to specific clusters. Additionally, supporting a configurable http_scheme would be useful in combination with http_headers - for example, using the {'Authorization': <token>} header in combination with https as the http_scheme.
It looks like this change would mostly be a matter of plumbing the configurations through to the prestodb.dbapi.connect call in connections.py.

I have a fix drafted up for this but will need write access to to the repo. @jtcohen6 is this something you can help me out with? :)

@MichelleArk Absolutely! I'd very much welcome the contribution :)
Would it be possible for you to fork this repo, into either your org's or your personal GitHub account, and then open a PR from the fork? That's the simplest way to review + merge PRs from external contributors. If that's not something you're able to do, I can look into other options.

@jtcohen6 - Done! https://github.com/dbt-labs/dbt-presto/pull/69


issue regarding "dwdweather weather 2667<PHONE_NUMBER>"

the following command: "dwdweather weather 2667<PHONE_NUMBER>" is giving errors. I tried out different combinations of stations and dates/hours, but still the same set of errors.

Dear Mayutan,
we are currently renovating this fine piece of software over at [1]. So, after installing the updated version through
pip install dwdweather2

you should be able to run
dwdweather weather 2667 2014-06-01T22

flawlessly. At least we can confirm it works on our machine. Please note the slightly updated datetime format here.
With kind regards,
Andreas.
[1] https://github.com/hiveeyes/dwdweather2

Example
$ dwdweather weather 2667 2014-06-01T22
2019-06-03 03:57:44,403 [dwdweather.client   ] INFO   : Acquiring dataset for resolution "hourly" from "https://opendata.dwd.de/climate_environment/CDC/observations_germany/climate/hourly"
2019-06-03 03:57:44,406 [dwdweather.commands ] INFO   : Querying data for station "2667" and categories "None" at "2014-06-01 22:00:00"
{
    "airtemp_humidity": 82.0,
    "airtemp_quality_level": 3,
    "airtemp_temperature": 10.4,
    "cloudiness_quality_level": 3,
    "cloudiness_source": "P",
    "cloudiness_total_cover": 1,
    "datetime":<PHONE_NUMBER>,
    "precipitation_fallen": 0,
    "precipitation_form": 0,
    "precipitation_height": 0.0,
    "precipitation_quality_level": 3,
    "pressure_normalized": 1020.0,
    "pressure_quality_level": 3,
    "pressure_station": 1007.9,
    "soiltemp_quality_level": 3,
    "soiltemp_temperature_002": null,
    "soiltemp_temperature_005": 17.1,
    "soiltemp_temperature_010": 19.3,
    "soiltemp_temperature_020": 20.3,
    "soiltemp_temperature_050": 17.2,
    "soiltemp_temperature_100": 15.0,
    "solar_atmosphere": null,
    "solar_duration": null,
    "solar_end_of_interval": null,
    "solar_global": null,
    "solar_quality_level": null,
    "solar_sky": null,
    "solar_zenith": null,
    "station_id": 2667,
    "sun_duration": null,
    "sun_quality_level": null,
    "visibility_quality_level": 3,
    "visibility_source": "P",
    "visibility_value": 35000,
    "wind_direction": 90,
    "wind_quality_level": 10,
    "wind_speed": 1.8
}


feat: add support to validating webhooks

Signed-off-by: Jorge Turrado<EMAIL_ADDRESS>
To pass CI checks here, the feature needs to be merged in KEDA because the new image is required for CI checks here
Checklist

[x] I have verified that my change is according to the deprecations & breaking changes policy
[x] Commits are signed with Developer Certificate of Origin (DCO - learn more)
[x] README is updated with new configuration values (if applicable)
[x] A PR is opened to update KEDA core (repo) (if applicable, ie. when deployment manifests are modified)

Fixes https://github.com/kedacore/keda/issues/3755
Fixes https://github.com/kedacore/keda/issues/3087
Fixes https://github.com/kedacore/keda/issues/3083
Fixes https://github.com/kedacore/keda/issues/3088

f**k! I thought I was clicking in auto-merge but I this repo doesn't have it because there isn't required checks, I hope all will pass, if not I'll solve the issues in other PR


boards: stm: nucleo_h723zg: added flash partition to work with mcuboot

Closes #75425
Add a partition for flash memory as follows:

boot_partition: 128k
slot0_partition: 384k
slot1_partition: 384k
storage_partition: 128k

Partitions will work but are not optimal, assuming sector size is 128KiB and you are using swap using move, slot0 needs 1 sector to move sectors up by and needs 1 sector to hold swap status and flags, thus slot0 is reduced to 384 - 128 - 128 = 128KiB, so as can be seen having 384KiB in the second slot also means 256KiB of that slot can never be used.

@nordicjm Thanks for the input. Is there a documentation somewhere which explains MCUBoot requirements around partitions vs sectors sizes to help tailoring flash partitions ?

Partitions will work but are not optimal, assuming sector size is 128KiB and you are using swap using move, slot0 needs 1 sector to move sectors up by and needs 1 sector to hold swap status and flags, thus slot0 is reduced to 384 - 128 - 128 = 128KiB, so as can be seen having 384KiB in the second slot also means 256KiB of that slot can never be used.

@nordicjm Thanks for the input. Is there a documentation somewhere which explains MCUBoot requirements around partitions vs sectors sizes to help tailoring flash partitions ?

In the upstream documentation yes: https://docs.mcuboot.com/design.html

I consider that you need two sectors reserved to be a bug. There is no particular reason that the status and the extra area can't be in the extra area, but as you've discovered, it apparently doesn't work.

I've created mcu-tools/mcuboot#2052 to track this.

@thomasbouston Following discussion with @nordicjm and @d3zd3z, it's finally better, as more optimized, to re-instantiate the scratch partition. My bad for the initially wrong feedback.
Do you plan to continue this PR ?

Swap using scratch makes no sense here at all, you would need to use a sector for scratch, and you would need a sector for the image flags, so you're not gaining anything.

@thomasbouston Following discussion with @nordicjm and @d3zd3z, it's finally better, as more optimized, to re-instantiate the scratch partition. My bad for the initially wrong feedback. Do you plan to continue this PR ?

Hi, I'm sorry but I don't have time to handle it anymore. If you could take care of it, that would be ideal.

Hi, I'm sorry but I don't have time to handle it anymore. If you could take care of it, that would be ideal.

Not sure we'll have time neither. Let's close it, it can be reopened at anytime.


NavigationRegion2D baking with groups (explicit or recursive) doesn't work as expected at runtime (but it does in the editor)

Tested versions

Tested in v4.2.stable.official [46dc27791]

System information
Godot v4.2.stable - Debian GNU/Linux 11 (bullseye) 11 - X11 - Vulkan (Forward+) - integrated Intel(R) HD Graphics 5500 (BDW GT2) () - Intel(R) Core(TM) i7-5500U CPU @ 2.40GHz (4 Threads)
Issue description
When using a NavigationRegion2D and attempting to rebake the NavigationPolygon at runtime, it behaves differently than it does in the editor. It will use groups in the editor, it will not use groups at runtime.
In the editor, when using the Group with Children or Group Explicit modes, it will correctly bake a navigation polygon that includes the obstacles that are part of the specified group.
Here is an example of baking in the editor:

In the editor, it correctly incorporates the obstacles in this polygon.
However, when then attempting to bake this again through a script at runtime, with the same navigation polygon (and thus the same settings) it seems to ignore all of the nodes in the specified group.
Here is an example of a runtime re-baking:

In that screenshot, it ignores the obstacles completely (the bug.)
I don't believe the issue is within my re-baking script because it does still work when in Root node with children mode:

Unfortunately, the "root node with children" mode includes all polygon2d nodes, which isn't always desirable and why I have been trying to use the explicit groups instead.
Note (possible source of the issue?):
This may be related to an issue I've noticed where the default value for the group, navigation_polygon_source_geometry_group,  is sporadically replaced with the similar but different value  of navigation_polygon_source_group when re-opening the project or sometimes re-opening or modifying the scene.
For example, in my minimal reproduction project, I am using the default value of navigation_polygon_source_geometry_group but when re-opening the project it changes the group value without any user input:

If it it is also changing/using the incorrect group name at runtime, that might be the root cause of the issue?
I'm happy to provide more context or information if needed. (This is my first time opening an issue so please bear with me.)
Steps to reproduce

Create a NavigationRegion2D
Create a NavigationPolygon within that region, and give it an outline
Set the NavigationPolygon's source_geometry_mode to the Group Explicit mode
Create Polygon2D or StaticBody2D nodes that are members of the default group navigation_polygon_source_geometry_group
Bake the NavigationPolygon in the editor (that part should work)
Write a script to bake it at runtime, then run the program and do a runtime bake (this should fail to include the group)

Reproducing from the minimal reproduction project

Open the project
Reset the main scene's NavigationRegion's NavigationPolygon's source_geometry_group_name to the default value (it keeps changing away from the default value by itself for some reason)
Bake the NavigationPolygon in the editor (it should work)
Run the Project
Press 'R' to run the rebake code at runtime (it will fail to correctly use the items in the group)
(Optionally) Press 'M' to change the source_geometry_mode and rebake in the different modes

Minimal reproduction project (MRP)
Nav2DBakingIssue.zip
(Note, because of the possible bug here, you will need to reset the source_geometry_group_name on the NavigationRegion2D's NavigationPolygon to the default value when opening the project - as it seems to reset itself every time to an incorrect value)

Updated information
I have discovered that using the modified group name of navigation_polygon_source_group does allow re-baking at runtime, but any other group name value (including the default value of navigation_polygon_source_geometry_group will fail.
I suspect this is the cause of the incorrect behavior.


Node.js 16

0|main  | Error: This version of µWS is not compatible with your Node.js build:
0|main  | Error: /lib64/libc.so.6: version `GLIBC_2.18' not found (required by /var/www/main/public_html/servers/node_modules/uWebSockets.js/uws_linux_x64_93.node)

What is that?

Google it


json: Change compat mode to directly emit ints <= 32 bits

This increases compatibility with certain older parsers in some cases that worked before commit 15fae357 but do not work with the current compat-int mode
The specific case that I encountered involved flip-flop cells with INIT attributes set to 0 (these attributes are created by the dffinit pass). For some reason that I didn't fully investigate (because it does not seem to cause any breakage), yosys seems to think that these attributes are 0 bits wide (e.g. write_verilog will output .INIT({0{1'b0}})). The code prior to commit 15fae357 would have output a 0 into the resulting JSON file, but the code that is currently in master will output an empty string (even with -compat-int).
By making -compat-int write attributes with <= 32 bits (rather than == 32 bits) as JSON numbers, the behavior should exactly match the pre-15fae357 behavior.

This seems like it warrants a patch to dffinit as well.
Looks good to me. @cliffordwolf — since this is exactly the kind of old parsers that we were talking about that people actually have problem with, and because 15fae357f6c7a5c205d2733cd0b2640eecd17a2d hasn't landed in an actual release yet, I'd say this should be the behavior of -compat-int.  I'll merge in this PR if there is no opposition in a few days.

I am using old style parsers and now I need to change all my scripts with this -compat-int.
One option is also keep "old" as a default and make switch for this new behaviour.

IMO: the "old" JSON format was clearly and unambiguously broken. The best thing would have been to never ship it. But the next best thing would be to not keep it as default.

😄 👍
I am happy to update my scripts with the new switch. Actually now I can modify those (int str) if/thens away.


minor bug: incorrect filename of forecast file to be loaded

The filename of one of the forecasts used in the gridded forecast example is spelt incorrectly in the loading function and therefore fails to load the forecast. The hyphen should be corrected to an underscore, as follows:
Loads from the PyCSEP package
werner_forecast = csep.load_gridded_forecast('../workshop_data/forecasts/HRSS-m1.dat',
name='Werner, et al (2010)')
Should be corrected to
Loads from the PyCSEP package
werner_forecast = csep.load_gridded_forecast('../workshop_data/forecasts/HRSS_m1.dat',
name='Werner, et al (2010)')

[celebrate]     Maximilian Werner reacted to your message:

From: Pablo Iturrieta @.>
Sent: Sunday, March 17, 2024 6:25:02 AM
To: cseptesting/pycsep_workshop_statsei24 @.>
Cc: Maximilian Werner @.>; Author @.>
Subject: Re: [cseptesting/pycsep_workshop_statsei24] minor bug: incorrect filename of forecast file to be loaded (Issue #1)
Closed #1https://github.com/cseptesting/pycsep_workshop_statsei24/issues/1 as completed via 09e6c3bhttps://github.com/cseptesting/pycsep_workshop_statsei24/commit/09e6c3bafb239998ae1a4ff42a716aced4a8fb11.
—
Reply to this email directly, view it on GitHubhttps://github.com/cseptesting/pycsep_workshop_statsei24/issues/1#event-12142046584, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AD6OISOLZNAFJR3AYYK3EG3YYUZL5AVCNFSM6AAAAABEZ3DRWOVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJSGE2DEMBUGY2TQNA.
You are receiving this because you authored the thread.Message ID: @.***>


Resume support for  trilulilu.ro

Youtube-dl cannot download anymore from trilulilu.ro since the site changed it\s javascript/html.
Please resume download support for trilulilu.ro.
example of download url from trilulilu.ro : http://www.trilulilu.ro/cei-mai-draguti-ursuleti-panda#ref=home
Youtube-dl output with --verbose parameter:
D:\Tools>youtube-dl.exe --verbose  http://www.trilulilu.ro/cei-mai-draguti-ursuleti-panda#ref=home
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.trilulilu.ro/cei-mai-dragut
i-ursuleti-panda#ref=home']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2014.10.30
[debug] Python version 2.7.8 - Windows-8-6.2.9200
[debug] exe versions: ffmpeg N-66521-
[debug] Proxy map: {}
[generic] cei-mai-draguti-ursuleti-panda#ref=home: Requesting header
WARNING: Falling back on generic information extractor.
[generic] cei-mai-draguti-ursuleti-panda#ref=home: Downloading webpage
[generic] cei-mai-draguti-ursuleti-panda#ref=home: Extracting information
ERROR: Unsupported URL: http://www.trilulilu.ro/cei-mai-draguti-ursuleti-panda#r
ef=home; please report this issue on https://yt-dl.org/bug . Be sure to call you
tube-dl with the --verbose flag and include its complete output. Make sure you a
re using the latest version; type  youtube-dl -U  to update.
Traceback (most recent call last):
File "youtube_dl\extractor\generic.pyo", line 581, in _real_extract
File "youtube_dl\utils.pyo", line 1629, in parse_xml
File "xml\etree\ElementTree.pyo", line 1300, in XML
File "xml\etree\ElementTree.pyo", line 1642, in feed
File "xml\etree\ElementTree.pyo", line 1506, in _raiseerror
ParseError: syntax error: line 1, column 0
Traceback (most recent call last):
File "youtube_dl\YoutubeDL.pyo", line 533, in extract_info
File "youtube_dl\extractor\common.pyo", line 198, in extract
File "youtube_dl\extractor\generic.pyo", line 962, in _real_extract
ExtractorError: Unsupported URL: http://www.trilulilu.ro/cei-mai-draguti-ursulet
i-panda#ref=home; please report this issue on https://yt-dl.org/bug . Be sure to
call youtube-dl with the --verbose flag and include its complete output. Make s
ure you are using the latest version; type  youtube-dl -U  to update.
Have a nice day
Nelu Campean

This issue should be fixed in the next release of youtube-dl. Thanks for the report.

Fixed in youtube-dl 2<IP_ADDRESS> and newer. See our FAQ if you need help updating.


QrCode output problem

Hi, I've just installed endroid/QrCode using composer, and used the following script to generate a QR Code.
<?php     require_once 'vendor/autoload.php';     use Endroid\QrCode\ErrorCorrectionLevel;     use Endroid\QrCode\LabelAlignment;     use Endroid\QrCode\QrCode;     use Endroid\QrCode\Writer\PngWriter;     use Endroid\QrCode\Writer\SvgWriter;     use Symfony\Component\HttpFoundation\Response;     $qrcode = new QrCode('www.uol.com.br');     //$qrcode -> setText();     $qrcode -> setSize(200)             ->setMargin(10)             ->setEncoding('UTF-8')             ->setErrorCorrectionLevel(ErrorCorrectionLevel::HIGH)             ->setForegroundColor(['r' => 0, 'g' => 0, 'b' => 0])             ->setBackgroundColor(['r' => 255, 'g' => 255, 'b' => 255])             ->setLogoSize(150)             ->setValidateResult(true)     ;             header('Content-Type: '. $qrcode->getContentType(PngWriter::class));             $qrcode->writeString(PngWriter::class);  ?>
But there is no output.  The webpage is blank.  What i'm I doing wrong?
Follow the version of the QRCode I'm using
alexandres-mbp:QRCODE AlexHD$ composer show
Cannot create cache directory /Users/AlexHD/.composer/cache/repo/https---packagist.org/, or directory is not writable. Proceeding without cache
Cannot create cache directory /Users/AlexHD/.composer/cache/files/, or directory is not writable. Proceeding without cache
Cannot create cache directory /Users/AlexHD/.composer/cache/repo/https---packagist.org/, or directory is not writable. Proceeding without cache
You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug
bacon/bacon-qr-code                 1.0.1   BaconQrCode is a QR code genera...
endroid/qrcode                      2.1.4   Endroid QR Code
khanamiryan/qrcode-detector-decoder 0.0.1   QR code decoder / reader
myclabs/php-enum                    1.5.1   PHP Enum implementation
paragonie/random_compat             v2.0.10 PHP 5.x polyfill for random_byt...
symfony/inflector                   v3.2.8  Symfony Inflector Component
symfony/options-resolver            v3.2.8  Symfony OptionsResolver Component
symfony/polyfill-php70              v1.3.0  Symfony polyfill backporting so...
symfony/property-access             v3.2.8  Symfony PropertyAccess Component
alexandres-mbp:QRCODE AlexHD$
PHP version
alexandres-mbp:QRCODE AlexHD$ php -v
PHP 7.1.2 (cli) (built: Mar 10 2017 23:34:38) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies
with Xdebug v2.5.1, Copyright (c) 2002-2017, by Derick Rethans
alexandres-mbp:QRCODE AlexHD$

Hi @acvoliveira you still need to echo the string created by the writeString method (if you look closer at the code you can see that the writeString returns a string and does not output anything).

hi,i was generating my QR codes but after uploading my website to a host and try to generate my qr code there is no output. The web page is blank. What i'm I doing wrong? that is the code
prepare("SELECT lecture_number from lecture_qrcode WHERE course_code=? and lecture_number like ?");
$stmt->execute(array($ccode,$lecnum));
$count=$stmt->rowCount();
if($count>=1){
echo'Please change lecutre_number';
goto leave;
}
//check if qrcode is exist:-
$stmt=$con->prepare("SELECT qrcode from lecture_qrcode WHERE  qrcode=? ");
$stmt->execute(array($qr));
$count1=$stmt->rowCount();
if($count1>=1){
echo 'Sorry,but please change the qrcode';
goto leave;
}
else{
//create qrcode and insert it into the database
$stmt=$con->prepare("INSERT INTO lecture_qrcode values(?,?,?)");
$stmt->execute(array($lecnum,$qr,$ccode));
$qrCode = new QrCode($_POST['text']);
header("Content-Type: image/png");
echo $qrCode->writeString();
die();
}
ob_end_flush();
leave:
?>

Hi @mostafa619 you could try to debug step by step and verify your script is working. Also it helps if you comment the header("Content-Type: image/png"); so your browser does not try to render any errors as an image. Good luck!

thank you

Hi. I've a problem. Uncaught Exception: Invalid data at path "C:\OpenServer\domains\smalot_pdf_parser/assets/symfony.png" in C:\OpenServer\domains\smalot_pdf_parser\vendor\endroid\qr-code\src\ImageData\LogoImageData.php:

hello endroid ,,, I have problem when run the code after install library I will show blank page in the web browser. the code is below :
setEncoding(new Encoding('UTF-8'))
    ->setErrorCorrectionLevel(new ErrorCorrectionLevelLow())
    ->setSize(300)
    ->setMargin(10)
    ->setRoundBlockSizeMode(new RoundBlockSizeModeMargin())
    ->setForegroundColor(new Color(0, 0, 0))
    ->setBackgroundColor(new Color(255, 255, 255));

// Create generic logo
$logo = Logo::create(__DIR__.'/assets/symfony.png')
    ->setResizeToWidth(50);

// Create generic label
$label = Label::create('Label')
    ->setTextColor(new Color(255, 0, 0));

$result = $writer->write($qrCode, $logo, $label);

// Validate the result
$writer->validateResult($result, 'Life is too short to be generating QR codes');

// Directly output the QR code
header('Content-Type:image/png'.$result->getMimeType());
echo $result->getString();

// Save it to a file
$result->saveToFile(__DIR__.'/qrcode.png');

// Generate a data URI to include image data inline (i.e. inside an  tag)
$dataUri = $result->getDataUri();
?>

Hi @mohammedidris11 I see you save the result to a file so you should either see the file in your file system or have an error. You could try to remove the image header so you can see the error message in your browser or change your error reporting level etc to make sure you see errors. Good luck!

hi, when i try to generate qr-code with your tutorial on youtube, i get an error. this is error Uncaught Exception: Invalid data at path "/path/to/the/logo/file


Updated string constraint extension

Made all constraints optional so not all have to be specified where inapplicable, added check for start/end characters. Added/updated unit tests.

Don't necessarily commit this yet - I'm going through the naming constraints and adding more as I see them

Good to go - this spans nearly all the naming constraints listed in the docs.

Good to go - this spans nearly all the naming constraints listed in the docs.

Perfect, might be worth standardising the resources that are supported "centrally" and defining these rules (automatically?) so they can be re-used everywhere, but a later thing - will raise an issue for it so I don't forget.


Hitting with Http requester(Setup)

Im hitting the Server with Http Requester on url: http://localhost:6001/apps/5780ac79810d7425/status
without any request body and it responds with:
{
	"error": "Unauthorized"
}

After starting server it starts fine like:

L A R A V E L  E C H O  S E R V E R

version 1.2.7
⚠ Starting server in DEV mode...
✔  Running at localhost on port 6001
✔  Channels are ready.
✔  Listening for http events...
✔  Listening for redis events...
Server ready!
laravel-echo-server.json is like:

{
"authHost": "http://localhost",
"authEndpoint": "/broadcasting/auth",
"clients": [
{
"appId": "5780ac79810d7425",
"key": "5d9df7139ccba9ba57efd6a791579c83"
}
],
"database": "redis",
"databaseConfig": {
"redis" : {
"port": "6379",
"host": "<IP_ADDRESS>"
},
"sqlite": {
"databasePath": "/database/laravel-echo-server.sqlite"
}
},
"devMode": true,
"host": "localhost",
"port": "6001",
"protocol": "http",
"referrers": [
{
"host": "*",
"apiKey": "5d9df7139ccba9ba57efd6a791579c83"
}
],
"socketio": {},
"sslCertPath": "",
"sslKeyPath": ""
}

sorry wasnt providing the key the new url becomes:
http://localhost:6001/apps/5780ac79810d7425/status?auth_key=5d9df7139ccba9ba57efd6a791579c83


Login page

.gitignore has been modified
per John S, ENSURE PACKAGED VERSION WORKS WRT STATIC FILES
line 163 static/ ==> /static
This pull request:

Implements redesigned login page.
Sub-templates password reset/confirm pages
Wires up JavaScript handling for each page
Modifies backbone logout button to redirect to /login/ after logout or missing token
Adds a check on base.html to skip rendering page if auth token is missing
Implements 'remember me' functionality on login page.
Modifies css to allow for tabbed navigation into 'remember me' checkbox
Modifies django redirect view for password change confirmation
Removes old login functionality code
Updates tests

TODO update HACKING.md instructions on how to implement/test password change email.

Looks good, functionality works for me.  The only change I would request is to use a white "X" in the "remember me" checkbox rather than the current behavior of using a white block.

:+1:

:+1:


RunInference Benchmarking tests

RunInference benchmarks will evaluate performance of Pipelines, which represent common use cases of Beam **** Dataflow in Pytorch, sklearn and possibly TFX. These benchmarks would be the integration tests that exercise several software components using Beam, PyTorch, Scikit learn and TensorFlow extended.
we would use the datasets that's available publicly (Eg; Kaggle).
Size: small / 10 GB / 1 TB etc
The default execution runner would be Dataflow unless specified otherwise.
These tests would be run very less frequently(every release cycle).
Imported from Jira BEAM-14068. Original Jira may contain additional context.
Reported by: Anand Inguva.
Subtask of issue #21435

Unable to assign user @AnandInguva. If able, self-assign, otherwise tag @damccorm so that he can assign you. Because of GitHub's spam prevention system, your activity is required to enable assignment in this repo.


Plugin commands not found by neovim

Hey,
I'd like to check out your plugin as it feels like it will fit my workflow really nicely.
The current issue I have is that the current plugins commands are not recognized by nvim.
I bisected the issue to commit:
commit 72273dc5fc7c12c487d59e972e33c3634a41a7b2
Author: Chip Senkbeil<EMAIL_ADDRESS>Date:   Thu Jun 1 03:31:09 2023 -0500

    Rewrite plugin in preparation for v0.3 (#99

The error:
E492: Not an editor command: DistantInstall

Platform: OSX
Nvim version:  9.2
I also tried installing nvim 8.0 and 8.3 and the issue persists.
Output of health:
distant: require("distant.health").check()

distant.nvim ~
- OK distant installed
- OK distant version 0.20.0 meets minimum requirement of 0.20.0

In commits before the above mentioned commit I get errors on the distant client command not existing I guess I have to install an older version of distant to get rid of those.
This is as far as I got, I'd appreciate your help in debugging this.

Hey there! Version v0.3 of the plugin uses distant 0.20.0. That's the ideal setup you want.
Are you saying that commands like :DistantInstall and :DistantLaunch cannot be found? If so, have you made sure to call require("distant"):setup() first? The setup function needs to be called before using distant, and it's what sets up all of the vim commands, autocommands, and some other details within neovim.

Now that's embarrassing :)
Thanks!

@chipsenkbeil  I am having this same issue. I installed with lazy.nvim using this from docs
{
    'chipsenkbeil/distant.nvim',
    branch = 'v0.3',
    config = function()
        require('distant'):setup()
    end
}

E492: Not an editor command: DistantInstall

ok the fix is to add the commands yourself. Can you kindly update lazy installation config? others might not know what to do
{
    "chipsenkbeil/distant.nvim",
    branch = "v0.3",
    cmd = {
      "DistantInstall",
      "Distant",
      "DistantLaunch",
      "DistantSessionInfo",
      "DistantConnect",
      "DistantCheckHealth",
      "DistantClientVersion",
    },
    config = function()
      require("distant"):setup()
    end,
  }


Analytics provider google not working

When I set the following in _config.yml:
provider : google
 tracking_id : 'UA-nnnnnnnn-n'

(I use my real tracking ID though)
I do not see any tracking code added to any pages or posts (or anything?) when I run Jekyll to regen the _site
git also does not report any changes to content pages.  (maybe atom.xml but not sure if related to this cfg change I made).
Am I doing something wrong or is this just not working?

The analytics code only displays when "in production" so as to not record false pageviews. There is no real production mode in Jekyll though. So when I say production I mean when it is running on GitHub Pages. We know its running on GitHub Pages when site.safe == true because GitHub automatically sets this flag.
So to compile your site in production mode you'll need to set site.safe to true in either your _config.yml file or via a command line option like so:
$ jekyll --safe

Ahh, that must be it.  I am not running "production" on GitHub pages so I bet that is the problem.  I will try to set this in cfg and report back.  Thank you for a great project!

Please forgive me if these are dumb questions but I don't speak Ruby, and am new to Jekyll, JB, and git :)
That said, all the other stuff seems to be working fine but not the analytics part.
I am probably using a very uncommon config that may not have been tested yet (and I am not even sure if you intend for this scenario to work).
Here is what I have and see:
Ruby, Jekyll, JB, and git with bash all installed on Windows 7.
I am NOT hosting the site on GitHub though and there may be a dependency on ghpages/jekyll.
I am hosting the site on AppHarbor as just a set of plain and static HTML/JS, etc, files on the server.
Jekyll is not installed nor available on the server.
I generate my site using the jekyll command and all updated pages go into the _site dir as expected.
When I just use jekyll --safe to "compile", git tells me that NO CHANGES have been made in my _site dir.
(I have _site in a diff directory in source control for deployment to host reasons, so I can see if files change in there or not).
I would assume that if the analytics code was working that I should see the google required javascript to show up inside some pages but how would I know it is ready to go)?
When I put this in my _config.yml
site.safe: true
I also shows only a change to _config.yml and atom.xml, no other files are modified.
literally typing this:
site.safe == true
in the cfg is a syntax error I discovered. :)
Any ideas?
Thank you.

No problem, actually it's my (and jekyll's to an extent) for not being really clear.
the site.safe variable is generated from _config.yml but its attached to the site hash. rather than literally replacing it.
In other words to configure site.safe what you need to do is just set safe : true in the _config.yml file.
That should work. Also as I suggested earlier, you can always set the variable "in real time" via the command line:
$ jekyll --safe

Let me know how that works out.

cool!

safe: true

generated changed files in _site as I would expect.
using

jekyll --safe

in bash didn't seem to change any files for me, only the cfg change did.
I am going to deploy now and see what google says. Google analytics site also seems to suggest slightly different JS in the page if you are tracking a single domain (mysite.com) vs (mysite.com AND www.mysite.com).  I will try to see how the generated Js compares to what Google is telling me to paste in and let you know.
Thanks for the help!

All seems to be working now by hard coding safe: true in the _config.yml.
One thing to note is that the js generated for google analytics is for the option in analytics that is for tracking "a single domain" (mysite.com)
If you were trying to choose the option for tracking "One domain with multiple subdomains" then google suggests one additional line in the generated js and that is:
_gaq.push(['_setDomainName', 'mysite.com']);
and you place that line after the js code that sets the google analytics account.
BUT if you are telling your server to translate all incoming requests for things like www.mysite.com to just mysite.com it seems like google analytics works fine with the default js that jekyll generates.
Now I just need to find the docs on how to setup the social provider stuff.  :)
Thank you again!

No, problem, glad it worked out for you!


migrate dir list to RTK

Migrate list of directories of local LP instance.
Use DirTree types for Nextcloud, as they have the same shape.
Fix directory listing where only first 3 levels are shown. Now it's possible to drill down as far as it goes.
Hide directory selection when creating new user in admin section. This didn't work anyway because we are using signup flow, and this flow does not support setting scan directory. Should be fixed in the future.

Looks good to me, didn't even know that it wasn't possible to create a user with a scan directory 😅


Maint/276 maintenance vite 5 migration

Description

Migration to Vite 5
Updated Vite plugins
Updated Vite configuration
Updated TypeScript configurations
Fixed deprecated files

Reference
Issues #276

There are still the following errors when i run it locally.
Unhandled error during execution of component update
Unhandled error during execution of render function
Uncaught (in promise) TypeError: URL constructor: /avatar is not a valid URL
and i need to login at the apigateway to stop the site from reloade. I dont think that its a good idea to make it necessary to have the api-gateway running while developing the frontend. Is there anyway to fix that?

There are still the following errors when i run it locally.
Unhandled error during execution of component update
Unhandled error during execution of render function
Uncaught (in promise) TypeError: URL constructor: /avatar is not a valid URL
and i need to login at the apigateway to stop the site from reloade. I dont think that its a good idea to make it necessary to have the api-gateway running while developing the frontend. Is there anyway to fix that?

Those problems should be gone now. They occurred due to the branch not being up-to-date with contents from main branch. Please retry now. :)


change topology of map.(like pacman or snake)

Can you elaborate what you mean @mathrulestheworld
I'm not sure if I understand.


Fixed W3C Error - div as ul child

W3C Error "Element div not allowed as child of element ul" fixed.

@shopware/shopware-webdev can you please review?

@iLuHa91 Thanks for your contribution. We have to double check your changes cause it can break the layout of the mobile switches.
@bcremer We should import this as a new ticket.

Have fixed this in my custom Theme like that. Nothing is broken ;-) Just for your information.
Would be nice if this would be fixed in core.

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/#/issues/SW-14317.
Please use this issue to track the state of your pull request.

Thank you for your work.
Changes will be released with SW 5.1.4

I'm missing this change in Shopware 5.2.X


use orbit-db-store v3.1.0 (use the latest orbit-db-eventstore)

https://github.com/orbitdb/orbit-db-store/pull/86#issuecomment-596030779
https://github.com/orbitdb/orbit-db/pull/767#issuecomment-596034217

Published to 1.8.0! Thanks for bearing with me


mongoose.connect() ???

Hi, thank you very much for this nice stuff.
Can u plz tell me where can i put this (beginner :-) ) ? Can you integrate this in the generator?

Hi,
There are not obligation, I create a folder config with a db config file.
module.exports = {
    uri:  process.env.OPENSHIFT_MONGODB_DB_URL || 'mongodb://localhost/my-db'
};

And make connection in www :
/**
 * Initialize MongoDB
 */
var mongoose = require('mongoose');
var dbCfg = require('../config/db');
mongoose.connect(dbCfg.uri);

thanks a lot dude