Beta Issue: Uncaught ReferenceError: _ is not defined

Using latest Atom Beta (also with previous versions of Atom Beta & stable)
[Enter steps to reproduce below:]

Open task board

Atom Version: 1.12.0-beta0
Electron Version: 1.3.6
System: Mac OS X 10.12.1
Thrown From: imdone-atom-beta package, v1.9.14
Stack Trace
Uncaught ReferenceError: _ is not defined
At /Users/miklb/.atom/packages/imdone-atom-beta/lib/plugins/plugin.coffee:26

ReferenceError: _ is not defined
    at ConnectorPlugin.module.exports.ConnectorPlugin.githubProjectInfo (/Users/miklb/.atom/packages/imdone-atom-beta/lib/plugins/plugin.coffee:26:14)
    at ConnectorPlugin.module.exports.ConnectorPlugin.addMetaKeyConfig (/Users/miklb/.atom/packages/imdone-atom-beta/lib/plugins/plugin.coffee:45:20)
    at new ConnectorPlugin (/Users/miklb/.atom/packages/imdone-atom-beta/lib/plugins/plugin.coffee:19:6)
    at /Users/miklb/.atom/packages/imdone-atom-beta/lib/views/imdone-atom-view.coffee:303:22
    at /Users/miklb/.atom/packages/imdone-atom-beta/lib/services/connector-manager.coffee:45:7
    at /Users/miklb/.atom/packages/imdone-atom-beta/lib/services/connector-manager.coffee:41:7
    at /Users/miklb/.atom/packages/imdone-atom-beta/lib/services/imdoneio-client.coffee:196:7
    at Request.callback (/Users/miklb/.atom/packages/imdone-atom-beta/node_modules/superagent/lib/node/index.js:619:12)
    at /Users/miklb/.atom/packages/imdone-atom-beta/node_modules/superagent/lib/node/index.js:795:18
    at Stream.<anonymous> (/Users/miklb/.atom/packages/imdone-atom-beta/node_modules/superagent/lib/node/parsers/json.js:16:7)
    at emitNone (events.js:86:13)
    at Stream.emit (events.js:185:7)
    at Unzip.<anonymous> (/Users/miklb/.atom/packages/imdone-atom-beta/node_modules/superagent/lib/node/utils.js:112:12)
    at emitNone (events.js:91:20)
    at Unzip.emit (events.js:185:7)
    at endReadableNT (_stream_readable.js:973:12)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)

Commands
     -0:07.3.0 imdone-atom:tasks (atom-pane.pane.active)

Config
{
  "core": {
    "disabledPackages": [
      "markdown-format",
      "atom-prettify",
      "Zen",
      "alignment",
      "foldingtext-markdown",
      "atom-liquid-snippets",
      "nodeschool",
      "wordpress",
      "codebug",
      "marked",
      "precss",
      "travis-ci-status",
      "wordpress-api",
      "language-c",
      "language-clojure",
      "language-csharp",
      "language-go",
      "language-java",
      "language-make",
      "language-objective-c",
      "language-toml",
      "welcome",
      "csslint",
      "linter-textlint",
      "aligner-scss",
      "linter-php",
      "linter-stylelint",
      "linter-csslint",
      "wakatime",
      "linter-scss-lint",
      "atom-phpcs",
      "linter-phpcs",
      "imdone-atom"
    ],
    "ignoredNames": [
      ".git",
      ".svn",
      ".DS_Store"
    ],
    "themes": [
      "one-dark-ui",
      "oceanic-next"
    ]
  }
}

Installed Packages
# User
aligner, v0.22.2 (active)
aligner-php, v1.0.0 (active)
aligner-scss, v1.1.0 (inactive)
alignment, v1.1.5 (inactive)
atom-beautify, v0.29.13 (inactive)
atom-liquid-snippets, v0.3.0 (inactive)
atom-phpcs, v1.4.2 (inactive)
atom-prettify, v0.1.3 (inactive)
Atom-Syntax-highlighting-for-Sass, v0.5.0 (active)
autocomplete-wordpress-hooks, v0.2.2 (active)
autoprefixer, v3.3.0 (inactive)
codebug, v1.0.0 (inactive)
css-clean, v2.15.0 (inactive)
csscomb, v0.3.1 (inactive)
csslint, v1.1.5 (inactive)
file-icons, v1.7.20 (active)
foldingtext-markdown, v1.3.2 (inactive)
gist-it, v0.9.1 (inactive)
git-time-metric, v1.1.5 (active)
hip-light-ui-theme, v1.1.1 (inactive)
imdone-atom, v1.3.31 (inactive)
imdone-atom-beta, v1.9.14 (active)
imdone-atom-github, v0.1.11 (active)
jekyll, v1.4.2 (inactive)
json-colorer, v0.3.0 (active)
language-liquid, v0.5.1 (active)
linter, v1.11.18 (active)
linter-alex, v3.2.0 (active)
linter-csslint, v1.3.3 (inactive)
linter-eslint, v8.0.0 (active)
linter-js-yaml, v1.2.5 (active)
linter-jsonlint, v1.3.0 (active)
linter-php, v1.2.0 (inactive)
linter-phpcs, v1.5.0 (inactive)
linter-proselint, v3.2.0 (active)
linter-sass-lint, v1.7.1 (active)
linter-scss-lint, v3.0.4 (inactive)
linter-stylelint, v3.3.1 (inactive)
linter-textlint, v2.0.0 (inactive)
linter-write-good, v0.8.0 (active)
markdown-format, v2.5.1 (inactive)
markdown-writer, v2.6.1 (inactive)
marked, v0.1.10 (inactive)
merge-conflicts, v1.4.4 (active)
newbound-dark-syntax, v1.0.1 (inactive)
newbound-light-syntax, v1.2.2 (inactive)
newbound-warm-syntax, v1.0.0 (inactive)
nodeschool, v1.0.1 (inactive)
oceanic-next, v0.4.0 (active)
pigments, v0.37.0 (active)
precss, v0.3.0 (inactive)
pretty-json, v1.6.1 (active)
project-manager, v3.2.3 (active)
selection-counter, v1.0.0 (active)
selector-to-tag, v0.4.1 (active)
solarized-dark-ui, v0.3.1 (inactive)
solarized-light-ui, v0.1.0 (inactive)
sort-lines, v0.14.0 (inactive)
split-diff, v1.0.5 (inactive)
tabs-to-spaces, v1.0.2 (active)
travis-ci-status, v1.3.0 (inactive)
wordpress, v0.2.0 (inactive)
wordpress-api, v1.2.2 (inactive)
Zen, v0.16.4 (inactive)
atom-dark-syntax, v0.27.0 (inactive)
atom-dark-ui, v0.52.0 (inactive)
atom-light-syntax, v0.28.0 (inactive)
atom-light-ui, v0.45.0 (inactive)
base16-tomorrow-dark-theme, v1.3.0 (inactive)
base16-tomorrow-light-theme, v1.3.0 (inactive)
one-dark-ui, v1.6.2 (active)
one-light-ui, v1.6.2 (inactive)
one-dark-syntax, v1.5.0 (inactive)
one-light-syntax, v1.5.0 (inactive)
solarized-dark-syntax, v1.0.5 (inactive)
solarized-light-syntax, v1.0.5 (inactive)
about, v1.7.0 (active)
archive-view, v0.62.0 (active)
autocomplete-atom-api, v0.10.0 (active)
autocomplete-css, v0.13.1 (active)
autocomplete-html, v0.7.2 (active)
autocomplete-plus, v2.31.4 (active)
autocomplete-snippets, v1.11.0 (active)
autoflow, v0.27.0 (inactive)
autosave, v0.23.1 (active)
background-tips, v0.26.1 (active)
bookmarks, v0.42.0 (active)
bracket-matcher, v0.82.2 (active)
command-palette, v0.39.0 (inactive)
deprecation-cop, v0.54.1 (active)
dev-live-reload, v0.47.0 (active)
encoding-selector, v0.22.0 (active)
exception-reporting, v0.40.0 (active)
find-and-replace, v0.202.0 (inactive)
fuzzy-finder, v1.4.0 (active)
git-diff, v1.1.0 (active)
go-to-line, v0.31.0 (inactive)
grammar-selector, v0.48.2 (active)
image-view, v0.60.0 (active)
incompatible-packages, v0.26.1 (active)
keybinding-resolver, v0.35.0 (active)
line-ending-selector, v0.5.0 (active)
link, v0.31.2 (inactive)
markdown-preview, v0.158.8 (active)
metrics, v1.0.0 (active)
notifications, v0.65.1 (active)
open-on-github, v1.2.1 (inactive)
package-generator, v1.0.1 (inactive)
settings-view, v0.243.1 (active)
snippets, v1.0.3 (active)
spell-check, v0.68.4 (active)
status-bar, v1.4.1 (active)
styleguide, v0.47.2 (active)
symbols-view, v0.113.1 (inactive)
tabs, v0.102.2 (active)
timecop, v0.33.2 (active)
tree-view, v0.210.0 (active)
update-package-dependencies, v0.10.0 (active)
welcome, v0.35.1 (inactive)
whitespace, v0.35.0 (active)
wrap-guide, v0.38.2 (active)
language-c, v0.54.0 (inactive)
language-clojure, v0.22.1 (inactive)
language-coffee-script, v0.48.0 (active)
language-csharp, v0.12.1 (inactive)
language-css, v0.40.1 (active)
language-gfm, v0.88.0 (active)
language-git, v0.15.0 (active)
language-go, v0.43.0 (inactive)
language-html, v0.46.1 (active)
language-hyperlink, v0.16.1 (active)
language-java, v0.24.0 (inactive)
language-javascript, v0.122.0 (active)
language-json, v0.18.3 (active)
language-less, v0.29.6 (active)
language-make, v0.22.2 (inactive)
language-mustache, v0.13.0 (active)
language-objective-c, v0.15.1 (inactive)
language-perl, v0.37.0 (active)
language-php, v0.37.3 (active)
language-property-list, v0.8.0 (active)
language-python, v0.45.1 (active)
language-ruby, v0.70.2 (active)
language-ruby-on-rails, v0.25.1 (active)
language-sass, v0.57.0 (active)
language-shellscript, v0.23.0 (active)
language-source, v0.9.0 (active)
language-sql, v0.25.0 (active)
language-text, v0.7.1 (active)
language-todo, v0.29.1 (active)
language-toml, v0.18.1 (inactive)
language-xml, v0.34.12 (active)
language-yaml, v0.27.1 (active)

# Dev
No dev packages

This should be fixed in 1.9.15

Hi
I have a similar issue when I click on "Open files for visible tasks"

Atom 1.12.2
Windows 10
imdone-atom 2.0.15

