Invalid FQBN: board esp32:esp32:ht_u_esp32_lora_v3 not found

For those that have upgraded to ESP32 v2.0.16: you need to redo the steps for board setup if you are using my board definitions (that start with ht_u). I'll try to get my fixes upstreamed to the official Heltec board definitions. You can also use those, as long as you remember to include the proper #define if you have a Stick or Stick Lite.

I reverted to using Heltec's own board definition in the README now, too much of a can of worms any other way.


New extension: Supabase save state

Description
This extension adds support to save the game state to Supabase.
How to use the extension
Use the login or signup actions to log in the user. When the user is logged in, you can use the Get data and Save data actions.
Checklist

[X] I've followed all of the best practices.
[X] I confirm that this extension can be integrated to this GitHub repository, distributed and MIT licensed.
[X] I am aware that the extension may be updated by anyone, and do not need my explicit consent to do so.

What tier of review do you aim for your extension?
Community (Unreviewed)
Example file
game.zip
Extension file
SupabaseSaveState.zip

I'll update the extension. Thanks, @github-actions.


[MM-21408] Get correct display name for DM and modals

Summary

When the System Admin locks the lock teammate name display and updates the teammate name display option in the system console, the DM names and the manage members modal names were not updating accordingly. This PR aims to resolve this issue.
Ticket Link

https://mattermost.atlassian.net/browse/MM-21408
Screenshots (The names in the red squares update accordingly when system admin updates the teammate name display and locks it in system console)

Did not review it, but have you confirm this works on the mobile app as well as nothing else breaks?

Did not review it, but have you confirm this works on the mobile app as well as nothing else breaks?

@enahum
I just finished playing with the mobile and the changes seem to reflect perfectly on the mobile.  Prior to this change, the lock teammate name display would not have been working on mobile but after this change it will work. Thanks for the heads up.

@srkgupta
I have addressed the mobile problem you mentioned in https://github.com/mattermost/mattermost-mobile/pull/4021
While addressing that issue, I also found a small minor inconsistency in the web app which I also addressed. Note that this inconsistency was not happening in the mobile app so I thought I would fix it to make the two consistent with each other. https://github.com/mattermost/mattermost-webapp/pull/5024


[bug] xgroup_create mk_stream error with redis cluster

When I run the xgroup create command against Redis Cluster with the mkstream option:
con.xgroup_create(..., XGroupCreateOptions::default().mk_stream()).await?

I am getting the following error:
Error::Redis(RedisError { kind: Moved { hash_slot: 7183, address: ("<IP_ADDRESS>", 6379) }, description: "" })

For some reason this redirect isn't being followed correctly.

Actually I don't think this error is specific to xgroup_create — I'm seeing the same error for xadd also now that I'm deploying my code in a cluster environment...

Ah! My redis url environment variable wasn't using the redis+cluster: scheme, so I wasn't getting a cluster server config. Apologies.


[BUG] scanner opens shop page and doesn't progress

Current Behavior
The software opens my paimon menu, then my shop, closes both menus and re-opens the latter.
Expected Behavior
The scanner continues to scan
Reproducing a Behavior
I have no idea how to reproduce the behavior, I have included a video recording (which also has the error log shown)
Device OS
Windows 10
Genshin Impact Version
3.0.0
Inventory Kamera Version
1.3
Screen resolution, screen mode, and UI scale
1920x1080, windowed
Additional notes and remarks
This doesn't seem to be affected by changing namecards.
Evidence
https://youtu.be/CwGfJOUKIQk
Preflight Checklist

[X] I have checked for similar issues in the issue page, and I have not found any similar to mine.
[X] I am using the latest version of the scanner.
[X] I tried setting the scanning delay to maximum, and it still doesn't work.
[X] I have attached the video recording to the bug report.
[X] I have attached the error log to the bug report.
[X] I am available to later explains the issue.
[X] I have disabled all screen filtering software or plugins (i.e. HDR, Image Sharpening) while scanning.
[X] I use default in-game keybindings or have configured keybindings for the scanner.

You need to keep Paimon menu open before start scanning.

You need to keep Paimon menu open before start scanning.
You are right, in the clip I sent you that was what was creating the problem, I have tried it now multiple times and can confirm that that has improved the odds of the issue not happening, it still happens sometimes, if I do manage to get one on video I'll send it here as a reply.


add mockery to go generate

What changed?
add mockery to Makefile

Why?
avoid manual update. Currently there is a lot usage of mockery (~20 files) along with mockgen, so it's best to adopt the usage of it rather than removing it.

How did you test it?

Potential risks

Release notes

Documentation Changes

this probably needs a rebase

Pull Request Test Coverage Report for Build 0181d03e-bc7e-4b59-81df-37fe80d7518c

0 of 0   changed or added relevant lines in 0 files are covered.
125 unchanged lines in 20 files lost coverage.
Overall coverage decreased (-0.03%) to 57.697%

Files with Coverage Reduction
New Missed Lines
%

service/history/queue/timer_queue_processor_base.go
1
77.26%

client/history/client.go
2
38.05%

client/history/metricClient.go
2
45.3%

common/task/weightedRoundRobinTaskScheduler.go
2
89.64%

service/history/execution/mutable_state_util.go
2
36.14%

service/history/handler.go
2
47.6%

service/history/shard/context.go
2
64.99%

service/matching/matcher.go
2
91.46%

common/persistence/statsComputer.go
3
94.64%

service/history/queue/timer_gate.go
3
95.83%

Totals

Change from base Build 0181d00f-63e5-4aad-bab6-beb9601b92a0:
-0.03%

Covered Lines:
83666

Relevant Lines:
145009

💛  - Coveralls


Dragging a large sprite out of the stage causes cropping

Expected Behavior
When you drag a sprite out of the stage, the entire sprite should be visible.

(This is how larger sprites should behave)
Actual Behavior
When you drag a sprite that is too big to appear fully in the stage, the sprite is cropped from the bottom up when it is dragged out of the stage.

(Notice how feet are cropped)
Steps to Reproduce

Set a sprite's size to a large number so it no longer fits in the stage. (400 works for the Scratch Cat sprite)
Drag sprite out of stage.

Operating System and Browser
Mac OS 10.13.4  |  64-bit Google Chrome 65.0.3325.181

Moved from LLK/scratch-gui#1806
/cc @bartljak

Moved to LLK/scratch-gui#1808


Update download link and refactor the documentation directory

Fix https://github.com/notaryproject/notation/issues/307

cc @notaryproject/notation-code-reviewers

Codecov Report

Merging #308 (3d0ab25) into main (e73bfc3) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #308   +/-   ##
=======================================
  Coverage   30.66%   30.66%
=======================================
  Files          25       25
  Lines        1611     1611
=======================================
  Hits          494      494
  Misses       1104     1104
  Partials       13       13

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

And the Livings easy Valleys On The Microphone For Ross M.G.


Populate Local Workspace - Not working

Hi,
I have been trying for hours to get SPGo to work with a SharePoint 2010 site and I have no idea why it is not working and it would be good if someone could point out what I am doing wrong or if there is an issue with the extension.
I am attempting to connect to an old SharePoint 2010 site and use source control on some custom pages I developed on there and every time I attempt to connect I keep getting a 404 error and no other details.
I can connect to the site via a web browser and I can even open the site without the need of SPGo but without source control.
Can anyone advise what I am doing wrong.
This is the SPGo.json I am currently using, I have attempted adding additional properties like "remoteFolders" and nothing seems to work.
Does SPGo even work with SharePoint 2010?
{     "sourceDirectory": "src",     "sharePointSiteUrl": "https://docs.MYDOMAIN.com/Support/Revenue Assurance",     "publishingScope": "SaveOnly",     "authenticationType": "NTLM" }
The error I am getting is:
================================     ERROR     ================================

404 - "404 NOT FOUND"
Error Detail:
----------------------

Any help would be great, thanks!

SP2010 is not supported. Internally, REST API is used for save/download/etc. operations. In 2010, there were not REST API (in its usual form, only first legacy REST endpoint). So, even if NTML auth works with SP2010 other functionality doesn't.

Thank you for clearing that up, I did look around and try to find what is supported but it does not seem to be documented anywhere.


Validate function run on DataFrameSchema with lazy=True doesn't report all error schema violations (reopen)

