App crashing when uploading data. Issue with row.names option in read.delim

Hello,
I'm trying to implement pcaExplorer on our local network so that our lab can use it from any computer directly on the server.
I'm having an issue when I use the upload tool after running pcaExplorer() without any options.
I think it comes because the read.delim used in pcaExplorer.R at line 822 doesn't take the first column as rownames.
cm <- utils::read.delim(input$uploadcmfile$datapath, header = TRUE,                   as.is = TRUE, sep = "\t", quote = "",                    ## TODO: tell the user to use tsv, or use heuristics                   ## to check what is most frequently occurring separation character? -> see sepGuesser.R                   check.names = FALSE)
Changing it to :
cm <- utils::read.delim(input$uploadcmfile$datapath, header = TRUE,                   as.is = TRUE, sep = "\t", quote = "", row.names = 1,                   ## TODO: tell the user to use tsv, or use heuristics                   ## to check what is most frequently occurring separation character? -> see sepGuesser.R                   check.names = FALSE)
should fix that issue. I've tested it by running pcaExplorer(countmatrix =local_count, coldata=local_meta) using the exact same functions than here. Running it with the first version doesn't allow you to run the app with the same error when uploading it. The second version fixes that.
Thanks
Patrick

Hi Patrick,
Thanks for your feedback. I could set it as an option in the file upload panel.
But it seems there will be no problems in just changing the option in the way you propose.
I'll edit this accordingly - in the end, it is not a bad thing to "force" users to have meaningful data structures.
Please feel free to report more of these issues, sometimes a fresh pair of eyes (and users) can just be good for the software

I was going to propose more features :)
I was thinking of making something similar to what you have written but less complete.
So finding your pcaExplorer is amazing! I would need DEA in there. Have you planned to add it or not? If not, I might just start trying to implement it myself into your app. I have never tried to code shiny apps so, no promises ;)

Good to hear!
For the DE analysis I am coming up with a similar dashboard, which is currently in testing mode - so it should not take too long to get it done. As soon as it is somehow stable, I will put it on github. If you want, you can send me a PM/email with the features you would like to have, so I can already check if it is there or if I missed something relevant.

Will do!

The requested fix should now be up and running ;)

It fixed the problem.
Thanks


Data event does not give any date (ANT+ dongle)

I use the following code to receive data from an ANT+ dongle I used other software (Zwift, which shows that the dongle actually received data) (Using OS X):
/* Require the config */
require('dotenv').config()
/* require the usb class */
var usb = require('usb');

/* find the device */
var device = usb.findByIds(process.env.VENDOR_ID, process.env.PRODUCT_ID);
/* open the device */
device.open(true);
/* claim interface WHERE IS THIS FOR */
const [interface] = device.interfaces;
interface.claim();

/* Start Polling */
const [inEndpoint, outEndpoint] = interface.endpoints;
inEndpoint.startPoll();
// inEndpoint.transferType = 2;

inEndpoint.on('data', (d) => {
    console.log("usb data:", d, " len:", d.length)
});

inEndpoint.on('error', function (error) {
    console.log("on error", error);
});

Do I do something wrong?
[timestamp] [threadID] facility level [function call] <message>
--------------------------------------------------------------------------------
[ 0.003821] [00000307] libusb: debug [libusb_get_device_list]
[ 0.003925] [00000307] libusb: debug [libusb_get_device_descriptor]
[ 0.004005] [00000307] libusb: debug [libusb_get_device_descriptor]
[ 0.004021] [00000307] libusb: debug [libusb_get_device_descriptor]
[ 0.004033] [00000307] libusb: debug [libusb_get_device_descriptor]
[ 0.004125] [00000307] libusb: debug [libusb_open] open 20.9
[ 0.004269] [00000307] libusb: debug [usbi_add_pollfd] add fd 26 events 1
[ 0.004275] [00000307] libusb: debug [darwin_open] device open for access
[ 0.004301] [00004903] libusb: debug [handle_events] poll() returned 1
[ 0.004306] [00004903] libusb: debug [handle_events] caught a fish on the control pipe
[ 0.004319] [00004903] libusb: debug [libusb_get_next_timeout] no URBs, no timeout!
[ 0.004322] [00004903] libusb: debug [libusb_try_lock_events] someone else is modifying poll fds
[ 0.004324] [00004903] libusb: debug [libusb_event_handler_active] someone else is modifying poll fds
[ 0.004327] [00004903] libusb: debug [libusb_handle_events_timeout_completed] another thread is doing event handling
[ 0.004368] [00004903] libusb: debug [libusb_get_next_timeout] no URBs, no timeout!
[ 0.004380] [00004903] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.004384] [00004903] libusb: debug [handle_events] poll fds modified, reallocating
[ 0.004389] [00004903] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
[ 0.004736] [00000307] libusb: debug [libusb_claim_interface] interface 0
[ 0.005084] [00000307] libusb: debug [get_endpoints] building table of endpoints.
[ 0.005100] [00000307] libusb: debug [get_endpoints] interface: 0 pipe 1: dir: 1 number: 1
[ 0.005107] [00000307] libusb: debug [get_endpoints] interface: 0 pipe 2: dir: 0 number: 1
[ 0.005133] [00000307] libusb: debug [darwin_claim_interface] interface opened
[ 0.005445] [00000307] libusb: debug [ep_to_pipeRef] converting ep address 0x81 to pipeRef and interface
[ 0.005454] [00000307] libusb: debug [ep_to_pipeRef] pipe 1 on interface 0 matches
[ 0.005540] [00000307] libusb: debug [ep_to_pipeRef] converting ep address 0x81 to pipeRef and interface
[ 0.005547] [00000307] libusb: debug [ep_to_pipeRef] pipe 1 on interface 0 matches
[ 0.005572] [00000307] libusb: debug [ep_to_pipeRef] converting ep address 0x81 to pipeRef and interface
[ 0.005576] [00000307] libusb: debug [ep_to_pipeRef] pipe 1 on interface 0 matches
[60.006611] [00004903] libusb: debug [handle_events] poll() returned 0
[60.006708] [00004903] libusb: debug [libusb_get_next_timeout] no URB with timeout or all handled by OS; no timeout!
[60.006727] [00004903] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[60.006742] [00004903] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
[120.011876] [00004903] libusb: debug [handle_events] poll() returned 0
[120.011973] [00004903] libusb: debug [libusb_get_next_timeout] no URB with timeout or all handled by OS; no timeout!
[120.011994] [00004903] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[120.012007] [00004903] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
[180.012077] [00004903] libusb: debug [handle_events] poll() returned 0
[180.012106] [00004903] libusb: debug [libusb_get_next_timeout] no URB with timeout or all handled by OS; no timeout!
[180.012112] [00004903] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[180.012116] [00004903] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms

Bump

Nothing looks wrong at the node-usb level, but I don't know what your device is expecting. You probably have to send the device a control transfer or write to another endpoint before it will start sending data on that endpoint.

I'm using OS X, I've tested the USB with another program which keeps providing me with data (Heartrate strap), what could be the problem if it is not my code?

Have you sniffed the USB traffic from that other program to see what it does for initialization? You can't necessarily just read an endpoint and expect the device to send you what you want.

I will try sniffing it, ant Ant+ dongle is a receiver to receive data from heart rate straps.
I've found a library (https://github.com/Loghorn/ant-plus) which is based in node-usb, but this one was not working either, thats why I started to look into the node-usb libraby. I'm starting to think dat I would net an other OS then OSX to get this to work.


Video for sponsors Dowload Error

When trying to download a video only for sponsors, the error KeyError: 'streamingData' is thrown
url = https://youtu.be/zcZR2crm8fE
Some code
from pytube import YouTube
YouTube("https://youtu.be/zcZR2crm8fE").streams.first().dowload()

Error
Traceback (most recent call last):
  File "dowload_video.py", line 2, in <module>
    YouTube("https://youtu.be/zcZR2crm8fE").streams.first().dowload()
  File "/home/vl/.local/lib/python3.8/site-packages/pytube/__main__.py", line 104, in __init__
    self.descramble()
  File "/home/vl/.local/lib/python3.8/site-packages/pytube/__main__.py", line 138, in descramble
    apply_descrambler(self.player_config_args, fmt)
  File "/home/vl/.local/lib/python3.8/site-packages/pytube/extract.py", line 353, in apply_descrambler
    streaming_data = json.loads(stream_data["player_response"])["streamingData"]
KeyError: 'streamingData'

Edit: I know that it is virtually impossible to get data for video playback, but it would be great that instead of this error, an error was displayed, that this video is for sponsors and there is nothing to be done about it (maybe)

I'll try to add a better exception for this!

I don't think we'll ever be able to access those videos for download without user authentication, however I can add an exception that checks to see if a video is for sponsors only, and raise that exception instead.
I believe I have a working solution for this written, but I need to wait for https://github.com/nficano/pytube/pull/808 to be finalized and merged before I can properly test it out.

Got a PR in that will add a specific exception for sponsor-only videos, it will hopefully be part of the library in the next few days!


create view error

