Start markdown

123

123

This is an <h1> header, which is the largest
This is an <h2> header
This is an <h6> header, which is the smallest


I constantly get an error that a polymorphic value is required when trying to edit the owner of a record. I dindn't find any mention of this on the page

[Enter feedback here]

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

ID: 1af33129-05ea-1125-ecde-85fa6b2c83ac
Version Independent ID: 644ce0d3-bb35-e14d-97f8-b8583a6420df
Content: Understand record references and polymorphic lookups in canvas apps - Power Apps
Content Source: powerapps-docs/maker/canvas-apps/working-with-references.md
Service: powerapps
Sub-service: canvas-maker
GitHub Login: @gregli-msft
Microsoft Alias: gregli

Thanks for your comment, @justgivemeanumber. This issue has been assigned to the doc author for review.


Terminal link provider locks up VS Code on long lines

I was taking a profile for https://github.com/microsoft/vscode/issues/109864 and ended up making the mistake of hovering on a line that was 64K characters long. This resulted in the UI locking up -- fortunately I was recording a profile at the time.

Profile-20201104T141330.zip

/duplicate https://github.com/microsoft/vscode/issues/105030


Switch to HashMap from BTreeMap?

It was discovered that a HashMap<String, String> perform better that a BTreeMap<String, String> even at low capacity (10 entries).
https://github.com/minghuaw/map_key_experiment
The benchmark was performed on a M1 MacBook Air

IndexMap is another option which maintains the insertion order. The spec doesn't provide a detailed description for the order any way.

IndexMap is probably the better choice as it maintains the encoded order when it is deserialized

Help needed for making this decision
Current status
A working implementation with IndexMap can be found in the 96-alternative-map. The performance in qpid-interop-test is similar to that of BTreeMap, but qpid-interop-test uses only one session and one link, which essentially means lookup and insertion cost of both BTreeMap and HashMap (or IndexMap) are simply O(1). So the test is not a good benchmark.
Argument FOR switching to IndexMap

The spec states

Unless known to be otherwise, maps MUST be considered to be ordered, that is, the order of the key-value pairs is semantically important and two maps which are different only in the order in which their key-value pairs are encoded are not equal.

Both BTreeMap and HashMap doesn't carry over the encoded order after deserialization, and for possible usages where order matters, the user simply don't have any access to the order.

#94 may require a trait object based Borrow implementation to support using both Symbol and u64 as keys. In a naive benchmark (https://github.com/minghuaw/map_key_experiment), switching from raw string to trait object, on some platform (WSL), has a much significant cost in BTreeMap (from ~3.69 us to ~10.79 us) than either HashMap (from 1.51 us to 3.74 us) or IndexMap (from 2.37 us to 4.01 us)

Argument AGAINST switching to IndexMap

IndexMap doesn't native implement PartialOrd, Ord, or Hash. Because of this, the implementation uses a wrapper type (OrderedMap) with custom implementation of PartialEq, Eq, PartialOrd, Ord and Hash. However, IndexMap is planning to solve this in its "2.x.x" release.
Additional dependency


How can I highlight and focus a word programmatically in java

Im applying a tts functionality on the text editor and I want to highlight and set focus on the word that is speaking. How can I do that programmatically? I know there is a command in the toolbar that highlights the text but I want to know the code.

The only 'highlighting' of text i am aware of is setting the selected text's background color (by default to yellow). Do you mean that?
This can be done by:
editor.javaScriptExecutor.setTextBackgroundColor(<color>)

But the problem here is that it just sets selected text's background color, and i don't know how to select a text programmaticly.
As under the hood RichTextEditor is using a HTML 5 editor (by setting contenteditable to true), you may there find a way to do it:
https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Editable_content
https://developer.mozilla.org/en-US/docs/Web/API/Document/execCommand


easier README

FYI: you can use git clone --recurse-submodules https://github.com/surge-synthesizer/clap-info to streamline the commands to run :)

Thanks!
I tend to not write that in directions not because it isn't easy but because then incremental updates which require a submodule update require a second section ("checkout first time" vs "when you want to update"). But I'll clear it up when I do next update!


Add button to regenerate search index

Just below the "Database Optimization" we need a new area called "Search Index" and a button to rebuild the haystack search index. On the commandline we call ./manage.py rebuild_index but we want also to have a button in the UI to do this.

Done #112


build: add dockerfile for telegraf-ockamd and influxdb-ockamd

This will be added into scripts, but to test in the meantime:

build the local docker files to get the demo images:

docker build -t ockam-dev -f tools/docker/ockam-dev/Dockerfile . # base builder image
docker build -t ockamd:0.1.0 -f tools/docker/rust/Dockerfile.ockamd . # builds v0.1.0 of `ockamd`
docker build -t telegraf-ockamd:0.1.0 -f tools/docker/telegraf/Dockerfile.telegraf-ockamd . # builds  v0.1.0 of `telegraf-ockamd`
docker build -t influxdb-ockamd:0.1.0 -f tools/docker/influxdb/Dockerfile.telegraf-infludb . # builds v0.1.0 of `influxdb-ockamd`

run the influxdb-ockamd:0.1.0 image as the responder end:

docker run -it --network="host" influxdb-ockamd:0.1.0 --role=responder --local-socket=<IP_ADDRESS>:52440

Note: copy the printed value for Responder public key

run the telegraf-ockamd:0.1.0 image as the initiator end and *use the copied Responder public key value:

docker run -it --network="host" --env OCKAMD_RESPONDER_PUBLIC_KEY=$KEY --env OCKAMD_LOCAL_SOCKET=<IP_ADDRESS>:52441 --env OCKAMD_ROUTE=udp://<IP_ADDRESS>:52440 telegraf-ockamd:0.1.0

exec into the telegraph-ockamd:0.1.0 running container & send telegraf some input via HTTP:

docker ps # find the container name
docker exec -it $CONTAINER_NAME curl 'http://localhost:8080/telegraf' --data-binary 'cpu_load_short,host=server01,region=us-west value=0.64<PHONE_NUMBER>000000000'

observe the line format data in the responder end printed to stdout:

cpu_load_short,host=server01,region=us-west value=0.64<PHONE_NUMBER>000000000

(this will be sent via HTTP POST to influxdb shortly, in another commit)

#591 should be merged prior to this. Once #591 is merged, I'll update the comment on this PR to better describe the usage, which will in-turn be useful for the guide.

TODO: consider mapping a volume from the influx/telegraf containers so that keys can be re-used between container start/stops.

I just tried out the whole demo and it worked great!! Nicely done 🎉
Some minor things that were different from the instruction

ockam/ockam-dev vs ockam-dev
tools/docker/rust/Dockerfile.ockamd uses ockam-dev, Step1 in instructions above create ockam/ockam-dev

Step 3 should say telegraf-ockamd in the first argument


nimBLE functionalities and upcoming improvements (IDFGH-3303)

Hello !
Always developing BLE with bluedroid, I came across nimBLE which offers important improvements.
However, performing some tests on a merged central / peripheral test, I was not able to make both central and peripheral active concurrently.
Do you confirm my findings that peripheral/central coexistence is not supported ?
Besides, I see that further improvements are continuously made on the bluedroid stack and the related examples, mesh as well.
Do you intend on maintaining, developing and improving nimBLE in the same manner ?
Thanks in advance !
Best regards.

@AlpinProgrammer  To answer your question, NimBLE supports concurrent peripheral and central role. Please share more details (as per the IDF issue template) on the issue you are facing.
Adding such examples, which will be helpful for the users, is already in the plan and we are working on it.
And yes, we have been fixing issues, adding features and maintaining our fork of NimBLE host stack . NimBLE being a submodule in ESP-IDF, you won't see much activity here. See this: https://github.com/espressif/esp-nimble. Another thing is, we have not changed the NimBLE API and hence you won't see much code in ESP-IDF except for the porting layer and a host-controller init/deinit API.
If there are specific improvements/features you are looking for, please let us know. We would be happy to help.

@AlpinProgrammer Can you please close this if your questions are answered? Feel free to raise a new issue for a specific problem and provide all the details.

Thank you for your fast answer as always.
One last thing is I see in the sdkconfig that it is possible to allow several BLE connections.
However, there is no example about gattc_multiconnect. Is it currently compatible with multiconnect anyways ?
Regards.

@AlpinProgrammer Yes, multiple connections are possible as well. Please set CONFIG_BT_NIMBLE_MAX_CONNECTIONS to the number of simultaneous connections you want. The default value is 3 (same as the default for controller connections) and maximum is 9 (as supported by the controller)
We will try to add an example for multi connections as well. Thanks for your inputs!

@AlpinProgrammer Thanks for reporting and updates, feel free to reopen. Thanks.

Thank you for your help !


550 No files found.

Hi All.
I'm trying to upload a pdf from my PC to a remote server using paperclip-storage-ftp.
The form load the file to the /tmp directory on my local server.
The gem create a new directory on the remote server, but it seems unable to send the file.
And I got the error "550 No files found.".
I'm able to do it by hand.
Here is my Code for model:
has_attached_file :pdf, {
:storage => :ftp,
:path => "/srv/www/rails/sistema/public/system/:class/:attachment/:id_partition/:style/:filename",
:url => "http://sistema.dominio.com.ve/public/system/:class/:attachment/:id_partition/:style/:filename",
:ftp_servers => [
{
:host     => "sistema.dominio.com.ve",
:user     => "usuario",
:password => "clave"
}
]
}
Thanks in advance. (Gracias de antemano).

@cbagnoli Could you provide the full error message including a stack trace if possible?
Btw.: I hope that the credentials are not real. Please remember that this is a public page.

@cbagnoli Maybe this is the same problem this user was facing, which apparently got solved by using a higher timeout: https://github.com/xing/paperclip-storage-ftp/issues/32#issuecomment-154025964

Thanks for yout reply and concern.
Credentials are user and password in Spanish, my native language. So, they are not real. And is not the same case.as mentioned in 32.
I solved it modifying the gem. File:
.rvm/gems/ruby-2.4.1/gems/paperclip-storage-ftp-1.2.7/lib/paperclip/storage/ftp/server.rb
Close to line 100, I replaced:
list = connection.nlst(base)
By:
begin
list = connection.nlst(base)
rescue => e
list = []
end
Apparently, the gem has problems rejecting from nil, on this line:
tree.reject{|k,_| list.include?(k)}.each do |directory, sub_directories|

Thanks for yout reply and concern.
Credentials are user and password in Spanish, my native language. So, they are not real. And is not the same case.as mentioned in 32.
I solved it modifying the gem. File:
.rvm/gems/ruby-2.4.1/gems/paperclip-storage-ftp-1.2.7/lib/paperclip/storage/ftp/server.rb
Close to line 100, I replaced:
list = connection.nlst(base)
By:
begin
list = connection.nlst(base)
rescue => e
list = []
end
Apparently, the gem has problems rejecting from nil, on this line:
tree.reject{|k,_| list.include?(k)}.each do |directory, sub_directories|

Hi @cbagnoli, sorry for the long delay.
I implemented a fix based on your suggestion: https://github.com/xing/paperclip-storage-ftp/pull/39
New gem version is 1.2.8. Please try it and let me know if it's working for you.
Thanks!


"Rușețu" and "Sergent Ionel Ștefan" are listed in the drop-down menu

