Sockeye's translation of the text of the command

Hello, I would like to ask what is the command to translate a text using the Sockeye model.
Not echo "er ist so ein toller Kerl und ein Familienvater." |
python -m apply_bpe -c bpe.codes --vocabulary bpe.vocab.en
--vocabulary-threshold 50 |
python -m sockeye.translate -m wmt_model 2> / dev / null |
sed -r 's / @@ (| $) // g'
Hope to give the answer, thank you

Hi, Your question is a bit unclear. Do you mean how you would translate a file?
You can simply cat the file instead of echo:
cat translate_this.txt | python -m sockeye.translate -m model

This is the answer I want, thank you very much. I would like to ask two more questions:
1, the translation of the results of the document where the path
2, how to get translation of the BLEU value, the command format
Hope to give answers, thank you!

--output lets you specifiy an output file. Type
python3 -m sockeye.translate --help

to find out about all other options and read https://github.com/awslabs/sockeye/blob/master/docs/user_documentation.md.
For BLEU scores, the repository contains sacrebleu, read the docs here:
https://github.com/awslabs/sockeye/tree/master/contrib/sacrebleu

Hi,Excuse me, I still have a question,the last question about subword-nmt.
python -m learn_joint_bpe_and_vocab --input corpus.en corpus.ch -s 30000 -o bpe.codes --write-vocabulary bpe.vocab.en bpe.vocab.ch
After running the above command, the following hints appear:
no pair has frequency> = 2. Stopping.
I do not understand what this message means. Hope to give answer, thank you very much.


tests, infra-test, Solve CI flakiness due to update config

Add RetryOnConflict,
in order to fix the object has been modified; please apply your changes to the latest version and try again.
Its important to add it also to the AfterEach,
else a conflict there might break the cluster
for the rests of the tests.
Signed-off-by: Or Shoval<EMAIL_ADDRESS>
What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes: https://github.com/kubevirt/kubevirt/issues/4286
Special notes for your reviewer:
Release note:

None

/lgtm

/approve

@oshoval please explain why the conflict occurs in the commit message. Who is changing the Node?

@oshoval please explain why the conflict occurs in the commit message. Who is changing the Node?

I dont know by heart, k8s itself might update the node sometimes with some non intrusive change i think.
and seens its the nature of reconcile that a conflict might occur i think its safe to do so.

I dont know by heart, k8s itself might update the node sometimes with some non intrusive change i think.
and seens its the nature of reconcile that a conflict might occur i think its safe to do so.
Added "Which can be caused by a legitimate k8s event, and require retry."

The most sane approach would be, if we only ever patch the node object in these parts which we want  to do changes. This avoids this update dance, which can btw also have unwanted side-effects.

Added "Which can be caused by a legitimate k8s event, and require retry."

I do not see it on the commit message and if someone tries to check the "why", the information will be missing. And "event" needs explanation (an event that does changes on 123).

Updated commit message (and align PR description)

/test pull-kubevirt-check-tests-for-flakes
not related

The commit title had the word config instead conflict
Fixed it.

/retest

/cherry-pick release-0.34
@enp0s3 FYI,
after this is merged, you will be able to cleanly cherry-pick
https://github.com/kubevirt/kubevirt/pull/4375 as well
(just tested manually)
and its safe, because 4375 built on top of this one.


GA azure-json, azure-json-gson, and azure-json-reflect

Closing as azure-json has been GA'd and azure-json-reflect will be merged into implementation of azure-json. azure-json-gson will be replaced by azure-core-serializer-json-gson implementing azure-json APIs.


Error linking CXX shared library pyorbbecsdk.cpython-38-x86_64-linux-gnu.so

I got this error when trying to build using make -j4:
[  7%] Linking CXX shared library pyorbbecsdk.cpython-38-x86_64-linux-gnu.so /usr/bin/ld: cannot find -lOrbbecSDK collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/pyorbbecsdk.dir/build.make:265: pyorbbecsdk.cpython-38-x86_64-linux-gnu.so] Error 1 make[1]: *** [CMakeFiles/Makefile2:104: CMakeFiles/pyorbbecsdk.dir/all] Error 2 make: *** [Makefile:141: all] Error 2
Here is the output when I did try run the cmake -Dpybind11_DIR=pybind11-config --cmakedir..
-- Found pybind11: /home/vikash/achnaf/cv-project/pyorbbecsdk/orbbec-env/lib/python3.8/site-packages/pybind11/include (found version "2.11.1") -- Configuring done -- Generating done -- Build files have been written to: /home/vikash/achnaf/cv-project/pyorbbecsdk/build
And this is after I run the make install:
/usr/bin/ld: cannot find -lOrbbecSDK collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/pyorbbecsdk.dir/build.make:265: pyorbbecsdk.cpython-38-x86_64-linux-gnu.so] Error 1 make[1]: *** [CMakeFiles/Makefile2:104: CMakeFiles/pyorbbecsdk.dir/all] Error 2 make: *** [Makefile:141: all] Error 2
Do you have any idea on what's going on? thank you in advance.

the libOrbbecSDks in SDK/lib/${host_platform} are missing. The .so file cannot link against non-existent library. I copied the libraries from the other branch "rpi" to the main branch. Even though it's version 1.7 and not 1.8, it works.

Have tried to copy that .so files from rpi to the main branch but the error remains exist. I am using linux and it seems that the error logs shows that this file is missing when the CMakeFiles generated:
CMakeFiles/pyorbbecsdk/build/pyorbbecsdk.cpython-38-x86_64-linux-gnu.so

also encountered this problem, hope you guys can give some help,thanks~


unable to find a matching CMSIS-DAP device

I can't seem to load the basic Blinky example via the board's DAPlink. I can upload to the Pico directly just fine but not with the baseboard. This is the error i get:
EXT: hex
Open On-Chip Debugger 0.11.0-g228ede4-dirty (2022-08-14-21:19)
Licensed under GNU GPL v2
For bug reports, read
	http://openocd.org/doc/doxygen/bugs.html
Info : auto-selecting first available session transport "swd". To override use 'transport select <transport>'.
Info : Hardware thread awareness created
Info : Hardware thread awareness created
Info : RP2040 Flash Bank Command
Warn : could not read product string for device 0x05e3:0x0617: Input/Output Error
Error: unable to find a matching CMSIS-DAP device

I noticed that the product-string (above) doesn't match what ```dmesg` says (below):
[106627.636133] hub 2-1.4:1.0: USB hub found
[106627.636690] hub 2-1.4:1.0: 4 ports detected
[106628.010569] usb 1-1.2: new full-speed USB device number 29 using xhci_hcd
[106628.169780] usb 1-1.2: New USB device found, idVendor=0d28, idProduct=0204, bcdDevice= 1.00
[106628.169795] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[106628.169802] usb 1-1.2: Product: DAPLink CMSIS-DAP
[106628.169806] usb 1-1.2: Manufacturer: ARM
[106628.169811] usb 1-1.2: SerialNumber:<PHONE_NUMBER>420019390000084e50364aa5a5a5a597969908
[106628.188714] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[106628.189387] scsi host7: usb-storage 1-1.2:1.0
[106628.190443] cdc_acm 1-1.2:1.1: ttyACM0: USB ACM device
[106628.192954] hid-generic 0003:0D28:0204.0019: hiddev0,hidraw1: USB HID v1.00 Device [ARM DAPLink CMSIS-DAP] on usb-0000:00:14.0-1.2/input3

I tried manually putting the serial number in the cmsis config file but that didn't help.
Thoughts? I'm on a Linux box.
Thanks.

hello, try add sudo before your command

Instructions for linux using openocd 0.11.0

when compiling, you need to add support for cmsis-dap
$./configure --enable-cmsis-dap
2 add 2 lines to cmsis-dap.cfg
cmsis_ dap_ backend hid
transport select swd
command  for reference
$sudo ./src/openocd -s tcl -f tcl/interface/cmsis-dap.cfg -f tcl/target/stm32f1x.cfg

I've added the two lines to the .cfg file.
My machine shows the device in my file explorer as "DAPLINK".
This board doesn't work using openocd. I've tried what you suggested and it just keeps saying:
sudo openocd -f interface/picoprobe.cfg -f target/rp2040.cfg -c "program test_project.elf verify reset exit"
Open On-Chip Debugger 0.11.0-g228ede4-dirty (2022-09-24-15:24)
Licensed under GNU GPL v2
For bug reports, read
	http://openocd.org/doc/doxygen/bugs.html
Info : only one transport option; autoselect 'swd'
adapter speed: 5000 kHz

Info : Hardware thread awareness created
Info : Hardware thread awareness created
Info : RP2040 Flash Bank Command
Error: Failed to open or find the device
Error: Can't find a picoprobe device! Please check device connections and permissions.
Error: No Valid JTAG Interface Configured.

This is my .cfg file:
#
# ARM CMSIS-DAP compliant adapter
#
# http://www.keil.com/support/man/docs/dapdebug/
#

adapter driver cmsis-dap

# Optionally specify the serial number of CMSIS-DAP usb device.
#cmsis_dap_serial 02200201E6661E601B98E3B9
cmsis_dap_serial<PHONE_NUMBER>420019390000084e50364aa5a5a5a597969908

cmsis_ dap_ backend hid
transport select swd

This is the command I run:
 sudo openocd -f interface/picoprobe.cfg -f target/rp2040.cfg -c "program test_project.elf verify reset exit"
Why do you say to use -f /tcl/target/stm32f1x.cfg when I'm trying to use your board which is for RP2040? I'm confused.
Why won't it see the device :-(

Hello, please check the wiring and power supply, The log shows that the DAP itself is OK, but the target chip is not detected (usually a wiring problem)

hello, try add sudo before your command