my postgresql.conf:
shared_preload_libraries = 'pg_pathman,pg_stat_statements,pipelinedb'
but when i modified the postgreql.conf
shared_preload_libraries = 'pipelinedb'
then
`test=# CREATE VIEW cv1 WITH (action=materialize) AS select order_id, min(ts) min_ts,array_agg(ts||','||st_astext(pos)) as seg from s1 group by order_id;
CREATE VIEW
I guess if had a bug in the pipelinedb and caused the error?

@FreeGIS can you share the server logs at the time of the connection closing?


Dates and relative times of the snapshot tab not translated

Despite having a UI localized in a certain language, the dates and the relative times are not translated
Steps to reproduce:

Ensure to set the language localized to a different language than English
Ensure to activate snapshots
Open or create a new document
Click to open the document history
In the right panel open the snapshots tab

Actual behavior
Despite having set the UI in another language than English (like French), we have dates and relative times ("a few seconds ago") that are not localized:

Expected behavior
These strings should be localized. In French, this should display: "mar. 5 sept. 2023"  and "il y a quelques secondes".
Other considerations
Moment supports the localization: https://momentjs.com/docs/#/i18n/instance-locale/
PS: I hesitated but decided to not set the good first issue tag, as it requires to understand S3 and setup Minio. Still hesitating a bit though.

Not that simple, due to the removal of localization support except for english client-side:
https://github.com/gristlabs/grist-core/blob/6dab12f301cbcaa879658136016cbee88ddd7d04/buildtools/webpack.config.js#L82-L83


Step 3: Take NEXRAD cookbook and modify for Houston Data

Take NEXRAD cookbook and modify for Houston, June 2nd 2022, 18UTC
KHGX is the identifier (radar site)
files = sorted(fs.glob("s3://noaa-nexrad-level2/2022/06/02/KHGX/KHGX20220602_18*"))

When you've completed this task, mark the checkbox by your name.

[ ] Braeden Cullen
[ ] Aadit Ambadkar
[ ] Sanjiv Parthasarathy
[ ] Isaac Darling


fix conseq onehsot

SUMMARY:

In multiple optimization tests, automatically decompress model if provided as optimized model
Fix recipe stage length
Revive old code

/ready


Graphs are broken on Seamonkey

Browser name and version: Seamonkey 2.53.8
Device (mobile or desktop): Desktop (Linux x86_64 PC)
Page where the issue happens: https://steamdb.info/graph/ (or anything that has charts)

Describe the bug
Until recently everything worked fine on Seamonkey (and I assume that in every alternative browser that isn't "Chrome" or "latest Firefox"). Today I find broken graphs with endless spinning loading circles and "Initializing chart... You must have JavaScript enabled." for each instance. On the browser JS console, I find the following errors:

SyntaxError: expected expression, got '.'  global.js:1:6294
ReferenceError: SteamDB is not defined graphs.js:1:1946
SyntaxError: bad method definition  searchable-select.js:1:49
TypeError: window.SteamDB is undefined  hover.js:1:526

The first SyntaxError is due to the use of "t?.postMessage(e.data)", aka the Optional Chaining operator (?.), which is a quite recent addition to the (never ending) evolving standards. No clue on the other ones, as my JavaScript is far from strong.
Yes, I know that the usual answer would be "just install Chrome/latest Firefox, as we only test in those", but for those of us that have very valid reasons to use alternative browsers, it's still a pity that we get sidelined in the chase of shiny features :/

Optional Chaining has been added in Firefox 74, current ESR is 78. SeaMonkey should just keep their fork more up to date.

Can confirm fix. Awesome, you rock~
As for Seamonkey getting up to date... the sad reality applies to all Firefox-derivatives: so much new stuff getting in the standards (mainly pushed by Google), so much code to backport (mostly due to technical limitations), and of course, so little manpower willing to contribute. Still, I'm grateful for the prompt fix, a rarity these days, and thanks for not dismissing my bug report with a stark "use latest Chrome/Firefox", I really appreciate it!


Add new icon "share"

For a new sharing feature within our internal product development, we need a "share" icon to provide the user an appropriate experience.
Acceptance criteria

Add the attached icon to the library (tbd)

In my point of view this icon already exists now. But it has an other name (request).
https://elements.inovex.de/dist/latest/storybook/?path=/docs/graphic-ino-icon--all-icons


No warning if task function is sync

Code:
gulp.task('reload', () => console.log('Hi'))

Expected: abort the program
Current behavior:
[12:12:43] Starting '<anonymous>'...

the program halts indefinitely.

Incorrect. That's only if you are watching and there's no way to determine that it's not just the event loop staying open.

Actually, there is a way to ensure the task function is async.
Just check if the return value is type of Promise.

No.


Returning to main site from interactive

atm if i click back on my browser i just get back to the start page and have to submit the sequence again to see the main predictions, maybe add a return button or sth?

Note to self: state transitions

Log (tried to get to this for about 2h):

Need to change from constructor to function (e.g. useHook)
useHook triggers UI update constnatly --> stream of fetch requests
every fetch requests triggers scroll-to-top, very disruptive
need to fetch separately structure and annotations, otherwise update from one triggers update for the other and infinite loop starts
structure depends on annotations for color overlay, so not as easy to disentangle
could use store to store features and get rid of coupling in structure component but requires significant rewrite of the entire store architecture


🧑💻: Other pages do not support similar UI and Navbar

Title
The About us, review, testimonial, privacy, tutorial, blog andfeedback page do not all contain the same navbar and the same Canvas Editor icon. When these pages are viewed one after the other all of them seem to be leading to another website which looks uncanny and unorganised overall.
Enhancement Aim
Let each page in indivisual have the same navbar navigating to the right pages instead of multiple differnet page designs
Changes
change of colour scheme and navbar in each of the pages. change in the navigating part in each of the pages.
Screenshots 📷

Guidelines

[X] I have read the guidelines
[X] I have the link to my latest merged PR

Full Name
Sania Golhar
Participant Role
GSSOC-EXT 2024, Hachtoberfest

@vishanurag kindly assign this to me


Minimum Path Sum Problem

Related Issue
710

Mention issue for which this pull request is a part of (please mention issue number # )

Proposed Changes

Change 1 :  calculate the minimum path sum for each cell in the grid.
Change 2 : return the minimum sum for the last cell in the grid.

Checklist

[x] ✅ My code follows the code style of this project.
[x] 📝 My change requires a change to the README.
[x] 🎀 I have updated the README accordingly.
[x] 👀 I have read the CONTRIBUTING document.
[x] ✨ I have added tests to cover my changes.
[x] 🚩 All new and existing tests passed.
[x] 🌟 ed the repo

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to change)

Output Screenshots

Screenshot #1
Screenshot #2

Title goes here
Title goes here

Image goes here
Image goes here

Python programs are not allowed


CR30: Search Window: Modify search selection options

Search button
'Search start date (yyyymmdd) (Req)'
'Search end date (yyyymmdd) (Req)'
'Location (XX) (Req)'
'Advanced Search'
'Keyword (one field)'
'Food Group (one field)'
Tools: JQuery

Updated using bootstrap datepicker for the start date and end date and food group drop down


Patternfly styling cleanup 7

replaced "p.legend" tags with standard Patternfly h3 tag

Issue: #1574

@dclarizio Please review

Walked the UI a bit, seems pretty safe. :)


Fix bug which misses an edge during graph creation

Modulus Pull Request
Description
VTK polygon cells 0-1-2-3-0 have four edges. This PR fixes the last missing edge in the cell during graph creation.
Checklist

[x] I am familiar with the Contributing Guidelines.
[ ] New or existing tests cover these changes.
[x] The documentation is up to date with these changes.
[x] The CHANGELOG.md is up to date with these changes.
[ ] An issue is linked to this pull request.

Dependencies

Thanks for the PR! The same issue us being discussed here: https://github.com/NVIDIA/modulus/pull/544#discussion_r1635177257

Fixed in https://github.com/NVIDIA/modulus/pull/544
Closing, thank you for the PR!


theme and look

I feel like the theme and look of the web page must be enhanced and changed. Also adding hover effects to button will improve the overall look and feel.

Thank you @gauravsingh1281 fot assigning this issue to me. Can you please let me know the time limit fot solving this issue

Thank you @gauravsingh1281 for assigning this issue yo me. Can you please let me know the time limit to solve this issue.

Hello! Could you assign this to me?


Try loading multiple data sources and high res data

It might be nice for the user testing if we can display higher res data and multiple data files.

done


Cluster prepare hyper-v network adapters

Cluster prepare needs to check for the correct network adapters. We need an external network, but it appears it may not be being created automatically.

I don’t believe this is still an issue.  A Windows 10 update last year renamed the Hyper-V virtual switch which caused this problem.  Hopefully, MSFT won’t do that again.


organ/tissue specific hemorrhage placement

Some of our organ/tissue specific hemorrhage terms are placed under abnormal X morphology (e.g. skin and liver hemorrhage) whereas others are under abnormal X physiology (e.g. eye and kidney hemorrhage).
We need to decide where they belong.

Skin and liver hemorrhage have been placed respectively under abnormal skin and liver physiology.

We have several annotations to (intra)throracic hemorrhage. Should these be annotated to hemothorax MP:0005243 (def; bleeding into the pleural space)?
Synonyms of hemothorax: Chest bleeding;  Intrapleural blood;  Intrathoracic bleeding;  Pleural blood
SOURCE: https://link.springer.com/referenceworkentry/10.1007%2F978-3-642-00418-6_424
ALSO, lung hemorrhage MP:0001182 and hemothorax MP:0005243 are currently under abnormal pulmonary circulation MP:0002295. Should they be placed directly under abnormal respiratory system physiology MP:0002133?


refactor: merge refactoring changes to main

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

197 of 223 (88.34%)  changed or added relevant lines in 34 files are covered.
6 unchanged lines in 4 files lost coverage.
Overall coverage decreased (-0.02%) to 75.006%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

api/handler/v1beta1/job_run.go
6
7
85.71%

api/handler/v1beta1/project.go
3
4
75.0%

ext/datastore/bigquery/dataset_spec.go
0
1
0.0%

ext/datastore/bigquery/external_table_spec.go
0
1
0.0%

ext/datastore/bigquery/standard_view_spec.go
0
1
0.0%

ext/datastore/bigquery/table_spec.go
0
1
0.0%

ext/notify/slack/slack.go
0
1
0.0%

job/replay_manager.go
5
6
83.33%

store/local/job_spec_repository.go
1
2
50.0%

store/local/resource_spec_repository.go
5
6
83.33%

Files with Coverage Reduction
New Missed Lines
%

api/handler/v1beta1/adapter.go
1
74.3%

datastore/backup.go
1
96.1%

job/dependency_resolver.go
1
95.85%

service/job_run_service.go
3
91.37%

Totals

Change from base Build<PHONE_NUMBER>:
-0.02%

Covered Lines:
6254

Relevant Lines:
8338

💛  - Coveralls


twister --generate-map is broken

Describe the bug
Following merge of https://github.com/zephyrproject-rtos/zephyr/pull/38656,
twister --generate-hardware-map is broken
$ twister --generate-hardware-map ../map.yml
Traceback (most recent call last):
  File "/local/mcu/zephyrproject/zephyr/scripts/twister", line 1357, in <module>
    main()
  File "/local/mcu/zephyrproject/zephyr/scripts/twister", line 782, in main
    options = parse_arguments()
  File "/local/mcu/zephyrproject/zephyr/scripts/twister", line 352, in parse_arguments
    """)
  File "/usr/lib/python3.6/argparse.py", line 1361, in add_argument
    return self._add_action(action)
  File "/usr/lib/python3.6/argparse.py", line 1584, in _add_action
    raise ValueError(msg)
ValueError: mutually exclusive arguments must be optional

Reverting https://github.com/zephyrproject-rtos/zephyr/pull/38656 makes it works again:
$ twister --generate-hardware-map ../map.yml
Renaming output directory to /local/mcu/zephyrproject/zephyr/twister-out.33
INFO    - Scanning connected hardware...
WARNING - Unsupported device (None): /dev/ttyS4 - n/a
INFO    - Detected devices:

| Platform   | ID                       | Serial device   |
|------------|--------------------------|-----------------|
| unknown    | 066AFF555654725187084757 | /dev/ttyACM0    |

To Reproduce
$ twister --generate-hardware-map ../map.yml
Expected behavior
A clear and concise description of what you expected to happen.
Impact
Blocking test bench
Logs and console output
If applicable, add console logs or other types of debug information
e.g Wireshark capture or Logic analyzer capture (upload in zip archive).
copy-and-paste text and put a code fence (```) before and after, to help
explain the issue. (if unable to obtain text log, add a screenshot)
Environment (please complete the following information):

