text:
[Snyk] Upgrade org.apache.spark:spark-hive_2.13 from 3.4.1 to 3.5.0

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade org.apache.spark:spark-hive_2.13 from 3.4.1 to 3.5.0.
: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 6 months ago, on 2023-09-09.

The recommended version fixes:

Severity
Issue
PriorityScore (*)
Exploit Maturity

Improper Handling of Length Parameter Inconsistency SNYK-JAVA-ORGECLIPSEJETTY-5902998
586/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 5.3
Proof of Concept

Denial of Service (DoS) SNYK-JAVA-ORGECLIPSEJETTY-5426159
586/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 5.3
No Known Exploit

Denial of Service (DoS) SNYK-JAVA-IONETTY-5725787
586/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 5.3
No Known Exploit

Information Exposure SNYK-JAVA-ORGECLIPSEJETTY-5426161
586/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 5.3
No Known Exploit

Information Exposure SNYK-JAVA-ORGECLIPSEJETTY-5426160
586/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 5.3
No Known Exploit

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

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

This PR is not required anymore as we've already upgraded to leverage the latest, as of this writing, Spark version of 3.5.1. See https://github.com/datastax/cassandra-data-migrator/blob/main/pom.xml#L13
Closing out this pr now.

repo: datastax/cassandra-data-migrator


text:
Integration Test Grooming

Addresses some inconsistently passing tests on the 2.0 branch.   There are a few more than need addressing (primary in RecommissionedNodeTest).

Removing [wip] tag from this.  A few of the recent fixes were required to accommodate recent changes targeted for 2.0.12 and all the other changes seem to have positive impact.  Would be nice to get this merged in ahead of the release.

source: gharchive/pull-request

repo: datastax/java-driver

license_type: permissive

license_source: bigquery


text:
SPARKC-707: Remove references to DataStax Academy

Description
Removes two references to DS Academy courses and replaces them with links to the same courses on YouTube.
How did the Spark Cassandra Connector Work or Not Work Before this Patch
Two markdown files contained references to DataStax Academy courses that no longer exist at the referenced URLs.
General Design of the patch
I replaced the DS Academy course URLs with links to the same courses on YouTube
Fixes: SPARKC-707
How Has This Been Tested?
Links in rendered markdown successfully open the correct video playlists in YouTube.
Checklist:

[x] I have a ticket in the OSS JIRA
[x] I have performed a self-review of my own code
[x] Locally all tests pass (make sure tests fail without your patch)

Merging as is. Thank you @eric-schneider !

@jtgrabowski, sorry I didn't have time to go back and follow the correct merge path. I will make sure to do that next time!

Also, @jtgrabowski , do you have permissions to close https://datastax-oss.atlassian.net/browse/SPARKC-707?

Sure, closed.

authors: eric-schneider jtgrabowski

repo: datastax/spark-cassandra-connector


text:
The array  'columns' is not properly closed on the example.

The array  'columns' is not properly closed on the example.

Thanks, merged.

authors: dvdme lauris

repo: datazenit/sensei-grid

license: mit


text:
Odd 'aws s3 cp' behavior with large binary files

Hi! Very cool project. Thanks for putting this together.
I'm using s3-server from inside a docker container where I mount a local directory as the s3 root and map the port to the host machine for use. It seems with large files something gets into a bad state and continuously downloads...something. Here's my test case on an Ubuntu machine running s3-server from a docker container:
$ fallocate -l 100M s3_tmp/test/test2.dat
$ AWS_ACCESS_KEY_ID='123' AWS_SECRET_ACCESS_KEY='abc' aws --endpoint-url http://localhost:8014/ s3 cp s3://test/test2.dat .

$ ll s3_tmp/test/test2.dat
-rw-rw-r-- 1 davidh davidh 104857600 Mar 14 15:21 s3_tmp/test/test2.dat
$ ll test2.dat
-rw-rw-r-- 1 davidh davidh 205520896 Mar 14 15:21 test2.dat

What this is meant to show is that the copied file is almost twice the size of the original. Any ideas what is going on?
Note that I'm pretty new to actively using S3 so I wouldn't be surprised if I'm doing something wrong. I also wouldn't be surprised if you put in a file size limit somewhere and I'm going past that. My use case is that I want to put some large geotiff images (~1.1GB) on a fake S3 endpoint for testing.
Side question: I tried to use gdalinfo to query one of my geotiffs and it said that the server didn't support byte range requests, but I saw byte range info in the debug log. Any ideas?

s3-server is now developed slowly because we are waiting for aws offcial sdk and code generators. And personally I am foucsing on other projects.
s3-server may be not stable enough for your use cases. You can deploy another S3-compatible storage like minio, ceph, etc.

Sorry, I should have said, my current plans are to use s3-server for CI testing. In production we plan on using Ceph, but I was hoping for something simple for CI that I could bring up and tear down quickly. Thanks for the quick response.

The PR #112 should have fixed this bug. If it works, we can release a new patch version for you.

#112 doesn't calculate the correct content length. It should be last + 1 - first instead of last - first. #113 fixes it.

Now that #113 is merged, I'll close this. If you're willing to look into the GDAL range access error I can file a new bug for that, but otherwise I'll assume it won't be supported and will look at another option.
$ AWS_ACCESS_KEY_ID='123' AWS_SECRET_ACCESS_KEY='abc' gdalinfo /vsicurl/http://localhost:8014/test/GOES-17_ABI_RadF_true_color_night_20220302_194032_GOES-West.tif
ERROR 1: /vsicurl/http://localhost:8014/test/GOES-17_ABI_RadF_true_color_night_20220302_194032_GOES-West.tif: Range downloading not supported by this server!
Warning 1: /vsicurl/http://localhost:8014/test/GOES-17_ABI_RadF_true_color_night_20220302_194032_GOES-West.tif: TIFFFetchNormalTag:IO error during reading of "DateTime"; tag ignored
ERROR 1: /vsicurl/http://localhost:8014/test/GOES-17_ABI_RadF_true_color_night_20220302_194032_GOES-West.tif: Range downloading not supported by this server!
ERROR 1: /vsicurl/http://localhost:8014/test/GOES-17_ABI_RadF_true_color_night_20220302_194032_GOES-West.tif: TIFFReadDirectory:IO error during reading of "SampleFormat"
gdalinfo failed - unable to open '/vsicurl/http://localhost:8014/test/GOES-17_ABI_RadF_true_color_night_20220302_194032_GOES-West.tif'.

Seems to work with the vsicurl_streaming driver:
$ AWS_ACCESS_KEY_ID='123' AWS_SECRET_ACCESS_KEY='abc' gdalinfo /vsicurl_streaming/http://localhost:8014/test/GOES-17_ABI_RadF_true_color_night_20220302_194032_GOES-West.tif

source: gharchive/issue

authors: Nugine djhoese

license: MIT

license_source: github-api


text:
DatoCMS instance crashes when you don't use a correct Font-Awesome icon name

Hi @stefanoverna,
We are currently working on a custom page plugin and we want to be able to make the user choose a icon from Font Awesome for the mainNavigationTabs link. With this I came accross an error that makes it really difficult to develop or release the plugin.
When we add an item to the navigation tab like so:
import { connect, IntentCtx, RenderPageCtx } from 'datocms-plugin-sdk'

import PageScreen from './entrypoints/PageScreen/PageScreen'
import { render } from './utils/render'

import 'datocms-react-ui/styles.css'
import './styles/index.css'

connect({
  mainNavigationTabs(ctx: IntentCtx) {
    return [
      {
        label: 'Page',
        icon: 'cogs',
        placement: ['before', 'content'],
        pointsTo: {
          pageId: 'page',
        },
      },
    ]
  },
  renderPage(pageId, ctx: RenderPageCtx) {
    if (pageId === 'page') {
      return render(<PageScreen ctx={ctx} />)
    }
  },
})

