Publish meeting agenda online

Currently lang and compiler agendas are generated by running the tooling locally, but that can mean a recompile and is generally heavier weight than just visiting a webpage. It should be pretty easy to move the entry points into the triagebot library (rather than lang-agenda...) and then serve them from the existing HTTP server.
Since they run a number of pretty rate limited GH queries, it's probably a good idea to cache the produced markdown within triagebot for ~5-10 minutes or so. That shouldn't be too hard to do; likely hand rolling it is easiest.

Some thoughts about the possible implications (please validate my assumptions because I'm not 100% sure):

moving the agenda generation online wouldn't allow me to test locally little tweaks that I might want to submit as future patches (ex. #1593). Being able to run the tool both locally and online wouldn't remove this capability.

Today, anyone generating T-lang and T-compiler agenda use their own GH token to run queries so there's a vague user access control. With a completely online version I assume everyone would use the same token (set server-side)? We would lose this granularity.

How would that solve the rate-limiting issue? If I'm hitting the GH API too often then someone else would be impacted, too.

(related to the above point) Caching, in this context, would also be a tiny step backwards in my workflow because it wouldn't allow generating an agenda immediately after operating on other things online (say, updating issue/PR labels). A flag to choose whether to use the cache or not wouldn't remove this capability.

We could still support running it locally, either via existing method directly or by running the site. I don't expect the story there to get significantly worse.
For the configuration use case, I expect we could expose that if desired (as a query param). It would mean more complicated caching, but not too much.
I'm not sure I understand the user access control angle - this is all querying public data, right? I'm not seeing why per user tokens help us much. I could easily be missing something though!
I would expect that if you're working on the agenda actively (e.g., modifying labels) you probably still want to run a local copy. I think it's possible we could have the caching later directly on the GitHub queries (using if-not-modified or whatever the right hradee is), which would ease concerns around rate limiting, but I suspect the workflow you have would continue to be best served with a local run. (I will note that we have the long term ability to migrate triagebot to be a GitHub app, which will increase our rate limit roughly 3x I think, and depending on whether we want to, for this particular interface we could do the full oauth flow to make each user have their own rate limit pool. This is a lot of work though.)
In general I think the lang workflow here is much simpler than yours, so my hope is we can meet that need and then move forward from there.

agree on your comments :+1:  I'll just clarify this point I didn't explain too well:

I'm not sure I understand the user access control angle - this is all querying public data, right? I'm not seeing why per user tokens help us much

by "user access control" I just meant that using a single shared server-side token would also share responsabilities. A user being rate limited (for any reason, not necessarily a bad actor) would block everyone using that token.

This is done for lang agendas; those are currently rate limited to 1 request every 30 seconds, which is enough to prevent problems on the github side. I don't think this causes any difficulty for regular usage of the endpoint, though we don't have metrics in place to validate that assumption (probably good to add them).
For now, I think this is basically done; we can extend it with compiler agendas and other things at a later point if desired pretty easily.

Cool! w.r.t. the rate limiting issue incurring in the T-compiler agenda I have a log of all the REST traffic performed. I'd like to investigate if moving some of them to the github GraphQL endpoint would help reducing the number of calls.


PMKID Issue (Possibly)

I'm sorta confused with how I can't generate a PMKID. It's been a while since I've used this tool so maybe it has been updated.
The command I use to generate a hash in hcxdumptool is this:
./hcxdumptool -o hash -i wlan0mon --filterlist_ap=filter.txt --filtermode=2 --enable_status=1
my filter.txt file is in the hcxdumptool directory. It takes about maybe 20-30 minutes to generate a result:
/hcxdumptool -o hash -i wlan0mon --filterlist_ap=filter.txt --filtermode=2 --enable_status=1
initialization...
warning: wlan0mon is probably a virtual monitor interface
interface is already in monitor mode
start capturing (stop with ctrl+c)
NMEA 0183 SENTENCE........: N/A
INTERFACE NAME............: wlan0mon
INTERFACE HARDWARE MAC....: c04a0015e205
DRIVER....................: ath9k_htc
DRIVER VERSION............: 5.6.0-kali2-amd64
DRIVER FIRMWARE VERSION...: 1.4
ERRORMAX..................: 100 errors
BPF code blocks...........: 0
FILTERLIST ACCESS POINT...: 1 entries
FILTERLIST CLIENT.........: 0 entries
FILTERMODE................: attack
WEAK CANDIDATE............: 12345678
ESSID list................: 0 entries
ROGUE (ACCESS POINT)......: 00a054166162 (BROADCAST HIDDEN)
ROGUE (ACCESS POINT)......: 00a054006163 (BROADCAST OPEN)
ROGUE (ACCESS POINT)......: 00a054166164 (incremented on every new client)
ROGUE (CLIENT)............: f04f7c78e227
EAPOLTIMEOUT..............: 20000 usec
REPLAYCOUNT...............: 61869
ANONCE....................: d07978c7f65029e827120784bf537ab341a301e547255b00bd878b397ebf73c2
SNONCE....................: 5a5953abdaada490af85f873f2f367caacb96c77b5ef8e8212c58bca0c78f234
21:19:54  11 c0d2ddf37b99 d80f99ae037e (name of network here) [PMKID:92b716905aba40a44cd1589fbe2685ee KDV:2]
^C
terminating...
root@kali:/home/kali/Desktop/hcxdumptool#
So when I transfer my hash file to hcxtool and run the ./hcxpcaptool  -z pass hash command it doesnt generate a PMKID pass:
/hcxpcaptool -z pass hash
reading from hash
summary capture file:
file name........................: hash
file type........................: pcapng 1.0
file hardware information........: x86_64
capture device vendor information: c04a00
file os information..............: Linux 5.6.0-kali2-amd64
file application information.....: hcxdumptool 6.0.7-3-gf28380b (custom options)
network type.....................: DLT_IEEE802_11_RADIO (127)
endianness.......................: little endian
read errors......................: flawless
minimum time stamp...............: 25.06.2020 00:51:14 (GMT)
maximum time stamp...............: 25.06.2020 02:08:47 (GMT)
packets inside...................: 89
skipped damaged packets..........: 0
packets with GPS NMEA data.......: 0
packets with GPS data (JSON old).: 0
packets with FCS.................: 89
beacons (total)..................: 1
probe requests...................: 39
probe responses..................: 1
EAPOL packets (total)............: 48
EAPOL packets (WPA2).............: 48
PMKIDs (not zeroed - total)......: 1
PMKIDs (WPA2)....................: 5
PMKIDs from access points........: 1
best handshakes (total)..........: 1 (ap-less: 0)
best PMKIDs (total)..............: 1
summary output file(s):
0 PMKID(s) written to pass
root@kali:/home/kali/Desktop/hcxtools#
Im stumped because it says best PKMID total is 1. I've read a few posts on here where tools were updated as far as ways to generate a PMKID. Can you explain that further. Also, I use  the airmon-ng command to put my adapter in monitor mode. I did that prior to briefly reading your reasoning not to put it in monitor mode that way. Can you touch on that a little as well also, thanks.

First you should know that not every ACCESS POINT transmit a PMKID.
Next to know and described in README.md that hcxpcaptool is deprecated. Successor is hcxpcapngtool. That means if you run hcxdumptool >= v6.0.0 you must use hcxpcapngtool >= v6.0.0
| deprecated     | obsolete when hashcat and JtR moved to new PMKID/EAPOL hash line - no longer under maintenance                         |
| -------------- | ---------------------------------------------------------------------------------------------------------------------- |
| hcxmactool     | Various MAC based filter operations on HCCAPX and PMKID files - convert hccapx and/or PMKID to new hashline format     |
| hcxpcaptool    | Shows info of pcap/pcapng file and convert it to other hashformats accepted by hashcat and John the Ripper             |
| hcxpmkidtool   | CPU based tools to verfiy a PMKID                                                                                |
| hcxessidtool   | Various ESSID based filter operations on HCCAPX and PMKID files                                                        |
| hcxhashcattool | Convert old hashcat (<= 5.1.0) separate potfile (2500 and/or 16800) to new potfile format                              |
| wlanwkp2hcx    | Converts wpk (ELMCOMSOFT EWSA projectfile) to hccapx                                                                   |
| wlanhcx2ssid   | Strips BSSID, ESSID, OUI                                                                                |
| wlanhcxinfo    | Shows detailed info from contents of hccapxfile                                                                        |
| wlanhcxcat     | Simple password recovery tool for WPA/WPA2/WPA2 SHA256 AES-128-CMAC (hash-modes 2500, 2501)                            |
| wlanpmk2hcx    | Converts plainmasterkey and ESSID for use with hashcat hash-mode 12000 or john PBKDF2-HMAC-SHA1                        |
| wlanjohn2hcx   | Converts john wpapsk hashfiles for use with hashcat hash-modes 2500, 2501                                              |
| wlanhcx2john   | Converts hccapx to format expected by John the Ripper                                                                  |

Next to know is that you shouldn't use airmon-ng in combination with hcxdumptool. You received a warning:
warning: wlan0mon is probably a virtual monitor interface
interface is already in monitor mode
That is mentioned in --help:
hcxdumptool 6.0.7-2-g1c73570  (C) 2020 ZeroBeat
usage  : hcxdumptool <options>
         press the switch to terminate hcxdumptool
         hardware modification is necessary, read more:
         https://github.com/ZerBea/hcxdumptool/tree/master/docs
example: hcxdumptool -o output.pcapng -i wlp39s0f3u4u5 -t 5 --enable_status=3
         do not run hcxdumptool on logical (NETLINK) interfaces (monx, wlanxmon)
         do not use hcxdumptool in combination with 3rd party tools, which take access to the interface (except: tshark, wireshark, tcpdump)

Also you should know that, since release of hashcat v6.0.0 hashmode 2500 (hccapx) and 16800 (PMKID) are deprecated:
https://hashcat.net/forum/thread-9303.html
The new hashformat for PMKID and EAPOL is 22000.
So your workflow should be:
$ systemctl stop NetworkManager.service
$ systemctl stop wpa_supplicant.service
$ hcxdumptool -o dump.pcapng -i wlan0 --filterlist_ap=filter.txt --filtermode=2 --enable_status=1
$ hcxpcapngtool -o hash.22000 dump.pcapng
$ hashcat -m 22000 hash.22000 wordlist

If you really need the old hasmodes (2500 and 16800) they are still implemented in hcxpcapngtool:
--pmkid=<file>                     : output deprecated PMKID file (delimter *)
--hccapx=<file>                    : output deprecated hccapx v4 file
--hccap=<file>                     : output deprecated hccap file
--john=<file>                      : output deprecated PMKID/EAPOL (JtR wpapsk-opencl/wpapsk-pmk-opencl)

$ hcxpcapngtool --pmkid=hash.16800 dump.pcapng
$ hcxpcapngtool --hccapx=hash.hccapx dump.pcapng
$ hcxpcapngtool --hccap=hash.hccap dump.pcapng
$ hcxpcapngtool --john=john.hccap dump.pcapng

And keep in mind:
Do not(!) use airmon-ng to set monitor mode!
This is not an hcxdumptool issue, so I closed this report - but you can still ask your questions here.


Deck Feature Shows A Blue Circle In Place Of Suit..?

I recently learned about the deck feature, so I did some fooling around to see how it worked and it showed this:

I don't know why there's a blue circle, is it intentional to show Joker cards? Or is it accidental?

Hi, @TimeBender25 !
This was proposed by the original Patreon patron backing this feature:

Thank you for the clarification! I was real confused.


Ceph Tests are broken on release-21.11 and master

Describe the bug
All ceph tests are currently broken on release-21.11 and master.
https://hydra.nixos.org/job/nixos/trunk-combined/nixos.tests.ceph-multi-node.x86_64-linux
First broken in https://hydra.nixos.org/build/158336811 (0a580f to 931ab0), likely due to a snappy update, like ededca048a93974703a77b4bae84e4fc9f509580). @Artturin
load failed dlopen(): "/nix/store/kxkj80fiwbq2fsaps7dm98mp3wq87aw7-ceph-16.2.6-lib/lib/ceph/compressor/libceph_snappy.so: undefined symbol: _ZTIN6snappy6SourceE" or "/nix/store/kxkj80fiwbq2fsaps7dm98mp3wq87aw7-ceph-16.2.6-lib/lib/ceph/libceph_snappy.so: cannot open shared object file: No such file or directory"
create cannot load compressor of type snappy

Steps To Reproduce
Steps to reproduce the behavior:

nix-build -A nixosTests.ceph-multi-node etc.

Expected behavior
Tests should complete.
Additional context
Add any other context about the problem here.
Notify maintainers

@srhb
Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module: nixosTests.ceph-multi-node, nixosTests.ceph-single-node, nixosTests.ceph-single-node-bluestore

https://tracker.ceph.com/issues/53060


Odrive calibration don't be recognize

Hello, I manage to do all the configuration, I make physically the complete system, but I have a software issue with the basic odrive electronic, encoder 8192 CPR and motor 270kv dual shaft came from the odrive shop. When I calibrate I can use the motor with the odrive board  all command works but when I read the câblecam controller he said indefinitely I need to calibrate the omotor board. Doesn't seem to see I already did the calibration.
Is it possible to have a file of proper calibration with this configuration and upload it in, or did I miss something ? I spend hours on the odrive manual this is the first time I use motor board like this. I'm more use to drone ESC.
Can someone help me to list the step? i may miss something

hve you solved this problem?


[BUG] Two BUGs of distributed computing

Describe the bug
BUG1: Summation of a small complex matrix -> Error: Changing the dtype of a 0d array is only supported if the itemsize is unchanged
BUG2: Operating a large tensor ->  different memory errors. I cannot operate a large tensor with shape [2,2,...,2]. The first element is one. Other elements are zeros. I cannot chunk it into 2^24 * 16B = 256MB to avoid the high peak memory cost of 2^30 * 16B = 16GB or 2^28 * 16B = 4GB. To simplify the bug, I whote this small demo
To Reproduce
To help us reproducing this bug, please provide information below:

Python 3.7.3
pymars 0.2.0b2
numpy 1.16.4, scipy 1.3.0 and protobuf 3.6.1
Errors of BUG1:

Error: Changing the dtype of a 0d array is only supported if the itemsize is unchanged

Errors of BUG2:
When method=1, N=30 -> ValueError: Cannot allocate size larger than the total capacity.
When method=1, N=28 -> mars.errors.SpillNotConfigured + failed With PinChunkFailed
When method=1, N=25 -> ValueError: Changing the dtype of a 0d array is only supported if the itemsize is unchanged
When method=2, N=30 -> ValueError: Changing the dtype of a 0d array is only supported if the itemsize is unchanged
When method=2, N=28 -> ValueError: Changing the dtype of a 0d array is only supported if the itemsize is unchanged
When method=2, N=25 -> ValueError: Changing the dtype of a 0d array is only supported if the itemsize is unchanged

Minimized code to reproduce the error. Code for BUG1:

a = mt.zeros([2, 2], dtype=mt.complex128)
a = mt.sum(a)
sess = new_session('http://<IP_ADDRESS>:7777')
print(a.execute(sess))

Code for BUG2:
method = 1  # switch two methods
N = 28
C = 24
chunk_size = (N - C) * [1] + C * [2]
if method == 1:
    statevector = mt.concatenate([mt.ones(1, mt.complex128), mt.zeros(2**N-1, mt.complex128)])
    statevector = mt.reshape(statevector, N * [2])
    statevector = statevector.rechunk(chunk_size)
    b = mt.sum(statevector)
else:
    statevector = mt.zeros(N * [2], dtype=mt.complex128, chunk_size=chunk_size)
    statevector.__setitem__((0,) * N, 1.0+0.0j)
    b = mt.sum(statevector)
sess = new_session('http://<IP_ADDRESS>:7777')
print(b.execute(sess))

Expected behavior
Code1 -> 0.0
Code2 -> 1.0
Additional context
Add any other context about the problem here.

Thank you for your report, could you please try to split this issue into one for two individual problems? So that we can solve the issues one by one.

I notice that there may be two bugs: the complex converting and the memory overflow. I tried to split them. But according to the error message of bug 2, the second example may cause by both the complex converting and the memory overflow. To avoid confusion, I post two bugs together.
BTW, to reproduce memory overflow problem, a larger N should be used on a computer with larger memory.
发件人: Xuye (Chris) Qin<EMAIL_ADDRESS>发送时间: 2019年7月17日 21:33
收件人: mars-project/mars<EMAIL_ADDRESS>抄送: Wenyun Sun<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>主题: Re: [mars-project/mars] [BUG] Two BUGs of distributed computing (#552)
Thank you for your report, could you please try to split this issue into one for two individual problems? So that we can solve the issues one by one.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/mars-project/mars/issues/552?email_source=notifications&email_token=ABFMH356CWA3XY6NXGMDANTP74NPHA5CNFSM4IEPJQH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2EGPYQ#issuecomment-512255970, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABFMH37VOZVDIFG47DCEBWDP74NPHANCNFSM4IEPJQHQ.


CSS in dist / documentation?

So I'm trying to make the move to your code... Thanks!
However, it seems that I must build the CSS myself (which I can do ... once I figure it out), but you don't have any documentation for it (using or building), and I would recommend you have a version that's in the dist folder like the js file(s).
Thanks!
Jarvis

This is solved!


Harp skills and profession update wpn correction 081322

Submission Checklist
Required

[x ] The pull request title clearly contains the name of the sheet I am editing.
[x ] The pull request title clearly states the type of change I am submitting (New Sheet/New Feature/Bugfix/etc.).
[x ] The pull request makes changes to files in only one sub-folder.
[x ] The pull request does not contain changes to any json files in the translations folder (translation.json is permitted)

New Sheet Details

The name of this game is: <   >  (i.e. Dungeons & Dragons 5th Edition, The Dresden Files RPG)

The publisher of this game is: <   > (i.e. Wizards of the Coast, Evil Hat)

The name of this game system/family is: <   > (i.e. Dungeons & Dragons, FATE)

[x ] I have followed the Character Sheets Standards when building this sheet.

[ ] This sheet has been made on behalf of, or by, the game's publisher.
[ ] This game is not a traditionally published game, but a copy of the game rules can be purchased/downloaded/found at: <   >
[ ] This sheet is for an unofficial fan game, modification to an existing game, or a homebrew system.

Changes / Description

Updated skills to automatically use encumbrance and armor penalties.
Updated professions to show favored categories and update the total level of a character.
Added professions from source books College of Magics, Folkways, Beyond the Veil and Subterfuge
Made minor mods to the rolltemplates.
Enabled the range finder button
Corrected Weapon rolls interaction with roll templates

Character Sheet Info Roll20 Internal Use only.

@imaginosmusic I notice you're removing the previous author from the sheet.json. Unless this is something you have discussed with that author, could you please append your name, rather than removing the previous name?

I am the original author. At this point in time, I prefer to have my roll20 handle in the author attribute.

@nmbradley I reiterate, I am the original author.


minigzip creates invalid gz files at compression level 1

Building zlib using the default settings of configure or cmake, the resulting minigzip will create invalid gzip files when asked to compress to level 1. This does not happen for all files, but it does happen for some files. Examples of problematic files are the webster and reymont files from the silesia corpus. This may be an unintended consequence of the fix for [issue 6540(https://github.com/zlib-ng/zlib-ng/issues/654), as I did not observe this behavior before.
Here is a minimal script to replicate. It assumes that the file reymont is on the Desktop.
git clone https://github.com/zlib-ng/zlib-ng
cd zlib-ng
./configure
make
./minigzip -1 -k ~/Desktop/reymont
gzip -f -d ~/Desktop/reymont.gz
  gzip: /home/chris/Desktop/reymont.gz: invalid compressed data--crc error

This algorithm seems hard to get right. All the other algorithms are designed to output literals/matches one particular way except for this quick algorithm..

I tried with -DUSE_MMAP=ON and cmake on Windows and decompress with minigzip and then with WinRAR.using reymont file with not problems.

Looks like it is not related to USE_MMAP, I reprocued it without it.


FHIR commercial server

Do you know any FHIR commercial server available with exposed apis? On prem/cloud?

Hi @Natarajan77 - The commercial equivalent to HAPI FHIR is Smile CDR: https://smilecdr.com


Support for sparse vectors

Currently we are having sparse matrix support (of course) but no sparse vector support as they had performance issues in julia 0.4. dof number is calculated relatively simply, for example 3d continuum problem dofs for node x is (3*(dof-1)+1, 3*(dof-1)+2, 3*(dof-1)+3). Clearly, if node id is something very large, like 100 000 000, sparse matrices are still working but size of 300 000 000 doubles full vectors are reserved internally causing huge use of memory. So we should implement sparse vectors and make couple of tests models proving that choose of node id space, no matter how large it is, is not allocating more memory in algorithms.
Other solution would be to use some sort of mapping, remapping node ids to some spesific dofs, but I like this idea how we are currently doing because of it's simplicity. Later on when we use METIS or similar node reordering algorithms we anyway need to have some sort of mapping routines at least in preprocess step.

Here is the concrete test identifying the problem:
using JuliaFEM
using JuliaFEM.Preprocess
using JuliaFEM.Testing

function solve_2d_patch_test(connectivity)

    mesh = Mesh()
    add_node!(mesh, connectivity[1], [0.0, 0.0])
    add_node!(mesh, connectivity[2], [1.0, 0.0])
    add_node!(mesh, connectivity[3], [1.0, 1.0])
    add_node!(mesh, connectivity[4], [0.0, 1.0])
    add_element!(mesh, 1, :Quad4, connectivity)
    add_element!(mesh, 2, :Seg2, connectivity[1:2])
    add_element_to_element_set!(mesh, :BLOCK, 1)
    add_element_to_element_set!(mesh, :FIXED, 2)

    body = Problem(Elasticity, "BLOCK", 2)
    body.properties.formulation = :plane_stress
    body.properties.finite_strain = false
    body.properties.geometric_stiffness = false
    body.elements = create_elements(mesh, "BLOCK")
    update!(body.elements, "youngs modulus", 288.0)
    update!(body.elements, "poissons ratio", 1/3)
    update!(body.elements, "displacement load 2", 576.0)

    bc = Problem(Dirichlet, "FIXED", 2, "displacement")
    bc.elements = create_elements(mesh, "FIXED")
    update!(bc, "displacement 1", 0.0)
    update!(bc, "displacement 2", 0.0)

    solver = LinearSolver(body, bc)
    solver()

    u = body("displacement", [0.5, 0.5], 0.0)
    info("u = $u")
    @test isapprox(u, [0, 13/27])

end

con1 = [1, 2, 3, 4]
con2 = con1 + 10^8
info("con1 = $con1")
info("con2 = $con2")

solve_2d_patch_test(con1)
info("Starting test")
@time solve_2d_patch_test(con1)
@time solve_2d_patch_test(con2)

So, we only change node numbering by shifting it by some number N. Results:
10-Apr 20:55:36:INFO:root:--------------------------------------------------------------------------------
10-Apr 20:55:36:INFO:root:Starting linear solver
10-Apr 20:55:36:INFO:root:Increment time t=0.0
10-Apr 20:55:36:INFO:root:--------------------------------------------------------------------------------
10-Apr 20:55:36:INFO:root:Initializing solver ...
10-Apr 20:55:36:INFO:root:initialize!(): looks we are solving displacement, 2 dofs/node
10-Apr 20:55:36:INFO:root:Total number of nodes in problems: 4
10-Apr 20:55:36:INFO:root:# of max dof (=size of solution vector) is 8
10-Apr 20:55:36:INFO:root:Initialized solver in 0.0 seconds.
10-Apr 20:55:36:INFO:root:Assembling problems ...
10-Apr 20:55:36:INFO:root:Assembled 2 problems in 0.0 seconds. ndofs = 8.
10-Apr 20:55:36:INFO:root:Solving problems ...
10-Apr 20:55:36:DEBUG:root:# A = 8
10-Apr 20:55:36:DEBUG:root:# B = 4
10-Apr 20:55:36:DEBUG:root:# I = 4
10-Apr 20:55:36:INFO:root:Solved problems in 0.08 seconds using solver 1.
10-Apr 20:55:36:INFO:root:Solution norms = (1.397626834378756,409.7999511957023).
10-Apr 20:55:36:INFO:root:Updating problems ...
10-Apr 20:55:36:INFO:root:Updated problems in 0.0 seconds.
10-Apr 20:55:36:INFO:root:Linear solver ready in 0.08 seconds.
10-Apr 20:55:36:INFO:root:u = [-6.245e-17,0.481481]
  0.078725 seconds (5.03 k allocations: 343.625 KB, 92.14% gc time)

Second run with shifted node ids:
10-Apr 20:55:37:INFO:root:--------------------------------------------------------------------------------
10-Apr 20:55:37:INFO:root:Starting linear solver
10-Apr 20:55:37:INFO:root:Increment time t=0.0
10-Apr 20:55:37:INFO:root:--------------------------------------------------------------------------------
10-Apr 20:55:37:INFO:root:Initializing solver ...
10-Apr 20:55:37:INFO:root:initialize!(): looks we are solving displacement, 2 dofs/node
10-Apr 20:55:37:INFO:root:Total number of nodes in problems: 4
10-Apr 20:55:37:INFO:root:# of max dof (=size of solution vector) is 200000008
10-Apr 20:55:40:INFO:root:Initialized solver in 3.57 seconds.
10-Apr 20:55:40:INFO:root:Assembling problems ...
10-Apr 20:55:40:INFO:root:Assembled 2 problems in 0.0 seconds. ndofs = 200000008.
10-Apr 20:55:40:INFO:root:Solving problems ...
10-Apr 20:56:20:DEBUG:root:# A = 8
10-Apr 20:56:20:DEBUG:root:# B = 4
10-Apr 20:56:20:DEBUG:root:# I = 4
10-Apr 20:56:21:INFO:root:Solved problems in 39.97 seconds using solver 1.
10-Apr 20:56:21:INFO:root:Solution norms = (1.3976268343787561,409.7999511957023).
10-Apr 20:56:21:INFO:root:Updating problems ...
10-Apr 20:58:14:INFO:root:Updated problems in 113.38 seconds.
10-Apr 20:58:14:INFO:root:Linear solver ready in 157.23 seconds.
10-Apr 20:58:14:INFO:root:u = [-6.245e-17,0.481481]
157.236160 seconds (800.00 M allocations: 122.190 GB, 48.55% gc time)
``´

And clearly this indicates why we need to solve this issue somehow, because shifting node ids by 10^8 caused a huge memory allocation.

This is moved to separate package FEMSparse.jl where developing continues.


Progress report

Would it be a desirable feature to add report progress for encoding and decoding processes? For longer running processes like best quality compression, this might be helpful if the library is used for GUI's.
There already are build-in types in .NET like IProgress<T>. And maybe the progress reporter can be part of the decoder/encoder options.

Would adding such an option require adding async public api methods as well? I have not used IProgress before but updating the progress in the encoding methods by blocksProcessed/totalBlocks is probably trivial to add.

Would adding such an option require adding async public api methods as well? I have not used IProgress before but updating the progress in the encoding methods by blocksProcessed/totalBlocks is probably trivial to add.

Yes it would be trivial indeed. And no, I think it wouldn't need async at all. However for seeing how long compression processes can take, wouldn't it make sense to add async calls either way?

Yes it would be trivial indeed. And no, I think it wouldn't need async at all. However for seeing how long compression processes can take, wouldn't it make sense to add async calls either way?

If you want to add it (and possibly async api) you have my blessing.
I pushed a few tests, code changes and some more raw api methods so you might want to pull the latest version. There's now a BaseBcBlockEncoder similar to the one you added for decoders, so adding the progress reporting should be easier to do as well.

If you want to add it (and possibly async api) you have my blessing.
I pushed a few tests, code changes and some more raw api methods so you might want to pull the latest version. There's now a BaseBcBlockEncoder similar to the one you added for decoders, so adding the progress reporting should be easier to do as well.

Ah yes, I tried to do a BaseBcBlockEncoder, but the encoding side of things is way over my head, so I left it like it was before I break too much beyond repair on my end.
And thx, I will get to work on the progress first. The async api probably needs a bit more designing on my part to look good enough. I will create another issue for the async api.

Ah yes, I tried to do a BaseBcBlockEncoder, but the encoding side of things is way over my head, so I left it like it was before I break too much beyond repair on my end.
And thx, I will get to work on the progress first. The async api probably needs a bit more designing on my part to look good enough. I will create another issue for the async api.

Sounds good.

Sounds good.

PR #24 adds the aforementioned progress context.

PR #24 adds the aforementioned progress context.


Question

Where is the inference code of image to mesh in 3DAdapter？

Hi! All the inference code is based on Gradio. After starting the webui, you can run these python scripts to start inference.
Note that this repository does not include the GRM Adapter yet (we will have to wait for the official release of GRM unfortunately), so if you run the code locally, you only have access to the MVEdit Adapter for image-to-3D tasks. To do inference with the latest GRM adapter, please refer to this script, which connects to our official demo server for inference.

Thank you for your reply. What camera parameters should I use if I want to get images with Gaussian rendering generated by the GRM Adapter? And, is it possible to get 3d gaussian by writing code locally without running gradio？

GRM Adapter uses Zero123++ v1.2 as the base model, which is compatible with a wide range of input cameras, so there is no specific requirement. Our Gaussian-related code will be released after the official release of GRM. After that, you will be able to run the demo locally for inference. Non-gradio inference script can be written by calling the methods in https://github.com/Lakonik/MVEdit/blob/main/lib/apis/adapter3d.py, but we do not recommend this since many default parameters are handled by the Gradio interface.

I tried to render the resulting mesh with the following parameters and output a 288x288 image, but its scale is not the same as the 288x288 image sent to the model：https://github.com/Lakonik/MVEdit/blob/445a11c0e0e38a581f94df57af48357bd1c5cd47/lib/apis/adapter3d.py#L792-L804
the 288x288 image fed to mveditpipeline in https://github.com/Lakonik/MVEdit/blob/445a11c0e0e38a581f94df57af48357bd1c5cd47/lib/apis/adapter3d.py#L790

the image rendered from the resulting mesh using the parameters in the above parameters:

It looked as if it had grown bigger.Is there something wrong with my camera Settings or is this due to up and down sampling of the network?I expect their results to be the same.


Turn ON/OFF Device in Rainbow mode

Plug-in does a great job controlling devices that are in static mode (on/off/change colors), but I have no luck with the ones set in rainbow mode. When powering on or off it does nothing but a quick blink.  I don't know if this is a limitation of openrgb or this plug-in. Can it be implemented?
Thanks for this useful plug-in!

I see what you mean. Thanks for the report.
After some quick tests of possible solutions, I think, yes, I should be able to make this better. I'll work on it.

Thank you very much!!

Hello Sir, any news on this matter?

Hey, I did some of the work needed for this update a while back, but I've haven't been able to get back to it and finish it yet. I haven't forgotten about this, and I'll finish it when I get the chance.

Just haven't been able to prioritize this lately. I'm still busy all this month, but I should be able to revisit this in August.

Hi there. I've just published version 1.4.0 with these changes implemented. If you could test it out and let me know if everything works well for you, that would be great.

thanks for taking the time to look at this!
I updated to 1.4 and tested it with mixed results.
2 of my devices set to rainbow mode seems to work correctly as expected when turning off and on:
Adata d60g ram sticks
Adata s40g ssd
2 other of my devices set to rainbow mode do weird things when turning off and on:
Rog strix LC cooler doesn't respond to off when in rainbow mode
Asus Motherboard lights and zones do respond to off command, but when turning on there are set to red color by default and not rainbow mode

Hmm, that's going to be tough to debug without having those devices. Could you list all of the available modes that OpenRGB has as options for those devices?

Asus Rog Strix LC modes:

I just realized that I don't use rainbow mode for the Asus motherboard, I use direct mode.  Changing to rainbow mode and tested on/off and it does work correctly.
However the reset to red is happening when in direct mode and turning off and on.
Asus Motherboard modes:

I'm also wondering if the motherboard's zones can be displayed as separate accessories to control individual colors of each zone?
Asus Motherboard zones:

Do you know if you had the issue of the motherboard lights turning red before you updated the plugin to version 1.4.0? Or is that new behavior?

I had the issue before 1.4.0


Training header model

Hello,
I was wondering how the training of the header model is performed.
Is the resulting model built on the already trained header model or is it built from scratch?
Best regards,
Igor

Hello @igor261 !
Training is "from scratch". Models obtained via incremental learning are less accurate than when trained from scratch for CRF and RNN-style models.
For SciBERT-CRF models (not shipped with GROBID because too large, they have to be trained via DeLFT), so far I am doing the usual fine-tuning from the original SciBERT model, without any pre-retraining or post-retraining.


NODE_PATH is set to a directory inside Atom

When using the shortcut to open a powershell window on Windows, the NODE_PATH environment variable gets changed to a path inside Atom.

This messes with tools like yeoman. The NODE_PATH environment variable should not be the same as if I was to open a terminal outside ATOM.

The current work around for powershell is to add some args to your atom-terminal settings:
-NoExit -Command "& { Remove-Item Env:NODE_ENV; Remove-Item Env:NODE_PATH; }"
This will tell powershell to run the command that removes the offending node environment variables and remains open after completing.
There ought to be similar command args for Mac/Linux/Batch scripts.
This also relates to #13 and #53

That's frustrating. I don't want to end up with an ever expanding list of environment variables to remove. Would passing an empty environment object to exec help?
It could be worth documenting this as it is not an obvious issue that goes against in expectations. If I want to use this and get started with gulp / grunt / bower ect I don't expect to have to set a setting to get it working.

I don't think any vars other than the NODE_* vars will need to be removed. They are in place because atom uses them specifically (i.e. NODE_PATH is required by apm) and launching a shell from the atom process brings them along for the ride. It's annoying for sure, but not really a good way around it. It would be nice if there were a way to spawn a powershell in an isolated environment.

Yea fair enough. I certainly agree with the statement about powershell.
Start-Process has a -UseNewEnvironment argument. However, I can't seem to get that to work.
If I add -Command "& { Start-Process powershell.exe -UseNewEnvironment }" to args the new powershell window closes without any info (removing -UseNewEnvironment works fine).
The Start command also has the /i argument that starts cmd with the environment cmd was originally launched with. However, I don't think that helps in this case as the environment isn't modified before start is run.

My workaround for cmd on Windows: put /K "set NODE_PATH=& set NODE_ENV=& set GOOGLE_API_KEY=" into the Args setting.
This should work by default in my opinion. Otherwise, everyone using this module for node development will wonder why things don't work; and maybe they realise it's because they're using atom-terminal, and that their environment variables are corrupted. Then they will find this issue and set the necessary configuration.


Make css proper

Add Zoom Effect to Images with Class .menu on Hover
Description
To enhance the user experience, improve the UI of the image display on the collection page by adding a hover effect.
Related Issues

Closes #172

Type of PR

[ ] ()

Screenshots / videos (if applicable)

Checklist

[X ] I have gone through the contributing guide
[ X] I have updated my branch and synced it with project main branch before making this PR
[ X] I have performed a self-review of my code
[ X] I have tested the changes thoroughly before submitting this pull request.
[ X] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[ X] I have commented my code, particularly in hard-to-understand areas.

Additional context:

Please assign the level for the gssoc

@harshpareshbhaigosalya ur implemntation is great!
DO contribute to our repo frequently.


onDidChangeConfiguration should contain parameters that changed in the payload

The onDidChangeConfiguration event should return what configuration elements changed.
Vim extension is using onDidChangeConfiguration to detect when a user makes a settings change.  If the event returned which actual elements changed, then we could filter out events we don't care about.
Without this information, I am forced to parse the entire configuration which will have a performance impact due to the size and number of configuration options checked.

I think it would make sense to only send the actual values that changed to extensions (@jrieken to confirm).

Fixed by #36475


Istio 1.3.0: Fails to install with Helm 3

Looks like Helm3 is stricter on apiVersion and causing issues:
Commands:
ISTIO_VERSION=1.3.0
curl -LO https://git.io/getLatestIstio | sh -
INSTALL_DIR=istio-$ISTIO_VERSION/install/kubernetes/helm
kubectl create namespace istio-system
helm3 upgrade -i istio-init $INSTALL_DIR/istio-init --namespace istio-system
helm3 upgrade -i istio $INSTALL_DIR/istio --namespace istio-system \
  --values $INSTALL_DIR/istio/values-istio-demo.yaml
kubectl label namespace default istio-injection=enabled

Result:
% ISTIO_VERSION=1.3.0
% curl -LO https://git.io/getLatestIstio | sh -
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  2802  100  2802    0     0   2047      0  0:00:01  0:00:01 --:--:-- 2736k
% INSTALL_DIR=istio-$ISTIO_VERSION/install/kubernetes/helm
% kubectl create namespace istio-system
namespace/istio-system created
% helm3 upgrade -i istio-init $INSTALL_DIR/istio-init --namespace istio-system
Release "istio-init" does not exist. Installing it now.
NAME: istio-init
LAST DEPLOYED: 2019-09-20 19:45:55.037234 +1200 NZST m=+0.081714680
NAMESPACE: istio-system
STATUS: deployed
% helm3 upgrade -i istio $INSTALL_DIR/istio --namespace istio-system \
  --values $INSTALL_DIR/istio/values-istio-demo.yaml
Release "istio" does not exist. Installing it now.
NAME: istio
LAST DEPLOYED: 2019-09-20 19:46:40.514938 +1200 NZST m=+0.106486861
NAMESPACE: istio-system
STATUS: failed
Error: apiVersion "config.istio.io/v1alpha2" in istio/charts/mixer/templates/config.yaml is not available

please check versions of crds after helm3 upgrade istio-init. Below is from my test:
# kubectl get crds -o custom-columns=name:.metadata.name,version:.spec.version
name                                   version
adapters.config.istio.io               v1alpha2
attributemanifests.config.istio.io     v1alpha2
authorizationpolicies.rbac.istio.io    v1alpha1
clusterrbacconfigs.rbac.istio.io       v1alpha1
destinationrules.networking.istio.io   v1alpha3
envoyfilters.networking.istio.io       v1alpha3
gateways.networking.istio.io           v1alpha3
handlers.config.istio.io               v1alpha2
httpapispecbindings.config.istio.io    v1alpha2
httpapispecs.config.istio.io           v1alpha2
instances.config.istio.io              v1alpha2
meshpolicies.authentication.istio.io   v1alpha1
policies.authentication.istio.io       v1alpha1
quotaspecbindings.config.istio.io      v1alpha2
quotaspecs.config.istio.io             v1alpha2
rbacconfigs.rbac.istio.io              v1alpha1
rules.config.istio.io                  v1alpha2
serviceentries.networking.istio.io     v1alpha3
servicerolebindings.rbac.istio.io      v1alpha1
serviceroles.rbac.istio.io             v1alpha1
sidecars.networking.istio.io           v1alpha3
templates.config.istio.io              v1alpha2
virtualservices.networking.istio.io    v1alpha3

@waret So I also made an issue on helm, and they referred me to this ticket: https://github.com/helm/helm/issues/6451#issuecomment-532855139
According to them, istio-init is using a crd-install hook which is no longer supported in Helm3. So istio-init needs to be migrated to use other means to install custom CRDs.

And according to this issue, looks like there is no plans to fix Helm3 support - https://github.com/istio/istio/issues/17167
So I'll go ahead and close this off then, as it seems neither party is wanting to patch either end to make this work :-)

i got the same error.
helm version: 3.0.0
istio: v1.4.1

@waret your comment didn't seem to be addressed. It is not clear to me why this issue was closed. Namely, it seems helm 3 has the crds put into a folder rather than using a hook declaration. This issue was closed without sufficiently explaining what the hold up is. Why cant we just move the CRDs?


Add language model guide

@agnieszka-m after you merge this one would you please redeploy haystack website - I made a tutorial change that should show up as well. Thanks in advance.


add correct bid date spec

Description
Add bid date spec type for all bid configs
Checklist:

[ ] Tests added/updated.
[ ] Documentation updated.
[ ] Changelog updated in CHANGELOG.md.
[ ] Version bumped. If triggering a new release is desired, bump the version number in pyproject.toml per semantic versioning.

Resync has been run with this change.


Add "Accept: application/json" HTTP header

For https://github.com/NoRedInk/NoRedInk/issues/22321#issuecomment-445399884

Released as 5.0.1!


Dependency collector does not recognise multiple renames to one formula as a single formula

brew doctor output
% brew doctor
Your system is ready to brew.

Verification

[X] My "brew doctor output" above says Your system is ready to brew. and am still able to reproduce my issue.
[X] I ran brew update twice and am still able to reproduce my issue.
[X] This issue's title and/or description do not reference a single formula e.g. brew install wget. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.

brew config output
% brew config
HOMEBREW_VERSION: 4.0.19
ORIGIN: https://github.com/Homebrew/brew
HEAD: 4446fe603cc19316036fd07e5df1124c4d15ead2
Last commit: 5 days ago
Core tap JSON: 27 May 06:39 UTC
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.8Fr1luGOi6/org.xquartz:0
HOMEBREW_MAKE_JOBS: 8
Homebrew Ruby: 2.6.10 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: octa-core 64-bit kabylake
Clang: 14.0.3 build 1403
Git: 2.39.2 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Curl: 7.86.0 => /usr/bin/curl
macOS: 13.2-x86_64
CLT: <IP_ADDRESS>.1.1679647830
Xcode: 14.3

What were you trying to do (and why)?
I wanna install the px4-sim-gazebo. However it always says there is another active Homebrew process is already using gstreamer.formula. This make the installation fails.
What happened (include all command output)?
% brew install px4-sim-gazebo
......
==> Fetching px4/px4/px4-sim-gazebo
==> Downloading https://raw.githubusercontent.com/PX4/PX4-Autopilot/master/Tools
Already downloaded: /Users/kevin/Library/Caches/Homebrew/downloads/be4aff9b473b8b0c6bae0ff08a6611885de9d56ee3a477c05453bb6bbcaab246--px4.py
==> Installing px4-sim-gazebo from px4/px4
Warning: Formula gst-libav was renamed to gstreamer.
Warning: Formula gst-plugins-bad was renamed to gstreamer.
Warning: Formula gst-plugins-base was renamed to gstreamer.
Warning: Formula gst-plugins-good was renamed to gstreamer.
Warning: Formula gst-plugins-ugly was renamed to gstreamer.
Error: Operation already in progress for gstreamer.formula
Another active Homebrew process is already using gstreamer.formula.
Please wait for it to finish or terminate it to continue.
What did you expect to happen?
The error should be fixed. The installation should be successful.
Step-by-step reproduction instructions (by running brew commands)
% brew install --cask temurin
% brew install --cask xquartz
% brew install px4-sim-gazebo

What's the output of
lsof +d "$(brew --prefix)/var/home brew/locks"

?

What's the output of
lsof +d "$(brew --prefix)/var/homebrew/locks"

?

Tried, there is no any output with this command.

Upstream should probably update their formula to stop using the old names for those renamed formulae.
Though there is technically a bug here in that the dependency collector doesn't recognise multiple renames into one formula as being a single formula.

Upstream should probably update their formula to stop using the old names for those renamed formulae.
Though there is technically a bug here in that the dependency collector doesn't recognise multiple renames into one formula as being a single formula, so it tries to install gstreamer multiple times.
A workaround might be to brew install gstreamer beforehand.

Tried. I have installed gstreamer with "brew install gstreamer" first. Then reinstall "brew install px4-sim-gazebo". Unfortunately, it still fails.
"
==> Caveats
==> gstreamer
All gst-* GStreamer plugins are now bundled in this formula.
For GStreamer to find your own plugins, add their paths to `GST_PLUGIN_PATH`.
For example, if you have plugins in `~/.local/lib/gstreamer-1.0`:
  export GST_PLUGIN_PATH="~/.local/lib/gstreamer-1.0"

Do not install plugins into GStreamer's prefix. They will be deleted
by `brew upgrade`.
kevin@chenqirongdeMacBook-Pro ~ % brew install px4-sim-gazebo
==> Downloading https://formulae.brew.sh/api/cask.jws.json

==> Tapping homebrew/core
Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core'...
remote: Enumerating objects: 1500685, done.
remote: Counting objects: 100% (74/74), done.
remote: Compressing objects: 100% (37/37), done.
remote: Total 1500685 (delta 42), reused 63 (delta 37), pack-reused 1500611
Receiving objects: 100% (1500685/1500685), 392.96 MiB | 674.00 KiB/s, done.
Resolving deltas: 100% (1053710/1053710), done.
Updating files: 100% (7031/7031), done.
Tapped 3 commands and 6678 formulae (7,042 files, 450MB).
Warning: Formula gst-libav was renamed to gstreamer.
Warning: Formula gst-plugins-bad was renamed to gstreamer.
Warning: Formula gst-plugins-base was renamed to gstreamer.
Warning: Formula gst-plugins-good was renamed to gstreamer.
Warning: Formula gst-plugins-ugly was renamed to gstreamer.
Warning: Formula gst-libav was renamed to gstreamer.
Warning: Formula gst-plugins-bad was renamed to gstreamer.
Warning: Formula gst-plugins-base was renamed to gstreamer.
Warning: Formula gst-plugins-good was renamed to gstreamer.
Warning: Formula gst-plugins-ugly was renamed to gstreamer.
Warning: Formula gst-libav was renamed to gstreamer.
Warning: Formula gst-plugins-bad was renamed to gstreamer.
Warning: Formula gst-plugins-base was renamed to gstreamer.
Warning: Formula gst-plugins-good was renamed to gstreamer.
Warning: Formula gst-plugins-ugly was renamed to gstreamer.
Warning: Formula gst-libav was renamed to gstreamer.
Warning: Formula gst-plugins-bad was renamed to gstreamer.
Warning: Formula gst-plugins-base was renamed to gstreamer.
Warning: Formula gst-plugins-good was renamed to gstreamer.
Warning: Formula gst-plugins-ugly was renamed to gstreamer.
Warning: Formula gst-libav was renamed to gstreamer.
Warning: Formula gst-plugins-bad was renamed to gstreamer.
Warning: Formula gst-plugins-base was renamed to gstreamer.
Warning: Formula gst-plugins-good was renamed to gstreamer.
Warning: Formula gst-plugins-ugly was renamed to gstreamer.
Warning: Formula gst-libav was renamed to gstreamer.
Warning: Formula gst-libav was renamed to gstreamer.
Warning: Formula gst-libav was renamed to gstreamer.
Warning: Formula gst-plugins-bad was renamed to gstreamer.
Warning: Formula gst-plugins-bad was renamed to gstreamer.
Warning: Formula gst-plugins-bad was renamed to gstreamer.
Warning: Formula gst-plugins-base was renamed to gstreamer.
Warning: Formula gst-plugins-base was renamed to gstreamer.
Warning: Formula gst-plugins-base was renamed to gstreamer.
Warning: Formula gst-plugins-good was renamed to gstreamer.
Warning: Formula gst-plugins-good was renamed to gstreamer.
Warning: Formula gst-plugins-good was renamed to gstreamer.
Warning: Formula gst-plugins-ugly was renamed to gstreamer.
Warning: Formula gst-plugins-ugly was renamed to gstreamer.
Warning: Formula gst-plugins-ugly was renamed to gstreamer.
Warning: Formula gst-libav was renamed to gstreamer.
Warning: Formula gst-libav was renamed to gstreamer.
Warning: Formula gst-plugins-bad was renamed to gstreamer.
Warning: Formula gst-plugins-bad was renamed to gstreamer.
Warning: Formula gst-plugins-base was renamed to gstreamer.
Warning: Formula gst-plugins-base was renamed to gstreamer.
Warning: Formula gst-plugins-good was renamed to gstreamer.
Warning: Formula gst-plugins-good was renamed to gstreamer.
Warning: Formula gst-plugins-ugly was renamed to gstreamer.
Warning: Formula gst-plugins-ugly was renamed to gstreamer.
==> Fetching dependencies for px4/px4/px4-sim-gazebo: exiftool, gflags, glog, libavif, gd, jasper, netpbm, gts, librsvg, m4, libtool, graphviz, eigen, metis, isl, mpfr, libmpc, gcc, openblas, suite-sparse, tbb, ceres-solver, numpy, protobuf, boost, double-conversion, gl2ps, glew, libaec, hdf5, jsoncpp, netcdf, pugixml, qt@5, pyqt@5, utf8cpp, vtk, opencv, bullet,
........
==> Installing px4-sim-gazebo from px4/px4
Warning: Formula gst-libav was renamed to gstreamer.
Warning: Formula gst-plugins-bad was renamed to gstreamer.
Warning: Formula gst-plugins-base was renamed to gstreamer.
Warning: Formula gst-plugins-good was renamed to gstreamer.
Warning: Formula gst-plugins-ugly was renamed to gstreamer.
Error: Operation already in progress for gstreamer.formula
Another active Homebrew process is already using gstreamer.formula.
Please wait for it to finish or terminate it to continue.
```"

Try doing brew edit px4-sim-gazebo and deleting these lines:
  depends_on "gst-libav"
  depends_on "gst-plugins-bad"
  depends_on "gst-plugins-base"
  depends_on "gst-plugins-good"
  depends_on "gst-plugins-ugly"

It would probably help if you opened a pull request at px4/px4 to do the same.

Try doing brew edit px4-sim-gazebo and deleting these lines:
  depends_on "gst-libav"
  depends_on "gst-plugins-bad"
  depends_on "gst-plugins-base"
  depends_on "gst-plugins-good"
  depends_on "gst-plugins-ugly"

It would probably help if you opened a pull request at px4/px4 to do the same.

Thank you. The problem has been fixed in this way.

Edited title from the above comment:

Though there is technically a bug here in that the dependency collector doesn't recognise multiple renames into one formula as being a single formula, so it tries to install gstreamer multiple times.

Related to this issue: if you install a formula that depends (possibly recursively) on both glib and<EMAIL_ADDRESS>(other than through glib), then you see<EMAIL_ADDRESS>installed twice. For example, from brew install aws-google-auth:
[snip]
==> Installing aws-google-auth dependency: python
==> Pouring<EMAIL_ADDRESS>==><EMAIL_ADDRESS>-m ensurepip
==><EMAIL_ADDRESS>-m pip install -v --no-deps --no-index --upgrade --isolated --target=/home/l
🍺<EMAIL_ADDRESS>2,845 files, 67.3MB
[snip]
==> Installing aws-google-auth dependency<EMAIL_ADDRESS>==> Pouring<EMAIL_ADDRESS>==><EMAIL_ADDRESS>-m ensurepip
==><EMAIL_ADDRESS>-m pip install -v --no-deps --no-index --upgrade --isolated --target=/home/l
🍺<EMAIL_ADDRESS>2,845 files, 67.3MB


Probability/score of a keypoint

Hi,
Thanks for this sample :)
I'm wondering how to get the probability/score of each keypoint in Android example?
The output of tlLite is heatMapArray, which contains only positions of each keypoint.
Btw, is there any documentation how input and output for a specific model should look like?

The heatMapArray shape is [1, 96, 96, 14] which means [batch_size, height, width, channel].
Channel num here is the keypoints indices.
Therefore the maximum of each [96, 96] is the probability of a keypoints.
I will update the documentation later.

Thank you @edvardHua. I was able to extract those values.
If I may ask, why do you apply Gaussian filter on the heatmaps values?
Should I use values after filtration or before to find the probability? I've noticed that the values
are bit smaller after filtration.


Add geocoding metadata columns description to the analysis

Summoning @juanignaciosl, I think he can explain the column descriptions best.

I've written down a definition for those three columns in the Geocoding metadata summary. I think that the underlined sentence is what you need. Getting into more details is tricky, because the closer you get, the more you depend on the provider, but those three sentences should be good for users.


fix: object client methods can receive dict or list as default_value

This PR
Updates client object methods to accept dict or list as default value.

@federicobond  can we add few test cases to cover this scenario ? This will help to validate this change as well as not break this with future changes

@Kavindu-Dodan sure! Not sure what kind of tests are you referring to, but I did update the one I found that was missing the list case.

To get proper type testing we would have to run mypy or some other typechecker in some example code, but I think this exceeds the scope of this pull request.

Replaced get_object_value for get_object_details in test case. Everything should be green now.

@Kavindu-Dodan sure! Not sure what kind of tests are you referring to, but I did update the one I found that was missing the list case.

Sorry for not being specific. I was referring to the handling list type and seems you already added that.


Html visitor

Codecov Report

Merging #2 (4d66fa3) into master (ea1e457) will decrease coverage by 49.08%.
The diff coverage is 4.76%.

:exclamation: Current head 4d66fa3 differs from pull request most recent head 7b7e42e. Consider uploading reports for the commit 7b7e42e to get more accurate results

@@              Coverage Diff              @@
##             master       #2       +/-   ##
=============================================
- Coverage     97.68%   48.60%   -49.09%
- Complexity       51      102       +51
=============================================
  Files             4        5        +1
  Lines           173      358      +185
=============================================
+ Hits            169      174        +5
- Misses            4      184      +180

Impacted Files
Coverage Δ
Complexity Δ

src/HtmlVisitor.php
0.00% <0.00%> (ø)
49.00 <49.00> (?)

src/PrintVisitor.php
98.61% <100.00%> (+0.04%)
47.00 <3.00> (+2.00)

src/Printer.php
90.90% <100.00%> (ø)
3.00 <0.00> (ø)

Continue to review full report at Codecov.

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


Description fields should require 2x returns

Just thinking that if we want to support paragraphs, etc in some description stuff, we need to have the user signal end of input with two cr's peobably.

The use of the survey package removes this issue. Resolved.


sha256 is relatively expensive

All data is hashed using sha256 to compare the hash on both sides in the final handshake.
Just wanted to note that sha256 is relatively slow / expensive to compute and (somewhat counter-intuitively) even sha512 is much faster (on 64bit platforms and not much slower on 32bit platforms). If one just wants 256bits, one can just throw away half of the sha512 result.
Also there are more modern crypto hashes like blake2 which are even faster, but maybe not that widely available yet as packages for misc. platforms (so that might require to bundle the blake2 code).
This maybe does not matter much as long as one only has little data to transfer or the transmission channel is slow or the CPU is fast.
I don't know how easy it would be to change the hash without running into compatibility problems, so feel free to close this ticket if it is not an option.

Yeah, hash speeds can be weird sometimes :). My 2012 mac (2.6GHz Core-i7) runs shasum -a 256 at 163MBps (so maybe 1.3Gbps). We hash the data as we send it (and as we receive it), so I'm pretty sure the hashing time will be completely hidden by the network latency, unless you're on a platform that has a really slow CPU but some sort of hardware TCP assist that lets it get a really fast transfer despite the CPU.
For the future, we could have a negotiation phase to the protocol (both sides advertise the hashes they support, one side picks their favorite), and yeah I'd probably lean towards Blake2 as an option over sha512, but I don't think the added protocol complexity is a win at this point.
thanks!


Does ipex llm support the LLaMA 3.1 model?

Does ipex llm support the LLaMA 3.1 model?
i try to run LLaMA 3.1 failed.

Hi @JerryXu2023 , do you want to run LLaMA 3.1 with ipex-llm[cpp] or ipex-llm[xpu] ?

If you mean ipex-llm[cpp], Llama 3.1 is supported with ipex-llm[cpp] >= 2.1.0b20240819, you may try it again tomorrow : )

Hi @rnwang04
I want to run llama3.1 with cpp.
i will update to >= 2.1.0b20240819 and try again.
Thanks for you reply soon

Hi @rnwang04
It's work fine now.Thanks


Steam Game Roulette

$rsg (short for random steam game, you could also do $rs) will use the url http://store.steampowered.com/explore/random/ to fetch a random steam game and display some info about it in the IRC chat, along with a link to the game page!

Ideas for the command:

Get link to store page for random game.
Get game price also check if it's on sale.
For the second option I'm looking at multple ways of doing this.
The first way is to fetch from page source

<meta itemprop="priceCurrency" content="[Currency Here]">
<meta itemprop="price" content="[price here]">

That's one way, you could also look for the tags

-[num]%

[currency]$ [price]

[currency]$ [price]

Now of course this is from the page source, I'm not sure if the steam api will allow you to fetch game price, but if I find anything I'll update this post
3. Fetch release date
Release Date: 21 Jun, 2016
4. Fetch rating

Positive

Don't forget recent ones as well

Very Positive

Get a (small?) portion of the game's description

All of this can be done by reading and fetching the page's source. If I find any better way of doing all of this I'll update this post.

[Possible bug in the future]
Age check might popup for some games, I'm not sure how we'd get past that.

Unfortunately I don't think we could get past that.. I could re-query a random game if we run into that, or send a "Game needs age check" message with a link.

Did some digging, maybe this might help?
http://stackoverflow.com/questions/22140197/how-to-pass-age-verification-with-dom

Magical. That looks like it could work.

Ratings Colours
Overwhelmingly Positive: Bright Bold Green maybe bold lime
Very Positive: Bright or lime Green not bolded
Positive: Dark Green
Mostly Positive: Green
Mixed: Orange
Mostly Negative: Red
Negative: Dark Red
Very Negative: Darker Red? I dunno
Overwhelmingly Negative: Bold Darkest Red
Maybe you can upgrade these colour choices with some colours you have in mind.

Added via https://github.com/UclCommander/Dan/commit/8afe10b7a010cbab19414e5f9f0d8cb781394656


Error: enumerateDevices is not defined in not secure connection

I think while adding below code will help to solve issue .. can u update quaggaJS with below code ?
"permissions": {
"audio-capture": {
"description": "Required to capture audio using getUserMedia()"
},
"video-capture": {
"description": "Required to capture video using getUserMedia()"
}
}

getUserMedia() will never work over HTTP (except at localhost) because of a decision made by browser vendors:
https://blog.mozilla.org/webrtc/camera-microphone-require-https-in-firefox-68/
https://stackoverflow.com/a/34198101/6672199
The way that browsers handle this is by pretending as if they do not support WebRTC by setting enumerateDevices and getUserMedia to undefined.

iOS seems to handle it that way, Chrome handles it by throwing an exception.
Manukk seems to be asking for something specifically relating to Android permissions, which are also necessary at some point, probably when packaged as an application.
Unfortunately, he doesn't seem to be telling us anywhere near enough information to help.  If you want something added to the code, a pull request works better than an issue.

I tried ios13 and ios14 both, seems the line below throws an error as "Unable to play video stream. Is webcam working?" this is even though a thin line of preview is shown, If I change the css for the video element to use 100% width the preview does show up full screen but its highly zoomed and unusable (even as a human I cannot make out anything as its highly zoomed)
Quagga.init(this.state, function(err) {
    if (err) {
        console.log(err);
        App.attachListeners();
        return;
    }
    App.attachListeners();
    App.checkCapabilities();
    Quagga.start();
}

I would be happy to help debug this further as I managed to get hold of two devices one on ios13 and one on ios14


Generate a BOM with sundrio

No super strong opinions, but for this mundane tasks we can make use of some magic.
Inspiration from the Fabric8 Kubernetes Client.
Alternative to #325

Cannot quickly get the spotless exclusion to work to pass the CI, will look deeper into if we decide to move on with this.

This is cool, and I like that it's automatic, but I have some concerns about this plugin. It generates the module and then builds it inline during execution of the goal (which is why Spotless fails). This is an interesting technique, but I've never seen a plugin that does this, so I wonder if this can cause any problems. When running with mvn -T or Maven Daemon (which I always use), it prints this warning:
[WARNING] *****************************************************************
[WARNING] * Your build is requesting parallel execution, but this         *
[WARNING] * project contains the following plugin(s) that have goals not  *
[WARNING] * marked as thread-safe to support parallel execution.          *
[WARNING] * While this /may/ work fine, please look for plugin updates    *
[WARNING] * and/or request plugins be made thread-safe.                   *
[WARNING] * If reporting an issue, report it against the plugin in        *
[WARNING] * question, not against Apache Maven.                           *
[WARNING] *****************************************************************
[WARNING] The following plugins are not marked as thread-safe in Chicory:
[WARNING]   io.sundr:sundr-maven-plugin:0.200.0
[WARNING]
[WARNING] Enable debug to see precisely which goals are not marked as thread-safe.
[WARNING] *****************************************************************

Looking at the plugin code, it's actually not thread safe:
private static final Set<String> GENERATED_ARTIFACT_IDS = Collections.synchronizedSet(new HashSet<String>());

Another consideration is that the generated BOM contains all modules, including the internal Maven plugins. I intentionally only included the public modules in the hand-generated BOM.
Given these issues, the hand-written BOM seems preferable. It's simple, reliable and easy to understand. I expect that adding modules will be rare, so adding an entries to the BOM should not be a burden.


Remove unnecessary modifiers from interfaces

Code in log4j-over-slf4j is legacy. There is no point in beautifying it.

NP

If it's legacy why support it at all?  I agree with person making PR on this.  we still use this code in production.  There is a lot to be said about clean correct code.  It's not a pretty issue.  I don't see why a PR gets nixed for something like this.  Log4j legacy or not is still highly prevent in usage and slf4j supports it so why not have nice clean code that will pass all modern scanners.  There is no downside here.
Sent by Outlook for Android
On Fri, Oct 16, 2015 at 12:16 PM -0700, "Ceki Gulcu"<EMAIL_ADDRESS>wrote:
Code in log4j-over-slf4j is legacy. There is no point in beautifying it.

Reply to this email directly or view it on GitHub:
https://github.com/qos-ch/slf4j/pull/123#issuecomment-148810763


SCH logo not displayed in Mobile version

Yeah this is because of the hamburger icon that allows us to open the navbar on mobile. It would look cluttered with the rest of the icons on the header. Do you have any suggestions or ideas?

I like the React & Quasar ones


Need the document about the firehost metric rep.CellTasksSucceeded rep.CellTasksStarted and rep.CellTasksFailed

There are 3 value metrics from firehose nozzle about the rep cell tasks measurement.
rep.CellTasksSucceeded
rep.CellTasksStarted and
rep.CellTasksFailed
But I can not find any document to explain how the metrics measure the health of Cell

Hi, @goupeng212,
Those metrics are not present in the component metrics that the rep process emits. There is a PR (#12) to the rep to introduce metrics with those names, but it is not merged, and there are no plans to merge it in that form. Are you operating a fork of Diego that incorporates that PR?
Thanks,
Eric, CF Diego PM

Closing due to inactivity.


Reflect noexec in portal

Button to set/unset noexec on repo
repo info should show its noexec state

dont understand?

See: https://github.com/Jumpscale/jumpscale_core8/blob/8.1.0/docs/AYS/Commands/noexe.md


Cannot access one's own collection that's not published yet

I noticed that there's no easy way to view one's own collection that's not published yet.
For example, I can create a collaborative collection, and I can see the admin page:

Now, if I don't click "Make public" there, and navigate out from the page, there's no easy way to go back to the admin panel of that collection, aside from accessing the URL. (As far as I can tell.)
It would be nice to have them listed under (1) the Collections tab or (b) the Drafts tab.

I'm leaning towards rendering a draft collection in the drafts tab, since it would make sense to have all the drafts in one place.

Here's a rough mock-up of what I'm thinking.


Add Deploy to the Extension List under API Testing

Keploy Docker Extension is a developer-centric API testing tool that creates backend tests along with built-in mocks, faster than unit tests.
Keployio  is an AI-based test case and stubs/mocks generator for e2e testing. 90% test coverage in minutes with open source testing tool
https://github.com/Yaxhveer/keploy-docker-extension

Cc @sivolko

Added, Feel free to close issue #162


fixed bug: Meshery bash installer incorrect #67

Signed-off-by: vaibhav bisht<EMAIL_ADDRESS>Description
This PR fixes #67
Notes for Reviewers
Signed commits

[X] Yes, I signed my commits.

Whoo-hoo! 🎈 @vaibhav135 👏

@leecalcote Thanks. Finally my first open source contribution.

🥇


Editor crashes at launch after enabling autoscan of projects folder(s)

Describe the bug
After enabling the autoscan of the project folder(s) and closing the Manager, at the next launch it will crash
To Reproduce
Steps to reproduce the behavior:

Go to Settings/Projects
Toggle "Enable Auto Scan"
Reboot Godot Manager
Crash at launch

Expected behavior
The Manager should just start
Screenshots
Here's the exception shown when launching from console:
Unhandled Exception:
System.NullReferenceException: Object reference not set to an instance of an object
  at BusyDialog.UpdateHeader (System.String text) [0x00000] in <f7b093cfd2f94b2ca92bd10d8f1454ab>:0
  at ProjectsPanel.ScanForProjects () [0x00191] in <f7b093cfd2f94b2ca92bd10d8f1454ab>:0
  at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__7_0 (System.Object state) [0x00000] in <02071a39c8a34187bdd1f58e4be38764>:0
  at Godot.GodotSynchronizationContext.ExecutePendingContinuations () [0x0001d] in <d0b7d6b6d74e4318be3dfcff5c3b7c05>:0
  at Godot.GodotTaskScheduler.Activate () [0x0000c] in <d0b7d6b6d74e4318be3dfcff5c3b7c05>:0
  at (wrapper native-to-managed) Godot.GodotTaskScheduler.Activate(Godot.GodotTaskScheduler,System.Exception&)

Unhandled Exception:
System.NullReferenceException: Object reference not set to an instance of an object
  at BusyDialog.UpdateHeader (System.String text) [0x00000] in <f7b093cfd2f94b2ca92bd10d8f1454ab>:0
  at ProjectsPanel.ScanForProjects () [0x00191] in <f7b093cfd2f94b2ca92bd10d8f1454ab>:0
  at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__7_0 (System.Object state) [0x00000] in <02071a39c8a34187bdd1f58e4be38764>:0
  at Godot.GodotSynchronizationContext.ExecutePendingContinuations () [0x0001d] in <d0b7d6b6d74e4318be3dfcff5c3b7c05>:0
  at Godot.GodotTaskScheduler.Activate () [0x0000c] in <d0b7d6b6d74e4318be3dfcff5c3b7c05>:0
  at (wrapper native-to-managed) Godot.GodotTaskScheduler.Activate(Godot.GodotTaskScheduler,System.Exception&)

Complete the Following:

OS: Manjaro Linux (kernel: 6.1.12-1-MANJARO), Ryzen 5 3600, RX 580 8GB
Version 0.2.1

Additional context
NaN

Can you verify that in Settings > Projects > Directories to scan, are there any listed in there for one.  And for two, if there are paths listed in there, can you verify that there are no Empty ones?  You will be able to tell if there is an Empty one, but clicking below the last entry in the list, and if it highlights an empty line, it will be an empty one, and you should be able to remove that line, save it, and check and see if Auto-Scan works after that.

I see this behavior as well, it can be addressed by changing the variable EnableAutoScan to false in central_store.json in the Godot-Manager settings directory (typically set in %APPDATA% on Windows), .local on Linux. It would be nice to know if this project is still active.

It is active, there is currently a big re-work of the project to switch to Godot 4, and work was progressing on a new Scraper for Tuxfamily, to be more in line in the data structure as what is used with Github.  Work will hopefully be progressing faster now on the main core project, now that everything is working as it should with the new Scraper.

This is fixed in commit eeb7580.  As described in the commit message, the BusyDialog is not ready in time for the startup of the application, causing it to fail to process.  This is now fixed by Looping over a wait for IdleFrame, and checking for when BusyDialog.Header is not null.


Visibility: onOnScreen doesn't fire if element is onScreen on first render

Hello Guys!
I'm basically trying to show a react element that is onScreen on first render. So, I found Visibility: onOnScreen doesn't fire if element is onScreen on first render, which lead me to this page.
1)According to the comment on there on Sep 11, a fix was released at version 0.73.0
I have version 0.76.0 in my project. However, when wrapping it with a Visibility react tag, an element, say an image, does not show until I scroll, even though the image is already partially onScreen.
Here is a codesandbox to show this issue.
2)Also, if I include the fireOnMount prop on the Visibility tag, then calculations.onScreen is always equal to true. Is that normal? I can't understand the reason for this...What is fireOnMount for? I don't get it from the docs https://semantic-ui.com/behaviors/visibility or https://react.semantic-ui.com/behaviors/visibility
Thanks for any assistance on these 2 points

You need to set fireOnMount, see forked codepen as Visibity doesn't fire events on component mount by default.

Yes, it's on normal. onScreen represents position of an element, if it's true that means that element is visible on the screen. See forked codepen and scroll down, once element will not visible, onScreen will become false.

Hi layershifter!
I was finally able to resume my work on this and just checked the forked pens.
Thanks for taking the time: it did help me out!


ENG-1524: Change retry mechansim default in LightningClient

What does this PR do?
Fixes ENG-1524
Previously, calls to the LightningClient would follow an exponential backoff retry mechanism when calling APIs. This is desired for calls in the cloud, but not for calls in the CLI. This PR changes this default. The cloud backend will still use the retry mechanism, but the LightningClient instances used in the CLI will immediately error out when an API call can't reach the endpoint.
Before submitting

[x] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[x] Did you make sure to update the documentation with your changes? (if necessary)
[x] Did you write any new necessary tests? (not for typos and docs)
[x] Did you verify new and existing tests pass locally with your changes?
[x] Did you update the CHANGELOG? (not for typos, docs, test updates, or internal minor changes/refactorings)

PR review
Anyone in the community is free to review the PR once the tests have passed.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:

[x] Is this pull request ready for review? (if not, please submit in draft mode)
[x] Check that all items from Before submitting are resolved
[x] Make sure the title is self-explanatory and the description concisely explains the PR
[x] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
I made sure I had fun coding 🙃
cc @borda

The test tests_app/utilities/test_secrets.py::test_names_to_ids is failing here in the CI but not locally. I suspect we set an environment variable somewhere that I don't have set locally, but I don't know where. I can't relate it to the changes in this PR. @tchaton @manskx any idea what it could be?

Blocked by issues in meta package replacing imports #15446

@awaelchli mind have a look at failing tests? Could be due to secrets?


[BUG] Correct way to document RedirectResponse in openapi?

Description
How can I make openapi work correctly if i my handler return a RedirectResponse?
I try simply do this but i got ValidationError
from fastapi.applications import FastAPI
from starlette.responses import RedirectResponse, Response
app = FastAPI(docs_url="/")

@app.get('/redirect', status_code=307, response_class=Response)
async def redirect():
    return RedirectResponse('/')
# OR
@router.get('/redirect', response_class=RedirectResponse)
async def redirect():
    return RedirectResponse('/')

if __name__ == '__main__':
    import uvicorn
    uvicorn.run(app, port=8001, reload=True)

pydantic.error_wrappers.ValidationError: 4 validation errors
paths -> /redirect -> get -> responses -> default
  field required (type=value_error.missing)
content -> __key__
  none is not an allowed value (type=type_error.none.not_allowed)
responses -> 307 -> content
  value is not none (type=type_error.none.allowed)
paths -> /redirect -> get
  value is not none (type=type_error.none.allowed)

But this works:
from fastapi.applications import FastAPI
from fastapi import APIRouter
from starlette.responses import RedirectResponse, Response, HTMLResponse
app = FastAPI(docs_url="/")
router = APIRouter()

@router.get('/redirect', response_class=HTMLResponse, status_code=307)
async def redirect():
    return RedirectResponse('/')

app.include_router(router)

if __name__ == '__main__':
    import uvicorn
    uvicorn.run(app, port=8001, reload=True)

I wasn't able to reproduce the issue, maybe it was related to a previous version.
This seems to work:
from fastapi.applications import FastAPI
from starlette.responses import RedirectResponse, Response
app = FastAPI(docs_url="/")

@app.get('/redirect', status_code=307, response_class=Response)
async def redirect():
    return RedirectResponse('/')

Yes, I'll close it.


Question:

Would it in any way be possible to view your top total time spent in a call with others?
Ive been looking for that for ages now but seems to be impossible...
(I dont have an issue this is just a question and idk any other place to ask a question about this)

Hmm, not sure - as far as I know there's no fixed number Discord tracks for that, but depending on your privacy settings the data package may include events for every time you connected and disconnected from a voice call.
So as long as that data is available (and it's reliable), those events could be used to calculate the total time spent in voice channels.
I think it might even be possible to match those events to specific channels and servers, but that would be quite a bit of effort.
No guarantee I'll work on that soon, but it seems possible and would be a cool addition.


ValueError: cannot reshape array of size 251802 into shape (512,512,3,3)

python3 convert_weights_pb.py --class_names coco_pf.names --weights_file yolov4-tiny-_final.weights --data_format NHWC --tiny
Hello, when I use the above command, I give the following error report
ValueError: cannot reshape array of size 251802 into shape (512,512,3,3)
How to solve this problem, thank you very much

你好！ 可能会是以下问题，你排查一下
1：训练时的.weights 模型的输入图片大小是多少 需要与convert_weights_pb.py里的输入匹配  https://github.com/TNTWEN/OpenVINO-YOLOV4/issues/10  第三和第四点
2：确保.names文件类别数量和训练模型一致

Hello there! It may be the following problems, please check
1: What is the input image size of the .weights model during training? It needs to match the input in convert_weights_pb.py #10 The third and fourth points
2: Ensure that the number of .names file categories is consistent with the training model
I get the same error when trying to convert a custom yolov4-tiny model. Size is 416x416 and number of classes is 6, with the cfg file edited to fix the filters to be 33.

@zhubinsheng @sparkie2640
Have you solved the problem?
You can share your. cfg and. names files here

And how you train your model is also important. Many repos don't build models according to darknet . cfg, which also causes the. weights file to conflict with the this repos. You could use https://github.com/AlexeyAB/darknet  or  https://github.com/ultralytics/yolov3 to train your model!

Names File 20201101_v4.names:
Flower Disease Stalk Ground Tractor Wheel
CFG File 20201101_v4.cfg:
`[net]
#Training
batch=64
subdivisions=8
width=416
height=416
channels=3
momentum=0.9
decay=0.0005
angle=0
saturation = 1.5
exposure = 1.5
hue=.1
learning_rate=0.00261
burn_in=200
max_batches=12000
policy=steps
steps=9600,10800
scales=.1,.1
[convolutional]
batch_normalize=1
filters=32
size=3
stride=2
pad=1
activation=leaky
[convolutional]
batch_normalize=1
filters=64
size=3
stride=2
pad=1
activation=leaky
[convolutional]
batch_normalize = 1
filters=64
size=3
stride=1
pad=1
activation=leaky
[route]
layers = -1
groups=2
group_id=1
[convolutional]
batch_normalize=1
filters=32
size=3
stride=1
pad=1
activation=leaky
[convolutional]
batch_normalize = 1
filters=32
size=3
stride=1
pad=1
activation=leaky
[route]
layers = -1,-2
[convolutional]
batch_normalize=1
filters=64
size=1
stride=1
pad=1
activation=leaky
[route]
layers = -6,-1
[maxpool]
size=2
stride=2
[convolutional]
batch_normalize=1
filters=128
size=3
stride=1
pad=1
activation=leaky
[route]
layers = -1
groups=2
group_id=1
[convolutional]
batch_normalize=1
filters=64
size=3
stride=1
pad=1
activation=leaky
[convolutional]
batch_normalize = 1
filters=64
size=3
stride=1
pad=1
activation=leaky
[route]
layers = -1,-2
[convolutional]
batch_normalize=1
filters=128
size=1
stride=1
pad=1
activation=leaky
[route]
layers = -6,-1
[maxpool]
size=2
stride=2
[convolutional]
batch_normalize=1
filters=256
size=3
stride=1
pad=1
activation=leaky
[route]
layers = -1
groups=2
group_id=1
[convolutional]
batch_normalize=1
filters=128
size=3
stride=1
pad=1
activation=leaky
[convolutional]
batch_normalize = 1
filters=128
size=3
stride=1
pad=1
activation=leaky
[route]
layers = -1,-2
[convolutional]
batch_normalize=1
filters=256
size=1
stride=1
pad=1
activation=leaky
[route]
layers = -6,-1
[maxpool]
size=2
stride=2
[convolutional]
batch_normalize=1
filters=512
size=3
stride=1
pad=1
activation=leaky
##################################
[convolutional]
batch_normalize = 1
filters=256
size=1
stride=1
pad=1
activation=leaky
[convolutional]
batch_normalize = 1
filters=512
size=3
stride=1
pad=1
activation=leaky
[convolutional]
size = 1
stride=1
pad=1
filters=33
activation=linear
[yolo]
mask = 3,4,5
anchors = 10,14,  23,27,  37,58,  81,82,  135,169,  344,319
classes=6
num=6
jitter=.3
scale_x_y = 1.05
cls_normalizer=1.0
iou_normalizer=0.07
iou_loss=ciou
ignore_thresh = .7
truth_thresh = 1
random=0
resize=1.5
nms_kind=greedynms
beta_nms = 0.6
[route]
layers = -4
[convolutional]
batch_normalize=1
filters=33
size=1
stride=1
pad=1
activation=leaky
[upsample]
stride = 2
[route]
layers = -1, 23
[convolutional]
batch_normalize=1
filters=256
size=3
stride=1
pad=1
activation=leaky
[convolutional]
size = 1
stride=1
pad=1
filters=33
activation=linear
[yolo]
mask = 1,2,3
anchors = 10,14,  23,27,  37,58,  81,82,  135,169,  344,319
classes=6
num=6
jitter=.3
scale_x_y = 1.05
cls_normalizer=1.0
iou_normalizer=0.07
iou_loss=ciou
ignore_thresh = .7
truth_thresh = 1
random=0
resize=1.5
nms_kind=greedynms
beta_nms = 0.6`
Trained on the latest pull of AlexeyAB's fork of darknet
darknet detector train 20201101_v4.data 20201101_v4-train.cfg  yolov4-tiny.conv.29 -dont_show -mjpeg_port 8090
I've compared the cfg file to the stock yolov4-tiny from Alexey's repo. With the exception of burn-in, batches, steps, classes, and filters the cfg file is identical, and correct. I am able to do yolov3 no problem.
I can also provide the weights file if you'd like.

I believe I found the issue in the cfg file during training. One of the convolutional layers was set to 33 when it should be 128. Retraining now.

我使用你提供的yolov4-tiny.weights文件可以转化成功，而且可以在任何条件转化成功，比如我修改成我自己的ｃｏｃｏ．name 或者是我自己的ｃfg文件或者是在这里面修改成inputs = tf.placeholder(tf.float32, [None, 1920, 1080, 3], "inputs")，都是可以转化成功．
这很奇怪，我只是一个新手，但是实验让我认为修改参数不是关键的原因，根本的决定因素是训练模型使用的参数

因为没有全连接层，Yolo模型是不限制输入大小的，并且支持多尺度训练，此项目中输入大小和训练时大小匹配只会影响你的检测效果。在使用你自己的数据集训练时，模型结构只需要也只能修改yolo层的类别数量和yolo层前的那个卷积通道。darknet中训练模型即使改错了cfg文件也能训练，但tensorflow是静态图，如果训练错误就会导致你遇到的情况。在本项目中根据names文件自动识别你的类别数，所以一定要使用正确的names文件。

类别数量影响yolo层前的卷积层通道数量，通道数量决定了模型参数量，我没有尝试过在转换为pb模型时候用错误的类别数，我觉得如果你设大于80个类别，weights文件中的参数就会不够用，就会报错。如果你是把类别改少了，模型参数够用，也不会报错，只不过错误地转换了模型而已。你可以尝试一下

Yes, you are correct on all counts. The training was done improperly, with one of the convolutional layers changed from 128 to 33, so when it was converted it was expecting more data in the array which was not there. Hence the shape error.

Yes, you are correct on all counts. The training was done improperly, with one of the convolutional layers changed from 128 to 33, so when it was converted it was expecting more data in the array which was not there. Hence the shape error.

Yes！For yolov3 and yolov4 (not tiny version) I also made a tool that automatically parses the .cfg file to generate the conversion code, also welcome to try https://github.com/TNTWEN/OpenVINO-YOLO-Automatic-Generation
This month I will share how to optimize the full version of the YOLOv3/v4 model in OpenVINO for deployment at the edge


Random cleanup 2

This PR contains 8 different clean-ups each described in the commit message.
I recommend to review this commit by commit.
And it saves 450 Bytes of flash.
SITL Mission test with strange behavior: Here (SOLVED)
https://github.com/PX4/Matrix/pull/117 is solving the issue. New SITL Mission test log

@bresch I ran a SITL square mission test. The line tracking and estimation is not that great, is this normal?

Commit "Improve matrix library usage" introduced some error. Investigation ongoing.

updated

Flight Tests passed, they can be found here: https://github.com/PX4/Firmware/pull/13870


No consistent qatt refresh on changing scraped files

Describe the bug
When I change a file that is being scraped by a qatt query with templates, the results are not immediately refreshed. Hence, a manual qatt refresh is necessary. That used to work.
To Reproduce
See Video under screenshots
Expected behavior
qatt block refreshed automatically on change of scraped files
Screenshots
Video illustrating the bug on Ubuntu: https://github.com/user-attachments/assets/656d1749-ff44-4804-ad3b-f42f71f6c547
Desktop (please complete the following information):

OS: Ubuntu 22.04
Obsidian Version: v1.6.7
Plugin Version: 1.0.2

Smartphone (please complete the following information):

Device: Samsung S10
OS: Android
Obsidian Version: v1.6.7
Plugin Version: 1.0.2

I added a debounce/delay to the refresh as it was doing it after a few seconds on every character typed, which was excessive loading and churn.
So I think I can reproduce, if you rename a file and wait 11 seconds and then rename the file again does it refresh correctly?
If so in settings there is an option to set how many milliseconds to wait until the refresh happens, what should be happening is once the debounce window is closed it should be refreshing any way, that is after 10000 milliseconds do a refresh of the markdown blocks. This does not seem to be happening consistently.
I am creating a patch version that will have a setting to disable the debounce completely, with that the renames are update instantly. However, you will have more queries run in the background which can lead to UI slow down on complex queries being shown or on a loaded page that need larger updates and refresh. So, when editing a page, you may end up seeing a UI pause or stutter if you have large query results open.
I'll try and work out why the debounce is not working as intended. You can shortent the window for the moment to a number that works for you until I get the update done tonight/tomorrow.

From: Georg Gentzen @.>
Sent: Saturday, September 28, 2024 8:29 AM
To: sytone/obsidian-queryallthethings @.>
Cc: Subscribed @.***>
Subject: [sytone/obsidian-queryallthethings] No consistent qatt refresh on changing scraped files (Issue #27)
Describe the bug
When I change a file that is being scraped by a qatt query with templates, the results are not immediately refreshed. Hence, a manual qatt refresh is necessary. That used to work.
To Reproduce
See Video under screenshots
Expected behavior
qatt block refreshed automatically on change of scraped files
Screenshots
Video illustrating the bug on Ubuntu: https://github.com/user-attachments/assets/656d1749-ff44-4804-ad3b-f42f71f6c547
Desktop (please complete the following information):

OS: Ubuntu 22.04
Obsidian Version: v1.6.7
Plugin Version: 1.0.2

Smartphone (please complete the following information):

Device: Samsung S10
OS: Android
Obsidian Version: v1.6.7
Plugin Version: 1.0.2

—
Reply to this email directly, view it on GitHubhttps://github.com/sytone/obsidian-queryallthethings/issues/27 or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAKVVE4FYRIQOO7B2NHYVYTZY3DNBBFKMF2HI4TJMJ2XIZLTSOBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJLJONZXKZNENZQW2ZNLORUHEZLBMRPXI6LQMWBKK5TBNR2WLJDUOJ2WLJDOMFWWLLTXMF2GG2C7MFRXI2LWNF2HTLDTOVRGUZLDORPXI6LQMWSUS43TOVS2M5DPOBUWG44SQKSHI6LQMWVHEZLQN5ZWS5DPOJ42K5TBNR2WLKJWGM2TINJUGIZDNAVEOR4XAZNFNFZXG5LFUV3GC3DVMWVDENJVGQZTGNJVGQ4KO5DSNFTWOZLSUZRXEZLBORSQ.
You are receiving this email because you are subscribed to this thread.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

1.1.2 is in build now and should be released shortly.

1.1.3 is coming which uses a separate debounce library that is working better, I am not deep in JS/TS and the async world with generics so not able to resolve or work out all the issues fast.

1.1.3 is now released, please use this with debounce enabled and vary the delay. I would recommend restarting obsidian when tweaking as the times are only changed when the code block is rendered so you have to be opening and closing pages and sometimes obsidian caches which causes issues.

The additional option to set the debouncing delay works very well. I'd consider this issue closed.

Thanks for the feedback, I will close this issue up. Please let me know if you have any other issues or suggestions.


feat(perf): adapt policy for new classloader system

⚠ This PR contains also a dedicated commit that fix an issue related to the json schema which defines exclusiveMaximum and exclusiveMinimum as boolean instead of integer and avoid the validation from the management console side (see https://json-schema.org/understanding-json-schema/reference/numeric.html#range). As maximum and minimum field are de facto inclusives, the fix simply remove the exclusiveMaximum and exclusiveMinimum fields.
Please keep the 2 commits when merging to master (dot not squash to keep the history clear).
Closes gravitee-io/issues#6758

:tada: This PR is included in version 1.1.0 :tada:
The release is available on:

[secure]
GitHub release

Your semantic-release bot :package::rocket:


Set priorityclass in prometheus

The goal is to prevent eviction of prometheus when some pods with higher priority are created as part of the test.
/hold (for me to ensure in manual run that the goal is achieved)
/assign @tosi3k

/lgtm

Also keeping grafana is useful to track progress during tests with preemption.
/hold cancel

/lgtm

/lgtm

I think some transient bug prevented the reintroduction of LGTM :/.
/lgtm


Fixing symlinks for tests.

@jdorfman @XhmikosR assuming the specs on this pass, you should be able to merge it in to your branch -- https://github.com/MaxCDN/bootstrapcdn/pull/971 -- and be good to ship that.

But this is intentional. We don't want to bump the latest. Instead you should revert ASAP the CDN files to the ones from the symlinks.

I didn’t change the S3 at any point.
I can revert the latest symlink, but the config will need to be changed to reflect latest as which ever version is symlinked. That will also display as the primary version on the site as well.
This makes no sense though. Why is 4 not the latest? That breaks the pattern we’ve always used.

@jdorfman ^^?

I don't see why the config needs to be changed. It doesn't affect the CDN and it's only for the frontend code.
So, yes, please sync the files like they are in the develop branch.

As to why, it makes total sense. v4 is a major version and it will break every dependent site. The latest feature should have never been implemented like that. It needs proper version handling (like latest@3 etc) and I for one can't do that with S3.

@jdorfman I’ll leave this to you. Latest has never been advertised AFAIK and we’ve never treated it as such. The expectation had always been that latest would break on update. Perhaps pull numbers on its usage?
If anything, we should just remove latest all together. IMHO.

This is something I've already discussed with Justin. It's not my own decision ;)

As for its removal, consider it deprecated. And we remove it after a few months or something like that.

I think 3.3.7 is a good version to stop at with latest. We won't remove the symlinks, or update them. They will just be stuck in time. 4.0.0 is a clean slate.

@jmervine let's just remove /latest from the tests. No longer supported.


object detection with jetpack compose

I'm participating in GSoC and I built an object detection example app with jetpack compose similar to the existing XML one as a contribution. The source code includes a lot of comments explaining how and why I built it the way I did so that it can help other developers use mediapipe with jetpack compose.

Advice for next time since I know you're new to git: you'll want to 'squash' your commits so it's just one for the PR.  Otherwise LGTM. Thanks!


feature: dfget reports client error to supernode

Signed-off-by: lowzj<EMAIL_ADDRESS>
Ⅰ. Describe what this PR did
related pr: #583
backport to branch `0.3.x
Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗？)
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #587 into 0.3.x will decrease coverage by 0.03%.
The diff coverage is 44.73%.

@@            Coverage Diff            @@
##           0.3.x     #587      +/-   ##
=========================================
- Coverage   53.4%   53.36%   -0.04%
=========================================
  Files         56       56
  Lines       2996     3030      +34
=========================================
+ Hits        1600     1617      +17
- Misses      1316     1332      +16
- Partials      80       81       +1

Impacted Files
Coverage Δ

dfget/core/helper/test_helper.go
0% <0%> (ø)
:arrow_up:

...t/core/downloader/p2p_downloader/p2p_downloader.go
0% <0%> (ø)
:arrow_up:

dfget/core/api/supernode_api.go
100% <100%> (ø)
:arrow_up:

...get/core/downloader/p2p_downloader/power_client.go
51.11% <44%> (-1.13%)
:arrow_down:

Continue to review full report at Codecov.

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


Argument Resolver Docs?

Hi there,
while playing around with SensioLabs/BehatPageObjectExtension I found that their PageContext ist deprecated and they suggest to use the argument resolver instead. After some searching I found that this is something Behat specific but couldn't figure out from the code what to do and how to use it.
Is there any documentation flying around somewhere?

Argument resolvers are an extension point in Behat. They provide no userland functionality out of the box, but some extensions can provide their own support for those. Like Symfony2Extension:
https://github.com/Behat/Symfony2Extension/blob/master/doc/index.rst#injecting-parameters
https://github.com/Behat/Symfony2Extension/blob/master/src/Behat/Symfony2Extension/Context/Argument/ServiceArgumentResolver.php

@mozzymoz it's simpler then you think. Have a look at the docs.
I also added an additional explanation to the deprecation message.
If you think there's still use for the context, open an issue at https://github.com/sensiolabs/BehatPageObjectExtension

@jakzal great thanks :)