Description:
Not all rows whose value(s) violate a defined schema are being reported when schema.validate(df, lazy=True) is run. In cases where the value causing the violation is identical between consecutive rows only the first row is reported in pa.errors.SchemaErrors.failure_cases (reopening of #527)
I apologize for my delayed response for #527 and am opening a new issue in hopes that you can address this bug in a key feature soon. Also I hope you had a good weekend! #528 didn't fix the issue as can be verified by running the code snippet below.

[x] I have checked that this issue has not already been reported.
[x] I have confirmed this bug exists on the latest version of pandera.
[x] (optional) I have confirmed this bug exists on the master branch of pandera.

Note: Please read this guide detailing how to provide the necessary information for us to reproduce your bug.
Code Sample
import pandas as pd
import pandera as pa

baseSchema = pa.DataFrameSchema (
    columns={
        "AnalysisPath": pa.Column(pa.String),
        "runID": pa.Column(pa.String),
        "SampleType": pa.Column(pa.String, pa.Check.isin(['DNA', 'RNA'])),
        "SampleValid": pa.Column(pa.String, pa.Check.isin(['Yes', 'No'])),
    },
    strict=False,
    coerce=True
)

df = pd.DataFrame.from_dict({'AnalysisPath': ['/','/','/','/', '/'],
                            'runID':['1','2','3','4', '5'],
                            'SampleType': ['DNA', 'RNA', 'DNA', 'RNA', 'RNA'],
                            #Notice only the first entry for SampleValid adheres to the defined schema constraints
                            'SampleValid': ['Yes', 'YES', 'YES', 'NO', 'NO']})
try:
    baseSchema.validate(df, lazy=True)
except pa.errors.SchemaErrors as exc:
    # Should contain a row for every row in df where SampleValid does not meet schema rules (all rows but the first)
    # Instead only returns violations rows with index 1 and index 3. The two rows with the first SampleValid values of 'YES' and 'NO' respectively
    print(exc.failure_cases)

Expected behavior
To report all schema violations observed in the dataframe
Edit: This behavior occurs even if the rows with identical values in SampleValid violating the constraints are not consecutive:
i.e -
df = pd.DataFrame.from_dict({'AnalysisPath': ['/','/','/','/', '/'],
                            'runID':['1','2','3','4', '5'],
                            'SampleType': ['DNA', 'RNA', 'DNA', 'RNA', 'RNA'],
                            #Notice only the first entry for SampleValid adheres to the defined schema constraints
                            'SampleValid': ['Yes', 'YES', 'NO', 'YES','NO']})

The validation only reports the first row with a given value in the SampleValid column that violates constraints

Desktop (please complete the following information):

OS: macOS
Browser chrome
Version dev branch

Screenshots
**The result of printing pa.errors.SchemaErrors.failure_cases (only two rows are present when 4 should be): **

fixed by #550


Unable to clear html elements from dom nodes.

Vue version
3.4.21
Link to minimal reproduction
https://play.vuejs.org/#eNqVVNtu2zAM/RXWL06AxcawPWVOsLbosA27YS22F70oNhOrlSVDkt0MRf59lGQn6WUtBifWhUfkIXnku+S0bbO+w2SeFLY0onVLpkTTauPgzuB6B2ujG2AJYVjybm87r4WsRluWh6X3wxKmSq2sg8ZuYAHkYpJ+RCk1/NZGVifplKmeG7C1vh3say4tTsk3U7gN3itc804SA6YALLquhck0roCOuM6ocQXgcOvmMVA6fTXuev9x15kOKajf3PlhR5hSUxoKlbPz4CcNCaTzMJDdYxp0ta4GgNObjcTJdIjqamGzIYWT/YJSCDHoN7wOT5Hvy0sLh00ruUNaARSV6MOEpqvOOa3gfSlFebNgSYzLkuVVmMAHgbKyRR5x8bjkK5TQz8SaDngeBP8S9l4XeTBGXOxZP0Mq97KIPQsW+hd5JFHkR9SYSl4lzlI/12KTXVutSCahAizxFRQSzffWCeo3S+ZjR1jCqd23n8OeL/7QEzpTY3nzxP613fo9lvwwaNH0lO/e5rjZoIvmi8tv1OsjY6OrzlfnGeNPtFp2nmOEnXWqItpHuMD2U5C1UJsre7F1qOyYlCc6qsajSePnz6R+oPsmezvKgaq4vyD3Ltp/y/2BjO+J9KC7l7Xmn6C3k9kMLjkBEFBiQzcCbmtR1kBZWCLmODWtgtksnvbwRxqdTBfLO3/ptcRM6s0kdWhdOt2RDgffZ/HI4O+g3+j4iMvFPRLcICjtPBnfm0d8RkZCtZ2jW/mnxQUF37oULCFvZkH9RPHSryBcCpYAlaPEWssKDdlOqwqsbjB8SLIsIwDkA7MQwlJlSgeKN0jwkhtqOYhqPx9whNRBEdBz2Xlor2Wvyf7Lj0Uerf9EW85XoWJ89SK2QVNihT7412H64hneVYLwpzQ8wJJeQoqxx099CZLdX+PWCqQ=
Steps to reproduce

Create a child component containing the element
Have this component toggle on v-if / v-else  so the component gets destroyed
Toggle the component such that it is no more present in the view.

What is expected?
The element nodes should be cleared from detached elements.
What is actually happening?
The elements are not being cleaned up.

System Info
No response
Any additional comments?
I have added the code for html button, input and select.
In the case of button the detach elements gets cleared and for input and select it holds the nodes.
using Microsoft (dev) for the detach element feature.

duplicate of https://github.com/vuejs/core/issues/5256
a workaround https://github.com/vuejs/core/issues/5256#issuecomment-1173891407
fixed via https://github.com/vuejs/core/pull/11067 and will out in v3.5

I am already using hoistStatic as false. I have also updated this in the reproducible link, its still not releasing the nodes.

@edison1105, I am also facing this same issue in my new Vue 3 app. I was using Vue 3 with Quasar first, then I realized that some UI components were staying in DOM even after leaving the component (verified through the detached elements feature of Microsoft Edge DEV channel browser). I removed Quasar and used simple HTML elements, but they are holding up DOM nodes as well.
My vite config already has that line for hoistStatic set to false. I have also attempted to use the<EMAIL_ADDRESS>but I still have the same issue. My issue is the exact same as the one mentioned here.
I also can't blame the detached elements feature of Microsoft Edge, because I can see the DOM nodes in chrome's performance monitor tool as well.

@waleedhasank @SheryarGorelo

disable the vue-devtools
or test it in production mode.

@edison1105, I ran it using the following commands:
npm run build
npm run preview
The initial dom nodes were 311 and after toggle they were around 333, we can still see its not being detached. or am I doing something wrong here? attached video demo
https://www.loom.com/share/9e934ba9f4654ab8b7e879ba00f16ded?sid=87b17a94-1551-442c-af86-23a040330219


Update Camera Position after Transforms are updated by Rapier

How should I update the camera position if my target is being handled by rapier? I have a player controller similar to this example and I want to update my camera to exactly follow the player. I can't just use a normal Update as there will be a one frame delay. I tried using .after(RapierTransformPropagateSet) but that didn't change anything. I could use Rapier to update my camera position, however that would feel like a very hacky solution.

The problem is that we can't update the camera position before the transform propagation, as this will result in the player velocity now being applied yet, but we also can't update the camera position after the transform propagation, as we then have to wait one frame for the camera position to be updated (in the next transform propagation). So the "solution" I have right now is to fetch the player velocity and simply add that to the camera position (divided by 60 for the timesteps).


Repeater Actions auto flip remove auto and use actual unique element ID

Currently transverses the all parent DOM notes for overflow:hidden. Instead create the unique ID string to use for the data-target

I would suggest modifying the data-target syntax or adding data-target-parent="true".


Mono Platform Method Caching

simple caching of assembly, class, methods with changes as recommended by @SteveSandersonMS

@SteveSandersonMS I'm also still having issues with the E2E tests failing when using the source repo; even though I have managed to get selenium-standalone installed and running after the update/re-installation of

@grahamehorner try checking the chrome driver version, I got errors running the E2E last time as well due to my selenium version and it's chrome driver being incompatible with my chome version installed.

@RyoukoKonpaku sorry I'm a complete noob to this client side javascript/typescript stuff, learning all the time, where would I find what versions etc. out work together; I've simply just installed latest of chrome and selenium as shown in the perquisites

@grahamehorner try opening this on file explorer %appdata%\npm\node_modules\selenium-standalone\.selenium\chromedriver it should show what chrome driver you are using. If you're using the latest version of chrome right now it should be chrome driver 2.36 not 2.33 since 2.33 is incompatible with the latest chrome version.

@SteveSandersonMS idea for a better caching solution; I feel the caching of methods should be at the platform abstraction layer and not no the platform layer it's self; also I'm thinking about possible pre-population of the cache using a promise at start-up. what would your thoughts be? I understand this is possibly away of into the future as the only WASM platform currently supported in mono; just ideas and thinking aloud.

@RyoukoKonpaku thanks
29/03/2018  15:30              .
29/03/2018  15:30              ..
29/03/2018  15:30         6,406,144 2.36-x64-chromedriver
29/03/2018  15:30         3,357,751 2.36-x64-chromedriver.zip
Google Chrome is up to date
Version 65.0.3325.181 (Official Build) (64-bit)

@grahamehorner hmm seems chrome driver and selenium is up to date, mind if what does the cmd show when the E2E test fails?

@RyoukoKonpaku I've captured the console out
e2e-build.log
put of the build with E2E tests in the attached file.

@grahamehorner That's odd seems Selenium is timing out. particularly here in this method WaitUntilMonoRunningInBrowser on MonoSanityTest.cs which waits around 30 seconds to let mono load up and in other related places where it waits for Blazor to setup.
I'm not too sure what's causing this though, but I think Mono or Blazor isn't starting up properly where selenium just times out due to waiting for the app to startup.

This is merged. Thanks, @grahamehorner!
I also made some further refactorings to reduce the number of cache lookups needed in typical cases (e.g., when finding a method that was already cached earlier, it's not necessary to locate the assembly or type).


When creating Recursive CTE schema, promote types.

Fixes https://github.com/dolthub/dolt/issues/5549
Active question: the prepared version of the test fails. This rule is replacing the correct column info with longtext column info, but I can't figure out how/why. Need some guidance here.

Fix looks good! Nice job finding this and confirming the behavior with MySQL. 🙌
I know you mentioned investigating the prepared test failure and also the difference between MySQL allowing the fields to be nullable, while GMS does not, so I'll check back and see what you find next.

Prepared test failure fixed by ignoring dual table.
The nullable difference between GMS and MySQL is an existing issue (though we don't have any issues opened against that), so it will not be addressed in this PR.


use stream_id instead of stream_name as much as possible

Fixes: #25742
Followup to #25785 which contains the first three commits of this PR.
This should have no visual or functional changes.
This PR changes a lot of code area, especially the last commit, and should ideally be QA'd by people other than me to catch bugs. I've opened the composebox, selected streams from the dropdown, and interacted with the draft menu. I can write up a more thorough list of test cases (TODO).
The last commit is large and felt like it needed to be done all at once, but I welcome suggestions on how to break it up so I can learn more about breaking up big commits.
Note that there are some uses of stream_name remaining -- notably things that interact with narrow and the search filters, since those are user input and aren't associated with stream ids.

I didn't see anything that looked like a clear bug when reading this, though I didn't make it through the last commit. It might be worth test-deploying on chat.zulip.org, maybe after a round of QA from @shameondev.

Definitely agree it would be good to test it out on CZO before merging. Thanks @shameondev for the testing!

Test-deploying this on chat.zulip.org.

AFAIK we haven't seen any issues running this on chat.zulip.org, so merged, thanks for doing this refactor @evykassirer!


Severity Based Sort By in patient list page is malfunctioning

Describe the bug
When sorting the patient list by "High severity" or "Lowest Severity," the cards are currently being sorted based on the patient category from the initial consultation form. However, the sorting should be done using the most recent patient category from the log updates, if available.
Context: The patient category is assigned during the creation of a patient consultation, but it can be updated later through the log update functionality. When sorting the patient list, the system should first check if any log updates exist for a patient. If a log update is present, the patient should be sorted based on the category in the latest log update. If no log update exists, the category from the consultation form should be used for sorting.
To Reproduce
Steps to reproduce the behavior
Create a patient

Go to patient tab and create a new patient
Once you successfully created a patient , in the patient dashboard click on the log update button
then create a new log update with different patient category mentioned from consultation
submit the form and return back the patient tab
apply the sort by based on high severity
See error

Expected behavior

When sorting by "High severity," the order should be:
Actively dying → Critical → Moderate → Mild → Comfort Care
For sorting by "Lowest Severity," the order should be the reverse:
Comfort Care → Mild → Moderate → Critical → Actively dying.

Screenshots

Who need this sort?

This sorting was introduced after request from TeleICU Hubs to allow doctors to see the most severe cases on top

@aparnacoronasafe we can make it a filter, sorting doesn't make sense, can you specify the use case.

I still think severity wise sorting is needed. The doctors in 1 glance would want to know how many severe patients are there and so on.

What's the status with this? @bodhish @rithviknishad ?

Keeping it on hold;

I am interested to work on this issue if relevant? @Jacobjeevan @rithviknishad

not a valid issue based on the current develop


fix(doc-core): the 1440px device displays a horizontal scroll bar

Summary

🤖 Generated by Copilot at 02bd1d3
Adjust width calculations of docLayout and content elements in default theme for documentation generator. Prevent horizontal overflow and improve responsiveness on large screens.
Details

🤖 Generated by Copilot at 02bd1d3

Fix docLayout and content width overflow on large screens (link, link)

Related Issue

Checklist

[x] I have added changeset via pnpm run change.
[ ] I have updated the documentation.
[ ] I have added tests to cover my changes.

I found it doesn't appear horizental scroll bar in 1440px screen:

How to reproduce the bug?

I found it doesn't appear horizental scroll bar in 1440px screen:

How to reproduce the bug?

If you connect to a secondary screen

I just conneced a extra screen, but it hasn't reproduce :)

this can reproduce

Get, it's good advice!By the way the 960px ~ 1440px will also reproduce it.

The changset file should add chinese version


small formatting changes

link to parent pull request:
https://github.com/hjohns28/step/pull/10

Make sure #10 is merged before merging this.


add features to enable aws/azure/gcp support to object_store

Right now we don't expose such features meaning you can't actually use these without editing Cargo.toml

is there any update, is azure supported or not?

azure is supported if you enable the cloud feature. you'll need to construct the DefaultEngine with the proper keys for authentication. These are passed through to object store, so they are these ones


Gamemode shift when teleporting between worlds

When teleporting in spectator mode from spawn to a player in the overworld/end/nether it swaps you back to survival mode.

This is intended for follow-up purposes, closing.


Emit empty list when grouping item by time windows and no item in the window

Emit empty lists in the MultiBufferWithTimeoutOp operator when no items have been emitted during the time window.
Also fix the javadoc, as this was the described behavior.

I've pushed with the revapi justification and with the right format.


M1: Implement output of the library

Based on the discussion in the ticket [M1: Define output interface (response of the main functions) of the library](https://github.com/montevideo-tech/cmcd-validator/issues/6 ) we need to make a function that has the following inputs:
Input:

error: with the following structure.

"errors": [
   {
     "type": <missing-header|parameter-value|parameter-encoding|missing-parameter|invalid-header|unknown-parameter|invalid-header-encoding|invalid-json|etc...>,
     "key": <string>
     "value": <any-type>
     "description": <string (description for humans)>
   }

parsedData: < json >
rawData: <string, json or object with 3 headers and the strings>

Output:

json with the following format:

{
 "valid": <bool>,
 "errors": [
    {
      "type": <missing-header|parameter-value|parameter-encoding|missing-parameter|invalid-header|unknown-parameter|invalid-header-encoding|invalid-json|etc...>,
      "key": <string>
      "value": <any-type>
      "description": <string (description for humans)>
    },
    {...},
  ]
  "parsedData": <json>
  "rawData": <string, json or object with 3 headers and the strings>
}

valid: true when there are no errors; false otherwise.

The output should be with JSON.stringfy() or just the Object?

I think JSON.stringfy() is ok for now


Not having the alt key hardcoded for toggling the MenuBar

Version 1.10.1
Commit 653f8733dd5a5c43d66d7168b4701f94d72b62e5
Date 2017-03-02T00:47:58.633Z
Shell 1.4.6
Renderer 53.0.2785.143
Node 6.5.0
Linux Manjaro i3
Steps to Reproduce:

Hide the menu bar.
Try to switch screens by pressing alt + 1, alt + 2, alt + 3...
Whenever you switch to the vscode screen the menu bar will show up because the alt key functionality is hardcoded.

@bpasero, please let us overwrite this functionality as it is utterly annoying for i3 users :(

@NiggyWizzyWoz there is a setting that hides the menu even when Alt key is pressed, did you try that?

Oh okay, thanks for that.
"window.menuBarVisibility": "hidden" does the job
Closed the issue.


Added to Linear Search

please add my file to your repository with the label hactoberfest.

please add my file to your repository with the label hactoberfest.


3 high severity vulnerabilities

axios  <=0.21.1
Severity: high
Incorrect Comparison in axios - https://github.com/advisories/GHSA-cph5-m8f7-6c5                                                                             x
Server-Side Request Forgery in Axios - https://github.com/advisories/GHSA-4w2v-q                                                                             235-vp99
Depends on vulnerable versions of follow-redirects
No fix available
node_modules/axios
  node-mideahvac  *
  Depends on vulnerable versions of axios
  node_modules/node-mideahvac

follow-redirects  <=1.14.7
Severity: high
Exposure of Sensitive Information to an Unauthorized Actor in follow-redirects -                                                                              https://github.com/advisories/GHSA-pw2r-vq6v-hr8c
Exposure of sensitive information in follow-redirects - https://github.com/advis                                                                             ories/GHSA-74fj-2j2h-c42q
No fix available
node_modules/follow-redirects
  axios  <=0.21.1
  Depends on vulnerable versions of follow-redirects
  node_modules/axios
    node-mideahvac  *
    Depends on vulnerable versions of axios
    node_modules/node-mideahvac

3 high severity vulnerabilities

Some issues need review, and may require choosing
a different dependency.

Versions (版本信息)
Home Assistant 2021.9.6
last update

I have never used node, i don't understand.

ok  - i don´t know as well - what i did:
npm remove axios
Hope that it helps


Maybe he forgot to check in a file.

Style Webui is more fleshed out now, closing issue but if it's still present, let me know


Trying to load spectrogram for inference

Hi,
I am trying to integrate GOLF vocoder in the NNSVS toolkit.
I created a script for inference based on the notebook. And wrote a class that takes in a spectrogram and returns the scaled (between 0 and 1) and takes the log to have the same format for the model. But unfortunately, it seems I am missing something on the format input that prevents me from using GOLF on acoustic features from another model.
I am using WORLD: A Vocoder-Based High-Quality Speech Synthesis System for Real-Time Applications already integrated in the toolkit for the acoustic model.
I am working on Ubuntu in Windows sub-system for linux.
Here is the scripts I am using for the inference .
If you have any clue on what I may be missing, it would be greatly appreciated.
Here is the full error, I am getting :
Traceback (most recent call last):
File "/home/linkdow/svs/recipes/opencpop/dev-48k-world/../../..//nnsvs/bin/anasyn_golf.py", line 228, in my_app
wav = anasyn(
File "/home/linkdow/miniconda3/envs/nnsvs/lib/python3.9/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "/home/linkdow/svs/recipes/opencpop/dev-48k-world/../../..//nnsvs/bin/anasyn_golf.py", line 87, in anasyn
wav = generate_audio(spectrogram,vocoder_config,sample_rate)
File "/home/linkdow/svs/nnsvs/golf/spec_infer_fun.py", line 70, in generate_audio
) = model.encoder(feats)
File "/home/linkdow/miniconda3/envs/nnsvs/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1511, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/home/linkdow/miniconda3/envs/nnsvs/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1520, in call_impl
return forward_call(*args, **kwargs)
File "/home/linkdow/svs/nnsvs/golf/models/enc.py", line 158, in forward
) = super().forward(h)
File "/home/linkdow/svs/nnsvs/golf/models/enc.py", line 69, in forward
f0_logits, * = self.backbone(h).split(self.split_size, dim=-1)
File "/home/linkdow/miniconda3/envs/nnsvs/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1511, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/home/linkdow/miniconda3/envs/nnsvs/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1520, in _call_impl
return forward_call(*args, **kwargs)
File "/home/linkdow/svs/nnsvs/golf/models/mel.py", line 34, in forward
x = self.stack(mels.transpose(1, 2)).transpose(1, 2)
File "/home/linkdow/miniconda3/envs/nnsvs/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1511, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/home/linkdow/miniconda3/envs/nnsvs/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1520, in _call_impl
return forward_call(*args, **kwargs)
File "/home/linkdow/miniconda3/envs/nnsvs/lib/python3.9/site-packages/torch/nn/modules/container.py", line 217, in forward
input = module(input)
File "/home/linkdow/miniconda3/envs/nnsvs/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1511, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/home/linkdow/miniconda3/envs/nnsvs/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1520, in _call_impl
return forward_call(*args, **kwargs)
File "/home/linkdow/miniconda3/envs/nnsvs/lib/python3.9/site-packages/torch/nn/modules/conv.py", line 310, in forward
return self._conv_forward(input, self.weight, self.bias)
File "/home/linkdow/miniconda3/envs/nnsvs/lib/python3.9/site-packages/torch/nn/modules/conv.py", line 306, in _conv_forward
return F.conv1d(input, weight, bias, self.stride,
RuntimeError: Given groups=1, weight of size [96, 80, 3], expected input[1, 818, 1025] to have 80 channels, but got 818 channels instead

Looks like your spectrogram is not in the right format.
I suspect your spectrogram is a linear frequency spectrogram with 2048 FFT size, and you have 818 time frames.
I used a mel-spectrogram with 80 mel-frequencies, and the time dimension is on axis one.
The correct tensor shape,  in your case, the input should have a shape of [1, 80, 818], not [1, 818, 1025].

Thank you for your answer (and sorry for the late reply).
You were right the input spectrogram was not in the right format.
It solved the issue, thank you again for your help.


Window Walker opens when Capture2Text is launched

Environment
Windows build number: 10.0.18363.720
PowerToys version: v0.16.1
PowerToy module for which you are reporting the bug (if applicable): Window Walker

Steps to reproduce

Press hotkeys (Win + 1) to launch Capture2Text
Capture2Text launches
Window Walker launches
Change Capture2Text hotkeys to (Win + 2)
Press hotkeys (Win + 2)
Capture2Text launches
Window Walker launches

Expected behavior

Only Capture2Text launches when Capture2Text hotkeys are pressed

Information about Capture2Text

Documentation
Download
Bugs/suggestions

Additional information
I'm not sure if this is a problem with Window Walker or Capture2Text. I suspect it is a problem with Window Walker, which is why I posted the issue here. If the problem is with Capture2Text, please advise, and I will post the issue there.

@DannyDeLoach:
Have you changed the shortcut for WindowWalker too? Because Win+1 is not the deafault hotkey for WindowWalker.
By the way, the shortcut Win+1 is a default shortcut in Windows to run the first app pinned to taskbar.

@DannyDeLoach:

@DannyDeLoach:
Have you changed the shortcut for WindowWalker too? Because Win+1 is not the deafault hotkey for WindowWalker.

Forget this. My mistake. You can't change it.
Do the issue disapear if you replace Win-key within the shortcut for Capture2Text.
Then it seems to have to do with the following issue: https://sourceforge.net/p/capture2text/tickets/34/
Best regards.

Window walker will be merged in shortly with the launcher code base.  I don't think we'd really want to invest much time on this to be honest as any fix would be throw away work in a bit over a month

this is a won't fix as we're migrating WW over to launcher

we should validate this isn't an issue with launcher

I apologize for not responding sooner. I misunderstood how Github notifies me of responses. So, I didn't see this until now.
In response to @htcfreek's question, I changed the hotkeys for Capture2Text from (Win + 1 ) to (Alt + 1). After I did this, Window Walker no longer launches when I use the Capture2Text hotkeys.

@crutkas
Think this issue can be closed.


HBASE-25691 Test failure: TestVerifyBucketCacheFile.testRetrieveFromFile

The issue is that FileInputStream is created with try-with-resources, so its close() is called right after the try sentence.
FileInputStream is a finalize class, when this object is garbage collected, its close() is called again.
To avoid this double-free resources, add guard against it.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 43s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ branch-2 Compile Tests _

+1 :green_heart:
mvninstall
4m 18s
branch-2 passed

+1 :green_heart:
compile
3m 47s
branch-2 passed

+1 :green_heart:
checkstyle
1m 23s
branch-2 passed

+1 :green_heart:
spotbugs
2m 17s
branch-2 passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
3m 41s
the patch passed

+1 :green_heart:
compile
3m 39s
the patch passed

+1 :green_heart:
javac
3m 39s
the patch passed

+1 :green_heart:
checkstyle
1m  8s
the patch passed

+1 :green_heart:
whitespace
0m  1s
The patch has no whitespace issues.

+1 :green_heart:
hadoopcheck
11m 39s
Patch does not cause any errors with Hadoop 3.1.2 3.2.1.

+1 :green_heart:
spotbugs
2m 18s
the patch passed

_ Other Tests _

+1 :green_heart:
asflicense
0m 15s
The patch does not generate ASF License warnings.

43m  4s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3087/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/3087

Optional Tests
dupname asflicense javac spotbugs hadoopcheck hbaseanti checkstyle compile

uname
Linux e6fb9a6a026a 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / c8c043a413

Default Java
AdoptOpenJDK-1.8.0_282-b08

Max. process+thread count
96 (vs. ulimit of 12500)

modules
C: hbase-server U: hbase-server

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3087/1/console

versions
git=2.17.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 32s
Docker mode activated.

-0 :warning:
yetus
0m  7s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ branch-2 Compile Tests _

+1 :green_heart:
mvninstall
4m 19s
branch-2 passed

+1 :green_heart:
compile
1m  7s
branch-2 passed

+1 :green_heart:
shadedjars
6m 41s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 42s
branch-2 passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
3m 55s
the patch passed

+1 :green_heart:
compile
1m  7s
the patch passed

+1 :green_heart:
javac
1m  7s
the patch passed

+1 :green_heart:
shadedjars
6m 43s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 40s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
131m 41s
hbase-server in the patch passed.

159m 52s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3087/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/3087

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux ff73a4fcf596 4.15.0-136-generic #140-Ubuntu SMP Thu Jan 28 05:20:47 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / c8c043a413

Default Java
AdoptOpenJDK-11.0.10+9

Test Results
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3087/1/testReport/

Max. process+thread count
4328 (vs. ulimit of 12500)

modules
C: hbase-server U: hbase-server

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3087/1/console

versions
git=2.17.1 maven=3.6.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 55s
Docker mode activated.

-0 :warning:
yetus
0m  9s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ branch-2 Compile Tests _

+1 :green_heart:
mvninstall
4m 48s
branch-2 passed

+1 :green_heart:
compile
1m  3s
branch-2 passed

+1 :green_heart:
shadedjars
6m 37s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 41s
branch-2 passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
3m 56s
the patch passed

+1 :green_heart:
compile
1m  4s
the patch passed

+1 :green_heart:
javac
1m  4s
the patch passed

+1 :green_heart:
shadedjars
6m 46s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 37s
the patch passed

_ Other Tests _

-1 :x:
unit
237m 55s
hbase-server in the patch failed.

267m 21s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3087/1/artifact/yetus-jdk8-hadoop2-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/3087

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 061cf0c1b287 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / c8c043a413

Default Java
AdoptOpenJDK-1.8.0_282-b08

unit
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3087/1/artifact/yetus-jdk8-hadoop2-check/output/patch-unit-hbase-server.txt

Test Results
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3087/1/testReport/

Max. process+thread count
2482 (vs. ulimit of 12500)

modules
C: hbase-server U: hbase-server

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3087/1/console

versions
git=2.17.1 maven=3.6.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.


introduce new module session_with_id for session definition using session_id

Summarizing: subject.py was changed to subject_with_datetime.py, and the __init__.py includes a line to make sure this is called as the default. Alternatively, someone could call subject_with_id.py which adds and int ID primary key (keeping datetime as a secondary key) to the session table, but is otherwise the same.
class Session(dj.Manual):
    definition = """
    -> Subject
    session_id: int
    ---
    session_datetime: datetime
    """

Summarizing: subject.py was changed to subject_with_datetime.py, and the __init__.py includes a line to make sure this is called as the default. Alternatively, someone could call subject_with_id.py which adds and int ID primary key (keeping datetime as a secondary key) to the session table, but is otherwise the same.
class Session(dj.Manual):
    definition = """
    -> Subject
    session_id: int
    ---
    session_datetime: datetime
    """

@CBroz1, I don't quite get your comment above. Why is Subject relevant here? Why do we need a notion of subject_with_id or subject_with_datetime?

edited to fix: subject.py -> session.py

@CBroz1 , nice, thanks for the summary. I think it's ready to be merged.

This enhancement is urgently required for one project. Could we complete the merge today?

We need this enhancement immediately.

@kabilar done. It is ready to be merged.


[SPARK-7160][SQL] Support converting DataFrames to typed RDDs.

https://issues.apache.org/jira/browse/SPARK-7160
https://github.com/databricks/spark-csv/pull/52
cc:
@rxin (who made the original suggestion)
@vlyubin #5279
@punya #5578
@davies #5350
@marmbrus (ScalaReflection and more)

Is there a way to make the code paths for Scala types (Product subtypes) and Java types (beans) more similar, or to have a common core? It seems like otherwise we have to keep doing everything twice.

Hi @punya.
Re: Scala and Java types, are you talking about:
a) the code similarities between createToScalaConverter(DataType) and (createToProductConverter[T] + createToScalaConverter(universe.Type, DataType))? I think after introducing this typed path I would like to DRY up the code. Just wanted to propose a minimally invasive commit for now.
b) the general approach for Scala/Java-Catalyst conversions? I can see that ScalaReflection and JavaTypeInference do similar things, but don't know enough about the design to know whether this is ripe for refactoring. If it hasn't been done or scheduled, maybe someone should do a survey of the current state of things.

Now I see a thread on spark-dev (which I just joined) about availability/discoverability of design docs in general. :D If there isn't one for this conversion stuff, it is probably a candidate for a design doc.

Can one of the admins verify this patch?

ok to test

Merged build triggered.

Merged build started.

Test build #31174 has started for   PR 5713 at commit add51b6.

Test build #31174 has finished for   PR 5713 at commit add51b6.

This patch passes all tests.

This patch merges cleanly.

This patch adds the following public classes (experimental):

            s"Incompatible class $

   *   case class Food(name: String, count: Int)

This patch does not change any dependencies.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/31174/
Test PASSed.

Thanks for doing this. We are fairly busy with 1.4 release deadline. I'd like to visit this pull request in Spark 1.5 in the context of making user-defined types and closures more usable in DataFrames.

Thanks for the update, Reynold! I'm just glad it's in the queue. :D Looking forward to the 1.4 release and will keep an eye out for any feedback on this PR...

Just a head's up: I have a WIP patch which performs a significant refactoring of CatalystTypeConveters (#6222).  I think that my patch should make the changes here easier to implement / understand, so I'd love to get your feedback on my proposed refactorings.

@JoshRosen: As you saw from my comment on #6222 I think it looks good. As for this PR, yeah, it should be re-implemented on top of your patch.
I think the conversion would still use the type hints given by toTypedRDD[T], so I guess getConverterForType and CatalystTypeConverter.toScala could be overloaded, e.g.:
def toScala(universeType: universe.Type, @Nullable catalystValue: CatalystType): ScalaType

or given a default param, e.g.:
def toScala(
  @Nullable catalystValue: CatalystType,
  universeType: Option[universe.Type] = None
): ScalaType

And BigDecimalConverter would use the type hint to figure out whether to create a Java BigDecimal or a Scala one.
In any case, looks doable and should be cleaner. If you like, I can update this PR after you merge your patch.

Can one of the admins verify this patch?

Updated the PR after #6222 was merged...

6c36abf was rebasing on cafd505, so still non-invasive.
3711a3e92de5972492e40621861908bfc54afc85 was an attempt to more tightly integrate with cafd505.

Jenkins, this is ok to test.

Merged build triggered.

Merged build started.

Test build #34456 has started for   PR 5713 at commit 3711a3e.

Test build #34456 has finished for   PR 5713 at commit 3711a3e.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
              s"Incompatible class $
   *   case class Food(name: String, count: Int)

Merged build finished. Test PASSed.

Can one of the admins verify this patch?

Merged build triggered.

Merged build started.

Test build #41415 has started for   PR 5713 at commit 0ee742d.

Test build #41415 has finished for   PR 5713 at commit 0ee742d.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
              s"Incompatible class $
   *   case class Food(name: String, count: Int)

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/41415/
Test PASSed.

Merged build finished. Test PASSed.

Hi @marmbrus, just repeating what I wrote at https://issues.apache.org/jira/browse/SPARK-7160, I updated this PR to bring it in sync with master.
I rebased on yesterday and integrated with InternalRow. I then force-pushed the changes here, so now you'll only see the one commit.
Thanks,
Ray

Sorry for the unreasonable delay reviewing this.  Over all it looks pretty good to me.  I have a few small comments and there is a conflict (which is fortunately easy to resolve this time)

Actually, I have one other concern.  It doesn't seem that this works in the spark shell.
scala> val df = Seq((1,new Integer(1))).toDF("a", "b")
df: org.apache.spark.sql.DataFrame = [a: int, b: int]

scala> case class MyClass(a: Int, b: Int)
defined class MyClass

scala> df.toTypedRDD[MyClass].collect()
15/09/03 16:35:04 ERROR Executor: Exception in task 0.0 in stage 0.0 (TID 0)
scala.ScalaReflectionException: class MyClass is an inner class, use reflectClass on an InstanceMirror to obtain its ClassMirror
	at scala.reflect.runtime.JavaMirrors$JavaMirror.ErrorInnerClass(JavaMirrors.scala:126)
	at scala.reflect.runtime.JavaMirrors$JavaMirror.reflectClass(JavaMirrors.scala:193)
	at scala.reflect.runtime.JavaMirrors$JavaMirror.reflectClass(JavaMirrors.scala:65)
	at org.apache.spark.sql.catalyst.CatalystTypeConverters$StructConverter$.createToProductConverter(CatalystTypeConverters.scala:340)
	at org.apache.spark.sql.catalyst.CatalystTypeConverters$.createToProductConverter(CatalystTypeConverters.scala:592)
	at org.apache.spark.sql.DataFrame$$anonfun$41.apply(DataFrame.scala:1566)
	at org.apache.spark.sql.DataFrame$$anonfun$41.apply(DataFrame.scala:1565)
	at org.apache.spark.rdd.RDD$$anonfun$mapPartitions$1$$anonfun$apply$17.apply(RDD.scala:706)
	at org.apache.spark.rdd.RDD$$anonfun$mapPartitions$1$$anonfun$apply$17.apply(RDD.scala:706)
	at org.apache.spark.rdd.MapPartitionsRDD.compute(MapPartitionsRDD.scala:38)
	at org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:297)
	at org.apache.spark.rdd.RDD.iterator(RDD.scala:264)
	at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:66)
	at org.apache.spark.scheduler.Task.run(Task.scala:88)
	at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:214)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:744)