I get a page and a link like I expect. But when I now try to add another random icon (like walkie-talkie https://fontawesome.com/icons/walkie-talkie?f=classic&s=solid) like this:
import { connect, IntentCtx, RenderPageCtx } from 'datocms-plugin-sdk'

import PageScreen from './entrypoints/PageScreen/PageScreen'
import { render } from './utils/render'

import 'datocms-react-ui/styles.css'
import './styles/index.css'

connect({
  mainNavigationTabs(ctx: IntentCtx) {
    return [
      {
        label: 'Page',
        icon: 'walkie-talkie',
        placement: ['before', 'content'],
        pointsTo: {
          pageId: 'page',
        },
      },
    ]
  },
  renderPage(pageId, ctx: RenderPageCtx) {
    if (pageId === 'page') {
      return render(<PageScreen ctx={ctx} />)
    }
  },
})

I get an error and I am not able to use the Dato instance anymore.
Some font-awesome icons indeed work, but I found it really hard to know which ones I could actually use (and thus make sure the user doesn't choose an Font-Awesome icon that creates an error in Dato). The only insight I have is that I got the impression that the only icons that work, where the Pro icons from Font Awesome version 5.8.2. All icons released in later versions don't seem to work.
Since this will crash your DatoCMS instance instantly this looks like an issue that needs a fix from your side (like not showing an icon at all if the icon doesn't exist or set a default icon?), but maybe there is another fix to mitigate this problem? I hope to hear from you soon!

Hi @velomovies and thanks for your detailed report!
We've implemented the following changes:

We've upgraded to the latest version of FontAwesome 5 — a lot of new icons are available now!
In v0.7.7 of datocms-plugin-sdk we explicitly define in Typescript which icons are supported — only solid ones are. This helps developers  by enabling auto-completion of icon names in VS Code, and prevents errors;
If you're still sending us a non-existent icon, DatoCMS instance replaces it with a cross icon, and notifies the developer in the console with an error;

authors: stefanoverna velomovies

repo: datocms/plugins-sdk


text:
Akita v3 roadmap

Here are the changes that we plan to present in Akita v3. We're still open to any suggestions or feedback, so feel free to bring up anything you'd like.
BREAKING CHANGES:

EntityStore.set() - remove options param, i.e entityClass. done.
Remove EntityStore.createOrReplace() in favor of EntityStore.upsert(). done
Remove EntityStore.updateRoot() in favor of EntityStore.update(). done
Remove EntityStore.updateAll() in favor of EntityStore.update(null, newState), done
Store.setState is internal and changed to _setState() - use only the update() method. done
Remove mapWorker. done
Remove array helpers. done
Remove decrement and increment. done
Remove Query.selectOnce - use select().pipe(take(1)). done
Remove deprecated Query.getSnapshot(). done
Remove noop - use the of() observable. done
Remove isPristine and isDirty in favor of new caching functionality. done
The action decorator takes the action name instead of an object. done
Remove EntityStore.isEmpty in favor of EntityStore.hasEntity(). done

Features:

Add async support to persistState so it will work with IndexedDB etc. done
Add akitaPreUpdateEntity and akitaPreAddEntity middlewares to EntityStore. done
Add akitaPreUpdate middleware to Store. done
Add caching functionality that exposes API like: this.query.getHasCache(), this.query.selectHasCache() with ability to define a ttl. done
Add support for event-based APIs like websockets. We've added the following functionality:

 import { runStoreAction, StoreActions } from '@datorama/akita';

 runStoreAction('books', StoreActions.UpdateEntities, {
   payload: {
     data: { title: 'New title' },
     entityIds: 2
   }
 });

done

Great news.
Regarding

Remove array helpers. done

How would arrays be handled then? (specifically remove specific index etc.)

@danzrou you can include what you need in your application and use it. We can't find any reason that we should include it inside Akita.

Seems totally legit.
Would love the new caching functionality <3

Amazing news, but i still waiting class support.

@zverbeta https://netbasal.gitbook.io/akita/general/additional-functionality/class-support

@NetanelBasal It's working only if we pass object in constructor

As their are a lot of break changes. You could also rename all Plug in to have Akita in the name :
PaginatorPlugin -> AkitaPaginatorPlugin
StateHistoryPlugin -> AkitaStateHistoryPlugin
DirtyCheckPlugin -> AkitaDirtyCheckPlugin
persistState() -> AkitaPersistState()
PersistNgFormPlugin -> AkitaPersistNgFormPlugin (maybe for this : "AkitaNgPersistFormPlugin" to have better corresponding with other ng plugin.
Did you provide a version 2.x with all deprecated feature, and new feature, to help the migration !?

Thanks for the suggestion. We're planning bigger changes in the plugins area, so we'll do it in that time.

https://engineering.datorama.com/you-asked-for-it-we-listened-and-now-its-here-akita-v3-92740d0d72e4

runStoreAction and StoreActions are not exported in src/index.ts so there are not usable.

Worth noting that if you're using forkJoin to fetch from your api, of() would short-circuit it. Either do of(null) or pipe(defaultIfEmpty())

@MarcelMalik fixed. @jonchai99 you're right, thanks.

authors: MarcelMalik NetanelBasal danzrou jonchai99 manudss zverbeta

repo: datorama/akita


text:
(bug): Active stays hydrated after calling store.set()

I'm submitting a...
[x] Bug report

Current behavior
After calling store.set(), active stays hydrated.
Expected behavior
Maybe calling store.set() should reset active to null and then set entities for more robustness ?
What is the motivation / use case for changing the behavior?
By example, if we call store.set([]), the id active is pointing to won't exist anymore and could cause many bug.

In our application, we have cases like that, but we call setActive(null). I will check if it makes sense to do it out of the box.

@bh86 what do u think?

authors: MonsieurMan NetanelBasal


text:
Add Nack CRDs

https://github.com/datreeio/CRDs-catalog/issues/371
Adding NACK Crds.
Location of the CRDs.
https://github.com/nats-io/nack/blob/main/deploy/crds.yml
Generated using Crds extractor script

@eyarz can you please review and approve this?

repo: datreeio/CRDs-catalog


text:
dattcore: Msg type: Authenticate

It should be possible to user your master key to sign your username.

Closed by https://github.com/dattnetwork/datt/commit/7e8d1dc3de74368efa67a954fb9831c6a0a6b34a

repo: dattnetwork/datt


text:
Problem with blank space in username

Uroš has username c:\Users\TRT Uros....
So set environment was challenging
I’ve send you example of working file in zip with correct setting. Basically setting for OPAL_TOOLS_JAVA_ARGS  was missing double quotes like in following sample :
set PROJECT_ROOT=C:\Users\TRT Uros\Documents\auctim_rep
set OPAL_TOOLS_HOME_DIR=%PROJECT_ROOT%\01_Project_Standards\opal-tools
set OPAL_TOOLS_JAVA_ARGS=-Dlog4j.configurationFile="%OPAL_TOOLS_HOME_DIR%\conf\log4j2.xml" -Djava.util.logging.config.file="%OPAL_TOOLS_HOME_DIR%\conf\log4j.properties" -Dfile.encoding=UTF-8

Fixed for windows.
On Linux it works in the patch name but not in the base install directory. But this seems to be a very unusual case.

repo: daust/opal-tools


text:
Can we add multiple markers on the image?

I have a project in which I would like to use this library, for the excellent zooming and panning functionality.
I have a very large image, which is a map viewed from the front.
I would like to add pins for different events on the map.
I used PinView to add a pin, but if I add multiple pins, only the last one remains on screen.
Can I add multiple pins at once and show them all on the map?

PinView is just a demo. You will need to write your own subclass the way you want it.

Can you give some hint how can achieve ?

I answered this question in post 236.

authors: MayurDev calvingoc davemorrissey endl3ssx


text:
Update sbt-jmh to 0.4.1

Updates pl.project13.scala:sbt-jmh from 0.3.7 to 0.4.1.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "pl.project13.scala", artifactId = "sbt-jmh" } ]

labels: sbt-plugin-update, semver-minor

Superseded by #138.

repo: davenverse/synchronized


text:
Update blogs.json

added IOS specific feed from my blog

Thanks Joseph!
Sent with GitHawk

authors: daveverwer heckj

repo: daveverwer/iOSDevDirectory


text:
Composer breaks on every composer command

Since I ran warden svc pull and warden env pull a few days ago, I can not run any composer command inside the warden shell anymore.
No matter which command I try to run, I get the following error:
Fatal error: Uncaught TypeError: Argument 3 passed to Composer\Package\Locker::__construct() must be an instance of Composer\Repository\RepositoryManager, instance of Composer\Installer\InstallationManager given, called in phar:///usr/bin/composer/src/Composer/Factory.php on line 446 and defined in /var/www/html/vendor/composer/composer/src/Composer/Package/Locker.php:54
Stack trace:
#0 phar:///usr/bin/composer/src/Composer/Factory.php(446): Composer\Package\Locker->__construct(Object(Composer\IO\ConsoleIO), Object(Composer\Json\JsonFile), Object(Composer\Installer\InstallationManager), '{\n    "name": "...', Object(Composer\Util\ProcessExecutor))
#1 phar:///usr/bin/composer/src/Composer/Factory.php(643): Composer\Factory->createComposer(Object(Composer\IO\ConsoleIO), Array, false, '/var/www/html', true, false)
#2 phar:///usr/bin/composer/src/Composer/Console/Application.php(445): Composer\Factory::create(Object(Composer\IO\ConsoleIO), NULL, false, false)
#3 phar:///usr/bin/composer/src/Composer/Command/BaseCommand.php(65 in /var/www/html/vendor/composer/composer/src/Composer/Package/Locker.php on line 54

This happens on each Magento 2.4.3-p1 installation, and the only workaround I found so far is deleting the vendor folder.
Then  In can run composer install once, after that it is broken again.
Anyone facing the same issue?

How did you install the Magento?
Have you tried installing Magento via this approach? - https://github.com/davidalger/warden/issues/467

We ran Magento now for a few months already in several warden environments.
It used to work without any issues, so I don't think the installation approach is the reason here.
But thanks, @MagePsycho

This is an issue with Composer < 2.2.3. Updating to 2.2.3 fixes the issue. See https://github.com/composer/composer/issues/10408.

@sprankhub , thanks for that finding, awesome.
@davidalger , what do we need to do to get the latest composer version inside the warden environments?
I just ran warden env pull and warden env up --force-recreate, but that did not help, I'm still on 2.2.2

https://twitter.com/SimonSprankel/status/1479420396520751104 :joy:

@norgeindian The images have been rebuilt, so if you re-pull and update your environment, you should see Composer has been bumped from 2.2.2 -> 2.2.3 in the current images as of this morning.

@davidalger , great, thanks. Just tried it and it works fine. Then I can close this issue.

authors: MagePsycho davidalger norgeindian sprankhub

repo: davidalger/warden


text:
Save and retrieve data to/from mysql database

I appreciate your good work brother.
Kindly I am lost, can you help me with example how to collect user input to database and able to print back in response after some processing , example how to view commission after sales of some products(@product with unit price and quantity)
Thanks

Hi. Please refer to this https://github.com/davidbwire/instant-ussd/wiki/Capturing-Incoming-Data

Thanks my brother, for your response, I reviewed the link https://github.com/davidbwire/instant-ussd/wiki/Capturing-Incoming-Data,  it seems I want to perform simple things, but I get lost, Kindly help me by sharing sample.

I have created a table of clients, then I want to save all registered clients with their register number.
Following your sample app, In my account menu, I want to display all registered clients by register
Kindly share a peace of code
Regards

If I manage to do this, the script is my saviour
Regards

authors: davidbwire stevenjohnk

repo: davidbwire/instant-ussd-app


text:
Embed only responds to person who called it

Hi, Ive been using your pagnitor for a project, its by far the easiest and most forward to use out of all the ones, so first of all great job!
One issue i have run into before deploying my bot is that the paginated embed only responds to the original person who called the command.
Is there anyway to make it so anybody can interact with it?

Hi @h1n054ur,
Thanks! Yes it's possible. The only way I can think of it is by adding a new reaction to lock/unlock the embed to make it available for other people to use. I'll see what I can do. Meanwhile if you know how to do that, you can submit a pull request.

@davidetacchini
thank you for working on the update!!

I've just submitted a new release (v0.5.0-alpha). Since it's an alpha, I'd like you (and others as well) to test it out by installing it directly via git:
pip install git+https://github.com/davidetacchini/pygicord

If you'll encount any issue don't hesitate to open a new one.

repo: davidetacchini/pygicord


text:
Erro acontecendo algumas vezes quando tenta tocar musica

com.sedmelluq.discord.lavaplayer.tools.FriendlyException: Something went wrong when looking up the track
at com.sedmelluq.discord.lavaplayer.tools.ExceptionTools.wrapUnfriendlyExceptions(ExceptionTools.java:45) ~[lavaplayer-e9ce89c.jar!/:na]
at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.dispatchItemLoadFailure(DefaultAudioPlayerManager.java:242) ~[lavaplayer-e9ce89c.jar!/:na]
at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$createItemLoader$0(DefaultAudioPlayerManager.java:231) ~[lavaplayer-e9ce89c.jar!/:na]
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[na:na]
at java.base/java.lang.Thread.run(Thread.java:833) ~[na:na]
Caused by: java.lang.RuntimeException: java.net.SocketException: Connection reset
at com.sedmelluq.discord.lavaplayer.tools.ExceptionTools.wrapUnfriendlyExceptions(ExceptionTools.java:59) ~[lavaplayer-e9ce89c.jar!/:na]
at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeSearchProvider.loadSearchResult(YoutubeSearchProvider.java:71) ~[lavaplayer-e9ce89c.jar!/:na]
at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager$LoadingRoutes.search(YoutubeAudioSourceManager.java:282) ~[lavaplayer-e9ce89c.jar!/:na]
at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager$LoadingRoutes.search(YoutubeAudioSourceManager.java:248) ~[lavaplayer-e9ce89c.jar!/:na]
at com.sedmelluq.discord.lavaplayer.source.youtube.DefaultYoutubeLinkRouter.route(DefaultYoutubeLinkRouter.java:37) ~[lavaplayer-e9ce89c.jar!/:na]
at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager.loadItemOnce(YoutubeAudioSourceManager.java:216) ~[lavaplayer-e9ce89c.jar!/:na]
at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager.loadItem(YoutubeAudioSourceManager.java:147) ~[lavaplayer-e9ce89c.jar!/:na]
at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.checkSourcesForItemOnce(DefaultAudioPlayerManager.java:452) ~[lavaplayer-e9ce89c.jar!/:na]
at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.checkSourcesForItem(DefaultAudioPlayerManager.java:434) ~[lavaplayer-e9ce89c.jar!/:na]
at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$createItemLoader$0(DefaultAudioPlayerManager.java:223) ~[lavaplayer-e9ce89c.jar!/:na]
... 4 common frames omitted
Caused by: java.net.SocketException: Connection reset
at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:323) ~[na:na]
at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:350) ~[na:na]
at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:803) ~[na:na]
at java.base/java.net.Socket$SocketInputStream.read(Socket.java:966) ~[na:na]
at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:484) ~[na:na]
at java.base/sun.security.ssl.SSLSocketInputRecord.readHeader(SSLSocketInputRecord.java:478) ~[na:na]
at java.base/sun.security.ssl.SSLSocketInputRecord.bytesInCompletePacket(SSLSocketInputRecord.java:70) ~[na:na]
at java.base/sun.security.ssl.SSLSocketImpl.readApplicationRecord(SSLSocketImpl.java:1461) ~[na:na]
at java.base/sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:1065) ~[na:na]
at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:137) ~[httpcore-4.4.13.jar!/:4.4.13]
at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:153) ~[httpcore-4.4.13.jar!/:4.4.13]
at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:280) ~[httpcore-4.4.13.jar!/:4.4.13]
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:138) ~[httpclient-4.5.13.jar!/:4.5.13]
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:56) ~[httpclient-4.5.13.jar!/:4.5.13]
at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:259) ~[httpcore-4.4.13.jar!/:4.4.13]
at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:163) ~[httpcore-4.4.13.jar!/:4.4.13]
at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:157) ~[httpclient-4.5.13.jar!/:4.5.13]
at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:273) ~[httpcore-4.4.13.jar!/:4.4.13]
at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125) ~[httpcore-4.4.13.jar!/:4.4.13]
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:272) ~[httpclient-4.5.13.jar!/:4.5.13]
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186) ~[httpclient-4.5.13.jar!/:4.5.13]
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) ~[httpclient-4.5.13.jar!/:4.5.13]
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) ~[httpclient-4.5.13.jar!/:4.5.13]
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) ~[httpclient-4.5.13.jar!/:4.5.13]
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) ~[httpclient-4.5.13.jar!/:4.5.13]
at com.sedmelluq.discord.lavaplayer.tools.io.HttpInterface.execute(HttpInterface.java:72) ~[lavaplayer-e9ce89c.jar!/:na]
at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeSearchProvider.loadSearchResult(YoutubeSearchProvider.java:62) ~[lavaplayer-e9ce89c.jar!/:na]
... 12 common frames omitted
2023-10-19T19:09:52.559-03:00 ERROR 12508 --- [ader-2-thread-1] lavalink.server.player.AudioLoader       : Track loading failed
com.sedmelluq.discord.lavaplayer.tools.FriendlyException: Something went wrong when looking up the track
at com.sedmelluq.discord.lavaplayer.tools.ExceptionTools.wrapUnfriendlyExceptions(ExceptionTools.java:45) ~[lavaplayer-e9ce89c.jar!/:na]
at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.dispatchItemLoadFailure(DefaultAudioPlayerManager.java:242) ~[lavaplayer-e9ce89c.jar!/:na]
at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$createItemLoader$0(DefaultAudioPlayerManager.java:231) ~[lavaplayer-e9ce89c.jar!/:na]
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[na:na]
at java.base/java.lang.Thread.run(Thread.java:833) ~[na:na]
Caused by: java.lang.RuntimeException: java.net.SocketException: Connection reset
at com.sedmelluq.discord.lavaplayer.tools.ExceptionTools.wrapUnfriendlyExceptions(ExceptionTools.java:59) ~[lavaplayer-e9ce89c.jar!/:na]
at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeSearchProvider.loadSearchResult(YoutubeSearchProvider.java:71) ~[lavaplayer-e9ce89c.jar!/:na]
at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager$LoadingRoutes.search(YoutubeAudioSourceManager.java:282) ~[lavaplayer-e9ce89c.jar!/:na]
at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager$LoadingRoutes.search(YoutubeAudioSourceManager.java:248) ~[lavaplayer-e9ce89c.jar!/:na]
at com.sedmelluq.discord.lavaplayer.source.youtube.DefaultYoutubeLinkRouter.route(DefaultYoutubeLinkRouter.java:37) ~[lavaplayer-e9ce89c.jar!/:na]
at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager.loadItemOnce(YoutubeAudioSourceManager.java:216) ~[lavaplayer-e9ce89c.jar!/:na]
at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager.loadItem(YoutubeAudioSourceManager.java:147) ~[lavaplayer-e9ce89c.jar!/:na]
at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.checkSourcesForItemOnce(DefaultAudioPlayerManager.java:452) ~[lavaplayer-e9ce89c.jar!/:na]
at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.checkSourcesForItem(DefaultAudioPlayerManager.java:434) ~[lavaplayer-e9ce89c.jar!/:na]
at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$createItemLoader$0(DefaultAudioPlayerManager.java:223) ~[lavaplayer-e9ce89c.jar!/:na]
... 4 common frames omitted
Caused by: java.net.SocketException: Connection reset
at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:323) ~[na:na]
at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:350) ~[na:na]
at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:803) ~[na:na]
at java.base/java.net.Socket$SocketInputStream.read(Socket.java:966) ~[na:na]
at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:484) ~[na:na]
at java.base/sun.security.ssl.SSLSocketInputRecord.readHeader(SSLSocketInputRecord.java:478) ~[na:na]
at java.base/sun.security.ssl.SSLSocketInputRecord.bytesInCompletePacket(SSLSocketInputRecord.java:70) ~[na:na]
at java.base/sun.security.ssl.SSLSocketImpl.readApplicationRecord(SSLSocketImpl.java:1461) ~[na:na]
at java.base/sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:1065) ~[na:na]
at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:137) ~[httpcore-4.4.13.jar!/:4.4.13]
at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:153) ~[httpcore-4.4.13.jar!/:4.4.13]
at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:280) ~[httpcore-4.4.13.jar!/:4.4.13]
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:138) ~[httpclient-4.5.13.jar!/:4.5.13]
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:56) ~[httpclient-4.5.13.jar!/:4.5.13]
at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:259) ~[httpcore-4.4.13.jar!/:4.4.13]
at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:163) ~[httpcore-4.4.13.jar!/:4.4.13]
at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:157) ~[httpclient-4.5.13.jar!/:4.5.13]
at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:273) ~[httpcore-4.4.13.jar!/:4.4.13]
at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125) ~[httpcore-4.4.13.jar!/:4.4.13]
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:272) ~[httpclient-4.5.13.jar!/:4.5.13]
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186) ~[httpclient-4.5.13.jar!/:4.5.13]
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) ~[httpclient-4.5.13.jar!/:4.5.13]
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) ~[httpclient-4.5.13.jar!/:4.5.13]
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) ~[httpclient-4.5.13.jar!/:4.5.13]
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) ~[httpclient-4.5.13.jar!/:4.5.13]
at com.sedmelluq.discord.lavaplayer.tools.io.HttpInterface.execute(HttpInterface.java:72) ~[lavaplayer-e9ce89c.jar!/:na]
at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeSearchProvider.loadSearchResult(YoutubeSearchProvider.java:62) ~[lavaplayer-e9ce89c.jar!/:na]
... 12 common frames omitted