OS: Linux
Toolchain (e.g Zephyr SDK, ...): SDK V0.13.1
Commit SHA or Version used: v2.7.99-2314-g02d1fd9ad7

@erwango please help to check #41094 , thanks


Is this will work on capacitor?

Is this supported by capacitor? I mean that when I run it using ionic capacitor run android  will it works on native device/emulator?

No

It will work on Android apparently not iOS

I made a fundraising to implement the code for supporting Capacitor iOS.
Please join and support the project!
Fundraising: Support for Capacitor iOS platform


Change isStatic to isStaticOwner in hasLocalInstantiation

Fixes #19569
Related to #19569, but not a "fix". It actually allows eliminating outer references in even more cases.

Sounds good; I moved the test to generic-java-signature and added a check file.

FYI:
val Tiker = "tick"
    class TickActor extends Actor {
      def receive:Receive = {
        case Tiker => // Do something
      }
    }

Will generate a constrocutor with String and
    class TickActor extends Actor {
      def receive:Receive = {
        case "tike"  => // Do something
      }
    }

will not.


IndexOutOfBoundsException when opening a project

Hi,
The plugin is working fine but sometimes IntelliJ shows a notification with a crash when I open a project.
I don't know how to exactly reproduce the error because it happens only sometimes and with some projects.
When the problem appears I have to restart IntelliJ to commit my changes because the text area with the commit message dissapears.
To reproduce the issue:

Open IntelliJ and go to the Commit tool window.
Click on the frog icon.
Open a different project (in a new or the same window).
The notification appears in the lower right corner of the screen.

Stacktrace:
java.lang.RuntimeException: Cannot invoke (class=ChangesViewWorkflowManager$$Lambda$9091/0x00000001036fa498, method=commitModeChanged, topic=CommitModeListener) 	at com.intellij.util.messages.impl.MessageBusImplKt.invokeListener(MessageBusImpl.kt:676) 	at com.intellij.util.messages.impl.MessageBusImplKt.executeOrAddToQueue(MessageBusImpl.kt:491) 	at com.intellij.util.messages.impl.MessagePublisher.publish$intellij_platform_core(MessageBusImpl.kt:471) 	at com.intellij.util.messages.impl.MessagePublisher.invoke(MessageBusImpl.kt:448) 	at jdk.proxy2/jdk.proxy2.$Proxy182.commitModeChanged(Unknown Source) 	at com.intellij.vcs.commit.CommitModeManager.updateCommitMode(CommitModeManager.kt:97) 	at com.intellij.vcs.commit.CommitModeManager.access$updateCommitMode(CommitModeManager.kt:64) 	at com.intellij.vcs.commit.CommitModeManager$MyStartupActivity.runActivity$lambda$0(CommitModeManager.kt:76) 	at com.intellij.openapi.application.constraints.BaseConstrainedExecution$Companion.scheduleWithinConstraints$inner(BaseConstrainedExecution.kt:68) 	at com.intellij.openapi.application.constraints.BaseConstrainedExecution$Companion.scheduleWithinConstraints(BaseConstrainedExecution.kt:71) 	at com.intellij.openapi.application.constraints.BaseConstrainedExecution.scheduleWithinConstraints(BaseConstrainedExecution.kt:38) 	at com.intellij.openapi.application.impl.BaseExpirableExecutorMixinImpl.access$scheduleWithinConstraints$s628187586(BaseExpirableExecutorMixinImpl.kt:12) 	at com.intellij.openapi.application.impl.BaseExpirableExecutorMixinImpl$scheduleWithinConstraints$$inlined$Runnable$1.run(Runnable.kt:19) 	at com.intellij.util.concurrency.ContextRunnable.run(ContextRunnable.java:24) 	at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:208) 	at com.intellij.openapi.application.TransactionGuardImpl.access$100(TransactionGuardImpl.java:21) 	at com.intellij.openapi.application.TransactionGuardImpl$1.run(TransactionGuardImpl.java:190) 	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:861) 	at com.intellij.openapi.application.impl.ApplicationImpl$4.run(ApplicationImpl.java:478) 	at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:79) 	at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:121) 	at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:41) 	at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318) 	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:789) 	at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:740) 	at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:734) 	at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) 	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) 	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:759) 	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.kt:685) 	at com.intellij.ide.IdeEventQueue._dispatchEvent$lambda$10(IdeEventQueue.kt:589) 	at com.intellij.openapi.application.impl.ApplicationImpl.runWithoutImplicitRead(ApplicationImpl.java:1485) 	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:589) 	at com.intellij.ide.IdeEventQueue.access$_dispatchEvent(IdeEventQueue.kt:67) 	at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:369) 	at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:368) 	at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:787) 	at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:368) 	at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:363) 	at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$1(IdeEventQueue.kt:992) 	at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:105) 	at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:992) 	at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$7(IdeEventQueue.kt:363) 	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:861) 	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:405) 	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207) 	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128) 	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117) 	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113) 	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105) 	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92)
Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 	at com.intellij.util.SmartList.checkOutOfBounds(SmartList.java:78) 	at com.intellij.util.SmartList.get(SmartList.java:63) 	at java.base/java.util.Collections$UnmodifiableList.get(Collections.java:1347) 	at org.nemwiz.jiracommitmessage.provider.PluginProvider.getCommitMessage(PluginProvider.kt:23) 	at com.intellij.vcs.commit.AbstractCommitMessagePolicy.getCommitMessageFromProvider(AbstractCommitMessagePolicy.kt:31) 	at com.intellij.vcs.commit.AbstractCommitMessagePolicy.getCommitMessageForList(AbstractCommitMessagePolicy.kt:20) 	at com.intellij.vcs.commit.ChangesViewCommitMessagePolicy.getCommitMessage(ChangesViewCommitMessagePolicy.kt:49) 	at com.intellij.vcs.commit.ChangesViewCommitMessagePolicy.init(ChangesViewCommitMessagePolicy.kt:16) 	at com.intellij.vcs.commit.ChangesViewCommitWorkflowHandler.<init>(ChangesViewCommitWorkflowHandler.kt:80) 	at com.intellij.openapi.vcs.changes.ChangesViewWorkflowManager.updateCommitWorkflowHandler(ChangesViewWorkflowManager.java:69) 	at com.intellij.openapi.vcs.changes.ChangesViewWorkflowManager.lambda$new$0(ChangesViewWorkflowManager.java:44) 	at com.intellij.util.messages.impl.MessageBusImplKt.invokeMethod(MessageBusImpl.kt:696) 	at com.intellij.util.messages.impl.MessageBusImplKt.invokeListener(MessageBusImpl.kt:659) 	... 50 more
Images:

IntelliJ version: 2023.2 Community Edition
Plugin version: 3.4.0
OS: Windows

Thank you in advance.

Is the project that shows the error using another version control system like SVN?
We've had [this issue before]. It happens when another version control system is used and this plugin only supports Git

Hi nemwiz,
Not the case, I'm using Git in all my projects.

For some reason the plugin can't find the repository, at least that is what the error message shows.
Could you confirm that you have a repository set up and that IntelliJ is aware of it? If you go to Settings -> Version Control -> Directory Mappings it should look something like this.

Since this is difficult to reproduce, you can help by answering these questions or trying some stuff on your end:

Has this bug started happening with the latest version of the plugin? This one was released a few days ago. You can install an older version and see if the issue is present
Is your project open source by chance so that I can try to run it?
This only appears when you open a new project not when clicking the icon or invoking the plugin?
Under Settings -> Version Control -> Commit is the option Use non-modal commit interface checked or not?
In the top menu under Help -> Show log in Explorer you can find logs from IntelliJ. If you open .log file you can search for jiracommitmessage to find the logs produced by the plugin. See if there is anything interesting there.

Thanks

Yes, I have the Git repo configured. This screenshot is from a repo that fails:

I don't know if this problem was present in previous versions, but I don't remember it. I'm going to install an older version and try it a few days to check it.
My project is not open source, sorry, but I'll try to find one to test it.
This only appears when I open a project, not necessarily a new project. This not happens when I click the icon.
The opction Use non modal commit interface is checked.
What I've seen in the logs is that it fails trying to get the project repository branch.

It fails at this line:

Maybe the repository list is not available at that point.

I was a bit puzzled why the plugin runs when you open the project, but as specified in the documentation, when you are using non modal commit interface, the plugin will run on startup.
Now I still don't know why you get an error - it could be some timing issue with your repo not being ready when project is open or similar. What I can do is fix the issue in my code. It's not wise to rely that repositories list will be populated so now I explicitly check for that. This should stop IntelliJ from throwing an exception.
Could you test it out? You can install this version by going to Plugins -> Click the cog icon -> Install plugin from disk
jira-commit-message-3.4.1.zip

Hi @carmeloquilez,
How is it going with the testing? If there are no more errors, I'd like to release the new version.
Thanks

Hi @nemwiz,
Sorry, I've been away for a few days.
I haven't had any more errors. The fix works.
Thanks for your time.

Awesome, I just published a new version. Thank you for reporting.


custom separator

Nice little tool :)
Do you consider to add an option to specify the separator to use ( tab,  ";",  "|" ... )  ?
Thanks

Thank you,
Would you kindly elaborate more?
In which view (table view or detailed view)?
If in the table view, separators between rows or columns?
Thank you

Hi,
I mean able to specify a custom separator for the input file, to be able to read a tab, comma or semi-column separated file (tsv, cvs...).  I mostly use tab separated ones.
Polars is able to manage such option, so it shouldn't be a big challenge to add this option.
Thanks :)

Now I see.
The option has now been added to the main branch and will be released in the next version alongside other features.
Thank you for your suggestion.


Blue box on screen

Microsoft PowerToys version
0.53.1
Running as admin

[ ] Yes

Area(s) with issue?
General
Steps to reproduce
Just updated to 0.53.1 and started the program. Monitor is a DELL P3421W
✔ Expected Behavior
No response
❌ Actual Behavior
There is a blue box in the right lower corner of my screen:

It stays on top of all windows. It dissapears after quitting powertoys
Other Software
No response

We're aware of this issue. It comes from Always on top

/dup #15453


There is a bug on Safari on iOS13: A GlobalKey was used multiple times inside one widget's child list