15/09/03 16:35:04 WARN TaskSetManager: Lost task 0.0 in stage 0.0 (TID 0, localhost): scala.ScalaReflectionException: class MyClass is an inner class, use reflectClass on an InstanceMirror to obtain its ClassMirror
	at scala.reflect.runtime.JavaMirrors$JavaMirror.ErrorInnerClass(JavaMirrors.scala:126)
	at scala.reflect.runtime.JavaMirrors$JavaMirror.reflectClass(JavaMirrors.scala:193)
	at scala.reflect.runtime.JavaMirrors$JavaMirror.reflectClass(JavaMirrors.scala:65)
	at org.apache.spark.sql.catalyst.CatalystTypeConverters$StructConverter$.createToProductConverter(CatalystTypeConverters.scala:340)
	at org.apache.spark.sql.catalyst.CatalystTypeConverters$.createToProductConverter(CatalystTypeConverters.scala:592)
	at org.apache.spark.sql.DataFrame$$anonfun$41.apply(DataFrame.scala:1566)
	at org.apache.spark.sql.DataFrame$$anonfun$41.apply(DataFrame.scala:1565)
	at org.apache.spark.rdd.RDD$$anonfun$mapPartitions$1$$anonfun$apply$17.apply(RDD.scala:706)
	at org.apache.spark.rdd.RDD$$anonfun$mapPartitions$1$$anonfun$apply$17.apply(RDD.scala:706)
	at org.apache.spark.rdd.MapPartitionsRDD.compute(MapPartitionsRDD.scala:38)
	at org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:297)
	at org.apache.spark.rdd.RDD.iterator(RDD.scala:264)
	at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:66)
	at org.apache.spark.scheduler.Task.run(Task.scala:88)
	at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:214)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:744)