Description:
"Rușețu" and "Sergent Ionel Ștefan" are listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "Rușețu" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Rușețu, BUZĂU (Rușețu)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Type "Sergent Ionel Ștefan" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Sergent Ionel Ștefan, BUZĂU (Rușețu)".


Turn the AvailabilityZone enum into a table

Resolves #942

Somehow this PR has made it possible to create two Route53 hosted zones with the same name in our test suite which then breaks the assumption that the domain name is unique.

Apparently you can have two hosted zones with different IDs that target the same domain name, so perhaps we should remmove that unique constraint?
I am at a loss as to how this change has caused this.

I suspect something weird with the equality checking now that TypeORM turns the availability zone into an object with a single property, but I'm not sure where to correct this. Will return to this after a break.


Add support for opamps in MCUs

Many MCUs have integrated opamps. Please add peripheral API support for opamps.

Do you have an example of a SoC with built-in opamp?

+1 for this.
For example STM32G4xx as seen on the STM32 B-G431-esc1 motor control application demo.
https://www.st.com/en/evaluation-tools/b-g431b-esc1.html


Move MudulesDataView to the DataViews module

We move ModulesDataView to the DataViews module and add tests for it.
Test: Run unit tests.
Bug: http://b/183386250

The unit tests are passed but I don't know why the unit-test-coverage check fails...


Fix bug in handling sub events of replication.TransactionPayloadEvent

When using the canal package with a MySQL instance with binlog-transaction-compression=ON, the following error occurs when you execute an INSERT statement on a table:
[2024/05/07 17:30:01] [info] sync.go:237 table structure changed, clear table cache: test_database.employees
panic: interface conversion: replication.Event is *replication.QueryEvent, not *replication.RowsEvent

goroutine 1 [running]:
github.com/go-mysql-org/go-mysql/canal.(*Canal).handleRowsEvent(0x140002ee0e0?, 0x1400049a180?)
	/Users/lulusheng/go/pkg/mod/github.com/go-mysql-org/go-mysql@v1.7.1-0.20240507101235-8d4de0fa6687/canal/sync.go:253 +0x2a4
github.com/go-mysql-org/go-mysql/canal.(*Canal).runSyncBinlog(0x140002ee0e0)
	/Users/lulusheng/go/pkg/mod/github.com/go-mysql-org/go-mysql@v1.7.1-0.20240507101235-8d4de0fa6687/canal/sync.go:107 +0x9fc
github.com/go-mysql-org/go-mysql/canal.(*Canal).run(0x140002ee0e0)
	/Users/lulusheng/go/pkg/mod/github.com/go-mysql-org/go-mysql@v1.7.1-0.20240507101235-8d4de0fa6687/canal/canal.go:239 +0xdc
github.com/go-mysql-org/go-mysql/canal.(*Canal).Run(...)
	/Users/lulusheng/go/pkg/mod/github.com/go-mysql-org/go-mysql@v1.7.1-0.20240507101235-8d4de0fa6687/canal/canal.go:194
main.main()
	/Users/lulusheng/Desktop/mysql-binlog-hacking/main.go:42 +0x194

This is because the runSyncBinlog function assumes that the sub events of a replication.TransactionPayloadEvent event are all row events. This isn't true (you can see an example of this in this PR comment https://github.com/go-mysql-org/go-mysql/pull/773#issuecomment-1440776208). This PR addresses this issue by making the event handling logic its own method and calling it recursively from the TransactionPayloadEvent case.
This PR is easier to review if you hide the whitespace.

lgtm.
I noticed in https://github.com/go-mysql-org/go-mysql/pull/773#issuecomment-1440776208 the header of subevents are not the same as a normal binlog events, and EventHandler interface will pass that header to the caller. Does your application want more change? like filling the log position for subevents.

Yeah I noticed the Log position: 0. For my application, I don't think we use that field so it doesn't affect us.
It seems like mysqlbinlog will output the end position of the Transaction_payload_event for all the sub events:
# at 886
#240508 14:41:28 server id 2  end_log_pos 1094 CRC32 0x12e4f78b         Transaction_Payload             payload_size=175       compression_type=ZSTD   uncompressed_size=235
# Start of compressed events.
# at 1094
#240508 14:41:28 server id 2  end_log_pos 1094 CRC32 0x66d1b0d9         Query   thread_id=8     exec_time=0     error_code=0
SET TIMESTAMP=1715193688/*!*/;
BEGIN
/*!*/;
# at 1094
#240508 14:41:28 server id 2  end_log_pos 1094 CRC32 0x14acda3c         Table_map: `test_database`.`employees` mapped to number 92
# has_generated_invisible_primary_key=0
# at 1094
#240508 14:41:28 server id 2  end_log_pos 1094 CRC32 0xae348986         Write_rows: table id 92 flags: STMT_END_F
[...]

We could probably mimic the same approach when creating the subevents of a transaction payload event. Anyways, I don't think it's necessary for this PR in particular. Are you good to approve @lance6716 ?
Also, I noticed that there hasn't been a new release in a while. How difficult would it be to cut a new release soon?

@atercattus Hi, do you have time to release a new version? In fact I'm not familiar with the procedure.

Of course. Should have done this a long time ago :)


Problem of SUBMID_CMD: submit_job in .runx

When i run this command: python -m runx.runx sweep.yml, there is a problem below, why?
"""Copying codebase to ./logs/sweep/witty-fennec_2020.05.27_21.05 ...
Submitting job sweep_witty-fennec_2020.05.27_21.05
/bin/sh: 1: submit_job: not found """

Hello, if you update your code and try the examples again, please try the interactive mode:

pip install --upgrade runx
cd examples
python -m runx.runx mnist.yml -i

That should work!

it works now, Thanks!

Hi,
Same problem here with the newest version runx.
/bin/sh: 1: cd: can't cd to logs/train_cityscapes/ocrnet.HRNet_Mscale_attractive-gharial_2020.10.29_04.59/code
Any idea how to fix it?


[wip] fix synchronous timeout

Summary
Building on #6950, this adds an e2e test and the requested circus fix.
closes #6947
To Do:

[ ] make sure new tests pass
[x] clean up circus fix with proper error information
[x] update CHANGELOG.md

Test plan
The e2e test is failing and I'm having trouble figuring out why, so I'd like to see if it fails on CI too.

@SimenB thanks so much for you help!! 💖

@SimenB how does this look? let me know if you see any ways to clean it up more!

This is great, thank you!

@outofambit Thank you so much for finishing this! ❤

@gitlab-winnie thank you for starting it!! 💖


wireviz: 0.4 -> 0.4.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for wireviz is: Easily document cables and wiring harnesses
meta.homepage for wireviz is: https://pypi.org/project/wireviz/
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.4.1 with grep in /nix/store/fhyi3ad17bfwvg1a86vdhjpk371xn41i-wireviz-0.4.1
found 0.4.1 in filename of file in /nix/store/fhyi3ad17bfwvg1a86vdhjpk371xn41i-wireviz-0.4.1

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

wireviz

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/fhyi3ad17bfwvg1a86vdhjpk371xn41i-wireviz-0.4.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A wireviz https://github.com/r-ryantm/nixpkgs/archive/bc157786490bf3b6c88ed14fdc33ad0c7f15002f.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/bc157786490bf3b6c88ed14fdc33ad0c7f15002f#wireviz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/fhyi3ad17bfwvg1a86vdhjpk371xn41i-wireviz-0.4.1
ls -la /nix/store/fhyi3ad17bfwvg1a86vdhjpk371xn41i-wireviz-0.4.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

wireviz
wireviz.dist

Maintainer pings
cc @pinpox for testing.

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

2 packages built:

wireviz
wireviz.dist


Throughout PHP samples incorrect argmentes array([])

While working to get up and running with Google API's in PHP I've been constantly having to correct sample code's incorrect array arguments to class construction and function calls.  Looks like maybe an automated tools damaged all the sample PHP trying to updated from array() to [].  The problem is too numerous to point out all examples.
Example in repo:
https://github.com/googleworkspace/php-samples/blob/4c121d9c2635da8f90830316311f497a51855444/drive/snippets/drive_v3/src/DriveShareFile.php#L37
Example wrong code block:
                $userPermission = new Drive\Permission(array([
                    'type' => 'user',
                    'role' => 'writer',
                    'emailAddress' =><EMAIL_ADDRESS>                ]));

Example corrected code block:
                $userPermission = new Drive\Permission([
                    'type' => 'user',
                    'role' => 'writer',
                    'emailAddress' =><EMAIL_ADDRESS>                ]);

Updated samples to remove the double arrays


Write tests for registrar package

Closing this because the registrar package does not contain any units atomic enough to be worth testing.


Share shaders among tiles in a tile layer

Compiling the shaders per tile causes a large performance hit.  See the discussion in this thread: https://github.com/OpenGeoscience/geojs/pull/467#issuecomment-159061631.

I've submitted a PR in vgl that does this.
I think for ultimate performance, we will also want to share the GL program between tiles and reuse GL buffers and much as possible.

My main concern was the recompilation of the shader programs, which this appears to solve.  Thanks.

@jbeezley will do the new release of vgl and bring it in geojs

Unfortunately, the changes in https://github.com/OpenGeoscience/vgl/pull/84 don't actually fix the problem.  When I looked at it a couple of weeks ago, I considered doing the same, but the context passed into these methods is just the global vgl.GL object rather than an actual GL context.  I think something more invasive will have to be done to pass the actual context in through the API.

@jbeezley if we pass a different canvas element, it should have the global context. Look at the code here: https://github.com/OpenGeoscience/vgl/blob/master/src/renderWindow.js#L251

I think this code has to changed
https://github.com/OpenGeoscience/geojs/blob/master/src/gl/vglRenderer.js#L78

Sorry, I take it back. I am not sure why we are still getting a global context. I will have to look at in detail. The VGL test would not have worked with global context so may be something went wrong.

@jbeezley the code you pointed need update. I will push a PR.

We get the global context because we are passing it from the construction
functions.  The actor isn't associated with the context until it is
attached to the contextRenderer.
I'm working on the issue.
On Tue, Jan 5, 2016 at 3:28 PM, Aashish Chaudhary<EMAIL_ADDRESS>wrote:

Sorry, I take it back. I am not sure why we are still getting a global
context. I will have to look at in detail. The VGL test would not have
worked with global context so may be something went wrong.
—
Reply to this email directly or view it on GitHub
https://github.com/OpenGeoscience/geojs/issues/471#issuecomment-169122568
.

--
David Manthey
R&D Engineer
Kitware Inc.
(518) 881-4439

@manthey cool.. I won't work on it then.

Another issue I just noticed when working with the vgl changes is a new bottleneck with the shaders.  It is most noticeable when keepLower is turned off.  The bottleneck occurs in shaderProgram.link.  The time line for many interactions looks like this:

I'm wondering if there is a way to cache the result of this operation as well or if it needs to be tile specific.

That would require a bigger refactor, as it would involve reusing programs.
On Wed, Jan 6, 2016 at 1:34 PM, Jonathan Beezley<EMAIL_ADDRESS>wrote:

Another issue I just noticed when working with the vgl changes is a new
bottleneck with the shaders. It is most noticeable when keepLower is
turned off. The bottleneck occurs in shaderProgram.link
https://github.com/OpenGeoscience/vgl/blob/master/src/shaderProgram.js#L235.
The time line for many interactions looks like this:
[image: screen shot 2016-01-06 at 1 30 59 pm]
https://cloud.githubusercontent.com/assets/31890/12150801/dd342ffe-b479-11e5-8f92-a3bec258a6b8.png
I'm wondering if there is a way to cache the result of this operation as
well or if it needs to be tile specific.
—
Reply to this email directly or view it on GitHub
https://github.com/OpenGeoscience/geojs/issues/471#issuecomment-169413038
.

