transparent background (WIP, Kitty and iTerm2 only)

Works well with only with Kitty.
iTerm2 has the problem of not clearing what's between the image and the
next cell. Sixel would have the same problem, but transparency does not
really work anyway; the icy_sixel library has some notion of
transparency in the palette (sixel_dither::set_transparent) but I
don't know how to get it to work.

the icy_sixel library has some notion of
transparency in the palette (sixel_dither::set_transparent) but I
don't know how to get it to work.

@benjajaja I think the problem is that it doesn't set the sixel parameters correctly. You need to have the second parameter set to 1 in order to use transparency, and it looks they just hardcode all the parameters to 0.
So you might be able to get it to work by patching the returned sixel string. If it starts with something like \x1BPq or \x1BP0;0;0q, try replacing that with \x1BP0;1q.

@j4james tried that, thank you for the tip! It does enable transparency together with sixel_dither.set_transparency(i32), it's just some random color instead of transparent pixels. That is, sixel_dither should encode only transparent pixels the rgba data to that color, but it doesn't (or I'm using it wrong, idk).

It does enable transparency together with sixel_dither.set_transparency(i32), it's just some random color instead of transparent pixels.

@benjajaja I'm not positive how it works, but just looking at the code, it seems to me that the set_transparency method expects you to specify the palette index of the color that you want to be transparent (see here).
So instead of using ARGB, you'd need to paint the transparent areas of your image with a particular color (e.g. bright purple). But then I'm guessing you'd also need to provide a fixed palette for that image, and the index of the bright purple in that palette would be the value you would pass to set_transparency.
I don't know if there's an easier way to do that, because this seems overly complicated. But maybe the transparency support in that library was never fully implemented.

I opened an issue on icy_sixel https://github.com/mkrueger/icy_sixel/issues/6
In any case, we'd have to do something about background not clearing. This doesn't happen with Kitty's transparency, because our Kitty protocol writes one placeholder character per cell. So I guess for sixel and iterm2 we'd have to slice 'n' dice the image into many small images (the size of a cell) or something crazy like that. Probably bad for performance. I've tried DECFRA but it didn't seem to work, most terminals probably don't implement it.

we'd have to do something about background not clearing.

Just on this point, almost all Sixel terminals I've tested can erase the image content with ECH (assuming you're happy with it also erasing the text content in the given area). And those terminals that didn't support ECH correctly were also not capable of rendering transparent Sixel images anyway, so it assumedly wouldn't matter.
XTerm is a bit of an exception in that it supports transparency, but its ECH handling is a bit flaky (sometimes the image can reappear after it has been erased).
Also note that you can detect support for rectangular area operations by looking for 28 in the DA1 report, similar to the way you detect Sixel by looking for a 4. That way you can use a more efficient DECERA on terminals that support it. And in the case of XTerm, DECERA is not just more efficient - it also seems to be less buggy than ECH.

@j4james I can't get the DECERA to work in any way here :thinking:

@benjajaja Are you by any chance running xterm with the -ti vt340 parameter, or have you set the decTerminalID resource to vt340? Because when you do that, xterm disables the rectangular area operations like DECERA, because the original VT340 terminals didn't support that.
If you want to use both Sixel and rectangular area operations at the same time, you need to use the decGraphicsID option to configure that. It's a bit annoying.
And I've just noticed now that xterm is actually still reporting support for rectangular area operations in the DA1 response even when they're disabled, so that's another bug you'd need to work around. Or perhaps just tell people not to use xterm with -ti vt340.

FYI, this is the test case I'm using to check DECERA support...
Draw a transparent yellow triangle occupying around 40x40 pixels (this assumes a 10x20 cell size, so 4x2 character cells):
echo -e '\e[3;5H\eP0;1q"1;1;40;40#1;2;100;100;0!15?o{~~{o-!12?o{!8~{o-!9?o{!14~{o-!6?o{!20~{o-!3?o{!26~{o-o{!32~{o-\e\\'

Draw an inverted red triangle on top of that, so you can see the overlap:
echo -e '\e[3;5H\eP0;1q"1;1;40;40#1;2;100;0;0BN!32~NB-!3?BN!26~NB-!6?BN!20~NB-!9?BN!14~NB-!12?BN!8~NB-!15?BN!2~NB-\e\\'

Draw the red triangle again, but now prefixed with DECERA to clear the background first:
echo -e '\e[3;5;4;8$z\e[3;5H\eP0;1q"1;1;40;40#1;2;100;0;0BN!32~NB-!3?BN!26~NB-!6?BN!20~NB-!9?BN!14~NB-!12?BN!8~NB-!15?BN!2~NB-\e\\'

@j4james I was running this on WezTerm, as I was hoping to get transparency support there. WezTerm doesn't seem to support DECERA. However, I tried Erase Line (EL), and this works! I got lucky because it erases only text, not other images, so it ends up working. So I split the image into horizontal slices, and before rendering each slice on a line I also send EL. This clears any stale characters and leaves no artifacts.
The same could maybe be done for sixels, but again, it would rely on EL clearing only text, not graphics.
Overall I really want this feature in, because I'm working on some program that looks a lot better with transparency, but I think it should be behind some picker.enable_experimental_transparency() option to be clear.

