Trying to execute autoscale on machine once the blueprint is executed and before run

Got a lot of this error in tmux deamon logs, once a blueprint had been executed and include creating a VM
this happens before running the blueprint
and once I run the bp and machine is created this error disapears

[Thu29 14:08] - ...ib/JumpScale/sal/nettools/NetTools.py:67   - DEBUG    - test tcp connection to '' on port 2200
[Thu29 14:08] - ...ib/JumpScale/clients/ssh/SSHClient.py:191  - ERROR    - Cannot connect to ssh server :2200 with login:root and using sshkey:/optvar/cockpit_repos/s3server4/services/sshkey!auto_0/id_rsa
Error of job: fs.btrfs!data (autoscale):
*TRACEBACK*********************************************************************************
Traceback (most recent call last):
  File "/opt/jumpscale8/lib/JumpScale/baselib/jobcontroller/Job.py", line 169, in executeInProcess
    res = self.method(job=self)
  File "/tmp/actions/fs.btrfs/autoscale.py", line 9, in action
    code, out, err = cuisine.core.run('btrfs filesystem  usage -b {}'.format(service.model.data.mount), die=False)
  File "/opt/jumpscale8/lib/JumpScale/tools/cuisine/CuisineCore.py", line 1033, in run
    if "cygwin" in self.uname:
  File "/opt/jumpscale8/lib/JumpScale/tools/cuisine/CuisineCore.py", line 1251, in uname
    self._uname = self._executor.execute("uname -a", showout=False)[1].lower()
  File "/opt/jumpscale8/lib/JumpScale/tools/executor/ExecutorSSH.py", line 173, in execute
    rc, out, err = self.sshclient.execute(cmds2, die=die, showout=showout)
  File "/opt/jumpscale8//lib/JumpScale/clients/ssh/SSHClient.py", line 251, in execute
    ch = self.transport.open_session()
  File "/opt/jumpscale8//lib/JumpScale/clients/ssh/SSHClient.py", line 179, in transport
    "Could not connect to %s:%s" % (self.addr, self.port))
JSExceptions.RuntimeError: ERROR: Could not connect to :2200 ((type:runtime.error)

******************************************************************************************

Blueprint
g8client__main:
    url: 'du-conv-2.demo.greenitglobe.com'
    login: 's3user'
    password: '********'
    account: 's3_acc'

vdc__scality22:
    g8client: 'main'
    location: 'du-conv-2'

disk.ovc__disk1:
  size: 1000

s3__s3vm:
    vdc: 'scality22'
    disk:
      - 'disk1'
    hostprefix: 's3app22'

The log shows that the machine didn't get an IP. Please update after checking the env?

the vm is not even created yet,
the bp only executed and didn't run yet
so nothing in the env created

Indeed a bug. Daemon shouldn't pick up autoscale until install has been executed

Issue created on code repo. https://github.com/Jumpscale/jumpscale_core8/issues/692


Bug59353_NewPartInChanges.html

Hi,
I propose to have a dedicated part called "Deprecated and removed
elements" in "Incompatible changes" part in changes.xml
Like that it will be more visible for user
I have add Spline Visualizer listener and Distribution Graph listener
which are not mentioned in changes.xml
Antonio

Hi Antonio,
I think it's a good idea.
But if you want to create a PR for docs, you must update changes.xml .
All html files are generated from xml.
Regards
Philippe

Hi Philippe,
My title of PR is not good
I have modified xdocs/changes.xml file and not the html file
Antonio

Merge by Milamber
This closes #203
Antonio


Failed to load resource

I noticed the error below on loading the skins:
Failed to load resource: the server responded with a status of 404 (Not Found) => http://darshandsoni.com/asciidoctor-skins/css/css/asciidoctor.css

It seems that this is occurring because of this line that tries to import asciidoctor.css from css/asciidoctor.css, which of course doesn't exist now since the skins themselves are located in the css directory.
I'll see if I can submit a PR to fix this.

It's funny how that's not showing up on my end... and asciidoctor seems to work as intended... despite the fact that you're obviously right and that path should invalidate!

I shall merge the PR anyway, because it's the right thing to do.

For future reference, I think it was still working anyway even with the wrong path because we are actually loading the default stylesheet twice (once in index.html, and again in each custom skin).

Ahh that explains it! Thanks for picking that up. There's always a simple, logical explanation at the end of all of weird bugs.


Haplotypecaller is overprovisioned

Description of the bug
Haplotypecaller is set to process_medium after which the setting are overrided in modules.conf to increase time and set cpu's to 1
This causes the job to request too much memory.
I suggest setting to process_single which should be enough for single chunks (pending execution report)
Command used and terminal output
No response
Relevant files
No response
System information
No response

Execution report shows mem usage of max 4.GB, so definitely overprovisioned!

Thank you this was on my todo list :)


Can't update existing function

TL;DR
I'm trying to use this action to update an already existing function in Cloud Functions but it's telling me that I have to create a new function instead.
Expected behavior
To update my existing function.
Observed behavior
Failed to create function, function csp-reports already exists under Gen 2 environment.
Please delete conflicting function first or deploy the function with a different name.

Action YAML
name: Deploy CSP Reports cloud function
on:
  workflow_dispatch:
    inputs:
      environment:
        description: The environment to deploy to
        type: choice
        options:
          - staging
          - production
        default: staging
  push:
    branches:
      - main
    paths:
      - './cloud_functions/csp_reports/*'
concurrency:
  group: deploy-csp
  cancel-in-progress: true
jobs:
  deploy-csp-reports:
    runs-on: ubuntu-latest
    permissions:
      id-token: write
      contents: read
    steps:
      - name: Checkout repo
        uses: actions/checkout@v2

      - name: Authenticate to GCP Staging
        id: auth-staging
        uses<EMAIL_ADDRESS>        if: ${{ github.event.inputs.environment == 'staging' }}
        with:
          workload_identity_provider: ${{ secrets.WORKLOAD_ID_PROVIDER_STAGING }}
          service_account: ${{ secrets.SERVICE_ACCOUNT_STAGING }}

      - name: Authenticate to GCP Production
        id: auth-production
        uses<EMAIL_ADDRESS>        if: ${{ github.event.inputs.environment == 'production' }}
        with:
          workload_identity_provider: ${{ secrets.WORKLOAD_ID_PROVIDER_PRODUCTION }}
          service_account: ${{ secrets.SERVICE_ACCOUNT_PRODUCTION }}

      - id: 'deploy'
        uses<EMAIL_ADDRESS>        with:
          name: 'csp-reports'
          runtime: 'nodejs16'
          source_dir: 'cloud_functions/csp_reports'

Log output
Extracted project ID 'unstoppable-domains-staging' from $GCLOUD_PROJECT
Created zip file from 'cloud_functions/csp_reports' at '/tmp/cfsrc-8d52d965f35eaeb0d8c14604.zip'
Creating new Cloud Function deployment
Error: google-github-actions/deploy-cloud-functions failed with: failed to POST https://cloudfunctions.googleapis.com/v1/projects/unstoppable-domains-staging/locations/us-central1/functions: unuccessful HTTP response: 400, body: {
  "error": {
    "code": 400,
    "message": "Failed to create function, function csp-reports already exists under Gen 2 environment. Please delete conflicting function first or deploy the function with a different name.",
    "status": "FAILED_PRECONDITION"
  }
}

Additional information
No response

yes sorry


Skew

I managed to make skew work on:
image.Skew(10, 20, this.ProgressUpdate)
image.Skew(-10, -20, this.ProgressUpdate)
But it bugs on
image.Skew(-10, 20, this.ProgressUpdate)
image.Skew(10, -20, this.ProgressUpdate)
I will continue to try to fix this.
Since this is a type of skew which is on pixel level. 1 to 1. You must not lose or duplicate any pixels.
I have also remove a lot of memory used.
Dont put this into the core.

Excellent. It's great to see you making progress! :+1:
I think some of the changes you have made can be carried over to reduce the memory used on the rotate method also.
I'm going to be pushing a massive change to the project very soon which move a lot of files around and changes the way pixels are accessed to reduce overall memory pressure. You'll want to update you code from the source before continuing.

Have you had a look at the transform matrices available in the System.Numerics.Vectors namespace. I'm sure they should provide all you need. I've just used them wrong.

Yes. I working with 3 versions. One which is not using the system.numerics.

This is only looking at it on the pixel level. the one in the pull request.

The other method is using system.numerics.vectors.  The scale is not correct. I will look at how the new size target is created.

This is use float. And works allmost as Number 1. And works bit better than nr 1. But the code is not readably.
There is one thing I dont undertstand about the code.  Why cloning the picture to firstpass?
I will contine looking at it in the weekend.

jun. 2016 00.38 skrev James Jackson-South notifications@github.com:Have you had a look at the transform matrices available in the System.Numerics.Vectors namespace. I'm sure they should provide all you need. I've just used them wrong.

—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or mute the thread.

Cool thanks, I'd like to get a System.Numerics version working as that gives me the SIMD performance boost.

There is one thing I dont undertstand about the code.  Why cloning the picture to firstpass?

I cloned because the transformed points I was getting back from my calculation were outside the dimensions of the source image and led to my image being cut off. It was a sloppy workaround.

Is this now a working version then? If so, awesome! I can use it to improve the memory usage in rotate.
Don't worry about the Appveyor checks just now, I can pull, and do the necessary changes if you like?

You mean the numbers I was passing to Point.Skew?

Hi.
My code is now ready for review. It is now working. I found a bug i target resize. It gets to small. Look for invSkew variable. If rotate uses the same code the formula for target size is also worng, but it works because it is 90 deg beteen x,y axsis.
I hope this was the fault.
There are some lame if-s i the code which can be changed.
26. jun. 2016 23.13 skrev James Jackson-South notifications@github.com:Is this now a working version then? If so, awesome! I can use it to improve the memory usage in rotate.
Don't worry about the Appveyor checks just now, I can pull, and do the necessary changes if you like?
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or mute the thread.

Hey @srekvin I've just merged and tested your Skew code and it works great! Thanks! :+1:
Could you do me a huge favor and have a look at RotateProcessor.cs to see where I have gone wrong there. I've tried to port your approach across but the rotated image is off-center. I'm sure it's something simple I've missed.

I can look at it.
28. jun. 2016 08.49 skrev James Jackson-South notifications@github.com:Hey @srekvin I've just merged and tested your Skew code and it works great! Thanks! 👍
Could you do me a huge favor and have a look at RotateProcessor.cs to see where I have gone wrong there. I've tried to port your approach across but the rotated image is off-center. I'm sure it's something simple I've missed.
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or mute the thread.


fix: bad visibility for last explorer item

What
Fixes bad visibility for last item when scrolling down (still has "fade" gradient, so last item is hard to read)

Before
After

How
Uses IntersectionObserver on last item, then removes gradient only if last item is in view.

I am still facing the same issue:

https://md.stormyark.de/
eventhough this fix is implemented in the code


'ReactDOM' is not defined  no-undef  problem occurs while running this script?