--
David Manthey
R&D Engineer
Kitware Inc.
(518) 881-4439

That would require a bigger refactor, as it would involve reusing programs.

@manthey lets talk about it today (you and me) this afternoon if possible.

With #497, I'll consider this issue closed.  I think further improvements can be opened in a new issue.


An error had occurred

enhanced_exp_adata.obs[g]=enhanced_exp_adata.X[:,enhanced_exp_adata.var.index==g]
Traceback (most recent call last):
File "/home/ZRZ/miniconda3/envs/TESLA/lib/python3.7/site-packages/pandas/core/indexes/base.py", line 2895, in get_loc
return self._engine.get_loc(casted_key)
File "pandas/_libs/index.pyx", line 70, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/index.pyx", line 101, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/hashtable_class_helper.pxi", line 1675, in pandas._libs.hashtable.PyObjectHashTable.get_item
File "pandas/_libs/hashtable_class_helper.pxi", line 1683, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 'CD151'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/ZRZ/miniconda3/envs/TESLA/lib/python3.7/site-packages/pandas/core/generic.py", line 3574, in _set_item
loc = self._info_axis.get_loc(key)
File "/home/ZRZ/miniconda3/envs/TESLA/lib/python3.7/site-packages/pandas/core/indexes/base.py", line 2897, in get_loc
raise KeyError(key) from err
KeyError: 'CD151'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 1, in
File "/home/ZRZ/miniconda3/envs/TESLA/lib/python3.7/site-packages/pandas/core/frame.py", line 3040, in setitem
self._set_item(key, value)
File "/home/ZRZ/miniconda3/envs/TESLA/lib/python3.7/site-packages/pandas/core/frame.py", line 3117, in _set_item
NDFrame._set_item(self, key, value)
File "/home/ZRZ/miniconda3/envs/TESLA/lib/python3.7/site-packages/pandas/core/generic.py", line 3577, in _set_item
self._mgr.insert(len(self.info_axis), key, value)
File "/home/ZRZ/miniconda3/envs/TESLA/lib/python3.7/site-packages/pandas/core/internals/managers.py", line 1189, in ins
ert    block = make_block(values=value, ndim=self.ndim, placement=slice(loc, loc + 1))
File "/home/ZRZ/miniconda3/envs/TESLA/lib/python3.7/site-packages/pandas/core/internals/blocks.py", line 2722, in make
block    return klass(values, ndim=ndim, placement=placement)
File "/home/ZRZ/miniconda3/envs/TESLA/lib/python3.7/site-packages/pandas/core/internals/blocks.py", line 131, in __init
__    f"Wrong number of items passed {len(self.values)}, "
ValueError: Wrong number of items passed 0, placement implies 1
how can I solve this problem？

Thanks for your interest in our method.
It seems the gene "CD151" is not presented or filtered out in your original expression matrix.
I would suggest to check the expression of CD151 in your raw data.

Thanks for your interest in our method. It seems the gene "CD151" is not presented or filtered out in your original expression matrix. I would suggest to check the expression of CD151 in your raw data.

Hello, I encountered the following error while running the tutorial you provided. Do you have any good solutions to this issue?

How can multiple structures like this be accurately segmented into individual contours rather than one, as it results in many empty spots in the filled area, such as the black region in the image below, where there is no organization detected and thus no RNA present?


[backport]: virtiofs: Change to cache auto and no DAX

Backport from master

/tests

/test

22:54:10 Patch failed at 0090 ci: don't disable vmx-rdseed-exit on experimental QEMU
22:54:10 Resolve all conflicts manually, mark them as resolved with
22:54:10 "git add/rm <conflicted_files>", then run "git rebase --continue".
22:54:10 You can instead skip this commit: run "git rebase --skip".
22:54:10 To abort and get back to the state before "git rebase", run "git rebase --abort".
22:54:11 Build step 'Execute shell' marked build as failure

/test

ubuntu:
[2] • Failure [11.808 seconds]
[2] capabilities
[2] /tmp/jenkins/workspace/kata-containers-runtime-ubuntu-18-04-PR-initrd/go/src/github.com/kata-containers/tests/integration/docker/cap_test.go:19
[2]   drop and add capabilities
[2]   /tmp/jenkins/workspace/kata-containers-runtime-ubuntu-18-04-PR-initrd/go/src/github.com/kata-containers/tests/vendor/github.com/onsi/ginkgo/extensions/table/table.go:92
[2]     cap_sys_pacct [It]
[2]     /tmp/jenkins/workspace/kata-containers-runtime-ubuntu-18-04-PR-initrd/go/src/github.com/kata-containers/tests/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:43
[2]
[2]     Expected
[2]         <int>: 125
[2]     to equal
[2]         <int>: 0
[2]
[2]     /tmp/jenkins/workspace/kata-containers-runtime-ubuntu-18-04-PR-initrd/go/src/github.com/kata-containers/tests/integration/docker/cap_test.go:47
[2] ------------------------------
[2] SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS
[2]
[2] Summarizing 1 Failure:
[2]
[2] [Fail] capabilities drop and add capabilities [It] cap_sys_pacct
[2] /tmp/jenkins/workspace/kata-containers-runtime-ubuntu-18-04-PR-initrd/go/src/github.com/kata-containers/tests/integration/docker/cap_test.go:47
[2]
[2] Ran 33 of 140 Specs in 352.068 seconds
[2] FAIL! -- 32 Passed | 1 Failed | 0 Pending | 107 Skipped
[2] --- FAIL: TestIntegration (352.07s)
[2] FAIL


Consider making container cli configurable?

Hi!
First, thanks for rules_oci. It's great.
I noticed that command -v docker and command -v podman are hardcoded in https://github.com/bazel-contrib/rules_oci/blob/375e5dbf3b2c50e83c9df0d0dc16a027984dab77/oci/private/tarball_run.sh.tpl
Notably, this assumes your local env has docker/podman cli executables. rules_docker had tool_target, which enabled specifying a target for a docker executable.
It would be nice if you could provide a docker bin to rules_oci to use.
"Why would you ever want to load things into local docker, without having the docker executable available?"
The bazel docker container doesn't have the docker binary. It's pretty trivial to mount the docker socket in there. In theory you could also mount your docker binary to /usr/bin/docker, but that feels unnecessary.
There's a lot of prebuilt docker cli static binaries floating around. It would be pretty easy to just download one and inject it into rules_oci to use via target.
What do you think? Is this a PR/feature you would entertain?

https://github.com/bazel-contrib/rules_oci#design states that we are not docker or any other runtime specific. we only conform to oci spec.
TLDR; We will never fetch anything runtime/brand-specific binaries here.
the bazel run feature of oci_tarball is just for convenience, and we don't plan to expand it. it's not hermetic by nature of bazel run and therefore never guaranteed to work.

Thanks for the response. Sorry, I think my ask may have been unclear.

It would be nice if you could provide a docker bin to rules_oci to use.

I meant, it would be nice if I (the user) could pass in a target that oci_tarball would use as its command (instead of command -v). In that case, the tool wouldn't pull a docker bin, but I could certainly pull a docker/podman bin and pass it to the tool.
Would accepting a label to configure the toolchain be in-scope? If not, no worries, I can understand why you might want to limit complexity.
I'm envisioning something like (in WORKSPACE):
oci_register_toolchains(
    name = "oci",
    crane_version = LATEST_CRANE_VERSION,
    container_cli = "//my/cli:bin",
)

is https://github.com/bazel-contrib/rules_oci/issues/295 what you are looking for? it's less likely we'll make this configurable with a toolchain. easiest solution is that you provide us a binary in oci_tarball and we run that instead of docker|podman.

is #295 what you are looking for? it's less likely we'll make this configurable with a toolchain. easiest solution is that you provide us a binary in oci_tarball and we run that instead of docker|podman.

Yep - that's exactly what I was looking for. I'll follow that issue. Thanks!


Bump code coverage to 90+

Currently the code coverage is pretty low (79%). I'd like to have it at least 90%, if possible even higher. The major problem is that currently the fix methods aren't being tested. How should we test them? I believe the best thing we can do is to copy over the files to a temporary directory and fix them over there. Might be hard to set up though so have to investigate first.

How should we test them?

Return the original content and the fixed content of a file in the API.

Thanks for the feedback. Will look into that option.

With f9ad52c156ad9fb0ecb1cda524400eeac04cbd18 came the possibility to test fixers. We've now reached a code coverage of 92%.
I still think we have some low hanging fruit to increase this even more.


E2 Compiler Broke

Was out of Garry's Mod for about a year or two, came back to it. All my expression 2's are broken, even simple ones that just play a sound while being toggled on.
This is using today's wire from github.
Internal error - please report to https://github.com/wiremod/wire/issues
addons/wire-master/lua/entities/gmod_wire_expression2/base/compiler.lua:42: attempt to index a nil value

Trace:
	1: Line 32	"Trace"		lua/includes/extensions/debug.lua
	2: Line 301	"__index"		addons/wire-master/lua/entities/gmod_wire_expression2/core/e2lib.lua
	3: Line 42	"nil"		addons/wire-master/lua/entities/gmod_wire_expression2/base/compiler.lua
	4: C function	"Execute"
	5: Line 74	"wire_expression2_validate"		addons/wire-master/lua/entities/gmod_wire_expression2/cl_init.lua
	6: Line 1595	"Validate"		addons/wire-master/lua/wire/client/text_editor/wire_expression2_editor.lua
	7: Line 1845	"Close"		addons/wire-master/lua/wire/client/text_editor/wire_expression2_editor.lua
	8: Line 1749	"SaveFile"		addons/wire-master/lua/wire/client/text_editor/wire_expression2_editor.lua
	9: Line 859	"DoClick"		addons/wire-master/lua/wire/client/text_editor/wire_expression2_editor.lua
	10: Line 232	"nil"		lua/vgui/dlabel.lua

Could you post the code used to get this error?

Any E2 I have, but here's a simple one from 2009 that worked up until sometime last year when I last played:
`@name Sound Emitter
@inputs Button
@outputs
@persist
@trigger
if (Button) {
soundPlay( 1 , 0 , "ambient/music/country_rock_am_radio_loop.wav")
}
else {
soundStop(1)
}
`

That code works just fine, this issue is similar to #1694. I'd suggest reinstalling wiremod and making sure you uninstall any old versions of wiremod. If that doesn't work disable all addons and try again with just wiremod. Last resort is reinstalling Gmod.

Probably a module or something installed adding the execute function to entities. Weird. It's definitely some kind of conflict though

Oh nevermind then.


Failure when I try to sync local to remote