Isso é um problema com o lavaplayer e não com o Vulkava.
Connection reset pode ser um problema de internet com a host em que tem o lavalink hospedado.

authors: WannaBeYoursArtic davidffa

repo: davidffa/Vulkava


text:
kurly doesn't work with https://transfer.sh

I'm trying to upload a file to https://transfer.sh and the upload doesn't work:
$ kurly -v -T test.txt https://transfer.sh
*   Trying 185.216.24.82...
* TCP_NODELAY set
* Connected to transfer.sh (185.216.24.82) port 443 (#0)
* APLN, server accepted to use http/1.1
* TLSv1.2, TLS Handshake finished
* SSL connection using TLSv1.2 / ECDHE-RSA-CHACHA20-POLY1305
* Server certificate:
*  subject: CN=*.transfer.sh
*  start date: Tue, 20 Jun 2017 00:00:00 UTC
*  expire date: Wed, 20 Jun 2018 23:59:59 UTC
*  issuer: C=GB; O=COMODO CA Limited; CN=COMODO RSA Domain Validation Secure Server CA
*  SSL certificate verify ok.
> PUT  HTTP/1.1
> User-Agent [Kurly/1.2.0]
> Accept [*/*]
> Host [transfer.sh]
> Expect [100-continue]
< HTTP/1.1 404 Not Found
< Content-Type [text/plain; charset=utf-8]
< Server [Transfer.sh HTTP Server 1.0]
< X-Content-Type-Options [nosniff]
< X-Made-With [<3 by DutchCoders]
< X-Served-By [Proudly served by DutchCoders]
< Date [Wed, 25 Apr 2018 19:58:40 GMT]
< Content-Length [10]
[<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<] 10 B/10 B
Not Found

The same file with curl:
$ curl -v -T test.txt https://transfer.sh
*   Trying 185.216.24.82...
* TCP_NODELAY set
* Connected to transfer.sh (185.216.24.82) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
  CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Client hello (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
* ALPN, server accepted to use http/1.1
* Server certificate:
*  subject: OU=Domain Control Validated; OU=PositiveSSL Wildcard; CN=*.transfer.sh
*  start date: Jun 20 00:00:00 2017 GMT
*  expire date: Jun 20 23:59:59 2018 GMT
*  subjectAltName: host "transfer.sh" matched cert's "transfer.sh"
*  issuer: C=GB; ST=Greater Manchester; L=Salford; O=COMODO CA Limited; CN=COMODO RSA Domain Validation Secure Server CA
*  SSL certificate verify ok.
> PUT /test.txt HTTP/1.1
> Host: transfer.sh
> User-Agent: curl/7.59.0
> Accept: */*
> Content-Length: 2
> Expect: 100-continue
>
< HTTP/1.1 100 Continue
* We are completely uploaded and fine
< HTTP/1.1 200 OK
< Content-Type: text/plain
< Server: Transfer.sh HTTP Server 1.0
< X-Made-With: <3 by DutchCoders
< X-Served-By: Proudly served by DutchCoders
< Date: Wed, 25 Apr 2018 20:02:16 GMT
< Content-Length: 34
<
* Connection #0 to host transfer.sh left intact

Looks like the problem is in Expect [100-continue].

@davidjpeacock We need to add an Expect header, with 100-continue. If not actually, it should have returned 417.. Rather it returned 400. I'm working on it.

@juanfra684 Actually, that is not the problem, cURL seems to rebuild the URL, if the URL has a trailing /.
Say https://transfer.sh/ is the URL, and filename is some.txt, cURL rebuilds the URL to https://transfer.sh/some.txt. If the URL passed is like https://transfer.sh/newname.txt, it doesn't rebuild the URL in this case. kurly doesn't do that and tries to PUT the upload file to https://transfer.sh/ instead of https://transfer.sh/some.txt. Try uploadin to https://transfer.sh/somename.txt it should work and get a 200. But the URL you get will have a 0 byte file. That is another bug in kurly. I'm working on it. Thanks for this issue.

Many thanks for the fixes!.
When I test the command with the slash at the end of the url, everything works OK. That's enough for use case. However, just in case that you want to take a look, without the slash the command works with curl but fails with kurly.
$ ./go/bin/kurly -T test.txt https://transfer.sh
[<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<] 10 B/10 B
Not Found
$ ./go/bin/kurly -T test.txt https://transfer.sh/
[>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>] 5 B/5 B
[<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<] 34 B/34 B
https://transfer.sh/5ZKEI/test.txt
$ curl -T test.txt https://transfer.sh
https://transfer.sh/gpT5D/test.txt
$ ./go/bin/kurly -v -T test.txt https://transfer.sh/
*   Trying 185.216.24.82...
* TCP_NODELAY set
* Connected to transfer.sh (185.216.24.82) port 443 (#0)
* APLN, server accepted to use http/1.1
* TLSv1.2, TLS Handshake finished
* SSL connection using TLSv1.2 / ECDHE-RSA-CHACHA20-POLY1305
* Server certificate:
*  subject: CN=*.transfer.sh
*  start date: Tue, 20 Jun 2017 00:00:00 UTC
*  expire date: Wed, 20 Jun 2018 23:59:59 UTC
*  issuer: C=GB; O=COMODO CA Limited; CN=COMODO RSA Domain Validation Secure Server CA
*  SSL certificate verify ok.
> PUT /test.txt HTTP/1.1
> User-Agent [Kurly/1.2.1]
> Accept [*/*]
> Host [transfer.sh]
> Content-Length [5]
> Expect [100-continue]
[>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>] 5 B/5 B
< HTTP/1.1 200 OK
< Date [Tue, 15 May 2018 19:05:59 GMT]
< Content-Length [34]
< Content-Type [text/plain]
< Server [Transfer.sh HTTP Server 1.0]
< X-Made-With [<3 by DutchCoders]
< X-Served-By [Proudly served by DutchCoders]
[<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<] 34 B/34 B
https://transfer.sh/onj0d/test.txt
$ ./go/bin/kurly -v -T test.txt https://transfer.sh
*   Trying 185.216.24.82...
* TCP_NODELAY set
* Connected to transfer.sh (185.216.24.82) port 443 (#0)
* APLN, server accepted to use http/1.1
* TLSv1.2, TLS Handshake finished
* SSL connection using TLSv1.2 / ECDHE-RSA-CHACHA20-POLY1305
* Server certificate:
*  subject: CN=*.transfer.sh
*  start date: Tue, 20 Jun 2017 00:00:00 UTC
*  expire date: Wed, 20 Jun 2018 23:59:59 UTC
*  issuer: C=GB; O=COMODO CA Limited; CN=COMODO RSA Domain Validation Secure Server CA
*  SSL certificate verify ok.
> PUT  HTTP/1.1
> Accept [*/*]
> Host [transfer.sh]
> Content-Length [5]
> Expect [100-continue]
> User-Agent [Kurly/1.2.1]
< HTTP/1.1 404 Not Found
< Content-Type [text/plain; charset=utf-8]
< Server [Transfer.sh HTTP Server 1.0]
< X-Content-Type-Options [nosniff]
< X-Made-With [<3 by DutchCoders]
< X-Served-By [Proudly served by DutchCoders]
< Date [Tue, 15 May 2018 19:06:27 GMT]
< Content-Length [10]
[<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<] 10 B/10 B
Not Found

@juanfra684 Ah, URL needs a little bit sanitation. Will fix it.

@juanfra684 Commit 7e762cb fixes it. Can you test it against the master.

repo: davidjpeacock/kurly


text:
Document translation

In the Quickstart and 'Getting Started'
final llm = OpenAI(apiKey: openaiApiKey, temperature: 0.9);

We can now call it on some input!
final text = 'What would be a good company name for a company that makes colorful socks?';
print(await llm(prompt: text)); // 'Feetful of Fun'

The line print(await llm(prompt: text));
Trying to invoke an object as a function won't work in Dart of course, but I think is a simple translation error from Python docs.  I don't really know Python, but apparently:

Python has a set of built-in methods and call is one of them. The call method enables Python programmers to write classes where the instances behave like functions and can be called like a function. When the instance is called as a function; if this method is defined, x(arg1, arg2, ...) is a shorthand for x.call(arg1, arg2, ...).

Ok, I obviously missed that about Dart ! But I am getting a compile error, so I need to find out out why - if I didn't know about this feature after using Dart for a few years I guess others might run into a similar problem.  There may be an option somewhere in Android Studio, or analyser perhaps.
I would like to keep this open until I can resolve, by all means assign to me

Cancel that, I cannot reproduce it. Perhaps I had out of date Dart SDK wherever I was at the time!


text:
Add support for VectorStoreRetrieverMemory

https://python.langchain.com/docs/modules/memory/how_to/vectorstore_retriever_memory

@dileep9490 here you have some resources that should help you to implement it:

Docs
Python code
TypeScript code
TypeScript tests

Dependencies:

VectorStoreRetriever (already implemented)
BaseMemory(already implemented)

Sample code that we should be able to run when it's implemented:
final embeddings = OpenAIEmbeddings(apiKey: openaiApiKey);
final vectorStore = MemoryVectorStore(embeddings: embeddings);

final memory = VectorStoreRetrieverMemory(retriever: vectorStore.asRetriever());

memory.saveContext(
  inputValues: {
    'foo': 'bar2',
    'bar': 'foo2',
  },
  outputValues: {
    'foo': 'bar',
  },
);

final memories = await memory.loadMemoryVariables();
print(memories);

@davidmigloz can you assign me this issue

@davidmigloz how can i get the test data? the type script tests are using TensorFlow embeddings

You can use OpenAIEmbeddings instead that it's already implemented.

@davidmigloz that requires my OpenAI API key right if so i'm having some issues with it? or is there any data available?

yes, it requires your OpenAI API key.
To add data to the VectorStoreRetrieverMemory you have to call the saveContext method (you can check the example from the previous comment).
Then when you call memory.loadMemoryVariables(values) it should return the relevant Documents from the vector store.
Another option if you don't want to use OpenAI API is to use a local embedding model using https://www.premai.io/#PremApp. You can still use OpenAIEmbeddings wrapper, but specifying client=OpenAIClient.local('http://localhost:8000') (replace 8000 with the port where your PremApp is running the model).


text:
cargo: bump version-sync dependency

The new version 0.8.0 requires Rust 2018, which this project is already using.

Thanks!

authors: davidpdrsn mgeisler

repo: davidpdrsn/juniper-from-schema


text:
from six.moves import xrange

flake8 testing of https://github.com/davidsandberg/facenet on Python 3.6.3
$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
./contributed/cluster.py:124:14: F821 undefined name 'xrange'
    for x in xrange(len(image_list)):
             ^

./contributed/cluster.py:129:22: F821 undefined name 'xrange'
            for i in xrange(nrof_samples):
                     ^

2     F821 undefined name 'xrange'

There is a BIG reason... range() in python 2 will build a list in memory that contains all numbers from 0 to 10**8 and then iterate over it and then throw it away.  That takes time and ram away from your app.

Yes exactly. I meant along the lines why use
from six.moves import xrange

over
from builtins import range

I'd prefer the latter since six isn't a built in library and xrange will be a thing of the past at some point... I just made a demo of this import here https://colab.research.google.com/notebook#fileId=1bV-BzUSh9gK4n8aB3q4AJOPGTXs2iFEk
However I see that six.moves has been used a few times in this library.

authors: cclauss cjekel

repo: davidsandberg/facenet


text:
Změna misí - každá jen jednou

V současné verzi je třeba odstraňovat již zahrané mise ručně. Čas na administrativu vyhodnocení by se o něco snížil, kdyby se tyto mise odstraňovaly samy.

Mise bych neodstraňoval, ale skrýval. Jde o skrývání hráčům nebo v admin rozhraní?

Prioritou je skrývání hráčům, aby nemohli mise brát dvakrát. Skrývání v admin rozhraní by bylo nice to have. Při práci s misemi u adminů se po naplnění nevykreslí obsah okna ihned, což chápu, že se děje, a nenaznačuju, že by se to mělo řešit. V průběhu hry se dostaneme na cca dvojnásobek počátečního počtu misí. Pokud by se ta prodleva měla s větším počtem zhoršovat, bude přidávání nových misí trvat o něco déle.

Je složité automaticky skrývat a zobrazovat mise hráčům. Je těžké spočítat, že už byla mise splněna (protože to závisí na akcích) plus jestli se má mise objevit závisí na prerekvizitách a to nemáme v systému. Tak jsem udělal filtr + skrývání misí v admin rozhraní. Půjde si všechny mise připravit dopředu a pak jenom jednoduše skrývat/zobrazovat, to nezabere moc času.

authors: davidvavra jakslavik

repo: davidvavra/duna-valka-assassinu


text:
Project roadmap

I can see lots of issues but would like to know which ones are your focus right now?

Unfortunately, I've been dealing with a Repetitive Stress Injury since May and haven't been able to work on the project much since then. My current focus is pull request #103, and after that I hope to address the outstanding issues labeled as bugs that have been submitted.

It would be really lovely to have a roadmap available in the readme. No worries if that's not something you're interested in doing but I think it would be helpful in clearing up a lot of duplicate FRs and issues.

@mayurankv feel free to comment on any duplicate feature requests in issues, I try to do my best to clean them up as they're submitted but I'm sure it's not a perfect comparison.
In terms of my roadmap, my focus in the short to medium term is a comprehensive refactor of the plugin in order to make it easier to add new features going forward. The code has become quite a spaghetti mess, and many highly requested features, from more advanced recurrence UI to linked notes two-way CalDAV sync are not possible to implement with the current code architecture.
My hope is that the refactor will make it easier for me to add new features, as well as make it easier for me to accept pull requests from other contributors.
You can see a rough sketch of the roadmap here, but don't expect this to be comprehensive.

authors: DannyHatcher-Git davish mayurankv

repo: davish/obsidian-full-calendar


text:
installation on kubuntu 16.10

Hello
I want to use dlib on kubuntu 16.10, which I installed on my laptop a few months ago.
I installed libcblas, openblas from the ubuntu repositories and cuda 8.0 and cudnn 6.0 from nvidia, but I get the following messages when trying to configure the compilation for the examples using cmake-gui:
C++11 activated.
Enabling AVX instructions
Searching for BLAS and LAPACK
Checking for module 'cblas'
No package 'cblas' found
Found OpenBLAS library
Found LAPACK library
BLAS library does not have cblas symbols, so dlib will not use BLAS or LAPACK

*** No BLAS library found so using dlib's built in BLAS.  However, if you ***
*** install an optimized BLAS such as OpenBLAS or the Intel MKL your code ***
*** will run faster.  On Ubuntu you can install OpenBLAS by executing:    ***
***    sudo apt-get install libopenblas-dev liblapack-dev                 ***
*** Or you can easily install OpenBLAS from source by downloading the     ***
*** source tar file from http://www.openblas.net, extracting it, and      ***
*** running:                                                              ***
***    make; sudo make install                                            ***

Found CUDA: /usr (found suitable version "8.0", minimum required is "7.5")
Looking for cuDNN install...
*** cuDNN V5.0 OR GREATER NOT FOUND.  DLIB WILL NOT USE CUDA. ***
*** If you have cuDNN then set CMAKE_PREFIX_PATH to include cuDNN's folder.
Found CUDA: /usr (found suitable exact version "8.0")
Is dlib supposed to run on (K)ubuntu 16.10?
If yes, what am I doing wrong?

Yes. It will work. Did you do what the message said?  sudo apt-get install libopenblas-dev liblapack-dev

As far as I can tell, I did:
Maybe I installed something too much and it's conflicting with something else, but I have no idea what it can be.
I'm using a fresh clone of dlib from github.
guenter@Aspire:$ dpkg-query -l | grep blas
cuda-cublas-8-0                                 8.0.61.1-1                                  amd64        CUBLAS native runtime libraries
cuda-cublas-dev-8-0                             8.0.61.1-1                                  amd64        CUBLAS native dev links, headers
libblas-common                                  3.6.1-2ubuntu1                              amd64        Dependency package for all BLAS implementations
libblas-dev                                     3.6.1-2ubuntu1                              amd64        Basic Linear Algebra Subroutines 3, static library
libblas3                                        3.6.1-2ubuntu1                              amd64        Basic Linear Algebra Reference implementations, shared library
libcblas-dev                                    3.2.1+dfsg-1                                amd64        Basic Linear Algebra Subroutines 3, static library
libcblas3                                       3.2.1+dfsg-1                                amd64        Basic Linear Algebra Reference implementations, shared library
libclblas-dev:amd64                             2.10-4                                      amd64        development files for clBLAS
libclblas2:amd64                                2.10-4                                      amd64        OpenCL BLAS library
libcublas8.0:amd64                              8.0.44-0ubuntu1                             amd64        NVIDIA cuBLAS Library
liblastfm1:amd64                                1.0.9-1                                     amd64        Last.fm web services library (Qt4 build)
libnvblas8.0:amd64                              8.0.44-0ubuntu1                             amd64        NVBLAS runtime library
libopenblas-base                                0.2.18-1ubuntu1                             amd64        Optimized BLAS (linear algebra) library (shared library)
libopenblas-dev                                 0.2.18-1ubuntu1                             amd64        Optimized BLAS (linear algebra) library (development files)
guenter@Aspire:$ dpkg-query -l | grep cud
cuda                                            8.0.61-1                                    amd64        CUDA meta-package
cuda-8-0                                        8.0.61-1                                    amd64        CUDA 8.0 meta-package
cuda-command-line-tools-8-0                     8.0.61-1                                    amd64        CUDA command-line tools
cuda-core-8-0                                   8.0.61-1                                    amd64        CUDA core tools
cuda-cublas-8-0                                 8.0.61.1-1                                  amd64        CUBLAS native runtime libraries
cuda-cublas-dev-8-0                             8.0.61.1-1                                  amd64        CUBLAS native dev links, headers
cuda-cudart-8-0                                 8.0.61-1                                    amd64        CUDA Runtime native Libraries
cuda-cudart-dev-8-0                             8.0.61-1                                    amd64        CUDA Runtime native dev links, headers
cuda-cufft-8-0                                  8.0.61-1                                    amd64        CUFFT native runtime libraries
cuda-cufft-dev-8-0                              8.0.61-1                                    amd64        CUFFT native dev links, headers
cuda-curand-8-0                                 8.0.61-1                                    amd64        CURAND native runtime libraries
cuda-curand-dev-8-0                             8.0.61-1                                    amd64        CURAND native dev links, headers
cuda-cusolver-8-0                               8.0.61-1                                    amd64        CUDA solver native runtime libraries
cuda-cusolver-dev-8-0                           8.0.61-1                                    amd64        CUDA solver native dev links, headers
cuda-cusparse-8-0                               8.0.61-1                                    amd64        CUSPARSE native runtime libraries
cuda-cusparse-dev-8-0                           8.0.61-1                                    amd64        CUSPARSE native dev links, headers
ii  cuda-demo-suite-8-0                             8.0.61-1                                    amd64        Demo suite for CUDA
cuda-documentation-8-0                          8.0.61-1                                    amd64        CUDA documentation
cuda-driver-dev-8-0                             8.0.61-1                                    amd64        CUDA Driver native dev stub library
cuda-drivers                                    375.51-1                                    amd64        CUDA Driver meta-package
cuda-license-8-0                                8.0.61-1                                    amd64        CUDA licenses
cuda-misc-headers-8-0                           8.0.61-1                                    amd64        CUDA miscellaneous headers
cuda-npp-8-0                                    8.0.61-1                                    amd64        NPP native runtime libraries
cuda-npp-dev-8-0                                8.0.61-1                                    amd64        NPP native dev links, headers
cuda-nvgraph-8-0                                8.0.61-1                                    amd64        NVGRAPH native runtime libraries
cuda-nvgraph-dev-8-0                            8.0.61-1                                    amd64        NVGRAPH native dev links, headers
cuda-nvml-dev-8-0                               8.0.61-1                                    amd64        NVML native dev links, headers
cuda-nvrtc-8-0                                  8.0.61-1                                    amd64        NVRTC native runtime libraries
cuda-nvrtc-dev-8-0                              8.0.61-1                                    amd64        NVRTC native dev links, headers
cuda-repo-ubuntu1604                            8.0.61-1                                    amd64        cuda repository configuration files
rc  cuda-repo-ubuntu1604-8-0-local                  8.0.44-1                                    amd64        cuda repository configuration files
cuda-runtime-8-0                                8.0.61-1                                    amd64        CUDA Runtime 8.0 meta-package
cuda-samples-8-0                                8.0.61-1                                    amd64        CUDA example applications
cuda-toolkit-8-0                                8.0.61-1                                    amd64        CUDA Toolkit 8.0 meta-package
cuda-visual-tools-8-0                           8.0.61-1                                    amd64        CUDA visual tools
libcuda1-375                                    375.66-0ubuntu0.16.10.1                     amd64        NVIDIA CUDA runtime library
libcudart8.0:amd64                              8.0.44-0ubuntu1                             amd64        NVIDIA CUDA Runtime Library
libcudnn6                                       6.0.21-1+cuda8.0                            amd64        cuDNN runtime libraries
libcudnn6-dev                                   6.0.21-1+cuda8.0                            amd64        cuDNN development libraries and headers
libcudnn6-doc                                   6.0.21-1+cuda8.0                            amd64        cuDNN documents and samples
nvidia-cuda-dev                                 8.0.44-0ubuntu1                             amd64        NVIDIA CUDA development files
nvidia-cuda-doc                                 8.0.44-0ubuntu1                             all          NVIDIA CUDA and OpenCL documentation
nvidia-cuda-gdb                                 8.0.44-0ubuntu1                             amd64        NVIDIA CUDA Debugger (GDB)
nvidia-cuda-toolkit                             8.0.44-0ubuntu1                             amd64        NVIDIA CUDA development toolkit

Like the message says. You have a blas library that is missing cblad symbols. Start deleting blas libraries until you delete the right one.

Thank you.
Yeah, after I noticed that cmake is only checking the first time when it's run what libraries are available, I could apply your suggestion and solved the blas issue.
For the cuda issue, I had to manually set the host compiler to gcc-5/g++-5 and now it's compiling

authors: davisking guenterneust

repo: davisking/dlib


text:
Changed directory of license

As LICENSE.txt was in another directory, Github was not showing up the license when entered in the repository. This will confuse open-source contributors that this is a open-source library or free library. That is why I think license should be in root directory although mentioned in the readme.

Sure, but fix the link address and copy, don't move the license.

should I create a symbolic link to root?

Just a copy.

do you mean I should make a copy in root and change the link, but not to move that one?

@davisking
do I need any other changes?

authors: davisking meSajied


text:
Fix msvc2015 build dtest

Fixes #95
Tested on GCC 5.2, MSVC2013, MSVC2015

We need the throw (std::exception) because destructors are noexcept by default in C++11 (see http://en.cppreference.com/w/cpp/language/noexcept_spec). Without it, if any of those tests fail in test4_c2 the program will be abruptly terminated.
So the right thing to do is to disable this visual studio warning in just this test file with a #pragma.

I have tried to find #pragma for changing this in MSVC2015, but cant find it. This is not a warning, but error that breaks compilation process
I have read a link from C++11 standard you provided and there is one interesting paragraph:

If any declaration of a function has a noexcept specification that isn't noexcept(false), other declarations of the same function have to have the same noexcept-specification. Similar restrictions apply to overriders of a virtual function and to initialization and assignment of pointers to functions (target entity has to have identical or more permissive exception specification).

This means, if the destructor of base class is noexcept, derived classes cant change exception specification and we cant use throw (std::exception) in derived classes destructors. I just cant understang why GCC 5.2 successfully compiles this code. May be this will change in a future
Here is one more link where same situation is discussed http://www.cplusplus.com/forum/beginner/172392/#msg857541
One more thing that I see - the only reason to use throw (std::exception) is:
            DLIB_TEST_MSG(is_running() == false,"is_running(): " << is_running());

And really we do not need using this type of marco, we will not get any additional information from its message. There are a lot of similar checks for is_running with simple (no msg) DLIB_TEST macro - even in the same destructor

Oh right, sorry, I answered too quickly assuming it was a warning.
Anyway, both DLIB_TEST and DLIB_TEST_MSG throw exceptions when they fail.  That's how they communicate the failure to the testing framework and also avoid further execution of the code they are in which might otherwise crash.
I also fixed this months ago but accidentally made the changes in a private dlib branch (I'm adding deep learning tooling to dlib).  I'm going push the updated branch in a few days which will fix this so don't worry about it :)

authors: davisking e-fominov


text:
补充黑名单（可能有重复）

https://twitter.com/zhouzhouxu4
https://twitter.com/ge_qiang53432
https://twitter.com/Itslusty_0
https://twitter.com/oaeoae99
https://twitter.com/xiaoqizz9
https://twitter.com/LeraWarein73264
https://twitter.com/Savvee6
https://twitter.com/_imom_sex
https://twitter.com/CurvesTeen83539
https://twitter.com/sweet19th
https://twitter.com/Marieli53463569
https://twitter.com/dimasharyanto55

已添加

authors: Kanjoniie daymade

repo: daymade/Twitter-Block-Porn


text:
Yarn install doesn't work and results in failed install.

I'm submitting a...

[X] Bug report  <
[ ] Feature request
[ ] Question

Current behavior
Can't currently install the package with YARN as it gives an error on node-gyp. (visual studio reference) as weird as it sounds.
Expected behavior
Install correctly with yarn and find db-migrate in terminal
Environment

db-migrate version: latest

Additional information:
- Node version: 18 & 20
- Platform:  Windows

The db-migrate-mysql and db-migrate-sqlite3 packages need Python and node-gyp for compilation because they rely on native modules. Unlike Node.js, Yarn doesn't handle compilation on its own and depends on system dependencies instead.
To support installation via Yarn, it's recommended to add a pre-install script in the package.json file. This script would ensure that the necessary system dependencies are installed before attempting to install the packages.

repo: db-migrate/node-db-migrate


text:
RSSI limit has no effect in paxcounter

RSSI limit has no effect, I tried values from -40 to -110 but it didn't change the number of bluetooth devices detected. Set logging to DEBUG and I could see the MACs and their RSSI but the paxcounter still reported the devices above the RSSI limit value. The RSSI value is reporting correct on the OLED display which indicates that remote command has been successful.

You are right. The rssi filter function has not yet been implemented in this library. Can you suggest a PR, maybe?

I'm sorry, what do you mean by PR?

@cyberman54 I'll have a look but I'm new to paxcounter and am still getting my head around it.

I had a look today but it's going to be above my skillset to put together a PR, sorry.

Solved with https://github.com/dbSuS/libpax/pull/3

repo: dbSuS/libpax


text:
Schedule Now

Currently adding a job like :
    schedule.every(5).minutes.do(my_job)

will run the job after 5 min from now. add a func which lets the user to specify if the job should be run at the time of adding it. Example :
    schedule.every(5).minutes.do(my_job).now(True)

Does schedule library support this?

Thanks for creating this issue! My thinking here is that we don't need to introduce a new schedule feature for that – we can just use a Python function call:
schedule.every(5).minutes.do(my_job)
my_job()

Or alternatively, if we need to use this pattern several times we can write a simple helper function:
def schedule_and_run_now(jobfunc):
    schedule.every(5).minutes.do(jobfunc)
    jobfunc()

schedule_and_run_now(my_job1)
schedule_and_run_now(my_job2)
schedule_and_run_now(my_job3)

actually I was looking through some examples and I saw .run() method.
schedule.every(5).minutes.do(jobfunc).run()
This seems to be working.

authors: aashudwivedi dbader kosiraljaz

repo: dbader/schedule


text:
dumb gimmick: Temporal oversampling

Pointless feature idea: take the code I have for fast-forwarding and apply it all the time... for every rendering tick (e.g. 60fps), run game simulation four times with 1/4 timesteps, render each of them, and blur the frames together. This will require changing all my physics code to be "framerate" independent
Dumb but it might look interesting when the mosquito guys are moving really fast

Too dumb

repo: dbandstra/oxid


text:
Sample database manual setup

Currently DBeaver asks about sample database installation only during initial startup.
It is not possible to install sample database after that.
We need to add an action in the main menu which will allow this.

verified

authors: serge-rider uslss

repo: dbeaver/dbeaver


text:
本地查看hive json格式的数据，如何添加jar,在哪里添加

SQL 错误 [40000] [42000]: Error while compiling statement: FAILED: RuntimeException MetaException(message:java.lang.ClassNotFoundException Class org.apache.hive.hcatalog.data.JsonSerDe not found)

Hi @feipenghou. Sadly i don't know chinese, so im using translator.
Some communities defines how properly make questions, contributions, pull requests, etc. I think here, they defined you have to use Discussions to make questions.
I don't know what you are tring to do, but i will try to answer your question.
In the documentation, says that after creating a connection, Dbeaver downloads the required Jars. You can read here https://github.com/dbeaver/dbeaver/wiki/Apache-Hive. I tested that and a windows appears when you click the tab "Driver Properties".

Here is the windows

If using that method doesn't work i would try to setup drivers manually.
To get the driver, i think you need the classes from hadoop and hive, look here. Specifically the driver jar, I think maybe some one of these https://mvnrepository.com/artifact/org.apache.hive/hive-jdbc
Then you have to configure Dbeaver to use it, here are more details of how to do it. Basically you have to add the jars as a library in the driver configuration.
After that you would connect sucessfull, if not you can provide more details of what are you trying.
You can use platforms like https://stackoverflow.com/ to ask for help too. There Dbeaver have a tag
hope it helps

authors: feipenghou uselessscat


text:
Can not edit result cell.

System information:

Windows 10.
Dbeaver 21.0.2

Connection specification:

Oracle 18c
Jdbc

There is a problem when modifying the data result grid after Dbeaver 21.0.2 update.
If a column is specified in the SELECT statement, it cannot be modified. If the entire column is specified (*), it can be modified.
It was a problem that didn't exist in previous versions.
Please refer to the attached file.
Thank you for reading.  :)
Dbeaver 21.0.2

Dbeaver 21.0.1

Seems to be a side effect of #11194

Fixed

verified

authors: podoni serge-rider uslss


text:
Mark Code Block Scope

I have become a fan of dbeaver over the last 8 months. I started it for PostgreSQL, but now I use it with MSSQL, MYSQL also. I still find some lack of features which will improve its usability a great deal.
When I work with a large and complex script, the lack of scope selection makes it a little difficult for me. Such as, I attached here two screenshots, one from SSMS and the other from dBeaver, with the same script where SSMS clearly marks the BEGIN-END block and dbeaver don't.
The same should be done with parentheses, though dbeaver shows the parenthesis starts end block,  the change should be more visible to easily identify code blocks.
I am already impressed with the developer community, so if this issue is addressed, It'll only go better.
Thanks for your hard work.
SSMS

dBeaver

Thanks for the feature suggestion


text:
Support displaying sequences for CockroachDB

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
When you use DBeaver to connect to CockroachDB, you can see the tables, views, etc. in the "explorer" view, but you don't see a list of sequences.  I'd love to be able to interact with CockroachDB sequences in the same way that I can interact with tables, etc.
Describe alternatives you've considered
You can get a list of sequences using the query window to query CockroachDB system tables.
Additional context
I've tested this on DBeaver Community Version 22.0.3.202204170718 and CockroachDB v21.2.9

Thanks for the idea @jhatcher9999


text:
Unexpected driver error occurred while connecting to the database

Description
I tried to connect  informix database in mac class java.lang.StringIndexOutOfBoundsException cannot be cast to class java.sql.SQLException (java.lang.StringIndexOutOfBoundsException is in module java.base of loader 'bootstrap'; java.sql.SQLException is in module java.sql of loader 'platform') this error has occured .
DBeaver Version
Community Edition 22.2.3
Operating System
macOS Monterey 12.6
Database and driver
databse :informix
driver details :
ifxjdbc.jar
ifxlang.jar
Steps to reproduce
No response
Additional context
No response

Please, provide the log files. You can find instructions here https://github.com/dbeaver/dbeaver/wiki/Log-files

these are listed in exception stack trace.
java.lang.ClassCastException: class java.lang.StringIndexOutOfBoundsException cannot be cast to class java.sql.SQLException (java.lang.StringIndexOutOfBoundsException is in module java.base of loader 'bootstrap'; java.sql.SQLException is in module java.sql of loader 'platform')
	at com.informix.jdbc.IfxDriver.connect(IfxDriver.java:274)
	at org.jkiss.dbeaver.model.impl.jdbc.JDBCDataSource.lambda$0(JDBCDataSource.java:206)
	at org.jkiss.dbeaver.model.impl.jdbc.JDBCDataSource.lambda$1(JDBCDataSource.java:225)
	at org.jkiss.dbeaver.utils.SecurityManagerUtils.wrapDriverActions(SecurityManagerUtils.java:96)
	at org.jkiss.dbeaver.model.impl.jdbc.JDBCDataSource.openConnection(JDBCDataSource.java:223)
	at org.jkiss.dbeaver.ext.generic.model.GenericDataSource.openConnection(GenericDataSource.java:143)
	at org.jkiss.dbeaver.model.impl.jdbc.JDBCExecutionContext.connect(JDBCExecutionContext.java:103)
	at org.jkiss.dbeaver.model.impl.jdbc.JDBCRemoteInstance.initializeMainContext(JDBCRemoteInstance.java:102)
	at org.jkiss.dbeaver.model.impl.jdbc.JDBCRemoteInstance.(JDBCRemoteInstance.java:61)
	at org.jkiss.dbeaver.model.impl.jdbc.JDBCDataSource.initializeRemoteInstance(JDBCDataSource.java:128)
	at org.jkiss.dbeaver.ext.generic.model.GenericDataSource.(GenericDataSource.java:109)
	at org.jkiss.dbeaver.ext.generic.model.meta.GenericMetaModel.createDataSourceImpl(GenericMetaModel.java:90)
	at org.jkiss.dbeaver.ext.generic.GenericDataSourceProvider.openDataSource(GenericDataSourceProvider.java:106)
	at org.jkiss.dbeaver.registry.DataSourceDescriptor.openDataSource(DataSourceDescriptor.java:1108)
	at org.jkiss.dbeaver.registry.DataSourceDescriptor.connect(DataSourceDescriptor.java:988)
	at org.jkiss.dbeaver.runtime.jobs.ConnectJob.run(ConnectJob.java:70)
	at org.jkiss.dbeaver.runtime.jobs.ConnectionTestJob.run(ConnectionTestJob.java:103)
	at org.jkiss.dbeaver.model.runtime.AbstractJob.run(AbstractJob.java:105)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

can you please provide update on this issue ??

Could you provide database version you are trying to connect to?
Do you use the default driver for Influx automatically downloaded by DBeaver?

No its is not automatically downloaded driver .same drive was  provided for both but  windows users able to login using those drivers but in mac it shows this error.can you please suggest how to use automatically downloaded drivers for informix?? Will it fix this issue.

Do you know the version of the driver you are trying to use?

when i used java com.informix.jdbc.Version this command to find driver version it shows
Could not find or load main class com.informix.jdbc.Version
Caused by: java.lang.ClassNotFoundException: com.informix.jdbc.Version dont know about other ways to find version

is this correct class path shouldn't be the jar file directory ??

@E1izabeth  @n5a5  I request to get this issue to be fixed soon.  same issues occurred for 3 mac users at work .

If i used automatically downloaded informix 4.50.4.1jdbc driver along with bson jar 3.8.0 version .it shows socket connection error.

Issue resolved with older versions of dbeaver

Thank you for replying to us. We'll try to investigate this issue. It's not good that it can't work on the latest DBeaver version.

Hello @Katy1320
Please try to use another driver version.


text:
Selected Row Count

Description
Hi,
After the last dbeaver update (Version 22.3.0.202212131935), I can’t see the selected row count in the result panel. Is there any option for bringing it back?

DBeaver Version
Version 22.3.0.202212131935
Operating System
windows 10
Database and driver
No response
Steps to reproduce
No response
Additional context
No response

Hello @Maglorx,
These options were hidden by default.
You can re-enable them here:

authors: Maglorx ShadelessFox


text:
DBeaver hangs on startup

System information:

Operating system (distribution) and version: Linux, Ubuntu 19.10
DBeaver version 6.3.4.202002011957
Additional extensions

Connection specification:

Database name and version: NA
Driver name:  NA
Do you use tunnels or proxies (SSH, SOCKS, etc)? :  NA

Describe the problem you're observing:
Starting Eclipse with DBeaver installed in a particular workspace hangs the whole IDE. From the stack dump - it seems that DBeaver tries to execute a 'refresh resource' call from the main UI thread, which blocks the UI. However, this doesn't seem to be a dead-lock, as the main thread is inside a wait() method, waiting for a notification - which never come.
Steps to reproduce, if exist:
Include any warning/errors/backtraces from the logs
"main" #1 prio=6 os_prio=0 cpu=10589,47ms elapsed=295,05s tid=0x00007fadbc017000 nid=0x9af in Object.wait()  [0x00007fadc2c94000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
	at java.lang.Object.wait(java.base@11.0.6/Native Method)
	- waiting on <no object reference available>
	at org.eclipse.core.internal.jobs.ThreadJob.waitForRun(ThreadJob.java:318)
	- waiting to re-lock in wait() <0x00000000c1e10810> (a java.lang.Object)
	at org.eclipse.core.internal.jobs.ThreadJob.joinRun(ThreadJob.java:205)
	at org.eclipse.core.internal.jobs.ImplicitJobs.begin(ImplicitJobs.java:95)
	at org.eclipse.core.internal.jobs.JobManager.beginRule(JobManager.java:298)
	at org.eclipse.core.internal.resources.WorkManager.checkIn(WorkManager.java:124)
	at org.eclipse.core.internal.resources.Workspace.prepareOperation(Workspace.java:2242)
	at org.eclipse.core.internal.resources.Resource.refreshLocal(Resource.java:1549)
	at org.jkiss.dbeaver.registry.DataSourceRegistry.loadDataSources(DataSourceRegistry.java:585)
	at org.jkiss.dbeaver.registry.DataSourceRegistry.<init>(DataSourceRegistry.java:81)
	at org.jkiss.dbeaver.registry.ProjectMetadata.getDataSourceRegistry(ProjectMetadata.java:191)
	- locked <0x00000000c5a9daa0> (a java.lang.Object)
	at org.jkiss.dbeaver.model.navigator.DBNProject.readChildNodes(DBNProject.java:149)
	at org.jkiss.dbeaver.model.navigator.DBNResource.getChildren(DBNResource.java:143)
	at org.jkiss.dbeaver.model.navigator.DBNProject.getChildren(DBNProject.java:137)
	at org.jkiss.dbeaver.model.navigator.DBNProject.getDatabases(DBNProject.java:58)
	at org.jkiss.dbeaver.ui.navigator.database.DatabaseNavigatorView.getRootNode(DatabaseNavigatorView.java:75)
	at org.jkiss.dbeaver.ui.navigator.database.NavigatorViewBase.lambda$0(NavigatorViewBase.java:109)
	at org.jkiss.dbeaver.ui.navigator.database.NavigatorViewBase$$Lambda$474/0x00000001008b9c40.run(Unknown Source)
	at org.jkiss.dbeaver.ui.UIExecutionQueue.executeInUI(UIExecutionQueue.java:52)
	at org.jkiss.dbeaver.ui.UIExecutionQueue$$Lambda$475/0x00000001008b9040.run(Unknown Source)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:185)
	- locked <0x00000000c78c6580> (a org.eclipse.swt.widgets.RunnableLock)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4910)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4432)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1160)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1049)
	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
	at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:660)
	at org.eclipse.ui.internal.Workbench$$Lambda$189/0x00000001003ac440.run(Unknown Source)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:559)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:154)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:150)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@11.0.6/Native Method)
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@11.0.6/NativeMethodAccessorImpl.java:62)
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@11.0.6/DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(java.base@11.0.6/Method.java:566)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:657)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:594)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
```

Most likely it is the same bug as in #7965

In #7965 the stack trace is different, there the org.jkiss.dbeaver.registry.BaseWorkspaceImpl.handleResourceChange(BaseWorkspaceImpl.java:661) is waiting for a lock, which is acquired by a background task org.jkiss.dbeaver.registry.ProjectMetadata$ProjectSyncJob.run(ProjectMetadata.java:530), which is waiting for another thread to finish - and notify it. In this case, I suspect, there was an exception, which prevented the completion of that background task.
Here, the 'main', UI thread is blocked inside org.jkiss.dbeaver.registry.DataSourceRegistry.loadDataSources(DataSourceRegistry.java:585).

@gzsombor could you post full thread dump? It is very hard to say what exactly happens without a dump.

And could you test the fix in Early Access version? (https://dbeaver.io/files/ea)

Yes, here is 3 dumps from 3 different starts - https://gist.github.com/gzsombor/8c027ce57bd4bf1b04739981f197fa0c - it was fairly reproducible. I had to uninstall dbeaver from a different workspace, I will try to reproduce it with the EA version

authors: gzsombor serge-rider


text:
#12746 Allow copying coordinates under cursor

There is a similar instrument on http://retromap.ru/0519961_z16_55.751933,37.671840 with some useful functions.

Hello @mkgrgis,
We definitely don't want to draw a cross over the entire screen, but I like the idea of displaying address under the cursor.
It can be achieved with https://wiki.openstreetmap.org/wiki/Nominatim.
Or perhaps you wanted to point at some specific thing?

Thanks for answer, @ShadelessFox ! I think copying of coordinates isn't about drawing, of course. Nominatim is really useful for special string near map, activated by a button or for leaflet Popup. It's hard to compose good ergonomics for me.
On osm.org there is complex simple location service, not only Nominatim, see net queries by button

and result of this queries.

As long as there's an open-source API for gathering such information we can implement that. The real question is do we really need such features? DBeaver is not a geologically-specialized tool, I'm not even sure if I spelled this word correctly :)
Of course small features like copying coordinates would be cool, but something else is an overkill IMO.

I think at this moment it's important to implement simple and fast web application with full geoJSON data model Then it will be not a problem to add a functions like we discussed. It will be easy for me to propose implementation of some features via leaflet.js incl. Nominatim.

authors: ShadelessFox mkgrgis


text:
Include tests in PyPI tarball

This is useful for downstream distributions to test if the package works correctly with their build recipe. Also, it provides a way to test if the dependencies as they are packaged by the distribution are compatible.

Please correct the typo.

Sorry for that. Fixed.
It also seems like I forgot to add some files. However, I now confirmed that the tests can successfully be run from an sdist.

Merged in 0504048d7e371daa0d5ff3979dbae3c4e7c79223.  Thanks.  I've pushed a new release to PyPI.

Thank you very much!

authors: dbohdan dotlambda

repo: dbohdan/remarshal


text:
Improve configuration of filename patterns

Currently saving the config includes the complete list of regex patterns
This probably isn't too good, as most of the time people a) wont change them, or b) won't remove that option and this wont pick up improvements to the default patterns
Instead the default patterns should be moved out of the config, and instead:

New option to add custom patterns.
Need a way to control if these patterns are checked before or after the built-in patterns
Need a way to control if the custom patterns completely replace the built-in ones or not (e.g someone might only want to match a very strict set of patterns)

Should use v4.0 to deprecate the filename_patterns option - keep respecting it for now, but emit warning that this option will be removed soon

Most flexible way would be to have a custom_patterns = {'pattern': '...', order: '...'} or something, but that seems a bit clunky
Instead maybe just:

A custom_patterns config option, default empty, with a list of regexs
A second option, something like custom_patterns_order which can be either before, after, or replace (i.e before builtins, after builtins, or replace them entirely). Default would probably be "before".

This makes it easy to just add one or two custom patterns, and either prefer them tot eh builtins, or use them as a fallback. The "replace" option would be useful to customize the pattern matching in more complex ways (or only handle a very specific set of patterns)

I'd really like to see this. I only wanted to add a single custom pattern and now see that I'm overwriting all the default patterns.
I like your custom_patterns idea.

authors: cweiske dbr

repo: dbr/tvnamer

license: unlicense


text:
[Bug] TypeError: can not serialize 'Undefined' object dbt=1.8.2 and databricks 1.8.0

Is this a new bug in dbt-core?

[X] I believe this is a new bug in dbt-core
[X] I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior
(myenv) monguyen@LNZM-C02DV0L3ML data_platform % dbt run -s published_accounts_history
03:15:11  Running with dbt=1.8.2
using legacy validation callback
03:15:14  Registered adapter: databricks=1.8.0
03:15:14  Unable to do partial parsing because saved manifest not found. Starting full parse.
03:15:17  Encountered an error:
can not serialize 'Undefined' object
03:15:17  Traceback (most recent call last):
File "/Users/monguyen/Documents/GitHub/data-platform-airflow-v2/dp_airflow/dbt/data_platform/myenv/lib/python3.12/site-packages/dbt/cli/requires.py", line 138, in wrapper
result, success = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/monguyen/Documents/GitHub/data-platform-airflow-v2/dp_airflow/dbt/data_platform/myenv/lib/python3.12/site-packages/dbt/cli/requires.py", line 101, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/monguyen/Documents/GitHub/data-platform-airflow-v2/dp_airflow/dbt/data_platform/myenv/lib/python3.12/site-packages/dbt/cli/requires.py", line 218, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/monguyen/Documents/GitHub/data-platform-airflow-v2/dp_airflow/dbt/data_platform/myenv/lib/python3.12/site-packages/dbt/cli/requires.py", line 247, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/monguyen/Documents/GitHub/data-platform-airflow-v2/dp_airflow/dbt/data_platform/myenv/lib/python3.12/site-packages/dbt/cli/requires.py", line 294, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/monguyen/Documents/GitHub/data-platform-airflow-v2/dp_airflow/dbt/data_platform/myenv/lib/python3.12/site-packages/dbt/cli/requires.py", line 320, in wrapper
ctx.obj["manifest"] = parse_manifest(
^^^^^^^^^^^^^^^
File "/Users/monguyen/Documents/GitHub/data-platform-airflow-v2/dp_airflow/dbt/data_platform/myenv/lib/python3.12/site-packages/dbt/parser/manifest.py", line 1898, in parse_manifest
manifest = ManifestLoader.get_full_manifest(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/monguyen/Documents/GitHub/data-platform-airflow-v2/dp_airflow/dbt/data_platform/myenv/lib/python3.12/site-packages/dbt/parser/manifest.py", line 330, in get_full_manifest
manifest = loader.load()
^^^^^^^^^^^^^
File "/Users/monguyen/Documents/GitHub/data-platform-airflow-v2/dp_airflow/dbt/data_platform/myenv/lib/python3.12/site-packages/dbt/parser/manifest.py", line 525, in load
self.write_manifest_for_partial_parse()
File "/Users/monguyen/Documents/GitHub/data-platform-airflow-v2/dp_airflow/dbt/data_platform/myenv/lib/python3.12/site-packages/dbt/parser/manifest.py", line 811, in write_manifest_for_partial_parse
manifest_msgpack = self.manifest.to_msgpack(extended_mashumaro_encoder)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 3, in mashumaro_to_msgpack
File "", line 85, in mashumaro_to_msgpack
File "/Users/monguyen/Documents/GitHub/data-platform-airflow-v2/dp_airflow/dbt/data_platform/myenv/lib/python3.12/site-packages/dbt/parser/manifest.py", line 150, in extended_mashumaro_encoder
return msgpack.packb(data, default=extended_msgpack_encoder, use_bin_type=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/monguyen/Documents/GitHub/data-platform-airflow-v2/dp_airflow/dbt/data_platform/myenv/lib/python3.12/site-packages/msgpack/init.py", line 36, in packb
return Packer(**kwargs).pack(o)
^^^^^^^^^^^^^^^^^^^^^^^^
File "msgpack/_packer.pyx", line 294, in msgpack._cmsgpack.Packer.pack
File "msgpack/_packer.pyx", line 300, in msgpack._cmsgpack.Packer.pack
File "msgpack/_packer.pyx", line 297, in msgpack._cmsgpack.Packer.pack
File "msgpack/_packer.pyx", line 231, in msgpack._cmsgpack.Packer._pack
File "msgpack/_packer.pyx", line 231, in msgpack._cmsgpack.Packer._pack
File "msgpack/_packer.pyx", line 231, in msgpack._cmsgpack.Packer._pack
[Previous line repeated 1 more time]
File "msgpack/_packer.pyx", line 264, in msgpack._cmsgpack.Packer._pack
File "msgpack/_packer.pyx", line 291, in msgpack._cmsgpack.Packer._pack
TypeError: can not serialize 'Undefined' object
Expected Behavior
It should create a table with command: dbt run -s published_accounts_history
Steps To Reproduce
(1) In python virtual environment, run "dbt debug" and all check passed:
03:14:35  Running with dbt=1.8.2
03:14:35  dbt version: 1.8.2
03:14:35  python version: 3.12.3
03:14:35  python path: /Users/monguyen/Documents/GitHub/data-platform-airflow-v2/dp_airflow/dbt/data_platform/myenv/bin/python
03:14:35  os info: macOS-14.5-x86_64-i386-64bit
using legacy validation callback
03:14:37  Using profiles dir at /Users/monguyen/Documents/GitHub/data-platform-airflow-v2/dp_airflow/dbt/data_platform
03:14:37  Using profiles.yml file at /Users/monguyen/Documents/GitHub/data-platform-airflow-v2/dp_airflow/dbt/data_platform/profiles.yml
03:14:37  Using dbt_project.yml file at /Users/monguyen/Documents/GitHub/data-platform-airflow-v2/dp_airflow/dbt/data_platform/dbt_project.yml
03:14:37  adapter type: databricks
03:14:37  adapter version: 1.8.0
03:14:38  Configuration:
03:14:38    profiles.yml file [OK found and valid]
03:14:38    dbt_project.yml file [OK found and valid]
03:14:38  Required dependencies:
03:14:38   - git [OK found]
03:14:38  Connection:
03:14:38    host:.........
03:14:38    http_path: /sql/1.0/warehouses/500xx
03:14:38    catalog: main
03:14:38    schema: test_mo
03:14:38  Registered adapter: databricks=1.8.0
03:14:48    Connection test: [OK connection ok]
03:14:48  All checks passed!
(2) Run "dbt run -s published_accounts_history " and it show error:
"03:15:14  Unable to do partial parsing because saved manifest not found. Starting full parse.
03:15:17  Encountered an error:
can not serialize 'Undefined' object"
Relevant log output
(myenv) monguyen@LNZM-C02DV0L3ML data_platform % pip list
Package                   Version
------------------------- -----------
agate                     1.9.1
annotated-types           0.7.0
attrs                     23.2.0
Babel                     2.15.0
cachetools                5.3.3
certifi                   2024.6.2
charset-normalizer        3.3.2
click                     8.1.7
colorama                  0.4.6
daff                      1.3.46
databricks-sdk            0.17.0
databricks-sql-connector  3.1.2
dbt-adapters              1.1.1
dbt-common                1.0.4
dbt-core                  1.8.2
dbt-databricks            1.8.0
dbt-extractor             0.5.1
dbt-postgres              1.8.0
dbt-semantic-interfaces   0.5.1
dbt-spark                 1.8.0
et-xmlfile                1.1.0
google-auth               2.30.0
idna                      3.7
importlib-metadata        6.11.0
isodate                   0.6.1
jaraco.classes            3.4.0
jaraco.context            5.3.0
jaraco.functools          4.0.1
Jinja2                    3.1.4
jsonschema                4.22.0
jsonschema-specifications 2023.12.1
keyring                   25.2.1
leather                   0.4.0
Logbook                   1.5.3
lz4                       4.3.3
MarkupSafe                2.1.5
mashumaro                 3.13
minimal-snowplow-tracker  0.0.2
more-itertools            10.2.0
msgpack                   1.0.8
networkx                  3.3
numpy                     1.26.4
oauthlib                  3.2.2
openpyxl                  3.1.3
packaging                 24.0
pandas                    2.1.4
parsedatetime             2.6
pathspec                  0.12.1
pip                       24.0
protobuf                  4.25.3
psycopg2-binary           2.9.9
pyarrow                   14.0.2
pyasn1                    0.6.0
pyasn1_modules            0.4.0
pydantic                  2.7.3
pydantic_core             2.18.4
python-dateutil           2.9.0.post0
python-slugify            8.0.4
pytimeparse               1.1.8
pytz                      2024.1
PyYAML                    6.0.1
referencing               0.35.1
requests                  2.32.3
rpds-py                   0.18.1
rsa                       4.9
six                       1.16.0
sqlparams                 6.0.1
sqlparse                  0.5.0
text-unidecode            1.3
thrift                    0.16.0
typing_extensions         4.12.1
tzdata                    2024.1
urllib3                   2.2.1

Environment
- OS:MacOS
- Python:3.12.3
- dbt:1.8.1
- Database adapter: Databricks

Which database adapter are you using with dbt?
other (mention it in "Additional Context")
Additional Context
Running dbt model from local to create table on Databricks

Thanks for reaching out @thuymo87.
Could you share a simple set of dbt project files to help us try to reproduce the issue you are seeing? That way we can try to isolate where that error is coming from.
Something like this:
models/published_accounts_history.sql
select 1 as id

Hi dbeauty,
I resolved the issue after downgrade to python 3.11.9.
Cheers
Mo

Glad to hear that you were able to get it to work (even it it required downgrading to Python 3.11).
Our Python compatibility matrix indicates that v1.8 supports Python 3.12, but there might be a specific edge case that you ran into within your published_accounts_history model.
If you are able to create a simplified model that replicate the issue in Python 3.12 and share your code, that would help us fix such an edge case.
I don't know if they are related to your situation at all, but here's two other cases that got a similar error message (but each were presumably not using Python 3.12):

https://github.com/dbt-labs/dbt-core/issues/4252
https://github.com/dbt-labs/dbt-core/issues/2193#issuecomment-1300952569

Hi dbeauty10,
This is published_accounts_history.sql:
{{ config(
alias = 'accounts_history',
materialized='view',
tags=["published_analytics"]
) }}
SELECT
account_id,
first_currency_selection,
FROM {{ source('transformed_customers', 'accounts_history') }}
And this is sources.yml:
version: 2
sources:

name: transformed_customers
database: athena_production
schema: transformed_customers
tables:

name: accounts
name: accounts_history

Cheers
Mo

Thanks for providing that detail, Mo.
I tried to reproduce the error you got by switching to Python 3.12.3 using pyenv and then installing dbt-databricks~=1.8.0, but I wasn't able to trigger that error.
Do you get the same error if you simplify your models/published_accounts_history.sql like below? If it does still give an error, it will help simplify the example we are working with to narrow down what is causing the issue.
{{ config(
alias = 'accounts_history',
materialized='view',
tags=["published_analytics"]
) }}

SELECT
    1 as account_id,
    'NZD' as first_currency_selection

repo: dbt-labs/dbt-core