code i used :
import ReactDOM from 'react-dom';
import React from 'react';
const App= () =>(

Hello first React project

)
ReactDOM.render(,document.getElementById('root'))
error i got :
Failed to compile.
src/index.js
Line 14:1:  'ReactDOM' is not defined  no-undef
Search for the keywords to learn more about each error.

can any one help me to solve this problem and say why it occurs because i beginner to this reactjs

You just have have to correct "import ReacrDOM from ...." into "import ReactDOM from react-dom"
The letter 'r' has to be replaced by 't' and give you and also, my advise will be to always put "import React from ...." on top
import ReactDOM from 'react-dom';
import React from 'react';

Make sure to close the issue and it would be great to leave me a star on my profile.
You can also fork this Todo-list and get a full ReactJS template project.
I am a ReactJS developer and will gladly help you if you have further questions or require an advice on this topic.
👍🏾
Eskabore

import React from "react";
import  ReactDOM from "react-dom";
import Heading from "./Heading";
import Para from "./Para";
import List from "./List"
function App(){
return (
<>

</>
);
}
export default App;

src\index.js
Line 4:1:  'ReactDom' is not defined  no-undef
Line 6:2:  'App' is not defined       react/jsx-no-undef
Search for the keywords to learn more about each error.

ReactDOM and ReactDom are different words, check your spelling ,it should be ReactDOM. React is case sensitive

Thank you for the response, I experienced the same problem then capitalized DOM then everything worked.

This is my code:
import ReactDOM from 'react-dom';
import React from 'react';
const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
<>

</>
)
and this is the error I'm getting:
[eslint]
src\root.js
Line 1:21:  'ReactDOM' is not defined  no-undef
Search for the keywords to learn more about each error.
ERROR in [eslint]


Pick out 2-3 datasets we can use to train

IMDB dataset

