TypeError: init() got an unexpected keyword argument 'backbone'

while i am trying to test on different random images using stack.py, i am getting the following error
python stack.py  --dataset=/home/ubuntu/deeplabs/images/  --batch_size=1
Found 1 images Traceback (most recent call last):   File "stack.py", line 173, in <module>     stack = Stack(args)   File "stack.py", line 94, in __init__     freeze_bn=False) TypeError: __init__() got an unexpected keyword argument 'backbone'

I am sharing stack.py for final ensemble of various models, which improves the performance.
If you do not understand the script, I recommend you to use evaluate.py instead.

Hi Thanks for your reply.
I am having hard times to test on single image(not in bdd100k) as i am new to pytorch. can you please provide steps to test on single image.
Thanks in advance

#2
It will help you.


Fix exception in TFsShell

Fix exception when tail an empty file.
Remove the  parameter in getUsedBytes, getCapacityBytes.
Add error message when operation mv is failed.

Jenkins, test this please.

Jenkins, test this please.

@carsonwang  Could you please create a JIRa for this?
http://tachyon-project.org/master/Contributing-to-Tachyon.html

Sure. a Jira TACHYON-403 is created.

Jenkins, test this please.

Jenkins, retest this please.

+1 LGTM


JAMES-3604 Use publish confirm

CPU utilisation related to RabbitMQ as expected increased (1.30 % -> 2.6%) however latencies went from 67ms to 90+ ms at ~800 req/s.
RPC related to Channel::confirmSelect done repeatedly are rather expensive, and I notice some active creation of channels.
As such, I feel unconfident with the publish / confirm part of the work and would split it to another pull request...
https://www.rabbitmq.com/tutorials/tutorial-seven-java.html
Confirms should be enabled just once, not for every message published.

Not the case given my implementation.
For now I see several solutions:

rely on a sink to pass all messages as part of a single Flux. Thus init is done once. The done side is that the result is asynchronous to the caller (error handling would not be propagated)
enable publish confirms globally in ReactorRabbitMQChannelPool and re-implement send operation to skip confirmSelect activation...
Wrap channel in a super-class that activated confirmSelect only once (AtomicBoolean?)
...

See https://github.com/apache/james-project/pull/508#issuecomment-869131638

Before
RabbitMQ uses 2.6% of CPU, we notice active channel creation and a lot of time is spent doing confirmSelect.

After the last 2 commits
We no longer close the connection for nothing and publishConfirms are activated once, and RabbitMQ CPU is down to 2%.

Before (No publish confirms)

After (First two commits)

After (First two commit and performance fixes)

james-server-queue-rabbitmq: There was a timeout or other error in the fork -> [Help 1]

I read it

james-server-queue-rabbitmq: There was a timeout or other error in the fork -> [Help 1]

I've been seeing similar issues a couple of times lately, I'm not sure what to think...

I've been seeing similar issues a couple of times in builds lately, I'm not sure what to think...

On this build this was due to a failing test...


Save memory/reduce dupe size of DHDD

Don't store zeros in table to make bit less memory usage and reduce dupe file size.

@AbigailBuccaneer Nope, it's not currently enabled. There was a request created few years ago, though it hasn't gone anywhere.
As for tracking size, I'd say manage size explicitly. I'm not sure if keeping track of the highest written address will really be useful.

As for tracking size, I'd say manage size explicitly. I'm not sure if keeping track of the highest written address will really be useful.

By 'manage size explicitly' do you mean 'use a constant size of 262144'? My suggestion was that the highest written address is a useful metric of 'size' the presence of nil holes.

By 'manage size explicitly' do you mean 'use a constant size of 262144'? My suggestion was that the highest written address is a useful metric of 'size' the presence of nil holes.

There's no way to differentiate between what someone wants to include and what they want as 0, so I can't really think of any way that'd make it useful. The only thing I can see making sense is using a constant size of 262144.

@AbigailBuccaneer if talk about "written size", there is nothing prevents you to write not consistently. If you write first 7 and then 2, written size will stay 0, so this actually was always broken. But instead of storing zeros in memory/advdupe files for nothing (and making dupe files larger) i created this pull request.

@AlexALX yes, I'm aware that the size isn't currently well-defined in all cases - but with this pull request, the size isn't well-defined even in the case where you write to every cell between 1 and 262144. The situation's already bad but this PR makes it marginally worse.
There are multiple ways forward here:

Just leave the size broken / underspecified as it is (easiest)
Change the size to be a constant 262144 (easiest way to not have undefined behaviour)
Change the size to a high water mark (most similar in behaviour to its current behaviour while still being well-defined and useful to the user)
Change the size to the highest non-zero element written (similar to current behaviour, well-defined, allows for shrinking - possibly most useful? writing zero to memory is no longer constant time)

I think regardless of these, the self.Memory table should have a __len metamethod that returns the size, and an __index that returns 0.
I'm most tempted by option 2. Do other @wiremod/developers have opinions?

@AbigailBuccaneer it seems like you don't understand that DHDD already have max size like constant 262144 in mp, you can't write more that 262144 cells. So then it should be just "256kb" and thats all. But in sp it can be higher. So best solution is just display max written address as current size (in both sp/mp, 4 variant in your message).

@AbigailBuccaneer it seems like you don't understand that DHDD already have max size like constant 262144 in mp, you can't write more that 262144 cells. So then it should be just "256kb" and thats all. But in sp it can be higher.

It's a constant 262144 in multiplayer and singleplayer - see #1075. I'm well aware of these limits and took them into account when suggesting these four options.

@AbigailBuccaneer
oh yes, its constant for both sp/mp, it seems like bit confused with "wire eeprom", where limit is only in mp.

Oh, this still was not merged? If talk about #1386 my change actually does not affect this but at all, and it was exists before my change (if write not consistently). Storing zeros in lua tables for nothing makes dupe files larger in many times if compare when this solution used (and you formated dhdd with zero for example).

Yeah, thinking about it more, undefined behaviour is undefined behaviour - there's no point in reasoning about whether some undefined behaviour is more undefined than other undefined behaviour.


Add a "display unprintable chars" toggle mode

As mentioned in #1268 ... because I'm a purist and because I work with UTF-8 quite a bit and unprintable control characters are significant to my work...
I want to see in OpenRefine a toggle mode for DISPLAY UNPRINTABLE CHARS for our users (like the ACK and CR/LF below)...so that they show up and are highlighted with special coloring/font.  This toggle mode should work perhaps on both datagrids & facets, and perhaps other dialogs or extension mechanisms, yet to be determined.
This is work to be done in the future in part of our UI Enhancement project(s).

We will want to utilize CSS styling for this and not actual Javascript replacement characters.
An example of how CSS Styling in a cell could be utilized for the various unprintable control characters:
http://mleibman.github.io/SlickGrid/examples/example8-alternative-display.html
Another alternative might be https://developer.mozilla.org/en-US/docs/Web/SVG/Element/symbol and calling <use> whenever we need to show unprintable characters

@ostephens @ettorerizza @wetneb Do you guys also like that orange colored example ?  Does it have a good fit and finish for cell styling in OpenRefine ?  Of course we'll work with a Google Designer for some of this later on, but for now I wanted to just show a better example of how the look could be.  Both Jacky and I prefer the coloring and style using graphic symbols, like example 2 shows, rather than the text based control character symbols as shown in example 1 and typically used in other programs such as "SP", "ACK", "CR", "DEL", "TAB", etc.
VOTE: Agree that example 2 is more towards our liking and preference for the future UI toggle of "display all chars" ?

The colored symbols also seem to me both clearer and more aesthetic.

To be contrary, I have to admit I prefer the text based control character symbols. But happy to go with the majority view!

@ostephens Why do you like them more ?  because they stand out more ?  they are a bit larger ?

I prefer them both because they are easier to read (larger text) and I feel they are more explicit and easier to learn - I don't have to learn what each of the icons/graphics stand for.
On the latter point - easier to know the difference between SP and NBSP in comparison to learning which one is represented by a filled in square, and which is an empty square.

@ostephens interesting you mention you don't have to learn what the icons/graphics stand for.  The icons and graphics are actually international and well defined.  You will see them on Chinese and Ukrainian keyboards for instance.    But I think I understand...we're a bit of an internet society now and the historical ways of labeling don't want to budge. :)
Its a bit 'in your face'... but that's a pretty useful thing for things that were hidden before and make you want to beat your head into a wall when things don't work as intended :)
OK.  We will go with just simple text highlighted labels instead of the graphic symbols.

@thadguidry I agree some of the icons are clear/well understood (the tab is a good example). I also accept that the icons/graphics are defined internationally - so it maybe that I just need to get used to them.
At the moment I think the weight of opinion (such as it is) is in favour of the graphic symbols - you and @ettorerizza vs me. Unless anyone else wants to support my view, then I think graphics win it tbh

@ostephens No, I agree with you now.  The \n\l for instance will be better represented, its actually 2 separate control chars, and not just 1.  Despite their being Unicode graphic forms that represent some of these control characters, not all of the char(0) - char(31) are well represented in those graphic forms.
We'll use the Unicode abbreviations (NUL, DEL, etc) https://en.wikipedia.org/wiki/Control_character but not for HT and VT.

@ostephens Personally not a fan of the newer diagonal flows on post-2003 Unicode Control Pictures.  I prefer the original horizontal flows just as there were from Bigelow 1993 and just scaling smaller with good fonts as I gave in the examples before.  https://pdfs.semanticscholar.org/4a8e/2fa49b13a2bcabf7d0ebdf2b55b0816abaf8.pdf

This question on  StackOverflow shows the importance of this new feature. The file on the Open Refine screenshot looks very clean compared to the original Excel file, actually full of tabs and spaces.

Found a good article that contains the mappings of the 3 letter abbreviations that we can use to replace the control chars.  The article also mentions the history of the control chars and what they control :-)
https://www.aivosto.com/articles/control-characters.html

@aghaSaad04 instead of HT, I'd use the more familiar 3 letter abbreviation TAB

@thadguidry  Sure, will change that.

Came across another complimentary use case with a dataset I was helping someone with today.  Unicode values that are True Null also do not display and we should show them rendered as NUL.
(This is different from the 'null' char rendering that is not Unicode based that we already have in All->View->Show/Hide 'null' values in cells)
Notice none of the \u0000 values are displayed in the grid, but show up with .partition()

@ostephens I'd like to know your thoughts on this as well.

Why is this labelled Priority: High? It seems like it would be a pretty rarely used feature.

Don't know, ask Jacky who set it that way, but he's no longer around.

Can you please assign this issue as well to me as the other one is inter-related. @thadguidry

@shriyasankhyan Sure, it's going to be really cool stuff for your portfolio if you are up for it.  I hope your HTML and CSS and most importantly JavaScript skills can handle it :-)  The old branch is https://github.com/OpenRefine/OpenRefine/tree/non-printable-characters and not sure what differences are there from the previous PR #2350 from @AghaSaad04 which you are welcome to checkout locally and work upon and submit as a new PR by you.

Ya surely :) would look up to the provided resources. Again thanks for assigning me this issue.

Can anyone from the community please check this pull request? @antoine2711 @thadguidry @wetneb

htmx has features that could make it easier and straightforward to implement this issue.


Add kubectl, helm, and minikube to codespaces and update minimum specs

Summary

Add kubectl, helm, and minikube to the codespace's devcontainer by default.
Set minimum devcontainer specs to 4 cpu cores. The default is 2, which is under-resourced for full dotnet-monitor builds.