When I try to sync local to remote I get this error, however I can upload to server without problem.
Here is the error:
[error] Error: Failure
	at SFTPStream._transform (/home/roberto/.vscode/extensions/liximomo.sftp-1.8.4/node_modules/ssh2-streams/lib/sftp.js:412:27)
	at SFTPStream.Transform._read (_stream_transform.js:186:10)
	at SFTPStream._read (/home/roberto/.vscode/extensions/liximomo.sftp-1.8.4/node_modules/ssh2-streams/lib/sftp.js:183:15)
	at SFTPStream.Transform._write (_stream_transform.js:174:12)
	at doWrite (_stream_writable.js:387:12)
	at writeOrBuffer (_stream_writable.js:373:5)
	at SFTPStream.Writable.write (_stream_writable.js:290:11)
	at Channel.ondata (_stream_readable.js:639:20)
	at emitOne (events.js:116:13)
	at Channel.emit (events.js:211:7)
	at addChunk (_stream_readable.js:263:12)
	at readableAddChunk (_stream_readable.js:250:11)
	at Channel.Readable.push (_stream_readable.js:208:10)
	at SSH2Stream.<anonymous> (/home/roberto/.vscode/extensions/liximomo.sftp-1.8.4/node_modules/ssh2/lib/Channel.js:166:15)
	at emitOne (events.js:116:13)
	at SSH2Stream.emit (events.js:211:7)
	at parsePacket (/home/roberto/.vscode/extensions/liximomo.sftp-1.8.4/node_modules/ssh2-streams/lib/ssh.js:3445:10)
	at SSH2Stream._transform (/home/roberto/.vscode/extensions/liximomo.sftp-1.8.4/node_modules/ssh2-streams/lib/ssh.js:671:13)
	at SSH2Stream.Transform._read (_stream_transform.js:186:10)
	at SSH2Stream._read (/home/roberto/.vscode/extensions/liximomo.sftp-1.8.4/node_modules/ssh2-streams/lib/ssh.js:253:15)
	at SSH2Stream.Transform._write (_stream_transform.js:174:12)
	at doWrite (_stream_writable.js:387:12)
	at writeOrBuffer (_stream_writable.js:373:5)
	at SSH2Stream.Writable.write (_stream_writable.js:290:11)
	at Socket.ondata (_stream_readable.js:639:20)
	at emitOne (events.js:116:13)
	at Socket.emit (events.js:211:7)
	at addChunk (_stream_readable.js:263:12)
	at readableAddChunk (_stream_readable.js:250:11)
	at Socket.Readable.push (_stream_readable.js:208:10)
	at TCP.onread (net.js:594:20) when local -> remote /home/roberto/Inmobiliaria/phpmyadmin

Here my config:
{
    "protocol": "sftp",
    "host": "****t",
    "port": 22,
    "username": "root",
    "remotePath": "/var/www/html",
    "ignore": [
        "\\.vscode"
    ]
}

Is there a problem with the config? Thanks for all.

Hi, I have same problem. That's sent by the server, it could mean anything though. Perhaps it's a resource issue.For example,  too many files open, too many concurrent requests, etc.
I succeeded if I changed sftp.json to the following. Added directories contain extremely large size files such as images.
"ignore": [
        ".vscode",
        ".git",
        ".DS_Store",
        "tmp",
        "public/photos_photos",
        "uploads"
    ],

This information is hope for your help. Good luck!

I have the same error and the above did not help. I went to the local directory and I do not have a single file >1MB. But admittedly, this is a custom server (on AWS this works fine), so there could be problems elsewhere. As pointed out, it would be helpful if the error message was more informative.


Keep getting a QUERY_ID_INVALID exception

Hey I keep receiving this error when trying to make Inline work
#<Telegram::Bot::Exceptions::ResponseError: Telegram API has returned the error. (ok: "false", error_code: "400", description: "[Error]: Bad Request: QUERY_ID_INVALID")>