Steps to reproduce
flutter web error:
I created a sample calculator program and I didn't change anything.
flutter --version:
Flutter 3.16.4 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 2e9cb0aa71 (12 days ago) • 2023-12-11 14:35:13 -0700
Engine • revision 54a7145303
Tools • Dart 3.2.3 • DevTools 2.28.4
Expected results
it works fine
Actual results
error:A GlobalKey was used multiple times inside one widget's child list
Code sample
Code sample
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        // This is the theme of your application.
        //
        // TRY THIS: Try running your application with "flutter run". You'll see
        // the application has a purple toolbar. Then, without quitting the app,
        // try changing the seedColor in the colorScheme below to Colors.green
        // and then invoke "hot reload" (save your changes or press the "hot
        // reload" button in a Flutter-supported IDE, or press "r" if you used
        // the command line to start the app).
        //
        // Notice that the counter didn't reset back to zero; the application
        // state is not lost during the reload. To reset the state, use hot
        // restart instead.
        //
        // This works for code too, not just values: Most code changes can be
        // tested with just a hot reload.
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});

  // This widget is the home page of your application. It is stateful, meaning
  // that it has a State object (defined below) that contains fields that affect
  // how it looks.

  // This class is the configuration for the state. It holds the values (in this
  // case the title) provided by the parent (in this case the App widget) and
  // used by the build method of the State. Fields in a Widget subclass are
  // always marked "final".

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  int _counter = 0;

  void _incrementCounter() {
    setState(() {
      // This call to setState tells the Flutter framework that something has
      // changed in this State, which causes it to rerun the build method below
      // so that the display can reflect the updated values. If we changed
      // _counter without calling setState(), then the build method would not be
      // called again, and so nothing would appear to happen.
      _counter++;
    });
  }

  @override
  Widget build(BuildContext context) {
    // This method is rerun every time setState is called, for instance as done
    // by the _incrementCounter method above.
    //
    // The Flutter framework has been optimized to make rerunning build methods
    // fast, so that you can just rebuild anything that needs updating rather
    // than having to individually change instances of widgets.
    return Scaffold(
      appBar: AppBar(
        // TRY THIS: Try changing the color here to a specific color (to
        // Colors.amber, perhaps?) and trigger a hot reload to see the AppBar
        // change color while the other colors stay the same.
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
        // Here we take the value from the MyHomePage object that was created by
        // the App.build method, and use it to set our appbar title.
        title: Text(widget.title),
      ),
      body: Center(
        // Center is a layout widget. It takes a single child and positions it
        // in the middle of the parent.
        child: Column(
          // Column is also a layout widget. It takes a list of children and
          // arranges them vertically. By default, it sizes itself to fit its
          // children horizontally, and tries to be as tall as its parent.
          //
          // Column has various properties to control how it sizes itself and
          // how it positions its children. Here we use mainAxisAlignment to
          // center the children vertically; the main axis here is the vertical
          // axis because Columns are vertical (the cross axis would be
          // horizontal).
          //
          // TRY THIS: Invoke "debug painting" (choose the "Toggle Debug Paint"
          // action in the IDE, or press "p" in the console), to see the
          // wireframe for each widget.
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            const Text(
              'You have pushed the button this many times:',
            ),
            Text(
              '$_counter',
              style: Theme.of(context).textTheme.headlineMedium,
            ),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: const Icon(Icons.add),
      ), // This trailing comma makes auto-formatting nicer for build methods.
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
mac@HdeMacBook-Pro ~ % flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.16.4, on macOS 13.6 22G120 darwin-x64, locale
    zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.3)
[✓] VS Code (version 1.85.1)
[✓] Connected device (2 available)
[✓] Network resources

• No issues found!

It works fine on my Safari on iOS15 and above.

Thanks for filing this @kentSoHandsome.
Can you try out the solutions under this SO thread to see if any works in your case https://stackoverflow.com/questions/57673489/a-global-key-was-used-multiple-times-inside-one-widgets-child-list?
Also per https://github.com/flutter/flutter/issues/140582#issuecomment-1868457120, can you please share the full error logs on your end?

Thanks for filing this @kentSoHandsome. Can you try out the solutions under this SO thread to see if any works in your case https://stackoverflow.com/questions/57673489/a-global-key-was-used-multiple-times-inside-one-widgets-child-list? Also per #140582 (comment), can you please share the full error logs on your end?

Thank you, but it doesn't help me. I just created a sample program, I didn't add any code. It still doesn't work in Safari on iOS13.

Thanks for your response. Per https://github.com/flutter/flutter/issues/140582#issuecomment-1868457120, can you please share the full error logs running on iOS 13 on your end?

I'm running into this issue as well

感谢您的回复。根据 #140582（评论），您能否分享在 iOS 13 上运行的完整错误日志？

I've sent out the specific error message, please take a look

Hello @2697a
Thanks for sharing this.
Its a little difficult getting the logs from screenshots, can you please share this in a .txt file or paste the logs here.


npm install hanging

Hello,
When I try to pull down the code for the quickstart, npm hangs forever after this step
[fsevents] Success: "/Users/valerie/Google Drive/CodeClan/Dev/playing/test/node_modules/lite-server/node_modules/browser-sync/node_modules/chokidar/node_modules/fsevents/lib/binding/Release/node-v46-darwin-x64/fse.node" is installed via remote
I left it for half an hour then had to ctrl + c to kill it.
It's brought down lots of folders, but when I run npm start I get:
node_modules/angular2/platform/browser.d.ts(78,90): error TS2304: Cannot find name 'Promise'.
Originally I got 'typings not installed' but it went away when I install it globally.
Any thoughts?

Add this:
"postinstall": "typings install"
To my scripts stops it hanging.

Actually updating node from 4.1.1 to 5.x totally solved my issue. D'oh!


[FEATURE] Implement QuillEditorController.getDelta

Is your feature request related to a problem? Please describe.
The webview causes a little bit of lag, which is a problem for when I want it to be read-only. For example when one of multiple tab_bar views.
I see that delta is the underlying data format for quill.js, so if this package could export it using the controller, that would make it compatible with other packages like flutter_quill, and I can use their non-webview solution for rendering quill deltas.
Describe the solution you'd like
implement getDelta method to QuillEditorController that would convert the html string to Delta format.
Describe alternatives you've considered
I tried finding a way on my own to convert html to delta but can't find anything.

@Tameflame
Regarding the (initial) lag, I guess when this issue is resolved, the lag will be gone.
A general solution to work with the quill delta format would nice nice, though.

@Tameflame @gerken-tss,
Thank for your inputs.
I have added the methods getDetla and setDelta,  will be released in the next version.
Thanks :)

@the-airbender Wow thanks so much! I'm using this in a production app so I'm really grateful for your work! Please feel free to close issue whenever you feel like.

Hi @Tameflame,
Please check out the ver 2.1.8 for setDelta and getDelta methods.
Please share your feedback
Thanks :)

@the-airbender
Thanks so much! The solution is in production now! Amazing work, really appreciate it!


Additional Parameters are not supported by the IDP List endpoint

Describe the issue:
Although the document contains additional attributes such as sortBy, sortOrder, requiredAttributes they do not make a change to the result set upon sending on the request.
Doc: https://is.docs.wso2.com/en/latest/develop/idp-rest-api/
How to reproduce:
Refer following sample
curl --location --request GET 'https://localhost:9443/t/wso2.com/api/server/v1/identity-providers?sortOrder=asc&sortBy=name&requiredAttributes=id,name' \
--header 'Authorization: Bearer ba4c3f2f-bc50-3f33-ab8b-c923ee307b88' \
--header 'Cookie: opbs=9de1917e-9f86-4a2a-a71a-a513e40afd6f; JSESSIONID=65C9300973C48335DDC5DB6EA13A9974; requestedURI=../../api/server/v1/identity-providers/9766d498-5cf5-45e1-acaf-1451408cd954/federated-authenticators/U0FNTDJBdXRoZW50aWNhdG9y; commonAuthId=19a316b6-72f9-41d6-a13f-0bf87b4d9f33'

With or without the additional attributes the response is same.
Expected behavior:

Remove from the documentation until the support is provided

Environment information (Please complete the following information; remove  any unnecessary fields) :

Product Version: [IS 5.11.0-ALPHA3-Milestone]

Support for requiredAttributes has been added lately. Hence, adding the requiredAttributes back in https://github.com/wso2/identity-api-server/pull/244/commits/50ad9f5721ce98de285129afb55da1bba2c3bf5e


Convert the project

I suggest to convert this repository into Github template repository or you can support cookiecutter for better approach to this template.

Hello, @mbnoimi  I agree with you. This is still a work in progress but I am going to add this suggestion to the todo list

My two cents are I don't think it's very useful. For a newbie, it's already hard to set everything up and see working containers locally, adding cookiecutter is another pain point and gives this feeling of having a different code locally vs remotely == having something wrong.

Hello @smolendawid yes this template can be hard for a newbie because it already uses complex tools like docker, ...
Have you tried this started template https://github.com/allient/create-fastapi-project


Send extension version in user agent string

For analytics purposes

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

GitHub release
v6.15.0

Your semantic-release bot :package::rocket:


Improve our docker experience

Our docker image on Docker Hub is outdated. Unless we setup automated builds or find someone who is willing to update the image regularly, a pre-built image doesn't make sense. So, I've removed the documentation for pulling from Docker Hub.

Our Dockerfile now copies the repository files from context, not by cloning our GitHub repository. Before this, we were asking the user to clone our GitHub repository first, and then clone it again during the build process.

It's now possible to execute commands such as make schema and make data within the container, documentation has been added too. Also added documentation for mounting a local folder, that's the only way people can actually hack on Gratipay using Docker.

cc: @citruspi

Our Dockerfile now copies the repository files from context, not by cloning our GitHub repository. Before this, we were asking the user to clone our GitHub repository first, and then clone it again during the build process.

That definitely makes sense.

Unless we setup automated builds or find someone who is willing to update the image regularly, a pre-built image doesn't make sense.

I would be totally interested in setting up automated builds with Docker Hub.
As far as the Dockerfile itself goes, I haven't run it myself, but the changes look solid.
— @citruspi


[Python] Add date32 support to dataframe protocol