Release Notes Entry

/backport to release/7.x


Duplicate functions

There appear to be duplicated functions:

get_page_raw_content <> get_page_content
get_revision_raw_content <>get_revision_content

These are not duplicate functions, they do different things:

get_page_raw_content gets the raw HTML of a current version
get_page_content gets the plaintext of a current version
get_revision_raw_content gets the raw HTML of a previous version
get_revision_content get the plaintext of a previous version

These changes were updated in #8a758ec

These are not duplicate functions, they do different things:

get_page_raw_content gets the raw HTML of a current version
get_page_content gets the plaintext of a current version
get_revision_raw_content gets the raw HTML of a previous version
get_revision_content get the plaintext of a previous version

These changes were updated in #8a758ec


Metrics: Align to upstream.

Tests on workload clusters (not always required)
For changes in the chart, chart templates, and ingress controller container images, I executed the following tests
to verify them working in live enviromnents:

Test / Provider
AWS
Azure
KVM

Upgrade from previous version
✔
✔

Existing Ingress resources are reconciled correctly
✔
✔

Fresh install
✔
✔

Fresh Ingress resources are reconciled correctly
✔
✔

Testing was done using hello-world-app.
Hint for KVM:
kubectl port-forward -n kube-system svc/nginx-ingress-controller-app 8080:80
ingress_domain=host.configured.in.ingress; curl --connect-to "$ingress_domain:80:<IP_ADDRESS>:8080" "http://$ingress_domain" -v

Tested on AWS & Azure. Even the rename of the Service resource worked like a charm.


make: *** No rule to make target 'dcap'.  Stop.

I am using the PyTorch PPML Framework Tutorial, when I do
gramine-sgx ./pytorch pytorchexample.py

I got：

Detected a huge manifest, preallocating 64MB of internal memory.
Emulating a raw syscall instruction. This degrades performance, consider patching your application to use Gramine syscall API.

Will this have any effect?
And I'm trying to use the End-To-End Confidential PyTorch Workflow, when I do
make -C ../../Pal/src/host/Linux-SGX/tools/ra-tls dcap

I got：

make: Entering directory '/root/gramine/Pal/src/host/Linux-SGX/tools/ra-tls'
make: *** No rule to make target 'dcap'.  Stop.
make: Leaving directory '/root/gramine/Pal/src/host/Linux-SGX/tools/ra-tls

And when I go to the next step：
cp <gramine repository>/CI-Examples/ra-tls-secret-prov/libs/libsgx_util.so .
cp <gramine repository>/CI-Examples/ra-tls-secret-prov/libs/libmbed*.so* .
cp <gramine repository>/CI-Examples/ra-tls-secret-prov/pf_crypt .

I got:

cp: cannot stat '/root/gramin/CI-Examples/ra-tls-secret-prov/libs/libsgx_util.so': No such file or directory

I don't know where the problem is, can someone help me?

The PyTorch PPML tutorial got stale, we're currently fixing it: https://github.com/gramineproject/gramine/pull/635
You can try to follow the explanations in that PR, or you can wait for another week or so, and then the updated (and hopefully absolutely correct) tutorial will become available at https://gramine.readthedocs.io/en/latest/tutorials/pytorch/index.html


fix: multi-steps workflow

the yaml example is not correctly formatted
Tips:

Maybe add you organization to USERS.md.
Your PR needs to pass the required checks before it can be approved. If the check is not required (e.g. E2E tests) it does not need to pass
Sign-off your commits to pass the DCO check: git commit --signoff.
Run make pre-commit -B to fix codegen or lint problems.
Say how how you tested your changes. If you changed the UI, attach screenshots.
If changes were requested, and you've made them, then dismis the review to get it looked at again.
You can ask for help!

@ASudre DCO please


(SSL routines', 'SSL3_WRITE_PENDING', 'bad write retry')

when using put_block_blob_from_text
i get this error:
  File "/root/appuro-env/lib/python2.7/site-packages/azure/storage/blob/blobservice.py", line 1352, in put_block_blob_from_text
    retry_wait)
  File "/root/appuro-env/lib/python2.7/site-packages/azure/storage/blob/blobservice.py", line 1228, in put_block_blob_from_bytes
    x_ms_lease_id)
  File "/root/appuro-env/lib/python2.7/site-packages/azure/storage/blob/blobservice.py", line 883, in put_blob
    self._perform_request(request)
  File "/root/appuro-env/lib/python2.7/site-packages/azure/storage/storageclient.py", line 171, in _perform_request
    resp = self._filter(request)
  File "/root/appuro-env/lib/python2.7/site-packages/azure/storage/storageclient.py", line 160, in _perform_request_worker
    return self._httpclient.perform_request(request)
  File "/root/appuro-env/lib/python2.7/site-packages/azure/storage/_http/httpclient.py", line 181, in perform_request
    self.send_request_body(connection, request.body)
  File "/root/appuro-env/lib/python2.7/site-packages/azure/storage/_http/httpclient.py", line 143, in send_request_body
    connection.send(request_body)
  File "/root/appuro-env/lib/python2.7/site-packages/azure/storage/_http/requestsclient.py", line 81, in send
    self.response = self.session.request(self.method, self.uri, data=request_body, headers=self.headers, timeout=self.timeout)
  File "/root/appuro-env/lib/python2.7/site-packages/requests/sessions.py", line 468, in request
    resp = self.send(prep, **send_kwargs)
  File "/root/appuro-env/lib/python2.7/site-packages/requests/sessions.py", line 576, in send
    r = adapter.send(request, **kwargs)
  File "/root/appuro-env/lib/python2.7/site-packages/requests/adapters.py", line 370, in send
    timeout=timeout
  File "/root/appuro-env/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py", line 559, in urlopen
    body=body, headers=headers)
  File "/root/appuro-env/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py", line 353, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib64/python2.7/httplib.py", line 973, in request
    self._send_request(method, url, body, headers)
  File "/usr/lib64/python2.7/httplib.py", line 1007, in _send_request
    self.endheaders(body)
  File "/usr/lib64/python2.7/httplib.py", line 969, in endheaders
    self._send_output(message_body)
  File "/usr/lib64/python2.7/httplib.py", line 829, in _send_output
    self.send(msg)
  File "/usr/lib64/python2.7/httplib.py", line 805, in send
    self.sock.sendall(data)
  File "/root/appuro-env/lib/python2.7/site-packages/requests/packages/urllib3/contrib/pyopenssl.py", line 220, in sendall
    sent = self._send_until_done(data[total_sent:total_sent+SSL_WRITE_BLOCKSIZE])
  File "/root/appuro-env/lib/python2.7/site-packages/requests/packages/urllib3/contrib/pyopenssl.py", line 206, in _send_until_done
    return self.connection.send(data)
  File "/root/appuro-env/lib/python2.7/site-packages/OpenSSL/SSL.py", line 1271, in send
    self._raise_ssl_error(self._ssl, result)
  File "/root/appuro-env/lib/python2.7/site-packages/OpenSSL/SSL.py", line 1187, in _raise_ssl_error
    _raise_current_error()
  File "/root/appuro-env/lib/python2.7/site-packages/OpenSSL/_util.py", line 48, in exception_from_error_queue
    raise exception_type(errors)
Error: [('SSL routines', 'SSL3_WRITE_PENDING', 'bad write retry')]

i've uninstalled ndg-httpsclient to temporaly "fix" it
Python 2.7.5
azure==1.0.2
azure-common==1.0.0
azure-mgmt==0.20.1
azure-mgmt-common==0.20.0
azure-mgmt-compute==0.20.0
azure-mgmt-network==0.20.1
azure-mgmt-nspkg==1.0.0
azure-mgmt-resource==0.20.1
azure-mgmt-storage==0.20.0
azure-nspkg==1.0.0
azure-servicebus==0.20.1
azure-servicemanagement-legacy==0.20.1
azure-storage==0.20.2
requests==2.8.1
requests-oauthlib==0.5.0
pyOpenSSL==0.15.1

Thanks for the report.  I've tried it and wasn't able to repro the issue on my machine (win8.1).
It would be good to know your operating system distro+version.  I don't know that there is anything that we can change in the library to avoid this issue, but we could try upgrading your distro's Python to the latest 2.7.x and see if that helps.
2.7.9 (default, Dec 10 2014, 12:24:55) [MSC v.1500 32 bit (Intel)]

azure-common==1.0.0
azure-nspkg==1.0.0
azure-storage==0.20.3
cffi==1.3.0
cryptography==1.1
enum34==1.0.4
futures==3.0.3
idna==2.0
ipaddress==1.0.15
ndg-httpsclient==0.4.0
pyasn1==0.1.9
pycparser==2.14
pyOpenSSL==0.15.1
python-dateutil==2.4.2
requests==2.8.1
six==1.10.0

My OS/distro:
CentOS 7 (Core) - 7.1.1503
Enabled repos (it's fully updated):

CentOS7 - Base

http://ftp.dei.uc.pt/pub/linux/CentOS/7.1.1503/os/x86_64/

Extra Packages for Enterprise Linux 7

http://ftp.up.pt/fedora-epel/7/x86_64/

CentOS-7 - Extras

http://ftp.dei.uc.pt/pub/linux/CentOS/7.1.1503/extras/x86_64/

RHEL 7 - RPMforge.net - dag

http://apt.sw.be/redhat/el7/en/x86_64/rpmforge/

CentOS-7 - Updates

http://ftp.dei.uc.pt/pub/linux/CentOS/7.1.1503/updates/x86_64/

i'm using python 2.7.5 as it is my distro default version, but I've tested with 2.7.10 and i get the same issue

Hi,
You bug belongs to the storage library, and there is already a bug opened:
https://github.com/Azure/azure-storage-python/issues/54
But it seems to be a bug in urllib3 embedded in requests 2.8.1. Since now requests 2.9.1 is released with urllib 1.13.1 inside, could you confirm that your problem is solved?
Thank you,

Hi,
The related bug in the Azure storage github account was reported fixed by updating to requests 2.9.1.
I close this bug, but feel free to re-open it if you think it's not fixed in your case.
Thank you!

It looks like this bug may have been re-introduced in version 2.13.0. I was struggling quite a bit to fix this (working with Elasticsearch's requests adapter) and downgrading to 2.11.1 fixed the problem for me.


Implements Hive Input/Output format to use vineyard as the storage backend

What do these changes do?
Support vineyard as a storage backend of hive.

Related issue number

Fixes #1420

Closing as in favour of #1520


Add Rate Limiting

Also fixed an issue with calling the implementation of interfaces "inheriting".
Resolves #3.

<3


Spgfit: Add library/CLI to generate training data for MLIPs automatically

This is very much beta quality.  Additional documentation will follow.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-1.9%) to 7.892%

Totals

Change from base Build<PHONE_NUMBER>:
-1.9%

Covered Lines:
465

Relevant Lines:
5892

💛  - Coveralls


4 extendable's for ArgResolver.

This pr includes 4 extendable's which creates 4 new methods to ArgResolver,
membename: nickname, tag, mention or id
username: tag, id, mention or username
rolename: name, id or mention
channelname: name, mention or id
this PR is for feedback for my extendable's and how to make these better as I know these could be improved ANY feedback is welcome.

Any comment on this @kyranet ?

I'll be closing this till i find time to make them better, KYRA help me kthxs bye


fix(device_info_plus): return Edge for browser name for both new edge and old one

Description
Fix this issue https://github.com/fluttercommunity/plus_plugins/issues/94
Related Issues
https://github.com/fluttercommunity/plus_plugins/issues/94
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]).
This will ensure a smooth and quick review process. Updating the pubspec.yaml and changelogs is not required.