Unfortunately, I'm not sure if there is an easy way around this.

After spending some more time trying to fix the above issue, I wonder if it wouldn't be better to make this a whole separate code path, instead of trying to handle both cases inside of catalyst converters.  That class is already pretty hard to follow and adding a whole set of branches everywhere makes it even worse.  Another concern is that the extra branches might affect the performance of the other case.
Thoughts?

First off, thanks for the code review, Michael.
Re: spark-shell, I thought I'd bumped into a known limitation of the REPL (e.g. https://groups.google.com/forum/#!msg/spark-users/bwAmbUgxWrA/HwP4Nv4adfEJ) but I should've raised it, so sorry. Not sure what to do here, I'll have to think about it.
Re: a separate code path, I actually had it that way when I submitted the first version of this PR. But then Josh refactored the converters and it seemed reasonable to follow his refactored code paths, since it was easier to track (and probably maintain) the conversions for each type, so that was the second (previous) version of this PR. I can see arguments either way. If we don't expect to add more converters/conversions, then maybe a separate code path would be fine.

Regarding the REPL issues, I'm wondering if there isn't some way to handle the common case, where the outer pointer that is getting added to the class isn't actually needed for anything.  I was hoping there would be some way to just pass null in, but so far I have not succeeded.
For the separate code path issue.  My biggest motivation here is I see a lot of things that aren't great from a performance perspective (the old code is the same).  I think if this becomes popular we are going to have to code-generate the conversion functions.  Having it separate would make this transition easier.