And this is my stacktrace
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/telegram-bot-ruby-0.4.1/lib/telegram/bot/api.rb:49:in `call'
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/telegram-bot-ruby-0.4.1/lib/telegram/bot/api.rb:40:in `method_missing'
main.rb:135:in `block (2 levels) in <main>'
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/telegram-bot-ruby-0.4.1/lib/telegram/bot/client.rb:43:in `block in fetch_updates'
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/telegram-bot-ruby-0.4.1/lib/telegram/bot/client.rb:38:in `each'
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/telegram-bot-ruby-0.4.1/lib/telegram/bot/client.rb:38:in `fetch_updates'
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/telegram-bot-ruby-0.4.1/lib/telegram/bot/client.rb:30:in `listen'
main.rb:121:in `block in <main>'
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/telegram-bot-ruby-0.4.1/lib/telegram/bot/client.rb:23:in `run'
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/telegram-bot-ruby-0.4.1/lib/telegram/bot/client.rb:11:in `run'
main.rb:15:in `<main>'

With my own lines of code looking like this:
135: bot.api.answer_inline_query(inline_query_id: message.id, results: results)
121: bot.listen do |message|
15: Telegram::Bot::Client.run(token) do |bot|

As far as I can see it has something to do with the getting update part. The query_id changes when new updates are gathered which means that request take are a bit slow will continue to be computed while the id changes.
EDIT: sorry for the close, reopen - was a mistake
Now I have tried parsing an overwring timeout var to the Client.run method like so:
Telegram::Bot::Client.run(token, timeout: 100) do |bot|

But it doesn't seem to help.

I seemed to have found the solution.
Parsing a timeout var into the Client.run method allows me to overwrite the defaults
Telegram::Bot::Client.run(token, timeout: 40) do |bot|

Could you provide your code?

Gonna boil it down to avoid clutter.
This is my main.rb
Telegram::Bot::Client.run(token) do |bot| # line 15

  bot.listen do |message|  # line 121
    case message
    when Telegram::Bot::Types::InlineQuery
      arr = ComicVine.make_call(message.query)
      results = []
      count = 0
      arr.take(50).each do |char|
        results << Telegram::Bot::Types::InlineQueryResultArticle
                   .new(id: count += 1,
                        title: char[0],
                        thumb_url: char[1],
                        description: char[2],
                        parse_mode: char[3],
                        message_text: char[4]
                        )
      end
      bot.api.answer_inline_query(inline_query_id: message.id, results: results) # line 135
    end
  end
end

And this is my ComicVine.rb
def self.make_call(query)
  url = "SOME_URL"
  url = URI.encode(url)
  return (JSON.parse httpclient.get_content(url))['result'] # this call can be slow for large results
end

Ok, i've reproduced your error, and i have only idea - inline query id is valid only for limited period of time.  It's pretty reasonable because inline bots are supposed to be fast.
Anyway, i didn't find anything about it in official docs, so it's only a guess.


add the broom icon to represent, for example, removing filters from a search screen

add the broom icon to represent, for example, removing filters from a search screen

broom was added in v2.0.0.


Previewing files HTML, JavaScript and CSS in File Explorer

Description of the new feature / enhancement
Please, I would like you to add the ability to preview HTML, JavaScript and CSS files to the Windows File Explorer.
Scenario when this would be used?
To preview the contents of a file before opening it.
Supporting information
No response

Can you please be more specific about what you mean? File Explorer add-ons allow you to view the contents of HTML, JavaScript and CSS files in the preview pane.
Here's the focs showing a .cs file as an example: https://learn.microsoft.com/en-us/windows/powertoys/file-explorer#enabling-the-explorer-pane-in-windows-11
Does this help? /needinfo

That's what I mean. That the plugin does not allow you to preview html, ccs
and javascript files. Try it yourself to see for yourself. I would also
like it to allow the preview of other types of programming files.
Thank you very much for your attention.
El mar, 3 oct 2023 a las 5:28, Jaime Bernardo @.***>)
escribió:

Can you please be more specific about what you mean? File Explorer add-ons
allow you to view the contents of HTML, JavaScript and CSS files in the
preview pane.
Here's the focs showing a .cs file as an example:
https://learn.microsoft.com/en-us/windows/powertoys/file-explorer#enabling-the-explorer-pane-in-windows-11
Does this help? /needinfo
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/PowerToys/issues/28940#issuecomment-1744583420,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AM6NCHYCABDYUHLWIUNOFJLX5PLC7AVCNFSM6AAAAAA5OQMN3SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBUGU4DGNBSGA
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

Is this issue still a problem?

sometimes it works. I don't know what this is due to.
On Thu, Feb 29, 2024 at 2:55 PM Heiko @.***> wrote:

Is this issue still a problem?
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/PowerToys/issues/28940#issuecomment-1971855540,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AM6NCHYAVSGURCPNL7BNYX3YV6DSTAVCNFSM6AAAAAA5OQMN3SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZRHA2TKNJUGA
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

@htcfreek it's definitely still an issue. I've tried for months to get it to work and for some reason sometimes it works, sometimes it breaks after. Sometimes there's no preview at all once installed.


Remove unused imports from ConnectionFactory

Codecov Report

Merging #3323 into master will decrease coverage by 0.16%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #3323      +/-   ##
============================================
- Coverage     70.83%   70.66%   -0.17%
  Complexity        4        4
============================================
  Files           983      983
  Lines         45348    45348
  Branches       6091     6091
============================================
- Hits          32121    32044      -77
- Misses        11114    11189      +75
- Partials       2113     2115       +2

Impacted Files
Coverage Δ
Complexity Δ

...a/com/linkedin/pinot/client/ConnectionFactory.java
44.44% <ø> (ø)
0 <0> (ø)
:arrow_down:

...egation/function/customobject/MinMaxRangePair.java
75.86% <0%> (-24.14%)
0% <0%> (ø)

...ot/core/realtime/stream/PartitionCountFetcher.java
54.16% <0%> (-20.84%)
0% <0%> (ø)

...e/operator/dociditerators/SortedDocIdIterator.java
54.05% <0%> (-10.82%)
0% <0%> (ø)

...pinot/controller/validation/ValidationManager.java
68.75% <0%> (-9.73%)
0% <0%> (ø)

...ore/query/scheduler/resources/ResourceManager.java
87.09% <0%> (-9.68%)
0% <0%> (ø)

.../predicate/NotEqualsPredicateEvaluatorFactory.java
84.74% <0%> (-6.78%)
0% <0%> (ø)

...impl/dictionary/DoubleOnHeapMutableDictionary.java
71.11% <0%> (-6.67%)
0% <0%> (ø)

...inkedin/pinot/common/config/RealtimeTagConfig.java
93.33% <0%> (-6.67%)
0% <0%> (ø)

...edin/pinot/common/metadata/ZKMetadataProvider.java
70.06% <0%> (-6.13%)
0% <0%> (ø)

... and 19 more

Continue to review full report at Codecov.

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


Error memory TMT dataset PXD012574

Description of the bug
URL of the working file: http://ftp.pride.ebi.ac.uk/pub/databases/pride/resources/proteomes/proteogenomics/benchmakrs/15acadc82868c799e567dd1b219b44/

nf-core/quantms execution completed unsuccessfully!

The exit status of the task that caused the workflow execution to fail was: 130.

The full error message was:

Error executing process > 'NFCORE_QUANTMS:QUANTMS:TMT:PROTEININFERENCE:PROTEININFERENCER'

Caused by:
  Process `NFCORE_QUANTMS:QUANTMS:TMT:PROTEININFERENCE:PROTEININFERENCER` terminated with an error exit status (130)

Command executed:

  ProteinInference \
      -in ID_mapper_merge.consensusXML \
      -threads 48 \
      -picked_fdr true \
      -picked_decoy_string DECOY_ \
      -protein_fdr true \
      -Algorithm:use_shared_peptides true \
      -Algorithm:annotate_indistinguishable_groups true \
       \
      -Algorithm:score_aggregation_method best \
      -Algorithm:min_peptides_per_protein 1 \
      -out ID_mapper_merge_epi.consensusXML \
      -debug 0 \
      |& tee ID_mapper_merge_inference.log

  cat <<-END_VERSIONS > versions.yml
  "NFCORE_QUANTMS:QUANTMS:TMT:PROTEININFERENCE:PROTEININFERENCER":
      ProteinInference: $(ProteinInference 2>&1 | grep -E '^Version(.*) ' | sed 's/Version: //g' | cut -d ' ' -f 1)
  END_VERSIONS

Command exit status:
  130

Command output:
  Loading input...
  Loading input took 41.49 s (wall), 41.40 s (CPU), 0.63 s (system), 40.77 s (user)
   occurred 2 times
  Merging IDs across runs...
  Merging IDs across runs took 0.00 s (wall), 0.00 s (CPU), 0.00 s (system), 0.00 s (user)
  Aggregating protein scores...
  Building graph on 738370 features, 18751 unassigned spectra (if chosen) and 22415 proteins.
  Progress of 'Building graph...':

  -- done [took 0.66 s (CPU), 0.66 s (Wall)] --
  Progress of 'Annotating indistinguishable proteins...':

  -- done [took 1.23 s (CPU), 0.07 s (Wall)] --
  Found 17785 connected components.
  Aggregating protein scores took 0.00 s (wall), 0.00 s (CPU), 0.00 s (system), 0.00 s (user)
  Calculating target-decoy q-values...
  Storing output...
  ConsensusXMLFile::store():  found 1 invalid unique ids

Command wrapper:
  Aggregating protein scores...
  Building graph on 738370 features, 18751 unassigned spectra (if chosen) and 22415 proteins.
  Progress of 'Building graph...':

  -- done [took 0.66 s (CPU), 0.66 s (Wall)] --
  Progress of 'Annotating indistinguishable proteins...':

  -- done [took 1.23 s (CPU), 0.07 s (Wall)] --
  Found 17785 connected components.
  Aggregating protein scores took 0.00 s (wall), 0.00 s (CPU), 0.00 s (system), 0.00 s (user)
  Calculating target-decoy q-values...
  Storing output...
  ConsensusXMLFile::store():  found 1 invalid unique ids

  ------------------------------------------------------------
  Sender: LSF System
  Subject: Job 7751604:  in cluster  Exited

  Job  was submitted from host  by user  in cluster  at Thu Nov 24 18:00:09 2022
  Job was executed on host(s) <48*hl-codon-bm-07>, in queue , as user  in cluster  at Thu Nov 24 18:00:19 2022
   was used as the home directory.
   was used as the working directory.
  Started at Thu Nov 24 18:00:19 2022
  Terminated at Thu Nov 24 18:10:28 2022
  Results reported at Thu Nov 24 18:10:28 2022

  Your job looked like:

  ------------------------------------------------------------
  # LSBATCH: User input
  ------------------------------------------------------------

  TERM_MEMLIMIT: job killed after reaching LSF memory usage limit.
  Exited with exit code 130.

  Resource usage summary:

      CPU time :                                   612.00 sec.
      Max Memory :                                 318248 MB
      Average Memory :                             151518.11 MB
      Total Requested Memory :                     307200.00 MB
      Delta Memory :                               -11048.00 MB
      Max Swap :                                   -
      Max Processes :                              13
      Max Threads :                                68
      Run time :                                   608 sec.
      Turnaround time :                            619 sec.

  The output (if any) is above this job summary.

Work dir:
  /hps/nobackup/juan/pride/reanalysis/differential-expression/tmt/PXD012574/work/39/15acadc82868c799e567dd1b219b44

Tip: you can try to figure out what's wrong by changing to the process work dir and showing the script file named `.command.sh`

Command used and terminal output
No response
Relevant files
No response
System information
No response

Even with more memory, it continues failing:
Error executing process > 'NFCORE_QUANTMS:QUANTMS:TMT:PROTEININFERENCE:PROTEININFERENCER'

Caused by:
  Process `NFCORE_QUANTMS:QUANTMS:TMT:PROTEININFERENCE:PROTEININFERENCER` terminated with an error exit status (139)

Command executed:

  ProteinInference \
      -in ID_mapper_merge.consensusXML \
      -threads 48 \
      -picked_fdr true \
      -picked_decoy_string DECOY_ \
      -protein_fdr true \
      -Algorithm:use_shared_peptides true \
      -Algorithm:annotate_indistinguishable_groups true \
       \
      -Algorithm:score_aggregation_method best \
      -Algorithm:min_peptides_per_protein 1 \
      -out ID_mapper_merge_epi.consensusXML \
      -debug 0 \
      |& tee ID_mapper_merge_inference.log

  cat <<-END_VERSIONS > versions.yml
  "NFCORE_QUANTMS:QUANTMS:TMT:PROTEININFERENCE:PROTEININFERENCER":
      ProteinInference: $(ProteinInference 2>&1 | grep -E '^Version(.*) ' | sed 's/Version: //g' | cut -d ' ' -f 1)
  END_VERSIONS

Command exit status:
  139

Command output:
  Loading input...
  Loading input took 41.83 s (wall), 41.62 s (CPU), 0.76 s (system), 40.86 s (user)
  <Loading input...> occurred 2 times
  Merging IDs across runs...
  Merging IDs across runs took 0.00 s (wall), 0.00 s (CPU), 0.00 s (system), 0.00 s (user)
  Aggregating protein scores...
  Building graph on 738370 features, 18751 unassigned spectra (if chosen) and 22415 proteins.
  Progress of 'Building graph...':

    9.92 %
  -- done [took 0.59 s (CPU), 0.60 s (Wall)] --
  Progress of 'Annotating indistinguishable proteins...':

  -- done [took 2.60 s (CPU), 0.11 s (Wall)] --
  Found 17785 connected components.
  Aggregating protein scores took 0.00 s (wall), 0.00 s (CPU), 0.00 s (system), 0.00 s (user)
  Calculating target-decoy q-values...
  Storing output...
  ConsensusXMLFile::store():  found 1 invalid unique ids

Command error:
  .command.sh: line 15: 2292302 Segmentation fault      (core dumped) ProteinInference -in ID_mapper_merge.consensusXML -threads 48 -picked_fdr true -picked_decoy_string DECOY_ -protein_fdr true -Algorithm:use_shared_peptides true -Algorithm:annotate_indistinguishable_groups true -Algorithm:score_aggregation_method best -Algorithm:min_peptides_per_protein 1 -out ID_mapper_merge_epi.consensusXML -debug 0 2>&1
       2292303 Done                    | tee ID_mapper_merge_inference.log

Work dir:
  /hps/nobackup/juan/pride/reanalysis/differential-expression/tmt/PXD012574/work/b7/2d34857a791de24ebf9f93e632526e

Tip: you can try to figure out what's wrong by changing to the process work dir and showing the script file named `.command.sh`

I have run the dataset only with comet and it finished. @jpfeuffer

Stacktrace:
Toggle me!
```
#74641 0x00007f82c7ea57b5 in boost::spirit::karma::int_inserter<10u, boost::spirit::unused_type, boost::spirit::unused_type>::call, std::allocator > >, mpl_::int_<0>, boost::spirit::unused_type>, double> (sink=..., n=-nan(0x8000000000000), num=@0x7ffc9e6e4220: inf, exp=315) at /usr/include/boost/spirit/home/karma/numeric/detail/numeric_utils.hpp:597
#74642 0x00007f82c7ea57b5 in boost::spirit::karma::int_inserter<10u, boost::spirit::unused_type, boost::spirit::unused_type>::call, std::allocator > >, mpl_::int_<0>, boost::spirit::unused_type>, double> (sink=..., n=inf, num=@0x7ffc9e6e4220: inf, exp=308) at /usr/include/boost/spirit/home/karma/numeric/detail/numeric_utils.hpp:597
#74643 0x00007f82c7ea57b5 in boost::spirit::karma::int_inserter<10u, boost::spirit::unused_type, boost::spirit::unused_type>::call, std::allocator > >, mpl_::int_<0>, boost::spirit::unused_type>, double> (sink=..., n=inf, num=@0x7ffc9e6e4220: inf, exp=301) at /usr/include/boost/spirit/home/karma/numeric/detail/numeric_utils.hpp:597
#74644 0x00007f82c7ea57b5 in boost::spirit::karma::int_inserter<10u, boost::spirit::unused_type, boost::spirit::unused_type>::call, std::allocator > >, mpl_::int_<0>, boost::spirit::unused_type>, double> (sink=..., n=inf, num=@0x7ffc9e6e4220: inf, exp=294) at /usr/include/boost/spirit/home/karma/numeric/detail/numeric_utils.hpp:597
#74645 0x00007f82c7ea57b5 in boost::spirit::karma::int_inserter<10u, boost::spirit::unused_type, boost::spirit::unused_type>::call, std::allocator > >, mpl_::int_<0>, boost::spirit::unused_type>, double> (sink=..., n=inf, num=@0x7ffc9e6e4220: inf, exp=287) at /usr/include/boost/spirit/home/karma/numeric/detail/numeric_utils.hpp:597
#74646 0x00007f82c7ea57b5 in boost::spirit::karma::int_inserter<10u, boost::spirit::unused_type, boost::spirit::unused_type>::call, std::allocator > >, mpl_::int_<0>, boost::spirit::unused_type>, double> (sink=..., n=inf, num=@0x7ffc9e6e4220: inf, exp=280) at /usr/include/boost/spirit/home/karma/numeric/detail/numeric_utils.hpp:597
#74647 0x00007f82c7ea57b5 in boost::spirit::karma::int_inserter<10u, boost::spirit::unused_type, boost::spirit::unused_type>::call, std::allocator > >, mpl_::int_<0>, boost::spirit::unused_type>, double> (sink=..., n=inf, num=@0x7ffc9e6e4220: inf, exp=273) at /usr/include/boost/spirit/home/karma/numeric/detail/numeric_utils.hpp:597
#74648 0x00007f82c7ea57b5 in boost::spirit::karma::int_inserter<10u, boost::spirit::unused_type, boost::spirit::unused_type>::call, std::allocator > >, mpl_::int_<0>, boost::spirit::unused_type>, double> (sink=..., n=inf, num=@0x7ffc9e6e4220: inf, exp=266) at /usr/include/boost/spirit/home/karma/numeric/detail/numeric_utils.hpp:597
#74649 0x00007f82c7ea57b5 in boost::spirit::karma::int_inserter<10u, boost::spirit::unused_type, boost::spirit::unused_type>::call, std::allocator > >, mpl_::int_<0>, boost::spirit::unused_type>, double> (sink=..., n=inf, num=@0x7ffc9e6e4220: inf, exp=259) at /usr/include/boost/spirit/home/karma/numeric/detail/numeric_utils.hpp:597
#74650 0x00007f82c7ea57b5 in boost::spirit::karma::int_inserter<10u, boost::spirit::unused_type, boost::spirit::unused_type>::call, std::allocator > >, mpl_::int_<0>, boost::spirit::unused_type>, double> (sink=..., n=inf, num=@0x7ffc9e6e4220: inf, exp=252) at /usr/include/boost/spirit/home/karma/numeric/detail/numeric_utils.hpp:597
#74651 0x00007f82c7ea57b5 in boost::spirit::karma::int_inserter<10u, boost::spirit::unused_type, boost::spirit::unused_type>::call, std::allocator > >, mpl_::int_<0>, boost::spirit::unused_type>, double> (sink=..., n=inf, num=@0x7ffc9e6e4220: inf, exp=245) at /usr/include/boost/spirit/home/karma/numeric/detail/numeric_utils.hpp:597
#74652 0x00007f82c7ea57b5 in boost::spirit::karma::int_inserter<10u, boost::spirit::unused_type, boost::spirit::unused_type>::call, std::allocator > >, mpl_::int_<0>, boost::spirit::unused_type>, double> (sink=..., n=inf, num=@0x7ffc9e6e4220: inf, exp=238) at /usr/include/boost/spirit/home/karma/numeric/detail/numeric_utils.hpp:597
```
and then an infinite loop.

@timosachsenberg

see https://github.com/OpenMS/OpenMS/issues/6507


refactor(docker): replace deprecated environment variable

Replace environment variable DOCKER_NO_BUILD_SUMMARY with DOCKER_BUILD_SUMMARY.

Should remove the following warning:


Rebuilt the chinese pages to use the larger link area in the footer.

Also:
Updated the build process so that both languages can be built at the same time, and the README.md to reflect this.

Gonna close this, as all of the changes hve now been merged into the other PR I made - https://github.com/jlord/git-it/pull/133


Unknown shorthand flag when launching a Pelican origin

Get an error that says
Error: unknown shorthand flag: 'f' in -f

when launching a Pelican origin
./dist/pelican_linux_arm64/pelican origin serve -f https://director.osg-htc.org -v /tmp/stash/:/test

If looking at the help doc
./dist/pelican_linux_arm64/pelican origin serve --help

-f seems is not defined
Start the origin service

Usage:
  pelican origin serve [flags]

Flags:
  -h, --help            help for serve
  -v, --volume string   Setting the volue to /SRC:/DEST will export the contents of /SRC as /DEST in the Pelican federation

Global Flags:
      --config string   config file (default is $HOME/.config/pelican/pelican.yaml)
      --json            output results in JSON format

This is done in the recent origin refactoring.


chore: Remove dploeger for the time being

I've removed myself for the time being as I can't contribute currently and are bombed with mails. :)

I bypassed branch protection for this one as it doesn't really require more reviews :) Thanks @dploeger !

This still makes me sad, but I get it.


Input/Select: Add error icon support

Input/Select: Add error icon support

This update enhances the Input and Select components with error icon
rendering. If these components have a state (prop) of error, they will
automatically add an error Icon at the end.
These error Icon have the ability to render a Tooltip message, if
the prop errorMessage is provided.
The Select component was refactored with Flow (yay).

(Select + error)
For this update, I held off refactoring the CSS of Input and Select
with Fancy (for now).
Other updates include swapping shallow for mount rendering in tests,
updating tests, and improving Truncate/Tooltip/Pop rendering.

@knicklabs Gonna merge this one! Hope that's okay!!!


generate bundle should not add unserved CRDs to owned section

Feature Request
Describe the problem you need a feature to resolve.
When running operator-sdk generate bundle ... (version 1.5), any older versions of CRDs API contained in the versions section of the CRD are added to the owned section of the CSV.
These references are added even though they were not included when executing operator-sdk generate kustomize manifests ....
These older versions have been marked as unserved hence consided deprecated.
An undesirable effect of these APIs appearing in the owned section is that multiple sections are displayed in the Provided APIs section of the Openshift Console, identically labelled. This may be a defect with the Console but does end up being an unfortunate result that will do nothing but confuse users.
Describe the solution you'd like.
The operator-sdk generator code should consider APIs marked as unserved, ie. deprecated, and not add them to the owned section or consider only the latest version of an API and only add that to the owned section. This will fix the problem with multiple Provided API entries in the Openshift Console.
However, if the owned section of the CSV has additional functions and deprecated/multiple versions of the same API should appear in this section of the CSV then an explanation would be appreciated.
/language go

Screenshot showing 3 Owned APIs of differing versions

This fix may also need to be applied to scorecard, although not certain about that. Needs to be investigated.


Multicam in Matlab

|---------------------------------|------------------------------------------- |
| Camera Model                       | D415 + T265 |
| Firmware Version                   | (<IP_ADDRESS>) / (<IP_ADDRESS>48)  |
| Operating System & Version |   {Win ( 10)    |
| Platform                                 | PC  |
| SDK Version                            |  {   2.2}                          |
| Language                            |Matlab 2018                     |
Hello
I've read several issues about this but none  solved my problem :
I want to use T265 and D415 at the same time, but whene both are connected to my laptop, only D415 is detected.
When I run the matlab program, I even hear the sound as if T265 was disconnected from usb port.
Another thing, this code only returns 1 when both are connected, 0 when T265 is connected.
ctx = realsense.context();
n_devices = length(ctx.query_devices())

I can identify them (running separately) by their SNumber but I'm not sure I can get anything  starting from that.
I thought this issue  would help me but the code doesn't work for me...
thanks

There was another recent case where T265 was not detected by MATLAB.   The user in that case solved the problem by putting a clear instruction at the start of their script.
https://github.com/IntelRealSense/librealsense/issues/3774

Yes I've read that case already and I have 'clear' in my code.
I guess there is something wrong in T265 Matlab implementation by Intel. In #3733 evoqued, in my first post, the command ctx.query_devices() would work fine but it doesn't with this new camera...

I just installed SDK 2.21, and this issue is unfortunately not solved. T265 is not detected if D415 is connected to the laptop. I always get :
length(ctx.query_devices()) = 0 when T265 is connected
length(ctx.query_devices()) = 1 when both are connected
One thing I managed is to initialize a pipe for T265, with D415 not yet connected to the laptop, then plug D415 and initialize a new pipe for it.
This way, I have access to each pipe, frameset and data eventually.
So I make it work but it's not a perfect operational mode at all, I can't keep unplugging and plugging camera D415 again and again.


server: Allow loading of state in settings

Until now there was no way to fill server.state before the first actual view has been initialized.
With this changes it is now possible to define or load the initial values for server.state in the settings.py.
In my case I have a rather simple web application that keeps track of a queue of images.
One view shows this queue of images ("frontend") and another view allows to configure this queue ("backend").
Both views share the current queue using server.state. But: I did not find an elegant way to load my initial state:
I could do it in handle_request but this would mean code duplication between the views.
For me the best way to handle this is to allow the user to define the initial_state of the server.state.
And since I can run arbitrary python-magic in settings.pythis seems a perfect fit.

Hi @SmithChart,
the standard way to achieve this is to write a middleware and setup server.state in a on_startup hook, but I like your idea. The patches look ok to me, just some minor feedback.

@fscherf Well... Now we started editing at the same time.
It seems my patch still fails CI. So take what ever you like more.

@SmithChart: Do you want to add my change requests to this pr? If not i will merge my branch with you updated patch (i am fine with both, they do pretty much the same)

Codecov Report

Merging #216 (ec40738) into master (3a23d56) will increase coverage by 0.01%.
The diff coverage is 100.00%.

:exclamation: Current head ec40738 differs from pull request most recent head e7f3e7d. Consider uploading reports for the commit e7f3e7d to get more accurate results

@@            Coverage Diff             @@
##           master     #216      +/-   ##
==========================================
+ Coverage   62.27%   62.28%   +0.01%
==========================================
  Files          67       67
  Lines        4816     4818       +2
  Branches      932      932
==========================================
+ Hits         2999     3001       +2
  Misses       1564     1564
  Partials      253      253

Impacted Files
Coverage Δ

lona/default_settings.py
100.00% <100.00%> (ø)

lona/server.py
68.20% <100.00%> (+0.09%)
:arrow_up:

Continue to review full report at Codecov.

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

@SmithChart: Do you want to add my change requests to this pr? If not i will merge my branch with you updated patch (i am fine with both, they do pretty much the same)

Sorry. Totally overlooked the activity here. Thanks for the bump!

@SmithChart: No Problem. Thanks for contributing :)


ironbar: init at 0.13.0

Description of changes
Adds https://github.com/JakeStanger/ironbar
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

quite happy to see a rust bar ! hpoing it would crash less than waybar
Seems like it is based on client/server module but the server seems to die pretty fast , i cant ping it.
2023-07-03T14:33:37.394681Z  INFO ironbar: 86: Ironbar version 0.13.0
2023-07-03T14:33:37.394701Z  INFO ironbar: 87: Starting application
2023-07-03T14:33:37.451658Z ERROR ironbar: 170: FileNotFound
2023-07-03T14:33:37.451659Z  INFO ironbar::ipc::server: 36: Starting IPC on /run/user/1000/ironbar-ipc.sock

I dont have a config so maybe that's the problem.

@teto Currently ironbar doesn't start without a default config. I ran into that issue as well when trying it for the first time. I made an issue here: https://github.com/JakeStanger/ironbar/issues/219
So far ironbar has suited my needs better than waybar. Rust makes it easier to contribute to and development is quite active as well.

Hey, Ironbar author here, happy to see it get some love and excited to see it get packaged :)
I'll keep development discussion over in the repo, but just wanted to clarify:

Seems like it is based on client/server module but the server seems to die pretty fast , i cant ping it.

There is a small IPC server that allows for clients to perform some external interactions, but it's otherwise unrequited. It's behind a feature flag so can be turned off if desired.

Currently ironbar doesn't start without a default config

This is correct. It should be sufficient to stick an empty object {}  in ~/config/ironbar/config.json` for now.
Give me a shout if you need anything, happy to help out here.