[x ] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x ] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
[x] All existing and new tests are passing.
[x] I updated/added relevant documentation (doc comments with ///).
[x] The analyzer (flutter analyze) does not report any problems on my PR.
[x] I read and followed the Flutter Style Guide.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (please indicate a breaking change in CHANGELOG.md and increment major revision).
[x] No, this is not a breaking change.

Let's merge!


WSL VM boot up steals focus from the foreground app

Windows Version
Microsoft Windows [Version 10.0.22631.3235]
WSL Version
<IP_ADDRESS>
Are you using WSL 1 or WSL 2?

[X] WSL 2
[ ] WSL 1

Kernel Version
<IP_ADDRESS>-2
Distro Version
No response
Other Software
No response
Repro Steps

To ensure wsl isn't running in the background, run wsl --shutdown.
Start wsl: wsl
Focus is lost from the terminal app.

This repros on VScode and Visual Studio integrated terminal, and Windows Terminal also.
Expected Behavior
Focus is still on the foreground (terminal) app.
Actual Behavior
Focus is lost from the foreground app.
Diagnostic Logs
No response

As wsl is a background service, it shouldn't steal focus when starting up.

This is most likely caused by wslg, transferring.


It's impossible to write a panic crate for no_std

I've created a workspace and have multiple crates, all of which are no_std and need a panic_fmt implementation, so I created a separate crate that can be shared for that. Then I built a cdylib which built and linked fine, but failed at runtime with "undefined symbol: rust_begin_unwind".
Here's how to reproduce (on Linux, but I expect this should fail the same on all platforms):
$ cargo new --lib bar
$ cd bar
$ cargo new --lib panic
$ cat > panic/src/lib.rs <<EOF
#![no_std]
#![feature(lang_items)]

#[cfg(not(test))]
#[lang = "panic_fmt"]
#[no_mangle]
pub extern "C" fn panic_fmt(_: core::fmt::Arguments, _: &'static str, _: u32, _: u32) -> ! {
    loop {}
}
EOF
$ cat >> Cargo.toml <<EOF
panic = { path = "panic" }

[profile.dev]
panic = "abort"

[profile.release]
panic = "abort"

[lib]
crate-type = ["cdylib"]
EOF
$ cat > src/lib.rs <<EOF
#![no_std]
extern crate panic;

#[no_mangle]
pub fn foo() -> ! {
    panic!("");
}
EOF
$ cargo +nightly build --release
   Compiling bar v0.1.0 (file:///tmp/bar)
    Finished release [optimized] target(s) in 0.11 secs

Note how this all compiled and linked fine. But:
$ objdump -T target/release/libbar.so

target/release/libbar.so:     file format elf64-x86-64

DYNAMIC SYMBOL TABLE:
0000000000000000  w   D  *UND*<PHONE_NUMBER>000000 __cxa_finalize
0000000000000000  w   D  *UND*<PHONE_NUMBER>000000 _ITM_registerTMCloneTable
0000000000000000      D  *UND*<PHONE_NUMBER>000000 rust_begin_unwind
0000000000000000  w   D  *UND*<PHONE_NUMBER>000000 _ITM_deregisterTMCloneTable
0000000000000000  w   D  *UND*<PHONE_NUMBER>000000 __gmon_start__
0000000000000550 g    DF .text<PHONE_NUMBER>00000f foo

rust_begin_unwind is undefined.
The reason this is happening is because nothing is using the symbol in any library that appears before libpanic on the linker command line, and the only thing that does use the symbol is libcore, which comes after. So the linker happily removes it.
If I force libpanic to be added last on the linker command line, it works:
$ RUSTFLAGS="-C link-arg=target/release/deps/libpanic-3af7779d45985ae9.rlib" cargo +nightly build --release
   Compiling bar v0.1.0 (file:///tmp/bar)
    Finished release [optimized] target(s) in 0.11 secs

$ objdump -T target/release/libbar.so

target/release/libbar.so:     file format elf64-x86-64

DYNAMIC SYMBOL TABLE:
0000000000000000  w   D  *UND*<PHONE_NUMBER>000000 __cxa_finalize
0000000000000000  w   D  *UND*<PHONE_NUMBER>000000 _ITM_registerTMCloneTable
0000000000000000  w   D  *UND*<PHONE_NUMBER>000000 _ITM_deregisterTMCloneTable
0000000000000000  w   D  *UND*<PHONE_NUMBER>000000 __gmon_start__
0000000000000620 g    DF .text<PHONE_NUMBER>000002 rust_begin_unwind
0000000000000550 g    DF .text<PHONE_NUMBER>00000f foo

Relatedly, this makes me think cargo should probably add -Wl,-z,defs:
$ RUSTFLAGS="-C link-arg=-Wl,-z,defs" cargo +nightly build --release
   Compiling bar v0.1.0 (file:///tmp/bar)
error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/home/glandium/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/tmp/bar/target/release/deps/bar.bar0-b17b6035155785f4e639ba83018b4206.rs.rcgu.o" "-o" "/tmp/bar/target/release/deps/libbar.so" "-Wl,--version-script=/tmp/rustc.vWTWjhp8JGrI/list" "-Wl,--gc-sections" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-nodefaultlibs" "-L" "/tmp/bar/target/release/deps" "-L" "/home/glandium/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/tmp/bar/target/release/deps/libpanic-3af7779d45985ae9.rlib" "/home/glandium/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-80b45058e2fc80f9.rlib" "-shared" "-Wl,-z,defs" "-Wl,-Bdynamic"
  = note: /home/glandium/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-80b45058e2fc80f9.rlib(core-80b45058e2fc80f9.core0.rcgu.o): In function `core::panicking::panic_fmt':
          /checkout/src/libcore/num/bignum.rs:263: undefined reference to `rust_begin_unwind'
          collect2: error: ld returned 1 exit status

Refiled as https://github.com/rust-lang/rust/issues/48661 because I think it's actually a rustc problem.


Update Readme with Catalina Access instructions and screenshot

Added a new screenshot and instructions for Mac OS Catalina since preferences changes a bit.

Thanks for the PR, but this has been superseded by recent changes.


Fixes user facing CLI and services messages and also related tests.

Can we say "Renamed" instead of "Fixed"?
Also this is minor but can we not use periods at the end of commit messages?  It doesn't match the existing openshift/origin style.  I write all my commit messages Linux kernel style FWIW.

e.g. client: Rename CLI messages for Atomic Enterprise

Agree, will amend commit messages now.

@cgwalters @giuseppe I have pushed updated PR for review.

Like the commit messages much better, thanks! :+1:


Support vmnet.framework

With this qemu patch<EMAIL_ADDRESS>

https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_vm_networking
This entitlement is restricted to developers of virtualization software. To request this entitlement, contact your Apple representative.

Looks like VMnet (without root) requires agreement with Apple 😞
So I guess vmnet-enabled version of QEMU isn't likely to be available in Homebrew repo....

Experimental vmnet.framework support for unpatched rootless QEMU: https://github.com/AkihiroSuda/vde_vmnet
This vde_vmnet does not require QEMU to run as the root user, though vde_vmnet itself has to run as the root


sensor.charging_system_status

is not chnaging when car is charging.
or cabel is connected

This is fixed already. Please update to latest version!


[RFC] List of ORT Users and Consultancy Companies/Individuals

I am part of the team that is evaluating potential FOSS compliance solutions for my employer. As a developer and FOSS enthusiast, I am lobbying for ORT.
As with many FOSS offerings, when making the case for ORT, I stumbled on two three:

Proprietary solutions (Black Duck, Snyk, etc.) are very eager to send their sales representatives, promising the sky. For ORT however, I need to answer our questions (based on the Linux Foundations An Open Guide To Evaluating Software Composition Analysis Tools) myself.

To make ORT more attractive to our sourcing/non-dev-decision-makers, it would be very helpful to  point at commercial offerings that are willing to help with ORT adoption (and ongoing support).

Having a list of users would be great. The bigger their name, the better. Already exists

Questions:

Regarding 1), would a PR trying to document the answers to the questionnaire linked in 1) be appreciated?
Regarding 2), any chance we could have a (curated) list of offerings somewhere on the ORT website? Maybe similar to what Zephyr is doing? (also started with a request such as this one)
Regarding 3), if you are a (potential) user, answer to this issue. Maybe this list then can serve as a starting point for some kind of (curated) list on the website? maybe we can have some nice logos attached to the names? Ideally presented on the webpage instead of "just" in the repository?

Meanwhile, those are commercial offerings of which I am aware of:

Double Open

Company
SaaS, but no (general) consulting currently?

EPAM:

Company
Consulting?

Thomas Steenbergen?

Freelancer

Listing known users of ORT would not hurt either. Or perhaps those of the users that want to be included in the list.

Listing known users of ORT would not hurt either.

See ADOPTERS.md. And @mmurto wanted to work on https://github.com/oss-review-toolkit/ort/issues/7315 😉

Listing known users of ORT would not hurt either. Or perhaps those of the users that want to be included in the list. As per the title of the issue.

Just updated the text a bit to reflect the title. And add incorporate the hint of @sschuberth.

Just to add on this: I'm currently in a similar position as @rettichschnidi and had similar questions (especially 2 and 3 initially mentioned).
Has something like a Landscape ever been considered for the Automated Compliance Tooling (ACT) project? (cf OpenSSF or CNCF)?

Has something like a Landscape ever been considered for the Automated Compliance Tooling (ACT) project?

I don't think so, but personally I regard ACT to be pretty much dead anyway, see e.g. its news page which was last updated in 2020.
Instead, I'd rather refer to the OpenChain Reference Tooling Work Group's Landscape, also see https://github.com/Open-Source-Compliance/Sharing-creates-value/tree/master/Tooling-Landscape.


Job completion time is not set for job FAILED state

When the JOB goes to FAILED state, the completion time is not set

This change is

Travis tests have failed
Hey @jian-he,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.
2nd Build

     gometalinter --config=linter_config.json --vendor ./...

cmd/tf-operator.v2/app/options/options.go:1::warning: file is not goimported (goimports)

3rd Build

     gometalinter --config=linter_config.json --vendor ./...

cmd/tf-operator.v2/app/options/options.go:1::warning: file is not goimported (goimports)

travis_time:end:16ed2ebe:start=1535145429739081387,finish=1535145638526352746,duration=208787271359

Coverage increased (+3.6%) to 61.654% when pulling 4a385be352cd482b4af7d136cd1ec86edd0dc23f on jian-he:completion-time into 3061493b14c0a9a8c8d7ba0661818304f33438e0 on kubeflow:master.

/lgtm
/approve


Add logistic tool

Add logistic tools to the principles of computer composition

Adding the executable file is not expected. Maybe you can add the link to the tool?


No option to search videos

With reference to #58
I'm submitting a ...

[ ] bug report
[x] feature request

Current behavior:
There is no option to search videos in Search engines
Expected behavior:
There should be option to search videos
Yes, I wanted to work on the issue

@vaibhavsingh97 ,
I can take this up if you are busy with something else :smile:
let me know what you think ?


Switch to the xUnit Test Framework.

Switch over all unit tests to use xUnit. This provides several important
benefits:

Test dependencies and test runners are automatically downloaded via NuGet

Tests can now be run from Visual Studio 2013 and later right out of the
box

Tests can be run directly from MSBuild, allowing for easy automated
testing