Got it. I'll refactor back to a separate code path then (and address the other issues you identified).
After that I'll try to figure out the REPL stuff. If you figure it out, then great. :D
Hope that works.

Merged build triggered.

Merged build started.

Test build #43055 has started for   PR 5713 at commit 6d4bec2.

Hi @marmbrus, I updated this PR to use a separate code path as you requested.
I don't think I can solve the REPL thing, and I'm at the limits of my understanding of Scala reflection. fwiw, json4s seems to recommend just compiling case classes out-of-band, and then importing them into the REPL, for functionality similar to toTypedRDD (near the end of the readme).

btw I force-pushed when updating this PR, since the diff would've otherwise looked weird. I rebased on a commit from 9/25.

Test build #43055 has finished for   PR 5713 at commit 6d4bec2.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
   *   case class Food(name: String, count: Int)

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/43055/
Test PASSed.

Merged build finished. Test PASSed.

Hi @rayortigas,
I have been working on a similar feature.
So far I have something that work similarly but that is a little less easy to use,
here is an sample demo:
case class DemoCC(int: Int, boolean: Boolean, string: Option[String]) extends Serializable

object Demo {

  def main(args: Array[String]): Unit = {

    val sc = new SparkContext()
    val sqlContext = new SQLContext(sc)

    val inputData: Seq[Row] = Seq(
      Row(true,1,"A",2.0),
      Row(true,2,null,4.0),
      Row(false,3,"C",9.0)
    )
    val schema = StructType(Seq(
      StructField("boolean",BooleanType),
      StructField("int",IntegerType),
      StructField("string",StringType),
      StructField("double",DoubleType)
    ))

    val rdd: RDD[Row] = sc.parallelize(inputData,3)

    val df: DataFrame = sqlContext.createDataFrame(rdd,schema)

    /* The permutationPlan can be serialized, so we generate it once and for all on the driver. This will perform a preliminary check as well */
    val permutationPlan = PermutationPlan[DemoCC](df)

    /* The transformer cannot be serialized because TypeTag is not (really) serializable in scala 2.10 */
    @transient lazy val transformer = new RowToCaseClassTransformer[DemoCC](permutationPlan)

    /* Using "df.map(transformer)" instead would not work... */
    val res = df.map{r => transformer(r)}

    res.collect.foreach{println}
  }

}

I tried implementing dataframe.toCaseClassRDD[CaseClass] with an implicit conversion
but I bumped into Serialization Exception because TypeTags are not (really) serializable in scala 2.10 (https://issues.scala-lang.org/browse/SI-5919), which is why the transformer in the example
has to be transient.
On the other hand, I tried to be as generic as possible, and my implementation supports
nested case classes, and maps the DataFrame's column names with the Case Classes fields names.
Thus they do not require to be defined in the same order, and the Case Class may have less fields than the DataFrame (as shown the example).
It also throws an error at initialization if there is a type or name incompatibility.
I've just found this pull request, and would love to contribute, but I am not sure how to proceed.
I wanted to open source my code earlier, but I hoped to find a way to reduce the boilerplate first.
I would love to discuss this further with you. I am not sure this is the most suitable place to do so.
Regards,
Furcy
PS: thanks for the ScalaReflectionLock.synchronized,
I bumped into the same issue and was looking for a solution ;-)

Hey, I'm really sorry for letting this sit so long.  I got wrapped up trying to get ready for Spark 1.6.  It would be great if you can look at SPARK-9999, which adds a new method .as[Type] to a DataFrame, which converts it to typed Dataset.  The design doc attached to the JIRA explains more, but I think it accomplishes a lot of what you are both trying to do.  As an added bonus, it also supports typed tuples and uses codegen under the covers for performance.  Would love to get some more people looking at the API and testing it out.

Now that Spark 1.6 is almost release I think we can close this issue.  Thanks again for working on it.


build vignettes into package

one vignette is currently available & up to date as of 2/1/16: https://github.com/USGS-R/streamMetabolizer/blob/develop/vignettes/model_types.Rmd

a good one would be an example of how to prepare your data - import to df, rename columns, compute solar.time, light, DO.sat, check against mm_data() formals

also show how to convert from chron or character times to POSIXct times

ready for vignette demonstrating metab() options & how to identify proper defaults (moving from #142)

mm_valid_names
mm_name
specs
metab

see http://usgs-r.github.io/streamMetabolizer/getstarted.html. there will be modifications and additions later, of course, but closing this issue because this vignette is a good start.


fix: prune volumes with all flag

What kind of change does this PR introduce?
Bug fix https://github.com/supabase/cli/issues/1982
What is the new behavior?
Analogous to docker volume prune --all --filter <key=value>
Additional context
Add any other context or screenshots.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 5 (100.0%)  changed or added relevant lines in 1 file are covered.
6 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.01%) to 58.835%