Describe the enhancement requested
>>> pa.Table.from_pydict({"col": [datetime.date(2024, 1, 1)]}).__dataframe__().get_column(0)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/willayd/mambaforge/envs/pantab-dev/lib/python3.12/site-packages/pyarrow/interchange/dataframe.py", line 139, in get_column
    return _PyArrowColumn(self._df.column(i),
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/willayd/mambaforge/envs/pantab-dev/lib/python3.12/site-packages/pyarrow/interchange/column.py", line 239, in __init__
    self._dtype = self._dtype_from_arrowdtype(dtype, bit_width)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/willayd/mambaforge/envs/pantab-dev/lib/python3.12/site-packages/pyarrow/interchange/column.py", line 322, in _dtype_from_arrowdtype
    raise ValueError(
ValueError: Data type date32[day] not supported by interchange protocol

Component(s)
Python

It would also be good to add 64-bit date type, 32 and 64-bit time type plus duration type.
Contributions are more than welcome as there is no immediate plan to work on this. I can guide anybody interested! ❤

The interchange protocol currently doesn't define a date type AFAIK (https://data-apis.org/dataframe-protocol/latest/API.html#interface), so do you expect it to be written as DATETIME?

Yes, that was my idea. Similar to what polars does: https://github.com/pola-rs/polars/blob/2b43fc1ac1af84ed118ff3f8840d328a12c35510/py-polars/polars/interchange/utils.py#L35-L54

Date and Duration data type classes are added to the staging branch of the protocol: https://github.com/data-apis/dataframe-api/blob/c5f08352e0a1d25387fe1737ffe9cccb36f554f7/spec/API_specification/dataframe_api/dtypes.py#L50
which I guess should be the draft docs page? https://data-apis.org/dataframe-api/draft/API_specification/index.html
But I am not sure if this will move forward soon.

Date and Duration data type classes are added to the staging branch of the protocol: https://github.com/data-apis/dataframe-api/blob/c5f08352e0a1d25387fe1737ffe9cccb36f554f7/spec/API_specification/dataframe_api/dtypes.py#L50

That's for the standard API, though, not for the interchange protocol (I was confused as well, and so wrote a wrong comment on the PR adding it asking for clarification ;) -> https://github.com/data-apis/dataframe-api/pull/197)

Yes, that was my idea. Similar to what polars does: https://github.com/pola-rs/polars/blob/2b43fc1ac1af84ed118ff3f8840d328a12c35510/py-polars/polars/interchange/utils.py#L35-L54

Personally I think it would be better if this was first clarified or added in the interchange protocol. While for date it does make some sense (as you could just see it as a different resolution of datetime), duration is really different. And for example the pandas implementation also wouldn't support consuming duration. And pyarrow only supports consuming datetime as timestamp, not even date.

That's for the standard API, though, not for the interchange protocol (I was confused as well, and so wrote a wrong comment on the PR adding it asking for clarification ;) -> https://github.com/data-apis/dataframe-api/pull/197)

Oooh, sorry for taking you into the wrong direction!
I didn't see it at the time.

Personally I think it would be better if this was first clarified or added in the interchange protocol.

That does make sense 👍

(existing upstream issue about duration/timedelta: https://github.com/data-apis/dataframe-api/issues/329)

Let me know if you think this is a distinct issue, but I ran into a different error message when converting a Date32 from Polars through the DataFrame interchange protocol.
import datetime
import polars as pl
from pyarrow.interchange import from_dataframe

from_dataframe(pl.DataFrame({"date": [datetime.date(2024, 3, 22)]}))

---------------------------------------------------------------------------
NotImplementedError                       Traceback (most recent call last)
...
File [.../envs/default/lib/python3.11/site-packages/pyarrow/interchange/from_dataframe.py:563]
in validity_buffer_nan_sentinel(data_pa_buffer, data_type, describe_null, length, offset, allow_copy)
    537 """
    538 Build a PyArrow buffer from NaN or sentinel values.
    539
   (...)
    560 pa.Buffer
    561 """
    562 kind, bit_width, _, _ = data_type
--> 563 data_dtype = map_date_type(data_type)
    564 null_kind, sentinel_val = describe_null
    566 # Check for float NaN values

File [...envs/default/lib/python3.11/site-packages/pyarrow/interchange/from_dataframe.py:332](http://localhost:8889/lab/workspaces/auto-z/tree/scratch/bugs/~/VegaFusion/repos/altair/.pixi/envs/default/lib/python3.11/site-packages/pyarrow/interchange/from_dataframe.py#line=331), in map_date_type(data_type)
    329 kind, bit_width, f_string, _ = data_type
    331 if kind == DtypeKind.DATETIME:
--> 332     unit, tz = parse_datetime_format_str(f_string)
    333     return pa.timestamp(unit, tz=tz)
    334 else:

File [.../envs/default/lib/python3.11/site-packages/pyarrow/interchange/from_dataframe.py:324](http://localhost:8889/lab/workspaces/auto-z/tree/scratch/bugs/~/VegaFusion/repos/altair/.pixi/envs/default/lib/python3.11/site-packages/pyarrow/interchange/from_dataframe.py#line=323), in parse_datetime_format_str(format_str)
    320         unit += "s"
    322     return unit, tz
--> 324 raise NotImplementedError(f"DateTime kind is not supported: {format_str}")

NotImplementedError: DateTime kind is not supported: tdD

What's the current thinking on the best way forward to support this?

Thank you for contributing to the discussion @jonmmease. I see that libraries are working around this by defining date and time types as protocol DATETIME data type with Apache Arrow C Data Interface format string (example tdD for date32, tdm for date64 etc, see Polars code and pandas code).
I do not mind going about it in similar way in PyArrow until date is added to the dataframe protocol spec. Also adding the option to consume this data type. It would be ideal, though, that this is clarified and set in the protocol first.
@jorisvandenbossche, what do you think?

I would still prefer someone to first do a PR to the spec to add this. If it is just clarifying that the existing DATETIME dtype kind can also be used for other Arrow date and time dtypes, that should relatively easy.

I see that libraries are working around this by defining date and time types as protocol DATETIME data type with Apache Arrow C Data Interface format string (example tdD for date32, tdm for date64 etc, see Polars code and pandas code).

AFAIK pandas doesn't actually support this for duration, at least not for the default timedelta dtype (from testing with pandas main):
In [7]: from pyarrow.interchange import from_dataframe

In [8]: from_dataframe(pd.DataFrame({'a': pd.timedelta_range(0, "1 days", freq='s')}))
...
File ~/scipy/repos/pandas/pandas/core/interchange/utils.py:147, in dtype_to_arrow_c_fmt(dtype)
    144 elif isinstance(dtype, DatetimeTZDtype):
    145     return ArrowCTypes.TIMESTAMP.format(resolution=dtype.unit[0], tz=dtype.tz)
--> 147 raise NotImplementedError(
    148     f"Conversion of {dtype} to Arrow C format string is not implemented."
    149 )

NotImplementedError: Conversion of timedelta64[ns] to Arrow C format string is not implemented.

FWIW, my proposal to add support for the Arrow PyCapsule protocol to the interchange standard (https://github.com/data-apis/dataframe-api/pull/342) would also solve this for the case of polars and pyarrow, as both are Arrow-memory based, and could interchange easily those data types.
(although that of course requires polars to implement it, and based on https://github.com/pola-rs/polars/issues/12530 that is still WIP I think)
We could start checking for that protocol in pyarrow.interchange.from_dataframe, although that would also be an extension not covered by the official spec.

Thank you for clarification Joris!
I propose we start with a PR to the dataframe protocol specification to add that the existing DATETIME dtype kind can also be used for other Arrow date and time dtype (not duration). I will do this today/tomorrow.
The proposal to add support for the Arrow PyCapsule protocol to the interchange standard would be great in my opinion. I hope it will move forward otherwise the libs involved will start checking for the protocol by themselves like you have suggested.


Convert the web interface to Sinatra

This also me to add a rake task for running the web interface standalone and auto-reloading classes, using the shotgun gem.
Using the modular Sinatra style I have been able to split interface into:

SettingsApp (handle configuring the repositories)
BrowserApp (viewing and editing files in the repositories)

I have also refactoring some of the web interface to make better use of the HTTP methods. Unless I have missed something:

GETs are now read-only
POSTs are creating new files or directories
PUTs are modifying existing files
DELETEs are removing existing files, directories, or repositories

This is great, especially since the renee framework is dead. Thanks!

Woohoo! Thanks @nesquena. Time to pick the next thing to work on. :)


Include in-detail about new repository structure within the readme file and the documentation

Include in-detail about new repository structure within the readme file and the documentation.
OT Jira: https://wso2.org/jira/browse/IDENTITY-4514

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Physics property

Is there any way to add physics: BouncingScrollPhysics() property for horizontal calendar scrolling.

Now you can use the  physics   property with EasyInfiniteDateTimeLine widget.


I can't bounding box

When I use your tool. But I turn on boobs.html. I can't Bounding box . I don't know why
I have F12 but no error ???
You can fix this problem for me ???
Thanks you for contributing and reading

Hi,
You will have to be more specific than that. Post screenshots, browser/os versions, exact actions performed.
Thanks

SOrry ! I did it. thanks you for attention my question


UnboundLocalError when calling create_database

Your Environment

Python version: 3.10
Operating system: Pop_OS!
Mindsdb Python SDK version: 1.0.4
Additional info if applicable:
Cannot create database, exception thrown

Please describe your issue and how we can replicate it
I attempt to call create_database for my sqllite db, but it fails due to some very poor code in sly (see IDE screenshot)
mdb = server.create_database(
engine="sqlite",
name="mydatabase",
connection_args={
"db_file": "/root/"+dbname
}
)

sly==0.5
Full trace
   mdb = server.create_database(   File "/home/darren/PycharmProjects/pyfi/venv/lib/python3.10/site-packages/mindsdb_sdk/server.py", line 95, in create_database     self.api.sql_query(ast_query.to_string())   File "/home/darren/PycharmProjects/pyfi/venv/lib/python3.10/site-packages/mindsdb_sql/parser/ast/base.py", line 34, in to_string     return self.maybe_add_alias(self.maybe_add_parentheses(self.get_string()), alias=alias)   File "/home/darren/PycharmProjects/pyfi/venv/lib/python3.10/site-packages/mindsdb_sql/parser/dialects/mindsdb/create_database.py", line 46, in get_string     out_str = f'CREATE{replace_str} DATABASE {self.name.to_string()} WITH ENGINE = {repr(self.engine)}{parameters_str}'   File "/home/darren/PycharmProjects/pyfi/venv/lib/python3.10/site-packages/mindsdb_sql/parser/ast/base.py", line 34, in to_string     return self.maybe_add_alias(self.maybe_add_parentheses(self.get_string()), alias=alias)   File "/home/darren/PycharmProjects/pyfi/venv/lib/python3.10/site-packages/mindsdb_sql/parser/ast/select/identifier.py", line 77, in get_string     return self.parts_to_str()   File "/home/darren/PycharmProjects/pyfi/venv/lib/python3.10/site-packages/mindsdb_sql/parser/ast/select/identifier.py", line 57, in parts_to_str     reserved_words = get_reserved_words()   File "/home/darren/PycharmProjects/pyfi/venv/lib/python3.10/site-packages/mindsdb_sql/parser/ast/select/identifier.py", line 26, in get_reserved_words     from mindsdb_sql.parser.lexer import SQLLexer   File "/home/darren/PycharmProjects/pyfi/venv/lib/python3.10/site-packages/mindsdb_sql/parser/lexer.py", line 2, in <module>     from sly import Lexer   File "/home/darren/PycharmProjects/pyfi/venv/lib/python3.10/site-packages/sly/__init__.py", line 2, in <module>     from .lex import *   File "/home/darren/PycharmProjects/pyfi/venv/lib/python3.10/site-packages/sly/lex.py", line 183, in <module>     class Lexer(metaclass=LexerMeta):   File "/home/darren/PycharmProjects/pyfi/venv/lib/python3.10/site-packages/sly/lex.py", line 180, in __new__     cls._build()   File "/home/darren/PycharmProjects/pyfi/venv/lib/python3.10/site-packages/sly/lex.py", line 307, in _build     part = f'(?P<{tokname}>{pattern})' UnboundLocalError: local variable 'pattern' referenced before assignment

This error appears only in debugger, right? I think I also encountered with it

It appears without debugger too.

will be fixed in next release of mindsdb_sql

Thank you!! Would you happen to know when that will be released?

mindsdb_sql was released

Thank you so much for this! :)

#0 33.09 The conflict is caused by:
#0 33.09     The user requested mindsdb-sql==0.7.0
#0 33.09     mindsdb-sdk 1.0.4 depends on mindsdb-sql<0.7.0 and >=0.6.1


added missing types for limit and offset methods

Added missing types for limit and offset methods to prevent syntax highlighting issues with typescript.

@Salmondx
Thanks!


Ability to create a Load Balancer with only NAT rules, not load balancing rules

the Java SDK equivalent of https://github.com/Azure/azure-sdk-for-net/issues/3173

addressed in v1.1.0


Webview in relayer overrides status bar color

✅ Prerequisites

[x] Did you perform a cursory search of open issues? Is this bug already reported elsewhere?
[x] Are you running the latest SDK version?
[x] Are you reporting to the correct repository (magic-sdk)?

🐛 Description
When the relayer is rendered in a view, it will change the status bar color to light.
🧩 Steps to Reproduce

Set the Status Bar color
Render a relayer
Status Bar is changed to "light"

🤔 Expected behavior
The relayer to not change the status bar color.
😮 Actual behavior
Even if we set the status bar color, the rendered WebView takes control of the status bar. Setting autoManageStatusBarEnabled to false disables WebView from controlling the status bar color. We have tested this prop + setting in a patched version and the status bar is no longer changed.
docs: https://github.com/react-native-webview/react-native-webview/blob/master/docs/Reference.md#autoManageStatusBarEnabled
💻 Code Sample
Code segment that is affected:
https://github.com/magiclabs/magic-js/blob/7d634c0184f7daf464b7607cad6317c20bff0a0a/packages/%40magic-sdk/react-native-expo/src/react-native-webview-controller.tsx#L125-L130
🌎 Environment

Software
Version(s)

@magic-sdk/react-native-expo
14

Browser
Expo 47

yarn
npm

Operating System
iOS 16

Happy to make a PR for this if that speeds up resolution?

Thanks for offering @adamjuhasz, we're working on sending up a fix before the EOD today.

@adamjuhasz we're having troubleshooting reproducing the error on our end:can you confirm how it is you are styling <StatusBar /> exactly?

@adamjuhasz we're having troubleshooting reproducing the error on our end:

Can you confirm how it is you are styling <StatusBar /> exactly?
Can you provide any screenshot or recording of the error?
Are you using expo-status-bar or React Native's StatusBar?

Feel free to provide any additional information you think will help us get to the bottom of this one. Thanks!

1 & 3 We are using it from expo-status-bar with a representative code example. We also tried it the RN's StatusBar and had the same result.
Usage Example
import { StatusBar } from "expo-status-bar";
import { Magic } from "@magic-sdk/react-native-expo";

const MagicRelayer = magic.Relayer;

function App(): JSX.Elememt => {
  return (
    <>
       <MagicRelayer />
       <StatusBar style={"light"} />

       <NavigationContainer />
    </>);
}

Video showing MagicRelayer re-setting the color from what we manually set (white) to WebView's default black during a hot-reload re-render. If we remove MagicRelayer from the render tree the color stays white.
https://user-images.githubusercontent.com/757940/213828601-02ef01fa-393a-415d-861a-f85541346b19.mp4

@adamjuhasz  Thanks for the speedy reply and your patience here!
A PR with your recommended fix is up and should be merged soon. In the meantime, assuming this blocks you, feel free to install the canary version with the fix implemented yarn add<EMAIL_ADDRESS>via yarn or npm install<EMAIL_ADDRESS>--save via npm.

Thank you for this amazing Friday gift! You Rock!

:rocket: Issue was released in<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>:rocket:


Allow empty idTag

https://grid-x.atlassian.net/browse/INTE-1856

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
6520

Relevant Lines:
7326

💛  - Coveralls


Better logging for Google Datastore benchmark

googledatastore currently output a lot of debugging information via logger to standard output. This makes it incompatible with bencharmark framework PerfKitBenchmark, which relies on parsing standard output to get benchmark results.
Other benchmarks in YCSB have no problem integrate with PKB. So I'm suggesting that we make some changes to the logging code in google datastore.

@k1xme - sorry don't have a Google Cloud Datastore account set up right at the moment to test this out myself, will get one if necessary. Can you post a little bit of the logging you are referring to? I see that the binding includes log4j, uses a logger in the java class, and has a log4j.properties file in the resources file. Have you tried to fiddle with that?

@kruthar PKB parse results based on stdout
I ran YCSB googledatastore and redirect stdout to a file and got the following content:

0    [Thread-1] INFO  com.yahoo.ycsb.db.GoogleDatastoreClient  -Using JWT Service Account credential.
0    [Thread-2] INFO  com.yahoo.ycsb.db.GoogleDatastoreClient  -Using JWT Service Account credential.
1    [Thread-2] INFO  com.yahoo.ycsb.db.GoogleDatastoreClient  -DatasetID: database-benchmark, Service Account Email<EMAIL_ADDRESS>Private Key File Path: /home/kexi/key.p12
0    [Thread-3] INFO  com.yahoo.ycsb.db.GoogleDatastoreClient  -Using JWT Service Account credential.
1    [Thread-3] INFO  com.yahoo.ycsb.db.GoogleDatastoreClient  -DatasetID: database-benchmark, Service Account Email<EMAIL_ADDRESS>Private Key File Path: /home/kexi/key.p12
1    [Thread-1] INFO  com.yahoo.ycsb.db.GoogleDatastoreClient  -DatasetID: database-benchmark, Service Account Email<EMAIL_ADDRESS>Private Key File Path: /home/kexi/key.p12
7    [Thread-2] INFO  com.yahoo.ycsb.db.GoogleDatastoreClient  -Datastore client instance created: com.google.datastore.v1beta3.client.Datastore@35d04d59
7    [Thread-1] INFO  com.yahoo.ycsb.db.GoogleDatastoreClient  -Datastore client instance created: com.google.datastore.v1beta3.client.Datastore@671ebc67
DBWrapper: report latency for each error is false and specific error codes to track for latency are: []7    [Thread-3] INFO  com.yahoo.ycsb.db.GoogleDatastoreClient  -Datastore client instance created: com.google.datastore.v1beta3.client.Datastore@99e8a77
DBWrapper: report latency for each error is false and specific error codes to track for latency are: []
DBWrapper: report latency for each error is false and specific error codes to track for latency are: []
[OVERALL], RunTime(ms), 7888.0
[OVERALL], Throughput(ops/sec),<PHONE_NUMBER>7018255
[TOTAL_GCS_PS_Scavenge], Count, 1.0
[TOTAL_GC_TIME_PS_Scavenge], Time(ms), 18.0
[TOTAL_GC_TIME_%PS_Scavenge], Time(%), 0.2281947261663286
[TOTAL_GCS_PS_MarkSweep], Count, 0.0
[TOTAL_GC_TIME_PS_MarkSweep], Time(ms), 0.0
[TOTAL_GC_TIME%PS_MarkSweep], Time(%), 0.0
[TOTAL_GCs], Count, 1.0
[TOTAL_GC_TIME], Time(ms), 18.0
[TOTAL_GC_TIME%], Time(%), 0.2281947261663286
[READ], Operations, 945.0
[READ], AverageLatency(us), 19325.67195767196
[READ], MinLatency(us), 8296.0
[READ], MaxLatency(us), 523007.0
[READ], 95thPercentileLatency(us), 63551.0
[READ], 99thPercentileLatency(us), 126207.0
[READ], Return=OK, 945
[CLEANUP], Operations, 3.0
[CLEANUP], AverageLatency(us), 1.3333333333333333
[CLEANUP], MinLatency(us), 1.0
[CLEANUP], MaxLatency(us), 2.0
[CLEANUP], 95thPercentileLatency(us), 2.0
[CLEANUP], 99thPercentileLatency(us), 2.0
[UPDATE], Operations, 55.0
[UPDATE], AverageLatency(us), 59803.490909090906
[UPDATE], MinLatency(us), 28352.0
[UPDATE], MaxLatency(us), 190335.0
[UPDATE], 95thPercentileLatency(us), 125567.0
[UPDATE], 99thPercentileLatency(us), 188799.0
[UPDATE], Return=OK, 55
While PKB was expecting content like

YCSB 0.9.0
Command line: ....
[OVERALL] ......

IMO, information 0    [Thread-1] INFO  com.yahoo.ycsb.db.GoogleDatastoreClient  -Using JWT Service Account credential. is somewhat unnecessary to output to stdout.

@k1xme , this is a generic change on YCSB framework IMO, not specific to googledatastore. The reason other benchmarks works fine in PKB is they are currently using 0.7.0 YCSB. 0.9.0 appears to print some logs to stderr.

@yuyantingzero Yeah, I notice that is a generic change, but I think info should be direct to stdout rather than stderr.

in general, everything should be going to stderr except for the result exporter. unfortunately, #240 and #241 are still open so we aren't consistent across modules. YCSB core should be doing the correct thing. FWICT, the output you're referring to comes from the log4j properties shipped in the binding for Google Datastore:
https://github.com/brianfrankcooper/YCSB/blob/0.9.0/googledatastore/src/main/resources/log4j.properties#L17
The ConsoleAppender by default goes to stdout. If you update the configuration (by either modifying the above file or passing your own copy on the classpath) you can have it write to stderr
#define the console appender
log4j.appender.consoleAppender = org.apache.log4j.ConsoleAppender
# Non-test-result output goes to stderr
log4j.appender.consoleAppender.Target=System.err

# now define the layout for the appender
log4j.appender.consoleAppender.layout = org.apache.log4j.PatternLayout
log4j.appender.consoleAppender.layout.ConversionPattern=%-4r [%t] %-5p %c %x -%m%n

# now map our console appender as a root logger, means all log messages will go
# to this appender
log4j.rootLogger = INFO, consoleAppender

@busbey Thank you for the information! Good to know that. Yeah, then I think the changes should be made on PKB side, not YCSB.

thanks for following up! if it turns out changing it on PKB is prohibitive, I'd be happy to have our default log4j setting changed to use stderr. Just reopen this issue.


Syncthing missing

I have a Xpenology box, build by myself.
I added the feed to my DSM. I cannot find Syncthing as a package there.
Model Name: DS3617xs
Current DSM Version: DSM 6.1.7-15284

Not the right place. Please submit at https://github.com/SynoCommunity/spksrc/issues

Did it https://github.com/SynoCommunity/spksrc/issues/3366
thx


New version: LinearOrbit.Linear version 1.26.2

Created by 🥟 Dumplings in workflow run #6776.

Log
Updated: 1.26.0 → 1.26.2
Submitting WinGet manifests
Creating manifests
Uploading manifests and making commits
Creating a pull request

Microsoft Reviewers: Open in CodeFlow

https://github.com/microsoft/winget-pkgs/issues/142854


Input logits shape is torch.Size([1, 141]), but vocabulary is size 31. Need logits of shape: (time, vocabulary)

when I try to use the pretrained Language_model to inference, i  face this problem,please !

I fixed this ! update the eval_model.py
def get_kenlm_processor(model_path, path_lm=None):
"""Function that instantiate the models and then gives them back for evaluation"""
path_tokenizer = model_path

# check that we send the right dir where the model is stored
if Path(model_path).is_dir():
    processor = Wav2Vec2Processor.from_pretrained(model_path)
    model = AutoModelForCTC.from_pretrained(model_path)
else:
    print(f"Error. Models were not found in {model_path}")

# In case we don't pass any language model path, we just send back the model and processor
if path_lm is None:
    return processor, None, None, model

# vocab = processor.tokenizer.convert_ids_to_tokens(
#     range(0, processor.tokenizer.vocab_size)
# )
# we need to add these tokens in the tokenizer
# vocab.append("<s>")
# vocab.append("</s>")

# instantiate the tokenizer
# tokenizer = Wav2Vec2CTCTokenizer(
#     path_tokenizer + "/vocab.json",
#     unk_token="[UNK]",
#     pad_token="[PAD]",
#     word_delimiter_token="|",
# )

# load CTC decoder WITH a LM and HuggingFace processor with CTC decoder and LM
# ctcdecoder_kenlm = build_ctcdecoder(
#     labels=vocab,
#     kenlm_model_path=path_lm,
# )
# HuggingFace processor with CTC decoder (with LM)
processor_ctc_kenlm = Wav2Vec2ProcessorWithLM.from_pretrained(model_path)
# processor_ctc_kenlm = Wav2Vec2ProcessorWithLM(
#     feature_extractor=processor.feature_extractor,
#     tokenizer=tokenizer,
#     decoder=ctcdecoder_kenlm,
# )

return processor, processor_ctc_kenlm, model

update the function to finish eval!


Is it possible to train a new model for hand landmarkers recognition?

Have I written custom code (as opposed to using a stock example script provided in MediaPipe)
None
OS Platform and Distribution
MacOs - Windows - Colab
Python Version
3.9 - 3.11
MediaPipe Model Maker version
No response
Task name (e.g. Image classification, Gesture recognition etc.)
Hand Landmarks
Describe the actual behavior
Can't find a way to train a hand landmarkers model

Describe the expected behaviour
Train hand landmarkers model

Standalone code/steps you may have used to try to get what you need
I would like to train a new hand landmarker model. I see that mediapipe model maker includes libraries and methods to train gesture recognition, image classification and several other types of model but I can't find the corresponding for hand landmarkers recognition. Is there a way to train a hand landmarkers recognition model with my own database?

Other info / Complete Logs
No response

Hello @Montag83
Only image classification and Object detection models can be retrained with model maker.


DRILL-5698: Escape version number period separator, this captures ver…

…sion numbers with 4 5 or 6 in them, like 1.8.0_144

@darrenbrien please close this PR.


Protocol 21 SDK Support

Protocol 21 SDK Support
Once voted in, the release of Protocol 21 will introduce following new CAPs:

CAP-51: Smart Contract Host Functionality
CAP-53: Separate host functions to extend the TTL for contract instance and contract code
CAP-54: Soroban refined VM instantiation cost model
CAP-55 : Soroban streamlined linking
CAP-56: Soroban intra-transaction module caching

XDR changes:
XDR update https://github.com/stellar/stellar-xdr/pull/184 - https://github.com/stellar/stellar-xdr/commit/1a04392432dacc0092caaeae22a600ea1af3c6a5
Reference Implementations:
js-sdk - https://github.com/stellar/js-stellar-base/pull/738
Soroban API Changes:
Breaking Changes:

simulateTransaction: https://github.com/stellar/soroban-rpc/issues/13

Non Breaking changes:

Add StateDiff to simulateTransaction Response: https://github.com/stellar/soroban-rpc/pull/120

New optional field in SimulateTransactionResponse which indicates how the state (ledger entries) will change as a result of the transaction execution.
StateDiff       []LedgerEntryDiff            `json:"stateDiff,omitempty"`

type LedgerEntryDiff struct {
	Before string `json:"before,omitempty"` // LedgerEntry XDR in base64
	After  string `json:"after,omitempty"`  // LedgerEntry XDR in base64
}

Add ledger Range to getHealth RPC: https://github.com/stellar/soroban-rpc/pull/133

New Ledger Range and Ledger Retention Window in getHealth Response
type HealthCheckResult struct {
	Status                string `json:"status"`
	LatestLedger          uint32 `json:"latestLedger"` // New
	OldestLedger          uint32 `json:"oldestLedger"` // New
	LedgerRetentionWindow uint32 `json:"ledgerRetentionWindow"` // New
}

Closed with this PR


Running HICO Evaluation

Hi @fredzzhang, thank you for your great work!
I am trying to reproduce the reported mAPs of the pretrained COCO version, but I'm confused on how to get the HICO evaluation running.
I ran the network through test2015 successfully and generated both JSON and .mat files. I tried running the mat files with eval_run.m from HO-RCNN but got very lower mAPs:

Is there something I am missing? I would appreciate any help.

Hi, @vjsrinivas
I did not run the test in the known object (ko) setting. But from the default setting (def), the performance 0.608 looks like it's using a randomly initialised model, instead of our trained model.
So just to make sure, have you downloaded the checkpoint of our trained model? And when generating the .mat files, have you correctly specified the path to the checkpoint?

Download the checkpoint

cd /path/to/spatio-attentive-graphs/download
bash download_checkpoint.sh

The checkpoint should have been downloaded to /path/to/spatio-attentive-graphs/checkpoints/spatio-attentive-graph-hicodet-e11.pt

Run the caching script

cd /path/to/spatio-attentive-graphs
CUDA_VISIBLE_DEVICES=0 python cache.py --model-path checkpoints/spatio-attentive-graph-hicodet-e11.pt

When running this script, you should see a printed message that says Loading model from  checkpoints/spatio-attentive-graphs-hicodet-e11.pt
Let me know if this resolves the issue.
Cheers,
Fred

Hi, @vjsrinivas
I did not run the test in the known object (ko) setting. But from the default setting (def), the performance 0.608 looks like it's using a randomly initialised model, instead of our trained model.
So just to make sure, have you downloaded the checkpoint of our trained model? And when generating the .mat files, have you correctly specified the path to the checkpoint?

Download the checkpoint

cd /path/to/spatio-attentive-graphs/download
bash download_checkpoint.sh

The checkpoint should have been downloaded to /path/to/spatio-attentive-graphs/checkpoints/spatio-attentive-graph-hicodet-e11.pt

Run the caching script

cd /path/to/spatio-attentive-graphs
CUDA_VISIBLE_DEVICES=0 python cache.py --model-path checkpoints/spatio-attentive-graph-hicodet-e11.pt

When running this script, you should see a printed message that says Loading model from  checkpoints/spatio-attentive-graphs-hicodet-e11.pt
Let me know if this resolves the issue.
Cheers,
Fred

Ahh, I did not check if the file path was correct! It should be checkpoints/spatio-attentive-graphs-hicodet-e11.pt.
I ran it with the right name and was able to match the reported stats:

Also, is there a reason why the program doesn't just error out if the weight path doesn't exist?

Ahh, I did not check if the file path was correct! It should be checkpoints/spatio-attentive-graphs-hicodet-e11.pt.
I ran it with the right name and was able to match the reported stats:

Also, is there a reason why the program doesn't just error out if the weight path doesn't exist?

Glad it resolved your issue. When the given path is empty or non-existent, a randomly initialised model will be used. I guess I could add some warnings when the given path is not empty but incorrect. Will do that later.
Cheers,
Fred

Glad it resolved your issue. When the given path is empty or non-existent, a randomly initialised model will be used. I guess I could add some warnings when the given path is not empty but incorrect. Will do that later.
Cheers,
Fred


implementing github markdown output

meant to be used on github pull-requests (likely automated by Marc Foley's tooling for onboarding fonts into the google/fonts git repo)
This pull request addresses the problems described at issue #1754

I must fix the shortcomings described on https://github.com/googlefonts/fontbakery/issues/1754#issuecomment-387617140 before merging this!

Can we please lose the emojis?

Dave requested it, in order to add visual aid to the reports.

@graphicore feel free to send PRs with any further tweaks you would like to see in this code. I think it is good enough for now.

it is unclear to me how could it be done differently. Would you mind if I merge it like that and then you can submit another pull request with a suggestion of a better approach?

I made #1864 and assigned it to me as a reminder. All good, Thanks.


quirc: 2016-08-16 -> 2020-04-06;  monero: <IP_ADDRESS> -> <IP_ADDRESS>; monero-gui: <IP_ADDRESS> -> <IP_ADDRESS>

Motivation for this change
#121120
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[x] Test aarch64 build
[x] Tested compilation of all pkgs that depend on this change
[x] Tested execution of all binary files
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Backported to 20.09: c34127be2ab845d4e5aa5f14fd19a4dfeaeae5b1


VerticalLine has a marker that cant be hidden

Bug Report
Issue: VerticalLine has a marker that can't be hidden, which sits just below the x axis.
Reproducing: See code.
plot.Add.VerticalLine(0, 1, Colors.Red);

System Details

ScottPlot Version: 5.0.10-beta
Operating System: Windows 10
Application Type: WinForms
.NET Version: .NET 8.0

Thanks for reporting this @raburton! It has been fixed in ab54249604ec0ee0e222f1fadcadfcaa94821030 and will be in the next release 🚀


Don't require WORKSPACE env var

Got an error when running pyartcd in my local env because env var WORKSPACE is not defined.
We can use Runtime.working_dir to get the working directory instead.

/lgtm


Feature: add JS runtime information to Bench and benchmark results

Upvote & Fund

We're using Polar.sh so you can upvote and help fund this issue.
We receive the funding once the issue is completed & confirmed by you.
Thank you in advance for helping prioritize & fund our backlog.

I'd love to take this up, but would love for some more clarity before that :)


xRemoteFile always returns false in test

As a devops, I expect to be able to test if the system is in desired state, including xRemoteFile resources. Here is an example of the resource I am applying:
        xRemoteFile SQLMediaArchive
        {
            Uri             = "http://$env:PACKER_HTTP_ADDR/SQLServer2014SP1.zip"
            DestinationPath = "C:\Install\SQLServer2014SP1.zip"
        }

First, I run Start-DscConfiguration and the file is downloaded successfully. Then I need to test that configuration is in desired state, so I run Test-DscConfiguration and I get False:
VERBOSE: An LCM method call arrived from computer WIN-SLU589M70V9 with user sid
 S-1-5-21-3913156103-666311135-156080423-500.
VERBOSE: [WIN-SLU589M70V9]: LCM:  [ Start  Compare  ]
VERBOSE: [WIN-SLU589M70V9]: LCM:  [ Start  Resource ]
[[xRemoteFile]SQLMediaArchive]
VERBOSE: [WIN-SLU589M70V9]: LCM:  [ Start  Test     ]
[[xRemoteFile]SQLMediaArchive]
VERBOSE: [WIN-SLU589M70V9]:
[[xRemoteFile]SQLMediaArchive] DestinationPath
'C:\Install\SQLServer2014SP1.zip' is existing file on the machine.
VERBOSE: [WIN-SLU589M70V9]:
[[xRemoteFile]SQLMediaArchive] Looking for cache path
'C:\ProgramData\Microsoft\Windows\PowerShell\Configuration\BuiltinProvCache\MSF
T_xRemoteFile\1645172953'.
VERBOSE: [WIN-SLU589M70V9]:
[[xRemoteFile]SQLMediaArchive] No cache found for DestinationPath
'C:\Install\SQLServer2014SP1.zip' and Uri
'http://<IP_ADDRESS>:8328/SQLServer2014SP1.zip' CacheKey '1645172953'.
VERBOSE: [WIN-SLU589M70V9]:
[[xRemoteFile]SQLMediaArchive] Cache is empty or it doesn't reflect current
state. File will be downloaded.
VERBOSE: [WIN-SLU589M70V9]: LCM:  [ End    Test     ]
[[xRemoteFile]SQLMediaArchive] **False** in 0.1090 seconds.
VERBOSE: [WIN-SLU589M70V9]: LCM:  [ End    Resource ]
[[xRemoteFile]SQLMediaArchive]
VERBOSE: [WIN-SLU589M70V9]: LCM:  [ Start  Resource ]

Setting MatchSource     = $false helped. I think it would be nice to mention in documentation that by default it's $true.

https://github.com/PowerShell/xPSDesiredStateConfiguration/pull/410


kafka: add naïve OffsetFetch and OffsetCommit handler

PR Description
Type of change

[x] New feature

Summary of the change and which issue is fixed
Main changes:

rename updateMultiSequenceNumSync to ckpStoreUpdateMultiLSNSync and make it export
add GroupMetadataManager component
abstracts the OffsetStorage type class
add naïve OffsetFetch and OffsetCommit handler

Checklist

I have run format.sh under script
I have commented my code, particularly in hard-to-understand areas
New and existing unit tests pass locally with my changes

Also, you can use gen-hie to auto generate hie.yaml file, see: https://github.com/Avi-D-coder/implicit-hie


Update README.md

I think that the SpotifyApiContext.Provider wrapper should exist in the first example, to show how to use it.

I'm sorry but this is not what I'm looking for, what you wrote is not correct. not only the Artist and useArtist use the context, but all of the components, those were just examples. also the link to spotify isn't for obtaining a token it is for reading how to apply spotify authentication to your website.


Implement email sending service

Pull Request
Checklist

[x] Have you read Digital Catapult's Code of Conduct?
[x] I have performed a self-review of my own code.
[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.

PR Type
Please delete options that are irrelevant.

[x] Feature

Linked tickets
VR-101
High level description
Implements an email sending service with support for email templating
Detailed description
For the email sending functionality I wanted to make sure that whatever pattern we adopt we can rely on infered types to make sure that the correct parameters for the template are passed through. I also realised we needed to pass through the environment to the templates so certain settings can be rendered in. Because of this the type are a bit messy but quite effective.
Describe alternatives you've considered
N/A - implemented as described in ticket
Operational impact
None, all new envs have defaults and the actual code isn't used yet.
Additional context
N/A

Would just debate the naming to rename to EmailService rather than emailService due to it being an instance, on the other hand the db is in lower case so for folder I would go email-service but this is more of a personal choice. In terms of consistency it makes sense emailService, Approved

@n3op2 agreed that we need to come up with naming standards for filenames as it's confusing. At the moment I'm just sticking with what's already in repo.


Crash Report

I was looking at iPhone General > Privacy > Usage > Usage Data and found this crash report. Any idea what is the reason?

@pirrate  @archagon  Same problem I have, it crashes in the real device and unless I delete the keyboard from the Settings -- I cant switch back to my original keyboard.


HdfsFileSizeLimitation_Not_effective

Search before asking

[X] I searched in the issues and found nothing similar.

Paimon version

Flink1.16Version——IcebergData BatchProcessing in Paimon

Flink1.17Version——Add Limit file size parameter

Compute Engine
Flink
Minimal reproduce step
After adding the file size limit parameter，The data file still exceeds 128mb。

What doesn't meet your expectations?
Because the block size set by my HDFS is 128mb，If it exceeds 128mb, hdfs query data is not disk friendly, so the maximum file size should not exceed 128mb。
Anything else?
No response
Are you willing to submit a PR?

[ ] I'm willing to submit a PR!

Thanks @wangyayuan18  for reporting.
Could you please confirm the average size of a single record first?  targetFileSize is just a suggested value, not a hard limit. Currently, we check whether the file size exceeds targetFileSize every time we write 1000 records. If the average size of records is relatively large, the file will exceed targetFileSize.

Thanks @wangyayuan18 for reporting.
Could you please confirm the average size of a single record first? targetFileSize is just a suggested value, not a hard limit. Currently, we check whether the file size exceeds targetFileSize every time we write 1000 records. If the average size of records is relatively large, the file will exceed targetFileSize.

Write tens of thousands to 100000 entries per second on average

The reason is that we don't consider the data in memory.

Write tens of thousands to 100000 entries per second on average

Each bucket has a maximum file size of over 200MB, a minimum file size of kb, and several tens of mb
I want to limit the maximum file size to HDFS block size, my HDFS block size is 128mb

Write tens of thousands to 100000 entries per second on average

Each bucket has a maximum file size of over 200MB, a minimum file size of kb, and several tens of mb
I want to limit the maximum file size to HDFS block size, my HDFS block size is 128mb

The reason is that we don't consider the data in memory.

@JingsongLi Please assign it to me.

thanks @liming30


Create Custom HTML template #2

I made changes by creating the template folder and upload a new website layout in the folder.
please check the folder. Also check the layout and if there are any changes to be made please tell me.

Hey !! The template is fine but we will also need to dynamically populate HTML inside the template. Check convertToHtml function in index.js. You might need to edit the logic there.

ok i ll see


pianobar: 2020.11.28 -> 2022.04.01

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/pianobar/versions.
meta.description for pianobar is: "A console front-end for Pandora.com"
meta.homepage for pianobar is: "https://6xq.net/pianobar/"
meta.changelog for pianobar is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
Warning: no invocation of /nix/store/k2adq5sbcl36sg54pnfdb5sakasblzh5-pianobar-2022.04.01/bin/pianobar had a zero exit code or showed the expected version
0 of 1 passed binary check by having a zero exit code.
0 of 1 passed binary check by having the new version present in output.
found 2022.04.01 with grep in /nix/store/k2adq5sbcl36sg54pnfdb5sakasblzh5-pianobar-2022.04.01
found 2022.04.01 in filename of file in /nix/store/k2adq5sbcl36sg54pnfdb5sakasblzh5-pianobar-2022.04.01

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

2 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
pianobar

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/k2adq5sbcl36sg54pnfdb5sakasblzh5-pianobar-2022.04.01 \
  --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 pianobar https://github.com/r-ryantm/nixpkgs/archive/4b5380f30d4e34bac8d00fa8f607df0c6d5012e0.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/k2adq5sbcl36sg54pnfdb5sakasblzh5-pianobar-2022.04.01
ls -la /nix/store/k2adq5sbcl36sg54pnfdb5sakasblzh5-pianobar-2022.04.01/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

1 package built:

pianobar

Maintainer pings

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

1 package built:

pianobar


Truffle configs: export config as default

Rather than forcing users to use require('@aragon/truffle-config-v*/truffle-config'), we should just simply it so that they can use require('@aragon/truffle-config-v*)`.
I believe this can be done by just updating the main key in the package.json, but will need to double check.

Will come to this in the next couple of days, sorry that took longer than it should 🤕

Yes, you were right, as stated here


Upgrade from 2.0.3 to 2.9.1

I have tried upgrading resinos from 2.0.3 to 2.9.1, and it worked well. But after upgrade It says galena-host service failed. because resin-inactive.mount service failed.
Any help?
And it still shows filesystem ext4. How it can be changed to aufs?

Hi @Bnaik . This is an issue that we encountered in the past and fixed at this time. I'll ping @imrehg who knows more about it and will take a look.

@Bnaik what tool have you used for the update? resinHUP needs some changes for the balena versions (as 2.9.1 is, for example), here's the pending issue: https://github.com/resin-os/resinhup/issues/120 . What hardware are you using as well?

@imrehg This something we can close? As far as I know this was handled. Otherwise can we move this ticket as this doesn't seem to be a meta-resin issue.

@Bnaik the latest resinhup script should now handle balena migration, and can give it a try. If there are any problems, please open an issue on that repo. Thanks!


Hide scanline when nuke renderBuffer is refreshing

Do you think is necessary?

I just think it is annoying and would be cleaner if we cannot show it.

added with 36621b6840b8fda481a591d7ada6fe02c112fc02