A summary of the changes:

Refactored the test code to refer to the xUnit test methods. Mostly just
modifying annotations and using Assert.True instead of Assert.IsTrue

Added the xUnit library and test runners as a NuGet dependency for easy
restore. The .gitignore has been updated to prevent these packages from
being checked in

Added a new "Test" target to the CSharpMonad.UnitTests.csproj file to allow
running the unit test from MSBuild. To run tests, simply call
msbuild.exe CSharpMonad.UnitTests.csproj /t:Test

Complete, thanks :)


[BUG]: AzureRmWebAppDeployment@4 should output HTTPS URL

Task name
AzureRmWebAppDeployment@4
Task version
4.223.4
Environment type (Please select at least one enviroment where you face this issue)

[ ] Self-Hosted
[X] Microsoft Hosted
[ ] VMSS Pool
[ ] Container

Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
Ubuntu 22.04.2
Task log
Starting: Deploy to swap
==============================================================================
Task         : Azure App Service deploy
Description  : Deploy to Azure App Service a web, mobile, or API app using Docker, Java, .NET, .NET Core, Node.js, PHP, Python, or Ruby
Version      : 4.223.4
Author       : Microsoft Corporation
Help         : https://aka.ms/azureappservicetroubleshooting
==============================================================================
Got service connection details for Azure App Service:'our-website'
Trying to update App Service Application settings. Data: {"WEBSITE_RUN_FROM_PACKAGE":"1"}
App Service Application settings are already present.
Package deployment using ZIP Deploy initiated.
Successfully deployed web package to App Service.
NOTE: Run From Package makes wwwroot read-only, so you will receive an error when writing files to this directory.
App Service Application URL: http://our-website.azurewebsites.net
Finishing: Deploy to swap

Relevant log output
App Service Application URL: http://our-website.azurewebsites.net

Aditional info
The output variable AppServiceApplicationUrl should use HTTPS instead of HTTP. If backwards compatibility is desired, add a new one, e.g. AppServiceApplicationUrlHttps.

Hi @cmeeren App Service Application URL will support https url.
For that, route to your Azure App service, under configuration setting enable the option "HTTPS Only" to "ON"

Thanks

I can't do that, because it's unsecure (as opposed to simply blocking HTTP in code, which I do now). Explanation in this SO question.

Still an issue, would still like this fixed.


SQLQuery Issue

HI Team,
when I am trying to execute a wrong Query .It given exception but didn't rollback. please check once .
String query = "INSERT INTO SuperMarket (Item,Code,Quantity) VALUES('banana',12.33,50)";
graph.command(new OCommandSQL(query).execute());
but actual  query is graph.command(new OCommandSQL(query)).execute();
for more clarity please look into Google groups  POST  is "Insertion Exception "
version is orientdb-community-2.2.0-SNAPSHOT_1

Are you connected with remote or plocal?

Hi lvca,
I have tried both remote and local .same issue is getting

That os graph? Please can you provide the relevant code that does this insertion in transaction?

Please find the below code
OrientGraphFactory factory = new OrientGraphFactory("remote:<IP_ADDRESS>/2480/ORDBS", "", "");
OrientGraph graph = factory.getTx();
	try {

	String query1 = "INSERT INTO delears (Name,ID,Address) VALUES ('eswarareddy',21,'kadapa')";
	graph.command(new OCommandSQL(query1).execute());
	graph.commit();
	graph.shutdown();

}
	catch(Exception e){
		System.out.println(e);
		graph.rollback();
	}
	finally {
		graph.shutdown();
	}

Ok, with plocal you're in the TX scope, while with remote the SQL commands are executed in the server, so out of TX scope (http://orientdb.com/docs/last/Transactions.html#breaking-of-acid-properties-when-using-remote-protocol-and-commands-sql-gremlin-js-etc)

This is resolved with OrientDB v3.0.


samples: add standalone numeric samples for Spanner

Adds standalone samples for the new NUMERIC data type for Spanner.

It seems that the Static analysis failures are always happening due to the way the samples are written. @lesv would it be ok to merge in this PR?
Also, going forwards, @olavloite are there fixes that we could make such that we don't fail this Kokoro job?

Static analysis often reports unfixable things.  I'll be trying to fix this (reduce the noise) tomorrow.  That said, it's not a required check, so feel free to submit.

I submitted for you.  Just realized you never do it.

Also, going forwards, @olavloite are there fixes that we could make such that we don't fail this Kokoro job?

@skuruppu Some are not really fixable, while others probably are. But what in general would be needed is to split the current SpannerSamples into individual files according to the most recent style guide, and then (once the unnecessary noise has been removed) fix the warnings that are relevant.


feat: Support WebAuthn Apple Passkeys

@frederikrothenberger can someone from II review this change? Obviously the code is valid, but I don't know how this will affect other devices downstream

Afaik @nmattia has started to look into this and is now chasing down the administrative changes necessary so that we can accept third party contributions.

I don't know how this will affect other devices downstream

Same, I'll have more time to look into this next week!

@nmattia did we ever get a verdict on this? @dostro is this still needed?

@krpeacock I'll admit I don't exactly remember. With iOS 16 I've been offered to authenticate with passkeys and it seemed to work out of the box, but I'm still open to more testing.


Show use of CSS custom properties / variables in tailwind.config.js

Overriding/extending the values Tailwind uses when generating classes is trivial - i've shown extending tailwind utilities by adding primary/secondary/accent colors to the config file.  Something like class="bg-primary-100" is baked into your HTML; The value of  primary is configurable but baked into the CSS on build.  It's possible to go a step further and use CSS custom properties/variables in config.

step 0: https://github.com/McNerdius/TailBlazor/issues/25


Add a "maestro doctor" command line which does basic checks if the app is ready to run

Is your feature request related to a problem? Please describe.
I'm looking at helping onboard new users.
Describe the solution you'd like
A new command line option for maestro, called doctor. maestro doctor would run, and check for the things needed to run the app.
By doing this, you have more room on the command line to tell them what the user should do. I'm going  to list the macOS ways of doing things, but you could also link to websites to get the user in the right direction.
Overall though, a set of checkmarks would fit right in with how a normal maestro test would look anyway - however the test is in some ways, on your own computer.
Describe alternatives you've considered
It would show the current version of Maestro, as well as the command line for upgrading it if needed. You could in theory check if there is a newer version available and let the user know that, but that's making things a bit too complex too quickly.
It would check:

Is ADB accessible? (if not, suggest installing it, and adding it to your path) - I'm focused on Android testing fwiw.
Is there something returned when adb devices happens? to know that a device/emulator is ready to start
Is Java installed? (suggest brew install java, or link to openjdk)
(macOS) Is xcode command line tools installed? ( the folder will print if xcode-select -p 1>/dev/null;echo $? works)

In slack, I also mentioned a check for which scrcpy, which is a fantastic companion app with this but honestly is not worth including in the doctor output.
Additional context
https://docs.flutter.dev/get-started/install/windows#run-flutter-doctor

Here is a sample of what flutter doctor looks like.
Their implementation is a good part of what makes setting it up more hassle free compared to say React native.
Possible web links if wanting to go down that route:
Android SDK: https://developer.android.com/studio/index.html
If you want it to be apple specific, the command to do this is brew install android-platform-tools - if they have brew.
To install java:
Official OpenJDK link (short but may be confusing): https://openjdk.org/install/
MultiOS: https://www.freecodecamp.org/news/install-openjdk-free-java-multi-os-guide/ (better but unofficial)

This is a great issue, thanks a ton!
I unknowingly duplicated it with #1785 though.


service gives 500 when installing on macOS, start seems to work but doesn't ask for permisions

✓ Starting...
 ✓ Ready in 2.2s
(node:78173) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
 ○ Compiling / ...
 ✓ Compiled / in 5s (3527 modules)
 GET / 200 in 5441ms
 ✓ Compiled in 1009ms (1759 modules)
 ○ Compiling /api/tags ...
 ✓ Compiled /api/tags in 3s (3514 modules)
 GET / 200 in 601ms
 GET /favicon.ico 200 in 17ms
 GET /api/tags 200 in 4ms
✓ Compiled /api/install-service in 244ms (1792 modules)
 GET /api/install-service 500 in 30957ms

But - when I click 'start service' I do notice a new icon in the system tray, when I click it - it has two "quit" options and no other information:

It hasn't prompted me to allow it to screen record etc... so I don't think it's actually working.

Ooo somehow I have lots of new tray icons now!

and asking any questions with any of my ollama models seems to fail:

 ✓ Starting...
 ✓ Ready in 1170ms
 ○ Compiling / ...
 ✓ Compiled / in 2.2s (3518 modules)
 GET / 200 in 2595ms
 ✓ Compiled in 392ms (1759 modules)
 ○ Compiling /api/tags ...
 ✓ Compiled /api/tags in 715ms (3514 modules)
 GET /api/tags 200 in 443ms
 GET /api/tags 200 in 442ms
 GET /favicon.ico 200 in 1094ms
 GET / 200 in 28ms
 ✓ Compiled /api/chat in 334ms (134 modules)
Error: [TypeError: fetch failed] { cause: [Error: AggregateError] }
 POST /api/chat 500 in 408ms
 ✓ Compiled /api/start-service in 287ms (1796 modules)
Error: [TypeError: fetch failed] { cause: [Error: AggregateError] }
 POST /api/chat 500 in 20ms
 GET / 200 in 78ms
Error: [TypeError: fetch failed] { cause: [Error: AggregateError] }
 POST /api/chat 500 in 8ms
 GET / 200 in 21ms

Same problems here:
 ✓ Starting...
 ✓ Ready in 5.4s
(node:65920) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
 ○ Compiling / ...
 ✓ Compiled / in 5.6s (3528 modules)
 GET / 200 in 6034ms
 ✓ Compiled in 532ms (1760 modules)
 ○ Compiling /api/tags ...
 ✓ Compiled /api/tags in 1955ms (1763 modules)
 GET /api/tags 200 in 1999ms
 GET /api/tags 200 in 1999ms
 ✓ Compiled /api/start-service in 309ms (1792 modules)
 GET / 200 in 226ms
 ✓ Compiled /api/chat in 438ms (134 modules)
Server response: {"message":"An error occurred while processing the query.","status":"error"}

Error: [Error: HTTP error! status: 500, message: {"message":"An error occurred while processing the query.","status":"error"}
]
 POST /api/chat 500 in 585ms

Hey @lucacri,
Can you run this command in the terminal when the services are on?
curl -X POST http://localhost:8005/query \
     -H "Content-Type: application/json" \
     -d '{"query": "hey!"}
Let me know what it tells you.

And @sammcj, could you go to /users/{your username}/library/Application support/RemindEnchanted and check if you have any screenshots in the screenshots folder? I need to confirm this first.
Also, the quit feature in the icon works for the service in the repo. I arranged it so that it closes everything when we click on it. i'll upload the repo soon. I will also make sure that when we click on "Start Service", if a service is already running, it doesn't start another one. Thanks for letting me know!
For now to close everything , go to the activity monitor , and close all pythons and remindOCR process.

Hi!
I just checked and indeed I do have some screenshots, but i turned it off after not long. If it helps, I have 4 monitors but the screenshot is only of the main one. Maybe for a future issue!
Thank you,
Luca
On Sep 5, 2024 at 1:19 PM -0400, DonTizi @.***>, wrote:

Hey @lucacri,
Can you run this command in the terminal when the services are on?
curl -X POST http://localhost:8005/query
-H "Content-Type: application/json"
-d '{"query": "hey!"}
Let me know what it tells you.
And @sammcj, could you go to /users/{your username}/library/Application support/RemindEnchanted and check if you have any screenshots in the screenshots folder? I need to confirm this first.
Also, the quit feature in the icon works for the service in the repo. I arranged it so that it closes everything when we click on it. i'll upload the repo soon. I will also make sure that when we click on "Start Service", if a service is already running, it doesn't start another one. Thanks for letting me know!
For now to close everything , go to the activity monitor , and close all pythons and remindOCR process.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

Just checked mine as well, yes there's screenshots but they're very low resolution 4:3 of a single monitor so I'm not sure if they'd actually be useful.
I had a look through the code and saw this: https://github.com/DonTizi/ReMind/blob/main/installer.py#L10 😬, I'd suggest moving to using standard launchd jobs to register, start and stop the background service so that it's managed in a standard, repeatable way in the same place as all other background services.

Having the same issue with /api/chat throwing Error: [TypeError: fetch failed] { cause: [Error: AggregateError] }.
@DonTizi - what is supposed to be listening on port 8005?

y


Improve highlight group links for done state

Describe the bug
Currently the done state takes its highlighting from diffAdd with some fallbacks around the Diff highlight group. I guess this is because these are usually green across most colorschemes. The issue with this is that it isn't dependably a high enough contrast of green. In my case the green is quite muted so that it's easier to make out the added text, but this means that the green as a text highlight rather than background is hard to read.

Expected behavior
A more dependably green highlight might be String or tbh if the intent is that the colour should be green then you can alternatively use guifg={Green|LightGreen} etc which I believe also works for cterm. That way the colour will be green regardless of the users colorscheme.
I guess this could apply to in progress states as well. It might be that your intention is not to aim for a particular colour at all in which case an alternative or additional solution could be to surface the highlight groups to be overriden. Generally I'm fine with how most colours appear so am not looking to go down a highlight altering rabbit hole, so this is less about surfacing a bunch of highlights and more about a more predictable default.

Yeah, you're right. I wanted to reuse as much colors as possible from the colorscheme with some assumptions that can be wrong sometimes (obviously). I didn't want to use these strict colors because they can be really high in contrast for some colorschemes (Red on dark colorscheme looks really bad for example).
I think there are 2 solutions to this:

Introduce a configuration option that would allow defining highlights group that will be used for all of these types
Make builtin hl groups from these parsed colors and just default link them to the builtin ones. Then user can just do hi default link OrgTODO Error or whatever they want to link it to.
Implement orgmode's todo keyword faces and just allow users to configure all of these by themselves.

Temporary workaround (which you are probably already aware of) is to override these manually for now:
hi OrgTODO guifg=Red
hi OrgDONE guifg=Green
hi OrgAgendaDeadline guifg=Red
hi OrgAgendaScheduled guifg=Green
hi OrgAgendaScheduledPast guifg=Orange

Thanks for clarifying @kristijanhusak, of the three options the last with the keyword faces seems like something that moves things closer to org's feature set, whereas the other 2 solve just this specific problem so (despite it probably being the most work) it seems like the most likely to tick a few different boxes as well.
Regarding the temporary work around it seems the plugin overrides any attempts by me to change the OrgDone highlight. If I apply it explicitly after the agenda or org file is open it works but if I do it before it doesn't. It also doesn't work in a Colorscheme autocommand 🤔

Yeah, you're right, i completely forgot it's ran every time. I'll figure something out, thanks.

I pushed a fix. You should be able to override them now. I'm just linking them now so override should work.

@kristijanhusak that helped thanks 👍🏾 , there is still a highlight group for the agenda view that uses the diff colour for the whole line so the word DONE takes my highlights but the rest of the line is still a dark colour.

@akinsho that should be hi OrgAgendaScheduled. What does it return?

That returns
:hi OrgAgendaScheduled
OrgAgendaScheduled xxx links to OrgAgendaScheduled_builtin

You should be able to override it:
hi OrgAgendaScheduled guifg=Green

Yep that worked 👍🏾 thanks a bunch 🚀 (again)

@akinsho I added keyword faces support, you can read more about it here

Yeah, you're right. I wanted to reuse as much colors as possible from the colorscheme with some assumptions that can be wrong sometimes (obviously). I didn't want to use these strict colors because they can be really high in contrast for some colorschemes (Red on dark colorscheme looks really bad for example).
I think there are 2 solutions to this:
1. Introduce a configuration option that would allow defining highlights group that will be used for all of these types

2. Make builtin hl groups from these parsed colors and just `default link` them to the builtin ones. Then user can just do `hi default link OrgTODO Error` or whatever they want to link it to.