Files with Coverage Reduction
New Missed Lines
%

internal/utils/docker.go
1
75.45%

internal/gen/keys/keys.go
5
11.76%

Totals

Change from base Build<PHONE_NUMBER>:
-0.01%

Covered Lines:
6183

Relevant Lines:
10509

💛  - Coveralls


Unable to see extended attributes in Get-PendingRequest

I am trying to see the SAN in a pending request but there doesn't appear to be any way to do so.

I currently add my SAN to certificate via extended properties. Essentially trying to use your powershell module to automatically approve or reject certs missing a SAN

if you know the ID of the request, you can make Extensions table lookup as follows:
$dbRow = $ca | Get-AdcsDatabaseRow -Table "Extension" -RowID $RequestID -Filter "ExtensionName -eq <IP_ADDRESS>"
# check if $dbRow is not null
# do the rest
$bytes = [convert]::FromBase64String($dbRow.Properties["ExtensionRawValue"])
$asn = new-object system.security.cryptography.asnencodeddata "<IP_ADDRESS>",$bytes
$san = new-object system.security.cryptography.x509certificates.x509subjectalternativenamesextension $asn,$false

Where $ca is the CA object retrieved previously and $RequestID is request ID you retrieve from Get-PendingRequest command call.


Making the logo of site clickable on Winter Camp1.0 page

Currently logo of site is not clickable on Winter Camp1.0.
https://github.com/Eduhub-Community/Eduhub-Community.github.io/assets/127978268/06b3587f-5964-4ad5-87f4-776bf235f4d5
I want to make it interactive so that whenever user hover on it cursor changes to pointer and on clicking return to homepage of the site

I don't need this.


Uncaught (in promise) CompileError: WebAssembly.Module():

What version of Wallet are you using?
0.44.0
What is happening?
After successfully logging in, the wallet has been unable to display normally. I just recharged 1,000 dollars into it, and I haven't recorded the secret key yet

steps to reproduce
After I installed the wallet, it was still able to be used normally on the first day. On the second day, the problem mentioned above appeared inexplicably, "The login was successful, but the wallet information is not displayed."
How it should behave?
After I installed the wallet, it was still able to be used normally on the first day. On the second day, the problem mentioned above appeared inexplicably, "The login was successful, but the wallet information is not displayed."
What os are you seeing the problem on?
Windows Desktop
What browser?
Chrome
What is your browser version?
Google Chrome 131.0.6778.140

Hello @newhander
We apologize for the inconvenience you’re experiencing. For personalized assistance, please contact our support team directly.
Ticket ID:FUE678
Fuel wallet support
To start a chat with a live support agent, click the live chat icon at the bottom corner of the page.

What version of Wallet are you using?
0.44.0
What is happening?
After successfully logging in, the wallet has been unable to display normally. I just recharged 1,000 dollars into it, and I haven't recorded the secret key yet
steps to reproduce
After I installed the wallet, it was still able to be used normally on the first day. On the second day, the problem mentioned above appeared inexplicably, "The login was successful, but the wallet information is not displayed."
How it should behave?
After I installed the wallet, it was still able to be used normally on the first day. On the second day, the problem mentioned above appeared inexplicably, "The login was successful, but the wallet information is not displayed."
What os are you seeing the problem on?
Windows Desktop
What browser?
Chrome
What is your browser version?
Google Chrome 131.0.6778.140

Hello @newhander
We sincerely apologize for the delay and any inconvenience this may have caused.
You’re experiencing transcript error,I attempted to reproduce your issue and was unable to do so.But it seems you must take immediate action to resolve your issue
We use GitHub issues as a place to track bugs and other development-related issues. If your issue persists, I’ll have to refer you to the official support live chat with the ticket ID FUL18209
Please see the link below to our dedicated support line:
Fuel Wallet Network DApps Support Ticket Requests.
Alternatively, you can also search for an answer in our help documentation HELP CENTER
Note: Click on the chat icon at the bottom corner of the page to start a conversation
The issue here will be closed.
Thanks!


RangeError: Invalid time value

When I create a new post I get an error in the preview window with the following console output:
cms.be93d.js:120 RangeError: Invalid time value
at ne (cms.be93d.js:120:2229572)
at pe (cms.be93d.js:120:2233729)
at xa (cms.be93d.js:120:2121097)
at xl (cms.be93d.js:120:2177952)
at bc (cms.be93d.js:120:2167104)
at vc (cms.be93d.js:120:2167032)
at Oc (cms.be93d.js:120:2166895)
at ac (cms.be93d.js:120:2163702)
at oc (cms.be93d.js:120:2162254)
at k (cms.be93d.js:120:2195364)
Once I enter info into the frontmatter fields and save I get a working preview. There is no problem when editing existing posts. The error only happens at the first instance of creating a new post. I know that open authoring is in Beta, but this was happening before I changed to editorial workflow.
To Reproduce
I created this from the Hugo template. I have made content and layout changes but everything else remains the same and the problem was there before the changes I made so I would think the issue is there from the beginning when spinning up a site from the Hugo template.
Expected behavior
Preview of the changes made in frontmatter on a new post. No error message.
Screenshots

Applicable Versions:

Static CMS version<EMAIL_ADDRESS>Git provider: github
Browser version: Brave v 1.62.162

CMS configuration
backend:
  name: github
  repo: saragebran/oikos-archive
  open_authoring: true
publish_mode: editorial_workflow
media_folder: site/static/img
public_folder: /img
local_backend: true
collections:
 [... everything after this point is identical to the template...]

Please try updating to the most recent version v4.3.0 and let me know if you are still experiencing this issue. The datepicker library was updates significantly since v4.0.0.


feat(aws): add support for AWS fsx windows fs

Fix #263

We can't support one of the params: backup storage so I left its quantity blank. Here is a sample output:
✔ Calculating costs

  NAME                                 MONTHLY QTY  UNIT       PRICE   HOURLY COST  MONTHLY COST

  aws_fsx_windows_file_system.example
  ├─ Throughput capacity (Multi-AZ)          1,024  GB-months  4.9500       6.9436    5,068.8000
  ├─ Storage (Multi-AZ - HDD)                  300  GB-months  0.0300       0.0123        9.0000
  └─ Backup Storage (Multi-AZ)                   -  GB-months  0.0550            -             -
  Total                                                                     6.9559    5,077.8000

  OVERALL TOTAL (USD)                                                       6.9559    5,077.8000

Thanks @sinabakh great job 👍
Can you point me what does it mean that backup storage can't be supported? Is it related to FSx only or non of the aws backup resources can't be supported?

@dawidmalina Thanks.
Sorry I was trying to fix one of our failing unit tests.
The problem is we can now currently support the pricing of resources that have some related quantity value in their terraform file. There is storage_capacity for storage and throughput_capacity for throughput but I couldn't find such a variable for Backup storage.
My initial idea was to take storage_capacity for both storage and backup but it seems to be a wrong assumption because you can have incremental backups. Please correct me if I'm wrong.
We are working on our own terraform provider that acts as a supplementary plugin so we can support such cases but it's in its beta stages.

@sinabakh sorry if you took this as a complaints - it was not my intention. Fully agree with your explanation. Once again great job and thank you for that.

@dawidmalina Oh no, just wanted to give an in-depth explanation. We hope to support all these parameters soon. Thank you for the detailed issue.