This is correct. It should be sufficient to stick an empty object {} in ~/config/ironbar/config.json for now

that indeed fixed it but a fancier default would be more enticing ;)
is the pkgs/applications/misc/ironbar/xdg-data-dirs.patch patch gonna stay ?

I believe that patch is from a PR that's currently open, so should hopefully have that merged soon.

Ran nixpkgs-fmt since I forgot to check formatting earlier. Patch will be removed once https://github.com/JakeStanger/ironbar/pull/210 gets merged.

Hi as the author and essentially maintainer of the package, I just wanna say that there are some possibly unnecessary dependencies included with the GTK wrapper. Though I haven't been able to test for which ones aren't needed, for nixpkgs it should probably be cleaned up. Also I am willing to port the home manager module to NixOS if needed, as I also wrote it and know it quite well.

@yavko Thank you for all your work! This PR would not exist without your contributions. Let me know if you want to be added as a maintainer for the nixpkgs version as well.
I'll see if I can clean up the wrapper later. In the meantime, I added the upstream version to follow https://github.com/NixOS/nixpkgs/pull/234201

@yavko Thank you for all your work! This PR would not exist without your contributions. Let me know if you want to be added as a maintainer for the nixpkgs version as well.

Sure, though I'm not a maintainer in nixpkgs

I'll see if I can clean up the wrapper later. In the meantime, I added the upstream version to follow https://github.com/NixOS/nixpkgs/pull/234201

This is new to me, I'll have to start using this pattern lol

Added gtk3 to postInstall since ironbar depends on gtk-launch.
@yavko If you fork nixpkgs and make a commit adding yourself to https://github.com/NixOS/nixpkgs/blob/master/maintainers/maintainer-list.nix I should be able to add that commit to this PR. Format should be maintainers: add name.

Added gtk3 to postInstall since ironbar depends on gtk-launch.
@yavko If you fork nixpkgs and make a commit adding yourself to https://github.com/NixOS/nixpkgs/blob/master/maintainers/maintainer-list.nix I should be able to add that commit to this PR. Format should be maintainers: add name.