3. Implement [orgmode's todo keyword faces](https://orgmode.org/manual/Faces-for-TODO-keywords.html) and just allow users to configure all of these by themselves.

Temporary workaround (which you are probably already aware of) is to override these manually for now:
hi OrgTODO guifg=Red
hi OrgDONE guifg=Green
hi OrgAgendaDeadline guifg=Red
hi OrgAgendaScheduled guifg=Green
hi OrgAgendaScheduledPast guifg=Orange

Hi @kristijanhusak, the highlight groups for TODO and DONE that you mention here still work, even though they are not officially documented. I prefer to use these than to use the new keyword faces colors, because this way I can link other highlight groups. Therefore, when I change my color scheme, the colors will still be reasonable. Should we document that these still exist?

@Maltimore there is some documentation here around colors https://github.com/nvim-orgmode/orgmode/blob/master/DOCS.md#colors but it's not mentioning todo keyword hl groups. Feel free to add what you think is missing.


Does it support Payara, Weblogic

I have fully configured as a service for tomcat, but does it support payara? Or weblogic

@nvawoon I don't know, I don't have experience with any of those technology stacks.

Maybe I am still not clear about this yajsw. Since Tomcat has it's own service installation, why still need this? Is this wrapper more for executable jar ?

The main functionality of this project is that yajsw allows you to take any Java application and turn it into a service.  For more information see the "Features" section on the official website: http://yajsw.sourceforge.net/
This repository is an unofficial mirror of the SVN repository.

Noted. Thanks


Add display type and color to OuiSwitch

Description
Add display type and color to OuiSwitch

color makes OuiSwitch colorable like OuiButton
display allows showing a border around the switch like OuiButtonIcon

Check List

[ ] New functionality includes testing.
[ ] New functionality has been documented.
[ ] All tests pass

[ ] yarn lint
[ ] yarn test-unit

[ ] Update CHANGELOG.md
[X] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

OSD failure is expected.


SSL connection error

cannot get it to work with https

+1

I can't use SSL, and can't specify an alternate port (i.e. 6380). It will always try to connect via 6379.

Redis Commender does not support TLS/SSL encryption of it own. To secure the web ui put it behind a reverse proxy that does the TLS termination (nginx, apache, traefik,  ...).
And last comments seems to reverence some completly unrelated problem (HTTPS UI vs TLS secured Redis connection) which is working too with latest redis commander.
If you think its not fixed or something missing, feel free to reopen issue with updated informations based on latest version.


Next try to fix workflow for upgrade dependecies.

Description
I have upgraded triggers in the workflow file but not in script...

@Czaki Hmmm, I have re-run the label and milestone checker multiple times after adding the milestone but it still asks me to add a milestone... Any ideas?

@Czaki Hmmm, I have re-run the label and milestone checker multiple times after adding the milestone but it still asks me to add a milestone... Any ideas?

It looks like it is rerun on exactly the same event state. I have modified labels, and its passed.

It looks like it is rerun on exactly the same event state.

Wow! That's interesting. 👍

Since this doesn't affect the main code base, I'm going to go ahead and merge — we can always update if needed. Thanks @Czaki!


Can custom HTML be anchored to the side of a map?

I have custom HTML that I want to always be positioned on the left side of the map.
At the moment I think the only solution for custom HTML is to use the CustomMarker.
But a CustomMarker is positioned directly on the map using lat and lng map coordinates, like this:
<CustomMarker :options="{ position: { lat: 39.9511163, lng: -75.1651992 }, anchorPoint: 'LEFT_CENTER' }">
    my custom stuff here
</CustomMarker>

Rather, I would like to position it to the side of the map div using CSS and px, so that it stays on the left side of the map no matter where the map is shown on the globe. For example, something like this (which obviously doesn't work):
<CustomMarker style="margin-left: 100px">
    my custom stuff here
</CustomMarker>

Here is a visual example of what I am trying to create. The circle markers can be added to the map using <CustomMarker> and positioned on the globe using lat and lng. But the scrollable list on the left needs to be positioned to left of the map div, regardless of the position of the map.

How can I anchor HTML to the side of the map like that?

Maybe you can use a CustomMarker for this?
https://github.com/inocan-group/vue3-google-map#custom-control

Yes that looks like what I need! Thanks.
But there was a typo in your comment, I think you meant to say CustomControl not CustomMarker.

Yes apologies meant CustomControl. Edited.


Prod::Comp - Fallback on main component when confidence is spread over the subcomponents

For example:
https://bugzilla.mozilla.org/show_bug.cgi?id=1732466
is stuck in Firefox::Untriaged because the max confidence is 20% for Core::Audio/Video: cubeb and very likely other confidences are spread over Core::Audio/Video: XXX.
In this case we should fallback on Core::Audio/Video.

We could easily implement this, but we need to change the bugbug HTTP service as it is currently returning the confidences for all classes, but the name only for the chosen class, so we have no way to sum the confidences.
The model is already mapping all the "subcomponents" of a component to the component itself, but only for subcomponents with low number of bugs. If the number of bugs is high, the model considers them separately.


*BSD Support

*BSD Support
This issue is to report what works and doesn't work with the script on OpenBSD. This is a checklist of BSD distros and whether or not the script works/supports them.

[X] FreeBSD
[X] OpenBSD
[X] NetBSD
[ ] DragonFlyBSD

I'm having trouble getting this to work in a virtual machine.

[ ] PC-BSD

This will take me 3 hours to download so don't expect it soon.

If you're running any of the unchecked distros above I'd love it if you could test out the newest master.
NOTE: If there's no interest for any of the unchecked distros I won't be in any sort of rush to add support for them.

If no one is willing to help me test then I won't add support.

We first need to detect which BSD version the user is running.
What's the output of these commands?
cat /etc/*version
cat /proc/version
cat /etc/*release
uname -rv

I've pushed a commit with *BSD support, It's untested, experimental and fairly feature complete.

This is a checklist of BSD distros and whether or not the script works with them.

[X] FreeBSD
[ ] OpenBSD
[ ] NetBSD
[ ] DragonFlyBSD

If you're running any of the unchecked distros above I'd love it if you could test out the newest master.

If you're using DragonFlyBSD or PC-BSD then open another issue.

Thing is, if you want *BSD users to use your script, you probably shouldn't be using bash and instead using POSIX sh.
*BSD doesn't ship with bash and most users dislike it.

If a BSD user wants to use my script then they'll have to install bash, if they won't then bad luck. I'm not rewriting the script to support POSIX sh and besides Screenfetch also depends on bash so I don't see this as an issue at all.


bump dependencies

Applied mkpr on package.json
/tmp/mkpr.sh

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
520

Relevant Lines:
589

💛  - Coveralls


Dataset created with TarWriter is too large

I am creating a dataset with the following code:
import webdataset as wds
from tqdm import tqdm
import io
import torch
from tensordict import TensorDict

N = 20_000
inps = torch.rand(N, 30)
tgts =  torch.arange(N, dtype=torch.float32)
tensordict = TensorDict(dict(inps=inps, tgts=tgts), batch_size=[N])

with wds.TarWriter(f"/tmp/dest.tar") as sink:
    for i, d in tqdm(enumerate(tensordict), total=N):
        obj = {"__key__": f"{i}"}
        for k, v in d.items():
            buffer = io.BytesIO()
            torch.save(v, buffer)
            obj[f"{k}.pth"] = buffer.getvalue()
        sink.write(obj)

The resulting tar file is 47Gb:
❯ ls -lah /tmp/dest.tar
-rw-rw-r-- 1 ethanbro ethanbro 47G Apr  8 12:25 /tmp/dest.tar

I don't understand why the file is so large. If I write the full tensors, without breaking them up by row, the file is a fraction of the size:
with wds.TarWriter(f"/tmp/dest.tar") as sink:
    obj = {"__key__": "key"}
    for k, v in tensordict.items():
        buffer = io.BytesIO()
        torch.save(v, buffer)
        print(v.shape)
        obj[f"{k}.pth"] = buffer.getvalue()
    sink.write(obj)

❯ ls -lah /tmp/dest.tar
-rw-rw-r-- 1 ethanbro ethanbro 2.4M Apr  8 12:40

With this smaller file, I lose a lot of the desired functionality of webdataset. For example, shuffling the datapoints becomes cumbersome. What is the recommended approach?

This has nothing to do with WebDatset. Rather, the vector "v" that tensordict returns to you points to some huge underlying byte array buffer. So, instead of 120 bytes to save your 30 floating point numbers, you are saving 240000 bytes.
A good way of debugging this sort of thing is to look at the tar file itself.
Here is a notebook explaining the problem:
https://colab.research.google.com/drive/1sl-73QpfzycTYDUXCDD19chexzRb8hs_?usp=sharing
However, saving many small tensors still has significant overhead. To avoid this, you can save them in batches and then unbatch before reading.
ds = WebDataset("batched-data.tar").decode(...).unbatched(). etc.

You can also batch and unbatch the compressed data, you can save complete batches as .mp files, etc.


[DOCS] example on adding vectors to a text-classificationdataset

A part of the end2end example efforts https://github.com/argilla-io/argilla/issues/4178
### Tasks
- [ ] Use the dataset obtained from https://github.com/argilla-io/argilla/issues/4179 by default or from the Hugging Face hub
- [ ] Show how we add vectors and setting properties
- [ ] Add basic vectors, as potentially done in our utils module https://github.com/argilla-io/argilla/issues/4018
- [ ] mention synced push to argilla and also allow push to HF

@kursathalat , feel free to create issue for updating this and the metadata tutorial whenever the modules are done.


Short solution needed: "How to get Redis logs" (redis)

Please help us write most modern and shortest code solution for this issue:
How to get Redis logs (technology: redis)
Fast way
Just write the code solution in the comments.
Prefered way

Create pull request with a new code file inside inbox folder.
Don't forget to use comments to make solution explained.
Link to this issue in comments of pull request.

How to get Redis logs


Add a table of domains and subdomains we own

To be more transparent we should add an option to dynamically load files with informations about our domains and subdomains.
Requirements:

[ ] domains information

Name
URL
Usage

[ ] TLDs should also contain a list with links to subdomains
[ ] Domain parked notice as extra path (e.g domains.slynite.com/domain.tld/notice)

Transfered to Jira ticket IN-4


AttributeError: 'NoneType' object has no attribute 'terminate'

Unable to start GPUStack on command line on Mac & Linux.
Steps to reproduce

install using pip install gpustack

Run gpustack start
2024-10-29T00:29:24+08:00 - gpustack.server.server - INFO - Starting GPUStack server.
2024-10-29T00:29:24+08:00 - gpustack.server.server - INFO - Running database migration.
2024-10-29T00:29:24+08:00 - gpustack.cmd.start - CRITICAL - (sqlite3.OperationalError) no such column: "memory"
[SQL: ALTER TABLE system_loads RENAME memory TO ram]
(Background on this error at: https://sqlalche.me/e/20/e3q8)
2024-10-29T00:29:24+08:00 - gpustack.server.server - INFO - Stopping GPUStack server.
Exception ignored in atexit callback: <bound method Server.at_exit of <gpustack.server.server.Server object at 0x7fdc2ed97fd0>>
Traceback (most recent call last):
File "/root/.local/share/pipx/venvs/gpustack/lib64/python3.11/site-packages/gpustack/server/server.py", line 204, in at_exit
process.terminate()
File "/usr/lib64/python3.11/multiprocessing/process.py", line 133, in terminate
self._popen.terminate()
^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'terminate'

Environment

GPUStack version: 0.3.1
OS: Mac 13.6.6, Linux x86_64
GPU: intel iris plus graphics 640 on Mac, A10 on Linux

Could you run the following command and provide the output to help us diagnose?

Create debug_db.py with:

import sqlite3

db_path = '/var/lib/gpustack/database.db'
conn = sqlite3.connect(db_path)
cursor = conn.cursor()
cursor.execute("SELECT version_num FROM alembic_version")
version_num = cursor.fetchone()

if version_num:
    print("Current Alembic version:", version_num[0])
else:
    print("alembic_version not found")

cursor.execute("PRAGMA table_info(system_loads)")
schema_info = cursor.fetchall()

print("system_loads schema:")
for column in schema_info:
    print(f"Column: {column[1]}, type: {column[2]}, nullable: {bool(column[3])}, default: {column[4]}")

conn.close()

Run python debug_db.py

Here's the output on the Linux box:
Current Alembic version: 8277680cfcb7
system_loads schema:
Column: id, type: INTEGER, nullable: True, default: None
Column: timestamp, type: INTEGER, nullable: True, default: None
Column: cpu, type: FLOAT, nullable: False, default: None
Column: ram, type: FLOAT, nullable: False, default: None
Column: gpu, type: FLOAT, nullable: False, default: None
Column: vram, type: FLOAT, nullable: False, default: None

Does the issue persist if you run gpustack start again?
Does the issue persist if you try again after removing /var/lib/gpustack/database.db?

Right, same error message even after I delete the database.db file

We are investigating a reproducible way to replicate the issue.
Is there any specific reason you prefer installing GPUStack manually using pip rather than using the install script?
Could you please share the existing packages from pip list?

Well, I don't have any preferences. It just failed as well for manual installation. I attached the error message here (
error.txt) for your reference.
The output of pip list:
Package                 Version

aiosqlite               0.20.0
alembic                 1.13.3
anaconda-anon-usage     0.4.4
annotated-types         0.7.0
anyio                   4.6.2.post1
APScheduler             3.10.4
archspec                0.2.3
argon2-cffi             23.1.0
argon2-cffi-bindings    21.2.0
asyncer                 0.0.8
asyncpg                 0.29.0
attrs                   23.2.0
boltons                 23.0.0
Brotli                  1.0.9
certifi                 2024.8.30
cffi                    1.17.1
charset-normalizer      3.3.2
click                   8.1.7
colorama                0.4.6
conda                   24.9.2
conda-content-trust     0.2.0
conda-libmamba-solver   24.9.0
conda-package-handling  2.3.0
conda_package_streaming 0.10.0
cryptography            43.0.0
dataclasses-json        0.6.7
distro                  1.9.0
fastapi                 0.115.4
fastapi-cdn-host        0.8.1
filelock                3.16.1
frozendict              2.4.2
fsspec                  2024.10.0
gpustack                0.3.1
greenlet                3.1.1
h11                     0.14.0
httpcore                1.0.6
httpx                   0.27.2
huggingface-hub         0.23.5
idna                    3.7
importlib_resources     6.4.5
inflection              0.5.1
iniconfig               2.0.0
jiter                   0.6.1
jsonpatch               1.33
jsonpointer             2.1
libmambapy              1.5.8
Mako                    1.3.6
MarkupSafe              3.0.2
marshmallow             3.23.0
menuinst                2.1.2
modelscope              1.19.2
mypy-extensions         1.0.0
numpy                   2.1.2
openai                  1.52.2
packaging               24.1
pip                     24.2
platformdirs            3.10.0
pluggy                  1.5.0
prometheus_client       0.20.0
psutil                  5.9.8
pycosat                 0.6.6
pycparser               2.21
pydantic                2.9.2
pydantic_core           2.23.4
pydantic-settings       2.6.0
PyJWT                   2.9.0
PySocks                 1.7.1
pytest                  8.3.3
pytest-asyncio          0.23.8
python-dotenv           1.0.1
python-multipart        0.0.9
pytz                    2024.2
PyYAML                  6.0.2
regex                   2024.9.11
requests                2.32.3
ruamel.yaml             0.18.6
ruamel.yaml.clib        0.2.8
safetensors             0.4.5
setproctitle            1.3.3
setuptools              75.1.0
shellcheck-py           <IP_ADDRESS>
six                     1.16.0
sniffio                 1.3.1
socksio                 1.0.0
SQLAlchemy              2.0.36
sqlmodel                0.0.18
starlette               0.41.2
tokenizers              0.20.1
tqdm                    4.66.5
transformers            4.46.0
truststore              0.9.2
typing_extensions       4.12.2
typing-inspect          0.9.0
tzdata                  2024.2
tzlocal                 5.2
urllib3                 2.2.3
uvicorn                 0.30.6
wheel                   0.44.0
zstandard               0.23.0

I have the same issue
2024-10-29T17:03:10+08:00 - gpustack.server.server - INFO - Starting GPUStack server.
2024-10-29T17:03:10+08:00 - gpustack.server.server - INFO - Running database migration.
2024-10-29T17:03:12+08:00 - gpustack.cmd.start - CRITICAL - (sqlite3.OperationalError) near "DROP": syntax error
[SQL: ALTER TABLE model_instances DROP COLUMN gpu_index]
(Background on this error at: https://sqlalche.me/e/20/e3q8)
2024-10-29T17:03:12+08:00 - gpustack.server.server - INFO - Stopping GPUStack server.
Exception ignored in atexit callback: <bound method Server.at_exit of <gpustack.server.server.Server object at 0x7f1590fcaa40>>
Traceback (most recent call last):
  File "/root/.local/share/pipx/venvs/gpustack/lib/python3.10/site-packages/gpustack/server/server.py", line 204, in at_exit
    process.terminate()
  File "/usr/lib/python3.10/multiprocessing/process.py", line 133, in terminate
    self._popen.terminate()
AttributeError: 'NoneType' object has no attribute 'terminate'

@dantegarden Can you provide your context:

Fresh install / upgrade ?
Env
Steps before getting the error

Uninstall both versions, then reinstall using the script, still reports error messages, please refer to the attached file
output.txt:
#sudo /var/lib/gpustack/uninstall.sh
#pip uninstall gpustack
#curl -sfL https://get.gpustack.ai | sh -s - --port 443
gpustack chat llama3.2 "tell me a joke."
Request to server failed: (404, 'Unknown', ...
Thx

# Logs from error.txt
gpustack chat llama3.2 "tell me a joke."
Request to server failed: (404, 'Unknown', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">\n\n\n    \n        <title>The page is not found</title>\n        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n        \n    \n\n    \n
nginx error!
\n\n
\n\n
The page you are looking for is not found.
\n\n
\n
Website Administrator
\n
\n

Something has triggered missing webpage on your\n                    website. This is the default 404 error page for\n                    nginx that is distributed with\n                    Anolis OS.  It is located\n                    <tt>/usr/share/nginx/html/404.html</tt>
\n\n
You should customize this error page for your own\n                    site or edit the <tt>error_page</tt> directive in\n                    the nginx configuration file\n                    <tt>/etc/nginx/nginx.conf</tt>.
\n\n
For information on Anolis OS, please visit the OpenAnolis Community. The documentation for Anolis OS is available on the OpenAnolis Community website.
\n\n
\n
\n\n
\n                \n                \n
\n
\n    \n\n')

Initial error from log indicates that the requrest goes to an nginx instead of the GPUStack server. If the default port is occupied, you can customize the port on GPUStack installation:
curl -sfL https://get.gpustack.ai | sh -s - --port <your-port>

Did you uninstall before running gpustack start? We don't expect both a manual run and the systemd service to coexist. If that's the case, could you try uninstalling then reinstalling with the custom port to see if it resolves the issue?
Example:
# uninstall
sudo /var/lib/gpustack/uninstall.sh
# reinstall
curl -sfL https://get.gpustack.ai | sh -s - --port 9999

Then follow the instruction to access the UI.
Reference for using the install script: https://docs.gpustack.ai/installation/installation-script/

The link for output.txt is unavailable for me.
For custom host/port you need to set GPUSTACK_SERVER_URL=<your-url> so I suggest checking the UI previously.
Ref: https://docs.gpustack.ai/latest/cli-reference/chat/#connect-to-external-gpustack-server
Can you check if server is running now (systemctl status gpustack)

Turns out that it is running and can be accessed via a browser. The problem is: how can I find out the default password? There's no such file called initial_admin_password anywhere on my disk...

It's in /var/lib/gpustack/initial_admin_password  by default

There's no such file. I searched the whole hard disk and there's no such file.
sudo ls /var/lib/gpustack/initial_admin_password
ls: cannot access '/var/lib/gpustack/initial_admin_password': No such file or directory
find / -name initial_admin_password

Did you see logs like Generated initial admin password. You can get it from xxx in /var/log/gpustack.log?
What do you see in ls /var/lib/gpustack?
Alternatively, it can be set by --bootstrap-password, e.g, curl -sfL https://get.gpustack.ai/ | sh -s - --port 443 --bootstrap-password <your-password>. (note that it's only valid for fresh install so you need to reinstall if you need this flag)

Guess I have to re-install it later on, using your latest instructions.
Just FYI:

There's no initial password in /var/log/gpustack.log
No initial password printed out when I installed it.
Here are the files under /var/lib/gpustack: database.db  jwt_secret_key  log  token  uninstall.sh  worker_name

It didn't go as smoothly as I expected.
I uninstalled it and reboot the Linux machine. Then reinstalled it using command: curl -sfL https://get.gpustack.ai/ | sh -s - --port 443 --bootstrap-password xxx
Even though it said gpustack was running but I was unable to access via web browser. I am copying the terminal output below, and also attached log file here for your reference
gpustatck.log
.
$ curl -sfL https://get.gpustack.ai/ | sh -s - --port 80 --bootstrap-password 123456
[INFO]  GPUStack is already installed. Upgrading...
pipx >(setup:1110): pipx version is 1.7.1
pipx >(setup:1111): Default python interpreter is '/usr/bin/python3.11'
pipx >(package_name_from_spec:378): Determined package name: gpustack
pipx >(package_name_from_spec:379): Package name determined in 0.0s
pipx >(run_subprocess:175): running <checking pip's availability>
pipx >(needs_upgrade:99): Time since last upgrade of shared libs, in seconds: 79211. Upgrade will be run by pipx if greater than 2592000.
pipx >(run_subprocess:175): running <checking pip's availability>
Installing to existing venv 'gpustack'
pipx >(create_venv:164): Creating virtual environment
creating virtual environment...
pipx >(run_subprocess:175): running /usr/bin/python3.11 -m venv --without-pip /root/.local/share/pipx/venvs/gpustack
pipx >(run_subprocess:175): running <checking pip's availability>
pipx >(run_subprocess:175): running /root/.local/share/pipx/venvs/gpustack/bin/python -c import sysconfig; print(sysconfig.get_path('purelib'))
pipx >(run_subprocess:175): running /root/.local/share/pipx/shared/bin/python -c import sysconfig; print(sysconfig.get_path('purelib'))
pipx >(run_subprocess:175): running /root/.local/share/pipx/venvs/gpustack/bin/python --version
pipx >(_parsed_package_to_package_or_url:139): cleaned package spec: gpustack[vllm]
pipx >(install_package:247): Installing gpustack from spec 'gpustack[vllm]'
installing gpustack from spec 'gpustack[vllm]'...
pipx >(run_subprocess:175): running /root/.local/share/pipx/venvs/gpustack/bin/python -m pip --no-input install --force-reinstall gpustack[vllm]
pipx >(run_subprocess:175): running <fetch_info_in_venv commands>
pipx >(get_venv_metadata_for_package:351): get_venv_metadata_for_package: 3196ms
pipx >(_parsed_package_to_package_or_url:139): cleaned package spec: gpustack[vllm]
pipx >(_symlink_package_resource:132): Force is true. Removing /root/.local/bin/gpustack.
installed package gpustack 0.3.1, installed using Python 3.11.2
These apps are now globally available
- gpustack
done! ✨ 🌟 ✨
[INFO]  Setting up GPUStack as a service using systemd.
Created symlink /etc/systemd/system/multi-user.target.wants/gpustack.service → /etc/systemd/system/gpustack.service.
[INFO]  Upgrade complete.
$ systemctl status gpustack
● gpustack.service - GPUStack Service
Loaded: loaded (/etc/systemd/system/gpustack.service; enabled; vendor preset: disabled)
Active: active (running) since Tue 2024-10-29 22:13:08 CST; 2s ago
Main PID: 2630 (pt_main_thread)
Tasks: 4 (limit: 97236)
Memory: 366.7M
CGroup: /system.slice/gpustack.service
└─2630 /root/.local/share/pipx/venvs/gpustack/bin/python /root/.local/bin/gpust>
Oct 29 22:13:08 iZ2ze4ge7l8kjzp1n3tkr2Z systemd[1]: gpustack.service: Scheduled restart jo>
Oct 29 22:13:08 iZ2ze4ge7l8kjzp1n3tkr2Z systemd[1]: Stopped GPUStack Service.
Oct 29 22:13:08 iZ2ze4ge7l8kjzp1n3tkr2Z systemd[1]: Started GPUStack Service.

We have verified a db migration issue during upgrade, and plan to fix it in next release.

[INFO] GPUStack is already installed. Upgrading...

From the logs it seems that previous installation is not cleaned up. Can you run sudo /var/lib/gpustack/uninstall.sh and verify /var/lib/gpustack is removed, then reinstall?

yes. /var/lib/gpustack & /var/log/gpustack.log were all gone after running the uninstall script. But that problem is still there. I just don't know why it still tells me Gpustack is already installed...

It detects the gpustack command, which should be removed by the uninstallation script using pipx uninstall gpustack. Did the uninstallation succeeded without any error?

It claimed that was successful:
sudo /var/lib/gpustack/uninstall.sh
Traceback (most recent call last):
File "/usr/local/bin/pipx", line 3, in
import re
File "/root/miniconda3/lib/python3.12/re/init.py", line 125, in
from . import _compiler, _parser
File "/root/miniconda3/lib/python3.12/re/_compiler.py", line 18, in
assert _sre.MAGIC == MAGIC, "SRE module mismatch"
^^^^^^^^^^^^^^^^^^^
AssertionError: SRE module mismatch
Removed /etc/systemd/system/multi-user.target.wants/gpustack.service.
GPUStack has been uninstalled.

It's using py3.12 while it's py3.11 at the begining of the issue. Is pipx messing up the Python environment?

You might be right, I tried so many combination of setup so I forgot that I tried conda eariler.
Anyway, I uninstall it from conda and re-install it again. Please refer to the file
gpustack20241030.log
. I am still unable to access from a web browser even though it tells me GPUStack UI is available at http://localhost:443.

Could you show full logs from /var/log/gpustack.log?

Sure
gpustack.log

Now the error looks identical to the one in https://github.com/gpustack/gpustack/issues/493#issuecomment-2443639623.
We don't find a way to reproduce, but have submitted a related fix.
It would be appreciate if you can try the wheel package built from the main branch: linux-dist.zip (You can download from github CI as well)
Example:
unzip linux-dist.zip
curl -sfL https://get.gpustack.ai | INSTALL_PACKAGE_SPEC=./gpustack-0.0.0-py3-none-manylinux2014_x86_64.whl sh -s - --port 80 --bootstrap-password 123456

If that works, we can have a patch release to address this issue.

Yes, this version works. I am able to login via a browser now.
However, there's a problem when I tried to add a worker via Register Worker, the service was destroyed and I was no longer able to access via a web browser. I know this might be a quick hack, just keep it in mind.
Thx.

add a worker via Register Worker, the service was destroyed
Do you have server logs for that?

Seems each time the results are different ;-)  It is accessible via web browser this time but "Something went wrong". Please see the output messages and screenshots

:
/var/log/gpustack.log:
2024-10-30T23:34:59+08:00 - gpustack.worker.tools_manager - INFO - downloading llama-box-linux-amd64-cuda-12.4 'v0.0.71'
terminal output:
$ cat /var/lib/gpustack/token
2bfe00133238d82f7171cc9049ea6e29
$ curl -sfL https://get.gpustack.ai | sh -s - --server-url http://x.x.x.x:4000 --token 2bfe00133238d82f7171cc9049ea6e29
[INFO]  GPUStack is already installed. Upgrading...
pipx >(setup:1110): pipx version is 1.7.1
pipx >(setup:1111): Default python interpreter is '/usr/bin/python3.11'
pipx >(package_name_from_spec:378): Determined package name: gpustack
pipx >(package_name_from_spec:379): Package name determined in 0.0s
pipx >(run_subprocess:175): running <checking pip's availability>
pipx >(needs_upgrade:99): Time since last upgrade of shared libs, in seconds: 170482. Upgrade will be run by pipx if greater than 2592000.
pipx >(run_subprocess:175): running <checking pip's availability>
Installing to existing venv 'gpustack'
pipx >(create_venv:164): Creating virtual environment
creating virtual environment...
pipx >(run_subprocess:175): running /usr/bin/python3.11 -m venv --without-pip /root/.local/share/pipx/venvs/gpustack
pipx >(run_subprocess:175): running <checking pip's availability>
pipx >(run_subprocess:175): running /root/.local/share/pipx/venvs/gpustack/bin/python -c import sysconfig; print(sysconfig.get_path('purelib'))
pipx >(run_subprocess:175): running /root/.local/share/pipx/shared/bin/python -c import sysconfig; print(sysconfig.get_path('purelib'))
pipx >(run_subprocess:175): running /root/.local/share/pipx/venvs/gpustack/bin/python --version
pipx >(_parsed_package_to_package_or_url:139): cleaned package spec: gpustack[vllm]
pipx >(install_package:247): Installing gpustack from spec 'gpustack[vllm]'
installing gpustack from spec 'gpustack[vllm]'...
pipx >(run_subprocess:175): running /root/.local/share/pipx/venvs/gpustack/bin/python -m pip --no-input install --force-reinstall gpustack[vllm]
pipx >(run_subprocess:175): running <fetch_info_in_venv commands>
pipx >(get_venv_metadata_for_package:351): get_venv_metadata_for_package: 3367ms
pipx >(_parsed_package_to_package_or_url:139): cleaned package spec: gpustack[vllm]
pipx >(_symlink_package_resource:132): Force is true. Removing /root/.local/bin/gpustack.
installed package gpustack 0.3.1, installed using Python 3.11.2
These apps are now globally available
- gpustack
done! ✨ 🌟 ✨
Removed /etc/systemd/system/multi-user.target.wants/gpustack.service.
[INFO]  Setting up GPUStack as a service using systemd.
Created symlink /etc/systemd/system/multi-user.target.wants/gpustack.service → /etc/systemd/system/gpustack.service.
[INFO]  Upgrade complete.
systemctl status gpustack
● gpustack.service - GPUStack Service
Loaded: loaded (/etc/systemd/system/gpustack.service; enabled; vendor preset: disabled)
Active: active (running) since Wed 2024-10-30 23:34:53 CST; 2min 21s ago
Main PID: 148491 (pt_main_thread)
Tasks: 4 (limit: 97236)
Memory: 740.7M
CGroup: /system.slice/gpustack.service
└─148491 /root/.local/share/pipx/venvs/gpustack/bin/python /root/.local/bin/gpusta>
Oct 30 23:34:53 iZ2ze4ge7l8kjzp1n3tkr2Z systemd[1]: Started GPUStack Service.

Are you adding the worker on the same node as server? It's meant to be a different node and is optional. By default GPUStack server embeds a worker so you can get started with it first. If you install as a worker on the server node it will destruct the setup.

I see. I was installing them on a same machine. Thx!

This should be resolved in the latest release. Feel free to reopen the issue if you have further questions.


catalog: storage pointers and shutdown

At the moment, the catalog uses shared ptrs to storage tables and stores are raw pointer to the storage table in pg_class.
We need to:

Switch to using raw pointers to storage tables.
Implement catalog shutdown, to safely shutdown.  The catalog does not know what transactions are active, nor does it know if the garbage collector is still accessing tables. Shutdown of the catalog should:
i) Wait for completion of all transactions
ii) Wait for the garbage collector to finish
Then, the catalog can delete both system and user tables safely.

Shouldn't the GC delete the physical tables? It should be the same mechanism as DROP TABLE.

You are correct.
At a first read, I don't see support in the GC for this.

Most of this work is now in the catalog branch.

Shared ptrs to the SQL table helper have been replaced with raw pointers
Shutdown of the system now deletes the SQL table helpers (and the sql table objects). This isn't coordinated with the GC yet.


Accessibility update for finesse-frontend

finesse-frontend requires enhancements to meet the accessibility standards as per the "Government of Canada Digital Standards: Playbook." The aim is to improve accessibility for a diverse user base.
Tasks

[ ] Review Finesse-Frontend for accessibility compliance.
[ ] Make necessary updates in the application for improved accessibility.
[ ] Document standard accessibility practices for the project.
[ ] Integrate automated accessibility checks.

Acceptance Criteria

Finesse-Frontend complies with the necessary accessibility standards.
Accessibility improvements are evident in the application.
Standard accessibility practices are documented and implemented.
Automated accessibility checks are in place and functional.

Note that there are GoC efforts to develop reusable components that have built in usability:
https://github.com/DTS-STN/Service-Canada-Design-System
we should probably also start with automated validation of accessibility of the frontend.
@ThomasCardin  This is the tool https://github.com/18F uses in their Github workflow:
https://github.com/pa11y/pa11y/
used here:
https://github.com/18F/guides/blob/0e387b07944a1dc68360b92feac5026fbdf68d07/.github/workflows/pull-request.yml#L50


[WIP] docs(content security): add new chapter

Not ready to merge but closing in.

Brian Clark (clarkio<EMAIL_ADDRESS>is covered under the IdeaBlade CLA and is working with me on this chapter. His and my commits are mutually agreed.

I'd like to adjust the tone a bit to avoid high-level direction to the reader "We strongly recommend consulting a security expert at strategic moments in the project timeline." feels a bit pejorative, like "go find a grown-up", and it's not clear who "we" or "a security expert" are. Instead, use something like "Securing a server is a complex topic beyond the scope of this guide. Here are some Angular-specific tips to help you get started." that sticks to the facts.
Also be careful of ambiguous "we", e.g.
 In this chapter we focus on an important part of the security story: ensuring the safety and security of the content we display and the user input we accept.

The authorial "we focus on" is fine, but "the content we display" is unclear -- who is displaying the content? "ensuring the safety and security of the content displayed by an application, and the user input that it accepts".

I had a look on my dev server and noticed some markdown errors and inline comments. Can we polish this up to publish for RC2?

This PR has both public/docs/ts/latest/guide/content-security.jade and public/docs/ts/latest/guide/content-security.md -- I think .md is an error and should be deleted? Can @wardbell confirm?

Hey. Thanks for hacking this up on short notice, looks very good! I'm going to take this PR over and carry it for the last five meters up to completion. So please vacation as hard as you can, we got this :-)

@naomiblack we were working off the .md at the time and I believe it was intended to be removed once fully converted in jade.
@mprobst if you happen to have any feedback after running through it please feel free to share. Always enjoy talking security.

obsolete.


Initialize repo

I am following up on https://github.com/broadinstitute/2014_09_09_LUAD_MeyersonLab_AliceBerger_DFCI_multimodal/issues/1#issuecomment-918116497
@johnarevalo can you follow the steps in https://github.com/shntnu/evalzoo/tree/init/matric#computational-environment to get set up with your R environment?

@johnarevalo I've updated the README and code, which should allow you to fully reproduce results in the repo. Please give it a shot, and then we'll iterate to figure out how to make it general enough so that it can be deployed on your data with minimal changes to the config.

@ErinWeisbart can you follow the steps in https://github.com/shntnu/evalzoo/tree/init/matric#computational-environment to get set up with your R environment? I'll follow up on next steps once that's done.

@shntnu
Tried setting it up on a Windows VM and when I run renv::restore() after a while it ends up erroring with
Error installing package 'MASS':
================================

* installing to library 'D:/evalzoo/renv/staging/1'
* installing *source* package 'MASS' ...
** package 'MASS' successfully unpacked and MD5 sums checked
** using staged installation
Warning in as.POSIXlt.POSIXct(x, tz) :
  unable to identify current timezone 'C':
please set environment variable 'TZ'
** libs
Warning in system(paste(cmd, "shlib-clean")) : 'make' not found
Warning in system(cmd) : 'make' not found
ERROR: compilation failed for package 'MASS'
* removing 'D:/evalzoo/renv/staging/1/MASS'
Error: install of package 'MASS' failed [error code 1]

@ErinWeisbart try this https://stackoverflow.com/a/55677088

@shntnu I think I've got it now. (FWIW, I also found that I was using R 4.1.1 and it needed 4.0.3.)

I think I've got it now. (FWIW, I also found that I was using R 4.1.1 and it needed 4.0.3.)

Nice!
4.1.1 should work as well
Next, in RStudio, browse to the matric directory and open README.md

Then click More > Set as working directory

Then copy-paste this in the console
source("run_param.R")
run_param("params/params_cellhealth.yaml")

and see if it just works (which would be a miracle)

Without changing the .yaml at all, I get
Quitting from lines 117-206 (0.knit-notebooks.Rmd)
 Error in eval(substitute(expr), data, enclos = parent.frame()) :
  object 'reference_set' not found

and higher up there are some tidyverse_conflicts messages

My bad

git pull
Delete the results directory
try again

 Error: Cannot open file for writing:
* 'D:\evalzoo\matric\results\34513126\1.prepare_data.md'
26.
vroom_write_(xx, file, delim, eol, na_str = na, col_names = col_names,
    append = append, options = opts, num_threads = num_threads,
    progress = progress, buf_lines = buf_lines)
25.
vroom_write(x, file = file, delim = "", col_names = FALSE, eol = eol,
    na = na, append = append, quote = "none", escape = "none",
    num_threads = num_threads)
24.
vroom::vroom_write_lines(as.character(x), file, eol = sep, na = na,
    append = append, num_threads = num_threads)
23.
write_lines(., output_file_rel)
22.
read_lines(output_file_rel) %>% str_remove_all(file.path(getwd(),
    output_dir, "")) %>% write_lines(output_file_rel) at utils.R#37
21.
render_notebook(input = "1.prepare_data.Rmd", output_dir = results_dir,
    params = parameters) at <text>#65
20.
eval(expr, envir, enclos)
19.
eval(expr, envir, enclos)
18.
withVisible(eval(expr, envir, enclos))
17.
withCallingHandlers(withVisible(eval(expr, envir, enclos)), warning = wHandler,
    error = eHandler, message = mHandler)
16.
handle(ev <- withCallingHandlers(withVisible(eval(expr, envir,
    enclos)), warning = wHandler, error = eHandler, message = mHandler))
15.
timing_fn(handle(ev <- withCallingHandlers(withVisible(eval(expr,
    envir, enclos)), warning = wHandler, error = eHandler, message = mHandler)))
14.
evaluate_call(expr, parsed$src[[i]], envir = envir, enclos = enclos,
    debug = debug, last = i == length(out), use_try = stop_on_error !=
        2L, keep_warning = keep_warning, keep_message = keep_message,
    output_handler = output_handler, include_timing = include_timing)
13.
evaluate::evaluate(...)
12.
evaluate(code, envir = env, new_device = FALSE, keep_warning = !isFALSE(options$warning),
    keep_message = !isFALSE(options$message), stop_on_error = if (is.numeric(options$error)) options$error else {
        if (options$error && options$include)
            0L ...
11.
in_dir(input_dir(), evaluate(code, envir = env, new_device = FALSE,
    keep_warning = !isFALSE(options$warning), keep_message = !isFALSE(options$message),
    stop_on_error = if (is.numeric(options$error)) options$error else {
        if (options$error && options$include)  ...
10.
eng_r(options)
9.
block_exec(params)
8.
call_block(x)
7.
process_group.block(group)
6.
process_group(group)
5.
withCallingHandlers(if (tangle) process_tangle(group) else process_group(group),
    error = function(e) {
        setwd(wd)
        cat(res, sep = "\n", file = output %n% "") ...
4.
process_file(text, output)
3.
knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
2.
rmarkdown::render("0.knit-notebooks.Rmd", "github_document",
    params = params_list, output_dir = file.path("results", params_identifier)) at run_param.R#8
1.
run_param("params/params_cellhealth.yaml")

Please git pull and try again. It won't fix the issue but will issue more warnings to help diagnose.

Gave up on the virtual machine and installed locally and I think it works!
Ends with
Output created: results/34513126/0.knit-notebooks.md
Warning message:
In dir.create("results", showWarnings = TRUE) : 'results' already exists

(All the files in results/34513126/ are freshly created)

Awesome! More later on this


Treat namespaced IDs as document links

:tada: This issue has been resolved in version 1.7.0 :tada:
The release is available on:

npm package (@latest dist-tag)
Visual Studio Marketplace
GitHub release

Your semantic-release bot :package::rocket:


Media grid + flat view

Bug: alps-806
Check resolution by launching multiple-media sample, setting grid media view to flat.

 All committers have signed the CLA.

Fix the exception. We will implement an orthographic dispay of the grid in flat view when we will work on hotspots in flat view. In the meantime, display rectilinear grid and avoid problems.


Swagger 2.0 Authentication

Jump on Swagger IRC to see where the swagger guys are with the Authn modelling.

The authorization types are now rendered to spec. Fixed via refactoring