Stack Trace
ReferenceError: _ is not defined
    at file:///C:/Users/bourgeonjp/.atom/packages/imdone-atom/lib/views/imdone-atom-view.coffee:199:18
    at Function.module.exports.Emitter.simpleDispatch (C:\Users\bourgeonjp\AppData\Local\atom\app-1.12.2\resources\app.asar\node_modules\event-kit\lib\emitter.js:25:14)
    at PluginViewInterface.module.exports.Emitter.emit (C:\Users\bourgeonjp\AppData\Local\atom\app-1.12.2\resources\app.asar\node_modules\event-kit\lib\emitter.js:129:28)
    at MenuView.module.exports.MenuView.openVisible (file:///C:/Users/bourgeonjp/.atom/packages/imdone-atom/lib/views/menu-view.coffee:126:14)
    at HTMLDivElement.<anonymous> (C:\Users\bourgeonjp\.atom\packages\imdone-atom\node_modules\space-pen\lib\space-pen.js:220:36)
    at HTMLDivElement.dispatch (C:\Users\bourgeonjp\.atom\packages\imdone-atom\node_modules\jquery\dist\jquery.js:4435:9)
    at HTMLDivElement.elemData.handle (C:\Users\bourgeonjp\.atom\packages\imdone-atom\node_modules\jquery\dist\jquery.js:4121:28)

Thanks @jpbourgeon. It should be fixed in 2.0.16.


[ZEPPELIN-5891] Method contains useless variables

What is this PR for?
Method contains useless variables
What type of PR is it?
Improvement
What is the Jira issue?

[ZEPPELIN-5891]

Very strange, we want to clone the metadata. How does the code work without a source NoteId?

I think this method is to put the new NoteId and AuthenticationInfo into the cache. This method does not require sourceNoteId.

I think we can delete the cloneNoteMeta method completely and replace it with createNoteAuth.
In my opinion, the original rights should not be transferred from the old Note to the new Note. It makes sense to store the roles of the user who is currently cloning the note.

I agree with you and resubmitted the code.

Some checks were not successful,but i don't know why. These errors do not appear to be related to this commit。


How to make Openssl on Windows

Hi All,
I have downloaded & installed the mingw-w64 & pkg-config-lite. After that I am unable to proceed.
Please guide me how to build openssl (vers. 1.1.1).
My OS name is Windows 10.
If Steps will be provide  would be better.
Thanks.

I have followed the instruction provided here. I have build opensll version 1.1.0i. I am getting issue while compiling 1.1.1(undefined getContext)


Issue fixes, new preview feature, PR contributions

Docs Build status updates of commit 723e9a9:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

TerminalDocs/customize-settings/actions.md
:bulb:Suggestion
View
Details

TerminalDocs/troubleshooting.md
:bulb:Suggestion
View
Details

TerminalDocs/custom-terminal-gallery/custom-schemes.md
:white_check_mark:Succeeded
View

TerminalDocs/customize-settings/interaction.md
:white_check_mark:Succeeded
View

TerminalDocs/customize-settings/profile-appearance.md
:white_check_mark:Succeeded
View

TerminalDocs/get-started.md
:white_check_mark:Succeeded
View

TerminalDocs/images/settings-default-profile.png
:white_check_mark:Succeeded
View

TerminalDocs/images/settings-default-shell.png
:white_check_mark:Succeeded
View

TerminalDocs/images/settings-dynamic-profiles.png
:white_check_mark:Succeeded
View

TerminalDocs/tutorials/powerline-setup.md
:white_check_mark:Succeeded
View

TerminalDocs/customize-settings/actions.md

Line 1104, Column 2: [Suggestion-column-header-missing] Column headers are required for tables. Add appropriate header text, or remove any extra table cells that cause an extra column.

TerminalDocs/troubleshooting.md

Line 115, Column 27: [Suggestion-docs-link-absolute] Absolute link 'https://docs.microsoft.com/windows/console/getconsolescreenbufferinfoex' will be broken in isolated environments. Replace with a relative link.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 1b679b3:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

TerminalDocs/customize-settings/actions.md
:bulb:Suggestion
View
Details

TerminalDocs/custom-terminal-gallery/custom-schemes.md
:white_check_mark:Succeeded
View

TerminalDocs/customize-settings/interaction.md
:white_check_mark:Succeeded
View

TerminalDocs/customize-settings/profile-appearance.md
:white_check_mark:Succeeded
View

TerminalDocs/get-started.md
:white_check_mark:Succeeded
View

TerminalDocs/images/settings-default-profile.png
:white_check_mark:Succeeded
View

TerminalDocs/images/settings-default-shell.png
:white_check_mark:Succeeded
View

TerminalDocs/images/settings-dynamic-profiles.png
:white_check_mark:Succeeded
View

TerminalDocs/troubleshooting.md
:white_check_mark:Succeeded
View

TerminalDocs/tutorials/powerline-setup.md
:white_check_mark:Succeeded
View

TerminalDocs/customize-settings/actions.md

Line 1104, Column 2: [Suggestion-column-header-missing] Column headers are required for tables. Add appropriate header text, or remove any extra table cells that cause an extra column.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Add dbroeglin/azure-rails-starter to the gallery

If you are submitting a new azd template to the gallery
Fill this out if you want your template to be added to the awesome-azd gallery!
Your template repository
Place your template repository link here: https://github.com/dbroeglin/azure-rails-starter

[x] Added an entry to https://github.com/Azure/awesome-azd/blob/main/website/src/data/users.tsx that includes:

[x] Template title - A short title that reflects the local application stack that someone could use to get their application on Azure (e.g. "Containerized React Web App with Java API and MongoDB")

[x] Description - 1-2 sentence description of the architecture (e.g. Azure services) or solution that is defined by the template.

[x] Architecture Diagram or Application Screenshot - The image should include all services and their connections (example). You should add the image to the website/src/data/images/.

[x] Link to Author's GitHub or other relevant website - Used for attribution

[x] Author's Name -  Name to credit on the gallery card

[x] Link to template source - Link to the template GitHub repo

[x] Tags - Specify tags to represent the template. If you don't see a relevant tag for your template? Feel free to add one!
Required tags:

[x] Tag your template as Micrsoft-authored ("msft") or Community-authored ("community")
[x] Tag the IaC provider ("bicep" or "terraform")
[x] At least 1 tag for programming language used
[x] At least 1 tag for Azure services integrated
[x] Add the "new" tag for any newly authored templates

[x] In the PR comment, if you can also add a link to the PR where you made your repo azd compatible this will allow us to provide feedback on your template and speed up the review process. The whole repository has been created as an azd template

@v-xuto Could you test this template?

@hemarina Got it. We will start testing ASAP in the next few days.
@zedy-wj Please track and test this PR. Please update here if there are any progress.

After running azd up in codespace, get an error.

Steps to reproduce：

SECRET_KEY_BASE="$(src/bin/rails secret)"
RAILS_MASTER_KEY="$(cat src/config/master.key)" \
azd up

@dbroeglin for notification.

The error was that main.parameters.json did not contain a default value for the database name. I somehow missed it while testing. Commit https://github.com/dbroeglin/azure-rails-starter/commit/23dfcac78a904f043519e6810792381a453f876d provides a fix.
It might be a copy/paste issue when you copied the command in your comment but your command seems to lack a '' at the end of the first line. The correct one would be :
SECRET_KEY_BASE="$(src/bin/rails secret)" \
RAILS_MASTER_KEY="$(cat src/config/master.key)" \
azd up

@hemarina for notification. Fixed both conversations with c77df2b


Character Entities on Mac

On Mac, when you json_encode an array containing Spanish characters/entities, the operation fails silently and no output is given. Running json_encode on an array with no special chars works fine.
Shown below is the print_r output for an array containing ó.
Array
(
    [0] => Array
        (
            [workid] => 8744
            [trending] => 1
            [work_slug] =>
            [title] => Edici�n compacta NTV letra grande, DuoTono
            [title_sort] => Edici�n compacta NTV letra grande, DuoTono

Hey @preflight, is this still an issue even on #08c1c3c42c40eb736e54c0870e0f09a706f1323a ?

closing because I think this issue was probably environment-related.


"Folders Dictionary" explanation?

What is the syntax of "Folders Dictionary" tab?

Currently, I just get an 'undefined' here

#46

Any update on this?

What is this section for?

What is this section for?

You can specify some preset values, one line per directory, these directories can be used for target path selection when adding torrents, or used for Automatically matches data directory, like this:
https://github.com/ronggang/transmission-web-control/issues/220#issuecomment-382931740


When a work has no filesets then it should show the work icon (box)

It should also show No items instead on the item list
example: https://scholarsphere-qa.dlt.psu.edu/concern/generic_works/hmg74qm55g

This should be a change to the null presenter


Fix security vulnerabilities

Issue #:
Description of changes:
Fixes remaining depandabot alerts
Testing

How did you test these changes?
Yarn dev - ran locally and verified that the demo works as expected

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Could you put in the description what dependency you updated? I did not see trim in the package-lock changes.

Could you put in the description what dependency you updated? I did not see trim in the package-lock changes.

The trim dependency was removed when I updated


Fresh install laravel 5.3 on Homestead 3.0.2 fail "/vendor/phpunit/php-code-coverage/src/"

On a Homestead 3.0.2 try install a fresh copy of Laravel and fails
composer create-project --prefer-dist laravel/laravel myproject
...
Writing lock file
Generating autoload files

  [RuntimeException]
  Could not scan for classes inside "/home/vagrant/myproject/vendor/phpunit/php-code-coverage/src/" which does not appear to be a file nor a folder

Same for composer update.
If correct installing manually files for
[RuntimeException]
  Could not scan for classes inside "/home/vagrant/myproject/vendor/sebastian/code-unit-reverse-lookup/src/" which does not appear to be a file nor a folder

If correct install manually stop error and I can composer update.

Have you tried creating a new laravel project through the laravel installer?

No.
I usually only use composer for install mi projects.

Does composer install solve it? Can you show the complete output? Those "..." could easily hide an installation failure for a package.

Doesn't appear related to laravel.

I got the same issue and solved it by clearing composer cache.
composer clear-cache
cd project/
rm -rf vendor
composer install


Field mappings + Alert Details Widget

Adds new fields
Makes some logic more functional (but nothing changed there).

Big note on this -- some of the default mapping required to get this to work are not included.... in server 6.0.0, they are, but it seems like it's pretty common for analysts to come in and mess all that up anyway, if that makes sense.
I can explain how to get the mappings to work in the Confluence page.

This one might be with a demo - @kiran-chaudhary  saw it a little bit in that last demo I did

In the pic above, you will see the "Code42 Alert Details" section - that is really all that changes, besides something to make the File Events table work.


[Feature-Request] AWS built-in helper functions?

Feature:
Add built-in AWS (or any cloud provider in general) helper functions to tftest. The built-in AWS functions can be created via boto3.
Example:
modules/aws/ecr.py
import boto3

def get_ecr_repo(name, region):
    ecr = boto3.client('ecr', region)
    response = ecr.describe_repositories(repositoryNames=[name])
    return response['repositories'][0]

test_ecr_repo.py
from tftest.modules.aws import ecr
import tftest

def test_apply(fixtures_dir):
  tf = tftest.TerraformTest('terraform-aws-ecr')
  tf.setup()
  tf.apply()

  response = ecr.get_ecr_repo('test-repo', 'us-west-2')

  tf.destroy()

This would expand the scope of tftest too much in my opinion. But if you want to submit a PR, I'll definitely look at it. Thanks for the suggestion!

This would expand the scope of tftest too much in my opinion. But if you want to submit a PR, I'll definitely look at it. Thanks for the suggestion!

That came across my mind too. In addition, I'm thinking users are probably going to use tftest heavily for integrations tests, especially for broad terraform modules that are stack on one another. In this case, general helper functions would only be handy for simple vanilla modules. Althought I'll think about it more this week. Thanks for giving your opinion!


drivers: sensor: grow_r502a: Add Missing functionalities and improvements for GROW_R502A fingerprint sensor

Add the following functionality and improvements for the R502A fingerprint sensor device.

Improvements and bug fixes for the existing mainline version.
Add capture, create, load, store, and compare attributes to work with template data from the finger or from the sensor's library index.
Add LED control for the R502A sensor's built-in LED.
Add upload and download of fingerprint template data.
Add Read and write system parameters of the R502A sensor.

@MaureenHelm please have a look at the comments and do a re-review if needed.

@MaureenHelm Please revisit

sensor wg:

fingerprint related calls should be driver specific (expose r502a specific functions) as needed
led if states are internally defined then its ok, if controllable using the API then should be a seperate struct device

updated the PR as per the discussions https://discord.com/channels/720317445772017664/1163527713290719373  please have a look and review guys @teburd @yperess


🐛 [BUG] - Better Token Recognition

Description
We do not properly display certain tokens under the Tokens page for an account. For example, in the screenshot provided, we do not display any token name or symbol for TheSolanDAO (7SZUnH7H9KptyJkUhJ5L4Kee5fFAbqVgCHvt7B6wg4Xc). This shouldn't be the case, as it is a recognized token on Jupiter and Solscan.
If a token does not have a picture, we should have a fallback picture. We do this when we can't fetch an asset's picture (see the second screenshot)
Reproduction URL
https://xray.helius.xyz/account/68VhXhZSQxBqC1fBLXnFb2tMiuh3tmiizpZKLTYTwgNG/tokens?network=mainnet
Reproduction steps
1. Go to https://xray.helius.xyz/account/68VhXhZSQxBqC1fBLXnFb2tMiuh3tmiizpZKLTYTwgNG/tokens?network=mainnet
2. See error

Screenshots

hey @0xIchigo , I would like to try my hands on this issue thanks

Hey @kamalbuilds, go for it! I just assigned the issue over to you

Hey @kamalbuilds, any update?

gm @0xIchigo,
I attempted to replicate the issue by setting up the repository locally, but the tokens didn't show up. I believe API keys might be needed. Can we discuss this further on Twitter, Discord, or anywhere you prefer?

gm @ATREAY !
To build locally, fill in the following .env template with free Helius and Birdeye API keys. That should be everything you need to get started. If you need any additional help, I recommend opening up a support ticket in the Helius Discord

hey @0xIchigo, I would like to give it a try.

Hey @0xIchigo,
Regarding this issue, you've provided a fallback image to load instead of having no image. However, what should be the fallback for the name field? Since the token name isn't visible, should we include any alt text or not?

gm @shreyanshrathore, go for it! The fallback name should be something like "Unrecognized Token"

Hey @0xIchigo, I have tried my best and fixed the issue. If you have any suggestions or anything that I can do to merge it into the code, please share it with me.

Fixed by #291 — thank you @shreyanshrathore for the contribution!


Add Catppuccin theme

https://github.com/catppuccin/catppuccin

Hey! thanks for the PR :)
Looks really good, thank you! I have two thoughts to run past you:

do we need to add all 5 themes? can we just pick the best / most popular one?
can we use a shorter name/id? the dropdown looks a bit weird with the super long name!

let me know what you think :)

Hey @lucko, sorry for the late reply, I completely forgot about this.

do we need to add all 5 themes? can we just pick the best / most popular one?

The OLED theme can be omitted as it's not an official palette and just a small community tweak that I thought would be nice to include. As for the 4 others, they are mostly used together and I don't think keeping just one would work.

can we use a shorter name/id? the dropdown looks a bit weird with the super long name!

Maybe some kind of secondary dropdown system could work?

Maybe some kind of secondary dropdown system that would hide the 4 palettes until you hovered over "catppuccin"?

Sounds good to me


Amuleweb stops at random

No matter what amuleweb stops randomly with the logs: Command ''amuleweb' '--amule-config-file=/home/amule/.aMule/amule.conf''..... has finished with status code '-6'
This can happened once a day as well as 10 times in an hour, I wasn't able to understand what causes this problem; however it seems a long known problem 'cause I found old threads around the web that mention this behavior, so I'm guessing that's an old problem that has never been fixed. Anyway, let's move on. Since aMule keeps working properly, I'm wondering if it could be possible to write a script that checks if amuleweb is stopped and if needed restarts it or maybe add a modification that does this, just like the kad graph fix and the others...

Since aMule is not maintained this will be a good improvement.
Some notes:

The entypoint starts amuled -c /home/amule/.aMule -o
amuled reads the amule.conf file, the section [WebServer]  Enabled=1 and it starts amuleweb --amule-config-file=/home/amule/.aMule/amule.conf
If the process amuled crash it's restarted by the entrypoint
If the process amuleweb crash it's not restarted by amuled

Possible fix:

Set [WebServer]  Enabled=0 so amuled does not start amuleweb
Start amuleweb from the entrypoint but we can't use the amule.conf file. Inside the Docker container you can run man amuleweb to see more details.
We should read the amule.conf file using bash and set the equivalent parameters in amuleweb

Improvement:

Instead of doing a lot of things in the entrypoint, we should use s6 to keep running the processes. This project has a good example => https://github.com/kanboard/kanboard/tree/main/docker

I don't have time to work on this. Any PR is welcome.

Experiencing the exact same issue

Experiencing the exact same issue

Yeah, that's driving me crazy. Unfortunately I don't have the knowledge to solve this so....

I have been experiencing that that the webui and also access via gui ui is extremely laggish after update to latest docker image version. I reverted to previous version (from around october 2023) and experience is smooth. I advice to try to revert back to previous image and see if you still experience the same issues. For the moment, I will stay with the older version since it just works.

I have been experiencing that that the webui and also access via gui ui is extremely laggish after update to latest docker image version. I reverted to previous version (from around october 2023) and experience is smooth. I advice to try to revert back to previous image and see if you still experience the same issues. For the moment, I will stay with the older version since it just works.

I've started using this container back in the mid 2023 and the issues was already there and unfortunately no changes in the next releases... However right now I don't know why, maybe due to the recent Unraid upgrade to 6.12.6, I think it's more stable I mean I've notice less webui crash...

It's a shame to see that ed2k clients / web interfaces are in such disrepair. I used to use mldonkey which seemed to be more stable but was similarly dated and has other issues. It would be nice if someone took the time to make a modern interface using the amule's EC protocol. That way we could have a better ed2k client without requiring a full on reimplementation.
Something like https://github.com/mwarning/p2p-gui

I've spoken too soon. It's crashing again like before: four times only in the last hour and I didn't change anything on my NAS...

For anyone still running into this, I've switched back to mldonkey. It's been working like a champ and it arguably has a better UI
I'm using this image: https://github.com/Wibol/mldonkey-docker

I confirm I have been running the previous version for many months without any issues. So my suggestion is to not update to the latest tag version on docker. Have you tried that?
I know very well mldonkey but I much prefer the interface of the personalized skin of amule coming with this image :)