Sorry for taking so long, but I was on a trip at the time and forgot https://github.com/NixOS/nixpkgs/pull/248376

LGTM, I'll rebase and update this later. Will also add you as a co-author since you wrote the original flake.nix.

Would you mind switching to the new pkgs/by-name scheme?

Looks like everything should be good to go now. I tested ironbar on master. Excited to see it in nixpkgs!


How to push new files only?

I am holding a big folder in google drive that I don't want to keep a local copy on my computer. And periodically I need to upload some new files to the cloud. So I am wondering if there is a way that we can push only the new files to the drive without regarding local deleted files? Because if we just call drive push, the files not exist in local folder will also be deleted from the cloud. So it would be great if we can configure the push tool to figure out the files in local folder but not in the remote folder, and then push those files only.

Study the instructions on these options and then test on  on some disposable data.
drive push -no-clobber
drive push -exclude-ops "delete" sensitive_files
Regards CB


Redo new player & controls guidebooks

About the PR

first pass on cleaning up new player stuff.
Media

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

Changelog

no cl no fun

looks good to me


[Apple Notes]search notes error

Extension
https://raycast.com/raycast/apple-notes
Raycast Version
1.82.5
macOS Version
14.6.1 (23G93)
Description
Error:
Error: EPERM: operation not permitted, copyfile '/Users/c0257/Library/Group Containers/group.com.apple.notes/NoteStore.sqlite' -> '/var/folders/8d/9_2fp95n29741bgw2nvf03gr0000gn/T/useSQL/aa865ccaf4e687b88d549df73fb673a3e9493d22/db.db'
    at async copyFile (node:internal/fs/promises:623:10)
    at async /Users/c0257/.config/raycast/extensions/8c7187e0-f64c-4dba-ba77-b1cb543256d6/index.js:12:24155

Steps To Reproduce
1、open raycast
2、input search notes
3、error
Current Behaviour
search notes
Expected Behaviour
Normal search

Could you check if Raycast has the Full Disk Access permission enabled in System Settings > Privacy & Security > Full Disk Access?

I'm closing this issue to maintain a clean backlog. Feel free to comment it if you still have the problem.


Add the pytest ini

Updated the layout to follow this common model and included the pytest.ini file in the right location. Running pytest and python -m pytest from any position within the repository should be successful.
.
├── LICENSE.txt
├── nwmurl
│  ├── __init__.py
│  └── urlgennwm.py
├── pytest.ini
├── README.md
├── setup.py
└── test
   └── test_cases.py

Also, reformatted a number of files according to strict formatting rules, so there are a few changes in other source files not related to testing.
Many complicated but useful discussions here:
https://stackoverflow.com/questions/41748464/pytest-cannot-import-module-while-python-can
And a very good example here:
https://github.com/Mrodent/pytest_probs/blob/main/src/core/bubble.py
We boiled things down to the minimum.

Looks useful and seems working anywhere when you run "pytest". Will modify the changes to the format and push the changes.


don't support korean?

Invalid characters in string.

https://github.com/troldal/OpenXLSX/tree/master#unicode

As @rageworx highlights, the string must be in UTF-8 format. Here is a piece of code that works on my machine:
#include <iostream>
#include <OpenXLSX/OpenXLSX.h>

using namespace std;
using namespace OpenXLSX;

int main() {

    XLDocument doc1;
    doc1.CreateDocument("./UnicodeTest.xlsx");
    auto wks1 = doc1.Workbook().Worksheet("Sheet1");

    wks1.Cell("A1").Value() = "안녕하세요 세계!";
    wks1.Cell("A2").Value() = "你好，世界!";
    wks1.Cell("A3").Value() = "こんにちは世界";
    wks1.Cell("A4").Value() = "नमस्ते दुनिया!";
    wks1.Cell("A5").Value() = "Привет, мир!";
    wks1.Cell("A6").Value() = "Γειά σου Κόσμε!";

    doc1.SaveDocument();
    doc1.CloseDocument();

    XLDocument doc2;
    doc2.OpenDocument("./UnicodeTest.xlsx");
    auto wks2 = doc2.Workbook().Worksheet("Sheet1");

    cout << "Cell A1: " << wks2.Cell("A1").Value().Get<std::string>() << endl;
    cout << "Cell A2: " << wks2.Cell("A2").Value().Get<std::string>() << endl;
    cout << "Cell A3: " << wks2.Cell("A3").Value().Get<std::string>() << endl;
    cout << "Cell A4: " << wks2.Cell("A4").Value().Get<std::string>() << endl;
    cout << "Cell A5: " << wks2.Cell("A5").Value().Get<std::string>() << endl;
    cout << "Cell A6: " << wks2.Cell("A6").Value().Get<std::string>() << endl;

    doc2.CloseDocument();

    return 0;
}

The console output of this is:
Cell A1: 안녕하세요 세계!
Cell A2: 你好，世界!
Cell A3: こんにちは世界
Cell A4: नमस्ते दुनिया!
Cell A5: Привет, мир!
Cell A6: Γειά σου Κόσμε!

Process finished with exit code 0

I have also added the resulting spreadsheet.
UnicodeTest.xlsx
If you still cannot get it to work, please provide a code sample.

@troldal , I think @Sangwook-Hwang  may using MSVC and that's not handles UTF-8 encoded string at compilation.

I just tried compiling the code above on Windows 10 using MSVC/Visual Studio 2019. Outputting to console results in gibberish, but the resulting .xlsx spreadsheet works fine:

This image is a screenshot of the generated file on windows, using Excel for Windows.
It seems that the OpenXLSX code using UTF-8 works fine on windows. The fact that the console output looks strange is an issue with the console app, not OpenXLSX.
The Windows OS uses UTF-16 internally. Conversion between UTF-8 and USF16 (or 32) can be done using the codecvt (in the c++ standard library since C++11) or a 3rd party library.

I do not have success in reading Korean strings out of an Excel file. This issue occurs where Korean characters are mixed with standard ones.
The xml data of sharedStrings looks like this:
<si>
  <r>
    <rPr>
      <sz val="12"/>
      <rFont val="Microsoft YaHei"/>
      <family val="2"/>
      <charset val="1"/>
    </rPr>
    <t xml:space="preserve">韓国語</t>
  </r>
  <r>
    <rPr>
      <sz val="12"/>
      <rFont val="Arial"/>
      <family val="2"/>
      <charset val="1"/>
    </rPr>
    <t xml:space="preserve">?</t>
  </r>
</si>

The xls document was created with Excel and edited with LibreOffice. It looks like some special formatting was automatically inserted and then OpenXLSX cannot read out the strings.
OpenXLSX::Cell::valueType() returns OpenXLSX::XL:ValueType::Empty.

I do not have success in reading Korean strings out of an Excel file. This issue occurs where Korean characters are mixed with standard ones.
The xml data of sharedStrings looks like this:
<si>
  <r>
    <rPr>
      <sz val="12"/>
      <rFont val="Microsoft YaHei"/>
      <family val="2"/>
      <charset val="1"/>
    </rPr>
    <t xml:space="preserve">韓国語</t>
  </r>
  <r>
    <rPr>
      <sz val="12"/>
      <rFont val="Arial"/>
      <family val="2"/>
      <charset val="1"/>
    </rPr>
    <t xml:space="preserve">?</t>
  </r>
</si>

The xls document was created with Excel and edited with LibreOffice. It looks like some special formatting was automatically inserted and then OpenXLSX cannot read out the strings.
OpenXLSX::Cell::valueType() returns OpenXLSX::XL:ValueType::Empty.

I do not have success in reading Korean strings out of an Excel file. This issue occurs where Korean characters are mixed with standard ones.
The xml data of sharedStrings looks like this:
<si>
  <r>
    <rPr>
      <sz val="12"/>
      <rFont val="Microsoft YaHei"/>
      <family val="2"/>
      <charset val="1"/>
    </rPr>
    <t xml:space="preserve">韓国語</t>
  </r>
  <r>
    <rPr>
      <sz val="12"/>
      <rFont val="Arial"/>
      <family val="2"/>
      <charset val="1"/>
    </rPr>
    <t xml:space="preserve">?</t>
  </r>
</si>

The xls document was created with Excel and edited with LibreOffice. It looks like some special formatting was automatically inserted and then OpenXLSX cannot read out the strings.
OpenXLSX::Cell::valueType() returns OpenXLSX::XL:ValueType::Empty.

You may need to understand "UTF-8" encoding instead wide charactor ( wchar_t ).
Most of XML may written in UTF-8 ( w/BOM or wo/BOM ), and most of koreans should be able to check length in mbsc instead of wcsc.

It's each these words:

UTF-8 TEST Korean : 세상아 안녕?
UCSC-2-LE TEST Korean : 세상아 안녕?

I do not have success in reading Korean strings out of an Excel file. This issue occurs where Korean characters are mixed with standard ones.
The xml data of sharedStrings looks like this:
<si>
  <r>
    <rPr>
      <sz val="12"/>
      <rFont val="Microsoft YaHei"/>
      <family val="2"/>
      <charset val="1"/>
    </rPr>
    <t xml:space="preserve">韓国語</t>
  </r>
  <r>
    <rPr>
      <sz val="12"/>
      <rFont val="Arial"/>
      <family val="2"/>
      <charset val="1"/>
    </rPr>
    <t xml:space="preserve">?</t>
  </r>
</si>

The xls document was created with Excel and edited with LibreOffice. It looks like some special formatting was automatically inserted and then OpenXLSX cannot read out the strings.
OpenXLSX::Cell::valueType() returns OpenXLSX::XL:ValueType::Empty.

You may need to understand "UTF-8" encoding instead wide charactor ( wchar_t ).
Most of XML may written in UTF-8 ( w/BOM or wo/BOM ), and most of koreans should be able to check length in mbsc instead of wcsc.

It's each these words:

UTF-8 TEST Korean : 세상아 안녕?
UCSC-2-LE TEST Korean : 세상아 안녕?

I'm sorry, I posted the wrong string. "韓国語" is Japanese, but there the same issue occurs.
This is not an encoding issue, there are no problems with the value of a cell. The problem is, OpenXLSX says the cell is empty although it is not: OpenXLSX::Cell::valueType() returns OpenXLSX::XL:ValueType::Empty.
Please have a look at my excerpt of sharedStrings.xml (as contained within the xlsx file), OpenXLSX is not accessing the t node.
In contrast to this, cell contents looking like this are working well with OpenXLSX:
<si>
  <t xml:space="preserve">韓国語</t>
</si>

I'm sorry, I posted the wrong string. "韓国語" is Japanese, but there the same issue occurs.
This is not an encoding issue, there are no problems with the value of a cell. The problem is, OpenXLSX says the cell is empty although it is not: OpenXLSX::Cell::valueType() returns OpenXLSX::XL:ValueType::Empty.
Please have a look at my excerpt of sharedStrings.xml (as contained within the xlsx file), OpenXLSX is not accessing the t node.
In contrast to this, cell contents looking like this are working well with OpenXLSX:
<si>
  <t xml:space="preserve">韓国語</t>
</si>


[Core] Add function to convert container to string

Description
This PR adds a C++ utility function that can convert some C++ containers (mainly vector) to a string. This can be used to generate more descriptive error messages:
NVTE_CHECK(in.shape == out.shape,
           "Input dims ", in.shape, " and output dims ", out.shape, " do not match");