I'm not sure I understand why you'd want to erase only text and not graphics, but EL is supposed to erase both, at least when it comes to Sixel. The original hardware terminals essentially had one large bitmap which you could write to with either text or individual pixels. To erase a line, the terminal would just fill a rectangle on the bitmap, which would erase everything that was previously written to that area. There's no way to distinguish the source of each pixel and treat text differently from graphics.
If you're looking at the Kitty image protocol, though, it works in a completely different way. My understanding is that every image is managed separately from every other image, as well as separately from the text. So you can layer images both over and under text, and you can erase each image individually without necessarily affecting other images or text. I'm not sure what the rule is for EL, but it wouldn't surprise me if it only erases text. I would double check that behavior on Kitty, though, because other terminals may not have all the details correct.

My reasoning was that DECERA wasn't working on WezTerm, which is the only terminal in which I can run the iTerm2 protocol, so I was trying other erase sequences. EL just happens to not erase (iTerm2 protocol) graphics on WezTerm. By what you're saying it's probably a bug or an accidental feature. After all, iTerm2 cannot possibly be specified in any old VT standards, and iTerm2 itself has rather limited documentation and specs for its graphics protocol.
The Kitty protocol is completely different from sixel or iTerm2, you're right. Images are placed and deleted, and deleting is not really possible in a ratatui-widget, where there is nowhere to hook into any kind of deletion or "no longer rendered" event/hook. Luckily however Kitty provides some help in the form of "unicode placeholders", where the image is "transmitted" once (we can do that on ratatui) and then can be placed at different places with some "unicode placeholder" sequence. When those are not rendered anymore, the image also is gone without need for any delete/cleanup hooks. Except it's still in memory, but that's a different kind of problem.

@j4james, thank you so much again for your input!
I finally got it to work with simple erase characters and cursor movement sequences: ECH for (image width in characters) and CUD for each line in (image height in characters), and then go back with CUU, and then the iTerm2 sequence. Clears everything, probably not as fast as DECERA, but good enough for now.


Watchdog timer added to pixhawk.py

This code is modifying the old pixhawk code. I'd recommend merging the stuff from pose control into this branch, adapt the code for the Twist message system, and then do a PR back to the pose branch.

This was added into the pose control branch manually instead of using a PR. My bad on that one.


chore:update wechat

Description
update wechat
How Has This Been Tested?
no need
Snapshots:
Include snapshots for easier review.
Checklist:

[x] My code follows the style guidelines of this project
[x] I have already rebased the commits and make the commit message conform to the project standard.
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] Any dependent changes have been merged and published in downstream modules

The WeChat group QR code has expired, please update it，thanks


Query string enums not serialized correctly in C# client

The C# client does not correctly convert enum values into their query string equivalents.
query_value:
  type: string
  enum:
    - Simple
    - Has Spaces
    - Has%Symbols
    - lower case

This is because a simple global::System.Convert.ToString is used for those types. Research to see if that can be overridden or provide a different mechanism.

Fixed in 0.14.1 (the PR did not close this one for some reason.)


feat(payload, richtext-lexical): runtime dependency checks

error will now be thrown in payload.init if dependency versions don't match
error will now be thrown in lexical if lexical dependency versions don't match

Hi there, this is throwing for me and now i see it's a new intentional check.
IIUC it's because we have another app in the same pnpm workspace that has older versions of some dependencies, even if they're not being used in this new app using payload v3-beta, though this still throws because it finds them. Can show the package.jsons if needed.
This is not a big problem for me, can use beta.51 in the meanwhile (and we plan on deleting Payload on the other project when this is in production). Just maybe a heads up, great work you guys are doing! 👏🏼


Fix broken links in README.md

Codecov Report

Merging #891 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #891   +/-   ##
=========================================
  Coverage     92.84%   92.84%
  Complexity      388      388
=========================================
  Files             2        2
  Lines          5812     5812
  Branches       1512     1512
=========================================
  Hits           5396     5396
  Misses          205      205
  Partials        211      211

Continue to review full report at Codecov.

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

Merged and updated release notes.
Thank you!!


Some API calls fail with the BitBucket backend when using a branch that contains a slash

Describe the bug

When using bitbucket as the backend with a branch that contains a slash (e.g. feature/netlify) some API calls to repositories/{username}/{repo_slug}/src/{node}/{path} will 404 and content is not listed or editable. It appears that the BitBucket API expects a single path parameter to describe the node.
Everything works fine if we reference a branch on the same commit that does not contain a slash.
To Reproduce

Push a branch with a slash in it (e.g. feature/netlify)
Set up the BitBucket backend to use this branch:

backend:
  name: bitbucket
  repo: user/repo
  branch: feature/netlify

Expected behavior

The API calls shouldn't fail. They may need to be made with the commit hash of the branch head instead.
Applicable Versions:

Netlify CMS version: 2.4.2
Git provider: BitBucket
OS: MacOS 10.13
Browser version: Firefox 65

CMS configuration

backend:
  name: bitbucket
  repo: <repo>
  branch: feature/netlify

media_folder: 'static/img/uploads'
public_folder: '/img/uploads'

collections:
  - name: pages
    label: Pages
    folder: content
    create: true
    slug: '{{slug}}'
    fields:
      - { label: Title, name: title, widget: string }
      - { label: Description, name: description, widget: string }
      - { label: Image, name: image, widget: image, allow_multiple: false }
      - { label: Body, name: body, widget: markdown }

The Bitbucket backend doesn't make any alterations to the provided branch, perhaps it's encoded and the Bitbucket API wants it unencoded, or vice-versa.


If you need more data for this, I've gotchu