I confirm I have been running the previous version for many months without any issues. So my suggestion is to not update to the latest tag version on docker. Have you tried that?

Could you try with the latest release? https://github.com/ngosang/docker-amule/releases/tag/2.3.3-18

@ngosang I just updated to it. I will write a new reply to this issue if I start getting the same issue. Have you just updated the image to the latest alpine package version? Thank you in the meantime.

Just experienced after 2 days of running the container non stop that the webinterface does not work anymore. So I can only connect via amule client (but everything else work, so the downloading/uploading thing). I just restarted the container again. If it happens again I guess I will come back again to v16.

@garret You can try the "auto restart" and "fix kad stats" mods = https://github.com/ngosang/docker-amule?tab=readme-ov-file#modifications

I have always had those options enabled since I used your image ;) In any case, I have been continuing using the latest release at the moment of writing. The image has always worked on the background 24/7 and only maybe 3 times in total I had the issue where the web interface went down but amule core was still running. In the meanwhile, I also switched from a raspberry pi server to a nixos mini pc. Coincidentally, today I had an issue where all the 32GB of the ram got used and all the 4 processors of my N100 server. Restarting the container did not help. I had to cancel some files from the amule config to solve. I could see the log and known2.met file were above 180MB. After cancelling those files, everything seems again normal. All in all, I am satisfied with the image and will keep it running.

I am having same issue in the latest release