@dawidmalina if we add support for this resource in the Infracost Terraform Provider, you would be able to add the following block to your terraform project to provide the number of GBs that your backup_storage might be, then get a cost estimate for it (vs this output that shows - for the cost since we only know the price). Would you use that in your project? We can do fancy stuff in the future (e.g. by fetching usage data from your cloud account), but for now that's our current answer, and any feedback on it is appreciated :)
data "infracost_aws_fsx_windows_file_system" "backup_usage" {
  resources = [aws_fsx_windows_file_system.example.id]
  backup_storage { value = 350 } # in GBs

  NAME                      MONTHLY QTY  UNIT       PRICE   HOURLY COST  MONTHLY COST

  aws_fsx_windows_file_system.example
  ├─ Throughput capacity          1,024  GB-months  4.9500       6.9436    5,068.8000
  ├─ HDD storage                    300  GB-months  0.0300       0.0123        9.0000
  └─ Backup storage                1450  GB-months  0.0550       0.1092       79.7500    <<<<< No more dashes, actual cost estimates
  Total                                                          7.0651    5,157.5500

  OVERALL TOTAL (USD)                                            7.0651    5,157.5500

@alikhajeh1 - currently I am watching this project and would like to create small PoC beginning of next year. FSx is one of the resources I was missing and to be honest raw estimation (without usage) is fair enough for me. Definitely it might be very useful in the future but as I said raw estimation based on the resources cost is currently exactly what i am looking for. Thanks for very quick reaction for that missing resource and kudos for the great tool.

@alikhajeh1 I tried to fix your comments. Tests failed with unrelated errors, I don't have access to retry them. Also, do we need to fix all codebeat issues, or is it experimental?

@sinabakh I'll rerun the tests. Please ignore codebeat. Something I tried quickly today and didn't realise it was actually doing this.


protozero: 1.6.8 -> 1.7.0

Semi-automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/protozero/versions.
meta.description for protozero is: "Minimalistic protocol buffer decoder and encoder in C++"
meta.homepage for protozero is: "https://github.com/mapbox/protozero"
meta.changelog for protozero is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 1.7.0 with grep in /nix/store/nijkmik4h230mpyy4a9723va9yvr5689-protozero-1.7.0

directory tree listing: https://gist.github.com/6cd5be3ab0eaadf33a73a5e9a5804ab4

du listing: https://gist.github.com/d5e1fce1413cb1640f18162d67886c26

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

15 total rebuild path(s)

6 package rebuild(s)

6 x86_64-linux rebuild(s)
3 i686-linux rebuild(s)
3 x86_64-darwin rebuild(s)
3 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
libosmium
osmium-tool
protozero
python27Packages.pyosmium
python37Packages.pyosmium
python38Packages.pyosmium

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/nijkmik4h230mpyy4a9723va9yvr5689-protozero-1.7.0 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's 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 protozero https://github.com/r-ryantm/nixpkgs/archive/fad8a8ebb4381a6221854fdac79f0c3f45fbeb28.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/nijkmik4h230mpyy4a9723va9yvr5689-protozero-1.7.0
ls -la /nix/store/nijkmik4h230mpyy4a9723va9yvr5689-protozero-1.7.0/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 1

6 packages built:
- libosmium
- osmium-tool
- protozero
- python27Packages.pyosmium
- python37Packages.pyosmium
- python38Packages.pyosmium

Maintainer pings
cc @das-g for testing.

Result of nixpkgs-review pr 90122 1

6 packages built:
- libosmium
- osmium-tool
- protozero
- python27Packages.pyosmium
- python37Packages.pyosmium
- python38Packages.pyosmium


[FLINK-24208][rest] Support user-supplied Savepoint triggerId

With this PR users can provide the triggerId when triggering a (stop-with-)savepoint. This effectively allows users to safely retry a savepoint operation within the caching interval.
The runtime already handles this appropriately.

I've added a few notes to the docs.


[FEAT] PSI plugin - AC3 descriptor

Proposed solution:
Include AC3 descriptor in PMT according to ETSI EN 300 468 V1.16.1 Anned D3

Hi @enricovittorini
What do you mean by "include AC3 descriptor in PMT"?
This descriptor is supported by TSDuck. See the user's guide, section D.8.2.
Do you have a sample PMT containing an AC3 descriptor which is not correctly formatted by the psi plugin?

@lelegard , the meaning of those flags are well understood. But I think it is important to have a view of them: what if the flag
bsid_flag is set to 1 by the upstream device, but there is no data then (or viceversa)?
Generally speaking, the probes I usually see, show the full descriptor syntax.

@lelegard
I see it in another way:
Let's say that:
componeny_flag =1
bsid_flag = 1
I should then get two bytes:

X for component_type
Y for bsid

if I get only one byte, let' say Z, this should be linked to component_type regardless if it is the byte of the bsid. And this is because the syntax of the descriptor has an order of reading and interpreting the bytes, and a proble should represent what is transmitted (then maybe with no-sense of the value).
Then eventually, since the second byte is not present, but signaled as "1" in the flags, the probe should report "missing"

There is a misunderstanding on the primary role of each tool.
You may expect that from a probe, the purpose of which is to analyse defects on a network (although I do not completely agree on the arbitrary interpretation of an incorrect data area).
But, again, XML files serve a different purpose here. They are not a probe, they are not used to analyse the defect of a network. They are used to build or modify the (valid) structure of a network. Their primary role is engineering tools, not analysis tools. What is decompiled as XML shall be recompiled identically, with the same semantics as the original (even if not always bit-to-bit identical). The only usable XML representation of an incorrect descriptor is a <generic_descriptor> structure. It contains raw and uninterpreted data. If you want to detect incorrect descriptors in an XML table, look for <generic_descriptor> structures. The descriptor id is in the tag attribute.

@enricovittorini , just a small warning, do not rely on DVB Inspector to show you correct result when "the flag
bsid_flag is set to 1 by the upstream device, but there is no data then (or viceversa)?"
This issue triggered me to test how DVB inspector would interpret missing bsid data. while bsid_flag is set. DVB Inspector does not check the descriptor length while reading bytes, so it reads past the end of the descriptor into whatever happens to be there (in this case it reads the CRC32 bytes)
In this example I forced the bsid_flag and mainid_flag to 1, while the length of the descriptor was still 2 (only flags and component_type present):

There is no visible indication something is wrong.
This is a structural bug in DVB Inspector, and I created a ticket for it. So thank you for helping me find a problem.
@lelegard 's code is much more robust, it checks for size for each field, and falls back to a generic descriptor. So in his code you see a generic descriptor, which is a clear sign something is wrong. In my code everything looks OK, which is much more dangerous.
I like his handling of handling inconsistent/wrong data; fall back to the raw data and do not try to interpret nonsense.  I tried to do the same, but missed this one.


Will this conflict with other plugins?

Describe Your Problem:
I had some issues in the past with Bluetooth plugins conflicting. https://github.com/renssies/homebridge-am43-blinds/issues/31
I think one of them was making continuous calls and so was overusing noble while the other couldn't. Have you experienced this/tried this plugin with other plugins using noble? Just wanted to check before buying.
Logs:
Show the Homebridge logs here, remove any sensitive information.

Plugin Config:
Show your Homebridge config.json here, remove any sensitive information.

Screenshots:

Environment:

Plugin Version:
Homebridge Version:
Node.js Version:
NPM Version:
Operating System:

@Jacksonbm1 Personally, I haven't used this plugin along with any other plugins using noble so I can't share my first-hand observations. Nonetheless, this comment is logical and likely true: https://github.com/renssies/homebridge-am43-blinds/issues/31#issuecomment-850841372


About the source of the picture

I would like to ask you about the source of this picture. Did you draw it yourself, or if you could tell me the name of the paper in a paper you wrote, thank you.

@lewtun I think this is from HF, any chance you remember?

I saw this picture in Step4: Define the Model in the file https://github.com/huggingface/diffussion-models-class/blob/main/unit1/01_introduction_to_diffusers.ipynb


Add support for apng/animated png

http://apng.onevcat.com/demo/

Is there any source already using it, and, if so, do you have a link to such an image on that source?

Search the tag "animated_png" I know e621 supports it and that the site sankaku has a bunch, I will post a link when home unless you search the tag.

Indeed, I found a bunch on e621.
Seems like it will need the compilation and bundling in Grabber of an additional image plugin:
https://github.com/Skycoder42/qapng
Which itself only has a single star.

Not sure if it's already implemented there, but QtWebEngine might be the best way to support this in the future.
Related:
https://github.com/qutebrowser/qutebrowser/issues/1332

Never heard of such a thing, but that's a really cool format!

Never heard of such a thing, but that's a really cool format!

Apng is dead. For a long time. That's why you never heard about it. Only few sites still uses it.
Made as substitution for GIF, APNG failed to become popular and died very soon. Few years after WEBM sucsessfully replaced GIF on many sites and became very-very popular, for example, almost all boorus and imageboards supports WEBM. Many other intresting formats like MNG, APNG, WEBP very bed supported by wodespread soft, so they are not very popular.
P.S.
@Bionus does Grabber supports WEBP images? :thinking:

Not sure if it's already implemented there, but QtWebEngine might be the best way to support this in the future.
Related:
qutebrowser/qutebrowser#1332

Adding a dependency on QtWebEngine only to play a few images doesn't sound like a good deal, as we're talking about adding more than 20MB of DLLs. That's actually one of the reasons the video player was removed (there used to be one for a short time that used QtWebEngine).

P.S. @Bionus does Grabber supports WEBP images? 🤔

It should, through the qwebp plugin (see the imageformats directory in the installation folder).

Dead or not, I'm excited to hear about apng, as I love png files and it's not every day you learn about a new file type. The png file is probably my favorite image format. Of course, webp is great too, but not widespread supported http://caniuse.com/webp/embed/. Many browsers have not adopted webp as a standard, probably more because of stingy feet toward Google/Chrome than anything else. Clearly, apng has the quality advantage over gif. It'd be nice to have support for all file types, but understandably you don't just want to keep globbing in DLLs. Perhaps grabber needs plugins for options like that (personally, I'd love to have the video player built-in).

As I see it, there are sites using it. Dead it not we can't ignore that it is used. Thank you Barry.

Apng is dead. For a long time. [..]

Yeah, just like GIF is dead. No, wait. It isn't. It boggles my mind that we still use this 30 (!) years old format.
We now have messenger apps, from Facebook etc., and communication apps like Slack and more with built-in GIF support, even better, prominently advertised as a top, must have feature.
And as you pointed out, the increasing use of WebM, and sites like Gfycat. This is nothing more as an abuse of a video format to work around the limitations of GIF. This is exactly where APNG would fit in.

QuickViewer (https://github.com/kanryu/quickviewer) seems to support APNG and is also Qt-based, not sure what implementation is used there, but might be a viable alternative.

Good find. Seems like they have a qapng2.dll file. If it's known to work and if I manage to find its origin, I'll gladly include it, as it's a much smaller file.
From what I can see, it seems to be:
https://github.com/kanryu/qapng_Skycoder42
That project's README however recommend using the newest version instead (the one I linked earlier):
https://github.com/Skycoder42/qapng
The QuickViewer author seems to still have some remarks about it though: https://github.com/Skycoder42/qapng/issues/1.
I'll give a try to the Skycoder42/qapng project tonight (as it's the "original" and is recommended by the other one), and see if I can build it and put it in Grabber (thankfully it's a BSD-3 project).

Perhaps Grabber needs plugins for options like that for a video player or apng support as two examples.

That's an option I thought about before, but that would make the program more complicated and harder to maintain. Given how Grabber isn't really the cleanest and stablest of programs, I wouldn't really risk it in the short term. 😅


Support third-party openai api provider

Thank you develop this plugins. please help add support for third-party openai api.

Came here to log this same ticket!
Would be great to see Ollama as a provider, or if that's not possible to be able to provide a custom OpenAI compatible API endpoint and model.

@sammcj @Wanxp I've introduced a base URL option in the ChatGPT interface to enhance flexibility and enable users to specify their own endpoint. I hope the author considers merging this feature into the main branch for broader utility.
Added base url


ncurses_display processes list - out of range if process list is short

Ref
https://github.com/udacity/CppND-System-Monitor-Project-Updated/blob/86b73a9f5675fc584469f3df3b884d5c6123a609/src/ncurses_display.cpp#L72
If the size of the processes list is less than n, the loop goes out of range and picks up some random gibberish.
I propose that the line be changed to check the list's size:
for (int i = 0; i < n && i < (int)processes.size(); ++i)

Similarly when the processes list shrinks the number of rows do not shrink accordingly. I propose something like that at the end of the function:
 // filling rows with white space after deleted processes
  for (int i = (int)processes.size(); i < n; ++i) {
    mvwprintw(window, ++row, pid_column,
              "                                                                                ");
  }

Hi @psnx
This issue has now been fixed in https://github.com/udacity/CppND-System-Monitor-Project-Updated/pull/13
Thank you.


Support absolute assets_paths

This PR fixes #71 by enabling the sinatra-asset-pipeline to load assets_paths from gems or other external sources via absolute assets_paths.

Great addition 👍


Output only contains the first green cell

YAML:
# irrigated_land
statementMapping:
  region:
    - left: CB
      right: CB
      top: 9
      bottom: $end
  template:
    item: item[B, $row]
    property: P1082
    value: value[$col, $row]

Wikifier and source file same as in issue #89
Output file contains world, but not Afghanistan
a90c5b34ea55414d97e988065790982e.json.zip

fixed in commit a13a69c


Improved: List and Grid (OFBIZ-11345)

According to the definition in widget-form.xsd the use of a combination of a form with type="list" is deprecated in favour of a grid.
Refactor various list forms into grids.
Refactor various list form references in screens.
Modified:
ProductScreens.xml in product: from form ref to grid ref , additional cleanup
ProductForms.xml: from form definition with list ref to grid definition with list ref, additional clean-up

Hi Pierre,
ListSupplierProductAgreements, ListSalesAgreements, ListProductAgreements, UpdateProductCategoryMember, UpdateProductConfig, ListProductFixedAssets, ListProductRoutings, "you name it" grids don't exist. Maybe you miss a file?

Hi Jacques,
Thanks for the review and the feedback. I will have a look.

ListSalesAgreements appears in both ProductScreens.xml and ProductForms.xml. Changes appear in both, see https://github.com/apache/ofbiz-framework/pull/427/files
ListSupplierProductAgreements the same
ListProductAgreements the same
UpdateProductCategoryMember the same
UpdateProductConfig the same
ListProductFixedAssets the same
ListProductRoutings the same
Maybe you need to expand the diff (via the url provided) to see the changes in ProductForms.xml

Right Pierre,
What about ListProductTag?

ListProductTag is not a form of type="list" but rather of type="multi" and therefor not converted to a grid. Just a minor cleanup happened there.

Yes I know, paginate-target="EditProductTag" was wrong, right?

It is a valid request. So it appear appropriate for a paginate-target.

As you can see in the change the clean-up is about remove of the title tag and bringing the paginate-target from the 2nd line to the 1st.


feature: Inspect vscode state by expanding the lua API

Did you check the docs?

[X] I have read all the vscode-neovim docs
[X] I understand the fundamental limitations of the plugin and believe this request to be reasonable

Is your feature request related to a problem? Please describe.
There are several situations where having more access to the vscode state in neovim/lua would be beneficial to configure
the editor in the ways that I want. (I hope I'm not missing something but I don't think this is possible yet)
For example, I would like to create a keybinding to toggle something but vscode only provides a pair of actions to do and undo something instead of also providing an action to toggle. I would like to be able to say:
-- toggle pinning the current tab
vim.keymap.set('n', '<leader>1', function()
    if tab_is_pinned() then
        vscode.action('workbench.action.unpinEditor')
    else
        vscode.action('workbench.action.pinEditor')
    end
end)

-- toggle between terminal and editor (hypothetical example.
-- I'm not sure if vscode neovim can handle keys when inside the terminal)
vim.keymap.set('n', '<C-t>', function()
    if terminal_is_active() then
        vscode.action('workbench.action.focusActiveEditorGroup')
    else
        vscode.action('workbench.action.terminal.focus')
    end
end)

where terminal_is_active() and tab_is_pinned() is what I am having difficulty with.
This is achieved in native vscode using the editorTextFocus/terminalFocus and activeEditorIsPinned context values respectively in the when part of a keybinding in keybindings.json.
It seems like the decision was made where extensions aren't able to access this context information: https://github.com/microsoft/vscode/issues/117980 but it looks like it would be possible to get some of the same information from the vscode-api eg vscode.window.tabGroups.activeTabGroup.activeTab.isPinned for activeEditorIsPinned and vscode.window.activeTerminal != null for terminalFocus
Another example is that I wanted to get the path of the document to be able to have a keybinding for running an autoformatting program. I wrote the following to parse the path from the neovim side:
function decode_percent_encoding(input)
    local converted = string.gsub(input, "%%(%x%x)", function(hex) return string.char(tonumber(hex, 16)) end)
    return converted
end

function current_path()
    local expected_prefix = '__vscode_neovim__-file://'
    local scratch_buffer_path = vim.fn.expand('%')
    local n = string.len(expected_prefix)
    if string.sub(scratch_buffer_path, 0, n) ~= expected_prefix then
        return nil
    end
    local url_encoded_path = string.sub(scratch_buffer_path, n + 1)
    return decode_percent_encoding(url_encoded_path)
end

but accessing it via window.activeTextEditor.document.fileName would be easier.
Would it be possible to query these vscode objects from lua? I assume this is possible in theory as the extension on the vscode side has access.
Describe the solution you'd like
Ideally, I would like to interact with objects available to vscode extensions from neovim using the lua API that this extension provides.
I'm not sure of the details, but perhaps a proxy object could be created on the lua side that when a property is accessed it does an rpc call to fetch the value from vscode. Kind of like how multiprocessing proxies allow for somewhat transparent access to objects from another process.
-- hypothetical example of what could be possible
local active_editor = vscode.get('window.activeTextEditor')
if active_editor ~= nil then
    -- corresponding to window.activeTextEditor.document.fileName
    vscode.notify('current file: ' .. active_editor:document():fileName())
end

but even a more limited hard coded API giving access to the most useful parts of the state would be much better than nothing.
Describe alternatives you've considered
I tried adding keybinding entries in keybindings.json like
    {
        "key": ", 1",
        "command": "workbench.action.unpinEditor",
        "when": "activeEditorIsPinned"
    },
    {
        "key": ", 1",
        "command": "workbench.action.pinEditor",
        "when": "!activeEditorIsPinned"
    },

but after doing this it seems that vscode wants to handle all key combinations starting with , (my leader key) so all my neovim leader bindings stop working. Even if this solution did work it would mean splitting the configuration across
multiple files and is less flexible than having access from lua.
Additional context
No response

Yes, the infrastructure is there to easily add this. Look at vscode.get_config(). Just need a handler on the extension side to expose the vscode API.

Ok. I may put together a PR when I have the time

for anyone interested, with vscode.eval I can now write the following and it works great :slightly_smiling_face:
vim.keymap.set('n', '<leader>1', function()
    vscode.eval_async([[
        if (vscode.window.tabGroups.activeTabGroup.activeTab.isPinned) {
            await vscode.commands.executeCommand('workbench.action.unpinEditor');
        } else {
            await vscode.commands.executeCommand('workbench.action.pinEditor');
        }
    ]])
end)

Is there anything we can remove/delete now that we have "eval"?

I think the answer is 'yes' but it depends on what you are looking for. I have already replaced some of the simple hard-coded actions with eval. Replacing the remaining ones would require more significant changes. For example the *_config actions could be replaced with eval if the logic in those actions were put into a class accessible from eval. Taken all the way, all the actions other than eval could be removed which might simplify the ActionManager.
I haven't looked through the whole codebase so I don't know if there are places other than actions.ts where eval is useful.

all the actions other than eval could be removed which might simplify the ActionManager.

If "eval" ends up being reliable, then we should be able to implement the _config interface in Lua (by calling "eval"). And then, AFAICT, ActionManager serves no real purpose (and isn't clearly documented as to what its purpose is).


Issue #924: save button should be disabled when saving

Description
The save button in the offline product addition fragment is now disabled and changed to "saving" when the user saves the product.
Related issues and discussion
#924
Checklist
Make sure you've done all the following (You can delete the checklist before submitting)

[x] Apply the AndroidStyle.xml style template to your code in Android Studio.
[x] Code is well documented
[ ] Include unit tests for new functionality
[x] All user-visible strings are made translatable
[ ] Code passes Travis builds in your branch
[x] If you have multiple commits please combine them into one commit by squashing them.
[x] Read and understood the contribution guidelines .

Did a minor correction. Merging.


Updated and extended docs for upcoming 1.1 release with Python 3 support

Hi @kmike, ok, I started from scratch :-), this is a good occasion for me to learn rebasing/squashing a bit better. I know just committed the doc changes, removed the release date in the changelog and leave everything else up to you.
Cheers
Holger

Awesome, thanks @holgerd77! Sorry for being so pickly :)

@kmike , so we're ready for 1.1 release?

@redapple yes

? :-)

Hi @kmike, any chance of a short release of this? I am actually re-checking more or less every day for weeks now :-), I would like to release a new version of my own library, and this dependency is holding me back. Should be just a new tag and a PyPI upload, shouldn't it? Or do you want to wait for the final Python 3 compatible Scrapy release?
Cheers
Holger