The DebateSum Dataset was made from a huge corpus of Policy Debate evidence. Much of that evidence is BS post modernist philosophy.
https://huggingface.co/datasets/Hellisotherpeople/DebateSum
and
https://paperswithcode.com/paper/debatesum-a-large-scale-argument-mining-and

Hello again! Thanks for the materials~
This repo is suspended even deprecated, and could not possibly serve as a running application.
De facto, I created this repo just to make fun of my friends reading and rewriting semi-academical philosophy essays. As you know could see, train on their writings and generate absolutely insane nonsense. 🤣
Still, textgenrnn is a simple RNN-based model 5 years ago, therefore its performance is far behind the modern large-scale pretrained SOTA transformers like GPT-2. Anyone wanna a helpful text-generation application should do model refinement from those. Of course, a powerful GPU and mountainous electricity bills are inevitable. :(

Recently I just start to explorer things on hugging face, really nice platform but the documentation is somewhat too brief, ambiguous and hard for me to understand.
One day I get to know how to play with it, I will try refining DebateSum, many many thanks for the dataset~


NameError: global name 'args' is not defined

Testing the script without argument:
C:\Documents and Settings\arc\Mes documents\development\python>tespeed
Getting ready. Use parameter -h or --help to see available features.
Loading speedtest configuration...
IP: <IP_ADDRESS>; Lat: 42.697600; Lon: 2.895400; ISP: Free SAS
Loading server list...
Looking for closest and best server...
Testing latency...
52 ms latency for http://perpignan.old-linux.com/speedtest/ (Old-Linux.com, Perpignan, France) [0.11 km]
105 ms latency for http://speedtest.prisconetworks.com/speedtest/ (Prisco Networks, L'Escala, Spain) [68.78 km]
77 ms latency for http://speedtest.aerisnavigo.com/speedtest/ (Aeris Navigo, Girona, Spain) [79.59 km]
112 ms latency for http://speedtest.altanetica.es/speedtest/ (Altanetica SL, Calonge, Spain) [94.83 km]
70 ms latency for http://speedtest-mpl.neotelecoms.com/speedtest/ (NEOTELECOMS,
Montpellier, France) [148.96 km]
Process Process-2:
Traceback (most recent call last):
  File "C:\Python27\lib\multiprocessing\process.py", line 258, in _bootstrap
    self.run()
  File "C:\Python27\lib\multiprocessing\process.py", line 114, in run
    self._target(*self._args, **self._kwargs)
  File "C:\Documents and Settings\arc\Mes documents\development\python\tespeed.py", line 328, in AsyncGet
    print_debug('
                            \r')
  File "C:\Documents and Settings\arc\Mes documents\development\python\tespeed.py", line 604, in print_debug
    if args.suppress != True:
NameError: global name 'args' is not defined

I really don't understand this error. Please help a poor "windoze" user if you can.

no fix

Should be fixed in  efbf2d3 now.


Uncaught TypeError: Cannot read property 'top' of undefined

[Enter steps to reproduce below:]

...
...

Atom Version: 0.169.0
System: Mac OS X 10.10.1
Thrown From: minimap package, v3.3.4
Stack Trace
Uncaught TypeError: Cannot read property 'top' of undefined
At /Users/ksarantakos/.atom/packages/minimap/lib/minimap-view.coffee:353

TypeError: Cannot read property 'top' of undefined
  at MinimapView.module.exports.MinimapView.updateScrollY (/Users/ksarantakos/.atom/packages/minimap/lib/minimap-view.coffee:353:64)
  at MinimapView.updateScrollY (/Users/ksarantakos/.atom/packages/minimap/lib/minimap-view.coffee:1:1)
  at MinimapView.module.exports.MinimapView.updateScroll (/Users/ksarantakos/.atom/packages/minimap/lib/minimap-view.coffee:368:6)
  at MinimapView.updateScroll (/Users/ksarantakos/.atom/packages/minimap/lib/minimap-view.coffee:1:1)
  at /Users/ksarantakos/.atom/packages/minimap/lib/minimap-view.coffee:268:8

Commands
     -0:00.0 window:update-available (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-atom-dark-syntax.theme-atom-dark-ui)

Config
{
  "core": {}
}

Installed Packages
# User
minimap, v3.3.4

# Dev
No dev packages

/cc @atom/core

I have the same issue. Also using Mac OS X 10.10, however I use atom 0.172.0
I use the same atom and minimap version on Ubuntu 14.04 and do not have this issue there.

You should update the minimap version to the latest (3.5.x). A lot of things have changed in the Atom API and previous versions of the minimap are likely to break due to all these changes.


Additional layer of abstraction

Hi @ampedandwired,
Thanks for this gem!
I was wondering your thoughts on implementing an additional layer of abstraction.
For example. I have application 'example' comprised of multiple stacks that essentially build up separate components of aws infrastructure.
I would want the ability of bora apply example or rake example:apply which will then use the apply method to build those stacks listed within the bora.yml with each stack having a separate template file.
Thanks,
thebeefcake

Hi @thebeefcake You can do this to some extent already via nested Cloudformation stacks.
https://aws.amazon.com/blogs/devops/use-nested-stacks-to-create-reusable-templates-and-support-role-specialization/
They can be a little tricky to work with - especially stack updates.

So the use case here is that you want to be able to break a stack down into multiple smaller stacks, but then still work with them as if they are a single stack in Bora?
I can see why that might be useful, but I'm a little bit hesitant to add it to Bora right now. It would introduce a fair bit of complexity to the code and I'm not sure the benefits would be worth it. There are a few alternative approaches that may address some of the use cases:

Use nested cloudformation stacks as @herebebogans mentioned
If you're using cfndsl, you can break your template down into multiple files, but then combine them into a single template
Keep them as separate templates in Bora, but write a small wrapper script over Bora to do this

@thebeefcake  we do this via Rake along with ERB to templatise a bora.yml that describe our core infra eg vpc's / subnets and uses the bora rake tasks to apply each in order.
I feel this is better down outside bora with orchestration tools.

I agree that this is better done as a layer on top of bora. I'm going to close this one for now.


ADDING FIBONACCI SERIES USING PYTHON

I want to work on this. Please assign this issue to me

/assign


⚠ Bofrost.de has degraded performance

In af8e878, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1216 ms

Resolved: Bofrost.de performance has improved in bb58b87 after 6 minutes.


Typescript Imports will not work without .ts extension added

Sorry if it's a wrong place.
I need my code to be compiled not only with the help of System.JS but also with tsc.
Currently without setting extension in an import, like below it can't find a file:
import { myModule } from 'my.module.ts';

Looks like it's one of the problems described here.
Am I missing an option or anything? Thanks

Yes setting extensions in imports is the currently suggested way. There is the defaultExtension package configuration option (https://github.com/systemjs/systemjs/blob/master/docs/config-api.md#packages), which will set it automatically when there is no extension, but that would only apply to import { myModule } from 'module' and not import { myModule } from 'my.module' as the last one already has an extension.


Contact Us & Feedback Section modification

It was found that the "Message Box"  is not aligned in the "Contact Us" Section & "Feedback Section" of the website.
This tiny thing is distorting and negatively impacting the interface of the enriching and vibrant website.
Also, the cursor is so close to the box border which is hiding and creating a bad User Experience.
It seems that the complete division of "Contact Us" and "Feedback Section" needs proper alterations
Therefore, Assign me to fix this issue and give me an opportunity to contribute.

It was found that the "Message Box" is not aligned in the "Contact Us" Section & "Feedback Section" of the website. This tiny thing is distorting and negatively impacting the interface of the enriching and vibrant website. Also, the cursor is so close to the box border which is hiding and creating a bad User Experience. It seems that the complete division of "Contact Us" and "Feedback Section" needs proper alterations
Therefore, Assign me to fix this issue and give me an opportunity to contribute.

@Its-Aman-Yadav Please assign me so that I can work on this!


Fix error on compiler without VLA support

Fixes compilation error on undefined symbol LV_HOR_RES on compilers where VLAs are not supported.

@manison I found another spot where the same problem is.. so I'll merge this PR and fix the other problem. Thanks for the report!


Feature: Update Component Props & Type Dotting Component Props

🚀 [Related Issue: #18 ]
Preview

Changes

Remove initBrushColor & initBrushTool from Dotting props. Instead use brushColor & brushTool

[🎨Component] Remove initBrushColor & initBrushTool. Instead use brushColor & brushTool

initBrushColor & initBrushTool seemed to complicate Dotting props. I instead changed the props to brushColor & brushTool. Now the user can use useState to control brushColor & brushTool.
The below code is an example on how you could use useState for controling brush tool and brush color

import { Dotting, BrushTool } from "dotting";
import { useState } from "react"

const DottingExample = () => {
  const [brushTool, setBrushTool] = useState<BrushTool>(BrushTool.DOT);
  const [brushColor, setBrushColor] = useState<string>(brushColor);
  return (
    <div>
      <Dotting width={300} height={300} brushColor={brushColor} brushTool={brushTool} />
    </div>
  );
};

[📒Docs] Type Dotting component props

Previously the Dotting component argTypes did not sync with recent updates on Dotting props.
I created several functions to manage argTypes easily. I have created helper functions such as generateComponentControlForEnum & generateComponentControl

[🔗Other] Fix backgroundMode change not applying

While working on the props, I figured that backgroundMode change did not apply.
I fixed the issue by fixing the error.

Notes

Since the props of Dotting has changed and major changes have been applied to Dotting, a new version 1.1.0 will be released if this PR is merged. @lerrybe @Lee-Si-Yoon

Next Up?

For the ease of comparing what I have done, I have set the branch to merge as feature/selectTool2. After people have confirmed the changes, I will change the base branch to merge to the main branch

I will merge this request tonight or tomorrow morning to update our dotting version to 1.1.0. @lerrybe @Lee-Si-Yoon


Navigator node not found

Description
Hello,
I have been encountering an issue with opening certain tabs since several versions.
It often happens that a tab refuses to open and displays the following message instead of my table:

Navigator node 'node://General/datasources//microsoft--**/database//schema/dbo_1/table/********************_1328723786' not found
Possible reasons:

The connection view was changed
The object this editor was opened for no longer exists in the database

This occurs regardless of the database being used.

Navigator node 'node://General/datasources//db2_iseries--***********/ADPFILE/table/*' not found

The problem arises when I close DBeaver and open it the next day.
The database exists and so does the table in question.
Nothing has changed except for the connection which was interrupted.
This error started occurring only recently (I haven't tested it yet, but I would say roughly since v23.0).

DBeaver Version
Community Edition Version <IP_ADDRESS>401211839
Operating System
Windows 11 (FRA)
Database and driver

IBM DB2 iSeries/AS 400 driver : 20.0.6
Microsoft JDBC Driver for SQL Server (MSSQL) : 12.4.1
MariaDB JDBC driver : 3.0.7
Driver for MySQL 8 and later : 8.2.0
Sybase jConnect driver : jconn4
Oracle JDBC driver : <IP_ADDRESS>
PostgreSQL standard driver : 42.5.2

Steps to reproduce

Open a table
Quit DBeaver
Wait 24 hours
Open again

Additional context
No response

Hello @A-Nicoladie
Could you please provide an example of your table name for testing? It can depend on the table name.
For ordinary "newtable," I can't reproduce your issue.

I have exactly same problem.

Same, happening with every connection tab that was left open and when reconnection is done.
Happening on v <IP_ADDRESS>402060628 and at least 1 previous version (can't confirm which, sorry).
Steps:

Have an SQL connection.
Open a table / view open and view Data.
Close DBeaver
Re-open. All tabs will show this error.

Screenshot:

I've also this problem since 23.3.0 update version.
I'm using Dbeaver Community Edition with Oracle Databases.

I also have this problem with Dbeaver Community Edition 23.3.0 (Oracle).

Could you please provide the log files? You can find instructions here: https://dbeaver.com/docs/wiki/Log-files/. Thank you.

Before, I deleted all the log files and tried again to reproduce the problem (to avoid too much unnecessary information)
Here are the files DBeaver-Log_files-Issues_22655.zip
The archive contains these 3 files:

".log"
"dbeaver-debug.log"
"dbeaver-debug-1707482586924.log"

Same here, at least from 23.3.2
In my case, connections with SSL tunnels.

+1 here. It has been happening after a few days/versions.
In my case connecting to Snowflake and it doesn't need to be after closing and opening. It happens in the same day after the connection times out. Database gets disconnected and all the tables I had open look like this:

And I have to close them all and open again.
Would you like log files? I would need to review the information that those contain.

Would you like log files? I would need to review the information that those contain.

Yes, please.

The log from above shows the error:
Node 'PRD' not found in parent node 'node://General/datasources'.
PRD is a subfolder from SNOWFLAKE folder. And the connection is inside that folder.

Allowed children in my comment above (last line of the code block) are all the folders and connections that I have at the root level. From the picture above you can see MSSQL folder and SNOWFLAKE folder.
AAAND
I can confirm the issue:

That Node address is wrong.
I created now a connection inside a root folder, and the problem does not happen.
Correct Node address:
node://General/datasources/SNOWFLAKE/PRD/[...]
and not
node://General/datasources/PRD/[...]
Steps to reproduce:
Create two connections, one inside a folder, one in a subfolder:
aa/connection1
aa/bb/connection2
Set the "Close idle connection after" to something low.
Open both and open a table in each, wait for connection to time out and click on:

One will fail (connection2), one will not (connection1).
At least this is happening to me right now. So I will move for now all my connections outside of subfolders within folders.

Same, happening with every connection tab that was left open and when reconnection is done. Happening on v <IP_ADDRESS>402060628 and at least 1 previous version (can't confirm which, sorry).
Steps:

Have an SQL connection.
Open a table / view open and view Data.
Close DBeaver
Re-open. All tabs will show this error.

Screenshot:

Look at this screenshot, the node address is not taking into account that the "SQlite" folder is inside "Databases" folder. Log will show for allowed children "Databases" only.

I reproduced the issue with help of the steps specified in https://github.com/dbeaver/dbeaver/issues/22655#issuecomment-1945619565

The issue persists (DBeaver v24.0.0). If there is at least one open tab during the DBeaver startup, this error message appears

If I close all the tabs and reopen DBeaver - no error.. This is MySQL if that matters
This is the error log
dbeaver_error_log.txt
P.S. I just experienced this error opening another (Postgres) connection right at the moment I was trying to open the table list. It still allowed me to access it though (after closing the error message).

I'm experiencing the same issue. The steps for reproduce are:

Open Table Editors by clicking a table on the left panel
Close dbeaver
DROP the whole DB and CREATE it from scratch (this steps are needed in my case when, for example, I'm testing a feature and I want to do with a "clean" db; so I execute something like "recreate local db" which will drop it and create it from a existing SQL file
Open Dbeaver

Now the editors are gone I have to manually open them again. The error message is the same as the first picture.
btw great work, you guys really make my work easier


App Gateway gives 502 after TRE deployment - Open Census error

Describe the bug
Deploy the Azure TRE and get a 502 on app gateway. The API app logs show:
WARNING:opencensus.ext.azure.common.transport:Forbidden error 403: {"itemsReceived":2,"itemsAccepted":0,"errors":[{"index":0,"statusCode":403,"message":"Component private link id does not match incoming link and has publicNetworkAccessForIngestion=Disabled"},{"index":1,"statusCode":403,"message":"Component private link id does not match incoming link and has publicNetworkAccessForIngestion=Disabled"}]}.

This looks like app insights private link DNS issues, maybe a race condition - need to check if the API might get deployed before the DNS zone?

This has been seen elsewhere. During deployment, the health endpoint can return 502 :
Calling /health endpoint... (2 retries left)
Calling /health endpoint... (1 retries left)
Calling /health endpoint... (0 retries left)

*** ⚠ API _not_ healthy ***
Non-success code returned: 502
Response:

<title>502 Bad Gateway</title>

502 Bad Gateway

Microsoft-Azure-Application-Gateway/v2

### ERROR: Dev container exec: Command failed: bash -c make deploy-core build-and-deploy-ui-wrapped
./AzureTRE/devops/scripts/api_healthcheck.sh (exit code: undefined)
An error occurred running a command in the container.
##[error]Command failed: bash -c make deploy-core build-and-deploy-ui-wrapped
./AzureTRE/devops/scripts/api_healthcheck.sh

Theory is that this is a race condition during deployment.
Potentially, setting up an explicit dependency on the private link within the app gateway may help.

@martinpeck can this be closed, and we can reopen is see the issue again?

Sure. Will close it now.


Feature request OpenMessaging latest version support

FEATURE REQUEST

Please describe the feature you are requesting.
As OpenMessaging latest version based on Topic(Pub/Sub) model, it would be better if RocketMQ
can support this standard to avoid locked by RocketMQ client.

Provide any additional detail on your proposed use case for this feature.

Indicate the importance of this issue to you (blocker, must-have, should-have, nice-to-have). Are you currently using any workarounds to address this issue?

If there are some sub-tasks using -[] for each subtask and create a corresponding issue to map to the sub task:

sub-task1-issue-number: sub-task1 description here,
sub-task2-issue-number: sub-task2 description here,
...

It looks great! @duhenglucky


Allow Symfony 7

I'm not sure if our testsuite is causing the error or it's a bug, but I created an issue


warning if someone tries to  /hit or /killed after /killed

will give a warning if they want to use another command that consumes a ticket after already using the previous /killed command

discord.app_commands.errors.CommandInvokeError: Command 'killed' raised an exception: AttributeError: 'Boss' object has no attribute 'last_kill_id'
[2023-02-08 07:00:33] [ERROR   ] discord.app_commands.tree: Ignoring exception in command 'killed'


Consider generating code from API definition

I have found it nice to generate code from API definitions (as opposed to the opposite direction). It looks like you might be manually writing each here right now? I would take a good look at generating from protobufs... It is a very nice way of defining services. You get benefits of gRPC + the swagger/REST stuff for free (for clients who like REST).
If you havent already looked into Google's API design docs, I think they are top-notch: https://cloud.google.com/apis/design/
Just some ideas...

That's definitly the goal based on the api specification
https://github.com/moov-io/achsvc/blob/master/api/openapi.yaml
I should probably write the code in my own repo as I try an figure out the best way to architect the solution.

Saw that you had that there... I tend to favor .proto files as the master IDL (the origination of the generation) as you can generate those pesky swagger files off of them as well. The protoc tool also makes it easy to extend generation for your domain needs.

I think we'd generate clients (probably just in Go) off the swagger file(s) and help out others to generate clients in other languages.
I'm thinking we should have one swagger / api reference. https://github.com/moov-io/docs/issues/5

We're doing this over at https://github.com/moov-io/go-client (we will automate building this).
Our OpenAPI spec lives here: https://github.com/moov-io/api/blob/master/openapi.yaml


Installer not found

Hi,
I tried to follow the Readme, but the bash installer command is failing.
I also tried to find this installer on this repository, but can't.
How I can install the dotfiles?
$ bash <(curl -s https://raw.githubusercontent.com/rgomezcasas/dotfiles/master/installer)

/dev/fd/11: line 1: 404:: command not found
$ curl -s https://raw.githubusercontent.com/rgomezcasas/dotfiles/master/installer
404: Not Found%
$ curl -i https://raw.githubusercontent.com/rgomezcasas/dotfiles/master/installer
HTTP/2 404
content-security-policy: default-src 'none'; style-src 'unsafe-inline'; sandbox
strict-transport-security: max-age=31536000
x-content-type-options: nosniff
x-frame-options: deny
x-xss-protection: 1; mode=block
content-type: text/plain; charset=utf-8
x-github-request-id: 14D8:6572:2A1F08:2DAEA1:61CF11DA
accept-ranges: bytes
date: Fri, 31 Dec 2021 14:21:44 GMT
via: 1.1 varnish
x-served-by: cache-gig2250024-GIG
x-cache: HIT
x-cache-hits: 1
x-timer: S1640960504.367827,VS0,VE0
vary: Authorization,Accept-Encoding,Origin
access-control-allow-origin: *
x-fastly-request-id: 8ae61d668aa5bef411ff698557043864c9b31679
expires: Fri, 31 Dec 2021 14:26:44 GMT
source-age: 29
content-length: 14

404: Not Found%
$

tks

Hi,
That installer is customized for @rgomezcasas dotfiles repository. You need create one for yourself. You can guide it with my [installer] (https://github.com/jvegaf/dotfiles/raw/main/installer) file.
Although I have it modified to use it with Linux, you can get an idea of how it works ☺

Oh, this helps me a lot!
tks


typehint MetarData and TafData on Metar and Taf classes

this should improve developer experience.

I'll merge this later tonight and start expanding my local mypy coverage. That should definitely help.

I'm personally not using mypy, just vscode with pylance. Another thing I noticed: avwx.Metar().data.wind_guest might be optional[Number] instead of Number.
Not sure about the other wind_things

Yeah practically every major dataclass in the report is Optional except for flight rules - the mere absence of criteria results in IFR by regulation. I started by running mypy on the core components and started working my way up but got distracted. I'll bring everything back up to speed so it should work with pylance and other code servers.


BUG: Sequences cannot be reordered

The readme says this:

Note that the elements of both mappings and sequences are sorted alphabetically, even though this is not explicitly required by the YAML specification.

For mappings that is absolutely fine as there is no required ordering of the keys as stated in this section of the spec: http://yaml.org/spec/1.2/spec.html#id2765608.
But for sequences, not only is it not required, it is absolutely FORBIDDEN!! Quoting this section of the spec: http://yaml.org/spec/1.2/spec.html#id2764044

The content of a sequence node is an ordered series of zero or more nodes

The elements of a sequence are ordered. Whatever order I add them in is the order they must come out. You are not allowed to reorder the nodes in a sequence.
The YAML spec does mention the concept of an unordered set in this example but it is a mapping where all the keys map to null: http://yaml.org/spec/1.2/spec.html#id2761758
This bug makes this library absolutely useless!

@dalewking
To be honest, I wasn't exactly sure whether "ordered" means the order of reading or not, so I took it after yamllint.com, which at the time I clearly remember ordered the elements of a sequence alphabetically (now it doesn't anymore, from what I see).
I will fix this as you suggest asap (probably in the next days), but relying on the input order is either way not a good practice. Keep in mind that this library is based on interfaces, so you can probably have the following decorator:
public MyOrderSequence implements YamlSequence {

     private YamlSequence read;
     private Comparator comp;

     //ctor

     // in this class you should be able to access read.children() and order them based on your Comparator. The YamlSequence methods are easily implemented.
}

Furthermore keep in mind that it is only version 0.0.2 a lot of the functionality is not yet covered, see here.

@dalewking I won't be having time for this anytime soon. If you are interested, please provide a PR. The changes should be minimal.

Remove the sorting from RtYamlSequence (the one that is built by the user via the Builder)
Remove the usage of OrderedYamlLines from ReadYamlSequence (the one that is read from an input source.
Fix failing tests.

If you woult like to make a PR, fork/clone the repo, make the changes on branch 129 (number of this ticket) and make a PR after the build $ mvn clean install -Pcheckstyle passes.

Don't really care any more. I just needed to do a one-time quick export of some data from an app for a new version of the app.


:penguin: Support building Fedora arm images

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

doesnt really work on rpi, kernel fails with
grub> linux (loop0)/boot/vmlinuz-6.9.9-200.fc40.aarch64
error: ../../grub-core/loader/arm64/efi/linux.c:59:invalid magic number.


chore: change to more natural Korean

Update some Korean translations to make it more natural.

@Hyun2 Thank you for these improvements! Will merge today


Issue snap 0.5 build: 2017-02-06  Elem.attr("fill")

I get this new error with the following code (with snap.svg.js 0.5  build: 2017-02-06):
`var s = Snap("#svg1");
var r = s.rect(100,100,100,100).attr({ stroke: '#123456', 'strokeWidth': 20, fill: 'red', 'opacity': 1 });
console.log(r.attr("fill"));
Uncaught DOMException: Failed to execute 'querySelector' on 'Document': 'rgb(255, 0, 0)' is not a valid selector.
at Snap (http://<IP_ADDRESS>:38233/test-snap-0.5/code/snap.svg.js:901:30)
at Element. (http://<IP_ADDRESS>:38233/test-snap-0.5/code/snap.svg.js:4516:16)
at eve (http://<IP_ADDRESS>:38233/test-snap-0.5/code/snap.svg.js:111:28)
at Element.attr (http://<IP_ADDRESS>:38233/test-snap-0.5/code/snap.svg.js:2280:24)
at http://<IP_ADDRESS>:38233/test-snap-0.5/code/app.js:4:15
Snap @ snap.svg.js:901
(anonymous) @ snap.svg.js:4516
eve @ snap.svg.js:111
Element.attr @ snap.svg.js:2280
(anonymous) @ app.js:4`
Can someone confirm?
thank you

Is this with v0.5.1?

Fixed in 0.5.1

I am still having this issue and am using version 0.5.1.
I am trying to animate a fill from a path using the following code
el.animate({'fill': 'red'},1000);

Can confirm this http://jsfiddle.net/qywLcpqe/

Hmm that's using 0.5.0 from a cdn, just double checking

I note https://github.com/adobe-webplatform/Snap.svg/blob/master/dist/snap.svg.js has 0.5.1 written at the top, but 0.5.0 lower down for Eve and version.
Not sure if that's correct, as I'm not so familiar with that side of things, but thought I would mention it in case.

Thanks a million 👍  ! I was using the cdn link in my code and have just downloaded the latest distribution and works perfectly!

That's great. Missing piece of the puzzle for me, is how CDNs get their files in the first place.

Confirm resolved in 0.5.1. As above there is confusing version on CDN that has filename 0.5.1 but is actually 0.5.0.


diarization-7 seconds

The service performs best with at least 7 seconds of continuous audio but this is not the ideal case for most of the cases , can u guys improve this

@AbhinavShaw09 Thanks for the feedback, improving the performance here is under planning currently on our service teams. There is no ETA yet. The service currently requires 7seconds audio to be collected from the speaker during the conversation in order to be able to diarize the speaker.

Closed since no further update in 3 weeks. Under consideration as a future improvement, no ETA.


Swagger UI won't work if API base path is used (e.g. uvicorn --root-path)

Hi,
first of all, great work on this project!
I am trying to get it working behind a proxy that will forward request from /whisper
Following FastAPI docs I have been able to run the API properly.
My docker entrypoint  now looks like this
uvicorn --host <IP_ADDRESS> --port 9000 --workers 1 app.webservice:app --root-path /whisper
One downside is that OpenAPI UI doesn't load properly as it always listen on /docs instead of /whisper/docs
I am not familiar with FastAPI library thus I have not been yet able to make it work, do you have a suggestion ?
I will be happy to provide a PR to support this feature, once sorted out.
Thank you
Kind regards

Ok got it sorted out somehow. Let me know if it make sense to you. Thanks!


Private video URLNotSupported

Hi,
I've got video on unsual link, it looks like:
https://vimeo.com/123456789/abcdef1234

(Number then it's followed by 10 character in hexadecimal - i did not notice other character than 0-9a-f ).
With link above I get error:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/user/.local/lib/python3.7/site-packages/vimeo_downloader/__init__.py", line 179, in __init__
    self._video_id = self._validate_url()  # Video ID at the end of the link
  File "/home/user/.local/lib/python3.7/site-packages/vimeo_downloader/__init__.py", line 202, in _validate_url
    f"{self._url} is not supported. Make sure you don't include query parameters in the url"
vimeo_downloader.URLNotSupported: https://vimeo.com/123456789/abcdef1234 is not supported. Make sure you don't include query parameters in the url

Sorry, I can not share the URL 😔

Now you could download video from their vimeo video IDs. Try this:
use the unique numeric part of URL as video ID
from vimeo_downloader import Vimeo

cookies = " paste cookie if authentication is required "

v = Vimeo.from_video_id(
    video_id="559068114",
    cookies=cookies,
)
best_stream = v.best_stream
title = best_stream.title
download_url = best_stream.direct_url
best_stream.download() # to download video

Hi,
So I tried using GitHub version and in video_id the video id and the "code" :
saper@spc-deb-vm:~ $ python3
Python 3.7.3 (default, Jan 22 2021, 20:04:44)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from vimeo_downloader import Vimeo
>>> v = Vimeo.from_video_id(video_id="123456789/abcdef1234")
>>> bs = v.best_stream
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/saper/.local/lib/python3.7/site-packages/vimeo_downloader/__init__.py", line 334, in best_stream
    return self.streams[-1]
  File "/home/saper/.local/lib/python3.7/site-packages/vimeo_downloader/__init__.py", line 310, in streams
    js_url = self._extractor()
  File "/home/saper/.local/lib/python3.7/site-packages/vimeo_downloader/__init__.py", line 253, in _extractor
    f"{js_url.status_code}: Unable to retrieve download links"
vimeo_downloader.RequestError: 404: Unable to retrieve download links

No luck 😔

@saper-2
In this URL https://vimeo.com/123456789/abcdef1234, try this as ID 123456789

https://github.com/yashrathi-git/vimeo_downloader/issues/2


where is the code of the Probability of being a Negative Sample when IoU between 0.5 and 0.95?

t = lambda x: 1/(0.5alpha-1)*xalpha - 1/(0.5**alpha-1)
It looks like, but it doesn't seem like

For convenience, we set this function to come across point (0.5,1) and (1,0), not (0.95,0). We find there is no difference between (0.95,0) and (1,0).

thanks！


Diff between OpenXR QR sample vs. WinRT QR sample in Unity

Please don't merge this PR into main branch.
This PR is to highlight an OpenXR unity project vs. the WinRT unity project for QR tracking.  Other than adding the OpenXR plugin package to the unity package manifest and auto generated openxr settings,  the key difference is in the SpatialGraphNodeTracker.cs file, where the SpatialGraphNode class is built in the OpenXR plugin to provide tracking of a static node represented by GUID from the platform.
Note:  you can checkout the OpenXR QR code sample from the "openxr" branch:
https://github.com/microsoft/MixedReality-QRCode-Sample/tree/OpenXR

This approach works for me, but there is a problem that occurs if the HoloLens loses tracking and starts mapping a new space that is unrelated to the space the app started with.  By "unrelated", I mean that the new space is not connected to the old one.  In this case, the TryLocate method returns false.  This can be easily reproduced by deleting the spatial maps using the device portal:

Start the app
Note that QR tracking works as expected
In Device Portal / System / Map Manager, press "Reset system map, anchors and spatial mapping database"
Wait for the HL to regain tracking
Try scanning the QR code again, and notice that the QR code can be detected, but the pose of the marker cannot be obtained.


[OPIK-414] Compute span cost based on token usage

Details
Computes span cost based on token usage
Resolves #OPIK-414
Testing
Added integration tests
Documentation
https://www.notion.so/cometml/Opik-Span-Cost-tracking-13c7124010a380a7ad36ced128a26dc7

filtering
@thiagohora
Yes, it should support filtering. Will be added in a separate PR.


Pre-trained model available?

HI, szagoruyko
Thank you for the excellent code! I am developing a CNN for activity recognition. Our model will largely benefit with a pre-trained model. I am wondering if you will provide the pre-trained model for CIFAR-10 or other datasets like imagenet?
Thank you!

Yes, I will release CIFAR and ImageNet models as soon as I get them trained.

Okay. Looking forward to your results!

Szagorukyo could you provide the network structure you are using for training on imagenet? What is the depth and width used on that case?


Conform to Kubernetes repo requirements

Kubernetes repo requirements can be reviewed here

Add CONTRIBUTING.md
Add OWNERS
Add OWNERS_ALIASES
Add RELEASE.md
Add SECURITY_CONTACTS
Add code-of-conduct.md

Signed-off-by: Stephen Augustus<EMAIL_ADDRESS>

Merging this as it's been approved by multiple people.