This works for me. Is there a group I could add the my user to (in my case it's impractical running openocd as root)? It seems like (at least in my case) a permission problem.


[Suggestion] Task logs within the TaskDetails tab

Hello,
Is there any way to view the task logs within the Task Details tab? if not, then that feature would be quite beneficial for a huge workflow.
E.g., if we have a 700 parallel dynamic tasks within a workflow and want to easily navigate between tasks. it would appears to be much easier to navigate it in Task Details tab than the Execution Flow tab.

@saidatta it is not possible in the current UI.  However, it is possible to add - and we can consider this for future iterations.
@pctreddy


Optimize images

I have ImgBot set up to automatically run on my repositories and when I made a fork of this repo, it automatically ran on that one too. I noticed that ImgBot was able to reduce the size by ~13% so I figured I would just forward its PR to here. It's automatically setup to do lossless compression, so there should be no image quality degradation, either.
*Total -- 74,372.22kb -> 64,841.45kb (12.81%)

cool! thanks


Segmentation fault when using recursive generator with Numba JIT (NUMBA_OPT=0)

Reporting a bug

[x] I have tried using the latest released version of Numba (most recent is
visible in the release notes
(https://numba.readthedocs.io/en/stable/release-notes-overview.html).
[x] I have included a self contained code sample to reproduce the problem.
i.e. it's possible to run as 'python bug.py'.

from numba import jit
@jit
def recursive():
    yield recursive()
    yield recursive()

all(recursive())

Running NUMBA_OPT=0 python3.12 bug.py results in a segmentation fault :
Segmentation fault (core dumped)

Running NUMBA_OPT=1 python3.12 bug.py  or  python3.12 bug.py , the program completes successfully without any crashes.
Environment:
Python3.12.0
Numba 0.60.0
Operating System: Ubuntu 22.04.3 LTS

Digging into this a bit, the generated code seems to be jumping to a null pointer, but I haven't been able to follow why yet. I suspect when optimization is enabled, LLVM can see that a null pointer will be executed and just removes the code by exploiting UB semantics.
I think we ought to be able to avoid (or catch) this kind of issue, but it would need a bit more investigation to determine the root cause.

Do you mind sharing the steps how you debugged this? I use a lot of numba at work but never had the opportunity to dig into it.


Marquee selection freezes on screen in a certain mesh preset subgrapoh

To reproduce:

new graph, press play
load the preset: mesh with camera material and light and transforms
go inside the mesh subgraph
load a plugin using the search box: mesh/null
disconnect the existing "cube" mesh from the mesh slot in "mesh" subgraph
connect the "null" plugin to that mesh slot
use a marquee to select the 3 orbit camera sliders
blue marquee square should now freeze on the edit canvas

Screenshots attached.

This seems to be fixed - please confirm @fthr and close

Tested, can't make this bug happen again, so closing.


Adding new arithmetic gates to toctree

Summary
Addresses #13407.
Should be backported to 1.3.
These fixes the docstrings for arithmetic gates and adds these gates to the toctree.
Details and comments

Pull Request Test Coverage Report for Build<PHONE_NUMBER>6
Details

0 of 0   changed or added relevant lines in 0 files are covered.
3 unchanged lines in 3 files lost coverage.
Overall coverage increased (+0.004%) to 88.931%

Files with Coverage Reduction
New Missed Lines
%

crates/accelerate/src/unitary_synthesis.rs
1
92.2%

crates/qasm2/src/lex.rs
1
93.48%

crates/accelerate/src/two_qubit_decompose.rs
1
92.12%

Totals

Change from base Build<PHONE_NUMBER>0:
0.004%

Covered Lines:
79061

Relevant Lines:
88902

💛  - Coveralls

@alexanderivrii - thanks for preparing this PR!
I suggest to look carefully in the docs generated here, to see that no classes/functions in the circuit library were missed after all the updates. I can't find here qaoa_ansatz from https://github.com/Qiskit/qiskit/pull/13361

I see that in the sections of "N-local circuits" and "Data encoding circuits" there are two different tables, one for functions and the other for BlueprintCircuits. However, in "Particular Quantum Circuits" there is a single table for functions and QuantumCircuits.
Should it be separated into two tables ?

FullAdderGate doc does not look well:

Addressing additional Shelly's comments in a4b551c: state preparation circuit should have their own paragraph (done) and the long table on particular quantum circuits should be split into two (done).


fix: Update error log message

What this PR does / why we need it:
Fixes an error log typo that looks like below
{"level":"info","ts":"2022-09-21T05:56:23Z","msg":"restore complete, marking version ********** as deployed[]"}
{"level":"error","ts":"2022-09-21T05:56:24Z","msg":"failed to handle restoe for app **********: failed to handle undeploy completed: failed to check restore \"**********\" complete: failed to mark app version as deployed: Rollback is not supported."}
{"level":"info","ts":"2022-09-21T05:56:26Z","msg":"restore complete, marking version ********** as deployed[]"}
{"level":"error","ts":"2022-09-21T05:56:26Z","msg":"failed to handle restoe for app **********: failed to handle undeploy completed: failed to check restore \"**********\" complete: failed to mark app version as deployed: Rollback is not supported."}

Does this PR introduce a user-facing change?

NONE

Does this PR require documentation?

NONE

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@banjoh thanks for the contribution. Once you've completed the CLA we'll review it for inclusion. 🙂

@banjoh thanks for the contribution. Once you've completed the CLA we'll review it for inclusion. 🙂

Thanks @obfuscurity. Signed


change mx8mm references to imx8mm as defined in hardware contract

Can one of the admins verify this patch?


Clear memory using putByteArray instead of fill.

It is faster by 3–10x, at least on my machine (an Intel MacBook Pro). Some benchmarks comparing clear() vs fill(0) after this patch:
Benchmark              (numBytes)  (where)  Mode  Cnt    Score   Error  Units
MemoryBenchmark.clear           4  offheap  avgt   15     10.706 ±    0.166  ns/op
MemoryBenchmark.clear          16  offheap  avgt   15     11.031 ±    0.552  ns/op
MemoryBenchmark.clear          64  offheap  avgt   15     10.572 ±    0.162  ns/op
MemoryBenchmark.clear         256  offheap  avgt   15     11.539 ±    0.081  ns/op
MemoryBenchmark.clear        1024  offheap  avgt   15     17.520 ±    0.067  ns/op
MemoryBenchmark.clear        1025  offheap  avgt   15     30.936 ±    0.537  ns/op
MemoryBenchmark.clear        4096  offheap  avgt   15     73.675 ±    1.968  ns/op
MemoryBenchmark.clear       16384  offheap  avgt   15    298.331 ±    5.742  ns/op
MemoryBenchmark.clear       65536  offheap  avgt   15   1456.163 ±   51.568  ns/op
MemoryBenchmark.clear      262144  offheap  avgt   15   7050.704 ±  268.609  ns/op
MemoryBenchmark.fill            4  offheap  avgt   15    117.083 ±    0.723  ns/op
MemoryBenchmark.fill           16  offheap  avgt   15    117.528 ±    1.009  ns/op
MemoryBenchmark.fill           64  offheap  avgt   15    121.382 ±    2.037  ns/op
MemoryBenchmark.fill          256  offheap  avgt   15    131.476 ±    1.351  ns/op
MemoryBenchmark.fill         1024  offheap  avgt   15    182.377 ±    1.232  ns/op
MemoryBenchmark.fill         1025  offheap  avgt   15    145.153 ±    2.790  ns/op
MemoryBenchmark.fill         4096  offheap  avgt   15    363.053 ±    2.628  ns/op
MemoryBenchmark.fill        16384  offheap  avgt   15   1205.843 ±   47.600  ns/op
MemoryBenchmark.fill        65536  offheap  avgt   15   4513.897 ±  182.637  ns/op
MemoryBenchmark.fill       262144  offheap  avgt   15  17750.584 ± 1029.368  ns/op

This is failing, not because tests are failing, but for some reason, it can't acquire the right token to pass to coveralls.  I'm going to go ahead and merge, and then figure out what is going on in the GitHub Actions.


DLL of Cslol-manager do not work with R3!nzSkin.

why dont u guys change dll of skin changer like cslol did?

Because R3nzSkin is not longer supported read the announcement R3nzSkin is no longer supported due to Riot Games implementing Valorant's Vanguard anti-cheat to League of Legends

why dont u guys change dll of skin changer like cslol did?

Read the announcement

why dont u guys change dll of skin changer like cslol did?

ignore the guy copy pasting.
the issue is that the way r3nz skin changes skins is directly through the memory which vanguard forbids and as of right now there are no public methods to avoid getting detected. however, cslol doesn't mess with the game memory, instead when the game calls createfilea to load ur skin, the hook detours and loads the skin you want instead of what it thinks it loaded

why dont u guys change dll of skin changer like cslol did?

ignore the guy copy pasting. the issue is that the way r3nz skin changes skins is directly through the memory which vanguard forbids and as of right now there are no public methods to avoid getting detected. however, cslol doesn't mess with the game memory, instead when the game calls createfilea to load ur skin, the hook detours and loads the skin you want instead of what it thinks it loaded

Vanguard prevent injection it why it not working with Vanguard.

why dont u guys change dll of skin changer like cslol did?

ignore the guy copy pasting. the issue is that the way r3nz skin changes skins is directly through the memory which vanguard forbids and as of right now there are no public methods to avoid getting detected. however, cslol doesn't mess with the game memory, instead when the game calls createfilea to load ur skin, the hook detours and loads the skin you want instead of what it thinks it loaded

Vanguard prevent injection it why R3nzSkin is not working with Vanguard
On patch 14.10 R3nzSkin work when Vanguard is not running

you cannot prevent dll injections. what you can prevent is messing with game memory which is exactly what vanguard does

why dont u guys change dll of skin changer like cslol did?

ignore the guy copy pasting. the issue is that the way r3nz skin changes skins is directly through the memory which vanguard forbids and as of right now there are no public methods to avoid getting detected. however, cslol doesn't mess with the game memory, instead when the game calls createfilea to load ur skin, the hook detours and loads the skin you want instead of what it thinks it loaded

Vanguard prevent injection it why R3nzSkin is not working with Vanguard
On patch 14.10 R3nzSkin work when Vanguard is not running

you cannot prevent dll injections. what you can prevent is messing with game memory which is exactly what vanguard does

I will clairfy again on the photo when Vanguard is running it not inject it show not injected

why dont u guys change dll of skin changer like cslol did?

ignore the guy copy pasting. the issue is that the way r3nz skin changes skins is directly through the memory which vanguard forbids and as of right now there are no public methods to avoid getting detected. however, cslol doesn't mess with the game memory, instead when the game calls createfilea to load ur skin, the hook detours and loads the skin you want instead of what it thinks it loaded

Vanguard prevent injection it why R3nzSkin is not working with Vanguard
On patch 14.10 R3nzSkin work when Vanguard is not running

you cannot prevent dll injections. what you can prevent is messing with game memory which is exactly what vanguard does

R3nzSkin inject only when Vanguard is not running

why dont u guys change dll of skin changer like cslol did?

ignore the guy copy pasting. the issue is that the way r3nz skin changes skins is directly through the memory which vanguard forbids and as of right now there are no public methods to avoid getting detected. however, cslol doesn't mess with the game memory, instead when the game calls createfilea to load ur skin, the hook detours and loads the skin you want instead of what it thinks it loaded

Vanguard prevent injection it why R3nzSkin is not working with Vanguard
On patch 14.10 R3nzSkin work when Vanguard is not running

you cannot prevent dll injections. what you can prevent is messing with game memory which is exactly what vanguard does

Vanguard prevent injection from a comment on zoomhack with Vanguard

why dont u guys change dll of skin changer like cslol did?

Because R3nzSkin worked as ZoomHack and Vanguard have broken it

why dont u guys change dll of skin changer like cslol did?

ignore the guy copy pasting. the issue is that the way r3nz skin changes skins is directly through the memory which vanguard forbids and as of right now there are no public methods to avoid getting detected. however, cslol doesn't mess with the game memory, instead when the game calls createfilea to load ur skin, the hook detours and loads the skin you want instead of what it thinks it loaded

Vanguard prevent injection it why R3nzSkin is not working with Vanguard
On patch 14.10 R3nzSkin work when Vanguard is not running

you cannot prevent dll injections. what you can prevent is messing with game memory which is exactly what vanguard does

If it was the case it would inject

https://www.leagueoflegends.com/en-us/news/dev/dev-null-anti-cheat-kernel-driver/

why dont u guys change dll of skin changer like cslol did?

ignore the guy copy pasting. the issue is that the way r3nz skin changes skins is directly through the memory which vanguard forbids and as of right now there are no public methods to avoid getting detected. however, cslol doesn't mess with the game memory, instead when the game calls createfilea to load ur skin, the hook detours and loads the skin you want instead of what it thinks it loaded

R3nzSkin do not work because of Vanguard who running in ring 0

why dont u guys change dll of skin changer like cslol did?

R3nzSkin is not working with Ring 0 anti cheat

The photo is from this article in 2020 https://www.leagueoflegends.com/en-us/news/dev/dev-null-anti-cheat-kernel-driver/

why dont u guys change dll of skin changer like cslol did?

ignore the guy copy pasting. the issue is that the way r3nz skin changes skins is directly through the memory which vanguard forbids and as of right now there are no public methods to avoid getting detected. however, cslol doesn't mess with the game memory, instead when the game calls createfilea to load ur skin, the hook detours and loads the skin you want instead of what it thinks it loaded

Vanguard prevent injection it why R3nzSkin is not working with Vanguard
On patch 14.10 R3nzSkin work when Vanguard is not running

you cannot prevent dll injections. what you can prevent is messing with game memory which is exactly what vanguard does

Not clear if Vanguard prevent dll injection but R3nzSkin is not working with Vanguard

why dont u guys change dll of skin changer like cslol did?

ignore the guy copy pasting. the issue is that the way r3nz skin changes skins is directly through the memory which vanguard forbids and as of right now there are no public methods to avoid getting detected. however, cslol doesn't mess with the game memory, instead when the game calls createfilea to load ur skin, the hook detours and loads the skin you want instead of what it thinks it loaded

The problem is not the detection the problem is Vanguard who prevent R3nzSkin to work in memory


replaces before creating the elements

I also built the project (forgot to do that after the last time) and added tests
Additionally fixes #309

@justinfagnani this should do the trick, but lmk what you think about using template._content. It seems a bit iffy to me.

@justinfagnani All that I changed was the last else in the traversal where we traversed up the tree. There is a while loop to traverse up until we can move laterally again. It also checks whether or not we traversed up to the top.

LGTM!


Xiaomi phone cannot get long pictures on Flutter apps

Description

The application developed by flutter cannot get the screen long picture.
Expected results:
“截长屏” Button disabled.

Phone Info

Actual results:
“截长屏” Button can be clickable.
Flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, v1.12.13+hotfix.8, on Microsoft Windows [Version 10.0.18363.418], locale zh-CN)

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[√] Android Studio (version 3.5)
[√] Connected device (1 available)

• No issues found!

Same issue

I was able to reproduce with an app built on beta channel. The screenshot taken is not scrollable.
Tested on Xiaomi 5Plus.
Code
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatelessWidget {

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: ListView.builder(
        itemCount: 200,
        itemBuilder: (context, index) => ListTile(
          title: Text('Item $index'),
          leading: Icon(Icons.person),
        ),
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel beta, 1.24.0-10.2.pre, on Mac OS X 10.15.7 19H2 darwin-x64, locale en)
    • Flutter version 1.24.0-10.2.pre at /Users/pedromassango/dev/SDKs/flutter_beta
    • Framework revision 022b333a08 (13 days ago), 2020-11-18 11:35:09 -0800
    • Engine revision 07c1eed46b
    • Dart version 2.12.0 (build 2.12.0-29.10.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/pedromassango/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.1, Build version 12A7403
    • CocoaPods version 1.9.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2020.2.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 51.0.3
    • Dart plugin version 202.8070

[✓] VS Code (version 1.51.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.16.0

[✓] Connected device (4 available)
    • Redmi 5 Plus (mobile)       • 0258ff700005  • android-arm64  • Android 8.1.0 (API 27)
    • sdk gphone x86 arm (mobile) • emulator-5554 • android-x86    • Android 11 (API 30) (emulator)
    • Web Server (web)            • web-server    • web-javascript • Flutter Tools
    • Chrome (web)                • chrome        • web-javascript • Google Chrome 86.0.4240.198

• No issues found!

@Tecode
Although I don't have Xiaomi phone, but I tried on Samsung S10 device on which I was able to see long screenshot of the screen properly but not sure about the button you mentioned as I didn't see them.
Can you reverify this issue at your end on same device using latest stable and confirm if the behavior still persist or not ?


Change App Service plan

I can't see "Change App Service plan", is this now Scale up (App Service plan)

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

ID: 25ec88c2-d5ff-e727-cbe1-69bac94141ae
Version Independent ID: 0b6d31a9-7767-73cb-857b-ad8aa81cdce5
Content: Manage an App Service plan in Azure
Content Source: articles/app-service/app-service-plan-manage.md
Service: app-service
GitHub Login: @cephalin
Microsoft Alias: cephalin

@matt40k Thanks for your feedback! We will investigate and update as appropriate.

@matt40k I verified on my end that 'Change App Service plan' appears for my web app in both the preview portal and the production portal.
I would suggest using the search bar to locate the blade or scroll down towards the bottom of the page to locate the blade.
Please note that due to the requirements/limitations of the 'change app service plan' feature, I would highly suggest you consider the 'clone app' feature instead.

We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

Thanks! I was looking at the actually App Service Plan rather than on the App Service - DOH!!


ngAnimate breaks when trying to animate ng-repeat calls nested inside ng-repeat-start/-end calls

See example: http://plnkr.co/edit/dtdINblvJ0oWMJIFaq31
Nesting ng-repeat blocks inside another ng-repeat-start/-end block breaks animations for the nested elements, when the nesting occurs in a block not directly tagged with ng-repeat-start.
As far as I can see this happens because the enter method is called for all elements contained in the ng-repeat-start/-end, setting the NG_ANIMATE_STATE to disabled=true, but the cleanup method is only called for the element that has the ng-repeat-start directly and not for any further elements down the line. So for elements below ng-repeat-start element.removeData(NG_ANIMATE_STATE); is never called and they stay disabled forever.

Good day! Might be related to this issue.
If we filter over parent elements (ng-repeat-start) then nested elements (inside ng-repeat) will be not  animated.
Demo: http://plnkr.co/edit/RfxHkDBVSWDYKHhNk4DM (forked from @mreininger's example)

So in example: filter by "A", then "title B" has animation and "subc", "subd" don't :)
So, should it be other way around.. or?


Overload AssetManager#isLoaded and #finishLoadingAsset to take AssetDescriptor as parameter

AssetManager#isLoaded and AssetManager#finishLoadingAsset normally only take a String for the filename of the asset.
If you want to check if an asset is loaded or you want the AssetManager to block for it to finish loading using an AssetDescriptor, you must use AssetDescriptor.fileName for these methods.
This change adds overloaded methods for both isLoaded and finishLoadingAsset to take an AssetDescriptor for convenience.

It's not much different (or more convenient, really), but the overloads are typed which does make it a little more clear about what is being passed (versus any old string).


Coroutine is not __destruct

Loop::run(function ()
{
    Loop::repeat(1000, function()
    {
        print("running\n");
    });

    $res = yield new \Amp\Pause(1000, 1);

    var_dump($res);

    //Pause need to be __destruct-ed here!
});

Or I am doing something wrong ?

Try dumping the backtrace there. You'll then notice that the Pause object invokes the callbacks passed to onResolve (in this case: an internal callback passed by the Coroutine). That callback from within the Coroutine then resumes the Generator.
As you see, the Pause object obviously then still is in the backtrace and thus still exists. The Pause object will be destructed after all the onResolve() callbacks have been handled.

I pushed an update (https://github.com/amphp/amp/commit/d01ee68dd2e55427399c78f948ab2e36291f7529) that nulls a circular reference within the Coroutine object upon resolution. This should result in immediate destruction of the Coroutine, rather than the delayed destruction that you're seeing. @umbri Try your tests again and see if memory usage is better.

The Coroutine object is still in the backtrace. And there's nothing you can do against that. It will only be freed upon return into the event loop.
 Try running this with and without the last commit:
#!/usr/bin/env php
<?php

require __DIR__ . '/../../vendor/autoload.php';

print "-- before Loop::run()" . PHP_EOL;

function pause(int $time): \Generator {
    $res = yield Amp\call(function () use ($time) {
        return yield new \Amp\Pause($time, 2);
    });

    var_dump($res);
    return yield new Amp\Pause($time, 1);
}

Amp\Loop::run(function () {
    $res = yield new Amp\Coroutine(pause(1000));

    var_dump($res);

    $res = yield new Amp\Coroutine(pause(1000));

    var_dump($res);

    //Pause need to be __destruct-ed here!
});

print "-- after Loop::run()" . PHP_EOL;

Toss in a destructor on Coroutine that prints out some message. You'll see the Coroutine object destructed immediately after resolution, rather than at the end of the loop.

#118

@bwoebi @trowski I think we can close this, after running in production amp, works like a charm


In makeStyles, using a nested selector doesn't work when combined with prop interpolation

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯
When combining interpolation and nested selectors, the nested selectors get ignored
Expected Behavior 🤔
The nested selectors should be applied to the interpolated class
Steps to Reproduce 🕹
https://codesandbox.io/s/musing-shannon-hd1mi
Steps:

Combine prop interpolation with nested selectors

Context 🔦
I'm aware an alternative is to add additional JSX conditional logic and create additional classes, like this cx(propA === "foo" && classes.bWhenPropIsFoo, propB === "bar" && classes.bWhenPropIsBar). However, I was trying to keep some styling code together for a responsive view (passing in size as sm|md|lg|xl as the prop to the styles) and I don't like mixing JSX and CSS when trying to accomplish this. However, I'm sure I can find a nice way to do it. This isn't a blocker, just reporting the issue :)
Your Environment 🌎

Tech
Version

Material-UI
v4.9.4

React
16.13

Browser
any

TypeScript
N/A

Took a while to find the related issue, here for anyone else who gets stuck on this: https://github.com/mui-org/material-ui/issues/16745


[release-4.11] OCPBUGS-7562: Context Deadline exceeded when PTP service is disabled from the switch

/jira refresh


keybase,kbfs,keybase-gui: 5.3.0 -> 5.3.1

Motivation for this change
Update Keybase to 5.3.1. Bug fix release that fix GUI crash for some users https://github.com/keybase/client/issues/23073.
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[X] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[X] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

Expected to fix #82930.

Merging based on ofborg build and feedback in #82930.
I cannot test the full usage of it on my NixOS machine because I don't have the daemon running from master;  NIX_SKIP_KEYBASE_CHECKS=1 keybase-gui starts a quite-blank GUI for me (but already did it for #82740 instead of crashing so that is probably not fully representative).


ScalaJS?

Adding information in different units is a part of many user-interfaces and is often validated on a frontend. I wonder, do you have any plans of cross-releasing to ScalaJS?

Potentially solved by https://github.com/garyKeorkunian/squants/pull/97


manifest.js file location not configurable

Laravel Mix Version: 5.0.9
Node Version (node -v): v14.15.0
NPM Version (npm -v):6.14.8
OS: linux/ubuntu 18

Description:
The manifest.js is located at whatever place the last js was build. A fine default but not always desirable. A config option would be most welcome to keep the example below clean.
Steps To Reproduce:
mix.js('resources/js/site/site.js', 'public/js/site/');
mix.js('resources/js/admin/admin.js', 'public/js/admin/');
mix.extract(['vue', 'axios', 'lodash'], 'public/js/vendor.js');
manifest.js will end up in 'public/js/admin/'

This will be configurable in the next version of Mix using runtimeChunkPath: https://github.com/JeffreyWay/laravel-mix/blob/340925ccff797361aee069bf512f5c2f6166240b/docs/extract.md


[debug] discard source map step if file equal -1

fix https://github.com/ethereum/remix-ide/issues/2648
fix https://github.com/ethereum/remix/issues/992

updated to remove the unneeded part


testing code does not work, the results are not correct, mAP values are easy 0.125, medium 0.134, hard 0.156

Both model I trained by this code or your pretrained model doesnot work for the testing code. And I saw your SSH folder in the insightface project. The testing code of that folder detects faces via original image, I do not think, it can achieve 81.4% of mAP for hard set of validation set of WIDER FACE. So could you provide some advice? Thanks

@nttstar  when I change the function 'generate_anchors_fpn' to this:
def generate_anchors_fpn(base_size, scales, ratios):
anchors = []
_ratios = ratios.reshape((len(base_size), -1))
_scales = scales.reshape((len(base_size), -1))
for i, bs in enumerate(base_size):
__ratios = _ratios[i]
__scales = _scales[i]
# print('anchors_fpn', bs, __ratios, __scales, file=sys.stderr)
r = generate_anchors(bs, __ratios, __scales)
# print('anchors_fpn', r.shape, file=sys.stderr)
anchors.append(r)
return  anchors

It works. But The results of your pretrained model with single scale(1200, 1600) testing, the mAP value for hard set of validation set of WIDER FACE only achieves 78.2. I do not know the reason, do you have some suggestions? thank you.


flux 0.5.7

Adds flux (aka flux2), which is the next version of the flux project. The binary has been changed from fluxctl to flux.

Is it worth waiting until a 1.0 release before shipping this? How far out is a 1.0 release?

I’m trying to determine what’s the recommended plan of action from the flux community. Is it actually recommended that users install flux2 at this time, or is it in “early preview” and should only be run in test environments?
As a package manager, users generally expect that installing a package is considered a “blessed” package by the community. If the flux maintainers disagree that this should be used in production scenarios, then perhaps we should hold out until it is time to migrate from fluxctl to flux.

Great question. I would consider them different products.

flux is a CLI that helps setup and manage Flux v2, which is a complete rewrite based on the GitOps toolkit.
gotk is a CLI that helps setup and manage the individual components of the GitOps toolkit.
fluxctl is a CLI that helps setup and manage Flux v1.

At the moment, gofish has both fluxctl and gotk. I think adding a third, albeit confusing, is the right path. Although I can see a time where the fluxctl is official deprecated (it is not at this time), both are under development.
I can't speak directly for their maintainers, but we use Flux v2 in production and I use their official Homebrew tap to install it (although I'm making the switch to this very cool project). 😁


Bug fixes from PE-Dry Run

Fixed bugs as listed below

findmeeting bug where it searches for UUID of participants
Fixed by: removing the part where it searches for UUID contains and add a natural date search feature
Closes #164

UG Table of Contents missing links
Fixed by: using the {:toc} kramdown syntax to autogenerate links
Closes #153

No upper bound for phone number
Fixed by: adding an upper bound of 15 to the phone number validation regex
Closes #146

Cannot undo export
Fixed by: adding a section in the toPrint for undo to tell the user that export cannot be undone
Closes #136

Caret/cursor position at start after using Command history
Fixed by: updating caret position to end.
Closes #132

Update UI for large meeting numbers
Fixed: Update by letting the label child grow and setting a minimum width
Closes #117

Thanks for the bug fixes!


GGML v3 support

New GGML v3 is not supported, please add.

Just replace chat.exe with main.exe from llama-cpp binary release in Alpaca-Electron installation folder, The exact location is in the C:\Users\username\AppData\Local\Programs\alpaca-electron\resources\app\bin\

Replaced chat.exe to main.exe (renamed and replaced), tried avx,avx2,avx512. It loads the model but gives no response, and there is no cpu load..

Replaced chat.exe to main.exe (renamed and replaced), tried avx,avx2,avx512. It loads the model but gives no response, and there is no cpu load..

I guess you should try to use OpenBLAS for CPU inference


processor/pipeline(ticdc): remove useless markTableID

What problem does this PR solve?

Issue Number: ref https://github.com/pingcap/tiflow/issues/4954
What is changed and how it works?

Remove useless markTableID.

Check List
Tests

Unit test
Manual test

Questions
Will it cause performance regression or break compatibility?
No
Do you need to update user documentation, design documentation or monitoring documentation?
No
Release note
None

Manual test:

start v5.2.1 tidb cluster
start v5.2.1 ticdc
create a black hole changefeed
stop v5.2.1 ticdc
start this PR ticdc
check the log, it works normally

/run-all-tests

/merge

/run-integration-test
/run-kafka-integration-test


Error status Code 416

I can't download with url from a file of Google Drive. Can you help me ?
Error Domain=com.thibaultcha.tcblobdownload Code=1 "Erroneous HTTP status code 416 (requested range not satisfiable)" UserInfo={NSLocalizedDescription=Erroneous HTTP status code 416 (requested range not satisfiable), TCBlobDownloadErrorHTTPStatusKey=416}

See #31 for more details on the 416  response code and what TCBlobDownload does with the Range header.

@thibaultcha   so this problem hasn't been fixed ,right ? maybe the server has some problem.

I was able to reproduce this error by initializing two (simultaneous) downloads of the same file.  This resulted in both downloaders filling the same file on disk (file size is exactly twice the expected size).
Without the user handling the download error by deleting the cache file it will continue to always hit this corrupted file with the wrong size and continuously ask the server for the wrong range.
Also, sometimes the server file will change (such as with Facebook profile image) and the new file will be smaller than old file, also causing 416.
Proposed remedy:  Direct the user to always move or remove the download file in the complete handler.  Also, don't attempt to download the same file concurrently.


[Cleanup] Unify IncrementalDecoder and BaseDecoder

https://github.com/facebookresearch/metaseq/issues/581

Ah.. hmm I'm thinking we'll probably get rid of the BaseDecoder abstraction too as we smush things together and simplify the codebase (the assumption here is all decodings should be incremental).  Will leave that in for now to match the BaseEncoder abstraction (currently unused lol).


examples for derived accounts (named, other program, indexed)?

named
account A have 2 derived account key C and D, they are both derived from A key, plus some string representing entity type, like "C" and "D". A, B, C all owned by my program
it would be ok if could do compised with same state, but generic parameter as name https://github.com/project-serum/anchor/blob/master/examples/composite/programs/composite/src/lib.rs (i do not want to copy state)
will that work https://github.com/project-serum/anchor/blob/360a16657db4c74163ef0e99e3db8259e007748c/examples/cashiers-check/programs/cashiers-check/src/lib.rs#L126 ?
other program
same as above, but C and D are owned by different programs.  is solution compatible with CpiAccounts ?
indexed
account data A stores index. it is is incremented each time new derived account is created. so index value from state is used to derive program account
it is not same as https://github.com/project-serum/anchor/blob/360a16657db4c74163ef0e99e3db8259e007748c/examples/lockup/programs/registry/src/lib.rs#L1127  . I want index of one u64 number, not storing vector on chain. Cause ther are queues, bit vectors, heaps, etc. So the more stuctures possible the better. But docs about queue would be awesome either.
are these supported?
i have seen derived and other programs are supported, but not sure about combinations. also have not seend named or indexes(based on states) derives.

i have read all docs, and these seems supported. but i am blocked by https://github.com/project-serum/anchor/issues/228 fornow.

If I understand correctly, it appears these questions have been answered by the documentation? Closing.

I have found a set of other questions not in docs.
I see that all vecs in states are fixed size (fixed max size)? Could they grow?
Also, I do not see an account state layout upgradeability. Like, same account, different layout. V1 and V2.
Also I did not see optional accounts (like is it possible to  have Option or some guide to imitate it not to copy paste whole instruction body).
And is it possible to pass array of accounts or 2 arrays of accounts of same size?
All are these scenarios from contracts I have wrote.

Account sizes are fixed on solana. To have variable sized vecs, you need to allocate space in the account so that they can grow. You can do this when you create an account from the client by passing in an explicit size, for example here https://github.com/project-serum/anchor/blob/master/examples/lockup/tests/lockup.js#L322. You can do this for state like this https://github.com/project-serum/anchor/blob/512604b85e9696c30519c6182a7d97e1dea29c15/examples/misc/programs/misc/src/lib.rs#L14. Or you can do it for associated accounts like this https://github.com/project-serum/anchor/blob/14edcb038ddabdaf54654d6845f8bfa6262d5a15/examples/chat/programs/chat/src/lib.rs#L39.
There's no good way to do account versioning at the moment. If you want an upgradeable account, you need to allocate enough space, and do upgrades yourself. The easiest thing todo would be to append fields to the end of the struct, preserving the old fields on each upgrade (though this is of course far from ideal).
To have an Option inside #[derive(Accounts)] you can use the remaining_accounts feature, which stores all accounts not in the accounts derive. Rust example https://github.com/project-serum/anchor/blob/8289e475136c8f2bcaeed6b1786912f350553091/examples/multisig/programs/multisig/src/lib.rs#L155. Javascript example https://github.com/project-serum/anchor/blob/c3865ac40137ddd7f30cba6692a5d2e56c3a5a83/examples/multisig/tests/multisig.js#L109. Related, you can use Options<T> inside an #[account] as you would normally.
If you want an array, you should use ctx.remaining_accounts. The framework encourages one to use #[derive(Accounts)] structs with named fields instead of an array or slice.


error: unsupported key expression with const keys

I'd like to do the following (simplified code):
type CheckCode = i32;

const CHECK_TYPE_1: CheckCode = 100;
const CHECK_TYPE_2: CheckCode = 101;
const CHECK_TYPE_3: CheckCode = 110;

static MY_MAP: phf::Map<CheckCode, i32> = phf_map! {
    CHECK_TYPE_1 => 999,
    CHECK_TYPE_2 => 888,
    CHECK_TYPE_3 => 777,
};

However the code doesn't compile with error: unsupported key expression. I've seen in a similar issue that phf_map requires annotated key types, but here they are perfectly annotated and in fact it is not possible to add type annotations to the const names (afaik).
Is doing this possible at all with phf?

I just realized I can just write a function with a match expression, given that for my case everything is an integer. But I'm curious about why this expression is not valid for phf...

phf_map!() doesn't just expand to a match block, although that might be a viable way to implement a const map in current Rust. The implementation of the macro needs to know the actual values of the keys to calculate the lookup tables for the map, but unfortunately the macros can't inspect the values of the consts, all they see are the names.
We theoretically could use const fns instead of macros, in which case you could use consts as keys, but the language support isn't quite there yet. I'm going to close this in favor of #188 where that's being discussed.

@abonander can you please re-open this? as it is still relevant and the other issue ended up being closed thinking this was more recent.

I'm no longer a maintainer on this project. I recommend opening a new issue or pinging someone else.


合并权重后加载权重极慢

感谢您使用Issue提问模板，请按照以下步骤提供相关信息。我们将优先处理信息相对完整的Issue，感谢您的配合。
提示：将[ ]中填入x，表示打对钩。提问时删除上面这两行。请只保留符合的选项，删掉其他。
详细描述问题
请尽量具体地描述您遇到的问题。这将有助于我们更快速地定位问题所在。
运行截图或log
（如有必要）请提供文本log或者运行截图，以便我们更好地了解问题详情。
必查项目

[ alpaca] 哪个模型的问题：LLaMA / Alpaca （只保留你要问的）
[ 模型转换和合并、模型推理] 问题类型：（只保留你要问的）

下载问题
模型转换和合并
模型推理问题（🤗 transformers）
模型量化和部署问题（llama.cpp、text-generation-webui、LlamaChat）
效果问题
其他问题

[ ] 由于相关依赖频繁更新，请确保按照Wiki中的相关步骤执行
[ ] 我已阅读FAQ章节并且已在Issue中对问题进行了搜索，没有找到相似问题和解决方案
[ ] 第三方插件问题：例如llama.cpp、text-generation-webui、LlamaChat等，同时建议到对应的项目中查找解决方案

取决于模型权重的大小

I found that it will be slow if first load. But for me, it will finish within minutes. Or you can check if your cuda environment works as normal.
BTW, does anybody know why the finetuned weights to save take about double file size of the merged weights? I used stanford-alpaca to train with deepspeed. Not sure if it was due to incompatibility between transformers and deepspeed.

I found that it will be slow if first load. But for me, it will finish within minutes. Or you can check if your cuda environment works as normal.
BTW, does anybody know why the finetuned weights to save take about double file size of the merged weights? I used stanford-alpaca to train with deepspeed. Not sure if it was due to incompatibility between transformers and deepspeed.

Did you save the model in float16 or float32?
The merged weights and the released lora weights are stored in float16

Sorry. Just noticed that saved the wrong precision. But I have another question, why the model size in GPU memory of two different precision(float32 and float16) all consumes same 26GB of GPU memory?

I found that it will be slow if first load. But for me, it will finish within minutes. Or you can check if your cuda environment works as normal.
BTW, does anybody know why the finetuned weights to save take about double file size of the merged weights? I used stanford-alpaca to train with deepspeed. Not sure if it was due to incompatibility between transformers and deepspeed.

Did you save the model in float16 or float32? The merged weights and the released lora weights are stored in float16

Sorry. Just noticed that saved the wrong precision. But I have another question, why the model size in GPU memory of two different precision(float32 and float16) all consumes same 26GB of GPU memory?

Sorry to bother. The transformers will load model in float32 in default. Users have to set load type when loading or do half() to obtain a float16 model(in this way we can manually torch.cuda.empty_cache() to see real gpu mem usage).


:sparkles: Added extensions and 'toString()' methods for BestMatch and Rating

Hello!
I was walking by pub and accidentaly found your library and loved it!
So I decided to contribute with some small but usefull stuff.
Hope you enjoy!
Best regards!
PS.: All tests passing!

Hi shinayser,
Thanks you very much for your work :pray:.
It's more "natural" to use with your extensions methods!
The file source begin to big, I have move your work into the 'string-extension' branch, and I going to refactor the project structure before merging to the master branch.
Best regards


Hi, yes, hello. I have noticed some small typos and, as the one person who cares, it is my duty to SCOUR THIS WRETCHED PROJECT OF ALL GRAMMATICAL MISTAKES TO AVOID THE DECAY OF THE ENGLISH LANGUAGE!
Or it would be, if the English language didn't already suck...
Some of these are really nitpicky, and some aren't even really grammatically incorrect but just slightly change the flow of a sentence. Yes, I am very bored. Yes, I am a little sorry for this. It would be really funny if someone found a typo in this.
Anyway...

Home page:

"but also for the worlds knowledge" should be "but also for the world's knowledge".

About page:

"learn how to use a servers" should be either "learn how to use a server" or "learn how to use servers" (depending on whether it's supposed to be singular or plural).

Installing Arch Linux, a Guided Walkthrough post:

In the first paragraph of the Connecting the Internet section (should it be "Connecting to the internet"? Maybe.) both instances of the word "your" should be changed to "you're".
In the first paragraph of the Partitioning the disk section, in order to be a shortened version of "because" the word "cause" should have an apostrophe at the start ('cause). (Yes. I am going to be THAT nitpicky.)
In the LVM With Encryption section, the usage of "Regardless if" is not gramatically correct. "Regardless of if" (which sounds bad, if you ask me) or "Regardless of whether" would be grammatically correct.
I believe the sentence "Now we’ve set up everything, now we can actually start to install Arch Linux onto your system, how exciting!" would be slightly better as "Now that we’ve set up everything, we can actually start to install Arch Linux onto your system. How exciting!"
The sentence "We’ll need to install the base package, as well as Linux itself of course!" could use a comma before the "of course".
The sentence "Now as for packages [...]" could use a comma between "Now" and "as".
There should NOT be a comma in "[...] just in case something breaks in the kernel, and you need to head to a known LTS version".
The sentence "If you want Wi-Fi support you’ll need these." should have a comma after "support".
The sentence "Recommended even if you’re not going to use Wi-Fi in case you need them down the road." could use a comma after Wi-Fi.
Network config section. There's a "your" in the second paragraph that should be a "you're". (Took a while to find another typo. Despite what this may make it look like, you did a good job!)
In the second paragraph of the The Bootloader section, it says "Copy the follow text into", when it should be "Copy the following text into".
In the sentence "First, we want to set a label for our encrypted partition, let’s call it...", change that second comma for a period. (And remember to capitalize the L afterwards!)
In the Desktop Environment section, it says "If you have use Nvidia". Drop either the "have" or the "use".
In the Generating a Swapfile section. Add an "of" between "some" and "the" in "A swapfile is where the operating system can place some the unused RAM contents".
In the Enable Setup Mode section, it says "You’ll first need the enter the UEFI". I'm assuming that's supposed to say "You’ll first need to enter the UEFI"
In the same paragraph as the previous point it says "[...] it will most likely be under “Security” banner." I believe there should be a "the" after "under".
In the very last paragraph of the blog post, "desktop environment’s" has an apostrophe that shouldn't be there.

How and Why I Made This Blog post:

First paragraph. In "Now at this point [...]" should have a comma after "now". Put a comma after using "Now" as a discourse marker. Don't do it when using it as an adverb. I'll stop pointing it out now, but it does happen later.
Second paragraph. In "Now I’d probably should have", should be "Now, I probably should have"
Third paragraph. It says "there were a few issues with it that was caused due to my inexperience." That "was" should be a "were".
Third paragraph. It says "While this isn’t a bit deal". Pretty sure you mean "big deal". (Unlike all the corrections I'm making, which are no big deal despite the fact this has over 4000 characters).
"keep a public record for what they have done". "a public record of what they have done" would probably be better? I don't know anymore. It's 5 AM.
In "I like the idea of publicly accessible archive of my thoughts" you should put an "a" before "publicly".
"Now with the preamble out of the way let’s get to the meat of this post." Nothing wrong with this sentence, but a comma after "now" and "way" would make it flow slightly better.
When you say "piggyback on someone else’s work that knows what they are doing", it should be "piggyback on the work of someone else who knows what they are doing"
There should be a comma before "as" in "I decided to go with Astro Cactus as it had a very minimalistic appearance", apparently.
"With the templated installed in my own GitHub repo" shouldn't have that "d" in "template".
Not a mistake. Just a short break to mention I love Grefi.
In "(note that the d attribute has been omitted for clarify)", change "clarify" with "clarity".
Modify the sentence "With those modification, we get this:" by adding an s so it reads "modifications".
The sentence "which lead me looking at KaTeX." would be better with a "to" after "lead".

And that's about it. As I said, I think some of those technically aren't even grammatically incorrect. I am just being annoying. This (probably) won't happen again. (Or at least I won't be suggesting that many tiny changes in punctuation).
This is as good a time as any to remind you that you are great and to wish you an excellent day.
I'm going to sleep now.

I...
Alrighty then.

Changes have now been fixed in commit a64cbaea.
Note that I decided to ommit placing a coma after "Now" in some of these sentences as I personally find it reads better in my head, so they have not been changed.
Thank you for pointing these out.


UnboundLocalError("local variable 'trading_data' referenced before assignment")

When selling via telegram bot error message appears in the logs. Selling of position is working.
Bot1  2023-01-20 07:57:29  ETHUSDT  15m  Restarting application in 30 seconds after exception: UnboundLocalError("local variable 'trading_data' referenced before assignment")

Can you please provide your config.json so I can re-create it? This is on Binance right?

Hello,
I do have the same error message.
{
"binance": {
"api_url": "https://api.binance.com",
"config": {
"autorestart": 1,
"base_currency": "BNB",
"disablebuynearhigh": 1,
"enableinsufficientfundslogging": 1,
"enabletelegrambotcontrol": 1,
"telegramerrormsgs": 1,
"granularity": "15m",
"live": 1,
"nobuynearhighpcnt": 1,
"nosellmaxpcnt": 3,
"nosellminpcnt": -9,
"quote_currency": "USDT",
"sellatresistance": 1,
"selllowerpcnt": -12,
"telegram": 1,
"trailingbuypcnt": 1,
"trailingstoploss": -1,
"trailingstoplosstrigger": 3,
"verbose": 0,
"websocket": 0,
"graphs": 1,
"tradetracker": 1,
"predictions": 0,
"buypercent": 80,
"bullonly":1
},
"api_key_file": "binance.key"
},
"telegram" : {
"token" : "",
"client_id" : "",
"user_id": ""
}
}
I start it with docker compose:
bnbusdt:
build:
context: .
container_name: BNBUSDT
volumes:
- ./BNB/binance.key:/app/binance.key
- ./BNB/config.json:/app/config.json
- ./BNB/pycryptobot.log:/app/pycryptobot.log
- ./BNB/graphs:/app/graphs
- ./BNB/csv:/app/csv
environment:
- PYTHONUNBUFFERED=1
image: pycryptobot/pycryptobot:latest
deploy:
restart_policy:
condition: on-failure
restart: always
tty: true

Traceback (most recent call last):
File "/pycryptobot/controllers/PyCryptoBot.py", line 1558, in run
self.s.run()
File<EMAIL_ADDRESS>line 151, in run
action(*argument, **kwargs)
File "/pycryptobot/controllers/PyCryptoBot.py", line 1153, in execute_job
tradinggraphs.render_ema_and_macd(len(trading_data), "graphs/" + filename, True)
UnboundLocalError: local variable 'trading_data' referenced before assignment
Bot1  2023-04-01 12:21:33  BTC-USDT  1hour  Restarting application in 30 seconds after exception: UnboundLocalError("local variable 'trading_data' referenced before assignment")
same for kucoin

I believe I've fixed it.
if self.is_sim:     tradinggraphs.render_ema_and_macd(len(trading_dataCopy), "graphs/" + filename, True) else:     tradinggraphs.render_ema_and_macd(len(**self.**trading_data), "graphs/" + filename, True)
It's in the "beta" branch now. Can you test it and let me know?


Using Apple Health / Watch exercise information for Basal/Bolus prediction

It would be great if the exercise records in Apple Health, in my case coming from the Apple Watch, could be automatically used for auto-tune basal and bolus as well as food bolus calculations.
In my case my blood glucose seems to start dropping ~15 minutes after starting exercising and continues to do so for an hour after exercising while I can use the higher temp target setting I tend to forget setting it regularly so taking it automatically from my Apple Watch (which detects starting to exercise automatically + intensity even at some point) would be great.
Happy to contribute code as well but unfamiliar with the source code and lack of time, if there is somewhere an high-level code architecture available that would be great :-).
p.s.: the discord link is broken/outdated in the README.md

You can use shortcuts to do this. Create a shortcut with an automation on fitness workout and apply a temporal profile. A example in the screenshots

@avouspierre That's pretty cool! I didn't even know it was compatible with the Shortcuts app.
Question: in your example, am I correct in understanding that it won't switch to temporary profile when BG is over 180?

Any plans for a way to set a profile via shortcuts? Temp target is nice but profile would be 💰

@jmatheson I don't think there are plans perse yet, no concrete anyway, but I did make a feature request: https://github.com/Artificial-Pancreas/iAPS/issues/255

Closing this issue as the shortcut instructions are mentioned above

Closing this issue as the shortcut instructions are mentioned above


Habig/coordinate fix

Update the positions of most all of the detectors, mostly by small amounts (except for a couple FNAL->SURF moves).  There are some fine-tunes remaining to be done, but they're all now probably within 500m of where they're supposed to be.
These future fine-tunes will be useful for the web map display, if in the noise for triangulation, as Marta pointed out yesterday about the ARCA/ORCA location difference.

Looks good to me. The SNO+ depth is around 2.1km underneath the surface, but I guess the surface itself is a bit above sea level - or is it the notional sphere around the Earth's center of gravity?

@mcolomermolla would you like to approve?

Doing merge now, need to get this propagated to the web page detector location.


Fixed POM files to generate correct OSGi Export-Package instructions

The instructions to generate OSGi Export-Package headers are not correct yet. The bundles don't resolve in an OSGi framework. This pull request fixes that.

+1

Unfortunately, we still can't take pull requests in this repository. We've recently opened up Eclipse Collections where we'll be able to accept contributions. Eclipse Collections 7.0.0 is nearly identical to GS Collections 7.0.0 but with "com.gs.collections" changed to "org.eclipse.collections". It's also released under the EDL and EPL.
If you need this fix in GS Collections to use with existing projects that depend on it, I could backport the fix.

Is there a reason for the fork from GS to Eclipse collections? Is this due to differing licenses? Are the two codebases likely to diverge?

We'll work on new features in Eclipse Collections. We'll probably just port
critical fixes to GS Collections.
On Tue, Jan 5, 2016 at 6:42 PM bigkahuna1uk<EMAIL_ADDRESS>wrote:

Is there a reason for the fork from GS to Eclipse collections? Is this due
to differing licenses? Are the two codebases likely to diverge?
—
Reply to this email directly or view it on GitHub
https://github.com/goldmansachs/gs-collections/pull/17#issuecomment-169170361
.


Getting NoSuchMethodError when running any ./dspace/bin script in DSpace 7.2.1

Getting the following error:
 Exception in thread \"main\" java.lang.NoSuchMethodError: 'org.springframework.core.metrics.ApplicationStartup org.springframework.beans.factory.config.ConfigurableListableBeanFactory.getApplicationStartup()'\n\tat org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:112)\n\tat org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746)\n\tat org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564)\n\tat org.dspace.servicemanager.DSpaceServiceManager.startup(DSpaceServiceManager.java:277)\n\tat org.dspace.servicemanager.DSpaceKernelImpl.start(DSpaceKernelImpl.java:153)\n\tat org.dspace.servicemanager.DSpaceKernelImpl.start(DSpaceKernelImpl.java:128)\n\tat org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:70)
What is the cause of this issue? How to solve this? Please help.
Using openjdk-11

@ammanabrolua : That sounds like an installation issue -- as it appears to be saying that Spring (which is a key library used/installed by DSpace) is not installed.  Please reinstall or update your DSpace backend by running Maven again:
mvn -U clean package
ant update

It's also possible that, if you upgraded from an earlier release (e.g. DSpace 6 or below) that some part of the upgrade failed. Please check your dspace.log for other errors, as it's highly likely in that situation that other errors are occurring.
Closing as answered.  If you need additional help use the Support options at https://wiki.lyrasis.org/display/DSPACE/Support


ArrayData::is_constant to use compute_as

This is a placeholder PR to check the performance if doing this and burn-down any stats compute that doesn't implement fast short-circuiting is_constant.

I disabled automerge so you can fix the stale diff that snuck in

We'll come back to this one


Can't open external url

I'm trying to redirect to an external url dynamically using jquery. I've tried the following but none of them work:
window.open(my_url, '_blank');
window.open(my_url, '_blank', 'location=yes');
window.open(my_url, '_system');

In Xcode I'm getting the error "whitelist rejection." I looked it up and found that i might need to add my_url to an array called ExternalHosts in a cordova plist file, but I'm not sure where this belongs in the meteor-ionic set-up.

See here.


feat(cli): TANKA_PAGER environment variable

Adds TANKA_PAGER environment variable. Takes precedence over PAGER. If unset, PAGER works as it did before.
Resolves #1028

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Didn't mean to close this. I accidentally deleted the branch.


Ubuntu 15.04 no daemon

I built OpenWebRTC on Ubuntu 15.04 and the build went through successfully. But I don't get any owr daemon

My linux_x86_64 is only containing /share which seems to be the problem, but I don't know why

I built a new cerbero, got the same result. Then I rebuilt cerbero and then I got a daemon. This seems odd especially when I built it 2 times

Closing as you got it to work.


Add bpytop

bpytop seems good and I hope that bpytop fits your criteria

I don't know if I add this?


Update about us description.

Can you link to the JIRA in the PR description,  and vice versa ?

This will need to go onto master too (using mpush)

This will need to go onto master too (using mpush)

Here is the jira ticket: https://www.ebi.ac.uk/panda/jira/browse/ENSWEB-5883
I will apply this into both branches then.

Hi @mehrnazcharkhchi, can this PR be merged?

Superseded by https://github.com/Ensembl/public-plugins/pull/369


MemoryError at download

TypeError: not all arguments converted during string formatting
Logged from file sharder.py, line 116
D:\downloaded/libgen.scimag00200000-00200999.zip-16katalog wejsciowy
2017-04-30 23:03:47,230 INFO D:\downloaded/libgen.scimag00200000-00200999.zip-16katalog wejsciowy
Traceback (most recent call last):
  File "logging\__init__.py", line 861, in emit
  File "logging\__init__.py", line 734, in format
  File "logging\__init__.py", line 465, in format
  File "logging\__init__.py", line 329, in getMessage
TypeError: not all arguments converted during string formatting
Logged from file sharder.py, line 116
Traceback (most recent call last):
  File "logging\__init__.py", line 861, in emit
  File "logging\__init__.py", line 734, in format
  File "logging\__init__.py", line 465, in format
  File "logging\__init__.py", line 329, in getMessage
TypeError: not all arguments converted during string formatting
Logged from file sharder.py, line 116
Traceback (most recent call last):
  File "storj-gui-client\UI\file_download.py", line 103, in <lambda>
  File "storj-gui-client\UI\file_download.py", line 306, in create_download_finish_thread
  File "storj-gui-client\UI\file_download.py", line 330, in finish_download
  File "storj-gui-client\UI\utilities\sharder.py", line 117, in join_shards
MemoryError

700MB file
windows 8.1
PC has 2GB RAM

Total download proces hangs at 97%, single shard download hangs at 40%

@MeijeSibbel You can reproduce this error? Can you check on other machine?

my previous attempts at fixing this failed miserably.
I need to get the GUI working on mac and then to test this locally.

related to https://github.com/Storj/storj-python-sdk/issues/109

https://github.com/lakewik/storj-gui-client/blob/develop/UI/utilities/sharder.py#L80


Closing script tags inside the generated html output contain whitespaces

Description
In some cases the script tag containing the serialized page context gets a funky output.
This is a slimmed down version of my generated output:
<!DOCTYPE html>
<html lang="en">
    <head>
        <!-- HEAD CONTENT -->
    </head>
    <body>
        <script id="vite-plugin-ssr_pageContext" type="application/json">
               {"pageContext": { /* ... */ } }
                </s
                cript>
            <script type="module" src="/assets/js/entry-server-routing.js" async>
                    </s
                    cript>
    </body>
</html>

Sometimes the browser still manages to parse this as an HTML file, but other times the browser will just
render the contents of "head" inside the body, instead of the contents of "body".
Error Message + Error Stack
No response

I'd need a reproduction.

I'd need a reproduction.

Doesn't have to be minimal.

After some investigation, it turned out that I was copying the HTML template from the network preview tab, which shows the HTML this way. After looking at the actual source it turned out that the HTML file is correct indeed. The part about rendering "head" to "body" came down to another issue, which was unrelated.


Import stimuli from external file

In issue #102 , a way to let stimuli be (small) image data is suggested. This will be too cumbersome for more realistic (larger) images. This issue suggests the ability to read the image data from an external image file. The syntax would be
    @stimulus filename

The file may be a csv file of intensities, read as a long vector. If the file is a csv-file, each row in the csv file represents one image with name and intensities for anonymous elements:
    image1, 0.1, 0.5, 0.4, ..., 0.3
    image2, 0.2, 0.1, 0.9, ..., 0.6
    ...

The file may also be a JPG, PNG or BMP-file imported as a pixel matrix, squashed into one dimensional vectors.
    @stimulus image1.jpg  # Defines the stimulus "image1"
    @stimulus image2.png  # Defines the stimulus "image2"

This will only be useful if the imported files in the same script have equal dimensions.

Moved to https://github.com/learningsimulator/learningsimulator/issues/148


W10 64bit love, finding the contributer

Building is not something I am able.  W10 users are stuck back on v67.  How do I identify the binary contributer to politely request a less old build?
Is it these people? https://github.com/Eloston/ungoogled-chromium/issues/118

Dupe.
Help needed: ungoogled-software/ungoogled-chromium-windows#2

You can get the latest Windows build here, albeit it has Safe Browsing disabled.

That's not ungoogled-chromium, please dont confuse people.

@r4sas the second build is Ungoogled Chromium

@r4sas the second build is Ungoogled Chromium

Thats why I said "mainly".


cdn release

Currently we are refreshing all SDKs including CDN and we found the current version 2021-06-01 has breaking change introduced.
After investigating this change is introduced by https://github.com/Azure/azure-rest-api-specs/pull/19180.
release issue：https://github.com/Azure/sdk-release-request/issues/3545

lirenhe

It is that the old commit id does not work so we take the latest one

lirenhe

It is that the old commit id does not work so we take the latest one

Don't quite understand the breaking, can we use the same commit of the Swagger for the exsiting SDK instead of the latest one to avoid breaking change?

It is that the old commit id does not work so we take the latest one

It is that the old commit id does not work so we take the latest one

Don't quite understand the breaking, can we use the same commit of the Swagger for the exsiting SDK instead of the latest one to avoid breaking change?

Because the old commit id does not work so we take the latest one

My understanding is by default we should use the old commit id to avoid breaking change, is it possbile to investigate why the old one does not work instead of using the latest one directly, especially the latest one contains breaking change.


bk init - GraphQL error: Authentication required - but it might actually be a permissions issue

I create a GraphQL token for my org but I don't give it any scopes (because I don't know who/when they are needed, and there are so many of them, so I just ignore it).
Then when I run bk init I get a GraphQL error: Authentication required error:
$ bk configure
...
$ bk init
Checking for pipeline file: .buildkite/pipeline.yml ✅
Checking for git repository and remote: https://github.com/drnic/buildkite-envvar-playtime ✅
Checking for buildkite pipeline: GraphQL error: Authentication required. Please supply a valid API Access Token: https://buildkite.com/docs/apis/graphql-api#authentication ❌
🚨 GraphQL error: Authentication required. Please supply a valid API Access Token: https://buildkite.com/docs/apis/graphql-api#authentication

My guess is that it isn't an authentication issue (authentication = who is this?) but an authorization issue (is this user allowed to do operation xyz?)
Is it possible for the bk init command error nicely and educate me in future?
Which scopes do I need for bk init and other bk operations?

Hmm, maybe I'm wrong -- I added all the scopes to my token but bk init still failing as above.

Tried again - created new api token with all scopes, and all checkboxes checked. Here's the debug output from bk init --debug --debug-graphql
bk init --debug --debug-graphql
2020/02/25 08:42:13 [keyring] Considering backends: [keychain pass file]
Checking for pipeline file: Created .buildkite/pipeline.yml ✅
Checking for git repository and remote: https://github.com/drnic/buildkite-envvar-playtime ✅
Checking for buildkite pipeline: ⠋ DEBUG request uri=https://graphql.buildkite.com/v1
POST /v1 HTTP/1.1
Host: graphql.buildkite.com
Authorization: Bearer <redacted>
Content-Type: application/json

{
  "query": "query($slug:ID!) {\n\t\t\tpipeline(slug: $slug) {\n\t\t\t\trepository {\n\t\t\t\t\turl\n\t\t\t\t}\n\t\t\t}\n\t\t}",
  "variables": {
    "slug": "drnic/buildkite-envvar-playtime"
  }
}
⠴ DEBUG response uri=https://graphql.buildkite.com/v1
HTTP/2.0 401 Unauthorized
Connection: close
Access-Control-Allow-Methods: POST, OPTIONS
Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: Server-Timing, X-Buildkite-Metrics
Access-Control-Max-Age: 86400
Cache-Control: no-cache
Content-Type: application/json; charset=utf-8
Date: Mon, 24 Feb 2020 22:42:15 GMT
Referrer-Policy: strict-origin-when-cross-origin
Server: nginx
Strict-Transport-Security: max-age=31536000; includeSubDomains
Www-Authenticate: Bearer realm="graphql.buildkite.com"
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Frame-Options: SAMEORIGIN
X-Permitted-Cross-Domain-Policies: none
X-Request-Id: 489d5c8a-76de-4b69-8650-215308ca1dd6
X-Runtime: 0.024123
X-Xss-Protection: 1; mode=block

{
  "errors": [
    {
      "message": "Authentication required. Please supply a valid API Access Token: https://buildkite.com/docs/apis/graphql-api#authentication"
    }
  ]
}

GraphQL error: Authentication required. Please supply a valid API Access Token: https://buildkite.com/docs/apis/graphql-api#authentication ❌
🚨 GraphQL error: Authentication required. Please supply a valid API Access Token: https://buildkite.com/docs/apis/graphql-api#authentication

I have kind of same question... https://github.com/buildkite/cli  gives no guidance as to which scopes are necessary for running builds locally
Are any Buildkite staff monitoring these issues?  There seem to be a lot open with no comments

👋 Given we've just release 3.x.x which doesn't support local run command, I don't think this issue exists anymore and so I'm going to close this as unplanned; we don't currently plan on including a local run command in to the CLI due to the maintenance requirements of it and instead we are looking at alternative means of offering that functionality.


Fixed: Create Payment service throws an exception when receiving payment on order (OFBIZ-11754)

(OFBIZ-11754)

Since the MODULE variable could not be found, the service was throwing error, thus removed the variable
Instead used the groovy "logInfo" method directly to print the log, which has access to the module variable implicitly.
Removed the unused import, as Debug class is no longer needed here.
Added these changes on the ContentServices.groovy as well, as it was implemented in the same pattern.

Thanks: Pawan Verma & Suraj Khurana for the guidance and discussion

Also why not using logError (from GroovyBaseScript.groovy) instead of  Debug.logError?
I even wonder if we should change that everywhere. But then a Jira and maybe an agreement on dev ML would be required (later does not seem required to me)

Also why not using logError (from GroovyBaseScript.groovy) instead of Debug.logError?
I even wonder if we should change that everywhere. But then a Jira and maybe an agreement on dev ML would be required (later does not seem required to me)

Ha Pawan already created ttps://issues.apache.org/jira/browse/OFBIZ-11762 (" Use GroovyBaseScript's logging utility methods instead of using Debug in each Groovy files") :)


Winappdriver fails to identify ui elements by Automation Id (Accessibility Id).

Hi,
While trying to find elements by AutomationId using FindElementByAccessibilityId() method, im getting the following response in WinAppDriver console.
Console Output:
==========================================
POST /session/49F7855C-6214-4796-BB6E-E1529DA7581A/element/7.17796.49218346/click HTTP/1.1
Accept: application/json, image/png
Content-Length: 2
Content-Type: application/json;charset=utf-8
Host: <IP_ADDRESS>:4723
{}
HTTP/1.1 200 OK
Content-Length: 63
Content-Type: application/json
{"sessionId":"49F7855C-6214-4796-BB6E-E1529DA7581A","status":0}
==========================================
POST /session/49F7855C-6214-4796-BB6E-E1529DA7581A/element HTTP/1.1
Accept: application/json, image/png
Content-Length: 49
Content-Type: application/json;charset=utf-8
Host: <IP_ADDRESS>:4723
{"using":"accessibility id","value":"ExploreNow"}
HTTP/1.1 404 Not Found
Content-Length: 139
Content-Type: application/json
{"status":7,"value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters."}}
Is there a work around for this,
As i am running the automation in multiple resolutions, and the ui elements position is changing every time, finding by xPath (ui recorder code) needs to be changed every time i run the automation.
And also, finding by name cannot be used as, there are multiple buttons with same name in one view(screen).
Looking forward for your help and suggestions.
Thank You.

If the element we need to identify or suppose click a button, but the button is not directly located it is on overlapping components the how to access such components????


python311Packages.coffea: 2024.5.0 -> 2024.6.0

Description of changes
Changelog: https://github.com/CoffeaTeam/coffea/releases/tag/v2024.6.0
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 318081 run on aarch64-darwin 1

4 packages built:

python311Packages.coffea
python311Packages.coffea.dist
python312Packages.coffea
python312Packages.coffea.dist

Result of nixpkgs-review pr 318081 run on x86_64-darwin 1

4 packages built:

python311Packages.coffea
python311Packages.coffea.dist
python312Packages.coffea
python312Packages.coffea.dist

Result of nixpkgs-review pr 318081 run on x86_64-linux 1

4 packages built:

python311Packages.coffea
python311Packages.coffea.dist
python312Packages.coffea
python312Packages.coffea.dist

Result of nixpkgs-review pr 318081 run on aarch64-linux 1

4 packages built:

python311Packages.coffea
python311Packages.coffea.dist
python312Packages.coffea
python312Packages.coffea.dist


Fix/missing tile image

Fixes #37. Uses onerror to replace the image when needed.

This is great, thanks Robrecht!


Storage examples

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)

Proposed changes

This PR adds examples for storage category nodes.
Checklist

[x] I have read the contribution guidelines
[x] For non-bugfix PRs, I have discussed this change on the forum/slack team.
[x] I have run grunt to verify the unit tests pass
[ ] I have added suitable unit tests to cover the new/changed functionality

Coverage remained the same at 69.392% when pulling 5619aa8e6643d0310d5cdcf96e9092f5ee8665f1 on node-red-hitachi:storage-examples into 9b1c114c3f5336e8f6b410a96f8f9c61a944f437 on node-red:dev.


Add JDBC Interpreter for Mysql

I added jdbc interpreter for mysql
I used Abstract Factory Pattern
It has the advantage that can be separated using the JDBC Connection only argument value

How to add your jdbc driver

add dependency for your jdbc driver (pom.xml)
implement Sub-Class (like MysqlConnection)
add branch connection in Factory Class (DBConnectionFactory)

It can be extended any jdbc. Such as Oracle, HIVE, Tajo, hBase, MariaDB, ...

Set interpreter

How  to Use

Thanks for the contribution.
For default value of zeppelin-site.xml, you'll need add JDBCInterpreter to zeppelin-zengine/src/main/java/org/apache/conf/ZeppelinConfiguration.java L384, ZEPPELIN_INTERPRETERS.
And about mysql dependency in jdbc/pom.xml file,
    <dependency>
      <groupId>mysql</groupId>
      <artifactId>mysql-connector-java</artifactId>
      <version>5.1.6</version>
    </dependency>

I think the dependency's version is The GNU General Public License, Version 2 and should not be used.

@Leemoonsoo
Thanks for your comment.
I fix mysql dependency to meet The GNU General Public License, Version 2 in pom.xml.
And add JDBCInterpreter to ZEPPELIN_INTERPRETERS in zeppelin-zengine/src/main/java/org/apache/conf/ZeppelinConfiguration.java.

Hi @1teed,
I am trying to apply this patch and test it, because I think is really interesting and I need it.
After apply the changes and run:
mvn clean package
mvn install -DskipTests -Dspark.version=1.1.1 -Dhadoop.version=1.2.1
I can see:
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Zeppelin ........................................... SUCCESS [  3.472 s]
[INFO] Zeppelin: Interpreter .............................. SUCCESS [  9.269 s]
[INFO] Zeppelin: Zengine .................................. SUCCESS [  3.835 s]
[INFO] Zeppelin: Spark .................................... SUCCESS [ 23.308 s]
[INFO] Zeppelin: Markdown interpreter ..................... SUCCESS [  2.025 s]
[INFO] Zeppelin: Angular interpreter ...................... SUCCESS [  1.958 s]
[INFO] Zeppelin: Shell interpreter ........................ SUCCESS [  1.993 s]
[INFO] Zeppelin: Hive interpreter ......................... SUCCESS [  2.094 s]
[INFO] Zeppelin: Tajo interpreter ......................... SUCCESS [  1.971 s]
[INFO] Zeppelin: JDBC interpreter ......................... SUCCESS [  1.922 s]
[INFO] Zeppelin: web Application .......................... SUCCESS [ 45.557 s]
[INFO] Zeppelin: Server ................................... SUCCESS [  4.682 s]
[INFO] Zeppelin: Packaging distribution ................... SUCCESS [  0.439 s]
But when I execute "bin/zeppelin-daemon.sh  start" and try to add the interpreter in  http://localhost:8080/ I can not see the option "jdbc" in the dropdown "Interpreter".

@sylvinho81
Thank you for your interest.
I think you seem to be not latest source.
Please update to the latest sources.
Please check this update.

Thanks @1teed.  I had not seen the latest changes

@1teed Thanks for the contribution. Tested with a centos-zeppeling docker image and works fine! Looking forward to the merge!

@hyonaldo be4b52b changes the mysql dependency version. but it is still GPLv2 License.
In my understanding, If code is depends on some GPL (depends means more like can not functioning without it), it can not be included.
And in our case, mysql driver is GPL and this interpreter looks like pretty much depends on mysql driver.
If i'm right, I think it's better to make JdbcInterpreter completely independent to mysql.
And then we can make something similar to dependency loader of sparkinterpreter. so any jdbc driver could be loaded on the fly Instead of adding them in pom.xml.
Any ideas?

Are temporary tables possible with the interpreter connector? I quickly tried one and got Can not issue data manipulation statements with executeQuery().
Apart from that everything else runs smoothly.
Thanks!

@1teed  I added postgresql support and create a merge request to your repo.
Limitation of this interpreter -- may crush zeppelin when running large query.

@Leemoonsoo Concerning licenses, I've heard that GPL shouldn't be included in apache projects, and known that some project in Apache also doesn't have a mysql-connector-java packages due to same reason. I think JdbcInterpreter looks better and general. @1teed How about you?

Looks good, when are we merging it?

+1 please go ahead and merge into master
On Wed, Jun 10, 2015 at 6:40 PM, riomario1<EMAIL_ADDRESS>wrote:

Looks good, when are we merging it?
—
Reply to this email directly or view it on GitHub
https://github.com/apache/incubator-zeppelin/pull/60#issuecomment-110847719
.

What happened to this? It hasn't been merged to master yet and I'm having problems merging it locally as the master branch is starting to diverge...
Thanks

Is this getting merged still? Just tried it out and found that it could do with some default settings for the interpreter (jdbc, host, user, password, port). Works great - very useful.

I'm not sure about merging it, while this implementation depends on mysql-connector-java that distributed in GPL 2 license. Please correct me if i'm wrong.

Yes.  The GPL license makes mysql-connector be category X.  We cannot ship a release with that component, even unmodified.

Do you pack mysql-connector.jar within the release?
If YES then there is a problem.
If the user has to provide the jar herself (e.g. by executing mvn install locally) then everything is fine.

Hi,
How do I use MySQL with zeppelin?
Please provide steps
Thank you

Do you pack mysql-connector.jar within the release?

I think answer currently is yes, although binary packages are provided as a favor.
Exclude mysql interpreter by default from the build, but let user enabling with some special flag, will this solve the license issue?

At http://apache.cbox.biz/incubator/zeppelin/0.5.0-incubating/ (my neareast Apache mirror) I see two binary downloads and one source download.
If you don't include mysql-connector.jar in the binaries then everything is fine.
People wanting to use the MySQL interpreter should build Zeppelin from source (i.e. should use the third download: zeppelin-0.5.0-incubating.tgz).
Zeppelin's distributions should not bring mysql-connector.jar with them. Maven's <dependency>...</dependency> and code like import com.mysql.* doesn't violate the rules, so it is safe to have it in Apache sources.

When do you planning to release MySQL interpreter ?
Thanks

Mysql is the most awaited feature :)
Sent from my iPhone

On Aug 29, 2015, at 4:18 PM, neptun2000<EMAIL_ADDRESS>wrote:
When do you planning to release MySQL interpreter ?
Thanks
—
Reply to this email directly or view it on GitHub.

@1teed Hi, do you still have an interest to contribute this feature? I've found that your PR is the first one for supporting JDBC thus I think it's important to ask your opinion.

@1teed Now, I will try to contact @andrescelis to accept jdbc interpreter. I hope you would understand it. And please check the<EMAIL_ADDRESS>and issue(https://issues.apache.org/jira/browse/ZEPPELIN-439)

@1teed please close this PR.


IOS Mobile Nebula Setup

Hi, I am a newbie to all of this, successfully set up a lighthouse on a VPS and running.  When trying to set up an IOS mobile nebula (IOS15.5) I got "Config test error:  private key it not paired with the public key in nebula cert"
On both the lighthouse and IOS, I used ./nebula-cert sign -name  "name of device" -ip "xxx.xxx.xxx.xxx/24" to set up the crt and key files.    Lighthouse started without issue, I pasted the device.crt to certificate nad ca.crt into ca.  got this error.  Any guidance will be greatly appreciated.

@Wadey, thanks


Correction for raw affiliation CIRAD, UMR PHIM, 34090 Montpellier, France; PHIM Plant Health Institute, Univ Montpellier, CIRAD, INRAE, Institut Agro, IRD, Montpellier, France

Correction needed for raw affiliation CIRAD, UMR PHIM, 34090 Montpellier, France; PHIM Plant Health Institute, Univ Montpellier, CIRAD, INRAE, Institut Agro, IRD, Montpellier, France
raw_affiliation_name: CIRAD, UMR PHIM, 34090 Montpellier, France; PHIM Plant Health Institute, Univ Montpellier, CIRAD, INRAE, Institut Agro, IRD, Montpellier, France
new_rors: 05kpkpg04;051escj72;03rnk6m14;003vg9w96;03fkrcm40;05q3vnk25;05y5s3h28
previous_rors: 05kpkpg04;051escj72;03rnk6m14;003vg9w96;03fkrcm40;05q3vnk25
works_examples: W4311312989
contact: cb169d5fbe670ee71b6f9bc0f37a730e:5f446065536051359ac4072536e7cf5cb517 @ inrae.fr

This issue was accepted and ingested by the OpenAlex team on 2024-11-18. The new affiliations should be visible within the next 7 days.


Post release automated changes for devcenter releases

Post release automated changes for azure-arm-devcenter

API change check
API changes are not detected in this pull request.


Default for ControlsHelper.HeaderFontSizeProperty should be SystemFonts.MessageFontSize

What steps will reproduce this issue?
The default ControlsHelper.HeaderFontSize is way too big. I have several GroupBoxes and Expander controls in my application and I don't use the MahApps.Fonts.xaml so all controls use the system settings.
However all controls using ControlsHelper.HeaderFontSize apply it's default which is 26.67.
Expected outcome
The default of ControlsHelper.HeaderFontSize should be SystemFonts.MessageFontSize.
With that all controls would take the system settings if ContentFontSize is not set.
--
Environment

MahApps.Metro v1.2.4
Windows 7 x64
Visual Studio 2013
.NET Framework 4.5

@pfattisc fixed/added with 9c90a09c0669f42c293e14b5df691d677ffd1dd6


fix: Revert "fix: regression in memoization without outputs (#12130)"

This reverts commit c751e66050a7c16d84ecdfdfe0f7ef59d6ec84c0.
See https://github.com/argoproj/argo-workflows/issues/12165

@terrytangyuan do you want to re-open this and change the base branch to the 3.4.x branch/patch series as @Joibel suggested above?

Done. @agilgur5 @Joibel

This reverts commit c751e66.

https://github.com/argoproj/argo-workflows/commit/bdc1b25900f44c194ab36d202821cec01ba96a73 now from the 3.4.13 release (#12203 is for 3.5.1 partial revert)


Oracle ROWID support

All Oracle tables have a ROWID pseudocolumn.
If a table has no primary key defined in the DDL, we can use ROWID as the key_column. This is useful for diffing Oracle tables with no primary key that have been replicated by Fivetran, since Fivetran creates a _fivetran_id column in the destination table with ROWID data.
New Alphanumerics

+./
The ROWID column may contain any of the above characters in addition to the base alphanumerics

Hello. We are going to archive this repo for the sqeleton library and embed the codebase directly into data-diff (see https://github.com/datafold/data-diff/pull/485).
I am sorry to say that this PR was not taken into that repo since there was no response for 2 weeks for rather serious concerns about the potential misbehavior (see the comments above).
Would you be interested in addressing the comments, please open a new PR in https://github.com/datafold/data-diff — the codebase is in the data_diff/sqeleton folder there and keeps the original package/module structure (for some time at least).


Can we choose "Perform a manual migration" to switch from ZRS to GZRS/RA-GZRS"?

I have a question about "Request a live migration" from ZRS to GZRS/RA-GZRS.
In the document, "option to switch from ZRS to GZRS/RA-GZRS" is only "Request a live migration".
Can we choose "Perform a manual migration" ?

Other "how to switch from each type of replication to another" have 2 option that are "Request a live migration" and "Perform a manual migration".
Please confirm it.

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

ID: 66ebb48e-c896-a747-bc42-aa203978a1cd
Version Independent ID: 6e7bfefb-e67c-b5d5-89f7-6f1b6a2e8b61
Content: Change how a storage account is replicated - Azure Storage
Content Source: articles/storage/common/redundancy-migration.md
Service: storage
Sub-service: common
GitHub Login: @tamram
Microsoft Alias: tamram

@kiki-kekat Thanks for the question! We are investigating and will update you shortly.

#reassign: @tamram

@kiki-kekat - Currently the manual migration from ZRS to GZRS may work in some scenarios, but it's not guaranteed. So we recommend that you choose a live migration for this option.
We'll update the doc if a manual migration is fully supported in the future.
#please-close


[ConstraintSystem] Properly diagnose operator reference ambiguities

If operator is referenced instead of applied e.g. arr.sort(by: <)
ambiguities should be diagnosed as no exact matches with attached
notes describing a failure associated with each potential candidate.
Resolves: rdar://problem/62054241

@swift-ci please smoke test