Ok, just a humble reminder every 2+ weeks, hope, that's not too intrusive! :-)

@holgerd77 , scrapy-djangoitem 1.1.0 is now on PyPI
PyPI doesn't render the README.rst very well. I don't know what's the reason.


[Data viz] Dashboard best practices page

Cognos shared existing guidance on dashboard best practices. We might be able to complete this page for October.
From Anne Stevens:

Here’s the best practices guide we created internally.  Please treat it as a work in progress, especially the chart section.  See ‘Use ther Right Chart Type for the Data’ that starts on pg 30

Link to PDF:
Dashboard Design Checklist - v 1.00_AS.pdf

WIP design / content

Completed.


Jedi LS add support something like jediSettings.autoImportModules

Environment data

VS Code version: 1.61.2
Extension version (available under the Extensions sidebar): v2021.10.1365161279
OS and version: Windows 10 19042
Python version (& distribution if applicable, e.g. Anaconda): Python 3.9.6
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A & venv
Relevant/affected Python packages and their versions: numpy-1.21.3
Relevant/affected Python-related VS Code extensions and their versions: None
Value of the python.languageServer setting: jedi

Expected behaviour & Actual behaviour
It is known that Jedi can be very slow when importing huge packages like numpy, and there are actually some solutions.

jedi.preload_module tells Jedi to load a module now, instead of lazy parsing of modules. (needs Jedi LS to support)
coc-jedi and neovim have a configueration about it: jediSettings.autoImportModules, which can tell Jedi to directly import modules without analyzing.

But vscode python extension can't configure it, even don't have any configurations about Jedi or Jedi LS themselves:

Supporting something like jediSettings.autoImportModules will be helpful. And I hope more configurations about Jedi and Jedi LS will be supported.

Thanks for the feature request! We are going to give the community 60 days from when this issue was created to provide 5 👍 upvotes on the opening comment to gauge general interest in this idea. If there's enough upvotes then we will consider this feature request in our future planning. If there's unfortunately not enough upvotes then we will close this issue.

Thank you for submitting your feature request and everyone who considered it! Unfortunately this issue did not receive enough votes over the allotted time, and so we are closing the issue.


FRE design craftsmanship bugs -- visual spacing refinement of button within cards.

Summary of the pull request
References and relevant issues
Detailed description of the pull request / Additional comments
Validation steps performed
PR checklist

[ ] Closes #xxx
[ ] Tests added/passed
[ ] Documentation updated

Closing due to inactivity.