Sentiment140 dataset with 1.6 million tweets  (http://help.sentiment140.com/for-students)


608 send ico quest results from massa wallet

Codecov Report
Patch coverage: 100.00% and project coverage change: -0.19% :warning:

Comparison is base (c8725a0) 40.71% compared to head (9f0be25) 40.52%.
 Consider uploading reports for the commit 197a5d4 to get more accurate results

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the GitHub App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #672      +/-   ##
==========================================
- Coverage   40.71%   40.52%   -0.19%
==========================================
  Files          19       20       +1
  Lines        1378     1436      +58
==========================================
+ Hits          561      582      +21
- Misses        753      786      +33
- Partials       64       68       +4

Files Changed
Coverage Δ

internal/handler/wallet/create.go
89.06% <100.00%> (+0.17%)
:arrow_up:

internal/handler/wallet/transfer.go
61.42% <100.00%> (+2.33%)
:arrow_up:

... and 3 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


[Windows] Hovering menu two options are highlighted

Describe the bug
When hovering the main menu with the mouse two options are being highlighted at the same time.
To Reproduce
Steps to reproduce the behavior:

Go to any application with at least two menu items
Hover you mouse over the menu

Expected behavior
Only the option under the mouse is highlighted
Screenshots

Desktop (please complete the following information):

OS: Windows 11
Electron version: 20.0.0
Node Version: 18.14.2

I have also encountered this issue. When can the author fix it? Stay tuned

I'm also having the same issue with version 4.2.4 on Linux (Electron v25.3.1).

The issue is still present in version 4.2.5, in case it helps.

请问什么时候能解决？

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Error message dialog if creating main controller failed

I have MainWindowController which control MainWindowView.
MainWindowView class is an argument of launchApp static method.
@FXMLController
public class MainWindowController
{
	@PostConstruct
	private void initBean()
	{
            doSomething()
	}

	@FXML
	public void initialize()
	{
	     doSomething2()
	}
}

If doSomething or doSomething2 throw RuntimeException then application stuck on the SplashScreen.
The first case is caused by SpringApplication.run(this.getClass(), savedArgs) failed in init().
The second is caused by view.getView() failed in showView(Class<? extends AbstractFxmlView> newView)
I think that it would by more informative to show some error dialog or even close the app.

Yes, you are right. I'm thinking all the time about the "hanging splash screen".
Will address this soon.

Fixed with 1.3.23
Next step: Perhaps a i18n configurable text. (Blah, blah... Please send the log file to<EMAIL_ADDRESS>


borderlands, emball (logical-conflict)

This pull request was generated by the 'mq' tool

/trunk merge


5.1 and 7.1 surround sound not working

Operating system or device - Godot version:
Windows 10 - Godot 2 & 3
Issue description:
Trying to play spatial sound only works as left and right sound (stereo) ignoring the surround setup. It seems that in the code it's hardcoded to STEREO and the needed code is commented or has FIXME comments
Also there's no info on how to use surround sound, so maybe it's just not being set up correctly. I changed the audio Project Settings to 'surround' instead of 'stereo' with no luck

As far as I know 5.1 and 7.1 surround sound is not implemented in 2.1, and it likely won't be. It's supposed to be implemented in the master branch though, but @reduz did not have the required hardware to try it, so there might be some issues to fix.

there is support in 3.0 but i don have any hardware to test, and the
drivers need to be modified.
On Tue, Jul 4, 2017 at 8:35 AM, Rémi Verschelde<EMAIL_ADDRESS>wrote:

As far as I know 5.1 and 7.1 surround sound is not implemented in 2.1, and
it likely won't be. It's supposed to be implemented in the master branch
though, but @reduz https://github.com/reduz did not have the required
hardware to try it, so there might be some issues to fix.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/9494#issuecomment-312855524,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF-Z2-UAeLWjtWZRcKSNqhIz235-NbNzks5sKiNrgaJpZM4ONO_0
.

Tell me how and I can do the testing

@lexum0 Hey, I've been working on some surround fixes (#10568), could you help me test it?

Sure! What can I do?

You can test the new changes with this build: https://www.dropbox.com/s/ubgdstavst7kni9/godot.windows.tools.32.exe?dl=0, or if you prefer to compile the git branch with the changes is: https://github.com/marcelofg55/godot/tree/surround_fixes
Let me know if you find any issue with it, thanks!

I'm trying to run it but it keeps giving me this error:
ERROR: bind_methodfi: Class MeshLibrary already has a method remove_item
At: core/class_db.cpp:1182
and running the game crashes and won't run.
I compiled it for macOS Sierra. I'll give it a try on windows

What's your surround speaker configuration on windows? 5.1 or 7.1?

on Windows 7.1, on Mac 5.1

Could you try this patch on top of the surround_fixes branch? channels.patch.zip
It will show how much channels godot is detecting

it's detecting 6 or 8 channels, depending on how I set up the Mac. But no sound gets out, I think it's due to the error

And on windows?

Just tested on Windows with 5.1, still stereo sound. I don't have windows set up for compiling, so I can't test the patch on windows

Is there a way to visualize or read what each channel is supposed to output? Something like the db meter. If I can read a number for each channel, that would be super useful for testing, also for knowing what each speaker is supposed to be playing

@marcelofg55 how is this issue doing?

Surround is working now, so this should be closed I think. There is still some more work left to do with it: detect user speaker channel mappings and check/fix the 3d audio position logic. I'll keep working on it sometime.

It seems I just came across the same issue:
When using AudioStreamPlayer3D in a 5.1 surround configuration the sound does not seem to be positioned correctly. The panning between left and right side is abrupt and it is hard to hear from where the sound actually comes from. It is fine when I am switching to a stereo configuration, though.
However, I was playing around a little and implemented a different multichannel panning algorithm. Maybe someone with a 5.1 or 7.1 setup wants to give PR https://github.com/godotengine/godot/pull/30234 a try?
On Linux using Pulseaudio I also had to explicitly set the channel map - see PR https://github.com/godotengine/godot/pull/30232 .


Problem with parallax

I made a website with parallax like the example.
I notice that when I load first time the page, the parallax image dont set the right bottom value. When I scroll little or resize the page, all works fine!
You could see the example there: www.lavorirapidi.it
WHat is the problem?!

 This was already fixed


Show Timestamps option doesn't work for Chinese language

Thanks!
Your feedback has pointed me to a lot of bugs when dealing with Chinese language.
Please check the update and let me know if you're still find any bugs.

Thanks! It works now. I'll open a new thread if I encounter new issue.


Implement a cockroachdb datamodel connector (Validations, for Prisma Client API adaptations)

We have a cockroachdb provider under a preview feature, but it is currently using the postgres datamodel connector (since they are mostly similar). We want to start specializing Prisma schema validation logic for cockroachdb, so we need a datamodel connector. The initial version will be a copy of the postgres connector with a few modifications.
Let's use this issue to list the differences we want to reflect:

Money and XML column types are not supported
Some JSON filters don't work (see https://github.com/prisma/prisma-engines/pull/2423)
Json[] does not work (see https://github.com/prisma/prisma-engines/pull/2423)
No fulltext search capabilities
Enum list operations: push does not work (see https://github.com/prisma/prisma-engines/pull/2423)
Integer division issue (see https://github.com/prisma/prisma-engines/pull/2423)
...

Related

https://github.com/prisma/prisma-engines/pull/2423

Follow up

https://github.com/prisma/prisma/issues/10493

I think this is covered by https://github.com/prisma/prisma-engines/pull/2462 — please reopen if there is more work to be done there :)


Kong sometimes not recovering from temporary DNS resolution problems

Summary
In my environment, Kong relies on DNS A and SRV records from Consul to dynamically determine the IP address and ephemeral port for each service. Consul uses relatively low DNS TTLs to ensure fresh data for consumers such as Kong. Thus, Kong's DNS client refreshes DNS records fairly frequently. Sometimes my cloud provider experiences network latency or packet loss that prevents Kong from resolving one or more DNS records. Most of the time, Kong eventually resolves these records and continues to route traffic normally. However, in a few cases, Kong permanently reverts one or more services to a static port, usually 80, which causes errors indicating no response from the upstream server. The problem primarily seems to impact services with relatively high traffic volume. I'm fairly certain that a sufficient quantity of requests for a service that occur after Kong temporarily fails to resolve one or more DNS records for the service can trigger the problem. Removing and adding the relevant service and routes in Kong does not resolve the problem. Only restarting Kong (or the container) resolves the problem.
Steps To Reproduce

Configure Kong to rely on DNS A and SRV records.
Wait.
After some random amount of time, Kong will begin routing one or more services to port 80.

Hello,
This looks like a use-case for the dns_stale_ttl configuration property introduced in Kong 0.11. If you know how large that latency delay can be, would you mind trying to increase this value to something more appropriate or your environment?

Hi,
Thanks for the quick response on a Friday evening better spent away from computers! I do not know the exact latency between DNS resolution failure and recovery, but I'm guessing sometimes longer than the default of 4 seconds. I can increase the value to 15 and see if it helps. However, this problem is difficult to troubleshoot because it can happen anywhere from once every few weeks to a couple of times in a day. Can you tell me why Kong does not recover without restarting it?
Matt

Oh, I missed this part of your initial message:

Most of the time, Kong eventually resolves these records and continues to route traffic normally. However, in a few cases, Kong permanently reverts one or more services to a static port, usually 80

Pinging @Tieske, who maintains the DNS resolver library used by Kong (https://github.com/Kong/lua-resty-dns-client).

The dns_order property contains LAST. So once SRV lookup fails, and it gets a successful A for a name,  the next time it will first try the last successful, being A, and hence it won't recover to SRV.
Please read the DNS docs.

This https://docs.konghq.com/0.14.x/loadbalancing/#dns-caveats should be helpful - let us know if not (and note that we welcome pull requests to improve Kong’s documentation!)

we rely on the underlying openresty lib for that. It does have tcp retries, but I'm not sure whether it also does in these circumstances.
Also, what I get from consul is that it only returns 3, but iirc it also randomizes the response. So not sure whether the udp retry would even work.

I decided to create a new forum topic for further discussion. Do you want to continue the discussion here or there?


Implemented Review Comment

Pull Request Template
Title: Admin Page
Checklist

[x] I have tested my code and it works as expected.

[x] I have added/updated documentation where necessary.

[x] I have included tests for new features.

[x] I have followed the project's coding standards.

Checklist:

[x] I have tested my code and it works as expected.
[ ] I have added documentation for the changes made.
[x] I have included tests for the registration form validation.

@saurabhbakolia
Hi Saurabh,
I have implemented all your review comment in this PR. Could you please review again?
As of now, I have commented out Authentication Middleware in productRoute.js, since, It seems it is an existing issue and creating problem. Can I raise a separate issue for this bug and fix it?


[Feature] Scheduling Algorithms

Implement new Task and TaskManager tasks to implement DM, RM etc...
Tasks should take Ci, Ti and Di as arguments. The user will put the scheduling algorithm as cli arguments. If not feasible print so and ask if you'd want to try another one.

Closed in #13


Add support to test response headers

Summary
I'm looking at converting a very simple rails app that returns image responses. I want to test that the response content_type is correct. However, it seems the response object
Motivation
Having a level of comfort that when changes get rolled out that we didn't accidentally change the content_type.
Guide-level explanation
If you need to test response headers you can access the headers hash as part of the response object like this.
response.headers['Content-Type'].to eq('image/png')

Drawbacks
None that I can think of.

Done in #331 Released in v2.0.3

Thanks!


[BugFix] Fix/Unify batch create week partition logical

Signed-off-by: Astralidea<EMAIL_ADDRESS>What type of PR is this：

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #17128
Problem Summary(Required) ：

Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto backported to target branch

[x] 2.5
[x] 2.4
[x] 2.3
[ ] 2.2

run starrocks_admit_test

[FE PR Coverage Check]
:heart_eyes: pass : 11 / 13 (84.62%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/ast/MultiRangePartitionDesc.java
10
12
83.33%
[197, 198]

:large_blue_circle:
com/starrocks/common/util/DynamicPartitionUtil.java
1
1
100.00%
[]

@Mergifyio backport branch-2.5

@Mergifyio backport branch-2.4

@Mergifyio backport branch-2.3


Pre-title when selected

I see you can specify a title, when nothing is being selected, so it would show something like:
Please select an item
But is it possible to add a pre-title, so that when an item is being selected, it would show:
Selected: Item
...instead of just:
Item
Thanks!

@caseyjhol this can be closed as duplicate of #898


Mac: Backspace key doesn't work

Great editor! One small issue - on my Mac the Backspace key produces ^?. Is there a config file where I can change that behavior?
Thanks
Mike

Thanks for the feedback!
Custom keyboard shortcuts aren't implemented yet, but they will be comming asap!
Meanwhile I'll try to add a keybinding that wil work on Mac too.

Could you try running the dev branch, and check if this fix works for you?

Playing taxi for the family this morning. Will try it this afternoon when I
get back.
On Saturday, April 4, 2015, Richard Lewis<EMAIL_ADDRESS>wrote:

Could you try running the dev branch, and check if this fix works for you?
—
Reply to this email directly or view it on GitHub
https://github.com/richrd/suplemon/issues/13#issuecomment-89541274.

--
"Human beings, who are almost unique in having the ability to learn from
the experience of others, are also remarkable for their apparent
disinclination to do so."
- Douglas Adams
Excellent source of science-based strength and bodybuilding info:
http://www.clutchfitness.com/forums/?referrerid=2491

Works now, i already tried it!

Thanks! :+1:

Apparently this is fixed now. I'll close the issue. If there's still problem just send a comment!


Initial work on layer-based design for docgen

@gcanti - still some more work to do, but here's the draft / WIP on a more layer-based design for /docgen. Should make it much easier to test now since we can swap out service implementations for testing.
Things I'd still like to improve:

[ ] Move all domain error types to the Domain.ts
[ ] Properly handle errors
[ ] Avoid passing Source files as a service / layer

Also of note, I've swapped the config filename to docgen.json, hence the minor release.

@gcanti - I think after reviewing my TODO statements above, I actually retract them.
Given we are not performing any error translation between service-specific errors and the larger application domain, I think we can leave the design as is.
I've added additional handlers to the final catchTags to report on each specific type of error.
Marking this ready for review. LMK what you think.


fix bugs parsing nested containers

These changes fix bugs in the way recursive containers were
handled.  The zval code was designed to handle legacy zeek logs
that had at most one level of containers inside the top-level
record.
To handle recursive containers, we refactored things into two passes where
the first pass unescapes the input values into an intermediary data structure
(which is allocated once per stream and reused across records),
and the second pass, computes the sizes of everything and
encodes the raw zval.
These changes also add the TBD code for unescaping escaped characters
in zson input. There is also now a check for a single "-" for a value
field, which now correctly turns into an unset column.
Finally, we are changing the zson spec to follow the zeek escaping
logic and refectored the zeek unescaping logic so it could be used
by the zson parser.

Heads up... I'm writing some more tests before I want to merge this...


RFC: Stabilize std::{c_str, c_vec}

Stabilize the std::{c_str, c_vec} modules by re-working their interfaces and
refocusing each primitive for one particular task. The three broad categories of
interoperating with C will work via:

If you have a Rust string/byte slice which needs to be given to C, then the
CString type will be used to statically guarantee that a terminating nul
character and no interior nuls exist.

If C hands you a string which you want to inspect, but not own, then a helper
function will assist in converting the C string to a byte slice.

If C hands you a string which you want to inspect and own, then a helper type
will consume ownership and will act as a Box<[u8]> in essence.

After consideration of this RFC and #435, and the discussions on both, the core team has decided to go with this more conservative design for now. Note that the RFC places the module under a new std::ffi module, where we expect to grow a set of FFI-related tools over time (including the new os_str module). Furthermore, if it turns out that other modes of ownership and destructors are needed, we can gradually migrate toward a richer design like #435.
Thanks everyone for pitching in to the design here, and @mzabaluev for your work on the counter-proposal!
Tracking issue.

I like that the general idea of this design (CString = Vec<u8> + 0-invariant) makes CString very similar to the normal String type (String = Vec<u8> + UTF-8-invariant).
However, the design feels incomplete, and has inconsistent naming in some places (e.g. from_slice should be renamed to from_bytes as it takes &[u8]).
The most problematic use case is a safe FFI wrapper that passes on a string to a C function.
I can do:
fn f(s: &CString) {
   ffi::f(s.as_ptr());
}

but this forces callers to provide a heap-allocated string.
If I instead make my function accept &[u8] or &[c_char], I no longer have the guarantee about 0-termination, so my function becomes unsafe or needs to validate the string.
I feel that, just as String has a corresponding borrowed type &str (= [u8] + UTF-8-invariant), this new CString needs a corresponding slice type &CStr (=[u8] + 0-invariant).
I'm currently writing an implementation of CStr as a library type, but I think this type belongs in std::ffi; and that <CString as Deref>::Target should be changed to CStr. Shall I write a new RFC for my proposed changes?

@dgrunwald, have you looked at my project for the rejected RFC #435?
My CStrArg is a type for meant for function parameters which want a null-termination invariant for string data coming from Rust. It does not borrow, but it has a 'static variant for \0-terminated literals (I'll add macros for constructing the values out of any string or bytestring literals). The main reason for not having a borrowed variant is that a NUL in a Rust slice, aside from the literal case, should result in a conversion error, so any borrowed slice needs to be copied into a Vec for appending. Conversely, you can consume a String or a Vec<u8> to get a CStrArg just at the cost of appending the NUL.
I plan to release the crate as c_str after I have gotten through some weird type system errors with the current nightly.

@mzabaluev: I looked at that, but I don't quite like that approach. You usually shouldn't pass ownership of strings from rust to C or back -- if the C library is statically linked, it might use a different libc::free() than Rust does. On Windows, it's quite normal to have multiple C runtimes in the same process.
Here's my approach for a DST CStr.
I think this is a simple solution, and quite elegant due to the CString/String CStr/str parallels. The only problem is that from_bytes_with_nul_unchecked isn't guaranteed to work due to the undefined rust struct layout. Well, that and the DST ICEs.

@dgrunwald: Sometimes you don't have a choice: a library function hands you an allocated string and tells you to free it with another function, typically provided by the same library. This is what GLib does a lot, for example. To address this, there are generic destructors, and no default destructor on the CString so the developer has to be aware about the deallocation method.
Regarding the DST borrow: as I said, you can't borrow your way out of the fact that Rust strings are not NUL-terminated, and an inner NUL in a dynamically created Rust string cannot be passed to C without causing interpretation problems and potential security exploits. You can append every owned string you are given with a NUL, but then the string becomes useless on the Rust side unless further sliced or truncated back, so you might as well consume it towards the invariant-enforcing value.

@dgrunwald, thanks for prodding me in the right direction. I have now implemented deref/borrow introducing my innovative irrelevantly sized type.

Filed a follow-on RFC PR: #592


[Snyk] Upgrade @contentstack/cli-command from 1.2.12 to 1.2.14

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade @contentstack/cli-command from 1.2.12 to 1.2.14.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 2 versions ahead of your current version.
The recommended version was released a month ago, on 2023-10-25.

The recommended version fixes:

Severity
Issue
PriorityScore (*)
Exploit Maturity

Cross-site Request Forgery (CSRF) SNYK-JS-AXIOS-6032459
462/1000  Why? Proof of Concept exploit, CVSS 7.1
Proof of Concept

Cross-site Request Forgery (CSRF) SNYK-JS-AXIOS-6032459
462/1000  Why? Proof of Concept exploit, CVSS 7.1
Proof of Concept

(*) Note that the real score may have changed since the PR was raised.

Release notes

Package name: @contentstack/cli-command

1.2.14 - 2023-10-25

1.2.13 - 2023-10-13

1.2.12 - 2023-09-11

    from @contentstack/cli-command GitHub release notes

Commit messages

Package name: @contentstack/cli-command

d920dc4 Merge pull request #1114 from contentstack/staging
6bd1b14 Merge pull request #1117 from contentstack/development
d1c2983 Merge pull request #1118 from contentstack/refactor/CS-41979
0dabf6b Merge branch 'staging' into refactor/CS-41979
0f04bcf Merge pull request #1116 from contentstack/fix/CS-42162
9ec96e8 Merge branch 'development' into fix/CS-42162
cac7a5a Fix: cm:assets:publish command not working as expected
bc841c2 Merge pull request #1113 from contentstack/development
7bdbe7d Merge pull request #1112 from contentstack/refactor/CS-41979-version-bump
3e7a231 Merge branch 'development' into refactor/CS-41979-version-bump
f568837 Merge pull request #1079 from contentstack/fix/CS-41654
8ccdc8e refactor: version bump
401ef2b fix: added semicolons
4cecdc4 fix: removed console.log statements for logging errors
7cad5ef Merge branch 'development' into fix/CS-41654
4e43bd2 Merge pull request #1107 from contentstack/feat/import-overwrite-base
7e3c753 failed locale moved to common location
2f5e9ff merged changes
00f08b5 ui text correction, disabled entries overwrite feature
43ed8c7 Merge pull request #1081 from contentstack/feat/audit-fix
c228b51 Doc: UI text corrections
fbf5246 Fix: UI text fixes, Version bumped
971bb53 Merge branch 'development' into feat/audit-fix
19fdc34 Fix: --copy-path flag display text updated

Compare

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Fixed in #77


[TS Only] Cannot set flexDirection as important

Description
Hello, everything's is in the title actually...

The compilation works well after that, only the TS type has an error
I tried to find where the ! is added in types, but gave up... this is so complex!
Link to Reproduction
(none)
Steps to reproduce
Use css({...}) with a flexDirection property ending with "!" "(column! for example)
JS Framework
No response
Panda CSS Version
0.7.0
Browser
No response
Operating System

[ ] macOS
[ ] Windows
[X] Linux

Additional Information
No response

Duplicate #1112 (same person, different account, sorry 😓)


[Suggesstion] I hope Cleave.js is integrated into Text Field component

Cleave.js has a simple purpose: to help you format input text content automatically.

GitHub repositories link: https://github.com/nosir/cleave.js
Use in VueJs

I hope Cleave.js is integrated into Text Field component, or Text Field component provide extension methods
Thanks :)

@PrintNow Thank you for your suggestion.


Use Python version of protoc from grpc.tool.protoc

Currently using nanopb generator requires installing Python-based nanopb_generator, protobuf-python library and the C++ protoc. In #460 nanopb_generator was made installable using pip install nanopb_generator and it also brings in protobuf-python as a dependency. But protoc still needs to be installed separately.
There exists a Python version of the protoc generator and it is available in grpcio-tools package. Using this the C++ binary dependency could be dropped entirely.
It would make sense that nanopb_generator when invoked directly could take .proto files and transparently pass them through grpc.tool.protoc. This would simplify running the generator a lot.
Some more details in #461 comments.

Been looking into this on my downstream project, using the grpc-tools protoc is straight-forward.
Here is an excerpt of how im wrapping protoc to generate sources
from grpc_tools import protoc
...
def arduino_build(ctx):
    # protoc.main expects a list of arguments
    protoc_args = [
        "protoc",
        f"-I={ctx.obj.include_path.absolute()}",  # include path seems to be necessary
        f"--nanopb_out={ctx.obj.output_path.absolute()}",  # output path
        f"empty.proto",  # files we want to build go here (in the downstream this is procedural, shortened for brevity.
    ]
    ...
    # Invoke protoc.
    protoc.main(protoc_args)  # invokes grpc.tools.protoc to generate sources


chore: RLN registration support

PR Details
WakuNode extension to support RLN registration for Go/Nim Waku.

LGTM, thank you so much Please make a CI run and add it in the PR comments before merging

Last Ci run before merge
https://waku-org.github.io/waku-interop-tests/nim/12


Initial implementation of Get-SlackTeam (team.info)

Initial implementation of Get-SlackTeam (team.info), including Parse-SlackTeam and a Slack.Team format.

Awesome, thanks again @kanjibates!  Merging


Use testcontainers v0.28.0

Why?
So we can get rid of go.mod replace and use latest official version instead of my private fork

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 17.02%. Comparing base (5d9872a) to head (187ac80).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #844   +/-   ##
=======================================
  Coverage   17.02%   17.02%
=======================================
  Files          37       37
  Lines        4435     4435
=======================================
  Hits          755      755
  Misses       3597     3597
  Partials       83       83

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Revert "Update and rename main.yml to nawaf.yml"

Reverts nawaf20120/super-duper-octo-giggle#1

https://github.com/nawaf20120/probable-computing-machine/pull/2#issue-315867408

nawaff


Update tokenizers: 02c0b26

Update tokenizers to the SHA https://github.com/openvinotoolkit/openvino_tokenizers/commit/02c0b26fe9ec1d82f64fe0b69ddcb06a340afd14

Since i cannot push to this branch opened another PR https://github.com/openvinotoolkit/openvino.genai/pull/989
Closing this PR


Pebble ready in applications running as a Shard fail in relation "database-peers-relation-changed"

https://github.com/canonical/mongos-k8s-operator/actions/runs/10416775957/job/28849873923?pr=20

No longer occuring


Make the test-run.log file name more context aware.

Description:
The log file is provided for a given test-run of a given product. I think we can use that information and generate a more context-aware file name.
Affected Product Version:
0.9.0-m10
OS, DB, other environment details and versions:
N/A
Steps to reproduce:
See above
Related Issues:
N/A

@kasunbg Would <PRODUCT_NAME>_.log (ex: wso2-is-5.4.0-lts-2018-02-02 10:32:48.log) be ok for the file name?

I was thinking more of _<infrastructure-combination/uuid>-.log. Daily rolling logs appender in log4j will take care of appending the date to the log file name.

Currently, the test-run.log resides in <testgrid-home>/<product-name>/<infrastructure-combination-uuid>/<build-number>
With the name <product-name>_<infrastructure-combination/uuid>-<build-number>.log shall we move all the logs to be in this to be in /logs?

Yes, we can.. what's the goal of doing that?

Since the name itself describes it, we do not have to have them in different places. IMO, having all in one place will be easy to refer. WDYT?

ok.. I think it's better to separate the logs by product job though. So, how about we slighly change your suggestion location to <testgrid-home>/<product-name>/logs/?
We can get rid of the product_name from the log file after that.

Yes as per the above comment, we are now keeping separate storage locations to each testgird job and further to each test-plan. Therefore, as said, we are getting rid of making log-file name context aware since the location of the log-file itself provides the context. Hence closing the issue :)


3 point contour for h5 reader

If an h5 file has 3 points in its soma contour, the soma is interpreted as a SomaThreePoint, which is not correct.  It should be a SomaSimpleContour using the 3 points.

Duplicate of #600


Tracking SPA's

Hi @mikecao this looks really awesome, thank you!
Is it possible to track single-page applications? Basically apps that don't refresh between page changes but use pushState for navigation?

Yes, it already does.

Thank you for the quick response. Perhaps it should be documented somewhere I know it's more a less commonplace nowadays but still worth pointing out.
It looks like you expose an easy method for logging custom events as well, something that would be great to document as well, but can I ask why isn't the event_type customizable as well?
window.umami = event_value => collect('event', { event_type: 'custom', event_value });

Awesome, thanks.


[WIP][FLINK-23381][state] Back-pressure on reaching state change to upload limit

What is the purpose of the change
Propagate back-pressure from changelog storage to (stream) task (record processing and checkpoionting).
The 1st commit replaces failing with blocking caller on reaching the limit.
The 2nd commit adds availability provider to StreamTask, so it shouldn't block in most cases. Checkpointing will still block.
The change wasn't benchmarked yet.
Verifying this change

BatchingStateChangeUploaderTest.testBackPressure
BatchingStateChangeUploaderTest.testInterruptedWhenBackPressured

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): yes
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? no

Hello, can you explain how the back pressure draft added in the flink1.15 version and one of the state backends specified in the org/apache/flink/state/changelog/ChangelogStateBackendTestUtils.java class registered monitoring indicators in EmbeddedRocksDBStateBackend.java Whether the methods are consistent, the registered MetricGroup refers to the indicators mentioned in the draft here. The location of the code that needs to be recorded, I read it according to the logic of the code, the flow chart is as follows：
https://www.processon.com/view/link/6110a74d0e3e741f86d21e11
My question is whether my work is as described above for FLINK-23486

Sorry @complone but don't fully understand the question.
This PR is not directly related to metrics.
I also do not understand the purpose of the flowchart, but it also seems unrelated to this PR.

Thanks @rkhachatryan for the PR, I have a few high-level + implementation questions. Let's discuss offline:

Item 1
seizeCapacity: multiple task thread?

hasCapacity(): inFlightBytesCounter < maxBytesInFlight;
isAvaialble(): what is that, how it is different from hasCapacity()

Even waken up, it still not guranteed to have enough capacity
(inFlightBytesCounter + bytes) still possible to exceed capacity
what's the purpose to split seizeCapacity into these two steps?

Item 2
releaseCapacity: IO tread, single IO thread, multiple IO thread?
How it is related to upload task scheduler?

UploadThrottle - AvailabilityProvider
BatchingStateChangeUploader contains AvailabilityProvider

Item 3
BatchingStateChangeUploader.upload
even if it grabs the lock and seize capacity, it may still not able to upload all bytes
Why it is designed this way

(Let's discuss this offline)

Item 4
BatchingStateChangeUploader per FsStateChangelogStorage inlcuded in TaskStateManager
per TM

Item 5
Why it is allowed to be null?
environment.getTaskStateManager().getStateChangelogStorage() == null

Item 6
Now Backpressure seems has one more state:
idleTimeMsPerSecond
busyTimeMsPerSecond
backPressuredTimeMsPerSecond -- backpressure because of downstream / backpressure because of changelog IO

Item 7
I found there are several locks in a few different places, are they all necessary (asking this because of the DFS PR is not reviewed by me, so needs a bit more input)

Hey folks, I’ve spent some time reading through the FsStateChangelogWriter and related DFS uploading implementation. Now I have a bit better understanding but with more questions (We can discuss offline if necessary).
Before posting my questions here, let me briefly describe my understanding (This is needed because it relates to my question).
Please correct me if I misunderstand

StateChangeUploader is per TM, shared amongst all tasks belonging to the same job (same TM)
For each ChangelogKeyedStateBackend, it has a separate writer (StateChangelogWriter), maintaining activeChangeSet(in memory), to which the writer writes to
persist (persistInternal) happens in two cases: 1). enough data in memory (preEmptivePersistThresholdInBytes); 2). checkpointing
What persist does is to put an UploadTask to StateChangeUploader 's upload queue, waiting to schedule to upload
The above all occur in the task thread
Then scheduling thread (SchedulerFactory.create(1, "ChangelogUploadScheduler", LOG)) schedule task uploading (take UploadTasks away from StateChangeUploader 's upload queue
IO thread (retryingExecutor.execute(retryPolicy, () -> delegate.upload(tasks)))  execute uploading tasks

=====
Questions (about availability provider)

The UploadThrottle (availability provider)  is shared amongst all tasks belonging to the same job; each time to check the availability, we have to grab the lock, whether it has a performance issue. From what I can see, the current RecordWriter and InputProcessor is per task and without lock; whether we should consider implementing changelog availablity provider per task as well?
for check changelogWriterAvailabilityProvider.isApproximatelyAvailable(), when checking getAvailableFuture() == AVAILABLE, it is outside the lock, so when doing the check, the available future can be complete?
Even if the available future is available, it means some task is able to proceed updating states, not necessary all tasks (other tasks might still be blocked on waiting)

Questions (about the locks)
I found there are three locks in three different classes (not sure whether there are more).
UploadThrottle
BatchingStateChangeUploader
FsStateChangelogWriter
But from the description above (the paragraph of "Please correct me if I misunderstand"), there is only one critical piece, that is "StateChangeUploader 's upload queue"

Several writers need to put uploadtasks into the queue
Scheduler need to schedule the tasks from the queue
AvaiablityProvider needs to check availability of the queue
So, from what I can see, these three locks can be merged into one? Is there any reason to separate them?
As discussed, more locks are easier to cause deadlock and make the code more difficult to reason about.

Questions (about the backpressure metric)
They are not mutually exclusive: but we can postpone this discussion when designing metrics.

Thanks! I do not have further concerns! Please go ahead!


Cannot activate wake word

IMPORTANT: Before you create an issue, please take a look at our Issue Reporting Guide.
Briefly summarize your issue:

I followed along from the steps here to build the Alexa Sample app. For some reason, I am not able to activate the Alexa wake word. It seems that the alexa-rpi repository was installed, but I am not able to activate it. When I run the sample app, the wake word is not even mentioned, and I must use my keyboard to activate Alexa manually.
What is the expected behavior?

I should be able to use the wake word "Alexa" to trigger the app.
What behavior are you observing?

The wake word does not seem to be installed.
Provide the steps to reproduce the issue, if applicable:

2018-10-21 19:34:49.013 [  1] I sdkVersion: 1.9.0
configFile /home/pi/build/Integration/AlexaClientSDKConfig.json
#################################################
NOTIFICATION INDICATOR STATE: OFF
#################################################
              #    #     #  #####      #####  ######  #    #
             # #   #     # #     #    #     # #     # #   #
            #   #  #     # #          #       #     # #  #
           #     # #     #  #####      #####  #     # ###
           #######  #   #        #          # #     # #  #
           #     #   # #   #     #    #     # #     # #   #
           #     #    #     #####      #####  ######  #    #

   #####                                           #
  #     #   ##   #    # #####  #      ######      # #   #####  #####
  #        #  #  ##  ## #    # #      #          #   #  #    # #    #
   #####  #    # # ## # #    # #      #####     #     # #    # #    #
        # ###### #    # #####  #      #         ####### #####  #####
  #     # #    # #    # #      #      #         #     # #      #
   #####  #    # #    # #      ###### ######    #     # #      #

   SDK Version 1.9.0

+----------------------------------------------------------------------------+
|                                  Options:                                  |
| Tap to talk:                                                               |
|       Press 't' and Enter followed by your query (no need for the 'Alexa').|
| Hold to talk:                                                              |
|       Press 'h' followed by Enter to simulate holding a button.            |
|       Then say your query (no need for the 'Alexa').                       |
|       Press 'h' followed by Enter to simulate releasing a button.          |
| Stop an interaction:                                                       |
|       Press 's' and Enter to stop an ongoing interaction.                  |
| Playback Controls:                                                         |
|       Press '1' for a 'PLAY' button press.                                 |
|       Press '2' for a 'PAUSE' button press.                                |
|       Press '3' for a 'NEXT' button press.                                 |
|       Press '4' for a 'PREVIOUS' button press.                             |
| Settings:                                                                  |
|       Press 'c' followed by Enter at any time to see the settings screen.  |
| Speaker Control:                                                           |
|       Press 'p' followed by Enter at any time to adjust speaker settings.  |
| Firmware Version:                                                          |
|       Press 'f' followed by Enter at any time to report a different        |
|       firmware version.                                                    |
| Info:                                                                      |
|       Press 'i' followed by Enter at any time to see the help screen.      |
| Reset device:                                                              |
|       Press 'k' followed by Enter at any time to reset your device. This   |
|       will erase any data stored in the device and you will have to        |
|       re-register your device.                                             |
|       This option will also exit the application.                          |
| Quit:                                                                      |
|       Press 'q' followed by Enter at any time to quit the application.     |
+----------------------------------------------------------------------------+
#############################
Connecting...
#############################
###########################
Authorized!
###########################
########################################
Alexa is currently idle!
########################################
Tell us about your environment:

What version of the AVS Device SDK are you using?
  <x.y.z>

Tell us what hardware you're using:

[ ] Desktop / Laptop
[.] Raspberry Pi
[ ] Other - tell us more:

Tell us about your OS (Type & version):

[ ] Linux
[ ] MacOS
[ ] Raspbian Stretch
[.] Raspbian Jessie
[ ] Other - tell us more:

Oh! Sorry. The version I'm using is 1.9.0

Sorry! I made the mistake of disabling it in pi.sh My bad!


Can not reproduce CodeBERT baseline results on test set

Hi, thank you for your remarkable work and the released dataset. I am currently trying to reproduce the CodeBERT baseline results with your recently released code, it works fine on validation set and I am able to get roughly the same results on it. However, when it come to test set, the results are far below the reported values.
Specifically, the best result on validation set are:
{dev set: bleu = 33.34 | rouge_l = 31.16 | meteor = 11.17 | EM = 7.50 | Precision = 39.62 | Recall = 30.01 | F1 = 32.06}
which is close to the reported values.
The corresponding test results are:
{test set: bleu = 26.19 | rouge_l = 4.71 | meteor = 1.23 | EM = 0.40 | Precision = 6.74 | Recall = 4.69 | F1 = 4.86}
which is far below the reported values.
Could you please rerun the code or check the test set to verify it is the correct version? Thank you very much.

It is because of my fp16 training code, now I am able to get the correct results. Thanks :)


error to run

I get an error while running, can you help me?
sj automate -u https://qa-olrws.cengage.com/swagger-json -q

FATA[0001] Error parsing definition file.

Can you share the version you're using and the definition file itself? It could be a number of things but looking at the screenshot it seems like the provided URLs don't point to a valid definition file.

Can't reproduce without the specific version number and the definition file to test against. Feel free to reopen the issue if you can provide this information.


Issue with upload url on s3 bucket

Hi,
I am running docker cog built container on Paperspace but I am having issues to upload output predictions to aws s3 bucket.
I basically need to launch a prediction for more than 30 minutes and upload the file to s3 - explicit limit on Replicate, that's why I am using another platform for this task only.
This is the error that I always receive when I set the output_file_prefix in a synchronous request:
No connection adapters were found for {url!r}\")\nrequests.exceptions.InvalidSchema: No connection adapters were found for 's3://my-bucket/out-0.png
I already set all the env with my aws secrets but still without success.
PS: I also saw that for async request I have to pass --upload-url to the docker run function, but since I can't find a way to edit the startup script, can I build the docker with this command already included?
Thank you!

did you solve it?

I had the same issue and was able to fix it but not sure if it's applicable for your situation. I had a local http server set up for viewing/uploading images and was getting the same error. I set up a reverse proxy and used the https link for the output_file_prefix and that resolved the issue for me.


Is the IPython Console using Tornado?

Description
What steps will reproduce the problem?

Trying the hello world example of Tornado
http://www.tornadoweb.org/en/stable/
or just these few lines of code

import tornado.ioloop
import tornado.web

class MainHandler(tornado.web.RequestHandler):
    def get(self):
        self.write("Hello, world va")

def make_app():
    return tornado.web.Application([
        (r"/", MainHandler),
    ])

if __name__ == "__main__":
    app = make_app()
    app.listen(8888)
    tornado.ioloop.IOLoop.current().start()

What is the expected output? What do you see instead?
I would expect this can be run inside spyder in the ipython console
What happens is that I get the following error:
RuntimeError: IOLoop is already running

when the
tornado.ioloop.IOLoop.current().start()
is executed
Please provide any additional information below
Running this directly like
ipython test.py will work without errors
Version and main components

Spyder Version: 2.3.8
Python Version: 3.4.3
Qt Versions:  4.8.7, PyQt4 (API v2) 4.11.4 on Linux

Optional dependencies
pyflakes >=0.6.0   :  1.0.0 (OK)
pep8 >=0.6         :  1.6.2 (OK)
pygments >=1.6     :  2.0.2 (OK)
IPython >=1.0      :  4.0.1 (OK)
zmq >=2.1.11       :  15.1.0 (OK)
qtconsole >=4.0    :  4.1.1 (OK)
pandas >=0.13.1    :  0.16.2 (OK)
sphinx >=0.6.6     :  1.3.1 (OK)
psutil >=0.3       :  3.3.0 (OK)
rope >=0.9.2       :  0.9.4-1 (OK)
jedi >=0.8.1;<0.9.0:  0.9.0 (NOK)
matplotlib >=1.0   :  1.4.3 (OK)
sympy >=0.7.3      :  <IP_ADDRESS> (OK)
pylint >=0.25      :  0.25.1 (OK)

@minrk, is it possible to run Tornado apps in zmq-based apps?

Yep: https://github.com/zeromq/pyzmq/blob/master/examples/eventloop/asyncweb.py

Yup, this should work fine. The only issue is that start has already been called. Since the IOLoop is already running, the example is fully setup when you call app.listen().

I tried to ommit the last line i.e.
tornado.ioloop.IOLoop.current().start()
In this case I will not get an error but if I try to connect to localhost:8888 it will not work. So something seems not to work as expected.
I tried to run the test in a Python console in Spyder, in that case it will work also.
It is not a huge problem at all, i can use the python console instead of the ipython.
BTW. I discovered just now that the debugger is much more usable when a python console is used instead of an ipython console, i.e. tab autocomplation, command history, F9 is working... that's great!!! Maybe this is something which could be explained to all comments regarding "poor" usability while debugging.

I can't reproduce this error on Python 2 nor 3, using Tornado 4 nor 3. So this has to be a problem with your setup.
About usability and debugging: all the missing things in the IPython Console you mention are caused by limitations of the kernel-based architecture of IPython/Jupyter. So it's not really our fault, but we have plans to improve the situation in a future Spyder release (not 3.0 though).

I know I red about it. I wanted just mention this, because other people may benefit from this meanwhile.
Thanks


HTML format

Two strategies:

Write an HTML <-> Markdown converter, then ipymd can take care of the rest (using Beautiful Soup and/or html2text).
Directly write an HTML <-> ipymd_cells converter

Difficulty: detect code cells in the HTML. This will be highly document-dependent, and the user will be expected to specify how code cells should be detected

This would rather be in podoc


Doesn't work on Windows

Doesn't work unless "case "windows":" is inserted at line 60.

Thanks for the report

Still exists:
Error: no binary available for os:windows

This should work now, with go-ipfs builds that have windows binaries in https://dist.ipfs.io


Flaky acceptance tests in github ci

eg https://github.com/LuteOrg/lute-v3/actions/runs/8535357986/job/23382150274
The "invalid file book creation" CI test fails -- it's not showing the right failure message??
Running locally, things work as expected.  CI doesn't print enough of a diff to understand why it's not working ... perhaps it's a timing issue, AGAIN.

Launched in 3.3.2.


Fix issue with gates not pushing fluid

This fixes the issue with gates suddenly stopping work. From the debugging, I found that when the gates stop working, it is because the requestor has some very small (< 0.005g) amount of element that doesn't match the provider element, and for some reason, that small amount stays in the pipe without being pushed anywhere.
Note, I'm super new to ONI and ONI modding, so this may be somewhat of an inefficient fix, but from my testing seems to work pretty well. Feel free to reject and write up a different way to accomplish this.

Good catch. Thank you!

Thank you @makotech222 for the fix. And @Blindfold for the merge.
In some days I have holidays. I'll try to upload all the mods to Steam.


feat: Establish DoclingDocument format (experimental)

Checklist:

[ ] Commit Message Formatting: Commit titles and messages follow guidelines in the
conventional commits.
[ ] Documentation has been updated, if necessary.
[x] Examples have been added, if necessary.
[x] Tests have been added, if necessary.

Superseded by https://github.com/DS4SD/docling/pull/117


closing of client

hello:
you mention that you don't close the client.  is there a reason for this?  it seems like a little teardown method could simply proxy dgram::close()?
just curious!
thanks

The choice had been made to have it that way.
Do you need a closing method to be implemented ? Actually with the upgrade to the Stream interface I think it should be possible to call .end() on the stream.

You could add a listener in the constructor for the "end" event I believe.

@arb :+1: good idea !


Check assignment of entities to subjects

There are entities that have a metadata entry for a topic (key_id 7), but not for a subject (key_id 1). As an example you can have a look at the entities with uuid 12305 and 12529. Please check, if this is intended.
If no, we need to assign them to the correct subject.
If yes, we must find a way to derive the subject from the topic.
This is the reason for serlo/stats.serlo.org#142.

Okay, I started to look into this: it seems like every uuid should have a metadata entry for each of its ancestors (up to the subject), and these should also be updated when the entity is moved to another parent.
I'll investigate why this isn't the case for all entities right now and update the metadata accordingly.

I would like to understand the issue to see if it is still up-to-date: what is metadata entry?


pyhanlp能否支持portabel版本数据呢

[auto-reply] Thanks for your comment. However, the essential information is required. Please carefully fill out the form when open a new issue.

[auto-reply] Thanks for your comment. However, the essential information is required. Please carefully fill out the form when open a new issue.


Performance degrades for multi-image encode, is there support for multi-threaded encoder?

Describe the bug
When I want to compress a large resolution image, I want to cut the large resolution image into multiple sub-images of small resolution, such as 512*512, pillow_heif supports the compression of multiple sub-images, but the performance will be greatly reduced compared with the direct compression of large-resolution images. I noticed that multi-graph compression in the code seems to be serial for encode one by one, https://github.com/bigcat88/pillow_heif/blob/55a3d39edb723c3b404a120eac671920ad61792b/pillow_heif/heif.py#L604 is there a multithreaded parallel encoder for multiple sub-images? Or is there something wrong with my Settings?
Steps/Code to Reproduce
rgb_img = Image.open("1-input.jpeg")
heif_file = HeifFile()
tile_size = 512
for i in range(0, rgb_img.height, tile_size):
    h_start = i
    h_end = i + tile_size
    for j in range(0, rgb_img.width, tile_size):
        w_start = j
        w_end = j + tile_size

        patch = rgb_img.crop((w_start, h_start, w_end, h_end))
        heif_file.add_from_pillow(patch)

heif_file.save(output_heif_path, quality=50)

and here is my test image
1-input.zip
Expected Results
The performance of multiple sub-images encode should be no lower than that of a single full-resolution graph directly encode
Actual Results
The performance of multi-subimage encode is more than 4 times lower than that of direct encode for a single full-resolution image
multi-subimage encode cost: 1.2968940734863281s
single full-resolution encode cost: 5.515080690383911s
Versions
3.10.15 | packaged by conda-forge | (main, Oct 16 2024, 01:24:24) [GCC 13.3.0]
Linux-6.8.0-49-generic-x86_64-with-glibc2.35
0.20.0
{'libheif': '1.18.2', 'HEIF': 'x265 HEVC encoder (3.5+1-f0c1022b6)', 'AVIF': 'AOMedia Project AV1 Encoder v3.6.1', 'encoders': {'x265': 'x265 HEVC encoder (3.5+1-f0c1022b6)', 'aom': 'AOMedia Project AV1 Encoder v3.6.1', 'mask': 'mask'}, 'decoders': {'libde265': 'libde265 HEVC decoder, version 1.0.15', 'aom': 'AOMedia Project AV1 Decoder v3.6.1'}}

Even though the latest version is with libheif 1.19, these APIs are still not used.
I'll take a look in a few days to see how hard it is to add (how much code is needed for this) support for tiled images.
If anyone want implement this himself, I'll gladly accept PR for this


single-page app

the faucet frontend, like every web 3 application should be self-contained in a single app downloadable over ipfs.
Make captcha optional.
Make the captcha-less frontend compile into a single html document, that you can double click and it opens on chrome, and works.


Updates to LSC

To Do:

[x] Use Intake
[x] Updates to SpectralClustering parameters
[x] xarray reshaping (stack and unstack)
[x] Remove examples/landsat_spectral_clustering_xa.ipynb
[x] Remove tifs in favor of intake data sources

Yes, the diffs won't render because I removed all the metadata. You'll probably need to just view the notebook.
examples/landsat_spectral_clustering_xa.ipynb was delete and examples/landsat_spectral_clustering.ipynb was modified.

@mmccarty I think there is a merge conflict due to the docs PR where I moved this notebook into examples/topics. I'll fix that now...the use of intake should mean there are no issues with local paths or anything like that.

@mmccarty Looks good, thanks!
Hopefully we will be able to avoid specifying the kdims each time and I've bumped a comment on holoviews about this issue here: https://github.com/ioam/holoviews/pull/2579


feat: add duckdb as DataSource - Fixes #14563

SUMMARY
Adds Duckdb as an embedded, in-process OLAP db engine.
Duckdb can directly query CSV or Parquet files on disk - eventually, we should be able to query Parquet files directly on S3 as well.
Supersedes https://github.com/apache/superset/pull/19265
Relying on https://github.com/Mause/duckdb_engine for the SQLAlchemy implementation, and building on top of  @alitrack's original work.
Since DuckDB is, much like SQLite, an in-process, single-threaded engine, the error handling in TestConnectionDatabaseCommand.run feels a bit weird.  Might want to work with @Mause on a narrow exception class for the threading blip.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

install duckdb_engine via pip install duckdb-engine
DuckDB appears in the add a database dropdown
Provide path to a duckdb database on disk in the url, e.g., duckdb:////Users/whoever/path/to/duck.db
in SQL lab, query any tables defined in your on-disk database, tables, schemas, and column defs all appear as normal
have not tested in-memory a ton but duckdb:///:memory: seems to work?
once you are in SQL Lab, you can directly query parquet or CSV files on disk: SELECT * from 'test.parquet' etc.

ADDITIONAL INFORMATION

[x] Has associated issue: https://github.com/apache/superset/issues/14563
[ ] Required feature flags:
[x] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[x] Introduces new feature or API
[ ] Removes existing feature or API

OK - I am about 90% confident that I am running the linter properly on my local and that all the tests will pass now - looks like I cannot trigger the CI myself, but I think if someone kicks that off we'll see the build go green.

OK - I am about 90% confident that I am running the linter properly on my local and that all the tests will pass now - looks like I cannot trigger the CI myself, but I think if someone kicks that off we'll see the build go green.

@rwhaling, CI looks like waiting to finish other tasks. When the CI is all green, I will merge it. Thanks for the following up!

@rwhaling - One thing that I forgot while reviewing was if you would be able to open a PR that adds the relevant documentation for connecting to DuckDB? Something similar to the what this PR did for Trino (there's some unrelated changes, you can ignore those): #13171

@rwhaling - One thing that I forgot while reviewing was if you would be able to open a PR that adds the relevant documentation for connecting to DuckDB? Something similar to the what this PR did for Trino (there's some unrelated changes, you can ignore those): #13171

absolutely 👍

Hi, testing this and Superset doesn't work when installing duckdb-engine, throws a 500 internal error on any page in the UI, backend says
module 'duckdb_engine' has no attribute 'name'
Traceback (most recent call last):                                                                                File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1516, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1502, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
  File "/app/superset/utils/log.py", line 245, in wrapper
    value = f(*args, **kwargs)
  File "/app/superset/views/core.py", line 2677, in welcome
    "common": common_bootstrap_payload(),
  File "/app/superset/views/base.py", line 368, in common_bootstrap_payload
    available_specs = get_available_engine_specs()
  File "/app/superset/db_engine_specs/__init__.py", line 141, in get_available_engine_specs
    backend = dialect.name
    ```

Here's my full Dockerfile

FROM apache/superset
Switching to root to install the required packages
USER root
Example: installing the MySQL driver to connect to the metadata database
if you prefer Postgres, you may want to use psycopg2-binary instead
RUN pip install psycopg2-binary
Example: installing a driver to connect to Redshift
Find which driver you need based on the analytics database
you want to connect to here:
https://superset.apache.org/installation.html#database-dependencies
RUN pip install sqlalchemy-redshift
RUN pip install pyhive[hive]
RUN pip install pyhive[presto]
DuckDB support
RUN pip install duckdb-engine
ADD ./config/superset_config.py /app/pythonpath/superset_config.py
Switching back to using the superset user
USER superset

@inakianduaga heya, that's on me - unfortunately sqlalchemy doesn't really document what's expected from a dialect, so it's hard to keep up with the changes on their side. I'll push out a fixed version shortly

ok thanks. It actually worked for me by going to the fixed superset:1.5.1 docker image instead of latest. Not sure that made the difference or it was simultaneously your fix. But either way, it works now 🙇

I wanted to access the S3 parquet files from Superset/SQL Editor. While I am able to use DuckDB to do the same in my python shell, I am wondering how to do it with the Superset and/or duckdb-engine
My python snippet to load parquet files from S3:
import duckdb
cursor = duckdb.connect()
cursor.execute("INSTALL httpfs;")
cursor.execute("LOAD httpfs;")
cursor.execute("SET s3_region='******'")
cursor.execute("SET s3_access_key_id=''**************")
cursor.execute("SET s3_secret_access_key='*****************************'")
cursor.execute("PRAGMA enable_profiling;")
cursor.execute("SELECT count(*) FROM read_parquet('s3://<bucket>/prefix/*.parquet'")

@Mageswaran1989
if you're having an issue with

duckdb, please raise it over at https://github.com/duckdb/duckdb
duckdb-engine, please raise it over at https://github.com/Mause/duckdb-engine
superset, raise a new issue in this repo

PS. @zhaoyongjie any chance you could lock this conversation?


Any support for Kotlin/KTS?

Hello,
i know it might not be the best place to ask this question,
but can i use kotlin as script language? i know polyglot can run LLVM but i can't find any resources on this,

best regards

fire and forget :)


Update dendron.topic.images.md

Added brief instructions for inserting a saved image . Please feel free to amend as you think best

this is great. just fixed a spacing issue and changed the \ to / just so its consistent with the rest of the docs. thanks for the update!


The accordion has the wrong story implementation

What problem does this feature solve?
The expanded accordion has the wrong story implementation

What is expected?

Only one element inside the accordion

Hi dev @janosio-nordcloud  I would like to work on this Issue.

@GaganSingh5 go ahead.


How to reuse schema in array element validation?

How can I reuse schema to validate array item? Like
Schema = Dry::Validation.Schema do
  required(:items).each do
    schema(ArrayItemSchema)
  end
end

try this: required(:items).filled { each(ArrayItemSchema) }

this was my saviour Dry::Validation.Schema do required(:addresses).maybe { each(AddressSchema) }; end
@anfinil did solve your problem ?

It will work like this in the next version
Form = Dry::Schema.Params do
  required(:bar).type(:integer).value(:int?)
end

FormContainer = Dry::Schema.Params do
  optional(:foo).value(:array).each(Form)
end

though we still have an unresolved issue https://github.com/dry-rb/dry-schema/issues/25


Initial state doesn't work with mongoid

State machine description:
state_machine :status, :initial => :offline do
  event :offline do
    transition all - :offline => :offline
  end

  event :available do
    transition all - :available => :available
  end

  event :unavailable do
    transition all - :unavailable => :unavailable
  end
end

Helper call
= f.collection_select :status_event, user.status_transitions, :event, :human_event, :include_blank => "don't change"

Fails with "nil is not a known status value"
Than means that mongoid doesn't initialize initial state for new objects.

Found this issue. This is fixed branch from Durran.
gem "state_machine", :git => "git://github.com/durran/state_machine.git", :branch => "mongoid-2.3-fixes"


update rego to support heirachical parent annotation w/signoff

Notes for Reviewers

This PR fixes #

Signed commits

[ ] Yes, I signed my commits.

The regal linter has kicked up a couple suggestions.

The regal linter has kicked up a couple suggestions.

Fixing them.


Too many references to "advised": max 65535

Hi,
When running the following script
%%logica Lowest_Common_Ancestors_with_Name
@Engine("sqlite");

@AttachDatabase("mgdb","mgdb.db");
@Dataset("advised");
@Dataset("person");
@Dataset("dissertation");

Adv_Stu(advisor:, student:author) :- Advised(did:x, advisor:),Dissertation(did:y, author:), x=y;

@Recursive(Anc,33);
Anc(ancestor:advisor, student:m) distinct :- Adv_Stu(advisor:, student:m), m=63244;
Anc(ancestor:x, student:) distinct:- Adv_Stu(advisor:x, student:y),Anc(ancestor:y, student:);

Anc(ancestor:advisor, student:l) distinct :- Adv_Stu(advisor:, student:l), l=119280;
Anc(ancestor:x, student:) distinct:- Adv_Stu(advisor:x, student:y),Anc(ancestor:y, student:);

Common_Ancestors(pid_1:m, pid_2:l, anc_id: x) :- Anc(ancestor:x, student:m),
Anc(ancestor:x, student:l), m=63244,l=119280 ;

Not_Lowest_Common_Ancestors(pid_1:m, pid_2:l, anc_id: x) :- Common_Ancestors(pid_1:m, pid_2:l, anc_id: x),
Common_Ancestors(pid_1:m, pid_2:l, anc_id: y), Adv_Stu(advisor:x, student:y),m=63244,l=119280;

Lowest_Common_Ancestors_with_Name(pid:x, name:name) :- Common_Ancestors(pid_1:m, pid_2:l, anc_id: x),
~Not_Lowest_Common_Ancestors(pid_1:m, pid_2:l, anc_id: x), Person(pid:x,name:name),m=63244,l=119280;

I will encounter an error below
---------------------------------------------------------------------------
OperationalError                          Traceback (most recent call last)
File ~/opt/miniconda3/envs/logica/lib/python3.11/site-packages/pandas/io/sql.py:2200, in SQLiteDatabase.execute(self, sql, params)
   2199 try:
-> 2200     cur.execute(sql, *args)
   2201     return cur

OperationalError: too many references to "advised": max 65535

The above exception was the direct cause of the following exception:

DatabaseError                             Traceback (most recent call last)
Cell In[13], line 1
----> 1 get_ipython().run_cell_magic('logica', 'Lowest_Common_Ancestors_with_Name', '\n@Engine("sqlite");\n\n@AttachDatabase("mgdb","mgdb.db");\n@Dataset("advised");\n@Dataset("person");\n@Dataset("dissertation");\n\nAdv_Stu(advisor:, student:author) :- Advised(did:x, advisor:),Dissertation(did:y, author:), x=y;\n\n@Recursive(Anc,33);\nAnc(ancestor:advisor, student:m) distinct :- Adv_Stu(advisor:, student:m), m=63244;\nAnc(ancestor:x, student:) distinct:- Adv_Stu(advisor:x, student:y),Anc(ancestor:y, student:);\n\nAnc(ancestor:advisor, student:l) distinct :- Adv_Stu(advisor:, student:l), l=119280;\nAnc(ancestor:x, student:) distinct:- Adv_Stu(advisor:x, student:y),Anc(ancestor:y, student:);\n\nCommon_Ancestors(pid_1:m, pid_2:l, anc_id: x) :- Anc(ancestor:x, student:m), \nAnc(ancestor:x, student:l), m=63244,l=119280 ;\n\nNot_Lowest_Common_Ancestors(pid_1:m, pid_2:l, anc_id: x) :- Common_Ancestors(pid_1:m, pid_2:l, anc_id: x), \nCommon_Ancestors(pid_1:m, pid_2:l, anc_id: y), Adv_Stu(advisor:x, student:y),m=63244,l=119280;\n\nLowest_Common_Ancestors_with_Name(pid:x, name:name) :- Common_Ancestors(pid_1:m, pid_2:l, anc_id: x),\n~Not_Lowest_Common_Ancestors(pid_1:m, pid_2:l, anc_id: x), Person(pid:x,name:name),m=63244,l=119280;\n')

File ~/opt/miniconda3/envs/logica/lib/python3.11/site-packages/IPython/core/interactiveshell.py:2478, in InteractiveShell.run_cell_magic(self, magic_name, line, cell)
   2476 with self.builtin_trap:
   2477     args = (magic_arg_s, cell)
-> 2478     result = fn(*args, **kwargs)
   2480 # The code below prevents the output from being displayed
   2481 # when using magics with decodator @output_can_be_silenced
   2482 # when the last Python token in the expression is a ';'.
   2483 if getattr(fn, magic.MAGIC_OUTPUT_CAN_BE_SILENCED, False):

File ~/opt/miniconda3/envs/logica/lib/python3.11/site-packages/logica/colab_logica.py:128, in logica(line, cell)
    126 @register_cell_magic
    127 def logica(line, cell):
--> 128   Logica(line, cell, run_query=True)

File ~/opt/miniconda3/envs/logica/lib/python3.11/site-packages/logica/colab_logica.py:273, in Logica(line, cell, run_query)
    269   else:
    270     raise Exception('Logica only supports BigQuery, PostgreSQL and SQLite '
    271                     'for now.')
--> 273   result_map = concertina_lib.ExecuteLogicaProgram(
    274     executions, sql_runner=sql_runner, sql_engine=engine)
    276 for idx, predicate in enumerate(predicates):
    277   t = result_map[predicate]

File ~/opt/miniconda3/envs/logica/lib/python3.11/site-packages/logica/common/concertina_lib.py:270, in ExecuteLogicaProgram(logica_executions, sql_runner, sql_engine, display_mode)
    267   sql_runner(preamble, sql_engine, is_final=False)
    269 concertina = Concertina(config, engine, display_mode=display_mode)
--> 270 concertina.Run()
    271 return engine.final_result

File ~/opt/miniconda3/envs/logica/lib/python3.11/site-packages/logica/common/concertina_lib.py:97, in Concertina.Run(self)
     95 def Run(self):
     96   while self.actions_to_run:
---> 97     self.RunOneAction()

File ~/opt/miniconda3/envs/logica/lib/python3.11/site-packages/logica/common/concertina_lib.py:90, in Concertina.RunOneAction(self)
     88 self.running_actions |= {one_action}
     89 self.UpdateDisplay()
---> 90 self.engine.Run(self.action[one_action].get('action', {}))
     91 self.running_actions -= {one_action}
     92 self.complete_actions |= {one_action}

File ~/opt/miniconda3/envs/logica/lib/python3.11/site-packages/logica/common/concertina_lib.py:32, in ConcertinaQueryEngine.Run(self, action)
     30   print('Running predicate:', predicate, end='')
     31 start = datetime.datetime.now()
---> 32 result = self.sql_runner(action['sql'], action['engine'],
     33                          is_final=(predicate in self.final_predicates))
     34 end = datetime.datetime.now()
     35 if self.print_running_predicate:

File ~/opt/miniconda3/envs/logica/lib/python3.11/site-packages/logica/colab_logica.py:173, in SqliteRunner.__call__(self, sql, engine, is_final)
    172 def __call__(self, sql, engine, is_final):
--> 173   return RunSQL(sql, engine, self.connection, is_final)

File ~/opt/miniconda3/envs/logica/lib/python3.11/site-packages/logica/colab_logica.py:160, in RunSQL(sql, engine, connection, is_final)
    158     print(sql)
    159     ShowError("Error while executing SQL:\n%s" % e)
--> 160     raise e
    161   return None
    162 else:

File ~/opt/miniconda3/envs/logica/lib/python3.11/site-packages/logica/colab_logica.py:153, in RunSQL(sql, engine, connection, is_final)
    150 try:
    151   if is_final:
    152     # For final predicates this SQL is always a single statement.
--> 153     return pandas.read_sql(sql, connection)
    154   else:
    155     connection.executescript(sql)

File ~/opt/miniconda3/envs/logica/lib/python3.11/site-packages/pandas/io/sql.py:633, in read_sql(sql, con, index_col, coerce_float, params, parse_dates, columns, chunksize, dtype_backend, dtype)
    631 with pandasSQL_builder(con) as pandas_sql:
    632     if isinstance(pandas_sql, SQLiteDatabase):
--> 633         return pandas_sql.read_query(
    634             sql,
    635             index_col=index_col,
    636             params=params,
    637             coerce_float=coerce_float,
    638             parse_dates=parse_dates,
    639             chunksize=chunksize,
    640             dtype_backend=dtype_backend,  # type: ignore[arg-type]
    641             dtype=dtype,
    642         )
    644     try:
    645         _is_table_name = pandas_sql.has_table(sql)

File ~/opt/miniconda3/envs/logica/lib/python3.11/site-packages/pandas/io/sql.py:2264, in SQLiteDatabase.read_query(self, sql, index_col, coerce_float, parse_dates, params, chunksize, dtype, dtype_backend)
   2253 def read_query(
   2254     self,
   2255     sql,
   (...)
   2262     dtype_backend: DtypeBackend | Literal["numpy"] = "numpy",
   2263 ) -> DataFrame | Iterator[DataFrame]:
-> 2264     cursor = self.execute(sql, params)
   2265     columns = [col_desc[0] for col_desc in cursor.description]
   2267     if chunksize is not None:

File ~/opt/miniconda3/envs/logica/lib/python3.11/site-packages/pandas/io/sql.py:2212, in SQLiteDatabase.execute(self, sql, params)
   2209     raise ex from inner_exc
   2211 ex = DatabaseError(f"Execution failed on sql '{sql}': {exc}")
-> 2212 raise ex from exc

DatabaseError: Execution failed on sql ....: too many references to "advised": max 65535

Split the recursion into two will solve the problem
%%logica Lowest_Common_Ancestors_with_Name

@Engine("sqlite");

@AttachDatabase("mgdb","mgdb.db");
@Dataset("advised");
@Dataset("person");
@Dataset("dissertation");

Adv_Stu(advisor:, student:author) :- Advised(did:x, advisor:),Dissertation(did:y, author:), x=y;

@Recursive(Anc,33);
Anc(ancestor:advisor, student:m) distinct :- Adv_Stu(advisor:, student:m), m=63244;
Anc(ancestor:x, student:) distinct:- Adv_Stu(advisor:x, student:y),Anc(ancestor:y, student:);

Anc(ancestor:advisor, student:l) distinct :- Adv_Stu(advisor:, student:l), l=119280;
Anc(ancestor:x, student:) distinct:- Adv_Stu(advisor:x, student:y),Anc(ancestor:y, student:);

Common_Ancestors(pid_1:m, pid_2:l, anc_id: x) :- Anc(ancestor:x, student:m),
Anc(ancestor:x, student:l), m=63244,l=119280 ;

Not_Lowest_Common_Ancestors(pid_1:m, pid_2:l, anc_id: x) :- Common_Ancestors(pid_1:m, pid_2:l, anc_id: x),
Common_Ancestors(pid_1:m, pid_2:l, anc_id: y), Adv_Stu(advisor:x, student:y),m=63244,l=119280;

Lowest_Common_Ancestors_with_Name(pid:x, name:name) :- Common_Ancestors(pid_1:m, pid_2:l, anc_id: x),
~Not_Lowest_Common_Ancestors(pid_1:m, pid_2:l, anc_id: x), Person(pid:x,name:name),m=63244,l=119280;

Using Ground will also resolve the error
%%logica Lowest_Common_Ancestors_with_Name

@Engine("sqlite");

@AttachDatabase("mgdb","mgdb.db");

@Ground(Adv_Stu);
Adv_Stu(advisor:, student:author) :- Advised(did:x, advisor:),Dissertation(did:y, author:), x=y;

@Recursive(Anc,33);
@Ground(Anc);
Anc(ancestor:advisor, student:m) distinct :- Adv_Stu(advisor:, student:m), m=63244;
Anc(ancestor:x, student:) distinct:- Adv_Stu(advisor:x, student:y),Anc(ancestor:y, student:);

Anc(ancestor:advisor, student:l) distinct :- Adv_Stu(advisor:, student:l), l=119280;
Anc(ancestor:x, student:) distinct:- Adv_Stu(advisor:x, student:y),Anc(ancestor:y, student:);

Common_Ancestors(pid_1:m, pid_2:l, anc_id: x) :- Anc(ancestor:x, student:m),
Anc(ancestor:x, student:l), m=63244,l=119280 ;

Not_Lowest_Common_Ancestors(pid_1:m, pid_2:l, anc_id: x) :- Common_Ancestors(pid_1:m, pid_2:l, anc_id: x),
Common_Ancestors(pid_1:m, pid_2:l, anc_id: y), Adv_Stu(advisor:x, student:y),m=63244,l=119280;

@Ground(Lowest_Common_Ancestors_with_Name);
Lowest_Common_Ancestors_with_Name(pid:x, name:name) :- Common_Ancestors(pid_1:m, pid_2:l, anc_id: x),
~Not_Lowest_Common_Ancestors(pid_1:m, pid_2:l, anc_id: x), Person(pid:x,name:name),m=63244,l=119280;

Hi @yilinxia ,
I wish we can have a better user experience with this, but generally I'd say that this is "working as intended".
When having deep recursion we should be grounding the recursive predicate, to help SQL. Otherwise the query is just too large for it to handle, like here where we hit the reference count maximum. BigQuery will hit issues with this even sooner than SQLite.
Let me know if you have further questions, or ideas on this.


⚠ RbxVeri has degraded performance

In d75b061, RbxVeri (https://verify.triza.dev) experienced degraded performance:

HTTP code: 200
Response time: 4767 ms

Resolved: RbxVeri performance has improved in e7841ab.


Re-add flattening of simple AggregateExceptions

Re-add flattening of AggregateException if it only contains a single inner exception

Will create a new PR for this because I've rebased this one

@RandomEngy Can you please add your comment to the new PR, also? I've added the Flatten call, btw.


Authorizations of user ignored when using the InputFormat for the AccumuloStore

The authorizations of a user are ignored when an InputFormat is used from the AccumuloStore. Instead the authorizations of the Accumulo user are used. This causes problems when a visibility field is set and the Spark operations are used to return RDDs from the store.

Merged into develop.


Do not reset player when playerVars.{start,end} change

Note: this (also) conflicts with #63, so if both PRs are accepted I'll rebase
whichever is merged last.
A change in the start or end time of a video can be resolved by
calling updateVideo, instead of resetting the player. This makes
loading the next video a bit faster if it has a different start or
end time than the previous video. If the next video is loaded when
the user is not on the tab, this also helps deal with Chrome's
gesture requirement for media playback, by reusing the same
YouTube API iframe instead of creating a new one.
Now a player reset is triggered when props.opts changes, ignoring
playerVars.start and playerVars.end. All other props.opts
properties still trigger a full reset.
A video update is triggered when props.videoId changes, but also
when playerVars.start or playerVars.end change.
In the common case, playerVars.{start,end} will only change when
props.videoId changes, and that will now only trigger a video
update instead of a player reset :)
(A future optimisation could be to use YouTube's seekTo method if
playerVars.start is the only changed property.)

Smart optimization :smile:
As for using the seekTo method to change the start time, that'd introduce a ton of headache related to when to activate that (only when the current time is before the start or also when it is after the start) so I'm not so sure that'd be a good change. If a user wants their application to work with one way or the other it'd be trivial to code that for themselves.


Update email to 1.3.1

Please update my adapter ioBroker.email to version 1.3.1.
This pull request was created by https://www.iobroker.dev c0726ff.
https://github.com/iobroker-community-adapters/ioBroker.email/issues/252

RE-CHECK!


Usage in english

The usage section in readme is just a photo in chinese instructions. could you please make one for non-chinese speakers? On another note would this extension work for people outside mainland china (blocked IPs)?

It should work (not tested).


Crypto::Bcrypt::Password#== does not work

Crypto::Bcrypt::Password#== does not work
In the docs for Crypto::Bcrypt::Password, it is stated that the
== method of a Password, given a String, should check if that string hashes to the same value as the hash, ie. the hash is the
hash of the given string. The example code given is:
require "crypto/bcrypt/password"

password = Crypto::Bcrypt::Password.create("super secret", cost: 10)

puts password == "wrong secret"
puts password == "super secret"

While this should output false and then true, as we can see here, it outputs false and false.

It has been updated to Crypto::Bcrypt::Password#verify.  You're just looking at old API documentation.  Latest version is 0.35.1.

Oh, my bad! Thanks for the update - will close this issue.

Related: https://github.com/crystal-lang/crystal/issues/5952.


Revert "RID-specific app breaking change"

Reverts dotnet/docs#34497
This breaking change is not going into Preview 2. It will go in a later preview.

Internal previews

📄 File(s)
🔗 Preview link(s)

docs/core/compatibility/8.0.md
Preview: docs/core/compatibility/8.0

Thanks, sorry I didn't comment that it got delayed again.

Re: mdocs verifier error. No redirection rule is needed since the article wasn't published live yet.

No worries @nagilson! Thanks for the quick reviews.


404 error rectified

there was a problem with the path in link provided in 18th resource. it was redirecting to a folder in the directory that doesn't exist. so i just fixed that.

Thanks for the PR. It has been merged.
I will be glad if you can leave a star on this repository.


Records for the Object Facet

Since we will soon have solved all the challenges of version 2.2, we want to collect some records of museum objects in order to determine the semantic needs that our model will have to cover. As such, we invite our partners to send us representative records of their databases. You can submit both perfect files and files that raise issues. We encourage files dealing with varied content in order to better cover the needs of all types of museum institutions. All formats are accepted, our goal being only to identify the needs and not to implement the data. If you could generally describe the nature of the submitted content, it would go a long way to help us better define the patterns needed.
Please also note that our Github issues are public, so please ensure that the content shared here is suitable for public display. You can send me your records by email at the following address if you are not sure<EMAIL_ADDRESS>

McCord Museum - record #1

McCord Museum - record #2

McCord Museum - record no3

McCord Museum - record no 4

McCord Museum - record no 5

McCord Museum - record no 6

McCord Museum - record no 7

McCord Museum - record no 8

McCord Museum - record no 9


Reactive data change

I am very new at svelte. How can I change table data reactivly. When I try to assign variable to data I get error "State referenced in its own scope will never update. Did you mean to reference it inside a closure?"

Thats a svelte compiler error, probably because you are doing something like:
let { data } = $props();
let rows = $derived(data.rows)
const table = new DataTable({/* settings */})
table.baseRows = rows;

Instead, you can do something like this:
let {data} = $props();
const table = new DataTable({/* settings */})
$effect(() => {
    table.baseRows = data.rows; // or whatever you're returning the rows from the server as
});


Fix compilation error with kernel 6.12

This PR fixes the following issue: https://github.com/DisplayLink/evdi/issues/495
Tested on kernel 6.12 using latest Arch packages. Also tested against kernel 6.11.9 and latest TLS 6.6.63 for backwards compatibility.

This worked nicely for me.  I editted module/evdi_drm_drv.c and added the lines listed in https://github.com/DisplayLink/evdi/pull/498/commits/e41240cf62d7188643bc95e5d69e1c4cfa6ddb84
I am running Slackware64-current with kernel 6.12.1 with a USB 3.0 Dell docking station and two monitors connected

This worked nicely for me. I editted module/evdi_drm_drv.c and added the lines listed in e41240c I am running Slackware64-current with kernel 6.12.1 with a USB 3.0 Dell docking station and two monitors connected
what version of displaylink are you using?  i've built this version of evdi and installed but displaylink fails to run due to this:
Process '/opt/displaylink/udev.sh /dev /devices/pci0000:00/0000:00:1c.4/0000:03:00.0/0000:04:02.0/0000:2b:00.0/usb4/4-1/4-1.3/4-1.3:1.0 usb-004-005-DisplayLink_HP_USB-C_Universal_Dock_1710060318 /dev/bus/usb/004/005' failed with exit code 2.

I am using the latest version of DisplayLink, 6.1, available in https://www.synaptics.com/products/displaylink-usb-graphics-software-ubuntu-61?filetype=exe

i've just  installed evri and displaylink again and its working fine now (endeavousos/arch). so i don't know if this PR is needed

Seems like it works on NixOS too @ https://github.com/NixOS/nixpkgs/pull/360378

This fixes displaylink on Asahi Fedora 41 :heart:

Hello, could you please merge this?

Thank you!

thanks for merging