same here with the latest release :(


Red Blocks are showing 150 entries

Should only show 76

Found out why, redline.json had 80 some void array objects written to it


[BUG] ChatWindow: A/S/D selection has no effect

Hello,
when i click on the a/s/d buttons in the chat window do make a roll on - for example: attribute+attribute -
it has no effect, the first row always falls back to attributes, the second to skills. Am i missing somesthing?

Closing this issue because it's being handled by #215


Detect browser for real max element size

Ref #932
Added naive detectors for chrome, safari, opera and firefox. Can't test edge since I'm on mac, so use default on it. Also didn't test mobile devices. Sadly didn't find info about this with googling.

Codecov Report

Merging #936 into master will decrease coverage by 0.37%.
The diff coverage is 57.89%.

@@            Coverage Diff            @@
##           master    #936      +/-   ##
=========================================
- Coverage   89.87%   89.5%   -0.38%
=========================================
  Files          57      58       +1
  Lines        1630    1648      +18
=========================================
+ Hits         1465    1475      +10
- Misses        165     173       +8

Impacted Files
Coverage Δ

...ce/Grid/utils/ScalingCellSizeAndPositionManager.js
90.9% <ø> (-0.27%)
:arrow_down:

source/Grid/utils/maxElementSize.js
57.89% <57.89%> (ø)

Continue to review full report at Codecov.

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

Boilerplate for checking


Module parse failed

Im trying to build a package that was supposedly built to work with Browserify, but im getting the following error:
ERROR in ./~/mapbox.js/package.json
Module parse failed: /Users/luismartins/Sites/LAB/Exercises/node_modules/mapbox.js/package.json Line 2: Unexpected token :
You may need an appropriate loader to handle this file type.
| {
|   "author": {
|     "name": "Mapbox"
|   },
 @ ./~/mapbox.js/mapbox.js 6:4-29 19:13-38

The package.json in question reads:
{
  "author": {
    "name": "Mapbox"
  },
  "name": "mapbox.js",
  "description": "mapbox javascript api",
  "version": "1.6.3",
  "homepage": "http://mapbox.com/",
  "repository": {
    "type": "git",
    "url": "git://github.com/mapbox/mapbox.js.git"
  },
  "main": "index.js",
....

Any way I can overcome this?
You can have a look into my Webpack config in the repo were I am testing this:
https://github.com/lmartins/Exercises/tree/Webpack

Thanks


Update Post “making-sense”

Automatically generated by Netlify CMS

👷 Deploy Preview for chic-shortbread-66a66b processing.

Name
Link

🔨 Latest commit
fbd664c328256e295689500f499b38c048954ad0

🔍 Latest deploy log
https://app.netlify.com/sites/chic-shortbread-66a66b/deploys/65487e02527adf0008119f97


Added zsziok.edu.pl domain

@xybl3 First stage of verification passed, official domain is zsziok.edu.pl as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@philipto Thanks for review. In Poland are vacations. I can not go to school and ask my teacher. If you want I can send picture of my school ID.

@xybl3 Thank you for your patience while waiting for a review and processing your request. Pull request merged.


Is keep alive still useful? How about shut it down?

Already closed for https://github.com/datafuselabs/opendal/issues/473


Add box to MvccError

Signed-off-by: Breezewish<EMAIL_ADDRESS>
What have you changed?
This PR boxes the MvccError to reduce the size and improve hot-path performance.
What is the type of the changes?

Improvement (a change which is an improvement to an existing feature)

How is the PR tested?

Unit test
Integration test

Benchmark result if necessary (optional)
Work in progress
Any examples? (optional)

/bench +tpch +sysbench

The change has been integrated to https://github.com/tikv/tikv/pull/5979 so close this PR.


GGIR logo added

This pull requests add the new GGIR logo to the README file and to both vignettes.
In several places in the repository I have specified that the copyright of this logo lies with my company. I did this because the logo is now part of the branding of GGIR, by which it is not good if a variety of modified versions start to circulate online. Well, maybe I need to rethink this more, but for the time being I prefer to remain a bit more protective.
Please note that I have a full logo specification package offline, including: inverted and black-white versions, special image file types for printing the logo, and the specific color codes and font types.

tagging the corresponding issue #381

tagging the corresponding issue #381

Do you think it would be better to put the logo at the top of the vignette, instead of after the table of contents?

Do you think it would be better to put the logo at the top of the vignette, instead of after the table of contents?

Yes, and somehow I did not manage to get that to work the first time. I have now given it another try and found a solution.
As you will see I have moved the table of contents to the left of the screen such that it remains visible while you scroll down. This makes that the logo is directly visible when you open the page.
Additionally:

I have now expanded the author list of the vignette. In this way it no longer looks as if I wrote the vignette on my own. I listed you, Jairo, Séverine and myself. We are the four people who have by far made the most significant contributions to GGIR. All other contributors made ad-hoc contributions and are not actively involved anymore. Séverine has not contributed as a programmer, but has played an important role over the years by testing GGIR and providing feedback on lots of aspects.
I discovered that it is possible to use tabs in the vignette. I have now implemented this in the chapter "Inspecting the results" where I think it is a help addition.

Yes, and somehow I did not manage to get that to work the first time. I have now given it another try and found a solution.
As you will see I have moved the table of contents to the left of the screen such that it remains visible while you scroll down. This makes that the logo is directly visible when you open the page.
Additionally:

I have now expanded the author list of the vignette. In this way it no longer looks as if I wrote the vignette on my own. I listed you, Jairo, Séverine and myself. We are the four people who have by far made the most significant contributions to GGIR. All other contributors made ad-hoc contributions and are not actively involved anymore. Séverine has not contributed as a programmer, but has played an important role over the years by testing GGIR and providing feedback on lots of aspects.
I discovered that it is possible to use tabs in the vignette. I have now implemented this in the chapter "Inspecting the results" where I think it is a help addition.

That new format for the table of contents works really well!

That new format for the table of contents works really well!


Error

The powershell and DISM commands are  not correct the featurenae is Miicrosoft-Hyper-V-All
DISM /Online /Enable-Feature /All /FeatureName:Microsoft-Hyper-V-All
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 1df65b2d-24ba-71b0-0648-14c21f5b1b26
Version Independent ID: a89c84df-6ef7-66a9-eec1-35ba94afdb1b
Content: Enable Hyper-V on Windows 10
Content Source: virtualization/hyper-v-on-windows/quick-start/enable-hyper-v.md
Product: windows-10-hyperv
GitHub Login: @scooley

We hugely appreciate your contribution, feedback, and support to our technical documentation.
We’ve phased out GitHub Issues on this repository as the feedback mechanism for content and have replaced it with a new feedback system. For more information see, Content User Feedback. As part of this rollout, we are migrating your issue where our team will use your comments to improve the documentation experience. Unfortunately, this does mean you won't be able to access this issue after the migration is complete.
All issues will be migrated by Thursday 29th August 2024.
Once again, thank you for your valuable feedback, we hope you’ll continue to contribute using our new feedback system.


An option to preserve port numbers in metrics

Is there any way to keep port numbers in metrics instead of converting them to service names (which seems to happen by default)? This would allow aggregation of flows received from exporters that doesn't support bidirectional flows, as well as gathering information based on custom port numbers.

Your request is interesting. I added three new configuration keys in the "Producer" section of the config file to disable the conversion from number to name of ports, protocols and etherType fields. Look at the CONFIG-GUIDE.md file for better explanation.
The only drawback thai I see is that with these options enabled, the db cardinality will increase a lot.

Thank you very much for adding the functionality so promptly. I'm in the middle of testing. Of course cardinality increases, but so far it's within acceptable limits. It seems that I'll be able to replace resource-intensive elk stack with the goflow->gobi->prometheus->grafana flow. It looks promising :)
And one thing that crossed my mind, somehow related. Would it be reasonable to group inbound and outbound flow records into bidirectional flows? In fact, I'm not sure if it is even possible. In theory, matching source and destination addresses and port numbers should be feasible, reducing the number of returned metrics by half. I believe some netflow exporters do this, but rather not the open source ones. Again, however, I'm not exactly sure, would that make sense on the gobi side, or should aggregation like this be left for the prometheus queries.

Hi @innogrey, apologies for the delay.
It's hard to correlate flows without falling in to a specific use case. Could you please describe me your needs more precisely? If we can find a feature that can be useful to anyone, I'll be happy to implement it.
Have you looked over the two examples? May be they aren't close to your use case but they contain several tricks to correlate flows in a bidirectional way, via prom queries.


Edits to exam practice

This is a work an progress and not ready to be merged. I'll comment and let you know when I think my edits are done.
So far I've only done structural changes and haven't reviewed the content. The changes are:

I gave each subproblem a number instead of a blank bullet point so it is easier to refer to.
I made the number of blank cells after each question consistent.

OK I'm done now.
My second commit made the following changes:

Made sure that if in a later problem we refer to a variable created in an earlier problem, we mention where the variable was supposed to have been created.
Minor wording adjustment to give a hint on the very last problem
Asked students to do the renaming of the columns of debt using a list and a dict.

I think this is great for a review of the material we have covered. I couldn't think of anything to change or add.

Great.
Dave, if you are happy with these changes hit that green "Merge Pull Request" button and these changes will be brought into the master brach.

That was fast!
// Spencer
On March 21, 2016 at 10:16:27 AM, Dave Backus<EMAIL_ADDRESS>wrote:
Merged #13.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub


Repo url edge case

I recently ran vgo2nix and I bumped into a git repository that could not be found:
goPackagePath sourcegraph.com/sqs/pbtypes has rev: v1.0.0, module:
Fetching git.apache.org/thrift.git git.apache.org/thrift
panic: Error processing import path "git.apache.org/thrift.git": nix-prefetch-git --fetch-submodules --no-deepClone --url git.apache.org/thrift --rev 2566ecd5d999 failed:
Initialized empty Git repository in /tmp/git-checkout-tmp-rj3jSzeX/thrift-2566ecd/.git/
fatal: 'git.apache.org/thrift' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: 'git.apache.org/thrift' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Unable to checkout 2566ecd5d999 from git.apache.org/thrift.

goroutine 1 [running]:
main.main()
        /build/source/main.go:291 +0x713

So I tested a few versions of this command used by vgo2nix here: https://github.com/nix-community/vgo2nix/blob/master/main.go#L185 and basically found that i needed to add an "https" prefix and ".git" suffix. This command worked for me:
nix-prefetch-git --fetch-submodules --no-deepClone --url https://git.apache.org/thrift.git --rev 2566ecd5d999

This led me to writing this patch which does the following:

Adds a Prefix of "http://" if "http" prefix is missing.
Checks whether the repository exists and if it doesn't it will append .git to the url and let the following command of nix-prefetch-git handle the error if the repository ACTUALLY doesn't exist.

Hopefully this is acceptable and I'm looking forward to your opinions.
EDIT:
I should probably change the second part since I'm incorrectly assuming that the error is due to a missing prefix to the url when it could be for example that git is not installed. I will fix this.

I'm closing this PR because it is easier to do this in the go.mod file:
replace git.apache.org/thrift.git => github.com/apache/thrift v0.15.0

and now the repo url edge case is no longer hit.


Error during synchronization between servers: Unexpected end of file from server executing GET http://compreface-core:3000/status

Describe the bug
Getting this error message when logging in for the first time and trying to add a service to a new application in the UI
To Reproduce
Steps to reproduce the behavior:

Go to localhost:8000
Log in
Create a new application
Click on it and wait for service synchronisation (I assume, because it has never gone further than this)
Error message appears

Expected behavior
I would expect that a list of services would appear - e.g. face recognition, face detection, etc
Screenshots

Desktop (please complete the following information):

OS: Windows 10
Browser Chrome
Version 92.0.4515.159 (Official Build) (64-bit)

Additional context
the compreface-core docker image doesnt seem to be listening on port 3000. docker compose pulls and extracts all containers with no errors.
this is the SubCenter-ArcFace-r100-gpu custom-build

Have noticed this in the docker compose logs:-
compreface-core           | Respawned uWSGI worker 1 (new pid: 397) compreface-core           | DAMN ! worker 1 (pid: 397) died, killed by si gnal 4 :( trying respawn ... compreface-core           | Respawned uWSGI worker 1 (new pid: 405) compreface-core           | DAMN ! worker 1 (pid: 405) died, killed by si gnal 4 :( trying respawn ... compreface-core           | worker respawning too fast !!! i have to slee p a bit (2 seconds)...
doesnt really give any details as to why?
have checked and although my CPU is old, it is supposed to support avx
$ lscpu | grep avx Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx rdtscp lm constant_tsc arch_perfmon nopl xtopology tsc_reliable nonstop_tsc cpuid pni pclmulqdq ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm pti ssbd ibrs ibpb stibp tsc_adjust arat md_clear flush_l1d arch_capabilities $

InsightFace library requires AVX2 instructions...
https://github.com/exadel-inc/CompreFace/tree/master/custom-builds
We mentioned it here. Sorry, but your CPU supports only the default FaceNet version

hmm thats a shame - had thought the majority of the work would be done by the GPU so it wouldnt matter so much. is there any way to reduce the requirement to avx only? unsupported of course, but would rather try that than give up entirely. the CPU isnt good enough to process the load by itself, so I need something that supports GPU without requiring avx2.

first option worked - took a bit of messing around in docker renaming the container and getting it into the correct host network for the URL from within compreface-ui to resolve to compreface-core properly, but its running successfully and reporting available services so far. am running facenet with GPU support - insightface wouldnt run, not sure why but will try again later.
thanks for your help!

hi @kanemari! i am one of the designers for CompreFace. i am currently working on a ux survey - i'd love to chat quickly about your thoughts on where we could potentially improve CompreFace, if you are interested? if you are i can set up a skype or whatsapp chat :)

first option worked - took a bit of messing around in docker renaming the container and getting it into the correct host network for the URL from within compreface-ui to resolve to compreface-core properly, but its running successfully and reporting available services so far. am running facenet with GPU support - insightface wouldnt run, not sure why but will try again later.
thanks for your help!

hi @kanemari i'm encountering the same issue and was wondering if you could explain how you managed to get Compareface to work? I'm not particularly well versed in Docker, but perhaps if you would be able to share your compose file I might be able to figure it out. thanks :)

hi @kanemari i'm encountering the same issue and was wondering if you could explain how you managed to get Compareface to work? I'm not particularly well versed in Docker, but perhaps if you would be able to share your compose file I might be able to figure it out. thanks :)

Hi @milkplus27 - I cheated and installed portainer so I could do all the docker management through a UI. But basically, I dont have a compose file. the docker build commands in the compreface doco will create a new docker container for compreface-core (that is named embedding-calculator) that is detached from the other compreface components. I essentially removed the 'standard' existing compreface-core container, renamed the embedding-calculator container to compreface-core, and added that container into the existing compreface network bridge that all the other containers were a member of (which is set up as part of the standard install).
there may be an easier way, but this worked for me. I was limited to the standard facenet and couldnt compile insightface because I am missing avx2 support. tried using the noavx version of mxnet, which then complained about other missing dependencies, and I gave up. if you can work that out please share :)

@kanemari do you want to participate in hacktoberfest? :)
https://github.com/exadel-inc/CompreFace/issues/607
I have a great task for you :)