// Assertion failed: in.shape == out.shape, Input dims (2,4) and output dims (8) do not match

Type of change

[ ] Documentation change (change only to the documentation, either a fix or a new content)
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Infra/Build change
[ ] Code refractor

Changes

Add C++ utility function to convert container to string

Checklist:

[x] I have read and followed the contributing guidelines
[x] The functionality is complete
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

/te-ci


Continue of errors with data prep

Hello José,
I watched your video on SCM and really appreciate you putting in the time to make it.
I am currently a master's student writing my dissertation using SCM. However, my dataset keeps running into the following 2 issues. I was hoping you might know what caused it and how I can solve it.
Issue 1: Either time or unit variable are seen as "not numeric" while my dataset does report it as numeric

Issue 2: Having an "unbalanced" dataset.
I already thank you in advance!
Kind regards,
Lena

Hello Lena, i had the same issue. Try to transform your dataset into a dataframe.
data <- as.data.frame(data)
That solved the problem for me, i hope i could help you. Best regards Leif

Dear Leif,
This indeed solved the issue!
Thank you so much! I really appreciate it.
Kind regards,
Lena


Getting StatusCode 400 on Restoring Android Purchase during validateReceiptAndroid

Please use Discussion board if you want get some help out of it. Please report issue if there is a bug.

Version of react-native-iap: 7.5.3
Version of react-native: 0.64.2
Platforms you faced the error (IOS or Android or both?): Android
Expected behavior: Validated receipt sent back
Actual behavior: Receiving the following error:
{"statusCode":400,"line":151432,"column":53,"sourceURL":"http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.sodapopsystems.social.tsr&modulesOnly=false&runModule=true"}
Tested environment (Emulator? Real Device?)
Real device
Steps to reproduce the behavior
Subscribe to in app subscription and wait for the subscription to expire.
Then try to restore or resubscribe.
Below is the code I am using
`
if(accessKey !== null) {
                    try {
                        await RNIap.initConnection();

                        let validReceipt = await RNIap.validateReceiptAndroid("com.sodapopsystems.social.tsr", receipt.productId, receipt.purchaseToken, accessKey, true);
                        let activeSubscription = validReceipt;
                        let subscribed = true;

                        if (!receipt.autoRenewing && receipt.cancelReason !== undefined) {
                            subscribed = false;
                            activeSubscription = null;
                        }

                        setState(draft => {
                            draft.subscribed = subscribed;
                            draft.activeSubscription = activeSubscription;
                        })

                    } catch (err) {
                        setState(draft => {
                            draft.subscribed = false;
                            draft.activeSubscription = null;
                        })
                        res({'validation': 'failed', err: err});
                    }

                } else {
                    res({'validation': 'failed'})
                }

`

UPDATE:
I upgraded to react-native-iap 7.5.5 and it doesn't seem to be throwing that error.
Going to keep testing to be sure.
If it resolved the issue I will close this out.
UPDATE:
Tested some more and it appears I am still getting a statusCode 400 on validating a Android receipt.
I just had removed my console logs earlier, grrrrr.
Thanks!

All that method does is fetch from the google api: https://github.com/dooboolab/react-native-iap/blob/585411b88f34917a5b736cebcea8de4e7f487c78/src/iap.ts#L556
So it's very likely that one of the parameters you are passing is incorrect. you can debug by curling that api directly with your parameter values

First, thanks for the reply!
The weird this is, early on in my testing I copied that URL and tried in a browser and everything worked just not in the device.
I upgraded to 7.5.6 just a few moments ago and will try that again.
I thought it was maybe my access key but still get it even when getting a brand new access key right before calling validateReceiptAndroid.

First, thanks for the reply!
The weird this is, early on in my testing I copied that URL and tried in a browser and everything worked just not in the device. Also weird is it only happens after a subscription has expired and I try to restore the purchase.
I upgraded to 7.5.6 just a few moments ago and will try that again.
I thought it was maybe my access key but still get it even when getting a brand new access key right before calling validateReceiptAndroid.
Quick question, is there a trick or tactic to use so you don't have to wait for the test subscription to expire every time? Meaning so I don't have to wait the full 30 minutes for a test subscription to expire before testing the restore functionality.

All that method does is fetch from the google api:
https://github.com/dooboolab/react-native-iap/blob/585411b88f34917a5b736cebcea8de4e7f487c78/src/iap.ts#L556
So it's very likely that one of the parameters you are passing is incorrect. you can debug by curling that api directly with your parameter values

This was an error on my side.  I was trying to validate before purchaseUpdateListener fired which was causing some issues.  Removing the validation and letting the validation happen after the purchaseUpdateListener fired, resolved the issue I was having.
I am going to close this question.
Thanks!


Update PR checks

fixes Add PR check for tests (Second attempt)

Fix stuck checks.
Update checks to use flutter-action to use Flutter version from pubpec.yaml
Fix typos

Used https://marketplace.visualstudio.com/items?itemName=me-dutour-mathieu.vscode-github-actions to catch issues @ulusoyca
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.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] My PR includes tests for all changed/updated/fixed behaviors.
[x] All existing and new tests are passing.
[x] I updated/added relevant documentation (doc comments with ///).
[x] The analyzer (melos run analyze) does not report any problems on my PR.
[x] The package compiles with the minimum Flutter version stated in the pubspec.yaml

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

[ ] Yes, this is a breaking change.
[x] No, this is not a breaking change.

Update checks to use flutter-action to use Flutter version from pubpec.yaml

@TahaTesser you are simply amazing!


Feature List Update for Consistency and Improved Readability

Fixes #335
Description
This pull request standardises and enhances the readability of the feature list sections in MediBase3's documentation. Key updates include:

Standardised formatting across add, delete, and related command sections.
Consistent usage of info boxes (Notes, Tips, Cautions) for improved guidance.
Minor edits to improve clarity, conciseness, and user-friendliness.

Changes

Managing Patients: Refined the addition and deletion instructions for patient records.
Managing Appointments: Improved format consistency for scheduling and deleting appointments.
Managing Allergies and medical conditions: Standardised structure and enhanced readability and guidance for adding/deleting medical conditions.


Multi-db setup

I'm experiencing issues when using this gem in a multi-db setup (standard Postgres primary DB with a second Timescale enabled DB).
It looks like the schema dumper is trying to dump timescale tables when this is run against the primary database. Obviously they won't be found, resulting in an error being raised.
Do you have any tips to getting this working? I'd be happy to submit a PR with a fix.

Hi @jamescook10, I think improving this scenario would be amazing!
@JamesMasonRC  did great contributions on #10 and you can see the following files:
SchemaDumper maps the main logic:
https://github.com/jonatas/timescaledb/blob/master/lib/timescaledb/schema_dumper.rb#L35-L46
lib/timescale/scenic/adapter.rb -> include views from continuous aggregates.
https://github.com/jonatas/timescaledb/blob/master/lib/timescaledb/scenic/adapter.rb#L12-L18
I'd love if we introduce something that you can override the settings like config/initializers/timescaledb.rb and then you say something like:
SchemaDumper.config.expose_databases = [...]

By default it uses the connection but it could also navigate on this level.
Another option would be introduce it as a new module that  you can just require "timescaledb/multi_databases" and it just fix the scenario when using  new databases.

I never used this before. Maybe that was my fault. I see now some examples that can also be useful here:
https://github.com/segiddins/timescaledb-rails/compare/main...crunchloop%3Atimescaledb-rails%3Amain

I was thinking a bit better, maybe the best idea is just detects if the extension is installed and then skip in case it's not.


(371) Fix issue with lost bed dates in the calendar not always displaying correctly

We’ve noticed an issue where if a booking/lost bed finishes on the first day of the search period, it won’t show up. I’ve looked into this, and it seems that the Postgres OVERLAPS functionality is not inclusive. After a bit of Googling, it seems that using tsrange and the && overlaps operator seems to do the trick.
I’ve also added a test to demonstrate and fix the regression.

 Fix issue with lost bed dates in the calendar not always displaying correctly


Fixes issues in e2e tests for multi-vc

LGTM. Can you please add some description about the test result?

Ran all e2e tests locally and they are passing except statefullset test which is known issue.


Dear developers, please add a configuration loading function in the web interface!

Reminder

[X] I have read the README and searched the existing issues.

Reproduction
Dear developers, please add a configuration loading function in the web interface!  I don't see such a function.  It's surprising that she's not there.  I understand that there are text configuration files.  But they are for terminal commands.  I kindly ask you to add the ability to save and load configurations directly in the LLaMA-Factory web interface.  This makes it much easier to use.  Thank you very much for your work and good project! Greetings to the glorious hardworking people of China from Russia!
Expected behavior
No response
System Info
No response
Others
No response

Hello, this is definitely a great suggestion, but we are currently busy with other work. We will implement this feature once we are available.

Здравствуйте, это определенно отличное предложение, но сейчас мы заняты другой работой. Мы реализуем эту функцию, как только она станет доступна.
当然，我什么都明白。我会等待，谢谢你的工作，祝你好运，一切顺利！

Hello, this feature has been supported by llama board


Add info about Laravel 5.7 and 5.8 support

Based on composer.json, it also support Laravel 5.7.

I update this old patch with 5.8 info.

have you checked the upgrade notes:
https://laravel.com/docs/5.8/upgrade#upgrade-5.8.0


[Model] Anubis

Those two model (packs) should be unset. One is an original model, the other are models ported from 2012 version of MOBA called Smite.

URL: https://unrealarchive.org/models/unreal-tournament-3/A/anubis_1e898128.html
Hash: 1e89812830385edb2e6627152ce1830fd6e71e55
Current name: Anubis

fixed


Needs update

Any updates for this?

What kind of updates?
If you'd like to submit PRs for features or bugs, I'd be willing to review and merge them if they are good.


Sns subscription fix

Fix the SNS subscription journey (it's auto-confirmation from the backend side), we need tighter checks as the subscription confirmation requests also contain a Message field.

I'd clean up/squish the commits once you're happy.


Code formatting

fix build for master, formatting was not correct after merging PR 153

Pull Request Test Coverage Report for Build 565

3 of 12 (25.0%) changed or added relevant lines in 1 file are covered.
5 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.4%) to 40.419%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

apps/neoprice/lib/neoprice/cache.ex
3
12
25.0%

Files with Coverage Reduction
New Missed Lines
%

apps/neoprice/lib/neoprice/cache.ex
5
50.0%

Totals

Change from base Build 564:
-0.4%

Covered Lines:
405

Relevant Lines:
1002

💛  - Coveralls


Link in contents doesn’t scroll to content

My table of contents was generated perfectly and I can see that my link has been populated with the necessary attributes:

I can also see that my headings have been populated with the necessary attributes:

However, when I click a link in the TOC, it neither takes me to the content nor smooth scrolls to the content.
I’m not sure why this is happening because I’m getting no errors in the console. Anybody see a reason why?

I've noticed in various places as well. For example, this usually happens to me a lot on mobile.
As far as I can tell though, all the generated HTML is correct, which means that presumably the generated Markdown is correct as well, leading me to believe that this is not an issue with Doctoc.
Some tips for debugging:

Are you using a JavaScript framework that hijacks the browser's normal hash link handling? (for example, React Router)
Have you tried using id="styleguide" in place of name="styleguide"?
Is it not scrolling because there's not enough content on the page to scroll down?

Hope you can figure it out.