@pospielov I'll bite. what task would that be?

Here is the link:
https://github.com/exadel-inc/CompreFace/issues/607
Just write any comment in there, so I'll be able to assign an issue to you
And if you have any questions you also are free to write them into that issue

As info, I use Proxmox to virtualize my Docker instance.
Here it is mandatory to set the CPU Type to Host, otherwise I get the same error message.
https://forum.proxmox.com/threads/avx2-and-avx-flags-on-vm.87808/

I have two ideas:

Try to build compreface-core with intel optimization:
https://github.com/exadel-inc/CompreFace/tree/master/embedding-calculator#optimization
It could be possible that Intel MKL can work without AVX, but I'm not sure
Try to build compreface-core with mxnet without AVX. You can set it here:
https://github.com/exadel-inc/CompreFace/blob/master/embedding-calculator/src/services/facescan/plugins/insightface/__init__.py

From my understanding option 1 worked for @kanemari because he has AVX instructions, just not AVX2. I've been trying option 2 since my CPU doesn't have AVX or AVX2. I haven't have much success yet. But will keep trying. Just wanted to add to the discussion.

Also tried to build with the mxnet-noavx, but no luck. I installed the pip dependency, and set the __init.py__ as follows:
from src.services.facescan.plugins.dependencies import get_mxnet

requirements = get_mxnet() + ('mxnet-noavx==2.0.3',)

Was this what I was supposed to do?

Well, I built the containers with mxnet-noavx:
docker pull felipecrs/compreface-core:0.6.1-noavx-facenet
docker pull felipecrs/compreface:0.6.1-noavx

But I don't even know what facenet is or if I should be using it. I'm using because that's what make build-images-cpu produces. Any advice?
Anyway, in my HA using the addon, configured to use my image, it didn't work (Intel J4125 Gemini Lake - no AVX or AVX2). But it still fails:

In the container logs I see frequently:
2021-12-16 14:04:25,931 INFO spawned: 'compreface-core' with pid 377
[uWSGI] getting INI configuration from uwsgi.ini
2021-12-16 14:04:25,940 INFO success: compreface-core entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
*** Starting uWSGI 2.0.19 (64bit) on [Thu Dec 16 14:04:25 2021] ***
compiled with version: 10.2.1 20210110 on 16 December 2021 15:33:39
os: Linux-5.10.83 #1 SMP Fri Dec 3 16:43:02 UTC 2021
nodename: local-compreface
machine: x86_64
clock source: unix
detected number of CPU cores: 4
current working directory: /app/ml
detected binary path: /usr/local/bin/uwsgi
!!! no internal routing support, rebuild with pcre support !!!
setgid() to 33
setuid() to 33
your memory page size is 4096 bytes
detected max file descriptor number: 1048576
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
uwsgi socket 0 bound to TCP address <IP_ADDRESS>:3000 fd 3
Python version: 3.7.12 (default, Dec  3 2021, 02:42:50)  [GCC 10.2.1 20210110]
Python main interpreter initialized at 0x556f69584b70
python threads support enabled
your server socket listen backlog is limited to 100 connections
your mercy for graceful operations on workers is 60 seconds
mapped 218712 bytes (213 KB) for 2 cores
*** Operational MODE: preforking ***
2021-12-16 14:04:28,230 INFO exited: compreface-core (terminated by SIGILL (core dumped); not expected)

CompreFace could be built based on two face recognition libraries: FaceNet and InsightFace.
By default, FaceNet is based on Tensorflow and requires AVX
By default, InsightFace is based on MXNet and requires AVX2
If you want to build CompreFace with a changed MXNet library, it makes sense to build CompreFace with all InsightFace plugins:
https://github.com/exadel-inc/CompreFace/tree/master/embedding-calculator#plugins

That's interesting. Thanks a lot for the response. I think I lost a bit of the interest in trying to build it myself, but I will keep watching this and the other issue in case someone makes a finding.

@pospielov is there any chance you can help to build a Dockerfile variant with mxnet-noavx with CompreFace configured with the correct libraries for such?
It seems that it would help a lot of people...

Sorry, we are now focused on adding support for new GPU generation.
As mxnet is not supported anymore (the last release was May 2022), we need to migrate to another deep-learning library.
As soon as we migrate, we will see its capabilities and restrictions.

Got it. Thanks for the answer anyway.

if i put the COMPREFACE on AMAZON (VIRTUAL PC), will i have problems ?

There shouldn't be problems with ec2 instances. At least with x86_64 CPU
https://aws.amazon.com/marketplace/pp/prodview-4dhcez4e7nth6
We even have a simple way to test it. But we haven't updated the version yet.


Enable/Disable in comments

It would be nice to have a syntax in comments to enable / disable the spell checker.
Something similar to tslint.
/* spell-checker:disable */
const foo = "Thiz nott checkedd";
/* spell-checker:enable */

I think this is a good idea.  I have to think how best to do this.

This is in 0.12.2

Thank you for your suggestion.


vector distribution tests should test with vectors of not all the same values

Description
There was a bug in an lcdf distribution that would have been caught if the vectorized versions of the CDFs were tested with vectors of different values (https://github.com/stan-dev/math/issues/1662).
Right now the vectorized tests build vectors of the same value (see the repeat_as_vector test).
This would have been caught if there was a test that tested vectorized vs. non-vectorized versions of the functions where it's not just a repeat of the same value (see discussion here).
Current Version:
v3.2.0

This is a duplicate of: https://github.com/stan-dev/math/issues/1861

Whoops, not quite a duplicate. This is for cdfs.


Where is example code to read out EMA?

Dear Emre, I see only standard API code, but no EMA readouts. Please show me the parameters. Thanks

Hi Martin, I will be answer soon.


Hand mouse pointer is shown when drag and drop is disabled

Testing #125013

Good catch

No longer able to repro this.


Support secrets within R blocks

Is your feature request related to a problem? Please describe.
As currently implemented, secrets can only be accessed in configuration files and in python scripts. As a user, I would like to be able to access secrets within R blocks.
Describe the solution you'd like
A function similar to get_secret_value('<secret_name>') within R that returns the value of a secret.
Describe alternatives you've considered
I attempted to call get_secret_value() within R through the reticulate library without success.

Access to secrets from R would be quite useful! Possibly that would require a dedicated R package, as it happens for Python?

Yeah, we investigated it a bit. It's not a trivial change.


Feature/save_config

Adds the ability to right click on any job and save it's settings with a custom name to make it easier to create a job with matching settings again.

Can right click on any job to save the settings into new configuration

Will be prompted for custom name
Current job will be renamed to the new name provided

Saved configs appear in the SQL Job Manager view under a new tree item
Clicking on the saved configuration will spin up a new job with the settings from the configuration
Saved configurations have context options to edit and delete the config

Sent @forstie an updated build with his suggestion:

Changes tested and confirmed.
Works great!
Thanks for the changes.


Add more Starkware based projects

DeversiFi https://etherscan.io/address/0x5d22045DAcEAB03B158031eCB7D9d06Fad24609b
ImmutableX https://etherscan.io/address/0x5FDCCA53617f4d2b9134B29090C87D01058e27e9
dYdX https://etherscan.io/address/0xD54f502e184B6B739d7D27a6410a67dc462D69c8

DeversiFi added with https://github.com/l2beat/l2beat/pull/88
ImmutableX, dYdX added as well


URL encoding

Is there a flag/option to turn off url encoding? For example in pagination links.

Sorry, no. The code is using the to_query method to convert the query params. You would need to patch https://github.com/cerebris/jsonapi-resources/blob/master/lib/jsonapi/link_builder.rb#L34 and https://github.com/cerebris/jsonapi-resources/blob/master/lib/jsonapi/link_builder.rb#L39. If you do choose to do this note that to_query also sorts the parameters in a consistent way for caching.
Why exactly do you want this?


print cell & line plus skip invalid cells for ipynb

I have built on @jrobsondev 's ideas and  added further support for .ipynb files: cell and line numbers are now printed when checking notebooks. Cells with invalid python (including magic commands e.g.%timeit) are skipped.
I have not altered the README  yet I will wait and see if any changes are required or if this is a feature we even want to include.

That's a nice extension! I actually mentioned to @mwermelinger about the % errors so glad you were able to sort those as well. Could be worth updating the sample ipybn file to show that the %timeit functions are skipped?

I would agree about improving the test files, but I found having the sample.py and sample.ipynb files to be "equivalent" in terms of their code to be very useful when testing. I would like to suggest that in issue #8  we could add some extra .ipynb files with some of the edge cases mentioned along side the extra .py files. Also it could be useful to have some kind of simple script in there for automated testing. I know that issue #8 was already the highest priority it would certainly be useful to have better testing in place.
With regards to skipping the magic commands (i.e. the %timeit etc) at the moment this commit skips the whole cell if they are present (I still think this is a bit of a drawback especially for M269) . There is room for improvement here in the future: magic commands could be replaced with some basic code that would not cause any errors to be flagged.  I think this could be done with simple sub-string matching to find the commands then the line could be replaced with the "benign" code with the indentation levels intact. I did a little experimentation with this but must admit I have not thought through all the possible scenarios where replacing the magics could go wrong so have left it for now.

Great feature, thanks! With nbqa, we can detect in 09_6_sms.ipynb the invalid use of open() in a cell that starts with %run, but by skipping the whole cell this is no longer detected. As you point out, we need to replace the magic commands. I suggest to replace zero or more spaces followed by % with the same spaces followed by pass # %. So
%run -i m269_util

for x in range(20):
    %timeit test(some_function, some_function_tests)

becomes
pass # %run -i m269_util

for x in range(20):
    pass # %timeit test(some_function, some_function_tests)

In a nutshell, the magic commands are replaced by no-ops, which avoids syntax errors.
If you could add this change to your PR and also add a file magic.ipynb that tests this (so that sample.py and sample.ipynb remain equal), that would be great.
If you also have the time to update the README, that would be great, otherwise I can do it. Basically we don't need nbqa anymore, but we need to keep a reference to it for the reviewers of the submitted paper who are going to check this repo. A sentence like the following should be enough
Note that the latest version of allowed no longer requires installing nbqa to handle notebooks robustly.

I just realised that detecting the percent sign and commenting the line out will lead to a syntax error in cases like
text = """This module operator is
    %, which is very confusing."""

I wonder how nbqa handles this example. Maybe nbqa has a list of the Python magics to not just match %?
One way to be robust is to first detect and replace the Python magics and then check if the cell is syntactically correct.
The other issue is that the pass statement may not be an allowed construct, so it would raise an error. One possibility is to use instead the print function, which is usually among the first constructs introduced. So
%run -i m269_util

for x in range(20):
    %timeit test(some_function, some_function_tests)

would become
print("%run -I m269_util")

for x in range(20):
    print("%timeit test(some_function, some_function_tests)")

Again, I wonder how nbqa handles IPython magics, especially those within loops or if-statements. They can't simply be removed or commented out, as that leads to syntax errors.

As far as I can tell nbqa has a fairly elaborate system in place to handle the Ipython magics. They represent the magic commands with MagicHandler objects which have among other things a uniquely generated hex token to identify them.  In the source code itself you end up with the hash() function along with this hex token as argument if it is a line magic (i.e single %)  or a syntax error (this was the reason for the random hash() functions being flagged). A comment # CELL MAGIC followed by the hex token is used for cell magics i.e %%. Then some how they reassemble the source code from this information. if the commands are inside a loop or if statement they just seem to keep the indentation level. I have not tested to see if they handle the commands being assigned to variables and if so how they do that.
I was thinking along the lines of a list or a set of strings to represent the literal commands e.g. ["%timeit", "%run", "%matplotlib"]. for example I think the module only uses these 3 magics? But of course we could expand this list or add this to the config for flexibility. I like your idea to use print() and also keep the original text from the line this feels better than what I was experimenting with (I was just trying to replace with some assignment or a int literal) so I will test this out. My only other concern would be assignments with magics, but I don't think even nbqa handles this, but I could be wrong.

Well remembered: we do have an assignment of %timeit to a variable in one plot. I have the feeling it's best to leave this as it is (skip cells w/ syntax errors or magics) and I'll close it after you pushed  the minor changes. I'll open a new issue about the magics.

Have updated as per comments and changed the README.

I spotted a few typos in the updated README so had to fix them along with a couple of other tweaks. I have finished now and will leave it alone.


Add PR template in repo

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 [...]
add issue template for raising issues related to bug reports and feature request
Describe the solution you'd like
A clear and concise description of what you want to happen.
Add PR template in the repo so whenever a contributor open a PR he/she will provide all relevant information about that using temple
Add PR template to the GitHub folder

can I work on this issue?

Sure.


[DOCFIX] Fix link formatting in cn/User-CLI doc

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-PR-Builder/11035/
Test PASSed.

LGTM

alluxio-bot, merge this please


How to add InlineKeyboardButton for sendMessageAlbum()

I not found ReplyMarkup field :-(

... and tdliblib return error when call editMessageReplyMarkup()
"Message can't be edited"

... but getMessageLink has parametr for_album
I need some one for inline keyboard :-)

Clients aren't able to show inline buttons for media albums, so there is no way to add them.


Project builds, but there are some errors on Windows

Describe the bug
Project builds (with unit tests disabled), but there are several errors on Windows
To Reproduce
run "mvn package -Dmaven.test.skip=true"
See error:
[ERROR] OS=Windows and the assembly descriptor contains a *nix-specific root-relative-reference (starting with slash) /
Expected behavior
There should be no errors
** Version of Software Used**
master branch
Windows 10

Possible solution:
In tar-assembly.xml and zip-assembly.xml replace <outputDirectory>/</outputDirectory> with


jsfiddle links from documentations don't work

Hey, I just want to let you know that links pointing to jsfiddle don't work - they result in error 404. I mean links like "Copy & paste into your editor or fiddle with code online"

Got it. Will look. There was some change in jsFiddle some time ago and linked stopped working.

Fixed.


Using max() function in algebra

Some functions require multiple arguments to be useful, such as max(), min(), sum() etc. But it seems the algebra parser is unable to handle formulas like max(a,b). I get a 400 bad request on such formula's. Is there a different syntax I should be using?

The min/max are using the numpy.amin and numpy.amax functions, not the numpy.minimum and numpy.maximum. So min/max is an array aggregate not a array comparison. The formula parser does not support multiple arguments in a function at the moment. So allowing min(a,b) requires a deeper refactoring.
However, you can achieve the result you want with the following formula:
a * (a > b) + b * (b > a)


update tests to use a URL in patch

Checklist before submitting

[x] Did you read the contributor guide?
[ ] Did you update any affected documentation?
[ ] Did you write any tests to validate this change?

Description
Fixes # (issue).
Review process to land

All tests and other checks must succeed.
At least one maintainer must review and approve.
If any  maintainer requests changes, they must be addressed.

Codecov Report
Base: 96.12% // Head: 96.17% // Increases project coverage by +0.05% :tada:

Coverage data is based on head (a8e10b3) compared to base (dbb78e2).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #146      +/-   ##
==========================================
+ Coverage   96.12%   96.17%   +0.05%
==========================================
  Files          23       23
  Lines        2114     2114
==========================================
+ Hits         2032     2033       +1
+ Misses         82       81       -1

Flag
Coverage Δ

unittests
96.17% <ø> (+0.05%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

open_ce/build_tree.py
96.88% <0.00%> (+0.26%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Codecov Report
Base: 96.12% // Head: 96.17% // Increases project coverage by +0.05% :tada:

Coverage data is based on head (a8e10b3) compared to base (dbb78e2).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #146      +/-   ##
==========================================
+ Coverage   96.12%   96.17%   +0.05%
==========================================
  Files          23       23
  Lines        2114     2114
==========================================
+ Hits         2032     2033       +1
+ Misses         82       81       -1

Flag
Coverage Δ

unittests
96.17% <ø> (+0.05%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

open_ce/build_tree.py
96.88% <0.00%> (+0.26%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


#71 click and hold keywords added

Adding a new ability to click and hold

Tests are failing please fix them ->
https://ci.appveyor.com/project/GDATACyberDefenseAG/robotframework-flaui/builds/46485777
Asweel pls after merge to master the latest pull request from buildsystem to avoid this issue that builds are green if tests are faling.

ErrorHandling Keyword tests are missing in Error.robot


Add support for using tox to run tests.

Added a tox.ini that defines testing environments for Python versions 3.6 through 3.12 pytest coverage testing, as well as the code quality tests.
This should work with the versions of tox available for actively supported openSUSE, SLE and Ubuntu distributions.
Updated CONTRIBUTING.MD with instructions for how to use tox to drive the tests. Also added some additional verbiage in the initial installation instructions advising how to create a venv.
Updated Github Actions workflows to enable using tox to run the tests.
Relates: #116

Note that I removed 3.12 from the Github actions Python version list as it is not yet available in the supported versions matrix, probably because it is still in beta, but I have been able to validate locally via pyenv.


QLever missing features or unexpected behavior

Whenever you encounter a query that you think should work (according to the SPARQL 1.1 standard) but throws an error message or gives an unexpected result, please post it here. Please check whether a similar query has already been posted before.
I will now move various queries from other issues here, so that we don't have one issue per query (which doesn't really help).

The SERVICE keyword is not yet supported [reported by @WolfgangFahl on 26.02.2022]:
https://qlever.cs.uni-freiburg.de/wikidata/QhTtmx

Square brackets are not yet supported [reported by @dpriskorn on 25.02.2022]:
https://qlever.cs.uni-freiburg.de/wikidata/dtZ84t

Minor syntax features not yet supported [reported by @WolfgangFahl on 19.02.2022]:
https://qlever.cs.uni-freiburg.de/wikidata/BGoE0M
Variant of the query that works: https://qlever.cs.uni-freiburg.de/wikidata/VgHqGB

Currently, only GET queries are supported, not POST [reported by @WolfgangFahl on 19.02.2022]:
This is easy to fix and on our list.

String functions are not yet supported in QLever [reported by @dpriskorn on 28.01.2022]:
https://qlever.cs.uni-freiburg.de/wikidata/EnB513
NOTE: The code for supporting functions in SPARQL expressions is all there. It's just a matter of adding more functions.

String functions not yet implemented [reported by @WolfgangFahl on 28.01.2022]:
https://qlever.cs.uni-freiburg.de/wikidata/0fidpY
The following equivalent query works: https://qlever.cs.uni-freiburg.de/wikidata/m49coC

String functions URI and CONCAT not yet supported [reported by @dpriskorn on 15.10.2022]:
https://qlever.cs.uni-freiburg.de/wikidata/5sDHUw
This variant of the query works: https://qlever.cs.uni-freiburg.de/wikidata/aIbGvo

@hannahbast
#607 shows how the sample queries can be tested with different endpoints.

FILTER with arbitrary expressions not yet supported [reported by @graue70 on 03.09.2021]:
https://qlever.cs.uni-freiburg.de/wikidata/Zd77YE
NOTE: The code for supporting arbitrary expressions is in place in the meantime, we "only" need to add this feature

Quick question here, it's hard as a user to see which features are not currently supported if they are all in a single issue. What about using a query label to group all of these issues, but having separate issues for each failed query 'feature'?

@jeremiahpslewis You are completely right and this issue is not for having a good overview, it's just to give people a chance to add a new query if they encounter one.
The solution I propose is that I add a page on the Wiki with a list of the features currently not supported (together with an estimate of when they will be supported and how hard it is).

Do you accept pull requests? What would be a good first issue? :)

I have added more details to #607 and suggest to use named queries for continuous integration. IMHO it would be good to add the name of the query as comment e.g.
sparqlquery -qp wikidata.yaml --showQuery -qn HumansWithLibrisEntryAndImageAndMap
named query HumansWithLibrisEntryAndImageAndMap:
# humans with images and maps in swedish national library
# 53142 results in 20.6 seconds on Wikidata Query Service
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wikibase: <http://wikiba.se/ontology#>
SELECT ?item ?librisuri ?coord (sample(?img) AS ?image) (sample(?map) AS ?map) WHERE {
  # humans with a Libris-URI (swedish national library) and a known birthplace
  ?item wdt:P5587 ?librisid;
        wdt:P31 wd:Q5;
        wdt:P19 ?birthplace.
  # birthplace coordinates
  ?birthplace wdt:P625 ?coord.
  # image of the subject
  OPTIONAL {?item wdt:P18 ?img}.
  # map of the subject
  OPTIONAL {?item wdt:P242 ?map}.
  BIND(URI(CONCAT("https://libris.kb.se/katalogisering/",?librisid)) AS ?librisuri)
}
group by ?item ?librisuri ?coord

@hannahbast  Having dozens of issues for things which are already on our list is not really helpful.
There is a tradeoff here. Personally i'd prefer an issue per case because referencing  is much easier. Adding labels to the issues would probably help and then there is of course the "duplicate of ..." which makes sure there will be a core issue for each case.

Do you accept pull requests? What would be a good first issue? grinning
Of course, see my email from yesterday.

@WolfgangFahl I don't think it make sense to have an issue for every minor feature that is missing at this point. Especially since the missing features come in large groups and then a single PR might address many issues at the same time. I don't think it's the best investment of our time to clean up the issues :-)
When we are approaching full SPARQL 1.1 support, this certainly does make sense. Then we can also react quickly: Issue -> PR -> solved. Right now, we can just repeat ourselves and says: yes we know, will be implemented soon, please give us some more time

https://qlever.cs.uni-freiburg.de/wikidata/XGc3nb

@WolfgangFahl I agree that the error message poorly describes what it should describe. What is should describe is that the query has two parts which are not connected. That, however, is indeed the problem with your example query. Here is a simpler query which has that problem due to a typo. I don't think, it's the task of a SPARQL engine to guess that the two independent query parts are due to a typo. It's an unfortunate property of SPARQL that if you mistype a variable name, you frequently get into this situation. Autocompletion helps to avoid that.
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?subject WHERE {
  ?subject wdt:P31 wd:Q5 .
  ?sujbect wdt:P31 wd:Q159979
}

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?count (COUNT(?count) AS ?frequency) WHERE {
# Count all human(Q5) https://www.wikidata.org/wiki/Q5 items
# with the given date of birth(P569) https://www.wikidata.org/wiki/Property:P569
SELECT ?item ?itemLabel (COUNT (?value) AS ?count)
WHERE
{
  # instance of human
  ?item wdt:P31 wd:Q5.
  ?item wdt:P106 wd:Q82594.
  ?item rdfs:label ?itemLabel.
  filter (lang(?itemLabel) = "en").
  # date of birth
  ?item wdt:P569 ?value.
} GROUP by ?item ?itemLabel
}
GROUP BY ?count
ORDER BY DESC (?frequency)

https://qlever.cs.uni-freiburg.de/wikidata/IlDxae
Exception: ParseException, cause: Expected a token of type IRI but got a token of type KEYWORD (select) in the input at pos 153 : SELECT ?item ?itemLabel (COUNT (?value) AS ?count) WHERE { # instance of human ?item wdt:P31 wd:Q5. ?item wdt:P106 wd:Q82594. ?item rdfs:label ?itemLabel. filter (lang(?itemLabel) = "en"). # date of birth ?item wdt:P569 ?value. } GROUP by ?it

@WolfgangFahl QLever currently requires { ... } around subqueries. That is, the following works: https://qlever.cs.uni-freiburg.de/wikidata/9DIJOj
Background information: QLever already uses a proper parser generator (ANTLR) for a part of its parsing (in particular, the SPARQL expressions). It's not yet used for parsing the whole SPARQL query. That explains many of these small inconsistencies. It will be solved soon.

@hannahbast thx for the hint. I am currently working a tool that analyses "how tabular" a query based on an item and a list of properties is. This analysis might need some SPARQL features such as GROUP_CONCAT or workarounds for these.
The double curly braces issues is solvable with a workaround. The next issue is:
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
# get the label for the given item
SELECT ?itemLabel
WHERE
{
  VALUES (?item) {
    (wd:Q2020153)
  }
  ?item rdfs:label ?itemLabel.
  #filter (lang(?itemLabel) = "en").
}

which does not work with or without filter.
see https://qlever.cs.uni-freiburg.de/wikidata/RK1eyG
while try it! works

@WolfgangFahl Just omit the two (...) in the VALUES clause and it works: https://qlever.cs.uni-freiburg.de/wikidata/7UCU23

Is there a way to emulate EXISTS and BOUND which both seem to be unimplemented?

@tuukka Do you have an example query? We are currently still working on full expression support. The basic machinery is in place (that was the hard part of the work), but not all functions and operators are implemented yet.
@joka921 Can you briefly comment on EXISTS and BOUND. Are they particularly easy or do you see any particular difficulty?

@tuukka Do you have an example query? We are currently still working on full expression support. The basic machinery is in place (that was the hard part of the work), but not all functions and operators are implemented yet.

Here's an example query with EXISTS: Wikidata items that are humans but lack an article in English Wikipedia: https://qlever.cs.uni-freiburg.de/wikidata/58H7Sx
Same query using BOUND: https://qlever.cs.uni-freiburg.de/wikidata/9d0XXz

Ok, those are easy:

For the first query, you can replace FILTER NOT EXISTS by MINUS: https://qlever.cs.uni-freiburg.de/wikidata/ZuEUiK
For the second query, you can replace FILTER(!BOUND(?article)) by FILTER(?article > "<Z"): https://qlever.cs.uni-freiburg.de/wikidata/fPUSFt

Explanation @1: The two are often equivalent, except for some obscure queries involving OPTIONAL (not the case here).
Explanation @2: The "null" value is large than all "real" values in QLever.
Note that both queries also work without LIMIT, whereas on https://query.wikidata.org they time out (like almost all queries with non-trivial constraints and without LIMIT).

@hannahbast Thank you, I had completely missed MINUS! Now the query I originally wanted to write is working (although somewhat slow and threatens to run out of memory): Wikidata items that have many articles but not an English one: https://qlever.cs.uni-freiburg.de/wikidata/R5z27F

EDIT: If a guide for porting queries from WDQS does not exist yet, that might be a nice way to document the current differences?

@tuukka @WolfgangFahl @joka921 I have started a Wiki page now: https://github.com/ad-freiburg/qlever/wiki/Current-deviations-from-the-SPARQL-1.1-standard

in-clause for Filter is missing
see https://qlever.cs.uni-freiburg.de/wikidata/ruLOCV

@WolfgangFahl Thanks, I have added it to https://github.com/ad-freiburg/qlever/wiki/Current-deviations-from-the-SPARQL-1.1-standard , at the bottom. There you also find a variant of the query that works: https://qlever.cs.uni-freiburg.de/wikidata/FZ6sHB .

Hey @hannahbast, I have two questions:

For queries that return a lot of results, Qlever seems to have a limit of 100.000 results. Is it possible to configure Qlever to return all of the result?
Is it possible to export the dataset to file?

@anlam If you specify an explicit limit, you can download results of any size. You can download the data in the typical formats: CSV, TSV, JSON, and Turtle. For JSON and Turtle you also have to specify the URL parameter send=some_larger_limit. For CSV and TSV you don't need that. You specify the format via the "Accept" header, this is standard for SPARQL. QLever supports chunked transfer, so the download will also work for very large results.
The QLever UI also has a "Share" button. For example, to get the IRIs of the almost 10 million instances of type human (wd:Q5) in Wikidata, you can do
curl -Gs -H "Accept: text/csv" https://qlever.cs.uni-freiburg.de/api/wikidata --data-urlencode "query=PREFIX wd: <http://www.wikidata.org/entity/> PREFIX wdt: <http://www.wikidata.org/prop/direct/> SELECT ?person WHERE { ?person wdt:P31 wd:Q5 } LIMIT 10000000" --data-urlencode "send=10000000"
Reason for the limit: Eventually, QLever will have an "admin token" which allows the owner of the backend to control all kinds of settings in including: download limit, query timeouts, maximum RAM for query processing,  etc. For now, some of these limits are hard-coded. But as explained above, the result size limit can be worked around easily.

For those that are interested, I have automated the W3C RDF tests. Documentation is at https://wikitech.wikimedia.org/wiki/User:AndreaWest/WDQS_Testing/Running_TFT.

Hey @hannahbast,
Thank you so much for the answer. I was wondering if there is any explicit way to export the whole dataset instead of executing the query via SPARQL endpoint?

@anlam If you want the whole dataset, isn't the right thing to download it from Wikidata: https://dumps.wikimedia.org/wikidatawiki/entities/ ?
In principle, you can of course download the whole dataset with CONSTRUCT { ?s ?p ?o } WHERE { ?s ?p ?o }, and it works, but I don't think that's a proper use of a SPARQL endpoint

SELECT (?queryVariable AS ?resultVariable) does not give an error but produces an empty variable.

@tuukka Can you provide a complete query?

SELECT (?queryVariable AS ?resultVariable) does not give an error but produces an empty variable.

Example (should produce 192 nation states, produces 192 empty rows): https://qlever.cs.uni-freiburg.de/wikidata/qphky4
Of course, it's easy to work around by search-and-replace of ?queryVariable with ?resultVariable, but it's a reason why some queries from WDQS don't work directly in QLever.

Thanks, that looks like one of the many deviations from the SPARQL 1.1 standard, which we are currently fixing.
@Qup42 @joka921 What do you think?
As a quick workaround, BIND is your friend and this equivalent query gives you the desired result: https://qlever.cs.uni-freiburg.de/wikidata/HOuTUH

Here is an example of  a "truly tabular" generated query with GROUP_CONCAT that does not seem to work:
# truly tabular aggregate query for
# Q2020153:academic conference
# generated by trulytabular.py version 0.2.14 on 2022-07-28T08:27:46.370180
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?academic_conference ?academic_conferenceLabel
  (SAMPLE (?country) AS ?country_sample)
  (COUNT (?short_name) AS ?short_name_count)
  (GROUP_CONCAT (?short_name;SEPARATOR="⇹") AS ?short_name_list)
  (COUNT (?title) AS ?title_count)
  (GROUP_CONCAT (?title;SEPARATOR="⇹") AS ?title_list)
WHERE {
  # instanceof Q2020153:academic conference
  ?academic_conference wdt:P31 wd:Q2020153.
  # label
  ?academic_conference rdfs:label ?academic_conferenceLabel.
  FILTER (LANG(?academic_conferenceLabel) = "en").
  # country (P17)
  OPTIONAL {
    ?academic_conference wdt:P17 ?country.
  }
  # short name (P1813)
  OPTIONAL {
    ?academic_conference wdt:P1813 ?short_name.
  }
  # title (P1476)
  OPTIONAL {
    ?academic_conference wdt:P1476 ?title.
  }
}
GROUP BY ?academic_conference ?academic_conferenceLabel
HAVING (COUNT(?country)=1)

https://qlever.cs.uni-freiburg.de/wikidata/l1x8od works

@WolfgangFahl
Here is a variant of you query that works
There are two issues here: QLever's parser currently does not allow ⇹ as a separator. I'll have to check, whether this has to be somehow escaped, or whether this is a bug in our parser implementation. I have therefore replaced the separator by  .
The second issue is that HAVING(COUNT(... is currently not supported (QLever's Filter implementation is rather incomplete and does only allow a small set of expressions, but I am actively working on that. The workaround here is to explicitly bind the COUNT to a Variable in the SELECT clause and then filter this variable for equality with 1. This currently has the disadvantage that this "internal" variable is then selected in the result, but we are aware of this issue.

Is there a way to emulate EXISTS and BOUND which both seem to be unimplemented?
EDIT: I found !ASK but cannot use it in a FILTER: Exception: ParseException, cause: ! is not a valid left hand side for a filter. EDIT2: boolean literals don't seem to be implemented as false = ASK ... results in Unexpected input: false = ASK ... EDIT3: COALESCE also unimplemented.

see https://qlever.cs.uni-freiburg.de/wikidata/zitfWe for coalesce not working

Not supported: ASK queries are currently not supported by QLever.

On can use LIMIT 1 query as a workaround:
SELECT * WHERE {...} LIMIT 1

Is there an overview about the current coverage of SPARQL 1.1 features resp. functions. Or maybe just a list of the missing features/functions?
That would be more convenient than checking QLever demo or own setups by executing queries I think.
From what I can can tell since I tried it in the morning, hash functions are missing. But I'm looking for a list according the SPARQL 1.1 specs, e.g.
7.4.1 Functional Forms

[ ]	<IP_ADDRESS> bound
[ ]	<IP_ADDRESS> IF
[ ]	<IP_ADDRESS> COALESCE
[ ]	<IP_ADDRESS> NOT EXISTS and EXISTS
[ ]	<IP_ADDRESS> logical-or
[ ]	<IP_ADDRESS> logical-and
[ ]	<IP_ADDRESS> RDFterm-equal
[ ]	<IP_ADDRESS> sameTerm
[ ]	<IP_ADDRESS> IN
[ ]	<IP_ADDRESS> NOT IN

7.4.2 Functions on RDF Terms

[ ]	<IP_ADDRESS> isIRI
[ ]	<IP_ADDRESS> isBlank
[ ]	<IP_ADDRESS> isLiteral
[ ]	<IP_ADDRESS> isNumeric
[ ]	<IP_ADDRESS> str
[ ]	<IP_ADDRESS> lang
[ ]	<IP_ADDRESS> datatype
[ ]	<IP_ADDRESS> IRI
[ ]	<IP_ADDRESS> BNODE
[ ]	<IP_ADDRESS> STRDT
[ ]	<IP_ADDRESS> STRLANG
[ ]	<IP_ADDRESS> UUID
[ ]	<IP_ADDRESS> STRUUID

Functions on Strings

[ ]	<IP_ADDRESS> Strings in SPARQL Functions
[ ]	<IP_ADDRESS>.1 String arguments
[ ]	<IP_ADDRESS>.2 Argument Compatibility Rules
[ ]	<IP_ADDRESS>.3 String Literal Return Type
[ ]	<IP_ADDRESS> STRLEN
[ ]	<IP_ADDRESS> SUBSTR
[ ]	<IP_ADDRESS> UCASE
[ ]	<IP_ADDRESS> LCASE
[ ]	<IP_ADDRESS> STRSTARTS
[ ]	<IP_ADDRESS> STRENDS
[ ]	<IP_ADDRESS> CONTAINS
[ ]	<IP_ADDRESS> STRBEFORE
[ ]	<IP_ADDRESS> STRAFTER
[ ]	<IP_ADDRESS> ENCODE_FOR_URI
[ ]	<IP_ADDRESS> CONCAT
[ ]	<IP_ADDRESS> langMatches
[ ]	<IP_ADDRESS> REGEX
[ ]	<IP_ADDRESS> REPLACE

7.4.4 Functions on Numerics

[ ]	<IP_ADDRESS> abs
[ ]	<IP_ADDRESS> round
[ ]	<IP_ADDRESS> ceil
[ ]	<IP_ADDRESS> floor
[ ]	<IP_ADDRESS> RAND

7.4.5 Functions on Dates and Times

[ ]	<IP_ADDRESS> now
[ ]	<IP_ADDRESS> year
[ ]	<IP_ADDRESS> month
[ ]	<IP_ADDRESS> day
[ ]	<IP_ADDRESS> hours
[ ]	<IP_ADDRESS> minutes
[ ]	<IP_ADDRESS> seconds
[ ]	<IP_ADDRESS> timezone
[ ]	<IP_ADDRESS> tz

7.4.6 Hash Functions

[ ]	<IP_ADDRESS> MD5
[ ]	<IP_ADDRESS> SHA1
[ ]	<IP_ADDRESS> SHA256
[ ]	<IP_ADDRESS> SHA384
[ ]	<IP_ADDRESS> SHA512

see #1247 and #859 and https://github.com/WDscholia/scholia/issues/2412 how a systematic testing approach could look like. Is there somewhere a list of example queries according to the SPARQL spec that we could pick up?

There is the SPARQL 1.1 test suite: https://www.w3.org/2009/sparql/docs/tests/summary.html
The test structure is described here: https://www.w3.org/2009/sparql/docs/tests/README.html
It provides data, query and expected results w.r.t. the standard.

Please advise if the following SPARQL expression is on the development roadmap?
... WHERE BIND (EXISTS {SELECT ...
If it is not, I would be grateful if you could support it. Having this expression in SPARQL query raises the following error: Invalid SPARQL query: Built-in function "exists { select where{ http://test.domain/device.owl#interface/address ?p ?o.} limit1 }" not yet implemented; if you need it, just add it to SparqlQleverVisitor.cpp::visitTypesafe(Parser::BuiltInCallContext following the already implemented functions there

Could you post the full query @tokarenko?

The name of the built-in function is very strange. Something is not right there.
It seems that you have a raw URL in query. You have to wrap it angle brackets: <http://test.domain/device.owl#interface/address>.

You can't use a subquery in the EXISTS function - only graph patterns are allowed here.
Moreover, since subquery evaluation is bottom up, the filter wouldn't consider anything from the outer query. But it's not allowed anyways.
If you provide data and expected result, we could help writing an appropriate query.

in the error message it looks like the subquery has no projection, is this correct? Please show the whole query.

I am trying to use qLever with my custom ontology behind a SPARQL federation engine.
I am trying to get "<IP_ADDRESS>" from the following triple:
<http://test.domain/device.owl#core1_Gi0/1_ipv4_address> <http://test.domain/device.owl#IP> "<IP_ADDRESS>"^^<http://www.w3.org/2001/XMLSchema#string> .
The query is as follows:
prefix onto: <http://test.domain/device.owl#>
SELECT ?ip WHERE {
  <http://test.domain/device.owl#core1_Gi0/1_ipv4_address> onto:IP ?ip
}

Federation engine queries qLever as follows:
prefix onto: <http://test.domain/device.owl#>
select *
where {
  bind (exists {select *
    where {
      ?s onto:IP ?o .
    }
    limit 1 } as ?b0)
  bind (exists {select *
    where {
      <http://test.domain/device.owl#core1_Gi0/1_ipv4_address> onto:IP ?ip .
    }
    limit 1 } as ?b1)
}
limit 1000

I tried Ontotext GraphDB with the same ontology. It works as expected. So, I assume the query is fine.

I had a look into the code. exists and not exists are not implemented. The error message is wrong. It should of course mark that EXISTS is not implemented instead of marking the whole sub pattern.

While the simple s-p-o query works, restricting it to ?s a ?o fails: https://qlever.cs.uni-freiburg.de/wikidata/TqjfBa

Also, while the wiki claims that IN and NOT IN are supported, the relevant PR https://github.com/ad-freiburg/qlever/pull/1344 is not yet merged. The linked example query demonstrates a workaround (using VALUES), but not IN/NOT IN

Hi,
Yes, #1344 is almost finished, and will implement IN/NOT IN
Also #1374 Will fix your other issue (LIMITS on single triples). The more general feature (limiting arbitrary results that run out of memory when run unlimited) is a work in process, but will probably still take some time..

Please note that the https://github.com/WolfgangFahl/snapquery can now happily host the test queries as named parameterized queries. I intend to e.g. give all queries of this tickets names as i already did successfully for the tickets from the wikidata query service short names queries with the help of an LLM to guess  the names, description and the like. @joka921  - i also sent you and e-mail recently - it might have ended up in your SPAM filter so it would be great if you get actively in touch. Do you have an official suite of test queries by now or shall we offer one as part of the snapquery project?

The DESCRIBE keyword is not supported. I have not seen it mentioned anywhere in the issues or in the wiki.

@agustaf9 Thanks for pointing that out, I have added DESCRIBE and ASK to the list on https://github.com/ad-freiburg/qlever/wiki/Current-deviations-from-the-SPARQL-1.1-standard, together with simple workarounds.
@WolfgangFahl I missed your last request and reading it now, I am not sure I understand it. Could you provide a bit more context?

Just a detail: If I understand correctly NOW() has been implemented by #1377
SELECT (NOW() AS ?now) WHERE {}

My favorite Wikidata query is not working. Main reason is that qlever assumes that the regex we are trying to match is a static string but, as I understand the spec, it can also be derived from a bound variable. This is probably hard to optimize as the search space opens to potentially >10k or hundreds of thousands of regular expressions for which we want to filter potentially 1bn records.
#Cell lines with names that could also be URLs (Internet of Cell Lines).

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT * WHERE {
  {
    SELECT ?cell_line ?cell_line_name WHERE {
      ?cell_line wdt:P31 wd:Q21014462;
                 rdfs:label ?cell_line_name.
          FILTER(LANG(?cell_line_name) = "en").
          Filter REGEX(STR(?cell_line_name), "^[\\w\\-\\.]+\\.[A-z]+$")
    }
  }
  ?tld wdt:P31/wdt:P279* wd:Q14296;
       rdfs:label ?tld_name.
  FILTER(LANG(?tld_name) = "en").
  FILTER REGEX(STR(?cell_line_name), CONCAT(REPLACE(STR(?tld_name), "\\.", "\\\\."), "$"), "i")
  BIND(URI(CONCAT("http://", ?cell_line_name)) as ?url)

@athalhammer Thanks for the query. Yes, variable REGEX expressions are not yet supported. Not because it's hard but because we didn't get to do it yet.
However, for your particular query you can simple use STRENDS: https://qlever.cs.uni-freiburg.de/wikidata/3oYHYU
#Cell lines with names that could also be URLs (Internet of Cell Lines).
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT * WHERE {
  {
    SELECT ?cell_line ?cell_line_name WHERE {
      ?cell_line wdt:P31 wd:Q21014462 ;
                 rdfs:label ?cell_line_name .
      FILTER (LANG(?cell_line_name) = "en") .
      FILTER REGEX(?cell_line_name, "^[\\w\\-\\.]+\\.[A-z]+$")
    }
  }
  ?tld wdt:P31/wdt:P279* wd:Q14296 ;
       rdfs:label ?tld_name .
  FILTER (LANG(?tld_name) = "en") .
  FILTER STRENDS(LCASE(?cell_line_name), LCASE(?tld_name))
  BIND (URI(CONCAT("http://", ?cell_line_name)) AS ?url)
}

Thanks @hannahbast ! Just wanted to verify my perception that this should be supported (at some point) and let you know just in case you were not aware of it.
You are right about STRENDS - it is a lot simpler.


Revert "fixed the link to game dir"

This reverts commit 570f2a7a7dfee0e2dd31042c76184c031b984604.
openjk_jo
openjk_ja
What exactly was the issue here? I've just reinstalled both of these from latest master branch, using the old-version reverted scripts, and they all (both SP + JA_MP) worked fine. What was this meant to accomplish?

That's funny cuz for me. It failed and failed hard. Would not start the game what so ever.
So I'll try again tomorrow

it was my SD card, it went half bad on me, ¯_ (ツ)_/¯


Improvement optimize short-circuit predicates

Proposed changes
For scan node with no vectorized predicate, the input column for the first short-circuit predicate is dense and we don't need to access the selector column.
This PR improve performance by ~30%  on TPCH Q3.
Problem summary
Describe your changes.
Checklist(Required)

[ ] Does it affect the original behavior
[ ] Has unit tests been added
[ ] Has document been added or modified
[ ] Does it need to update dependencies
[ ] Is this PR support rollback (If NO, please explain WHY)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run feut

run beut

run buildall


Create a plan for CHLO

Open questions:

Are we going to have a spec for CHLO? (Almost certainly yes).
What kind of process / guarantees do we want to provide for CHLO? (Almost certainly the same as for StableHLO).
What ops go into CHLO?
With StableHLO, we're aiming to support all public features of HLO. What about CHLO - should we aim to support all public features of the Client HLO API?

When writing the previous comment, I was convinced that we should have a CHLO spec as well, similarly to the StableHLO spec. However, after thinking about this further, I'm realizing that this is not necessarily the case.
One seemingly viable option is treating CHLO similarly to how client HLO is treated - i.e. helper functionality that is useful for producers but is not reified in the operation set. This way, the StableHLO project will have less stuff to spec and less stuff to maintain, and StableHLO consumers will have less stuff to support.
This may run into logistical difficulties, because chlo-legalize-to-hlo currently lives in the MLIR-HLO repository, and it will likely be desirable to move it to this repository instead if we choose this course of action, but at the time of writing I think it's a viable alternative to consider.